]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libstdc++-v3/contrib/libstdc++-v3-4.3.3/configure
update
[l4.git] / l4 / pkg / libstdc++-v3 / contrib / libstdc++-v3-4.3.3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505   # If the previous option needs an argument, assign it.
506   if test -n "$ac_prev"; then
507     eval "$ac_prev=\$ac_option"
508     ac_prev=
509     continue
510   fi
511
512   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514   # Accept the important Cygnus configure options, so we can diagnose typos.
515
516   case $ac_option in
517
518   -bindir | --bindir | --bindi | --bind | --bin | --bi)
519     ac_prev=bindir ;;
520   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521     bindir=$ac_optarg ;;
522
523   -build | --build | --buil | --bui | --bu)
524     ac_prev=build_alias ;;
525   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526     build_alias=$ac_optarg ;;
527
528   -cache-file | --cache-file | --cache-fil | --cache-fi \
529   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530     ac_prev=cache_file ;;
531   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533     cache_file=$ac_optarg ;;
534
535   --config-cache | -C)
536     cache_file=config.cache ;;
537
538   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539     ac_prev=datadir ;;
540   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541   | --da=*)
542     datadir=$ac_optarg ;;
543
544   -disable-* | --disable-*)
545     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546     # Reject names that are not valid shell variable names.
547     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549    { (exit 1); exit 1; }; }
550     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551     eval "enable_$ac_feature=no" ;;
552
553   -enable-* | --enable-*)
554     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555     # Reject names that are not valid shell variable names.
556     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558    { (exit 1); exit 1; }; }
559     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560     case $ac_option in
561       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562       *) ac_optarg=yes ;;
563     esac
564     eval "enable_$ac_feature='$ac_optarg'" ;;
565
566   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568   | --exec | --exe | --ex)
569     ac_prev=exec_prefix ;;
570   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572   | --exec=* | --exe=* | --ex=*)
573     exec_prefix=$ac_optarg ;;
574
575   -gas | --gas | --ga | --g)
576     # Obsolete; use --with-gas.
577     with_gas=yes ;;
578
579   -help | --help | --hel | --he | -h)
580     ac_init_help=long ;;
581   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582     ac_init_help=recursive ;;
583   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584     ac_init_help=short ;;
585
586   -host | --host | --hos | --ho)
587     ac_prev=host_alias ;;
588   -host=* | --host=* | --hos=* | --ho=*)
589     host_alias=$ac_optarg ;;
590
591   -includedir | --includedir | --includedi | --included | --include \
592   | --includ | --inclu | --incl | --inc)
593     ac_prev=includedir ;;
594   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595   | --includ=* | --inclu=* | --incl=* | --inc=*)
596     includedir=$ac_optarg ;;
597
598   -infodir | --infodir | --infodi | --infod | --info | --inf)
599     ac_prev=infodir ;;
600   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601     infodir=$ac_optarg ;;
602
603   -libdir | --libdir | --libdi | --libd)
604     ac_prev=libdir ;;
605   -libdir=* | --libdir=* | --libdi=* | --libd=*)
606     libdir=$ac_optarg ;;
607
608   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609   | --libexe | --libex | --libe)
610     ac_prev=libexecdir ;;
611   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612   | --libexe=* | --libex=* | --libe=*)
613     libexecdir=$ac_optarg ;;
614
615   -localstatedir | --localstatedir | --localstatedi | --localstated \
616   | --localstate | --localstat | --localsta | --localst \
617   | --locals | --local | --loca | --loc | --lo)
618     ac_prev=localstatedir ;;
619   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622     localstatedir=$ac_optarg ;;
623
624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625     ac_prev=mandir ;;
626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627     mandir=$ac_optarg ;;
628
629   -nfp | --nfp | --nf)
630     # Obsolete; use --without-fp.
631     with_fp=no ;;
632
633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634   | --no-cr | --no-c | -n)
635     no_create=yes ;;
636
637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639     no_recursion=yes ;;
640
641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643   | --oldin | --oldi | --old | --ol | --o)
644     ac_prev=oldincludedir ;;
645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648     oldincludedir=$ac_optarg ;;
649
650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651     ac_prev=prefix ;;
652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653     prefix=$ac_optarg ;;
654
655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
656   | --program-pre | --program-pr | --program-p)
657     ac_prev=program_prefix ;;
658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660     program_prefix=$ac_optarg ;;
661
662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
663   | --program-suf | --program-su | --program-s)
664     ac_prev=program_suffix ;;
665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667     program_suffix=$ac_optarg ;;
668
669   -program-transform-name | --program-transform-name \
670   | --program-transform-nam | --program-transform-na \
671   | --program-transform-n | --program-transform- \
672   | --program-transform | --program-transfor \
673   | --program-transfo | --program-transf \
674   | --program-trans | --program-tran \
675   | --progr-tra | --program-tr | --program-t)
676     ac_prev=program_transform_name ;;
677   -program-transform-name=* | --program-transform-name=* \
678   | --program-transform-nam=* | --program-transform-na=* \
679   | --program-transform-n=* | --program-transform-=* \
680   | --program-transform=* | --program-transfor=* \
681   | --program-transfo=* | --program-transf=* \
682   | --program-trans=* | --program-tran=* \
683   | --progr-tra=* | --program-tr=* | --program-t=*)
684     program_transform_name=$ac_optarg ;;
685
686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687   | -silent | --silent | --silen | --sile | --sil)
688     silent=yes ;;
689
690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691     ac_prev=sbindir ;;
692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693   | --sbi=* | --sb=*)
694     sbindir=$ac_optarg ;;
695
696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698   | --sharedst | --shareds | --shared | --share | --shar \
699   | --sha | --sh)
700     ac_prev=sharedstatedir ;;
701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704   | --sha=* | --sh=*)
705     sharedstatedir=$ac_optarg ;;
706
707   -site | --site | --sit)
708     ac_prev=site ;;
709   -site=* | --site=* | --sit=*)
710     site=$ac_optarg ;;
711
712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713     ac_prev=srcdir ;;
714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715     srcdir=$ac_optarg ;;
716
717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718   | --syscon | --sysco | --sysc | --sys | --sy)
719     ac_prev=sysconfdir ;;
720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722     sysconfdir=$ac_optarg ;;
723
724   -target | --target | --targe | --targ | --tar | --ta | --t)
725     ac_prev=target_alias ;;
726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727     target_alias=$ac_optarg ;;
728
729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
730     verbose=yes ;;
731
732   -version | --version | --versio | --versi | --vers | -V)
733     ac_init_version=: ;;
734
735   -with-* | --with-*)
736     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737     # Reject names that are not valid shell variable names.
738     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739       { echo "$as_me: error: invalid package name: $ac_package" >&2
740    { (exit 1); exit 1; }; }
741     ac_package=`echo $ac_package| sed 's/-/_/g'`
742     case $ac_option in
743       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744       *) ac_optarg=yes ;;
745     esac
746     eval "with_$ac_package='$ac_optarg'" ;;
747
748   -without-* | --without-*)
749     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750     # Reject names that are not valid shell variable names.
751     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752       { echo "$as_me: error: invalid package name: $ac_package" >&2
753    { (exit 1); exit 1; }; }
754     ac_package=`echo $ac_package | sed 's/-/_/g'`
755     eval "with_$ac_package=no" ;;
756
757   --x)
758     # Obsolete; use --with-x.
759     with_x=yes ;;
760
761   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762   | --x-incl | --x-inc | --x-in | --x-i)
763     ac_prev=x_includes ;;
764   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766     x_includes=$ac_optarg ;;
767
768   -x-libraries | --x-libraries | --x-librarie | --x-librari \
769   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770     ac_prev=x_libraries ;;
771   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773     x_libraries=$ac_optarg ;;
774
775   -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777    { (exit 1); exit 1; }; }
778     ;;
779
780   *=*)
781     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782     # Reject names that are not valid shell variable names.
783     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785    { (exit 1); exit 1; }; }
786     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787     eval "$ac_envvar='$ac_optarg'"
788     export $ac_envvar ;;
789
790   *)
791     # FIXME: should be removed in autoconf 3.0.
792     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796     ;;
797
798   esac
799 done
800
801 if test -n "$ac_prev"; then
802   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803   { echo "$as_me: error: missing argument to $ac_option" >&2
804    { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810   eval ac_val=$`echo $ac_var`
811   case $ac_val in
812     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814    { (exit 1); exit 1; }; };;
815   esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820               localstatedir libdir includedir oldincludedir infodir mandir
821 do
822   eval ac_val=$`echo $ac_var`
823   case $ac_val in
824     [\\/$]* | ?:[\\/]* ) ;;
825     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826    { (exit 1); exit 1; }; };;
827   esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839   if test "x$build_alias" = x; then
840     cross_compiling=maybe
841     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842     If a cross compiler is detected then cross compile mode will be used." >&2
843   elif test "x$build_alias" != "x$host_alias"; then
844     cross_compiling=yes
845   fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856   ac_srcdir_defaulted=yes
857   # Try the directory containing this script, then its parent.
858   ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860          X"$0" : 'X\(//\)[^/]' \| \
861          X"$0" : 'X\(//\)$' \| \
862          X"$0" : 'X\(/\)' \| \
863          .     : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867           /^X\(\/\/\)$/{ s//\1/; q; }
868           /^X\(\/\).*/{ s//\1/; q; }
869           s/.*/./; q'`
870   srcdir=$ac_confdir
871   if test ! -r $srcdir/$ac_unique_file; then
872     srcdir=..
873   fi
874 else
875   ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878   if test "$ac_srcdir_defaulted" = yes; then
879     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880    { (exit 1); exit 1; }; }
881   else
882     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883    { (exit 1); exit 1; }; }
884   fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888    { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
926
927 #
928 # Report the --help message.
929 #
930 if test "$ac_init_help" = "long"; then
931   # Omit some internal or obsolete options to make the list less imposing.
932   # This message is too long to be a string in the A/UX 3.1 sh.
933   cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
935
936 Usage: $0 [OPTION]... [VAR=VALUE]...
937
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE.  See below for descriptions of some of the useful variables.
940
941 Defaults for the options are specified in brackets.
942
943 Configuration:
944   -h, --help              display this help and exit
945       --help=short        display options specific to this package
946       --help=recursive    display the short help of all the included packages
947   -V, --version           display version information and exit
948   -q, --quiet, --silent   do not print \`checking...' messages
949       --cache-file=FILE   cache test results in FILE [disabled]
950   -C, --config-cache      alias for \`--cache-file=config.cache'
951   -n, --no-create         do not create output files
952       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
953
954 _ACEOF
955
956   cat <<_ACEOF
957 Installation directories:
958   --prefix=PREFIX         install architecture-independent files in PREFIX
959                           [$ac_default_prefix]
960   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
961                           [PREFIX]
962
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
967
968 For better control, use the options below.
969
970 Fine tuning of the installation directories:
971   --bindir=DIR           user executables [EPREFIX/bin]
972   --sbindir=DIR          system admin executables [EPREFIX/sbin]
973   --libexecdir=DIR       program executables [EPREFIX/libexec]
974   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
975   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
976   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
977   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
978   --libdir=DIR           object code libraries [EPREFIX/lib]
979   --includedir=DIR       C header files [PREFIX/include]
980   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
981   --infodir=DIR          info documentation [PREFIX/info]
982   --mandir=DIR           man documentation [PREFIX/man]
983 _ACEOF
984
985   cat <<\_ACEOF
986
987 Program names:
988   --program-prefix=PREFIX            prepend PREFIX to installed program names
989   --program-suffix=SUFFIX            append SUFFIX to installed program names
990   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
991
992 System types:
993   --build=BUILD     configure for building on BUILD [guessed]
994   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
995   --target=TARGET   configure for building compilers for TARGET [HOST]
996 _ACEOF
997 fi
998
999 if test -n "$ac_init_help"; then
1000   case $ac_init_help in
1001      short | recursive ) echo "Configuration of package-unused version-unused:";;
1002    esac
1003   cat <<\_ACEOF
1004
1005 Optional Features:
1006   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1007   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1008   --enable-multilib       build many library versions (default)
1009   --enable-maintainer-mode  enable make rules and dependencies not useful
1010                           (and sometimes confusing) to the casual installer
1011   --enable-shared[=PKGS]
1012                           build shared libraries [default=yes]
1013   --enable-static[=PKGS]
1014                           build static libraries [default=yes]
1015   --enable-fast-install[=PKGS]
1016                           optimize for fast installation [default=yes]
1017   --disable-libtool-lock  avoid locking (might break parallel builds)
1018   --disable-hosted-libstdcxx
1019                           only build freestanding C++ runtime support
1020   --enable-sjlj-exceptions
1021                           force use of builtin_setjmp for exceptions
1022                           [default=auto]
1023   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1024                           [default=$is_hosted]
1025   --enable-cstdio=PACKAGE use target-specific I/O package
1026                           [default=stdio]
1027   --enable-clocale[=MODEL]
1028                           use MODEL for target locale package
1029                           [default=auto]
1030   --enable-nls            use Native Language Support (default)
1031   --enable-libstdcxx-allocator=KIND
1032                           use KIND for target std::allocator base
1033                           [default=auto]
1034   --enable-cheaders=KIND  construct "C" headers for g++
1035                           [default=$c_model]
1036   --enable-long-long      enable template specializations for 'long long'
1037                           [default=yes]
1038   --enable-wchar_t        enable template specializations for 'wchar_t'
1039                           [default=yes]
1040   --enable-c99            turns on ISO/IEC 9899:1999 support
1041                           [default=yes]
1042   --enable-concept-checks use Boost-derived template checks [default=no]
1043   --enable-libstdcxx-debug-flags=FLAGS
1044                           pass compiler FLAGS when building debug library
1045                           [default="-g3 -O0"]
1046   --enable-libstdcxx-debug
1047                           build extra debug library [default=no]
1048   --enable-cxx-flags=FLAGS
1049                           pass compiler FLAGS when building library
1050                           [default=]
1051   --enable-fully-dynamic-string
1052                           do not put empty strings in per-process static
1053                           memory [default=no]
1054   --enable-tls            Use thread-local storage [default=yes]
1055   --disable-rpath         do not hardcode runtime library paths
1056   --enable-linux-futex    use the Linux futex system call
1057                           [default=default]
1058   --enable-symvers=STYLE  enables symbol versioning of the shared library
1059                           [default=yes]
1060   --enable-visibility     enables visibility safe usage [default=yes]
1061   --enable-version-specific-runtime-libs
1062                           Specify that runtime libraries should be installed
1063                           in a compiler-specific directory
1064
1065 Optional Packages:
1066   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1067   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1068   --with-target-subdir=SUBDIR
1069                           configuring in a subdirectory
1070   --with-cross-host=HOST  configuring with a cross compiler
1071   --with-newlib           assume newlib as a system C library
1072   --with-pic              try to use only PIC/non-PIC objects [default=use
1073                           both]
1074   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1075   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1076   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1077   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1078   --with-gxx-include-dir=DIR
1079                           installation directory for include files
1080
1081 Some influential environment variables:
1082   CC          C compiler command
1083   CFLAGS      C compiler flags
1084   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1085               nonstandard directory <lib dir>
1086   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087               headers in a nonstandard directory <include dir>
1088   CXX         C++ compiler command
1089   CXXFLAGS    C++ compiler flags
1090   CPP         C preprocessor
1091   CXXCPP      C++ preprocessor
1092
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1095
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100   # If there are subdirs, report their specific --help.
1101   ac_popdir=`pwd`
1102   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103     test -d $ac_dir || continue
1104     ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108   # A "../" for each directory in $ac_dir_suffix.
1109   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111   ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115   .)  # No --srcdir option.  We are building in place.
1116     ac_srcdir=.
1117     if test -z "$ac_top_builddir"; then
1118        ac_top_srcdir=.
1119     else
1120        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121     fi ;;
1122   [\\/]* | ?:[\\/]* )  # Absolute path.
1123     ac_srcdir=$srcdir$ac_dir_suffix;
1124     ac_top_srcdir=$srcdir ;;
1125   *) # Relative path.
1126     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135   case "$ac_dir" in
1136   .) ac_abs_builddir=`pwd`;;
1137   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139   esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144   case ${ac_top_builddir}. in
1145   .) ac_abs_top_builddir=$ac_abs_builddir;;
1146   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148   esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153   case $ac_srcdir in
1154   .) ac_abs_srcdir=$ac_abs_builddir;;
1155   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157   esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162   case $ac_top_srcdir in
1163   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166   esac;;
1167 esac
1168
1169     cd $ac_dir
1170     # Check for guested configure; otherwise get Cygnus style configure.
1171     if test -f $ac_srcdir/configure.gnu; then
1172       echo
1173       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1174     elif test -f $ac_srcdir/configure; then
1175       echo
1176       $SHELL $ac_srcdir/configure  --help=recursive
1177     elif test -f $ac_srcdir/configure.ac ||
1178            test -f $ac_srcdir/configure.in; then
1179       echo
1180       $ac_configure --help
1181     else
1182       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183     fi
1184     cd $ac_popdir
1185   done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190   cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198   exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59.  Invocation command line was
1207
1208   $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1225
1226 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1227 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1230 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1231 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1232 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239   IFS=$as_save_IFS
1240   test -z "$as_dir" && as_dir=.
1241   echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268   for ac_arg
1269   do
1270     case $ac_arg in
1271     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273     | -silent | --silent | --silen | --sile | --sil)
1274       continue ;;
1275     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277     esac
1278     case $ac_pass in
1279     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280     2)
1281       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282       if test $ac_must_keep_next = true; then
1283         ac_must_keep_next=false # Got value, back to normal.
1284       else
1285         case $ac_arg in
1286           *=* | --config-cache | -C | -disable-* | --disable-* \
1287           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289           | -with-* | --with-* | -without-* | --without-* | --x)
1290             case "$ac_configure_args0 " in
1291               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292             esac
1293             ;;
1294           -* ) ac_must_keep_next=true ;;
1295         esac
1296       fi
1297       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298       # Get rid of the leading space.
1299       ac_sep=" "
1300       ;;
1301     esac
1302   done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log.  We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313   # Save into config.log some information that might help in debugging.
1314   {
1315     echo
1316
1317     cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322     echo
1323     # The following way of writing the cache mishandles newlines in values,
1324 {
1325   (set) 2>&1 |
1326     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327     *ac_space=\ *)
1328       sed -n \
1329         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331       ;;
1332     *)
1333       sed -n \
1334         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335       ;;
1336     esac;
1337 }
1338     echo
1339
1340     cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345     echo
1346     for ac_var in $ac_subst_vars
1347     do
1348       eval ac_val=$`echo $ac_var`
1349       echo "$ac_var='"'"'$ac_val'"'"'"
1350     done | sort
1351     echo
1352
1353     if test -n "$ac_subst_files"; then
1354       cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359       echo
1360       for ac_var in $ac_subst_files
1361       do
1362         eval ac_val=$`echo $ac_var`
1363         echo "$ac_var='"'"'$ac_val'"'"'"
1364       done | sort
1365       echo
1366     fi
1367
1368     if test -s confdefs.h; then
1369       cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374       echo
1375       sed "/^$/d" confdefs.h | sort
1376       echo
1377     fi
1378     test "$ac_signal" != 0 &&
1379       echo "$as_me: caught signal $ac_signal"
1380     echo "$as_me: exit $exit_status"
1381   } >&5
1382   rm -f core *.core &&
1383   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384     exit $exit_status
1385      ' 0
1386 for ac_signal in 1 2 13 15; do
1387   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426   if test "x$prefix" != xNONE; then
1427     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428   else
1429     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430   fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433   if test -r "$ac_site_file"; then
1434     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436     sed 's/^/| /' "$ac_site_file" >&5
1437     . "$ac_site_file"
1438   fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442   # Some versions of bash will fail to source /dev/null (special
1443   # files actually), so we avoid doing that.
1444   if test -f "$cache_file"; then
1445     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447     case $cache_file in
1448       [\\/]* | ?:[\\/]* ) . $cache_file;;
1449       *)                      . ./$cache_file;;
1450     esac
1451   fi
1452 else
1453   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455   >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464   eval ac_new_set=\$ac_env_${ac_var}_set
1465   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466   eval ac_new_val="\$ac_env_${ac_var}_value"
1467   case $ac_old_set,$ac_new_set in
1468     set,)
1469       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471       ac_cache_corrupted=: ;;
1472     ,set)
1473       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475       ac_cache_corrupted=: ;;
1476     ,);;
1477     *)
1478       if test "x$ac_old_val" != "x$ac_new_val"; then
1479         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1482 echo "$as_me:   former value:  $ac_old_val" >&2;}
1483         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1484 echo "$as_me:   current value: $ac_new_val" >&2;}
1485         ac_cache_corrupted=:
1486       fi;;
1487   esac
1488   # Pass precious variables to config.status.
1489   if test "$ac_new_set" = set; then
1490     case $ac_new_val in
1491     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493     *) ac_arg=$ac_var=$ac_new_val ;;
1494     esac
1495     case " $ac_configure_args " in
1496       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1497       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498     esac
1499   fi
1500 done
1501 if $ac_cache_corrupted; then
1502   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506    { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542           ac_config_headers="$ac_config_headers config.h"
1543
1544
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported.  Only used at the end of this file.
1549 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1550
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:10:0
1553
1554
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559   enableval="$enable_multilib"
1560   case "$enableval" in
1561   yes) multilib=yes ;;
1562   no)  multilib=no ;;
1563   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565    { (exit 1); exit 1; }; } ;;
1566  esac
1567 else
1568   multilib=yes
1569 fi;
1570
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1574
1575 if test "$srcdir" = "."; then
1576   if test "$with_target_subdir" != "."; then
1577     multi_basedir="$srcdir/$with_multisrctop../.."
1578   else
1579     multi_basedir="$srcdir/$with_multisrctop.."
1580   fi
1581 else
1582   multi_basedir="$srcdir/.."
1583 fi
1584
1585
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589    && test "x${with_multisubdir}" != x ; then
1590    cross_compiling=maybe
1591 fi
1592
1593           ac_config_commands="$ac_config_commands default-1"
1594
1595
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1597 #
1598 # You will slowly go insane if you do not grok the following fact:  when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/.  configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf.  Therefore, 'target' and
1602 # 'host' will always be the same.  This makes sense both for native and
1603 # cross compilers, just think about it for a little while.  :-)
1604 #
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1607 #
1608 # Do not delete or change the following two lines.  For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612   if test -f $ac_dir/install-sh; then
1613     ac_aux_dir=$ac_dir
1614     ac_install_sh="$ac_aux_dir/install-sh -c"
1615     break
1616   elif test -f $ac_dir/install.sh; then
1617     ac_aux_dir=$ac_dir
1618     ac_install_sh="$ac_aux_dir/install.sh -c"
1619     break
1620   elif test -f $ac_dir/shtool; then
1621     ac_aux_dir=$ac_dir
1622     ac_install_sh="$ac_aux_dir/shtool install -c"
1623     break
1624   fi
1625 done
1626 if test -z "$ac_aux_dir"; then
1627   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629    { (exit 1); exit 1; }; }
1630 fi
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1634
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639    { (exit 1); exit 1; }; }
1640
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644   echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646   ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648   ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652    { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656    { (exit 1); exit 1; }; }
1657
1658 fi
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665
1666
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670   echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672   ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674   ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678    { (exit 1); exit 1; }; }
1679
1680 fi
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687
1688
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692   echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694   ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696   ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700    { (exit 1); exit 1; }; }
1701
1702 fi
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709
1710
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714   test "$program_prefix$program_suffix$program_transform_name" = \
1715     NONENONEs,x,x, &&
1716   program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1718
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1721
1722 if test "$build" != "$host"; then
1723   # We are being configured with some form of cross compiler.
1724   GLIBCXX_IS_NATIVE=false
1725   case "$host","$target" in
1726     # Darwin crosses can use the host system's libraries and headers,
1727     # because of the fat library support.  Of course, it must be the
1728     # same version of Darwin on both sides.  Allow the user to
1729     # just say --target=foo-darwin without a version number to mean
1730     # "the version on this system".
1731       *-*-darwin*,*-*-darwin*)
1732         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734         if test $hostos = $targetos -o $targetos = darwin ; then
1735           GLIBCXX_IS_NATIVE=true
1736         fi
1737         ;;
1738
1739       *)
1740
1741         ;;
1742   esac
1743 else
1744   GLIBCXX_IS_NATIVE=true
1745 fi
1746
1747 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 #  1.x:  minimum required version
1750 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 #              of other PACKAGE_* variables will, however, and there's nothing
1752 #              we can do about that; they come from AC_INIT).
1753 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1754 #            file in the top srcdir, etc, etc), so stop complaining.
1755 #  no-dependencies:  turns off auto dependency generation (just for now)
1756 #  -Wall:  turns on all automake warnings...
1757 #  -Wno-portability:  ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program.  We prefer a C program (faster),
1760 # so one script is as good as another.  But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776   echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 for as_dir in $PATH
1780 do
1781   IFS=$as_save_IFS
1782   test -z "$as_dir" && as_dir=.
1783   # Account for people who put trailing slashes in PATH elements.
1784 case $as_dir/ in
1785   ./ | .// | /cC/* | \
1786   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1788   /usr/ucb/* ) ;;
1789   *)
1790     # OSF1 and SCO ODT 3.0 have their own names for install.
1791     # Don't use installbsd from OSF since it installs stuff as root
1792     # by default.
1793     for ac_prog in ginstall scoinst install; do
1794       for ac_exec_ext in '' $ac_executable_extensions; do
1795         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1796           if test $ac_prog = install &&
1797             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798             # AIX install.  It has an incompatible calling convention.
1799             :
1800           elif test $ac_prog = install &&
1801             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802             # program-specific install script used by HP pwplus--don't use.
1803             :
1804           else
1805             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1806             break 3
1807           fi
1808         fi
1809       done
1810     done
1811     ;;
1812 esac
1813 done
1814
1815
1816 fi
1817   if test "${ac_cv_path_install+set}" = set; then
1818     INSTALL=$ac_cv_path_install
1819   else
1820     # As a last resort, use the slow shell script.  We don't cache a
1821     # path for INSTALL within a source directory, because that will
1822     # break other packages using the cache if that directory is
1823     # removed, or if the path is relative.
1824     INSTALL=$ac_install_sh
1825   fi
1826 fi
1827 echo "$as_me:$LINENO: result: $INSTALL" >&5
1828 echo "${ECHO_T}$INSTALL" >&6
1829
1830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1831 # It thinks the first close brace ends the variable substitution.
1832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1833
1834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1835
1836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1837
1838 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1839 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1840 # Just in case
1841 sleep 1
1842 echo timestamp > conftest.file
1843 # Do `set' in a subshell so we don't clobber the current shell's
1844 # arguments.  Must try -L first in case configure is actually a
1845 # symlink; some systems play weird games with the mod time of symlinks
1846 # (eg FreeBSD returns the mod time of the symlink's containing
1847 # directory).
1848 if (
1849    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1850    if test "$*" = "X"; then
1851       # -L didn't work.
1852       set X `ls -t $srcdir/configure conftest.file`
1853    fi
1854    rm -f conftest.file
1855    if test "$*" != "X $srcdir/configure conftest.file" \
1856       && test "$*" != "X conftest.file $srcdir/configure"; then
1857
1858       # If neither matched, then we have a broken ls.  This can happen
1859       # if, for instance, CONFIG_SHELL is bash and it inherits a
1860       # broken ls alias from the environment.  This has actually
1861       # happened.  Such a system could not be considered "sane".
1862       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1863 alias in your environment" >&5
1864 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1865 alias in your environment" >&2;}
1866    { (exit 1); exit 1; }; }
1867    fi
1868
1869    test "$2" = conftest.file
1870    )
1871 then
1872    # Ok.
1873    :
1874 else
1875    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1876 Check your system clock" >&5
1877 echo "$as_me: error: newly created file is older than distributed files!
1878 Check your system clock" >&2;}
1879    { (exit 1); exit 1; }; }
1880 fi
1881 echo "$as_me:$LINENO: result: yes" >&5
1882 echo "${ECHO_T}yes" >&6
1883 test "$program_prefix" != NONE &&
1884   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1885 # Use a double $ so make ignores it.
1886 test "$program_suffix" != NONE &&
1887   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1888 # Double any \ or $.  echo might interpret backslashes.
1889 # By default was `s,x,x', remove it if useless.
1890 cat <<\_ACEOF >conftest.sed
1891 s/[\\$]/&&/g;s/;s,x,x,$//
1892 _ACEOF
1893 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1894 rm conftest.sed
1895
1896 # expand $ac_aux_dir to an absolute path
1897 am_aux_dir=`cd $ac_aux_dir && pwd`
1898
1899 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1900 # Use eval to expand $SHELL
1901 if eval "$MISSING --run true"; then
1902   am_missing_run="$MISSING --run "
1903 else
1904   am_missing_run=
1905   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1906 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907 fi
1908
1909 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1910   # We used to keeping the `.' as first argument, in order to
1911   # allow $(mkdir_p) to be used without argument.  As in
1912   #   $(mkdir_p) $(somedir)
1913   # where $(somedir) is conditionally defined.  However this is wrong
1914   # for two reasons:
1915   #  1. if the package is installed by a user who cannot write `.'
1916   #     make install will fail,
1917   #  2. the above comment should most certainly read
1918   #     $(mkdir_p) $(DESTDIR)$(somedir)
1919   #     so it does not work when $(somedir) is undefined and
1920   #     $(DESTDIR) is not.
1921   #  To support the latter case, we have to write
1922   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1923   #  so the `.' trick is pointless.
1924   mkdir_p='mkdir -p --'
1925 else
1926   # On NextStep and OpenStep, the `mkdir' command does not
1927   # recognize any option.  It will interpret all options as
1928   # directories to create, and then abort because `.' already
1929   # exists.
1930   for d in ./-p ./--version;
1931   do
1932     test -d $d && rmdir $d
1933   done
1934   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1935   if test -f "$ac_aux_dir/mkinstalldirs"; then
1936     mkdir_p='$(mkinstalldirs)'
1937   else
1938     mkdir_p='$(install_sh) -d'
1939   fi
1940 fi
1941
1942 for ac_prog in gawk mawk nawk awk
1943 do
1944   # Extract the first word of "$ac_prog", so it can be a program name with args.
1945 set dummy $ac_prog; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_AWK+set}" = set; then
1949   echo $ECHO_N "(cached) $ECHO_C" >&6
1950 else
1951   if test -n "$AWK"; then
1952   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1953 else
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1956 do
1957   IFS=$as_save_IFS
1958   test -z "$as_dir" && as_dir=.
1959   for ac_exec_ext in '' $ac_executable_extensions; do
1960   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961     ac_cv_prog_AWK="$ac_prog"
1962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963     break 2
1964   fi
1965 done
1966 done
1967
1968 fi
1969 fi
1970 AWK=$ac_cv_prog_AWK
1971 if test -n "$AWK"; then
1972   echo "$as_me:$LINENO: result: $AWK" >&5
1973 echo "${ECHO_T}$AWK" >&6
1974 else
1975   echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1977 fi
1978
1979   test -n "$AWK" && break
1980 done
1981
1982 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1983 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1984 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1985 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1986   echo $ECHO_N "(cached) $ECHO_C" >&6
1987 else
1988   cat >conftest.make <<\_ACEOF
1989 all:
1990         @echo 'ac_maketemp="$(MAKE)"'
1991 _ACEOF
1992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1993 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1994 if test -n "$ac_maketemp"; then
1995   eval ac_cv_prog_make_${ac_make}_set=yes
1996 else
1997   eval ac_cv_prog_make_${ac_make}_set=no
1998 fi
1999 rm -f conftest.make
2000 fi
2001 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2002   echo "$as_me:$LINENO: result: yes" >&5
2003 echo "${ECHO_T}yes" >&6
2004   SET_MAKE=
2005 else
2006   echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6
2008   SET_MAKE="MAKE=${MAKE-make}"
2009 fi
2010
2011 rm -rf .tst 2>/dev/null
2012 mkdir .tst 2>/dev/null
2013 if test -d .tst; then
2014   am__leading_dot=.
2015 else
2016   am__leading_dot=_
2017 fi
2018 rmdir .tst 2>/dev/null
2019
2020 # test to see if srcdir already configured
2021 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2022    test -f $srcdir/config.status; then
2023   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2024 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2025    { (exit 1); exit 1; }; }
2026 fi
2027
2028 # test whether we have cygpath
2029 if test -z "$CYGPATH_W"; then
2030   if (cygpath --version) >/dev/null 2>/dev/null; then
2031     CYGPATH_W='cygpath -w'
2032   else
2033     CYGPATH_W=echo
2034   fi
2035 fi
2036
2037
2038 # Define the identity of the package.
2039  PACKAGE='libstdc++'
2040  VERSION='version-unused'
2041
2042
2043 # Some tools Automake needs.
2044
2045 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2046
2047
2048 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2049
2050
2051 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2052
2053
2054 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2055
2056
2057 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2058
2059 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2060
2061 # Installed binaries are usually stripped using `strip' when the user
2062 # run `make install-strip'.  However `strip' might not be the right
2063 # tool to use in cross-compilation environments, therefore Automake
2064 # will honor the `STRIP' environment variable to overrule this program.
2065 if test "$cross_compiling" != no; then
2066   if test -n "$ac_tool_prefix"; then
2067   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}strip; ac_word=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_STRIP+set}" = set; then
2072   echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074   if test -n "$STRIP"; then
2075   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080   IFS=$as_save_IFS
2081   test -z "$as_dir" && as_dir=.
2082   for ac_exec_ext in '' $ac_executable_extensions; do
2083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086     break 2
2087   fi
2088 done
2089 done
2090
2091 fi
2092 fi
2093 STRIP=$ac_cv_prog_STRIP
2094 if test -n "$STRIP"; then
2095   echo "$as_me:$LINENO: result: $STRIP" >&5
2096 echo "${ECHO_T}$STRIP" >&6
2097 else
2098   echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2100 fi
2101
2102 fi
2103 if test -z "$ac_cv_prog_STRIP"; then
2104   ac_ct_STRIP=$STRIP
2105   # Extract the first word of "strip", so it can be a program name with args.
2106 set dummy strip; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110   echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112   if test -n "$ac_ct_STRIP"; then
2113   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2117 do
2118   IFS=$as_save_IFS
2119   test -z "$as_dir" && as_dir=.
2120   for ac_exec_ext in '' $ac_executable_extensions; do
2121   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122     ac_cv_prog_ac_ct_STRIP="strip"
2123     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124     break 2
2125   fi
2126 done
2127 done
2128
2129   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2130 fi
2131 fi
2132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133 if test -n "$ac_ct_STRIP"; then
2134   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135 echo "${ECHO_T}$ac_ct_STRIP" >&6
2136 else
2137   echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2139 fi
2140
2141   STRIP=$ac_ct_STRIP
2142 else
2143   STRIP="$ac_cv_prog_STRIP"
2144 fi
2145
2146 fi
2147 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2148
2149 # We need awk for the "check" target.  The system "awk" is bad on
2150 # some platforms.
2151 # Always define AMTAR for backward compatibility.
2152
2153 AMTAR=${AMTAR-"${am_missing_run}tar"}
2154
2155 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2167 # up critical shell variables.
2168
2169 ac_ext=c
2170 ac_cpp='$CPP $CPPFLAGS'
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2174 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2175 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2176 # On Suns, sometimes $CPP names a directory.
2177 if test -n "$CPP" && test -d "$CPP"; then
2178   CPP=
2179 fi
2180 if test -z "$CPP"; then
2181   if test "${ac_cv_prog_CPP+set}" = set; then
2182   echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184       # Double quotes because CPP needs to be expanded
2185     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2186     do
2187       ac_preproc_ok=false
2188 for ac_c_preproc_warn_flag in '' yes
2189 do
2190   # Use a header file that comes with gcc, so configuring glibc
2191   # with a fresh cross-compiler works.
2192   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2193   # <limits.h> exists even on freestanding compilers.
2194   # On the NeXT, cc -E runs the code through the compiler's parser,
2195   # not just through cpp. "Syntax error" is here to catch this case.
2196   cat >conftest.$ac_ext <<_ACEOF
2197 /* confdefs.h.  */
2198 _ACEOF
2199 cat confdefs.h >>conftest.$ac_ext
2200 cat >>conftest.$ac_ext <<_ACEOF
2201 /* end confdefs.h.  */
2202 #ifdef __STDC__
2203 # include <limits.h>
2204 #else
2205 # include <assert.h>
2206 #endif
2207                      Syntax error
2208 _ACEOF
2209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2210   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2211   ac_status=$?
2212   grep -v '^ *+' conftest.er1 >conftest.err
2213   rm -f conftest.er1
2214   cat conftest.err >&5
2215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216   (exit $ac_status); } >/dev/null; then
2217   if test -s conftest.err; then
2218     ac_cpp_err=$ac_c_preproc_warn_flag
2219     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2220   else
2221     ac_cpp_err=
2222   fi
2223 else
2224   ac_cpp_err=yes
2225 fi
2226 if test -z "$ac_cpp_err"; then
2227   :
2228 else
2229   echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2231
2232   # Broken: fails on valid input.
2233 continue
2234 fi
2235 rm -f conftest.err conftest.$ac_ext
2236
2237   # OK, works on sane cases.  Now check whether non-existent headers
2238   # can be detected and how.
2239   cat >conftest.$ac_ext <<_ACEOF
2240 /* confdefs.h.  */
2241 _ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h.  */
2245 #include <ac_nonexistent.h>
2246 _ACEOF
2247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2248   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2249   ac_status=$?
2250   grep -v '^ *+' conftest.er1 >conftest.err
2251   rm -f conftest.er1
2252   cat conftest.err >&5
2253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254   (exit $ac_status); } >/dev/null; then
2255   if test -s conftest.err; then
2256     ac_cpp_err=$ac_c_preproc_warn_flag
2257     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2258   else
2259     ac_cpp_err=
2260   fi
2261 else
2262   ac_cpp_err=yes
2263 fi
2264 if test -z "$ac_cpp_err"; then
2265   # Broken: success on invalid input.
2266 continue
2267 else
2268   echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2270
2271   # Passes both tests.
2272 ac_preproc_ok=:
2273 break
2274 fi
2275 rm -f conftest.err conftest.$ac_ext
2276
2277 done
2278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2279 rm -f conftest.err conftest.$ac_ext
2280 if $ac_preproc_ok; then
2281   break
2282 fi
2283
2284     done
2285     ac_cv_prog_CPP=$CPP
2286
2287 fi
2288   CPP=$ac_cv_prog_CPP
2289 else
2290   ac_cv_prog_CPP=$CPP
2291 fi
2292 echo "$as_me:$LINENO: result: $CPP" >&5
2293 echo "${ECHO_T}$CPP" >&6
2294 ac_preproc_ok=false
2295 for ac_c_preproc_warn_flag in '' yes
2296 do
2297   # Use a header file that comes with gcc, so configuring glibc
2298   # with a fresh cross-compiler works.
2299   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2300   # <limits.h> exists even on freestanding compilers.
2301   # On the NeXT, cc -E runs the code through the compiler's parser,
2302   # not just through cpp. "Syntax error" is here to catch this case.
2303   cat >conftest.$ac_ext <<_ACEOF
2304 /* confdefs.h.  */
2305 _ACEOF
2306 cat confdefs.h >>conftest.$ac_ext
2307 cat >>conftest.$ac_ext <<_ACEOF
2308 /* end confdefs.h.  */
2309 #ifdef __STDC__
2310 # include <limits.h>
2311 #else
2312 # include <assert.h>
2313 #endif
2314                      Syntax error
2315 _ACEOF
2316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2318   ac_status=$?
2319   grep -v '^ *+' conftest.er1 >conftest.err
2320   rm -f conftest.er1
2321   cat conftest.err >&5
2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323   (exit $ac_status); } >/dev/null; then
2324   if test -s conftest.err; then
2325     ac_cpp_err=$ac_c_preproc_warn_flag
2326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2327   else
2328     ac_cpp_err=
2329   fi
2330 else
2331   ac_cpp_err=yes
2332 fi
2333 if test -z "$ac_cpp_err"; then
2334   :
2335 else
2336   echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2338
2339   # Broken: fails on valid input.
2340 continue
2341 fi
2342 rm -f conftest.err conftest.$ac_ext
2343
2344   # OK, works on sane cases.  Now check whether non-existent headers
2345   # can be detected and how.
2346   cat >conftest.$ac_ext <<_ACEOF
2347 /* confdefs.h.  */
2348 _ACEOF
2349 cat confdefs.h >>conftest.$ac_ext
2350 cat >>conftest.$ac_ext <<_ACEOF
2351 /* end confdefs.h.  */
2352 #include <ac_nonexistent.h>
2353 _ACEOF
2354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2356   ac_status=$?
2357   grep -v '^ *+' conftest.er1 >conftest.err
2358   rm -f conftest.er1
2359   cat conftest.err >&5
2360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361   (exit $ac_status); } >/dev/null; then
2362   if test -s conftest.err; then
2363     ac_cpp_err=$ac_c_preproc_warn_flag
2364     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2365   else
2366     ac_cpp_err=
2367   fi
2368 else
2369   ac_cpp_err=yes
2370 fi
2371 if test -z "$ac_cpp_err"; then
2372   # Broken: success on invalid input.
2373 continue
2374 else
2375   echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2377
2378   # Passes both tests.
2379 ac_preproc_ok=:
2380 break
2381 fi
2382 rm -f conftest.err conftest.$ac_ext
2383
2384 done
2385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2386 rm -f conftest.err conftest.$ac_ext
2387 if $ac_preproc_ok; then
2388   :
2389 else
2390   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2393 See \`config.log' for more details." >&2;}
2394    { (exit 1); exit 1; }; }
2395 fi
2396
2397 ac_ext=c
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402
2403
2404 echo "$as_me:$LINENO: checking for egrep" >&5
2405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2406 if test "${ac_cv_prog_egrep+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2410     then ac_cv_prog_egrep='grep -E'
2411     else ac_cv_prog_egrep='egrep'
2412     fi
2413 fi
2414 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2415 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2416  EGREP=$ac_cv_prog_egrep
2417
2418
2419
2420   # Keep these sync'd with the list in Makefile.am.  The first provides an
2421   # expandable list at autoconf time; the second provides an expandable list
2422   # (i.e., shell variable) at configure time.
2423
2424   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2425
2426   # These need to be absolute paths, yet at the same time need to
2427   # canonicalize only relative paths, because then amd will not unmount
2428   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2429   glibcxx_builddir=`${PWDCMD-pwd}`
2430   case $srcdir in
2431     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2432     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2433   esac
2434   toplevel_srcdir=${glibcxx_srcdir}/..
2435
2436
2437
2438
2439   # We use these options to decide which functions to include.  They are
2440   # set from the top level.
2441
2442 # Check whether --with-target-subdir or --without-target-subdir was given.
2443 if test "${with_target_subdir+set}" = set; then
2444   withval="$with_target_subdir"
2445
2446 fi;
2447
2448
2449 # Check whether --with-cross-host or --without-cross-host was given.
2450 if test "${with_cross_host+set}" = set; then
2451   withval="$with_cross_host"
2452
2453 fi;
2454
2455
2456 # Check whether --with-newlib or --without-newlib was given.
2457 if test "${with_newlib+set}" = set; then
2458   withval="$with_newlib"
2459
2460 fi;
2461
2462   # We're almost certainly being configured before anything else which uses
2463   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2464   # we not cache the value of CXX that we "discover" here, because it's set
2465   # to something unique for us and libjava.  Other target libraries need to
2466   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2467   # process by sneakily renaming the cache variable.  This also lets us debug
2468   # the value of "our" CXX in postmortems.
2469   #
2470   # We must also force CXX to /not/ be a precious variable, otherwise the
2471   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2472   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2473   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2474   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2475   #
2476   # -fno-builtin must be present here so that a non-conflicting form of
2477   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2478
2479
2480
2481
2482   save_CXXFLAGS="$CXXFLAGS"
2483   CXXFLAGS="$CXXFLAGS -fno-builtin"
2484   ac_ext=c
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2489 if test -n "$ac_tool_prefix"; then
2490   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2492 echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495   echo $ECHO_N "(cached) $ECHO_C" >&6
2496 else
2497   if test -n "$CC"; then
2498   ac_cv_prog_CC="$CC" # Let the user override the test.
2499 else
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503   IFS=$as_save_IFS
2504   test -z "$as_dir" && as_dir=.
2505   for ac_exec_ext in '' $ac_executable_extensions; do
2506   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2507     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2508     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509     break 2
2510   fi
2511 done
2512 done
2513
2514 fi
2515 fi
2516 CC=$ac_cv_prog_CC
2517 if test -n "$CC"; then
2518   echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6
2520 else
2521   echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2523 fi
2524
2525 fi
2526 if test -z "$ac_cv_prog_CC"; then
2527   ac_ct_CC=$CC
2528   # Extract the first word of "gcc", so it can be a program name with args.
2529 set dummy gcc; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533   echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535   if test -n "$ac_ct_CC"; then
2536   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543   for ac_exec_ext in '' $ac_executable_extensions; do
2544   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545     ac_cv_prog_ac_ct_CC="gcc"
2546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547     break 2
2548   fi
2549 done
2550 done
2551
2552 fi
2553 fi
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559   echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563   CC=$ac_ct_CC
2564 else
2565   CC="$ac_cv_prog_CC"
2566 fi
2567
2568 if test -z "$CC"; then
2569   if test -n "$ac_tool_prefix"; then
2570   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}cc; ac_word=$2
2572 echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2574 if test "${ac_cv_prog_CC+set}" = set; then
2575   echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577   if test -n "$CC"; then
2578   ac_cv_prog_CC="$CC" # Let the user override the test.
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2582 do
2583   IFS=$as_save_IFS
2584   test -z "$as_dir" && as_dir=.
2585   for ac_exec_ext in '' $ac_executable_extensions; do
2586   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587     ac_cv_prog_CC="${ac_tool_prefix}cc"
2588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589     break 2
2590   fi
2591 done
2592 done
2593
2594 fi
2595 fi
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598   echo "$as_me:$LINENO: result: $CC" >&5
2599 echo "${ECHO_T}$CC" >&6
2600 else
2601   echo "$as_me:$LINENO: result: no" >&5
2602 echo "${ECHO_T}no" >&6
2603 fi
2604
2605 fi
2606 if test -z "$ac_cv_prog_CC"; then
2607   ac_ct_CC=$CC
2608   # Extract the first word of "cc", so it can be a program name with args.
2609 set dummy cc; ac_word=$2
2610 echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2612 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2613   echo $ECHO_N "(cached) $ECHO_C" >&6
2614 else
2615   if test -n "$ac_ct_CC"; then
2616   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623   for ac_exec_ext in '' $ac_executable_extensions; do
2624   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625     ac_cv_prog_ac_ct_CC="cc"
2626     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630 done
2631
2632 fi
2633 fi
2634 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2635 if test -n "$ac_ct_CC"; then
2636   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2637 echo "${ECHO_T}$ac_ct_CC" >&6
2638 else
2639   echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2641 fi
2642
2643   CC=$ac_ct_CC
2644 else
2645   CC="$ac_cv_prog_CC"
2646 fi
2647
2648 fi
2649 if test -z "$CC"; then
2650   # Extract the first word of "cc", so it can be a program name with args.
2651 set dummy cc; ac_word=$2
2652 echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 if test "${ac_cv_prog_CC+set}" = set; then
2655   echo $ECHO_N "(cached) $ECHO_C" >&6
2656 else
2657   if test -n "$CC"; then
2658   ac_cv_prog_CC="$CC" # Let the user override the test.
2659 else
2660   ac_prog_rejected=no
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2663 do
2664   IFS=$as_save_IFS
2665   test -z "$as_dir" && as_dir=.
2666   for ac_exec_ext in '' $ac_executable_extensions; do
2667   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2669        ac_prog_rejected=yes
2670        continue
2671      fi
2672     ac_cv_prog_CC="cc"
2673     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674     break 2
2675   fi
2676 done
2677 done
2678
2679 if test $ac_prog_rejected = yes; then
2680   # We found a bogon in the path, so make sure we never use it.
2681   set dummy $ac_cv_prog_CC
2682   shift
2683   if test $# != 0; then
2684     # We chose a different compiler from the bogus one.
2685     # However, it has the same basename, so the bogon will be chosen
2686     # first if we set CC to just the basename; use the full file name.
2687     shift
2688     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2689   fi
2690 fi
2691 fi
2692 fi
2693 CC=$ac_cv_prog_CC
2694 if test -n "$CC"; then
2695   echo "$as_me:$LINENO: result: $CC" >&5
2696 echo "${ECHO_T}$CC" >&6
2697 else
2698   echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2700 fi
2701
2702 fi
2703 if test -z "$CC"; then
2704   if test -n "$ac_tool_prefix"; then
2705   for ac_prog in cl
2706   do
2707     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2709 echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712   echo $ECHO_N "(cached) $ECHO_C" >&6
2713 else
2714   if test -n "$CC"; then
2715   ac_cv_prog_CC="$CC" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720   IFS=$as_save_IFS
2721   test -z "$as_dir" && as_dir=.
2722   for ac_exec_ext in '' $ac_executable_extensions; do
2723   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2724     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2725     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726     break 2
2727   fi
2728 done
2729 done
2730
2731 fi
2732 fi
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735   echo "$as_me:$LINENO: result: $CC" >&5
2736 echo "${ECHO_T}$CC" >&6
2737 else
2738   echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742     test -n "$CC" && break
2743   done
2744 fi
2745 if test -z "$CC"; then
2746   ac_ct_CC=$CC
2747   for ac_prog in cl
2748 do
2749   # Extract the first word of "$ac_prog", so it can be a program name with args.
2750 set dummy $ac_prog; ac_word=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2754   echo $ECHO_N "(cached) $ECHO_C" >&6
2755 else
2756   if test -n "$ac_ct_CC"; then
2757   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2761 do
2762   IFS=$as_save_IFS
2763   test -z "$as_dir" && as_dir=.
2764   for ac_exec_ext in '' $ac_executable_extensions; do
2765   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766     ac_cv_prog_ac_ct_CC="$ac_prog"
2767     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768     break 2
2769   fi
2770 done
2771 done
2772
2773 fi
2774 fi
2775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2776 if test -n "$ac_ct_CC"; then
2777   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2778 echo "${ECHO_T}$ac_ct_CC" >&6
2779 else
2780   echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2782 fi
2783
2784   test -n "$ac_ct_CC" && break
2785 done
2786
2787   CC=$ac_ct_CC
2788 fi
2789
2790 fi
2791
2792
2793 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&2;}
2797    { (exit 1); exit 1; }; }
2798
2799 # Provide some information about the compiler.
2800 echo "$as_me:$LINENO:" \
2801      "checking for C compiler version" >&5
2802 ac_compiler=`set X $ac_compile; echo $2`
2803 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2804   (eval $ac_compiler --version </dev/null >&5) 2>&5
2805   ac_status=$?
2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807   (exit $ac_status); }
2808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2809   (eval $ac_compiler -v </dev/null >&5) 2>&5
2810   ac_status=$?
2811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812   (exit $ac_status); }
2813 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2814   (eval $ac_compiler -V </dev/null >&5) 2>&5
2815   ac_status=$?
2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817   (exit $ac_status); }
2818
2819 cat >conftest.$ac_ext <<_ACEOF
2820 /* confdefs.h.  */
2821 _ACEOF
2822 cat confdefs.h >>conftest.$ac_ext
2823 cat >>conftest.$ac_ext <<_ACEOF
2824 /* end confdefs.h.  */
2825
2826 int
2827 main ()
2828 {
2829
2830   ;
2831   return 0;
2832 }
2833 _ACEOF
2834 # FIXME: Cleanup?
2835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2836   (eval $ac_link) 2>&5
2837   ac_status=$?
2838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839   (exit $ac_status); }; then
2840   gcc_no_link=no
2841 else
2842   gcc_no_link=yes
2843 fi
2844
2845 if test x$gcc_no_link = xyes; then
2846   # Setting cross_compile will disable run tests; it will
2847   # also disable AC_CHECK_FILE but that's generally
2848   # correct if we can't link.
2849   cross_compiling=yes
2850   EXEEXT=
2851 else
2852   cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h.  */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h.  */
2858
2859 int
2860 main ()
2861 {
2862
2863   ;
2864   return 0;
2865 }
2866 _ACEOF
2867 ac_clean_files_save=$ac_clean_files
2868 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2869 # Try to create an executable without -o first, disregard a.out.
2870 # It will help us diagnose broken compilers, and finding out an intuition
2871 # of exeext.
2872 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2873 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2874 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2875 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2876   (eval $ac_link_default) 2>&5
2877   ac_status=$?
2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879   (exit $ac_status); }; then
2880   # Find the output, starting from the most likely.  This scheme is
2881 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2882 # resort.
2883
2884 # Be careful to initialize this variable, since it used to be cached.
2885 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2886 ac_cv_exeext=
2887 # b.out is created by i960 compilers.
2888 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2889 do
2890   test -f "$ac_file" || continue
2891   case $ac_file in
2892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2893         ;;
2894     conftest.$ac_ext )
2895         # This is the source file.
2896         ;;
2897     [ab].out )
2898         # We found the default executable, but exeext='' is most
2899         # certainly right.
2900         break;;
2901     *.* )
2902         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903         # FIXME: I believe we export ac_cv_exeext for Libtool,
2904         # but it would be cool to find out if it's true.  Does anybody
2905         # maintain Libtool? --akim.
2906         export ac_cv_exeext
2907         break;;
2908     * )
2909         break;;
2910   esac
2911 done
2912 else
2913   echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2915
2916 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&5
2918 echo "$as_me: error: C compiler cannot create executables
2919 See \`config.log' for more details." >&2;}
2920    { (exit 77); exit 77; }; }
2921 fi
2922
2923 ac_exeext=$ac_cv_exeext
2924 echo "$as_me:$LINENO: result: $ac_file" >&5
2925 echo "${ECHO_T}$ac_file" >&6
2926
2927 # Check the compiler produces executables we can run.  If not, either
2928 # the compiler is broken, or we cross compile.
2929 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2930 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2931 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2932 # If not cross compiling, check that we can run a simple program.
2933 if test "$cross_compiling" != yes; then
2934   if { ac_try='./$ac_file'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; }; then
2940     cross_compiling=no
2941   else
2942     if test "$cross_compiling" = maybe; then
2943         cross_compiling=yes
2944     else
2945         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2946 If you meant to cross compile, use \`--host'.
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot run C compiled programs.
2949 If you meant to cross compile, use \`--host'.
2950 See \`config.log' for more details." >&2;}
2951    { (exit 1); exit 1; }; }
2952     fi
2953   fi
2954 fi
2955 echo "$as_me:$LINENO: result: yes" >&5
2956 echo "${ECHO_T}yes" >&6
2957
2958 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2959 ac_clean_files=$ac_clean_files_save
2960 # Check the compiler produces executables we can run.  If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2963 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2964 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2965 echo "${ECHO_T}$cross_compiling" >&6
2966
2967 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2968 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2970   (eval $ac_link) 2>&5
2971   ac_status=$?
2972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973   (exit $ac_status); }; then
2974   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2977 # `rm'.
2978 for ac_file in conftest.exe conftest conftest.*; do
2979   test -f "$ac_file" || continue
2980   case $ac_file in
2981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2982     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983           export ac_cv_exeext
2984           break;;
2985     * ) break;;
2986   esac
2987 done
2988 else
2989   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&5
2991 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2992 See \`config.log' for more details." >&2;}
2993    { (exit 1); exit 1; }; }
2994 fi
2995
2996 rm -f conftest$ac_cv_exeext
2997 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2998 echo "${ECHO_T}$ac_cv_exeext" >&6
2999
3000 rm -f conftest.$ac_ext
3001 EXEEXT=$ac_cv_exeext
3002 ac_exeext=$EXEEXT
3003 fi
3004 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3006 if test "${ac_cv_objext+set}" = set; then
3007   echo $ECHO_N "(cached) $ECHO_C" >&6
3008 else
3009   cat >conftest.$ac_ext <<_ACEOF
3010 /* confdefs.h.  */
3011 _ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h.  */
3015
3016 int
3017 main ()
3018 {
3019
3020   ;
3021   return 0;
3022 }
3023 _ACEOF
3024 rm -f conftest.o conftest.obj
3025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026   (eval $ac_compile) 2>&5
3027   ac_status=$?
3028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029   (exit $ac_status); }; then
3030   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3031   case $ac_file in
3032     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3033     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3034        break;;
3035   esac
3036 done
3037 else
3038   echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3040
3041 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&5
3043 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3044 See \`config.log' for more details." >&2;}
3045    { (exit 1); exit 1; }; }
3046 fi
3047
3048 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3049 fi
3050 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3051 echo "${ECHO_T}$ac_cv_objext" >&6
3052 OBJEXT=$ac_cv_objext
3053 ac_objext=$OBJEXT
3054 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3055 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3056 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3057   echo $ECHO_N "(cached) $ECHO_C" >&6
3058 else
3059   cat >conftest.$ac_ext <<_ACEOF
3060 /* confdefs.h.  */
3061 _ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h.  */
3065
3066 int
3067 main ()
3068 {
3069 #ifndef __GNUC__
3070        choke me
3071 #endif
3072
3073   ;
3074   return 0;
3075 }
3076 _ACEOF
3077 rm -f conftest.$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079   (eval $ac_compile) 2>conftest.er1
3080   ac_status=$?
3081   grep -v '^ *+' conftest.er1 >conftest.err
3082   rm -f conftest.er1
3083   cat conftest.err >&5
3084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085   (exit $ac_status); } &&
3086          { ac_try='test -z "$ac_c_werror_flag"
3087                          || test ! -s conftest.err'
3088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089   (eval $ac_try) 2>&5
3090   ac_status=$?
3091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092   (exit $ac_status); }; } &&
3093          { ac_try='test -s conftest.$ac_objext'
3094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095   (eval $ac_try) 2>&5
3096   ac_status=$?
3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098   (exit $ac_status); }; }; then
3099   ac_compiler_gnu=yes
3100 else
3101   echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3103
3104 ac_compiler_gnu=no
3105 fi
3106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3108
3109 fi
3110 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3111 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3112 GCC=`test $ac_compiler_gnu = yes && echo yes`
3113 ac_test_CFLAGS=${CFLAGS+set}
3114 ac_save_CFLAGS=$CFLAGS
3115 CFLAGS="-g"
3116 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3117 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3118 if test "${ac_cv_prog_cc_g+set}" = set; then
3119   echo $ECHO_N "(cached) $ECHO_C" >&6
3120 else
3121   cat >conftest.$ac_ext <<_ACEOF
3122 /* confdefs.h.  */
3123 _ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h.  */
3127
3128 int
3129 main ()
3130 {
3131
3132   ;
3133   return 0;
3134 }
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138   (eval $ac_compile) 2>conftest.er1
3139   ac_status=$?
3140   grep -v '^ *+' conftest.er1 >conftest.err
3141   rm -f conftest.er1
3142   cat conftest.err >&5
3143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144   (exit $ac_status); } &&
3145          { ac_try='test -z "$ac_c_werror_flag"
3146                          || test ! -s conftest.err'
3147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148   (eval $ac_try) 2>&5
3149   ac_status=$?
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); }; } &&
3152          { ac_try='test -s conftest.$ac_objext'
3153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154   (eval $ac_try) 2>&5
3155   ac_status=$?
3156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); }; }; then
3158   ac_cv_prog_cc_g=yes
3159 else
3160   echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 ac_cv_prog_cc_g=no
3164 fi
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 fi
3167 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3168 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3169 if test "$ac_test_CFLAGS" = set; then
3170   CFLAGS=$ac_save_CFLAGS
3171 elif test $ac_cv_prog_cc_g = yes; then
3172   if test "$GCC" = yes; then
3173     CFLAGS="-g -O2"
3174   else
3175     CFLAGS="-g"
3176   fi
3177 else
3178   if test "$GCC" = yes; then
3179     CFLAGS="-O2"
3180   else
3181     CFLAGS=
3182   fi
3183 fi
3184 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3185 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3186 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3187   echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189   ac_cv_prog_cc_stdc=no
3190 ac_save_CC=$CC
3191 cat >conftest.$ac_ext <<_ACEOF
3192 /* confdefs.h.  */
3193 _ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h.  */
3197 #include <stdarg.h>
3198 #include <stdio.h>
3199 #include <sys/types.h>
3200 #include <sys/stat.h>
3201 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3202 struct buf { int x; };
3203 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3204 static char *e (p, i)
3205      char **p;
3206      int i;
3207 {
3208   return p[i];
3209 }
3210 static char *f (char * (*g) (char **, int), char **p, ...)
3211 {
3212   char *s;
3213   va_list v;
3214   va_start (v,p);
3215   s = g (p, va_arg (v,int));
3216   va_end (v);
3217   return s;
3218 }
3219
3220 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3221    function prototypes and stuff, but not '\xHH' hex character constants.
3222    These don't provoke an error unfortunately, instead are silently treated
3223    as 'x'.  The following induces an error, until -std1 is added to get
3224    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3225    array size at least.  It's necessary to write '\x00'==0 to get something
3226    that's true only with -std1.  */
3227 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3228
3229 int test (int i, double x);
3230 struct s1 {int (*f) (int a);};
3231 struct s2 {int (*f) (double a);};
3232 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233 int argc;
3234 char **argv;
3235 int
3236 main ()
3237 {
3238 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3239   ;
3240   return 0;
3241 }
3242 _ACEOF
3243 # Don't try gcc -ansi; that turns off useful extensions and
3244 # breaks some systems' header files.
3245 # AIX                   -qlanglvl=ansi
3246 # Ultrix and OSF/1      -std1
3247 # HP-UX 10.20 and later -Ae
3248 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3249 # SVR4                  -Xc -D__EXTENSIONS__
3250 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3251 do
3252   CC="$ac_save_CC $ac_arg"
3253   rm -f conftest.$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255   (eval $ac_compile) 2>conftest.er1
3256   ac_status=$?
3257   grep -v '^ *+' conftest.er1 >conftest.err
3258   rm -f conftest.er1
3259   cat conftest.err >&5
3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261   (exit $ac_status); } &&
3262          { ac_try='test -z "$ac_c_werror_flag"
3263                          || test ! -s conftest.err'
3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265   (eval $ac_try) 2>&5
3266   ac_status=$?
3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268   (exit $ac_status); }; } &&
3269          { ac_try='test -s conftest.$ac_objext'
3270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271   (eval $ac_try) 2>&5
3272   ac_status=$?
3273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274   (exit $ac_status); }; }; then
3275   ac_cv_prog_cc_stdc=$ac_arg
3276 break
3277 else
3278   echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 fi
3282 rm -f conftest.err conftest.$ac_objext
3283 done
3284 rm -f conftest.$ac_ext conftest.$ac_objext
3285 CC=$ac_save_CC
3286
3287 fi
3288
3289 case "x$ac_cv_prog_cc_stdc" in
3290   x|xno)
3291     echo "$as_me:$LINENO: result: none needed" >&5
3292 echo "${ECHO_T}none needed" >&6 ;;
3293   *)
3294     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3295 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3296     CC="$CC $ac_cv_prog_cc_stdc" ;;
3297 esac
3298
3299 # Some people use a C++ compiler to compile C.  Since we use `exit',
3300 # in C++ we need to declare it.  In case someone uses the same compiler
3301 # for both compiling C and C++ we need to have the C++ compiler decide
3302 # the declaration of exit, since it's the most demanding environment.
3303 cat >conftest.$ac_ext <<_ACEOF
3304 #ifndef __cplusplus
3305   choke me
3306 #endif
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310   (eval $ac_compile) 2>conftest.er1
3311   ac_status=$?
3312   grep -v '^ *+' conftest.er1 >conftest.err
3313   rm -f conftest.er1
3314   cat conftest.err >&5
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); } &&
3317          { ac_try='test -z "$ac_c_werror_flag"
3318                          || test ! -s conftest.err'
3319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320   (eval $ac_try) 2>&5
3321   ac_status=$?
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); }; } &&
3324          { ac_try='test -s conftest.$ac_objext'
3325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326   (eval $ac_try) 2>&5
3327   ac_status=$?
3328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329   (exit $ac_status); }; }; then
3330   for ac_declaration in \
3331    '' \
3332    'extern "C" void std::exit (int) throw (); using std::exit;' \
3333    'extern "C" void std::exit (int); using std::exit;' \
3334    'extern "C" void exit (int) throw ();' \
3335    'extern "C" void exit (int);' \
3336    'void exit (int);'
3337 do
3338   cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h.  */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h.  */
3344 $ac_declaration
3345 #include <stdlib.h>
3346 int
3347 main ()
3348 {
3349 exit (42);
3350   ;
3351   return 0;
3352 }
3353 _ACEOF
3354 rm -f conftest.$ac_objext
3355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356   (eval $ac_compile) 2>conftest.er1
3357   ac_status=$?
3358   grep -v '^ *+' conftest.er1 >conftest.err
3359   rm -f conftest.er1
3360   cat conftest.err >&5
3361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362   (exit $ac_status); } &&
3363          { ac_try='test -z "$ac_c_werror_flag"
3364                          || test ! -s conftest.err'
3365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366   (eval $ac_try) 2>&5
3367   ac_status=$?
3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369   (exit $ac_status); }; } &&
3370          { ac_try='test -s conftest.$ac_objext'
3371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372   (eval $ac_try) 2>&5
3373   ac_status=$?
3374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375   (exit $ac_status); }; }; then
3376   :
3377 else
3378   echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3380
3381 continue
3382 fi
3383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3384   cat >conftest.$ac_ext <<_ACEOF
3385 /* confdefs.h.  */
3386 _ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h.  */
3390 $ac_declaration
3391 int
3392 main ()
3393 {
3394 exit (42);
3395   ;
3396   return 0;
3397 }
3398 _ACEOF
3399 rm -f conftest.$ac_objext
3400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3401   (eval $ac_compile) 2>conftest.er1
3402   ac_status=$?
3403   grep -v '^ *+' conftest.er1 >conftest.err
3404   rm -f conftest.er1
3405   cat conftest.err >&5
3406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407   (exit $ac_status); } &&
3408          { ac_try='test -z "$ac_c_werror_flag"
3409                          || test ! -s conftest.err'
3410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411   (eval $ac_try) 2>&5
3412   ac_status=$?
3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414   (exit $ac_status); }; } &&
3415          { ac_try='test -s conftest.$ac_objext'
3416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417   (eval $ac_try) 2>&5
3418   ac_status=$?
3419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420   (exit $ac_status); }; }; then
3421   break
3422 else
3423   echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3425
3426 fi
3427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3428 done
3429 rm -f conftest*
3430 if test -n "$ac_declaration"; then
3431   echo '#ifdef __cplusplus' >>confdefs.h
3432   echo $ac_declaration      >>confdefs.h
3433   echo '#endif'             >>confdefs.h
3434 fi
3435
3436 else
3437   echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3439
3440 fi
3441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3442 ac_ext=c
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447
3448   ac_ext=cc
3449 ac_cpp='$CXXCPP $CPPFLAGS'
3450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3453 if test -n "$ac_tool_prefix"; then
3454   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3455   do
3456     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3458 echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3460 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3461   echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463   if test -n "$CXX"; then
3464   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3465 else
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH
3468 do
3469   IFS=$as_save_IFS
3470   test -z "$as_dir" && as_dir=.
3471   for ac_exec_ext in '' $ac_executable_extensions; do
3472   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3474     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475     break 2
3476   fi
3477 done
3478 done
3479
3480 fi
3481 fi
3482 CXX=$glibcxx_cv_prog_CXX
3483 if test -n "$CXX"; then
3484   echo "$as_me:$LINENO: result: $CXX" >&5
3485 echo "${ECHO_T}$CXX" >&6
3486 else
3487   echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3489 fi
3490
3491     test -n "$CXX" && break
3492   done
3493 fi
3494 if test -z "$CXX"; then
3495   ac_ct_CXX=$CXX
3496   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497 do
3498   # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$ac_ct_CXX"; then
3506   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     ac_cv_prog_ac_ct_CXX="$ac_prog"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3525 if test -n "$ac_ct_CXX"; then
3526   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3527 echo "${ECHO_T}$ac_ct_CXX" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533   test -n "$ac_ct_CXX" && break
3534 done
3535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3536
3537   CXX=$ac_ct_CXX
3538 fi
3539
3540
3541 # Provide some information about the compiler.
3542 echo "$as_me:$LINENO:" \
3543      "checking for C++ compiler version" >&5
3544 ac_compiler=`set X $ac_compile; echo $2`
3545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3546   (eval $ac_compiler --version </dev/null >&5) 2>&5
3547   ac_status=$?
3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549   (exit $ac_status); }
3550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3551   (eval $ac_compiler -v </dev/null >&5) 2>&5
3552   ac_status=$?
3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554   (exit $ac_status); }
3555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3556   (eval $ac_compiler -V </dev/null >&5) 2>&5
3557   ac_status=$?
3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559   (exit $ac_status); }
3560
3561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3564   echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566   cat >conftest.$ac_ext <<_ACEOF
3567 /* confdefs.h.  */
3568 _ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h.  */
3572
3573 int
3574 main ()
3575 {
3576 #ifndef __GNUC__
3577        choke me
3578 #endif
3579
3580   ;
3581   return 0;
3582 }
3583 _ACEOF
3584 rm -f conftest.$ac_objext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3586   (eval $ac_compile) 2>conftest.er1
3587   ac_status=$?
3588   grep -v '^ *+' conftest.er1 >conftest.err
3589   rm -f conftest.er1
3590   cat conftest.err >&5
3591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592   (exit $ac_status); } &&
3593          { ac_try='test -z "$ac_cxx_werror_flag"
3594                          || test ! -s conftest.err'
3595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596   (eval $ac_try) 2>&5
3597   ac_status=$?
3598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599   (exit $ac_status); }; } &&
3600          { ac_try='test -s conftest.$ac_objext'
3601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602   (eval $ac_try) 2>&5
3603   ac_status=$?
3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605   (exit $ac_status); }; }; then
3606   ac_compiler_gnu=yes
3607 else
3608   echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3610
3611 ac_compiler_gnu=no
3612 fi
3613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3615
3616 fi
3617 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3618 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3619 GXX=`test $ac_compiler_gnu = yes && echo yes`
3620 ac_test_CXXFLAGS=${CXXFLAGS+set}
3621 ac_save_CXXFLAGS=$CXXFLAGS
3622 CXXFLAGS="-g"
3623 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3624 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3625 if test "${ac_cv_prog_cxx_g+set}" = set; then
3626   echo $ECHO_N "(cached) $ECHO_C" >&6
3627 else
3628   cat >conftest.$ac_ext <<_ACEOF
3629 /* confdefs.h.  */
3630 _ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h.  */
3634
3635 int
3636 main ()
3637 {
3638
3639   ;
3640   return 0;
3641 }
3642 _ACEOF
3643 rm -f conftest.$ac_objext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3645   (eval $ac_compile) 2>conftest.er1
3646   ac_status=$?
3647   grep -v '^ *+' conftest.er1 >conftest.err
3648   rm -f conftest.er1
3649   cat conftest.err >&5
3650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651   (exit $ac_status); } &&
3652          { ac_try='test -z "$ac_cxx_werror_flag"
3653                          || test ! -s conftest.err'
3654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655   (eval $ac_try) 2>&5
3656   ac_status=$?
3657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658   (exit $ac_status); }; } &&
3659          { ac_try='test -s conftest.$ac_objext'
3660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661   (eval $ac_try) 2>&5
3662   ac_status=$?
3663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664   (exit $ac_status); }; }; then
3665   ac_cv_prog_cxx_g=yes
3666 else
3667   echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3669
3670 ac_cv_prog_cxx_g=no
3671 fi
3672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3673 fi
3674 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3675 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3676 if test "$ac_test_CXXFLAGS" = set; then
3677   CXXFLAGS=$ac_save_CXXFLAGS
3678 elif test $ac_cv_prog_cxx_g = yes; then
3679   if test "$GXX" = yes; then
3680     CXXFLAGS="-g -O2"
3681   else
3682     CXXFLAGS="-g"
3683   fi
3684 else
3685   if test "$GXX" = yes; then
3686     CXXFLAGS="-O2"
3687   else
3688     CXXFLAGS=
3689   fi
3690 fi
3691 for ac_declaration in \
3692    '' \
3693    'extern "C" void std::exit (int) throw (); using std::exit;' \
3694    'extern "C" void std::exit (int); using std::exit;' \
3695    'extern "C" void exit (int) throw ();' \
3696    'extern "C" void exit (int);' \
3697    'void exit (int);'
3698 do
3699   cat >conftest.$ac_ext <<_ACEOF
3700 /* confdefs.h.  */
3701 _ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h.  */
3705 $ac_declaration
3706 #include <stdlib.h>
3707 int
3708 main ()
3709 {
3710 exit (42);
3711   ;
3712   return 0;
3713 }
3714 _ACEOF
3715 rm -f conftest.$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717   (eval $ac_compile) 2>conftest.er1
3718   ac_status=$?
3719   grep -v '^ *+' conftest.er1 >conftest.err
3720   rm -f conftest.er1
3721   cat conftest.err >&5
3722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723   (exit $ac_status); } &&
3724          { ac_try='test -z "$ac_cxx_werror_flag"
3725                          || test ! -s conftest.err'
3726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727   (eval $ac_try) 2>&5
3728   ac_status=$?
3729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730   (exit $ac_status); }; } &&
3731          { ac_try='test -s conftest.$ac_objext'
3732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733   (eval $ac_try) 2>&5
3734   ac_status=$?
3735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736   (exit $ac_status); }; }; then
3737   :
3738 else
3739   echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3741
3742 continue
3743 fi
3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3745   cat >conftest.$ac_ext <<_ACEOF
3746 /* confdefs.h.  */
3747 _ACEOF
3748 cat confdefs.h >>conftest.$ac_ext
3749 cat >>conftest.$ac_ext <<_ACEOF
3750 /* end confdefs.h.  */
3751 $ac_declaration
3752 int
3753 main ()
3754 {
3755 exit (42);
3756   ;
3757   return 0;
3758 }
3759 _ACEOF
3760 rm -f conftest.$ac_objext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3762   (eval $ac_compile) 2>conftest.er1
3763   ac_status=$?
3764   grep -v '^ *+' conftest.er1 >conftest.err
3765   rm -f conftest.er1
3766   cat conftest.err >&5
3767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768   (exit $ac_status); } &&
3769          { ac_try='test -z "$ac_cxx_werror_flag"
3770                          || test ! -s conftest.err'
3771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772   (eval $ac_try) 2>&5
3773   ac_status=$?
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); }; } &&
3776          { ac_try='test -s conftest.$ac_objext'
3777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778   (eval $ac_try) 2>&5
3779   ac_status=$?
3780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781   (exit $ac_status); }; }; then
3782   break
3783 else
3784   echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3786
3787 fi
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789 done
3790 rm -f conftest*
3791 if test -n "$ac_declaration"; then
3792   echo '#ifdef __cplusplus' >>confdefs.h
3793   echo $ac_declaration      >>confdefs.h
3794   echo '#endif'             >>confdefs.h
3795 fi
3796
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802
3803   CXXFLAGS="$save_CXXFLAGS"
3804
3805
3806
3807
3808   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3809   # available).  Uncomment the next line to force a particular method.
3810   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3811 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3812 LN_S=$as_ln_s
3813 if test "$LN_S" = "ln -s"; then
3814   echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3818 echo "${ECHO_T}no, using $LN_S" >&6
3819 fi
3820
3821   #LN_S='cp -p'
3822
3823   if test -n "$ac_tool_prefix"; then
3824   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3825 set dummy ${ac_tool_prefix}as; ac_word=$2
3826 echo "$as_me:$LINENO: checking for $ac_word" >&5
3827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3828 if test "${ac_cv_prog_AS+set}" = set; then
3829   echo $ECHO_N "(cached) $ECHO_C" >&6
3830 else
3831   if test -n "$AS"; then
3832   ac_cv_prog_AS="$AS" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837   IFS=$as_save_IFS
3838   test -z "$as_dir" && as_dir=.
3839   for ac_exec_ext in '' $ac_executable_extensions; do
3840   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841     ac_cv_prog_AS="${ac_tool_prefix}as"
3842     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843     break 2
3844   fi
3845 done
3846 done
3847
3848 fi
3849 fi
3850 AS=$ac_cv_prog_AS
3851 if test -n "$AS"; then
3852   echo "$as_me:$LINENO: result: $AS" >&5
3853 echo "${ECHO_T}$AS" >&6
3854 else
3855   echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3857 fi
3858
3859 fi
3860 if test -z "$ac_cv_prog_AS"; then
3861   ac_ct_AS=$AS
3862   # Extract the first word of "as", so it can be a program name with args.
3863 set dummy as; ac_word=$2
3864 echo "$as_me:$LINENO: checking for $ac_word" >&5
3865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3866 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3867   echo $ECHO_N "(cached) $ECHO_C" >&6
3868 else
3869   if test -n "$ac_ct_AS"; then
3870   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3871 else
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3874 do
3875   IFS=$as_save_IFS
3876   test -z "$as_dir" && as_dir=.
3877   for ac_exec_ext in '' $ac_executable_extensions; do
3878   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879     ac_cv_prog_ac_ct_AS="as"
3880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3881     break 2
3882   fi
3883 done
3884 done
3885
3886 fi
3887 fi
3888 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3889 if test -n "$ac_ct_AS"; then
3890   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3891 echo "${ECHO_T}$ac_ct_AS" >&6
3892 else
3893   echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3895 fi
3896
3897   AS=$ac_ct_AS
3898 else
3899   AS="$ac_cv_prog_AS"
3900 fi
3901
3902   if test -n "$ac_tool_prefix"; then
3903   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}ar; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_AR+set}" = set; then
3908   echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910   if test -n "$AR"; then
3911   ac_cv_prog_AR="$AR" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3915 do
3916   IFS=$as_save_IFS
3917   test -z "$as_dir" && as_dir=.
3918   for ac_exec_ext in '' $ac_executable_extensions; do
3919   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920     ac_cv_prog_AR="${ac_tool_prefix}ar"
3921     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922     break 2
3923   fi
3924 done
3925 done
3926
3927 fi
3928 fi
3929 AR=$ac_cv_prog_AR
3930 if test -n "$AR"; then
3931   echo "$as_me:$LINENO: result: $AR" >&5
3932 echo "${ECHO_T}$AR" >&6
3933 else
3934   echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3936 fi
3937
3938 fi
3939 if test -z "$ac_cv_prog_AR"; then
3940   ac_ct_AR=$AR
3941   # Extract the first word of "ar", so it can be a program name with args.
3942 set dummy ar; ac_word=$2
3943 echo "$as_me:$LINENO: checking for $ac_word" >&5
3944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3946   echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948   if test -n "$ac_ct_AR"; then
3949   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3953 do
3954   IFS=$as_save_IFS
3955   test -z "$as_dir" && as_dir=.
3956   for ac_exec_ext in '' $ac_executable_extensions; do
3957   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958     ac_cv_prog_ac_ct_AR="ar"
3959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960     break 2
3961   fi
3962 done
3963 done
3964
3965 fi
3966 fi
3967 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3968 if test -n "$ac_ct_AR"; then
3969   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3970 echo "${ECHO_T}$ac_ct_AR" >&6
3971 else
3972   echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976   AR=$ac_ct_AR
3977 else
3978   AR="$ac_cv_prog_AR"
3979 fi
3980
3981   if test -n "$ac_tool_prefix"; then
3982   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_RANLIB+set}" = set; then
3987   echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989   if test -n "$RANLIB"; then
3990   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3994 do
3995   IFS=$as_save_IFS
3996   test -z "$as_dir" && as_dir=.
3997   for ac_exec_ext in '' $ac_executable_extensions; do
3998   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001     break 2
4002   fi
4003 done
4004 done
4005
4006 fi
4007 fi
4008 RANLIB=$ac_cv_prog_RANLIB
4009 if test -n "$RANLIB"; then
4010   echo "$as_me:$LINENO: result: $RANLIB" >&5
4011 echo "${ECHO_T}$RANLIB" >&6
4012 else
4013   echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017 fi
4018 if test -z "$ac_cv_prog_RANLIB"; then
4019   ac_ct_RANLIB=$RANLIB
4020   # Extract the first word of "ranlib", so it can be a program name with args.
4021 set dummy ranlib; ac_word=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4025   echo $ECHO_N "(cached) $ECHO_C" >&6
4026 else
4027   if test -n "$ac_ct_RANLIB"; then
4028   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4032 do
4033   IFS=$as_save_IFS
4034   test -z "$as_dir" && as_dir=.
4035   for ac_exec_ext in '' $ac_executable_extensions; do
4036   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037     ac_cv_prog_ac_ct_RANLIB="ranlib"
4038     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039     break 2
4040   fi
4041 done
4042 done
4043
4044   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4045 fi
4046 fi
4047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4048 if test -n "$ac_ct_RANLIB"; then
4049   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4051 else
4052   echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056   RANLIB=$ac_ct_RANLIB
4057 else
4058   RANLIB="$ac_cv_prog_RANLIB"
4059 fi
4060
4061
4062   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4063 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4064     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4065 if test "${enable_maintainer_mode+set}" = set; then
4066   enableval="$enable_maintainer_mode"
4067   USE_MAINTAINER_MODE=$enableval
4068 else
4069   USE_MAINTAINER_MODE=no
4070 fi;
4071   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4072 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4073
4074
4075 if test $USE_MAINTAINER_MODE = yes; then
4076   MAINTAINER_MODE_TRUE=
4077   MAINTAINER_MODE_FALSE='#'
4078 else
4079   MAINTAINER_MODE_TRUE='#'
4080   MAINTAINER_MODE_FALSE=
4081 fi
4082
4083   MAINT=$MAINTAINER_MODE_TRUE
4084
4085
4086
4087   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4088   # which are themselves conditionally expanded.
4089   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4090   ## other macros from doing the same.  This should be automated.)  -pme
4091   need_libmath=no
4092
4093   # Check for uClibc since Linux platforms use different configuration
4094   # directories depending on the C library in use.
4095   cat >conftest.$ac_ext <<_ACEOF
4096 /* confdefs.h.  */
4097 _ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h.  */
4101
4102   #include <stdio.h>
4103   #if __UCLIBC__
4104     _using_uclibc
4105   #endif
4106
4107 _ACEOF
4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4109   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4110   uclibc=yes
4111 else
4112   uclibc=no
4113 fi
4114 rm -f conftest*
4115
4116
4117   # Find platform-specific directories containing configuration info.
4118   # Also possibly modify flags used elsewhere, as needed by the platform.
4119
4120   . $glibcxx_srcdir/configure.host
4121   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4122 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4123   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4124 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4125
4126
4127
4128 if test "x${with_newlib}" != "xyes"; then
4129   enable_dlopen=yes
4130
4131
4132
4133 fi
4134
4135
4136 macro_version='2.1a'
4137 macro_revision='1.2435'
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150 ltmain="$ac_aux_dir/ltmain.sh"
4151
4152 # Set options
4153
4154
4155 enable_win32_dll=no
4156
4157
4158 # Check whether --enable-shared or --disable-shared was given.
4159 if test "${enable_shared+set}" = set; then
4160   enableval="$enable_shared"
4161   p=${PACKAGE-default}
4162     case $enableval in
4163     yes) enable_shared=yes ;;
4164     no) enable_shared=no ;;
4165     *)
4166       enable_shared=no
4167       # Look at the argument we got.  We use all the common list separators.
4168       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4169       for pkg in $enableval; do
4170         IFS="$lt_save_ifs"
4171         if test "X$pkg" = "X$p"; then
4172           enable_shared=yes
4173         fi
4174       done
4175       IFS="$lt_save_ifs"
4176       ;;
4177     esac
4178 else
4179   enable_shared=yes
4180 fi;
4181
4182
4183
4184
4185
4186
4187
4188
4189 # Check whether --enable-static or --disable-static was given.
4190 if test "${enable_static+set}" = set; then
4191   enableval="$enable_static"
4192   p=${PACKAGE-default}
4193     case $enableval in
4194     yes) enable_static=yes ;;
4195     no) enable_static=no ;;
4196     *)
4197      enable_static=no
4198       # Look at the argument we got.  We use all the common list separators.
4199       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4200       for pkg in $enableval; do
4201         IFS="$lt_save_ifs"
4202         if test "X$pkg" = "X$p"; then
4203           enable_static=yes
4204         fi
4205       done
4206       IFS="$lt_save_ifs"
4207       ;;
4208     esac
4209 else
4210   enable_static=yes
4211 fi;
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221 # Check whether --with-pic or --without-pic was given.
4222 if test "${with_pic+set}" = set; then
4223   withval="$with_pic"
4224   pic_mode="$withval"
4225 else
4226   pic_mode=default
4227 fi;
4228
4229 test -z "$pic_mode" && pic_mode=default
4230
4231
4232
4233
4234
4235
4236
4237 # Check whether --enable-fast-install or --disable-fast-install was given.
4238 if test "${enable_fast_install+set}" = set; then
4239   enableval="$enable_fast_install"
4240   p=${PACKAGE-default}
4241     case $enableval in
4242     yes) enable_fast_install=yes ;;
4243     no) enable_fast_install=no ;;
4244     *)
4245       enable_fast_install=no
4246       # Look at the argument we got.  We use all the common list separators.
4247       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4248       for pkg in $enableval; do
4249         IFS="$lt_save_ifs"
4250         if test "X$pkg" = "X$p"; then
4251           enable_fast_install=yes
4252         fi
4253       done
4254       IFS="$lt_save_ifs"
4255       ;;
4256     esac
4257 else
4258   enable_fast_install=yes
4259 fi;
4260
4261
4262
4263
4264
4265
4266
4267
4268 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4269 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4270 if test "${lt_cv_path_SED+set}" = set; then
4271   echo $ECHO_N "(cached) $ECHO_C" >&6
4272 else
4273   # Loop through the user's path and test for sed and gsed.
4274 # Then use that list of sed's as ones to test for truncation.
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH
4277 do
4278   IFS=$as_save_IFS
4279   test -z "$as_dir" && as_dir=.
4280   for lt_ac_prog in sed gsed; do
4281     for ac_exec_ext in '' $ac_executable_extensions; do
4282       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4283         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4284       fi
4285     done
4286   done
4287 done
4288 IFS=$as_save_IFS
4289 lt_ac_max=0
4290 lt_ac_count=0
4291 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4292 # along with /bin/sed that truncates output.
4293 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4294   test ! -f $lt_ac_sed && continue
4295   cat /dev/null > conftest.in
4296   lt_ac_count=0
4297   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4298   # Check for GNU sed and select it if it is found.
4299   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4300     lt_cv_path_SED=$lt_ac_sed
4301     break
4302   fi
4303   while true; do
4304     cat conftest.in conftest.in >conftest.tmp
4305     mv conftest.tmp conftest.in
4306     cp conftest.in conftest.nl
4307     echo >>conftest.nl
4308     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4309     cmp -s conftest.out conftest.nl || break
4310     # 10000 chars as input seems more than enough
4311     test $lt_ac_count -gt 10 && break
4312     lt_ac_count=`expr $lt_ac_count + 1`
4313     if test $lt_ac_count -gt $lt_ac_max; then
4314       lt_ac_max=$lt_ac_count
4315       lt_cv_path_SED=$lt_ac_sed
4316     fi
4317   done
4318 done
4319
4320 fi
4321
4322 SED=$lt_cv_path_SED
4323
4324 echo "$as_me:$LINENO: result: $SED" >&5
4325 echo "${ECHO_T}$SED" >&6
4326
4327 test -z "$SED" && SED=sed
4328 Xsed="$SED -e 1s/^X//"
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340 echo "$as_me:$LINENO: checking for fgrep" >&5
4341 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4342 if test "${ac_cv_prog_fgrep+set}" = set; then
4343   echo $ECHO_N "(cached) $ECHO_C" >&6
4344 else
4345   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4346     then ac_cv_prog_fgrep='grep -F'
4347     else ac_cv_prog_fgrep='fgrep'
4348     fi
4349 fi
4350 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4351 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4352  FGREP=$ac_cv_prog_fgrep
4353
4354
4355 test -z "$GREP" && GREP=grep
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4376 if test "${with_gnu_ld+set}" = set; then
4377   withval="$with_gnu_ld"
4378   test "$withval" = no || with_gnu_ld=yes
4379 else
4380   with_gnu_ld=no
4381 fi;
4382 ac_prog=ld
4383 if test "$GCC" = yes; then
4384   # Check if gcc -print-prog-name=ld gives a path.
4385   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4386 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4387   case $host in
4388   *-*-mingw*)
4389     # gcc leaves a trailing carriage return which upsets mingw
4390     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4391   *)
4392     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4393   esac
4394   case $ac_prog in
4395     # Accept absolute paths.
4396     [\\/]* | ?:[\\/]*)
4397       re_direlt='/[^/][^/]*/\.\./'
4398       # Canonicalize the pathname of ld
4399       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4400       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4401         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4402       done
4403       test -z "$LD" && LD="$ac_prog"
4404       ;;
4405   "")
4406     # If it fails, then pretend we aren't using GCC.
4407     ac_prog=ld
4408     ;;
4409   *)
4410     # If it is relative, then search for the first ld in PATH.
4411     with_gnu_ld=unknown
4412     ;;
4413   esac
4414 elif test "$with_gnu_ld" = yes; then
4415   echo "$as_me:$LINENO: checking for GNU ld" >&5
4416 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4417 else
4418   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4419 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4420 fi
4421 if test "${lt_cv_path_LD+set}" = set; then
4422   echo $ECHO_N "(cached) $ECHO_C" >&6
4423 else
4424   if test -z "$LD"; then
4425   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4426   for ac_dir in $PATH; do
4427     IFS="$lt_save_ifs"
4428     test -z "$ac_dir" && ac_dir=.
4429     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4430       lt_cv_path_LD="$ac_dir/$ac_prog"
4431       # Check to see if the program is GNU ld.  I'd rather use --version,
4432       # but apparently some variants of GNU ld only accept -v.
4433       # Break only if it was the GNU/non-GNU ld that we prefer.
4434       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4435       *GNU* | *'with BFD'*)
4436         test "$with_gnu_ld" != no && break
4437         ;;
4438       *)
4439         test "$with_gnu_ld" != yes && break
4440         ;;
4441       esac
4442     fi
4443   done
4444   IFS="$lt_save_ifs"
4445 else
4446   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4447 fi
4448 fi
4449
4450 LD="$lt_cv_path_LD"
4451 if test -n "$LD"; then
4452   echo "$as_me:$LINENO: result: $LD" >&5
4453 echo "${ECHO_T}$LD" >&6
4454 else
4455   echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6
4457 fi
4458 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4459 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4460    { (exit 1); exit 1; }; }
4461 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4462 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4463 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4464   echo $ECHO_N "(cached) $ECHO_C" >&6
4465 else
4466   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4467 case `$LD -v 2>&1 </dev/null` in
4468 *GNU* | *'with BFD'*)
4469   lt_cv_prog_gnu_ld=yes
4470   ;;
4471 *)
4472   lt_cv_prog_gnu_ld=no
4473   ;;
4474 esac
4475 fi
4476 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4477 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4478 with_gnu_ld=$lt_cv_prog_gnu_ld
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4490 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4491 if test "${lt_cv_path_NM+set}" = set; then
4492   echo $ECHO_N "(cached) $ECHO_C" >&6
4493 else
4494   if test -n "$NM"; then
4495   # Let the user override the test.
4496   lt_cv_path_NM="$NM"
4497 else
4498   lt_nm_to_check="${ac_tool_prefix}nm"
4499   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4500     lt_nm_to_check="$lt_nm_to_check nm"
4501   fi
4502   for lt_tmp_nm in $lt_nm_to_check; do
4503     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4504     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4505       IFS="$lt_save_ifs"
4506       test -z "$ac_dir" && ac_dir=.
4507       tmp_nm="$ac_dir/$lt_tmp_nm"
4508       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4509         # Check to see if the nm accepts a BSD-compat flag.
4510         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4511         #   nm: unknown option "B" ignored
4512         # Tru64's nm complains that /dev/null is an invalid object file
4513         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4514         */dev/null* | *'Invalid file or object type'*)
4515           lt_cv_path_NM="$tmp_nm -B"
4516           break
4517           ;;
4518         *)
4519           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4520           */dev/null*)
4521             lt_cv_path_NM="$tmp_nm -p"
4522             break
4523             ;;
4524           *)
4525             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4526             continue # so that we can try to find one that supports BSD flags
4527             ;;
4528           esac
4529           ;;
4530         esac
4531       fi
4532     done
4533     IFS="$lt_save_ifs"
4534   done
4535   : ${lt_cv_path_NM=no}
4536 fi
4537 fi
4538 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4539 echo "${ECHO_T}$lt_cv_path_NM" >&6
4540 if test "$lt_cv_path_NM" != "no"; then
4541   NM="$lt_cv_path_NM"
4542 else
4543   # Didn't find any BSD compatible name lister, look for dumpbin.
4544   if test -n "$ac_tool_prefix"; then
4545   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4546   do
4547     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4548 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4549 echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4551 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4552   echo $ECHO_N "(cached) $ECHO_C" >&6
4553 else
4554   if test -n "$DUMPBIN"; then
4555   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4556 else
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4559 do
4560   IFS=$as_save_IFS
4561   test -z "$as_dir" && as_dir=.
4562   for ac_exec_ext in '' $ac_executable_extensions; do
4563   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4565     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4566     break 2
4567   fi
4568 done
4569 done
4570
4571 fi
4572 fi
4573 DUMPBIN=$ac_cv_prog_DUMPBIN
4574 if test -n "$DUMPBIN"; then
4575   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4576 echo "${ECHO_T}$DUMPBIN" >&6
4577 else
4578   echo "$as_me:$LINENO: result: no" >&5
4579 echo "${ECHO_T}no" >&6
4580 fi
4581
4582     test -n "$DUMPBIN" && break
4583   done
4584 fi
4585 if test -z "$DUMPBIN"; then
4586   ac_ct_DUMPBIN=$DUMPBIN
4587   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4588 do
4589   # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy $ac_prog; ac_word=$2
4591 echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4593 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4594   echo $ECHO_N "(cached) $ECHO_C" >&6
4595 else
4596   if test -n "$ac_ct_DUMPBIN"; then
4597   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4601 do
4602   IFS=$as_save_IFS
4603   test -z "$as_dir" && as_dir=.
4604   for ac_exec_ext in '' $ac_executable_extensions; do
4605   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608     break 2
4609   fi
4610 done
4611 done
4612
4613 fi
4614 fi
4615 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4616 if test -n "$ac_ct_DUMPBIN"; then
4617   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4618 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4619 else
4620   echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4622 fi
4623
4624   test -n "$ac_ct_DUMPBIN" && break
4625 done
4626 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4627
4628   DUMPBIN=$ac_ct_DUMPBIN
4629 fi
4630
4631
4632   if test "$DUMPBIN" != ":"; then
4633     NM="$DUMPBIN"
4634   fi
4635 fi
4636 test -z "$NM" && NM=nm
4637
4638
4639
4640
4641
4642
4643 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4644 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4645 if test "${lt_cv_nm_interface+set}" = set; then
4646   echo $ECHO_N "(cached) $ECHO_C" >&6
4647 else
4648   lt_cv_nm_interface="BSD nm"
4649   echo "int some_variable = 0;" > conftest.$ac_ext
4650   (eval echo "\"\$as_me:4650: $ac_compile\"" >&5)
4651   (eval "$ac_compile" 2>conftest.err)
4652   cat conftest.err >&5
4653   (eval echo "\"\$as_me:4653: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4654   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4655   cat conftest.err >&5
4656   (eval echo "\"\$as_me:4656: output\"" >&5)
4657   cat conftest.out >&5
4658   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4659     lt_cv_nm_interface="MS dumpbin"
4660   fi
4661   rm -f conftest*
4662 fi
4663 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4664 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4665
4666 # find the maximum length of command line arguments
4667 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4668 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4669 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4670   echo $ECHO_N "(cached) $ECHO_C" >&6
4671 else
4672     i=0
4673   teststring="ABCD"
4674
4675   case $build_os in
4676   msdosdjgpp*)
4677     # On DJGPP, this test can blow up pretty badly due to problems in libc
4678     # (any single argument exceeding 2000 bytes causes a buffer overrun
4679     # during glob expansion).  Even if it were fixed, the result of this
4680     # check would be larger than it should be.
4681     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4682     ;;
4683
4684   gnu*)
4685     # Under GNU Hurd, this test is not required because there is
4686     # no limit to the length of command line arguments.
4687     # Libtool will interpret -1 as no limit whatsoever
4688     lt_cv_sys_max_cmd_len=-1;
4689     ;;
4690
4691   cygwin* | mingw*)
4692     # On Win9x/ME, this test blows up -- it succeeds, but takes
4693     # about 5 minutes as the teststring grows exponentially.
4694     # Worse, since 9x/ME are not pre-emptively multitasking,
4695     # you end up with a "frozen" computer, even though with patience
4696     # the test eventually succeeds (with a max line length of 256k).
4697     # Instead, let's just punt: use the minimum linelength reported by
4698     # all of the supported platforms: 8192 (on NT/2K/XP).
4699     lt_cv_sys_max_cmd_len=8192;
4700     ;;
4701
4702   amigaos*)
4703     # On AmigaOS with pdksh, this test takes hours, literally.
4704     # So we just punt and use a minimum line length of 8192.
4705     lt_cv_sys_max_cmd_len=8192;
4706     ;;
4707
4708   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4709     # This has been around since 386BSD, at least.  Likely further.
4710     if test -x /sbin/sysctl; then
4711       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4712     elif test -x /usr/sbin/sysctl; then
4713       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4714     else
4715       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4716     fi
4717     # And add a safety zone
4718     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4719     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4720     ;;
4721
4722   interix*)
4723     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4724     lt_cv_sys_max_cmd_len=196608
4725     ;;
4726
4727   osf*)
4728     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4729     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4730     # nice to cause kernel panics so lets avoid the loop below.
4731     # First set a reasonable default.
4732     lt_cv_sys_max_cmd_len=16384
4733     #
4734     if test -x /sbin/sysconfig; then
4735       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4736         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4737       esac
4738     fi
4739     ;;
4740   sco3.2v5*)
4741     lt_cv_sys_max_cmd_len=102400
4742     ;;
4743   sysv5* | sco5v6* | sysv4.2uw2*)
4744     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4745     if test -n "$kargmax"; then
4746       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4747     else
4748       lt_cv_sys_max_cmd_len=32768
4749     fi
4750     ;;
4751   *)
4752     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4753     if test -n $lt_cv_sys_max_cmd_len; then
4754       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4755       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4756     else
4757       # Make teststring a little bigger before we do anything with it.
4758       # a 1K string should be a reasonable start.
4759       for i in 1 2 3 4 5 6 7 8 ; do
4760         teststring=$teststring$teststring
4761       done
4762       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4763       # If test is not a shell built-in, we'll probably end up computing a
4764       # maximum length that is only half of the actual maximum length, but
4765       # we can't tell.
4766       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4767                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4768               test $i != 17 # 1/2 MB should be enough
4769       do
4770         i=`expr $i + 1`
4771         teststring=$teststring$teststring
4772       done
4773       # Only check the string length outside the loop.
4774       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4775       teststring=
4776       # Add a significant safety factor because C++ compilers can tack on
4777       # massive amounts of additional arguments before passing them to the
4778       # linker.  It appears as though 1/2 is a usable value.
4779       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4780     fi
4781     ;;
4782   esac
4783
4784 fi
4785
4786 if test -n $lt_cv_sys_max_cmd_len ; then
4787   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4788 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4789 else
4790   echo "$as_me:$LINENO: result: none" >&5
4791 echo "${ECHO_T}none" >&6
4792 fi
4793 max_cmd_len=$lt_cv_sys_max_cmd_len
4794
4795
4796
4797
4798
4799
4800
4801 : ${CP="cp -f"}
4802 : ${MV="mv -f"}
4803 : ${RM="rm -f"}
4804
4805 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4806 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4807 # Try some XSI features
4808 xsi_shell=no
4809 ( _lt_dummy="a/b/c"
4810   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4811       = c,a/b,, ) >/dev/null 2>&1 \
4812   && xsi_shell=yes
4813 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4814 echo "${ECHO_T}$xsi_shell" >&6
4815
4816
4817 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4818 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4819 lt_shell_append=no
4820 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4821     >/dev/null 2>&1 \
4822   && lt_shell_append=yes
4823 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4824 echo "${ECHO_T}$lt_shell_append" >&6
4825
4826
4827 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4828   lt_unset=unset
4829 else
4830   lt_unset=false
4831 fi
4832
4833
4834
4835
4836
4837 # test EBCDIC or ASCII
4838 case `echo X|tr X '\101'` in
4839  A) # ASCII based system
4840     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4841   lt_SP2NL='tr \040 \012'
4842   lt_NL2SP='tr \015\012 \040\040'
4843   ;;
4844  *) # EBCDIC based system
4845   lt_SP2NL='tr \100 \n'
4846   lt_NL2SP='tr \r\n \100\100'
4847   ;;
4848 esac
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4859 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4860 if test "${lt_cv_ld_reload_flag+set}" = set; then
4861   echo $ECHO_N "(cached) $ECHO_C" >&6
4862 else
4863   lt_cv_ld_reload_flag='-r'
4864 fi
4865 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4866 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4867 reload_flag=$lt_cv_ld_reload_flag
4868 case $reload_flag in
4869 "" | " "*) ;;
4870 *) reload_flag=" $reload_flag" ;;
4871 esac
4872 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4873 case $host_os in
4874   darwin*)
4875     if test "$GCC" = yes; then
4876       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4877     else
4878       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4879     fi
4880     ;;
4881 esac
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4893 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4894 if test "${lt_cv_deplibs_check_method+set}" = set; then
4895   echo $ECHO_N "(cached) $ECHO_C" >&6
4896 else
4897   lt_cv_file_magic_cmd='$MAGIC_CMD'
4898 lt_cv_file_magic_test_file=
4899 lt_cv_deplibs_check_method='unknown'
4900 # Need to set the preceding variable on all platforms that support
4901 # interlibrary dependencies.
4902 # 'none' -- dependencies not supported.
4903 # `unknown' -- same as none, but documents that we really don't know.
4904 # 'pass_all' -- all dependencies passed with no checks.
4905 # 'test_compile' -- check by making test program.
4906 # 'file_magic [[regex]]' -- check by looking for files in library path
4907 # which responds to the $file_magic_cmd with a given extended regex.
4908 # If you have `file' or equivalent on your system and you're not sure
4909 # whether `pass_all' will *always* work, you probably want this one.
4910
4911 case $host_os in
4912 aix[4-9]*)
4913   lt_cv_deplibs_check_method=pass_all
4914   ;;
4915
4916 beos*)
4917   lt_cv_deplibs_check_method=pass_all
4918   ;;
4919
4920 bsdi[45]*)
4921   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4922   lt_cv_file_magic_cmd='/usr/bin/file -L'
4923   lt_cv_file_magic_test_file=/shlib/libc.so
4924   ;;
4925
4926 cygwin*)
4927   # func_win32_libid is a shell function defined in ltmain.sh
4928   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4929   lt_cv_file_magic_cmd='func_win32_libid'
4930   ;;
4931
4932 mingw* | pw32*)
4933   # Base MSYS/MinGW do not provide the 'file' command needed by
4934   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4935   # unless we find 'file', for example because we are cross-compiling.
4936   if ( file / ) >/dev/null 2>&1; then
4937     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4938     lt_cv_file_magic_cmd='func_win32_libid'
4939   else
4940     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4941     lt_cv_file_magic_cmd='$OBJDUMP -f'
4942   fi
4943   ;;
4944
4945 darwin* | rhapsody*)
4946   lt_cv_deplibs_check_method=pass_all
4947   ;;
4948
4949 freebsd* | dragonfly*)
4950   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4951     case $host_cpu in
4952     i*86 )
4953       # Not sure whether the presence of OpenBSD here was a mistake.
4954       # Let's accept both of them until this is cleared up.
4955       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4956       lt_cv_file_magic_cmd=/usr/bin/file
4957       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4958       ;;
4959     esac
4960   else
4961     lt_cv_deplibs_check_method=pass_all
4962   fi
4963   ;;
4964
4965 gnu*)
4966   lt_cv_deplibs_check_method=pass_all
4967   ;;
4968
4969 hpux10.20* | hpux11*)
4970   lt_cv_file_magic_cmd=/usr/bin/file
4971   case $host_cpu in
4972   ia64*)
4973     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4974     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4975     ;;
4976   hppa*64*)
4977     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]'
4978     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4979     ;;
4980   *)
4981     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4982     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4983     ;;
4984   esac
4985   ;;
4986
4987 interix[3-9]*)
4988   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4989   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4990   ;;
4991
4992 irix5* | irix6* | nonstopux*)
4993   case $LD in
4994   *-32|*"-32 ") libmagic=32-bit;;
4995   *-n32|*"-n32 ") libmagic=N32;;
4996   *-64|*"-64 ") libmagic=64-bit;;
4997   *) libmagic=never-match;;
4998   esac
4999   lt_cv_deplibs_check_method=pass_all
5000   ;;
5001
5002 # This must be Linux ELF.
5003 linux* | k*bsd*-gnu)
5004   lt_cv_deplibs_check_method=pass_all
5005   ;;
5006
5007 netbsd*)
5008   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5009     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5010   else
5011     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5012   fi
5013   ;;
5014
5015 newos6*)
5016   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5017   lt_cv_file_magic_cmd=/usr/bin/file
5018   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5019   ;;
5020
5021 *nto* | *qnx*)
5022   lt_cv_deplibs_check_method=pass_all
5023   ;;
5024
5025 openbsd*)
5026   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5027     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5028   else
5029     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5030   fi
5031   ;;
5032
5033 osf3* | osf4* | osf5*)
5034   lt_cv_deplibs_check_method=pass_all
5035   ;;
5036
5037 rdos*)
5038   lt_cv_deplibs_check_method=pass_all
5039   ;;
5040
5041 solaris*)
5042   lt_cv_deplibs_check_method=pass_all
5043   ;;
5044
5045 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5046   lt_cv_deplibs_check_method=pass_all
5047   ;;
5048
5049 sysv4 | sysv4.3*)
5050   case $host_vendor in
5051   motorola)
5052     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]'
5053     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5054     ;;
5055   ncr)
5056     lt_cv_deplibs_check_method=pass_all
5057     ;;
5058   sequent)
5059     lt_cv_file_magic_cmd='/bin/file'
5060     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5061     ;;
5062   sni)
5063     lt_cv_file_magic_cmd='/bin/file'
5064     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5065     lt_cv_file_magic_test_file=/lib/libc.so
5066     ;;
5067   siemens)
5068     lt_cv_deplibs_check_method=pass_all
5069     ;;
5070   pc)
5071     lt_cv_deplibs_check_method=pass_all
5072     ;;
5073   esac
5074   ;;
5075
5076 tpf*)
5077   lt_cv_deplibs_check_method=pass_all
5078   ;;
5079 esac
5080
5081 fi
5082 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5083 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5084 file_magic_cmd=$lt_cv_file_magic_cmd
5085 deplibs_check_method=$lt_cv_deplibs_check_method
5086 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099 if test -n "$ac_tool_prefix"; then
5100   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5101 set dummy ${ac_tool_prefix}ar; ac_word=$2
5102 echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5104 if test "${ac_cv_prog_AR+set}" = set; then
5105   echo $ECHO_N "(cached) $ECHO_C" >&6
5106 else
5107   if test -n "$AR"; then
5108   ac_cv_prog_AR="$AR" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5112 do
5113   IFS=$as_save_IFS
5114   test -z "$as_dir" && as_dir=.
5115   for ac_exec_ext in '' $ac_executable_extensions; do
5116   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5117     ac_cv_prog_AR="${ac_tool_prefix}ar"
5118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5119     break 2
5120   fi
5121 done
5122 done
5123
5124 fi
5125 fi
5126 AR=$ac_cv_prog_AR
5127 if test -n "$AR"; then
5128   echo "$as_me:$LINENO: result: $AR" >&5
5129 echo "${ECHO_T}$AR" >&6
5130 else
5131   echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5133 fi
5134
5135 fi
5136 if test -z "$ac_cv_prog_AR"; then
5137   ac_ct_AR=$AR
5138   # Extract the first word of "ar", so it can be a program name with args.
5139 set dummy ar; ac_word=$2
5140 echo "$as_me:$LINENO: checking for $ac_word" >&5
5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5142 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5143   echo $ECHO_N "(cached) $ECHO_C" >&6
5144 else
5145   if test -n "$ac_ct_AR"; then
5146   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5150 do
5151   IFS=$as_save_IFS
5152   test -z "$as_dir" && as_dir=.
5153   for ac_exec_ext in '' $ac_executable_extensions; do
5154   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5155     ac_cv_prog_ac_ct_AR="ar"
5156     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5157     break 2
5158   fi
5159 done
5160 done
5161
5162   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5163 fi
5164 fi
5165 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5166 if test -n "$ac_ct_AR"; then
5167   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5168 echo "${ECHO_T}$ac_ct_AR" >&6
5169 else
5170   echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5172 fi
5173
5174   AR=$ac_ct_AR
5175 else
5176   AR="$ac_cv_prog_AR"
5177 fi
5178
5179 test -z "$AR" && AR=ar
5180 test -z "$AR_FLAGS" && AR_FLAGS=cru
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192 if test -n "$ac_tool_prefix"; then
5193   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5194 set dummy ${ac_tool_prefix}strip; ac_word=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_prog_STRIP+set}" = set; then
5198   echo $ECHO_N "(cached) $ECHO_C" >&6
5199 else
5200   if test -n "$STRIP"; then
5201   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5202 else
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 for as_dir in $PATH
5205 do
5206   IFS=$as_save_IFS
5207   test -z "$as_dir" && as_dir=.
5208   for ac_exec_ext in '' $ac_executable_extensions; do
5209   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5211     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212     break 2
5213   fi
5214 done
5215 done
5216
5217 fi
5218 fi
5219 STRIP=$ac_cv_prog_STRIP
5220 if test -n "$STRIP"; then
5221   echo "$as_me:$LINENO: result: $STRIP" >&5
5222 echo "${ECHO_T}$STRIP" >&6
5223 else
5224   echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5226 fi
5227
5228 fi
5229 if test -z "$ac_cv_prog_STRIP"; then
5230   ac_ct_STRIP=$STRIP
5231   # Extract the first word of "strip", so it can be a program name with args.
5232 set dummy strip; ac_word=$2
5233 echo "$as_me:$LINENO: checking for $ac_word" >&5
5234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5235 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5236   echo $ECHO_N "(cached) $ECHO_C" >&6
5237 else
5238   if test -n "$ac_ct_STRIP"; then
5239   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5243 do
5244   IFS=$as_save_IFS
5245   test -z "$as_dir" && as_dir=.
5246   for ac_exec_ext in '' $ac_executable_extensions; do
5247   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248     ac_cv_prog_ac_ct_STRIP="strip"
5249     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250     break 2
5251   fi
5252 done
5253 done
5254
5255   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5256 fi
5257 fi
5258 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5259 if test -n "$ac_ct_STRIP"; then
5260   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5261 echo "${ECHO_T}$ac_ct_STRIP" >&6
5262 else
5263   echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5265 fi
5266
5267   STRIP=$ac_ct_STRIP
5268 else
5269   STRIP="$ac_cv_prog_STRIP"
5270 fi
5271
5272 test -z "$STRIP" && STRIP=:
5273
5274
5275
5276
5277
5278
5279 if test -n "$ac_tool_prefix"; then
5280   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5281 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5282 echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5284 if test "${ac_cv_prog_RANLIB+set}" = set; then
5285   echo $ECHO_N "(cached) $ECHO_C" >&6
5286 else
5287   if test -n "$RANLIB"; then
5288   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5292 do
5293   IFS=$as_save_IFS
5294   test -z "$as_dir" && as_dir=.
5295   for ac_exec_ext in '' $ac_executable_extensions; do
5296   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5298     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5299     break 2
5300   fi
5301 done
5302 done
5303
5304 fi
5305 fi
5306 RANLIB=$ac_cv_prog_RANLIB
5307 if test -n "$RANLIB"; then
5308   echo "$as_me:$LINENO: result: $RANLIB" >&5
5309 echo "${ECHO_T}$RANLIB" >&6
5310 else
5311   echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5313 fi
5314
5315 fi
5316 if test -z "$ac_cv_prog_RANLIB"; then
5317   ac_ct_RANLIB=$RANLIB
5318   # Extract the first word of "ranlib", so it can be a program name with args.
5319 set dummy ranlib; ac_word=$2
5320 echo "$as_me:$LINENO: checking for $ac_word" >&5
5321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5322 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5323   echo $ECHO_N "(cached) $ECHO_C" >&6
5324 else
5325   if test -n "$ac_ct_RANLIB"; then
5326   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5327 else
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 for as_dir in $PATH
5330 do
5331   IFS=$as_save_IFS
5332   test -z "$as_dir" && as_dir=.
5333   for ac_exec_ext in '' $ac_executable_extensions; do
5334   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5335     ac_cv_prog_ac_ct_RANLIB="ranlib"
5336     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5337     break 2
5338   fi
5339 done
5340 done
5341
5342   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5343 fi
5344 fi
5345 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5346 if test -n "$ac_ct_RANLIB"; then
5347   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5348 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5349 else
5350   echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5352 fi
5353
5354   RANLIB=$ac_ct_RANLIB
5355 else
5356   RANLIB="$ac_cv_prog_RANLIB"
5357 fi
5358
5359 test -z "$RANLIB" && RANLIB=:
5360
5361
5362
5363
5364
5365
5366 # Determine commands to create old-style static archives.
5367 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5368 old_postinstall_cmds='chmod 644 $oldlib'
5369 old_postuninstall_cmds=
5370
5371 if test -n "$RANLIB"; then
5372   case $host_os in
5373   openbsd*)
5374     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5375     ;;
5376   *)
5377     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5378     ;;
5379   esac
5380   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5381 fi
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416 # If no C compiler was specified, use CC.
5417 LTCC=${LTCC-"$CC"}
5418
5419 # If no C compiler flags were specified, use CFLAGS.
5420 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5421
5422 # Allow CC to be a program name with arguments.
5423 compiler=$CC
5424
5425
5426 # Check for command to grab the raw symbol name followed by C symbol from nm.
5427 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5428 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5429 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5430   echo $ECHO_N "(cached) $ECHO_C" >&6
5431 else
5432
5433 # These are sane defaults that work on at least a few old systems.
5434 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5435
5436 # Character class describing NM global symbol codes.
5437 symcode='[BCDEGRST]'
5438
5439 # Regexp to match symbols that can be accessed directly from C.
5440 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5441
5442 # Define system-specific variables.
5443 case $host_os in
5444 aix*)
5445   symcode='[BCDT]'
5446   ;;
5447 cygwin* | mingw* | pw32*)
5448   symcode='[ABCDGISTW]'
5449   ;;
5450 hpux*)
5451   if test "$host_cpu" = ia64; then
5452     symcode='[ABCDEGRST]'
5453   fi
5454   ;;
5455 irix* | nonstopux*)
5456   symcode='[BCDEGRST]'
5457   ;;
5458 osf*)
5459   symcode='[BCDEGQRST]'
5460   ;;
5461 solaris*)
5462   symcode='[BDRT]'
5463   ;;
5464 sco3.2v5*)
5465   symcode='[DT]'
5466   ;;
5467 sysv4.2uw2*)
5468   symcode='[DT]'
5469   ;;
5470 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5471   symcode='[ABDT]'
5472   ;;
5473 sysv4)
5474   symcode='[DFNSTU]'
5475   ;;
5476 esac
5477
5478 # If we're using GNU nm, then use its standard symbol codes.
5479 case `$NM -V 2>&1` in
5480 *GNU* | *'with BFD'*)
5481   symcode='[ABCDGIRSTW]' ;;
5482 esac
5483
5484 # Transform an extracted symbol line into a proper C declaration.
5485 # Some systems (esp. on ia64) link data and code symbols differently,
5486 # so use this general approach.
5487 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5488
5489 # Transform an extracted symbol line into symbol name and symbol address
5490 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5491
5492 # Handle CRLF in mingw tool chain
5493 opt_cr=
5494 case $build_os in
5495 mingw*)
5496   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5497   ;;
5498 esac
5499
5500 # Try without a prefix underscore, then with it.
5501 for ac_symprfx in "" "_"; do
5502
5503   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5504   symxfrm="\\1 $ac_symprfx\\2 \\2"
5505
5506   # Write the raw and C identifiers.
5507   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5508     # Fake it for dumpbin and say T for any non-static function
5509     # and D for any global variable.
5510     # Also find C++ and __fastcall symbols from MSVC++,
5511     # which start with @ or ?.
5512     lt_cv_sys_global_symbol_pipe="$AWK '"\
5513 "     {last_section=section; section=\$ 3};"\
5514 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5515 "     \$ 0!~/External *\|/{next};"\
5516 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5517 "     {if(hide[section]) next};"\
5518 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5519 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5520 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5521 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5522 "     ' prfx=^$ac_symprfx"
5523   else
5524     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5525   fi
5526
5527   # Check to see that the pipe works correctly.
5528   pipe_works=no
5529
5530   rm -f conftest*
5531   cat > conftest.$ac_ext <<_LT_EOF
5532 #ifdef __cplusplus
5533 extern "C" {
5534 #endif
5535 char nm_test_var;
5536 void nm_test_func(void);
5537 void nm_test_func(void){}
5538 #ifdef __cplusplus
5539 }
5540 #endif
5541 int main(){nm_test_var='a';nm_test_func();return(0);}
5542 _LT_EOF
5543
5544   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5545   (eval $ac_compile) 2>&5
5546   ac_status=$?
5547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548   (exit $ac_status); }; then
5549     # Now try to grab the symbols.
5550     nlist=conftest.nm
5551     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5552   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5553   ac_status=$?
5554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555   (exit $ac_status); } && test -s "$nlist"; then
5556       # Try sorting and uniquifying the output.
5557       if sort "$nlist" | uniq > "$nlist"T; then
5558         mv -f "$nlist"T "$nlist"
5559       else
5560         rm -f "$nlist"T
5561       fi
5562
5563       # Make sure that we snagged all the symbols we need.
5564       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5565         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5566           cat <<_LT_EOF > conftest.$ac_ext
5567 #ifdef __cplusplus
5568 extern "C" {
5569 #endif
5570
5571 _LT_EOF
5572           # Now generate the symbol file.
5573           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5574
5575           cat <<_LT_EOF >> conftest.$ac_ext
5576
5577 /* The mapping between symbol names and symbols.  */
5578 const struct {
5579   const char *name;
5580   void       *address;
5581 }
5582 lt__PROGRAM__LTX_preloaded_symbols[] =
5583 {
5584   { "@PROGRAM@", (void *) 0 },
5585 _LT_EOF
5586           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5587           cat <<\_LT_EOF >> conftest.$ac_ext
5588   {0, (void *) 0}
5589 };
5590
5591 /* This works around a problem in FreeBSD linker */
5592 #ifdef FREEBSD_WORKAROUND
5593 static const void *lt_preloaded_setup() {
5594   return lt__PROGRAM__LTX_preloaded_symbols;
5595 }
5596 #endif
5597
5598 #ifdef __cplusplus
5599 }
5600 #endif
5601 _LT_EOF
5602           # Now try linking the two files.
5603           mv conftest.$ac_objext conftstm.$ac_objext
5604           lt_save_LIBS="$LIBS"
5605           lt_save_CFLAGS="$CFLAGS"
5606           LIBS="conftstm.$ac_objext"
5607           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5608           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5609   (eval $ac_link) 2>&5
5610   ac_status=$?
5611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5613             pipe_works=yes
5614           fi
5615           LIBS="$lt_save_LIBS"
5616           CFLAGS="$lt_save_CFLAGS"
5617         else
5618           echo "cannot find nm_test_func in $nlist" >&5
5619         fi
5620       else
5621         echo "cannot find nm_test_var in $nlist" >&5
5622       fi
5623     else
5624       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5625     fi
5626   else
5627     echo "$progname: failed program was:" >&5
5628     cat conftest.$ac_ext >&5
5629   fi
5630   rm -f conftest* conftst*
5631
5632   # Do not use the global_symbol_pipe unless it works.
5633   if test "$pipe_works" = yes; then
5634     break
5635   else
5636     lt_cv_sys_global_symbol_pipe=
5637   fi
5638 done
5639
5640 fi
5641
5642 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5643   lt_cv_sys_global_symbol_to_cdecl=
5644 fi
5645 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5646   echo "$as_me:$LINENO: result: failed" >&5
5647 echo "${ECHO_T}failed" >&6
5648 else
5649   echo "$as_me:$LINENO: result: ok" >&5
5650 echo "${ECHO_T}ok" >&6
5651 fi
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5670 if test "${enable_libtool_lock+set}" = set; then
5671   enableval="$enable_libtool_lock"
5672
5673 fi;
5674 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5675
5676 # Some flags need to be propagated to the compiler or linker for good
5677 # libtool support.
5678 case $host in
5679 ia64-*-hpux*)
5680   # Find out which ABI we are using.
5681   echo 'int i;' > conftest.$ac_ext
5682   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5683   (eval $ac_compile) 2>&5
5684   ac_status=$?
5685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686   (exit $ac_status); }; then
5687     case `/usr/bin/file conftest.$ac_objext` in
5688       *ELF-32*)
5689         HPUX_IA64_MODE="32"
5690         ;;
5691       *ELF-64*)
5692         HPUX_IA64_MODE="64"
5693         ;;
5694     esac
5695   fi
5696   rm -rf conftest*
5697   ;;
5698 *-*-irix6*)
5699   # Find out which ABI we are using.
5700   echo '#line 5700 "configure"' > conftest.$ac_ext
5701   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5702   (eval $ac_compile) 2>&5
5703   ac_status=$?
5704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705   (exit $ac_status); }; then
5706     if test "$lt_cv_prog_gnu_ld" = yes; then
5707       case `/usr/bin/file conftest.$ac_objext` in
5708         *32-bit*)
5709           LD="${LD-ld} -melf32bsmip"
5710           ;;
5711         *N32*)
5712           LD="${LD-ld} -melf32bmipn32"
5713           ;;
5714         *64-bit*)
5715           LD="${LD-ld} -melf64bmip"
5716         ;;
5717       esac
5718     else
5719       case `/usr/bin/file conftest.$ac_objext` in
5720         *32-bit*)
5721           LD="${LD-ld} -32"
5722           ;;
5723         *N32*)
5724           LD="${LD-ld} -n32"
5725           ;;
5726         *64-bit*)
5727           LD="${LD-ld} -64"
5728           ;;
5729       esac
5730     fi
5731   fi
5732   rm -rf conftest*
5733   ;;
5734
5735 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5736 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5737   # Find out which ABI we are using.
5738   echo 'int i;' > conftest.$ac_ext
5739   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5740   (eval $ac_compile) 2>&5
5741   ac_status=$?
5742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743   (exit $ac_status); }; then
5744     case `/usr/bin/file conftest.o` in
5745       *32-bit*)
5746         case $host in
5747           x86_64-*kfreebsd*-gnu)
5748             LD="${LD-ld} -m elf_i386_fbsd"
5749             ;;
5750           x86_64-*linux*)
5751             LD="${LD-ld} -m elf_i386"
5752             ;;
5753           ppc64-*linux*|powerpc64-*linux*)
5754             LD="${LD-ld} -m elf32ppclinux"
5755             ;;
5756           s390x-*linux*)
5757             LD="${LD-ld} -m elf_s390"
5758             ;;
5759           sparc64-*linux*)
5760             LD="${LD-ld} -m elf32_sparc"
5761             ;;
5762         esac
5763         ;;
5764       *64-bit*)
5765         case $host in
5766           x86_64-*kfreebsd*-gnu)
5767             LD="${LD-ld} -m elf_x86_64_fbsd"
5768             ;;
5769           x86_64-*linux*)
5770             LD="${LD-ld} -m elf_x86_64"
5771             ;;
5772           ppc*-*linux*|powerpc*-*linux*)
5773             LD="${LD-ld} -m elf64ppc"
5774             ;;
5775           s390*-*linux*|s390*-*tpf*)
5776             LD="${LD-ld} -m elf64_s390"
5777             ;;
5778           sparc*-*linux*)
5779             LD="${LD-ld} -m elf64_sparc"
5780             ;;
5781         esac
5782         ;;
5783     esac
5784   fi
5785   rm -rf conftest*
5786   ;;
5787
5788 *-*-sco3.2v5*)
5789   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5790   SAVE_CFLAGS="$CFLAGS"
5791   CFLAGS="$CFLAGS -belf"
5792   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5793 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5794 if test "${lt_cv_cc_needs_belf+set}" = set; then
5795   echo $ECHO_N "(cached) $ECHO_C" >&6
5796 else
5797   ac_ext=c
5798 ac_cpp='$CPP $CPPFLAGS'
5799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5802
5803      if test x$gcc_no_link = xyes; then
5804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5806    { (exit 1); exit 1; }; }
5807 fi
5808 cat >conftest.$ac_ext <<_ACEOF
5809 /* confdefs.h.  */
5810 _ACEOF
5811 cat confdefs.h >>conftest.$ac_ext
5812 cat >>conftest.$ac_ext <<_ACEOF
5813 /* end confdefs.h.  */
5814
5815 int
5816 main ()
5817 {
5818
5819   ;
5820   return 0;
5821 }
5822 _ACEOF
5823 rm -f conftest.$ac_objext conftest$ac_exeext
5824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5825   (eval $ac_link) 2>conftest.er1
5826   ac_status=$?
5827   grep -v '^ *+' conftest.er1 >conftest.err
5828   rm -f conftest.er1
5829   cat conftest.err >&5
5830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831   (exit $ac_status); } &&
5832          { ac_try='test -z "$ac_c_werror_flag"
5833                          || test ! -s conftest.err'
5834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835   (eval $ac_try) 2>&5
5836   ac_status=$?
5837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838   (exit $ac_status); }; } &&
5839          { ac_try='test -s conftest$ac_exeext'
5840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5841   (eval $ac_try) 2>&5
5842   ac_status=$?
5843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844   (exit $ac_status); }; }; then
5845   lt_cv_cc_needs_belf=yes
5846 else
5847   echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.$ac_ext >&5
5849
5850 lt_cv_cc_needs_belf=no
5851 fi
5852 rm -f conftest.err conftest.$ac_objext \
5853       conftest$ac_exeext conftest.$ac_ext
5854      ac_ext=c
5855 ac_cpp='$CPP $CPPFLAGS'
5856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5859
5860 fi
5861 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5862 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5863   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5864     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5865     CFLAGS="$SAVE_CFLAGS"
5866   fi
5867   ;;
5868 sparc*-*solaris*)
5869   # Find out which ABI we are using.
5870   echo 'int i;' > conftest.$ac_ext
5871   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5872   (eval $ac_compile) 2>&5
5873   ac_status=$?
5874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875   (exit $ac_status); }; then
5876     case `/usr/bin/file conftest.o` in
5877     *64-bit*)
5878       case $lt_cv_prog_gnu_ld in
5879       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5880       *)    LD="${LD-ld} -64" ;;
5881       esac
5882       ;;
5883     esac
5884   fi
5885   rm -rf conftest*
5886   ;;
5887 esac
5888
5889 need_locks="$enable_libtool_lock"
5890
5891 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5892 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5893 if test "${ac_cv_header_stdc+set}" = set; then
5894   echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896   cat >conftest.$ac_ext <<_ACEOF
5897 /* confdefs.h.  */
5898 _ACEOF
5899 cat confdefs.h >>conftest.$ac_ext
5900 cat >>conftest.$ac_ext <<_ACEOF
5901 /* end confdefs.h.  */
5902 #include <stdlib.h>
5903 #include <stdarg.h>
5904 #include <string.h>
5905 #include <float.h>
5906
5907 int
5908 main ()
5909 {
5910
5911   ;
5912   return 0;
5913 }
5914 _ACEOF
5915 rm -f conftest.$ac_objext
5916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5917   (eval $ac_compile) 2>conftest.er1
5918   ac_status=$?
5919   grep -v '^ *+' conftest.er1 >conftest.err
5920   rm -f conftest.er1
5921   cat conftest.err >&5
5922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923   (exit $ac_status); } &&
5924          { ac_try='test -z "$ac_c_werror_flag"
5925                          || test ! -s conftest.err'
5926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927   (eval $ac_try) 2>&5
5928   ac_status=$?
5929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930   (exit $ac_status); }; } &&
5931          { ac_try='test -s conftest.$ac_objext'
5932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933   (eval $ac_try) 2>&5
5934   ac_status=$?
5935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936   (exit $ac_status); }; }; then
5937   ac_cv_header_stdc=yes
5938 else
5939   echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.$ac_ext >&5
5941
5942 ac_cv_header_stdc=no
5943 fi
5944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5945
5946 if test $ac_cv_header_stdc = yes; then
5947   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5948   cat >conftest.$ac_ext <<_ACEOF
5949 /* confdefs.h.  */
5950 _ACEOF
5951 cat confdefs.h >>conftest.$ac_ext
5952 cat >>conftest.$ac_ext <<_ACEOF
5953 /* end confdefs.h.  */
5954 #include <string.h>
5955
5956 _ACEOF
5957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5958   $EGREP "memchr" >/dev/null 2>&1; then
5959   :
5960 else
5961   ac_cv_header_stdc=no
5962 fi
5963 rm -f conftest*
5964
5965 fi
5966
5967 if test $ac_cv_header_stdc = yes; then
5968   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5969   cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h.  */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h.  */
5975 #include <stdlib.h>
5976
5977 _ACEOF
5978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5979   $EGREP "free" >/dev/null 2>&1; then
5980   :
5981 else
5982   ac_cv_header_stdc=no
5983 fi
5984 rm -f conftest*
5985
5986 fi
5987
5988 if test $ac_cv_header_stdc = yes; then
5989   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5990   if test "$cross_compiling" = yes; then
5991   :
5992 else
5993   cat >conftest.$ac_ext <<_ACEOF
5994 /* confdefs.h.  */
5995 _ACEOF
5996 cat confdefs.h >>conftest.$ac_ext
5997 cat >>conftest.$ac_ext <<_ACEOF
5998 /* end confdefs.h.  */
5999 #include <ctype.h>
6000 #if ((' ' & 0x0FF) == 0x020)
6001 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6002 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6003 #else
6004 # define ISLOWER(c) \
6005                    (('a' <= (c) && (c) <= 'i') \
6006                      || ('j' <= (c) && (c) <= 'r') \
6007                      || ('s' <= (c) && (c) <= 'z'))
6008 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6009 #endif
6010
6011 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6012 int
6013 main ()
6014 {
6015   int i;
6016   for (i = 0; i < 256; i++)
6017     if (XOR (islower (i), ISLOWER (i))
6018         || toupper (i) != TOUPPER (i))
6019       exit(2);
6020   exit (0);
6021 }
6022 _ACEOF
6023 rm -f conftest$ac_exeext
6024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6025   (eval $ac_link) 2>&5
6026   ac_status=$?
6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030   (eval $ac_try) 2>&5
6031   ac_status=$?
6032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033   (exit $ac_status); }; }; then
6034   :
6035 else
6036   echo "$as_me: program exited with status $ac_status" >&5
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5
6039
6040 ( exit $ac_status )
6041 ac_cv_header_stdc=no
6042 fi
6043 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6044 fi
6045 fi
6046 fi
6047 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6048 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6049 if test $ac_cv_header_stdc = yes; then
6050
6051 cat >>confdefs.h <<\_ACEOF
6052 #define STDC_HEADERS 1
6053 _ACEOF
6054
6055 fi
6056
6057 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6068                   inttypes.h stdint.h unistd.h
6069 do
6070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6071 echo "$as_me:$LINENO: checking for $ac_header" >&5
6072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6074   echo $ECHO_N "(cached) $ECHO_C" >&6
6075 else
6076   cat >conftest.$ac_ext <<_ACEOF
6077 /* confdefs.h.  */
6078 _ACEOF
6079 cat confdefs.h >>conftest.$ac_ext
6080 cat >>conftest.$ac_ext <<_ACEOF
6081 /* end confdefs.h.  */
6082 $ac_includes_default
6083
6084 #include <$ac_header>
6085 _ACEOF
6086 rm -f conftest.$ac_objext
6087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6088   (eval $ac_compile) 2>conftest.er1
6089   ac_status=$?
6090   grep -v '^ *+' conftest.er1 >conftest.err
6091   rm -f conftest.er1
6092   cat conftest.err >&5
6093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094   (exit $ac_status); } &&
6095          { ac_try='test -z "$ac_c_werror_flag"
6096                          || test ! -s conftest.err'
6097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098   (eval $ac_try) 2>&5
6099   ac_status=$?
6100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101   (exit $ac_status); }; } &&
6102          { ac_try='test -s conftest.$ac_objext'
6103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104   (eval $ac_try) 2>&5
6105   ac_status=$?
6106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107   (exit $ac_status); }; }; then
6108   eval "$as_ac_Header=yes"
6109 else
6110   echo "$as_me: failed program was:" >&5
6111 sed 's/^/| /' conftest.$ac_ext >&5
6112
6113 eval "$as_ac_Header=no"
6114 fi
6115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6116 fi
6117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6120   cat >>confdefs.h <<_ACEOF
6121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6122 _ACEOF
6123
6124 fi
6125
6126 done
6127
6128
6129
6130 for ac_header in dlfcn.h
6131 do
6132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6133 echo "$as_me:$LINENO: checking for $ac_header" >&5
6134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6136   echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138   cat >conftest.$ac_ext <<_ACEOF
6139 /* confdefs.h.  */
6140 _ACEOF
6141 cat confdefs.h >>conftest.$ac_ext
6142 cat >>conftest.$ac_ext <<_ACEOF
6143 /* end confdefs.h.  */
6144 $ac_includes_default
6145
6146 #include <$ac_header>
6147 _ACEOF
6148 rm -f conftest.$ac_objext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150   (eval $ac_compile) 2>conftest.er1
6151   ac_status=$?
6152   grep -v '^ *+' conftest.er1 >conftest.err
6153   rm -f conftest.er1
6154   cat conftest.err >&5
6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156   (exit $ac_status); } &&
6157          { ac_try='test -z "$ac_c_werror_flag"
6158                          || test ! -s conftest.err'
6159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160   (eval $ac_try) 2>&5
6161   ac_status=$?
6162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163   (exit $ac_status); }; } &&
6164          { ac_try='test -s conftest.$ac_objext'
6165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166   (eval $ac_try) 2>&5
6167   ac_status=$?
6168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169   (exit $ac_status); }; }; then
6170   eval "$as_ac_Header=yes"
6171 else
6172   echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.$ac_ext >&5
6174
6175 eval "$as_ac_Header=no"
6176 fi
6177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6178 fi
6179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6182   cat >>confdefs.h <<_ACEOF
6183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6184 _ACEOF
6185
6186 fi
6187
6188 done
6189
6190
6191
6192 ac_ext=cc
6193 ac_cpp='$CXXCPP $CPPFLAGS'
6194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6197 if test -n "$ac_tool_prefix"; then
6198   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6199   do
6200     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6202 echo "$as_me:$LINENO: checking for $ac_word" >&5
6203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6204 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6205   echo $ECHO_N "(cached) $ECHO_C" >&6
6206 else
6207   if test -n "$CXX"; then
6208   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6209 else
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 for as_dir in $PATH
6212 do
6213   IFS=$as_save_IFS
6214   test -z "$as_dir" && as_dir=.
6215   for ac_exec_ext in '' $ac_executable_extensions; do
6216   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6217     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6219     break 2
6220   fi
6221 done
6222 done
6223
6224 fi
6225 fi
6226 CXX=$glibcxx_cv_prog_CXX
6227 if test -n "$CXX"; then
6228   echo "$as_me:$LINENO: result: $CXX" >&5
6229 echo "${ECHO_T}$CXX" >&6
6230 else
6231   echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235     test -n "$CXX" && break
6236   done
6237 fi
6238 if test -z "$CXX"; then
6239   ac_ct_CXX=$CXX
6240   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6241 do
6242   # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy $ac_prog; ac_word=$2
6244 echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6246 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6247   echo $ECHO_N "(cached) $ECHO_C" >&6
6248 else
6249   if test -n "$ac_ct_CXX"; then
6250   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6254 do
6255   IFS=$as_save_IFS
6256   test -z "$as_dir" && as_dir=.
6257   for ac_exec_ext in '' $ac_executable_extensions; do
6258   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259     ac_cv_prog_ac_ct_CXX="$ac_prog"
6260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261     break 2
6262   fi
6263 done
6264 done
6265
6266 fi
6267 fi
6268 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6269 if test -n "$ac_ct_CXX"; then
6270   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6271 echo "${ECHO_T}$ac_ct_CXX" >&6
6272 else
6273   echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6275 fi
6276
6277   test -n "$ac_ct_CXX" && break
6278 done
6279 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6280
6281   CXX=$ac_ct_CXX
6282 fi
6283
6284
6285 # Provide some information about the compiler.
6286 echo "$as_me:$LINENO:" \
6287      "checking for C++ compiler version" >&5
6288 ac_compiler=`set X $ac_compile; echo $2`
6289 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6290   (eval $ac_compiler --version </dev/null >&5) 2>&5
6291   ac_status=$?
6292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293   (exit $ac_status); }
6294 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6295   (eval $ac_compiler -v </dev/null >&5) 2>&5
6296   ac_status=$?
6297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298   (exit $ac_status); }
6299 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6300   (eval $ac_compiler -V </dev/null >&5) 2>&5
6301   ac_status=$?
6302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303   (exit $ac_status); }
6304
6305 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6306 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6307 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6308   echo $ECHO_N "(cached) $ECHO_C" >&6
6309 else
6310   cat >conftest.$ac_ext <<_ACEOF
6311 /* confdefs.h.  */
6312 _ACEOF
6313 cat confdefs.h >>conftest.$ac_ext
6314 cat >>conftest.$ac_ext <<_ACEOF
6315 /* end confdefs.h.  */
6316
6317 int
6318 main ()
6319 {
6320 #ifndef __GNUC__
6321        choke me
6322 #endif
6323
6324   ;
6325   return 0;
6326 }
6327 _ACEOF
6328 rm -f conftest.$ac_objext
6329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6330   (eval $ac_compile) 2>conftest.er1
6331   ac_status=$?
6332   grep -v '^ *+' conftest.er1 >conftest.err
6333   rm -f conftest.er1
6334   cat conftest.err >&5
6335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336   (exit $ac_status); } &&
6337          { ac_try='test -z "$ac_cxx_werror_flag"
6338                          || test ! -s conftest.err'
6339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6340   (eval $ac_try) 2>&5
6341   ac_status=$?
6342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343   (exit $ac_status); }; } &&
6344          { ac_try='test -s conftest.$ac_objext'
6345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6346   (eval $ac_try) 2>&5
6347   ac_status=$?
6348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349   (exit $ac_status); }; }; then
6350   ac_compiler_gnu=yes
6351 else
6352   echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.$ac_ext >&5
6354
6355 ac_compiler_gnu=no
6356 fi
6357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6359
6360 fi
6361 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6362 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6363 GXX=`test $ac_compiler_gnu = yes && echo yes`
6364 ac_test_CXXFLAGS=${CXXFLAGS+set}
6365 ac_save_CXXFLAGS=$CXXFLAGS
6366 CXXFLAGS="-g"
6367 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6368 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6369 if test "${ac_cv_prog_cxx_g+set}" = set; then
6370   echo $ECHO_N "(cached) $ECHO_C" >&6
6371 else
6372   cat >conftest.$ac_ext <<_ACEOF
6373 /* confdefs.h.  */
6374 _ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h.  */
6378
6379 int
6380 main ()
6381 {
6382
6383   ;
6384   return 0;
6385 }
6386 _ACEOF
6387 rm -f conftest.$ac_objext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389   (eval $ac_compile) 2>conftest.er1
6390   ac_status=$?
6391   grep -v '^ *+' conftest.er1 >conftest.err
6392   rm -f conftest.er1
6393   cat conftest.err >&5
6394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395   (exit $ac_status); } &&
6396          { ac_try='test -z "$ac_cxx_werror_flag"
6397                          || test ! -s conftest.err'
6398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399   (eval $ac_try) 2>&5
6400   ac_status=$?
6401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402   (exit $ac_status); }; } &&
6403          { ac_try='test -s conftest.$ac_objext'
6404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405   (eval $ac_try) 2>&5
6406   ac_status=$?
6407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408   (exit $ac_status); }; }; then
6409   ac_cv_prog_cxx_g=yes
6410 else
6411   echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6413
6414 ac_cv_prog_cxx_g=no
6415 fi
6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6417 fi
6418 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6419 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6420 if test "$ac_test_CXXFLAGS" = set; then
6421   CXXFLAGS=$ac_save_CXXFLAGS
6422 elif test $ac_cv_prog_cxx_g = yes; then
6423   if test "$GXX" = yes; then
6424     CXXFLAGS="-g -O2"
6425   else
6426     CXXFLAGS="-g"
6427   fi
6428 else
6429   if test "$GXX" = yes; then
6430     CXXFLAGS="-O2"
6431   else
6432     CXXFLAGS=
6433   fi
6434 fi
6435 for ac_declaration in \
6436    '' \
6437    'extern "C" void std::exit (int) throw (); using std::exit;' \
6438    'extern "C" void std::exit (int); using std::exit;' \
6439    'extern "C" void exit (int) throw ();' \
6440    'extern "C" void exit (int);' \
6441    'void exit (int);'
6442 do
6443   cat >conftest.$ac_ext <<_ACEOF
6444 /* confdefs.h.  */
6445 _ACEOF
6446 cat confdefs.h >>conftest.$ac_ext
6447 cat >>conftest.$ac_ext <<_ACEOF
6448 /* end confdefs.h.  */
6449 $ac_declaration
6450 #include <stdlib.h>
6451 int
6452 main ()
6453 {
6454 exit (42);
6455   ;
6456   return 0;
6457 }
6458 _ACEOF
6459 rm -f conftest.$ac_objext
6460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6461   (eval $ac_compile) 2>conftest.er1
6462   ac_status=$?
6463   grep -v '^ *+' conftest.er1 >conftest.err
6464   rm -f conftest.er1
6465   cat conftest.err >&5
6466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467   (exit $ac_status); } &&
6468          { ac_try='test -z "$ac_cxx_werror_flag"
6469                          || test ! -s conftest.err'
6470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471   (eval $ac_try) 2>&5
6472   ac_status=$?
6473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474   (exit $ac_status); }; } &&
6475          { ac_try='test -s conftest.$ac_objext'
6476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477   (eval $ac_try) 2>&5
6478   ac_status=$?
6479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480   (exit $ac_status); }; }; then
6481   :
6482 else
6483   echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6485
6486 continue
6487 fi
6488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6489   cat >conftest.$ac_ext <<_ACEOF
6490 /* confdefs.h.  */
6491 _ACEOF
6492 cat confdefs.h >>conftest.$ac_ext
6493 cat >>conftest.$ac_ext <<_ACEOF
6494 /* end confdefs.h.  */
6495 $ac_declaration
6496 int
6497 main ()
6498 {
6499 exit (42);
6500   ;
6501   return 0;
6502 }
6503 _ACEOF
6504 rm -f conftest.$ac_objext
6505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6506   (eval $ac_compile) 2>conftest.er1
6507   ac_status=$?
6508   grep -v '^ *+' conftest.er1 >conftest.err
6509   rm -f conftest.er1
6510   cat conftest.err >&5
6511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512   (exit $ac_status); } &&
6513          { ac_try='test -z "$ac_cxx_werror_flag"
6514                          || test ! -s conftest.err'
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); }; } &&
6520          { ac_try='test -s conftest.$ac_objext'
6521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522   (eval $ac_try) 2>&5
6523   ac_status=$?
6524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525   (exit $ac_status); }; }; then
6526   break
6527 else
6528   echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6530
6531 fi
6532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6533 done
6534 rm -f conftest*
6535 if test -n "$ac_declaration"; then
6536   echo '#ifdef __cplusplus' >>confdefs.h
6537   echo $ac_declaration      >>confdefs.h
6538   echo '#endif'             >>confdefs.h
6539 fi
6540
6541 ac_ext=c
6542 ac_cpp='$CPP $CPPFLAGS'
6543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6546
6547 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6548     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6549     (test "X$CXX" != "Xg++"))) ; then
6550   ac_ext=cc
6551 ac_cpp='$CXXCPP $CPPFLAGS'
6552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6555 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6556 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6557 if test -z "$CXXCPP"; then
6558   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6559   echo $ECHO_N "(cached) $ECHO_C" >&6
6560 else
6561       # Double quotes because CXXCPP needs to be expanded
6562     for CXXCPP in "$CXX -E" "/lib/cpp"
6563     do
6564       ac_preproc_ok=false
6565 for ac_cxx_preproc_warn_flag in '' yes
6566 do
6567   # Use a header file that comes with gcc, so configuring glibc
6568   # with a fresh cross-compiler works.
6569   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6570   # <limits.h> exists even on freestanding compilers.
6571   # On the NeXT, cc -E runs the code through the compiler's parser,
6572   # not just through cpp. "Syntax error" is here to catch this case.
6573   cat >conftest.$ac_ext <<_ACEOF
6574 /* confdefs.h.  */
6575 _ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h.  */
6579 #ifdef __STDC__
6580 # include <limits.h>
6581 #else
6582 # include <assert.h>
6583 #endif
6584                      Syntax error
6585 _ACEOF
6586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6587   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6588   ac_status=$?
6589   grep -v '^ *+' conftest.er1 >conftest.err
6590   rm -f conftest.er1
6591   cat conftest.err >&5
6592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593   (exit $ac_status); } >/dev/null; then
6594   if test -s conftest.err; then
6595     ac_cpp_err=$ac_cxx_preproc_warn_flag
6596     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6597   else
6598     ac_cpp_err=
6599   fi
6600 else
6601   ac_cpp_err=yes
6602 fi
6603 if test -z "$ac_cpp_err"; then
6604   :
6605 else
6606   echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.$ac_ext >&5
6608
6609   # Broken: fails on valid input.
6610 continue
6611 fi
6612 rm -f conftest.err conftest.$ac_ext
6613
6614   # OK, works on sane cases.  Now check whether non-existent headers
6615   # can be detected and how.
6616   cat >conftest.$ac_ext <<_ACEOF
6617 /* confdefs.h.  */
6618 _ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h.  */
6622 #include <ac_nonexistent.h>
6623 _ACEOF
6624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6625   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6626   ac_status=$?
6627   grep -v '^ *+' conftest.er1 >conftest.err
6628   rm -f conftest.er1
6629   cat conftest.err >&5
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); } >/dev/null; then
6632   if test -s conftest.err; then
6633     ac_cpp_err=$ac_cxx_preproc_warn_flag
6634     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6635   else
6636     ac_cpp_err=
6637   fi
6638 else
6639   ac_cpp_err=yes
6640 fi
6641 if test -z "$ac_cpp_err"; then
6642   # Broken: success on invalid input.
6643 continue
6644 else
6645   echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6647
6648   # Passes both tests.
6649 ac_preproc_ok=:
6650 break
6651 fi
6652 rm -f conftest.err conftest.$ac_ext
6653
6654 done
6655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6656 rm -f conftest.err conftest.$ac_ext
6657 if $ac_preproc_ok; then
6658   break
6659 fi
6660
6661     done
6662     ac_cv_prog_CXXCPP=$CXXCPP
6663
6664 fi
6665   CXXCPP=$ac_cv_prog_CXXCPP
6666 else
6667   ac_cv_prog_CXXCPP=$CXXCPP
6668 fi
6669 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6670 echo "${ECHO_T}$CXXCPP" >&6
6671 ac_preproc_ok=false
6672 for ac_cxx_preproc_warn_flag in '' yes
6673 do
6674   # Use a header file that comes with gcc, so configuring glibc
6675   # with a fresh cross-compiler works.
6676   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6677   # <limits.h> exists even on freestanding compilers.
6678   # On the NeXT, cc -E runs the code through the compiler's parser,
6679   # not just through cpp. "Syntax error" is here to catch this case.
6680   cat >conftest.$ac_ext <<_ACEOF
6681 /* confdefs.h.  */
6682 _ACEOF
6683 cat confdefs.h >>conftest.$ac_ext
6684 cat >>conftest.$ac_ext <<_ACEOF
6685 /* end confdefs.h.  */
6686 #ifdef __STDC__
6687 # include <limits.h>
6688 #else
6689 # include <assert.h>
6690 #endif
6691                      Syntax error
6692 _ACEOF
6693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6694   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6695   ac_status=$?
6696   grep -v '^ *+' conftest.er1 >conftest.err
6697   rm -f conftest.er1
6698   cat conftest.err >&5
6699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700   (exit $ac_status); } >/dev/null; then
6701   if test -s conftest.err; then
6702     ac_cpp_err=$ac_cxx_preproc_warn_flag
6703     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6704   else
6705     ac_cpp_err=
6706   fi
6707 else
6708   ac_cpp_err=yes
6709 fi
6710 if test -z "$ac_cpp_err"; then
6711   :
6712 else
6713   echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6715
6716   # Broken: fails on valid input.
6717 continue
6718 fi
6719 rm -f conftest.err conftest.$ac_ext
6720
6721   # OK, works on sane cases.  Now check whether non-existent headers
6722   # can be detected and how.
6723   cat >conftest.$ac_ext <<_ACEOF
6724 /* confdefs.h.  */
6725 _ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h.  */
6729 #include <ac_nonexistent.h>
6730 _ACEOF
6731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6733   ac_status=$?
6734   grep -v '^ *+' conftest.er1 >conftest.err
6735   rm -f conftest.er1
6736   cat conftest.err >&5
6737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738   (exit $ac_status); } >/dev/null; then
6739   if test -s conftest.err; then
6740     ac_cpp_err=$ac_cxx_preproc_warn_flag
6741     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6742   else
6743     ac_cpp_err=
6744   fi
6745 else
6746   ac_cpp_err=yes
6747 fi
6748 if test -z "$ac_cpp_err"; then
6749   # Broken: success on invalid input.
6750 continue
6751 else
6752   echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6754
6755   # Passes both tests.
6756 ac_preproc_ok=:
6757 break
6758 fi
6759 rm -f conftest.err conftest.$ac_ext
6760
6761 done
6762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6763 rm -f conftest.err conftest.$ac_ext
6764 if $ac_preproc_ok; then
6765   :
6766 else
6767   _lt_caught_CXX_error=yes
6768 fi
6769
6770 ac_ext=c
6771 ac_cpp='$CPP $CPPFLAGS'
6772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6775
6776 else
6777   _lt_caught_CXX_error=yes
6778 fi
6779
6780
6781
6782
6783
6784 # This can be used to rebuild libtool when needed
6785 LIBTOOL_DEPS="$ltmain"
6786
6787 # Always use our own libtool.
6788 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814 test -z "$LN_S" && LN_S="ln -s"
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829 if test -n "${ZSH_VERSION+set}" ; then
6830    setopt NO_GLOB_SUBST
6831 fi
6832
6833 echo "$as_me:$LINENO: checking for objdir" >&5
6834 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6835 if test "${lt_cv_objdir+set}" = set; then
6836   echo $ECHO_N "(cached) $ECHO_C" >&6
6837 else
6838   rm -f .libs 2>/dev/null
6839 mkdir .libs 2>/dev/null
6840 if test -d .libs; then
6841   lt_cv_objdir=.libs
6842 else
6843   # MS-DOS does not allow filenames that begin with a dot.
6844   lt_cv_objdir=_libs
6845 fi
6846 rmdir .libs 2>/dev/null
6847 fi
6848 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6849 echo "${ECHO_T}$lt_cv_objdir" >&6
6850 objdir=$lt_cv_objdir
6851
6852
6853
6854
6855
6856 cat >>confdefs.h <<_ACEOF
6857 #define LT_OBJDIR "$lt_cv_objdir/"
6858 _ACEOF
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876 case $host_os in
6877 aix3*)
6878   # AIX sometimes has problems with the GCC collect2 program.  For some
6879   # reason, if we set the COLLECT_NAMES environment variable, the problems
6880   # vanish in a puff of smoke.
6881   if test "X${COLLECT_NAMES+set}" != Xset; then
6882     COLLECT_NAMES=
6883     export COLLECT_NAMES
6884   fi
6885   ;;
6886 esac
6887
6888 # Sed substitution that helps us do robust quoting.  It backslashifies
6889 # metacharacters that are still active within double-quoted strings.
6890 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6891
6892 # Same as above, but do not quote variable references.
6893 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6894
6895 # Sed substitution to delay expansion of an escaped shell variable in a
6896 # double_quote_subst'ed string.
6897 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6898
6899 # Sed substitution to delay expansion of an escaped single quote.
6900 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6901
6902 # Sed substitution to avoid accidental globbing in evaled expressions
6903 no_glob_subst='s/\*/\\\*/g'
6904
6905 # Global variables:
6906 ofile=libtool
6907 can_build_shared=yes
6908
6909 # All known linkers require a `.a' archive for static linking (except MSVC,
6910 # which needs '.lib').
6911 libext=a
6912
6913 with_gnu_ld="$lt_cv_prog_gnu_ld"
6914
6915 old_CC="$CC"
6916 old_CFLAGS="$CFLAGS"
6917
6918 # Set sane defaults for various variables
6919 test -z "$CC" && CC=cc
6920 test -z "$LTCC" && LTCC=$CC
6921 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6922 test -z "$LD" && LD=ld
6923 test -z "$ac_objext" && ac_objext=o
6924
6925 for cc_temp in $compiler""; do
6926   case $cc_temp in
6927     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6928     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6929     \-*) ;;
6930     *) break;;
6931   esac
6932 done
6933 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6934
6935
6936 # Only perform the check for file, if the check method requires it
6937 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6938 case $deplibs_check_method in
6939 file_magic*)
6940   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6941     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6944   echo $ECHO_N "(cached) $ECHO_C" >&6
6945 else
6946   case $MAGIC_CMD in
6947 [\\/*] |  ?:[\\/]*)
6948   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6949   ;;
6950 *)
6951   lt_save_MAGIC_CMD="$MAGIC_CMD"
6952   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6953   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6954   for ac_dir in $ac_dummy; do
6955     IFS="$lt_save_ifs"
6956     test -z "$ac_dir" && ac_dir=.
6957     if test -f $ac_dir/${ac_tool_prefix}file; then
6958       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6959       if test -n "$file_magic_test_file"; then
6960         case $deplibs_check_method in
6961         "file_magic "*)
6962           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6963           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6964           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6965             $EGREP "$file_magic_regex" > /dev/null; then
6966             :
6967           else
6968             cat <<_LT_EOF 1>&2
6969
6970 *** Warning: the command libtool uses to detect shared libraries,
6971 *** $file_magic_cmd, produces output that libtool cannot recognize.
6972 *** The result is that libtool may fail to recognize shared libraries
6973 *** as such.  This will affect the creation of libtool libraries that
6974 *** depend on shared libraries, but programs linked with such libtool
6975 *** libraries will work regardless of this problem.  Nevertheless, you
6976 *** may want to report the problem to your system manager and/or to
6977 *** bug-libtool@gnu.org
6978
6979 _LT_EOF
6980           fi ;;
6981         esac
6982       fi
6983       break
6984     fi
6985   done
6986   IFS="$lt_save_ifs"
6987   MAGIC_CMD="$lt_save_MAGIC_CMD"
6988   ;;
6989 esac
6990 fi
6991
6992 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6993 if test -n "$MAGIC_CMD"; then
6994   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6995 echo "${ECHO_T}$MAGIC_CMD" >&6
6996 else
6997   echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
6999 fi
7000
7001
7002
7003
7004
7005 if test -z "$lt_cv_path_MAGIC_CMD"; then
7006   if test -n "$ac_tool_prefix"; then
7007     echo "$as_me:$LINENO: checking for file" >&5
7008 echo $ECHO_N "checking for file... $ECHO_C" >&6
7009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7010   echo $ECHO_N "(cached) $ECHO_C" >&6
7011 else
7012   case $MAGIC_CMD in
7013 [\\/*] |  ?:[\\/]*)
7014   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7015   ;;
7016 *)
7017   lt_save_MAGIC_CMD="$MAGIC_CMD"
7018   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7019   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7020   for ac_dir in $ac_dummy; do
7021     IFS="$lt_save_ifs"
7022     test -z "$ac_dir" && ac_dir=.
7023     if test -f $ac_dir/file; then
7024       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7025       if test -n "$file_magic_test_file"; then
7026         case $deplibs_check_method in
7027         "file_magic "*)
7028           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7029           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7030           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7031             $EGREP "$file_magic_regex" > /dev/null; then
7032             :
7033           else
7034             cat <<_LT_EOF 1>&2
7035
7036 *** Warning: the command libtool uses to detect shared libraries,
7037 *** $file_magic_cmd, produces output that libtool cannot recognize.
7038 *** The result is that libtool may fail to recognize shared libraries
7039 *** as such.  This will affect the creation of libtool libraries that
7040 *** depend on shared libraries, but programs linked with such libtool
7041 *** libraries will work regardless of this problem.  Nevertheless, you
7042 *** may want to report the problem to your system manager and/or to
7043 *** bug-libtool@gnu.org
7044
7045 _LT_EOF
7046           fi ;;
7047         esac
7048       fi
7049       break
7050     fi
7051   done
7052   IFS="$lt_save_ifs"
7053   MAGIC_CMD="$lt_save_MAGIC_CMD"
7054   ;;
7055 esac
7056 fi
7057
7058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7059 if test -n "$MAGIC_CMD"; then
7060   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7061 echo "${ECHO_T}$MAGIC_CMD" >&6
7062 else
7063   echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7065 fi
7066
7067
7068   else
7069     MAGIC_CMD=:
7070   fi
7071 fi
7072
7073   fi
7074   ;;
7075 esac
7076
7077 # Use C for the default configuration in the libtool script
7078
7079 lt_save_CC="$CC"
7080 ac_ext=c
7081 ac_cpp='$CPP $CPPFLAGS'
7082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7085
7086
7087 # Source file extension for C test sources.
7088 ac_ext=c
7089
7090 # Object file extension for compiled C test sources.
7091 objext=o
7092 objext=$objext
7093
7094 # Code to be used in simple compile tests
7095 lt_simple_compile_test_code="int some_variable = 0;"
7096
7097 # Code to be used in simple link tests
7098 lt_simple_link_test_code='int main(){return(0);}'
7099
7100
7101
7102
7103
7104
7105
7106 # If no C compiler was specified, use CC.
7107 LTCC=${LTCC-"$CC"}
7108
7109 # If no C compiler flags were specified, use CFLAGS.
7110 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7111
7112 # Allow CC to be a program name with arguments.
7113 compiler=$CC
7114
7115 # Save the default compiler, since it gets overwritten when the other
7116 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7117 compiler_DEFAULT=$CC
7118
7119 # save warnings/boilerplate of simple test code
7120 ac_outfile=conftest.$ac_objext
7121 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7122 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7123 _lt_compiler_boilerplate=`cat conftest.err`
7124 $RM conftest*
7125
7126 ac_outfile=conftest.$ac_objext
7127 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7128 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7129 _lt_linker_boilerplate=`cat conftest.err`
7130 $RM conftest*
7131
7132
7133 ## CAVEAT EMPTOR:
7134 ## There is no encapsulation within the following macros, do not change
7135 ## the running order or otherwise move them around unless you know exactly
7136 ## what you are doing...
7137 if test -n "$compiler"; then
7138
7139 lt_prog_compiler_no_builtin_flag=
7140
7141 if test "$GCC" = yes; then
7142   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7143
7144   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7145 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7146 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7147   echo $ECHO_N "(cached) $ECHO_C" >&6
7148 else
7149   lt_cv_prog_compiler_rtti_exceptions=no
7150    ac_outfile=conftest.$ac_objext
7151    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7152    lt_compiler_flag="-fno-rtti -fno-exceptions"
7153    # Insert the option either (1) after the last *FLAGS variable, or
7154    # (2) before a word containing "conftest.", or (3) at the end.
7155    # Note that $ac_compile itself does not contain backslashes and begins
7156    # with a dollar sign (not a hyphen), so the echo should work correctly.
7157    # The option is referenced via a variable to avoid confusing sed.
7158    lt_compile=`echo "$ac_compile" | $SED \
7159    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7160    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7161    -e 's:$: $lt_compiler_flag:'`
7162    (eval echo "\"\$as_me:7162: $lt_compile\"" >&5)
7163    (eval "$lt_compile" 2>conftest.err)
7164    ac_status=$?
7165    cat conftest.err >&5
7166    echo "$as_me:7166: \$? = $ac_status" >&5
7167    if (exit $ac_status) && test -s "$ac_outfile"; then
7168      # The compiler can only warn and ignore the option if not recognized
7169      # So say no if there are warnings other than the usual output.
7170      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7171      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7172      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7173        lt_cv_prog_compiler_rtti_exceptions=yes
7174      fi
7175    fi
7176    $RM conftest*
7177
7178 fi
7179 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7180 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7181
7182 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7183     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7184 else
7185     :
7186 fi
7187
7188 fi
7189
7190
7191
7192
7193
7194
7195   lt_prog_compiler_wl=
7196 lt_prog_compiler_pic=
7197 lt_prog_compiler_static=
7198
7199 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7200 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7201
7202   if test "$GCC" = yes; then
7203     lt_prog_compiler_wl='-Wl,'
7204     lt_prog_compiler_static='-static'
7205
7206     case $host_os in
7207       aix*)
7208       # All AIX code is PIC.
7209       if test "$host_cpu" = ia64; then
7210         # AIX 5 now supports IA64 processor
7211         lt_prog_compiler_static='-Bstatic'
7212       fi
7213       ;;
7214
7215     amigaos*)
7216       if test "$host_cpu" = m68k; then
7217         # FIXME: we need at least 68020 code to build shared libraries, but
7218         # adding the `-m68020' flag to GCC prevents building anything better,
7219         # like `-m68040'.
7220         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7221       fi
7222       ;;
7223
7224     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7225       # PIC is the default for these OSes.
7226       ;;
7227
7228     mingw* | cygwin* | pw32* | os2*)
7229       # This hack is so that the source file can tell whether it is being
7230       # built for inclusion in a dll (and should export symbols for example).
7231       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7232       # (--disable-auto-import) libraries
7233       lt_prog_compiler_pic='-DDLL_EXPORT'
7234       ;;
7235
7236     darwin* | rhapsody*)
7237       # PIC is the default on this platform
7238       # Common symbols not allowed in MH_DYLIB files
7239       lt_prog_compiler_pic='-fno-common'
7240       ;;
7241
7242     hpux*)
7243       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7244       # not for PA HP-UX.
7245       case $host_cpu in
7246       hppa*64*|ia64*)
7247         # +Z the default
7248         ;;
7249       *)
7250         lt_prog_compiler_pic='-fPIC'
7251         ;;
7252       esac
7253       ;;
7254
7255     interix[3-9]*)
7256       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7257       # Instead, we relocate shared libraries at runtime.
7258       ;;
7259
7260     msdosdjgpp*)
7261       # Just because we use GCC doesn't mean we suddenly get shared libraries
7262       # on systems that don't support them.
7263       lt_prog_compiler_can_build_shared=no
7264       enable_shared=no
7265       ;;
7266
7267     *nto* | *qnx*)
7268       # QNX uses GNU C++, but need to define -shared option too, otherwise
7269       # it will coredump.
7270       lt_prog_compiler_pic='-fPIC -shared'
7271       ;;
7272
7273     sysv4*MP*)
7274       if test -d /usr/nec; then
7275         lt_prog_compiler_pic=-Kconform_pic
7276       fi
7277       ;;
7278
7279     *)
7280       lt_prog_compiler_pic='-fPIC'
7281       ;;
7282     esac
7283   else
7284     # PORTME Check for flag to pass linker flags through the system compiler.
7285     case $host_os in
7286     aix*)
7287       lt_prog_compiler_wl='-Wl,'
7288       if test "$host_cpu" = ia64; then
7289         # AIX 5 now supports IA64 processor
7290         lt_prog_compiler_static='-Bstatic'
7291       else
7292         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7293       fi
7294       ;;
7295     darwin*)
7296       # PIC is the default on this platform
7297       # Common symbols not allowed in MH_DYLIB files
7298       case $cc_basename in
7299       xlc*)
7300         lt_prog_compiler_pic='-qnocommon'
7301         lt_prog_compiler_wl='-Wl,'
7302         ;;
7303       esac
7304       ;;
7305
7306     mingw* | cygwin* | pw32* | os2*)
7307       # This hack is so that the source file can tell whether it is being
7308       # built for inclusion in a dll (and should export symbols for example).
7309       lt_prog_compiler_pic='-DDLL_EXPORT'
7310       ;;
7311
7312     hpux9* | hpux10* | hpux11*)
7313       lt_prog_compiler_wl='-Wl,'
7314       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7315       # not for PA HP-UX.
7316       case $host_cpu in
7317       hppa*64*|ia64*)
7318         # +Z the default
7319         ;;
7320       *)
7321         lt_prog_compiler_pic='+Z'
7322         ;;
7323       esac
7324       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7325       lt_prog_compiler_static='${wl}-a ${wl}archive'
7326       ;;
7327
7328     irix5* | irix6* | nonstopux*)
7329       lt_prog_compiler_wl='-Wl,'
7330       # PIC (with -KPIC) is the default.
7331       lt_prog_compiler_static='-non_shared'
7332       ;;
7333
7334     linux* | k*bsd*-gnu)
7335       case $cc_basename in
7336       icc* | ecc*)
7337         lt_prog_compiler_wl='-Wl,'
7338         lt_prog_compiler_pic='-KPIC'
7339         lt_prog_compiler_static='-static'
7340         ;;
7341       pgcc* | pgf77* | pgf90* | pgf95*)
7342         # Portland Group compilers (*not* the Pentium gcc compiler,
7343         # which looks to be a dead project)
7344         lt_prog_compiler_wl='-Wl,'
7345         lt_prog_compiler_pic='-fpic'
7346         lt_prog_compiler_static='-Bstatic'
7347         ;;
7348       ccc*)
7349         lt_prog_compiler_wl='-Wl,'
7350         # All Alpha code is PIC.
7351         lt_prog_compiler_static='-non_shared'
7352         ;;
7353       *)
7354         case `$CC -V 2>&1 | sed 5q` in
7355         *Sun\ C*)
7356           # Sun C 5.9
7357           lt_prog_compiler_pic='-KPIC'
7358           lt_prog_compiler_static='-Bstatic'
7359           lt_prog_compiler_wl='-Wl,'
7360           ;;
7361         *Sun\ F*)
7362           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7363           lt_prog_compiler_pic='-KPIC'
7364           lt_prog_compiler_static='-Bstatic'
7365           lt_prog_compiler_wl=''
7366           ;;
7367         esac
7368         ;;
7369       esac
7370       ;;
7371
7372     newsos6)
7373       lt_prog_compiler_pic='-KPIC'
7374       lt_prog_compiler_static='-Bstatic'
7375       ;;
7376
7377     *nto* | *qnx*)
7378       # QNX uses GNU C++, but need to define -shared option too, otherwise
7379       # it will coredump.
7380       lt_prog_compiler_pic='-fPIC -shared'
7381       ;;
7382
7383     osf3* | osf4* | osf5*)
7384       lt_prog_compiler_wl='-Wl,'
7385       # All OSF/1 code is PIC.
7386       lt_prog_compiler_static='-non_shared'
7387       ;;
7388
7389     rdos*)
7390       lt_prog_compiler_static='-non_shared'
7391       ;;
7392
7393     solaris*)
7394       lt_prog_compiler_pic='-KPIC'
7395       lt_prog_compiler_static='-Bstatic'
7396       case $cc_basename in
7397       f77* | f90* | f95*)
7398         lt_prog_compiler_wl='-Qoption ld ';;
7399       *)
7400         lt_prog_compiler_wl='-Wl,';;
7401       esac
7402       ;;
7403
7404     sunos4*)
7405       lt_prog_compiler_wl='-Qoption ld '
7406       lt_prog_compiler_pic='-PIC'
7407       lt_prog_compiler_static='-Bstatic'
7408       ;;
7409
7410     sysv4 | sysv4.2uw2* | sysv4.3*)
7411       lt_prog_compiler_wl='-Wl,'
7412       lt_prog_compiler_pic='-KPIC'
7413       lt_prog_compiler_static='-Bstatic'
7414       ;;
7415
7416     sysv4*MP*)
7417       if test -d /usr/nec ;then
7418         lt_prog_compiler_pic='-Kconform_pic'
7419         lt_prog_compiler_static='-Bstatic'
7420       fi
7421       ;;
7422
7423     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7424       lt_prog_compiler_wl='-Wl,'
7425       lt_prog_compiler_pic='-KPIC'
7426       lt_prog_compiler_static='-Bstatic'
7427       ;;
7428
7429     unicos*)
7430       lt_prog_compiler_wl='-Wl,'
7431       lt_prog_compiler_can_build_shared=no
7432       ;;
7433
7434     uts4*)
7435       lt_prog_compiler_pic='-pic'
7436       lt_prog_compiler_static='-Bstatic'
7437       ;;
7438
7439     *)
7440       lt_prog_compiler_can_build_shared=no
7441       ;;
7442     esac
7443   fi
7444
7445 case $host_os in
7446   # For platforms which do not support PIC, -DPIC is meaningless:
7447   *djgpp*)
7448     lt_prog_compiler_pic=
7449     ;;
7450   *)
7451     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7452     ;;
7453 esac
7454 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7455 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7456
7457
7458
7459
7460
7461
7462 #
7463 # Check to make sure the PIC flag actually works.
7464 #
7465 if test -n "$lt_prog_compiler_pic"; then
7466   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7467 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7468 if test "${lt_prog_compiler_pic_works+set}" = set; then
7469   echo $ECHO_N "(cached) $ECHO_C" >&6
7470 else
7471   lt_prog_compiler_pic_works=no
7472    ac_outfile=conftest.$ac_objext
7473    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7474    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7475    # Insert the option either (1) after the last *FLAGS variable, or
7476    # (2) before a word containing "conftest.", or (3) at the end.
7477    # Note that $ac_compile itself does not contain backslashes and begins
7478    # with a dollar sign (not a hyphen), so the echo should work correctly.
7479    # The option is referenced via a variable to avoid confusing sed.
7480    lt_compile=`echo "$ac_compile" | $SED \
7481    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7482    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7483    -e 's:$: $lt_compiler_flag:'`
7484    (eval echo "\"\$as_me:7484: $lt_compile\"" >&5)
7485    (eval "$lt_compile" 2>conftest.err)
7486    ac_status=$?
7487    cat conftest.err >&5
7488    echo "$as_me:7488: \$? = $ac_status" >&5
7489    if (exit $ac_status) && test -s "$ac_outfile"; then
7490      # The compiler can only warn and ignore the option if not recognized
7491      # So say no if there are warnings other than the usual output.
7492      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7493      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7494      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7495        lt_prog_compiler_pic_works=yes
7496      fi
7497    fi
7498    $RM conftest*
7499
7500 fi
7501 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7502 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7503
7504 if test x"$lt_prog_compiler_pic_works" = xyes; then
7505     case $lt_prog_compiler_pic in
7506      "" | " "*) ;;
7507      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7508      esac
7509 else
7510     lt_prog_compiler_pic=
7511      lt_prog_compiler_can_build_shared=no
7512 fi
7513
7514 fi
7515
7516
7517
7518
7519
7520
7521 #
7522 # Check to make sure the static flag actually works.
7523 #
7524 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7525 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7526 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7527 if test "${lt_prog_compiler_static_works+set}" = set; then
7528   echo $ECHO_N "(cached) $ECHO_C" >&6
7529 else
7530   lt_prog_compiler_static_works=no
7531    save_LDFLAGS="$LDFLAGS"
7532    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7533    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7534    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7535      # The linker can only warn and ignore the option if not recognized
7536      # So say no if there are warnings
7537      if test -s conftest.err; then
7538        # Append any errors to the config.log.
7539        cat conftest.err 1>&5
7540        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7541        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7542        if diff conftest.exp conftest.er2 >/dev/null; then
7543          lt_prog_compiler_static_works=yes
7544        fi
7545      else
7546        lt_prog_compiler_static_works=yes
7547      fi
7548    fi
7549    $RM conftest*
7550    LDFLAGS="$save_LDFLAGS"
7551
7552 fi
7553 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7554 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7555
7556 if test x"$lt_prog_compiler_static_works" = xyes; then
7557     :
7558 else
7559     lt_prog_compiler_static=
7560 fi
7561
7562
7563
7564
7565
7566
7567
7568   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7569 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7570 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7571   echo $ECHO_N "(cached) $ECHO_C" >&6
7572 else
7573   lt_cv_prog_compiler_c_o=no
7574    $RM -r conftest 2>/dev/null
7575    mkdir conftest
7576    cd conftest
7577    mkdir out
7578    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7579
7580    lt_compiler_flag="-o out/conftest2.$ac_objext"
7581    # Insert the option either (1) after the last *FLAGS variable, or
7582    # (2) before a word containing "conftest.", or (3) at the end.
7583    # Note that $ac_compile itself does not contain backslashes and begins
7584    # with a dollar sign (not a hyphen), so the echo should work correctly.
7585    lt_compile=`echo "$ac_compile" | $SED \
7586    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7587    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7588    -e 's:$: $lt_compiler_flag:'`
7589    (eval echo "\"\$as_me:7589: $lt_compile\"" >&5)
7590    (eval "$lt_compile" 2>out/conftest.err)
7591    ac_status=$?
7592    cat out/conftest.err >&5
7593    echo "$as_me:7593: \$? = $ac_status" >&5
7594    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7595    then
7596      # The compiler can only warn and ignore the option if not recognized
7597      # So say no if there are warnings
7598      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7599      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7600      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7601        lt_cv_prog_compiler_c_o=yes
7602      fi
7603    fi
7604    chmod u+w . 2>&5
7605    $RM conftest*
7606    # SGI C++ compiler will create directory out/ii_files/ for
7607    # template instantiation
7608    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7609    $RM out/* && rmdir out
7610    cd ..
7611    $RM -r conftest
7612    $RM conftest*
7613
7614 fi
7615 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7616 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7617
7618
7619
7620
7621
7622
7623   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7624 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7625 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7626   echo $ECHO_N "(cached) $ECHO_C" >&6
7627 else
7628   lt_cv_prog_compiler_c_o=no
7629    $RM -r conftest 2>/dev/null
7630    mkdir conftest
7631    cd conftest
7632    mkdir out
7633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7634
7635    lt_compiler_flag="-o out/conftest2.$ac_objext"
7636    # Insert the option either (1) after the last *FLAGS variable, or
7637    # (2) before a word containing "conftest.", or (3) at the end.
7638    # Note that $ac_compile itself does not contain backslashes and begins
7639    # with a dollar sign (not a hyphen), so the echo should work correctly.
7640    lt_compile=`echo "$ac_compile" | $SED \
7641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7643    -e 's:$: $lt_compiler_flag:'`
7644    (eval echo "\"\$as_me:7644: $lt_compile\"" >&5)
7645    (eval "$lt_compile" 2>out/conftest.err)
7646    ac_status=$?
7647    cat out/conftest.err >&5
7648    echo "$as_me:7648: \$? = $ac_status" >&5
7649    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7650    then
7651      # The compiler can only warn and ignore the option if not recognized
7652      # So say no if there are warnings
7653      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7654      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7655      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7656        lt_cv_prog_compiler_c_o=yes
7657      fi
7658    fi
7659    chmod u+w . 2>&5
7660    $RM conftest*
7661    # SGI C++ compiler will create directory out/ii_files/ for
7662    # template instantiation
7663    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7664    $RM out/* && rmdir out
7665    cd ..
7666    $RM -r conftest
7667    $RM conftest*
7668
7669 fi
7670 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7671 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7672
7673
7674
7675
7676 hard_links="nottested"
7677 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7678   # do not overwrite the value of need_locks provided by the user
7679   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7680 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7681   hard_links=yes
7682   $RM conftest*
7683   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7684   touch conftest.a
7685   ln conftest.a conftest.b 2>&5 || hard_links=no
7686   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7687   echo "$as_me:$LINENO: result: $hard_links" >&5
7688 echo "${ECHO_T}$hard_links" >&6
7689   if test "$hard_links" = no; then
7690     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7691 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7692     need_locks=warn
7693   fi
7694 else
7695   need_locks=no
7696 fi
7697
7698
7699
7700
7701
7702
7703   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7704 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7705
7706   runpath_var=
7707   allow_undefined_flag=
7708   always_export_symbols=no
7709   archive_cmds=
7710   archive_expsym_cmds=
7711   compiler_needs_object=no
7712   enable_shared_with_static_runtimes=no
7713   export_dynamic_flag_spec=
7714   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7715   hardcode_automatic=no
7716   hardcode_direct=no
7717   hardcode_direct_absolute=no
7718   hardcode_libdir_flag_spec=
7719   hardcode_libdir_flag_spec_ld=
7720   hardcode_libdir_separator=
7721   hardcode_minus_L=no
7722   hardcode_shlibpath_var=unsupported
7723   inherit_rpath=no
7724   link_all_deplibs=unknown
7725   module_cmds=
7726   module_expsym_cmds=
7727   old_archive_from_new_cmds=
7728   old_archive_from_expsyms_cmds=
7729   thread_safe_flag_spec=
7730   whole_archive_flag_spec=
7731   # include_expsyms should be a list of space-separated symbols to be *always*
7732   # included in the symbol list
7733   include_expsyms=
7734   # exclude_expsyms can be an extended regexp of symbols to exclude
7735   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7736   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7737   # as well as any symbol that contains `d'.
7738   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7739   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7740   # platforms (ab)use it in PIC code, but their linkers get confused if
7741   # the symbol is explicitly referenced.  Since portable code cannot
7742   # rely on this symbol name, it's probably fine to never include it in
7743   # preloaded symbol tables.
7744   extract_expsyms_cmds=
7745
7746   case $host_os in
7747   cygwin* | mingw* | pw32*)
7748     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7749     # When not using gcc, we currently assume that we are using
7750     # Microsoft Visual C++.
7751     if test "$GCC" != yes; then
7752       with_gnu_ld=no
7753     fi
7754     ;;
7755   interix*)
7756     # we just hope/assume this is gcc and not c89 (= MSVC++)
7757     with_gnu_ld=yes
7758     ;;
7759   openbsd*)
7760     with_gnu_ld=no
7761     ;;
7762   esac
7763
7764   ld_shlibs=yes
7765   if test "$with_gnu_ld" = yes; then
7766     # If archive_cmds runs LD, not CC, wlarc should be empty
7767     wlarc='${wl}'
7768
7769     # Set some defaults for GNU ld with shared library support. These
7770     # are reset later if shared libraries are not supported. Putting them
7771     # here allows them to be overridden if necessary.
7772     runpath_var=LD_RUN_PATH
7773     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7774     export_dynamic_flag_spec='${wl}--export-dynamic'
7775     # ancient GNU ld didn't support --whole-archive et. al.
7776     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7777       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7778     else
7779       whole_archive_flag_spec=
7780     fi
7781     supports_anon_versioning=no
7782     case `$LD -v 2>&1` in
7783       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7784       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7785       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7786       *\ 2.11.*) ;; # other 2.11 versions
7787       *) supports_anon_versioning=yes ;;
7788     esac
7789
7790     # See if GNU ld supports shared libraries.
7791     case $host_os in
7792     aix[3-9]*)
7793       # On AIX/PPC, the GNU linker is very broken
7794       if test "$host_cpu" != ia64; then
7795         ld_shlibs=no
7796         cat <<_LT_EOF 1>&2
7797
7798 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7799 *** to be unable to reliably create shared libraries on AIX.
7800 *** Therefore, libtool is disabling shared libraries support.  If you
7801 *** really care for shared libraries, you may want to modify your PATH
7802 *** so that a non-GNU linker is found, and then restart.
7803
7804 _LT_EOF
7805       fi
7806       ;;
7807
7808     amigaos*)
7809       if test "$host_cpu" = m68k; then
7810         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)'
7811         hardcode_libdir_flag_spec='-L$libdir'
7812         hardcode_minus_L=yes
7813       fi
7814
7815       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7816       # that the semantics of dynamic libraries on AmigaOS, at least up
7817       # to version 4, is to share data among multiple programs linked
7818       # with the same dynamic library.  Since this doesn't match the
7819       # behavior of shared libraries on other platforms, we can't use
7820       # them.
7821       ld_shlibs=no
7822       ;;
7823
7824     beos*)
7825       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7826         allow_undefined_flag=unsupported
7827         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7828         # support --undefined.  This deserves some investigation.  FIXME
7829         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7830       else
7831         ld_shlibs=no
7832       fi
7833       ;;
7834
7835     cygwin* | mingw* | pw32*)
7836       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7837       # as there is no search path for DLLs.
7838       hardcode_libdir_flag_spec='-L$libdir'
7839       allow_undefined_flag=unsupported
7840       always_export_symbols=no
7841       enable_shared_with_static_runtimes=yes
7842       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7843
7844       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7845         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7846         # If the export-symbols file already is a .def file (1st line
7847         # is EXPORTS), use it as is; otherwise, prepend...
7848         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7849           cp $export_symbols $output_objdir/$soname.def;
7850         else
7851           echo EXPORTS > $output_objdir/$soname.def;
7852           cat $export_symbols >> $output_objdir/$soname.def;
7853         fi~
7854         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7855       else
7856         ld_shlibs=no
7857       fi
7858       ;;
7859
7860     interix[3-9]*)
7861       hardcode_direct=no
7862       hardcode_shlibpath_var=no
7863       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7864       export_dynamic_flag_spec='${wl}-E'
7865       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7866       # Instead, shared libraries are loaded at an image base (0x10000000 by
7867       # default) and relocated if they conflict, which is a slow very memory
7868       # consuming and fragmenting process.  To avoid this, we pick a random,
7869       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7870       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7871       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7872       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'
7873       ;;
7874
7875     gnu* | linux* | tpf* | k*bsd*-gnu)
7876       tmp_diet=no
7877       if test "$host_os" = linux-dietlibc; then
7878         case $cc_basename in
7879           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7880         esac
7881       fi
7882       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7883          && test "$tmp_diet" = no
7884       then
7885         tmp_addflag=
7886         case $cc_basename,$host_cpu in
7887         pgcc*)                          # Portland Group C compiler
7888           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7889           tmp_addflag=' $pic_flag'
7890           ;;
7891         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7892           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'
7893           tmp_addflag=' $pic_flag -Mnomain' ;;
7894         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7895           tmp_addflag=' -i_dynamic' ;;
7896         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7897           tmp_addflag=' -i_dynamic -nofor_main' ;;
7898         ifc* | ifort*)                  # Intel Fortran compiler
7899           tmp_addflag=' -nofor_main' ;;
7900         esac
7901         case `$CC -V 2>&1 | sed 5q` in
7902         *Sun\ C*)                       # Sun C 5.9
7903           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'
7904           compiler_needs_object=yes
7905           tmp_sharedflag='-G' ;;
7906         *Sun\ F*)                       # Sun Fortran 8.3
7907           tmp_sharedflag='-G' ;;
7908         *)
7909           tmp_sharedflag='-shared' ;;
7910         esac
7911         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7912
7913         if test "x$supports_anon_versioning" = xyes; then
7914           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7915             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7916             echo "local: *; };" >> $output_objdir/$libname.ver~
7917             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7918         fi
7919       else
7920         ld_shlibs=no
7921       fi
7922       ;;
7923
7924     netbsd*)
7925       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7926         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7927         wlarc=
7928       else
7929         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7930         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7931       fi
7932       ;;
7933
7934     solaris*)
7935       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7936         ld_shlibs=no
7937         cat <<_LT_EOF 1>&2
7938
7939 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7940 *** create shared libraries on Solaris systems.  Therefore, libtool
7941 *** is disabling shared libraries support.  We urge you to upgrade GNU
7942 *** binutils to release 2.9.1 or newer.  Another option is to modify
7943 *** your PATH or compiler configuration so that the native linker is
7944 *** used, and then restart.
7945
7946 _LT_EOF
7947       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7948         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7949         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7950       else
7951         ld_shlibs=no
7952       fi
7953       ;;
7954
7955     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7956       case `$LD -v 2>&1` in
7957         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7958         ld_shlibs=no
7959         cat <<_LT_EOF 1>&2
7960
7961 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7962 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7963 *** is disabling shared libraries support.  We urge you to upgrade GNU
7964 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7965 *** your PATH or compiler configuration so that the native linker is
7966 *** used, and then restart.
7967
7968 _LT_EOF
7969         ;;
7970         *)
7971           # For security reasons, it is highly recommended that you always
7972           # use absolute paths for naming shared libraries, and exclude the
7973           # DT_RUNPATH tag from executables and libraries.  But doing so
7974           # requires that you compile everything twice, which is a pain.
7975           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7976             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7977             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7978             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7979           else
7980             ld_shlibs=no
7981           fi
7982         ;;
7983       esac
7984       ;;
7985
7986     sunos4*)
7987       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7988       wlarc=
7989       hardcode_direct=yes
7990       hardcode_shlibpath_var=no
7991       ;;
7992
7993     *)
7994       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7995         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7996         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7997       else
7998         ld_shlibs=no
7999       fi
8000       ;;
8001     esac
8002
8003     if test "$ld_shlibs" = no; then
8004       runpath_var=
8005       hardcode_libdir_flag_spec=
8006       export_dynamic_flag_spec=
8007       whole_archive_flag_spec=
8008     fi
8009   else
8010     # PORTME fill in a description of your system's linker (not GNU ld)
8011     case $host_os in
8012     aix3*)
8013       allow_undefined_flag=unsupported
8014       always_export_symbols=yes
8015       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'
8016       # Note: this linker hardcodes the directories in LIBPATH if there
8017       # are no directories specified by -L.
8018       hardcode_minus_L=yes
8019       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8020         # Neither direct hardcoding nor static linking is supported with a
8021         # broken collect2.
8022         hardcode_direct=unsupported
8023       fi
8024       ;;
8025
8026     aix[4-9]*)
8027       if test "$host_cpu" = ia64; then
8028         # On IA64, the linker does run time linking by default, so we don't
8029         # have to do anything special.
8030         aix_use_runtimelinking=no
8031         exp_sym_flag='-Bexport'
8032         no_entry_flag=""
8033       else
8034         # If we're using GNU nm, then we don't want the "-C" option.
8035         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8036         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8037           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'
8038         else
8039           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'
8040         fi
8041         aix_use_runtimelinking=no
8042
8043         # Test if we are trying to use run time linking or normal
8044         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8045         # need to do runtime linking.
8046         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8047           for ld_flag in $LDFLAGS; do
8048           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8049             aix_use_runtimelinking=yes
8050             break
8051           fi
8052           done
8053           ;;
8054         esac
8055
8056         exp_sym_flag='-bexport'
8057         no_entry_flag='-bnoentry'
8058       fi
8059
8060       # When large executables or shared objects are built, AIX ld can
8061       # have problems creating the table of contents.  If linking a library
8062       # or program results in "error TOC overflow" add -mminimal-toc to
8063       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8064       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8065
8066       archive_cmds=''
8067       hardcode_direct=yes
8068       hardcode_direct_absolute=yes
8069       hardcode_libdir_separator=':'
8070       link_all_deplibs=yes
8071       file_list_spec='${wl}-f,'
8072
8073       if test "$GCC" = yes; then
8074         case $host_os in aix4.[012]|aix4.[012].*)
8075         # We only want to do this on AIX 4.2 and lower, the check
8076         # below for broken collect2 doesn't work under 4.3+
8077           collect2name=`${CC} -print-prog-name=collect2`
8078           if test -f "$collect2name" &&
8079            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8080           then
8081           # We have reworked collect2
8082           :
8083           else
8084           # We have old collect2
8085           hardcode_direct=unsupported
8086           # It fails to find uninstalled libraries when the uninstalled
8087           # path is not listed in the libpath.  Setting hardcode_minus_L
8088           # to unsupported forces relinking
8089           hardcode_minus_L=yes
8090           hardcode_libdir_flag_spec='-L$libdir'
8091           hardcode_libdir_separator=
8092           fi
8093           ;;
8094         esac
8095         shared_flag='-shared'
8096         if test "$aix_use_runtimelinking" = yes; then
8097           shared_flag="$shared_flag "'${wl}-G'
8098         fi
8099       else
8100         # not using gcc
8101         if test "$host_cpu" = ia64; then
8102         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8103         # chokes on -Wl,-G. The following line is correct:
8104           shared_flag='-G'
8105         else
8106           if test "$aix_use_runtimelinking" = yes; then
8107             shared_flag='${wl}-G'
8108           else
8109             shared_flag='${wl}-bM:SRE'
8110           fi
8111         fi
8112       fi
8113
8114       # It seems that -bexpall does not export symbols beginning with
8115       # underscore (_), so it is better to generate a list of symbols to export.
8116       always_export_symbols=yes
8117       if test "$aix_use_runtimelinking" = yes; then
8118         # Warning - without using the other runtime loading flags (-brtl),
8119         # -berok will link without error, but may produce a broken library.
8120         allow_undefined_flag='-berok'
8121         # Determine the default libpath from the value encoded in an
8122         # empty executable.
8123         if test x$gcc_no_link = xyes; then
8124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8126    { (exit 1); exit 1; }; }
8127 fi
8128 cat >conftest.$ac_ext <<_ACEOF
8129 /* confdefs.h.  */
8130 _ACEOF
8131 cat confdefs.h >>conftest.$ac_ext
8132 cat >>conftest.$ac_ext <<_ACEOF
8133 /* end confdefs.h.  */
8134
8135 int
8136 main ()
8137 {
8138
8139   ;
8140   return 0;
8141 }
8142 _ACEOF
8143 rm -f conftest.$ac_objext conftest$ac_exeext
8144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8145   (eval $ac_link) 2>conftest.er1
8146   ac_status=$?
8147   grep -v '^ *+' conftest.er1 >conftest.err
8148   rm -f conftest.er1
8149   cat conftest.err >&5
8150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151   (exit $ac_status); } &&
8152          { ac_try='test -z "$ac_c_werror_flag"
8153                          || test ! -s conftest.err'
8154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8155   (eval $ac_try) 2>&5
8156   ac_status=$?
8157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158   (exit $ac_status); }; } &&
8159          { ac_try='test -s conftest$ac_exeext'
8160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8161   (eval $ac_try) 2>&5
8162   ac_status=$?
8163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164   (exit $ac_status); }; }; then
8165
8166 lt_aix_libpath_sed='
8167     /Import File Strings/,/^$/ {
8168         /^0/ {
8169             s/^0  *\(.*\)$/\1/
8170             p
8171         }
8172     }'
8173 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8174 # Check for a 64-bit object if we didn't find anything.
8175 if test -z "$aix_libpath"; then
8176   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8177 fi
8178 else
8179   echo "$as_me: failed program was:" >&5
8180 sed 's/^/| /' conftest.$ac_ext >&5
8181
8182 fi
8183 rm -f conftest.err conftest.$ac_objext \
8184       conftest$ac_exeext conftest.$ac_ext
8185 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8186
8187         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8188         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"
8189       else
8190         if test "$host_cpu" = ia64; then
8191           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8192           allow_undefined_flag="-z nodefs"
8193           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"
8194         else
8195          # Determine the default libpath from the value encoded in an
8196          # empty executable.
8197          if test x$gcc_no_link = xyes; then
8198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8200    { (exit 1); exit 1; }; }
8201 fi
8202 cat >conftest.$ac_ext <<_ACEOF
8203 /* confdefs.h.  */
8204 _ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h.  */
8208
8209 int
8210 main ()
8211 {
8212
8213   ;
8214   return 0;
8215 }
8216 _ACEOF
8217 rm -f conftest.$ac_objext conftest$ac_exeext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8219   (eval $ac_link) 2>conftest.er1
8220   ac_status=$?
8221   grep -v '^ *+' conftest.er1 >conftest.err
8222   rm -f conftest.er1
8223   cat conftest.err >&5
8224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225   (exit $ac_status); } &&
8226          { ac_try='test -z "$ac_c_werror_flag"
8227                          || test ! -s conftest.err'
8228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229   (eval $ac_try) 2>&5
8230   ac_status=$?
8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232   (exit $ac_status); }; } &&
8233          { ac_try='test -s conftest$ac_exeext'
8234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235   (eval $ac_try) 2>&5
8236   ac_status=$?
8237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238   (exit $ac_status); }; }; then
8239
8240 lt_aix_libpath_sed='
8241     /Import File Strings/,/^$/ {
8242         /^0/ {
8243             s/^0  *\(.*\)$/\1/
8244             p
8245         }
8246     }'
8247 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8248 # Check for a 64-bit object if we didn't find anything.
8249 if test -z "$aix_libpath"; then
8250   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8251 fi
8252 else
8253   echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.$ac_ext >&5
8255
8256 fi
8257 rm -f conftest.err conftest.$ac_objext \
8258       conftest$ac_exeext conftest.$ac_ext
8259 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8260
8261          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8262           # Warning - without using the other run time loading flags,
8263           # -berok will link without error, but may produce a broken library.
8264           no_undefined_flag=' ${wl}-bernotok'
8265           allow_undefined_flag=' ${wl}-berok'
8266           # Exported symbols can be pulled into shared objects from archives
8267           whole_archive_flag_spec='$convenience'
8268           archive_cmds_need_lc=yes
8269           # This is similar to how AIX traditionally builds its shared libraries.
8270           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'
8271         fi
8272       fi
8273       ;;
8274
8275     amigaos*)
8276       if test "$host_cpu" = m68k; then
8277         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)'
8278         hardcode_libdir_flag_spec='-L$libdir'
8279         hardcode_minus_L=yes
8280       fi
8281       # see comment about different semantics on the GNU ld section
8282       ld_shlibs=no
8283       ;;
8284
8285     bsdi[45]*)
8286       export_dynamic_flag_spec=-rdynamic
8287       ;;
8288
8289     cygwin* | mingw* | pw32*)
8290       # When not using gcc, we currently assume that we are using
8291       # Microsoft Visual C++.
8292       # hardcode_libdir_flag_spec is actually meaningless, as there is
8293       # no search path for DLLs.
8294       hardcode_libdir_flag_spec=' '
8295       allow_undefined_flag=unsupported
8296       # Tell ltmain to make .lib files, not .a files.
8297       libext=lib
8298       # Tell ltmain to make .dll files, not .so files.
8299       shrext_cmds=".dll"
8300       # FIXME: Setting linknames here is a bad hack.
8301       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8302       # The linker will automatically build a .lib file if we build a DLL.
8303       old_archive_from_new_cmds='true'
8304       # FIXME: Should let the user specify the lib program.
8305       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8306       fix_srcfile_path='`cygpath -w "$srcfile"`'
8307       enable_shared_with_static_runtimes=yes
8308       ;;
8309
8310     darwin* | rhapsody*)
8311       case $host_os in
8312       rhapsody* | darwin1.[012])
8313         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8314         ;;
8315       *) # Darwin 1.3 on
8316         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8317         10.[012])
8318           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8319           ;;
8320         10.*)
8321           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8322           ;;
8323         esac
8324         ;;
8325       esac
8326       archive_cmds_need_lc=no
8327       hardcode_direct=no
8328       hardcode_automatic=yes
8329       hardcode_shlibpath_var=unsupported
8330       whole_archive_flag_spec=''
8331       link_all_deplibs=yes
8332       if test "$GCC" = yes ; then
8333         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8334   echo $ECHO_N "(cached) $ECHO_C" >&6
8335 else
8336   lt_cv_apple_cc_single_mod=no
8337         if test -z "${LT_MULTI_MODULE}"; then
8338           # By default we will add the -single_module flag. You can override
8339           # by either setting the environment variable LT_MULTI_MODULE
8340           # non-empty at configure time, or by adding -multi-module to the
8341           # link flags.
8342           echo "int foo(void){return 1;}" > conftest.c
8343           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8344               -dynamiclib ${wl}-single_module conftest.c
8345           if test -f libconftest.dylib; then
8346               lt_cv_apple_cc_single_mod=yes
8347               rm libconftest.dylib
8348           fi
8349           rm conftest.$ac_ext
8350         fi
8351 fi
8352
8353         output_verbose_link_cmd=echo
8354         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8355           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8356           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}'
8357         else
8358           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8359           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}'
8360         fi
8361         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8362         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}'
8363       else
8364         case $cc_basename in
8365         xlc*)
8366           output_verbose_link_cmd=echo
8367           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8368           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8369           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8370           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}'
8371           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}'
8372           ;;
8373         *)
8374           ld_shlibs=no
8375           ;;
8376         esac
8377       fi
8378       ;;
8379
8380     dgux*)
8381       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8382       hardcode_libdir_flag_spec='-L$libdir'
8383       hardcode_shlibpath_var=no
8384       ;;
8385
8386     freebsd1*)
8387       ld_shlibs=no
8388       ;;
8389
8390     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8391     # support.  Future versions do this automatically, but an explicit c++rt0.o
8392     # does not break anything, and helps significantly (at the cost of a little
8393     # extra space).
8394     freebsd2.2*)
8395       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8396       hardcode_libdir_flag_spec='-R$libdir'
8397       hardcode_direct=yes
8398       hardcode_shlibpath_var=no
8399       ;;
8400
8401     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8402     freebsd2*)
8403       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8404       hardcode_direct=yes
8405       hardcode_minus_L=yes
8406       hardcode_shlibpath_var=no
8407       ;;
8408
8409     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8410     freebsd* | dragonfly*)
8411       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8412       hardcode_libdir_flag_spec='-R$libdir'
8413       hardcode_direct=yes
8414       hardcode_shlibpath_var=no
8415       ;;
8416
8417     hpux9*)
8418       if test "$GCC" = yes; then
8419         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'
8420       else
8421         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'
8422       fi
8423       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8424       hardcode_libdir_separator=:
8425       hardcode_direct=yes
8426
8427       # hardcode_minus_L: Not really in the search PATH,
8428       # but as the default location of the library.
8429       hardcode_minus_L=yes
8430       export_dynamic_flag_spec='${wl}-E'
8431       ;;
8432
8433     hpux10*)
8434       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8435         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8436       else
8437         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8438       fi
8439       if test "$with_gnu_ld" = no; then
8440         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8441         hardcode_libdir_flag_spec_ld='+b $libdir'
8442         hardcode_libdir_separator=:
8443         hardcode_direct=yes
8444         hardcode_direct_absolute=yes
8445         export_dynamic_flag_spec='${wl}-E'
8446         # hardcode_minus_L: Not really in the search PATH,
8447         # but as the default location of the library.
8448         hardcode_minus_L=yes
8449       fi
8450       ;;
8451
8452     hpux11*)
8453       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8454         case $host_cpu in
8455         hppa*64*)
8456           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8457           ;;
8458         ia64*)
8459           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8460           ;;
8461         *)
8462           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8463           ;;
8464         esac
8465       else
8466         case $host_cpu in
8467         hppa*64*)
8468           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8469           ;;
8470         ia64*)
8471           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8472           ;;
8473         *)
8474           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8475           ;;
8476         esac
8477       fi
8478       if test "$with_gnu_ld" = no; then
8479         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8480         hardcode_libdir_separator=:
8481
8482         case $host_cpu in
8483         hppa*64*|ia64*)
8484           hardcode_direct=no
8485           hardcode_shlibpath_var=no
8486           ;;
8487         *)
8488           hardcode_direct=yes
8489           hardcode_direct_absolute=yes
8490           export_dynamic_flag_spec='${wl}-E'
8491
8492           # hardcode_minus_L: Not really in the search PATH,
8493           # but as the default location of the library.
8494           hardcode_minus_L=yes
8495           ;;
8496         esac
8497       fi
8498       ;;
8499
8500     irix5* | irix6* | nonstopux*)
8501       if test "$GCC" = yes; then
8502         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'
8503         # Try to use the -exported_symbol ld option, if it does not
8504         # work, assume that -exports_file does not work either and
8505         # implicitly export all symbols.
8506         save_LDFLAGS="$LDFLAGS"
8507         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8508         if test x$gcc_no_link = xyes; then
8509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8511    { (exit 1); exit 1; }; }
8512 fi
8513 cat >conftest.$ac_ext <<_ACEOF
8514 int foo(void) {}
8515 _ACEOF
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518   (eval $ac_link) 2>conftest.er1
8519   ac_status=$?
8520   grep -v '^ *+' conftest.er1 >conftest.err
8521   rm -f conftest.er1
8522   cat conftest.err >&5
8523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524   (exit $ac_status); } &&
8525          { ac_try='test -z "$ac_c_werror_flag"
8526                          || test ! -s conftest.err'
8527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528   (eval $ac_try) 2>&5
8529   ac_status=$?
8530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531   (exit $ac_status); }; } &&
8532          { ac_try='test -s conftest$ac_exeext'
8533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534   (eval $ac_try) 2>&5
8535   ac_status=$?
8536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537   (exit $ac_status); }; }; then
8538   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'
8539
8540 else
8541   echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.$ac_ext >&5
8543
8544 fi
8545 rm -f conftest.err conftest.$ac_objext \
8546       conftest$ac_exeext conftest.$ac_ext
8547         LDFLAGS="$save_LDFLAGS"
8548       else
8549         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'
8550         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'
8551       fi
8552       archive_cmds_need_lc='no'
8553       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8554       hardcode_libdir_separator=:
8555       inherit_rpath=yes
8556       link_all_deplibs=yes
8557       ;;
8558
8559     netbsd*)
8560       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8561         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8562       else
8563         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8564       fi
8565       hardcode_libdir_flag_spec='-R$libdir'
8566       hardcode_direct=yes
8567       hardcode_shlibpath_var=no
8568       ;;
8569
8570     newsos6)
8571       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8572       hardcode_direct=yes
8573       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8574       hardcode_libdir_separator=:
8575       hardcode_shlibpath_var=no
8576       ;;
8577
8578     *nto* | *qnx*)
8579       ;;
8580
8581     openbsd*)
8582       hardcode_direct=yes
8583       hardcode_shlibpath_var=no
8584       hardcode_direct_absolute=yes
8585       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8586         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8587         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8588         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8589         export_dynamic_flag_spec='${wl}-E'
8590       else
8591         case $host_os in
8592         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8593           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8594           hardcode_libdir_flag_spec='-R$libdir'
8595           ;;
8596         *)
8597           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8598           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599           ;;
8600         esac
8601       fi
8602       ;;
8603
8604     os2*)
8605       hardcode_libdir_flag_spec='-L$libdir'
8606       hardcode_minus_L=yes
8607       allow_undefined_flag=unsupported
8608       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'
8609       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8610       ;;
8611
8612     osf3*)
8613       if test "$GCC" = yes; then
8614         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8615         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'
8616       else
8617         allow_undefined_flag=' -expect_unresolved \*'
8618         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'
8619       fi
8620       archive_cmds_need_lc='no'
8621       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8622       hardcode_libdir_separator=:
8623       ;;
8624
8625     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8626       if test "$GCC" = yes; then
8627         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8628         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'
8629         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8630       else
8631         allow_undefined_flag=' -expect_unresolved \*'
8632         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'
8633         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~
8634         $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'
8635
8636         # Both c and cxx compiler support -rpath directly
8637         hardcode_libdir_flag_spec='-rpath $libdir'
8638       fi
8639       archive_cmds_need_lc='no'
8640       hardcode_libdir_separator=:
8641       ;;
8642
8643     solaris*)
8644       no_undefined_flag=' -z defs'
8645       if test "$GCC" = yes; then
8646         wlarc='${wl}'
8647         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8648         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8649           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8650       else
8651         case `$CC -V 2>&1` in
8652         *"Compilers 5.0"*)
8653           wlarc=''
8654           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8655           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8656           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8657           ;;
8658         *)
8659           wlarc='${wl}'
8660           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8661           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8662           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8663           ;;
8664         esac
8665       fi
8666       hardcode_libdir_flag_spec='-R$libdir'
8667       hardcode_shlibpath_var=no
8668       case $host_os in
8669       solaris2.[0-5] | solaris2.[0-5].*) ;;
8670       *)
8671         # The compiler driver will combine and reorder linker options,
8672         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8673         # but is careful enough not to reorder.
8674         # Supported since Solaris 2.6 (maybe 2.5.1?)
8675         if test "$GCC" = yes; then
8676           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8677         else
8678           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8679         fi
8680         ;;
8681       esac
8682       link_all_deplibs=yes
8683       ;;
8684
8685     sunos4*)
8686       if test "x$host_vendor" = xsequent; then
8687         # Use $CC to link under sequent, because it throws in some extra .o
8688         # files that make .init and .fini sections work.
8689         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8690       else
8691         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8692       fi
8693       hardcode_libdir_flag_spec='-L$libdir'
8694       hardcode_direct=yes
8695       hardcode_minus_L=yes
8696       hardcode_shlibpath_var=no
8697       ;;
8698
8699     sysv4)
8700       case $host_vendor in
8701         sni)
8702           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8703           hardcode_direct=yes # is this really true???
8704         ;;
8705         siemens)
8706           ## LD is ld it makes a PLAMLIB
8707           ## CC just makes a GrossModule.
8708           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8709           reload_cmds='$CC -r -o $output$reload_objs'
8710           hardcode_direct=no
8711         ;;
8712         motorola)
8713           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8714           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8715         ;;
8716       esac
8717       runpath_var='LD_RUN_PATH'
8718       hardcode_shlibpath_var=no
8719       ;;
8720
8721     sysv4.3*)
8722       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8723       hardcode_shlibpath_var=no
8724       export_dynamic_flag_spec='-Bexport'
8725       ;;
8726
8727     sysv4*MP*)
8728       if test -d /usr/nec; then
8729         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8730         hardcode_shlibpath_var=no
8731         runpath_var=LD_RUN_PATH
8732         hardcode_runpath_var=yes
8733         ld_shlibs=yes
8734       fi
8735       ;;
8736
8737     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8738       no_undefined_flag='${wl}-z,text'
8739       archive_cmds_need_lc=no
8740       hardcode_shlibpath_var=no
8741       runpath_var='LD_RUN_PATH'
8742
8743       if test "$GCC" = yes; then
8744         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8745         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746       else
8747         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8749       fi
8750       ;;
8751
8752     sysv5* | sco3.2v5* | sco5v6*)
8753       # Note: We can NOT use -z defs as we might desire, because we do not
8754       # link with -lc, and that would cause any symbols used from libc to
8755       # always be unresolved, which means just about no library would
8756       # ever link correctly.  If we're not using GNU ld we use -z text
8757       # though, which does catch some bad symbols but isn't as heavy-handed
8758       # as -z defs.
8759       no_undefined_flag='${wl}-z,text'
8760       allow_undefined_flag='${wl}-z,nodefs'
8761       archive_cmds_need_lc=no
8762       hardcode_shlibpath_var=no
8763       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8764       hardcode_libdir_separator=':'
8765       link_all_deplibs=yes
8766       export_dynamic_flag_spec='${wl}-Bexport'
8767       runpath_var='LD_RUN_PATH'
8768
8769       if test "$GCC" = yes; then
8770         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8771         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8772       else
8773         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8774         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8775       fi
8776       ;;
8777
8778     uts4*)
8779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8780       hardcode_libdir_flag_spec='-L$libdir'
8781       hardcode_shlibpath_var=no
8782       ;;
8783
8784     *)
8785       ld_shlibs=no
8786       ;;
8787     esac
8788
8789     if test x$host_vendor = xsni; then
8790       case $host in
8791       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8792         export_dynamic_flag_spec='${wl}-Blargedynsym'
8793         ;;
8794       esac
8795     fi
8796   fi
8797
8798 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8799 echo "${ECHO_T}$ld_shlibs" >&6
8800 test "$ld_shlibs" = no && can_build_shared=no
8801
8802 with_gnu_ld=$with_gnu_ld
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818 #
8819 # Do we need to explicitly link libc?
8820 #
8821 case "x$archive_cmds_need_lc" in
8822 x|xyes)
8823   # Assume -lc should be added
8824   archive_cmds_need_lc=yes
8825
8826   if test "$enable_shared" = yes && test "$GCC" = yes; then
8827     case $archive_cmds in
8828     *'~'*)
8829       # FIXME: we may have to deal with multi-command sequences.
8830       ;;
8831     '$CC '*)
8832       # Test whether the compiler implicitly links with -lc since on some
8833       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8834       # to ld, don't add -lc before -lgcc.
8835       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8836 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8837       $RM conftest*
8838       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8839
8840       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8841   (eval $ac_compile) 2>&5
8842   ac_status=$?
8843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844   (exit $ac_status); } 2>conftest.err; then
8845         soname=conftest
8846         lib=conftest
8847         libobjs=conftest.$ac_objext
8848         deplibs=
8849         wl=$lt_prog_compiler_wl
8850         pic_flag=$lt_prog_compiler_pic
8851         compiler_flags=-v
8852         linker_flags=-v
8853         verstring=
8854         output_objdir=.
8855         libname=conftest
8856         lt_save_allow_undefined_flag=$allow_undefined_flag
8857         allow_undefined_flag=
8858         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8859   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8860   ac_status=$?
8861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862   (exit $ac_status); }
8863         then
8864           archive_cmds_need_lc=no
8865         else
8866           archive_cmds_need_lc=yes
8867         fi
8868         allow_undefined_flag=$lt_save_allow_undefined_flag
8869       else
8870         cat conftest.err 1>&5
8871       fi
8872       $RM conftest*
8873       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8874 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8875       ;;
8876     esac
8877   fi
8878   ;;
8879 esac
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9038 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9039 withGCC=$GCC
9040 if test "$withGCC" = yes; then
9041   case $host_os in
9042     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9043     *) lt_awk_arg="/^libraries:/" ;;
9044   esac
9045   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9046   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9047     # if the path contains ";" then we assume it to be the separator
9048     # otherwise default to the standard path separator (i.e. ":") - it is
9049     # assumed that no part of a normal pathname contains ";" but that should
9050     # okay in the real world where ";" in dirpaths is itself problematic.
9051     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9052   else
9053     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9054   fi
9055   # Ok, now we have the path, separated by spaces, we can step through it
9056   # and add multilib dir if necessary.
9057   lt_tmp_lt_search_path_spec=
9058   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9059   for lt_sys_path in $lt_search_path_spec; do
9060     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9061       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9062     else
9063       test -d "$lt_sys_path" && \
9064         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9065     fi
9066   done
9067   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9068 BEGIN {RS=" "; FS="/|\n";} {
9069   lt_foo="";
9070   lt_count=0;
9071   for (lt_i = NF; lt_i > 0; lt_i--) {
9072     if ($lt_i != "" && $lt_i != ".") {
9073       if ($lt_i == "..") {
9074         lt_count++;
9075       } else {
9076         if (lt_count == 0) {
9077           lt_foo="/" $lt_i lt_foo;
9078         } else {
9079           lt_count--;
9080         }
9081       }
9082     }
9083   }
9084   if (lt_foo != "") { lt_freq[lt_foo]++; }
9085   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9086 }'`
9087   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9088 else
9089   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9090 fi
9091 library_names_spec=
9092 libname_spec='lib$name'
9093 soname_spec=
9094 shrext_cmds=".so"
9095 postinstall_cmds=
9096 postuninstall_cmds=
9097 finish_cmds=
9098 finish_eval=
9099 shlibpath_var=
9100 shlibpath_overrides_runpath=unknown
9101 version_type=none
9102 dynamic_linker="$host_os ld.so"
9103 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9104 need_lib_prefix=unknown
9105 hardcode_into_libs=no
9106
9107 # when you set need_version to no, make sure it does not cause -set_version
9108 # flags to be left without arguments
9109 need_version=unknown
9110
9111 case $host_os in
9112 aix3*)
9113   version_type=linux
9114   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9115   shlibpath_var=LIBPATH
9116
9117   # AIX 3 has no versioning support, so we append a major version to the name.
9118   soname_spec='${libname}${release}${shared_ext}$major'
9119   ;;
9120
9121 aix[4-9]*)
9122   version_type=linux
9123   need_lib_prefix=no
9124   need_version=no
9125   hardcode_into_libs=yes
9126   if test "$host_cpu" = ia64; then
9127     # AIX 5 supports IA64
9128     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9129     shlibpath_var=LD_LIBRARY_PATH
9130   else
9131     # With GCC up to 2.95.x, collect2 would create an import file
9132     # for dependence libraries.  The import file would start with
9133     # the line `#! .'.  This would cause the generated library to
9134     # depend on `.', always an invalid library.  This was fixed in
9135     # development snapshots of GCC prior to 3.0.
9136     case $host_os in
9137       aix4 | aix4.[01] | aix4.[01].*)
9138       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9139            echo ' yes '
9140            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9141         :
9142       else
9143         can_build_shared=no
9144       fi
9145       ;;
9146     esac
9147     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9148     # soname into executable. Probably we can add versioning support to
9149     # collect2, so additional links can be useful in future.
9150     if test "$aix_use_runtimelinking" = yes; then
9151       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9152       # instead of lib<name>.a to let people know that these are not
9153       # typical AIX shared libraries.
9154       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9155     else
9156       # We preserve .a as extension for shared libraries through AIX4.2
9157       # and later when we are not doing run time linking.
9158       library_names_spec='${libname}${release}.a $libname.a'
9159       soname_spec='${libname}${release}${shared_ext}$major'
9160     fi
9161     shlibpath_var=LIBPATH
9162   fi
9163   ;;
9164
9165 amigaos*)
9166   if test "$host_cpu" = m68k; then
9167     library_names_spec='$libname.ixlibrary $libname.a'
9168     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9169     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'
9170   else
9171     dynamic_linker=no
9172   fi
9173   ;;
9174
9175 beos*)
9176   library_names_spec='${libname}${shared_ext}'
9177   dynamic_linker="$host_os ld.so"
9178   shlibpath_var=LIBRARY_PATH
9179   ;;
9180
9181 bsdi[45]*)
9182   version_type=linux
9183   need_version=no
9184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9185   soname_spec='${libname}${release}${shared_ext}$major'
9186   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9187   shlibpath_var=LD_LIBRARY_PATH
9188   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9189   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9190   # the default ld.so.conf also contains /usr/contrib/lib and
9191   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9192   # libtool to hard-code these into programs
9193   ;;
9194
9195 cygwin* | mingw* | pw32*)
9196   version_type=windows
9197   shrext_cmds=".dll"
9198   need_version=no
9199   need_lib_prefix=no
9200
9201   case $withGCC,$host_os in
9202   yes,cygwin* | yes,mingw* | yes,pw32*)
9203     library_names_spec='$libname.dll.a'
9204     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9205     postinstall_cmds='base_file=`basename \${file}`~
9206       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9207       dldir=$destdir/`dirname \$dlpath`~
9208       test -d \$dldir || mkdir -p \$dldir~
9209       $install_prog $dir/$dlname \$dldir/$dlname~
9210       chmod a+x \$dldir/$dlname~
9211       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9212         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9213       fi'
9214     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9215       dlpath=$dir/\$dldll~
9216        $RM \$dlpath'
9217     shlibpath_overrides_runpath=yes
9218
9219     case $host_os in
9220     cygwin*)
9221       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9222       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9223       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9224       ;;
9225     mingw*)
9226       # MinGW DLLs use traditional 'lib' prefix
9227       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9228       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9229       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9230         # It is most probably a Windows format PATH printed by
9231         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9232         # path with ; separators, and with drive letters. We can handle the
9233         # drive letters (cygwin fileutils understands them), so leave them,
9234         # especially as we might pass files found there to a mingw objdump,
9235         # which wouldn't understand a cygwinified path. Ahh.
9236         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9237       else
9238         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9239       fi
9240       ;;
9241     pw32*)
9242       # pw32 DLLs use 'pw' prefix rather than 'lib'
9243       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9244       ;;
9245     esac
9246     ;;
9247
9248   *)
9249     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9250     ;;
9251   esac
9252   dynamic_linker='Win32 ld.exe'
9253   # FIXME: first we should search . and the directory the executable is in
9254   shlibpath_var=PATH
9255   ;;
9256
9257 darwin* | rhapsody*)
9258   dynamic_linker="$host_os dyld"
9259   version_type=darwin
9260   need_lib_prefix=no
9261   need_version=no
9262   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9263   soname_spec='${libname}${release}${major}$shared_ext'
9264   shlibpath_overrides_runpath=yes
9265   shlibpath_var=DYLD_LIBRARY_PATH
9266   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9267
9268   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9269   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9270   ;;
9271
9272 dgux*)
9273   version_type=linux
9274   need_lib_prefix=no
9275   need_version=no
9276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9277   soname_spec='${libname}${release}${shared_ext}$major'
9278   shlibpath_var=LD_LIBRARY_PATH
9279   ;;
9280
9281 freebsd1*)
9282   dynamic_linker=no
9283   ;;
9284
9285 freebsd* | dragonfly*)
9286   # DragonFly does not have aout.  When/if they implement a new
9287   # versioning mechanism, adjust this.
9288   if test -x /usr/bin/objformat; then
9289     objformat=`/usr/bin/objformat`
9290   else
9291     case $host_os in
9292     freebsd[123]*) objformat=aout ;;
9293     *) objformat=elf ;;
9294     esac
9295   fi
9296   version_type=freebsd-$objformat
9297   case $version_type in
9298     freebsd-elf*)
9299       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9300       need_version=no
9301       need_lib_prefix=no
9302       ;;
9303     freebsd-*)
9304       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9305       need_version=yes
9306       ;;
9307   esac
9308   shlibpath_var=LD_LIBRARY_PATH
9309   case $host_os in
9310   freebsd2*)
9311     shlibpath_overrides_runpath=yes
9312     ;;
9313   freebsd3.[01]* | freebsdelf3.[01]*)
9314     shlibpath_overrides_runpath=yes
9315     hardcode_into_libs=yes
9316     ;;
9317   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9318   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9319     shlibpath_overrides_runpath=no
9320     hardcode_into_libs=yes
9321     ;;
9322   *) # from 4.6 on, and DragonFly
9323     shlibpath_overrides_runpath=yes
9324     hardcode_into_libs=yes
9325     ;;
9326   esac
9327   ;;
9328
9329 gnu*)
9330   version_type=linux
9331   need_lib_prefix=no
9332   need_version=no
9333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9334   soname_spec='${libname}${release}${shared_ext}$major'
9335   shlibpath_var=LD_LIBRARY_PATH
9336   hardcode_into_libs=yes
9337   ;;
9338
9339 hpux9* | hpux10* | hpux11*)
9340   # Give a soname corresponding to the major version so that dld.sl refuses to
9341   # link against other versions.
9342   version_type=sunos
9343   need_lib_prefix=no
9344   need_version=no
9345   case $host_cpu in
9346   ia64*)
9347     shrext_cmds='.so'
9348     hardcode_into_libs=yes
9349     dynamic_linker="$host_os dld.so"
9350     shlibpath_var=LD_LIBRARY_PATH
9351     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9352     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9353     soname_spec='${libname}${release}${shared_ext}$major'
9354     if test "X$HPUX_IA64_MODE" = X32; then
9355       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9356     else
9357       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9358     fi
9359     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9360     ;;
9361   hppa*64*)
9362     shrext_cmds='.sl'
9363     hardcode_into_libs=yes
9364     dynamic_linker="$host_os dld.sl"
9365     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9366     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9368     soname_spec='${libname}${release}${shared_ext}$major'
9369     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9370     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9371     ;;
9372   *)
9373     shrext_cmds='.sl'
9374     dynamic_linker="$host_os dld.sl"
9375     shlibpath_var=SHLIB_PATH
9376     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378     soname_spec='${libname}${release}${shared_ext}$major'
9379     ;;
9380   esac
9381   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9382   postinstall_cmds='chmod 555 $lib'
9383   ;;
9384
9385 interix[3-9]*)
9386   version_type=linux
9387   need_lib_prefix=no
9388   need_version=no
9389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9390   soname_spec='${libname}${release}${shared_ext}$major'
9391   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9392   shlibpath_var=LD_LIBRARY_PATH
9393   shlibpath_overrides_runpath=no
9394   hardcode_into_libs=yes
9395   ;;
9396
9397 irix5* | irix6* | nonstopux*)
9398   case $host_os in
9399     nonstopux*) version_type=nonstopux ;;
9400     *)
9401         if test "$lt_cv_prog_gnu_ld" = yes; then
9402                 version_type=linux
9403         else
9404                 version_type=irix
9405         fi ;;
9406   esac
9407   need_lib_prefix=no
9408   need_version=no
9409   soname_spec='${libname}${release}${shared_ext}$major'
9410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9411   case $host_os in
9412   irix5* | nonstopux*)
9413     libsuff= shlibsuff=
9414     ;;
9415   *)
9416     case $LD in # libtool.m4 will add one of these switches to LD
9417     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9418       libsuff= shlibsuff= libmagic=32-bit;;
9419     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9420       libsuff=32 shlibsuff=N32 libmagic=N32;;
9421     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9422       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9423     *) libsuff= shlibsuff= libmagic=never-match;;
9424     esac
9425     ;;
9426   esac
9427   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9428   shlibpath_overrides_runpath=no
9429   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9430   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9431   hardcode_into_libs=yes
9432   ;;
9433
9434 # No shared lib support for Linux oldld, aout, or coff.
9435 linux*oldld* | linux*aout* | linux*coff*)
9436   dynamic_linker=no
9437   ;;
9438
9439 # This must be Linux ELF.
9440 linux* | k*bsd*-gnu)
9441   version_type=linux
9442   need_lib_prefix=no
9443   need_version=no
9444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9445   soname_spec='${libname}${release}${shared_ext}$major'
9446   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9447   shlibpath_var=LD_LIBRARY_PATH
9448   shlibpath_overrides_runpath=no
9449   # Some binutils ld are patched to set DT_RUNPATH
9450   save_LDFLAGS=$LDFLAGS
9451   save_libdir=$libdir
9452   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9453        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9454   if test x$gcc_no_link = xyes; then
9455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9457    { (exit 1); exit 1; }; }
9458 fi
9459 cat >conftest.$ac_ext <<_ACEOF
9460 /* confdefs.h.  */
9461 _ACEOF
9462 cat confdefs.h >>conftest.$ac_ext
9463 cat >>conftest.$ac_ext <<_ACEOF
9464 /* end confdefs.h.  */
9465
9466 int
9467 main ()
9468 {
9469
9470   ;
9471   return 0;
9472 }
9473 _ACEOF
9474 rm -f conftest.$ac_objext conftest$ac_exeext
9475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9476   (eval $ac_link) 2>conftest.er1
9477   ac_status=$?
9478   grep -v '^ *+' conftest.er1 >conftest.err
9479   rm -f conftest.er1
9480   cat conftest.err >&5
9481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482   (exit $ac_status); } &&
9483          { ac_try='test -z "$ac_c_werror_flag"
9484                          || test ! -s conftest.err'
9485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486   (eval $ac_try) 2>&5
9487   ac_status=$?
9488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489   (exit $ac_status); }; } &&
9490          { ac_try='test -s conftest$ac_exeext'
9491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492   (eval $ac_try) 2>&5
9493   ac_status=$?
9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495   (exit $ac_status); }; }; then
9496   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9497   shlibpath_overrides_runpath=yes
9498 fi
9499
9500 else
9501   echo "$as_me: failed program was:" >&5
9502 sed 's/^/| /' conftest.$ac_ext >&5
9503
9504 fi
9505 rm -f conftest.err conftest.$ac_objext \
9506       conftest$ac_exeext conftest.$ac_ext
9507   LDFLAGS=$save_LDFLAGS
9508   libdir=$save_libdir
9509
9510   # This implies no fast_install, which is unacceptable.
9511   # Some rework will be needed to allow for fast_install
9512   # before this can be enabled.
9513   hardcode_into_libs=yes
9514
9515   # Append ld.so.conf contents to the search path
9516   if test -f /etc/ld.so.conf; then
9517     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' ' '`
9518     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9519   fi
9520
9521   # We used to test for /lib/ld.so.1 and disable shared libraries on
9522   # powerpc, because MkLinux only supported shared libraries with the
9523   # GNU dynamic linker.  Since this was broken with cross compilers,
9524   # most powerpc-linux boxes support dynamic linking these days and
9525   # people can always --disable-shared, the test was removed, and we
9526   # assume the GNU/Linux dynamic linker is in use.
9527   dynamic_linker='GNU/Linux ld.so'
9528   ;;
9529
9530 netbsd*)
9531   version_type=sunos
9532   need_lib_prefix=no
9533   need_version=no
9534   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9535     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9536     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9537     dynamic_linker='NetBSD (a.out) ld.so'
9538   else
9539     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9540     soname_spec='${libname}${release}${shared_ext}$major'
9541     dynamic_linker='NetBSD ld.elf_so'
9542   fi
9543   shlibpath_var=LD_LIBRARY_PATH
9544   shlibpath_overrides_runpath=yes
9545   hardcode_into_libs=yes
9546   ;;
9547
9548 newsos6)
9549   version_type=linux
9550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551   shlibpath_var=LD_LIBRARY_PATH
9552   shlibpath_overrides_runpath=yes
9553   ;;
9554
9555 *nto* | *qnx*)
9556   version_type=qnx
9557   need_lib_prefix=no
9558   need_version=no
9559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9560   soname_spec='${libname}${release}${shared_ext}$major'
9561   shlibpath_var=LD_LIBRARY_PATH
9562   shlibpath_overrides_runpath=no
9563   hardcode_into_libs=yes
9564   dynamic_linker='ldqnx.so'
9565   ;;
9566
9567 openbsd*)
9568   version_type=sunos
9569   sys_lib_dlsearch_path_spec="/usr/lib"
9570   need_lib_prefix=no
9571   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9572   case $host_os in
9573     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9574     *)                          need_version=no  ;;
9575   esac
9576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9577   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9578   shlibpath_var=LD_LIBRARY_PATH
9579   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9580     case $host_os in
9581       openbsd2.[89] | openbsd2.[89].*)
9582         shlibpath_overrides_runpath=no
9583         ;;
9584       *)
9585         shlibpath_overrides_runpath=yes
9586         ;;
9587       esac
9588   else
9589     shlibpath_overrides_runpath=yes
9590   fi
9591   ;;
9592
9593 os2*)
9594   libname_spec='$name'
9595   shrext_cmds=".dll"
9596   need_lib_prefix=no
9597   library_names_spec='$libname${shared_ext} $libname.a'
9598   dynamic_linker='OS/2 ld.exe'
9599   shlibpath_var=LIBPATH
9600   ;;
9601
9602 osf3* | osf4* | osf5*)
9603   version_type=osf
9604   need_lib_prefix=no
9605   need_version=no
9606   soname_spec='${libname}${release}${shared_ext}$major'
9607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9608   shlibpath_var=LD_LIBRARY_PATH
9609   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9610   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9611   ;;
9612
9613 rdos*)
9614   dynamic_linker=no
9615   ;;
9616
9617 solaris*)
9618   version_type=linux
9619   need_lib_prefix=no
9620   need_version=no
9621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9622   soname_spec='${libname}${release}${shared_ext}$major'
9623   shlibpath_var=LD_LIBRARY_PATH
9624   shlibpath_overrides_runpath=yes
9625   hardcode_into_libs=yes
9626   # ldd complains unless libraries are executable
9627   postinstall_cmds='chmod +x $lib'
9628   ;;
9629
9630 sunos4*)
9631   version_type=sunos
9632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9633   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9634   shlibpath_var=LD_LIBRARY_PATH
9635   shlibpath_overrides_runpath=yes
9636   if test "$with_gnu_ld" = yes; then
9637     need_lib_prefix=no
9638   fi
9639   need_version=yes
9640   ;;
9641
9642 sysv4 | sysv4.3*)
9643   version_type=linux
9644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9645   soname_spec='${libname}${release}${shared_ext}$major'
9646   shlibpath_var=LD_LIBRARY_PATH
9647   case $host_vendor in
9648     sni)
9649       shlibpath_overrides_runpath=no
9650       need_lib_prefix=no
9651       runpath_var=LD_RUN_PATH
9652       ;;
9653     siemens)
9654       need_lib_prefix=no
9655       ;;
9656     motorola)
9657       need_lib_prefix=no
9658       need_version=no
9659       shlibpath_overrides_runpath=no
9660       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9661       ;;
9662   esac
9663   ;;
9664
9665 sysv4*MP*)
9666   if test -d /usr/nec ;then
9667     version_type=linux
9668     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9669     soname_spec='$libname${shared_ext}.$major'
9670     shlibpath_var=LD_LIBRARY_PATH
9671   fi
9672   ;;
9673
9674 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9675   version_type=freebsd-elf
9676   need_lib_prefix=no
9677   need_version=no
9678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9679   soname_spec='${libname}${release}${shared_ext}$major'
9680   shlibpath_var=LD_LIBRARY_PATH
9681   shlibpath_overrides_runpath=yes
9682   hardcode_into_libs=yes
9683   if test "$with_gnu_ld" = yes; then
9684     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9685   else
9686     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9687     case $host_os in
9688       sco3.2v5*)
9689         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9690         ;;
9691     esac
9692   fi
9693   sys_lib_dlsearch_path_spec='/usr/lib'
9694   ;;
9695
9696 tpf*)
9697   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9698   version_type=linux
9699   need_lib_prefix=no
9700   need_version=no
9701   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702   shlibpath_var=LD_LIBRARY_PATH
9703   shlibpath_overrides_runpath=no
9704   hardcode_into_libs=yes
9705   ;;
9706
9707 uts4*)
9708   version_type=linux
9709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9710   soname_spec='${libname}${release}${shared_ext}$major'
9711   shlibpath_var=LD_LIBRARY_PATH
9712   ;;
9713
9714 *)
9715   dynamic_linker=no
9716   ;;
9717 esac
9718 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9719 echo "${ECHO_T}$dynamic_linker" >&6
9720 test "$dynamic_linker" = no && can_build_shared=no
9721
9722 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9723 if test "$GCC" = yes; then
9724   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9725 fi
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9814 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9815 hardcode_action=
9816 if test -n "$hardcode_libdir_flag_spec" ||
9817    test -n "$runpath_var" ||
9818    test "X$hardcode_automatic" = "Xyes" ; then
9819
9820   # We can hardcode non-existent directories.
9821   if test "$hardcode_direct" != no &&
9822      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9823      # have to relink, otherwise we might link with an installed library
9824      # when we should be linking with a yet-to-be-installed one
9825      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9826      test "$hardcode_minus_L" != no; then
9827     # Linking always hardcodes the temporary library directory.
9828     hardcode_action=relink
9829   else
9830     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9831     hardcode_action=immediate
9832   fi
9833 else
9834   # We cannot hardcode anything, or else we can only hardcode existing
9835   # directories.
9836   hardcode_action=unsupported
9837 fi
9838 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9839 echo "${ECHO_T}$hardcode_action" >&6
9840
9841 if test "$hardcode_action" = relink ||
9842    test "$inherit_rpath" = yes; then
9843   # Fast installation is not supported
9844   enable_fast_install=no
9845 elif test "$shlibpath_overrides_runpath" = yes ||
9846      test "$enable_shared" = no; then
9847   # Fast installation is not necessary
9848   enable_fast_install=needless
9849 fi
9850
9851
9852
9853
9854
9855
9856   if test "x$enable_dlopen" != xyes; then
9857   enable_dlopen=unknown
9858   enable_dlopen_self=unknown
9859   enable_dlopen_self_static=unknown
9860 else
9861   lt_cv_dlopen=no
9862   lt_cv_dlopen_libs=
9863
9864   case $host_os in
9865   beos*)
9866     lt_cv_dlopen="load_add_on"
9867     lt_cv_dlopen_libs=
9868     lt_cv_dlopen_self=yes
9869     ;;
9870
9871   mingw* | pw32*)
9872     lt_cv_dlopen="LoadLibrary"
9873     lt_cv_dlopen_libs=
9874     ;;
9875
9876   cygwin*)
9877     lt_cv_dlopen="dlopen"
9878     lt_cv_dlopen_libs=
9879     ;;
9880
9881   darwin*)
9882   # if libdl is installed we need to link against it
9883     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9884 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9885 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9886   echo $ECHO_N "(cached) $ECHO_C" >&6
9887 else
9888   ac_check_lib_save_LIBS=$LIBS
9889 LIBS="-ldl  $LIBS"
9890 if test x$gcc_no_link = xyes; then
9891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9893    { (exit 1); exit 1; }; }
9894 fi
9895 cat >conftest.$ac_ext <<_ACEOF
9896 /* confdefs.h.  */
9897 _ACEOF
9898 cat confdefs.h >>conftest.$ac_ext
9899 cat >>conftest.$ac_ext <<_ACEOF
9900 /* end confdefs.h.  */
9901
9902 /* Override any gcc2 internal prototype to avoid an error.  */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 /* We use char because int might match the return type of a gcc2
9907    builtin and then its argument prototype would still apply.  */
9908 char dlopen ();
9909 int
9910 main ()
9911 {
9912 dlopen ();
9913   ;
9914   return 0;
9915 }
9916 _ACEOF
9917 rm -f conftest.$ac_objext conftest$ac_exeext
9918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9919   (eval $ac_link) 2>conftest.er1
9920   ac_status=$?
9921   grep -v '^ *+' conftest.er1 >conftest.err
9922   rm -f conftest.er1
9923   cat conftest.err >&5
9924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925   (exit $ac_status); } &&
9926          { ac_try='test -z "$ac_c_werror_flag"
9927                          || test ! -s conftest.err'
9928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9929   (eval $ac_try) 2>&5
9930   ac_status=$?
9931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932   (exit $ac_status); }; } &&
9933          { ac_try='test -s conftest$ac_exeext'
9934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935   (eval $ac_try) 2>&5
9936   ac_status=$?
9937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938   (exit $ac_status); }; }; then
9939   ac_cv_lib_dl_dlopen=yes
9940 else
9941   echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.$ac_ext >&5
9943
9944 ac_cv_lib_dl_dlopen=no
9945 fi
9946 rm -f conftest.err conftest.$ac_objext \
9947       conftest$ac_exeext conftest.$ac_ext
9948 LIBS=$ac_check_lib_save_LIBS
9949 fi
9950 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9951 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9952 if test $ac_cv_lib_dl_dlopen = yes; then
9953   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9954 else
9955
9956     lt_cv_dlopen="dyld"
9957     lt_cv_dlopen_libs=
9958     lt_cv_dlopen_self=yes
9959
9960 fi
9961
9962     ;;
9963
9964   *)
9965     echo "$as_me:$LINENO: checking for shl_load" >&5
9966 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9967 if test "${ac_cv_func_shl_load+set}" = set; then
9968   echo $ECHO_N "(cached) $ECHO_C" >&6
9969 else
9970   if test x$gcc_no_link = xyes; then
9971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9973    { (exit 1); exit 1; }; }
9974 fi
9975 cat >conftest.$ac_ext <<_ACEOF
9976 /* confdefs.h.  */
9977 _ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h.  */
9981 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9983 #define shl_load innocuous_shl_load
9984
9985 /* System header to define __stub macros and hopefully few prototypes,
9986     which can conflict with char shl_load (); below.
9987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9988     <limits.h> exists even on freestanding compilers.  */
9989
9990 #ifdef __STDC__
9991 # include <limits.h>
9992 #else
9993 # include <assert.h>
9994 #endif
9995
9996 #undef shl_load
9997
9998 /* Override any gcc2 internal prototype to avoid an error.  */
9999 #ifdef __cplusplus
10000 extern "C"
10001 {
10002 #endif
10003 /* We use char because int might match the return type of a gcc2
10004    builtin and then its argument prototype would still apply.  */
10005 char shl_load ();
10006 /* The GNU C library defines this for functions which it implements
10007     to always fail with ENOSYS.  Some functions are actually named
10008     something starting with __ and the normal name is an alias.  */
10009 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10010 choke me
10011 #else
10012 char (*f) () = shl_load;
10013 #endif
10014 #ifdef __cplusplus
10015 }
10016 #endif
10017
10018 int
10019 main ()
10020 {
10021 return f != shl_load;
10022   ;
10023   return 0;
10024 }
10025 _ACEOF
10026 rm -f conftest.$ac_objext conftest$ac_exeext
10027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10028   (eval $ac_link) 2>conftest.er1
10029   ac_status=$?
10030   grep -v '^ *+' conftest.er1 >conftest.err
10031   rm -f conftest.er1
10032   cat conftest.err >&5
10033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034   (exit $ac_status); } &&
10035          { ac_try='test -z "$ac_c_werror_flag"
10036                          || test ! -s conftest.err'
10037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038   (eval $ac_try) 2>&5
10039   ac_status=$?
10040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041   (exit $ac_status); }; } &&
10042          { ac_try='test -s conftest$ac_exeext'
10043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044   (eval $ac_try) 2>&5
10045   ac_status=$?
10046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047   (exit $ac_status); }; }; then
10048   ac_cv_func_shl_load=yes
10049 else
10050   echo "$as_me: failed program was:" >&5
10051 sed 's/^/| /' conftest.$ac_ext >&5
10052
10053 ac_cv_func_shl_load=no
10054 fi
10055 rm -f conftest.err conftest.$ac_objext \
10056       conftest$ac_exeext conftest.$ac_ext
10057 fi
10058 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10059 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10060 if test $ac_cv_func_shl_load = yes; then
10061   lt_cv_dlopen="shl_load"
10062 else
10063   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10064 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10065 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10066   echo $ECHO_N "(cached) $ECHO_C" >&6
10067 else
10068   ac_check_lib_save_LIBS=$LIBS
10069 LIBS="-ldld  $LIBS"
10070 if test x$gcc_no_link = xyes; then
10071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10073    { (exit 1); exit 1; }; }
10074 fi
10075 cat >conftest.$ac_ext <<_ACEOF
10076 /* confdefs.h.  */
10077 _ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h.  */
10081
10082 /* Override any gcc2 internal prototype to avoid an error.  */
10083 #ifdef __cplusplus
10084 extern "C"
10085 #endif
10086 /* We use char because int might match the return type of a gcc2
10087    builtin and then its argument prototype would still apply.  */
10088 char shl_load ();
10089 int
10090 main ()
10091 {
10092 shl_load ();
10093   ;
10094   return 0;
10095 }
10096 _ACEOF
10097 rm -f conftest.$ac_objext conftest$ac_exeext
10098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10099   (eval $ac_link) 2>conftest.er1
10100   ac_status=$?
10101   grep -v '^ *+' conftest.er1 >conftest.err
10102   rm -f conftest.er1
10103   cat conftest.err >&5
10104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105   (exit $ac_status); } &&
10106          { ac_try='test -z "$ac_c_werror_flag"
10107                          || test ! -s conftest.err'
10108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109   (eval $ac_try) 2>&5
10110   ac_status=$?
10111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112   (exit $ac_status); }; } &&
10113          { ac_try='test -s conftest$ac_exeext'
10114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115   (eval $ac_try) 2>&5
10116   ac_status=$?
10117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118   (exit $ac_status); }; }; then
10119   ac_cv_lib_dld_shl_load=yes
10120 else
10121   echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.$ac_ext >&5
10123
10124 ac_cv_lib_dld_shl_load=no
10125 fi
10126 rm -f conftest.err conftest.$ac_objext \
10127       conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_lib_save_LIBS
10129 fi
10130 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10131 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10132 if test $ac_cv_lib_dld_shl_load = yes; then
10133   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10134 else
10135   echo "$as_me:$LINENO: checking for dlopen" >&5
10136 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10137 if test "${ac_cv_func_dlopen+set}" = set; then
10138   echo $ECHO_N "(cached) $ECHO_C" >&6
10139 else
10140   if test x$gcc_no_link = xyes; then
10141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10143    { (exit 1); exit 1; }; }
10144 fi
10145 cat >conftest.$ac_ext <<_ACEOF
10146 /* confdefs.h.  */
10147 _ACEOF
10148 cat confdefs.h >>conftest.$ac_ext
10149 cat >>conftest.$ac_ext <<_ACEOF
10150 /* end confdefs.h.  */
10151 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10153 #define dlopen innocuous_dlopen
10154
10155 /* System header to define __stub macros and hopefully few prototypes,
10156     which can conflict with char dlopen (); below.
10157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10158     <limits.h> exists even on freestanding compilers.  */
10159
10160 #ifdef __STDC__
10161 # include <limits.h>
10162 #else
10163 # include <assert.h>
10164 #endif
10165
10166 #undef dlopen
10167
10168 /* Override any gcc2 internal prototype to avoid an error.  */
10169 #ifdef __cplusplus
10170 extern "C"
10171 {
10172 #endif
10173 /* We use char because int might match the return type of a gcc2
10174    builtin and then its argument prototype would still apply.  */
10175 char dlopen ();
10176 /* The GNU C library defines this for functions which it implements
10177     to always fail with ENOSYS.  Some functions are actually named
10178     something starting with __ and the normal name is an alias.  */
10179 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10180 choke me
10181 #else
10182 char (*f) () = dlopen;
10183 #endif
10184 #ifdef __cplusplus
10185 }
10186 #endif
10187
10188 int
10189 main ()
10190 {
10191 return f != dlopen;
10192   ;
10193   return 0;
10194 }
10195 _ACEOF
10196 rm -f conftest.$ac_objext conftest$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198   (eval $ac_link) 2>conftest.er1
10199   ac_status=$?
10200   grep -v '^ *+' conftest.er1 >conftest.err
10201   rm -f conftest.er1
10202   cat conftest.err >&5
10203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204   (exit $ac_status); } &&
10205          { ac_try='test -z "$ac_c_werror_flag"
10206                          || test ! -s conftest.err'
10207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208   (eval $ac_try) 2>&5
10209   ac_status=$?
10210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211   (exit $ac_status); }; } &&
10212          { ac_try='test -s conftest$ac_exeext'
10213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214   (eval $ac_try) 2>&5
10215   ac_status=$?
10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217   (exit $ac_status); }; }; then
10218   ac_cv_func_dlopen=yes
10219 else
10220   echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10222
10223 ac_cv_func_dlopen=no
10224 fi
10225 rm -f conftest.err conftest.$ac_objext \
10226       conftest$ac_exeext conftest.$ac_ext
10227 fi
10228 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10229 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10230 if test $ac_cv_func_dlopen = yes; then
10231   lt_cv_dlopen="dlopen"
10232 else
10233   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10234 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10235 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10236   echo $ECHO_N "(cached) $ECHO_C" >&6
10237 else
10238   ac_check_lib_save_LIBS=$LIBS
10239 LIBS="-ldl  $LIBS"
10240 if test x$gcc_no_link = xyes; then
10241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10243    { (exit 1); exit 1; }; }
10244 fi
10245 cat >conftest.$ac_ext <<_ACEOF
10246 /* confdefs.h.  */
10247 _ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h.  */
10251
10252 /* Override any gcc2 internal prototype to avoid an error.  */
10253 #ifdef __cplusplus
10254 extern "C"
10255 #endif
10256 /* We use char because int might match the return type of a gcc2
10257    builtin and then its argument prototype would still apply.  */
10258 char dlopen ();
10259 int
10260 main ()
10261 {
10262 dlopen ();
10263   ;
10264   return 0;
10265 }
10266 _ACEOF
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10269   (eval $ac_link) 2>conftest.er1
10270   ac_status=$?
10271   grep -v '^ *+' conftest.er1 >conftest.err
10272   rm -f conftest.er1
10273   cat conftest.err >&5
10274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275   (exit $ac_status); } &&
10276          { ac_try='test -z "$ac_c_werror_flag"
10277                          || test ! -s conftest.err'
10278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279   (eval $ac_try) 2>&5
10280   ac_status=$?
10281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282   (exit $ac_status); }; } &&
10283          { ac_try='test -s conftest$ac_exeext'
10284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285   (eval $ac_try) 2>&5
10286   ac_status=$?
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   (exit $ac_status); }; }; then
10289   ac_cv_lib_dl_dlopen=yes
10290 else
10291   echo "$as_me: failed program was:" >&5
10292 sed 's/^/| /' conftest.$ac_ext >&5
10293
10294 ac_cv_lib_dl_dlopen=no
10295 fi
10296 rm -f conftest.err conftest.$ac_objext \
10297       conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10299 fi
10300 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10301 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10302 if test $ac_cv_lib_dl_dlopen = yes; then
10303   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10304 else
10305   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10306 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10307 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10308   echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310   ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lsvld  $LIBS"
10312 if test x$gcc_no_link = xyes; then
10313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10315    { (exit 1); exit 1; }; }
10316 fi
10317 cat >conftest.$ac_ext <<_ACEOF
10318 /* confdefs.h.  */
10319 _ACEOF
10320 cat confdefs.h >>conftest.$ac_ext
10321 cat >>conftest.$ac_ext <<_ACEOF
10322 /* end confdefs.h.  */
10323
10324 /* Override any gcc2 internal prototype to avoid an error.  */
10325 #ifdef __cplusplus
10326 extern "C"
10327 #endif
10328 /* We use char because int might match the return type of a gcc2
10329    builtin and then its argument prototype would still apply.  */
10330 char dlopen ();
10331 int
10332 main ()
10333 {
10334 dlopen ();
10335   ;
10336   return 0;
10337 }
10338 _ACEOF
10339 rm -f conftest.$ac_objext conftest$ac_exeext
10340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10341   (eval $ac_link) 2>conftest.er1
10342   ac_status=$?
10343   grep -v '^ *+' conftest.er1 >conftest.err
10344   rm -f conftest.er1
10345   cat conftest.err >&5
10346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347   (exit $ac_status); } &&
10348          { ac_try='test -z "$ac_c_werror_flag"
10349                          || test ! -s conftest.err'
10350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351   (eval $ac_try) 2>&5
10352   ac_status=$?
10353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354   (exit $ac_status); }; } &&
10355          { ac_try='test -s conftest$ac_exeext'
10356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357   (eval $ac_try) 2>&5
10358   ac_status=$?
10359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360   (exit $ac_status); }; }; then
10361   ac_cv_lib_svld_dlopen=yes
10362 else
10363   echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.$ac_ext >&5
10365
10366 ac_cv_lib_svld_dlopen=no
10367 fi
10368 rm -f conftest.err conftest.$ac_objext \
10369       conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10371 fi
10372 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10373 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10374 if test $ac_cv_lib_svld_dlopen = yes; then
10375   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10376 else
10377   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10378 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10379 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10380   echo $ECHO_N "(cached) $ECHO_C" >&6
10381 else
10382   ac_check_lib_save_LIBS=$LIBS
10383 LIBS="-ldld  $LIBS"
10384 if test x$gcc_no_link = xyes; then
10385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10387    { (exit 1); exit 1; }; }
10388 fi
10389 cat >conftest.$ac_ext <<_ACEOF
10390 /* confdefs.h.  */
10391 _ACEOF
10392 cat confdefs.h >>conftest.$ac_ext
10393 cat >>conftest.$ac_ext <<_ACEOF
10394 /* end confdefs.h.  */
10395
10396 /* Override any gcc2 internal prototype to avoid an error.  */
10397 #ifdef __cplusplus
10398 extern "C"
10399 #endif
10400 /* We use char because int might match the return type of a gcc2
10401    builtin and then its argument prototype would still apply.  */
10402 char dld_link ();
10403 int
10404 main ()
10405 {
10406 dld_link ();
10407   ;
10408   return 0;
10409 }
10410 _ACEOF
10411 rm -f conftest.$ac_objext conftest$ac_exeext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10413   (eval $ac_link) 2>conftest.er1
10414   ac_status=$?
10415   grep -v '^ *+' conftest.er1 >conftest.err
10416   rm -f conftest.er1
10417   cat conftest.err >&5
10418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419   (exit $ac_status); } &&
10420          { ac_try='test -z "$ac_c_werror_flag"
10421                          || test ! -s conftest.err'
10422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423   (eval $ac_try) 2>&5
10424   ac_status=$?
10425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426   (exit $ac_status); }; } &&
10427          { ac_try='test -s conftest$ac_exeext'
10428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429   (eval $ac_try) 2>&5
10430   ac_status=$?
10431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432   (exit $ac_status); }; }; then
10433   ac_cv_lib_dld_dld_link=yes
10434 else
10435   echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10437
10438 ac_cv_lib_dld_dld_link=no
10439 fi
10440 rm -f conftest.err conftest.$ac_objext \
10441       conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_lib_save_LIBS
10443 fi
10444 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10445 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10446 if test $ac_cv_lib_dld_dld_link = yes; then
10447   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10448 fi
10449
10450
10451 fi
10452
10453
10454 fi
10455
10456
10457 fi
10458
10459
10460 fi
10461
10462
10463 fi
10464
10465     ;;
10466   esac
10467
10468   if test "x$lt_cv_dlopen" != xno; then
10469     enable_dlopen=yes
10470   else
10471     enable_dlopen=no
10472   fi
10473
10474   case $lt_cv_dlopen in
10475   dlopen)
10476     save_CPPFLAGS="$CPPFLAGS"
10477     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10478
10479     save_LDFLAGS="$LDFLAGS"
10480     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10481
10482     save_LIBS="$LIBS"
10483     LIBS="$lt_cv_dlopen_libs $LIBS"
10484
10485     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10486 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10487 if test "${lt_cv_dlopen_self+set}" = set; then
10488   echo $ECHO_N "(cached) $ECHO_C" >&6
10489 else
10490           if test "$cross_compiling" = yes; then :
10491   lt_cv_dlopen_self=cross
10492 else
10493   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10494   lt_status=$lt_dlunknown
10495   cat > conftest.$ac_ext <<_LT_EOF
10496 #line 10496 "configure"
10497 #include "confdefs.h"
10498
10499 #if HAVE_DLFCN_H
10500 #include <dlfcn.h>
10501 #endif
10502
10503 #include <stdio.h>
10504
10505 #ifdef RTLD_GLOBAL
10506 #  define LT_DLGLOBAL           RTLD_GLOBAL
10507 #else
10508 #  ifdef DL_GLOBAL
10509 #    define LT_DLGLOBAL         DL_GLOBAL
10510 #  else
10511 #    define LT_DLGLOBAL         0
10512 #  endif
10513 #endif
10514
10515 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10516    find out it does not work in some platform. */
10517 #ifndef LT_DLLAZY_OR_NOW
10518 #  ifdef RTLD_LAZY
10519 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10520 #  else
10521 #    ifdef DL_LAZY
10522 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10523 #    else
10524 #      ifdef RTLD_NOW
10525 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10526 #      else
10527 #        ifdef DL_NOW
10528 #          define LT_DLLAZY_OR_NOW      DL_NOW
10529 #        else
10530 #          define LT_DLLAZY_OR_NOW      0
10531 #        endif
10532 #      endif
10533 #    endif
10534 #  endif
10535 #endif
10536
10537 #ifdef __cplusplus
10538 extern "C" void exit (int);
10539 #endif
10540
10541 void fnord() { int i=42;}
10542 int main ()
10543 {
10544   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10545   int status = $lt_dlunknown;
10546
10547   if (self)
10548     {
10549       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10550       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10551       /* dlclose (self); */
10552     }
10553   else
10554     puts (dlerror ());
10555
10556     exit (status);
10557 }
10558 _LT_EOF
10559   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10560   (eval $ac_link) 2>&5
10561   ac_status=$?
10562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10564     (./conftest; exit; ) >&5 2>/dev/null
10565     lt_status=$?
10566     case x$lt_status in
10567       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10568       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10569       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10570     esac
10571   else :
10572     # compilation failed
10573     lt_cv_dlopen_self=no
10574   fi
10575 fi
10576 rm -fr conftest*
10577
10578
10579 fi
10580 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10581 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10582
10583     if test "x$lt_cv_dlopen_self" = xyes; then
10584       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10585       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10586 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10587 if test "${lt_cv_dlopen_self_static+set}" = set; then
10588   echo $ECHO_N "(cached) $ECHO_C" >&6
10589 else
10590           if test "$cross_compiling" = yes; then :
10591   lt_cv_dlopen_self_static=cross
10592 else
10593   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10594   lt_status=$lt_dlunknown
10595   cat > conftest.$ac_ext <<_LT_EOF
10596 #line 10596 "configure"
10597 #include "confdefs.h"
10598
10599 #if HAVE_DLFCN_H
10600 #include <dlfcn.h>
10601 #endif
10602
10603 #include <stdio.h>
10604
10605 #ifdef RTLD_GLOBAL
10606 #  define LT_DLGLOBAL           RTLD_GLOBAL
10607 #else
10608 #  ifdef DL_GLOBAL
10609 #    define LT_DLGLOBAL         DL_GLOBAL
10610 #  else
10611 #    define LT_DLGLOBAL         0
10612 #  endif
10613 #endif
10614
10615 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10616    find out it does not work in some platform. */
10617 #ifndef LT_DLLAZY_OR_NOW
10618 #  ifdef RTLD_LAZY
10619 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10620 #  else
10621 #    ifdef DL_LAZY
10622 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10623 #    else
10624 #      ifdef RTLD_NOW
10625 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10626 #      else
10627 #        ifdef DL_NOW
10628 #          define LT_DLLAZY_OR_NOW      DL_NOW
10629 #        else
10630 #          define LT_DLLAZY_OR_NOW      0
10631 #        endif
10632 #      endif
10633 #    endif
10634 #  endif
10635 #endif
10636
10637 #ifdef __cplusplus
10638 extern "C" void exit (int);
10639 #endif
10640
10641 void fnord() { int i=42;}
10642 int main ()
10643 {
10644   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10645   int status = $lt_dlunknown;
10646
10647   if (self)
10648     {
10649       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10650       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10651       /* dlclose (self); */
10652     }
10653   else
10654     puts (dlerror ());
10655
10656     exit (status);
10657 }
10658 _LT_EOF
10659   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10660   (eval $ac_link) 2>&5
10661   ac_status=$?
10662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10664     (./conftest; exit; ) >&5 2>/dev/null
10665     lt_status=$?
10666     case x$lt_status in
10667       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10668       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10669       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10670     esac
10671   else :
10672     # compilation failed
10673     lt_cv_dlopen_self_static=no
10674   fi
10675 fi
10676 rm -fr conftest*
10677
10678
10679 fi
10680 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10681 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10682     fi
10683
10684     CPPFLAGS="$save_CPPFLAGS"
10685     LDFLAGS="$save_LDFLAGS"
10686     LIBS="$save_LIBS"
10687     ;;
10688   esac
10689
10690   case $lt_cv_dlopen_self in
10691   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10692   *) enable_dlopen_self=unknown ;;
10693   esac
10694
10695   case $lt_cv_dlopen_self_static in
10696   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10697   *) enable_dlopen_self_static=unknown ;;
10698   esac
10699 fi
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717 striplib=
10718 old_striplib=
10719 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10720 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10721 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10722   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10723   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10724   echo "$as_me:$LINENO: result: yes" >&5
10725 echo "${ECHO_T}yes" >&6
10726 else
10727 # FIXME - insert some real tests, host_os isn't really good enough
10728   case $host_os in
10729   darwin*)
10730     if test -n "$STRIP" ; then
10731       striplib="$STRIP -x"
10732       old_striplib="$STRIP -S"
10733       echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10735     else
10736       echo "$as_me:$LINENO: result: no" >&5
10737 echo "${ECHO_T}no" >&6
10738     fi
10739     ;;
10740   *)
10741     echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10743     ;;
10744   esac
10745 fi
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758   # Report which library types will actually be built
10759   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10760 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10761   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10762 echo "${ECHO_T}$can_build_shared" >&6
10763
10764   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10765 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10766   test "$can_build_shared" = "no" && enable_shared=no
10767
10768   # On AIX, shared libraries and static libraries use the same namespace, and
10769   # are all built from PIC.
10770   case $host_os in
10771   aix3*)
10772     test "$enable_shared" = yes && enable_static=no
10773     if test -n "$RANLIB"; then
10774       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10775       postinstall_cmds='$RANLIB $lib'
10776     fi
10777     ;;
10778
10779   aix[4-9]*)
10780     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10781       test "$enable_shared" = yes && enable_static=no
10782     fi
10783     ;;
10784   esac
10785   echo "$as_me:$LINENO: result: $enable_shared" >&5
10786 echo "${ECHO_T}$enable_shared" >&6
10787
10788   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10789 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10790   # Make sure either enable_shared or enable_static is yes.
10791   test "$enable_shared" = yes || enable_static=yes
10792   echo "$as_me:$LINENO: result: $enable_static" >&5
10793 echo "${ECHO_T}$enable_static" >&6
10794
10795
10796
10797
10798 fi
10799 ac_ext=c
10800 ac_cpp='$CPP $CPPFLAGS'
10801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10804
10805 CC="$lt_save_CC"
10806
10807
10808 ac_ext=cc
10809 ac_cpp='$CXXCPP $CPPFLAGS'
10810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10813
10814 archive_cmds_need_lc_CXX=no
10815 allow_undefined_flag_CXX=
10816 always_export_symbols_CXX=no
10817 archive_expsym_cmds_CXX=
10818 compiler_needs_object_CXX=no
10819 export_dynamic_flag_spec_CXX=
10820 hardcode_direct_CXX=no
10821 hardcode_direct_absolute_CXX=no
10822 hardcode_libdir_flag_spec_CXX=
10823 hardcode_libdir_flag_spec_ld_CXX=
10824 hardcode_libdir_separator_CXX=
10825 hardcode_minus_L_CXX=no
10826 hardcode_shlibpath_var_CXX=unsupported
10827 hardcode_automatic_CXX=no
10828 inherit_rpath_CXX=no
10829 module_cmds_CXX=
10830 module_expsym_cmds_CXX=
10831 link_all_deplibs_CXX=unknown
10832 old_archive_cmds_CXX=$old_archive_cmds
10833 no_undefined_flag_CXX=
10834 whole_archive_flag_spec_CXX=
10835 enable_shared_with_static_runtimes_CXX=no
10836
10837 # Source file extension for C++ test sources.
10838 ac_ext=cpp
10839
10840 # Object file extension for compiled C++ test sources.
10841 objext=o
10842 objext_CXX=$objext
10843
10844 # No sense in running all these tests if we already determined that
10845 # the CXX compiler isn't working.  Some variables (like enable_shared)
10846 # are currently assumed to apply to all compilers on this platform,
10847 # and will be corrupted by setting them based on a non-working compiler.
10848 if test "$_lt_caught_CXX_error" != yes; then
10849   # Code to be used in simple compile tests
10850   lt_simple_compile_test_code="int some_variable = 0;"
10851
10852   # Code to be used in simple link tests
10853   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10854
10855   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10856
10857
10858
10859
10860
10861
10862 # If no C compiler was specified, use CC.
10863 LTCC=${LTCC-"$CC"}
10864
10865 # If no C compiler flags were specified, use CFLAGS.
10866 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10867
10868 # Allow CC to be a program name with arguments.
10869 compiler=$CC
10870
10871
10872   # save warnings/boilerplate of simple test code
10873   ac_outfile=conftest.$ac_objext
10874 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10875 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10876 _lt_compiler_boilerplate=`cat conftest.err`
10877 $RM conftest*
10878
10879   ac_outfile=conftest.$ac_objext
10880 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10881 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10882 _lt_linker_boilerplate=`cat conftest.err`
10883 $RM conftest*
10884
10885
10886   # Allow CC to be a program name with arguments.
10887   lt_save_CC=$CC
10888   lt_save_LD=$LD
10889   lt_save_GCC=$GCC
10890   GCC=$GXX
10891   lt_save_with_gnu_ld=$with_gnu_ld
10892   lt_save_path_LD=$lt_cv_path_LD
10893   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10894     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10895   else
10896     $as_unset lt_cv_prog_gnu_ld
10897   fi
10898   if test -n "${lt_cv_path_LDCXX+set}"; then
10899     lt_cv_path_LD=$lt_cv_path_LDCXX
10900   else
10901     $as_unset lt_cv_path_LD
10902   fi
10903   test -z "${LDCXX+set}" || LD=$LDCXX
10904   CC=${CXX-"c++"}
10905   compiler=$CC
10906   compiler_CXX=$CC
10907   for cc_temp in $compiler""; do
10908   case $cc_temp in
10909     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10910     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10911     \-*) ;;
10912     *) break;;
10913   esac
10914 done
10915 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10916
10917
10918   if test -n "$compiler"; then
10919     # We don't want -fno-exception when compiling C++ code, so set the
10920     # no_builtin_flag separately
10921     if test "$GXX" = yes; then
10922       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10923     else
10924       lt_prog_compiler_no_builtin_flag_CXX=
10925     fi
10926
10927     if test "$GXX" = yes; then
10928       # Set up default GNU C++ configuration
10929
10930
10931
10932 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10933 if test "${with_gnu_ld+set}" = set; then
10934   withval="$with_gnu_ld"
10935   test "$withval" = no || with_gnu_ld=yes
10936 else
10937   with_gnu_ld=no
10938 fi;
10939 ac_prog=ld
10940 if test "$GCC" = yes; then
10941   # Check if gcc -print-prog-name=ld gives a path.
10942   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10943 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10944   case $host in
10945   *-*-mingw*)
10946     # gcc leaves a trailing carriage return which upsets mingw
10947     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10948   *)
10949     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10950   esac
10951   case $ac_prog in
10952     # Accept absolute paths.
10953     [\\/]* | ?:[\\/]*)
10954       re_direlt='/[^/][^/]*/\.\./'
10955       # Canonicalize the pathname of ld
10956       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10957       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10958         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10959       done
10960       test -z "$LD" && LD="$ac_prog"
10961       ;;
10962   "")
10963     # If it fails, then pretend we aren't using GCC.
10964     ac_prog=ld
10965     ;;
10966   *)
10967     # If it is relative, then search for the first ld in PATH.
10968     with_gnu_ld=unknown
10969     ;;
10970   esac
10971 elif test "$with_gnu_ld" = yes; then
10972   echo "$as_me:$LINENO: checking for GNU ld" >&5
10973 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10974 else
10975   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10976 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10977 fi
10978 if test "${lt_cv_path_LD+set}" = set; then
10979   echo $ECHO_N "(cached) $ECHO_C" >&6
10980 else
10981   if test -z "$LD"; then
10982   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10983   for ac_dir in $PATH; do
10984     IFS="$lt_save_ifs"
10985     test -z "$ac_dir" && ac_dir=.
10986     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10987       lt_cv_path_LD="$ac_dir/$ac_prog"
10988       # Check to see if the program is GNU ld.  I'd rather use --version,
10989       # but apparently some variants of GNU ld only accept -v.
10990       # Break only if it was the GNU/non-GNU ld that we prefer.
10991       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10992       *GNU* | *'with BFD'*)
10993         test "$with_gnu_ld" != no && break
10994         ;;
10995       *)
10996         test "$with_gnu_ld" != yes && break
10997         ;;
10998       esac
10999     fi
11000   done
11001   IFS="$lt_save_ifs"
11002 else
11003   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11004 fi
11005 fi
11006
11007 LD="$lt_cv_path_LD"
11008 if test -n "$LD"; then
11009   echo "$as_me:$LINENO: result: $LD" >&5
11010 echo "${ECHO_T}$LD" >&6
11011 else
11012   echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11014 fi
11015 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11016 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11017    { (exit 1); exit 1; }; }
11018 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11019 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11020 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11021   echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11023   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11024 case `$LD -v 2>&1 </dev/null` in
11025 *GNU* | *'with BFD'*)
11026   lt_cv_prog_gnu_ld=yes
11027   ;;
11028 *)
11029   lt_cv_prog_gnu_ld=no
11030   ;;
11031 esac
11032 fi
11033 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11034 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11035 with_gnu_ld=$lt_cv_prog_gnu_ld
11036
11037
11038
11039
11040
11041
11042
11043       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11044       # archiving commands below assume that GNU ld is being used.
11045       if test "$with_gnu_ld" = yes; then
11046         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11047         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'
11048
11049         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11050         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11051
11052         # If archive_cmds runs LD, not CC, wlarc should be empty
11053         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11054         #     investigate it a little bit more. (MM)
11055         wlarc='${wl}'
11056
11057         # ancient GNU ld didn't support --whole-archive et. al.
11058         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11059           $GREP 'no-whole-archive' > /dev/null; then
11060           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11061         else
11062           whole_archive_flag_spec_CXX=
11063         fi
11064       else
11065         with_gnu_ld=no
11066         wlarc=
11067
11068         # A generic and very simple default shared library creation
11069         # command for GNU C++ for the case where it uses the native
11070         # linker, instead of GNU ld.  If possible, this setting should
11071         # overridden to take advantage of the native linker features on
11072         # the platform it is being used on.
11073         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11074       fi
11075
11076       # Commands to make compiler produce verbose output that lists
11077       # what "hidden" libraries, object files and flags are used when
11078       # linking a shared library.
11079       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11080
11081     else
11082       GXX=no
11083       with_gnu_ld=no
11084       wlarc=
11085     fi
11086
11087     # PORTME: fill in a description of your system's C++ link characteristics
11088     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11089 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11090     ld_shlibs_CXX=yes
11091     case $host_os in
11092       aix3*)
11093         # FIXME: insert proper C++ library support
11094         ld_shlibs_CXX=no
11095         ;;
11096       aix[4-9]*)
11097         if test "$host_cpu" = ia64; then
11098           # On IA64, the linker does run time linking by default, so we don't
11099           # have to do anything special.
11100           aix_use_runtimelinking=no
11101           exp_sym_flag='-Bexport'
11102           no_entry_flag=""
11103         else
11104           aix_use_runtimelinking=no
11105
11106           # Test if we are trying to use run time linking or normal
11107           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11108           # need to do runtime linking.
11109           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11110             for ld_flag in $LDFLAGS; do
11111               case $ld_flag in
11112               *-brtl*)
11113                 aix_use_runtimelinking=yes
11114                 break
11115                 ;;
11116               esac
11117             done
11118             ;;
11119           esac
11120
11121           exp_sym_flag='-bexport'
11122           no_entry_flag='-bnoentry'
11123         fi
11124
11125         # When large executables or shared objects are built, AIX ld can
11126         # have problems creating the table of contents.  If linking a library
11127         # or program results in "error TOC overflow" add -mminimal-toc to
11128         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11129         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11130
11131         archive_cmds_CXX=''
11132         hardcode_direct_CXX=yes
11133         hardcode_direct_absolute_CXX=yes
11134         hardcode_libdir_separator_CXX=':'
11135         link_all_deplibs_CXX=yes
11136         file_list_spec_CXX='${wl}-f,'
11137
11138         if test "$GXX" = yes; then
11139           case $host_os in aix4.[012]|aix4.[012].*)
11140           # We only want to do this on AIX 4.2 and lower, the check
11141           # below for broken collect2 doesn't work under 4.3+
11142           collect2name=`${CC} -print-prog-name=collect2`
11143           if test -f "$collect2name" &&
11144              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11145           then
11146             # We have reworked collect2
11147             :
11148           else
11149             # We have old collect2
11150             hardcode_direct_CXX=unsupported
11151             # It fails to find uninstalled libraries when the uninstalled
11152             # path is not listed in the libpath.  Setting hardcode_minus_L
11153             # to unsupported forces relinking
11154             hardcode_minus_L_CXX=yes
11155             hardcode_libdir_flag_spec_CXX='-L$libdir'
11156             hardcode_libdir_separator_CXX=
11157           fi
11158           esac
11159           shared_flag='-shared'
11160           if test "$aix_use_runtimelinking" = yes; then
11161             shared_flag="$shared_flag "'${wl}-G'
11162           fi
11163         else
11164           # not using gcc
11165           if test "$host_cpu" = ia64; then
11166           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11167           # chokes on -Wl,-G. The following line is correct:
11168           shared_flag='-G'
11169           else
11170             if test "$aix_use_runtimelinking" = yes; then
11171               shared_flag='${wl}-G'
11172             else
11173               shared_flag='${wl}-bM:SRE'
11174             fi
11175           fi
11176         fi
11177
11178         # It seems that -bexpall does not export symbols beginning with
11179         # underscore (_), so it is better to generate a list of symbols to
11180         # export.
11181         always_export_symbols_CXX=yes
11182         if test "$aix_use_runtimelinking" = yes; then
11183           # Warning - without using the other runtime loading flags (-brtl),
11184           # -berok will link without error, but may produce a broken library.
11185           allow_undefined_flag_CXX='-berok'
11186           # Determine the default libpath from the value encoded in an empty
11187           # executable.
11188           if test x$gcc_no_link = xyes; then
11189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11191    { (exit 1); exit 1; }; }
11192 fi
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h.  */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h.  */
11199
11200 int
11201 main ()
11202 {
11203
11204   ;
11205   return 0;
11206 }
11207 _ACEOF
11208 rm -f conftest.$ac_objext conftest$ac_exeext
11209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11210   (eval $ac_link) 2>conftest.er1
11211   ac_status=$?
11212   grep -v '^ *+' conftest.er1 >conftest.err
11213   rm -f conftest.er1
11214   cat conftest.err >&5
11215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216   (exit $ac_status); } &&
11217          { ac_try='test -z "$ac_cxx_werror_flag"
11218                          || test ! -s conftest.err'
11219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220   (eval $ac_try) 2>&5
11221   ac_status=$?
11222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223   (exit $ac_status); }; } &&
11224          { ac_try='test -s conftest$ac_exeext'
11225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226   (eval $ac_try) 2>&5
11227   ac_status=$?
11228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229   (exit $ac_status); }; }; then
11230
11231 lt_aix_libpath_sed='
11232     /Import File Strings/,/^$/ {
11233         /^0/ {
11234             s/^0  *\(.*\)$/\1/
11235             p
11236         }
11237     }'
11238 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239 # Check for a 64-bit object if we didn't find anything.
11240 if test -z "$aix_libpath"; then
11241   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11242 fi
11243 else
11244   echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11246
11247 fi
11248 rm -f conftest.err conftest.$ac_objext \
11249       conftest$ac_exeext conftest.$ac_ext
11250 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11251
11252           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11253
11254           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"
11255         else
11256           if test "$host_cpu" = ia64; then
11257             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11258             allow_undefined_flag_CXX="-z nodefs"
11259             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"
11260           else
11261             # Determine the default libpath from the value encoded in an
11262             # empty executable.
11263             if test x$gcc_no_link = xyes; then
11264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11266    { (exit 1); exit 1; }; }
11267 fi
11268 cat >conftest.$ac_ext <<_ACEOF
11269 /* confdefs.h.  */
11270 _ACEOF
11271 cat confdefs.h >>conftest.$ac_ext
11272 cat >>conftest.$ac_ext <<_ACEOF
11273 /* end confdefs.h.  */
11274
11275 int
11276 main ()
11277 {
11278
11279   ;
11280   return 0;
11281 }
11282 _ACEOF
11283 rm -f conftest.$ac_objext conftest$ac_exeext
11284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11285   (eval $ac_link) 2>conftest.er1
11286   ac_status=$?
11287   grep -v '^ *+' conftest.er1 >conftest.err
11288   rm -f conftest.er1
11289   cat conftest.err >&5
11290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291   (exit $ac_status); } &&
11292          { ac_try='test -z "$ac_cxx_werror_flag"
11293                          || test ! -s conftest.err'
11294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295   (eval $ac_try) 2>&5
11296   ac_status=$?
11297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298   (exit $ac_status); }; } &&
11299          { ac_try='test -s conftest$ac_exeext'
11300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301   (eval $ac_try) 2>&5
11302   ac_status=$?
11303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304   (exit $ac_status); }; }; then
11305
11306 lt_aix_libpath_sed='
11307     /Import File Strings/,/^$/ {
11308         /^0/ {
11309             s/^0  *\(.*\)$/\1/
11310             p
11311         }
11312     }'
11313 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314 # Check for a 64-bit object if we didn't find anything.
11315 if test -z "$aix_libpath"; then
11316   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11317 fi
11318 else
11319   echo "$as_me: failed program was:" >&5
11320 sed 's/^/| /' conftest.$ac_ext >&5
11321
11322 fi
11323 rm -f conftest.err conftest.$ac_objext \
11324       conftest$ac_exeext conftest.$ac_ext
11325 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11326
11327             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11328             # Warning - without using the other run time loading flags,
11329             # -berok will link without error, but may produce a broken library.
11330             no_undefined_flag_CXX=' ${wl}-bernotok'
11331             allow_undefined_flag_CXX=' ${wl}-berok'
11332             # Exported symbols can be pulled into shared objects from archives
11333             whole_archive_flag_spec_CXX='$convenience'
11334             archive_cmds_need_lc_CXX=yes
11335             # This is similar to how AIX traditionally builds its shared
11336             # libraries.
11337             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'
11338           fi
11339         fi
11340         ;;
11341
11342       beos*)
11343         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11344           allow_undefined_flag_CXX=unsupported
11345           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11346           # support --undefined.  This deserves some investigation.  FIXME
11347           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11348         else
11349           ld_shlibs_CXX=no
11350         fi
11351         ;;
11352
11353       chorus*)
11354         case $cc_basename in
11355           *)
11356           # FIXME: insert proper C++ library support
11357           ld_shlibs_CXX=no
11358           ;;
11359         esac
11360         ;;
11361
11362       cygwin* | mingw* | pw32*)
11363         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11364         # as there is no search path for DLLs.
11365         hardcode_libdir_flag_spec_CXX='-L$libdir'
11366         allow_undefined_flag_CXX=unsupported
11367         always_export_symbols_CXX=no
11368         enable_shared_with_static_runtimes_CXX=yes
11369
11370         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11371           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'
11372           # If the export-symbols file already is a .def file (1st line
11373           # is EXPORTS), use it as is; otherwise, prepend...
11374           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11375             cp $export_symbols $output_objdir/$soname.def;
11376           else
11377             echo EXPORTS > $output_objdir/$soname.def;
11378             cat $export_symbols >> $output_objdir/$soname.def;
11379           fi~
11380           $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'
11381         else
11382           ld_shlibs_CXX=no
11383         fi
11384         ;;
11385       darwin* | rhapsody*)
11386         case $host_os in
11387           rhapsody* | darwin1.[012])
11388             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11389             ;;
11390           *) # Darwin 1.3 on
11391             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11392               10.[012])
11393                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11394                 ;;
11395               10.*)
11396                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11397                 ;;
11398             esac
11399             ;;
11400         esac
11401         archive_cmds_need_lc_CXX=no
11402         hardcode_direct_CXX=no
11403         hardcode_automatic_CXX=yes
11404         hardcode_shlibpath_var_CXX=unsupported
11405         whole_archive_flag_spec_CXX=''
11406         link_all_deplibs_CXX=yes
11407
11408         if test "$GXX" = yes ; then
11409           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11410   echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412   lt_cv_apple_cc_single_mod=no
11413           if test -z "${LT_MULTI_MODULE}"; then
11414             # By default we will add the -single_module flag. You can override
11415             # by either setting the environment variable LT_MULTI_MODULE
11416             # non-empty at configure time, or by adding -multi-module to the
11417             # link flags.
11418             echo "int foo(void){return 1;}" > conftest.c
11419             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11420                 -dynamiclib ${wl}-single_module conftest.c
11421             if test -f libconftest.dylib; then
11422                 lt_cv_apple_cc_single_mod=yes
11423                 rm libconftest.dylib
11424             fi
11425             rm conftest.$ac_ext
11426           fi
11427 fi
11428
11429           output_verbose_link_cmd=echo
11430           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11431            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11432             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}'
11433           else
11434             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'
11435             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}'
11436           fi
11437           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11438           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}'
11439         else
11440           case $cc_basename in
11441             xlc*)
11442               output_verbose_link_cmd=echo
11443               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'
11444               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11445               # Don't fix this by using the ld -exported_symbols_list flag,
11446               # it doesn't exist in older darwin lds
11447               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}'
11448               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}'
11449               ;;
11450             *)
11451               ld_shlibs_CXX=no
11452               ;;
11453           esac
11454         fi
11455         ;;
11456
11457       dgux*)
11458         case $cc_basename in
11459           ec++*)
11460             # FIXME: insert proper C++ library support
11461             ld_shlibs_CXX=no
11462             ;;
11463           ghcx*)
11464             # Green Hills C++ Compiler
11465             # FIXME: insert proper C++ library support
11466             ld_shlibs_CXX=no
11467             ;;
11468           *)
11469             # FIXME: insert proper C++ library support
11470             ld_shlibs_CXX=no
11471             ;;
11472         esac
11473         ;;
11474
11475       freebsd[12]*)
11476         # C++ shared libraries reported to be fairly broken before
11477         # switch to ELF
11478         ld_shlibs_CXX=no
11479         ;;
11480
11481       freebsd-elf*)
11482         archive_cmds_need_lc_CXX=no
11483         ;;
11484
11485       freebsd* | dragonfly*)
11486         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11487         # conventions
11488         ld_shlibs_CXX=yes
11489         ;;
11490
11491       gnu*)
11492         ;;
11493
11494       hpux9*)
11495         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11496         hardcode_libdir_separator_CXX=:
11497         export_dynamic_flag_spec_CXX='${wl}-E'
11498         hardcode_direct_CXX=yes
11499         hardcode_minus_L_CXX=yes # Not in the search PATH,
11500                                              # but as the default
11501                                              # location of the library.
11502
11503         case $cc_basename in
11504           CC*)
11505             # FIXME: insert proper C++ library support
11506             ld_shlibs_CXX=no
11507             ;;
11508           aCC*)
11509             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'
11510             # Commands to make compiler produce verbose output that lists
11511             # what "hidden" libraries, object files and flags are used when
11512             # linking a shared library.
11513             #
11514             # There doesn't appear to be a way to prevent this compiler from
11515             # explicitly linking system object files so we need to strip them
11516             # from the output so that they don't get included in the library
11517             # dependencies.
11518             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'
11519             ;;
11520           *)
11521             if test "$GXX" = yes; then
11522               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'
11523             else
11524               # FIXME: insert proper C++ library support
11525               ld_shlibs_CXX=no
11526             fi
11527             ;;
11528         esac
11529         ;;
11530
11531       hpux10*|hpux11*)
11532         if test $with_gnu_ld = no; then
11533           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11534           hardcode_libdir_separator_CXX=:
11535
11536           case $host_cpu in
11537             hppa*64*|ia64*)
11538               ;;
11539             *)
11540               export_dynamic_flag_spec_CXX='${wl}-E'
11541               ;;
11542           esac
11543         fi
11544         case $host_cpu in
11545           hppa*64*|ia64*)
11546             hardcode_direct_CXX=no
11547             hardcode_shlibpath_var_CXX=no
11548             ;;
11549           *)
11550             hardcode_direct_CXX=yes
11551             hardcode_direct_absolute_CXX=yes
11552             hardcode_minus_L_CXX=yes # Not in the search PATH,
11553                                                  # but as the default
11554                                                  # location of the library.
11555             ;;
11556         esac
11557
11558         case $cc_basename in
11559           CC*)
11560             # FIXME: insert proper C++ library support
11561             ld_shlibs_CXX=no
11562             ;;
11563           aCC*)
11564             case $host_cpu in
11565               hppa*64*)
11566                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11567                 ;;
11568               ia64*)
11569                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570                 ;;
11571               *)
11572                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11573                 ;;
11574             esac
11575             # Commands to make compiler produce verbose output that lists
11576             # what "hidden" libraries, object files and flags are used when
11577             # linking a shared library.
11578             #
11579             # There doesn't appear to be a way to prevent this compiler from
11580             # explicitly linking system object files so we need to strip them
11581             # from the output so that they don't get included in the library
11582             # dependencies.
11583             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'
11584             ;;
11585           *)
11586             if test "$GXX" = yes; then
11587               if test $with_gnu_ld = no; then
11588                 case $host_cpu in
11589                   hppa*64*)
11590                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11591                     ;;
11592                   ia64*)
11593                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11594                     ;;
11595                   *)
11596                     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'
11597                     ;;
11598                 esac
11599               fi
11600             else
11601               # FIXME: insert proper C++ library support
11602               ld_shlibs_CXX=no
11603             fi
11604             ;;
11605         esac
11606         ;;
11607
11608       interix[3-9]*)
11609         hardcode_direct_CXX=no
11610         hardcode_shlibpath_var_CXX=no
11611         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11612         export_dynamic_flag_spec_CXX='${wl}-E'
11613         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11614         # Instead, shared libraries are loaded at an image base (0x10000000 by
11615         # default) and relocated if they conflict, which is a slow very memory
11616         # consuming and fragmenting process.  To avoid this, we pick a random,
11617         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11618         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11619         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'
11620         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'
11621         ;;
11622       irix5* | irix6*)
11623         case $cc_basename in
11624           CC*)
11625             # SGI C++
11626             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'
11627
11628             # Archives containing C++ object files must be created using
11629             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11630             # necessary to make sure instantiated templates are included
11631             # in the archive.
11632             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11633             ;;
11634           *)
11635             if test "$GXX" = yes; then
11636               if test "$with_gnu_ld" = no; then
11637                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11638               else
11639                 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'
11640               fi
11641             fi
11642             link_all_deplibs_CXX=yes
11643             ;;
11644         esac
11645         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11646         hardcode_libdir_separator_CXX=:
11647         inherit_rpath_CXX=yes
11648         ;;
11649
11650       linux* | k*bsd*-gnu)
11651         case $cc_basename in
11652           KCC*)
11653             # Kuck and Associates, Inc. (KAI) C++ Compiler
11654
11655             # KCC will only create a shared library if the output file
11656             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11657             # to its proper name (with version) after linking.
11658             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'
11659             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'
11660             # Commands to make compiler produce verbose output that lists
11661             # what "hidden" libraries, object files and flags are used when
11662             # linking a shared library.
11663             #
11664             # There doesn't appear to be a way to prevent this compiler from
11665             # explicitly linking system object files so we need to strip them
11666             # from the output so that they don't get included in the library
11667             # dependencies.
11668             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'
11669
11670             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11671             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11672
11673             # Archives containing C++ object files must be created using
11674             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11675             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11676             ;;
11677           icpc* | ecpc* )
11678             # Intel C++
11679             with_gnu_ld=yes
11680             # version 8.0 and above of icpc choke on multiply defined symbols
11681             # if we add $predep_objects and $postdep_objects, however 7.1 and
11682             # earlier do not add the objects themselves.
11683             case `$CC -V 2>&1` in
11684               *"Version 7."*)
11685                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11686                 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'
11687                 ;;
11688               *)  # Version 8.0 or newer
11689                 tmp_idyn=
11690                 case $host_cpu in
11691                   ia64*) tmp_idyn=' -i_dynamic';;
11692                 esac
11693                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11694                 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'
11695                 ;;
11696             esac
11697             archive_cmds_need_lc_CXX=no
11698             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11699             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11700             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11701             ;;
11702           pgCC*)
11703             # Portland Group C++ compiler
11704             case `$CC -V` in
11705             *pgCC\ [1-5]*)
11706               prelink_cmds_CXX='tpldir=Template.dir~
11707                 rm -rf $tpldir~
11708                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11709                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11710               old_archive_cmds_CXX='tpldir=Template.dir~
11711                 rm -rf $tpldir~
11712                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11713                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11714                 $RANLIB $oldlib'
11715               archive_cmds_CXX='tpldir=Template.dir~
11716                 rm -rf $tpldir~
11717                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11719               archive_expsym_cmds_CXX='tpldir=Template.dir~
11720                 rm -rf $tpldir~
11721                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11722                 $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'
11723               ;;
11724             *) # Version 6 will use weak symbols
11725               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11726               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'
11727               ;;
11728             esac
11729
11730             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11731             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11732             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'
11733             ;;
11734           cxx*)
11735             # Compaq C++
11736             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11737             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'
11738
11739             runpath_var=LD_RUN_PATH
11740             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11741             hardcode_libdir_separator_CXX=:
11742
11743             # Commands to make compiler produce verbose output that lists
11744             # what "hidden" libraries, object files and flags are used when
11745             # linking a shared library.
11746             #
11747             # There doesn't appear to be a way to prevent this compiler from
11748             # explicitly linking system object files so we need to strip them
11749             # from the output so that they don't get included in the library
11750             # dependencies.
11751             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'
11752             ;;
11753           *)
11754             case `$CC -V 2>&1 | sed 5q` in
11755             *Sun\ C*)
11756               # Sun C++ 5.9
11757               no_undefined_flag_CXX=' -zdefs'
11758               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11759               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'
11760               hardcode_libdir_flag_spec_CXX='-R$libdir'
11761               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'
11762               compiler_needs_object_CXX=yes
11763
11764               # Not sure whether something based on
11765               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11766               # would be better.
11767               output_verbose_link_cmd='echo'
11768
11769               # Archives containing C++ object files must be created using
11770               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11771               # necessary to make sure instantiated templates are included
11772               # in the archive.
11773               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11774               ;;
11775             esac
11776             ;;
11777         esac
11778         ;;
11779
11780       lynxos*)
11781         # FIXME: insert proper C++ library support
11782         ld_shlibs_CXX=no
11783         ;;
11784
11785       m88k*)
11786         # FIXME: insert proper C++ library support
11787         ld_shlibs_CXX=no
11788         ;;
11789
11790       mvs*)
11791         case $cc_basename in
11792           cxx*)
11793             # FIXME: insert proper C++ library support
11794             ld_shlibs_CXX=no
11795             ;;
11796           *)
11797             # FIXME: insert proper C++ library support
11798             ld_shlibs_CXX=no
11799             ;;
11800         esac
11801         ;;
11802
11803       netbsd*)
11804         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11805           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11806           wlarc=
11807           hardcode_libdir_flag_spec_CXX='-R$libdir'
11808           hardcode_direct_CXX=yes
11809           hardcode_shlibpath_var_CXX=no
11810         fi
11811         # Workaround some broken pre-1.5 toolchains
11812         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11813         ;;
11814
11815       *nto* | *qnx*)
11816         ld_shlibs_CXX=yes
11817         ;;
11818
11819       openbsd2*)
11820         # C++ shared libraries are fairly broken
11821         ld_shlibs_CXX=no
11822         ;;
11823
11824       openbsd*)
11825         hardcode_direct_CXX=yes
11826         hardcode_shlibpath_var_CXX=no
11827         hardcode_direct_absolute_CXX=yes
11828         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11829         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11830         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11831           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11832           export_dynamic_flag_spec_CXX='${wl}-E'
11833           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11834         fi
11835         output_verbose_link_cmd=echo
11836         ;;
11837
11838       osf3* | osf4* | osf5*)
11839         case $cc_basename in
11840           KCC*)
11841             # Kuck and Associates, Inc. (KAI) C++ Compiler
11842
11843             # KCC will only create a shared library if the output file
11844             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11845             # to its proper name (with version) after linking.
11846             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'
11847
11848             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11849             hardcode_libdir_separator_CXX=:
11850
11851             # Archives containing C++ object files must be created using
11852             # the KAI C++ compiler.
11853             case $host in
11854               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11855               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11856             esac
11857             ;;
11858           RCC*)
11859             # Rational C++ 2.4.1
11860             # FIXME: insert proper C++ library support
11861             ld_shlibs_CXX=no
11862             ;;
11863           cxx*)
11864             case $host in
11865               osf3*)
11866                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11867                 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'
11868                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11869                 ;;
11870               *)
11871                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11872                 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'
11873                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11874                   echo "-hidden">> $lib.exp~
11875                   $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~
11876                   $RM $lib.exp'
11877                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11878                 ;;
11879             esac
11880
11881             hardcode_libdir_separator_CXX=:
11882
11883             # Commands to make compiler produce verbose output that lists
11884             # what "hidden" libraries, object files and flags are used when
11885             # linking a shared library.
11886             #
11887             # There doesn't appear to be a way to prevent this compiler from
11888             # explicitly linking system object files so we need to strip them
11889             # from the output so that they don't get included in the library
11890             # dependencies.
11891             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'
11892             ;;
11893           *)
11894             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11895               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11896               case $host in
11897                 osf3*)
11898                   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'
11899                   ;;
11900                 *)
11901                   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'
11902                   ;;
11903               esac
11904
11905               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11906               hardcode_libdir_separator_CXX=:
11907
11908               # Commands to make compiler produce verbose output that lists
11909               # what "hidden" libraries, object files and flags are used when
11910               # linking a shared library.
11911               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11912
11913             else
11914               # FIXME: insert proper C++ library support
11915               ld_shlibs_CXX=no
11916             fi
11917             ;;
11918         esac
11919         ;;
11920
11921       psos*)
11922         # FIXME: insert proper C++ library support
11923         ld_shlibs_CXX=no
11924         ;;
11925
11926       sunos4*)
11927         case $cc_basename in
11928           CC*)
11929             # Sun C++ 4.x
11930             # FIXME: insert proper C++ library support
11931             ld_shlibs_CXX=no
11932             ;;
11933           lcc*)
11934             # Lucid
11935             # FIXME: insert proper C++ library support
11936             ld_shlibs_CXX=no
11937             ;;
11938           *)
11939             # FIXME: insert proper C++ library support
11940             ld_shlibs_CXX=no
11941             ;;
11942         esac
11943         ;;
11944
11945       solaris*)
11946         case $cc_basename in
11947           CC*)
11948             # Sun C++ 4.2, 5.x and Centerline C++
11949             archive_cmds_need_lc_CXX=yes
11950             no_undefined_flag_CXX=' -zdefs'
11951             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11952             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11953               $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'
11954
11955             hardcode_libdir_flag_spec_CXX='-R$libdir'
11956             hardcode_shlibpath_var_CXX=no
11957             case $host_os in
11958               solaris2.[0-5] | solaris2.[0-5].*) ;;
11959               *)
11960                 # The compiler driver will combine and reorder linker options,
11961                 # but understands `-z linker_flag'.
11962                 # Supported since Solaris 2.6 (maybe 2.5.1?)
11963                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11964                 ;;
11965             esac
11966             link_all_deplibs_CXX=yes
11967
11968             output_verbose_link_cmd='echo'
11969
11970             # Archives containing C++ object files must be created using
11971             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11972             # necessary to make sure instantiated templates are included
11973             # in the archive.
11974             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11975             ;;
11976           gcx*)
11977             # Green Hills C++ Compiler
11978             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11979
11980             # The C++ compiler must be used to create the archive.
11981             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11982             ;;
11983           *)
11984             # GNU C++ compiler with Solaris linker
11985             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11986               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11987               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11988                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11989                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11990                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11991
11992                 # Commands to make compiler produce verbose output that lists
11993                 # what "hidden" libraries, object files and flags are used when
11994                 # linking a shared library.
11995                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11996               else
11997                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11998                 # platform.
11999                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12000                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12001                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12002
12003                 # Commands to make compiler produce verbose output that lists
12004                 # what "hidden" libraries, object files and flags are used when
12005                 # linking a shared library.
12006                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12007               fi
12008
12009               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12010               case $host_os in
12011                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12012                 *)
12013                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12014                   ;;
12015               esac
12016             fi
12017             ;;
12018         esac
12019         ;;
12020
12021     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12022       no_undefined_flag_CXX='${wl}-z,text'
12023       archive_cmds_need_lc_CXX=no
12024       hardcode_shlibpath_var_CXX=no
12025       runpath_var='LD_RUN_PATH'
12026
12027       case $cc_basename in
12028         CC*)
12029           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031           ;;
12032         *)
12033           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12034           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12035           ;;
12036       esac
12037       ;;
12038
12039       sysv5* | sco3.2v5* | sco5v6*)
12040         # Note: We can NOT use -z defs as we might desire, because we do not
12041         # link with -lc, and that would cause any symbols used from libc to
12042         # always be unresolved, which means just about no library would
12043         # ever link correctly.  If we're not using GNU ld we use -z text
12044         # though, which does catch some bad symbols but isn't as heavy-handed
12045         # as -z defs.
12046         no_undefined_flag_CXX='${wl}-z,text'
12047         allow_undefined_flag_CXX='${wl}-z,nodefs'
12048         archive_cmds_need_lc_CXX=no
12049         hardcode_shlibpath_var_CXX=no
12050         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12051         hardcode_libdir_separator_CXX=':'
12052         link_all_deplibs_CXX=yes
12053         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12054         runpath_var='LD_RUN_PATH'
12055
12056         case $cc_basename in
12057           CC*)
12058             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12060             ;;
12061           *)
12062             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12063             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12064             ;;
12065         esac
12066       ;;
12067
12068       tandem*)
12069         case $cc_basename in
12070           NCC*)
12071             # NonStop-UX NCC 3.20
12072             # FIXME: insert proper C++ library support
12073             ld_shlibs_CXX=no
12074             ;;
12075           *)
12076             # FIXME: insert proper C++ library support
12077             ld_shlibs_CXX=no
12078             ;;
12079         esac
12080         ;;
12081
12082       vxworks*)
12083         # FIXME: insert proper C++ library support
12084         ld_shlibs_CXX=no
12085         ;;
12086
12087       *)
12088         # FIXME: insert proper C++ library support
12089         ld_shlibs_CXX=no
12090         ;;
12091     esac
12092
12093     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12094 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12095     test "$ld_shlibs_CXX" = no && can_build_shared=no
12096
12097     GCC_CXX="$GXX"
12098     LD_CXX="$LD"
12099
12100     ## CAVEAT EMPTOR:
12101     ## There is no encapsulation within the following macros, do not change
12102     ## the running order or otherwise move them around unless you know exactly
12103     ## what you are doing...
12104     # Dependencies to place before and after the object being linked:
12105 predep_objects_CXX=
12106 postdep_objects_CXX=
12107 predeps_CXX=
12108 postdeps_CXX=
12109 compiler_lib_search_path_CXX=
12110
12111 cat > conftest.$ac_ext <<_LT_EOF
12112 class Foo
12113 {
12114 public:
12115   Foo (void) { a = 0; }
12116 private:
12117   int a;
12118 };
12119 _LT_EOF
12120
12121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12122   (eval $ac_compile) 2>&5
12123   ac_status=$?
12124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125   (exit $ac_status); }; then
12126   # Parse the compiler output and extract the necessary
12127   # objects, libraries and library flags.
12128
12129   # Sentinel used to keep track of whether or not we are before
12130   # the conftest object file.
12131   pre_test_object_deps_done=no
12132
12133   # The `*' in the case matches for architectures that use `case' in
12134   # $output_verbose_cmd can trigger glob expansion during the loop
12135   # eval without this substitution.
12136   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12137
12138   for p in `eval $output_verbose_link_cmd`; do
12139     case $p in
12140
12141     -L* | -R* | -l*)
12142        # Some compilers place space between "-{L,R}" and the path.
12143        # Remove the space.
12144        if test $p = "-L" ||
12145           test $p = "-R"; then
12146          prev=$p
12147          continue
12148        else
12149          prev=
12150        fi
12151
12152        if test "$pre_test_object_deps_done" = no; then
12153          case $p in
12154          -L* | -R*)
12155            # Internal compiler library paths should come after those
12156            # provided the user.  The postdeps already come after the
12157            # user supplied libs so there is no need to process them.
12158            if test -z "$compiler_lib_search_path_CXX"; then
12159              compiler_lib_search_path_CXX="${prev}${p}"
12160            else
12161              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12162            fi
12163            ;;
12164          # The "-l" case would never come before the object being
12165          # linked, so don't bother handling this case.
12166          esac
12167        else
12168          if test -z "$postdeps_CXX"; then
12169            postdeps_CXX="${prev}${p}"
12170          else
12171            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12172          fi
12173        fi
12174        ;;
12175
12176     *.$objext)
12177        # This assumes that the test object file only shows up
12178        # once in the compiler output.
12179        if test "$p" = "conftest.$objext"; then
12180          pre_test_object_deps_done=yes
12181          continue
12182        fi
12183
12184        if test "$pre_test_object_deps_done" = no; then
12185          if test -z "$predep_objects_CXX"; then
12186            predep_objects_CXX="$p"
12187          else
12188            predep_objects_CXX="$predep_objects_CXX $p"
12189          fi
12190        else
12191          if test -z "$postdep_objects_CXX"; then
12192            postdep_objects_CXX="$p"
12193          else
12194            postdep_objects_CXX="$postdep_objects_CXX $p"
12195          fi
12196        fi
12197        ;;
12198
12199     *) ;; # Ignore the rest.
12200
12201     esac
12202   done
12203
12204   # Clean up.
12205   rm -f a.out a.exe
12206 else
12207   echo "libtool.m4: error: problem compiling CXX test program"
12208 fi
12209
12210 $RM -f confest.$objext
12211
12212 # PORTME: override above test on systems where it is broken
12213 case $host_os in
12214 interix[3-9]*)
12215   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12216   # hack all around it, let's just trust "g++" to DTRT.
12217   predep_objects_CXX=
12218   postdep_objects_CXX=
12219   postdeps_CXX=
12220   ;;
12221
12222 linux*)
12223   case `$CC -V 2>&1 | sed 5q` in
12224   *Sun\ C*)
12225     # Sun C++ 5.9
12226
12227     # The more standards-conforming stlport4 library is
12228     # incompatible with the Cstd library. Avoid specifying
12229     # it if it's in CXXFLAGS. Ignore libCrun as
12230     # -library=stlport4 depends on it.
12231     case " $CXX $CXXFLAGS " in
12232     *" -library=stlport4 "*)
12233       solaris_use_stlport4=yes
12234       ;;
12235     esac
12236
12237     if test "$solaris_use_stlport4" != yes; then
12238       postdeps_CXX='-library=Cstd -library=Crun'
12239     fi
12240     ;;
12241   esac
12242   ;;
12243
12244 solaris*)
12245   case $cc_basename in
12246   CC*)
12247     # The more standards-conforming stlport4 library is
12248     # incompatible with the Cstd library. Avoid specifying
12249     # it if it's in CXXFLAGS. Ignore libCrun as
12250     # -library=stlport4 depends on it.
12251     case " $CXX $CXXFLAGS " in
12252     *" -library=stlport4 "*)
12253       solaris_use_stlport4=yes
12254       ;;
12255     esac
12256
12257     # Adding this requires a known-good setup of shared libraries for
12258     # Sun compiler versions before 5.6, else PIC objects from an old
12259     # archive will be linked into the output, leading to subtle bugs.
12260     if test "$solaris_use_stlport4" != yes; then
12261       postdeps_CXX='-library=Cstd -library=Crun'
12262     fi
12263     ;;
12264   esac
12265   ;;
12266 esac
12267
12268
12269 case " $postdeps_CXX " in
12270 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12271 esac
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298     lt_prog_compiler_wl_CXX=
12299 lt_prog_compiler_pic_CXX=
12300 lt_prog_compiler_static_CXX=
12301
12302 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12303 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12304
12305   # C++ specific cases for pic, static, wl, etc.
12306   if test "$GXX" = yes; then
12307     lt_prog_compiler_wl_CXX='-Wl,'
12308     lt_prog_compiler_static_CXX='-static'
12309
12310     case $host_os in
12311     aix*)
12312       # All AIX code is PIC.
12313       if test "$host_cpu" = ia64; then
12314         # AIX 5 now supports IA64 processor
12315         lt_prog_compiler_static_CXX='-Bstatic'
12316       fi
12317       ;;
12318     amigaos*)
12319       if test "$host_cpu" = m68k; then
12320         # FIXME: we need at least 68020 code to build shared libraries, but
12321         # adding the `-m68020' flag to GCC prevents building anything better,
12322         # like `-m68040'.
12323         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12324       fi
12325       ;;
12326     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12327       # PIC is the default for these OSes.
12328       ;;
12329     mingw* | cygwin* | os2* | pw32*)
12330       # This hack is so that the source file can tell whether it is being
12331       # built for inclusion in a dll (and should export symbols for example).
12332       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12333       # (--disable-auto-import) libraries
12334       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12335       ;;
12336     darwin* | rhapsody*)
12337       # PIC is the default on this platform
12338       # Common symbols not allowed in MH_DYLIB files
12339       lt_prog_compiler_pic_CXX='-fno-common'
12340       ;;
12341     *djgpp*)
12342       # DJGPP does not support shared libraries at all
12343       lt_prog_compiler_pic_CXX=
12344       ;;
12345     interix[3-9]*)
12346       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12347       # Instead, we relocate shared libraries at runtime.
12348       ;;
12349     sysv4*MP*)
12350       if test -d /usr/nec; then
12351         lt_prog_compiler_pic_CXX=-Kconform_pic
12352       fi
12353       ;;
12354     hpux*)
12355       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12356       # not for PA HP-UX.
12357       case $host_cpu in
12358       hppa*64*|ia64*)
12359         ;;
12360       *)
12361         lt_prog_compiler_pic_CXX='-fPIC'
12362         ;;
12363       esac
12364       ;;
12365     *qnx* | *nto*)
12366       # QNX uses GNU C++, but need to define -shared option too, otherwise
12367       # it will coredump.
12368       lt_prog_compiler_pic_CXX='-fPIC -shared'
12369       ;;
12370     *)
12371       lt_prog_compiler_pic_CXX='-fPIC'
12372       ;;
12373     esac
12374   else
12375     case $host_os in
12376       aix[4-9]*)
12377         # All AIX code is PIC.
12378         if test "$host_cpu" = ia64; then
12379           # AIX 5 now supports IA64 processor
12380           lt_prog_compiler_static_CXX='-Bstatic'
12381         else
12382           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12383         fi
12384         ;;
12385       chorus*)
12386         case $cc_basename in
12387         cxch68*)
12388           # Green Hills C++ Compiler
12389           # _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"
12390           ;;
12391         esac
12392         ;;
12393       darwin*)
12394         # PIC is the default on this platform
12395         # Common symbols not allowed in MH_DYLIB files
12396         case $cc_basename in
12397           xlc*)
12398           lt_prog_compiler_pic_CXX='-qnocommon'
12399           lt_prog_compiler_wl_CXX='-Wl,'
12400           ;;
12401         esac
12402         ;;
12403       dgux*)
12404         case $cc_basename in
12405           ec++*)
12406             lt_prog_compiler_pic_CXX='-KPIC'
12407             ;;
12408           ghcx*)
12409             # Green Hills C++ Compiler
12410             lt_prog_compiler_pic_CXX='-pic'
12411             ;;
12412           *)
12413             ;;
12414         esac
12415         ;;
12416       freebsd* | dragonfly*)
12417         # FreeBSD uses GNU C++
12418         ;;
12419       hpux9* | hpux10* | hpux11*)
12420         case $cc_basename in
12421           CC*)
12422             lt_prog_compiler_wl_CXX='-Wl,'
12423             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12424             if test "$host_cpu" != ia64; then
12425               lt_prog_compiler_pic_CXX='+Z'
12426             fi
12427             ;;
12428           aCC*)
12429             lt_prog_compiler_wl_CXX='-Wl,'
12430             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12431             case $host_cpu in
12432             hppa*64*|ia64*)
12433               # +Z the default
12434               ;;
12435             *)
12436               lt_prog_compiler_pic_CXX='+Z'
12437               ;;
12438             esac
12439             ;;
12440           *)
12441             ;;
12442         esac
12443         ;;
12444       interix*)
12445         # This is c89, which is MS Visual C++ (no shared libs)
12446         # Anyone wants to do a port?
12447         ;;
12448       irix5* | irix6* | nonstopux*)
12449         case $cc_basename in
12450           CC*)
12451             lt_prog_compiler_wl_CXX='-Wl,'
12452             lt_prog_compiler_static_CXX='-non_shared'
12453             # CC pic flag -KPIC is the default.
12454             ;;
12455           *)
12456             ;;
12457         esac
12458         ;;
12459       linux* | k*bsd*-gnu)
12460         case $cc_basename in
12461           KCC*)
12462             # KAI C++ Compiler
12463             lt_prog_compiler_wl_CXX='--backend -Wl,'
12464             lt_prog_compiler_pic_CXX='-fPIC'
12465             ;;
12466           icpc* | ecpc* )
12467             # Intel C++
12468             lt_prog_compiler_wl_CXX='-Wl,'
12469             lt_prog_compiler_pic_CXX='-KPIC'
12470             lt_prog_compiler_static_CXX='-static'
12471             ;;
12472           pgCC*)
12473             # Portland Group C++ compiler
12474             lt_prog_compiler_wl_CXX='-Wl,'
12475             lt_prog_compiler_pic_CXX='-fpic'
12476             lt_prog_compiler_static_CXX='-Bstatic'
12477             ;;
12478           cxx*)
12479             # Compaq C++
12480             # Make sure the PIC flag is empty.  It appears that all Alpha
12481             # Linux and Compaq Tru64 Unix objects are PIC.
12482             lt_prog_compiler_pic_CXX=
12483             lt_prog_compiler_static_CXX='-non_shared'
12484             ;;
12485           *)
12486             case `$CC -V 2>&1 | sed 5q` in
12487             *Sun\ C*)
12488               # Sun C++ 5.9
12489               lt_prog_compiler_pic_CXX='-KPIC'
12490               lt_prog_compiler_static_CXX='-Bstatic'
12491               lt_prog_compiler_wl_CXX='-Qoption ld '
12492               ;;
12493             esac
12494             ;;
12495         esac
12496         ;;
12497       lynxos*)
12498         ;;
12499       m88k*)
12500         ;;
12501       mvs*)
12502         case $cc_basename in
12503           cxx*)
12504             lt_prog_compiler_pic_CXX='-W c,exportall'
12505             ;;
12506           *)
12507             ;;
12508         esac
12509         ;;
12510       netbsd*)
12511         ;;
12512       *qnx* | *nto*)
12513         # QNX uses GNU C++, but need to define -shared option too, otherwise
12514         # it will coredump.
12515         lt_prog_compiler_pic_CXX='-fPIC -shared'
12516         ;;
12517       osf3* | osf4* | osf5*)
12518         case $cc_basename in
12519           KCC*)
12520             lt_prog_compiler_wl_CXX='--backend -Wl,'
12521             ;;
12522           RCC*)
12523             # Rational C++ 2.4.1
12524             lt_prog_compiler_pic_CXX='-pic'
12525             ;;
12526           cxx*)
12527             # Digital/Compaq C++
12528             lt_prog_compiler_wl_CXX='-Wl,'
12529             # Make sure the PIC flag is empty.  It appears that all Alpha
12530             # Linux and Compaq Tru64 Unix objects are PIC.
12531             lt_prog_compiler_pic_CXX=
12532             lt_prog_compiler_static_CXX='-non_shared'
12533             ;;
12534           *)
12535             ;;
12536         esac
12537         ;;
12538       psos*)
12539         ;;
12540       solaris*)
12541         case $cc_basename in
12542           CC*)
12543             # Sun C++ 4.2, 5.x and Centerline C++
12544             lt_prog_compiler_pic_CXX='-KPIC'
12545             lt_prog_compiler_static_CXX='-Bstatic'
12546             lt_prog_compiler_wl_CXX='-Qoption ld '
12547             ;;
12548           gcx*)
12549             # Green Hills C++ Compiler
12550             lt_prog_compiler_pic_CXX='-PIC'
12551             ;;
12552           *)
12553             ;;
12554         esac
12555         ;;
12556       sunos4*)
12557         case $cc_basename in
12558           CC*)
12559             # Sun C++ 4.x
12560             lt_prog_compiler_pic_CXX='-pic'
12561             lt_prog_compiler_static_CXX='-Bstatic'
12562             ;;
12563           lcc*)
12564             # Lucid
12565             lt_prog_compiler_pic_CXX='-pic'
12566             ;;
12567           *)
12568             ;;
12569         esac
12570         ;;
12571       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12572         case $cc_basename in
12573           CC*)
12574             lt_prog_compiler_wl_CXX='-Wl,'
12575             lt_prog_compiler_pic_CXX='-KPIC'
12576             lt_prog_compiler_static_CXX='-Bstatic'
12577             ;;
12578         esac
12579         ;;
12580       tandem*)
12581         case $cc_basename in
12582           NCC*)
12583             # NonStop-UX NCC 3.20
12584             lt_prog_compiler_pic_CXX='-KPIC'
12585             ;;
12586           *)
12587             ;;
12588         esac
12589         ;;
12590       vxworks*)
12591         ;;
12592       *)
12593         lt_prog_compiler_can_build_shared_CXX=no
12594         ;;
12595     esac
12596   fi
12597
12598 case $host_os in
12599   # For platforms which do not support PIC, -DPIC is meaningless:
12600   *djgpp*)
12601     lt_prog_compiler_pic_CXX=
12602     ;;
12603   *)
12604     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12605     ;;
12606 esac
12607 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12608 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12609
12610
12611
12612 #
12613 # Check to make sure the PIC flag actually works.
12614 #
12615 if test -n "$lt_prog_compiler_pic_CXX"; then
12616   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12617 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12618 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12619   echo $ECHO_N "(cached) $ECHO_C" >&6
12620 else
12621   lt_prog_compiler_pic_works_CXX=no
12622    ac_outfile=conftest.$ac_objext
12623    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12624    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12625    # Insert the option either (1) after the last *FLAGS variable, or
12626    # (2) before a word containing "conftest.", or (3) at the end.
12627    # Note that $ac_compile itself does not contain backslashes and begins
12628    # with a dollar sign (not a hyphen), so the echo should work correctly.
12629    # The option is referenced via a variable to avoid confusing sed.
12630    lt_compile=`echo "$ac_compile" | $SED \
12631    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12632    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12633    -e 's:$: $lt_compiler_flag:'`
12634    (eval echo "\"\$as_me:12634: $lt_compile\"" >&5)
12635    (eval "$lt_compile" 2>conftest.err)
12636    ac_status=$?
12637    cat conftest.err >&5
12638    echo "$as_me:12638: \$? = $ac_status" >&5
12639    if (exit $ac_status) && test -s "$ac_outfile"; then
12640      # The compiler can only warn and ignore the option if not recognized
12641      # So say no if there are warnings other than the usual output.
12642      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12643      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12644      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12645        lt_prog_compiler_pic_works_CXX=yes
12646      fi
12647    fi
12648    $RM conftest*
12649
12650 fi
12651 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12652 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12653
12654 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12655     case $lt_prog_compiler_pic_CXX in
12656      "" | " "*) ;;
12657      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12658      esac
12659 else
12660     lt_prog_compiler_pic_CXX=
12661      lt_prog_compiler_can_build_shared_CXX=no
12662 fi
12663
12664 fi
12665
12666
12667
12668 #
12669 # Check to make sure the static flag actually works.
12670 #
12671 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12672 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12673 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12674 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12675   echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677   lt_prog_compiler_static_works_CXX=no
12678    save_LDFLAGS="$LDFLAGS"
12679    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12680    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12681    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12682      # The linker can only warn and ignore the option if not recognized
12683      # So say no if there are warnings
12684      if test -s conftest.err; then
12685        # Append any errors to the config.log.
12686        cat conftest.err 1>&5
12687        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12688        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12689        if diff conftest.exp conftest.er2 >/dev/null; then
12690          lt_prog_compiler_static_works_CXX=yes
12691        fi
12692      else
12693        lt_prog_compiler_static_works_CXX=yes
12694      fi
12695    fi
12696    $RM conftest*
12697    LDFLAGS="$save_LDFLAGS"
12698
12699 fi
12700 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12701 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12702
12703 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12704     :
12705 else
12706     lt_prog_compiler_static_CXX=
12707 fi
12708
12709
12710
12711
12712     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12713 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12714 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12715   echo $ECHO_N "(cached) $ECHO_C" >&6
12716 else
12717   lt_cv_prog_compiler_c_o_CXX=no
12718    $RM -r conftest 2>/dev/null
12719    mkdir conftest
12720    cd conftest
12721    mkdir out
12722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12723
12724    lt_compiler_flag="-o out/conftest2.$ac_objext"
12725    # Insert the option either (1) after the last *FLAGS variable, or
12726    # (2) before a word containing "conftest.", or (3) at the end.
12727    # Note that $ac_compile itself does not contain backslashes and begins
12728    # with a dollar sign (not a hyphen), so the echo should work correctly.
12729    lt_compile=`echo "$ac_compile" | $SED \
12730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12732    -e 's:$: $lt_compiler_flag:'`
12733    (eval echo "\"\$as_me:12733: $lt_compile\"" >&5)
12734    (eval "$lt_compile" 2>out/conftest.err)
12735    ac_status=$?
12736    cat out/conftest.err >&5
12737    echo "$as_me:12737: \$? = $ac_status" >&5
12738    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12739    then
12740      # The compiler can only warn and ignore the option if not recognized
12741      # So say no if there are warnings
12742      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12743      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12744      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12745        lt_cv_prog_compiler_c_o_CXX=yes
12746      fi
12747    fi
12748    chmod u+w . 2>&5
12749    $RM conftest*
12750    # SGI C++ compiler will create directory out/ii_files/ for
12751    # template instantiation
12752    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12753    $RM out/* && rmdir out
12754    cd ..
12755    $RM -r conftest
12756    $RM conftest*
12757
12758 fi
12759 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12760 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12761
12762
12763
12764     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12765 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12766 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12767   echo $ECHO_N "(cached) $ECHO_C" >&6
12768 else
12769   lt_cv_prog_compiler_c_o_CXX=no
12770    $RM -r conftest 2>/dev/null
12771    mkdir conftest
12772    cd conftest
12773    mkdir out
12774    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12775
12776    lt_compiler_flag="-o out/conftest2.$ac_objext"
12777    # Insert the option either (1) after the last *FLAGS variable, or
12778    # (2) before a word containing "conftest.", or (3) at the end.
12779    # Note that $ac_compile itself does not contain backslashes and begins
12780    # with a dollar sign (not a hyphen), so the echo should work correctly.
12781    lt_compile=`echo "$ac_compile" | $SED \
12782    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12783    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12784    -e 's:$: $lt_compiler_flag:'`
12785    (eval echo "\"\$as_me:12785: $lt_compile\"" >&5)
12786    (eval "$lt_compile" 2>out/conftest.err)
12787    ac_status=$?
12788    cat out/conftest.err >&5
12789    echo "$as_me:12789: \$? = $ac_status" >&5
12790    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12791    then
12792      # The compiler can only warn and ignore the option if not recognized
12793      # So say no if there are warnings
12794      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12795      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12796      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12797        lt_cv_prog_compiler_c_o_CXX=yes
12798      fi
12799    fi
12800    chmod u+w . 2>&5
12801    $RM conftest*
12802    # SGI C++ compiler will create directory out/ii_files/ for
12803    # template instantiation
12804    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12805    $RM out/* && rmdir out
12806    cd ..
12807    $RM -r conftest
12808    $RM conftest*
12809
12810 fi
12811 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12812 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12813
12814
12815
12816
12817 hard_links="nottested"
12818 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12819   # do not overwrite the value of need_locks provided by the user
12820   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12821 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12822   hard_links=yes
12823   $RM conftest*
12824   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12825   touch conftest.a
12826   ln conftest.a conftest.b 2>&5 || hard_links=no
12827   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12828   echo "$as_me:$LINENO: result: $hard_links" >&5
12829 echo "${ECHO_T}$hard_links" >&6
12830   if test "$hard_links" = no; then
12831     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12832 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12833     need_locks=warn
12834   fi
12835 else
12836   need_locks=no
12837 fi
12838
12839
12840
12841     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12842 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12843
12844   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12845   case $host_os in
12846   aix[4-9]*)
12847     # If we're using GNU nm, then we don't want the "-C" option.
12848     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12849     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12850       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'
12851     else
12852       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'
12853     fi
12854     ;;
12855   pw32*)
12856     export_symbols_cmds_CXX="$ltdll_cmds"
12857   ;;
12858   cygwin* | mingw*)
12859     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'
12860   ;;
12861   *)
12862     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12863   ;;
12864   esac
12865
12866 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12867 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12868 test "$ld_shlibs_CXX" = no && can_build_shared=no
12869
12870 with_gnu_ld_CXX=$with_gnu_ld
12871
12872
12873
12874
12875
12876
12877 #
12878 # Do we need to explicitly link libc?
12879 #
12880 case "x$archive_cmds_need_lc_CXX" in
12881 x|xyes)
12882   # Assume -lc should be added
12883   archive_cmds_need_lc_CXX=yes
12884
12885   if test "$enable_shared" = yes && test "$GCC" = yes; then
12886     case $archive_cmds_CXX in
12887     *'~'*)
12888       # FIXME: we may have to deal with multi-command sequences.
12889       ;;
12890     '$CC '*)
12891       # Test whether the compiler implicitly links with -lc since on some
12892       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12893       # to ld, don't add -lc before -lgcc.
12894       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12895 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12896       $RM conftest*
12897       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12898
12899       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12900   (eval $ac_compile) 2>&5
12901   ac_status=$?
12902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903   (exit $ac_status); } 2>conftest.err; then
12904         soname=conftest
12905         lib=conftest
12906         libobjs=conftest.$ac_objext
12907         deplibs=
12908         wl=$lt_prog_compiler_wl_CXX
12909         pic_flag=$lt_prog_compiler_pic_CXX
12910         compiler_flags=-v
12911         linker_flags=-v
12912         verstring=
12913         output_objdir=.
12914         libname=conftest
12915         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12916         allow_undefined_flag_CXX=
12917         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12918   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12919   ac_status=$?
12920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921   (exit $ac_status); }
12922         then
12923           archive_cmds_need_lc_CXX=no
12924         else
12925           archive_cmds_need_lc_CXX=yes
12926         fi
12927         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12928       else
12929         cat conftest.err 1>&5
12930       fi
12931       $RM conftest*
12932       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12933 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12934       ;;
12935     esac
12936   fi
12937   ;;
12938 esac
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13004 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13005 withGCC=$GXX
13006 library_names_spec=
13007 libname_spec='lib$name'
13008 soname_spec=
13009 shrext_cmds=".so"
13010 postinstall_cmds=
13011 postuninstall_cmds=
13012 finish_cmds=
13013 finish_eval=
13014 shlibpath_var=
13015 shlibpath_overrides_runpath=unknown
13016 version_type=none
13017 dynamic_linker="$host_os ld.so"
13018 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13019 need_lib_prefix=unknown
13020 hardcode_into_libs=no
13021
13022 # when you set need_version to no, make sure it does not cause -set_version
13023 # flags to be left without arguments
13024 need_version=unknown
13025
13026 case $host_os in
13027 aix3*)
13028   version_type=linux
13029   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13030   shlibpath_var=LIBPATH
13031
13032   # AIX 3 has no versioning support, so we append a major version to the name.
13033   soname_spec='${libname}${release}${shared_ext}$major'
13034   ;;
13035
13036 aix[4-9]*)
13037   version_type=linux
13038   need_lib_prefix=no
13039   need_version=no
13040   hardcode_into_libs=yes
13041   if test "$host_cpu" = ia64; then
13042     # AIX 5 supports IA64
13043     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13044     shlibpath_var=LD_LIBRARY_PATH
13045   else
13046     # With GCC up to 2.95.x, collect2 would create an import file
13047     # for dependence libraries.  The import file would start with
13048     # the line `#! .'.  This would cause the generated library to
13049     # depend on `.', always an invalid library.  This was fixed in
13050     # development snapshots of GCC prior to 3.0.
13051     case $host_os in
13052       aix4 | aix4.[01] | aix4.[01].*)
13053       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13054            echo ' yes '
13055            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13056         :
13057       else
13058         can_build_shared=no
13059       fi
13060       ;;
13061     esac
13062     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13063     # soname into executable. Probably we can add versioning support to
13064     # collect2, so additional links can be useful in future.
13065     if test "$aix_use_runtimelinking" = yes; then
13066       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13067       # instead of lib<name>.a to let people know that these are not
13068       # typical AIX shared libraries.
13069       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13070     else
13071       # We preserve .a as extension for shared libraries through AIX4.2
13072       # and later when we are not doing run time linking.
13073       library_names_spec='${libname}${release}.a $libname.a'
13074       soname_spec='${libname}${release}${shared_ext}$major'
13075     fi
13076     shlibpath_var=LIBPATH
13077   fi
13078   ;;
13079
13080 amigaos*)
13081   if test "$host_cpu" = m68k; then
13082     library_names_spec='$libname.ixlibrary $libname.a'
13083     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13084     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'
13085   else
13086     dynamic_linker=no
13087   fi
13088   ;;
13089
13090 beos*)
13091   library_names_spec='${libname}${shared_ext}'
13092   dynamic_linker="$host_os ld.so"
13093   shlibpath_var=LIBRARY_PATH
13094   ;;
13095
13096 bsdi[45]*)
13097   version_type=linux
13098   need_version=no
13099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13100   soname_spec='${libname}${release}${shared_ext}$major'
13101   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13102   shlibpath_var=LD_LIBRARY_PATH
13103   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13104   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13105   # the default ld.so.conf also contains /usr/contrib/lib and
13106   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13107   # libtool to hard-code these into programs
13108   ;;
13109
13110 cygwin* | mingw* | pw32*)
13111   version_type=windows
13112   shrext_cmds=".dll"
13113   need_version=no
13114   need_lib_prefix=no
13115
13116   case $withGCC,$host_os in
13117   yes,cygwin* | yes,mingw* | yes,pw32*)
13118     library_names_spec='$libname.dll.a'
13119     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13120     postinstall_cmds='base_file=`basename \${file}`~
13121       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13122       dldir=$destdir/`dirname \$dlpath`~
13123       test -d \$dldir || mkdir -p \$dldir~
13124       $install_prog $dir/$dlname \$dldir/$dlname~
13125       chmod a+x \$dldir/$dlname~
13126       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13127         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13128       fi'
13129     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13130       dlpath=$dir/\$dldll~
13131        $RM \$dlpath'
13132     shlibpath_overrides_runpath=yes
13133
13134     case $host_os in
13135     cygwin*)
13136       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13137       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13138       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13139       ;;
13140     mingw*)
13141       # MinGW DLLs use traditional 'lib' prefix
13142       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13143       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13144       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13145         # It is most probably a Windows format PATH printed by
13146         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13147         # path with ; separators, and with drive letters. We can handle the
13148         # drive letters (cygwin fileutils understands them), so leave them,
13149         # especially as we might pass files found there to a mingw objdump,
13150         # which wouldn't understand a cygwinified path. Ahh.
13151         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13152       else
13153         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13154       fi
13155       ;;
13156     pw32*)
13157       # pw32 DLLs use 'pw' prefix rather than 'lib'
13158       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13159       ;;
13160     esac
13161     ;;
13162
13163   *)
13164     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13165     ;;
13166   esac
13167   dynamic_linker='Win32 ld.exe'
13168   # FIXME: first we should search . and the directory the executable is in
13169   shlibpath_var=PATH
13170   ;;
13171
13172 darwin* | rhapsody*)
13173   dynamic_linker="$host_os dyld"
13174   version_type=darwin
13175   need_lib_prefix=no
13176   need_version=no
13177   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13178   soname_spec='${libname}${release}${major}$shared_ext'
13179   shlibpath_overrides_runpath=yes
13180   shlibpath_var=DYLD_LIBRARY_PATH
13181   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13182
13183   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13184   ;;
13185
13186 dgux*)
13187   version_type=linux
13188   need_lib_prefix=no
13189   need_version=no
13190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13191   soname_spec='${libname}${release}${shared_ext}$major'
13192   shlibpath_var=LD_LIBRARY_PATH
13193   ;;
13194
13195 freebsd1*)
13196   dynamic_linker=no
13197   ;;
13198
13199 freebsd* | dragonfly*)
13200   # DragonFly does not have aout.  When/if they implement a new
13201   # versioning mechanism, adjust this.
13202   if test -x /usr/bin/objformat; then
13203     objformat=`/usr/bin/objformat`
13204   else
13205     case $host_os in
13206     freebsd[123]*) objformat=aout ;;
13207     *) objformat=elf ;;
13208     esac
13209   fi
13210   version_type=freebsd-$objformat
13211   case $version_type in
13212     freebsd-elf*)
13213       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13214       need_version=no
13215       need_lib_prefix=no
13216       ;;
13217     freebsd-*)
13218       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13219       need_version=yes
13220       ;;
13221   esac
13222   shlibpath_var=LD_LIBRARY_PATH
13223   case $host_os in
13224   freebsd2*)
13225     shlibpath_overrides_runpath=yes
13226     ;;
13227   freebsd3.[01]* | freebsdelf3.[01]*)
13228     shlibpath_overrides_runpath=yes
13229     hardcode_into_libs=yes
13230     ;;
13231   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13232   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13233     shlibpath_overrides_runpath=no
13234     hardcode_into_libs=yes
13235     ;;
13236   *) # from 4.6 on, and DragonFly
13237     shlibpath_overrides_runpath=yes
13238     hardcode_into_libs=yes
13239     ;;
13240   esac
13241   ;;
13242
13243 gnu*)
13244   version_type=linux
13245   need_lib_prefix=no
13246   need_version=no
13247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13248   soname_spec='${libname}${release}${shared_ext}$major'
13249   shlibpath_var=LD_LIBRARY_PATH
13250   hardcode_into_libs=yes
13251   ;;
13252
13253 hpux9* | hpux10* | hpux11*)
13254   # Give a soname corresponding to the major version so that dld.sl refuses to
13255   # link against other versions.
13256   version_type=sunos
13257   need_lib_prefix=no
13258   need_version=no
13259   case $host_cpu in
13260   ia64*)
13261     shrext_cmds='.so'
13262     hardcode_into_libs=yes
13263     dynamic_linker="$host_os dld.so"
13264     shlibpath_var=LD_LIBRARY_PATH
13265     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13266     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13267     soname_spec='${libname}${release}${shared_ext}$major'
13268     if test "X$HPUX_IA64_MODE" = X32; then
13269       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13270     else
13271       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13272     fi
13273     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13274     ;;
13275   hppa*64*)
13276     shrext_cmds='.sl'
13277     hardcode_into_libs=yes
13278     dynamic_linker="$host_os dld.sl"
13279     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13280     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13281     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13282     soname_spec='${libname}${release}${shared_ext}$major'
13283     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13284     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13285     ;;
13286   *)
13287     shrext_cmds='.sl'
13288     dynamic_linker="$host_os dld.sl"
13289     shlibpath_var=SHLIB_PATH
13290     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292     soname_spec='${libname}${release}${shared_ext}$major'
13293     ;;
13294   esac
13295   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13296   postinstall_cmds='chmod 555 $lib'
13297   ;;
13298
13299 interix[3-9]*)
13300   version_type=linux
13301   need_lib_prefix=no
13302   need_version=no
13303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13304   soname_spec='${libname}${release}${shared_ext}$major'
13305   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13306   shlibpath_var=LD_LIBRARY_PATH
13307   shlibpath_overrides_runpath=no
13308   hardcode_into_libs=yes
13309   ;;
13310
13311 irix5* | irix6* | nonstopux*)
13312   case $host_os in
13313     nonstopux*) version_type=nonstopux ;;
13314     *)
13315         if test "$lt_cv_prog_gnu_ld" = yes; then
13316                 version_type=linux
13317         else
13318                 version_type=irix
13319         fi ;;
13320   esac
13321   need_lib_prefix=no
13322   need_version=no
13323   soname_spec='${libname}${release}${shared_ext}$major'
13324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13325   case $host_os in
13326   irix5* | nonstopux*)
13327     libsuff= shlibsuff=
13328     ;;
13329   *)
13330     case $LD in # libtool.m4 will add one of these switches to LD
13331     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13332       libsuff= shlibsuff= libmagic=32-bit;;
13333     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13334       libsuff=32 shlibsuff=N32 libmagic=N32;;
13335     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13336       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13337     *) libsuff= shlibsuff= libmagic=never-match;;
13338     esac
13339     ;;
13340   esac
13341   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13342   shlibpath_overrides_runpath=no
13343   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13344   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13345   hardcode_into_libs=yes
13346   ;;
13347
13348 # No shared lib support for Linux oldld, aout, or coff.
13349 linux*oldld* | linux*aout* | linux*coff*)
13350   dynamic_linker=no
13351   ;;
13352
13353 # This must be Linux ELF.
13354 linux* | k*bsd*-gnu)
13355   version_type=linux
13356   need_lib_prefix=no
13357   need_version=no
13358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13359   soname_spec='${libname}${release}${shared_ext}$major'
13360   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13361   shlibpath_var=LD_LIBRARY_PATH
13362   shlibpath_overrides_runpath=no
13363   # Some binutils ld are patched to set DT_RUNPATH
13364   save_LDFLAGS=$LDFLAGS
13365   save_libdir=$libdir
13366   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13367        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13368   if test x$gcc_no_link = xyes; then
13369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13371    { (exit 1); exit 1; }; }
13372 fi
13373 cat >conftest.$ac_ext <<_ACEOF
13374 /* confdefs.h.  */
13375 _ACEOF
13376 cat confdefs.h >>conftest.$ac_ext
13377 cat >>conftest.$ac_ext <<_ACEOF
13378 /* end confdefs.h.  */
13379
13380 int
13381 main ()
13382 {
13383
13384   ;
13385   return 0;
13386 }
13387 _ACEOF
13388 rm -f conftest.$ac_objext conftest$ac_exeext
13389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13390   (eval $ac_link) 2>conftest.er1
13391   ac_status=$?
13392   grep -v '^ *+' conftest.er1 >conftest.err
13393   rm -f conftest.er1
13394   cat conftest.err >&5
13395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396   (exit $ac_status); } &&
13397          { ac_try='test -z "$ac_cxx_werror_flag"
13398                          || test ! -s conftest.err'
13399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400   (eval $ac_try) 2>&5
13401   ac_status=$?
13402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403   (exit $ac_status); }; } &&
13404          { ac_try='test -s conftest$ac_exeext'
13405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406   (eval $ac_try) 2>&5
13407   ac_status=$?
13408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409   (exit $ac_status); }; }; then
13410   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13411   shlibpath_overrides_runpath=yes
13412 fi
13413
13414 else
13415   echo "$as_me: failed program was:" >&5
13416 sed 's/^/| /' conftest.$ac_ext >&5
13417
13418 fi
13419 rm -f conftest.err conftest.$ac_objext \
13420       conftest$ac_exeext conftest.$ac_ext
13421   LDFLAGS=$save_LDFLAGS
13422   libdir=$save_libdir
13423
13424   # This implies no fast_install, which is unacceptable.
13425   # Some rework will be needed to allow for fast_install
13426   # before this can be enabled.
13427   hardcode_into_libs=yes
13428
13429   # Append ld.so.conf contents to the search path
13430   if test -f /etc/ld.so.conf; then
13431     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' ' '`
13432     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13433   fi
13434
13435   # We used to test for /lib/ld.so.1 and disable shared libraries on
13436   # powerpc, because MkLinux only supported shared libraries with the
13437   # GNU dynamic linker.  Since this was broken with cross compilers,
13438   # most powerpc-linux boxes support dynamic linking these days and
13439   # people can always --disable-shared, the test was removed, and we
13440   # assume the GNU/Linux dynamic linker is in use.
13441   dynamic_linker='GNU/Linux ld.so'
13442   ;;
13443
13444 netbsd*)
13445   version_type=sunos
13446   need_lib_prefix=no
13447   need_version=no
13448   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13450     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13451     dynamic_linker='NetBSD (a.out) ld.so'
13452   else
13453     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13454     soname_spec='${libname}${release}${shared_ext}$major'
13455     dynamic_linker='NetBSD ld.elf_so'
13456   fi
13457   shlibpath_var=LD_LIBRARY_PATH
13458   shlibpath_overrides_runpath=yes
13459   hardcode_into_libs=yes
13460   ;;
13461
13462 newsos6)
13463   version_type=linux
13464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13465   shlibpath_var=LD_LIBRARY_PATH
13466   shlibpath_overrides_runpath=yes
13467   ;;
13468
13469 *nto* | *qnx*)
13470   version_type=qnx
13471   need_lib_prefix=no
13472   need_version=no
13473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13474   soname_spec='${libname}${release}${shared_ext}$major'
13475   shlibpath_var=LD_LIBRARY_PATH
13476   shlibpath_overrides_runpath=no
13477   hardcode_into_libs=yes
13478   dynamic_linker='ldqnx.so'
13479   ;;
13480
13481 openbsd*)
13482   version_type=sunos
13483   sys_lib_dlsearch_path_spec="/usr/lib"
13484   need_lib_prefix=no
13485   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13486   case $host_os in
13487     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13488     *)                          need_version=no  ;;
13489   esac
13490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492   shlibpath_var=LD_LIBRARY_PATH
13493   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13494     case $host_os in
13495       openbsd2.[89] | openbsd2.[89].*)
13496         shlibpath_overrides_runpath=no
13497         ;;
13498       *)
13499         shlibpath_overrides_runpath=yes
13500         ;;
13501       esac
13502   else
13503     shlibpath_overrides_runpath=yes
13504   fi
13505   ;;
13506
13507 os2*)
13508   libname_spec='$name'
13509   shrext_cmds=".dll"
13510   need_lib_prefix=no
13511   library_names_spec='$libname${shared_ext} $libname.a'
13512   dynamic_linker='OS/2 ld.exe'
13513   shlibpath_var=LIBPATH
13514   ;;
13515
13516 osf3* | osf4* | osf5*)
13517   version_type=osf
13518   need_lib_prefix=no
13519   need_version=no
13520   soname_spec='${libname}${release}${shared_ext}$major'
13521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13522   shlibpath_var=LD_LIBRARY_PATH
13523   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13524   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13525   ;;
13526
13527 rdos*)
13528   dynamic_linker=no
13529   ;;
13530
13531 solaris*)
13532   version_type=linux
13533   need_lib_prefix=no
13534   need_version=no
13535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13536   soname_spec='${libname}${release}${shared_ext}$major'
13537   shlibpath_var=LD_LIBRARY_PATH
13538   shlibpath_overrides_runpath=yes
13539   hardcode_into_libs=yes
13540   # ldd complains unless libraries are executable
13541   postinstall_cmds='chmod +x $lib'
13542   ;;
13543
13544 sunos4*)
13545   version_type=sunos
13546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13547   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13548   shlibpath_var=LD_LIBRARY_PATH
13549   shlibpath_overrides_runpath=yes
13550   if test "$with_gnu_ld" = yes; then
13551     need_lib_prefix=no
13552   fi
13553   need_version=yes
13554   ;;
13555
13556 sysv4 | sysv4.3*)
13557   version_type=linux
13558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13559   soname_spec='${libname}${release}${shared_ext}$major'
13560   shlibpath_var=LD_LIBRARY_PATH
13561   case $host_vendor in
13562     sni)
13563       shlibpath_overrides_runpath=no
13564       need_lib_prefix=no
13565       runpath_var=LD_RUN_PATH
13566       ;;
13567     siemens)
13568       need_lib_prefix=no
13569       ;;
13570     motorola)
13571       need_lib_prefix=no
13572       need_version=no
13573       shlibpath_overrides_runpath=no
13574       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13575       ;;
13576   esac
13577   ;;
13578
13579 sysv4*MP*)
13580   if test -d /usr/nec ;then
13581     version_type=linux
13582     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13583     soname_spec='$libname${shared_ext}.$major'
13584     shlibpath_var=LD_LIBRARY_PATH
13585   fi
13586   ;;
13587
13588 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13589   version_type=freebsd-elf
13590   need_lib_prefix=no
13591   need_version=no
13592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13593   soname_spec='${libname}${release}${shared_ext}$major'
13594   shlibpath_var=LD_LIBRARY_PATH
13595   shlibpath_overrides_runpath=yes
13596   hardcode_into_libs=yes
13597   if test "$with_gnu_ld" = yes; then
13598     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13599   else
13600     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13601     case $host_os in
13602       sco3.2v5*)
13603         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13604         ;;
13605     esac
13606   fi
13607   sys_lib_dlsearch_path_spec='/usr/lib'
13608   ;;
13609
13610 tpf*)
13611   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13612   version_type=linux
13613   need_lib_prefix=no
13614   need_version=no
13615   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13616   shlibpath_var=LD_LIBRARY_PATH
13617   shlibpath_overrides_runpath=no
13618   hardcode_into_libs=yes
13619   ;;
13620
13621 uts4*)
13622   version_type=linux
13623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13624   soname_spec='${libname}${release}${shared_ext}$major'
13625   shlibpath_var=LD_LIBRARY_PATH
13626   ;;
13627
13628 *)
13629   dynamic_linker=no
13630   ;;
13631 esac
13632 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13633 echo "${ECHO_T}$dynamic_linker" >&6
13634 test "$dynamic_linker" = no && can_build_shared=no
13635
13636 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13637 if test "$GCC" = yes; then
13638   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13639 fi
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13677 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13678 hardcode_action_CXX=
13679 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13680    test -n "$runpath_var_CXX" ||
13681    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13682
13683   # We can hardcode non-existent directories.
13684   if test "$hardcode_direct_CXX" != no &&
13685      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13686      # have to relink, otherwise we might link with an installed library
13687      # when we should be linking with a yet-to-be-installed one
13688      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13689      test "$hardcode_minus_L_CXX" != no; then
13690     # Linking always hardcodes the temporary library directory.
13691     hardcode_action_CXX=relink
13692   else
13693     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13694     hardcode_action_CXX=immediate
13695   fi
13696 else
13697   # We cannot hardcode anything, or else we can only hardcode existing
13698   # directories.
13699   hardcode_action_CXX=unsupported
13700 fi
13701 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13702 echo "${ECHO_T}$hardcode_action_CXX" >&6
13703
13704 if test "$hardcode_action_CXX" = relink ||
13705    test "$inherit_rpath_CXX" = yes; then
13706   # Fast installation is not supported
13707   enable_fast_install=no
13708 elif test "$shlibpath_overrides_runpath" = yes ||
13709      test "$enable_shared" = no; then
13710   # Fast installation is not necessary
13711   enable_fast_install=needless
13712 fi
13713
13714
13715
13716
13717
13718
13719
13720   fi # test -n "$compiler"
13721
13722   CC=$lt_save_CC
13723   LDCXX=$LD
13724   LD=$lt_save_LD
13725   GCC=$lt_save_GCC
13726   with_gnu_ld=$lt_save_with_gnu_ld
13727   lt_cv_path_LDCXX=$lt_cv_path_LD
13728   lt_cv_path_LD=$lt_save_path_LD
13729   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13730   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13731 fi # test "$_lt_caught_CXX_error" != yes
13732
13733 ac_ext=c
13734 ac_cpp='$CPP $CPPFLAGS'
13735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751                   ac_config_commands="$ac_config_commands libtool"
13752
13753
13754
13755
13756 # Only expand once:
13757
13758
13759
13760
13761
13762 # Possibly disable most of the library.
13763 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13764 ## than just ignoring the results.  Faster /and/ more correct, win win.
13765
13766   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13767 if test "${enable_hosted_libstdcxx+set}" = set; then
13768   enableval="$enable_hosted_libstdcxx"
13769
13770 else
13771   case "$host" in
13772         arm*-*-symbianelf*)
13773             enable_hosted_libstdcxx=no
13774             ;;
13775         *)
13776             enable_hosted_libstdcxx=yes
13777             ;;
13778      esac
13779 fi;
13780   if test "$enable_hosted_libstdcxx" = no; then
13781     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13782 echo "$as_me: Only freestanding libraries will be built" >&6;}
13783     is_hosted=no
13784     hosted_define=0
13785     enable_abi_check=no
13786     enable_libstdcxx_pch=no
13787   else
13788     is_hosted=yes
13789     hosted_define=1
13790   fi
13791
13792
13793 cat >>confdefs.h <<_ACEOF
13794 #define _GLIBCXX_HOSTED $hosted_define
13795 _ACEOF
13796
13797
13798
13799 # Enable compiler support that doesn't require linking.
13800
13801   echo "$as_me:$LINENO: checking for exception model to use" >&5
13802 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13803
13804
13805   ac_ext=cc
13806 ac_cpp='$CXXCPP $CPPFLAGS'
13807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13810
13811    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13812 if test "${enable_sjlj_exceptions+set}" = set; then
13813   enableval="$enable_sjlj_exceptions"
13814
13815       case "$enableval" in
13816        yes|no|auto) ;;
13817        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13818 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13819    { (exit 1); exit 1; }; } ;;
13820                           esac
13821
13822 else
13823   enable_sjlj_exceptions=auto
13824 fi;
13825
13826
13827   if test $enable_sjlj_exceptions = auto; then
13828     # Botheration.  Now we've got to detect the exception model.  Link tests
13829     # against libgcc.a are problematic since we've not been given proper -L
13830     # bits for single-tree newlib and libgloss.
13831     #
13832     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13833     cat > conftest.$ac_ext << EOF
13834 #line 13834 "configure"
13835 struct S { ~S(); };
13836 void bar();
13837 void foo()
13838 {
13839   S s;
13840   bar();
13841 }
13842 EOF
13843     old_CXXFLAGS="$CXXFLAGS"
13844     CXXFLAGS=-S
13845     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846   (eval $ac_compile) 2>&5
13847   ac_status=$?
13848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849   (exit $ac_status); }; then
13850       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13851         enable_sjlj_exceptions=yes
13852       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13853         enable_sjlj_exceptions=no
13854       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13855         enable_sjlj_exceptions=no
13856       fi
13857     fi
13858     CXXFLAGS="$old_CXXFLAGS"
13859     rm -f conftest*
13860   fi
13861
13862   # This is a tad weird, for hysterical raisins.  We have to map
13863   # enable/disable to two different models.
13864   case $enable_sjlj_exceptions in
13865     yes)
13866
13867 cat >>confdefs.h <<\_ACEOF
13868 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13869 _ACEOF
13870
13871       ac_exception_model_name=sjlj
13872       ;;
13873     no)
13874       ac_exception_model_name="call frame"
13875       ;;
13876     *)
13877       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13878 echo "$as_me: error: unable to detect exception model" >&2;}
13879    { (exit 1); exit 1; }; }
13880       ;;
13881   esac
13882  ac_ext=c
13883 ac_cpp='$CPP $CPPFLAGS'
13884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13887
13888  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13889 echo "${ECHO_T}$ac_exception_model_name" >&6
13890
13891
13892    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13893 if test "${enable_libstdcxx_pch+set}" = set; then
13894   enableval="$enable_libstdcxx_pch"
13895
13896       case "$enableval" in
13897        yes|no) ;;
13898        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13899 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13900    { (exit 1); exit 1; }; } ;;
13901       esac
13902
13903 else
13904   enable_libstdcxx_pch=$is_hosted
13905 fi;
13906
13907   if test $enable_libstdcxx_pch = yes; then
13908     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13909 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13910 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13911   echo $ECHO_N "(cached) $ECHO_C" >&6
13912 else
13913   ac_save_CXXFLAGS="$CXXFLAGS"
13914        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13915
13916
13917        ac_ext=cc
13918 ac_cpp='$CXXCPP $CPPFLAGS'
13919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13922
13923        echo '#include <math.h>' > conftest.h
13924        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13925                           -o conftest.h.gch 1>&5 2>&1 &&
13926                 echo '#error "pch failed"' > conftest.h &&
13927           echo '#include "conftest.h"' > conftest.cc &&
13928                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13929        then
13930          glibcxx_cv_prog_CXX_pch=yes
13931        else
13932          glibcxx_cv_prog_CXX_pch=no
13933        fi
13934        rm -f conftest*
13935        CXXFLAGS=$ac_save_CXXFLAGS
13936        ac_ext=c
13937 ac_cpp='$CPP $CPPFLAGS'
13938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13941
13942
13943 fi
13944 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13945 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13946     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13947   fi
13948
13949   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13950 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13951   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13952 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13953
13954
13955   if test $enable_libstdcxx_pch = yes; then
13956     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13957   else
13958     glibcxx_PCHFLAGS=""
13959   fi
13960
13961
13962
13963 # Enable all the variable C++ runtime options that doesn't require linking.
13964
13965   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13966 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13967    # Check whether --enable-cstdio or --disable-cstdio was given.
13968 if test "${enable_cstdio+set}" = set; then
13969   enableval="$enable_cstdio"
13970
13971       case "$enableval" in
13972        stdio) ;;
13973        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13974 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13975    { (exit 1); exit 1; }; } ;;
13976                           esac
13977
13978 else
13979   enable_cstdio=stdio
13980 fi;
13981
13982
13983   # Now that libio has been removed, you can have any color you want as long
13984   # as it's black.  This is one big no-op until other packages are added, but
13985   # showing the framework never hurts.
13986   case ${enable_cstdio} in
13987     stdio)
13988       CSTDIO_H=config/io/c_io_stdio.h
13989       BASIC_FILE_H=config/io/basic_file_stdio.h
13990       BASIC_FILE_CC=config/io/basic_file_stdio.cc
13991       echo "$as_me:$LINENO: result: stdio" >&5
13992 echo "${ECHO_T}stdio" >&6
13993       ;;
13994   esac
13995
13996
13997
13998
13999
14000
14001    # Check whether --enable-clocale or --disable-clocale was given.
14002 if test "${enable_clocale+set}" = set; then
14003   enableval="$enable_clocale"
14004
14005       case "$enableval" in
14006        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14007        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14008 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14009    { (exit 1); exit 1; }; } ;;
14010                           esac
14011
14012 else
14013   enable_clocale=auto
14014 fi;
14015
14016
14017   # Deal with gettext issues.  Default to not using it (=no) until we detect
14018   # support for it later.  Let the user turn it off via --e/d, but let that
14019   # default to on for easier handling.
14020   USE_NLS=no
14021   # Check whether --enable-nls or --disable-nls was given.
14022 if test "${enable_nls+set}" = set; then
14023   enableval="$enable_nls"
14024
14025 else
14026   enable_nls=yes
14027 fi;
14028
14029   # Either a known packaage, or "auto"
14030   if test $enable_clocale = no || test $enable_clocale = yes; then
14031      enable_clocale=auto
14032   fi
14033   enable_clocale_flag=$enable_clocale
14034
14035   # Probe for locale model to use if none specified.
14036   # Default to "generic".
14037   if test $enable_clocale_flag = auto; then
14038     case ${target_os} in
14039       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14040         enable_clocale_flag=gnu
14041         ;;
14042       darwin* | freebsd*)
14043         enable_clocale_flag=darwin
14044         ;;
14045       *)
14046         enable_clocale_flag=generic
14047         ;;
14048     esac
14049   fi
14050
14051   # Sanity check model, and test for special functionality.
14052   if test $enable_clocale_flag = gnu; then
14053     cat >conftest.$ac_ext <<_ACEOF
14054 /* confdefs.h.  */
14055 _ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h.  */
14059
14060     #include <features.h>
14061     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14062       _GLIBCXX_ok
14063     #endif
14064
14065 _ACEOF
14066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14067   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14068   enable_clocale_flag=gnu
14069 else
14070   enable_clocale_flag=generic
14071 fi
14072 rm -f conftest*
14073
14074
14075     if test $enable_clocale = auto; then
14076       # Test for bugs early in glibc-2.2.x series
14077       if test "$cross_compiling" = yes; then
14078   enable_clocale_flag=generic
14079 else
14080   cat >conftest.$ac_ext <<_ACEOF
14081 /* confdefs.h.  */
14082 _ACEOF
14083 cat confdefs.h >>conftest.$ac_ext
14084 cat >>conftest.$ac_ext <<_ACEOF
14085 /* end confdefs.h.  */
14086
14087       #define _GNU_SOURCE 1
14088       #include <locale.h>
14089       #include <string.h>
14090       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14091       extern __typeof(newlocale) __newlocale;
14092       extern __typeof(duplocale) __duplocale;
14093       extern __typeof(strcoll_l) __strcoll_l;
14094       #endif
14095       int main()
14096       {
14097         const char __one[] = "Äuglein Augmen";
14098         const char __two[] = "Äuglein";
14099         int i;
14100         int j;
14101         __locale_t        loc;
14102         __locale_t        loc_dup;
14103         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14104         loc_dup = __duplocale(loc);
14105         i = __strcoll_l(__one, __two, loc);
14106         j = __strcoll_l(__one, __two, loc_dup);
14107         return 0;
14108       }
14109
14110 _ACEOF
14111 rm -f conftest$ac_exeext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14113   (eval $ac_link) 2>&5
14114   ac_status=$?
14115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118   (eval $ac_try) 2>&5
14119   ac_status=$?
14120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121   (exit $ac_status); }; }; then
14122   enable_clocale_flag=gnu
14123 else
14124   echo "$as_me: program exited with status $ac_status" >&5
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.$ac_ext >&5
14127
14128 ( exit $ac_status )
14129 enable_clocale_flag=generic
14130 fi
14131 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14132 fi
14133     fi
14134
14135     # Set it to scream when it hurts.
14136     ac_save_CFLAGS="$CFLAGS"
14137     CFLAGS="-Wimplicit-function-declaration -Werror"
14138
14139     # Use strxfrm_l if available.
14140     cat >conftest.$ac_ext <<_ACEOF
14141 /* confdefs.h.  */
14142 _ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h.  */
14146 #define _GNU_SOURCE 1
14147                     #include <string.h>
14148                     #include <locale.h>
14149 int
14150 main ()
14151 {
14152 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14153   ;
14154   return 0;
14155 }
14156 _ACEOF
14157 rm -f conftest.$ac_objext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14159   (eval $ac_compile) 2>conftest.er1
14160   ac_status=$?
14161   grep -v '^ *+' conftest.er1 >conftest.err
14162   rm -f conftest.er1
14163   cat conftest.err >&5
14164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165   (exit $ac_status); } &&
14166          { ac_try='test -z "$ac_c_werror_flag"
14167                          || test ! -s conftest.err'
14168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169   (eval $ac_try) 2>&5
14170   ac_status=$?
14171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172   (exit $ac_status); }; } &&
14173          { ac_try='test -s conftest.$ac_objext'
14174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175   (eval $ac_try) 2>&5
14176   ac_status=$?
14177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178   (exit $ac_status); }; }; then
14179
14180 cat >>confdefs.h <<\_ACEOF
14181 #define HAVE_STRXFRM_L 1
14182 _ACEOF
14183
14184 else
14185   echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 fi
14189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14190
14191     # Use strerror_l if available.
14192     cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h.  */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h.  */
14198 #define _GNU_SOURCE 1
14199                     #include <string.h>
14200                     #include <locale.h>
14201 int
14202 main ()
14203 {
14204 __locale_t loc; strerror_l(5, loc);
14205   ;
14206   return 0;
14207 }
14208 _ACEOF
14209 rm -f conftest.$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211   (eval $ac_compile) 2>conftest.er1
14212   ac_status=$?
14213   grep -v '^ *+' conftest.er1 >conftest.err
14214   rm -f conftest.er1
14215   cat conftest.err >&5
14216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217   (exit $ac_status); } &&
14218          { ac_try='test -z "$ac_c_werror_flag"
14219                          || test ! -s conftest.err'
14220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221   (eval $ac_try) 2>&5
14222   ac_status=$?
14223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224   (exit $ac_status); }; } &&
14225          { ac_try='test -s conftest.$ac_objext'
14226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227   (eval $ac_try) 2>&5
14228   ac_status=$?
14229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230   (exit $ac_status); }; }; then
14231
14232 cat >>confdefs.h <<\_ACEOF
14233 #define HAVE_STRERROR_L 1
14234 _ACEOF
14235
14236 else
14237   echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14239
14240 fi
14241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14242
14243     CFLAGS="$ac_save_CFLAGS"
14244   fi
14245
14246   # Perhaps use strerror_r if available, and strerror_l isn't.
14247   ac_save_CFLAGS="$CFLAGS"
14248   CFLAGS="-Wimplicit-function-declaration -Werror"
14249   cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h.  */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h.  */
14255 #define _GNU_SOURCE 1
14256                   #include <string.h>
14257                   #include <locale.h>
14258 int
14259 main ()
14260 {
14261 char s[128]; strerror_r(5, s, 128);
14262   ;
14263   return 0;
14264 }
14265 _ACEOF
14266 rm -f conftest.$ac_objext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14268   (eval $ac_compile) 2>conftest.er1
14269   ac_status=$?
14270   grep -v '^ *+' conftest.er1 >conftest.err
14271   rm -f conftest.er1
14272   cat conftest.err >&5
14273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274   (exit $ac_status); } &&
14275          { ac_try='test -z "$ac_c_werror_flag"
14276                          || test ! -s conftest.err'
14277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278   (eval $ac_try) 2>&5
14279   ac_status=$?
14280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281   (exit $ac_status); }; } &&
14282          { ac_try='test -s conftest.$ac_objext'
14283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284   (eval $ac_try) 2>&5
14285   ac_status=$?
14286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287   (exit $ac_status); }; }; then
14288
14289 cat >>confdefs.h <<\_ACEOF
14290 #define HAVE_STRERROR_R 1
14291 _ACEOF
14292
14293 else
14294   echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14296
14297 fi
14298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14299   CFLAGS="$ac_save_CFLAGS"
14300
14301   # Set configure bits for specified locale package
14302   echo "$as_me:$LINENO: checking for C locale to use" >&5
14303 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14304   case ${enable_clocale_flag} in
14305     generic)
14306       echo "$as_me:$LINENO: result: generic" >&5
14307 echo "${ECHO_T}generic" >&6
14308
14309       CLOCALE_H=config/locale/generic/c_locale.h
14310       CLOCALE_CC=config/locale/generic/c_locale.cc
14311       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14312       CCOLLATE_CC=config/locale/generic/collate_members.cc
14313       CCTYPE_CC=config/locale/generic/ctype_members.cc
14314       CMESSAGES_H=config/locale/generic/messages_members.h
14315       CMESSAGES_CC=config/locale/generic/messages_members.cc
14316       CMONEY_CC=config/locale/generic/monetary_members.cc
14317       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14318       CTIME_H=config/locale/generic/time_members.h
14319       CTIME_CC=config/locale/generic/time_members.cc
14320       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14321       ;;
14322     darwin)
14323       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14324 echo "${ECHO_T}darwin or freebsd" >&6
14325
14326       CLOCALE_H=config/locale/generic/c_locale.h
14327       CLOCALE_CC=config/locale/generic/c_locale.cc
14328       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14329       CCOLLATE_CC=config/locale/generic/collate_members.cc
14330       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14331       CMESSAGES_H=config/locale/generic/messages_members.h
14332       CMESSAGES_CC=config/locale/generic/messages_members.cc
14333       CMONEY_CC=config/locale/generic/monetary_members.cc
14334       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14335       CTIME_H=config/locale/generic/time_members.h
14336       CTIME_CC=config/locale/generic/time_members.cc
14337       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14338       ;;
14339
14340     gnu)
14341       echo "$as_me:$LINENO: result: gnu" >&5
14342 echo "${ECHO_T}gnu" >&6
14343
14344       # Declare intention to use gettext, and add support for specific
14345       # languages.
14346       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14347       ALL_LINGUAS="de fr"
14348
14349       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14350       # Extract the first word of "msgfmt", so it can be a program name with args.
14351 set dummy msgfmt; ac_word=$2
14352 echo "$as_me:$LINENO: checking for $ac_word" >&5
14353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14354 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14355   echo $ECHO_N "(cached) $ECHO_C" >&6
14356 else
14357   if test -n "$check_msgfmt"; then
14358   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14359 else
14360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14361 for as_dir in $PATH
14362 do
14363   IFS=$as_save_IFS
14364   test -z "$as_dir" && as_dir=.
14365   for ac_exec_ext in '' $ac_executable_extensions; do
14366   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14367     ac_cv_prog_check_msgfmt="yes"
14368     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14369     break 2
14370   fi
14371 done
14372 done
14373
14374   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14375 fi
14376 fi
14377 check_msgfmt=$ac_cv_prog_check_msgfmt
14378 if test -n "$check_msgfmt"; then
14379   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14380 echo "${ECHO_T}$check_msgfmt" >&6
14381 else
14382   echo "$as_me:$LINENO: result: no" >&5
14383 echo "${ECHO_T}no" >&6
14384 fi
14385
14386       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14387         USE_NLS=yes
14388       fi
14389       # Export the build objects.
14390       for ling in $ALL_LINGUAS; do \
14391         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14392         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14393       done
14394
14395
14396
14397       CLOCALE_H=config/locale/gnu/c_locale.h
14398       CLOCALE_CC=config/locale/gnu/c_locale.cc
14399       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14400       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14401       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14402       CMESSAGES_H=config/locale/gnu/messages_members.h
14403       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14404       CMONEY_CC=config/locale/gnu/monetary_members.cc
14405       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14406       CTIME_H=config/locale/gnu/time_members.h
14407       CTIME_CC=config/locale/gnu/time_members.cc
14408       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14409       ;;
14410     ieee_1003.1-2001)
14411       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14412 echo "${ECHO_T}IEEE 1003.1" >&6
14413
14414       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14415       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14416       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14417       CCOLLATE_CC=config/locale/generic/collate_members.cc
14418       CCTYPE_CC=config/locale/generic/ctype_members.cc
14419       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14420       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14421       CMONEY_CC=config/locale/generic/monetary_members.cc
14422       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14423       CTIME_H=config/locale/generic/time_members.h
14424       CTIME_CC=config/locale/generic/time_members.cc
14425       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14426       ;;
14427   esac
14428
14429   # This is where the testsuite looks for locale catalogs, using the
14430   # -DLOCALEDIR define during testsuite compilation.
14431   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14432
14433
14434   # A standalone libintl (e.g., GNU libintl) may be in use.
14435   if test $USE_NLS = yes; then
14436
14437 for ac_header in libintl.h
14438 do
14439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14441   echo "$as_me:$LINENO: checking for $ac_header" >&5
14442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14444   echo $ECHO_N "(cached) $ECHO_C" >&6
14445 fi
14446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14448 else
14449   # Is the header compilable?
14450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14452 cat >conftest.$ac_ext <<_ACEOF
14453 /* confdefs.h.  */
14454 _ACEOF
14455 cat confdefs.h >>conftest.$ac_ext
14456 cat >>conftest.$ac_ext <<_ACEOF
14457 /* end confdefs.h.  */
14458 $ac_includes_default
14459 #include <$ac_header>
14460 _ACEOF
14461 rm -f conftest.$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463   (eval $ac_compile) 2>conftest.er1
14464   ac_status=$?
14465   grep -v '^ *+' conftest.er1 >conftest.err
14466   rm -f conftest.er1
14467   cat conftest.err >&5
14468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469   (exit $ac_status); } &&
14470          { ac_try='test -z "$ac_c_werror_flag"
14471                          || test ! -s conftest.err'
14472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473   (eval $ac_try) 2>&5
14474   ac_status=$?
14475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476   (exit $ac_status); }; } &&
14477          { ac_try='test -s conftest.$ac_objext'
14478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479   (eval $ac_try) 2>&5
14480   ac_status=$?
14481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482   (exit $ac_status); }; }; then
14483   ac_header_compiler=yes
14484 else
14485   echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14487
14488 ac_header_compiler=no
14489 fi
14490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14492 echo "${ECHO_T}$ac_header_compiler" >&6
14493
14494 # Is the header present?
14495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14497 cat >conftest.$ac_ext <<_ACEOF
14498 /* confdefs.h.  */
14499 _ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h.  */
14503 #include <$ac_header>
14504 _ACEOF
14505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14506   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14507   ac_status=$?
14508   grep -v '^ *+' conftest.er1 >conftest.err
14509   rm -f conftest.er1
14510   cat conftest.err >&5
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); } >/dev/null; then
14513   if test -s conftest.err; then
14514     ac_cpp_err=$ac_c_preproc_warn_flag
14515     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14516   else
14517     ac_cpp_err=
14518   fi
14519 else
14520   ac_cpp_err=yes
14521 fi
14522 if test -z "$ac_cpp_err"; then
14523   ac_header_preproc=yes
14524 else
14525   echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14527
14528   ac_header_preproc=no
14529 fi
14530 rm -f conftest.err conftest.$ac_ext
14531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14532 echo "${ECHO_T}$ac_header_preproc" >&6
14533
14534 # So?  What about this header?
14535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14536   yes:no: )
14537     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14539     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14541     ac_header_preproc=yes
14542     ;;
14543   no:yes:* )
14544     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14546     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14547 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14548     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14550     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14551 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14552     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14554     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14556     (
14557       cat <<\_ASBOX
14558 ## ----------------------------------------- ##
14559 ## Report this to the package-unused lists.  ##
14560 ## ----------------------------------------- ##
14561 _ASBOX
14562     ) |
14563       sed "s/^/$as_me: WARNING:     /" >&2
14564     ;;
14565 esac
14566 echo "$as_me:$LINENO: checking for $ac_header" >&5
14567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14569   echo $ECHO_N "(cached) $ECHO_C" >&6
14570 else
14571   eval "$as_ac_Header=\$ac_header_preproc"
14572 fi
14573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14575
14576 fi
14577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14578   cat >>confdefs.h <<_ACEOF
14579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14580 _ACEOF
14581
14582 else
14583   USE_NLS=no
14584 fi
14585
14586 done
14587
14588     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14589 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14590 if test "${ac_cv_search_gettext+set}" = set; then
14591   echo $ECHO_N "(cached) $ECHO_C" >&6
14592 else
14593   ac_func_search_save_LIBS=$LIBS
14594 ac_cv_search_gettext=no
14595 if test x$gcc_no_link = xyes; then
14596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14598    { (exit 1); exit 1; }; }
14599 fi
14600 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h.  */
14602 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF
14605 /* end confdefs.h.  */
14606
14607 /* Override any gcc2 internal prototype to avoid an error.  */
14608 #ifdef __cplusplus
14609 extern "C"
14610 #endif
14611 /* We use char because int might match the return type of a gcc2
14612    builtin and then its argument prototype would still apply.  */
14613 char gettext ();
14614 int
14615 main ()
14616 {
14617 gettext ();
14618   ;
14619   return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext conftest$ac_exeext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14624   (eval $ac_link) 2>conftest.er1
14625   ac_status=$?
14626   grep -v '^ *+' conftest.er1 >conftest.err
14627   rm -f conftest.er1
14628   cat conftest.err >&5
14629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630   (exit $ac_status); } &&
14631          { ac_try='test -z "$ac_c_werror_flag"
14632                          || test ! -s conftest.err'
14633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634   (eval $ac_try) 2>&5
14635   ac_status=$?
14636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637   (exit $ac_status); }; } &&
14638          { ac_try='test -s conftest$ac_exeext'
14639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640   (eval $ac_try) 2>&5
14641   ac_status=$?
14642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643   (exit $ac_status); }; }; then
14644   ac_cv_search_gettext="none required"
14645 else
14646   echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 fi
14650 rm -f conftest.err conftest.$ac_objext \
14651       conftest$ac_exeext conftest.$ac_ext
14652 if test "$ac_cv_search_gettext" = no; then
14653   for ac_lib in intl; do
14654     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14655     if test x$gcc_no_link = xyes; then
14656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14658    { (exit 1); exit 1; }; }
14659 fi
14660 cat >conftest.$ac_ext <<_ACEOF
14661 /* confdefs.h.  */
14662 _ACEOF
14663 cat confdefs.h >>conftest.$ac_ext
14664 cat >>conftest.$ac_ext <<_ACEOF
14665 /* end confdefs.h.  */
14666
14667 /* Override any gcc2 internal prototype to avoid an error.  */
14668 #ifdef __cplusplus
14669 extern "C"
14670 #endif
14671 /* We use char because int might match the return type of a gcc2
14672    builtin and then its argument prototype would still apply.  */
14673 char gettext ();
14674 int
14675 main ()
14676 {
14677 gettext ();
14678   ;
14679   return 0;
14680 }
14681 _ACEOF
14682 rm -f conftest.$ac_objext conftest$ac_exeext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14684   (eval $ac_link) 2>conftest.er1
14685   ac_status=$?
14686   grep -v '^ *+' conftest.er1 >conftest.err
14687   rm -f conftest.er1
14688   cat conftest.err >&5
14689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690   (exit $ac_status); } &&
14691          { ac_try='test -z "$ac_c_werror_flag"
14692                          || test ! -s conftest.err'
14693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694   (eval $ac_try) 2>&5
14695   ac_status=$?
14696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697   (exit $ac_status); }; } &&
14698          { ac_try='test -s conftest$ac_exeext'
14699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700   (eval $ac_try) 2>&5
14701   ac_status=$?
14702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703   (exit $ac_status); }; }; then
14704   ac_cv_search_gettext="-l$ac_lib"
14705 break
14706 else
14707   echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 fi
14711 rm -f conftest.err conftest.$ac_objext \
14712       conftest$ac_exeext conftest.$ac_ext
14713   done
14714 fi
14715 LIBS=$ac_func_search_save_LIBS
14716 fi
14717 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14718 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14719 if test "$ac_cv_search_gettext" != no; then
14720   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14721
14722 else
14723   USE_NLS=no
14724 fi
14725
14726   fi
14727   if test $USE_NLS = yes; then
14728
14729 cat >>confdefs.h <<\_ACEOF
14730 #define _GLIBCXX_USE_NLS 1
14731 _ACEOF
14732
14733   fi
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14751 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14752    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14753 if test "${enable_libstdcxx_allocator+set}" = set; then
14754   enableval="$enable_libstdcxx_allocator"
14755
14756       case "$enableval" in
14757        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14758        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14759 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14760    { (exit 1); exit 1; }; } ;;
14761                           esac
14762
14763 else
14764   enable_libstdcxx_allocator=auto
14765 fi;
14766
14767
14768   # If they didn't use this option switch, or if they specified --enable
14769   # with no specific model, we'll have to look for one.  If they
14770   # specified --disable (???), do likewise.
14771   if test $enable_libstdcxx_allocator = no ||
14772      test $enable_libstdcxx_allocator = yes;
14773   then
14774      enable_libstdcxx_allocator=auto
14775   fi
14776
14777   # Either a known package, or "auto". Auto implies the default choice
14778   # for a particular platform.
14779   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14780
14781   # Probe for host-specific support if no specific model is specified.
14782   # Default to "new".
14783   if test $enable_libstdcxx_allocator_flag = auto; then
14784     case ${target_os} in
14785       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14786         enable_libstdcxx_allocator_flag=new
14787         ;;
14788       *)
14789         enable_libstdcxx_allocator_flag=new
14790         ;;
14791     esac
14792   fi
14793   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14794 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14795
14796
14797   # Set configure bits for specified locale package
14798   case ${enable_libstdcxx_allocator_flag} in
14799     bitmap)
14800       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14801       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14802       ;;
14803     malloc)
14804       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14805       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14806       ;;
14807     mt)
14808       ALLOCATOR_H=config/allocator/mt_allocator_base.h
14809       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14810       ;;
14811     new)
14812       ALLOCATOR_H=config/allocator/new_allocator_base.h
14813       ALLOCATOR_NAME=__gnu_cxx::new_allocator
14814       ;;
14815     pool)
14816       ALLOCATOR_H=config/allocator/pool_allocator_base.h
14817       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14818       ;;
14819   esac
14820
14821
14822
14823
14824
14825    # Check whether --enable-cheaders or --disable-cheaders was given.
14826 if test "${enable_cheaders+set}" = set; then
14827   enableval="$enable_cheaders"
14828
14829       case "$enableval" in
14830        c|c_std|c_global) ;;
14831        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14832 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14833    { (exit 1); exit 1; }; } ;;
14834                           esac
14835
14836 else
14837   enable_cheaders=$c_model
14838 fi;
14839
14840   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14841 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14842
14843   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14844
14845   # Allow overrides to configure.host here.
14846   if test $enable_cheaders = c_global; then
14847      c_compatibility=yes
14848   fi
14849
14850   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14851      c_extra=yes
14852   fi
14853
14854
14855
14856
14857
14858
14859
14860
14861    # Check whether --enable-long-long or --disable-long-long was given.
14862 if test "${enable_long_long+set}" = set; then
14863   enableval="$enable_long_long"
14864
14865       case "$enableval" in
14866        yes|no) ;;
14867        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14868 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14869    { (exit 1); exit 1; }; } ;;
14870       esac
14871
14872 else
14873   enable_long_long=yes
14874 fi;
14875
14876   if test $enable_long_long = yes; then
14877
14878 cat >>confdefs.h <<\_ACEOF
14879 #define _GLIBCXX_USE_LONG_LONG 1
14880 _ACEOF
14881
14882   fi
14883   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14884 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14885   echo "$as_me:$LINENO: result: $enable_long_long" >&5
14886 echo "${ECHO_T}$enable_long_long" >&6
14887
14888
14889    # Check whether --enable-wchar_t or --disable-wchar_t was given.
14890 if test "${enable_wchar_t+set}" = set; then
14891   enableval="$enable_wchar_t"
14892
14893       case "$enableval" in
14894        yes|no) ;;
14895        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14896 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14897    { (exit 1); exit 1; }; } ;;
14898       esac
14899
14900 else
14901   enable_wchar_t=yes
14902 fi;
14903
14904
14905   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14906
14907 for ac_header in wchar.h
14908 do
14909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14911   echo "$as_me:$LINENO: checking for $ac_header" >&5
14912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14914   echo $ECHO_N "(cached) $ECHO_C" >&6
14915 fi
14916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14918 else
14919   # Is the header compilable?
14920 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14922 cat >conftest.$ac_ext <<_ACEOF
14923 /* confdefs.h.  */
14924 _ACEOF
14925 cat confdefs.h >>conftest.$ac_ext
14926 cat >>conftest.$ac_ext <<_ACEOF
14927 /* end confdefs.h.  */
14928 $ac_includes_default
14929 #include <$ac_header>
14930 _ACEOF
14931 rm -f conftest.$ac_objext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14933   (eval $ac_compile) 2>conftest.er1
14934   ac_status=$?
14935   grep -v '^ *+' conftest.er1 >conftest.err
14936   rm -f conftest.er1
14937   cat conftest.err >&5
14938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939   (exit $ac_status); } &&
14940          { ac_try='test -z "$ac_c_werror_flag"
14941                          || test ! -s conftest.err'
14942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943   (eval $ac_try) 2>&5
14944   ac_status=$?
14945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946   (exit $ac_status); }; } &&
14947          { ac_try='test -s conftest.$ac_objext'
14948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949   (eval $ac_try) 2>&5
14950   ac_status=$?
14951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952   (exit $ac_status); }; }; then
14953   ac_header_compiler=yes
14954 else
14955   echo "$as_me: failed program was:" >&5
14956 sed 's/^/| /' conftest.$ac_ext >&5
14957
14958 ac_header_compiler=no
14959 fi
14960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14962 echo "${ECHO_T}$ac_header_compiler" >&6
14963
14964 # Is the header present?
14965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14967 cat >conftest.$ac_ext <<_ACEOF
14968 /* confdefs.h.  */
14969 _ACEOF
14970 cat confdefs.h >>conftest.$ac_ext
14971 cat >>conftest.$ac_ext <<_ACEOF
14972 /* end confdefs.h.  */
14973 #include <$ac_header>
14974 _ACEOF
14975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14976   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14977   ac_status=$?
14978   grep -v '^ *+' conftest.er1 >conftest.err
14979   rm -f conftest.er1
14980   cat conftest.err >&5
14981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982   (exit $ac_status); } >/dev/null; then
14983   if test -s conftest.err; then
14984     ac_cpp_err=$ac_c_preproc_warn_flag
14985     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14986   else
14987     ac_cpp_err=
14988   fi
14989 else
14990   ac_cpp_err=yes
14991 fi
14992 if test -z "$ac_cpp_err"; then
14993   ac_header_preproc=yes
14994 else
14995   echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14997
14998   ac_header_preproc=no
14999 fi
15000 rm -f conftest.err conftest.$ac_ext
15001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15002 echo "${ECHO_T}$ac_header_preproc" >&6
15003
15004 # So?  What about this header?
15005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15006   yes:no: )
15007     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15009     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15011     ac_header_preproc=yes
15012     ;;
15013   no:yes:* )
15014     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15016     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15017 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15018     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15020     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15021 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15022     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15024     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15026     (
15027       cat <<\_ASBOX
15028 ## ----------------------------------------- ##
15029 ## Report this to the package-unused lists.  ##
15030 ## ----------------------------------------- ##
15031 _ASBOX
15032     ) |
15033       sed "s/^/$as_me: WARNING:     /" >&2
15034     ;;
15035 esac
15036 echo "$as_me:$LINENO: checking for $ac_header" >&5
15037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15039   echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041   eval "$as_ac_Header=\$ac_header_preproc"
15042 fi
15043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15045
15046 fi
15047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15048   cat >>confdefs.h <<_ACEOF
15049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15050 _ACEOF
15051  ac_has_wchar_h=yes
15052 else
15053   ac_has_wchar_h=no
15054 fi
15055
15056 done
15057
15058   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15059 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15060   cat >conftest.$ac_ext <<_ACEOF
15061 /* confdefs.h.  */
15062 _ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h.  */
15066 #include <wchar.h>
15067 int
15068 main ()
15069 {
15070 mbstate_t teststate;
15071   ;
15072   return 0;
15073 }
15074 _ACEOF
15075 rm -f conftest.$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077   (eval $ac_compile) 2>conftest.er1
15078   ac_status=$?
15079   grep -v '^ *+' conftest.er1 >conftest.err
15080   rm -f conftest.er1
15081   cat conftest.err >&5
15082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083   (exit $ac_status); } &&
15084          { ac_try='test -z "$ac_c_werror_flag"
15085                          || test ! -s conftest.err'
15086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087   (eval $ac_try) 2>&5
15088   ac_status=$?
15089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090   (exit $ac_status); }; } &&
15091          { ac_try='test -s conftest.$ac_objext'
15092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093   (eval $ac_try) 2>&5
15094   ac_status=$?
15095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096   (exit $ac_status); }; }; then
15097   have_mbstate_t=yes
15098 else
15099   echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.$ac_ext >&5
15101
15102 have_mbstate_t=no
15103 fi
15104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15105   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15106 echo "${ECHO_T}$have_mbstate_t" >&6
15107   if test x"$have_mbstate_t" = xyes; then
15108
15109 cat >>confdefs.h <<\_ACEOF
15110 #define HAVE_MBSTATE_T 1
15111 _ACEOF
15112
15113   fi
15114
15115   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15116   # ac_has_wchar_h.
15117
15118 for ac_header in wctype.h
15119 do
15120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15122   echo "$as_me:$LINENO: checking for $ac_header" >&5
15123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15125   echo $ECHO_N "(cached) $ECHO_C" >&6
15126 fi
15127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15129 else
15130   # Is the header compilable?
15131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15133 cat >conftest.$ac_ext <<_ACEOF
15134 /* confdefs.h.  */
15135 _ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h.  */
15139 $ac_includes_default
15140 #include <$ac_header>
15141 _ACEOF
15142 rm -f conftest.$ac_objext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144   (eval $ac_compile) 2>conftest.er1
15145   ac_status=$?
15146   grep -v '^ *+' conftest.er1 >conftest.err
15147   rm -f conftest.er1
15148   cat conftest.err >&5
15149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150   (exit $ac_status); } &&
15151          { ac_try='test -z "$ac_c_werror_flag"
15152                          || test ! -s conftest.err'
15153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154   (eval $ac_try) 2>&5
15155   ac_status=$?
15156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157   (exit $ac_status); }; } &&
15158          { ac_try='test -s conftest.$ac_objext'
15159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160   (eval $ac_try) 2>&5
15161   ac_status=$?
15162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163   (exit $ac_status); }; }; then
15164   ac_header_compiler=yes
15165 else
15166   echo "$as_me: failed program was:" >&5
15167 sed 's/^/| /' conftest.$ac_ext >&5
15168
15169 ac_header_compiler=no
15170 fi
15171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15173 echo "${ECHO_T}$ac_header_compiler" >&6
15174
15175 # Is the header present?
15176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15178 cat >conftest.$ac_ext <<_ACEOF
15179 /* confdefs.h.  */
15180 _ACEOF
15181 cat confdefs.h >>conftest.$ac_ext
15182 cat >>conftest.$ac_ext <<_ACEOF
15183 /* end confdefs.h.  */
15184 #include <$ac_header>
15185 _ACEOF
15186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15187   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15188   ac_status=$?
15189   grep -v '^ *+' conftest.er1 >conftest.err
15190   rm -f conftest.er1
15191   cat conftest.err >&5
15192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193   (exit $ac_status); } >/dev/null; then
15194   if test -s conftest.err; then
15195     ac_cpp_err=$ac_c_preproc_warn_flag
15196     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15197   else
15198     ac_cpp_err=
15199   fi
15200 else
15201   ac_cpp_err=yes
15202 fi
15203 if test -z "$ac_cpp_err"; then
15204   ac_header_preproc=yes
15205 else
15206   echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.$ac_ext >&5
15208
15209   ac_header_preproc=no
15210 fi
15211 rm -f conftest.err conftest.$ac_ext
15212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15213 echo "${ECHO_T}$ac_header_preproc" >&6
15214
15215 # So?  What about this header?
15216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15217   yes:no: )
15218     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15220     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15222     ac_header_preproc=yes
15223     ;;
15224   no:yes:* )
15225     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15227     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15228 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15229     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15231     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15232 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15233     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15235     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15237     (
15238       cat <<\_ASBOX
15239 ## ----------------------------------------- ##
15240 ## Report this to the package-unused lists.  ##
15241 ## ----------------------------------------- ##
15242 _ASBOX
15243     ) |
15244       sed "s/^/$as_me: WARNING:     /" >&2
15245     ;;
15246 esac
15247 echo "$as_me:$LINENO: checking for $ac_header" >&5
15248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15250   echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15252   eval "$as_ac_Header=\$ac_header_preproc"
15253 fi
15254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15256
15257 fi
15258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15259   cat >>confdefs.h <<_ACEOF
15260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15261 _ACEOF
15262  ac_has_wctype_h=yes
15263 else
15264   ac_has_wctype_h=no
15265 fi
15266
15267 done
15268
15269
15270   if test x"$enable_wchar_t" = x"yes"; then
15271
15272
15273
15274     ac_ext=cc
15275 ac_cpp='$CXXCPP $CPPFLAGS'
15276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15279
15280
15281     if test x"$ac_has_wchar_h" = xyes &&
15282        test x"$ac_has_wctype_h" = xyes; then
15283       cat >conftest.$ac_ext <<_ACEOF
15284 /* confdefs.h.  */
15285 _ACEOF
15286 cat confdefs.h >>conftest.$ac_ext
15287 cat >>conftest.$ac_ext <<_ACEOF
15288 /* end confdefs.h.  */
15289 #include <wchar.h>
15290                       #include <stddef.h>
15291                       wint_t i;
15292                       long l = WEOF;
15293                       long j = WCHAR_MIN;
15294                       long k = WCHAR_MAX;
15295                       namespace test
15296                       {
15297                         using ::btowc;
15298                         using ::fgetwc;
15299                         using ::fgetws;
15300                         using ::fputwc;
15301                         using ::fputws;
15302                         using ::fwide;
15303                         using ::fwprintf;
15304                         using ::fwscanf;
15305                         using ::getwc;
15306                         using ::getwchar;
15307                         using ::mbrlen;
15308                         using ::mbrtowc;
15309                         using ::mbsinit;
15310                         using ::mbsrtowcs;
15311                         using ::putwc;
15312                         using ::putwchar;
15313                         using ::swprintf;
15314                         using ::swscanf;
15315                         using ::ungetwc;
15316                         using ::vfwprintf;
15317                         using ::vswprintf;
15318                         using ::vwprintf;
15319                         using ::wcrtomb;
15320                         using ::wcscat;
15321                         using ::wcschr;
15322                         using ::wcscmp;
15323                         using ::wcscoll;
15324                         using ::wcscpy;
15325                         using ::wcscspn;
15326                         using ::wcsftime;
15327                         using ::wcslen;
15328                         using ::wcsncat;
15329                         using ::wcsncmp;
15330                         using ::wcsncpy;
15331                         using ::wcspbrk;
15332                         using ::wcsrchr;
15333                         using ::wcsrtombs;
15334                         using ::wcsspn;
15335                         using ::wcsstr;
15336                         using ::wcstod;
15337                         using ::wcstok;
15338                         using ::wcstol;
15339                         using ::wcstoul;
15340                         using ::wcsxfrm;
15341                         using ::wctob;
15342                         using ::wmemchr;
15343                         using ::wmemcmp;
15344                         using ::wmemcpy;
15345                         using ::wmemmove;
15346                         using ::wmemset;
15347                         using ::wprintf;
15348                         using ::wscanf;
15349                       }
15350
15351 int
15352 main ()
15353 {
15354
15355   ;
15356   return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361   (eval $ac_compile) 2>conftest.er1
15362   ac_status=$?
15363   grep -v '^ *+' conftest.er1 >conftest.err
15364   rm -f conftest.er1
15365   cat conftest.err >&5
15366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367   (exit $ac_status); } &&
15368          { ac_try='test -z "$ac_cxx_werror_flag"
15369                          || test ! -s conftest.err'
15370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371   (eval $ac_try) 2>&5
15372   ac_status=$?
15373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374   (exit $ac_status); }; } &&
15375          { ac_try='test -s conftest.$ac_objext'
15376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377   (eval $ac_try) 2>&5
15378   ac_status=$?
15379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380   (exit $ac_status); }; }; then
15381   :
15382 else
15383   echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 enable_wchar_t=no
15387 fi
15388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15389     else
15390       enable_wchar_t=no
15391     fi
15392
15393     ac_ext=c
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398
15399   fi
15400
15401   if test x"$enable_wchar_t" = x"yes"; then
15402
15403 cat >>confdefs.h <<\_ACEOF
15404 #define _GLIBCXX_USE_WCHAR_T 1
15405 _ACEOF
15406
15407   fi
15408
15409   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15410 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15411   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15412 echo "${ECHO_T}$enable_wchar_t" >&6
15413
15414
15415
15416    # Check whether --enable-c99 or --disable-c99 was given.
15417 if test "${enable_c99+set}" = set; then
15418   enableval="$enable_c99"
15419
15420       case "$enableval" in
15421        yes|no) ;;
15422        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15423 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15424    { (exit 1); exit 1; }; } ;;
15425       esac
15426
15427 else
15428   enable_c99=yes
15429 fi;
15430
15431
15432   if test x"$enable_c99" = x"yes"; then
15433
15434
15435
15436   ac_ext=cc
15437 ac_cpp='$CXXCPP $CPPFLAGS'
15438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15441
15442
15443   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15444   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15445   # spuriously enabled.
15446   # Long term, -std=c++0x could be even better, could manage to explicitely
15447   # request C99 facilities to the underlying C headers.
15448   ac_save_CXXFLAGS="$CXXFLAGS"
15449   CXXFLAGS="$CXXFLAGS -std=c++98"
15450   ac_save_LIBS="$LIBS"
15451   ac_save_gcc_no_link="$gcc_no_link"
15452
15453   if test x$gcc_no_link != xyes; then
15454     # Use -fno-exceptions to that the C driver can link these tests without
15455     # hitting undefined references to personality routines.
15456     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15457     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15458 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15459 if test "${ac_cv_lib_m_sin+set}" = set; then
15460   echo $ECHO_N "(cached) $ECHO_C" >&6
15461 else
15462   ac_check_lib_save_LIBS=$LIBS
15463 LIBS="-lm  $LIBS"
15464 if test x$gcc_no_link = xyes; then
15465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15467    { (exit 1); exit 1; }; }
15468 fi
15469 cat >conftest.$ac_ext <<_ACEOF
15470 /* confdefs.h.  */
15471 _ACEOF
15472 cat confdefs.h >>conftest.$ac_ext
15473 cat >>conftest.$ac_ext <<_ACEOF
15474 /* end confdefs.h.  */
15475
15476 /* Override any gcc2 internal prototype to avoid an error.  */
15477 #ifdef __cplusplus
15478 extern "C"
15479 #endif
15480 /* We use char because int might match the return type of a gcc2
15481    builtin and then its argument prototype would still apply.  */
15482 char sin ();
15483 int
15484 main ()
15485 {
15486 sin ();
15487   ;
15488   return 0;
15489 }
15490 _ACEOF
15491 rm -f conftest.$ac_objext conftest$ac_exeext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15493   (eval $ac_link) 2>conftest.er1
15494   ac_status=$?
15495   grep -v '^ *+' conftest.er1 >conftest.err
15496   rm -f conftest.er1
15497   cat conftest.err >&5
15498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499   (exit $ac_status); } &&
15500          { ac_try='test -z "$ac_cxx_werror_flag"
15501                          || test ! -s conftest.err'
15502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503   (eval $ac_try) 2>&5
15504   ac_status=$?
15505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506   (exit $ac_status); }; } &&
15507          { ac_try='test -s conftest$ac_exeext'
15508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509   (eval $ac_try) 2>&5
15510   ac_status=$?
15511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512   (exit $ac_status); }; }; then
15513   ac_cv_lib_m_sin=yes
15514 else
15515   echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.$ac_ext >&5
15517
15518 ac_cv_lib_m_sin=no
15519 fi
15520 rm -f conftest.err conftest.$ac_objext \
15521       conftest$ac_exeext conftest.$ac_ext
15522 LIBS=$ac_check_lib_save_LIBS
15523 fi
15524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15525 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15526 if test $ac_cv_lib_m_sin = yes; then
15527
15528       LIBS="$LIBS -lm"
15529
15530 else
15531
15532       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15533       gcc_no_link=yes
15534
15535 fi
15536
15537   fi
15538
15539   # Check for the existence of <math.h> functions used if C99 is enabled.
15540   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15541 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15542   if test "${ac_c99_math+set}" = set; then
15543   echo $ECHO_N "(cached) $ECHO_C" >&6
15544 else
15545
15546   if test x$gcc_no_link = xyes; then
15547   cat >conftest.$ac_ext <<_ACEOF
15548 /* confdefs.h.  */
15549 _ACEOF
15550 cat confdefs.h >>conftest.$ac_ext
15551 cat >>conftest.$ac_ext <<_ACEOF
15552 /* end confdefs.h.  */
15553 #include <math.h>
15554       volatile double d1, d2;
15555       volatile int i;
15556 int
15557 main ()
15558 {
15559 i = fpclassify(d1);
15560       i = isfinite(d1);
15561       i = isinf(d1);
15562       i = isnan(d1);
15563       i = isnormal(d1);
15564       i = signbit(d1);
15565       i = isgreater(d1, d2);
15566       i = isgreaterequal(d1, d2);
15567       i = isless(d1, d2);
15568       i = islessequal(d1, d2);
15569       i = islessgreater(d1, d2);
15570       i = islessgreater(d1, d2);
15571       i = isunordered(d1, d2);
15572
15573   ;
15574   return 0;
15575 }
15576 _ACEOF
15577 rm -f conftest.$ac_objext
15578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15579   (eval $ac_compile) 2>conftest.er1
15580   ac_status=$?
15581   grep -v '^ *+' conftest.er1 >conftest.err
15582   rm -f conftest.er1
15583   cat conftest.err >&5
15584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585   (exit $ac_status); } &&
15586          { ac_try='test -z "$ac_cxx_werror_flag"
15587                          || test ! -s conftest.err'
15588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589   (eval $ac_try) 2>&5
15590   ac_status=$?
15591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592   (exit $ac_status); }; } &&
15593          { ac_try='test -s conftest.$ac_objext'
15594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595   (eval $ac_try) 2>&5
15596   ac_status=$?
15597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598   (exit $ac_status); }; }; then
15599   ac_c99_math=yes
15600 else
15601   echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.$ac_ext >&5
15603
15604 ac_c99_math=no
15605 fi
15606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15607 else
15608   if test x$gcc_no_link = xyes; then
15609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15611    { (exit 1); exit 1; }; }
15612 fi
15613 cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h.  */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h.  */
15619 #include <math.h>
15620       volatile double d1, d2;
15621       volatile int i;
15622 int
15623 main ()
15624 {
15625 i = fpclassify(d1);
15626       i = isfinite(d1);
15627       i = isinf(d1);
15628       i = isnan(d1);
15629       i = isnormal(d1);
15630       i = signbit(d1);
15631       i = isgreater(d1, d2);
15632       i = isgreaterequal(d1, d2);
15633       i = isless(d1, d2);
15634       i = islessequal(d1, d2);
15635       i = islessgreater(d1, d2);
15636       i = islessgreater(d1, d2);
15637       i = isunordered(d1, d2);
15638
15639   ;
15640   return 0;
15641 }
15642 _ACEOF
15643 rm -f conftest.$ac_objext conftest$ac_exeext
15644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15645   (eval $ac_link) 2>conftest.er1
15646   ac_status=$?
15647   grep -v '^ *+' conftest.er1 >conftest.err
15648   rm -f conftest.er1
15649   cat conftest.err >&5
15650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651   (exit $ac_status); } &&
15652          { ac_try='test -z "$ac_cxx_werror_flag"
15653                          || test ! -s conftest.err'
15654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655   (eval $ac_try) 2>&5
15656   ac_status=$?
15657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658   (exit $ac_status); }; } &&
15659          { ac_try='test -s conftest$ac_exeext'
15660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661   (eval $ac_try) 2>&5
15662   ac_status=$?
15663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664   (exit $ac_status); }; }; then
15665   ac_c99_math=yes
15666 else
15667   echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15669
15670 ac_c99_math=no
15671 fi
15672 rm -f conftest.err conftest.$ac_objext \
15673       conftest$ac_exeext conftest.$ac_ext
15674 fi
15675
15676 fi
15677
15678   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15679 echo "${ECHO_T}$ac_c99_math" >&6
15680   if test x"$ac_c99_math" = x"yes"; then
15681
15682 cat >>confdefs.h <<\_ACEOF
15683 #define _GLIBCXX_USE_C99_MATH 1
15684 _ACEOF
15685
15686   fi
15687
15688   # Check for the existence of <complex.h> complex math functions.
15689   # This is necessary even though libstdc++ uses the builtin versions
15690   # of these functions, because if the builtin cannot be used, a reference
15691   # to the library function is emitted.
15692
15693 for ac_header in tgmath.h
15694 do
15695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15697   echo "$as_me:$LINENO: checking for $ac_header" >&5
15698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15700   echo $ECHO_N "(cached) $ECHO_C" >&6
15701 fi
15702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15704 else
15705   # Is the header compilable?
15706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15708 cat >conftest.$ac_ext <<_ACEOF
15709 /* confdefs.h.  */
15710 _ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h.  */
15714 $ac_includes_default
15715 #include <$ac_header>
15716 _ACEOF
15717 rm -f conftest.$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719   (eval $ac_compile) 2>conftest.er1
15720   ac_status=$?
15721   grep -v '^ *+' conftest.er1 >conftest.err
15722   rm -f conftest.er1
15723   cat conftest.err >&5
15724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725   (exit $ac_status); } &&
15726          { ac_try='test -z "$ac_cxx_werror_flag"
15727                          || test ! -s conftest.err'
15728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729   (eval $ac_try) 2>&5
15730   ac_status=$?
15731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732   (exit $ac_status); }; } &&
15733          { ac_try='test -s conftest.$ac_objext'
15734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735   (eval $ac_try) 2>&5
15736   ac_status=$?
15737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738   (exit $ac_status); }; }; then
15739   ac_header_compiler=yes
15740 else
15741   echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.$ac_ext >&5
15743
15744 ac_header_compiler=no
15745 fi
15746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15748 echo "${ECHO_T}$ac_header_compiler" >&6
15749
15750 # Is the header present?
15751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15753 cat >conftest.$ac_ext <<_ACEOF
15754 /* confdefs.h.  */
15755 _ACEOF
15756 cat confdefs.h >>conftest.$ac_ext
15757 cat >>conftest.$ac_ext <<_ACEOF
15758 /* end confdefs.h.  */
15759 #include <$ac_header>
15760 _ACEOF
15761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15762   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15763   ac_status=$?
15764   grep -v '^ *+' conftest.er1 >conftest.err
15765   rm -f conftest.er1
15766   cat conftest.err >&5
15767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768   (exit $ac_status); } >/dev/null; then
15769   if test -s conftest.err; then
15770     ac_cpp_err=$ac_cxx_preproc_warn_flag
15771     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15772   else
15773     ac_cpp_err=
15774   fi
15775 else
15776   ac_cpp_err=yes
15777 fi
15778 if test -z "$ac_cpp_err"; then
15779   ac_header_preproc=yes
15780 else
15781   echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784   ac_header_preproc=no
15785 fi
15786 rm -f conftest.err conftest.$ac_ext
15787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15788 echo "${ECHO_T}$ac_header_preproc" >&6
15789
15790 # So?  What about this header?
15791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15792   yes:no: )
15793     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15795     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15797     ac_header_preproc=yes
15798     ;;
15799   no:yes:* )
15800     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15802     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15803 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15804     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15806     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15807 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15808     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15810     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15812     (
15813       cat <<\_ASBOX
15814 ## ----------------------------------------- ##
15815 ## Report this to the package-unused lists.  ##
15816 ## ----------------------------------------- ##
15817 _ASBOX
15818     ) |
15819       sed "s/^/$as_me: WARNING:     /" >&2
15820     ;;
15821 esac
15822 echo "$as_me:$LINENO: checking for $ac_header" >&5
15823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15825   echo $ECHO_N "(cached) $ECHO_C" >&6
15826 else
15827   eval "$as_ac_Header=\$ac_header_preproc"
15828 fi
15829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15831
15832 fi
15833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15834   cat >>confdefs.h <<_ACEOF
15835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15836 _ACEOF
15837  ac_has_tgmath_h=yes
15838 else
15839   ac_has_tgmath_h=no
15840 fi
15841
15842 done
15843
15844
15845 for ac_header in complex.h
15846 do
15847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15849   echo "$as_me:$LINENO: checking for $ac_header" >&5
15850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15852   echo $ECHO_N "(cached) $ECHO_C" >&6
15853 fi
15854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15856 else
15857   # Is the header compilable?
15858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h.  */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h.  */
15866 $ac_includes_default
15867 #include <$ac_header>
15868 _ACEOF
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871   (eval $ac_compile) 2>conftest.er1
15872   ac_status=$?
15873   grep -v '^ *+' conftest.er1 >conftest.err
15874   rm -f conftest.er1
15875   cat conftest.err >&5
15876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877   (exit $ac_status); } &&
15878          { ac_try='test -z "$ac_cxx_werror_flag"
15879                          || test ! -s conftest.err'
15880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881   (eval $ac_try) 2>&5
15882   ac_status=$?
15883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884   (exit $ac_status); }; } &&
15885          { ac_try='test -s conftest.$ac_objext'
15886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887   (eval $ac_try) 2>&5
15888   ac_status=$?
15889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890   (exit $ac_status); }; }; then
15891   ac_header_compiler=yes
15892 else
15893   echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 ac_header_compiler=no
15897 fi
15898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15900 echo "${ECHO_T}$ac_header_compiler" >&6
15901
15902 # Is the header present?
15903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h.  */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h.  */
15911 #include <$ac_header>
15912 _ACEOF
15913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15914   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15915   ac_status=$?
15916   grep -v '^ *+' conftest.er1 >conftest.err
15917   rm -f conftest.er1
15918   cat conftest.err >&5
15919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920   (exit $ac_status); } >/dev/null; then
15921   if test -s conftest.err; then
15922     ac_cpp_err=$ac_cxx_preproc_warn_flag
15923     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15924   else
15925     ac_cpp_err=
15926   fi
15927 else
15928   ac_cpp_err=yes
15929 fi
15930 if test -z "$ac_cpp_err"; then
15931   ac_header_preproc=yes
15932 else
15933   echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15935
15936   ac_header_preproc=no
15937 fi
15938 rm -f conftest.err conftest.$ac_ext
15939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15940 echo "${ECHO_T}$ac_header_preproc" >&6
15941
15942 # So?  What about this header?
15943 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15944   yes:no: )
15945     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15947     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15949     ac_header_preproc=yes
15950     ;;
15951   no:yes:* )
15952     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15954     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15955 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15956     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15958     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15959 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15960     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15962     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15964     (
15965       cat <<\_ASBOX
15966 ## ----------------------------------------- ##
15967 ## Report this to the package-unused lists.  ##
15968 ## ----------------------------------------- ##
15969 _ASBOX
15970     ) |
15971       sed "s/^/$as_me: WARNING:     /" >&2
15972     ;;
15973 esac
15974 echo "$as_me:$LINENO: checking for $ac_header" >&5
15975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15977   echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979   eval "$as_ac_Header=\$ac_header_preproc"
15980 fi
15981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15983
15984 fi
15985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15986   cat >>confdefs.h <<_ACEOF
15987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15988 _ACEOF
15989  ac_has_complex_h=yes
15990 else
15991   ac_has_complex_h=no
15992 fi
15993
15994 done
15995
15996   ac_c99_complex=no;
15997   if test x"$ac_has_complex_h" = x"yes"; then
15998     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15999 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16000     if test x$gcc_no_link = xyes; then
16001   cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h.  */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h.  */
16007 #include <complex.h>
16008         typedef __complex__ float float_type;
16009         typedef __complex__ double double_type;
16010         typedef __complex__ long double ld_type;
16011         volatile float_type tmpf;
16012         volatile double_type tmpd;
16013         volatile ld_type tmpld;
16014         volatile float f;
16015         volatile double d;
16016         volatile long double ld;
16017 int
16018 main ()
16019 {
16020 f = cabsf(tmpf);
16021         f = cargf(tmpf);
16022         tmpf = ccosf(tmpf);
16023         tmpf = ccoshf(tmpf);
16024         tmpf = cexpf(tmpf);
16025         tmpf = clogf(tmpf);
16026         tmpf = csinf(tmpf);
16027         tmpf = csinhf(tmpf);
16028         tmpf = csqrtf(tmpf);
16029         tmpf = ctanf(tmpf);
16030         tmpf = ctanhf(tmpf);
16031         tmpf = cpowf(tmpf, tmpf);
16032         d = cabs(tmpd);
16033         d = carg(tmpd);
16034         tmpd = ccos(tmpd);
16035         tmpd = ccosh(tmpd);
16036         tmpd = cexp(tmpd);
16037         tmpd = clog(tmpd);
16038         tmpd = csin(tmpd);
16039         tmpd = csinh(tmpd);
16040         tmpd = csqrt(tmpd);
16041         tmpd = ctan(tmpd);
16042         tmpd = ctanh(tmpd);
16043         tmpd = cpow(tmpd, tmpd);
16044         ld = cabsl(tmpld);
16045         ld = cargl(tmpld);
16046         tmpld = ccosl(tmpld);
16047         tmpld = ccoshl(tmpld);
16048         tmpld = cexpl(tmpld);
16049         tmpld = clogl(tmpld);
16050         tmpld = csinl(tmpld);
16051         tmpld = csinhl(tmpld);
16052         tmpld = csqrtl(tmpld);
16053         tmpld = ctanl(tmpld);
16054         tmpld = ctanhl(tmpld);
16055         tmpld = cpowl(tmpld, tmpld);
16056
16057   ;
16058   return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063   (eval $ac_compile) 2>conftest.er1
16064   ac_status=$?
16065   grep -v '^ *+' conftest.er1 >conftest.err
16066   rm -f conftest.er1
16067   cat conftest.err >&5
16068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069   (exit $ac_status); } &&
16070          { ac_try='test -z "$ac_cxx_werror_flag"
16071                          || test ! -s conftest.err'
16072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073   (eval $ac_try) 2>&5
16074   ac_status=$?
16075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076   (exit $ac_status); }; } &&
16077          { ac_try='test -s conftest.$ac_objext'
16078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079   (eval $ac_try) 2>&5
16080   ac_status=$?
16081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082   (exit $ac_status); }; }; then
16083   ac_c99_complex=yes
16084 else
16085   echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 ac_c99_complex=no
16089 fi
16090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16091 else
16092   if test x$gcc_no_link = xyes; then
16093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16095    { (exit 1); exit 1; }; }
16096 fi
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 #include <complex.h>
16104         typedef __complex__ float float_type;
16105         typedef __complex__ double double_type;
16106         typedef __complex__ long double ld_type;
16107         volatile float_type tmpf;
16108         volatile double_type tmpd;
16109         volatile ld_type tmpld;
16110         volatile float f;
16111         volatile double d;
16112         volatile long double ld;
16113 int
16114 main ()
16115 {
16116 f = cabsf(tmpf);
16117         f = cargf(tmpf);
16118         tmpf = ccosf(tmpf);
16119         tmpf = ccoshf(tmpf);
16120         tmpf = cexpf(tmpf);
16121         tmpf = clogf(tmpf);
16122         tmpf = csinf(tmpf);
16123         tmpf = csinhf(tmpf);
16124         tmpf = csqrtf(tmpf);
16125         tmpf = ctanf(tmpf);
16126         tmpf = ctanhf(tmpf);
16127         tmpf = cpowf(tmpf, tmpf);
16128         d = cabs(tmpd);
16129         d = carg(tmpd);
16130         tmpd = ccos(tmpd);
16131         tmpd = ccosh(tmpd);
16132         tmpd = cexp(tmpd);
16133         tmpd = clog(tmpd);
16134         tmpd = csin(tmpd);
16135         tmpd = csinh(tmpd);
16136         tmpd = csqrt(tmpd);
16137         tmpd = ctan(tmpd);
16138         tmpd = ctanh(tmpd);
16139         tmpd = cpow(tmpd, tmpd);
16140         ld = cabsl(tmpld);
16141         ld = cargl(tmpld);
16142         tmpld = ccosl(tmpld);
16143         tmpld = ccoshl(tmpld);
16144         tmpld = cexpl(tmpld);
16145         tmpld = clogl(tmpld);
16146         tmpld = csinl(tmpld);
16147         tmpld = csinhl(tmpld);
16148         tmpld = csqrtl(tmpld);
16149         tmpld = ctanl(tmpld);
16150         tmpld = ctanhl(tmpld);
16151         tmpld = cpowl(tmpld, tmpld);
16152
16153   ;
16154   return 0;
16155 }
16156 _ACEOF
16157 rm -f conftest.$ac_objext conftest$ac_exeext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16159   (eval $ac_link) 2>conftest.er1
16160   ac_status=$?
16161   grep -v '^ *+' conftest.er1 >conftest.err
16162   rm -f conftest.er1
16163   cat conftest.err >&5
16164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165   (exit $ac_status); } &&
16166          { ac_try='test -z "$ac_cxx_werror_flag"
16167                          || test ! -s conftest.err'
16168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169   (eval $ac_try) 2>&5
16170   ac_status=$?
16171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172   (exit $ac_status); }; } &&
16173          { ac_try='test -s conftest$ac_exeext'
16174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175   (eval $ac_try) 2>&5
16176   ac_status=$?
16177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178   (exit $ac_status); }; }; then
16179   ac_c99_complex=yes
16180 else
16181   echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16183
16184 ac_c99_complex=no
16185 fi
16186 rm -f conftest.err conftest.$ac_objext \
16187       conftest$ac_exeext conftest.$ac_ext
16188 fi
16189   fi
16190   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16191 echo "${ECHO_T}$ac_c99_complex" >&6
16192   if test x"$ac_c99_complex" = x"yes"; then
16193
16194 cat >>confdefs.h <<\_ACEOF
16195 #define _GLIBCXX_USE_C99_COMPLEX 1
16196 _ACEOF
16197
16198   fi
16199
16200   # Check for the existence in <stdio.h> of vscanf, et. al.
16201   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16202 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16203   if test "${ac_c99_stdio+set}" = set; then
16204   echo $ECHO_N "(cached) $ECHO_C" >&6
16205 else
16206
16207   if test x$gcc_no_link = xyes; then
16208   cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h.  */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h.  */
16214 #include <stdio.h>
16215       #include <stdarg.h>
16216       void foo(char* fmt, ...)
16217       {
16218         va_list args; va_start(args, fmt);
16219         vfscanf(stderr, "%i", args);
16220         vscanf("%i", args);
16221         vsnprintf(fmt, 0, "%i", args);
16222         vsscanf(fmt, "%i", args);
16223       }
16224 int
16225 main ()
16226 {
16227 snprintf("12", 0, "%i");
16228   ;
16229   return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234   (eval $ac_compile) 2>conftest.er1
16235   ac_status=$?
16236   grep -v '^ *+' conftest.er1 >conftest.err
16237   rm -f conftest.er1
16238   cat conftest.err >&5
16239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240   (exit $ac_status); } &&
16241          { ac_try='test -z "$ac_cxx_werror_flag"
16242                          || test ! -s conftest.err'
16243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244   (eval $ac_try) 2>&5
16245   ac_status=$?
16246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247   (exit $ac_status); }; } &&
16248          { ac_try='test -s conftest.$ac_objext'
16249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250   (eval $ac_try) 2>&5
16251   ac_status=$?
16252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253   (exit $ac_status); }; }; then
16254   ac_c99_stdio=yes
16255 else
16256   echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ac_c99_stdio=no
16260 fi
16261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262 else
16263   if test x$gcc_no_link = xyes; then
16264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16266    { (exit 1); exit 1; }; }
16267 fi
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h.  */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h.  */
16274 #include <stdio.h>
16275       #include <stdarg.h>
16276       void foo(char* fmt, ...)
16277       {
16278         va_list args; va_start(args, fmt);
16279         vfscanf(stderr, "%i", args);
16280         vscanf("%i", args);
16281         vsnprintf(fmt, 0, "%i", args);
16282         vsscanf(fmt, "%i", args);
16283       }
16284 int
16285 main ()
16286 {
16287 snprintf("12", 0, "%i");
16288   ;
16289   return 0;
16290 }
16291 _ACEOF
16292 rm -f conftest.$ac_objext conftest$ac_exeext
16293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16294   (eval $ac_link) 2>conftest.er1
16295   ac_status=$?
16296   grep -v '^ *+' conftest.er1 >conftest.err
16297   rm -f conftest.er1
16298   cat conftest.err >&5
16299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300   (exit $ac_status); } &&
16301          { ac_try='test -z "$ac_cxx_werror_flag"
16302                          || test ! -s conftest.err'
16303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304   (eval $ac_try) 2>&5
16305   ac_status=$?
16306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307   (exit $ac_status); }; } &&
16308          { ac_try='test -s conftest$ac_exeext'
16309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310   (eval $ac_try) 2>&5
16311   ac_status=$?
16312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313   (exit $ac_status); }; }; then
16314   ac_c99_stdio=yes
16315 else
16316   echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16318
16319 ac_c99_stdio=no
16320 fi
16321 rm -f conftest.err conftest.$ac_objext \
16322       conftest$ac_exeext conftest.$ac_ext
16323 fi
16324
16325 fi
16326
16327   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16328 echo "${ECHO_T}$ac_c99_stdio" >&6
16329
16330   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16331   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16332 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16333   if test "${ac_c99_stdlib+set}" = set; then
16334   echo $ECHO_N "(cached) $ECHO_C" >&6
16335 else
16336
16337   if test x$gcc_no_link = xyes; then
16338   cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h.  */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h.  */
16344 #include <stdlib.h>
16345       volatile float f;
16346       volatile long double ld;
16347       volatile unsigned long long ll;
16348       lldiv_t mydivt;
16349 int
16350 main ()
16351 {
16352 char* tmp;
16353       f = strtof("gnu", &tmp);
16354       ld = strtold("gnu", &tmp);
16355       ll = strtoll("gnu", &tmp, 10);
16356       ll = strtoull("gnu", &tmp, 10);
16357       ll = llabs(10);
16358       mydivt = lldiv(10,1);
16359       ll = mydivt.quot;
16360       ll = mydivt.rem;
16361       ll = atoll("10");
16362       _Exit(0);
16363
16364   ;
16365   return 0;
16366 }
16367 _ACEOF
16368 rm -f conftest.$ac_objext
16369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16370   (eval $ac_compile) 2>conftest.er1
16371   ac_status=$?
16372   grep -v '^ *+' conftest.er1 >conftest.err
16373   rm -f conftest.er1
16374   cat conftest.err >&5
16375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376   (exit $ac_status); } &&
16377          { ac_try='test -z "$ac_cxx_werror_flag"
16378                          || test ! -s conftest.err'
16379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16380   (eval $ac_try) 2>&5
16381   ac_status=$?
16382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383   (exit $ac_status); }; } &&
16384          { ac_try='test -s conftest.$ac_objext'
16385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386   (eval $ac_try) 2>&5
16387   ac_status=$?
16388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389   (exit $ac_status); }; }; then
16390   ac_c99_stdlib=yes
16391 else
16392   echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16394
16395 ac_c99_stdlib=no
16396 fi
16397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16398 else
16399   if test x$gcc_no_link = xyes; then
16400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16402    { (exit 1); exit 1; }; }
16403 fi
16404 cat >conftest.$ac_ext <<_ACEOF
16405 /* confdefs.h.  */
16406 _ACEOF
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h.  */
16410 #include <stdlib.h>
16411       volatile float f;
16412       volatile long double ld;
16413       volatile unsigned long long ll;
16414       lldiv_t mydivt;
16415 int
16416 main ()
16417 {
16418 char* tmp;
16419       f = strtof("gnu", &tmp);
16420       ld = strtold("gnu", &tmp);
16421       ll = strtoll("gnu", &tmp, 10);
16422       ll = strtoull("gnu", &tmp, 10);
16423       ll = llabs(10);
16424       mydivt = lldiv(10,1);
16425       ll = mydivt.quot;
16426       ll = mydivt.rem;
16427       ll = atoll("10");
16428       _Exit(0);
16429
16430   ;
16431   return 0;
16432 }
16433 _ACEOF
16434 rm -f conftest.$ac_objext conftest$ac_exeext
16435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16436   (eval $ac_link) 2>conftest.er1
16437   ac_status=$?
16438   grep -v '^ *+' conftest.er1 >conftest.err
16439   rm -f conftest.er1
16440   cat conftest.err >&5
16441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442   (exit $ac_status); } &&
16443          { ac_try='test -z "$ac_cxx_werror_flag"
16444                          || test ! -s conftest.err'
16445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446   (eval $ac_try) 2>&5
16447   ac_status=$?
16448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449   (exit $ac_status); }; } &&
16450          { ac_try='test -s conftest$ac_exeext'
16451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452   (eval $ac_try) 2>&5
16453   ac_status=$?
16454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455   (exit $ac_status); }; }; then
16456   ac_c99_stdlib=yes
16457 else
16458   echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.$ac_ext >&5
16460
16461 ac_c99_stdlib=no
16462 fi
16463 rm -f conftest.err conftest.$ac_objext \
16464       conftest$ac_exeext conftest.$ac_ext
16465 fi
16466
16467 fi
16468
16469   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16470 echo "${ECHO_T}$ac_c99_stdlib" >&6
16471
16472   # Check for the existence in <wchar.h> of wcstold, etc.
16473   ac_c99_wchar=no;
16474   if test x"$ac_has_wchar_h" = xyes &&
16475      test x"$ac_has_wctype_h" = xyes; then
16476     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16477 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16478     cat >conftest.$ac_ext <<_ACEOF
16479 /* confdefs.h.  */
16480 _ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h.  */
16484 #include <wchar.h>
16485                     namespace test
16486                     {
16487                       using ::wcstold;
16488                       using ::wcstoll;
16489                       using ::wcstoull;
16490                     }
16491
16492 int
16493 main ()
16494 {
16495
16496   ;
16497   return 0;
16498 }
16499 _ACEOF
16500 rm -f conftest.$ac_objext
16501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16502   (eval $ac_compile) 2>conftest.er1
16503   ac_status=$?
16504   grep -v '^ *+' conftest.er1 >conftest.err
16505   rm -f conftest.er1
16506   cat conftest.err >&5
16507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508   (exit $ac_status); } &&
16509          { ac_try='test -z "$ac_cxx_werror_flag"
16510                          || test ! -s conftest.err'
16511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512   (eval $ac_try) 2>&5
16513   ac_status=$?
16514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515   (exit $ac_status); }; } &&
16516          { ac_try='test -s conftest.$ac_objext'
16517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518   (eval $ac_try) 2>&5
16519   ac_status=$?
16520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521   (exit $ac_status); }; }; then
16522   ac_c99_wchar=yes
16523 else
16524   echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16526
16527 ac_c99_wchar=no
16528 fi
16529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16530
16531     # Checks for wide character functions that may not be present.
16532     # Injection of these is wrapped with guard macros.
16533     # NB: only put functions here, instead of immediately above, if
16534     # absolutely necessary.
16535     cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h.  */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h.  */
16541 #include <wchar.h>
16542                     namespace test { using ::vfwscanf; }
16543 int
16544 main ()
16545 {
16546
16547   ;
16548   return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553   (eval $ac_compile) 2>conftest.er1
16554   ac_status=$?
16555   grep -v '^ *+' conftest.er1 >conftest.err
16556   rm -f conftest.er1
16557   cat conftest.err >&5
16558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559   (exit $ac_status); } &&
16560          { ac_try='test -z "$ac_cxx_werror_flag"
16561                          || test ! -s conftest.err'
16562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563   (eval $ac_try) 2>&5
16564   ac_status=$?
16565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566   (exit $ac_status); }; } &&
16567          { ac_try='test -s conftest.$ac_objext'
16568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569   (eval $ac_try) 2>&5
16570   ac_status=$?
16571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572   (exit $ac_status); }; }; then
16573
16574 cat >>confdefs.h <<\_ACEOF
16575 #define HAVE_VFWSCANF 1
16576 _ACEOF
16577
16578 else
16579   echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16581
16582 fi
16583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16584
16585     cat >conftest.$ac_ext <<_ACEOF
16586 /* confdefs.h.  */
16587 _ACEOF
16588 cat confdefs.h >>conftest.$ac_ext
16589 cat >>conftest.$ac_ext <<_ACEOF
16590 /* end confdefs.h.  */
16591 #include <wchar.h>
16592                     namespace test { using ::vswscanf; }
16593 int
16594 main ()
16595 {
16596
16597   ;
16598   return 0;
16599 }
16600 _ACEOF
16601 rm -f conftest.$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603   (eval $ac_compile) 2>conftest.er1
16604   ac_status=$?
16605   grep -v '^ *+' conftest.er1 >conftest.err
16606   rm -f conftest.er1
16607   cat conftest.err >&5
16608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609   (exit $ac_status); } &&
16610          { ac_try='test -z "$ac_cxx_werror_flag"
16611                          || test ! -s conftest.err'
16612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613   (eval $ac_try) 2>&5
16614   ac_status=$?
16615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616   (exit $ac_status); }; } &&
16617          { ac_try='test -s conftest.$ac_objext'
16618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619   (eval $ac_try) 2>&5
16620   ac_status=$?
16621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622   (exit $ac_status); }; }; then
16623
16624 cat >>confdefs.h <<\_ACEOF
16625 #define HAVE_VSWSCANF 1
16626 _ACEOF
16627
16628 else
16629   echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 fi
16633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16634
16635     cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h.  */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h.  */
16641 #include <wchar.h>
16642                     namespace test { using ::vwscanf; }
16643 int
16644 main ()
16645 {
16646
16647   ;
16648   return 0;
16649 }
16650 _ACEOF
16651 rm -f conftest.$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653   (eval $ac_compile) 2>conftest.er1
16654   ac_status=$?
16655   grep -v '^ *+' conftest.er1 >conftest.err
16656   rm -f conftest.er1
16657   cat conftest.err >&5
16658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659   (exit $ac_status); } &&
16660          { ac_try='test -z "$ac_cxx_werror_flag"
16661                          || test ! -s conftest.err'
16662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663   (eval $ac_try) 2>&5
16664   ac_status=$?
16665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666   (exit $ac_status); }; } &&
16667          { ac_try='test -s conftest.$ac_objext'
16668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669   (eval $ac_try) 2>&5
16670   ac_status=$?
16671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672   (exit $ac_status); }; }; then
16673
16674 cat >>confdefs.h <<\_ACEOF
16675 #define HAVE_VWSCANF 1
16676 _ACEOF
16677
16678 else
16679   echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.$ac_ext >&5
16681
16682 fi
16683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16684
16685     cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h.  */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h.  */
16691 #include <wchar.h>
16692                     namespace test { using ::wcstof; }
16693 int
16694 main ()
16695 {
16696
16697   ;
16698   return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703   (eval $ac_compile) 2>conftest.er1
16704   ac_status=$?
16705   grep -v '^ *+' conftest.er1 >conftest.err
16706   rm -f conftest.er1
16707   cat conftest.err >&5
16708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709   (exit $ac_status); } &&
16710          { ac_try='test -z "$ac_cxx_werror_flag"
16711                          || test ! -s conftest.err'
16712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713   (eval $ac_try) 2>&5
16714   ac_status=$?
16715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716   (exit $ac_status); }; } &&
16717          { ac_try='test -s conftest.$ac_objext'
16718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719   (eval $ac_try) 2>&5
16720   ac_status=$?
16721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722   (exit $ac_status); }; }; then
16723
16724 cat >>confdefs.h <<\_ACEOF
16725 #define HAVE_WCSTOF 1
16726 _ACEOF
16727
16728 else
16729   echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 fi
16733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16734
16735     cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h.  */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h.  */
16741 #include <wctype.h>
16742 int
16743 main ()
16744 {
16745  wint_t t; int i = iswblank(t);
16746   ;
16747   return 0;
16748 }
16749 _ACEOF
16750 rm -f conftest.$ac_objext
16751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16752   (eval $ac_compile) 2>conftest.er1
16753   ac_status=$?
16754   grep -v '^ *+' conftest.er1 >conftest.err
16755   rm -f conftest.er1
16756   cat conftest.err >&5
16757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758   (exit $ac_status); } &&
16759          { ac_try='test -z "$ac_cxx_werror_flag"
16760                          || test ! -s conftest.err'
16761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762   (eval $ac_try) 2>&5
16763   ac_status=$?
16764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765   (exit $ac_status); }; } &&
16766          { ac_try='test -s conftest.$ac_objext'
16767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768   (eval $ac_try) 2>&5
16769   ac_status=$?
16770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771   (exit $ac_status); }; }; then
16772
16773 cat >>confdefs.h <<\_ACEOF
16774 #define HAVE_ISWBLANK 1
16775 _ACEOF
16776
16777 else
16778   echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 fi
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16783
16784     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16785 echo "${ECHO_T}$ac_c99_wchar" >&6
16786   fi
16787
16788   # Option parsed, now set things appropriately.
16789   if test x"$ac_c99_math" = x"no" ||
16790      test x"$ac_c99_complex" = x"no" ||
16791      test x"$ac_c99_stdio" = x"no" ||
16792      test x"$ac_c99_stdlib" = x"no" ||
16793      test x"$ac_c99_wchar" = x"no"; then
16794     enable_c99=no;
16795   else
16796
16797 cat >>confdefs.h <<\_ACEOF
16798 #define _GLIBCXX_USE_C99 1
16799 _ACEOF
16800
16801   fi
16802
16803   gcc_no_link="$ac_save_gcc_no_link"
16804   LIBS="$ac_save_LIBS"
16805   CXXFLAGS="$ac_save_CXXFLAGS"
16806   ac_ext=c
16807 ac_cpp='$CPP $CPPFLAGS'
16808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16811
16812   fi
16813
16814   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16815 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16816   echo "$as_me:$LINENO: result: $enable_c99" >&5
16817 echo "${ECHO_T}$enable_c99" >&6
16818
16819
16820    # Check whether --enable-concept-checks or --disable-concept-checks was given.
16821 if test "${enable_concept_checks+set}" = set; then
16822   enableval="$enable_concept_checks"
16823
16824       case "$enableval" in
16825        yes|no) ;;
16826        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16827 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16828    { (exit 1); exit 1; }; } ;;
16829       esac
16830
16831 else
16832   enable_concept_checks=no
16833 fi;
16834
16835   if test $enable_concept_checks = yes; then
16836
16837 cat >>confdefs.h <<\_ACEOF
16838 #define _GLIBCXX_CONCEPT_CHECKS 1
16839 _ACEOF
16840
16841   fi
16842
16843
16844    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16845 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16846   enableval="$enable_libstdcxx_debug_flags"
16847   case "x$enable_libstdcxx_debug_flags" in
16848       xno | x)    enable_libstdcxx_debug_flags= ;;
16849       x-*)        ;;
16850       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16851 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16852    { (exit 1); exit 1; }; } ;;
16853      esac
16854 else
16855   enable_libstdcxx_debug_flags="-g3 -O0"
16856 fi;
16857
16858
16859   # Option parsed, now set things appropriately
16860   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16861
16862
16863   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16864 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16865
16866
16867   echo "$as_me:$LINENO: checking for additional debug build" >&5
16868 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16869    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16870 if test "${enable_libstdcxx_debug+set}" = set; then
16871   enableval="$enable_libstdcxx_debug"
16872
16873       case "$enableval" in
16874        yes|no) ;;
16875        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16876 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16877    { (exit 1); exit 1; }; } ;;
16878       esac
16879
16880 else
16881   enable_libstdcxx_debug=no
16882 fi;
16883
16884   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16885 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16886
16887
16888
16889
16890   # NB: libstdc++ may be configured before libgomp: can't check for the actual
16891   # dependencies (omp.h and libgomp).
16892   enable_parallel=no;
16893   if test -f $glibcxx_builddir/../libgomp/omp.h; then
16894     enable_parallel=yes;
16895   else
16896     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16897 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16898   fi
16899
16900   # Check to see if it's explicitly disabled.
16901 #  GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16902 #       [permit yes|no])
16903
16904 #  if test x$enable_libgomp = xno; then
16905 #    enable_parallel=no
16906 #  fi
16907
16908   echo "$as_me:$LINENO: checking for parallel mode support" >&5
16909 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16910   echo "$as_me:$LINENO: result: $enable_parallel" >&5
16911 echo "${ECHO_T}$enable_parallel" >&6
16912
16913
16914   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16915 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16916    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16917 if test "${enable_cxx_flags+set}" = set; then
16918   enableval="$enable_cxx_flags"
16919   case "x$enable_cxx_flags" in
16920       xno | x)   enable_cxx_flags= ;;
16921       x-*)       ;;
16922       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16923 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16924    { (exit 1); exit 1; }; } ;;
16925      esac
16926 else
16927   enable_cxx_flags=
16928 fi;
16929
16930
16931   # Run through flags (either default or command-line) and set anything
16932   # extra (e.g., #defines) that must accompany particular g++ options.
16933   if test -n "$enable_cxx_flags"; then
16934     for f in $enable_cxx_flags; do
16935       case "$f" in
16936         -fhonor-std)  ;;
16937         -*)  ;;
16938         *)   # and we're trying to pass /what/ exactly?
16939              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16940 echo "$as_me: error: compiler flags start with a -" >&2;}
16941    { (exit 1); exit 1; }; } ;;
16942       esac
16943     done
16944   fi
16945
16946   EXTRA_CXX_FLAGS="$enable_cxx_flags"
16947   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16948 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16949
16950
16951
16952    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16953 if test "${enable_fully_dynamic_string+set}" = set; then
16954   enableval="$enable_fully_dynamic_string"
16955
16956       case "$enableval" in
16957        yes|no) ;;
16958        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16959 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16960    { (exit 1); exit 1; }; } ;;
16961       esac
16962
16963 else
16964   enable_fully_dynamic_string=no
16965 fi;
16966
16967   if test $enable_fully_dynamic_string = yes; then
16968
16969 cat >>confdefs.h <<\_ACEOF
16970 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16971 _ACEOF
16972
16973   fi
16974
16975
16976 # Checks for operating systems support that don't require linking.
16977
16978 # No surprises, no surprises...
16979
16980   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
16981 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
16982   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
16983   echo "$as_me:$LINENO: result: $target_thread_file" >&5
16984 echo "${ECHO_T}$target_thread_file" >&6
16985
16986   if test $target_thread_file != single; then
16987
16988 cat >>confdefs.h <<\_ACEOF
16989 #define HAVE_GTHR_DEFAULT 1
16990 _ACEOF
16991
16992   fi
16993
16994   glibcxx_thread_h=gthr-$target_thread_file.h
16995
16996     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
16997   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
16998     enable_thread=yes
16999   else
17000    enable_thread=no
17001   fi
17002
17003
17004
17005
17006   echo "$as_me:$LINENO: checking for atomic builtins" >&5
17007 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17008
17009
17010   ac_ext=cc
17011 ac_cpp='$CXXCPP $CPPFLAGS'
17012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17015
17016
17017   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
17018     cat > conftest.$ac_ext << EOF
17019 #line 17019 "configure"
17020 int main()
17021 {
17022   // NB: _Atomic_word not necessarily int.
17023   typedef int atomic_type;
17024   atomic_type c1;
17025   atomic_type c2;
17026   const atomic_type c3(0);
17027   if (__sync_fetch_and_add(&c1, c2) == c3)
17028     {
17029       // Do something.
17030     }
17031    return 0;
17032 }
17033 EOF
17034     old_CXXFLAGS="$CXXFLAGS"
17035     CXXFLAGS='-O0 -S'
17036     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17037   (eval $ac_compile) 2>&5
17038   ac_status=$?
17039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040   (exit $ac_status); }; then
17041       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17042         enable_atomic_builtins=no
17043       else
17044
17045 cat >>confdefs.h <<\_ACEOF
17046 #define _GLIBCXX_ATOMIC_BUILTINS 1
17047 _ACEOF
17048
17049         enable_atomic_builtins=yes
17050         atomicity_dir=cpu/generic/atomicity_builtins
17051       fi
17052     fi
17053     echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17054 echo "${ECHO_T}$enable_atomic_builtins" >&6
17055     CXXFLAGS="$old_CXXFLAGS"
17056     rm -f conftest*
17057
17058    # Now, if still generic, set to mutex.
17059   if test $atomicity_dir = "cpu/generic" ; then
17060         atomicity_dir=cpu/generic/atomicity_mutex
17061   fi
17062  ac_ext=c
17063 ac_cpp='$CPP $CPPFLAGS'
17064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17067
17068
17069 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17070   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17071 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17072   if test $target_thread_file = single; then
17073     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17074 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17075     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17076 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17077   else
17078     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17079 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17080     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17081 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17082   fi
17083 fi
17084
17085
17086   # All these tests are for C++; save the language and the compiler flags.
17087   # The CXXFLAGS thing is suspicious, but based on similar bits previously
17088   # found in GLIBCXX_CONFIGURE.
17089
17090
17091   ac_ext=cc
17092 ac_cpp='$CXXCPP $CPPFLAGS'
17093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17096
17097   ac_test_CXXFLAGS="${CXXFLAGS+set}"
17098   ac_save_CXXFLAGS="$CXXFLAGS"
17099
17100   # Check for maintainer-mode bits.
17101   if test x"$USE_MAINTAINER_MODE" = xno; then
17102     WERROR=''
17103   else
17104     WERROR='-Werror'
17105   fi
17106
17107   # Check for -ffunction-sections -fdata-sections
17108   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17110   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17111   cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h.  */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h.  */
17117 int foo; void bar() { };
17118 int
17119 main ()
17120 {
17121
17122   ;
17123   return 0;
17124 }
17125 _ACEOF
17126 rm -f conftest.$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128   (eval $ac_compile) 2>conftest.er1
17129   ac_status=$?
17130   grep -v '^ *+' conftest.er1 >conftest.err
17131   rm -f conftest.er1
17132   cat conftest.err >&5
17133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134   (exit $ac_status); } &&
17135          { ac_try='test -z "$ac_cxx_werror_flag"
17136                          || test ! -s conftest.err'
17137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138   (eval $ac_try) 2>&5
17139   ac_status=$?
17140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141   (exit $ac_status); }; } &&
17142          { ac_try='test -s conftest.$ac_objext'
17143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144   (eval $ac_try) 2>&5
17145   ac_status=$?
17146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147   (exit $ac_status); }; }; then
17148   ac_fdsections=yes
17149 else
17150   echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 ac_fdsections=no
17154 fi
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17156   if test "$ac_test_CXXFLAGS" = set; then
17157     CXXFLAGS="$ac_save_CXXFLAGS"
17158   else
17159     # this is the suspicious part
17160     CXXFLAGS=''
17161   fi
17162   if test x"$ac_fdsections" = x"yes"; then
17163     SECTION_FLAGS='-ffunction-sections -fdata-sections'
17164   fi
17165   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17166 echo "${ECHO_T}$ac_fdsections" >&6
17167
17168   ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174
17175
17176
17177
17178 if $GLIBCXX_IS_NATIVE; then
17179
17180   # We can do more elaborate tests that assume a working linker.
17181   CANADIAN=no
17182
17183   # Check for available headers.
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17200   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17201   sys/types.h sys/ipc.h sys/sem.h
17202 do
17203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17205   echo "$as_me:$LINENO: checking for $ac_header" >&5
17206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17208   echo $ECHO_N "(cached) $ECHO_C" >&6
17209 fi
17210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17212 else
17213   # Is the header compilable?
17214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17216 cat >conftest.$ac_ext <<_ACEOF
17217 /* confdefs.h.  */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h.  */
17222 $ac_includes_default
17223 #include <$ac_header>
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17227   (eval $ac_compile) 2>conftest.er1
17228   ac_status=$?
17229   grep -v '^ *+' conftest.er1 >conftest.err
17230   rm -f conftest.er1
17231   cat conftest.err >&5
17232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233   (exit $ac_status); } &&
17234          { ac_try='test -z "$ac_c_werror_flag"
17235                          || test ! -s conftest.err'
17236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237   (eval $ac_try) 2>&5
17238   ac_status=$?
17239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240   (exit $ac_status); }; } &&
17241          { ac_try='test -s conftest.$ac_objext'
17242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243   (eval $ac_try) 2>&5
17244   ac_status=$?
17245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246   (exit $ac_status); }; }; then
17247   ac_header_compiler=yes
17248 else
17249   echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 ac_header_compiler=no
17253 fi
17254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17256 echo "${ECHO_T}$ac_header_compiler" >&6
17257
17258 # Is the header present?
17259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17261 cat >conftest.$ac_ext <<_ACEOF
17262 /* confdefs.h.  */
17263 _ACEOF
17264 cat confdefs.h >>conftest.$ac_ext
17265 cat >>conftest.$ac_ext <<_ACEOF
17266 /* end confdefs.h.  */
17267 #include <$ac_header>
17268 _ACEOF
17269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17270   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17271   ac_status=$?
17272   grep -v '^ *+' conftest.er1 >conftest.err
17273   rm -f conftest.er1
17274   cat conftest.err >&5
17275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276   (exit $ac_status); } >/dev/null; then
17277   if test -s conftest.err; then
17278     ac_cpp_err=$ac_c_preproc_warn_flag
17279     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17280   else
17281     ac_cpp_err=
17282   fi
17283 else
17284   ac_cpp_err=yes
17285 fi
17286 if test -z "$ac_cpp_err"; then
17287   ac_header_preproc=yes
17288 else
17289   echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17291
17292   ac_header_preproc=no
17293 fi
17294 rm -f conftest.err conftest.$ac_ext
17295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17296 echo "${ECHO_T}$ac_header_preproc" >&6
17297
17298 # So?  What about this header?
17299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17300   yes:no: )
17301     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17303     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17305     ac_header_preproc=yes
17306     ;;
17307   no:yes:* )
17308     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17310     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17311 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17312     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17314     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17315 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17318     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17320     (
17321       cat <<\_ASBOX
17322 ## ----------------------------------------- ##
17323 ## Report this to the package-unused lists.  ##
17324 ## ----------------------------------------- ##
17325 _ASBOX
17326     ) |
17327       sed "s/^/$as_me: WARNING:     /" >&2
17328     ;;
17329 esac
17330 echo "$as_me:$LINENO: checking for $ac_header" >&5
17331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17333   echo $ECHO_N "(cached) $ECHO_C" >&6
17334 else
17335   eval "$as_ac_Header=\$ac_header_preproc"
17336 fi
17337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17339
17340 fi
17341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17342   cat >>confdefs.h <<_ACEOF
17343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17344 _ACEOF
17345
17346 fi
17347
17348 done
17349
17350
17351
17352
17353 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17354 if test "${with_gnu_ld+set}" = set; then
17355   withval="$with_gnu_ld"
17356   test "$withval" = no || with_gnu_ld=yes
17357 else
17358   with_gnu_ld=no
17359 fi;
17360 ac_prog=ld
17361 if test "$GCC" = yes; then
17362   # Check if gcc -print-prog-name=ld gives a path.
17363   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17364 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17365   case $host in
17366   *-*-mingw*)
17367     # gcc leaves a trailing carriage return which upsets mingw
17368     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17369   *)
17370     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17371   esac
17372   case $ac_prog in
17373     # Accept absolute paths.
17374     [\\/]* | ?:[\\/]*)
17375       re_direlt='/[^/][^/]*/\.\./'
17376       # Canonicalize the pathname of ld
17377       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17378       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17379         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17380       done
17381       test -z "$LD" && LD="$ac_prog"
17382       ;;
17383   "")
17384     # If it fails, then pretend we aren't using GCC.
17385     ac_prog=ld
17386     ;;
17387   *)
17388     # If it is relative, then search for the first ld in PATH.
17389     with_gnu_ld=unknown
17390     ;;
17391   esac
17392 elif test "$with_gnu_ld" = yes; then
17393   echo "$as_me:$LINENO: checking for GNU ld" >&5
17394 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17395 else
17396   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17397 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17398 fi
17399 if test "${lt_cv_path_LD+set}" = set; then
17400   echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402   if test -z "$LD"; then
17403   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17404   for ac_dir in $PATH; do
17405     IFS="$lt_save_ifs"
17406     test -z "$ac_dir" && ac_dir=.
17407     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17408       lt_cv_path_LD="$ac_dir/$ac_prog"
17409       # Check to see if the program is GNU ld.  I'd rather use --version,
17410       # but apparently some variants of GNU ld only accept -v.
17411       # Break only if it was the GNU/non-GNU ld that we prefer.
17412       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17413       *GNU* | *'with BFD'*)
17414         test "$with_gnu_ld" != no && break
17415         ;;
17416       *)
17417         test "$with_gnu_ld" != yes && break
17418         ;;
17419       esac
17420     fi
17421   done
17422   IFS="$lt_save_ifs"
17423 else
17424   lt_cv_path_LD="$LD" # Let the user override the test with a path.
17425 fi
17426 fi
17427
17428 LD="$lt_cv_path_LD"
17429 if test -n "$LD"; then
17430   echo "$as_me:$LINENO: result: $LD" >&5
17431 echo "${ECHO_T}$LD" >&6
17432 else
17433   echo "$as_me:$LINENO: result: no" >&5
17434 echo "${ECHO_T}no" >&6
17435 fi
17436 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17437 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17438    { (exit 1); exit 1; }; }
17439 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17440 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17441 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17442   echo $ECHO_N "(cached) $ECHO_C" >&6
17443 else
17444   # I'd rather use --version here, but apparently some GNU lds only accept -v.
17445 case `$LD -v 2>&1 </dev/null` in
17446 *GNU* | *'with BFD'*)
17447   lt_cv_prog_gnu_ld=yes
17448   ;;
17449 *)
17450   lt_cv_prog_gnu_ld=no
17451   ;;
17452 esac
17453 fi
17454 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17455 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17456 with_gnu_ld=$lt_cv_prog_gnu_ld
17457
17458
17459
17460
17461
17462
17463
17464   # If we're not using GNU ld, then there's no point in even trying these
17465   # tests.  Check for that first.  We should have already tested for gld
17466   # by now (in libtool), but require it now just to be safe...
17467   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17468   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17469
17470
17471
17472   # The name set by libtool depends on the version of libtool.  Shame on us
17473   # for depending on an impl detail, but c'est la vie.  Older versions used
17474   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17475   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17476   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
17477   # set (hence we're using an older libtool), then set it.
17478   if test x${with_gnu_ld+set} != xset; then
17479     if test x${ac_cv_prog_gnu_ld+set} != xset; then
17480       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
17481       with_gnu_ld=no
17482     else
17483       with_gnu_ld=$ac_cv_prog_gnu_ld
17484     fi
17485   fi
17486
17487   # Start by getting the version number.  I think the libtool test already
17488   # does some of this, but throws away the result.
17489   if test x"$with_gnu_ld" = x"yes"; then
17490     echo "$as_me:$LINENO: checking for ld version" >&5
17491 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17492
17493     ldver=`$LD --version 2>/dev/null | head -1 | \
17494            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17495
17496     glibcxx_gnu_ld_version=`echo $ldver | \
17497            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17498     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17499 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17500   fi
17501
17502   # Set --gc-sections.
17503   glibcxx_gcsections_min_ld=21602
17504   if test x"$with_gnu_ld" = x"yes" &&
17505         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17506
17507     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
17508     # NB: This flag only works reliably after 2.16.1. Configure tests
17509     # for this are difficult, so hard wire a value that should work.
17510
17511     ac_test_CFLAGS="${CFLAGS+set}"
17512     ac_save_CFLAGS="$CFLAGS"
17513     CFLAGS='-Wl,--gc-sections'
17514
17515     # Check for -Wl,--gc-sections
17516     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17517 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17518     if test x$gcc_no_link = xyes; then
17519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17521    { (exit 1); exit 1; }; }
17522 fi
17523 cat >conftest.$ac_ext <<_ACEOF
17524 /* confdefs.h.  */
17525 _ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h.  */
17529  int one(void) { return 1; }
17530      int two(void) { return 2; }
17531
17532 int
17533 main ()
17534 {
17535  two();
17536   ;
17537   return 0;
17538 }
17539 _ACEOF
17540 rm -f conftest.$ac_objext conftest$ac_exeext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542   (eval $ac_link) 2>conftest.er1
17543   ac_status=$?
17544   grep -v '^ *+' conftest.er1 >conftest.err
17545   rm -f conftest.er1
17546   cat conftest.err >&5
17547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548   (exit $ac_status); } &&
17549          { ac_try='test -z "$ac_c_werror_flag"
17550                          || test ! -s conftest.err'
17551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552   (eval $ac_try) 2>&5
17553   ac_status=$?
17554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555   (exit $ac_status); }; } &&
17556          { ac_try='test -s conftest$ac_exeext'
17557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558   (eval $ac_try) 2>&5
17559   ac_status=$?
17560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561   (exit $ac_status); }; }; then
17562   ac_gcsections=yes
17563 else
17564   echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.$ac_ext >&5
17566
17567 ac_gcsections=no
17568 fi
17569 rm -f conftest.err conftest.$ac_objext \
17570       conftest$ac_exeext conftest.$ac_ext
17571     if test "$ac_gcsections" = "yes"; then
17572       rm -f conftest.c
17573       touch conftest.c
17574       if $CC -c conftest.c; then
17575         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17576            grep "Warning: gc-sections option ignored" > /dev/null; then
17577           ac_gcsections=no
17578         fi
17579       fi
17580       rm -f conftest.c conftest.o conftest
17581     fi
17582     if test "$ac_gcsections" = "yes"; then
17583       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17584     fi
17585     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17586 echo "${ECHO_T}$ac_gcsections" >&6
17587
17588     if test "$ac_test_CFLAGS" = set; then
17589       CFLAGS="$ac_save_CFLAGS"
17590     else
17591       # this is the suspicious part
17592       CFLAGS=''
17593     fi
17594   fi
17595
17596   # Set -z,relro.
17597   # Note this is only for shared objects.
17598   ac_ld_relro=no
17599   if test x"$with_gnu_ld" = x"yes"; then
17600     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17601 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17602     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17603     if test -n "$cxx_z_relo"; then
17604       OPT_LDFLAGS="-Wl,-z,relro"
17605       ac_ld_relro=yes
17606     fi
17607     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17608 echo "${ECHO_T}$ac_ld_relro" >&6
17609   fi
17610
17611   # Set linker optimization flags.
17612   if test x"$with_gnu_ld" = x"yes"; then
17613     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17614   fi
17615
17616
17617
17618
17619
17620   ac_test_CXXFLAGS="${CXXFLAGS+set}"
17621   ac_save_CXXFLAGS="$CXXFLAGS"
17622   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17623
17624     echo "$as_me:$LINENO: checking for sin in -lm" >&5
17625 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17626 if test "${ac_cv_lib_m_sin+set}" = set; then
17627   echo $ECHO_N "(cached) $ECHO_C" >&6
17628 else
17629   ac_check_lib_save_LIBS=$LIBS
17630 LIBS="-lm  $LIBS"
17631 if test x$gcc_no_link = xyes; then
17632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17634    { (exit 1); exit 1; }; }
17635 fi
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h.  */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h.  */
17642
17643 /* Override any gcc2 internal prototype to avoid an error.  */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 /* We use char because int might match the return type of a gcc2
17648    builtin and then its argument prototype would still apply.  */
17649 char sin ();
17650 int
17651 main ()
17652 {
17653 sin ();
17654   ;
17655   return 0;
17656 }
17657 _ACEOF
17658 rm -f conftest.$ac_objext conftest$ac_exeext
17659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17660   (eval $ac_link) 2>conftest.er1
17661   ac_status=$?
17662   grep -v '^ *+' conftest.er1 >conftest.err
17663   rm -f conftest.er1
17664   cat conftest.err >&5
17665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666   (exit $ac_status); } &&
17667          { ac_try='test -z "$ac_c_werror_flag"
17668                          || test ! -s conftest.err'
17669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17670   (eval $ac_try) 2>&5
17671   ac_status=$?
17672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673   (exit $ac_status); }; } &&
17674          { ac_try='test -s conftest$ac_exeext'
17675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676   (eval $ac_try) 2>&5
17677   ac_status=$?
17678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679   (exit $ac_status); }; }; then
17680   ac_cv_lib_m_sin=yes
17681 else
17682   echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_cv_lib_m_sin=no
17686 fi
17687 rm -f conftest.err conftest.$ac_objext \
17688       conftest$ac_exeext conftest.$ac_ext
17689 LIBS=$ac_check_lib_save_LIBS
17690 fi
17691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17692 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17693 if test $ac_cv_lib_m_sin = yes; then
17694   libm="-lm"
17695 fi
17696
17697   ac_save_LIBS="$LIBS"
17698   LIBS="$LIBS $libm"
17699
17700
17701
17702   echo "$as_me:$LINENO: checking for isinf declaration" >&5
17703 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17704   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17705     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17706   echo $ECHO_N "(cached) $ECHO_C" >&6
17707 else
17708
17709
17710
17711       ac_ext=cc
17712 ac_cpp='$CXXCPP $CPPFLAGS'
17713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17716
17717       cat >conftest.$ac_ext <<_ACEOF
17718 /* confdefs.h.  */
17719 _ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h.  */
17723 #include <math.h>
17724                       #ifdef HAVE_IEEEFP_H
17725                       #include <ieeefp.h>
17726                       #endif
17727
17728 int
17729 main ()
17730 {
17731  isinf(0);
17732   ;
17733   return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17738   (eval $ac_compile) 2>conftest.er1
17739   ac_status=$?
17740   grep -v '^ *+' conftest.er1 >conftest.err
17741   rm -f conftest.er1
17742   cat conftest.err >&5
17743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744   (exit $ac_status); } &&
17745          { ac_try='test -z "$ac_cxx_werror_flag"
17746                          || test ! -s conftest.err'
17747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748   (eval $ac_try) 2>&5
17749   ac_status=$?
17750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751   (exit $ac_status); }; } &&
17752          { ac_try='test -s conftest.$ac_objext'
17753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754   (eval $ac_try) 2>&5
17755   ac_status=$?
17756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757   (exit $ac_status); }; }; then
17758   glibcxx_cv_func_isinf_use=yes
17759 else
17760   echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 glibcxx_cv_func_isinf_use=no
17764 fi
17765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17766       ac_ext=c
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17771
17772
17773 fi
17774
17775   fi
17776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17777 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17778
17779   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17780
17781 for ac_func in isinf
17782 do
17783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17784 echo "$as_me:$LINENO: checking for $ac_func" >&5
17785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17786 if eval "test \"\${$as_ac_var+set}\" = set"; then
17787   echo $ECHO_N "(cached) $ECHO_C" >&6
17788 else
17789   if test x$gcc_no_link = xyes; then
17790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17792    { (exit 1); exit 1; }; }
17793 fi
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h.  */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h.  */
17800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17802 #define $ac_func innocuous_$ac_func
17803
17804 /* System header to define __stub macros and hopefully few prototypes,
17805     which can conflict with char $ac_func (); below.
17806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17807     <limits.h> exists even on freestanding compilers.  */
17808
17809 #ifdef __STDC__
17810 # include <limits.h>
17811 #else
17812 # include <assert.h>
17813 #endif
17814
17815 #undef $ac_func
17816
17817 /* Override any gcc2 internal prototype to avoid an error.  */
17818 #ifdef __cplusplus
17819 extern "C"
17820 {
17821 #endif
17822 /* We use char because int might match the return type of a gcc2
17823    builtin and then its argument prototype would still apply.  */
17824 char $ac_func ();
17825 /* The GNU C library defines this for functions which it implements
17826     to always fail with ENOSYS.  Some functions are actually named
17827     something starting with __ and the normal name is an alias.  */
17828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17829 choke me
17830 #else
17831 char (*f) () = $ac_func;
17832 #endif
17833 #ifdef __cplusplus
17834 }
17835 #endif
17836
17837 int
17838 main ()
17839 {
17840 return f != $ac_func;
17841   ;
17842   return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext conftest$ac_exeext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17847   (eval $ac_link) 2>conftest.er1
17848   ac_status=$?
17849   grep -v '^ *+' conftest.er1 >conftest.err
17850   rm -f conftest.er1
17851   cat conftest.err >&5
17852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853   (exit $ac_status); } &&
17854          { ac_try='test -z "$ac_c_werror_flag"
17855                          || test ! -s conftest.err'
17856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857   (eval $ac_try) 2>&5
17858   ac_status=$?
17859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860   (exit $ac_status); }; } &&
17861          { ac_try='test -s conftest$ac_exeext'
17862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863   (eval $ac_try) 2>&5
17864   ac_status=$?
17865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866   (exit $ac_status); }; }; then
17867   eval "$as_ac_var=yes"
17868 else
17869   echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5
17871
17872 eval "$as_ac_var=no"
17873 fi
17874 rm -f conftest.err conftest.$ac_objext \
17875       conftest$ac_exeext conftest.$ac_ext
17876 fi
17877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17879 if test `eval echo '${'$as_ac_var'}'` = yes; then
17880   cat >>confdefs.h <<_ACEOF
17881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17882 _ACEOF
17883
17884 fi
17885 done
17886
17887   else
17888
17889   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
17890 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
17891   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
17892     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
17893   echo $ECHO_N "(cached) $ECHO_C" >&6
17894 else
17895
17896
17897
17898       ac_ext=cc
17899 ac_cpp='$CXXCPP $CPPFLAGS'
17900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17903
17904       cat >conftest.$ac_ext <<_ACEOF
17905 /* confdefs.h.  */
17906 _ACEOF
17907 cat confdefs.h >>conftest.$ac_ext
17908 cat >>conftest.$ac_ext <<_ACEOF
17909 /* end confdefs.h.  */
17910 #include <math.h>
17911                       #ifdef HAVE_IEEEFP_H
17912                       #include <ieeefp.h>
17913                       #endif
17914
17915 int
17916 main ()
17917 {
17918  _isinf(0);
17919   ;
17920   return 0;
17921 }
17922 _ACEOF
17923 rm -f conftest.$ac_objext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17925   (eval $ac_compile) 2>conftest.er1
17926   ac_status=$?
17927   grep -v '^ *+' conftest.er1 >conftest.err
17928   rm -f conftest.er1
17929   cat conftest.err >&5
17930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931   (exit $ac_status); } &&
17932          { ac_try='test -z "$ac_cxx_werror_flag"
17933                          || test ! -s conftest.err'
17934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935   (eval $ac_try) 2>&5
17936   ac_status=$?
17937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938   (exit $ac_status); }; } &&
17939          { ac_try='test -s conftest.$ac_objext'
17940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941   (eval $ac_try) 2>&5
17942   ac_status=$?
17943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944   (exit $ac_status); }; }; then
17945   glibcxx_cv_func__isinf_use=yes
17946 else
17947   echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17949
17950 glibcxx_cv_func__isinf_use=no
17951 fi
17952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17953       ac_ext=c
17954 ac_cpp='$CPP $CPPFLAGS'
17955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17958
17959
17960 fi
17961
17962   fi
17963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
17964 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
17965
17966     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
17967
17968 for ac_func in _isinf
17969 do
17970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17971 echo "$as_me:$LINENO: checking for $ac_func" >&5
17972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17973 if eval "test \"\${$as_ac_var+set}\" = set"; then
17974   echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976   if test x$gcc_no_link = xyes; then
17977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17979    { (exit 1); exit 1; }; }
17980 fi
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h.  */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h.  */
17987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17989 #define $ac_func innocuous_$ac_func
17990
17991 /* System header to define __stub macros and hopefully few prototypes,
17992     which can conflict with char $ac_func (); below.
17993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17994     <limits.h> exists even on freestanding compilers.  */
17995
17996 #ifdef __STDC__
17997 # include <limits.h>
17998 #else
17999 # include <assert.h>
18000 #endif
18001
18002 #undef $ac_func
18003
18004 /* Override any gcc2 internal prototype to avoid an error.  */
18005 #ifdef __cplusplus
18006 extern "C"
18007 {
18008 #endif
18009 /* We use char because int might match the return type of a gcc2
18010    builtin and then its argument prototype would still apply.  */
18011 char $ac_func ();
18012 /* The GNU C library defines this for functions which it implements
18013     to always fail with ENOSYS.  Some functions are actually named
18014     something starting with __ and the normal name is an alias.  */
18015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18016 choke me
18017 #else
18018 char (*f) () = $ac_func;
18019 #endif
18020 #ifdef __cplusplus
18021 }
18022 #endif
18023
18024 int
18025 main ()
18026 {
18027 return f != $ac_func;
18028   ;
18029   return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext conftest$ac_exeext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034   (eval $ac_link) 2>conftest.er1
18035   ac_status=$?
18036   grep -v '^ *+' conftest.er1 >conftest.err
18037   rm -f conftest.er1
18038   cat conftest.err >&5
18039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040   (exit $ac_status); } &&
18041          { ac_try='test -z "$ac_c_werror_flag"
18042                          || test ! -s conftest.err'
18043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044   (eval $ac_try) 2>&5
18045   ac_status=$?
18046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047   (exit $ac_status); }; } &&
18048          { ac_try='test -s conftest$ac_exeext'
18049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050   (eval $ac_try) 2>&5
18051   ac_status=$?
18052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053   (exit $ac_status); }; }; then
18054   eval "$as_ac_var=yes"
18055 else
18056   echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18058
18059 eval "$as_ac_var=no"
18060 fi
18061 rm -f conftest.err conftest.$ac_objext \
18062       conftest$ac_exeext conftest.$ac_ext
18063 fi
18064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18066 if test `eval echo '${'$as_ac_var'}'` = yes; then
18067   cat >>confdefs.h <<_ACEOF
18068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18069 _ACEOF
18070
18071 fi
18072 done
18073
18074     fi
18075   fi
18076
18077
18078
18079
18080
18081
18082   echo "$as_me:$LINENO: checking for isnan declaration" >&5
18083 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18084   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18085     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18086   echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else
18088
18089
18090
18091       ac_ext=cc
18092 ac_cpp='$CXXCPP $CPPFLAGS'
18093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18096
18097       cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h.  */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h.  */
18103 #include <math.h>
18104                       #ifdef HAVE_IEEEFP_H
18105                       #include <ieeefp.h>
18106                       #endif
18107
18108 int
18109 main ()
18110 {
18111  isnan(0);
18112   ;
18113   return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118   (eval $ac_compile) 2>conftest.er1
18119   ac_status=$?
18120   grep -v '^ *+' conftest.er1 >conftest.err
18121   rm -f conftest.er1
18122   cat conftest.err >&5
18123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124   (exit $ac_status); } &&
18125          { ac_try='test -z "$ac_cxx_werror_flag"
18126                          || test ! -s conftest.err'
18127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128   (eval $ac_try) 2>&5
18129   ac_status=$?
18130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131   (exit $ac_status); }; } &&
18132          { ac_try='test -s conftest.$ac_objext'
18133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134   (eval $ac_try) 2>&5
18135   ac_status=$?
18136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137   (exit $ac_status); }; }; then
18138   glibcxx_cv_func_isnan_use=yes
18139 else
18140   echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 glibcxx_cv_func_isnan_use=no
18144 fi
18145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18146       ac_ext=c
18147 ac_cpp='$CPP $CPPFLAGS'
18148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18151
18152
18153 fi
18154
18155   fi
18156   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18157 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18158
18159   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18160
18161 for ac_func in isnan
18162 do
18163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18164 echo "$as_me:$LINENO: checking for $ac_func" >&5
18165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18166 if eval "test \"\${$as_ac_var+set}\" = set"; then
18167   echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169   if test x$gcc_no_link = xyes; then
18170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18172    { (exit 1); exit 1; }; }
18173 fi
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h.  */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h.  */
18180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18182 #define $ac_func innocuous_$ac_func
18183
18184 /* System header to define __stub macros and hopefully few prototypes,
18185     which can conflict with char $ac_func (); below.
18186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18187     <limits.h> exists even on freestanding compilers.  */
18188
18189 #ifdef __STDC__
18190 # include <limits.h>
18191 #else
18192 # include <assert.h>
18193 #endif
18194
18195 #undef $ac_func
18196
18197 /* Override any gcc2 internal prototype to avoid an error.  */
18198 #ifdef __cplusplus
18199 extern "C"
18200 {
18201 #endif
18202 /* We use char because int might match the return type of a gcc2
18203    builtin and then its argument prototype would still apply.  */
18204 char $ac_func ();
18205 /* The GNU C library defines this for functions which it implements
18206     to always fail with ENOSYS.  Some functions are actually named
18207     something starting with __ and the normal name is an alias.  */
18208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18209 choke me
18210 #else
18211 char (*f) () = $ac_func;
18212 #endif
18213 #ifdef __cplusplus
18214 }
18215 #endif
18216
18217 int
18218 main ()
18219 {
18220 return f != $ac_func;
18221   ;
18222   return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext conftest$ac_exeext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18227   (eval $ac_link) 2>conftest.er1
18228   ac_status=$?
18229   grep -v '^ *+' conftest.er1 >conftest.err
18230   rm -f conftest.er1
18231   cat conftest.err >&5
18232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233   (exit $ac_status); } &&
18234          { ac_try='test -z "$ac_c_werror_flag"
18235                          || test ! -s conftest.err'
18236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237   (eval $ac_try) 2>&5
18238   ac_status=$?
18239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240   (exit $ac_status); }; } &&
18241          { ac_try='test -s conftest$ac_exeext'
18242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243   (eval $ac_try) 2>&5
18244   ac_status=$?
18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246   (exit $ac_status); }; }; then
18247   eval "$as_ac_var=yes"
18248 else
18249   echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252 eval "$as_ac_var=no"
18253 fi
18254 rm -f conftest.err conftest.$ac_objext \
18255       conftest$ac_exeext conftest.$ac_ext
18256 fi
18257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18259 if test `eval echo '${'$as_ac_var'}'` = yes; then
18260   cat >>confdefs.h <<_ACEOF
18261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18262 _ACEOF
18263
18264 fi
18265 done
18266
18267   else
18268
18269   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
18270 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
18271   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
18272     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
18273   echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275
18276
18277
18278       ac_ext=cc
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283
18284       cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h.  */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h.  */
18290 #include <math.h>
18291                       #ifdef HAVE_IEEEFP_H
18292                       #include <ieeefp.h>
18293                       #endif
18294
18295 int
18296 main ()
18297 {
18298  _isnan(0);
18299   ;
18300   return 0;
18301 }
18302 _ACEOF
18303 rm -f conftest.$ac_objext
18304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18305   (eval $ac_compile) 2>conftest.er1
18306   ac_status=$?
18307   grep -v '^ *+' conftest.er1 >conftest.err
18308   rm -f conftest.er1
18309   cat conftest.err >&5
18310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311   (exit $ac_status); } &&
18312          { ac_try='test -z "$ac_cxx_werror_flag"
18313                          || test ! -s conftest.err'
18314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315   (eval $ac_try) 2>&5
18316   ac_status=$?
18317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318   (exit $ac_status); }; } &&
18319          { ac_try='test -s conftest.$ac_objext'
18320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321   (eval $ac_try) 2>&5
18322   ac_status=$?
18323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324   (exit $ac_status); }; }; then
18325   glibcxx_cv_func__isnan_use=yes
18326 else
18327   echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18329
18330 glibcxx_cv_func__isnan_use=no
18331 fi
18332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18333       ac_ext=c
18334 ac_cpp='$CPP $CPPFLAGS'
18335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18338
18339
18340 fi
18341
18342   fi
18343   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
18344 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
18345
18346     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
18347
18348 for ac_func in _isnan
18349 do
18350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18351 echo "$as_me:$LINENO: checking for $ac_func" >&5
18352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18353 if eval "test \"\${$as_ac_var+set}\" = set"; then
18354   echo $ECHO_N "(cached) $ECHO_C" >&6
18355 else
18356   if test x$gcc_no_link = xyes; then
18357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18359    { (exit 1); exit 1; }; }
18360 fi
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h.  */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h.  */
18367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18369 #define $ac_func innocuous_$ac_func
18370
18371 /* System header to define __stub macros and hopefully few prototypes,
18372     which can conflict with char $ac_func (); below.
18373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18374     <limits.h> exists even on freestanding compilers.  */
18375
18376 #ifdef __STDC__
18377 # include <limits.h>
18378 #else
18379 # include <assert.h>
18380 #endif
18381
18382 #undef $ac_func
18383
18384 /* Override any gcc2 internal prototype to avoid an error.  */
18385 #ifdef __cplusplus
18386 extern "C"
18387 {
18388 #endif
18389 /* We use char because int might match the return type of a gcc2
18390    builtin and then its argument prototype would still apply.  */
18391 char $ac_func ();
18392 /* The GNU C library defines this for functions which it implements
18393     to always fail with ENOSYS.  Some functions are actually named
18394     something starting with __ and the normal name is an alias.  */
18395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18396 choke me
18397 #else
18398 char (*f) () = $ac_func;
18399 #endif
18400 #ifdef __cplusplus
18401 }
18402 #endif
18403
18404 int
18405 main ()
18406 {
18407 return f != $ac_func;
18408   ;
18409   return 0;
18410 }
18411 _ACEOF
18412 rm -f conftest.$ac_objext conftest$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414   (eval $ac_link) 2>conftest.er1
18415   ac_status=$?
18416   grep -v '^ *+' conftest.er1 >conftest.err
18417   rm -f conftest.er1
18418   cat conftest.err >&5
18419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420   (exit $ac_status); } &&
18421          { ac_try='test -z "$ac_c_werror_flag"
18422                          || test ! -s conftest.err'
18423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424   (eval $ac_try) 2>&5
18425   ac_status=$?
18426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427   (exit $ac_status); }; } &&
18428          { ac_try='test -s conftest$ac_exeext'
18429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430   (eval $ac_try) 2>&5
18431   ac_status=$?
18432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433   (exit $ac_status); }; }; then
18434   eval "$as_ac_var=yes"
18435 else
18436   echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 eval "$as_ac_var=no"
18440 fi
18441 rm -f conftest.err conftest.$ac_objext \
18442       conftest$ac_exeext conftest.$ac_ext
18443 fi
18444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18446 if test `eval echo '${'$as_ac_var'}'` = yes; then
18447   cat >>confdefs.h <<_ACEOF
18448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18449 _ACEOF
18450
18451 fi
18452 done
18453
18454     fi
18455   fi
18456
18457
18458
18459
18460
18461
18462   echo "$as_me:$LINENO: checking for finite declaration" >&5
18463 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18464   if test x${glibcxx_cv_func_finite_use+set} != xset; then
18465     if test "${glibcxx_cv_func_finite_use+set}" = set; then
18466   echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468
18469
18470
18471       ac_ext=cc
18472 ac_cpp='$CXXCPP $CPPFLAGS'
18473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18476
18477       cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h.  */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h.  */
18483 #include <math.h>
18484                       #ifdef HAVE_IEEEFP_H
18485                       #include <ieeefp.h>
18486                       #endif
18487
18488 int
18489 main ()
18490 {
18491  finite(0);
18492   ;
18493   return 0;
18494 }
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18498   (eval $ac_compile) 2>conftest.er1
18499   ac_status=$?
18500   grep -v '^ *+' conftest.er1 >conftest.err
18501   rm -f conftest.er1
18502   cat conftest.err >&5
18503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504   (exit $ac_status); } &&
18505          { ac_try='test -z "$ac_cxx_werror_flag"
18506                          || test ! -s conftest.err'
18507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508   (eval $ac_try) 2>&5
18509   ac_status=$?
18510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511   (exit $ac_status); }; } &&
18512          { ac_try='test -s conftest.$ac_objext'
18513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514   (eval $ac_try) 2>&5
18515   ac_status=$?
18516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517   (exit $ac_status); }; }; then
18518   glibcxx_cv_func_finite_use=yes
18519 else
18520   echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 glibcxx_cv_func_finite_use=no
18524 fi
18525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18526       ac_ext=c
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18531
18532
18533 fi
18534
18535   fi
18536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18537 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18538
18539   if test x$glibcxx_cv_func_finite_use = x"yes"; then
18540
18541 for ac_func in finite
18542 do
18543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18544 echo "$as_me:$LINENO: checking for $ac_func" >&5
18545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18546 if eval "test \"\${$as_ac_var+set}\" = set"; then
18547   echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549   if test x$gcc_no_link = xyes; then
18550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18552    { (exit 1); exit 1; }; }
18553 fi
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h.  */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h.  */
18560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18562 #define $ac_func innocuous_$ac_func
18563
18564 /* System header to define __stub macros and hopefully few prototypes,
18565     which can conflict with char $ac_func (); below.
18566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567     <limits.h> exists even on freestanding compilers.  */
18568
18569 #ifdef __STDC__
18570 # include <limits.h>
18571 #else
18572 # include <assert.h>
18573 #endif
18574
18575 #undef $ac_func
18576
18577 /* Override any gcc2 internal prototype to avoid an error.  */
18578 #ifdef __cplusplus
18579 extern "C"
18580 {
18581 #endif
18582 /* We use char because int might match the return type of a gcc2
18583    builtin and then its argument prototype would still apply.  */
18584 char $ac_func ();
18585 /* The GNU C library defines this for functions which it implements
18586     to always fail with ENOSYS.  Some functions are actually named
18587     something starting with __ and the normal name is an alias.  */
18588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18589 choke me
18590 #else
18591 char (*f) () = $ac_func;
18592 #endif
18593 #ifdef __cplusplus
18594 }
18595 #endif
18596
18597 int
18598 main ()
18599 {
18600 return f != $ac_func;
18601   ;
18602   return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext conftest$ac_exeext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18607   (eval $ac_link) 2>conftest.er1
18608   ac_status=$?
18609   grep -v '^ *+' conftest.er1 >conftest.err
18610   rm -f conftest.er1
18611   cat conftest.err >&5
18612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613   (exit $ac_status); } &&
18614          { ac_try='test -z "$ac_c_werror_flag"
18615                          || test ! -s conftest.err'
18616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617   (eval $ac_try) 2>&5
18618   ac_status=$?
18619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620   (exit $ac_status); }; } &&
18621          { ac_try='test -s conftest$ac_exeext'
18622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623   (eval $ac_try) 2>&5
18624   ac_status=$?
18625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626   (exit $ac_status); }; }; then
18627   eval "$as_ac_var=yes"
18628 else
18629   echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18631
18632 eval "$as_ac_var=no"
18633 fi
18634 rm -f conftest.err conftest.$ac_objext \
18635       conftest$ac_exeext conftest.$ac_ext
18636 fi
18637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18639 if test `eval echo '${'$as_ac_var'}'` = yes; then
18640   cat >>confdefs.h <<_ACEOF
18641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18642 _ACEOF
18643
18644 fi
18645 done
18646
18647   else
18648
18649   echo "$as_me:$LINENO: checking for _finite declaration" >&5
18650 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18651   if test x${glibcxx_cv_func__finite_use+set} != xset; then
18652     if test "${glibcxx_cv_func__finite_use+set}" = set; then
18653   echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655
18656
18657
18658       ac_ext=cc
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18663
18664       cat >conftest.$ac_ext <<_ACEOF
18665 /* confdefs.h.  */
18666 _ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h.  */
18670 #include <math.h>
18671                       #ifdef HAVE_IEEEFP_H
18672                       #include <ieeefp.h>
18673                       #endif
18674
18675 int
18676 main ()
18677 {
18678  _finite(0);
18679   ;
18680   return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685   (eval $ac_compile) 2>conftest.er1
18686   ac_status=$?
18687   grep -v '^ *+' conftest.er1 >conftest.err
18688   rm -f conftest.er1
18689   cat conftest.err >&5
18690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691   (exit $ac_status); } &&
18692          { ac_try='test -z "$ac_cxx_werror_flag"
18693                          || test ! -s conftest.err'
18694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695   (eval $ac_try) 2>&5
18696   ac_status=$?
18697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698   (exit $ac_status); }; } &&
18699          { ac_try='test -s conftest.$ac_objext'
18700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701   (eval $ac_try) 2>&5
18702   ac_status=$?
18703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704   (exit $ac_status); }; }; then
18705   glibcxx_cv_func__finite_use=yes
18706 else
18707   echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 glibcxx_cv_func__finite_use=no
18711 fi
18712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18713       ac_ext=c
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718
18719
18720 fi
18721
18722   fi
18723   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18724 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18725
18726     if test x$glibcxx_cv_func__finite_use = x"yes"; then
18727
18728 for ac_func in _finite
18729 do
18730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18731 echo "$as_me:$LINENO: checking for $ac_func" >&5
18732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18733 if eval "test \"\${$as_ac_var+set}\" = set"; then
18734   echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736   if test x$gcc_no_link = xyes; then
18737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18739    { (exit 1); exit 1; }; }
18740 fi
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h.  */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h.  */
18747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18749 #define $ac_func innocuous_$ac_func
18750
18751 /* System header to define __stub macros and hopefully few prototypes,
18752     which can conflict with char $ac_func (); below.
18753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18754     <limits.h> exists even on freestanding compilers.  */
18755
18756 #ifdef __STDC__
18757 # include <limits.h>
18758 #else
18759 # include <assert.h>
18760 #endif
18761
18762 #undef $ac_func
18763
18764 /* Override any gcc2 internal prototype to avoid an error.  */
18765 #ifdef __cplusplus
18766 extern "C"
18767 {
18768 #endif
18769 /* We use char because int might match the return type of a gcc2
18770    builtin and then its argument prototype would still apply.  */
18771 char $ac_func ();
18772 /* The GNU C library defines this for functions which it implements
18773     to always fail with ENOSYS.  Some functions are actually named
18774     something starting with __ and the normal name is an alias.  */
18775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18776 choke me
18777 #else
18778 char (*f) () = $ac_func;
18779 #endif
18780 #ifdef __cplusplus
18781 }
18782 #endif
18783
18784 int
18785 main ()
18786 {
18787 return f != $ac_func;
18788   ;
18789   return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext conftest$ac_exeext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18794   (eval $ac_link) 2>conftest.er1
18795   ac_status=$?
18796   grep -v '^ *+' conftest.er1 >conftest.err
18797   rm -f conftest.er1
18798   cat conftest.err >&5
18799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800   (exit $ac_status); } &&
18801          { ac_try='test -z "$ac_c_werror_flag"
18802                          || test ! -s conftest.err'
18803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804   (eval $ac_try) 2>&5
18805   ac_status=$?
18806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807   (exit $ac_status); }; } &&
18808          { ac_try='test -s conftest$ac_exeext'
18809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810   (eval $ac_try) 2>&5
18811   ac_status=$?
18812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813   (exit $ac_status); }; }; then
18814   eval "$as_ac_var=yes"
18815 else
18816   echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 eval "$as_ac_var=no"
18820 fi
18821 rm -f conftest.err conftest.$ac_objext \
18822       conftest$ac_exeext conftest.$ac_ext
18823 fi
18824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18826 if test `eval echo '${'$as_ac_var'}'` = yes; then
18827   cat >>confdefs.h <<_ACEOF
18828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18829 _ACEOF
18830
18831 fi
18832 done
18833
18834     fi
18835   fi
18836
18837
18838
18839
18840
18841
18842   echo "$as_me:$LINENO: checking for copysign declaration" >&5
18843 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
18844   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
18845     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
18846   echo $ECHO_N "(cached) $ECHO_C" >&6
18847 else
18848
18849
18850
18851       ac_ext=cc
18852 ac_cpp='$CXXCPP $CPPFLAGS'
18853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18856
18857       cat >conftest.$ac_ext <<_ACEOF
18858 /* confdefs.h.  */
18859 _ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h.  */
18863 #include <math.h>
18864 int
18865 main ()
18866 {
18867  copysign(0, 0);
18868   ;
18869   return 0;
18870 }
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874   (eval $ac_compile) 2>conftest.er1
18875   ac_status=$?
18876   grep -v '^ *+' conftest.er1 >conftest.err
18877   rm -f conftest.er1
18878   cat conftest.err >&5
18879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880   (exit $ac_status); } &&
18881          { ac_try='test -z "$ac_cxx_werror_flag"
18882                          || test ! -s conftest.err'
18883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884   (eval $ac_try) 2>&5
18885   ac_status=$?
18886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887   (exit $ac_status); }; } &&
18888          { ac_try='test -s conftest.$ac_objext'
18889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890   (eval $ac_try) 2>&5
18891   ac_status=$?
18892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893   (exit $ac_status); }; }; then
18894   glibcxx_cv_func_copysign_use=yes
18895 else
18896   echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18898
18899 glibcxx_cv_func_copysign_use=no
18900 fi
18901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18902       ac_ext=c
18903 ac_cpp='$CPP $CPPFLAGS'
18904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18907
18908
18909 fi
18910
18911   fi
18912   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
18913 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
18914
18915   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
18916
18917 for ac_func in copysign
18918 do
18919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18920 echo "$as_me:$LINENO: checking for $ac_func" >&5
18921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18922 if eval "test \"\${$as_ac_var+set}\" = set"; then
18923   echo $ECHO_N "(cached) $ECHO_C" >&6
18924 else
18925   if test x$gcc_no_link = xyes; then
18926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18928    { (exit 1); exit 1; }; }
18929 fi
18930 cat >conftest.$ac_ext <<_ACEOF
18931 /* confdefs.h.  */
18932 _ACEOF
18933 cat confdefs.h >>conftest.$ac_ext
18934 cat >>conftest.$ac_ext <<_ACEOF
18935 /* end confdefs.h.  */
18936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18938 #define $ac_func innocuous_$ac_func
18939
18940 /* System header to define __stub macros and hopefully few prototypes,
18941     which can conflict with char $ac_func (); below.
18942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18943     <limits.h> exists even on freestanding compilers.  */
18944
18945 #ifdef __STDC__
18946 # include <limits.h>
18947 #else
18948 # include <assert.h>
18949 #endif
18950
18951 #undef $ac_func
18952
18953 /* Override any gcc2 internal prototype to avoid an error.  */
18954 #ifdef __cplusplus
18955 extern "C"
18956 {
18957 #endif
18958 /* We use char because int might match the return type of a gcc2
18959    builtin and then its argument prototype would still apply.  */
18960 char $ac_func ();
18961 /* The GNU C library defines this for functions which it implements
18962     to always fail with ENOSYS.  Some functions are actually named
18963     something starting with __ and the normal name is an alias.  */
18964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18965 choke me
18966 #else
18967 char (*f) () = $ac_func;
18968 #endif
18969 #ifdef __cplusplus
18970 }
18971 #endif
18972
18973 int
18974 main ()
18975 {
18976 return f != $ac_func;
18977   ;
18978   return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext conftest$ac_exeext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18983   (eval $ac_link) 2>conftest.er1
18984   ac_status=$?
18985   grep -v '^ *+' conftest.er1 >conftest.err
18986   rm -f conftest.er1
18987   cat conftest.err >&5
18988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989   (exit $ac_status); } &&
18990          { ac_try='test -z "$ac_c_werror_flag"
18991                          || test ! -s conftest.err'
18992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993   (eval $ac_try) 2>&5
18994   ac_status=$?
18995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996   (exit $ac_status); }; } &&
18997          { ac_try='test -s conftest$ac_exeext'
18998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999   (eval $ac_try) 2>&5
19000   ac_status=$?
19001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002   (exit $ac_status); }; }; then
19003   eval "$as_ac_var=yes"
19004 else
19005   echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19007
19008 eval "$as_ac_var=no"
19009 fi
19010 rm -f conftest.err conftest.$ac_objext \
19011       conftest$ac_exeext conftest.$ac_ext
19012 fi
19013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19015 if test `eval echo '${'$as_ac_var'}'` = yes; then
19016   cat >>confdefs.h <<_ACEOF
19017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19018 _ACEOF
19019
19020 fi
19021 done
19022
19023   else
19024
19025   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19026 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19027   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19028     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19029   echo $ECHO_N "(cached) $ECHO_C" >&6
19030 else
19031
19032
19033
19034       ac_ext=cc
19035 ac_cpp='$CXXCPP $CPPFLAGS'
19036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19039
19040       cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h.  */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h.  */
19046 #include <math.h>
19047 int
19048 main ()
19049 {
19050  _copysign(0, 0);
19051   ;
19052   return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057   (eval $ac_compile) 2>conftest.er1
19058   ac_status=$?
19059   grep -v '^ *+' conftest.er1 >conftest.err
19060   rm -f conftest.er1
19061   cat conftest.err >&5
19062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063   (exit $ac_status); } &&
19064          { ac_try='test -z "$ac_cxx_werror_flag"
19065                          || test ! -s conftest.err'
19066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067   (eval $ac_try) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); }; } &&
19071          { ac_try='test -s conftest.$ac_objext'
19072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073   (eval $ac_try) 2>&5
19074   ac_status=$?
19075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076   (exit $ac_status); }; }; then
19077   glibcxx_cv_func__copysign_use=yes
19078 else
19079   echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 glibcxx_cv_func__copysign_use=no
19083 fi
19084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19085       ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092 fi
19093
19094   fi
19095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19096 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19097
19098     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19099
19100 for ac_func in _copysign
19101 do
19102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19103 echo "$as_me:$LINENO: checking for $ac_func" >&5
19104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19105 if eval "test \"\${$as_ac_var+set}\" = set"; then
19106   echo $ECHO_N "(cached) $ECHO_C" >&6
19107 else
19108   if test x$gcc_no_link = xyes; then
19109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19111    { (exit 1); exit 1; }; }
19112 fi
19113 cat >conftest.$ac_ext <<_ACEOF
19114 /* confdefs.h.  */
19115 _ACEOF
19116 cat confdefs.h >>conftest.$ac_ext
19117 cat >>conftest.$ac_ext <<_ACEOF
19118 /* end confdefs.h.  */
19119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19121 #define $ac_func innocuous_$ac_func
19122
19123 /* System header to define __stub macros and hopefully few prototypes,
19124     which can conflict with char $ac_func (); below.
19125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19126     <limits.h> exists even on freestanding compilers.  */
19127
19128 #ifdef __STDC__
19129 # include <limits.h>
19130 #else
19131 # include <assert.h>
19132 #endif
19133
19134 #undef $ac_func
19135
19136 /* Override any gcc2 internal prototype to avoid an error.  */
19137 #ifdef __cplusplus
19138 extern "C"
19139 {
19140 #endif
19141 /* We use char because int might match the return type of a gcc2
19142    builtin and then its argument prototype would still apply.  */
19143 char $ac_func ();
19144 /* The GNU C library defines this for functions which it implements
19145     to always fail with ENOSYS.  Some functions are actually named
19146     something starting with __ and the normal name is an alias.  */
19147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19148 choke me
19149 #else
19150 char (*f) () = $ac_func;
19151 #endif
19152 #ifdef __cplusplus
19153 }
19154 #endif
19155
19156 int
19157 main ()
19158 {
19159 return f != $ac_func;
19160   ;
19161   return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext conftest$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166   (eval $ac_link) 2>conftest.er1
19167   ac_status=$?
19168   grep -v '^ *+' conftest.er1 >conftest.err
19169   rm -f conftest.er1
19170   cat conftest.err >&5
19171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172   (exit $ac_status); } &&
19173          { ac_try='test -z "$ac_c_werror_flag"
19174                          || test ! -s conftest.err'
19175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176   (eval $ac_try) 2>&5
19177   ac_status=$?
19178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179   (exit $ac_status); }; } &&
19180          { ac_try='test -s conftest$ac_exeext'
19181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182   (eval $ac_try) 2>&5
19183   ac_status=$?
19184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185   (exit $ac_status); }; }; then
19186   eval "$as_ac_var=yes"
19187 else
19188   echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19190
19191 eval "$as_ac_var=no"
19192 fi
19193 rm -f conftest.err conftest.$ac_objext \
19194       conftest$ac_exeext conftest.$ac_ext
19195 fi
19196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19198 if test `eval echo '${'$as_ac_var'}'` = yes; then
19199   cat >>confdefs.h <<_ACEOF
19200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19201 _ACEOF
19202
19203 fi
19204 done
19205
19206     fi
19207   fi
19208
19209
19210
19211
19212
19213
19214   echo "$as_me:$LINENO: checking for sincos declaration" >&5
19215 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19216   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19217     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19218   echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220
19221
19222
19223       ac_ext=cc
19224 ac_cpp='$CXXCPP $CPPFLAGS'
19225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19228
19229       cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h.  */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h.  */
19235 #include <math.h>
19236 int
19237 main ()
19238 {
19239  sincos(0, 0, 0);
19240   ;
19241   return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246   (eval $ac_compile) 2>conftest.er1
19247   ac_status=$?
19248   grep -v '^ *+' conftest.er1 >conftest.err
19249   rm -f conftest.er1
19250   cat conftest.err >&5
19251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252   (exit $ac_status); } &&
19253          { ac_try='test -z "$ac_cxx_werror_flag"
19254                          || test ! -s conftest.err'
19255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256   (eval $ac_try) 2>&5
19257   ac_status=$?
19258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259   (exit $ac_status); }; } &&
19260          { ac_try='test -s conftest.$ac_objext'
19261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262   (eval $ac_try) 2>&5
19263   ac_status=$?
19264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265   (exit $ac_status); }; }; then
19266   glibcxx_cv_func_sincos_use=yes
19267 else
19268   echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 glibcxx_cv_func_sincos_use=no
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274       ac_ext=c
19275 ac_cpp='$CPP $CPPFLAGS'
19276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279
19280
19281 fi
19282
19283   fi
19284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
19285 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
19286
19287   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
19288
19289 for ac_func in sincos
19290 do
19291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19292 echo "$as_me:$LINENO: checking for $ac_func" >&5
19293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19294 if eval "test \"\${$as_ac_var+set}\" = set"; then
19295   echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297   if test x$gcc_no_link = xyes; then
19298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19300    { (exit 1); exit 1; }; }
19301 fi
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h.  */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h.  */
19308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19310 #define $ac_func innocuous_$ac_func
19311
19312 /* System header to define __stub macros and hopefully few prototypes,
19313     which can conflict with char $ac_func (); below.
19314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19315     <limits.h> exists even on freestanding compilers.  */
19316
19317 #ifdef __STDC__
19318 # include <limits.h>
19319 #else
19320 # include <assert.h>
19321 #endif
19322
19323 #undef $ac_func
19324
19325 /* Override any gcc2 internal prototype to avoid an error.  */
19326 #ifdef __cplusplus
19327 extern "C"
19328 {
19329 #endif
19330 /* We use char because int might match the return type of a gcc2
19331    builtin and then its argument prototype would still apply.  */
19332 char $ac_func ();
19333 /* The GNU C library defines this for functions which it implements
19334     to always fail with ENOSYS.  Some functions are actually named
19335     something starting with __ and the normal name is an alias.  */
19336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19337 choke me
19338 #else
19339 char (*f) () = $ac_func;
19340 #endif
19341 #ifdef __cplusplus
19342 }
19343 #endif
19344
19345 int
19346 main ()
19347 {
19348 return f != $ac_func;
19349   ;
19350   return 0;
19351 }
19352 _ACEOF
19353 rm -f conftest.$ac_objext conftest$ac_exeext
19354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19355   (eval $ac_link) 2>conftest.er1
19356   ac_status=$?
19357   grep -v '^ *+' conftest.er1 >conftest.err
19358   rm -f conftest.er1
19359   cat conftest.err >&5
19360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361   (exit $ac_status); } &&
19362          { ac_try='test -z "$ac_c_werror_flag"
19363                          || test ! -s conftest.err'
19364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365   (eval $ac_try) 2>&5
19366   ac_status=$?
19367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368   (exit $ac_status); }; } &&
19369          { ac_try='test -s conftest$ac_exeext'
19370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371   (eval $ac_try) 2>&5
19372   ac_status=$?
19373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374   (exit $ac_status); }; }; then
19375   eval "$as_ac_var=yes"
19376 else
19377   echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.$ac_ext >&5
19379
19380 eval "$as_ac_var=no"
19381 fi
19382 rm -f conftest.err conftest.$ac_objext \
19383       conftest$ac_exeext conftest.$ac_ext
19384 fi
19385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19387 if test `eval echo '${'$as_ac_var'}'` = yes; then
19388   cat >>confdefs.h <<_ACEOF
19389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19390 _ACEOF
19391
19392 fi
19393 done
19394
19395   else
19396
19397   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
19398 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
19399   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
19400     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
19401   echo $ECHO_N "(cached) $ECHO_C" >&6
19402 else
19403
19404
19405
19406       ac_ext=cc
19407 ac_cpp='$CXXCPP $CPPFLAGS'
19408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19411
19412       cat >conftest.$ac_ext <<_ACEOF
19413 /* confdefs.h.  */
19414 _ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h.  */
19418 #include <math.h>
19419 int
19420 main ()
19421 {
19422  _sincos(0, 0, 0);
19423   ;
19424   return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429   (eval $ac_compile) 2>conftest.er1
19430   ac_status=$?
19431   grep -v '^ *+' conftest.er1 >conftest.err
19432   rm -f conftest.er1
19433   cat conftest.err >&5
19434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435   (exit $ac_status); } &&
19436          { ac_try='test -z "$ac_cxx_werror_flag"
19437                          || test ! -s conftest.err'
19438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439   (eval $ac_try) 2>&5
19440   ac_status=$?
19441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442   (exit $ac_status); }; } &&
19443          { ac_try='test -s conftest.$ac_objext'
19444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445   (eval $ac_try) 2>&5
19446   ac_status=$?
19447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448   (exit $ac_status); }; }; then
19449   glibcxx_cv_func__sincos_use=yes
19450 else
19451   echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19453
19454 glibcxx_cv_func__sincos_use=no
19455 fi
19456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19457       ac_ext=c
19458 ac_cpp='$CPP $CPPFLAGS'
19459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19462
19463
19464 fi
19465
19466   fi
19467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19468 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19469
19470     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19471
19472 for ac_func in _sincos
19473 do
19474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19475 echo "$as_me:$LINENO: checking for $ac_func" >&5
19476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19477 if eval "test \"\${$as_ac_var+set}\" = set"; then
19478   echo $ECHO_N "(cached) $ECHO_C" >&6
19479 else
19480   if test x$gcc_no_link = xyes; then
19481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19483    { (exit 1); exit 1; }; }
19484 fi
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h.  */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h.  */
19491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19493 #define $ac_func innocuous_$ac_func
19494
19495 /* System header to define __stub macros and hopefully few prototypes,
19496     which can conflict with char $ac_func (); below.
19497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19498     <limits.h> exists even on freestanding compilers.  */
19499
19500 #ifdef __STDC__
19501 # include <limits.h>
19502 #else
19503 # include <assert.h>
19504 #endif
19505
19506 #undef $ac_func
19507
19508 /* Override any gcc2 internal prototype to avoid an error.  */
19509 #ifdef __cplusplus
19510 extern "C"
19511 {
19512 #endif
19513 /* We use char because int might match the return type of a gcc2
19514    builtin and then its argument prototype would still apply.  */
19515 char $ac_func ();
19516 /* The GNU C library defines this for functions which it implements
19517     to always fail with ENOSYS.  Some functions are actually named
19518     something starting with __ and the normal name is an alias.  */
19519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19520 choke me
19521 #else
19522 char (*f) () = $ac_func;
19523 #endif
19524 #ifdef __cplusplus
19525 }
19526 #endif
19527
19528 int
19529 main ()
19530 {
19531 return f != $ac_func;
19532   ;
19533   return 0;
19534 }
19535 _ACEOF
19536 rm -f conftest.$ac_objext conftest$ac_exeext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19538   (eval $ac_link) 2>conftest.er1
19539   ac_status=$?
19540   grep -v '^ *+' conftest.er1 >conftest.err
19541   rm -f conftest.er1
19542   cat conftest.err >&5
19543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544   (exit $ac_status); } &&
19545          { ac_try='test -z "$ac_c_werror_flag"
19546                          || test ! -s conftest.err'
19547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548   (eval $ac_try) 2>&5
19549   ac_status=$?
19550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551   (exit $ac_status); }; } &&
19552          { ac_try='test -s conftest$ac_exeext'
19553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554   (eval $ac_try) 2>&5
19555   ac_status=$?
19556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557   (exit $ac_status); }; }; then
19558   eval "$as_ac_var=yes"
19559 else
19560   echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 eval "$as_ac_var=no"
19564 fi
19565 rm -f conftest.err conftest.$ac_objext \
19566       conftest$ac_exeext conftest.$ac_ext
19567 fi
19568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19570 if test `eval echo '${'$as_ac_var'}'` = yes; then
19571   cat >>confdefs.h <<_ACEOF
19572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19573 _ACEOF
19574
19575 fi
19576 done
19577
19578     fi
19579   fi
19580
19581
19582
19583
19584
19585
19586   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19587 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19588   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19589     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19590   echo $ECHO_N "(cached) $ECHO_C" >&6
19591 else
19592
19593
19594
19595       ac_ext=cc
19596 ac_cpp='$CXXCPP $CPPFLAGS'
19597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19600
19601       cat >conftest.$ac_ext <<_ACEOF
19602 /* confdefs.h.  */
19603 _ACEOF
19604 cat confdefs.h >>conftest.$ac_ext
19605 cat >>conftest.$ac_ext <<_ACEOF
19606 /* end confdefs.h.  */
19607 #include <math.h>
19608                       #ifdef HAVE_IEEEFP_H
19609                       #include <ieeefp.h>
19610                       #endif
19611
19612 int
19613 main ()
19614 {
19615  fpclass(0);
19616   ;
19617   return 0;
19618 }
19619 _ACEOF
19620 rm -f conftest.$ac_objext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19622   (eval $ac_compile) 2>conftest.er1
19623   ac_status=$?
19624   grep -v '^ *+' conftest.er1 >conftest.err
19625   rm -f conftest.er1
19626   cat conftest.err >&5
19627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628   (exit $ac_status); } &&
19629          { ac_try='test -z "$ac_cxx_werror_flag"
19630                          || test ! -s conftest.err'
19631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632   (eval $ac_try) 2>&5
19633   ac_status=$?
19634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635   (exit $ac_status); }; } &&
19636          { ac_try='test -s conftest.$ac_objext'
19637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638   (eval $ac_try) 2>&5
19639   ac_status=$?
19640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641   (exit $ac_status); }; }; then
19642   glibcxx_cv_func_fpclass_use=yes
19643 else
19644   echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19646
19647 glibcxx_cv_func_fpclass_use=no
19648 fi
19649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19650       ac_ext=c
19651 ac_cpp='$CPP $CPPFLAGS'
19652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19655
19656
19657 fi
19658
19659   fi
19660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19661 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19662
19663   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19664
19665 for ac_func in fpclass
19666 do
19667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19668 echo "$as_me:$LINENO: checking for $ac_func" >&5
19669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19670 if eval "test \"\${$as_ac_var+set}\" = set"; then
19671   echo $ECHO_N "(cached) $ECHO_C" >&6
19672 else
19673   if test x$gcc_no_link = xyes; then
19674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19676    { (exit 1); exit 1; }; }
19677 fi
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h.  */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h.  */
19684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19686 #define $ac_func innocuous_$ac_func
19687
19688 /* System header to define __stub macros and hopefully few prototypes,
19689     which can conflict with char $ac_func (); below.
19690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19691     <limits.h> exists even on freestanding compilers.  */
19692
19693 #ifdef __STDC__
19694 # include <limits.h>
19695 #else
19696 # include <assert.h>
19697 #endif
19698
19699 #undef $ac_func
19700
19701 /* Override any gcc2 internal prototype to avoid an error.  */
19702 #ifdef __cplusplus
19703 extern "C"
19704 {
19705 #endif
19706 /* We use char because int might match the return type of a gcc2
19707    builtin and then its argument prototype would still apply.  */
19708 char $ac_func ();
19709 /* The GNU C library defines this for functions which it implements
19710     to always fail with ENOSYS.  Some functions are actually named
19711     something starting with __ and the normal name is an alias.  */
19712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19713 choke me
19714 #else
19715 char (*f) () = $ac_func;
19716 #endif
19717 #ifdef __cplusplus
19718 }
19719 #endif
19720
19721 int
19722 main ()
19723 {
19724 return f != $ac_func;
19725   ;
19726   return 0;
19727 }
19728 _ACEOF
19729 rm -f conftest.$ac_objext conftest$ac_exeext
19730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19731   (eval $ac_link) 2>conftest.er1
19732   ac_status=$?
19733   grep -v '^ *+' conftest.er1 >conftest.err
19734   rm -f conftest.er1
19735   cat conftest.err >&5
19736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737   (exit $ac_status); } &&
19738          { ac_try='test -z "$ac_c_werror_flag"
19739                          || test ! -s conftest.err'
19740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741   (eval $ac_try) 2>&5
19742   ac_status=$?
19743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744   (exit $ac_status); }; } &&
19745          { ac_try='test -s conftest$ac_exeext'
19746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747   (eval $ac_try) 2>&5
19748   ac_status=$?
19749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750   (exit $ac_status); }; }; then
19751   eval "$as_ac_var=yes"
19752 else
19753   echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 eval "$as_ac_var=no"
19757 fi
19758 rm -f conftest.err conftest.$ac_objext \
19759       conftest$ac_exeext conftest.$ac_ext
19760 fi
19761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19763 if test `eval echo '${'$as_ac_var'}'` = yes; then
19764   cat >>confdefs.h <<_ACEOF
19765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19766 _ACEOF
19767
19768 fi
19769 done
19770
19771   else
19772
19773   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19774 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19775   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19776     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19777   echo $ECHO_N "(cached) $ECHO_C" >&6
19778 else
19779
19780
19781
19782       ac_ext=cc
19783 ac_cpp='$CXXCPP $CPPFLAGS'
19784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19787
19788       cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h.  */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h.  */
19794 #include <math.h>
19795                       #ifdef HAVE_IEEEFP_H
19796                       #include <ieeefp.h>
19797                       #endif
19798
19799 int
19800 main ()
19801 {
19802  _fpclass(0);
19803   ;
19804   return 0;
19805 }
19806 _ACEOF
19807 rm -f conftest.$ac_objext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19809   (eval $ac_compile) 2>conftest.er1
19810   ac_status=$?
19811   grep -v '^ *+' conftest.er1 >conftest.err
19812   rm -f conftest.er1
19813   cat conftest.err >&5
19814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815   (exit $ac_status); } &&
19816          { ac_try='test -z "$ac_cxx_werror_flag"
19817                          || test ! -s conftest.err'
19818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819   (eval $ac_try) 2>&5
19820   ac_status=$?
19821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822   (exit $ac_status); }; } &&
19823          { ac_try='test -s conftest.$ac_objext'
19824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825   (eval $ac_try) 2>&5
19826   ac_status=$?
19827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828   (exit $ac_status); }; }; then
19829   glibcxx_cv_func__fpclass_use=yes
19830 else
19831   echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19833
19834 glibcxx_cv_func__fpclass_use=no
19835 fi
19836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19837       ac_ext=c
19838 ac_cpp='$CPP $CPPFLAGS'
19839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19842
19843
19844 fi
19845
19846   fi
19847   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
19848 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
19849
19850     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
19851
19852 for ac_func in _fpclass
19853 do
19854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19855 echo "$as_me:$LINENO: checking for $ac_func" >&5
19856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19857 if eval "test \"\${$as_ac_var+set}\" = set"; then
19858   echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else
19860   if test x$gcc_no_link = xyes; then
19861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19863    { (exit 1); exit 1; }; }
19864 fi
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h.  */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h.  */
19871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19873 #define $ac_func innocuous_$ac_func
19874
19875 /* System header to define __stub macros and hopefully few prototypes,
19876     which can conflict with char $ac_func (); below.
19877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19878     <limits.h> exists even on freestanding compilers.  */
19879
19880 #ifdef __STDC__
19881 # include <limits.h>
19882 #else
19883 # include <assert.h>
19884 #endif
19885
19886 #undef $ac_func
19887
19888 /* Override any gcc2 internal prototype to avoid an error.  */
19889 #ifdef __cplusplus
19890 extern "C"
19891 {
19892 #endif
19893 /* We use char because int might match the return type of a gcc2
19894    builtin and then its argument prototype would still apply.  */
19895 char $ac_func ();
19896 /* The GNU C library defines this for functions which it implements
19897     to always fail with ENOSYS.  Some functions are actually named
19898     something starting with __ and the normal name is an alias.  */
19899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19900 choke me
19901 #else
19902 char (*f) () = $ac_func;
19903 #endif
19904 #ifdef __cplusplus
19905 }
19906 #endif
19907
19908 int
19909 main ()
19910 {
19911 return f != $ac_func;
19912   ;
19913   return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest.$ac_objext conftest$ac_exeext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19918   (eval $ac_link) 2>conftest.er1
19919   ac_status=$?
19920   grep -v '^ *+' conftest.er1 >conftest.err
19921   rm -f conftest.er1
19922   cat conftest.err >&5
19923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924   (exit $ac_status); } &&
19925          { ac_try='test -z "$ac_c_werror_flag"
19926                          || test ! -s conftest.err'
19927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928   (eval $ac_try) 2>&5
19929   ac_status=$?
19930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931   (exit $ac_status); }; } &&
19932          { ac_try='test -s conftest$ac_exeext'
19933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934   (eval $ac_try) 2>&5
19935   ac_status=$?
19936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937   (exit $ac_status); }; }; then
19938   eval "$as_ac_var=yes"
19939 else
19940   echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19942
19943 eval "$as_ac_var=no"
19944 fi
19945 rm -f conftest.err conftest.$ac_objext \
19946       conftest$ac_exeext conftest.$ac_ext
19947 fi
19948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19950 if test `eval echo '${'$as_ac_var'}'` = yes; then
19951   cat >>confdefs.h <<_ACEOF
19952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19953 _ACEOF
19954
19955 fi
19956 done
19957
19958     fi
19959   fi
19960
19961
19962
19963
19964
19965
19966   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
19967 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
19968   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
19969     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
19970   echo $ECHO_N "(cached) $ECHO_C" >&6
19971 else
19972
19973
19974
19975       ac_ext=cc
19976 ac_cpp='$CXXCPP $CPPFLAGS'
19977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19980
19981       cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h.  */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h.  */
19987 #include <math.h>
19988                       #ifdef HAVE_IEEEFP_H
19989                       #include <ieeefp.h>
19990                       #endif
19991
19992 int
19993 main ()
19994 {
19995  qfpclass(0);
19996   ;
19997   return 0;
19998 }
19999 _ACEOF
20000 rm -f conftest.$ac_objext
20001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002   (eval $ac_compile) 2>conftest.er1
20003   ac_status=$?
20004   grep -v '^ *+' conftest.er1 >conftest.err
20005   rm -f conftest.er1
20006   cat conftest.err >&5
20007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008   (exit $ac_status); } &&
20009          { ac_try='test -z "$ac_cxx_werror_flag"
20010                          || test ! -s conftest.err'
20011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012   (eval $ac_try) 2>&5
20013   ac_status=$?
20014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015   (exit $ac_status); }; } &&
20016          { ac_try='test -s conftest.$ac_objext'
20017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018   (eval $ac_try) 2>&5
20019   ac_status=$?
20020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021   (exit $ac_status); }; }; then
20022   glibcxx_cv_func_qfpclass_use=yes
20023 else
20024   echo "$as_me: failed program was:" >&5
20025 sed 's/^/| /' conftest.$ac_ext >&5
20026
20027 glibcxx_cv_func_qfpclass_use=no
20028 fi
20029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20030       ac_ext=c
20031 ac_cpp='$CPP $CPPFLAGS'
20032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20035
20036
20037 fi
20038
20039   fi
20040   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20041 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20042
20043   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20044
20045 for ac_func in qfpclass
20046 do
20047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20048 echo "$as_me:$LINENO: checking for $ac_func" >&5
20049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20050 if eval "test \"\${$as_ac_var+set}\" = set"; then
20051   echo $ECHO_N "(cached) $ECHO_C" >&6
20052 else
20053   if test x$gcc_no_link = xyes; then
20054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20056    { (exit 1); exit 1; }; }
20057 fi
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h.  */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h.  */
20064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20066 #define $ac_func innocuous_$ac_func
20067
20068 /* System header to define __stub macros and hopefully few prototypes,
20069     which can conflict with char $ac_func (); below.
20070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20071     <limits.h> exists even on freestanding compilers.  */
20072
20073 #ifdef __STDC__
20074 # include <limits.h>
20075 #else
20076 # include <assert.h>
20077 #endif
20078
20079 #undef $ac_func
20080
20081 /* Override any gcc2 internal prototype to avoid an error.  */
20082 #ifdef __cplusplus
20083 extern "C"
20084 {
20085 #endif
20086 /* We use char because int might match the return type of a gcc2
20087    builtin and then its argument prototype would still apply.  */
20088 char $ac_func ();
20089 /* The GNU C library defines this for functions which it implements
20090     to always fail with ENOSYS.  Some functions are actually named
20091     something starting with __ and the normal name is an alias.  */
20092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20093 choke me
20094 #else
20095 char (*f) () = $ac_func;
20096 #endif
20097 #ifdef __cplusplus
20098 }
20099 #endif
20100
20101 int
20102 main ()
20103 {
20104 return f != $ac_func;
20105   ;
20106   return 0;
20107 }
20108 _ACEOF
20109 rm -f conftest.$ac_objext conftest$ac_exeext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20111   (eval $ac_link) 2>conftest.er1
20112   ac_status=$?
20113   grep -v '^ *+' conftest.er1 >conftest.err
20114   rm -f conftest.er1
20115   cat conftest.err >&5
20116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117   (exit $ac_status); } &&
20118          { ac_try='test -z "$ac_c_werror_flag"
20119                          || test ! -s conftest.err'
20120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121   (eval $ac_try) 2>&5
20122   ac_status=$?
20123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124   (exit $ac_status); }; } &&
20125          { ac_try='test -s conftest$ac_exeext'
20126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127   (eval $ac_try) 2>&5
20128   ac_status=$?
20129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130   (exit $ac_status); }; }; then
20131   eval "$as_ac_var=yes"
20132 else
20133   echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20135
20136 eval "$as_ac_var=no"
20137 fi
20138 rm -f conftest.err conftest.$ac_objext \
20139       conftest$ac_exeext conftest.$ac_ext
20140 fi
20141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20143 if test `eval echo '${'$as_ac_var'}'` = yes; then
20144   cat >>confdefs.h <<_ACEOF
20145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20146 _ACEOF
20147
20148 fi
20149 done
20150
20151   else
20152
20153   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20154 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20155   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20156     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20157   echo $ECHO_N "(cached) $ECHO_C" >&6
20158 else
20159
20160
20161
20162       ac_ext=cc
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20167
20168       cat >conftest.$ac_ext <<_ACEOF
20169 /* confdefs.h.  */
20170 _ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h.  */
20174 #include <math.h>
20175                       #ifdef HAVE_IEEEFP_H
20176                       #include <ieeefp.h>
20177                       #endif
20178
20179 int
20180 main ()
20181 {
20182  _qfpclass(0);
20183   ;
20184   return 0;
20185 }
20186 _ACEOF
20187 rm -f conftest.$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189   (eval $ac_compile) 2>conftest.er1
20190   ac_status=$?
20191   grep -v '^ *+' conftest.er1 >conftest.err
20192   rm -f conftest.er1
20193   cat conftest.err >&5
20194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195   (exit $ac_status); } &&
20196          { ac_try='test -z "$ac_cxx_werror_flag"
20197                          || test ! -s conftest.err'
20198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199   (eval $ac_try) 2>&5
20200   ac_status=$?
20201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202   (exit $ac_status); }; } &&
20203          { ac_try='test -s conftest.$ac_objext'
20204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205   (eval $ac_try) 2>&5
20206   ac_status=$?
20207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208   (exit $ac_status); }; }; then
20209   glibcxx_cv_func__qfpclass_use=yes
20210 else
20211   echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20213
20214 glibcxx_cv_func__qfpclass_use=no
20215 fi
20216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20217       ac_ext=c
20218 ac_cpp='$CPP $CPPFLAGS'
20219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20222
20223
20224 fi
20225
20226   fi
20227   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20228 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20229
20230     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20231
20232 for ac_func in _qfpclass
20233 do
20234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20235 echo "$as_me:$LINENO: checking for $ac_func" >&5
20236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20237 if eval "test \"\${$as_ac_var+set}\" = set"; then
20238   echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240   if test x$gcc_no_link = xyes; then
20241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20243    { (exit 1); exit 1; }; }
20244 fi
20245 cat >conftest.$ac_ext <<_ACEOF
20246 /* confdefs.h.  */
20247 _ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h.  */
20251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20253 #define $ac_func innocuous_$ac_func
20254
20255 /* System header to define __stub macros and hopefully few prototypes,
20256     which can conflict with char $ac_func (); below.
20257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20258     <limits.h> exists even on freestanding compilers.  */
20259
20260 #ifdef __STDC__
20261 # include <limits.h>
20262 #else
20263 # include <assert.h>
20264 #endif
20265
20266 #undef $ac_func
20267
20268 /* Override any gcc2 internal prototype to avoid an error.  */
20269 #ifdef __cplusplus
20270 extern "C"
20271 {
20272 #endif
20273 /* We use char because int might match the return type of a gcc2
20274    builtin and then its argument prototype would still apply.  */
20275 char $ac_func ();
20276 /* The GNU C library defines this for functions which it implements
20277     to always fail with ENOSYS.  Some functions are actually named
20278     something starting with __ and the normal name is an alias.  */
20279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20280 choke me
20281 #else
20282 char (*f) () = $ac_func;
20283 #endif
20284 #ifdef __cplusplus
20285 }
20286 #endif
20287
20288 int
20289 main ()
20290 {
20291 return f != $ac_func;
20292   ;
20293   return 0;
20294 }
20295 _ACEOF
20296 rm -f conftest.$ac_objext conftest$ac_exeext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20298   (eval $ac_link) 2>conftest.er1
20299   ac_status=$?
20300   grep -v '^ *+' conftest.er1 >conftest.err
20301   rm -f conftest.er1
20302   cat conftest.err >&5
20303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304   (exit $ac_status); } &&
20305          { ac_try='test -z "$ac_c_werror_flag"
20306                          || test ! -s conftest.err'
20307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308   (eval $ac_try) 2>&5
20309   ac_status=$?
20310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311   (exit $ac_status); }; } &&
20312          { ac_try='test -s conftest$ac_exeext'
20313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314   (eval $ac_try) 2>&5
20315   ac_status=$?
20316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317   (exit $ac_status); }; }; then
20318   eval "$as_ac_var=yes"
20319 else
20320   echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20322
20323 eval "$as_ac_var=no"
20324 fi
20325 rm -f conftest.err conftest.$ac_objext \
20326       conftest$ac_exeext conftest.$ac_ext
20327 fi
20328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20330 if test `eval echo '${'$as_ac_var'}'` = yes; then
20331   cat >>confdefs.h <<_ACEOF
20332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20333 _ACEOF
20334
20335 fi
20336 done
20337
20338     fi
20339   fi
20340
20341
20342
20343
20344
20345
20346   echo "$as_me:$LINENO: checking for hypot declaration" >&5
20347 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
20348   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20349     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
20350   echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352
20353
20354
20355       ac_ext=cc
20356 ac_cpp='$CXXCPP $CPPFLAGS'
20357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20360
20361       cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h.  */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h.  */
20367 #include <math.h>
20368 int
20369 main ()
20370 {
20371  hypot(0, 0);
20372   ;
20373   return 0;
20374 }
20375 _ACEOF
20376 rm -f conftest.$ac_objext
20377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20378   (eval $ac_compile) 2>conftest.er1
20379   ac_status=$?
20380   grep -v '^ *+' conftest.er1 >conftest.err
20381   rm -f conftest.er1
20382   cat conftest.err >&5
20383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384   (exit $ac_status); } &&
20385          { ac_try='test -z "$ac_cxx_werror_flag"
20386                          || test ! -s conftest.err'
20387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388   (eval $ac_try) 2>&5
20389   ac_status=$?
20390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391   (exit $ac_status); }; } &&
20392          { ac_try='test -s conftest.$ac_objext'
20393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394   (eval $ac_try) 2>&5
20395   ac_status=$?
20396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397   (exit $ac_status); }; }; then
20398   glibcxx_cv_func_hypot_use=yes
20399 else
20400   echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20402
20403 glibcxx_cv_func_hypot_use=no
20404 fi
20405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20406       ac_ext=c
20407 ac_cpp='$CPP $CPPFLAGS'
20408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20411
20412
20413 fi
20414
20415   fi
20416   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
20417 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
20418
20419   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20420
20421 for ac_func in hypot
20422 do
20423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20424 echo "$as_me:$LINENO: checking for $ac_func" >&5
20425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20426 if eval "test \"\${$as_ac_var+set}\" = set"; then
20427   echo $ECHO_N "(cached) $ECHO_C" >&6
20428 else
20429   if test x$gcc_no_link = xyes; then
20430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20432    { (exit 1); exit 1; }; }
20433 fi
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h.  */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h.  */
20440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20442 #define $ac_func innocuous_$ac_func
20443
20444 /* System header to define __stub macros and hopefully few prototypes,
20445     which can conflict with char $ac_func (); below.
20446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20447     <limits.h> exists even on freestanding compilers.  */
20448
20449 #ifdef __STDC__
20450 # include <limits.h>
20451 #else
20452 # include <assert.h>
20453 #endif
20454
20455 #undef $ac_func
20456
20457 /* Override any gcc2 internal prototype to avoid an error.  */
20458 #ifdef __cplusplus
20459 extern "C"
20460 {
20461 #endif
20462 /* We use char because int might match the return type of a gcc2
20463    builtin and then its argument prototype would still apply.  */
20464 char $ac_func ();
20465 /* The GNU C library defines this for functions which it implements
20466     to always fail with ENOSYS.  Some functions are actually named
20467     something starting with __ and the normal name is an alias.  */
20468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20469 choke me
20470 #else
20471 char (*f) () = $ac_func;
20472 #endif
20473 #ifdef __cplusplus
20474 }
20475 #endif
20476
20477 int
20478 main ()
20479 {
20480 return f != $ac_func;
20481   ;
20482   return 0;
20483 }
20484 _ACEOF
20485 rm -f conftest.$ac_objext conftest$ac_exeext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487   (eval $ac_link) 2>conftest.er1
20488   ac_status=$?
20489   grep -v '^ *+' conftest.er1 >conftest.err
20490   rm -f conftest.er1
20491   cat conftest.err >&5
20492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493   (exit $ac_status); } &&
20494          { ac_try='test -z "$ac_c_werror_flag"
20495                          || test ! -s conftest.err'
20496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497   (eval $ac_try) 2>&5
20498   ac_status=$?
20499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500   (exit $ac_status); }; } &&
20501          { ac_try='test -s conftest$ac_exeext'
20502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503   (eval $ac_try) 2>&5
20504   ac_status=$?
20505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506   (exit $ac_status); }; }; then
20507   eval "$as_ac_var=yes"
20508 else
20509   echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20511
20512 eval "$as_ac_var=no"
20513 fi
20514 rm -f conftest.err conftest.$ac_objext \
20515       conftest$ac_exeext conftest.$ac_ext
20516 fi
20517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20519 if test `eval echo '${'$as_ac_var'}'` = yes; then
20520   cat >>confdefs.h <<_ACEOF
20521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20522 _ACEOF
20523
20524 fi
20525 done
20526
20527   else
20528
20529   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20530 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20531   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20532     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20533   echo $ECHO_N "(cached) $ECHO_C" >&6
20534 else
20535
20536
20537
20538       ac_ext=cc
20539 ac_cpp='$CXXCPP $CPPFLAGS'
20540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20543
20544       cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h.  */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h.  */
20550 #include <math.h>
20551 int
20552 main ()
20553 {
20554  _hypot(0, 0);
20555   ;
20556   return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext
20560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20561   (eval $ac_compile) 2>conftest.er1
20562   ac_status=$?
20563   grep -v '^ *+' conftest.er1 >conftest.err
20564   rm -f conftest.er1
20565   cat conftest.err >&5
20566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567   (exit $ac_status); } &&
20568          { ac_try='test -z "$ac_cxx_werror_flag"
20569                          || test ! -s conftest.err'
20570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571   (eval $ac_try) 2>&5
20572   ac_status=$?
20573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574   (exit $ac_status); }; } &&
20575          { ac_try='test -s conftest.$ac_objext'
20576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577   (eval $ac_try) 2>&5
20578   ac_status=$?
20579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580   (exit $ac_status); }; }; then
20581   glibcxx_cv_func__hypot_use=yes
20582 else
20583   echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5
20585
20586 glibcxx_cv_func__hypot_use=no
20587 fi
20588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20589       ac_ext=c
20590 ac_cpp='$CPP $CPPFLAGS'
20591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20594
20595
20596 fi
20597
20598   fi
20599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20600 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20601
20602     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20603
20604 for ac_func in _hypot
20605 do
20606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20607 echo "$as_me:$LINENO: checking for $ac_func" >&5
20608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20609 if eval "test \"\${$as_ac_var+set}\" = set"; then
20610   echo $ECHO_N "(cached) $ECHO_C" >&6
20611 else
20612   if test x$gcc_no_link = xyes; then
20613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20615    { (exit 1); exit 1; }; }
20616 fi
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h.  */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h.  */
20623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20625 #define $ac_func innocuous_$ac_func
20626
20627 /* System header to define __stub macros and hopefully few prototypes,
20628     which can conflict with char $ac_func (); below.
20629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20630     <limits.h> exists even on freestanding compilers.  */
20631
20632 #ifdef __STDC__
20633 # include <limits.h>
20634 #else
20635 # include <assert.h>
20636 #endif
20637
20638 #undef $ac_func
20639
20640 /* Override any gcc2 internal prototype to avoid an error.  */
20641 #ifdef __cplusplus
20642 extern "C"
20643 {
20644 #endif
20645 /* We use char because int might match the return type of a gcc2
20646    builtin and then its argument prototype would still apply.  */
20647 char $ac_func ();
20648 /* The GNU C library defines this for functions which it implements
20649     to always fail with ENOSYS.  Some functions are actually named
20650     something starting with __ and the normal name is an alias.  */
20651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20652 choke me
20653 #else
20654 char (*f) () = $ac_func;
20655 #endif
20656 #ifdef __cplusplus
20657 }
20658 #endif
20659
20660 int
20661 main ()
20662 {
20663 return f != $ac_func;
20664   ;
20665   return 0;
20666 }
20667 _ACEOF
20668 rm -f conftest.$ac_objext conftest$ac_exeext
20669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20670   (eval $ac_link) 2>conftest.er1
20671   ac_status=$?
20672   grep -v '^ *+' conftest.er1 >conftest.err
20673   rm -f conftest.er1
20674   cat conftest.err >&5
20675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676   (exit $ac_status); } &&
20677          { ac_try='test -z "$ac_c_werror_flag"
20678                          || test ! -s conftest.err'
20679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680   (eval $ac_try) 2>&5
20681   ac_status=$?
20682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683   (exit $ac_status); }; } &&
20684          { ac_try='test -s conftest$ac_exeext'
20685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686   (eval $ac_try) 2>&5
20687   ac_status=$?
20688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689   (exit $ac_status); }; }; then
20690   eval "$as_ac_var=yes"
20691 else
20692   echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20694
20695 eval "$as_ac_var=no"
20696 fi
20697 rm -f conftest.err conftest.$ac_objext \
20698       conftest$ac_exeext conftest.$ac_ext
20699 fi
20700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20702 if test `eval echo '${'$as_ac_var'}'` = yes; then
20703   cat >>confdefs.h <<_ACEOF
20704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20705 _ACEOF
20706
20707 fi
20708 done
20709
20710     fi
20711   fi
20712
20713
20714
20715
20716
20717
20718     echo "$as_me:$LINENO: checking for float trig functions" >&5
20719 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20720   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20721   echo $ECHO_N "(cached) $ECHO_C" >&6
20722 else
20723
20724
20725
20726     ac_ext=cc
20727 ac_cpp='$CXXCPP $CPPFLAGS'
20728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20731
20732     cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h.  */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h.  */
20738 #include <math.h>
20739 int
20740 main ()
20741 {
20742 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20743   ;
20744   return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20749   (eval $ac_compile) 2>conftest.er1
20750   ac_status=$?
20751   grep -v '^ *+' conftest.er1 >conftest.err
20752   rm -f conftest.er1
20753   cat conftest.err >&5
20754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755   (exit $ac_status); } &&
20756          { ac_try='test -z "$ac_cxx_werror_flag"
20757                          || test ! -s conftest.err'
20758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759   (eval $ac_try) 2>&5
20760   ac_status=$?
20761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762   (exit $ac_status); }; } &&
20763          { ac_try='test -s conftest.$ac_objext'
20764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765   (eval $ac_try) 2>&5
20766   ac_status=$?
20767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768   (exit $ac_status); }; }; then
20769   glibcxx_cv_func_float_trig_use=yes
20770 else
20771   echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20773
20774 glibcxx_cv_func_float_trig_use=no
20775 fi
20776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20777     ac_ext=c
20778 ac_cpp='$CPP $CPPFLAGS'
20779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20782
20783 fi
20784
20785   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20786 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20787   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20798 do
20799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20800 echo "$as_me:$LINENO: checking for $ac_func" >&5
20801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20802 if eval "test \"\${$as_ac_var+set}\" = set"; then
20803   echo $ECHO_N "(cached) $ECHO_C" >&6
20804 else
20805   if test x$gcc_no_link = xyes; then
20806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20808    { (exit 1); exit 1; }; }
20809 fi
20810 cat >conftest.$ac_ext <<_ACEOF
20811 /* confdefs.h.  */
20812 _ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h.  */
20816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20818 #define $ac_func innocuous_$ac_func
20819
20820 /* System header to define __stub macros and hopefully few prototypes,
20821     which can conflict with char $ac_func (); below.
20822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20823     <limits.h> exists even on freestanding compilers.  */
20824
20825 #ifdef __STDC__
20826 # include <limits.h>
20827 #else
20828 # include <assert.h>
20829 #endif
20830
20831 #undef $ac_func
20832
20833 /* Override any gcc2 internal prototype to avoid an error.  */
20834 #ifdef __cplusplus
20835 extern "C"
20836 {
20837 #endif
20838 /* We use char because int might match the return type of a gcc2
20839    builtin and then its argument prototype would still apply.  */
20840 char $ac_func ();
20841 /* The GNU C library defines this for functions which it implements
20842     to always fail with ENOSYS.  Some functions are actually named
20843     something starting with __ and the normal name is an alias.  */
20844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20845 choke me
20846 #else
20847 char (*f) () = $ac_func;
20848 #endif
20849 #ifdef __cplusplus
20850 }
20851 #endif
20852
20853 int
20854 main ()
20855 {
20856 return f != $ac_func;
20857   ;
20858   return 0;
20859 }
20860 _ACEOF
20861 rm -f conftest.$ac_objext conftest$ac_exeext
20862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20863   (eval $ac_link) 2>conftest.er1
20864   ac_status=$?
20865   grep -v '^ *+' conftest.er1 >conftest.err
20866   rm -f conftest.er1
20867   cat conftest.err >&5
20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869   (exit $ac_status); } &&
20870          { ac_try='test -z "$ac_c_werror_flag"
20871                          || test ! -s conftest.err'
20872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873   (eval $ac_try) 2>&5
20874   ac_status=$?
20875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876   (exit $ac_status); }; } &&
20877          { ac_try='test -s conftest$ac_exeext'
20878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879   (eval $ac_try) 2>&5
20880   ac_status=$?
20881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882   (exit $ac_status); }; }; then
20883   eval "$as_ac_var=yes"
20884 else
20885   echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5
20887
20888 eval "$as_ac_var=no"
20889 fi
20890 rm -f conftest.err conftest.$ac_objext \
20891       conftest$ac_exeext conftest.$ac_ext
20892 fi
20893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20895 if test `eval echo '${'$as_ac_var'}'` = yes; then
20896   cat >>confdefs.h <<_ACEOF
20897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20898 _ACEOF
20899
20900 fi
20901 done
20902
20903   else
20904     echo "$as_me:$LINENO: checking for _float trig functions" >&5
20905 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
20906     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
20907   echo $ECHO_N "(cached) $ECHO_C" >&6
20908 else
20909
20910
20911
20912       ac_ext=cc
20913 ac_cpp='$CXXCPP $CPPFLAGS'
20914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20917
20918       cat >conftest.$ac_ext <<_ACEOF
20919 /* confdefs.h.  */
20920 _ACEOF
20921 cat confdefs.h >>conftest.$ac_ext
20922 cat >>conftest.$ac_ext <<_ACEOF
20923 /* end confdefs.h.  */
20924 #include <math.h>
20925 int
20926 main ()
20927 {
20928 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20929   ;
20930   return 0;
20931 }
20932 _ACEOF
20933 rm -f conftest.$ac_objext
20934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20935   (eval $ac_compile) 2>conftest.er1
20936   ac_status=$?
20937   grep -v '^ *+' conftest.er1 >conftest.err
20938   rm -f conftest.er1
20939   cat conftest.err >&5
20940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941   (exit $ac_status); } &&
20942          { ac_try='test -z "$ac_cxx_werror_flag"
20943                          || test ! -s conftest.err'
20944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945   (eval $ac_try) 2>&5
20946   ac_status=$?
20947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948   (exit $ac_status); }; } &&
20949          { ac_try='test -s conftest.$ac_objext'
20950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20951   (eval $ac_try) 2>&5
20952   ac_status=$?
20953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954   (exit $ac_status); }; }; then
20955   glibcxx_cv_func__float_trig_use=yes
20956 else
20957   echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 glibcxx_cv_func__float_trig_use=no
20961 fi
20962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20963       ac_ext=c
20964 ac_cpp='$CPP $CPPFLAGS'
20965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20968
20969 fi
20970
20971     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
20972 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
20973     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20984 do
20985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20986 echo "$as_me:$LINENO: checking for $ac_func" >&5
20987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20988 if eval "test \"\${$as_ac_var+set}\" = set"; then
20989   echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991   if test x$gcc_no_link = xyes; then
20992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20994    { (exit 1); exit 1; }; }
20995 fi
20996 cat >conftest.$ac_ext <<_ACEOF
20997 /* confdefs.h.  */
20998 _ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h.  */
21002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21004 #define $ac_func innocuous_$ac_func
21005
21006 /* System header to define __stub macros and hopefully few prototypes,
21007     which can conflict with char $ac_func (); below.
21008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21009     <limits.h> exists even on freestanding compilers.  */
21010
21011 #ifdef __STDC__
21012 # include <limits.h>
21013 #else
21014 # include <assert.h>
21015 #endif
21016
21017 #undef $ac_func
21018
21019 /* Override any gcc2 internal prototype to avoid an error.  */
21020 #ifdef __cplusplus
21021 extern "C"
21022 {
21023 #endif
21024 /* We use char because int might match the return type of a gcc2
21025    builtin and then its argument prototype would still apply.  */
21026 char $ac_func ();
21027 /* The GNU C library defines this for functions which it implements
21028     to always fail with ENOSYS.  Some functions are actually named
21029     something starting with __ and the normal name is an alias.  */
21030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21031 choke me
21032 #else
21033 char (*f) () = $ac_func;
21034 #endif
21035 #ifdef __cplusplus
21036 }
21037 #endif
21038
21039 int
21040 main ()
21041 {
21042 return f != $ac_func;
21043   ;
21044   return 0;
21045 }
21046 _ACEOF
21047 rm -f conftest.$ac_objext conftest$ac_exeext
21048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21049   (eval $ac_link) 2>conftest.er1
21050   ac_status=$?
21051   grep -v '^ *+' conftest.er1 >conftest.err
21052   rm -f conftest.er1
21053   cat conftest.err >&5
21054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055   (exit $ac_status); } &&
21056          { ac_try='test -z "$ac_c_werror_flag"
21057                          || test ! -s conftest.err'
21058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059   (eval $ac_try) 2>&5
21060   ac_status=$?
21061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062   (exit $ac_status); }; } &&
21063          { ac_try='test -s conftest$ac_exeext'
21064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065   (eval $ac_try) 2>&5
21066   ac_status=$?
21067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068   (exit $ac_status); }; }; then
21069   eval "$as_ac_var=yes"
21070 else
21071   echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 eval "$as_ac_var=no"
21075 fi
21076 rm -f conftest.err conftest.$ac_objext \
21077       conftest$ac_exeext conftest.$ac_ext
21078 fi
21079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21081 if test `eval echo '${'$as_ac_var'}'` = yes; then
21082   cat >>confdefs.h <<_ACEOF
21083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21084 _ACEOF
21085
21086 fi
21087 done
21088
21089     fi
21090   fi
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105     echo "$as_me:$LINENO: checking for float round functions" >&5
21106 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21107   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21108   echo $ECHO_N "(cached) $ECHO_C" >&6
21109 else
21110
21111
21112
21113     ac_ext=cc
21114 ac_cpp='$CXXCPP $CPPFLAGS'
21115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21118
21119     cat >conftest.$ac_ext <<_ACEOF
21120 /* confdefs.h.  */
21121 _ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h.  */
21125 #include <math.h>
21126 int
21127 main ()
21128 {
21129 ceilf (0); floorf (0);
21130   ;
21131   return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136   (eval $ac_compile) 2>conftest.er1
21137   ac_status=$?
21138   grep -v '^ *+' conftest.er1 >conftest.err
21139   rm -f conftest.er1
21140   cat conftest.err >&5
21141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142   (exit $ac_status); } &&
21143          { ac_try='test -z "$ac_cxx_werror_flag"
21144                          || test ! -s conftest.err'
21145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146   (eval $ac_try) 2>&5
21147   ac_status=$?
21148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149   (exit $ac_status); }; } &&
21150          { ac_try='test -s conftest.$ac_objext'
21151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152   (eval $ac_try) 2>&5
21153   ac_status=$?
21154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155   (exit $ac_status); }; }; then
21156   glibcxx_cv_func_float_round_use=yes
21157 else
21158   echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 glibcxx_cv_func_float_round_use=no
21162 fi
21163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21164     ac_ext=c
21165 ac_cpp='$CPP $CPPFLAGS'
21166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21169
21170 fi
21171
21172   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21173 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21174   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21175
21176
21177 for ac_func in ceilf floorf
21178 do
21179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21180 echo "$as_me:$LINENO: checking for $ac_func" >&5
21181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21182 if eval "test \"\${$as_ac_var+set}\" = set"; then
21183   echo $ECHO_N "(cached) $ECHO_C" >&6
21184 else
21185   if test x$gcc_no_link = xyes; then
21186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21188    { (exit 1); exit 1; }; }
21189 fi
21190 cat >conftest.$ac_ext <<_ACEOF
21191 /* confdefs.h.  */
21192 _ACEOF
21193 cat confdefs.h >>conftest.$ac_ext
21194 cat >>conftest.$ac_ext <<_ACEOF
21195 /* end confdefs.h.  */
21196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21198 #define $ac_func innocuous_$ac_func
21199
21200 /* System header to define __stub macros and hopefully few prototypes,
21201     which can conflict with char $ac_func (); below.
21202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21203     <limits.h> exists even on freestanding compilers.  */
21204
21205 #ifdef __STDC__
21206 # include <limits.h>
21207 #else
21208 # include <assert.h>
21209 #endif
21210
21211 #undef $ac_func
21212
21213 /* Override any gcc2 internal prototype to avoid an error.  */
21214 #ifdef __cplusplus
21215 extern "C"
21216 {
21217 #endif
21218 /* We use char because int might match the return type of a gcc2
21219    builtin and then its argument prototype would still apply.  */
21220 char $ac_func ();
21221 /* The GNU C library defines this for functions which it implements
21222     to always fail with ENOSYS.  Some functions are actually named
21223     something starting with __ and the normal name is an alias.  */
21224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21225 choke me
21226 #else
21227 char (*f) () = $ac_func;
21228 #endif
21229 #ifdef __cplusplus
21230 }
21231 #endif
21232
21233 int
21234 main ()
21235 {
21236 return f != $ac_func;
21237   ;
21238   return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext conftest$ac_exeext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21243   (eval $ac_link) 2>conftest.er1
21244   ac_status=$?
21245   grep -v '^ *+' conftest.er1 >conftest.err
21246   rm -f conftest.er1
21247   cat conftest.err >&5
21248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249   (exit $ac_status); } &&
21250          { ac_try='test -z "$ac_c_werror_flag"
21251                          || test ! -s conftest.err'
21252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253   (eval $ac_try) 2>&5
21254   ac_status=$?
21255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256   (exit $ac_status); }; } &&
21257          { ac_try='test -s conftest$ac_exeext'
21258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259   (eval $ac_try) 2>&5
21260   ac_status=$?
21261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262   (exit $ac_status); }; }; then
21263   eval "$as_ac_var=yes"
21264 else
21265   echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 eval "$as_ac_var=no"
21269 fi
21270 rm -f conftest.err conftest.$ac_objext \
21271       conftest$ac_exeext conftest.$ac_ext
21272 fi
21273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21275 if test `eval echo '${'$as_ac_var'}'` = yes; then
21276   cat >>confdefs.h <<_ACEOF
21277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21278 _ACEOF
21279
21280 fi
21281 done
21282
21283   else
21284     echo "$as_me:$LINENO: checking for _float round functions" >&5
21285 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21286     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21287   echo $ECHO_N "(cached) $ECHO_C" >&6
21288 else
21289
21290
21291
21292       ac_ext=cc
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297
21298       cat >conftest.$ac_ext <<_ACEOF
21299 /* confdefs.h.  */
21300 _ACEOF
21301 cat confdefs.h >>conftest.$ac_ext
21302 cat >>conftest.$ac_ext <<_ACEOF
21303 /* end confdefs.h.  */
21304 #include <math.h>
21305 int
21306 main ()
21307 {
21308 _ceilf (0); _floorf (0);
21309   ;
21310   return 0;
21311 }
21312 _ACEOF
21313 rm -f conftest.$ac_objext
21314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21315   (eval $ac_compile) 2>conftest.er1
21316   ac_status=$?
21317   grep -v '^ *+' conftest.er1 >conftest.err
21318   rm -f conftest.er1
21319   cat conftest.err >&5
21320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321   (exit $ac_status); } &&
21322          { ac_try='test -z "$ac_cxx_werror_flag"
21323                          || test ! -s conftest.err'
21324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21325   (eval $ac_try) 2>&5
21326   ac_status=$?
21327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328   (exit $ac_status); }; } &&
21329          { ac_try='test -s conftest.$ac_objext'
21330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331   (eval $ac_try) 2>&5
21332   ac_status=$?
21333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334   (exit $ac_status); }; }; then
21335   glibcxx_cv_func__float_round_use=yes
21336 else
21337   echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21339
21340 glibcxx_cv_func__float_round_use=no
21341 fi
21342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21343       ac_ext=c
21344 ac_cpp='$CPP $CPPFLAGS'
21345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21348
21349 fi
21350
21351     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21352 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21353     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21354
21355
21356 for ac_func in _ceilf _floorf
21357 do
21358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21359 echo "$as_me:$LINENO: checking for $ac_func" >&5
21360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21361 if eval "test \"\${$as_ac_var+set}\" = set"; then
21362   echo $ECHO_N "(cached) $ECHO_C" >&6
21363 else
21364   if test x$gcc_no_link = xyes; then
21365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21367    { (exit 1); exit 1; }; }
21368 fi
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h.  */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h.  */
21375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21377 #define $ac_func innocuous_$ac_func
21378
21379 /* System header to define __stub macros and hopefully few prototypes,
21380     which can conflict with char $ac_func (); below.
21381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21382     <limits.h> exists even on freestanding compilers.  */
21383
21384 #ifdef __STDC__
21385 # include <limits.h>
21386 #else
21387 # include <assert.h>
21388 #endif
21389
21390 #undef $ac_func
21391
21392 /* Override any gcc2 internal prototype to avoid an error.  */
21393 #ifdef __cplusplus
21394 extern "C"
21395 {
21396 #endif
21397 /* We use char because int might match the return type of a gcc2
21398    builtin and then its argument prototype would still apply.  */
21399 char $ac_func ();
21400 /* The GNU C library defines this for functions which it implements
21401     to always fail with ENOSYS.  Some functions are actually named
21402     something starting with __ and the normal name is an alias.  */
21403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21404 choke me
21405 #else
21406 char (*f) () = $ac_func;
21407 #endif
21408 #ifdef __cplusplus
21409 }
21410 #endif
21411
21412 int
21413 main ()
21414 {
21415 return f != $ac_func;
21416   ;
21417   return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext conftest$ac_exeext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21422   (eval $ac_link) 2>conftest.er1
21423   ac_status=$?
21424   grep -v '^ *+' conftest.er1 >conftest.err
21425   rm -f conftest.er1
21426   cat conftest.err >&5
21427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428   (exit $ac_status); } &&
21429          { ac_try='test -z "$ac_c_werror_flag"
21430                          || test ! -s conftest.err'
21431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432   (eval $ac_try) 2>&5
21433   ac_status=$?
21434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435   (exit $ac_status); }; } &&
21436          { ac_try='test -s conftest$ac_exeext'
21437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438   (eval $ac_try) 2>&5
21439   ac_status=$?
21440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441   (exit $ac_status); }; }; then
21442   eval "$as_ac_var=yes"
21443 else
21444   echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21446
21447 eval "$as_ac_var=no"
21448 fi
21449 rm -f conftest.err conftest.$ac_objext \
21450       conftest$ac_exeext conftest.$ac_ext
21451 fi
21452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21454 if test `eval echo '${'$as_ac_var'}'` = yes; then
21455   cat >>confdefs.h <<_ACEOF
21456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21457 _ACEOF
21458
21459 fi
21460 done
21461
21462     fi
21463   fi
21464
21465
21466
21467
21468
21469
21470
21471
21472   echo "$as_me:$LINENO: checking for expf declaration" >&5
21473 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21474   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21475     if test "${glibcxx_cv_func_expf_use+set}" = set; then
21476   echo $ECHO_N "(cached) $ECHO_C" >&6
21477 else
21478
21479
21480
21481       ac_ext=cc
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21486
21487       cat >conftest.$ac_ext <<_ACEOF
21488 /* confdefs.h.  */
21489 _ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h.  */
21493 #include <math.h>
21494                       #ifdef HAVE_IEEEFP_H
21495                       #include <ieeefp.h>
21496                       #endif
21497
21498 int
21499 main ()
21500 {
21501  expf(0);
21502   ;
21503   return 0;
21504 }
21505 _ACEOF
21506 rm -f conftest.$ac_objext
21507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21508   (eval $ac_compile) 2>conftest.er1
21509   ac_status=$?
21510   grep -v '^ *+' conftest.er1 >conftest.err
21511   rm -f conftest.er1
21512   cat conftest.err >&5
21513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514   (exit $ac_status); } &&
21515          { ac_try='test -z "$ac_cxx_werror_flag"
21516                          || test ! -s conftest.err'
21517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518   (eval $ac_try) 2>&5
21519   ac_status=$?
21520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521   (exit $ac_status); }; } &&
21522          { ac_try='test -s conftest.$ac_objext'
21523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524   (eval $ac_try) 2>&5
21525   ac_status=$?
21526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527   (exit $ac_status); }; }; then
21528   glibcxx_cv_func_expf_use=yes
21529 else
21530   echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 glibcxx_cv_func_expf_use=no
21534 fi
21535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21536       ac_ext=c
21537 ac_cpp='$CPP $CPPFLAGS'
21538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21541
21542
21543 fi
21544
21545   fi
21546   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21547 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21548
21549   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21550
21551 for ac_func in expf
21552 do
21553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21554 echo "$as_me:$LINENO: checking for $ac_func" >&5
21555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21556 if eval "test \"\${$as_ac_var+set}\" = set"; then
21557   echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21559   if test x$gcc_no_link = xyes; then
21560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21562    { (exit 1); exit 1; }; }
21563 fi
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h.  */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h.  */
21570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21572 #define $ac_func innocuous_$ac_func
21573
21574 /* System header to define __stub macros and hopefully few prototypes,
21575     which can conflict with char $ac_func (); below.
21576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21577     <limits.h> exists even on freestanding compilers.  */
21578
21579 #ifdef __STDC__
21580 # include <limits.h>
21581 #else
21582 # include <assert.h>
21583 #endif
21584
21585 #undef $ac_func
21586
21587 /* Override any gcc2 internal prototype to avoid an error.  */
21588 #ifdef __cplusplus
21589 extern "C"
21590 {
21591 #endif
21592 /* We use char because int might match the return type of a gcc2
21593    builtin and then its argument prototype would still apply.  */
21594 char $ac_func ();
21595 /* The GNU C library defines this for functions which it implements
21596     to always fail with ENOSYS.  Some functions are actually named
21597     something starting with __ and the normal name is an alias.  */
21598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21599 choke me
21600 #else
21601 char (*f) () = $ac_func;
21602 #endif
21603 #ifdef __cplusplus
21604 }
21605 #endif
21606
21607 int
21608 main ()
21609 {
21610 return f != $ac_func;
21611   ;
21612   return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest.$ac_objext conftest$ac_exeext
21616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21617   (eval $ac_link) 2>conftest.er1
21618   ac_status=$?
21619   grep -v '^ *+' conftest.er1 >conftest.err
21620   rm -f conftest.er1
21621   cat conftest.err >&5
21622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623   (exit $ac_status); } &&
21624          { ac_try='test -z "$ac_c_werror_flag"
21625                          || test ! -s conftest.err'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; } &&
21631          { ac_try='test -s conftest$ac_exeext'
21632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21633   (eval $ac_try) 2>&5
21634   ac_status=$?
21635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636   (exit $ac_status); }; }; then
21637   eval "$as_ac_var=yes"
21638 else
21639   echo "$as_me: failed program was:" >&5
21640 sed 's/^/| /' conftest.$ac_ext >&5
21641
21642 eval "$as_ac_var=no"
21643 fi
21644 rm -f conftest.err conftest.$ac_objext \
21645       conftest$ac_exeext conftest.$ac_ext
21646 fi
21647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21649 if test `eval echo '${'$as_ac_var'}'` = yes; then
21650   cat >>confdefs.h <<_ACEOF
21651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21652 _ACEOF
21653
21654 fi
21655 done
21656
21657   else
21658
21659   echo "$as_me:$LINENO: checking for _expf declaration" >&5
21660 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21661   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21662     if test "${glibcxx_cv_func__expf_use+set}" = set; then
21663   echo $ECHO_N "(cached) $ECHO_C" >&6
21664 else
21665
21666
21667
21668       ac_ext=cc
21669 ac_cpp='$CXXCPP $CPPFLAGS'
21670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21673
21674       cat >conftest.$ac_ext <<_ACEOF
21675 /* confdefs.h.  */
21676 _ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h.  */
21680 #include <math.h>
21681                       #ifdef HAVE_IEEEFP_H
21682                       #include <ieeefp.h>
21683                       #endif
21684
21685 int
21686 main ()
21687 {
21688  _expf(0);
21689   ;
21690   return 0;
21691 }
21692 _ACEOF
21693 rm -f conftest.$ac_objext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21695   (eval $ac_compile) 2>conftest.er1
21696   ac_status=$?
21697   grep -v '^ *+' conftest.er1 >conftest.err
21698   rm -f conftest.er1
21699   cat conftest.err >&5
21700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701   (exit $ac_status); } &&
21702          { ac_try='test -z "$ac_cxx_werror_flag"
21703                          || test ! -s conftest.err'
21704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21705   (eval $ac_try) 2>&5
21706   ac_status=$?
21707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708   (exit $ac_status); }; } &&
21709          { ac_try='test -s conftest.$ac_objext'
21710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711   (eval $ac_try) 2>&5
21712   ac_status=$?
21713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714   (exit $ac_status); }; }; then
21715   glibcxx_cv_func__expf_use=yes
21716 else
21717   echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.$ac_ext >&5
21719
21720 glibcxx_cv_func__expf_use=no
21721 fi
21722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21723       ac_ext=c
21724 ac_cpp='$CPP $CPPFLAGS'
21725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21728
21729
21730 fi
21731
21732   fi
21733   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21734 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21735
21736     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21737
21738 for ac_func in _expf
21739 do
21740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21741 echo "$as_me:$LINENO: checking for $ac_func" >&5
21742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21743 if eval "test \"\${$as_ac_var+set}\" = set"; then
21744   echo $ECHO_N "(cached) $ECHO_C" >&6
21745 else
21746   if test x$gcc_no_link = xyes; then
21747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21749    { (exit 1); exit 1; }; }
21750 fi
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h.  */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h.  */
21757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21759 #define $ac_func innocuous_$ac_func
21760
21761 /* System header to define __stub macros and hopefully few prototypes,
21762     which can conflict with char $ac_func (); below.
21763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21764     <limits.h> exists even on freestanding compilers.  */
21765
21766 #ifdef __STDC__
21767 # include <limits.h>
21768 #else
21769 # include <assert.h>
21770 #endif
21771
21772 #undef $ac_func
21773
21774 /* Override any gcc2 internal prototype to avoid an error.  */
21775 #ifdef __cplusplus
21776 extern "C"
21777 {
21778 #endif
21779 /* We use char because int might match the return type of a gcc2
21780    builtin and then its argument prototype would still apply.  */
21781 char $ac_func ();
21782 /* The GNU C library defines this for functions which it implements
21783     to always fail with ENOSYS.  Some functions are actually named
21784     something starting with __ and the normal name is an alias.  */
21785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21786 choke me
21787 #else
21788 char (*f) () = $ac_func;
21789 #endif
21790 #ifdef __cplusplus
21791 }
21792 #endif
21793
21794 int
21795 main ()
21796 {
21797 return f != $ac_func;
21798   ;
21799   return 0;
21800 }
21801 _ACEOF
21802 rm -f conftest.$ac_objext conftest$ac_exeext
21803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21804   (eval $ac_link) 2>conftest.er1
21805   ac_status=$?
21806   grep -v '^ *+' conftest.er1 >conftest.err
21807   rm -f conftest.er1
21808   cat conftest.err >&5
21809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810   (exit $ac_status); } &&
21811          { ac_try='test -z "$ac_c_werror_flag"
21812                          || test ! -s conftest.err'
21813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21814   (eval $ac_try) 2>&5
21815   ac_status=$?
21816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817   (exit $ac_status); }; } &&
21818          { ac_try='test -s conftest$ac_exeext'
21819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820   (eval $ac_try) 2>&5
21821   ac_status=$?
21822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823   (exit $ac_status); }; }; then
21824   eval "$as_ac_var=yes"
21825 else
21826   echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.$ac_ext >&5
21828
21829 eval "$as_ac_var=no"
21830 fi
21831 rm -f conftest.err conftest.$ac_objext \
21832       conftest$ac_exeext conftest.$ac_ext
21833 fi
21834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21836 if test `eval echo '${'$as_ac_var'}'` = yes; then
21837   cat >>confdefs.h <<_ACEOF
21838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21839 _ACEOF
21840
21841 fi
21842 done
21843
21844     fi
21845   fi
21846
21847
21848
21849
21850
21851
21852   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
21853 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
21854   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21855     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
21856   echo $ECHO_N "(cached) $ECHO_C" >&6
21857 else
21858
21859
21860
21861       ac_ext=cc
21862 ac_cpp='$CXXCPP $CPPFLAGS'
21863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21866
21867       cat >conftest.$ac_ext <<_ACEOF
21868 /* confdefs.h.  */
21869 _ACEOF
21870 cat confdefs.h >>conftest.$ac_ext
21871 cat >>conftest.$ac_ext <<_ACEOF
21872 /* end confdefs.h.  */
21873 #include <math.h>
21874                       #ifdef HAVE_IEEEFP_H
21875                       #include <ieeefp.h>
21876                       #endif
21877
21878 int
21879 main ()
21880 {
21881  isnanf(0);
21882   ;
21883   return 0;
21884 }
21885 _ACEOF
21886 rm -f conftest.$ac_objext
21887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21888   (eval $ac_compile) 2>conftest.er1
21889   ac_status=$?
21890   grep -v '^ *+' conftest.er1 >conftest.err
21891   rm -f conftest.er1
21892   cat conftest.err >&5
21893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894   (exit $ac_status); } &&
21895          { ac_try='test -z "$ac_cxx_werror_flag"
21896                          || test ! -s conftest.err'
21897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21898   (eval $ac_try) 2>&5
21899   ac_status=$?
21900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901   (exit $ac_status); }; } &&
21902          { ac_try='test -s conftest.$ac_objext'
21903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904   (eval $ac_try) 2>&5
21905   ac_status=$?
21906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907   (exit $ac_status); }; }; then
21908   glibcxx_cv_func_isnanf_use=yes
21909 else
21910   echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 glibcxx_cv_func_isnanf_use=no
21914 fi
21915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21916       ac_ext=c
21917 ac_cpp='$CPP $CPPFLAGS'
21918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921
21922
21923 fi
21924
21925   fi
21926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
21927 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
21928
21929   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21930
21931 for ac_func in isnanf
21932 do
21933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21934 echo "$as_me:$LINENO: checking for $ac_func" >&5
21935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21936 if eval "test \"\${$as_ac_var+set}\" = set"; then
21937   echo $ECHO_N "(cached) $ECHO_C" >&6
21938 else
21939   if test x$gcc_no_link = xyes; then
21940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21942    { (exit 1); exit 1; }; }
21943 fi
21944 cat >conftest.$ac_ext <<_ACEOF
21945 /* confdefs.h.  */
21946 _ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h.  */
21950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21952 #define $ac_func innocuous_$ac_func
21953
21954 /* System header to define __stub macros and hopefully few prototypes,
21955     which can conflict with char $ac_func (); below.
21956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21957     <limits.h> exists even on freestanding compilers.  */
21958
21959 #ifdef __STDC__
21960 # include <limits.h>
21961 #else
21962 # include <assert.h>
21963 #endif
21964
21965 #undef $ac_func
21966
21967 /* Override any gcc2 internal prototype to avoid an error.  */
21968 #ifdef __cplusplus
21969 extern "C"
21970 {
21971 #endif
21972 /* We use char because int might match the return type of a gcc2
21973    builtin and then its argument prototype would still apply.  */
21974 char $ac_func ();
21975 /* The GNU C library defines this for functions which it implements
21976     to always fail with ENOSYS.  Some functions are actually named
21977     something starting with __ and the normal name is an alias.  */
21978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21979 choke me
21980 #else
21981 char (*f) () = $ac_func;
21982 #endif
21983 #ifdef __cplusplus
21984 }
21985 #endif
21986
21987 int
21988 main ()
21989 {
21990 return f != $ac_func;
21991   ;
21992   return 0;
21993 }
21994 _ACEOF
21995 rm -f conftest.$ac_objext conftest$ac_exeext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21997   (eval $ac_link) 2>conftest.er1
21998   ac_status=$?
21999   grep -v '^ *+' conftest.er1 >conftest.err
22000   rm -f conftest.er1
22001   cat conftest.err >&5
22002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003   (exit $ac_status); } &&
22004          { ac_try='test -z "$ac_c_werror_flag"
22005                          || test ! -s conftest.err'
22006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007   (eval $ac_try) 2>&5
22008   ac_status=$?
22009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010   (exit $ac_status); }; } &&
22011          { ac_try='test -s conftest$ac_exeext'
22012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013   (eval $ac_try) 2>&5
22014   ac_status=$?
22015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016   (exit $ac_status); }; }; then
22017   eval "$as_ac_var=yes"
22018 else
22019   echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 eval "$as_ac_var=no"
22023 fi
22024 rm -f conftest.err conftest.$ac_objext \
22025       conftest$ac_exeext conftest.$ac_ext
22026 fi
22027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22029 if test `eval echo '${'$as_ac_var'}'` = yes; then
22030   cat >>confdefs.h <<_ACEOF
22031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22032 _ACEOF
22033
22034 fi
22035 done
22036
22037   else
22038
22039   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22040 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22041   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22042     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22043   echo $ECHO_N "(cached) $ECHO_C" >&6
22044 else
22045
22046
22047
22048       ac_ext=cc
22049 ac_cpp='$CXXCPP $CPPFLAGS'
22050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22053
22054       cat >conftest.$ac_ext <<_ACEOF
22055 /* confdefs.h.  */
22056 _ACEOF
22057 cat confdefs.h >>conftest.$ac_ext
22058 cat >>conftest.$ac_ext <<_ACEOF
22059 /* end confdefs.h.  */
22060 #include <math.h>
22061                       #ifdef HAVE_IEEEFP_H
22062                       #include <ieeefp.h>
22063                       #endif
22064
22065 int
22066 main ()
22067 {
22068  _isnanf(0);
22069   ;
22070   return 0;
22071 }
22072 _ACEOF
22073 rm -f conftest.$ac_objext
22074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22075   (eval $ac_compile) 2>conftest.er1
22076   ac_status=$?
22077   grep -v '^ *+' conftest.er1 >conftest.err
22078   rm -f conftest.er1
22079   cat conftest.err >&5
22080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081   (exit $ac_status); } &&
22082          { ac_try='test -z "$ac_cxx_werror_flag"
22083                          || test ! -s conftest.err'
22084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085   (eval $ac_try) 2>&5
22086   ac_status=$?
22087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088   (exit $ac_status); }; } &&
22089          { ac_try='test -s conftest.$ac_objext'
22090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091   (eval $ac_try) 2>&5
22092   ac_status=$?
22093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094   (exit $ac_status); }; }; then
22095   glibcxx_cv_func__isnanf_use=yes
22096 else
22097   echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22099
22100 glibcxx_cv_func__isnanf_use=no
22101 fi
22102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22103       ac_ext=c
22104 ac_cpp='$CPP $CPPFLAGS'
22105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22108
22109
22110 fi
22111
22112   fi
22113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22114 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22115
22116     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22117
22118 for ac_func in _isnanf
22119 do
22120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22121 echo "$as_me:$LINENO: checking for $ac_func" >&5
22122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22123 if eval "test \"\${$as_ac_var+set}\" = set"; then
22124   echo $ECHO_N "(cached) $ECHO_C" >&6
22125 else
22126   if test x$gcc_no_link = xyes; then
22127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22129    { (exit 1); exit 1; }; }
22130 fi
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h.  */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h.  */
22137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22139 #define $ac_func innocuous_$ac_func
22140
22141 /* System header to define __stub macros and hopefully few prototypes,
22142     which can conflict with char $ac_func (); below.
22143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22144     <limits.h> exists even on freestanding compilers.  */
22145
22146 #ifdef __STDC__
22147 # include <limits.h>
22148 #else
22149 # include <assert.h>
22150 #endif
22151
22152 #undef $ac_func
22153
22154 /* Override any gcc2 internal prototype to avoid an error.  */
22155 #ifdef __cplusplus
22156 extern "C"
22157 {
22158 #endif
22159 /* We use char because int might match the return type of a gcc2
22160    builtin and then its argument prototype would still apply.  */
22161 char $ac_func ();
22162 /* The GNU C library defines this for functions which it implements
22163     to always fail with ENOSYS.  Some functions are actually named
22164     something starting with __ and the normal name is an alias.  */
22165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22166 choke me
22167 #else
22168 char (*f) () = $ac_func;
22169 #endif
22170 #ifdef __cplusplus
22171 }
22172 #endif
22173
22174 int
22175 main ()
22176 {
22177 return f != $ac_func;
22178   ;
22179   return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext conftest$ac_exeext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22184   (eval $ac_link) 2>conftest.er1
22185   ac_status=$?
22186   grep -v '^ *+' conftest.er1 >conftest.err
22187   rm -f conftest.er1
22188   cat conftest.err >&5
22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190   (exit $ac_status); } &&
22191          { ac_try='test -z "$ac_c_werror_flag"
22192                          || test ! -s conftest.err'
22193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194   (eval $ac_try) 2>&5
22195   ac_status=$?
22196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197   (exit $ac_status); }; } &&
22198          { ac_try='test -s conftest$ac_exeext'
22199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200   (eval $ac_try) 2>&5
22201   ac_status=$?
22202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203   (exit $ac_status); }; }; then
22204   eval "$as_ac_var=yes"
22205 else
22206   echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 eval "$as_ac_var=no"
22210 fi
22211 rm -f conftest.err conftest.$ac_objext \
22212       conftest$ac_exeext conftest.$ac_ext
22213 fi
22214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22216 if test `eval echo '${'$as_ac_var'}'` = yes; then
22217   cat >>confdefs.h <<_ACEOF
22218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22219 _ACEOF
22220
22221 fi
22222 done
22223
22224     fi
22225   fi
22226
22227
22228
22229
22230
22231
22232   echo "$as_me:$LINENO: checking for isinff declaration" >&5
22233 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22234   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22235     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22236   echo $ECHO_N "(cached) $ECHO_C" >&6
22237 else
22238
22239
22240
22241       ac_ext=cc
22242 ac_cpp='$CXXCPP $CPPFLAGS'
22243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22246
22247       cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h.  */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h.  */
22253 #include <math.h>
22254                       #ifdef HAVE_IEEEFP_H
22255                       #include <ieeefp.h>
22256                       #endif
22257
22258 int
22259 main ()
22260 {
22261  isinff(0);
22262   ;
22263   return 0;
22264 }
22265 _ACEOF
22266 rm -f conftest.$ac_objext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22268   (eval $ac_compile) 2>conftest.er1
22269   ac_status=$?
22270   grep -v '^ *+' conftest.er1 >conftest.err
22271   rm -f conftest.er1
22272   cat conftest.err >&5
22273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274   (exit $ac_status); } &&
22275          { ac_try='test -z "$ac_cxx_werror_flag"
22276                          || test ! -s conftest.err'
22277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278   (eval $ac_try) 2>&5
22279   ac_status=$?
22280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281   (exit $ac_status); }; } &&
22282          { ac_try='test -s conftest.$ac_objext'
22283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284   (eval $ac_try) 2>&5
22285   ac_status=$?
22286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287   (exit $ac_status); }; }; then
22288   glibcxx_cv_func_isinff_use=yes
22289 else
22290   echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 glibcxx_cv_func_isinff_use=no
22294 fi
22295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22296       ac_ext=c
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22301
22302
22303 fi
22304
22305   fi
22306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
22307 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
22308
22309   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22310
22311 for ac_func in isinff
22312 do
22313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22314 echo "$as_me:$LINENO: checking for $ac_func" >&5
22315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22316 if eval "test \"\${$as_ac_var+set}\" = set"; then
22317   echo $ECHO_N "(cached) $ECHO_C" >&6
22318 else
22319   if test x$gcc_no_link = xyes; then
22320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22322    { (exit 1); exit 1; }; }
22323 fi
22324 cat >conftest.$ac_ext <<_ACEOF
22325 /* confdefs.h.  */
22326 _ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h.  */
22330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22332 #define $ac_func innocuous_$ac_func
22333
22334 /* System header to define __stub macros and hopefully few prototypes,
22335     which can conflict with char $ac_func (); below.
22336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22337     <limits.h> exists even on freestanding compilers.  */
22338
22339 #ifdef __STDC__
22340 # include <limits.h>
22341 #else
22342 # include <assert.h>
22343 #endif
22344
22345 #undef $ac_func
22346
22347 /* Override any gcc2 internal prototype to avoid an error.  */
22348 #ifdef __cplusplus
22349 extern "C"
22350 {
22351 #endif
22352 /* We use char because int might match the return type of a gcc2
22353    builtin and then its argument prototype would still apply.  */
22354 char $ac_func ();
22355 /* The GNU C library defines this for functions which it implements
22356     to always fail with ENOSYS.  Some functions are actually named
22357     something starting with __ and the normal name is an alias.  */
22358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22359 choke me
22360 #else
22361 char (*f) () = $ac_func;
22362 #endif
22363 #ifdef __cplusplus
22364 }
22365 #endif
22366
22367 int
22368 main ()
22369 {
22370 return f != $ac_func;
22371   ;
22372   return 0;
22373 }
22374 _ACEOF
22375 rm -f conftest.$ac_objext conftest$ac_exeext
22376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22377   (eval $ac_link) 2>conftest.er1
22378   ac_status=$?
22379   grep -v '^ *+' conftest.er1 >conftest.err
22380   rm -f conftest.er1
22381   cat conftest.err >&5
22382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383   (exit $ac_status); } &&
22384          { ac_try='test -z "$ac_c_werror_flag"
22385                          || test ! -s conftest.err'
22386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387   (eval $ac_try) 2>&5
22388   ac_status=$?
22389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390   (exit $ac_status); }; } &&
22391          { ac_try='test -s conftest$ac_exeext'
22392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393   (eval $ac_try) 2>&5
22394   ac_status=$?
22395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396   (exit $ac_status); }; }; then
22397   eval "$as_ac_var=yes"
22398 else
22399   echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22401
22402 eval "$as_ac_var=no"
22403 fi
22404 rm -f conftest.err conftest.$ac_objext \
22405       conftest$ac_exeext conftest.$ac_ext
22406 fi
22407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22409 if test `eval echo '${'$as_ac_var'}'` = yes; then
22410   cat >>confdefs.h <<_ACEOF
22411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22412 _ACEOF
22413
22414 fi
22415 done
22416
22417   else
22418
22419   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
22420 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
22421   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22422     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
22423   echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425
22426
22427
22428       ac_ext=cc
22429 ac_cpp='$CXXCPP $CPPFLAGS'
22430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22433
22434       cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h.  */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h.  */
22440 #include <math.h>
22441                       #ifdef HAVE_IEEEFP_H
22442                       #include <ieeefp.h>
22443                       #endif
22444
22445 int
22446 main ()
22447 {
22448  _isinff(0);
22449   ;
22450   return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455   (eval $ac_compile) 2>conftest.er1
22456   ac_status=$?
22457   grep -v '^ *+' conftest.er1 >conftest.err
22458   rm -f conftest.er1
22459   cat conftest.err >&5
22460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461   (exit $ac_status); } &&
22462          { ac_try='test -z "$ac_cxx_werror_flag"
22463                          || test ! -s conftest.err'
22464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465   (eval $ac_try) 2>&5
22466   ac_status=$?
22467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468   (exit $ac_status); }; } &&
22469          { ac_try='test -s conftest.$ac_objext'
22470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471   (eval $ac_try) 2>&5
22472   ac_status=$?
22473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474   (exit $ac_status); }; }; then
22475   glibcxx_cv_func__isinff_use=yes
22476 else
22477   echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 glibcxx_cv_func__isinff_use=no
22481 fi
22482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22483       ac_ext=c
22484 ac_cpp='$CPP $CPPFLAGS'
22485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22488
22489
22490 fi
22491
22492   fi
22493   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22494 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22495
22496     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22497
22498 for ac_func in _isinff
22499 do
22500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22501 echo "$as_me:$LINENO: checking for $ac_func" >&5
22502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22503 if eval "test \"\${$as_ac_var+set}\" = set"; then
22504   echo $ECHO_N "(cached) $ECHO_C" >&6
22505 else
22506   if test x$gcc_no_link = xyes; then
22507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22509    { (exit 1); exit 1; }; }
22510 fi
22511 cat >conftest.$ac_ext <<_ACEOF
22512 /* confdefs.h.  */
22513 _ACEOF
22514 cat confdefs.h >>conftest.$ac_ext
22515 cat >>conftest.$ac_ext <<_ACEOF
22516 /* end confdefs.h.  */
22517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22519 #define $ac_func innocuous_$ac_func
22520
22521 /* System header to define __stub macros and hopefully few prototypes,
22522     which can conflict with char $ac_func (); below.
22523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22524     <limits.h> exists even on freestanding compilers.  */
22525
22526 #ifdef __STDC__
22527 # include <limits.h>
22528 #else
22529 # include <assert.h>
22530 #endif
22531
22532 #undef $ac_func
22533
22534 /* Override any gcc2 internal prototype to avoid an error.  */
22535 #ifdef __cplusplus
22536 extern "C"
22537 {
22538 #endif
22539 /* We use char because int might match the return type of a gcc2
22540    builtin and then its argument prototype would still apply.  */
22541 char $ac_func ();
22542 /* The GNU C library defines this for functions which it implements
22543     to always fail with ENOSYS.  Some functions are actually named
22544     something starting with __ and the normal name is an alias.  */
22545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22546 choke me
22547 #else
22548 char (*f) () = $ac_func;
22549 #endif
22550 #ifdef __cplusplus
22551 }
22552 #endif
22553
22554 int
22555 main ()
22556 {
22557 return f != $ac_func;
22558   ;
22559   return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext conftest$ac_exeext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22564   (eval $ac_link) 2>conftest.er1
22565   ac_status=$?
22566   grep -v '^ *+' conftest.er1 >conftest.err
22567   rm -f conftest.er1
22568   cat conftest.err >&5
22569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570   (exit $ac_status); } &&
22571          { ac_try='test -z "$ac_c_werror_flag"
22572                          || test ! -s conftest.err'
22573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574   (eval $ac_try) 2>&5
22575   ac_status=$?
22576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577   (exit $ac_status); }; } &&
22578          { ac_try='test -s conftest$ac_exeext'
22579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580   (eval $ac_try) 2>&5
22581   ac_status=$?
22582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583   (exit $ac_status); }; }; then
22584   eval "$as_ac_var=yes"
22585 else
22586   echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 eval "$as_ac_var=no"
22590 fi
22591 rm -f conftest.err conftest.$ac_objext \
22592       conftest$ac_exeext conftest.$ac_ext
22593 fi
22594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22596 if test `eval echo '${'$as_ac_var'}'` = yes; then
22597   cat >>confdefs.h <<_ACEOF
22598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22599 _ACEOF
22600
22601 fi
22602 done
22603
22604     fi
22605   fi
22606
22607
22608
22609
22610
22611
22612   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22613 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22614   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22615     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22616   echo $ECHO_N "(cached) $ECHO_C" >&6
22617 else
22618
22619
22620
22621       ac_ext=cc
22622 ac_cpp='$CXXCPP $CPPFLAGS'
22623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22626
22627       cat >conftest.$ac_ext <<_ACEOF
22628 /* confdefs.h.  */
22629 _ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h.  */
22633 #include <math.h>
22634 int
22635 main ()
22636 {
22637  atan2f(0, 0);
22638   ;
22639   return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest.$ac_objext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22644   (eval $ac_compile) 2>conftest.er1
22645   ac_status=$?
22646   grep -v '^ *+' conftest.er1 >conftest.err
22647   rm -f conftest.er1
22648   cat conftest.err >&5
22649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650   (exit $ac_status); } &&
22651          { ac_try='test -z "$ac_cxx_werror_flag"
22652                          || test ! -s conftest.err'
22653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654   (eval $ac_try) 2>&5
22655   ac_status=$?
22656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657   (exit $ac_status); }; } &&
22658          { ac_try='test -s conftest.$ac_objext'
22659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660   (eval $ac_try) 2>&5
22661   ac_status=$?
22662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663   (exit $ac_status); }; }; then
22664   glibcxx_cv_func_atan2f_use=yes
22665 else
22666   echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 glibcxx_cv_func_atan2f_use=no
22670 fi
22671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22672       ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22677
22678
22679 fi
22680
22681   fi
22682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22683 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22684
22685   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22686
22687 for ac_func in atan2f
22688 do
22689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22690 echo "$as_me:$LINENO: checking for $ac_func" >&5
22691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22692 if eval "test \"\${$as_ac_var+set}\" = set"; then
22693   echo $ECHO_N "(cached) $ECHO_C" >&6
22694 else
22695   if test x$gcc_no_link = xyes; then
22696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22698    { (exit 1); exit 1; }; }
22699 fi
22700 cat >conftest.$ac_ext <<_ACEOF
22701 /* confdefs.h.  */
22702 _ACEOF
22703 cat confdefs.h >>conftest.$ac_ext
22704 cat >>conftest.$ac_ext <<_ACEOF
22705 /* end confdefs.h.  */
22706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22708 #define $ac_func innocuous_$ac_func
22709
22710 /* System header to define __stub macros and hopefully few prototypes,
22711     which can conflict with char $ac_func (); below.
22712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22713     <limits.h> exists even on freestanding compilers.  */
22714
22715 #ifdef __STDC__
22716 # include <limits.h>
22717 #else
22718 # include <assert.h>
22719 #endif
22720
22721 #undef $ac_func
22722
22723 /* Override any gcc2 internal prototype to avoid an error.  */
22724 #ifdef __cplusplus
22725 extern "C"
22726 {
22727 #endif
22728 /* We use char because int might match the return type of a gcc2
22729    builtin and then its argument prototype would still apply.  */
22730 char $ac_func ();
22731 /* The GNU C library defines this for functions which it implements
22732     to always fail with ENOSYS.  Some functions are actually named
22733     something starting with __ and the normal name is an alias.  */
22734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22735 choke me
22736 #else
22737 char (*f) () = $ac_func;
22738 #endif
22739 #ifdef __cplusplus
22740 }
22741 #endif
22742
22743 int
22744 main ()
22745 {
22746 return f != $ac_func;
22747   ;
22748   return 0;
22749 }
22750 _ACEOF
22751 rm -f conftest.$ac_objext conftest$ac_exeext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22753   (eval $ac_link) 2>conftest.er1
22754   ac_status=$?
22755   grep -v '^ *+' conftest.er1 >conftest.err
22756   rm -f conftest.er1
22757   cat conftest.err >&5
22758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759   (exit $ac_status); } &&
22760          { ac_try='test -z "$ac_c_werror_flag"
22761                          || test ! -s conftest.err'
22762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763   (eval $ac_try) 2>&5
22764   ac_status=$?
22765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766   (exit $ac_status); }; } &&
22767          { ac_try='test -s conftest$ac_exeext'
22768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769   (eval $ac_try) 2>&5
22770   ac_status=$?
22771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772   (exit $ac_status); }; }; then
22773   eval "$as_ac_var=yes"
22774 else
22775   echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 eval "$as_ac_var=no"
22779 fi
22780 rm -f conftest.err conftest.$ac_objext \
22781       conftest$ac_exeext conftest.$ac_ext
22782 fi
22783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22785 if test `eval echo '${'$as_ac_var'}'` = yes; then
22786   cat >>confdefs.h <<_ACEOF
22787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22788 _ACEOF
22789
22790 fi
22791 done
22792
22793   else
22794
22795   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22796 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22797   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22798     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22799   echo $ECHO_N "(cached) $ECHO_C" >&6
22800 else
22801
22802
22803
22804       ac_ext=cc
22805 ac_cpp='$CXXCPP $CPPFLAGS'
22806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22809
22810       cat >conftest.$ac_ext <<_ACEOF
22811 /* confdefs.h.  */
22812 _ACEOF
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h.  */
22816 #include <math.h>
22817 int
22818 main ()
22819 {
22820  _atan2f(0, 0);
22821   ;
22822   return 0;
22823 }
22824 _ACEOF
22825 rm -f conftest.$ac_objext
22826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22827   (eval $ac_compile) 2>conftest.er1
22828   ac_status=$?
22829   grep -v '^ *+' conftest.er1 >conftest.err
22830   rm -f conftest.er1
22831   cat conftest.err >&5
22832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833   (exit $ac_status); } &&
22834          { ac_try='test -z "$ac_cxx_werror_flag"
22835                          || test ! -s conftest.err'
22836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837   (eval $ac_try) 2>&5
22838   ac_status=$?
22839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840   (exit $ac_status); }; } &&
22841          { ac_try='test -s conftest.$ac_objext'
22842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843   (eval $ac_try) 2>&5
22844   ac_status=$?
22845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846   (exit $ac_status); }; }; then
22847   glibcxx_cv_func__atan2f_use=yes
22848 else
22849   echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22851
22852 glibcxx_cv_func__atan2f_use=no
22853 fi
22854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22855       ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860
22861
22862 fi
22863
22864   fi
22865   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
22866 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
22867
22868     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22869
22870 for ac_func in _atan2f
22871 do
22872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22873 echo "$as_me:$LINENO: checking for $ac_func" >&5
22874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22875 if eval "test \"\${$as_ac_var+set}\" = set"; then
22876   echo $ECHO_N "(cached) $ECHO_C" >&6
22877 else
22878   if test x$gcc_no_link = xyes; then
22879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22881    { (exit 1); exit 1; }; }
22882 fi
22883 cat >conftest.$ac_ext <<_ACEOF
22884 /* confdefs.h.  */
22885 _ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h.  */
22889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22891 #define $ac_func innocuous_$ac_func
22892
22893 /* System header to define __stub macros and hopefully few prototypes,
22894     which can conflict with char $ac_func (); below.
22895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22896     <limits.h> exists even on freestanding compilers.  */
22897
22898 #ifdef __STDC__
22899 # include <limits.h>
22900 #else
22901 # include <assert.h>
22902 #endif
22903
22904 #undef $ac_func
22905
22906 /* Override any gcc2 internal prototype to avoid an error.  */
22907 #ifdef __cplusplus
22908 extern "C"
22909 {
22910 #endif
22911 /* We use char because int might match the return type of a gcc2
22912    builtin and then its argument prototype would still apply.  */
22913 char $ac_func ();
22914 /* The GNU C library defines this for functions which it implements
22915     to always fail with ENOSYS.  Some functions are actually named
22916     something starting with __ and the normal name is an alias.  */
22917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22918 choke me
22919 #else
22920 char (*f) () = $ac_func;
22921 #endif
22922 #ifdef __cplusplus
22923 }
22924 #endif
22925
22926 int
22927 main ()
22928 {
22929 return f != $ac_func;
22930   ;
22931   return 0;
22932 }
22933 _ACEOF
22934 rm -f conftest.$ac_objext conftest$ac_exeext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22936   (eval $ac_link) 2>conftest.er1
22937   ac_status=$?
22938   grep -v '^ *+' conftest.er1 >conftest.err
22939   rm -f conftest.er1
22940   cat conftest.err >&5
22941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942   (exit $ac_status); } &&
22943          { ac_try='test -z "$ac_c_werror_flag"
22944                          || test ! -s conftest.err'
22945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22946   (eval $ac_try) 2>&5
22947   ac_status=$?
22948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949   (exit $ac_status); }; } &&
22950          { ac_try='test -s conftest$ac_exeext'
22951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952   (eval $ac_try) 2>&5
22953   ac_status=$?
22954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955   (exit $ac_status); }; }; then
22956   eval "$as_ac_var=yes"
22957 else
22958   echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.$ac_ext >&5
22960
22961 eval "$as_ac_var=no"
22962 fi
22963 rm -f conftest.err conftest.$ac_objext \
22964       conftest$ac_exeext conftest.$ac_ext
22965 fi
22966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22968 if test `eval echo '${'$as_ac_var'}'` = yes; then
22969   cat >>confdefs.h <<_ACEOF
22970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22971 _ACEOF
22972
22973 fi
22974 done
22975
22976     fi
22977   fi
22978
22979
22980
22981
22982
22983
22984   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
22985 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
22986   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22987     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
22988   echo $ECHO_N "(cached) $ECHO_C" >&6
22989 else
22990
22991
22992
22993       ac_ext=cc
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22998
22999       cat >conftest.$ac_ext <<_ACEOF
23000 /* confdefs.h.  */
23001 _ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h.  */
23005 #include <math.h>
23006                       #ifdef HAVE_IEEEFP_H
23007                       #include <ieeefp.h>
23008                       #endif
23009
23010 int
23011 main ()
23012 {
23013  fabsf(0);
23014   ;
23015   return 0;
23016 }
23017 _ACEOF
23018 rm -f conftest.$ac_objext
23019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23020   (eval $ac_compile) 2>conftest.er1
23021   ac_status=$?
23022   grep -v '^ *+' conftest.er1 >conftest.err
23023   rm -f conftest.er1
23024   cat conftest.err >&5
23025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026   (exit $ac_status); } &&
23027          { ac_try='test -z "$ac_cxx_werror_flag"
23028                          || test ! -s conftest.err'
23029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030   (eval $ac_try) 2>&5
23031   ac_status=$?
23032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033   (exit $ac_status); }; } &&
23034          { ac_try='test -s conftest.$ac_objext'
23035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036   (eval $ac_try) 2>&5
23037   ac_status=$?
23038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039   (exit $ac_status); }; }; then
23040   glibcxx_cv_func_fabsf_use=yes
23041 else
23042   echo "$as_me: failed program was:" >&5
23043 sed 's/^/| /' conftest.$ac_ext >&5
23044
23045 glibcxx_cv_func_fabsf_use=no
23046 fi
23047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23048       ac_ext=c
23049 ac_cpp='$CPP $CPPFLAGS'
23050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23053
23054
23055 fi
23056
23057   fi
23058   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23059 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23060
23061   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23062
23063 for ac_func in fabsf
23064 do
23065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23066 echo "$as_me:$LINENO: checking for $ac_func" >&5
23067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23068 if eval "test \"\${$as_ac_var+set}\" = set"; then
23069   echo $ECHO_N "(cached) $ECHO_C" >&6
23070 else
23071   if test x$gcc_no_link = xyes; then
23072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23074    { (exit 1); exit 1; }; }
23075 fi
23076 cat >conftest.$ac_ext <<_ACEOF
23077 /* confdefs.h.  */
23078 _ACEOF
23079 cat confdefs.h >>conftest.$ac_ext
23080 cat >>conftest.$ac_ext <<_ACEOF
23081 /* end confdefs.h.  */
23082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23084 #define $ac_func innocuous_$ac_func
23085
23086 /* System header to define __stub macros and hopefully few prototypes,
23087     which can conflict with char $ac_func (); below.
23088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23089     <limits.h> exists even on freestanding compilers.  */
23090
23091 #ifdef __STDC__
23092 # include <limits.h>
23093 #else
23094 # include <assert.h>
23095 #endif
23096
23097 #undef $ac_func
23098
23099 /* Override any gcc2 internal prototype to avoid an error.  */
23100 #ifdef __cplusplus
23101 extern "C"
23102 {
23103 #endif
23104 /* We use char because int might match the return type of a gcc2
23105    builtin and then its argument prototype would still apply.  */
23106 char $ac_func ();
23107 /* The GNU C library defines this for functions which it implements
23108     to always fail with ENOSYS.  Some functions are actually named
23109     something starting with __ and the normal name is an alias.  */
23110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23111 choke me
23112 #else
23113 char (*f) () = $ac_func;
23114 #endif
23115 #ifdef __cplusplus
23116 }
23117 #endif
23118
23119 int
23120 main ()
23121 {
23122 return f != $ac_func;
23123   ;
23124   return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext conftest$ac_exeext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23129   (eval $ac_link) 2>conftest.er1
23130   ac_status=$?
23131   grep -v '^ *+' conftest.er1 >conftest.err
23132   rm -f conftest.er1
23133   cat conftest.err >&5
23134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135   (exit $ac_status); } &&
23136          { ac_try='test -z "$ac_c_werror_flag"
23137                          || test ! -s conftest.err'
23138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139   (eval $ac_try) 2>&5
23140   ac_status=$?
23141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142   (exit $ac_status); }; } &&
23143          { ac_try='test -s conftest$ac_exeext'
23144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145   (eval $ac_try) 2>&5
23146   ac_status=$?
23147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148   (exit $ac_status); }; }; then
23149   eval "$as_ac_var=yes"
23150 else
23151   echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23153
23154 eval "$as_ac_var=no"
23155 fi
23156 rm -f conftest.err conftest.$ac_objext \
23157       conftest$ac_exeext conftest.$ac_ext
23158 fi
23159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23161 if test `eval echo '${'$as_ac_var'}'` = yes; then
23162   cat >>confdefs.h <<_ACEOF
23163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23164 _ACEOF
23165
23166 fi
23167 done
23168
23169   else
23170
23171   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23172 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23173   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23174     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23175   echo $ECHO_N "(cached) $ECHO_C" >&6
23176 else
23177
23178
23179
23180       ac_ext=cc
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23185
23186       cat >conftest.$ac_ext <<_ACEOF
23187 /* confdefs.h.  */
23188 _ACEOF
23189 cat confdefs.h >>conftest.$ac_ext
23190 cat >>conftest.$ac_ext <<_ACEOF
23191 /* end confdefs.h.  */
23192 #include <math.h>
23193                       #ifdef HAVE_IEEEFP_H
23194                       #include <ieeefp.h>
23195                       #endif
23196
23197 int
23198 main ()
23199 {
23200  _fabsf(0);
23201   ;
23202   return 0;
23203 }
23204 _ACEOF
23205 rm -f conftest.$ac_objext
23206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23207   (eval $ac_compile) 2>conftest.er1
23208   ac_status=$?
23209   grep -v '^ *+' conftest.er1 >conftest.err
23210   rm -f conftest.er1
23211   cat conftest.err >&5
23212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213   (exit $ac_status); } &&
23214          { ac_try='test -z "$ac_cxx_werror_flag"
23215                          || test ! -s conftest.err'
23216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217   (eval $ac_try) 2>&5
23218   ac_status=$?
23219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220   (exit $ac_status); }; } &&
23221          { ac_try='test -s conftest.$ac_objext'
23222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23223   (eval $ac_try) 2>&5
23224   ac_status=$?
23225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226   (exit $ac_status); }; }; then
23227   glibcxx_cv_func__fabsf_use=yes
23228 else
23229   echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 glibcxx_cv_func__fabsf_use=no
23233 fi
23234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23235       ac_ext=c
23236 ac_cpp='$CPP $CPPFLAGS'
23237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23240
23241
23242 fi
23243
23244   fi
23245   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23246 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23247
23248     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23249
23250 for ac_func in _fabsf
23251 do
23252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23253 echo "$as_me:$LINENO: checking for $ac_func" >&5
23254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23255 if eval "test \"\${$as_ac_var+set}\" = set"; then
23256   echo $ECHO_N "(cached) $ECHO_C" >&6
23257 else
23258   if test x$gcc_no_link = xyes; then
23259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23261    { (exit 1); exit 1; }; }
23262 fi
23263 cat >conftest.$ac_ext <<_ACEOF
23264 /* confdefs.h.  */
23265 _ACEOF
23266 cat confdefs.h >>conftest.$ac_ext
23267 cat >>conftest.$ac_ext <<_ACEOF
23268 /* end confdefs.h.  */
23269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23271 #define $ac_func innocuous_$ac_func
23272
23273 /* System header to define __stub macros and hopefully few prototypes,
23274     which can conflict with char $ac_func (); below.
23275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23276     <limits.h> exists even on freestanding compilers.  */
23277
23278 #ifdef __STDC__
23279 # include <limits.h>
23280 #else
23281 # include <assert.h>
23282 #endif
23283
23284 #undef $ac_func
23285
23286 /* Override any gcc2 internal prototype to avoid an error.  */
23287 #ifdef __cplusplus
23288 extern "C"
23289 {
23290 #endif
23291 /* We use char because int might match the return type of a gcc2
23292    builtin and then its argument prototype would still apply.  */
23293 char $ac_func ();
23294 /* The GNU C library defines this for functions which it implements
23295     to always fail with ENOSYS.  Some functions are actually named
23296     something starting with __ and the normal name is an alias.  */
23297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23298 choke me
23299 #else
23300 char (*f) () = $ac_func;
23301 #endif
23302 #ifdef __cplusplus
23303 }
23304 #endif
23305
23306 int
23307 main ()
23308 {
23309 return f != $ac_func;
23310   ;
23311   return 0;
23312 }
23313 _ACEOF
23314 rm -f conftest.$ac_objext conftest$ac_exeext
23315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23316   (eval $ac_link) 2>conftest.er1
23317   ac_status=$?
23318   grep -v '^ *+' conftest.er1 >conftest.err
23319   rm -f conftest.er1
23320   cat conftest.err >&5
23321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322   (exit $ac_status); } &&
23323          { ac_try='test -z "$ac_c_werror_flag"
23324                          || test ! -s conftest.err'
23325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326   (eval $ac_try) 2>&5
23327   ac_status=$?
23328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329   (exit $ac_status); }; } &&
23330          { ac_try='test -s conftest$ac_exeext'
23331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23332   (eval $ac_try) 2>&5
23333   ac_status=$?
23334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335   (exit $ac_status); }; }; then
23336   eval "$as_ac_var=yes"
23337 else
23338   echo "$as_me: failed program was:" >&5
23339 sed 's/^/| /' conftest.$ac_ext >&5
23340
23341 eval "$as_ac_var=no"
23342 fi
23343 rm -f conftest.err conftest.$ac_objext \
23344       conftest$ac_exeext conftest.$ac_ext
23345 fi
23346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23348 if test `eval echo '${'$as_ac_var'}'` = yes; then
23349   cat >>confdefs.h <<_ACEOF
23350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23351 _ACEOF
23352
23353 fi
23354 done
23355
23356     fi
23357   fi
23358
23359
23360
23361
23362
23363
23364   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
23365 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
23366   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23367     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
23368   echo $ECHO_N "(cached) $ECHO_C" >&6
23369 else
23370
23371
23372
23373       ac_ext=cc
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378
23379       cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h.  */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h.  */
23385 #include <math.h>
23386 int
23387 main ()
23388 {
23389  fmodf(0, 0);
23390   ;
23391   return 0;
23392 }
23393 _ACEOF
23394 rm -f conftest.$ac_objext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23396   (eval $ac_compile) 2>conftest.er1
23397   ac_status=$?
23398   grep -v '^ *+' conftest.er1 >conftest.err
23399   rm -f conftest.er1
23400   cat conftest.err >&5
23401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402   (exit $ac_status); } &&
23403          { ac_try='test -z "$ac_cxx_werror_flag"
23404                          || test ! -s conftest.err'
23405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406   (eval $ac_try) 2>&5
23407   ac_status=$?
23408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409   (exit $ac_status); }; } &&
23410          { ac_try='test -s conftest.$ac_objext'
23411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23412   (eval $ac_try) 2>&5
23413   ac_status=$?
23414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415   (exit $ac_status); }; }; then
23416   glibcxx_cv_func_fmodf_use=yes
23417 else
23418   echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.$ac_ext >&5
23420
23421 glibcxx_cv_func_fmodf_use=no
23422 fi
23423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23424       ac_ext=c
23425 ac_cpp='$CPP $CPPFLAGS'
23426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429
23430
23431 fi
23432
23433   fi
23434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
23435 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
23436
23437   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23438
23439 for ac_func in fmodf
23440 do
23441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23442 echo "$as_me:$LINENO: checking for $ac_func" >&5
23443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23444 if eval "test \"\${$as_ac_var+set}\" = set"; then
23445   echo $ECHO_N "(cached) $ECHO_C" >&6
23446 else
23447   if test x$gcc_no_link = xyes; then
23448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23450    { (exit 1); exit 1; }; }
23451 fi
23452 cat >conftest.$ac_ext <<_ACEOF
23453 /* confdefs.h.  */
23454 _ACEOF
23455 cat confdefs.h >>conftest.$ac_ext
23456 cat >>conftest.$ac_ext <<_ACEOF
23457 /* end confdefs.h.  */
23458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23460 #define $ac_func innocuous_$ac_func
23461
23462 /* System header to define __stub macros and hopefully few prototypes,
23463     which can conflict with char $ac_func (); below.
23464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23465     <limits.h> exists even on freestanding compilers.  */
23466
23467 #ifdef __STDC__
23468 # include <limits.h>
23469 #else
23470 # include <assert.h>
23471 #endif
23472
23473 #undef $ac_func
23474
23475 /* Override any gcc2 internal prototype to avoid an error.  */
23476 #ifdef __cplusplus
23477 extern "C"
23478 {
23479 #endif
23480 /* We use char because int might match the return type of a gcc2
23481    builtin and then its argument prototype would still apply.  */
23482 char $ac_func ();
23483 /* The GNU C library defines this for functions which it implements
23484     to always fail with ENOSYS.  Some functions are actually named
23485     something starting with __ and the normal name is an alias.  */
23486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23487 choke me
23488 #else
23489 char (*f) () = $ac_func;
23490 #endif
23491 #ifdef __cplusplus
23492 }
23493 #endif
23494
23495 int
23496 main ()
23497 {
23498 return f != $ac_func;
23499   ;
23500   return 0;
23501 }
23502 _ACEOF
23503 rm -f conftest.$ac_objext conftest$ac_exeext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23505   (eval $ac_link) 2>conftest.er1
23506   ac_status=$?
23507   grep -v '^ *+' conftest.er1 >conftest.err
23508   rm -f conftest.er1
23509   cat conftest.err >&5
23510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511   (exit $ac_status); } &&
23512          { ac_try='test -z "$ac_c_werror_flag"
23513                          || test ! -s conftest.err'
23514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23515   (eval $ac_try) 2>&5
23516   ac_status=$?
23517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518   (exit $ac_status); }; } &&
23519          { ac_try='test -s conftest$ac_exeext'
23520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23521   (eval $ac_try) 2>&5
23522   ac_status=$?
23523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524   (exit $ac_status); }; }; then
23525   eval "$as_ac_var=yes"
23526 else
23527   echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23529
23530 eval "$as_ac_var=no"
23531 fi
23532 rm -f conftest.err conftest.$ac_objext \
23533       conftest$ac_exeext conftest.$ac_ext
23534 fi
23535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23537 if test `eval echo '${'$as_ac_var'}'` = yes; then
23538   cat >>confdefs.h <<_ACEOF
23539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23540 _ACEOF
23541
23542 fi
23543 done
23544
23545   else
23546
23547   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23548 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23549   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23550     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23551   echo $ECHO_N "(cached) $ECHO_C" >&6
23552 else
23553
23554
23555
23556       ac_ext=cc
23557 ac_cpp='$CXXCPP $CPPFLAGS'
23558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23561
23562       cat >conftest.$ac_ext <<_ACEOF
23563 /* confdefs.h.  */
23564 _ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h.  */
23568 #include <math.h>
23569 int
23570 main ()
23571 {
23572  _fmodf(0, 0);
23573   ;
23574   return 0;
23575 }
23576 _ACEOF
23577 rm -f conftest.$ac_objext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23579   (eval $ac_compile) 2>conftest.er1
23580   ac_status=$?
23581   grep -v '^ *+' conftest.er1 >conftest.err
23582   rm -f conftest.er1
23583   cat conftest.err >&5
23584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585   (exit $ac_status); } &&
23586          { ac_try='test -z "$ac_cxx_werror_flag"
23587                          || test ! -s conftest.err'
23588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589   (eval $ac_try) 2>&5
23590   ac_status=$?
23591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592   (exit $ac_status); }; } &&
23593          { ac_try='test -s conftest.$ac_objext'
23594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595   (eval $ac_try) 2>&5
23596   ac_status=$?
23597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598   (exit $ac_status); }; }; then
23599   glibcxx_cv_func__fmodf_use=yes
23600 else
23601   echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23603
23604 glibcxx_cv_func__fmodf_use=no
23605 fi
23606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23607       ac_ext=c
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23612
23613
23614 fi
23615
23616   fi
23617   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23618 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23619
23620     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23621
23622 for ac_func in _fmodf
23623 do
23624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23625 echo "$as_me:$LINENO: checking for $ac_func" >&5
23626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23627 if eval "test \"\${$as_ac_var+set}\" = set"; then
23628   echo $ECHO_N "(cached) $ECHO_C" >&6
23629 else
23630   if test x$gcc_no_link = xyes; then
23631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23633    { (exit 1); exit 1; }; }
23634 fi
23635 cat >conftest.$ac_ext <<_ACEOF
23636 /* confdefs.h.  */
23637 _ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h.  */
23641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23643 #define $ac_func innocuous_$ac_func
23644
23645 /* System header to define __stub macros and hopefully few prototypes,
23646     which can conflict with char $ac_func (); below.
23647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23648     <limits.h> exists even on freestanding compilers.  */
23649
23650 #ifdef __STDC__
23651 # include <limits.h>
23652 #else
23653 # include <assert.h>
23654 #endif
23655
23656 #undef $ac_func
23657
23658 /* Override any gcc2 internal prototype to avoid an error.  */
23659 #ifdef __cplusplus
23660 extern "C"
23661 {
23662 #endif
23663 /* We use char because int might match the return type of a gcc2
23664    builtin and then its argument prototype would still apply.  */
23665 char $ac_func ();
23666 /* The GNU C library defines this for functions which it implements
23667     to always fail with ENOSYS.  Some functions are actually named
23668     something starting with __ and the normal name is an alias.  */
23669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23670 choke me
23671 #else
23672 char (*f) () = $ac_func;
23673 #endif
23674 #ifdef __cplusplus
23675 }
23676 #endif
23677
23678 int
23679 main ()
23680 {
23681 return f != $ac_func;
23682   ;
23683   return 0;
23684 }
23685 _ACEOF
23686 rm -f conftest.$ac_objext conftest$ac_exeext
23687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23688   (eval $ac_link) 2>conftest.er1
23689   ac_status=$?
23690   grep -v '^ *+' conftest.er1 >conftest.err
23691   rm -f conftest.er1
23692   cat conftest.err >&5
23693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694   (exit $ac_status); } &&
23695          { ac_try='test -z "$ac_c_werror_flag"
23696                          || test ! -s conftest.err'
23697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698   (eval $ac_try) 2>&5
23699   ac_status=$?
23700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701   (exit $ac_status); }; } &&
23702          { ac_try='test -s conftest$ac_exeext'
23703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704   (eval $ac_try) 2>&5
23705   ac_status=$?
23706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707   (exit $ac_status); }; }; then
23708   eval "$as_ac_var=yes"
23709 else
23710   echo "$as_me: failed program was:" >&5
23711 sed 's/^/| /' conftest.$ac_ext >&5
23712
23713 eval "$as_ac_var=no"
23714 fi
23715 rm -f conftest.err conftest.$ac_objext \
23716       conftest$ac_exeext conftest.$ac_ext
23717 fi
23718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23720 if test `eval echo '${'$as_ac_var'}'` = yes; then
23721   cat >>confdefs.h <<_ACEOF
23722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23723 _ACEOF
23724
23725 fi
23726 done
23727
23728     fi
23729   fi
23730
23731
23732
23733
23734
23735
23736   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23737 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23738   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23739     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23740   echo $ECHO_N "(cached) $ECHO_C" >&6
23741 else
23742
23743
23744
23745       ac_ext=cc
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23750
23751       cat >conftest.$ac_ext <<_ACEOF
23752 /* confdefs.h.  */
23753 _ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h.  */
23757 #include <math.h>
23758 int
23759 main ()
23760 {
23761  frexpf(0, 0);
23762   ;
23763   return 0;
23764 }
23765 _ACEOF
23766 rm -f conftest.$ac_objext
23767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23768   (eval $ac_compile) 2>conftest.er1
23769   ac_status=$?
23770   grep -v '^ *+' conftest.er1 >conftest.err
23771   rm -f conftest.er1
23772   cat conftest.err >&5
23773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774   (exit $ac_status); } &&
23775          { ac_try='test -z "$ac_cxx_werror_flag"
23776                          || test ! -s conftest.err'
23777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23778   (eval $ac_try) 2>&5
23779   ac_status=$?
23780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781   (exit $ac_status); }; } &&
23782          { ac_try='test -s conftest.$ac_objext'
23783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23784   (eval $ac_try) 2>&5
23785   ac_status=$?
23786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787   (exit $ac_status); }; }; then
23788   glibcxx_cv_func_frexpf_use=yes
23789 else
23790   echo "$as_me: failed program was:" >&5
23791 sed 's/^/| /' conftest.$ac_ext >&5
23792
23793 glibcxx_cv_func_frexpf_use=no
23794 fi
23795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23796       ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801
23802
23803 fi
23804
23805   fi
23806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
23807 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
23808
23809   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23810
23811 for ac_func in frexpf
23812 do
23813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23814 echo "$as_me:$LINENO: checking for $ac_func" >&5
23815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23816 if eval "test \"\${$as_ac_var+set}\" = set"; then
23817   echo $ECHO_N "(cached) $ECHO_C" >&6
23818 else
23819   if test x$gcc_no_link = xyes; then
23820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23822    { (exit 1); exit 1; }; }
23823 fi
23824 cat >conftest.$ac_ext <<_ACEOF
23825 /* confdefs.h.  */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h.  */
23830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23832 #define $ac_func innocuous_$ac_func
23833
23834 /* System header to define __stub macros and hopefully few prototypes,
23835     which can conflict with char $ac_func (); below.
23836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23837     <limits.h> exists even on freestanding compilers.  */
23838
23839 #ifdef __STDC__
23840 # include <limits.h>
23841 #else
23842 # include <assert.h>
23843 #endif
23844
23845 #undef $ac_func
23846
23847 /* Override any gcc2 internal prototype to avoid an error.  */
23848 #ifdef __cplusplus
23849 extern "C"
23850 {
23851 #endif
23852 /* We use char because int might match the return type of a gcc2
23853    builtin and then its argument prototype would still apply.  */
23854 char $ac_func ();
23855 /* The GNU C library defines this for functions which it implements
23856     to always fail with ENOSYS.  Some functions are actually named
23857     something starting with __ and the normal name is an alias.  */
23858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23859 choke me
23860 #else
23861 char (*f) () = $ac_func;
23862 #endif
23863 #ifdef __cplusplus
23864 }
23865 #endif
23866
23867 int
23868 main ()
23869 {
23870 return f != $ac_func;
23871   ;
23872   return 0;
23873 }
23874 _ACEOF
23875 rm -f conftest.$ac_objext conftest$ac_exeext
23876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23877   (eval $ac_link) 2>conftest.er1
23878   ac_status=$?
23879   grep -v '^ *+' conftest.er1 >conftest.err
23880   rm -f conftest.er1
23881   cat conftest.err >&5
23882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883   (exit $ac_status); } &&
23884          { ac_try='test -z "$ac_c_werror_flag"
23885                          || test ! -s conftest.err'
23886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887   (eval $ac_try) 2>&5
23888   ac_status=$?
23889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890   (exit $ac_status); }; } &&
23891          { ac_try='test -s conftest$ac_exeext'
23892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893   (eval $ac_try) 2>&5
23894   ac_status=$?
23895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896   (exit $ac_status); }; }; then
23897   eval "$as_ac_var=yes"
23898 else
23899   echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.$ac_ext >&5
23901
23902 eval "$as_ac_var=no"
23903 fi
23904 rm -f conftest.err conftest.$ac_objext \
23905       conftest$ac_exeext conftest.$ac_ext
23906 fi
23907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23909 if test `eval echo '${'$as_ac_var'}'` = yes; then
23910   cat >>confdefs.h <<_ACEOF
23911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23912 _ACEOF
23913
23914 fi
23915 done
23916
23917   else
23918
23919   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
23920 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
23921   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23922     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
23923   echo $ECHO_N "(cached) $ECHO_C" >&6
23924 else
23925
23926
23927
23928       ac_ext=cc
23929 ac_cpp='$CXXCPP $CPPFLAGS'
23930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23933
23934       cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h.  */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h.  */
23940 #include <math.h>
23941 int
23942 main ()
23943 {
23944  _frexpf(0, 0);
23945   ;
23946   return 0;
23947 }
23948 _ACEOF
23949 rm -f conftest.$ac_objext
23950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23951   (eval $ac_compile) 2>conftest.er1
23952   ac_status=$?
23953   grep -v '^ *+' conftest.er1 >conftest.err
23954   rm -f conftest.er1
23955   cat conftest.err >&5
23956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957   (exit $ac_status); } &&
23958          { ac_try='test -z "$ac_cxx_werror_flag"
23959                          || test ! -s conftest.err'
23960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23961   (eval $ac_try) 2>&5
23962   ac_status=$?
23963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964   (exit $ac_status); }; } &&
23965          { ac_try='test -s conftest.$ac_objext'
23966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967   (eval $ac_try) 2>&5
23968   ac_status=$?
23969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970   (exit $ac_status); }; }; then
23971   glibcxx_cv_func__frexpf_use=yes
23972 else
23973   echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 glibcxx_cv_func__frexpf_use=no
23977 fi
23978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23979       ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984
23985
23986 fi
23987
23988   fi
23989   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
23990 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
23991
23992     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23993
23994 for ac_func in _frexpf
23995 do
23996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23997 echo "$as_me:$LINENO: checking for $ac_func" >&5
23998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23999 if eval "test \"\${$as_ac_var+set}\" = set"; then
24000   echo $ECHO_N "(cached) $ECHO_C" >&6
24001 else
24002   if test x$gcc_no_link = xyes; then
24003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24005    { (exit 1); exit 1; }; }
24006 fi
24007 cat >conftest.$ac_ext <<_ACEOF
24008 /* confdefs.h.  */
24009 _ACEOF
24010 cat confdefs.h >>conftest.$ac_ext
24011 cat >>conftest.$ac_ext <<_ACEOF
24012 /* end confdefs.h.  */
24013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24014    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24015 #define $ac_func innocuous_$ac_func
24016
24017 /* System header to define __stub macros and hopefully few prototypes,
24018     which can conflict with char $ac_func (); below.
24019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24020     <limits.h> exists even on freestanding compilers.  */
24021
24022 #ifdef __STDC__
24023 # include <limits.h>
24024 #else
24025 # include <assert.h>
24026 #endif
24027
24028 #undef $ac_func
24029
24030 /* Override any gcc2 internal prototype to avoid an error.  */
24031 #ifdef __cplusplus
24032 extern "C"
24033 {
24034 #endif
24035 /* We use char because int might match the return type of a gcc2
24036    builtin and then its argument prototype would still apply.  */
24037 char $ac_func ();
24038 /* The GNU C library defines this for functions which it implements
24039     to always fail with ENOSYS.  Some functions are actually named
24040     something starting with __ and the normal name is an alias.  */
24041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24042 choke me
24043 #else
24044 char (*f) () = $ac_func;
24045 #endif
24046 #ifdef __cplusplus
24047 }
24048 #endif
24049
24050 int
24051 main ()
24052 {
24053 return f != $ac_func;
24054   ;
24055   return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext conftest$ac_exeext
24059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24060   (eval $ac_link) 2>conftest.er1
24061   ac_status=$?
24062   grep -v '^ *+' conftest.er1 >conftest.err
24063   rm -f conftest.er1
24064   cat conftest.err >&5
24065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066   (exit $ac_status); } &&
24067          { ac_try='test -z "$ac_c_werror_flag"
24068                          || test ! -s conftest.err'
24069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24070   (eval $ac_try) 2>&5
24071   ac_status=$?
24072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073   (exit $ac_status); }; } &&
24074          { ac_try='test -s conftest$ac_exeext'
24075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076   (eval $ac_try) 2>&5
24077   ac_status=$?
24078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079   (exit $ac_status); }; }; then
24080   eval "$as_ac_var=yes"
24081 else
24082   echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24084
24085 eval "$as_ac_var=no"
24086 fi
24087 rm -f conftest.err conftest.$ac_objext \
24088       conftest$ac_exeext conftest.$ac_ext
24089 fi
24090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24092 if test `eval echo '${'$as_ac_var'}'` = yes; then
24093   cat >>confdefs.h <<_ACEOF
24094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24095 _ACEOF
24096
24097 fi
24098 done
24099
24100     fi
24101   fi
24102
24103
24104
24105
24106
24107
24108   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24109 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24110   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24111     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24112   echo $ECHO_N "(cached) $ECHO_C" >&6
24113 else
24114
24115
24116
24117       ac_ext=cc
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122
24123       cat >conftest.$ac_ext <<_ACEOF
24124 /* confdefs.h.  */
24125 _ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h.  */
24129 #include <math.h>
24130 int
24131 main ()
24132 {
24133  hypotf(0, 0);
24134   ;
24135   return 0;
24136 }
24137 _ACEOF
24138 rm -f conftest.$ac_objext
24139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24140   (eval $ac_compile) 2>conftest.er1
24141   ac_status=$?
24142   grep -v '^ *+' conftest.er1 >conftest.err
24143   rm -f conftest.er1
24144   cat conftest.err >&5
24145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146   (exit $ac_status); } &&
24147          { ac_try='test -z "$ac_cxx_werror_flag"
24148                          || test ! -s conftest.err'
24149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150   (eval $ac_try) 2>&5
24151   ac_status=$?
24152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153   (exit $ac_status); }; } &&
24154          { ac_try='test -s conftest.$ac_objext'
24155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24156   (eval $ac_try) 2>&5
24157   ac_status=$?
24158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159   (exit $ac_status); }; }; then
24160   glibcxx_cv_func_hypotf_use=yes
24161 else
24162   echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.$ac_ext >&5
24164
24165 glibcxx_cv_func_hypotf_use=no
24166 fi
24167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24168       ac_ext=c
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173
24174
24175 fi
24176
24177   fi
24178   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24179 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24180
24181   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24182
24183 for ac_func in hypotf
24184 do
24185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24186 echo "$as_me:$LINENO: checking for $ac_func" >&5
24187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24188 if eval "test \"\${$as_ac_var+set}\" = set"; then
24189   echo $ECHO_N "(cached) $ECHO_C" >&6
24190 else
24191   if test x$gcc_no_link = xyes; then
24192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24194    { (exit 1); exit 1; }; }
24195 fi
24196 cat >conftest.$ac_ext <<_ACEOF
24197 /* confdefs.h.  */
24198 _ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h.  */
24202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24204 #define $ac_func innocuous_$ac_func
24205
24206 /* System header to define __stub macros and hopefully few prototypes,
24207     which can conflict with char $ac_func (); below.
24208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24209     <limits.h> exists even on freestanding compilers.  */
24210
24211 #ifdef __STDC__
24212 # include <limits.h>
24213 #else
24214 # include <assert.h>
24215 #endif
24216
24217 #undef $ac_func
24218
24219 /* Override any gcc2 internal prototype to avoid an error.  */
24220 #ifdef __cplusplus
24221 extern "C"
24222 {
24223 #endif
24224 /* We use char because int might match the return type of a gcc2
24225    builtin and then its argument prototype would still apply.  */
24226 char $ac_func ();
24227 /* The GNU C library defines this for functions which it implements
24228     to always fail with ENOSYS.  Some functions are actually named
24229     something starting with __ and the normal name is an alias.  */
24230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24231 choke me
24232 #else
24233 char (*f) () = $ac_func;
24234 #endif
24235 #ifdef __cplusplus
24236 }
24237 #endif
24238
24239 int
24240 main ()
24241 {
24242 return f != $ac_func;
24243   ;
24244   return 0;
24245 }
24246 _ACEOF
24247 rm -f conftest.$ac_objext conftest$ac_exeext
24248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24249   (eval $ac_link) 2>conftest.er1
24250   ac_status=$?
24251   grep -v '^ *+' conftest.er1 >conftest.err
24252   rm -f conftest.er1
24253   cat conftest.err >&5
24254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255   (exit $ac_status); } &&
24256          { ac_try='test -z "$ac_c_werror_flag"
24257                          || test ! -s conftest.err'
24258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259   (eval $ac_try) 2>&5
24260   ac_status=$?
24261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262   (exit $ac_status); }; } &&
24263          { ac_try='test -s conftest$ac_exeext'
24264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265   (eval $ac_try) 2>&5
24266   ac_status=$?
24267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268   (exit $ac_status); }; }; then
24269   eval "$as_ac_var=yes"
24270 else
24271   echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24273
24274 eval "$as_ac_var=no"
24275 fi
24276 rm -f conftest.err conftest.$ac_objext \
24277       conftest$ac_exeext conftest.$ac_ext
24278 fi
24279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24281 if test `eval echo '${'$as_ac_var'}'` = yes; then
24282   cat >>confdefs.h <<_ACEOF
24283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24284 _ACEOF
24285
24286 fi
24287 done
24288
24289   else
24290
24291   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24292 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24293   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24294     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24295   echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297
24298
24299
24300       ac_ext=cc
24301 ac_cpp='$CXXCPP $CPPFLAGS'
24302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24305
24306       cat >conftest.$ac_ext <<_ACEOF
24307 /* confdefs.h.  */
24308 _ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h.  */
24312 #include <math.h>
24313 int
24314 main ()
24315 {
24316  _hypotf(0, 0);
24317   ;
24318   return 0;
24319 }
24320 _ACEOF
24321 rm -f conftest.$ac_objext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24323   (eval $ac_compile) 2>conftest.er1
24324   ac_status=$?
24325   grep -v '^ *+' conftest.er1 >conftest.err
24326   rm -f conftest.er1
24327   cat conftest.err >&5
24328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329   (exit $ac_status); } &&
24330          { ac_try='test -z "$ac_cxx_werror_flag"
24331                          || test ! -s conftest.err'
24332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333   (eval $ac_try) 2>&5
24334   ac_status=$?
24335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336   (exit $ac_status); }; } &&
24337          { ac_try='test -s conftest.$ac_objext'
24338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24339   (eval $ac_try) 2>&5
24340   ac_status=$?
24341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342   (exit $ac_status); }; }; then
24343   glibcxx_cv_func__hypotf_use=yes
24344 else
24345   echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 glibcxx_cv_func__hypotf_use=no
24349 fi
24350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24351       ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356
24357
24358 fi
24359
24360   fi
24361   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
24362 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
24363
24364     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24365
24366 for ac_func in _hypotf
24367 do
24368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24369 echo "$as_me:$LINENO: checking for $ac_func" >&5
24370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24371 if eval "test \"\${$as_ac_var+set}\" = set"; then
24372   echo $ECHO_N "(cached) $ECHO_C" >&6
24373 else
24374   if test x$gcc_no_link = xyes; then
24375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24377    { (exit 1); exit 1; }; }
24378 fi
24379 cat >conftest.$ac_ext <<_ACEOF
24380 /* confdefs.h.  */
24381 _ACEOF
24382 cat confdefs.h >>conftest.$ac_ext
24383 cat >>conftest.$ac_ext <<_ACEOF
24384 /* end confdefs.h.  */
24385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24387 #define $ac_func innocuous_$ac_func
24388
24389 /* System header to define __stub macros and hopefully few prototypes,
24390     which can conflict with char $ac_func (); below.
24391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24392     <limits.h> exists even on freestanding compilers.  */
24393
24394 #ifdef __STDC__
24395 # include <limits.h>
24396 #else
24397 # include <assert.h>
24398 #endif
24399
24400 #undef $ac_func
24401
24402 /* Override any gcc2 internal prototype to avoid an error.  */
24403 #ifdef __cplusplus
24404 extern "C"
24405 {
24406 #endif
24407 /* We use char because int might match the return type of a gcc2
24408    builtin and then its argument prototype would still apply.  */
24409 char $ac_func ();
24410 /* The GNU C library defines this for functions which it implements
24411     to always fail with ENOSYS.  Some functions are actually named
24412     something starting with __ and the normal name is an alias.  */
24413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24414 choke me
24415 #else
24416 char (*f) () = $ac_func;
24417 #endif
24418 #ifdef __cplusplus
24419 }
24420 #endif
24421
24422 int
24423 main ()
24424 {
24425 return f != $ac_func;
24426   ;
24427   return 0;
24428 }
24429 _ACEOF
24430 rm -f conftest.$ac_objext conftest$ac_exeext
24431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24432   (eval $ac_link) 2>conftest.er1
24433   ac_status=$?
24434   grep -v '^ *+' conftest.er1 >conftest.err
24435   rm -f conftest.er1
24436   cat conftest.err >&5
24437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438   (exit $ac_status); } &&
24439          { ac_try='test -z "$ac_c_werror_flag"
24440                          || test ! -s conftest.err'
24441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442   (eval $ac_try) 2>&5
24443   ac_status=$?
24444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445   (exit $ac_status); }; } &&
24446          { ac_try='test -s conftest$ac_exeext'
24447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448   (eval $ac_try) 2>&5
24449   ac_status=$?
24450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451   (exit $ac_status); }; }; then
24452   eval "$as_ac_var=yes"
24453 else
24454   echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5
24456
24457 eval "$as_ac_var=no"
24458 fi
24459 rm -f conftest.err conftest.$ac_objext \
24460       conftest$ac_exeext conftest.$ac_ext
24461 fi
24462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24464 if test `eval echo '${'$as_ac_var'}'` = yes; then
24465   cat >>confdefs.h <<_ACEOF
24466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24467 _ACEOF
24468
24469 fi
24470 done
24471
24472     fi
24473   fi
24474
24475
24476
24477
24478
24479
24480   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24481 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24482   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24483     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24484   echo $ECHO_N "(cached) $ECHO_C" >&6
24485 else
24486
24487
24488
24489       ac_ext=cc
24490 ac_cpp='$CXXCPP $CPPFLAGS'
24491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24494
24495       cat >conftest.$ac_ext <<_ACEOF
24496 /* confdefs.h.  */
24497 _ACEOF
24498 cat confdefs.h >>conftest.$ac_ext
24499 cat >>conftest.$ac_ext <<_ACEOF
24500 /* end confdefs.h.  */
24501 #include <math.h>
24502 int
24503 main ()
24504 {
24505  ldexpf(0, 0);
24506   ;
24507   return 0;
24508 }
24509 _ACEOF
24510 rm -f conftest.$ac_objext
24511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24512   (eval $ac_compile) 2>conftest.er1
24513   ac_status=$?
24514   grep -v '^ *+' conftest.er1 >conftest.err
24515   rm -f conftest.er1
24516   cat conftest.err >&5
24517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518   (exit $ac_status); } &&
24519          { ac_try='test -z "$ac_cxx_werror_flag"
24520                          || test ! -s conftest.err'
24521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522   (eval $ac_try) 2>&5
24523   ac_status=$?
24524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525   (exit $ac_status); }; } &&
24526          { ac_try='test -s conftest.$ac_objext'
24527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528   (eval $ac_try) 2>&5
24529   ac_status=$?
24530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531   (exit $ac_status); }; }; then
24532   glibcxx_cv_func_ldexpf_use=yes
24533 else
24534   echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24536
24537 glibcxx_cv_func_ldexpf_use=no
24538 fi
24539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24540       ac_ext=c
24541 ac_cpp='$CPP $CPPFLAGS'
24542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24545
24546
24547 fi
24548
24549   fi
24550   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24551 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24552
24553   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24554
24555 for ac_func in ldexpf
24556 do
24557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24558 echo "$as_me:$LINENO: checking for $ac_func" >&5
24559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24560 if eval "test \"\${$as_ac_var+set}\" = set"; then
24561   echo $ECHO_N "(cached) $ECHO_C" >&6
24562 else
24563   if test x$gcc_no_link = xyes; then
24564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24566    { (exit 1); exit 1; }; }
24567 fi
24568 cat >conftest.$ac_ext <<_ACEOF
24569 /* confdefs.h.  */
24570 _ACEOF
24571 cat confdefs.h >>conftest.$ac_ext
24572 cat >>conftest.$ac_ext <<_ACEOF
24573 /* end confdefs.h.  */
24574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24576 #define $ac_func innocuous_$ac_func
24577
24578 /* System header to define __stub macros and hopefully few prototypes,
24579     which can conflict with char $ac_func (); below.
24580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24581     <limits.h> exists even on freestanding compilers.  */
24582
24583 #ifdef __STDC__
24584 # include <limits.h>
24585 #else
24586 # include <assert.h>
24587 #endif
24588
24589 #undef $ac_func
24590
24591 /* Override any gcc2 internal prototype to avoid an error.  */
24592 #ifdef __cplusplus
24593 extern "C"
24594 {
24595 #endif
24596 /* We use char because int might match the return type of a gcc2
24597    builtin and then its argument prototype would still apply.  */
24598 char $ac_func ();
24599 /* The GNU C library defines this for functions which it implements
24600     to always fail with ENOSYS.  Some functions are actually named
24601     something starting with __ and the normal name is an alias.  */
24602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24603 choke me
24604 #else
24605 char (*f) () = $ac_func;
24606 #endif
24607 #ifdef __cplusplus
24608 }
24609 #endif
24610
24611 int
24612 main ()
24613 {
24614 return f != $ac_func;
24615   ;
24616   return 0;
24617 }
24618 _ACEOF
24619 rm -f conftest.$ac_objext conftest$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621   (eval $ac_link) 2>conftest.er1
24622   ac_status=$?
24623   grep -v '^ *+' conftest.er1 >conftest.err
24624   rm -f conftest.er1
24625   cat conftest.err >&5
24626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627   (exit $ac_status); } &&
24628          { ac_try='test -z "$ac_c_werror_flag"
24629                          || test ! -s conftest.err'
24630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24631   (eval $ac_try) 2>&5
24632   ac_status=$?
24633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634   (exit $ac_status); }; } &&
24635          { ac_try='test -s conftest$ac_exeext'
24636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24637   (eval $ac_try) 2>&5
24638   ac_status=$?
24639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640   (exit $ac_status); }; }; then
24641   eval "$as_ac_var=yes"
24642 else
24643   echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.$ac_ext >&5
24645
24646 eval "$as_ac_var=no"
24647 fi
24648 rm -f conftest.err conftest.$ac_objext \
24649       conftest$ac_exeext conftest.$ac_ext
24650 fi
24651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24653 if test `eval echo '${'$as_ac_var'}'` = yes; then
24654   cat >>confdefs.h <<_ACEOF
24655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24656 _ACEOF
24657
24658 fi
24659 done
24660
24661   else
24662
24663   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24664 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24665   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24666     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24667   echo $ECHO_N "(cached) $ECHO_C" >&6
24668 else
24669
24670
24671
24672       ac_ext=cc
24673 ac_cpp='$CXXCPP $CPPFLAGS'
24674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24677
24678       cat >conftest.$ac_ext <<_ACEOF
24679 /* confdefs.h.  */
24680 _ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h.  */
24684 #include <math.h>
24685 int
24686 main ()
24687 {
24688  _ldexpf(0, 0);
24689   ;
24690   return 0;
24691 }
24692 _ACEOF
24693 rm -f conftest.$ac_objext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24695   (eval $ac_compile) 2>conftest.er1
24696   ac_status=$?
24697   grep -v '^ *+' conftest.er1 >conftest.err
24698   rm -f conftest.er1
24699   cat conftest.err >&5
24700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701   (exit $ac_status); } &&
24702          { ac_try='test -z "$ac_cxx_werror_flag"
24703                          || test ! -s conftest.err'
24704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705   (eval $ac_try) 2>&5
24706   ac_status=$?
24707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708   (exit $ac_status); }; } &&
24709          { ac_try='test -s conftest.$ac_objext'
24710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711   (eval $ac_try) 2>&5
24712   ac_status=$?
24713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714   (exit $ac_status); }; }; then
24715   glibcxx_cv_func__ldexpf_use=yes
24716 else
24717   echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.$ac_ext >&5
24719
24720 glibcxx_cv_func__ldexpf_use=no
24721 fi
24722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24723       ac_ext=c
24724 ac_cpp='$CPP $CPPFLAGS'
24725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24728
24729
24730 fi
24731
24732   fi
24733   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24734 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24735
24736     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24737
24738 for ac_func in _ldexpf
24739 do
24740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24741 echo "$as_me:$LINENO: checking for $ac_func" >&5
24742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24743 if eval "test \"\${$as_ac_var+set}\" = set"; then
24744   echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24746   if test x$gcc_no_link = xyes; then
24747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24749    { (exit 1); exit 1; }; }
24750 fi
24751 cat >conftest.$ac_ext <<_ACEOF
24752 /* confdefs.h.  */
24753 _ACEOF
24754 cat confdefs.h >>conftest.$ac_ext
24755 cat >>conftest.$ac_ext <<_ACEOF
24756 /* end confdefs.h.  */
24757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24759 #define $ac_func innocuous_$ac_func
24760
24761 /* System header to define __stub macros and hopefully few prototypes,
24762     which can conflict with char $ac_func (); below.
24763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24764     <limits.h> exists even on freestanding compilers.  */
24765
24766 #ifdef __STDC__
24767 # include <limits.h>
24768 #else
24769 # include <assert.h>
24770 #endif
24771
24772 #undef $ac_func
24773
24774 /* Override any gcc2 internal prototype to avoid an error.  */
24775 #ifdef __cplusplus
24776 extern "C"
24777 {
24778 #endif
24779 /* We use char because int might match the return type of a gcc2
24780    builtin and then its argument prototype would still apply.  */
24781 char $ac_func ();
24782 /* The GNU C library defines this for functions which it implements
24783     to always fail with ENOSYS.  Some functions are actually named
24784     something starting with __ and the normal name is an alias.  */
24785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24786 choke me
24787 #else
24788 char (*f) () = $ac_func;
24789 #endif
24790 #ifdef __cplusplus
24791 }
24792 #endif
24793
24794 int
24795 main ()
24796 {
24797 return f != $ac_func;
24798   ;
24799   return 0;
24800 }
24801 _ACEOF
24802 rm -f conftest.$ac_objext conftest$ac_exeext
24803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24804   (eval $ac_link) 2>conftest.er1
24805   ac_status=$?
24806   grep -v '^ *+' conftest.er1 >conftest.err
24807   rm -f conftest.er1
24808   cat conftest.err >&5
24809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810   (exit $ac_status); } &&
24811          { ac_try='test -z "$ac_c_werror_flag"
24812                          || test ! -s conftest.err'
24813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24814   (eval $ac_try) 2>&5
24815   ac_status=$?
24816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817   (exit $ac_status); }; } &&
24818          { ac_try='test -s conftest$ac_exeext'
24819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24820   (eval $ac_try) 2>&5
24821   ac_status=$?
24822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823   (exit $ac_status); }; }; then
24824   eval "$as_ac_var=yes"
24825 else
24826   echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 eval "$as_ac_var=no"
24830 fi
24831 rm -f conftest.err conftest.$ac_objext \
24832       conftest$ac_exeext conftest.$ac_ext
24833 fi
24834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24836 if test `eval echo '${'$as_ac_var'}'` = yes; then
24837   cat >>confdefs.h <<_ACEOF
24838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24839 _ACEOF
24840
24841 fi
24842 done
24843
24844     fi
24845   fi
24846
24847
24848
24849
24850
24851
24852   echo "$as_me:$LINENO: checking for logf declaration" >&5
24853 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
24854   if test x${glibcxx_cv_func_logf_use+set} != xset; then
24855     if test "${glibcxx_cv_func_logf_use+set}" = set; then
24856   echo $ECHO_N "(cached) $ECHO_C" >&6
24857 else
24858
24859
24860
24861       ac_ext=cc
24862 ac_cpp='$CXXCPP $CPPFLAGS'
24863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24866
24867       cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h.  */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h.  */
24873 #include <math.h>
24874                       #ifdef HAVE_IEEEFP_H
24875                       #include <ieeefp.h>
24876                       #endif
24877
24878 int
24879 main ()
24880 {
24881  logf(0);
24882   ;
24883   return 0;
24884 }
24885 _ACEOF
24886 rm -f conftest.$ac_objext
24887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24888   (eval $ac_compile) 2>conftest.er1
24889   ac_status=$?
24890   grep -v '^ *+' conftest.er1 >conftest.err
24891   rm -f conftest.er1
24892   cat conftest.err >&5
24893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894   (exit $ac_status); } &&
24895          { ac_try='test -z "$ac_cxx_werror_flag"
24896                          || test ! -s conftest.err'
24897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898   (eval $ac_try) 2>&5
24899   ac_status=$?
24900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901   (exit $ac_status); }; } &&
24902          { ac_try='test -s conftest.$ac_objext'
24903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904   (eval $ac_try) 2>&5
24905   ac_status=$?
24906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907   (exit $ac_status); }; }; then
24908   glibcxx_cv_func_logf_use=yes
24909 else
24910   echo "$as_me: failed program was:" >&5
24911 sed 's/^/| /' conftest.$ac_ext >&5
24912
24913 glibcxx_cv_func_logf_use=no
24914 fi
24915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24916       ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921
24922
24923 fi
24924
24925   fi
24926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
24927 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
24928
24929   if test x$glibcxx_cv_func_logf_use = x"yes"; then
24930
24931 for ac_func in logf
24932 do
24933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24934 echo "$as_me:$LINENO: checking for $ac_func" >&5
24935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24936 if eval "test \"\${$as_ac_var+set}\" = set"; then
24937   echo $ECHO_N "(cached) $ECHO_C" >&6
24938 else
24939   if test x$gcc_no_link = xyes; then
24940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24942    { (exit 1); exit 1; }; }
24943 fi
24944 cat >conftest.$ac_ext <<_ACEOF
24945 /* confdefs.h.  */
24946 _ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h.  */
24950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24952 #define $ac_func innocuous_$ac_func
24953
24954 /* System header to define __stub macros and hopefully few prototypes,
24955     which can conflict with char $ac_func (); below.
24956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24957     <limits.h> exists even on freestanding compilers.  */
24958
24959 #ifdef __STDC__
24960 # include <limits.h>
24961 #else
24962 # include <assert.h>
24963 #endif
24964
24965 #undef $ac_func
24966
24967 /* Override any gcc2 internal prototype to avoid an error.  */
24968 #ifdef __cplusplus
24969 extern "C"
24970 {
24971 #endif
24972 /* We use char because int might match the return type of a gcc2
24973    builtin and then its argument prototype would still apply.  */
24974 char $ac_func ();
24975 /* The GNU C library defines this for functions which it implements
24976     to always fail with ENOSYS.  Some functions are actually named
24977     something starting with __ and the normal name is an alias.  */
24978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24979 choke me
24980 #else
24981 char (*f) () = $ac_func;
24982 #endif
24983 #ifdef __cplusplus
24984 }
24985 #endif
24986
24987 int
24988 main ()
24989 {
24990 return f != $ac_func;
24991   ;
24992   return 0;
24993 }
24994 _ACEOF
24995 rm -f conftest.$ac_objext conftest$ac_exeext
24996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24997   (eval $ac_link) 2>conftest.er1
24998   ac_status=$?
24999   grep -v '^ *+' conftest.er1 >conftest.err
25000   rm -f conftest.er1
25001   cat conftest.err >&5
25002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003   (exit $ac_status); } &&
25004          { ac_try='test -z "$ac_c_werror_flag"
25005                          || test ! -s conftest.err'
25006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007   (eval $ac_try) 2>&5
25008   ac_status=$?
25009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010   (exit $ac_status); }; } &&
25011          { ac_try='test -s conftest$ac_exeext'
25012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013   (eval $ac_try) 2>&5
25014   ac_status=$?
25015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016   (exit $ac_status); }; }; then
25017   eval "$as_ac_var=yes"
25018 else
25019   echo "$as_me: failed program was:" >&5
25020 sed 's/^/| /' conftest.$ac_ext >&5
25021
25022 eval "$as_ac_var=no"
25023 fi
25024 rm -f conftest.err conftest.$ac_objext \
25025       conftest$ac_exeext conftest.$ac_ext
25026 fi
25027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25029 if test `eval echo '${'$as_ac_var'}'` = yes; then
25030   cat >>confdefs.h <<_ACEOF
25031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25032 _ACEOF
25033
25034 fi
25035 done
25036
25037   else
25038
25039   echo "$as_me:$LINENO: checking for _logf declaration" >&5
25040 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25041   if test x${glibcxx_cv_func__logf_use+set} != xset; then
25042     if test "${glibcxx_cv_func__logf_use+set}" = set; then
25043   echo $ECHO_N "(cached) $ECHO_C" >&6
25044 else
25045
25046
25047
25048       ac_ext=cc
25049 ac_cpp='$CXXCPP $CPPFLAGS'
25050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25053
25054       cat >conftest.$ac_ext <<_ACEOF
25055 /* confdefs.h.  */
25056 _ACEOF
25057 cat confdefs.h >>conftest.$ac_ext
25058 cat >>conftest.$ac_ext <<_ACEOF
25059 /* end confdefs.h.  */
25060 #include <math.h>
25061                       #ifdef HAVE_IEEEFP_H
25062                       #include <ieeefp.h>
25063                       #endif
25064
25065 int
25066 main ()
25067 {
25068  _logf(0);
25069   ;
25070   return 0;
25071 }
25072 _ACEOF
25073 rm -f conftest.$ac_objext
25074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25075   (eval $ac_compile) 2>conftest.er1
25076   ac_status=$?
25077   grep -v '^ *+' conftest.er1 >conftest.err
25078   rm -f conftest.er1
25079   cat conftest.err >&5
25080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081   (exit $ac_status); } &&
25082          { ac_try='test -z "$ac_cxx_werror_flag"
25083                          || test ! -s conftest.err'
25084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25085   (eval $ac_try) 2>&5
25086   ac_status=$?
25087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088   (exit $ac_status); }; } &&
25089          { ac_try='test -s conftest.$ac_objext'
25090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091   (eval $ac_try) 2>&5
25092   ac_status=$?
25093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094   (exit $ac_status); }; }; then
25095   glibcxx_cv_func__logf_use=yes
25096 else
25097   echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25099
25100 glibcxx_cv_func__logf_use=no
25101 fi
25102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25103       ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108
25109
25110 fi
25111
25112   fi
25113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25114 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25115
25116     if test x$glibcxx_cv_func__logf_use = x"yes"; then
25117
25118 for ac_func in _logf
25119 do
25120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25121 echo "$as_me:$LINENO: checking for $ac_func" >&5
25122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25123 if eval "test \"\${$as_ac_var+set}\" = set"; then
25124   echo $ECHO_N "(cached) $ECHO_C" >&6
25125 else
25126   if test x$gcc_no_link = xyes; then
25127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25129    { (exit 1); exit 1; }; }
25130 fi
25131 cat >conftest.$ac_ext <<_ACEOF
25132 /* confdefs.h.  */
25133 _ACEOF
25134 cat confdefs.h >>conftest.$ac_ext
25135 cat >>conftest.$ac_ext <<_ACEOF
25136 /* end confdefs.h.  */
25137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25139 #define $ac_func innocuous_$ac_func
25140
25141 /* System header to define __stub macros and hopefully few prototypes,
25142     which can conflict with char $ac_func (); below.
25143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25144     <limits.h> exists even on freestanding compilers.  */
25145
25146 #ifdef __STDC__
25147 # include <limits.h>
25148 #else
25149 # include <assert.h>
25150 #endif
25151
25152 #undef $ac_func
25153
25154 /* Override any gcc2 internal prototype to avoid an error.  */
25155 #ifdef __cplusplus
25156 extern "C"
25157 {
25158 #endif
25159 /* We use char because int might match the return type of a gcc2
25160    builtin and then its argument prototype would still apply.  */
25161 char $ac_func ();
25162 /* The GNU C library defines this for functions which it implements
25163     to always fail with ENOSYS.  Some functions are actually named
25164     something starting with __ and the normal name is an alias.  */
25165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25166 choke me
25167 #else
25168 char (*f) () = $ac_func;
25169 #endif
25170 #ifdef __cplusplus
25171 }
25172 #endif
25173
25174 int
25175 main ()
25176 {
25177 return f != $ac_func;
25178   ;
25179   return 0;
25180 }
25181 _ACEOF
25182 rm -f conftest.$ac_objext conftest$ac_exeext
25183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25184   (eval $ac_link) 2>conftest.er1
25185   ac_status=$?
25186   grep -v '^ *+' conftest.er1 >conftest.err
25187   rm -f conftest.er1
25188   cat conftest.err >&5
25189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190   (exit $ac_status); } &&
25191          { ac_try='test -z "$ac_c_werror_flag"
25192                          || test ! -s conftest.err'
25193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194   (eval $ac_try) 2>&5
25195   ac_status=$?
25196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197   (exit $ac_status); }; } &&
25198          { ac_try='test -s conftest$ac_exeext'
25199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200   (eval $ac_try) 2>&5
25201   ac_status=$?
25202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203   (exit $ac_status); }; }; then
25204   eval "$as_ac_var=yes"
25205 else
25206   echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.$ac_ext >&5
25208
25209 eval "$as_ac_var=no"
25210 fi
25211 rm -f conftest.err conftest.$ac_objext \
25212       conftest$ac_exeext conftest.$ac_ext
25213 fi
25214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217   cat >>confdefs.h <<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25219 _ACEOF
25220
25221 fi
25222 done
25223
25224     fi
25225   fi
25226
25227
25228
25229
25230
25231
25232   echo "$as_me:$LINENO: checking for log10f declaration" >&5
25233 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25234   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25235     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25236   echo $ECHO_N "(cached) $ECHO_C" >&6
25237 else
25238
25239
25240
25241       ac_ext=cc
25242 ac_cpp='$CXXCPP $CPPFLAGS'
25243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25246
25247       cat >conftest.$ac_ext <<_ACEOF
25248 /* confdefs.h.  */
25249 _ACEOF
25250 cat confdefs.h >>conftest.$ac_ext
25251 cat >>conftest.$ac_ext <<_ACEOF
25252 /* end confdefs.h.  */
25253 #include <math.h>
25254                       #ifdef HAVE_IEEEFP_H
25255                       #include <ieeefp.h>
25256                       #endif
25257
25258 int
25259 main ()
25260 {
25261  log10f(0);
25262   ;
25263   return 0;
25264 }
25265 _ACEOF
25266 rm -f conftest.$ac_objext
25267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25268   (eval $ac_compile) 2>conftest.er1
25269   ac_status=$?
25270   grep -v '^ *+' conftest.er1 >conftest.err
25271   rm -f conftest.er1
25272   cat conftest.err >&5
25273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274   (exit $ac_status); } &&
25275          { ac_try='test -z "$ac_cxx_werror_flag"
25276                          || test ! -s conftest.err'
25277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25278   (eval $ac_try) 2>&5
25279   ac_status=$?
25280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281   (exit $ac_status); }; } &&
25282          { ac_try='test -s conftest.$ac_objext'
25283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284   (eval $ac_try) 2>&5
25285   ac_status=$?
25286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287   (exit $ac_status); }; }; then
25288   glibcxx_cv_func_log10f_use=yes
25289 else
25290   echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.$ac_ext >&5
25292
25293 glibcxx_cv_func_log10f_use=no
25294 fi
25295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25296       ac_ext=c
25297 ac_cpp='$CPP $CPPFLAGS'
25298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301
25302
25303 fi
25304
25305   fi
25306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
25307 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
25308
25309   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25310
25311 for ac_func in log10f
25312 do
25313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25314 echo "$as_me:$LINENO: checking for $ac_func" >&5
25315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25316 if eval "test \"\${$as_ac_var+set}\" = set"; then
25317   echo $ECHO_N "(cached) $ECHO_C" >&6
25318 else
25319   if test x$gcc_no_link = xyes; then
25320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25322    { (exit 1); exit 1; }; }
25323 fi
25324 cat >conftest.$ac_ext <<_ACEOF
25325 /* confdefs.h.  */
25326 _ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h.  */
25330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25332 #define $ac_func innocuous_$ac_func
25333
25334 /* System header to define __stub macros and hopefully few prototypes,
25335     which can conflict with char $ac_func (); below.
25336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25337     <limits.h> exists even on freestanding compilers.  */
25338
25339 #ifdef __STDC__
25340 # include <limits.h>
25341 #else
25342 # include <assert.h>
25343 #endif
25344
25345 #undef $ac_func
25346
25347 /* Override any gcc2 internal prototype to avoid an error.  */
25348 #ifdef __cplusplus
25349 extern "C"
25350 {
25351 #endif
25352 /* We use char because int might match the return type of a gcc2
25353    builtin and then its argument prototype would still apply.  */
25354 char $ac_func ();
25355 /* The GNU C library defines this for functions which it implements
25356     to always fail with ENOSYS.  Some functions are actually named
25357     something starting with __ and the normal name is an alias.  */
25358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25359 choke me
25360 #else
25361 char (*f) () = $ac_func;
25362 #endif
25363 #ifdef __cplusplus
25364 }
25365 #endif
25366
25367 int
25368 main ()
25369 {
25370 return f != $ac_func;
25371   ;
25372   return 0;
25373 }
25374 _ACEOF
25375 rm -f conftest.$ac_objext conftest$ac_exeext
25376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25377   (eval $ac_link) 2>conftest.er1
25378   ac_status=$?
25379   grep -v '^ *+' conftest.er1 >conftest.err
25380   rm -f conftest.er1
25381   cat conftest.err >&5
25382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383   (exit $ac_status); } &&
25384          { ac_try='test -z "$ac_c_werror_flag"
25385                          || test ! -s conftest.err'
25386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387   (eval $ac_try) 2>&5
25388   ac_status=$?
25389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390   (exit $ac_status); }; } &&
25391          { ac_try='test -s conftest$ac_exeext'
25392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393   (eval $ac_try) 2>&5
25394   ac_status=$?
25395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396   (exit $ac_status); }; }; then
25397   eval "$as_ac_var=yes"
25398 else
25399   echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402 eval "$as_ac_var=no"
25403 fi
25404 rm -f conftest.err conftest.$ac_objext \
25405       conftest$ac_exeext conftest.$ac_ext
25406 fi
25407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25409 if test `eval echo '${'$as_ac_var'}'` = yes; then
25410   cat >>confdefs.h <<_ACEOF
25411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25412 _ACEOF
25413
25414 fi
25415 done
25416
25417   else
25418
25419   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
25420 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
25421   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25422     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
25423   echo $ECHO_N "(cached) $ECHO_C" >&6
25424 else
25425
25426
25427
25428       ac_ext=cc
25429 ac_cpp='$CXXCPP $CPPFLAGS'
25430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25433
25434       cat >conftest.$ac_ext <<_ACEOF
25435 /* confdefs.h.  */
25436 _ACEOF
25437 cat confdefs.h >>conftest.$ac_ext
25438 cat >>conftest.$ac_ext <<_ACEOF
25439 /* end confdefs.h.  */
25440 #include <math.h>
25441                       #ifdef HAVE_IEEEFP_H
25442                       #include <ieeefp.h>
25443                       #endif
25444
25445 int
25446 main ()
25447 {
25448  _log10f(0);
25449   ;
25450   return 0;
25451 }
25452 _ACEOF
25453 rm -f conftest.$ac_objext
25454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25455   (eval $ac_compile) 2>conftest.er1
25456   ac_status=$?
25457   grep -v '^ *+' conftest.er1 >conftest.err
25458   rm -f conftest.er1
25459   cat conftest.err >&5
25460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461   (exit $ac_status); } &&
25462          { ac_try='test -z "$ac_cxx_werror_flag"
25463                          || test ! -s conftest.err'
25464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465   (eval $ac_try) 2>&5
25466   ac_status=$?
25467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468   (exit $ac_status); }; } &&
25469          { ac_try='test -s conftest.$ac_objext'
25470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25471   (eval $ac_try) 2>&5
25472   ac_status=$?
25473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474   (exit $ac_status); }; }; then
25475   glibcxx_cv_func__log10f_use=yes
25476 else
25477   echo "$as_me: failed program was:" >&5
25478 sed 's/^/| /' conftest.$ac_ext >&5
25479
25480 glibcxx_cv_func__log10f_use=no
25481 fi
25482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25483       ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25488
25489
25490 fi
25491
25492   fi
25493   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25494 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25495
25496     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25497
25498 for ac_func in _log10f
25499 do
25500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25501 echo "$as_me:$LINENO: checking for $ac_func" >&5
25502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25503 if eval "test \"\${$as_ac_var+set}\" = set"; then
25504   echo $ECHO_N "(cached) $ECHO_C" >&6
25505 else
25506   if test x$gcc_no_link = xyes; then
25507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25509    { (exit 1); exit 1; }; }
25510 fi
25511 cat >conftest.$ac_ext <<_ACEOF
25512 /* confdefs.h.  */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h.  */
25517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25519 #define $ac_func innocuous_$ac_func
25520
25521 /* System header to define __stub macros and hopefully few prototypes,
25522     which can conflict with char $ac_func (); below.
25523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25524     <limits.h> exists even on freestanding compilers.  */
25525
25526 #ifdef __STDC__
25527 # include <limits.h>
25528 #else
25529 # include <assert.h>
25530 #endif
25531
25532 #undef $ac_func
25533
25534 /* Override any gcc2 internal prototype to avoid an error.  */
25535 #ifdef __cplusplus
25536 extern "C"
25537 {
25538 #endif
25539 /* We use char because int might match the return type of a gcc2
25540    builtin and then its argument prototype would still apply.  */
25541 char $ac_func ();
25542 /* The GNU C library defines this for functions which it implements
25543     to always fail with ENOSYS.  Some functions are actually named
25544     something starting with __ and the normal name is an alias.  */
25545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25546 choke me
25547 #else
25548 char (*f) () = $ac_func;
25549 #endif
25550 #ifdef __cplusplus
25551 }
25552 #endif
25553
25554 int
25555 main ()
25556 {
25557 return f != $ac_func;
25558   ;
25559   return 0;
25560 }
25561 _ACEOF
25562 rm -f conftest.$ac_objext conftest$ac_exeext
25563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25564   (eval $ac_link) 2>conftest.er1
25565   ac_status=$?
25566   grep -v '^ *+' conftest.er1 >conftest.err
25567   rm -f conftest.er1
25568   cat conftest.err >&5
25569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570   (exit $ac_status); } &&
25571          { ac_try='test -z "$ac_c_werror_flag"
25572                          || test ! -s conftest.err'
25573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25574   (eval $ac_try) 2>&5
25575   ac_status=$?
25576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577   (exit $ac_status); }; } &&
25578          { ac_try='test -s conftest$ac_exeext'
25579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580   (eval $ac_try) 2>&5
25581   ac_status=$?
25582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583   (exit $ac_status); }; }; then
25584   eval "$as_ac_var=yes"
25585 else
25586   echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25588
25589 eval "$as_ac_var=no"
25590 fi
25591 rm -f conftest.err conftest.$ac_objext \
25592       conftest$ac_exeext conftest.$ac_ext
25593 fi
25594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25596 if test `eval echo '${'$as_ac_var'}'` = yes; then
25597   cat >>confdefs.h <<_ACEOF
25598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25599 _ACEOF
25600
25601 fi
25602 done
25603
25604     fi
25605   fi
25606
25607
25608
25609
25610
25611
25612   echo "$as_me:$LINENO: checking for modff declaration" >&5
25613 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25614   if test x${glibcxx_cv_func_modff_use+set} != xset; then
25615     if test "${glibcxx_cv_func_modff_use+set}" = set; then
25616   echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618
25619
25620
25621       ac_ext=cc
25622 ac_cpp='$CXXCPP $CPPFLAGS'
25623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25626
25627       cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h.  */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h.  */
25633 #include <math.h>
25634 int
25635 main ()
25636 {
25637  modff(0, 0);
25638   ;
25639   return 0;
25640 }
25641 _ACEOF
25642 rm -f conftest.$ac_objext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644   (eval $ac_compile) 2>conftest.er1
25645   ac_status=$?
25646   grep -v '^ *+' conftest.er1 >conftest.err
25647   rm -f conftest.er1
25648   cat conftest.err >&5
25649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650   (exit $ac_status); } &&
25651          { ac_try='test -z "$ac_cxx_werror_flag"
25652                          || test ! -s conftest.err'
25653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654   (eval $ac_try) 2>&5
25655   ac_status=$?
25656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657   (exit $ac_status); }; } &&
25658          { ac_try='test -s conftest.$ac_objext'
25659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660   (eval $ac_try) 2>&5
25661   ac_status=$?
25662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663   (exit $ac_status); }; }; then
25664   glibcxx_cv_func_modff_use=yes
25665 else
25666   echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 glibcxx_cv_func_modff_use=no
25670 fi
25671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25672       ac_ext=c
25673 ac_cpp='$CPP $CPPFLAGS'
25674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25677
25678
25679 fi
25680
25681   fi
25682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25683 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25684
25685   if test x$glibcxx_cv_func_modff_use = x"yes"; then
25686
25687 for ac_func in modff
25688 do
25689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25690 echo "$as_me:$LINENO: checking for $ac_func" >&5
25691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25692 if eval "test \"\${$as_ac_var+set}\" = set"; then
25693   echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695   if test x$gcc_no_link = xyes; then
25696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25698    { (exit 1); exit 1; }; }
25699 fi
25700 cat >conftest.$ac_ext <<_ACEOF
25701 /* confdefs.h.  */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h.  */
25706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25708 #define $ac_func innocuous_$ac_func
25709
25710 /* System header to define __stub macros and hopefully few prototypes,
25711     which can conflict with char $ac_func (); below.
25712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25713     <limits.h> exists even on freestanding compilers.  */
25714
25715 #ifdef __STDC__
25716 # include <limits.h>
25717 #else
25718 # include <assert.h>
25719 #endif
25720
25721 #undef $ac_func
25722
25723 /* Override any gcc2 internal prototype to avoid an error.  */
25724 #ifdef __cplusplus
25725 extern "C"
25726 {
25727 #endif
25728 /* We use char because int might match the return type of a gcc2
25729    builtin and then its argument prototype would still apply.  */
25730 char $ac_func ();
25731 /* The GNU C library defines this for functions which it implements
25732     to always fail with ENOSYS.  Some functions are actually named
25733     something starting with __ and the normal name is an alias.  */
25734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25735 choke me
25736 #else
25737 char (*f) () = $ac_func;
25738 #endif
25739 #ifdef __cplusplus
25740 }
25741 #endif
25742
25743 int
25744 main ()
25745 {
25746 return f != $ac_func;
25747   ;
25748   return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25753   (eval $ac_link) 2>conftest.er1
25754   ac_status=$?
25755   grep -v '^ *+' conftest.er1 >conftest.err
25756   rm -f conftest.er1
25757   cat conftest.err >&5
25758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759   (exit $ac_status); } &&
25760          { ac_try='test -z "$ac_c_werror_flag"
25761                          || test ! -s conftest.err'
25762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763   (eval $ac_try) 2>&5
25764   ac_status=$?
25765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766   (exit $ac_status); }; } &&
25767          { ac_try='test -s conftest$ac_exeext'
25768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25769   (eval $ac_try) 2>&5
25770   ac_status=$?
25771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772   (exit $ac_status); }; }; then
25773   eval "$as_ac_var=yes"
25774 else
25775   echo "$as_me: failed program was:" >&5
25776 sed 's/^/| /' conftest.$ac_ext >&5
25777
25778 eval "$as_ac_var=no"
25779 fi
25780 rm -f conftest.err conftest.$ac_objext \
25781       conftest$ac_exeext conftest.$ac_ext
25782 fi
25783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25785 if test `eval echo '${'$as_ac_var'}'` = yes; then
25786   cat >>confdefs.h <<_ACEOF
25787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25788 _ACEOF
25789
25790 fi
25791 done
25792
25793   else
25794
25795   echo "$as_me:$LINENO: checking for _modff declaration" >&5
25796 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25797   if test x${glibcxx_cv_func__modff_use+set} != xset; then
25798     if test "${glibcxx_cv_func__modff_use+set}" = set; then
25799   echo $ECHO_N "(cached) $ECHO_C" >&6
25800 else
25801
25802
25803
25804       ac_ext=cc
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25809
25810       cat >conftest.$ac_ext <<_ACEOF
25811 /* confdefs.h.  */
25812 _ACEOF
25813 cat confdefs.h >>conftest.$ac_ext
25814 cat >>conftest.$ac_ext <<_ACEOF
25815 /* end confdefs.h.  */
25816 #include <math.h>
25817 int
25818 main ()
25819 {
25820  _modff(0, 0);
25821   ;
25822   return 0;
25823 }
25824 _ACEOF
25825 rm -f conftest.$ac_objext
25826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25827   (eval $ac_compile) 2>conftest.er1
25828   ac_status=$?
25829   grep -v '^ *+' conftest.er1 >conftest.err
25830   rm -f conftest.er1
25831   cat conftest.err >&5
25832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833   (exit $ac_status); } &&
25834          { ac_try='test -z "$ac_cxx_werror_flag"
25835                          || test ! -s conftest.err'
25836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837   (eval $ac_try) 2>&5
25838   ac_status=$?
25839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840   (exit $ac_status); }; } &&
25841          { ac_try='test -s conftest.$ac_objext'
25842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843   (eval $ac_try) 2>&5
25844   ac_status=$?
25845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846   (exit $ac_status); }; }; then
25847   glibcxx_cv_func__modff_use=yes
25848 else
25849   echo "$as_me: failed program was:" >&5
25850 sed 's/^/| /' conftest.$ac_ext >&5
25851
25852 glibcxx_cv_func__modff_use=no
25853 fi
25854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25855       ac_ext=c
25856 ac_cpp='$CPP $CPPFLAGS'
25857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25860
25861
25862 fi
25863
25864   fi
25865   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25866 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25867
25868     if test x$glibcxx_cv_func__modff_use = x"yes"; then
25869
25870 for ac_func in _modff
25871 do
25872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25873 echo "$as_me:$LINENO: checking for $ac_func" >&5
25874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25875 if eval "test \"\${$as_ac_var+set}\" = set"; then
25876   echo $ECHO_N "(cached) $ECHO_C" >&6
25877 else
25878   if test x$gcc_no_link = xyes; then
25879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25881    { (exit 1); exit 1; }; }
25882 fi
25883 cat >conftest.$ac_ext <<_ACEOF
25884 /* confdefs.h.  */
25885 _ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h.  */
25889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25891 #define $ac_func innocuous_$ac_func
25892
25893 /* System header to define __stub macros and hopefully few prototypes,
25894     which can conflict with char $ac_func (); below.
25895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25896     <limits.h> exists even on freestanding compilers.  */
25897
25898 #ifdef __STDC__
25899 # include <limits.h>
25900 #else
25901 # include <assert.h>
25902 #endif
25903
25904 #undef $ac_func
25905
25906 /* Override any gcc2 internal prototype to avoid an error.  */
25907 #ifdef __cplusplus
25908 extern "C"
25909 {
25910 #endif
25911 /* We use char because int might match the return type of a gcc2
25912    builtin and then its argument prototype would still apply.  */
25913 char $ac_func ();
25914 /* The GNU C library defines this for functions which it implements
25915     to always fail with ENOSYS.  Some functions are actually named
25916     something starting with __ and the normal name is an alias.  */
25917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25918 choke me
25919 #else
25920 char (*f) () = $ac_func;
25921 #endif
25922 #ifdef __cplusplus
25923 }
25924 #endif
25925
25926 int
25927 main ()
25928 {
25929 return f != $ac_func;
25930   ;
25931   return 0;
25932 }
25933 _ACEOF
25934 rm -f conftest.$ac_objext conftest$ac_exeext
25935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25936   (eval $ac_link) 2>conftest.er1
25937   ac_status=$?
25938   grep -v '^ *+' conftest.er1 >conftest.err
25939   rm -f conftest.er1
25940   cat conftest.err >&5
25941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942   (exit $ac_status); } &&
25943          { ac_try='test -z "$ac_c_werror_flag"
25944                          || test ! -s conftest.err'
25945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946   (eval $ac_try) 2>&5
25947   ac_status=$?
25948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949   (exit $ac_status); }; } &&
25950          { ac_try='test -s conftest$ac_exeext'
25951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952   (eval $ac_try) 2>&5
25953   ac_status=$?
25954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955   (exit $ac_status); }; }; then
25956   eval "$as_ac_var=yes"
25957 else
25958   echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25960
25961 eval "$as_ac_var=no"
25962 fi
25963 rm -f conftest.err conftest.$ac_objext \
25964       conftest$ac_exeext conftest.$ac_ext
25965 fi
25966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25968 if test `eval echo '${'$as_ac_var'}'` = yes; then
25969   cat >>confdefs.h <<_ACEOF
25970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25971 _ACEOF
25972
25973 fi
25974 done
25975
25976     fi
25977   fi
25978
25979
25980
25981
25982
25983
25984   echo "$as_me:$LINENO: checking for modf declaration" >&5
25985 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
25986   if test x${glibcxx_cv_func_modf_use+set} != xset; then
25987     if test "${glibcxx_cv_func_modf_use+set}" = set; then
25988   echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990
25991
25992
25993       ac_ext=cc
25994 ac_cpp='$CXXCPP $CPPFLAGS'
25995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25998
25999       cat >conftest.$ac_ext <<_ACEOF
26000 /* confdefs.h.  */
26001 _ACEOF
26002 cat confdefs.h >>conftest.$ac_ext
26003 cat >>conftest.$ac_ext <<_ACEOF
26004 /* end confdefs.h.  */
26005 #include <math.h>
26006 int
26007 main ()
26008 {
26009  modf(0, 0);
26010   ;
26011   return 0;
26012 }
26013 _ACEOF
26014 rm -f conftest.$ac_objext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26016   (eval $ac_compile) 2>conftest.er1
26017   ac_status=$?
26018   grep -v '^ *+' conftest.er1 >conftest.err
26019   rm -f conftest.er1
26020   cat conftest.err >&5
26021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022   (exit $ac_status); } &&
26023          { ac_try='test -z "$ac_cxx_werror_flag"
26024                          || test ! -s conftest.err'
26025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26026   (eval $ac_try) 2>&5
26027   ac_status=$?
26028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029   (exit $ac_status); }; } &&
26030          { ac_try='test -s conftest.$ac_objext'
26031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26032   (eval $ac_try) 2>&5
26033   ac_status=$?
26034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035   (exit $ac_status); }; }; then
26036   glibcxx_cv_func_modf_use=yes
26037 else
26038   echo "$as_me: failed program was:" >&5
26039 sed 's/^/| /' conftest.$ac_ext >&5
26040
26041 glibcxx_cv_func_modf_use=no
26042 fi
26043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26044       ac_ext=c
26045 ac_cpp='$CPP $CPPFLAGS'
26046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26049
26050
26051 fi
26052
26053   fi
26054   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26055 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26056
26057   if test x$glibcxx_cv_func_modf_use = x"yes"; then
26058
26059 for ac_func in modf
26060 do
26061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26062 echo "$as_me:$LINENO: checking for $ac_func" >&5
26063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26064 if eval "test \"\${$as_ac_var+set}\" = set"; then
26065   echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067   if test x$gcc_no_link = xyes; then
26068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26070    { (exit 1); exit 1; }; }
26071 fi
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h.  */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h.  */
26078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26080 #define $ac_func innocuous_$ac_func
26081
26082 /* System header to define __stub macros and hopefully few prototypes,
26083     which can conflict with char $ac_func (); below.
26084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26085     <limits.h> exists even on freestanding compilers.  */
26086
26087 #ifdef __STDC__
26088 # include <limits.h>
26089 #else
26090 # include <assert.h>
26091 #endif
26092
26093 #undef $ac_func
26094
26095 /* Override any gcc2 internal prototype to avoid an error.  */
26096 #ifdef __cplusplus
26097 extern "C"
26098 {
26099 #endif
26100 /* We use char because int might match the return type of a gcc2
26101    builtin and then its argument prototype would still apply.  */
26102 char $ac_func ();
26103 /* The GNU C library defines this for functions which it implements
26104     to always fail with ENOSYS.  Some functions are actually named
26105     something starting with __ and the normal name is an alias.  */
26106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26107 choke me
26108 #else
26109 char (*f) () = $ac_func;
26110 #endif
26111 #ifdef __cplusplus
26112 }
26113 #endif
26114
26115 int
26116 main ()
26117 {
26118 return f != $ac_func;
26119   ;
26120   return 0;
26121 }
26122 _ACEOF
26123 rm -f conftest.$ac_objext conftest$ac_exeext
26124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26125   (eval $ac_link) 2>conftest.er1
26126   ac_status=$?
26127   grep -v '^ *+' conftest.er1 >conftest.err
26128   rm -f conftest.er1
26129   cat conftest.err >&5
26130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131   (exit $ac_status); } &&
26132          { ac_try='test -z "$ac_c_werror_flag"
26133                          || test ! -s conftest.err'
26134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135   (eval $ac_try) 2>&5
26136   ac_status=$?
26137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138   (exit $ac_status); }; } &&
26139          { ac_try='test -s conftest$ac_exeext'
26140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141   (eval $ac_try) 2>&5
26142   ac_status=$?
26143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144   (exit $ac_status); }; }; then
26145   eval "$as_ac_var=yes"
26146 else
26147   echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150 eval "$as_ac_var=no"
26151 fi
26152 rm -f conftest.err conftest.$ac_objext \
26153       conftest$ac_exeext conftest.$ac_ext
26154 fi
26155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26157 if test `eval echo '${'$as_ac_var'}'` = yes; then
26158   cat >>confdefs.h <<_ACEOF
26159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26160 _ACEOF
26161
26162 fi
26163 done
26164
26165   else
26166
26167   echo "$as_me:$LINENO: checking for _modf declaration" >&5
26168 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26169   if test x${glibcxx_cv_func__modf_use+set} != xset; then
26170     if test "${glibcxx_cv_func__modf_use+set}" = set; then
26171   echo $ECHO_N "(cached) $ECHO_C" >&6
26172 else
26173
26174
26175
26176       ac_ext=cc
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26181
26182       cat >conftest.$ac_ext <<_ACEOF
26183 /* confdefs.h.  */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h.  */
26188 #include <math.h>
26189 int
26190 main ()
26191 {
26192  _modf(0, 0);
26193   ;
26194   return 0;
26195 }
26196 _ACEOF
26197 rm -f conftest.$ac_objext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26199   (eval $ac_compile) 2>conftest.er1
26200   ac_status=$?
26201   grep -v '^ *+' conftest.er1 >conftest.err
26202   rm -f conftest.er1
26203   cat conftest.err >&5
26204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205   (exit $ac_status); } &&
26206          { ac_try='test -z "$ac_cxx_werror_flag"
26207                          || test ! -s conftest.err'
26208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209   (eval $ac_try) 2>&5
26210   ac_status=$?
26211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212   (exit $ac_status); }; } &&
26213          { ac_try='test -s conftest.$ac_objext'
26214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215   (eval $ac_try) 2>&5
26216   ac_status=$?
26217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218   (exit $ac_status); }; }; then
26219   glibcxx_cv_func__modf_use=yes
26220 else
26221   echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 glibcxx_cv_func__modf_use=no
26225 fi
26226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26227       ac_ext=c
26228 ac_cpp='$CPP $CPPFLAGS'
26229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26232
26233
26234 fi
26235
26236   fi
26237   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
26238 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
26239
26240     if test x$glibcxx_cv_func__modf_use = x"yes"; then
26241
26242 for ac_func in _modf
26243 do
26244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26245 echo "$as_me:$LINENO: checking for $ac_func" >&5
26246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26247 if eval "test \"\${$as_ac_var+set}\" = set"; then
26248   echo $ECHO_N "(cached) $ECHO_C" >&6
26249 else
26250   if test x$gcc_no_link = xyes; then
26251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26253    { (exit 1); exit 1; }; }
26254 fi
26255 cat >conftest.$ac_ext <<_ACEOF
26256 /* confdefs.h.  */
26257 _ACEOF
26258 cat confdefs.h >>conftest.$ac_ext
26259 cat >>conftest.$ac_ext <<_ACEOF
26260 /* end confdefs.h.  */
26261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26263 #define $ac_func innocuous_$ac_func
26264
26265 /* System header to define __stub macros and hopefully few prototypes,
26266     which can conflict with char $ac_func (); below.
26267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26268     <limits.h> exists even on freestanding compilers.  */
26269
26270 #ifdef __STDC__
26271 # include <limits.h>
26272 #else
26273 # include <assert.h>
26274 #endif
26275
26276 #undef $ac_func
26277
26278 /* Override any gcc2 internal prototype to avoid an error.  */
26279 #ifdef __cplusplus
26280 extern "C"
26281 {
26282 #endif
26283 /* We use char because int might match the return type of a gcc2
26284    builtin and then its argument prototype would still apply.  */
26285 char $ac_func ();
26286 /* The GNU C library defines this for functions which it implements
26287     to always fail with ENOSYS.  Some functions are actually named
26288     something starting with __ and the normal name is an alias.  */
26289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26290 choke me
26291 #else
26292 char (*f) () = $ac_func;
26293 #endif
26294 #ifdef __cplusplus
26295 }
26296 #endif
26297
26298 int
26299 main ()
26300 {
26301 return f != $ac_func;
26302   ;
26303   return 0;
26304 }
26305 _ACEOF
26306 rm -f conftest.$ac_objext conftest$ac_exeext
26307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26308   (eval $ac_link) 2>conftest.er1
26309   ac_status=$?
26310   grep -v '^ *+' conftest.er1 >conftest.err
26311   rm -f conftest.er1
26312   cat conftest.err >&5
26313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314   (exit $ac_status); } &&
26315          { ac_try='test -z "$ac_c_werror_flag"
26316                          || test ! -s conftest.err'
26317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318   (eval $ac_try) 2>&5
26319   ac_status=$?
26320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321   (exit $ac_status); }; } &&
26322          { ac_try='test -s conftest$ac_exeext'
26323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324   (eval $ac_try) 2>&5
26325   ac_status=$?
26326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327   (exit $ac_status); }; }; then
26328   eval "$as_ac_var=yes"
26329 else
26330   echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 eval "$as_ac_var=no"
26334 fi
26335 rm -f conftest.err conftest.$ac_objext \
26336       conftest$ac_exeext conftest.$ac_ext
26337 fi
26338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26340 if test `eval echo '${'$as_ac_var'}'` = yes; then
26341   cat >>confdefs.h <<_ACEOF
26342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26343 _ACEOF
26344
26345 fi
26346 done
26347
26348     fi
26349   fi
26350
26351
26352
26353
26354
26355
26356   echo "$as_me:$LINENO: checking for powf declaration" >&5
26357 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
26358   if test x${glibcxx_cv_func_powf_use+set} != xset; then
26359     if test "${glibcxx_cv_func_powf_use+set}" = set; then
26360   echo $ECHO_N "(cached) $ECHO_C" >&6
26361 else
26362
26363
26364
26365       ac_ext=cc
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370
26371       cat >conftest.$ac_ext <<_ACEOF
26372 /* confdefs.h.  */
26373 _ACEOF
26374 cat confdefs.h >>conftest.$ac_ext
26375 cat >>conftest.$ac_ext <<_ACEOF
26376 /* end confdefs.h.  */
26377 #include <math.h>
26378 int
26379 main ()
26380 {
26381  powf(0, 0);
26382   ;
26383   return 0;
26384 }
26385 _ACEOF
26386 rm -f conftest.$ac_objext
26387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26388   (eval $ac_compile) 2>conftest.er1
26389   ac_status=$?
26390   grep -v '^ *+' conftest.er1 >conftest.err
26391   rm -f conftest.er1
26392   cat conftest.err >&5
26393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394   (exit $ac_status); } &&
26395          { ac_try='test -z "$ac_cxx_werror_flag"
26396                          || test ! -s conftest.err'
26397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398   (eval $ac_try) 2>&5
26399   ac_status=$?
26400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401   (exit $ac_status); }; } &&
26402          { ac_try='test -s conftest.$ac_objext'
26403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404   (eval $ac_try) 2>&5
26405   ac_status=$?
26406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407   (exit $ac_status); }; }; then
26408   glibcxx_cv_func_powf_use=yes
26409 else
26410   echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26412
26413 glibcxx_cv_func_powf_use=no
26414 fi
26415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26416       ac_ext=c
26417 ac_cpp='$CPP $CPPFLAGS'
26418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421
26422
26423 fi
26424
26425   fi
26426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
26427 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
26428
26429   if test x$glibcxx_cv_func_powf_use = x"yes"; then
26430
26431 for ac_func in powf
26432 do
26433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26434 echo "$as_me:$LINENO: checking for $ac_func" >&5
26435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26436 if eval "test \"\${$as_ac_var+set}\" = set"; then
26437   echo $ECHO_N "(cached) $ECHO_C" >&6
26438 else
26439   if test x$gcc_no_link = xyes; then
26440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26442    { (exit 1); exit 1; }; }
26443 fi
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h.  */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h.  */
26450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26452 #define $ac_func innocuous_$ac_func
26453
26454 /* System header to define __stub macros and hopefully few prototypes,
26455     which can conflict with char $ac_func (); below.
26456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26457     <limits.h> exists even on freestanding compilers.  */
26458
26459 #ifdef __STDC__
26460 # include <limits.h>
26461 #else
26462 # include <assert.h>
26463 #endif
26464
26465 #undef $ac_func
26466
26467 /* Override any gcc2 internal prototype to avoid an error.  */
26468 #ifdef __cplusplus
26469 extern "C"
26470 {
26471 #endif
26472 /* We use char because int might match the return type of a gcc2
26473    builtin and then its argument prototype would still apply.  */
26474 char $ac_func ();
26475 /* The GNU C library defines this for functions which it implements
26476     to always fail with ENOSYS.  Some functions are actually named
26477     something starting with __ and the normal name is an alias.  */
26478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26479 choke me
26480 #else
26481 char (*f) () = $ac_func;
26482 #endif
26483 #ifdef __cplusplus
26484 }
26485 #endif
26486
26487 int
26488 main ()
26489 {
26490 return f != $ac_func;
26491   ;
26492   return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext conftest$ac_exeext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497   (eval $ac_link) 2>conftest.er1
26498   ac_status=$?
26499   grep -v '^ *+' conftest.er1 >conftest.err
26500   rm -f conftest.er1
26501   cat conftest.err >&5
26502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503   (exit $ac_status); } &&
26504          { ac_try='test -z "$ac_c_werror_flag"
26505                          || test ! -s conftest.err'
26506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26507   (eval $ac_try) 2>&5
26508   ac_status=$?
26509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510   (exit $ac_status); }; } &&
26511          { ac_try='test -s conftest$ac_exeext'
26512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513   (eval $ac_try) 2>&5
26514   ac_status=$?
26515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516   (exit $ac_status); }; }; then
26517   eval "$as_ac_var=yes"
26518 else
26519   echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26521
26522 eval "$as_ac_var=no"
26523 fi
26524 rm -f conftest.err conftest.$ac_objext \
26525       conftest$ac_exeext conftest.$ac_ext
26526 fi
26527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26529 if test `eval echo '${'$as_ac_var'}'` = yes; then
26530   cat >>confdefs.h <<_ACEOF
26531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26532 _ACEOF
26533
26534 fi
26535 done
26536
26537   else
26538
26539   echo "$as_me:$LINENO: checking for _powf declaration" >&5
26540 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26541   if test x${glibcxx_cv_func__powf_use+set} != xset; then
26542     if test "${glibcxx_cv_func__powf_use+set}" = set; then
26543   echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26545
26546
26547
26548       ac_ext=cc
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26553
26554       cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h.  */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h.  */
26560 #include <math.h>
26561 int
26562 main ()
26563 {
26564  _powf(0, 0);
26565   ;
26566   return 0;
26567 }
26568 _ACEOF
26569 rm -f conftest.$ac_objext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26571   (eval $ac_compile) 2>conftest.er1
26572   ac_status=$?
26573   grep -v '^ *+' conftest.er1 >conftest.err
26574   rm -f conftest.er1
26575   cat conftest.err >&5
26576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577   (exit $ac_status); } &&
26578          { ac_try='test -z "$ac_cxx_werror_flag"
26579                          || test ! -s conftest.err'
26580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581   (eval $ac_try) 2>&5
26582   ac_status=$?
26583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584   (exit $ac_status); }; } &&
26585          { ac_try='test -s conftest.$ac_objext'
26586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587   (eval $ac_try) 2>&5
26588   ac_status=$?
26589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590   (exit $ac_status); }; }; then
26591   glibcxx_cv_func__powf_use=yes
26592 else
26593   echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.$ac_ext >&5
26595
26596 glibcxx_cv_func__powf_use=no
26597 fi
26598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26599       ac_ext=c
26600 ac_cpp='$CPP $CPPFLAGS'
26601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26604
26605
26606 fi
26607
26608   fi
26609   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26610 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26611
26612     if test x$glibcxx_cv_func__powf_use = x"yes"; then
26613
26614 for ac_func in _powf
26615 do
26616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26617 echo "$as_me:$LINENO: checking for $ac_func" >&5
26618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26619 if eval "test \"\${$as_ac_var+set}\" = set"; then
26620   echo $ECHO_N "(cached) $ECHO_C" >&6
26621 else
26622   if test x$gcc_no_link = xyes; then
26623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26625    { (exit 1); exit 1; }; }
26626 fi
26627 cat >conftest.$ac_ext <<_ACEOF
26628 /* confdefs.h.  */
26629 _ACEOF
26630 cat confdefs.h >>conftest.$ac_ext
26631 cat >>conftest.$ac_ext <<_ACEOF
26632 /* end confdefs.h.  */
26633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26635 #define $ac_func innocuous_$ac_func
26636
26637 /* System header to define __stub macros and hopefully few prototypes,
26638     which can conflict with char $ac_func (); below.
26639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26640     <limits.h> exists even on freestanding compilers.  */
26641
26642 #ifdef __STDC__
26643 # include <limits.h>
26644 #else
26645 # include <assert.h>
26646 #endif
26647
26648 #undef $ac_func
26649
26650 /* Override any gcc2 internal prototype to avoid an error.  */
26651 #ifdef __cplusplus
26652 extern "C"
26653 {
26654 #endif
26655 /* We use char because int might match the return type of a gcc2
26656    builtin and then its argument prototype would still apply.  */
26657 char $ac_func ();
26658 /* The GNU C library defines this for functions which it implements
26659     to always fail with ENOSYS.  Some functions are actually named
26660     something starting with __ and the normal name is an alias.  */
26661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26662 choke me
26663 #else
26664 char (*f) () = $ac_func;
26665 #endif
26666 #ifdef __cplusplus
26667 }
26668 #endif
26669
26670 int
26671 main ()
26672 {
26673 return f != $ac_func;
26674   ;
26675   return 0;
26676 }
26677 _ACEOF
26678 rm -f conftest.$ac_objext conftest$ac_exeext
26679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26680   (eval $ac_link) 2>conftest.er1
26681   ac_status=$?
26682   grep -v '^ *+' conftest.er1 >conftest.err
26683   rm -f conftest.er1
26684   cat conftest.err >&5
26685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686   (exit $ac_status); } &&
26687          { ac_try='test -z "$ac_c_werror_flag"
26688                          || test ! -s conftest.err'
26689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26690   (eval $ac_try) 2>&5
26691   ac_status=$?
26692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693   (exit $ac_status); }; } &&
26694          { ac_try='test -s conftest$ac_exeext'
26695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696   (eval $ac_try) 2>&5
26697   ac_status=$?
26698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699   (exit $ac_status); }; }; then
26700   eval "$as_ac_var=yes"
26701 else
26702   echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 eval "$as_ac_var=no"
26706 fi
26707 rm -f conftest.err conftest.$ac_objext \
26708       conftest$ac_exeext conftest.$ac_ext
26709 fi
26710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26712 if test `eval echo '${'$as_ac_var'}'` = yes; then
26713   cat >>confdefs.h <<_ACEOF
26714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26715 _ACEOF
26716
26717 fi
26718 done
26719
26720     fi
26721   fi
26722
26723
26724
26725
26726
26727
26728   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26729 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26730   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26731     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26732   echo $ECHO_N "(cached) $ECHO_C" >&6
26733 else
26734
26735
26736
26737       ac_ext=cc
26738 ac_cpp='$CXXCPP $CPPFLAGS'
26739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26742
26743       cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h.  */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h.  */
26749 #include <math.h>
26750                       #ifdef HAVE_IEEEFP_H
26751                       #include <ieeefp.h>
26752                       #endif
26753
26754 int
26755 main ()
26756 {
26757  sqrtf(0);
26758   ;
26759   return 0;
26760 }
26761 _ACEOF
26762 rm -f conftest.$ac_objext
26763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26764   (eval $ac_compile) 2>conftest.er1
26765   ac_status=$?
26766   grep -v '^ *+' conftest.er1 >conftest.err
26767   rm -f conftest.er1
26768   cat conftest.err >&5
26769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770   (exit $ac_status); } &&
26771          { ac_try='test -z "$ac_cxx_werror_flag"
26772                          || test ! -s conftest.err'
26773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26774   (eval $ac_try) 2>&5
26775   ac_status=$?
26776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777   (exit $ac_status); }; } &&
26778          { ac_try='test -s conftest.$ac_objext'
26779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780   (eval $ac_try) 2>&5
26781   ac_status=$?
26782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783   (exit $ac_status); }; }; then
26784   glibcxx_cv_func_sqrtf_use=yes
26785 else
26786   echo "$as_me: failed program was:" >&5
26787 sed 's/^/| /' conftest.$ac_ext >&5
26788
26789 glibcxx_cv_func_sqrtf_use=no
26790 fi
26791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26792       ac_ext=c
26793 ac_cpp='$CPP $CPPFLAGS'
26794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26797
26798
26799 fi
26800
26801   fi
26802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26803 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26804
26805   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26806
26807 for ac_func in sqrtf
26808 do
26809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26810 echo "$as_me:$LINENO: checking for $ac_func" >&5
26811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26812 if eval "test \"\${$as_ac_var+set}\" = set"; then
26813   echo $ECHO_N "(cached) $ECHO_C" >&6
26814 else
26815   if test x$gcc_no_link = xyes; then
26816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26818    { (exit 1); exit 1; }; }
26819 fi
26820 cat >conftest.$ac_ext <<_ACEOF
26821 /* confdefs.h.  */
26822 _ACEOF
26823 cat confdefs.h >>conftest.$ac_ext
26824 cat >>conftest.$ac_ext <<_ACEOF
26825 /* end confdefs.h.  */
26826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26828 #define $ac_func innocuous_$ac_func
26829
26830 /* System header to define __stub macros and hopefully few prototypes,
26831     which can conflict with char $ac_func (); below.
26832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26833     <limits.h> exists even on freestanding compilers.  */
26834
26835 #ifdef __STDC__
26836 # include <limits.h>
26837 #else
26838 # include <assert.h>
26839 #endif
26840
26841 #undef $ac_func
26842
26843 /* Override any gcc2 internal prototype to avoid an error.  */
26844 #ifdef __cplusplus
26845 extern "C"
26846 {
26847 #endif
26848 /* We use char because int might match the return type of a gcc2
26849    builtin and then its argument prototype would still apply.  */
26850 char $ac_func ();
26851 /* The GNU C library defines this for functions which it implements
26852     to always fail with ENOSYS.  Some functions are actually named
26853     something starting with __ and the normal name is an alias.  */
26854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26855 choke me
26856 #else
26857 char (*f) () = $ac_func;
26858 #endif
26859 #ifdef __cplusplus
26860 }
26861 #endif
26862
26863 int
26864 main ()
26865 {
26866 return f != $ac_func;
26867   ;
26868   return 0;
26869 }
26870 _ACEOF
26871 rm -f conftest.$ac_objext conftest$ac_exeext
26872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26873   (eval $ac_link) 2>conftest.er1
26874   ac_status=$?
26875   grep -v '^ *+' conftest.er1 >conftest.err
26876   rm -f conftest.er1
26877   cat conftest.err >&5
26878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879   (exit $ac_status); } &&
26880          { ac_try='test -z "$ac_c_werror_flag"
26881                          || test ! -s conftest.err'
26882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26883   (eval $ac_try) 2>&5
26884   ac_status=$?
26885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886   (exit $ac_status); }; } &&
26887          { ac_try='test -s conftest$ac_exeext'
26888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889   (eval $ac_try) 2>&5
26890   ac_status=$?
26891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892   (exit $ac_status); }; }; then
26893   eval "$as_ac_var=yes"
26894 else
26895   echo "$as_me: failed program was:" >&5
26896 sed 's/^/| /' conftest.$ac_ext >&5
26897
26898 eval "$as_ac_var=no"
26899 fi
26900 rm -f conftest.err conftest.$ac_objext \
26901       conftest$ac_exeext conftest.$ac_ext
26902 fi
26903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26905 if test `eval echo '${'$as_ac_var'}'` = yes; then
26906   cat >>confdefs.h <<_ACEOF
26907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26908 _ACEOF
26909
26910 fi
26911 done
26912
26913   else
26914
26915   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26916 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26917   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26918     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26919   echo $ECHO_N "(cached) $ECHO_C" >&6
26920 else
26921
26922
26923
26924       ac_ext=cc
26925 ac_cpp='$CXXCPP $CPPFLAGS'
26926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26929
26930       cat >conftest.$ac_ext <<_ACEOF
26931 /* confdefs.h.  */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h.  */
26936 #include <math.h>
26937                       #ifdef HAVE_IEEEFP_H
26938                       #include <ieeefp.h>
26939                       #endif
26940
26941 int
26942 main ()
26943 {
26944  _sqrtf(0);
26945   ;
26946   return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951   (eval $ac_compile) 2>conftest.er1
26952   ac_status=$?
26953   grep -v '^ *+' conftest.er1 >conftest.err
26954   rm -f conftest.er1
26955   cat conftest.err >&5
26956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957   (exit $ac_status); } &&
26958          { ac_try='test -z "$ac_cxx_werror_flag"
26959                          || test ! -s conftest.err'
26960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961   (eval $ac_try) 2>&5
26962   ac_status=$?
26963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964   (exit $ac_status); }; } &&
26965          { ac_try='test -s conftest.$ac_objext'
26966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967   (eval $ac_try) 2>&5
26968   ac_status=$?
26969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970   (exit $ac_status); }; }; then
26971   glibcxx_cv_func__sqrtf_use=yes
26972 else
26973   echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 glibcxx_cv_func__sqrtf_use=no
26977 fi
26978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26979       ac_ext=c
26980 ac_cpp='$CPP $CPPFLAGS'
26981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26984
26985
26986 fi
26987
26988   fi
26989   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26990 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26991
26992     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26993
26994 for ac_func in _sqrtf
26995 do
26996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26997 echo "$as_me:$LINENO: checking for $ac_func" >&5
26998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26999 if eval "test \"\${$as_ac_var+set}\" = set"; then
27000   echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002   if test x$gcc_no_link = xyes; then
27003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27005    { (exit 1); exit 1; }; }
27006 fi
27007 cat >conftest.$ac_ext <<_ACEOF
27008 /* confdefs.h.  */
27009 _ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h.  */
27013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27014    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27015 #define $ac_func innocuous_$ac_func
27016
27017 /* System header to define __stub macros and hopefully few prototypes,
27018     which can conflict with char $ac_func (); below.
27019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27020     <limits.h> exists even on freestanding compilers.  */
27021
27022 #ifdef __STDC__
27023 # include <limits.h>
27024 #else
27025 # include <assert.h>
27026 #endif
27027
27028 #undef $ac_func
27029
27030 /* Override any gcc2 internal prototype to avoid an error.  */
27031 #ifdef __cplusplus
27032 extern "C"
27033 {
27034 #endif
27035 /* We use char because int might match the return type of a gcc2
27036    builtin and then its argument prototype would still apply.  */
27037 char $ac_func ();
27038 /* The GNU C library defines this for functions which it implements
27039     to always fail with ENOSYS.  Some functions are actually named
27040     something starting with __ and the normal name is an alias.  */
27041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27042 choke me
27043 #else
27044 char (*f) () = $ac_func;
27045 #endif
27046 #ifdef __cplusplus
27047 }
27048 #endif
27049
27050 int
27051 main ()
27052 {
27053 return f != $ac_func;
27054   ;
27055   return 0;
27056 }
27057 _ACEOF
27058 rm -f conftest.$ac_objext conftest$ac_exeext
27059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27060   (eval $ac_link) 2>conftest.er1
27061   ac_status=$?
27062   grep -v '^ *+' conftest.er1 >conftest.err
27063   rm -f conftest.er1
27064   cat conftest.err >&5
27065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066   (exit $ac_status); } &&
27067          { ac_try='test -z "$ac_c_werror_flag"
27068                          || test ! -s conftest.err'
27069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070   (eval $ac_try) 2>&5
27071   ac_status=$?
27072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073   (exit $ac_status); }; } &&
27074          { ac_try='test -s conftest$ac_exeext'
27075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076   (eval $ac_try) 2>&5
27077   ac_status=$?
27078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079   (exit $ac_status); }; }; then
27080   eval "$as_ac_var=yes"
27081 else
27082   echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085 eval "$as_ac_var=no"
27086 fi
27087 rm -f conftest.err conftest.$ac_objext \
27088       conftest$ac_exeext conftest.$ac_ext
27089 fi
27090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27092 if test `eval echo '${'$as_ac_var'}'` = yes; then
27093   cat >>confdefs.h <<_ACEOF
27094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27095 _ACEOF
27096
27097 fi
27098 done
27099
27100     fi
27101   fi
27102
27103
27104
27105
27106
27107
27108   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27109 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27110   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27111     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27112   echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114
27115
27116
27117       ac_ext=cc
27118 ac_cpp='$CXXCPP $CPPFLAGS'
27119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27122
27123       cat >conftest.$ac_ext <<_ACEOF
27124 /* confdefs.h.  */
27125 _ACEOF
27126 cat confdefs.h >>conftest.$ac_ext
27127 cat >>conftest.$ac_ext <<_ACEOF
27128 /* end confdefs.h.  */
27129 #include <math.h>
27130 int
27131 main ()
27132 {
27133  sincosf(0, 0, 0);
27134   ;
27135   return 0;
27136 }
27137 _ACEOF
27138 rm -f conftest.$ac_objext
27139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27140   (eval $ac_compile) 2>conftest.er1
27141   ac_status=$?
27142   grep -v '^ *+' conftest.er1 >conftest.err
27143   rm -f conftest.er1
27144   cat conftest.err >&5
27145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146   (exit $ac_status); } &&
27147          { ac_try='test -z "$ac_cxx_werror_flag"
27148                          || test ! -s conftest.err'
27149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150   (eval $ac_try) 2>&5
27151   ac_status=$?
27152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153   (exit $ac_status); }; } &&
27154          { ac_try='test -s conftest.$ac_objext'
27155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27156   (eval $ac_try) 2>&5
27157   ac_status=$?
27158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159   (exit $ac_status); }; }; then
27160   glibcxx_cv_func_sincosf_use=yes
27161 else
27162   echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.$ac_ext >&5
27164
27165 glibcxx_cv_func_sincosf_use=no
27166 fi
27167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27168       ac_ext=c
27169 ac_cpp='$CPP $CPPFLAGS'
27170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173
27174
27175 fi
27176
27177   fi
27178   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27179 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27180
27181   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27182
27183 for ac_func in sincosf
27184 do
27185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27186 echo "$as_me:$LINENO: checking for $ac_func" >&5
27187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27188 if eval "test \"\${$as_ac_var+set}\" = set"; then
27189   echo $ECHO_N "(cached) $ECHO_C" >&6
27190 else
27191   if test x$gcc_no_link = xyes; then
27192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27194    { (exit 1); exit 1; }; }
27195 fi
27196 cat >conftest.$ac_ext <<_ACEOF
27197 /* confdefs.h.  */
27198 _ACEOF
27199 cat confdefs.h >>conftest.$ac_ext
27200 cat >>conftest.$ac_ext <<_ACEOF
27201 /* end confdefs.h.  */
27202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27204 #define $ac_func innocuous_$ac_func
27205
27206 /* System header to define __stub macros and hopefully few prototypes,
27207     which can conflict with char $ac_func (); below.
27208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27209     <limits.h> exists even on freestanding compilers.  */
27210
27211 #ifdef __STDC__
27212 # include <limits.h>
27213 #else
27214 # include <assert.h>
27215 #endif
27216
27217 #undef $ac_func
27218
27219 /* Override any gcc2 internal prototype to avoid an error.  */
27220 #ifdef __cplusplus
27221 extern "C"
27222 {
27223 #endif
27224 /* We use char because int might match the return type of a gcc2
27225    builtin and then its argument prototype would still apply.  */
27226 char $ac_func ();
27227 /* The GNU C library defines this for functions which it implements
27228     to always fail with ENOSYS.  Some functions are actually named
27229     something starting with __ and the normal name is an alias.  */
27230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27231 choke me
27232 #else
27233 char (*f) () = $ac_func;
27234 #endif
27235 #ifdef __cplusplus
27236 }
27237 #endif
27238
27239 int
27240 main ()
27241 {
27242 return f != $ac_func;
27243   ;
27244   return 0;
27245 }
27246 _ACEOF
27247 rm -f conftest.$ac_objext conftest$ac_exeext
27248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27249   (eval $ac_link) 2>conftest.er1
27250   ac_status=$?
27251   grep -v '^ *+' conftest.er1 >conftest.err
27252   rm -f conftest.er1
27253   cat conftest.err >&5
27254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255   (exit $ac_status); } &&
27256          { ac_try='test -z "$ac_c_werror_flag"
27257                          || test ! -s conftest.err'
27258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27259   (eval $ac_try) 2>&5
27260   ac_status=$?
27261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262   (exit $ac_status); }; } &&
27263          { ac_try='test -s conftest$ac_exeext'
27264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265   (eval $ac_try) 2>&5
27266   ac_status=$?
27267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268   (exit $ac_status); }; }; then
27269   eval "$as_ac_var=yes"
27270 else
27271   echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 eval "$as_ac_var=no"
27275 fi
27276 rm -f conftest.err conftest.$ac_objext \
27277       conftest$ac_exeext conftest.$ac_ext
27278 fi
27279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27281 if test `eval echo '${'$as_ac_var'}'` = yes; then
27282   cat >>confdefs.h <<_ACEOF
27283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27284 _ACEOF
27285
27286 fi
27287 done
27288
27289   else
27290
27291   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
27292 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
27293   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
27294     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
27295   echo $ECHO_N "(cached) $ECHO_C" >&6
27296 else
27297
27298
27299
27300       ac_ext=cc
27301 ac_cpp='$CXXCPP $CPPFLAGS'
27302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27305
27306       cat >conftest.$ac_ext <<_ACEOF
27307 /* confdefs.h.  */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h.  */
27312 #include <math.h>
27313 int
27314 main ()
27315 {
27316  _sincosf(0, 0, 0);
27317   ;
27318   return 0;
27319 }
27320 _ACEOF
27321 rm -f conftest.$ac_objext
27322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27323   (eval $ac_compile) 2>conftest.er1
27324   ac_status=$?
27325   grep -v '^ *+' conftest.er1 >conftest.err
27326   rm -f conftest.er1
27327   cat conftest.err >&5
27328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329   (exit $ac_status); } &&
27330          { ac_try='test -z "$ac_cxx_werror_flag"
27331                          || test ! -s conftest.err'
27332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333   (eval $ac_try) 2>&5
27334   ac_status=$?
27335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336   (exit $ac_status); }; } &&
27337          { ac_try='test -s conftest.$ac_objext'
27338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27339   (eval $ac_try) 2>&5
27340   ac_status=$?
27341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342   (exit $ac_status); }; }; then
27343   glibcxx_cv_func__sincosf_use=yes
27344 else
27345   echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27347
27348 glibcxx_cv_func__sincosf_use=no
27349 fi
27350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27351       ac_ext=c
27352 ac_cpp='$CPP $CPPFLAGS'
27353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27356
27357
27358 fi
27359
27360   fi
27361   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
27362 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
27363
27364     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
27365
27366 for ac_func in _sincosf
27367 do
27368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27369 echo "$as_me:$LINENO: checking for $ac_func" >&5
27370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27371 if eval "test \"\${$as_ac_var+set}\" = set"; then
27372   echo $ECHO_N "(cached) $ECHO_C" >&6
27373 else
27374   if test x$gcc_no_link = xyes; then
27375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27377    { (exit 1); exit 1; }; }
27378 fi
27379 cat >conftest.$ac_ext <<_ACEOF
27380 /* confdefs.h.  */
27381 _ACEOF
27382 cat confdefs.h >>conftest.$ac_ext
27383 cat >>conftest.$ac_ext <<_ACEOF
27384 /* end confdefs.h.  */
27385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27387 #define $ac_func innocuous_$ac_func
27388
27389 /* System header to define __stub macros and hopefully few prototypes,
27390     which can conflict with char $ac_func (); below.
27391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27392     <limits.h> exists even on freestanding compilers.  */
27393
27394 #ifdef __STDC__
27395 # include <limits.h>
27396 #else
27397 # include <assert.h>
27398 #endif
27399
27400 #undef $ac_func
27401
27402 /* Override any gcc2 internal prototype to avoid an error.  */
27403 #ifdef __cplusplus
27404 extern "C"
27405 {
27406 #endif
27407 /* We use char because int might match the return type of a gcc2
27408    builtin and then its argument prototype would still apply.  */
27409 char $ac_func ();
27410 /* The GNU C library defines this for functions which it implements
27411     to always fail with ENOSYS.  Some functions are actually named
27412     something starting with __ and the normal name is an alias.  */
27413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27414 choke me
27415 #else
27416 char (*f) () = $ac_func;
27417 #endif
27418 #ifdef __cplusplus
27419 }
27420 #endif
27421
27422 int
27423 main ()
27424 {
27425 return f != $ac_func;
27426   ;
27427   return 0;
27428 }
27429 _ACEOF
27430 rm -f conftest.$ac_objext conftest$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432   (eval $ac_link) 2>conftest.er1
27433   ac_status=$?
27434   grep -v '^ *+' conftest.er1 >conftest.err
27435   rm -f conftest.er1
27436   cat conftest.err >&5
27437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438   (exit $ac_status); } &&
27439          { ac_try='test -z "$ac_c_werror_flag"
27440                          || test ! -s conftest.err'
27441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442   (eval $ac_try) 2>&5
27443   ac_status=$?
27444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445   (exit $ac_status); }; } &&
27446          { ac_try='test -s conftest$ac_exeext'
27447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448   (eval $ac_try) 2>&5
27449   ac_status=$?
27450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451   (exit $ac_status); }; }; then
27452   eval "$as_ac_var=yes"
27453 else
27454   echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27456
27457 eval "$as_ac_var=no"
27458 fi
27459 rm -f conftest.err conftest.$ac_objext \
27460       conftest$ac_exeext conftest.$ac_ext
27461 fi
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27464 if test `eval echo '${'$as_ac_var'}'` = yes; then
27465   cat >>confdefs.h <<_ACEOF
27466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27467 _ACEOF
27468
27469 fi
27470 done
27471
27472     fi
27473   fi
27474
27475
27476
27477
27478
27479
27480   echo "$as_me:$LINENO: checking for finitef declaration" >&5
27481 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27482   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27483     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27484   echo $ECHO_N "(cached) $ECHO_C" >&6
27485 else
27486
27487
27488
27489       ac_ext=cc
27490 ac_cpp='$CXXCPP $CPPFLAGS'
27491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27494
27495       cat >conftest.$ac_ext <<_ACEOF
27496 /* confdefs.h.  */
27497 _ACEOF
27498 cat confdefs.h >>conftest.$ac_ext
27499 cat >>conftest.$ac_ext <<_ACEOF
27500 /* end confdefs.h.  */
27501 #include <math.h>
27502                       #ifdef HAVE_IEEEFP_H
27503                       #include <ieeefp.h>
27504                       #endif
27505
27506 int
27507 main ()
27508 {
27509  finitef(0);
27510   ;
27511   return 0;
27512 }
27513 _ACEOF
27514 rm -f conftest.$ac_objext
27515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27516   (eval $ac_compile) 2>conftest.er1
27517   ac_status=$?
27518   grep -v '^ *+' conftest.er1 >conftest.err
27519   rm -f conftest.er1
27520   cat conftest.err >&5
27521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522   (exit $ac_status); } &&
27523          { ac_try='test -z "$ac_cxx_werror_flag"
27524                          || test ! -s conftest.err'
27525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526   (eval $ac_try) 2>&5
27527   ac_status=$?
27528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529   (exit $ac_status); }; } &&
27530          { ac_try='test -s conftest.$ac_objext'
27531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532   (eval $ac_try) 2>&5
27533   ac_status=$?
27534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535   (exit $ac_status); }; }; then
27536   glibcxx_cv_func_finitef_use=yes
27537 else
27538   echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.$ac_ext >&5
27540
27541 glibcxx_cv_func_finitef_use=no
27542 fi
27543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27544       ac_ext=c
27545 ac_cpp='$CPP $CPPFLAGS'
27546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27549
27550
27551 fi
27552
27553   fi
27554   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27555 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27556
27557   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27558
27559 for ac_func in finitef
27560 do
27561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27562 echo "$as_me:$LINENO: checking for $ac_func" >&5
27563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27564 if eval "test \"\${$as_ac_var+set}\" = set"; then
27565   echo $ECHO_N "(cached) $ECHO_C" >&6
27566 else
27567   if test x$gcc_no_link = xyes; then
27568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27570    { (exit 1); exit 1; }; }
27571 fi
27572 cat >conftest.$ac_ext <<_ACEOF
27573 /* confdefs.h.  */
27574 _ACEOF
27575 cat confdefs.h >>conftest.$ac_ext
27576 cat >>conftest.$ac_ext <<_ACEOF
27577 /* end confdefs.h.  */
27578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27580 #define $ac_func innocuous_$ac_func
27581
27582 /* System header to define __stub macros and hopefully few prototypes,
27583     which can conflict with char $ac_func (); below.
27584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27585     <limits.h> exists even on freestanding compilers.  */
27586
27587 #ifdef __STDC__
27588 # include <limits.h>
27589 #else
27590 # include <assert.h>
27591 #endif
27592
27593 #undef $ac_func
27594
27595 /* Override any gcc2 internal prototype to avoid an error.  */
27596 #ifdef __cplusplus
27597 extern "C"
27598 {
27599 #endif
27600 /* We use char because int might match the return type of a gcc2
27601    builtin and then its argument prototype would still apply.  */
27602 char $ac_func ();
27603 /* The GNU C library defines this for functions which it implements
27604     to always fail with ENOSYS.  Some functions are actually named
27605     something starting with __ and the normal name is an alias.  */
27606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27607 choke me
27608 #else
27609 char (*f) () = $ac_func;
27610 #endif
27611 #ifdef __cplusplus
27612 }
27613 #endif
27614
27615 int
27616 main ()
27617 {
27618 return f != $ac_func;
27619   ;
27620   return 0;
27621 }
27622 _ACEOF
27623 rm -f conftest.$ac_objext conftest$ac_exeext
27624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27625   (eval $ac_link) 2>conftest.er1
27626   ac_status=$?
27627   grep -v '^ *+' conftest.er1 >conftest.err
27628   rm -f conftest.er1
27629   cat conftest.err >&5
27630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631   (exit $ac_status); } &&
27632          { ac_try='test -z "$ac_c_werror_flag"
27633                          || test ! -s conftest.err'
27634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27635   (eval $ac_try) 2>&5
27636   ac_status=$?
27637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638   (exit $ac_status); }; } &&
27639          { ac_try='test -s conftest$ac_exeext'
27640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27641   (eval $ac_try) 2>&5
27642   ac_status=$?
27643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644   (exit $ac_status); }; }; then
27645   eval "$as_ac_var=yes"
27646 else
27647   echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 eval "$as_ac_var=no"
27651 fi
27652 rm -f conftest.err conftest.$ac_objext \
27653       conftest$ac_exeext conftest.$ac_ext
27654 fi
27655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27657 if test `eval echo '${'$as_ac_var'}'` = yes; then
27658   cat >>confdefs.h <<_ACEOF
27659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27660 _ACEOF
27661
27662 fi
27663 done
27664
27665   else
27666
27667   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27668 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27669   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27670     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27671   echo $ECHO_N "(cached) $ECHO_C" >&6
27672 else
27673
27674
27675
27676       ac_ext=cc
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27681
27682       cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h.  */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h.  */
27688 #include <math.h>
27689                       #ifdef HAVE_IEEEFP_H
27690                       #include <ieeefp.h>
27691                       #endif
27692
27693 int
27694 main ()
27695 {
27696  _finitef(0);
27697   ;
27698   return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27703   (eval $ac_compile) 2>conftest.er1
27704   ac_status=$?
27705   grep -v '^ *+' conftest.er1 >conftest.err
27706   rm -f conftest.er1
27707   cat conftest.err >&5
27708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709   (exit $ac_status); } &&
27710          { ac_try='test -z "$ac_cxx_werror_flag"
27711                          || test ! -s conftest.err'
27712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713   (eval $ac_try) 2>&5
27714   ac_status=$?
27715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716   (exit $ac_status); }; } &&
27717          { ac_try='test -s conftest.$ac_objext'
27718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719   (eval $ac_try) 2>&5
27720   ac_status=$?
27721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722   (exit $ac_status); }; }; then
27723   glibcxx_cv_func__finitef_use=yes
27724 else
27725   echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 glibcxx_cv_func__finitef_use=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27731       ac_ext=c
27732 ac_cpp='$CPP $CPPFLAGS'
27733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27736
27737
27738 fi
27739
27740   fi
27741   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27742 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27743
27744     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27745
27746 for ac_func in _finitef
27747 do
27748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27749 echo "$as_me:$LINENO: checking for $ac_func" >&5
27750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27751 if eval "test \"\${$as_ac_var+set}\" = set"; then
27752   echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754   if test x$gcc_no_link = xyes; then
27755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27757    { (exit 1); exit 1; }; }
27758 fi
27759 cat >conftest.$ac_ext <<_ACEOF
27760 /* confdefs.h.  */
27761 _ACEOF
27762 cat confdefs.h >>conftest.$ac_ext
27763 cat >>conftest.$ac_ext <<_ACEOF
27764 /* end confdefs.h.  */
27765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27767 #define $ac_func innocuous_$ac_func
27768
27769 /* System header to define __stub macros and hopefully few prototypes,
27770     which can conflict with char $ac_func (); below.
27771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27772     <limits.h> exists even on freestanding compilers.  */
27773
27774 #ifdef __STDC__
27775 # include <limits.h>
27776 #else
27777 # include <assert.h>
27778 #endif
27779
27780 #undef $ac_func
27781
27782 /* Override any gcc2 internal prototype to avoid an error.  */
27783 #ifdef __cplusplus
27784 extern "C"
27785 {
27786 #endif
27787 /* We use char because int might match the return type of a gcc2
27788    builtin and then its argument prototype would still apply.  */
27789 char $ac_func ();
27790 /* The GNU C library defines this for functions which it implements
27791     to always fail with ENOSYS.  Some functions are actually named
27792     something starting with __ and the normal name is an alias.  */
27793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27794 choke me
27795 #else
27796 char (*f) () = $ac_func;
27797 #endif
27798 #ifdef __cplusplus
27799 }
27800 #endif
27801
27802 int
27803 main ()
27804 {
27805 return f != $ac_func;
27806   ;
27807   return 0;
27808 }
27809 _ACEOF
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27812   (eval $ac_link) 2>conftest.er1
27813   ac_status=$?
27814   grep -v '^ *+' conftest.er1 >conftest.err
27815   rm -f conftest.er1
27816   cat conftest.err >&5
27817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818   (exit $ac_status); } &&
27819          { ac_try='test -z "$ac_c_werror_flag"
27820                          || test ! -s conftest.err'
27821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822   (eval $ac_try) 2>&5
27823   ac_status=$?
27824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825   (exit $ac_status); }; } &&
27826          { ac_try='test -s conftest$ac_exeext'
27827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828   (eval $ac_try) 2>&5
27829   ac_status=$?
27830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831   (exit $ac_status); }; }; then
27832   eval "$as_ac_var=yes"
27833 else
27834   echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 eval "$as_ac_var=no"
27838 fi
27839 rm -f conftest.err conftest.$ac_objext \
27840       conftest$ac_exeext conftest.$ac_ext
27841 fi
27842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27844 if test `eval echo '${'$as_ac_var'}'` = yes; then
27845   cat >>confdefs.h <<_ACEOF
27846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27847 _ACEOF
27848
27849 fi
27850 done
27851
27852     fi
27853   fi
27854
27855
27856
27857
27858
27859
27860     echo "$as_me:$LINENO: checking for long double trig functions" >&5
27861 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27862   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27863   echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865
27866
27867
27868     ac_ext=cc
27869 ac_cpp='$CXXCPP $CPPFLAGS'
27870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27873
27874     cat >conftest.$ac_ext <<_ACEOF
27875 /* confdefs.h.  */
27876 _ACEOF
27877 cat confdefs.h >>conftest.$ac_ext
27878 cat >>conftest.$ac_ext <<_ACEOF
27879 /* end confdefs.h.  */
27880 #include <math.h>
27881 int
27882 main ()
27883 {
27884 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
27885   ;
27886   return 0;
27887 }
27888 _ACEOF
27889 rm -f conftest.$ac_objext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27891   (eval $ac_compile) 2>conftest.er1
27892   ac_status=$?
27893   grep -v '^ *+' conftest.er1 >conftest.err
27894   rm -f conftest.er1
27895   cat conftest.err >&5
27896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897   (exit $ac_status); } &&
27898          { ac_try='test -z "$ac_cxx_werror_flag"
27899                          || test ! -s conftest.err'
27900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901   (eval $ac_try) 2>&5
27902   ac_status=$?
27903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904   (exit $ac_status); }; } &&
27905          { ac_try='test -s conftest.$ac_objext'
27906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907   (eval $ac_try) 2>&5
27908   ac_status=$?
27909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910   (exit $ac_status); }; }; then
27911   glibcxx_cv_func_long_double_trig_use=yes
27912 else
27913   echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.$ac_ext >&5
27915
27916 glibcxx_cv_func_long_double_trig_use=no
27917 fi
27918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27919     ac_ext=c
27920 ac_cpp='$CPP $CPPFLAGS'
27921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27924
27925 fi
27926
27927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27928 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27929   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
27940 do
27941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27942 echo "$as_me:$LINENO: checking for $ac_func" >&5
27943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27944 if eval "test \"\${$as_ac_var+set}\" = set"; then
27945   echo $ECHO_N "(cached) $ECHO_C" >&6
27946 else
27947   if test x$gcc_no_link = xyes; then
27948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27950    { (exit 1); exit 1; }; }
27951 fi
27952 cat >conftest.$ac_ext <<_ACEOF
27953 /* confdefs.h.  */
27954 _ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h.  */
27958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27960 #define $ac_func innocuous_$ac_func
27961
27962 /* System header to define __stub macros and hopefully few prototypes,
27963     which can conflict with char $ac_func (); below.
27964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27965     <limits.h> exists even on freestanding compilers.  */
27966
27967 #ifdef __STDC__
27968 # include <limits.h>
27969 #else
27970 # include <assert.h>
27971 #endif
27972
27973 #undef $ac_func
27974
27975 /* Override any gcc2 internal prototype to avoid an error.  */
27976 #ifdef __cplusplus
27977 extern "C"
27978 {
27979 #endif
27980 /* We use char because int might match the return type of a gcc2
27981    builtin and then its argument prototype would still apply.  */
27982 char $ac_func ();
27983 /* The GNU C library defines this for functions which it implements
27984     to always fail with ENOSYS.  Some functions are actually named
27985     something starting with __ and the normal name is an alias.  */
27986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27987 choke me
27988 #else
27989 char (*f) () = $ac_func;
27990 #endif
27991 #ifdef __cplusplus
27992 }
27993 #endif
27994
27995 int
27996 main ()
27997 {
27998 return f != $ac_func;
27999   ;
28000   return 0;
28001 }
28002 _ACEOF
28003 rm -f conftest.$ac_objext conftest$ac_exeext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28005   (eval $ac_link) 2>conftest.er1
28006   ac_status=$?
28007   grep -v '^ *+' conftest.er1 >conftest.err
28008   rm -f conftest.er1
28009   cat conftest.err >&5
28010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011   (exit $ac_status); } &&
28012          { ac_try='test -z "$ac_c_werror_flag"
28013                          || test ! -s conftest.err'
28014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015   (eval $ac_try) 2>&5
28016   ac_status=$?
28017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018   (exit $ac_status); }; } &&
28019          { ac_try='test -s conftest$ac_exeext'
28020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021   (eval $ac_try) 2>&5
28022   ac_status=$?
28023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024   (exit $ac_status); }; }; then
28025   eval "$as_ac_var=yes"
28026 else
28027   echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28029
28030 eval "$as_ac_var=no"
28031 fi
28032 rm -f conftest.err conftest.$ac_objext \
28033       conftest$ac_exeext conftest.$ac_ext
28034 fi
28035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28037 if test `eval echo '${'$as_ac_var'}'` = yes; then
28038   cat >>confdefs.h <<_ACEOF
28039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28040 _ACEOF
28041
28042 fi
28043 done
28044
28045   else
28046     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28047 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28048     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28049   echo $ECHO_N "(cached) $ECHO_C" >&6
28050 else
28051
28052
28053
28054       ac_ext=cc
28055 ac_cpp='$CXXCPP $CPPFLAGS'
28056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28059
28060       cat >conftest.$ac_ext <<_ACEOF
28061 /* confdefs.h.  */
28062 _ACEOF
28063 cat confdefs.h >>conftest.$ac_ext
28064 cat >>conftest.$ac_ext <<_ACEOF
28065 /* end confdefs.h.  */
28066 #include <math.h>
28067 int
28068 main ()
28069 {
28070 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28071   ;
28072   return 0;
28073 }
28074 _ACEOF
28075 rm -f conftest.$ac_objext
28076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28077   (eval $ac_compile) 2>conftest.er1
28078   ac_status=$?
28079   grep -v '^ *+' conftest.er1 >conftest.err
28080   rm -f conftest.er1
28081   cat conftest.err >&5
28082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083   (exit $ac_status); } &&
28084          { ac_try='test -z "$ac_cxx_werror_flag"
28085                          || test ! -s conftest.err'
28086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28087   (eval $ac_try) 2>&5
28088   ac_status=$?
28089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090   (exit $ac_status); }; } &&
28091          { ac_try='test -s conftest.$ac_objext'
28092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093   (eval $ac_try) 2>&5
28094   ac_status=$?
28095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096   (exit $ac_status); }; }; then
28097   glibcxx_cv_func__long_double_trig_use=yes
28098 else
28099   echo "$as_me: failed program was:" >&5
28100 sed 's/^/| /' conftest.$ac_ext >&5
28101
28102 glibcxx_cv_func__long_double_trig_use=no
28103 fi
28104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28105       ac_ext=c
28106 ac_cpp='$CPP $CPPFLAGS'
28107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110
28111 fi
28112
28113     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28114 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28115     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28126 do
28127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28128 echo "$as_me:$LINENO: checking for $ac_func" >&5
28129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28130 if eval "test \"\${$as_ac_var+set}\" = set"; then
28131   echo $ECHO_N "(cached) $ECHO_C" >&6
28132 else
28133   if test x$gcc_no_link = xyes; then
28134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28136    { (exit 1); exit 1; }; }
28137 fi
28138 cat >conftest.$ac_ext <<_ACEOF
28139 /* confdefs.h.  */
28140 _ACEOF
28141 cat confdefs.h >>conftest.$ac_ext
28142 cat >>conftest.$ac_ext <<_ACEOF
28143 /* end confdefs.h.  */
28144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28146 #define $ac_func innocuous_$ac_func
28147
28148 /* System header to define __stub macros and hopefully few prototypes,
28149     which can conflict with char $ac_func (); below.
28150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28151     <limits.h> exists even on freestanding compilers.  */
28152
28153 #ifdef __STDC__
28154 # include <limits.h>
28155 #else
28156 # include <assert.h>
28157 #endif
28158
28159 #undef $ac_func
28160
28161 /* Override any gcc2 internal prototype to avoid an error.  */
28162 #ifdef __cplusplus
28163 extern "C"
28164 {
28165 #endif
28166 /* We use char because int might match the return type of a gcc2
28167    builtin and then its argument prototype would still apply.  */
28168 char $ac_func ();
28169 /* The GNU C library defines this for functions which it implements
28170     to always fail with ENOSYS.  Some functions are actually named
28171     something starting with __ and the normal name is an alias.  */
28172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28173 choke me
28174 #else
28175 char (*f) () = $ac_func;
28176 #endif
28177 #ifdef __cplusplus
28178 }
28179 #endif
28180
28181 int
28182 main ()
28183 {
28184 return f != $ac_func;
28185   ;
28186   return 0;
28187 }
28188 _ACEOF
28189 rm -f conftest.$ac_objext conftest$ac_exeext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28191   (eval $ac_link) 2>conftest.er1
28192   ac_status=$?
28193   grep -v '^ *+' conftest.er1 >conftest.err
28194   rm -f conftest.er1
28195   cat conftest.err >&5
28196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197   (exit $ac_status); } &&
28198          { ac_try='test -z "$ac_c_werror_flag"
28199                          || test ! -s conftest.err'
28200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28201   (eval $ac_try) 2>&5
28202   ac_status=$?
28203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204   (exit $ac_status); }; } &&
28205          { ac_try='test -s conftest$ac_exeext'
28206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207   (eval $ac_try) 2>&5
28208   ac_status=$?
28209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210   (exit $ac_status); }; }; then
28211   eval "$as_ac_var=yes"
28212 else
28213   echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.$ac_ext >&5
28215
28216 eval "$as_ac_var=no"
28217 fi
28218 rm -f conftest.err conftest.$ac_objext \
28219       conftest$ac_exeext conftest.$ac_ext
28220 fi
28221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28223 if test `eval echo '${'$as_ac_var'}'` = yes; then
28224   cat >>confdefs.h <<_ACEOF
28225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28226 _ACEOF
28227
28228 fi
28229 done
28230
28231     fi
28232   fi
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247     echo "$as_me:$LINENO: checking for long double round functions" >&5
28248 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
28249   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28250   echo $ECHO_N "(cached) $ECHO_C" >&6
28251 else
28252
28253
28254
28255     ac_ext=cc
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261     cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h.  */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h.  */
28267 #include <math.h>
28268 int
28269 main ()
28270 {
28271 ceill (0); floorl (0);
28272   ;
28273   return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext
28277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28278   (eval $ac_compile) 2>conftest.er1
28279   ac_status=$?
28280   grep -v '^ *+' conftest.er1 >conftest.err
28281   rm -f conftest.er1
28282   cat conftest.err >&5
28283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284   (exit $ac_status); } &&
28285          { ac_try='test -z "$ac_cxx_werror_flag"
28286                          || test ! -s conftest.err'
28287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288   (eval $ac_try) 2>&5
28289   ac_status=$?
28290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291   (exit $ac_status); }; } &&
28292          { ac_try='test -s conftest.$ac_objext'
28293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28294   (eval $ac_try) 2>&5
28295   ac_status=$?
28296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297   (exit $ac_status); }; }; then
28298   glibcxx_cv_func_long_double_round_use=yes
28299 else
28300   echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28302
28303 glibcxx_cv_func_long_double_round_use=no
28304 fi
28305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28306     ac_ext=c
28307 ac_cpp='$CPP $CPPFLAGS'
28308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28311
28312 fi
28313
28314   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
28315 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
28316   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
28317
28318
28319 for ac_func in ceill floorl
28320 do
28321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28322 echo "$as_me:$LINENO: checking for $ac_func" >&5
28323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28324 if eval "test \"\${$as_ac_var+set}\" = set"; then
28325   echo $ECHO_N "(cached) $ECHO_C" >&6
28326 else
28327   if test x$gcc_no_link = xyes; then
28328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28330    { (exit 1); exit 1; }; }
28331 fi
28332 cat >conftest.$ac_ext <<_ACEOF
28333 /* confdefs.h.  */
28334 _ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h.  */
28338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28340 #define $ac_func innocuous_$ac_func
28341
28342 /* System header to define __stub macros and hopefully few prototypes,
28343     which can conflict with char $ac_func (); below.
28344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28345     <limits.h> exists even on freestanding compilers.  */
28346
28347 #ifdef __STDC__
28348 # include <limits.h>
28349 #else
28350 # include <assert.h>
28351 #endif
28352
28353 #undef $ac_func
28354
28355 /* Override any gcc2 internal prototype to avoid an error.  */
28356 #ifdef __cplusplus
28357 extern "C"
28358 {
28359 #endif
28360 /* We use char because int might match the return type of a gcc2
28361    builtin and then its argument prototype would still apply.  */
28362 char $ac_func ();
28363 /* The GNU C library defines this for functions which it implements
28364     to always fail with ENOSYS.  Some functions are actually named
28365     something starting with __ and the normal name is an alias.  */
28366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28367 choke me
28368 #else
28369 char (*f) () = $ac_func;
28370 #endif
28371 #ifdef __cplusplus
28372 }
28373 #endif
28374
28375 int
28376 main ()
28377 {
28378 return f != $ac_func;
28379   ;
28380   return 0;
28381 }
28382 _ACEOF
28383 rm -f conftest.$ac_objext conftest$ac_exeext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28385   (eval $ac_link) 2>conftest.er1
28386   ac_status=$?
28387   grep -v '^ *+' conftest.er1 >conftest.err
28388   rm -f conftest.er1
28389   cat conftest.err >&5
28390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391   (exit $ac_status); } &&
28392          { ac_try='test -z "$ac_c_werror_flag"
28393                          || test ! -s conftest.err'
28394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395   (eval $ac_try) 2>&5
28396   ac_status=$?
28397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398   (exit $ac_status); }; } &&
28399          { ac_try='test -s conftest$ac_exeext'
28400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401   (eval $ac_try) 2>&5
28402   ac_status=$?
28403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404   (exit $ac_status); }; }; then
28405   eval "$as_ac_var=yes"
28406 else
28407   echo "$as_me: failed program was:" >&5
28408 sed 's/^/| /' conftest.$ac_ext >&5
28409
28410 eval "$as_ac_var=no"
28411 fi
28412 rm -f conftest.err conftest.$ac_objext \
28413       conftest$ac_exeext conftest.$ac_ext
28414 fi
28415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28417 if test `eval echo '${'$as_ac_var'}'` = yes; then
28418   cat >>confdefs.h <<_ACEOF
28419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28420 _ACEOF
28421
28422 fi
28423 done
28424
28425   else
28426     echo "$as_me:$LINENO: checking for _long double round functions" >&5
28427 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
28428     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
28429   echo $ECHO_N "(cached) $ECHO_C" >&6
28430 else
28431
28432
28433
28434       ac_ext=cc
28435 ac_cpp='$CXXCPP $CPPFLAGS'
28436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28439
28440       cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h.  */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h.  */
28446 #include <math.h>
28447 int
28448 main ()
28449 {
28450 _ceill (0); _floorl (0);
28451   ;
28452   return 0;
28453 }
28454 _ACEOF
28455 rm -f conftest.$ac_objext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28457   (eval $ac_compile) 2>conftest.er1
28458   ac_status=$?
28459   grep -v '^ *+' conftest.er1 >conftest.err
28460   rm -f conftest.er1
28461   cat conftest.err >&5
28462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463   (exit $ac_status); } &&
28464          { ac_try='test -z "$ac_cxx_werror_flag"
28465                          || test ! -s conftest.err'
28466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467   (eval $ac_try) 2>&5
28468   ac_status=$?
28469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470   (exit $ac_status); }; } &&
28471          { ac_try='test -s conftest.$ac_objext'
28472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473   (eval $ac_try) 2>&5
28474   ac_status=$?
28475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476   (exit $ac_status); }; }; then
28477   glibcxx_cv_func__long_double_round_use=yes
28478 else
28479   echo "$as_me: failed program was:" >&5
28480 sed 's/^/| /' conftest.$ac_ext >&5
28481
28482 glibcxx_cv_func__long_double_round_use=no
28483 fi
28484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28485       ac_ext=c
28486 ac_cpp='$CPP $CPPFLAGS'
28487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28490
28491 fi
28492
28493     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28494 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28495     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28496
28497
28498 for ac_func in _ceill _floorl
28499 do
28500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28501 echo "$as_me:$LINENO: checking for $ac_func" >&5
28502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28503 if eval "test \"\${$as_ac_var+set}\" = set"; then
28504   echo $ECHO_N "(cached) $ECHO_C" >&6
28505 else
28506   if test x$gcc_no_link = xyes; then
28507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28509    { (exit 1); exit 1; }; }
28510 fi
28511 cat >conftest.$ac_ext <<_ACEOF
28512 /* confdefs.h.  */
28513 _ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h.  */
28517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28519 #define $ac_func innocuous_$ac_func
28520
28521 /* System header to define __stub macros and hopefully few prototypes,
28522     which can conflict with char $ac_func (); below.
28523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28524     <limits.h> exists even on freestanding compilers.  */
28525
28526 #ifdef __STDC__
28527 # include <limits.h>
28528 #else
28529 # include <assert.h>
28530 #endif
28531
28532 #undef $ac_func
28533
28534 /* Override any gcc2 internal prototype to avoid an error.  */
28535 #ifdef __cplusplus
28536 extern "C"
28537 {
28538 #endif
28539 /* We use char because int might match the return type of a gcc2
28540    builtin and then its argument prototype would still apply.  */
28541 char $ac_func ();
28542 /* The GNU C library defines this for functions which it implements
28543     to always fail with ENOSYS.  Some functions are actually named
28544     something starting with __ and the normal name is an alias.  */
28545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28546 choke me
28547 #else
28548 char (*f) () = $ac_func;
28549 #endif
28550 #ifdef __cplusplus
28551 }
28552 #endif
28553
28554 int
28555 main ()
28556 {
28557 return f != $ac_func;
28558   ;
28559   return 0;
28560 }
28561 _ACEOF
28562 rm -f conftest.$ac_objext conftest$ac_exeext
28563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28564   (eval $ac_link) 2>conftest.er1
28565   ac_status=$?
28566   grep -v '^ *+' conftest.er1 >conftest.err
28567   rm -f conftest.er1
28568   cat conftest.err >&5
28569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570   (exit $ac_status); } &&
28571          { ac_try='test -z "$ac_c_werror_flag"
28572                          || test ! -s conftest.err'
28573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574   (eval $ac_try) 2>&5
28575   ac_status=$?
28576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577   (exit $ac_status); }; } &&
28578          { ac_try='test -s conftest$ac_exeext'
28579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580   (eval $ac_try) 2>&5
28581   ac_status=$?
28582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583   (exit $ac_status); }; }; then
28584   eval "$as_ac_var=yes"
28585 else
28586   echo "$as_me: failed program was:" >&5
28587 sed 's/^/| /' conftest.$ac_ext >&5
28588
28589 eval "$as_ac_var=no"
28590 fi
28591 rm -f conftest.err conftest.$ac_objext \
28592       conftest$ac_exeext conftest.$ac_ext
28593 fi
28594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28596 if test `eval echo '${'$as_ac_var'}'` = yes; then
28597   cat >>confdefs.h <<_ACEOF
28598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28599 _ACEOF
28600
28601 fi
28602 done
28603
28604     fi
28605   fi
28606
28607
28608
28609
28610
28611
28612
28613
28614   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28615 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28616   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28617     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28618   echo $ECHO_N "(cached) $ECHO_C" >&6
28619 else
28620
28621
28622
28623       ac_ext=cc
28624 ac_cpp='$CXXCPP $CPPFLAGS'
28625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28628
28629       cat >conftest.$ac_ext <<_ACEOF
28630 /* confdefs.h.  */
28631 _ACEOF
28632 cat confdefs.h >>conftest.$ac_ext
28633 cat >>conftest.$ac_ext <<_ACEOF
28634 /* end confdefs.h.  */
28635 #include <math.h>
28636                       #ifdef HAVE_IEEEFP_H
28637                       #include <ieeefp.h>
28638                       #endif
28639
28640 int
28641 main ()
28642 {
28643  isnanl(0);
28644   ;
28645   return 0;
28646 }
28647 _ACEOF
28648 rm -f conftest.$ac_objext
28649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28650   (eval $ac_compile) 2>conftest.er1
28651   ac_status=$?
28652   grep -v '^ *+' conftest.er1 >conftest.err
28653   rm -f conftest.er1
28654   cat conftest.err >&5
28655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656   (exit $ac_status); } &&
28657          { ac_try='test -z "$ac_cxx_werror_flag"
28658                          || test ! -s conftest.err'
28659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660   (eval $ac_try) 2>&5
28661   ac_status=$?
28662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663   (exit $ac_status); }; } &&
28664          { ac_try='test -s conftest.$ac_objext'
28665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28666   (eval $ac_try) 2>&5
28667   ac_status=$?
28668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669   (exit $ac_status); }; }; then
28670   glibcxx_cv_func_isnanl_use=yes
28671 else
28672   echo "$as_me: failed program was:" >&5
28673 sed 's/^/| /' conftest.$ac_ext >&5
28674
28675 glibcxx_cv_func_isnanl_use=no
28676 fi
28677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28678       ac_ext=c
28679 ac_cpp='$CPP $CPPFLAGS'
28680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28683
28684
28685 fi
28686
28687   fi
28688   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28689 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28690
28691   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28692
28693 for ac_func in isnanl
28694 do
28695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28696 echo "$as_me:$LINENO: checking for $ac_func" >&5
28697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28698 if eval "test \"\${$as_ac_var+set}\" = set"; then
28699   echo $ECHO_N "(cached) $ECHO_C" >&6
28700 else
28701   if test x$gcc_no_link = xyes; then
28702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28704    { (exit 1); exit 1; }; }
28705 fi
28706 cat >conftest.$ac_ext <<_ACEOF
28707 /* confdefs.h.  */
28708 _ACEOF
28709 cat confdefs.h >>conftest.$ac_ext
28710 cat >>conftest.$ac_ext <<_ACEOF
28711 /* end confdefs.h.  */
28712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28714 #define $ac_func innocuous_$ac_func
28715
28716 /* System header to define __stub macros and hopefully few prototypes,
28717     which can conflict with char $ac_func (); below.
28718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28719     <limits.h> exists even on freestanding compilers.  */
28720
28721 #ifdef __STDC__
28722 # include <limits.h>
28723 #else
28724 # include <assert.h>
28725 #endif
28726
28727 #undef $ac_func
28728
28729 /* Override any gcc2 internal prototype to avoid an error.  */
28730 #ifdef __cplusplus
28731 extern "C"
28732 {
28733 #endif
28734 /* We use char because int might match the return type of a gcc2
28735    builtin and then its argument prototype would still apply.  */
28736 char $ac_func ();
28737 /* The GNU C library defines this for functions which it implements
28738     to always fail with ENOSYS.  Some functions are actually named
28739     something starting with __ and the normal name is an alias.  */
28740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28741 choke me
28742 #else
28743 char (*f) () = $ac_func;
28744 #endif
28745 #ifdef __cplusplus
28746 }
28747 #endif
28748
28749 int
28750 main ()
28751 {
28752 return f != $ac_func;
28753   ;
28754   return 0;
28755 }
28756 _ACEOF
28757 rm -f conftest.$ac_objext conftest$ac_exeext
28758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28759   (eval $ac_link) 2>conftest.er1
28760   ac_status=$?
28761   grep -v '^ *+' conftest.er1 >conftest.err
28762   rm -f conftest.er1
28763   cat conftest.err >&5
28764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765   (exit $ac_status); } &&
28766          { ac_try='test -z "$ac_c_werror_flag"
28767                          || test ! -s conftest.err'
28768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28769   (eval $ac_try) 2>&5
28770   ac_status=$?
28771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772   (exit $ac_status); }; } &&
28773          { ac_try='test -s conftest$ac_exeext'
28774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775   (eval $ac_try) 2>&5
28776   ac_status=$?
28777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778   (exit $ac_status); }; }; then
28779   eval "$as_ac_var=yes"
28780 else
28781   echo "$as_me: failed program was:" >&5
28782 sed 's/^/| /' conftest.$ac_ext >&5
28783
28784 eval "$as_ac_var=no"
28785 fi
28786 rm -f conftest.err conftest.$ac_objext \
28787       conftest$ac_exeext conftest.$ac_ext
28788 fi
28789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28791 if test `eval echo '${'$as_ac_var'}'` = yes; then
28792   cat >>confdefs.h <<_ACEOF
28793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28794 _ACEOF
28795
28796 fi
28797 done
28798
28799   else
28800
28801   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
28802 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
28803   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
28804     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
28805   echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807
28808
28809
28810       ac_ext=cc
28811 ac_cpp='$CXXCPP $CPPFLAGS'
28812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28815
28816       cat >conftest.$ac_ext <<_ACEOF
28817 /* confdefs.h.  */
28818 _ACEOF
28819 cat confdefs.h >>conftest.$ac_ext
28820 cat >>conftest.$ac_ext <<_ACEOF
28821 /* end confdefs.h.  */
28822 #include <math.h>
28823                       #ifdef HAVE_IEEEFP_H
28824                       #include <ieeefp.h>
28825                       #endif
28826
28827 int
28828 main ()
28829 {
28830  _isnanl(0);
28831   ;
28832   return 0;
28833 }
28834 _ACEOF
28835 rm -f conftest.$ac_objext
28836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28837   (eval $ac_compile) 2>conftest.er1
28838   ac_status=$?
28839   grep -v '^ *+' conftest.er1 >conftest.err
28840   rm -f conftest.er1
28841   cat conftest.err >&5
28842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843   (exit $ac_status); } &&
28844          { ac_try='test -z "$ac_cxx_werror_flag"
28845                          || test ! -s conftest.err'
28846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847   (eval $ac_try) 2>&5
28848   ac_status=$?
28849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850   (exit $ac_status); }; } &&
28851          { ac_try='test -s conftest.$ac_objext'
28852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853   (eval $ac_try) 2>&5
28854   ac_status=$?
28855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856   (exit $ac_status); }; }; then
28857   glibcxx_cv_func__isnanl_use=yes
28858 else
28859   echo "$as_me: failed program was:" >&5
28860 sed 's/^/| /' conftest.$ac_ext >&5
28861
28862 glibcxx_cv_func__isnanl_use=no
28863 fi
28864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28865       ac_ext=c
28866 ac_cpp='$CPP $CPPFLAGS'
28867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28870
28871
28872 fi
28873
28874   fi
28875   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
28876 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
28877
28878     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
28879
28880 for ac_func in _isnanl
28881 do
28882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28883 echo "$as_me:$LINENO: checking for $ac_func" >&5
28884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28885 if eval "test \"\${$as_ac_var+set}\" = set"; then
28886   echo $ECHO_N "(cached) $ECHO_C" >&6
28887 else
28888   if test x$gcc_no_link = xyes; then
28889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28891    { (exit 1); exit 1; }; }
28892 fi
28893 cat >conftest.$ac_ext <<_ACEOF
28894 /* confdefs.h.  */
28895 _ACEOF
28896 cat confdefs.h >>conftest.$ac_ext
28897 cat >>conftest.$ac_ext <<_ACEOF
28898 /* end confdefs.h.  */
28899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28901 #define $ac_func innocuous_$ac_func
28902
28903 /* System header to define __stub macros and hopefully few prototypes,
28904     which can conflict with char $ac_func (); below.
28905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28906     <limits.h> exists even on freestanding compilers.  */
28907
28908 #ifdef __STDC__
28909 # include <limits.h>
28910 #else
28911 # include <assert.h>
28912 #endif
28913
28914 #undef $ac_func
28915
28916 /* Override any gcc2 internal prototype to avoid an error.  */
28917 #ifdef __cplusplus
28918 extern "C"
28919 {
28920 #endif
28921 /* We use char because int might match the return type of a gcc2
28922    builtin and then its argument prototype would still apply.  */
28923 char $ac_func ();
28924 /* The GNU C library defines this for functions which it implements
28925     to always fail with ENOSYS.  Some functions are actually named
28926     something starting with __ and the normal name is an alias.  */
28927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28928 choke me
28929 #else
28930 char (*f) () = $ac_func;
28931 #endif
28932 #ifdef __cplusplus
28933 }
28934 #endif
28935
28936 int
28937 main ()
28938 {
28939 return f != $ac_func;
28940   ;
28941   return 0;
28942 }
28943 _ACEOF
28944 rm -f conftest.$ac_objext conftest$ac_exeext
28945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28946   (eval $ac_link) 2>conftest.er1
28947   ac_status=$?
28948   grep -v '^ *+' conftest.er1 >conftest.err
28949   rm -f conftest.er1
28950   cat conftest.err >&5
28951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952   (exit $ac_status); } &&
28953          { ac_try='test -z "$ac_c_werror_flag"
28954                          || test ! -s conftest.err'
28955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28956   (eval $ac_try) 2>&5
28957   ac_status=$?
28958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28959   (exit $ac_status); }; } &&
28960          { ac_try='test -s conftest$ac_exeext'
28961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962   (eval $ac_try) 2>&5
28963   ac_status=$?
28964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965   (exit $ac_status); }; }; then
28966   eval "$as_ac_var=yes"
28967 else
28968   echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28970
28971 eval "$as_ac_var=no"
28972 fi
28973 rm -f conftest.err conftest.$ac_objext \
28974       conftest$ac_exeext conftest.$ac_ext
28975 fi
28976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28978 if test `eval echo '${'$as_ac_var'}'` = yes; then
28979   cat >>confdefs.h <<_ACEOF
28980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28981 _ACEOF
28982
28983 fi
28984 done
28985
28986     fi
28987   fi
28988
28989
28990
28991
28992
28993
28994   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
28995 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
28996   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
28997     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
28998   echo $ECHO_N "(cached) $ECHO_C" >&6
28999 else
29000
29001
29002
29003       ac_ext=cc
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008
29009       cat >conftest.$ac_ext <<_ACEOF
29010 /* confdefs.h.  */
29011 _ACEOF
29012 cat confdefs.h >>conftest.$ac_ext
29013 cat >>conftest.$ac_ext <<_ACEOF
29014 /* end confdefs.h.  */
29015 #include <math.h>
29016                       #ifdef HAVE_IEEEFP_H
29017                       #include <ieeefp.h>
29018                       #endif
29019
29020 int
29021 main ()
29022 {
29023  isinfl(0);
29024   ;
29025   return 0;
29026 }
29027 _ACEOF
29028 rm -f conftest.$ac_objext
29029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29030   (eval $ac_compile) 2>conftest.er1
29031   ac_status=$?
29032   grep -v '^ *+' conftest.er1 >conftest.err
29033   rm -f conftest.er1
29034   cat conftest.err >&5
29035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036   (exit $ac_status); } &&
29037          { ac_try='test -z "$ac_cxx_werror_flag"
29038                          || test ! -s conftest.err'
29039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29040   (eval $ac_try) 2>&5
29041   ac_status=$?
29042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043   (exit $ac_status); }; } &&
29044          { ac_try='test -s conftest.$ac_objext'
29045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046   (eval $ac_try) 2>&5
29047   ac_status=$?
29048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049   (exit $ac_status); }; }; then
29050   glibcxx_cv_func_isinfl_use=yes
29051 else
29052   echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29054
29055 glibcxx_cv_func_isinfl_use=no
29056 fi
29057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29058       ac_ext=c
29059 ac_cpp='$CPP $CPPFLAGS'
29060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29063
29064
29065 fi
29066
29067   fi
29068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29069 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29070
29071   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29072
29073 for ac_func in isinfl
29074 do
29075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29076 echo "$as_me:$LINENO: checking for $ac_func" >&5
29077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29078 if eval "test \"\${$as_ac_var+set}\" = set"; then
29079   echo $ECHO_N "(cached) $ECHO_C" >&6
29080 else
29081   if test x$gcc_no_link = xyes; then
29082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29084    { (exit 1); exit 1; }; }
29085 fi
29086 cat >conftest.$ac_ext <<_ACEOF
29087 /* confdefs.h.  */
29088 _ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h.  */
29092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29094 #define $ac_func innocuous_$ac_func
29095
29096 /* System header to define __stub macros and hopefully few prototypes,
29097     which can conflict with char $ac_func (); below.
29098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29099     <limits.h> exists even on freestanding compilers.  */
29100
29101 #ifdef __STDC__
29102 # include <limits.h>
29103 #else
29104 # include <assert.h>
29105 #endif
29106
29107 #undef $ac_func
29108
29109 /* Override any gcc2 internal prototype to avoid an error.  */
29110 #ifdef __cplusplus
29111 extern "C"
29112 {
29113 #endif
29114 /* We use char because int might match the return type of a gcc2
29115    builtin and then its argument prototype would still apply.  */
29116 char $ac_func ();
29117 /* The GNU C library defines this for functions which it implements
29118     to always fail with ENOSYS.  Some functions are actually named
29119     something starting with __ and the normal name is an alias.  */
29120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29121 choke me
29122 #else
29123 char (*f) () = $ac_func;
29124 #endif
29125 #ifdef __cplusplus
29126 }
29127 #endif
29128
29129 int
29130 main ()
29131 {
29132 return f != $ac_func;
29133   ;
29134   return 0;
29135 }
29136 _ACEOF
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29139   (eval $ac_link) 2>conftest.er1
29140   ac_status=$?
29141   grep -v '^ *+' conftest.er1 >conftest.err
29142   rm -f conftest.er1
29143   cat conftest.err >&5
29144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145   (exit $ac_status); } &&
29146          { ac_try='test -z "$ac_c_werror_flag"
29147                          || test ! -s conftest.err'
29148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149   (eval $ac_try) 2>&5
29150   ac_status=$?
29151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152   (exit $ac_status); }; } &&
29153          { ac_try='test -s conftest$ac_exeext'
29154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155   (eval $ac_try) 2>&5
29156   ac_status=$?
29157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158   (exit $ac_status); }; }; then
29159   eval "$as_ac_var=yes"
29160 else
29161   echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 eval "$as_ac_var=no"
29165 fi
29166 rm -f conftest.err conftest.$ac_objext \
29167       conftest$ac_exeext conftest.$ac_ext
29168 fi
29169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29171 if test `eval echo '${'$as_ac_var'}'` = yes; then
29172   cat >>confdefs.h <<_ACEOF
29173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29174 _ACEOF
29175
29176 fi
29177 done
29178
29179   else
29180
29181   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29182 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29183   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29184     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29185   echo $ECHO_N "(cached) $ECHO_C" >&6
29186 else
29187
29188
29189
29190       ac_ext=cc
29191 ac_cpp='$CXXCPP $CPPFLAGS'
29192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29195
29196       cat >conftest.$ac_ext <<_ACEOF
29197 /* confdefs.h.  */
29198 _ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h.  */
29202 #include <math.h>
29203                       #ifdef HAVE_IEEEFP_H
29204                       #include <ieeefp.h>
29205                       #endif
29206
29207 int
29208 main ()
29209 {
29210  _isinfl(0);
29211   ;
29212   return 0;
29213 }
29214 _ACEOF
29215 rm -f conftest.$ac_objext
29216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29217   (eval $ac_compile) 2>conftest.er1
29218   ac_status=$?
29219   grep -v '^ *+' conftest.er1 >conftest.err
29220   rm -f conftest.er1
29221   cat conftest.err >&5
29222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223   (exit $ac_status); } &&
29224          { ac_try='test -z "$ac_cxx_werror_flag"
29225                          || test ! -s conftest.err'
29226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227   (eval $ac_try) 2>&5
29228   ac_status=$?
29229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230   (exit $ac_status); }; } &&
29231          { ac_try='test -s conftest.$ac_objext'
29232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233   (eval $ac_try) 2>&5
29234   ac_status=$?
29235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236   (exit $ac_status); }; }; then
29237   glibcxx_cv_func__isinfl_use=yes
29238 else
29239   echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29241
29242 glibcxx_cv_func__isinfl_use=no
29243 fi
29244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29245       ac_ext=c
29246 ac_cpp='$CPP $CPPFLAGS'
29247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29250
29251
29252 fi
29253
29254   fi
29255   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29256 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
29257
29258     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29259
29260 for ac_func in _isinfl
29261 do
29262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29263 echo "$as_me:$LINENO: checking for $ac_func" >&5
29264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29265 if eval "test \"\${$as_ac_var+set}\" = set"; then
29266   echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268   if test x$gcc_no_link = xyes; then
29269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29271    { (exit 1); exit 1; }; }
29272 fi
29273 cat >conftest.$ac_ext <<_ACEOF
29274 /* confdefs.h.  */
29275 _ACEOF
29276 cat confdefs.h >>conftest.$ac_ext
29277 cat >>conftest.$ac_ext <<_ACEOF
29278 /* end confdefs.h.  */
29279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29281 #define $ac_func innocuous_$ac_func
29282
29283 /* System header to define __stub macros and hopefully few prototypes,
29284     which can conflict with char $ac_func (); below.
29285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29286     <limits.h> exists even on freestanding compilers.  */
29287
29288 #ifdef __STDC__
29289 # include <limits.h>
29290 #else
29291 # include <assert.h>
29292 #endif
29293
29294 #undef $ac_func
29295
29296 /* Override any gcc2 internal prototype to avoid an error.  */
29297 #ifdef __cplusplus
29298 extern "C"
29299 {
29300 #endif
29301 /* We use char because int might match the return type of a gcc2
29302    builtin and then its argument prototype would still apply.  */
29303 char $ac_func ();
29304 /* The GNU C library defines this for functions which it implements
29305     to always fail with ENOSYS.  Some functions are actually named
29306     something starting with __ and the normal name is an alias.  */
29307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29308 choke me
29309 #else
29310 char (*f) () = $ac_func;
29311 #endif
29312 #ifdef __cplusplus
29313 }
29314 #endif
29315
29316 int
29317 main ()
29318 {
29319 return f != $ac_func;
29320   ;
29321   return 0;
29322 }
29323 _ACEOF
29324 rm -f conftest.$ac_objext conftest$ac_exeext
29325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29326   (eval $ac_link) 2>conftest.er1
29327   ac_status=$?
29328   grep -v '^ *+' conftest.er1 >conftest.err
29329   rm -f conftest.er1
29330   cat conftest.err >&5
29331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332   (exit $ac_status); } &&
29333          { ac_try='test -z "$ac_c_werror_flag"
29334                          || test ! -s conftest.err'
29335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336   (eval $ac_try) 2>&5
29337   ac_status=$?
29338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339   (exit $ac_status); }; } &&
29340          { ac_try='test -s conftest$ac_exeext'
29341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342   (eval $ac_try) 2>&5
29343   ac_status=$?
29344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345   (exit $ac_status); }; }; then
29346   eval "$as_ac_var=yes"
29347 else
29348   echo "$as_me: failed program was:" >&5
29349 sed 's/^/| /' conftest.$ac_ext >&5
29350
29351 eval "$as_ac_var=no"
29352 fi
29353 rm -f conftest.err conftest.$ac_objext \
29354       conftest$ac_exeext conftest.$ac_ext
29355 fi
29356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29358 if test `eval echo '${'$as_ac_var'}'` = yes; then
29359   cat >>confdefs.h <<_ACEOF
29360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366     fi
29367   fi
29368
29369
29370
29371
29372
29373
29374   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
29375 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
29376   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
29377     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
29378   echo $ECHO_N "(cached) $ECHO_C" >&6
29379 else
29380
29381
29382
29383       ac_ext=cc
29384 ac_cpp='$CXXCPP $CPPFLAGS'
29385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29388
29389       cat >conftest.$ac_ext <<_ACEOF
29390 /* confdefs.h.  */
29391 _ACEOF
29392 cat confdefs.h >>conftest.$ac_ext
29393 cat >>conftest.$ac_ext <<_ACEOF
29394 /* end confdefs.h.  */
29395 #include <math.h>
29396 int
29397 main ()
29398 {
29399  copysignl(0, 0);
29400   ;
29401   return 0;
29402 }
29403 _ACEOF
29404 rm -f conftest.$ac_objext
29405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29406   (eval $ac_compile) 2>conftest.er1
29407   ac_status=$?
29408   grep -v '^ *+' conftest.er1 >conftest.err
29409   rm -f conftest.er1
29410   cat conftest.err >&5
29411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412   (exit $ac_status); } &&
29413          { ac_try='test -z "$ac_cxx_werror_flag"
29414                          || test ! -s conftest.err'
29415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416   (eval $ac_try) 2>&5
29417   ac_status=$?
29418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419   (exit $ac_status); }; } &&
29420          { ac_try='test -s conftest.$ac_objext'
29421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422   (eval $ac_try) 2>&5
29423   ac_status=$?
29424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425   (exit $ac_status); }; }; then
29426   glibcxx_cv_func_copysignl_use=yes
29427 else
29428   echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29430
29431 glibcxx_cv_func_copysignl_use=no
29432 fi
29433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29434       ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443   fi
29444   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
29445 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29446
29447   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29448
29449 for ac_func in copysignl
29450 do
29451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29452 echo "$as_me:$LINENO: checking for $ac_func" >&5
29453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29454 if eval "test \"\${$as_ac_var+set}\" = set"; then
29455   echo $ECHO_N "(cached) $ECHO_C" >&6
29456 else
29457   if test x$gcc_no_link = xyes; then
29458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29460    { (exit 1); exit 1; }; }
29461 fi
29462 cat >conftest.$ac_ext <<_ACEOF
29463 /* confdefs.h.  */
29464 _ACEOF
29465 cat confdefs.h >>conftest.$ac_ext
29466 cat >>conftest.$ac_ext <<_ACEOF
29467 /* end confdefs.h.  */
29468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29470 #define $ac_func innocuous_$ac_func
29471
29472 /* System header to define __stub macros and hopefully few prototypes,
29473     which can conflict with char $ac_func (); below.
29474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29475     <limits.h> exists even on freestanding compilers.  */
29476
29477 #ifdef __STDC__
29478 # include <limits.h>
29479 #else
29480 # include <assert.h>
29481 #endif
29482
29483 #undef $ac_func
29484
29485 /* Override any gcc2 internal prototype to avoid an error.  */
29486 #ifdef __cplusplus
29487 extern "C"
29488 {
29489 #endif
29490 /* We use char because int might match the return type of a gcc2
29491    builtin and then its argument prototype would still apply.  */
29492 char $ac_func ();
29493 /* The GNU C library defines this for functions which it implements
29494     to always fail with ENOSYS.  Some functions are actually named
29495     something starting with __ and the normal name is an alias.  */
29496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29497 choke me
29498 #else
29499 char (*f) () = $ac_func;
29500 #endif
29501 #ifdef __cplusplus
29502 }
29503 #endif
29504
29505 int
29506 main ()
29507 {
29508 return f != $ac_func;
29509   ;
29510   return 0;
29511 }
29512 _ACEOF
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29515   (eval $ac_link) 2>conftest.er1
29516   ac_status=$?
29517   grep -v '^ *+' conftest.er1 >conftest.err
29518   rm -f conftest.er1
29519   cat conftest.err >&5
29520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521   (exit $ac_status); } &&
29522          { ac_try='test -z "$ac_c_werror_flag"
29523                          || test ! -s conftest.err'
29524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29525   (eval $ac_try) 2>&5
29526   ac_status=$?
29527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528   (exit $ac_status); }; } &&
29529          { ac_try='test -s conftest$ac_exeext'
29530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531   (eval $ac_try) 2>&5
29532   ac_status=$?
29533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534   (exit $ac_status); }; }; then
29535   eval "$as_ac_var=yes"
29536 else
29537   echo "$as_me: failed program was:" >&5
29538 sed 's/^/| /' conftest.$ac_ext >&5
29539
29540 eval "$as_ac_var=no"
29541 fi
29542 rm -f conftest.err conftest.$ac_objext \
29543       conftest$ac_exeext conftest.$ac_ext
29544 fi
29545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29547 if test `eval echo '${'$as_ac_var'}'` = yes; then
29548   cat >>confdefs.h <<_ACEOF
29549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29550 _ACEOF
29551
29552 fi
29553 done
29554
29555   else
29556
29557   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29558 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29559   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29560     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29561   echo $ECHO_N "(cached) $ECHO_C" >&6
29562 else
29563
29564
29565
29566       ac_ext=cc
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29571
29572       cat >conftest.$ac_ext <<_ACEOF
29573 /* confdefs.h.  */
29574 _ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h.  */
29578 #include <math.h>
29579 int
29580 main ()
29581 {
29582  _copysignl(0, 0);
29583   ;
29584   return 0;
29585 }
29586 _ACEOF
29587 rm -f conftest.$ac_objext
29588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29589   (eval $ac_compile) 2>conftest.er1
29590   ac_status=$?
29591   grep -v '^ *+' conftest.er1 >conftest.err
29592   rm -f conftest.er1
29593   cat conftest.err >&5
29594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595   (exit $ac_status); } &&
29596          { ac_try='test -z "$ac_cxx_werror_flag"
29597                          || test ! -s conftest.err'
29598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599   (eval $ac_try) 2>&5
29600   ac_status=$?
29601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602   (exit $ac_status); }; } &&
29603          { ac_try='test -s conftest.$ac_objext'
29604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605   (eval $ac_try) 2>&5
29606   ac_status=$?
29607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608   (exit $ac_status); }; }; then
29609   glibcxx_cv_func__copysignl_use=yes
29610 else
29611   echo "$as_me: failed program was:" >&5
29612 sed 's/^/| /' conftest.$ac_ext >&5
29613
29614 glibcxx_cv_func__copysignl_use=no
29615 fi
29616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29617       ac_ext=c
29618 ac_cpp='$CPP $CPPFLAGS'
29619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29622
29623
29624 fi
29625
29626   fi
29627   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29628 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29629
29630     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29631
29632 for ac_func in _copysignl
29633 do
29634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29635 echo "$as_me:$LINENO: checking for $ac_func" >&5
29636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29637 if eval "test \"\${$as_ac_var+set}\" = set"; then
29638   echo $ECHO_N "(cached) $ECHO_C" >&6
29639 else
29640   if test x$gcc_no_link = xyes; then
29641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29643    { (exit 1); exit 1; }; }
29644 fi
29645 cat >conftest.$ac_ext <<_ACEOF
29646 /* confdefs.h.  */
29647 _ACEOF
29648 cat confdefs.h >>conftest.$ac_ext
29649 cat >>conftest.$ac_ext <<_ACEOF
29650 /* end confdefs.h.  */
29651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29653 #define $ac_func innocuous_$ac_func
29654
29655 /* System header to define __stub macros and hopefully few prototypes,
29656     which can conflict with char $ac_func (); below.
29657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29658     <limits.h> exists even on freestanding compilers.  */
29659
29660 #ifdef __STDC__
29661 # include <limits.h>
29662 #else
29663 # include <assert.h>
29664 #endif
29665
29666 #undef $ac_func
29667
29668 /* Override any gcc2 internal prototype to avoid an error.  */
29669 #ifdef __cplusplus
29670 extern "C"
29671 {
29672 #endif
29673 /* We use char because int might match the return type of a gcc2
29674    builtin and then its argument prototype would still apply.  */
29675 char $ac_func ();
29676 /* The GNU C library defines this for functions which it implements
29677     to always fail with ENOSYS.  Some functions are actually named
29678     something starting with __ and the normal name is an alias.  */
29679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29680 choke me
29681 #else
29682 char (*f) () = $ac_func;
29683 #endif
29684 #ifdef __cplusplus
29685 }
29686 #endif
29687
29688 int
29689 main ()
29690 {
29691 return f != $ac_func;
29692   ;
29693   return 0;
29694 }
29695 _ACEOF
29696 rm -f conftest.$ac_objext conftest$ac_exeext
29697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29698   (eval $ac_link) 2>conftest.er1
29699   ac_status=$?
29700   grep -v '^ *+' conftest.er1 >conftest.err
29701   rm -f conftest.er1
29702   cat conftest.err >&5
29703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704   (exit $ac_status); } &&
29705          { ac_try='test -z "$ac_c_werror_flag"
29706                          || test ! -s conftest.err'
29707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708   (eval $ac_try) 2>&5
29709   ac_status=$?
29710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711   (exit $ac_status); }; } &&
29712          { ac_try='test -s conftest$ac_exeext'
29713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29714   (eval $ac_try) 2>&5
29715   ac_status=$?
29716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717   (exit $ac_status); }; }; then
29718   eval "$as_ac_var=yes"
29719 else
29720   echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.$ac_ext >&5
29722
29723 eval "$as_ac_var=no"
29724 fi
29725 rm -f conftest.err conftest.$ac_objext \
29726       conftest$ac_exeext conftest.$ac_ext
29727 fi
29728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29730 if test `eval echo '${'$as_ac_var'}'` = yes; then
29731   cat >>confdefs.h <<_ACEOF
29732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29733 _ACEOF
29734
29735 fi
29736 done
29737
29738     fi
29739   fi
29740
29741
29742
29743
29744
29745
29746   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29747 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29748   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29749     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29750   echo $ECHO_N "(cached) $ECHO_C" >&6
29751 else
29752
29753
29754
29755       ac_ext=cc
29756 ac_cpp='$CXXCPP $CPPFLAGS'
29757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29760
29761       cat >conftest.$ac_ext <<_ACEOF
29762 /* confdefs.h.  */
29763 _ACEOF
29764 cat confdefs.h >>conftest.$ac_ext
29765 cat >>conftest.$ac_ext <<_ACEOF
29766 /* end confdefs.h.  */
29767 #include <math.h>
29768 int
29769 main ()
29770 {
29771  atan2l(0, 0);
29772   ;
29773   return 0;
29774 }
29775 _ACEOF
29776 rm -f conftest.$ac_objext
29777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29778   (eval $ac_compile) 2>conftest.er1
29779   ac_status=$?
29780   grep -v '^ *+' conftest.er1 >conftest.err
29781   rm -f conftest.er1
29782   cat conftest.err >&5
29783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784   (exit $ac_status); } &&
29785          { ac_try='test -z "$ac_cxx_werror_flag"
29786                          || test ! -s conftest.err'
29787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788   (eval $ac_try) 2>&5
29789   ac_status=$?
29790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791   (exit $ac_status); }; } &&
29792          { ac_try='test -s conftest.$ac_objext'
29793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794   (eval $ac_try) 2>&5
29795   ac_status=$?
29796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797   (exit $ac_status); }; }; then
29798   glibcxx_cv_func_atan2l_use=yes
29799 else
29800   echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.$ac_ext >&5
29802
29803 glibcxx_cv_func_atan2l_use=no
29804 fi
29805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29806       ac_ext=c
29807 ac_cpp='$CPP $CPPFLAGS'
29808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29811
29812
29813 fi
29814
29815   fi
29816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
29817 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
29818
29819   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
29820
29821 for ac_func in atan2l
29822 do
29823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29824 echo "$as_me:$LINENO: checking for $ac_func" >&5
29825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29826 if eval "test \"\${$as_ac_var+set}\" = set"; then
29827   echo $ECHO_N "(cached) $ECHO_C" >&6
29828 else
29829   if test x$gcc_no_link = xyes; then
29830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29832    { (exit 1); exit 1; }; }
29833 fi
29834 cat >conftest.$ac_ext <<_ACEOF
29835 /* confdefs.h.  */
29836 _ACEOF
29837 cat confdefs.h >>conftest.$ac_ext
29838 cat >>conftest.$ac_ext <<_ACEOF
29839 /* end confdefs.h.  */
29840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29842 #define $ac_func innocuous_$ac_func
29843
29844 /* System header to define __stub macros and hopefully few prototypes,
29845     which can conflict with char $ac_func (); below.
29846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29847     <limits.h> exists even on freestanding compilers.  */
29848
29849 #ifdef __STDC__
29850 # include <limits.h>
29851 #else
29852 # include <assert.h>
29853 #endif
29854
29855 #undef $ac_func
29856
29857 /* Override any gcc2 internal prototype to avoid an error.  */
29858 #ifdef __cplusplus
29859 extern "C"
29860 {
29861 #endif
29862 /* We use char because int might match the return type of a gcc2
29863    builtin and then its argument prototype would still apply.  */
29864 char $ac_func ();
29865 /* The GNU C library defines this for functions which it implements
29866     to always fail with ENOSYS.  Some functions are actually named
29867     something starting with __ and the normal name is an alias.  */
29868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29869 choke me
29870 #else
29871 char (*f) () = $ac_func;
29872 #endif
29873 #ifdef __cplusplus
29874 }
29875 #endif
29876
29877 int
29878 main ()
29879 {
29880 return f != $ac_func;
29881   ;
29882   return 0;
29883 }
29884 _ACEOF
29885 rm -f conftest.$ac_objext conftest$ac_exeext
29886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29887   (eval $ac_link) 2>conftest.er1
29888   ac_status=$?
29889   grep -v '^ *+' conftest.er1 >conftest.err
29890   rm -f conftest.er1
29891   cat conftest.err >&5
29892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893   (exit $ac_status); } &&
29894          { ac_try='test -z "$ac_c_werror_flag"
29895                          || test ! -s conftest.err'
29896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29897   (eval $ac_try) 2>&5
29898   ac_status=$?
29899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900   (exit $ac_status); }; } &&
29901          { ac_try='test -s conftest$ac_exeext'
29902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903   (eval $ac_try) 2>&5
29904   ac_status=$?
29905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906   (exit $ac_status); }; }; then
29907   eval "$as_ac_var=yes"
29908 else
29909   echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912 eval "$as_ac_var=no"
29913 fi
29914 rm -f conftest.err conftest.$ac_objext \
29915       conftest$ac_exeext conftest.$ac_ext
29916 fi
29917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29919 if test `eval echo '${'$as_ac_var'}'` = yes; then
29920   cat >>confdefs.h <<_ACEOF
29921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29922 _ACEOF
29923
29924 fi
29925 done
29926
29927   else
29928
29929   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
29930 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
29931   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
29932     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
29933   echo $ECHO_N "(cached) $ECHO_C" >&6
29934 else
29935
29936
29937
29938       ac_ext=cc
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29943
29944       cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h.  */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h.  */
29950 #include <math.h>
29951 int
29952 main ()
29953 {
29954  _atan2l(0, 0);
29955   ;
29956   return 0;
29957 }
29958 _ACEOF
29959 rm -f conftest.$ac_objext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29961   (eval $ac_compile) 2>conftest.er1
29962   ac_status=$?
29963   grep -v '^ *+' conftest.er1 >conftest.err
29964   rm -f conftest.er1
29965   cat conftest.err >&5
29966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967   (exit $ac_status); } &&
29968          { ac_try='test -z "$ac_cxx_werror_flag"
29969                          || test ! -s conftest.err'
29970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971   (eval $ac_try) 2>&5
29972   ac_status=$?
29973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974   (exit $ac_status); }; } &&
29975          { ac_try='test -s conftest.$ac_objext'
29976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977   (eval $ac_try) 2>&5
29978   ac_status=$?
29979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980   (exit $ac_status); }; }; then
29981   glibcxx_cv_func__atan2l_use=yes
29982 else
29983   echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29985
29986 glibcxx_cv_func__atan2l_use=no
29987 fi
29988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29989       ac_ext=c
29990 ac_cpp='$CPP $CPPFLAGS'
29991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994
29995
29996 fi
29997
29998   fi
29999   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30000 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30001
30002     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30003
30004 for ac_func in _atan2l
30005 do
30006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30007 echo "$as_me:$LINENO: checking for $ac_func" >&5
30008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30009 if eval "test \"\${$as_ac_var+set}\" = set"; then
30010   echo $ECHO_N "(cached) $ECHO_C" >&6
30011 else
30012   if test x$gcc_no_link = xyes; then
30013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30015    { (exit 1); exit 1; }; }
30016 fi
30017 cat >conftest.$ac_ext <<_ACEOF
30018 /* confdefs.h.  */
30019 _ACEOF
30020 cat confdefs.h >>conftest.$ac_ext
30021 cat >>conftest.$ac_ext <<_ACEOF
30022 /* end confdefs.h.  */
30023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30025 #define $ac_func innocuous_$ac_func
30026
30027 /* System header to define __stub macros and hopefully few prototypes,
30028     which can conflict with char $ac_func (); below.
30029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30030     <limits.h> exists even on freestanding compilers.  */
30031
30032 #ifdef __STDC__
30033 # include <limits.h>
30034 #else
30035 # include <assert.h>
30036 #endif
30037
30038 #undef $ac_func
30039
30040 /* Override any gcc2 internal prototype to avoid an error.  */
30041 #ifdef __cplusplus
30042 extern "C"
30043 {
30044 #endif
30045 /* We use char because int might match the return type of a gcc2
30046    builtin and then its argument prototype would still apply.  */
30047 char $ac_func ();
30048 /* The GNU C library defines this for functions which it implements
30049     to always fail with ENOSYS.  Some functions are actually named
30050     something starting with __ and the normal name is an alias.  */
30051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30052 choke me
30053 #else
30054 char (*f) () = $ac_func;
30055 #endif
30056 #ifdef __cplusplus
30057 }
30058 #endif
30059
30060 int
30061 main ()
30062 {
30063 return f != $ac_func;
30064   ;
30065   return 0;
30066 }
30067 _ACEOF
30068 rm -f conftest.$ac_objext conftest$ac_exeext
30069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30070   (eval $ac_link) 2>conftest.er1
30071   ac_status=$?
30072   grep -v '^ *+' conftest.er1 >conftest.err
30073   rm -f conftest.er1
30074   cat conftest.err >&5
30075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076   (exit $ac_status); } &&
30077          { ac_try='test -z "$ac_c_werror_flag"
30078                          || test ! -s conftest.err'
30079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080   (eval $ac_try) 2>&5
30081   ac_status=$?
30082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083   (exit $ac_status); }; } &&
30084          { ac_try='test -s conftest$ac_exeext'
30085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086   (eval $ac_try) 2>&5
30087   ac_status=$?
30088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089   (exit $ac_status); }; }; then
30090   eval "$as_ac_var=yes"
30091 else
30092   echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.$ac_ext >&5
30094
30095 eval "$as_ac_var=no"
30096 fi
30097 rm -f conftest.err conftest.$ac_objext \
30098       conftest$ac_exeext conftest.$ac_ext
30099 fi
30100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30102 if test `eval echo '${'$as_ac_var'}'` = yes; then
30103   cat >>confdefs.h <<_ACEOF
30104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30105 _ACEOF
30106
30107 fi
30108 done
30109
30110     fi
30111   fi
30112
30113
30114
30115
30116
30117
30118   echo "$as_me:$LINENO: checking for expl declaration" >&5
30119 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30120   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30121     if test "${glibcxx_cv_func_expl_use+set}" = set; then
30122   echo $ECHO_N "(cached) $ECHO_C" >&6
30123 else
30124
30125
30126
30127       ac_ext=cc
30128 ac_cpp='$CXXCPP $CPPFLAGS'
30129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30132
30133       cat >conftest.$ac_ext <<_ACEOF
30134 /* confdefs.h.  */
30135 _ACEOF
30136 cat confdefs.h >>conftest.$ac_ext
30137 cat >>conftest.$ac_ext <<_ACEOF
30138 /* end confdefs.h.  */
30139 #include <math.h>
30140                       #ifdef HAVE_IEEEFP_H
30141                       #include <ieeefp.h>
30142                       #endif
30143
30144 int
30145 main ()
30146 {
30147  expl(0);
30148   ;
30149   return 0;
30150 }
30151 _ACEOF
30152 rm -f conftest.$ac_objext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30154   (eval $ac_compile) 2>conftest.er1
30155   ac_status=$?
30156   grep -v '^ *+' conftest.er1 >conftest.err
30157   rm -f conftest.er1
30158   cat conftest.err >&5
30159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160   (exit $ac_status); } &&
30161          { ac_try='test -z "$ac_cxx_werror_flag"
30162                          || test ! -s conftest.err'
30163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164   (eval $ac_try) 2>&5
30165   ac_status=$?
30166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167   (exit $ac_status); }; } &&
30168          { ac_try='test -s conftest.$ac_objext'
30169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170   (eval $ac_try) 2>&5
30171   ac_status=$?
30172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173   (exit $ac_status); }; }; then
30174   glibcxx_cv_func_expl_use=yes
30175 else
30176   echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30178
30179 glibcxx_cv_func_expl_use=no
30180 fi
30181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30182       ac_ext=c
30183 ac_cpp='$CPP $CPPFLAGS'
30184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30187
30188
30189 fi
30190
30191   fi
30192   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30193 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30194
30195   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30196
30197 for ac_func in expl
30198 do
30199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30200 echo "$as_me:$LINENO: checking for $ac_func" >&5
30201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30202 if eval "test \"\${$as_ac_var+set}\" = set"; then
30203   echo $ECHO_N "(cached) $ECHO_C" >&6
30204 else
30205   if test x$gcc_no_link = xyes; then
30206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30208    { (exit 1); exit 1; }; }
30209 fi
30210 cat >conftest.$ac_ext <<_ACEOF
30211 /* confdefs.h.  */
30212 _ACEOF
30213 cat confdefs.h >>conftest.$ac_ext
30214 cat >>conftest.$ac_ext <<_ACEOF
30215 /* end confdefs.h.  */
30216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30218 #define $ac_func innocuous_$ac_func
30219
30220 /* System header to define __stub macros and hopefully few prototypes,
30221     which can conflict with char $ac_func (); below.
30222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30223     <limits.h> exists even on freestanding compilers.  */
30224
30225 #ifdef __STDC__
30226 # include <limits.h>
30227 #else
30228 # include <assert.h>
30229 #endif
30230
30231 #undef $ac_func
30232
30233 /* Override any gcc2 internal prototype to avoid an error.  */
30234 #ifdef __cplusplus
30235 extern "C"
30236 {
30237 #endif
30238 /* We use char because int might match the return type of a gcc2
30239    builtin and then its argument prototype would still apply.  */
30240 char $ac_func ();
30241 /* The GNU C library defines this for functions which it implements
30242     to always fail with ENOSYS.  Some functions are actually named
30243     something starting with __ and the normal name is an alias.  */
30244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30245 choke me
30246 #else
30247 char (*f) () = $ac_func;
30248 #endif
30249 #ifdef __cplusplus
30250 }
30251 #endif
30252
30253 int
30254 main ()
30255 {
30256 return f != $ac_func;
30257   ;
30258   return 0;
30259 }
30260 _ACEOF
30261 rm -f conftest.$ac_objext conftest$ac_exeext
30262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30263   (eval $ac_link) 2>conftest.er1
30264   ac_status=$?
30265   grep -v '^ *+' conftest.er1 >conftest.err
30266   rm -f conftest.er1
30267   cat conftest.err >&5
30268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269   (exit $ac_status); } &&
30270          { ac_try='test -z "$ac_c_werror_flag"
30271                          || test ! -s conftest.err'
30272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30273   (eval $ac_try) 2>&5
30274   ac_status=$?
30275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276   (exit $ac_status); }; } &&
30277          { ac_try='test -s conftest$ac_exeext'
30278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279   (eval $ac_try) 2>&5
30280   ac_status=$?
30281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282   (exit $ac_status); }; }; then
30283   eval "$as_ac_var=yes"
30284 else
30285   echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30287
30288 eval "$as_ac_var=no"
30289 fi
30290 rm -f conftest.err conftest.$ac_objext \
30291       conftest$ac_exeext conftest.$ac_ext
30292 fi
30293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30295 if test `eval echo '${'$as_ac_var'}'` = yes; then
30296   cat >>confdefs.h <<_ACEOF
30297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30298 _ACEOF
30299
30300 fi
30301 done
30302
30303   else
30304
30305   echo "$as_me:$LINENO: checking for _expl declaration" >&5
30306 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
30307   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30308     if test "${glibcxx_cv_func__expl_use+set}" = set; then
30309   echo $ECHO_N "(cached) $ECHO_C" >&6
30310 else
30311
30312
30313
30314       ac_ext=cc
30315 ac_cpp='$CXXCPP $CPPFLAGS'
30316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30319
30320       cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h.  */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h.  */
30326 #include <math.h>
30327                       #ifdef HAVE_IEEEFP_H
30328                       #include <ieeefp.h>
30329                       #endif
30330
30331 int
30332 main ()
30333 {
30334  _expl(0);
30335   ;
30336   return 0;
30337 }
30338 _ACEOF
30339 rm -f conftest.$ac_objext
30340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30341   (eval $ac_compile) 2>conftest.er1
30342   ac_status=$?
30343   grep -v '^ *+' conftest.er1 >conftest.err
30344   rm -f conftest.er1
30345   cat conftest.err >&5
30346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347   (exit $ac_status); } &&
30348          { ac_try='test -z "$ac_cxx_werror_flag"
30349                          || test ! -s conftest.err'
30350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30351   (eval $ac_try) 2>&5
30352   ac_status=$?
30353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30354   (exit $ac_status); }; } &&
30355          { ac_try='test -s conftest.$ac_objext'
30356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30357   (eval $ac_try) 2>&5
30358   ac_status=$?
30359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360   (exit $ac_status); }; }; then
30361   glibcxx_cv_func__expl_use=yes
30362 else
30363   echo "$as_me: failed program was:" >&5
30364 sed 's/^/| /' conftest.$ac_ext >&5
30365
30366 glibcxx_cv_func__expl_use=no
30367 fi
30368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30369       ac_ext=c
30370 ac_cpp='$CPP $CPPFLAGS'
30371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30374
30375
30376 fi
30377
30378   fi
30379   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
30380 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
30381
30382     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30383
30384 for ac_func in _expl
30385 do
30386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30387 echo "$as_me:$LINENO: checking for $ac_func" >&5
30388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30389 if eval "test \"\${$as_ac_var+set}\" = set"; then
30390   echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392   if test x$gcc_no_link = xyes; then
30393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30395    { (exit 1); exit 1; }; }
30396 fi
30397 cat >conftest.$ac_ext <<_ACEOF
30398 /* confdefs.h.  */
30399 _ACEOF
30400 cat confdefs.h >>conftest.$ac_ext
30401 cat >>conftest.$ac_ext <<_ACEOF
30402 /* end confdefs.h.  */
30403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30405 #define $ac_func innocuous_$ac_func
30406
30407 /* System header to define __stub macros and hopefully few prototypes,
30408     which can conflict with char $ac_func (); below.
30409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30410     <limits.h> exists even on freestanding compilers.  */
30411
30412 #ifdef __STDC__
30413 # include <limits.h>
30414 #else
30415 # include <assert.h>
30416 #endif
30417
30418 #undef $ac_func
30419
30420 /* Override any gcc2 internal prototype to avoid an error.  */
30421 #ifdef __cplusplus
30422 extern "C"
30423 {
30424 #endif
30425 /* We use char because int might match the return type of a gcc2
30426    builtin and then its argument prototype would still apply.  */
30427 char $ac_func ();
30428 /* The GNU C library defines this for functions which it implements
30429     to always fail with ENOSYS.  Some functions are actually named
30430     something starting with __ and the normal name is an alias.  */
30431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30432 choke me
30433 #else
30434 char (*f) () = $ac_func;
30435 #endif
30436 #ifdef __cplusplus
30437 }
30438 #endif
30439
30440 int
30441 main ()
30442 {
30443 return f != $ac_func;
30444   ;
30445   return 0;
30446 }
30447 _ACEOF
30448 rm -f conftest.$ac_objext conftest$ac_exeext
30449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30450   (eval $ac_link) 2>conftest.er1
30451   ac_status=$?
30452   grep -v '^ *+' conftest.er1 >conftest.err
30453   rm -f conftest.er1
30454   cat conftest.err >&5
30455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456   (exit $ac_status); } &&
30457          { ac_try='test -z "$ac_c_werror_flag"
30458                          || test ! -s conftest.err'
30459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30460   (eval $ac_try) 2>&5
30461   ac_status=$?
30462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30463   (exit $ac_status); }; } &&
30464          { ac_try='test -s conftest$ac_exeext'
30465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30466   (eval $ac_try) 2>&5
30467   ac_status=$?
30468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469   (exit $ac_status); }; }; then
30470   eval "$as_ac_var=yes"
30471 else
30472   echo "$as_me: failed program was:" >&5
30473 sed 's/^/| /' conftest.$ac_ext >&5
30474
30475 eval "$as_ac_var=no"
30476 fi
30477 rm -f conftest.err conftest.$ac_objext \
30478       conftest$ac_exeext conftest.$ac_ext
30479 fi
30480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30482 if test `eval echo '${'$as_ac_var'}'` = yes; then
30483   cat >>confdefs.h <<_ACEOF
30484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30485 _ACEOF
30486
30487 fi
30488 done
30489
30490     fi
30491   fi
30492
30493
30494
30495
30496
30497
30498   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30499 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30500   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30501     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30502   echo $ECHO_N "(cached) $ECHO_C" >&6
30503 else
30504
30505
30506
30507       ac_ext=cc
30508 ac_cpp='$CXXCPP $CPPFLAGS'
30509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30512
30513       cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h.  */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h.  */
30519 #include <math.h>
30520                       #ifdef HAVE_IEEEFP_H
30521                       #include <ieeefp.h>
30522                       #endif
30523
30524 int
30525 main ()
30526 {
30527  fabsl(0);
30528   ;
30529   return 0;
30530 }
30531 _ACEOF
30532 rm -f conftest.$ac_objext
30533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30534   (eval $ac_compile) 2>conftest.er1
30535   ac_status=$?
30536   grep -v '^ *+' conftest.er1 >conftest.err
30537   rm -f conftest.er1
30538   cat conftest.err >&5
30539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540   (exit $ac_status); } &&
30541          { ac_try='test -z "$ac_cxx_werror_flag"
30542                          || test ! -s conftest.err'
30543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544   (eval $ac_try) 2>&5
30545   ac_status=$?
30546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547   (exit $ac_status); }; } &&
30548          { ac_try='test -s conftest.$ac_objext'
30549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550   (eval $ac_try) 2>&5
30551   ac_status=$?
30552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553   (exit $ac_status); }; }; then
30554   glibcxx_cv_func_fabsl_use=yes
30555 else
30556   echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.$ac_ext >&5
30558
30559 glibcxx_cv_func_fabsl_use=no
30560 fi
30561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30562       ac_ext=c
30563 ac_cpp='$CPP $CPPFLAGS'
30564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30567
30568
30569 fi
30570
30571   fi
30572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30573 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30574
30575   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30576
30577 for ac_func in fabsl
30578 do
30579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30580 echo "$as_me:$LINENO: checking for $ac_func" >&5
30581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30582 if eval "test \"\${$as_ac_var+set}\" = set"; then
30583   echo $ECHO_N "(cached) $ECHO_C" >&6
30584 else
30585   if test x$gcc_no_link = xyes; then
30586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30588    { (exit 1); exit 1; }; }
30589 fi
30590 cat >conftest.$ac_ext <<_ACEOF
30591 /* confdefs.h.  */
30592 _ACEOF
30593 cat confdefs.h >>conftest.$ac_ext
30594 cat >>conftest.$ac_ext <<_ACEOF
30595 /* end confdefs.h.  */
30596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30598 #define $ac_func innocuous_$ac_func
30599
30600 /* System header to define __stub macros and hopefully few prototypes,
30601     which can conflict with char $ac_func (); below.
30602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30603     <limits.h> exists even on freestanding compilers.  */
30604
30605 #ifdef __STDC__
30606 # include <limits.h>
30607 #else
30608 # include <assert.h>
30609 #endif
30610
30611 #undef $ac_func
30612
30613 /* Override any gcc2 internal prototype to avoid an error.  */
30614 #ifdef __cplusplus
30615 extern "C"
30616 {
30617 #endif
30618 /* We use char because int might match the return type of a gcc2
30619    builtin and then its argument prototype would still apply.  */
30620 char $ac_func ();
30621 /* The GNU C library defines this for functions which it implements
30622     to always fail with ENOSYS.  Some functions are actually named
30623     something starting with __ and the normal name is an alias.  */
30624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30625 choke me
30626 #else
30627 char (*f) () = $ac_func;
30628 #endif
30629 #ifdef __cplusplus
30630 }
30631 #endif
30632
30633 int
30634 main ()
30635 {
30636 return f != $ac_func;
30637   ;
30638   return 0;
30639 }
30640 _ACEOF
30641 rm -f conftest.$ac_objext conftest$ac_exeext
30642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30643   (eval $ac_link) 2>conftest.er1
30644   ac_status=$?
30645   grep -v '^ *+' conftest.er1 >conftest.err
30646   rm -f conftest.er1
30647   cat conftest.err >&5
30648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649   (exit $ac_status); } &&
30650          { ac_try='test -z "$ac_c_werror_flag"
30651                          || test ! -s conftest.err'
30652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30653   (eval $ac_try) 2>&5
30654   ac_status=$?
30655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656   (exit $ac_status); }; } &&
30657          { ac_try='test -s conftest$ac_exeext'
30658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659   (eval $ac_try) 2>&5
30660   ac_status=$?
30661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662   (exit $ac_status); }; }; then
30663   eval "$as_ac_var=yes"
30664 else
30665   echo "$as_me: failed program was:" >&5
30666 sed 's/^/| /' conftest.$ac_ext >&5
30667
30668 eval "$as_ac_var=no"
30669 fi
30670 rm -f conftest.err conftest.$ac_objext \
30671       conftest$ac_exeext conftest.$ac_ext
30672 fi
30673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30675 if test `eval echo '${'$as_ac_var'}'` = yes; then
30676   cat >>confdefs.h <<_ACEOF
30677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30678 _ACEOF
30679
30680 fi
30681 done
30682
30683   else
30684
30685   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30686 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30687   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30688     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30689   echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691
30692
30693
30694       ac_ext=cc
30695 ac_cpp='$CXXCPP $CPPFLAGS'
30696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30699
30700       cat >conftest.$ac_ext <<_ACEOF
30701 /* confdefs.h.  */
30702 _ACEOF
30703 cat confdefs.h >>conftest.$ac_ext
30704 cat >>conftest.$ac_ext <<_ACEOF
30705 /* end confdefs.h.  */
30706 #include <math.h>
30707                       #ifdef HAVE_IEEEFP_H
30708                       #include <ieeefp.h>
30709                       #endif
30710
30711 int
30712 main ()
30713 {
30714  _fabsl(0);
30715   ;
30716   return 0;
30717 }
30718 _ACEOF
30719 rm -f conftest.$ac_objext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30721   (eval $ac_compile) 2>conftest.er1
30722   ac_status=$?
30723   grep -v '^ *+' conftest.er1 >conftest.err
30724   rm -f conftest.er1
30725   cat conftest.err >&5
30726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727   (exit $ac_status); } &&
30728          { ac_try='test -z "$ac_cxx_werror_flag"
30729                          || test ! -s conftest.err'
30730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731   (eval $ac_try) 2>&5
30732   ac_status=$?
30733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734   (exit $ac_status); }; } &&
30735          { ac_try='test -s conftest.$ac_objext'
30736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737   (eval $ac_try) 2>&5
30738   ac_status=$?
30739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740   (exit $ac_status); }; }; then
30741   glibcxx_cv_func__fabsl_use=yes
30742 else
30743   echo "$as_me: failed program was:" >&5
30744 sed 's/^/| /' conftest.$ac_ext >&5
30745
30746 glibcxx_cv_func__fabsl_use=no
30747 fi
30748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30749       ac_ext=c
30750 ac_cpp='$CPP $CPPFLAGS'
30751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30754
30755
30756 fi
30757
30758   fi
30759   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30760 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30761
30762     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30763
30764 for ac_func in _fabsl
30765 do
30766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30767 echo "$as_me:$LINENO: checking for $ac_func" >&5
30768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30769 if eval "test \"\${$as_ac_var+set}\" = set"; then
30770   echo $ECHO_N "(cached) $ECHO_C" >&6
30771 else
30772   if test x$gcc_no_link = xyes; then
30773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30775    { (exit 1); exit 1; }; }
30776 fi
30777 cat >conftest.$ac_ext <<_ACEOF
30778 /* confdefs.h.  */
30779 _ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h.  */
30783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30784    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30785 #define $ac_func innocuous_$ac_func
30786
30787 /* System header to define __stub macros and hopefully few prototypes,
30788     which can conflict with char $ac_func (); below.
30789     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30790     <limits.h> exists even on freestanding compilers.  */
30791
30792 #ifdef __STDC__
30793 # include <limits.h>
30794 #else
30795 # include <assert.h>
30796 #endif
30797
30798 #undef $ac_func
30799
30800 /* Override any gcc2 internal prototype to avoid an error.  */
30801 #ifdef __cplusplus
30802 extern "C"
30803 {
30804 #endif
30805 /* We use char because int might match the return type of a gcc2
30806    builtin and then its argument prototype would still apply.  */
30807 char $ac_func ();
30808 /* The GNU C library defines this for functions which it implements
30809     to always fail with ENOSYS.  Some functions are actually named
30810     something starting with __ and the normal name is an alias.  */
30811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30812 choke me
30813 #else
30814 char (*f) () = $ac_func;
30815 #endif
30816 #ifdef __cplusplus
30817 }
30818 #endif
30819
30820 int
30821 main ()
30822 {
30823 return f != $ac_func;
30824   ;
30825   return 0;
30826 }
30827 _ACEOF
30828 rm -f conftest.$ac_objext conftest$ac_exeext
30829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30830   (eval $ac_link) 2>conftest.er1
30831   ac_status=$?
30832   grep -v '^ *+' conftest.er1 >conftest.err
30833   rm -f conftest.er1
30834   cat conftest.err >&5
30835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836   (exit $ac_status); } &&
30837          { ac_try='test -z "$ac_c_werror_flag"
30838                          || test ! -s conftest.err'
30839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840   (eval $ac_try) 2>&5
30841   ac_status=$?
30842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843   (exit $ac_status); }; } &&
30844          { ac_try='test -s conftest$ac_exeext'
30845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846   (eval $ac_try) 2>&5
30847   ac_status=$?
30848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849   (exit $ac_status); }; }; then
30850   eval "$as_ac_var=yes"
30851 else
30852   echo "$as_me: failed program was:" >&5
30853 sed 's/^/| /' conftest.$ac_ext >&5
30854
30855 eval "$as_ac_var=no"
30856 fi
30857 rm -f conftest.err conftest.$ac_objext \
30858       conftest$ac_exeext conftest.$ac_ext
30859 fi
30860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30862 if test `eval echo '${'$as_ac_var'}'` = yes; then
30863   cat >>confdefs.h <<_ACEOF
30864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30865 _ACEOF
30866
30867 fi
30868 done
30869
30870     fi
30871   fi
30872
30873
30874
30875
30876
30877
30878   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
30879 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
30880   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30881     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
30882   echo $ECHO_N "(cached) $ECHO_C" >&6
30883 else
30884
30885
30886
30887       ac_ext=cc
30888 ac_cpp='$CXXCPP $CPPFLAGS'
30889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30892
30893       cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h.  */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h.  */
30899 #include <math.h>
30900 int
30901 main ()
30902 {
30903  fmodl(0, 0);
30904   ;
30905   return 0;
30906 }
30907 _ACEOF
30908 rm -f conftest.$ac_objext
30909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30910   (eval $ac_compile) 2>conftest.er1
30911   ac_status=$?
30912   grep -v '^ *+' conftest.er1 >conftest.err
30913   rm -f conftest.er1
30914   cat conftest.err >&5
30915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916   (exit $ac_status); } &&
30917          { ac_try='test -z "$ac_cxx_werror_flag"
30918                          || test ! -s conftest.err'
30919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920   (eval $ac_try) 2>&5
30921   ac_status=$?
30922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923   (exit $ac_status); }; } &&
30924          { ac_try='test -s conftest.$ac_objext'
30925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926   (eval $ac_try) 2>&5
30927   ac_status=$?
30928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929   (exit $ac_status); }; }; then
30930   glibcxx_cv_func_fmodl_use=yes
30931 else
30932   echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935 glibcxx_cv_func_fmodl_use=no
30936 fi
30937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30938       ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943
30944
30945 fi
30946
30947   fi
30948   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
30949 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
30950
30951   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30952
30953 for ac_func in fmodl
30954 do
30955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30956 echo "$as_me:$LINENO: checking for $ac_func" >&5
30957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30958 if eval "test \"\${$as_ac_var+set}\" = set"; then
30959   echo $ECHO_N "(cached) $ECHO_C" >&6
30960 else
30961   if test x$gcc_no_link = xyes; then
30962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30964    { (exit 1); exit 1; }; }
30965 fi
30966 cat >conftest.$ac_ext <<_ACEOF
30967 /* confdefs.h.  */
30968 _ACEOF
30969 cat confdefs.h >>conftest.$ac_ext
30970 cat >>conftest.$ac_ext <<_ACEOF
30971 /* end confdefs.h.  */
30972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30974 #define $ac_func innocuous_$ac_func
30975
30976 /* System header to define __stub macros and hopefully few prototypes,
30977     which can conflict with char $ac_func (); below.
30978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30979     <limits.h> exists even on freestanding compilers.  */
30980
30981 #ifdef __STDC__
30982 # include <limits.h>
30983 #else
30984 # include <assert.h>
30985 #endif
30986
30987 #undef $ac_func
30988
30989 /* Override any gcc2 internal prototype to avoid an error.  */
30990 #ifdef __cplusplus
30991 extern "C"
30992 {
30993 #endif
30994 /* We use char because int might match the return type of a gcc2
30995    builtin and then its argument prototype would still apply.  */
30996 char $ac_func ();
30997 /* The GNU C library defines this for functions which it implements
30998     to always fail with ENOSYS.  Some functions are actually named
30999     something starting with __ and the normal name is an alias.  */
31000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31001 choke me
31002 #else
31003 char (*f) () = $ac_func;
31004 #endif
31005 #ifdef __cplusplus
31006 }
31007 #endif
31008
31009 int
31010 main ()
31011 {
31012 return f != $ac_func;
31013   ;
31014   return 0;
31015 }
31016 _ACEOF
31017 rm -f conftest.$ac_objext conftest$ac_exeext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31019   (eval $ac_link) 2>conftest.er1
31020   ac_status=$?
31021   grep -v '^ *+' conftest.er1 >conftest.err
31022   rm -f conftest.er1
31023   cat conftest.err >&5
31024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025   (exit $ac_status); } &&
31026          { ac_try='test -z "$ac_c_werror_flag"
31027                          || test ! -s conftest.err'
31028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029   (eval $ac_try) 2>&5
31030   ac_status=$?
31031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032   (exit $ac_status); }; } &&
31033          { ac_try='test -s conftest$ac_exeext'
31034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035   (eval $ac_try) 2>&5
31036   ac_status=$?
31037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038   (exit $ac_status); }; }; then
31039   eval "$as_ac_var=yes"
31040 else
31041   echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044 eval "$as_ac_var=no"
31045 fi
31046 rm -f conftest.err conftest.$ac_objext \
31047       conftest$ac_exeext conftest.$ac_ext
31048 fi
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051 if test `eval echo '${'$as_ac_var'}'` = yes; then
31052   cat >>confdefs.h <<_ACEOF
31053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 _ACEOF
31055
31056 fi
31057 done
31058
31059   else
31060
31061   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31062 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31063   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31064     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31065   echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067
31068
31069
31070       ac_ext=cc
31071 ac_cpp='$CXXCPP $CPPFLAGS'
31072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075
31076       cat >conftest.$ac_ext <<_ACEOF
31077 /* confdefs.h.  */
31078 _ACEOF
31079 cat confdefs.h >>conftest.$ac_ext
31080 cat >>conftest.$ac_ext <<_ACEOF
31081 /* end confdefs.h.  */
31082 #include <math.h>
31083 int
31084 main ()
31085 {
31086  _fmodl(0, 0);
31087   ;
31088   return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext
31092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31093   (eval $ac_compile) 2>conftest.er1
31094   ac_status=$?
31095   grep -v '^ *+' conftest.er1 >conftest.err
31096   rm -f conftest.er1
31097   cat conftest.err >&5
31098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099   (exit $ac_status); } &&
31100          { ac_try='test -z "$ac_cxx_werror_flag"
31101                          || test ! -s conftest.err'
31102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103   (eval $ac_try) 2>&5
31104   ac_status=$?
31105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106   (exit $ac_status); }; } &&
31107          { ac_try='test -s conftest.$ac_objext'
31108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31109   (eval $ac_try) 2>&5
31110   ac_status=$?
31111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112   (exit $ac_status); }; }; then
31113   glibcxx_cv_func__fmodl_use=yes
31114 else
31115   echo "$as_me: failed program was:" >&5
31116 sed 's/^/| /' conftest.$ac_ext >&5
31117
31118 glibcxx_cv_func__fmodl_use=no
31119 fi
31120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31121       ac_ext=c
31122 ac_cpp='$CPP $CPPFLAGS'
31123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31126
31127
31128 fi
31129
31130   fi
31131   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31132 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31133
31134     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31135
31136 for ac_func in _fmodl
31137 do
31138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31139 echo "$as_me:$LINENO: checking for $ac_func" >&5
31140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31141 if eval "test \"\${$as_ac_var+set}\" = set"; then
31142   echo $ECHO_N "(cached) $ECHO_C" >&6
31143 else
31144   if test x$gcc_no_link = xyes; then
31145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31147    { (exit 1); exit 1; }; }
31148 fi
31149 cat >conftest.$ac_ext <<_ACEOF
31150 /* confdefs.h.  */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h.  */
31155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31157 #define $ac_func innocuous_$ac_func
31158
31159 /* System header to define __stub macros and hopefully few prototypes,
31160     which can conflict with char $ac_func (); below.
31161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31162     <limits.h> exists even on freestanding compilers.  */
31163
31164 #ifdef __STDC__
31165 # include <limits.h>
31166 #else
31167 # include <assert.h>
31168 #endif
31169
31170 #undef $ac_func
31171
31172 /* Override any gcc2 internal prototype to avoid an error.  */
31173 #ifdef __cplusplus
31174 extern "C"
31175 {
31176 #endif
31177 /* We use char because int might match the return type of a gcc2
31178    builtin and then its argument prototype would still apply.  */
31179 char $ac_func ();
31180 /* The GNU C library defines this for functions which it implements
31181     to always fail with ENOSYS.  Some functions are actually named
31182     something starting with __ and the normal name is an alias.  */
31183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31184 choke me
31185 #else
31186 char (*f) () = $ac_func;
31187 #endif
31188 #ifdef __cplusplus
31189 }
31190 #endif
31191
31192 int
31193 main ()
31194 {
31195 return f != $ac_func;
31196   ;
31197   return 0;
31198 }
31199 _ACEOF
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31202   (eval $ac_link) 2>conftest.er1
31203   ac_status=$?
31204   grep -v '^ *+' conftest.er1 >conftest.err
31205   rm -f conftest.er1
31206   cat conftest.err >&5
31207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208   (exit $ac_status); } &&
31209          { ac_try='test -z "$ac_c_werror_flag"
31210                          || test ! -s conftest.err'
31211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31212   (eval $ac_try) 2>&5
31213   ac_status=$?
31214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215   (exit $ac_status); }; } &&
31216          { ac_try='test -s conftest$ac_exeext'
31217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218   (eval $ac_try) 2>&5
31219   ac_status=$?
31220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221   (exit $ac_status); }; }; then
31222   eval "$as_ac_var=yes"
31223 else
31224   echo "$as_me: failed program was:" >&5
31225 sed 's/^/| /' conftest.$ac_ext >&5
31226
31227 eval "$as_ac_var=no"
31228 fi
31229 rm -f conftest.err conftest.$ac_objext \
31230       conftest$ac_exeext conftest.$ac_ext
31231 fi
31232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31234 if test `eval echo '${'$as_ac_var'}'` = yes; then
31235   cat >>confdefs.h <<_ACEOF
31236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31237 _ACEOF
31238
31239 fi
31240 done
31241
31242     fi
31243   fi
31244
31245
31246
31247
31248
31249
31250   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31251 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
31252   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31253     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31254   echo $ECHO_N "(cached) $ECHO_C" >&6
31255 else
31256
31257
31258
31259       ac_ext=cc
31260 ac_cpp='$CXXCPP $CPPFLAGS'
31261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31264
31265       cat >conftest.$ac_ext <<_ACEOF
31266 /* confdefs.h.  */
31267 _ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h.  */
31271 #include <math.h>
31272 int
31273 main ()
31274 {
31275  frexpl(0, 0);
31276   ;
31277   return 0;
31278 }
31279 _ACEOF
31280 rm -f conftest.$ac_objext
31281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31282   (eval $ac_compile) 2>conftest.er1
31283   ac_status=$?
31284   grep -v '^ *+' conftest.er1 >conftest.err
31285   rm -f conftest.er1
31286   cat conftest.err >&5
31287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288   (exit $ac_status); } &&
31289          { ac_try='test -z "$ac_cxx_werror_flag"
31290                          || test ! -s conftest.err'
31291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292   (eval $ac_try) 2>&5
31293   ac_status=$?
31294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295   (exit $ac_status); }; } &&
31296          { ac_try='test -s conftest.$ac_objext'
31297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31298   (eval $ac_try) 2>&5
31299   ac_status=$?
31300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301   (exit $ac_status); }; }; then
31302   glibcxx_cv_func_frexpl_use=yes
31303 else
31304   echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31306
31307 glibcxx_cv_func_frexpl_use=no
31308 fi
31309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31310       ac_ext=c
31311 ac_cpp='$CPP $CPPFLAGS'
31312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31315
31316
31317 fi
31318
31319   fi
31320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
31321 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
31322
31323   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31324
31325 for ac_func in frexpl
31326 do
31327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31328 echo "$as_me:$LINENO: checking for $ac_func" >&5
31329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31330 if eval "test \"\${$as_ac_var+set}\" = set"; then
31331   echo $ECHO_N "(cached) $ECHO_C" >&6
31332 else
31333   if test x$gcc_no_link = xyes; then
31334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31336    { (exit 1); exit 1; }; }
31337 fi
31338 cat >conftest.$ac_ext <<_ACEOF
31339 /* confdefs.h.  */
31340 _ACEOF
31341 cat confdefs.h >>conftest.$ac_ext
31342 cat >>conftest.$ac_ext <<_ACEOF
31343 /* end confdefs.h.  */
31344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31346 #define $ac_func innocuous_$ac_func
31347
31348 /* System header to define __stub macros and hopefully few prototypes,
31349     which can conflict with char $ac_func (); below.
31350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31351     <limits.h> exists even on freestanding compilers.  */
31352
31353 #ifdef __STDC__
31354 # include <limits.h>
31355 #else
31356 # include <assert.h>
31357 #endif
31358
31359 #undef $ac_func
31360
31361 /* Override any gcc2 internal prototype to avoid an error.  */
31362 #ifdef __cplusplus
31363 extern "C"
31364 {
31365 #endif
31366 /* We use char because int might match the return type of a gcc2
31367    builtin and then its argument prototype would still apply.  */
31368 char $ac_func ();
31369 /* The GNU C library defines this for functions which it implements
31370     to always fail with ENOSYS.  Some functions are actually named
31371     something starting with __ and the normal name is an alias.  */
31372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31373 choke me
31374 #else
31375 char (*f) () = $ac_func;
31376 #endif
31377 #ifdef __cplusplus
31378 }
31379 #endif
31380
31381 int
31382 main ()
31383 {
31384 return f != $ac_func;
31385   ;
31386   return 0;
31387 }
31388 _ACEOF
31389 rm -f conftest.$ac_objext conftest$ac_exeext
31390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31391   (eval $ac_link) 2>conftest.er1
31392   ac_status=$?
31393   grep -v '^ *+' conftest.er1 >conftest.err
31394   rm -f conftest.er1
31395   cat conftest.err >&5
31396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397   (exit $ac_status); } &&
31398          { ac_try='test -z "$ac_c_werror_flag"
31399                          || test ! -s conftest.err'
31400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401   (eval $ac_try) 2>&5
31402   ac_status=$?
31403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404   (exit $ac_status); }; } &&
31405          { ac_try='test -s conftest$ac_exeext'
31406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407   (eval $ac_try) 2>&5
31408   ac_status=$?
31409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410   (exit $ac_status); }; }; then
31411   eval "$as_ac_var=yes"
31412 else
31413   echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.$ac_ext >&5
31415
31416 eval "$as_ac_var=no"
31417 fi
31418 rm -f conftest.err conftest.$ac_objext \
31419       conftest$ac_exeext conftest.$ac_ext
31420 fi
31421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31423 if test `eval echo '${'$as_ac_var'}'` = yes; then
31424   cat >>confdefs.h <<_ACEOF
31425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31426 _ACEOF
31427
31428 fi
31429 done
31430
31431   else
31432
31433   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
31434 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
31435   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31436     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
31437   echo $ECHO_N "(cached) $ECHO_C" >&6
31438 else
31439
31440
31441
31442       ac_ext=cc
31443 ac_cpp='$CXXCPP $CPPFLAGS'
31444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31447
31448       cat >conftest.$ac_ext <<_ACEOF
31449 /* confdefs.h.  */
31450 _ACEOF
31451 cat confdefs.h >>conftest.$ac_ext
31452 cat >>conftest.$ac_ext <<_ACEOF
31453 /* end confdefs.h.  */
31454 #include <math.h>
31455 int
31456 main ()
31457 {
31458  _frexpl(0, 0);
31459   ;
31460   return 0;
31461 }
31462 _ACEOF
31463 rm -f conftest.$ac_objext
31464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31465   (eval $ac_compile) 2>conftest.er1
31466   ac_status=$?
31467   grep -v '^ *+' conftest.er1 >conftest.err
31468   rm -f conftest.er1
31469   cat conftest.err >&5
31470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471   (exit $ac_status); } &&
31472          { ac_try='test -z "$ac_cxx_werror_flag"
31473                          || test ! -s conftest.err'
31474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475   (eval $ac_try) 2>&5
31476   ac_status=$?
31477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478   (exit $ac_status); }; } &&
31479          { ac_try='test -s conftest.$ac_objext'
31480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481   (eval $ac_try) 2>&5
31482   ac_status=$?
31483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484   (exit $ac_status); }; }; then
31485   glibcxx_cv_func__frexpl_use=yes
31486 else
31487   echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31489
31490 glibcxx_cv_func__frexpl_use=no
31491 fi
31492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31493       ac_ext=c
31494 ac_cpp='$CPP $CPPFLAGS'
31495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31498
31499
31500 fi
31501
31502   fi
31503   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31504 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31505
31506     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31507
31508 for ac_func in _frexpl
31509 do
31510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31511 echo "$as_me:$LINENO: checking for $ac_func" >&5
31512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31513 if eval "test \"\${$as_ac_var+set}\" = set"; then
31514   echo $ECHO_N "(cached) $ECHO_C" >&6
31515 else
31516   if test x$gcc_no_link = xyes; then
31517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31519    { (exit 1); exit 1; }; }
31520 fi
31521 cat >conftest.$ac_ext <<_ACEOF
31522 /* confdefs.h.  */
31523 _ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h.  */
31527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31529 #define $ac_func innocuous_$ac_func
31530
31531 /* System header to define __stub macros and hopefully few prototypes,
31532     which can conflict with char $ac_func (); below.
31533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31534     <limits.h> exists even on freestanding compilers.  */
31535
31536 #ifdef __STDC__
31537 # include <limits.h>
31538 #else
31539 # include <assert.h>
31540 #endif
31541
31542 #undef $ac_func
31543
31544 /* Override any gcc2 internal prototype to avoid an error.  */
31545 #ifdef __cplusplus
31546 extern "C"
31547 {
31548 #endif
31549 /* We use char because int might match the return type of a gcc2
31550    builtin and then its argument prototype would still apply.  */
31551 char $ac_func ();
31552 /* The GNU C library defines this for functions which it implements
31553     to always fail with ENOSYS.  Some functions are actually named
31554     something starting with __ and the normal name is an alias.  */
31555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31556 choke me
31557 #else
31558 char (*f) () = $ac_func;
31559 #endif
31560 #ifdef __cplusplus
31561 }
31562 #endif
31563
31564 int
31565 main ()
31566 {
31567 return f != $ac_func;
31568   ;
31569   return 0;
31570 }
31571 _ACEOF
31572 rm -f conftest.$ac_objext conftest$ac_exeext
31573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31574   (eval $ac_link) 2>conftest.er1
31575   ac_status=$?
31576   grep -v '^ *+' conftest.er1 >conftest.err
31577   rm -f conftest.er1
31578   cat conftest.err >&5
31579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580   (exit $ac_status); } &&
31581          { ac_try='test -z "$ac_c_werror_flag"
31582                          || test ! -s conftest.err'
31583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31584   (eval $ac_try) 2>&5
31585   ac_status=$?
31586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587   (exit $ac_status); }; } &&
31588          { ac_try='test -s conftest$ac_exeext'
31589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31590   (eval $ac_try) 2>&5
31591   ac_status=$?
31592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593   (exit $ac_status); }; }; then
31594   eval "$as_ac_var=yes"
31595 else
31596   echo "$as_me: failed program was:" >&5
31597 sed 's/^/| /' conftest.$ac_ext >&5
31598
31599 eval "$as_ac_var=no"
31600 fi
31601 rm -f conftest.err conftest.$ac_objext \
31602       conftest$ac_exeext conftest.$ac_ext
31603 fi
31604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31606 if test `eval echo '${'$as_ac_var'}'` = yes; then
31607   cat >>confdefs.h <<_ACEOF
31608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31609 _ACEOF
31610
31611 fi
31612 done
31613
31614     fi
31615   fi
31616
31617
31618
31619
31620
31621
31622   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31623 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31624   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31625     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31626   echo $ECHO_N "(cached) $ECHO_C" >&6
31627 else
31628
31629
31630
31631       ac_ext=cc
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636
31637       cat >conftest.$ac_ext <<_ACEOF
31638 /* confdefs.h.  */
31639 _ACEOF
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h.  */
31643 #include <math.h>
31644 int
31645 main ()
31646 {
31647  hypotl(0, 0);
31648   ;
31649   return 0;
31650 }
31651 _ACEOF
31652 rm -f conftest.$ac_objext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31654   (eval $ac_compile) 2>conftest.er1
31655   ac_status=$?
31656   grep -v '^ *+' conftest.er1 >conftest.err
31657   rm -f conftest.er1
31658   cat conftest.err >&5
31659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660   (exit $ac_status); } &&
31661          { ac_try='test -z "$ac_cxx_werror_flag"
31662                          || test ! -s conftest.err'
31663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664   (eval $ac_try) 2>&5
31665   ac_status=$?
31666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667   (exit $ac_status); }; } &&
31668          { ac_try='test -s conftest.$ac_objext'
31669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670   (eval $ac_try) 2>&5
31671   ac_status=$?
31672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673   (exit $ac_status); }; }; then
31674   glibcxx_cv_func_hypotl_use=yes
31675 else
31676   echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.$ac_ext >&5
31678
31679 glibcxx_cv_func_hypotl_use=no
31680 fi
31681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31682       ac_ext=c
31683 ac_cpp='$CPP $CPPFLAGS'
31684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31687
31688
31689 fi
31690
31691   fi
31692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31693 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31694
31695   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31696
31697 for ac_func in hypotl
31698 do
31699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31700 echo "$as_me:$LINENO: checking for $ac_func" >&5
31701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31702 if eval "test \"\${$as_ac_var+set}\" = set"; then
31703   echo $ECHO_N "(cached) $ECHO_C" >&6
31704 else
31705   if test x$gcc_no_link = xyes; then
31706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31708    { (exit 1); exit 1; }; }
31709 fi
31710 cat >conftest.$ac_ext <<_ACEOF
31711 /* confdefs.h.  */
31712 _ACEOF
31713 cat confdefs.h >>conftest.$ac_ext
31714 cat >>conftest.$ac_ext <<_ACEOF
31715 /* end confdefs.h.  */
31716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31718 #define $ac_func innocuous_$ac_func
31719
31720 /* System header to define __stub macros and hopefully few prototypes,
31721     which can conflict with char $ac_func (); below.
31722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31723     <limits.h> exists even on freestanding compilers.  */
31724
31725 #ifdef __STDC__
31726 # include <limits.h>
31727 #else
31728 # include <assert.h>
31729 #endif
31730
31731 #undef $ac_func
31732
31733 /* Override any gcc2 internal prototype to avoid an error.  */
31734 #ifdef __cplusplus
31735 extern "C"
31736 {
31737 #endif
31738 /* We use char because int might match the return type of a gcc2
31739    builtin and then its argument prototype would still apply.  */
31740 char $ac_func ();
31741 /* The GNU C library defines this for functions which it implements
31742     to always fail with ENOSYS.  Some functions are actually named
31743     something starting with __ and the normal name is an alias.  */
31744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31745 choke me
31746 #else
31747 char (*f) () = $ac_func;
31748 #endif
31749 #ifdef __cplusplus
31750 }
31751 #endif
31752
31753 int
31754 main ()
31755 {
31756 return f != $ac_func;
31757   ;
31758   return 0;
31759 }
31760 _ACEOF
31761 rm -f conftest.$ac_objext conftest$ac_exeext
31762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31763   (eval $ac_link) 2>conftest.er1
31764   ac_status=$?
31765   grep -v '^ *+' conftest.er1 >conftest.err
31766   rm -f conftest.er1
31767   cat conftest.err >&5
31768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769   (exit $ac_status); } &&
31770          { ac_try='test -z "$ac_c_werror_flag"
31771                          || test ! -s conftest.err'
31772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773   (eval $ac_try) 2>&5
31774   ac_status=$?
31775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776   (exit $ac_status); }; } &&
31777          { ac_try='test -s conftest$ac_exeext'
31778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779   (eval $ac_try) 2>&5
31780   ac_status=$?
31781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782   (exit $ac_status); }; }; then
31783   eval "$as_ac_var=yes"
31784 else
31785   echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 eval "$as_ac_var=no"
31789 fi
31790 rm -f conftest.err conftest.$ac_objext \
31791       conftest$ac_exeext conftest.$ac_ext
31792 fi
31793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31795 if test `eval echo '${'$as_ac_var'}'` = yes; then
31796   cat >>confdefs.h <<_ACEOF
31797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31798 _ACEOF
31799
31800 fi
31801 done
31802
31803   else
31804
31805   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
31806 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
31807   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31808     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
31809   echo $ECHO_N "(cached) $ECHO_C" >&6
31810 else
31811
31812
31813
31814       ac_ext=cc
31815 ac_cpp='$CXXCPP $CPPFLAGS'
31816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31819
31820       cat >conftest.$ac_ext <<_ACEOF
31821 /* confdefs.h.  */
31822 _ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h.  */
31826 #include <math.h>
31827 int
31828 main ()
31829 {
31830  _hypotl(0, 0);
31831   ;
31832   return 0;
31833 }
31834 _ACEOF
31835 rm -f conftest.$ac_objext
31836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31837   (eval $ac_compile) 2>conftest.er1
31838   ac_status=$?
31839   grep -v '^ *+' conftest.er1 >conftest.err
31840   rm -f conftest.er1
31841   cat conftest.err >&5
31842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843   (exit $ac_status); } &&
31844          { ac_try='test -z "$ac_cxx_werror_flag"
31845                          || test ! -s conftest.err'
31846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847   (eval $ac_try) 2>&5
31848   ac_status=$?
31849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850   (exit $ac_status); }; } &&
31851          { ac_try='test -s conftest.$ac_objext'
31852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853   (eval $ac_try) 2>&5
31854   ac_status=$?
31855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856   (exit $ac_status); }; }; then
31857   glibcxx_cv_func__hypotl_use=yes
31858 else
31859   echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862 glibcxx_cv_func__hypotl_use=no
31863 fi
31864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31865       ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31870
31871
31872 fi
31873
31874   fi
31875   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
31876 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
31877
31878     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31879
31880 for ac_func in _hypotl
31881 do
31882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31883 echo "$as_me:$LINENO: checking for $ac_func" >&5
31884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31885 if eval "test \"\${$as_ac_var+set}\" = set"; then
31886   echo $ECHO_N "(cached) $ECHO_C" >&6
31887 else
31888   if test x$gcc_no_link = xyes; then
31889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31891    { (exit 1); exit 1; }; }
31892 fi
31893 cat >conftest.$ac_ext <<_ACEOF
31894 /* confdefs.h.  */
31895 _ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h.  */
31899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31901 #define $ac_func innocuous_$ac_func
31902
31903 /* System header to define __stub macros and hopefully few prototypes,
31904     which can conflict with char $ac_func (); below.
31905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31906     <limits.h> exists even on freestanding compilers.  */
31907
31908 #ifdef __STDC__
31909 # include <limits.h>
31910 #else
31911 # include <assert.h>
31912 #endif
31913
31914 #undef $ac_func
31915
31916 /* Override any gcc2 internal prototype to avoid an error.  */
31917 #ifdef __cplusplus
31918 extern "C"
31919 {
31920 #endif
31921 /* We use char because int might match the return type of a gcc2
31922    builtin and then its argument prototype would still apply.  */
31923 char $ac_func ();
31924 /* The GNU C library defines this for functions which it implements
31925     to always fail with ENOSYS.  Some functions are actually named
31926     something starting with __ and the normal name is an alias.  */
31927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31928 choke me
31929 #else
31930 char (*f) () = $ac_func;
31931 #endif
31932 #ifdef __cplusplus
31933 }
31934 #endif
31935
31936 int
31937 main ()
31938 {
31939 return f != $ac_func;
31940   ;
31941   return 0;
31942 }
31943 _ACEOF
31944 rm -f conftest.$ac_objext conftest$ac_exeext
31945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31946   (eval $ac_link) 2>conftest.er1
31947   ac_status=$?
31948   grep -v '^ *+' conftest.er1 >conftest.err
31949   rm -f conftest.er1
31950   cat conftest.err >&5
31951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952   (exit $ac_status); } &&
31953          { ac_try='test -z "$ac_c_werror_flag"
31954                          || test ! -s conftest.err'
31955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31956   (eval $ac_try) 2>&5
31957   ac_status=$?
31958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959   (exit $ac_status); }; } &&
31960          { ac_try='test -s conftest$ac_exeext'
31961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962   (eval $ac_try) 2>&5
31963   ac_status=$?
31964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965   (exit $ac_status); }; }; then
31966   eval "$as_ac_var=yes"
31967 else
31968   echo "$as_me: failed program was:" >&5
31969 sed 's/^/| /' conftest.$ac_ext >&5
31970
31971 eval "$as_ac_var=no"
31972 fi
31973 rm -f conftest.err conftest.$ac_objext \
31974       conftest$ac_exeext conftest.$ac_ext
31975 fi
31976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31978 if test `eval echo '${'$as_ac_var'}'` = yes; then
31979   cat >>confdefs.h <<_ACEOF
31980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31981 _ACEOF
31982
31983 fi
31984 done
31985
31986     fi
31987   fi
31988
31989
31990
31991
31992
31993
31994   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
31995 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
31996   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31997     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
31998   echo $ECHO_N "(cached) $ECHO_C" >&6
31999 else
32000
32001
32002
32003       ac_ext=cc
32004 ac_cpp='$CXXCPP $CPPFLAGS'
32005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32008
32009       cat >conftest.$ac_ext <<_ACEOF
32010 /* confdefs.h.  */
32011 _ACEOF
32012 cat confdefs.h >>conftest.$ac_ext
32013 cat >>conftest.$ac_ext <<_ACEOF
32014 /* end confdefs.h.  */
32015 #include <math.h>
32016 int
32017 main ()
32018 {
32019  ldexpl(0, 0);
32020   ;
32021   return 0;
32022 }
32023 _ACEOF
32024 rm -f conftest.$ac_objext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32026   (eval $ac_compile) 2>conftest.er1
32027   ac_status=$?
32028   grep -v '^ *+' conftest.er1 >conftest.err
32029   rm -f conftest.er1
32030   cat conftest.err >&5
32031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032   (exit $ac_status); } &&
32033          { ac_try='test -z "$ac_cxx_werror_flag"
32034                          || test ! -s conftest.err'
32035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036   (eval $ac_try) 2>&5
32037   ac_status=$?
32038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039   (exit $ac_status); }; } &&
32040          { ac_try='test -s conftest.$ac_objext'
32041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042   (eval $ac_try) 2>&5
32043   ac_status=$?
32044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045   (exit $ac_status); }; }; then
32046   glibcxx_cv_func_ldexpl_use=yes
32047 else
32048   echo "$as_me: failed program was:" >&5
32049 sed 's/^/| /' conftest.$ac_ext >&5
32050
32051 glibcxx_cv_func_ldexpl_use=no
32052 fi
32053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32054       ac_ext=c
32055 ac_cpp='$CPP $CPPFLAGS'
32056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059
32060
32061 fi
32062
32063   fi
32064   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32065 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32066
32067   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32068
32069 for ac_func in ldexpl
32070 do
32071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32072 echo "$as_me:$LINENO: checking for $ac_func" >&5
32073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32074 if eval "test \"\${$as_ac_var+set}\" = set"; then
32075   echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077   if test x$gcc_no_link = xyes; then
32078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32080    { (exit 1); exit 1; }; }
32081 fi
32082 cat >conftest.$ac_ext <<_ACEOF
32083 /* confdefs.h.  */
32084 _ACEOF
32085 cat confdefs.h >>conftest.$ac_ext
32086 cat >>conftest.$ac_ext <<_ACEOF
32087 /* end confdefs.h.  */
32088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32090 #define $ac_func innocuous_$ac_func
32091
32092 /* System header to define __stub macros and hopefully few prototypes,
32093     which can conflict with char $ac_func (); below.
32094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32095     <limits.h> exists even on freestanding compilers.  */
32096
32097 #ifdef __STDC__
32098 # include <limits.h>
32099 #else
32100 # include <assert.h>
32101 #endif
32102
32103 #undef $ac_func
32104
32105 /* Override any gcc2 internal prototype to avoid an error.  */
32106 #ifdef __cplusplus
32107 extern "C"
32108 {
32109 #endif
32110 /* We use char because int might match the return type of a gcc2
32111    builtin and then its argument prototype would still apply.  */
32112 char $ac_func ();
32113 /* The GNU C library defines this for functions which it implements
32114     to always fail with ENOSYS.  Some functions are actually named
32115     something starting with __ and the normal name is an alias.  */
32116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32117 choke me
32118 #else
32119 char (*f) () = $ac_func;
32120 #endif
32121 #ifdef __cplusplus
32122 }
32123 #endif
32124
32125 int
32126 main ()
32127 {
32128 return f != $ac_func;
32129   ;
32130   return 0;
32131 }
32132 _ACEOF
32133 rm -f conftest.$ac_objext conftest$ac_exeext
32134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32135   (eval $ac_link) 2>conftest.er1
32136   ac_status=$?
32137   grep -v '^ *+' conftest.er1 >conftest.err
32138   rm -f conftest.er1
32139   cat conftest.err >&5
32140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141   (exit $ac_status); } &&
32142          { ac_try='test -z "$ac_c_werror_flag"
32143                          || test ! -s conftest.err'
32144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145   (eval $ac_try) 2>&5
32146   ac_status=$?
32147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148   (exit $ac_status); }; } &&
32149          { ac_try='test -s conftest$ac_exeext'
32150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32151   (eval $ac_try) 2>&5
32152   ac_status=$?
32153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32154   (exit $ac_status); }; }; then
32155   eval "$as_ac_var=yes"
32156 else
32157   echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.$ac_ext >&5
32159
32160 eval "$as_ac_var=no"
32161 fi
32162 rm -f conftest.err conftest.$ac_objext \
32163       conftest$ac_exeext conftest.$ac_ext
32164 fi
32165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32167 if test `eval echo '${'$as_ac_var'}'` = yes; then
32168   cat >>confdefs.h <<_ACEOF
32169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32170 _ACEOF
32171
32172 fi
32173 done
32174
32175   else
32176
32177   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32178 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32179   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32180     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32181   echo $ECHO_N "(cached) $ECHO_C" >&6
32182 else
32183
32184
32185
32186       ac_ext=cc
32187 ac_cpp='$CXXCPP $CPPFLAGS'
32188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32191
32192       cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h.  */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h.  */
32198 #include <math.h>
32199 int
32200 main ()
32201 {
32202  _ldexpl(0, 0);
32203   ;
32204   return 0;
32205 }
32206 _ACEOF
32207 rm -f conftest.$ac_objext
32208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32209   (eval $ac_compile) 2>conftest.er1
32210   ac_status=$?
32211   grep -v '^ *+' conftest.er1 >conftest.err
32212   rm -f conftest.er1
32213   cat conftest.err >&5
32214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215   (exit $ac_status); } &&
32216          { ac_try='test -z "$ac_cxx_werror_flag"
32217                          || test ! -s conftest.err'
32218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219   (eval $ac_try) 2>&5
32220   ac_status=$?
32221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222   (exit $ac_status); }; } &&
32223          { ac_try='test -s conftest.$ac_objext'
32224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225   (eval $ac_try) 2>&5
32226   ac_status=$?
32227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228   (exit $ac_status); }; }; then
32229   glibcxx_cv_func__ldexpl_use=yes
32230 else
32231   echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.$ac_ext >&5
32233
32234 glibcxx_cv_func__ldexpl_use=no
32235 fi
32236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32237       ac_ext=c
32238 ac_cpp='$CPP $CPPFLAGS'
32239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32242
32243
32244 fi
32245
32246   fi
32247   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32248 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
32249
32250     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32251
32252 for ac_func in _ldexpl
32253 do
32254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32255 echo "$as_me:$LINENO: checking for $ac_func" >&5
32256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32257 if eval "test \"\${$as_ac_var+set}\" = set"; then
32258   echo $ECHO_N "(cached) $ECHO_C" >&6
32259 else
32260   if test x$gcc_no_link = xyes; then
32261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32263    { (exit 1); exit 1; }; }
32264 fi
32265 cat >conftest.$ac_ext <<_ACEOF
32266 /* confdefs.h.  */
32267 _ACEOF
32268 cat confdefs.h >>conftest.$ac_ext
32269 cat >>conftest.$ac_ext <<_ACEOF
32270 /* end confdefs.h.  */
32271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32273 #define $ac_func innocuous_$ac_func
32274
32275 /* System header to define __stub macros and hopefully few prototypes,
32276     which can conflict with char $ac_func (); below.
32277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32278     <limits.h> exists even on freestanding compilers.  */
32279
32280 #ifdef __STDC__
32281 # include <limits.h>
32282 #else
32283 # include <assert.h>
32284 #endif
32285
32286 #undef $ac_func
32287
32288 /* Override any gcc2 internal prototype to avoid an error.  */
32289 #ifdef __cplusplus
32290 extern "C"
32291 {
32292 #endif
32293 /* We use char because int might match the return type of a gcc2
32294    builtin and then its argument prototype would still apply.  */
32295 char $ac_func ();
32296 /* The GNU C library defines this for functions which it implements
32297     to always fail with ENOSYS.  Some functions are actually named
32298     something starting with __ and the normal name is an alias.  */
32299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32300 choke me
32301 #else
32302 char (*f) () = $ac_func;
32303 #endif
32304 #ifdef __cplusplus
32305 }
32306 #endif
32307
32308 int
32309 main ()
32310 {
32311 return f != $ac_func;
32312   ;
32313   return 0;
32314 }
32315 _ACEOF
32316 rm -f conftest.$ac_objext conftest$ac_exeext
32317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32318   (eval $ac_link) 2>conftest.er1
32319   ac_status=$?
32320   grep -v '^ *+' conftest.er1 >conftest.err
32321   rm -f conftest.er1
32322   cat conftest.err >&5
32323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324   (exit $ac_status); } &&
32325          { ac_try='test -z "$ac_c_werror_flag"
32326                          || test ! -s conftest.err'
32327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328   (eval $ac_try) 2>&5
32329   ac_status=$?
32330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331   (exit $ac_status); }; } &&
32332          { ac_try='test -s conftest$ac_exeext'
32333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334   (eval $ac_try) 2>&5
32335   ac_status=$?
32336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337   (exit $ac_status); }; }; then
32338   eval "$as_ac_var=yes"
32339 else
32340   echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32342
32343 eval "$as_ac_var=no"
32344 fi
32345 rm -f conftest.err conftest.$ac_objext \
32346       conftest$ac_exeext conftest.$ac_ext
32347 fi
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32350 if test `eval echo '${'$as_ac_var'}'` = yes; then
32351   cat >>confdefs.h <<_ACEOF
32352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32353 _ACEOF
32354
32355 fi
32356 done
32357
32358     fi
32359   fi
32360
32361
32362
32363
32364
32365
32366   echo "$as_me:$LINENO: checking for logl declaration" >&5
32367 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
32368   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32369     if test "${glibcxx_cv_func_logl_use+set}" = set; then
32370   echo $ECHO_N "(cached) $ECHO_C" >&6
32371 else
32372
32373
32374
32375       ac_ext=cc
32376 ac_cpp='$CXXCPP $CPPFLAGS'
32377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32380
32381       cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h.  */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h.  */
32387 #include <math.h>
32388                       #ifdef HAVE_IEEEFP_H
32389                       #include <ieeefp.h>
32390                       #endif
32391
32392 int
32393 main ()
32394 {
32395  logl(0);
32396   ;
32397   return 0;
32398 }
32399 _ACEOF
32400 rm -f conftest.$ac_objext
32401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32402   (eval $ac_compile) 2>conftest.er1
32403   ac_status=$?
32404   grep -v '^ *+' conftest.er1 >conftest.err
32405   rm -f conftest.er1
32406   cat conftest.err >&5
32407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408   (exit $ac_status); } &&
32409          { ac_try='test -z "$ac_cxx_werror_flag"
32410                          || test ! -s conftest.err'
32411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32412   (eval $ac_try) 2>&5
32413   ac_status=$?
32414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415   (exit $ac_status); }; } &&
32416          { ac_try='test -s conftest.$ac_objext'
32417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418   (eval $ac_try) 2>&5
32419   ac_status=$?
32420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421   (exit $ac_status); }; }; then
32422   glibcxx_cv_func_logl_use=yes
32423 else
32424   echo "$as_me: failed program was:" >&5
32425 sed 's/^/| /' conftest.$ac_ext >&5
32426
32427 glibcxx_cv_func_logl_use=no
32428 fi
32429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32430       ac_ext=c
32431 ac_cpp='$CPP $CPPFLAGS'
32432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32435
32436
32437 fi
32438
32439   fi
32440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
32441 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
32442
32443   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32444
32445 for ac_func in logl
32446 do
32447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32448 echo "$as_me:$LINENO: checking for $ac_func" >&5
32449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32450 if eval "test \"\${$as_ac_var+set}\" = set"; then
32451   echo $ECHO_N "(cached) $ECHO_C" >&6
32452 else
32453   if test x$gcc_no_link = xyes; then
32454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32456    { (exit 1); exit 1; }; }
32457 fi
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h.  */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h.  */
32464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32466 #define $ac_func innocuous_$ac_func
32467
32468 /* System header to define __stub macros and hopefully few prototypes,
32469     which can conflict with char $ac_func (); below.
32470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32471     <limits.h> exists even on freestanding compilers.  */
32472
32473 #ifdef __STDC__
32474 # include <limits.h>
32475 #else
32476 # include <assert.h>
32477 #endif
32478
32479 #undef $ac_func
32480
32481 /* Override any gcc2 internal prototype to avoid an error.  */
32482 #ifdef __cplusplus
32483 extern "C"
32484 {
32485 #endif
32486 /* We use char because int might match the return type of a gcc2
32487    builtin and then its argument prototype would still apply.  */
32488 char $ac_func ();
32489 /* The GNU C library defines this for functions which it implements
32490     to always fail with ENOSYS.  Some functions are actually named
32491     something starting with __ and the normal name is an alias.  */
32492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32493 choke me
32494 #else
32495 char (*f) () = $ac_func;
32496 #endif
32497 #ifdef __cplusplus
32498 }
32499 #endif
32500
32501 int
32502 main ()
32503 {
32504 return f != $ac_func;
32505   ;
32506   return 0;
32507 }
32508 _ACEOF
32509 rm -f conftest.$ac_objext conftest$ac_exeext
32510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32511   (eval $ac_link) 2>conftest.er1
32512   ac_status=$?
32513   grep -v '^ *+' conftest.er1 >conftest.err
32514   rm -f conftest.er1
32515   cat conftest.err >&5
32516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517   (exit $ac_status); } &&
32518          { ac_try='test -z "$ac_c_werror_flag"
32519                          || test ! -s conftest.err'
32520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521   (eval $ac_try) 2>&5
32522   ac_status=$?
32523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524   (exit $ac_status); }; } &&
32525          { ac_try='test -s conftest$ac_exeext'
32526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527   (eval $ac_try) 2>&5
32528   ac_status=$?
32529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530   (exit $ac_status); }; }; then
32531   eval "$as_ac_var=yes"
32532 else
32533   echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 eval "$as_ac_var=no"
32537 fi
32538 rm -f conftest.err conftest.$ac_objext \
32539       conftest$ac_exeext conftest.$ac_ext
32540 fi
32541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32543 if test `eval echo '${'$as_ac_var'}'` = yes; then
32544   cat >>confdefs.h <<_ACEOF
32545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32546 _ACEOF
32547
32548 fi
32549 done
32550
32551   else
32552
32553   echo "$as_me:$LINENO: checking for _logl declaration" >&5
32554 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32555   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32556     if test "${glibcxx_cv_func__logl_use+set}" = set; then
32557   echo $ECHO_N "(cached) $ECHO_C" >&6
32558 else
32559
32560
32561
32562       ac_ext=cc
32563 ac_cpp='$CXXCPP $CPPFLAGS'
32564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32567
32568       cat >conftest.$ac_ext <<_ACEOF
32569 /* confdefs.h.  */
32570 _ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h.  */
32574 #include <math.h>
32575                       #ifdef HAVE_IEEEFP_H
32576                       #include <ieeefp.h>
32577                       #endif
32578
32579 int
32580 main ()
32581 {
32582  _logl(0);
32583   ;
32584   return 0;
32585 }
32586 _ACEOF
32587 rm -f conftest.$ac_objext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32589   (eval $ac_compile) 2>conftest.er1
32590   ac_status=$?
32591   grep -v '^ *+' conftest.er1 >conftest.err
32592   rm -f conftest.er1
32593   cat conftest.err >&5
32594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595   (exit $ac_status); } &&
32596          { ac_try='test -z "$ac_cxx_werror_flag"
32597                          || test ! -s conftest.err'
32598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599   (eval $ac_try) 2>&5
32600   ac_status=$?
32601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602   (exit $ac_status); }; } &&
32603          { ac_try='test -s conftest.$ac_objext'
32604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605   (eval $ac_try) 2>&5
32606   ac_status=$?
32607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608   (exit $ac_status); }; }; then
32609   glibcxx_cv_func__logl_use=yes
32610 else
32611   echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32613
32614 glibcxx_cv_func__logl_use=no
32615 fi
32616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32617       ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622
32623
32624 fi
32625
32626   fi
32627   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32628 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32629
32630     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32631
32632 for ac_func in _logl
32633 do
32634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32635 echo "$as_me:$LINENO: checking for $ac_func" >&5
32636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32637 if eval "test \"\${$as_ac_var+set}\" = set"; then
32638   echo $ECHO_N "(cached) $ECHO_C" >&6
32639 else
32640   if test x$gcc_no_link = xyes; then
32641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32643    { (exit 1); exit 1; }; }
32644 fi
32645 cat >conftest.$ac_ext <<_ACEOF
32646 /* confdefs.h.  */
32647 _ACEOF
32648 cat confdefs.h >>conftest.$ac_ext
32649 cat >>conftest.$ac_ext <<_ACEOF
32650 /* end confdefs.h.  */
32651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32653 #define $ac_func innocuous_$ac_func
32654
32655 /* System header to define __stub macros and hopefully few prototypes,
32656     which can conflict with char $ac_func (); below.
32657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32658     <limits.h> exists even on freestanding compilers.  */
32659
32660 #ifdef __STDC__
32661 # include <limits.h>
32662 #else
32663 # include <assert.h>
32664 #endif
32665
32666 #undef $ac_func
32667
32668 /* Override any gcc2 internal prototype to avoid an error.  */
32669 #ifdef __cplusplus
32670 extern "C"
32671 {
32672 #endif
32673 /* We use char because int might match the return type of a gcc2
32674    builtin and then its argument prototype would still apply.  */
32675 char $ac_func ();
32676 /* The GNU C library defines this for functions which it implements
32677     to always fail with ENOSYS.  Some functions are actually named
32678     something starting with __ and the normal name is an alias.  */
32679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32680 choke me
32681 #else
32682 char (*f) () = $ac_func;
32683 #endif
32684 #ifdef __cplusplus
32685 }
32686 #endif
32687
32688 int
32689 main ()
32690 {
32691 return f != $ac_func;
32692   ;
32693   return 0;
32694 }
32695 _ACEOF
32696 rm -f conftest.$ac_objext conftest$ac_exeext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32698   (eval $ac_link) 2>conftest.er1
32699   ac_status=$?
32700   grep -v '^ *+' conftest.er1 >conftest.err
32701   rm -f conftest.er1
32702   cat conftest.err >&5
32703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704   (exit $ac_status); } &&
32705          { ac_try='test -z "$ac_c_werror_flag"
32706                          || test ! -s conftest.err'
32707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708   (eval $ac_try) 2>&5
32709   ac_status=$?
32710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711   (exit $ac_status); }; } &&
32712          { ac_try='test -s conftest$ac_exeext'
32713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714   (eval $ac_try) 2>&5
32715   ac_status=$?
32716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717   (exit $ac_status); }; }; then
32718   eval "$as_ac_var=yes"
32719 else
32720   echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32722
32723 eval "$as_ac_var=no"
32724 fi
32725 rm -f conftest.err conftest.$ac_objext \
32726       conftest$ac_exeext conftest.$ac_ext
32727 fi
32728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32730 if test `eval echo '${'$as_ac_var'}'` = yes; then
32731   cat >>confdefs.h <<_ACEOF
32732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32733 _ACEOF
32734
32735 fi
32736 done
32737
32738     fi
32739   fi
32740
32741
32742
32743
32744
32745
32746   echo "$as_me:$LINENO: checking for log10l declaration" >&5
32747 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32748   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32749     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32750   echo $ECHO_N "(cached) $ECHO_C" >&6
32751 else
32752
32753
32754
32755       ac_ext=cc
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761       cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h.  */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h.  */
32767 #include <math.h>
32768                       #ifdef HAVE_IEEEFP_H
32769                       #include <ieeefp.h>
32770                       #endif
32771
32772 int
32773 main ()
32774 {
32775  log10l(0);
32776   ;
32777   return 0;
32778 }
32779 _ACEOF
32780 rm -f conftest.$ac_objext
32781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32782   (eval $ac_compile) 2>conftest.er1
32783   ac_status=$?
32784   grep -v '^ *+' conftest.er1 >conftest.err
32785   rm -f conftest.er1
32786   cat conftest.err >&5
32787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788   (exit $ac_status); } &&
32789          { ac_try='test -z "$ac_cxx_werror_flag"
32790                          || test ! -s conftest.err'
32791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792   (eval $ac_try) 2>&5
32793   ac_status=$?
32794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795   (exit $ac_status); }; } &&
32796          { ac_try='test -s conftest.$ac_objext'
32797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798   (eval $ac_try) 2>&5
32799   ac_status=$?
32800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801   (exit $ac_status); }; }; then
32802   glibcxx_cv_func_log10l_use=yes
32803 else
32804   echo "$as_me: failed program was:" >&5
32805 sed 's/^/| /' conftest.$ac_ext >&5
32806
32807 glibcxx_cv_func_log10l_use=no
32808 fi
32809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32810       ac_ext=c
32811 ac_cpp='$CPP $CPPFLAGS'
32812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32815
32816
32817 fi
32818
32819   fi
32820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
32821 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
32822
32823   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32824
32825 for ac_func in log10l
32826 do
32827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32828 echo "$as_me:$LINENO: checking for $ac_func" >&5
32829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32830 if eval "test \"\${$as_ac_var+set}\" = set"; then
32831   echo $ECHO_N "(cached) $ECHO_C" >&6
32832 else
32833   if test x$gcc_no_link = xyes; then
32834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32836    { (exit 1); exit 1; }; }
32837 fi
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h.  */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h.  */
32844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32846 #define $ac_func innocuous_$ac_func
32847
32848 /* System header to define __stub macros and hopefully few prototypes,
32849     which can conflict with char $ac_func (); below.
32850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32851     <limits.h> exists even on freestanding compilers.  */
32852
32853 #ifdef __STDC__
32854 # include <limits.h>
32855 #else
32856 # include <assert.h>
32857 #endif
32858
32859 #undef $ac_func
32860
32861 /* Override any gcc2 internal prototype to avoid an error.  */
32862 #ifdef __cplusplus
32863 extern "C"
32864 {
32865 #endif
32866 /* We use char because int might match the return type of a gcc2
32867    builtin and then its argument prototype would still apply.  */
32868 char $ac_func ();
32869 /* The GNU C library defines this for functions which it implements
32870     to always fail with ENOSYS.  Some functions are actually named
32871     something starting with __ and the normal name is an alias.  */
32872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32873 choke me
32874 #else
32875 char (*f) () = $ac_func;
32876 #endif
32877 #ifdef __cplusplus
32878 }
32879 #endif
32880
32881 int
32882 main ()
32883 {
32884 return f != $ac_func;
32885   ;
32886   return 0;
32887 }
32888 _ACEOF
32889 rm -f conftest.$ac_objext conftest$ac_exeext
32890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32891   (eval $ac_link) 2>conftest.er1
32892   ac_status=$?
32893   grep -v '^ *+' conftest.er1 >conftest.err
32894   rm -f conftest.er1
32895   cat conftest.err >&5
32896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897   (exit $ac_status); } &&
32898          { ac_try='test -z "$ac_c_werror_flag"
32899                          || test ! -s conftest.err'
32900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901   (eval $ac_try) 2>&5
32902   ac_status=$?
32903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904   (exit $ac_status); }; } &&
32905          { ac_try='test -s conftest$ac_exeext'
32906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907   (eval $ac_try) 2>&5
32908   ac_status=$?
32909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910   (exit $ac_status); }; }; then
32911   eval "$as_ac_var=yes"
32912 else
32913   echo "$as_me: failed program was:" >&5
32914 sed 's/^/| /' conftest.$ac_ext >&5
32915
32916 eval "$as_ac_var=no"
32917 fi
32918 rm -f conftest.err conftest.$ac_objext \
32919       conftest$ac_exeext conftest.$ac_ext
32920 fi
32921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32923 if test `eval echo '${'$as_ac_var'}'` = yes; then
32924   cat >>confdefs.h <<_ACEOF
32925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32926 _ACEOF
32927
32928 fi
32929 done
32930
32931   else
32932
32933   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
32934 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
32935   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32936     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
32937   echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939
32940
32941
32942       ac_ext=cc
32943 ac_cpp='$CXXCPP $CPPFLAGS'
32944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32947
32948       cat >conftest.$ac_ext <<_ACEOF
32949 /* confdefs.h.  */
32950 _ACEOF
32951 cat confdefs.h >>conftest.$ac_ext
32952 cat >>conftest.$ac_ext <<_ACEOF
32953 /* end confdefs.h.  */
32954 #include <math.h>
32955                       #ifdef HAVE_IEEEFP_H
32956                       #include <ieeefp.h>
32957                       #endif
32958
32959 int
32960 main ()
32961 {
32962  _log10l(0);
32963   ;
32964   return 0;
32965 }
32966 _ACEOF
32967 rm -f conftest.$ac_objext
32968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32969   (eval $ac_compile) 2>conftest.er1
32970   ac_status=$?
32971   grep -v '^ *+' conftest.er1 >conftest.err
32972   rm -f conftest.er1
32973   cat conftest.err >&5
32974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975   (exit $ac_status); } &&
32976          { ac_try='test -z "$ac_cxx_werror_flag"
32977                          || test ! -s conftest.err'
32978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979   (eval $ac_try) 2>&5
32980   ac_status=$?
32981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982   (exit $ac_status); }; } &&
32983          { ac_try='test -s conftest.$ac_objext'
32984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985   (eval $ac_try) 2>&5
32986   ac_status=$?
32987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988   (exit $ac_status); }; }; then
32989   glibcxx_cv_func__log10l_use=yes
32990 else
32991   echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32993
32994 glibcxx_cv_func__log10l_use=no
32995 fi
32996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32997       ac_ext=c
32998 ac_cpp='$CPP $CPPFLAGS'
32999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33002
33003
33004 fi
33005
33006   fi
33007   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33008 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33009
33010     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33011
33012 for ac_func in _log10l
33013 do
33014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33015 echo "$as_me:$LINENO: checking for $ac_func" >&5
33016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33017 if eval "test \"\${$as_ac_var+set}\" = set"; then
33018   echo $ECHO_N "(cached) $ECHO_C" >&6
33019 else
33020   if test x$gcc_no_link = xyes; then
33021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33023    { (exit 1); exit 1; }; }
33024 fi
33025 cat >conftest.$ac_ext <<_ACEOF
33026 /* confdefs.h.  */
33027 _ACEOF
33028 cat confdefs.h >>conftest.$ac_ext
33029 cat >>conftest.$ac_ext <<_ACEOF
33030 /* end confdefs.h.  */
33031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33033 #define $ac_func innocuous_$ac_func
33034
33035 /* System header to define __stub macros and hopefully few prototypes,
33036     which can conflict with char $ac_func (); below.
33037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33038     <limits.h> exists even on freestanding compilers.  */
33039
33040 #ifdef __STDC__
33041 # include <limits.h>
33042 #else
33043 # include <assert.h>
33044 #endif
33045
33046 #undef $ac_func
33047
33048 /* Override any gcc2 internal prototype to avoid an error.  */
33049 #ifdef __cplusplus
33050 extern "C"
33051 {
33052 #endif
33053 /* We use char because int might match the return type of a gcc2
33054    builtin and then its argument prototype would still apply.  */
33055 char $ac_func ();
33056 /* The GNU C library defines this for functions which it implements
33057     to always fail with ENOSYS.  Some functions are actually named
33058     something starting with __ and the normal name is an alias.  */
33059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33060 choke me
33061 #else
33062 char (*f) () = $ac_func;
33063 #endif
33064 #ifdef __cplusplus
33065 }
33066 #endif
33067
33068 int
33069 main ()
33070 {
33071 return f != $ac_func;
33072   ;
33073   return 0;
33074 }
33075 _ACEOF
33076 rm -f conftest.$ac_objext conftest$ac_exeext
33077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33078   (eval $ac_link) 2>conftest.er1
33079   ac_status=$?
33080   grep -v '^ *+' conftest.er1 >conftest.err
33081   rm -f conftest.er1
33082   cat conftest.err >&5
33083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084   (exit $ac_status); } &&
33085          { ac_try='test -z "$ac_c_werror_flag"
33086                          || test ! -s conftest.err'
33087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088   (eval $ac_try) 2>&5
33089   ac_status=$?
33090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091   (exit $ac_status); }; } &&
33092          { ac_try='test -s conftest$ac_exeext'
33093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33094   (eval $ac_try) 2>&5
33095   ac_status=$?
33096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097   (exit $ac_status); }; }; then
33098   eval "$as_ac_var=yes"
33099 else
33100   echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33102
33103 eval "$as_ac_var=no"
33104 fi
33105 rm -f conftest.err conftest.$ac_objext \
33106       conftest$ac_exeext conftest.$ac_ext
33107 fi
33108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33110 if test `eval echo '${'$as_ac_var'}'` = yes; then
33111   cat >>confdefs.h <<_ACEOF
33112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33113 _ACEOF
33114
33115 fi
33116 done
33117
33118     fi
33119   fi
33120
33121
33122
33123
33124
33125
33126   echo "$as_me:$LINENO: checking for modfl declaration" >&5
33127 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33128   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33129     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33130   echo $ECHO_N "(cached) $ECHO_C" >&6
33131 else
33132
33133
33134
33135       ac_ext=cc
33136 ac_cpp='$CXXCPP $CPPFLAGS'
33137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140
33141       cat >conftest.$ac_ext <<_ACEOF
33142 /* confdefs.h.  */
33143 _ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h.  */
33147 #include <math.h>
33148 int
33149 main ()
33150 {
33151  modfl(0, 0);
33152   ;
33153   return 0;
33154 }
33155 _ACEOF
33156 rm -f conftest.$ac_objext
33157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33158   (eval $ac_compile) 2>conftest.er1
33159   ac_status=$?
33160   grep -v '^ *+' conftest.er1 >conftest.err
33161   rm -f conftest.er1
33162   cat conftest.err >&5
33163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164   (exit $ac_status); } &&
33165          { ac_try='test -z "$ac_cxx_werror_flag"
33166                          || test ! -s conftest.err'
33167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168   (eval $ac_try) 2>&5
33169   ac_status=$?
33170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171   (exit $ac_status); }; } &&
33172          { ac_try='test -s conftest.$ac_objext'
33173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174   (eval $ac_try) 2>&5
33175   ac_status=$?
33176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177   (exit $ac_status); }; }; then
33178   glibcxx_cv_func_modfl_use=yes
33179 else
33180   echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.$ac_ext >&5
33182
33183 glibcxx_cv_func_modfl_use=no
33184 fi
33185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33186       ac_ext=c
33187 ac_cpp='$CPP $CPPFLAGS'
33188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191
33192
33193 fi
33194
33195   fi
33196   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33197 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33198
33199   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33200
33201 for ac_func in modfl
33202 do
33203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33204 echo "$as_me:$LINENO: checking for $ac_func" >&5
33205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33206 if eval "test \"\${$as_ac_var+set}\" = set"; then
33207   echo $ECHO_N "(cached) $ECHO_C" >&6
33208 else
33209   if test x$gcc_no_link = xyes; then
33210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33212    { (exit 1); exit 1; }; }
33213 fi
33214 cat >conftest.$ac_ext <<_ACEOF
33215 /* confdefs.h.  */
33216 _ACEOF
33217 cat confdefs.h >>conftest.$ac_ext
33218 cat >>conftest.$ac_ext <<_ACEOF
33219 /* end confdefs.h.  */
33220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33221    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33222 #define $ac_func innocuous_$ac_func
33223
33224 /* System header to define __stub macros and hopefully few prototypes,
33225     which can conflict with char $ac_func (); below.
33226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33227     <limits.h> exists even on freestanding compilers.  */
33228
33229 #ifdef __STDC__
33230 # include <limits.h>
33231 #else
33232 # include <assert.h>
33233 #endif
33234
33235 #undef $ac_func
33236
33237 /* Override any gcc2 internal prototype to avoid an error.  */
33238 #ifdef __cplusplus
33239 extern "C"
33240 {
33241 #endif
33242 /* We use char because int might match the return type of a gcc2
33243    builtin and then its argument prototype would still apply.  */
33244 char $ac_func ();
33245 /* The GNU C library defines this for functions which it implements
33246     to always fail with ENOSYS.  Some functions are actually named
33247     something starting with __ and the normal name is an alias.  */
33248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33249 choke me
33250 #else
33251 char (*f) () = $ac_func;
33252 #endif
33253 #ifdef __cplusplus
33254 }
33255 #endif
33256
33257 int
33258 main ()
33259 {
33260 return f != $ac_func;
33261   ;
33262   return 0;
33263 }
33264 _ACEOF
33265 rm -f conftest.$ac_objext conftest$ac_exeext
33266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33267   (eval $ac_link) 2>conftest.er1
33268   ac_status=$?
33269   grep -v '^ *+' conftest.er1 >conftest.err
33270   rm -f conftest.er1
33271   cat conftest.err >&5
33272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273   (exit $ac_status); } &&
33274          { ac_try='test -z "$ac_c_werror_flag"
33275                          || test ! -s conftest.err'
33276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277   (eval $ac_try) 2>&5
33278   ac_status=$?
33279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280   (exit $ac_status); }; } &&
33281          { ac_try='test -s conftest$ac_exeext'
33282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283   (eval $ac_try) 2>&5
33284   ac_status=$?
33285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286   (exit $ac_status); }; }; then
33287   eval "$as_ac_var=yes"
33288 else
33289   echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.$ac_ext >&5
33291
33292 eval "$as_ac_var=no"
33293 fi
33294 rm -f conftest.err conftest.$ac_objext \
33295       conftest$ac_exeext conftest.$ac_ext
33296 fi
33297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33299 if test `eval echo '${'$as_ac_var'}'` = yes; then
33300   cat >>confdefs.h <<_ACEOF
33301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33302 _ACEOF
33303
33304 fi
33305 done
33306
33307   else
33308
33309   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
33310 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
33311   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33312     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
33313   echo $ECHO_N "(cached) $ECHO_C" >&6
33314 else
33315
33316
33317
33318       ac_ext=cc
33319 ac_cpp='$CXXCPP $CPPFLAGS'
33320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33323
33324       cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h.  */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h.  */
33330 #include <math.h>
33331 int
33332 main ()
33333 {
33334  _modfl(0, 0);
33335   ;
33336   return 0;
33337 }
33338 _ACEOF
33339 rm -f conftest.$ac_objext
33340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33341   (eval $ac_compile) 2>conftest.er1
33342   ac_status=$?
33343   grep -v '^ *+' conftest.er1 >conftest.err
33344   rm -f conftest.er1
33345   cat conftest.err >&5
33346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347   (exit $ac_status); } &&
33348          { ac_try='test -z "$ac_cxx_werror_flag"
33349                          || test ! -s conftest.err'
33350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351   (eval $ac_try) 2>&5
33352   ac_status=$?
33353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354   (exit $ac_status); }; } &&
33355          { ac_try='test -s conftest.$ac_objext'
33356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357   (eval $ac_try) 2>&5
33358   ac_status=$?
33359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360   (exit $ac_status); }; }; then
33361   glibcxx_cv_func__modfl_use=yes
33362 else
33363   echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.$ac_ext >&5
33365
33366 glibcxx_cv_func__modfl_use=no
33367 fi
33368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33369       ac_ext=c
33370 ac_cpp='$CPP $CPPFLAGS'
33371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33374
33375
33376 fi
33377
33378   fi
33379   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
33380 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
33381
33382     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33383
33384 for ac_func in _modfl
33385 do
33386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33387 echo "$as_me:$LINENO: checking for $ac_func" >&5
33388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33389 if eval "test \"\${$as_ac_var+set}\" = set"; then
33390   echo $ECHO_N "(cached) $ECHO_C" >&6
33391 else
33392   if test x$gcc_no_link = xyes; then
33393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33395    { (exit 1); exit 1; }; }
33396 fi
33397 cat >conftest.$ac_ext <<_ACEOF
33398 /* confdefs.h.  */
33399 _ACEOF
33400 cat confdefs.h >>conftest.$ac_ext
33401 cat >>conftest.$ac_ext <<_ACEOF
33402 /* end confdefs.h.  */
33403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33405 #define $ac_func innocuous_$ac_func
33406
33407 /* System header to define __stub macros and hopefully few prototypes,
33408     which can conflict with char $ac_func (); below.
33409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33410     <limits.h> exists even on freestanding compilers.  */
33411
33412 #ifdef __STDC__
33413 # include <limits.h>
33414 #else
33415 # include <assert.h>
33416 #endif
33417
33418 #undef $ac_func
33419
33420 /* Override any gcc2 internal prototype to avoid an error.  */
33421 #ifdef __cplusplus
33422 extern "C"
33423 {
33424 #endif
33425 /* We use char because int might match the return type of a gcc2
33426    builtin and then its argument prototype would still apply.  */
33427 char $ac_func ();
33428 /* The GNU C library defines this for functions which it implements
33429     to always fail with ENOSYS.  Some functions are actually named
33430     something starting with __ and the normal name is an alias.  */
33431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33432 choke me
33433 #else
33434 char (*f) () = $ac_func;
33435 #endif
33436 #ifdef __cplusplus
33437 }
33438 #endif
33439
33440 int
33441 main ()
33442 {
33443 return f != $ac_func;
33444   ;
33445   return 0;
33446 }
33447 _ACEOF
33448 rm -f conftest.$ac_objext conftest$ac_exeext
33449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33450   (eval $ac_link) 2>conftest.er1
33451   ac_status=$?
33452   grep -v '^ *+' conftest.er1 >conftest.err
33453   rm -f conftest.er1
33454   cat conftest.err >&5
33455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456   (exit $ac_status); } &&
33457          { ac_try='test -z "$ac_c_werror_flag"
33458                          || test ! -s conftest.err'
33459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460   (eval $ac_try) 2>&5
33461   ac_status=$?
33462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463   (exit $ac_status); }; } &&
33464          { ac_try='test -s conftest$ac_exeext'
33465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466   (eval $ac_try) 2>&5
33467   ac_status=$?
33468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469   (exit $ac_status); }; }; then
33470   eval "$as_ac_var=yes"
33471 else
33472   echo "$as_me: failed program was:" >&5
33473 sed 's/^/| /' conftest.$ac_ext >&5
33474
33475 eval "$as_ac_var=no"
33476 fi
33477 rm -f conftest.err conftest.$ac_objext \
33478       conftest$ac_exeext conftest.$ac_ext
33479 fi
33480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33482 if test `eval echo '${'$as_ac_var'}'` = yes; then
33483   cat >>confdefs.h <<_ACEOF
33484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33485 _ACEOF
33486
33487 fi
33488 done
33489
33490     fi
33491   fi
33492
33493
33494
33495
33496
33497
33498   echo "$as_me:$LINENO: checking for powl declaration" >&5
33499 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33500   if test x${glibcxx_cv_func_powl_use+set} != xset; then
33501     if test "${glibcxx_cv_func_powl_use+set}" = set; then
33502   echo $ECHO_N "(cached) $ECHO_C" >&6
33503 else
33504
33505
33506
33507       ac_ext=cc
33508 ac_cpp='$CXXCPP $CPPFLAGS'
33509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33512
33513       cat >conftest.$ac_ext <<_ACEOF
33514 /* confdefs.h.  */
33515 _ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h.  */
33519 #include <math.h>
33520 int
33521 main ()
33522 {
33523  powl(0, 0);
33524   ;
33525   return 0;
33526 }
33527 _ACEOF
33528 rm -f conftest.$ac_objext
33529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33530   (eval $ac_compile) 2>conftest.er1
33531   ac_status=$?
33532   grep -v '^ *+' conftest.er1 >conftest.err
33533   rm -f conftest.er1
33534   cat conftest.err >&5
33535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536   (exit $ac_status); } &&
33537          { ac_try='test -z "$ac_cxx_werror_flag"
33538                          || test ! -s conftest.err'
33539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33540   (eval $ac_try) 2>&5
33541   ac_status=$?
33542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543   (exit $ac_status); }; } &&
33544          { ac_try='test -s conftest.$ac_objext'
33545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546   (eval $ac_try) 2>&5
33547   ac_status=$?
33548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549   (exit $ac_status); }; }; then
33550   glibcxx_cv_func_powl_use=yes
33551 else
33552   echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33554
33555 glibcxx_cv_func_powl_use=no
33556 fi
33557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33558       ac_ext=c
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33563
33564
33565 fi
33566
33567   fi
33568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33569 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33570
33571   if test x$glibcxx_cv_func_powl_use = x"yes"; then
33572
33573 for ac_func in powl
33574 do
33575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33576 echo "$as_me:$LINENO: checking for $ac_func" >&5
33577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_var+set}\" = set"; then
33579   echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581   if test x$gcc_no_link = xyes; then
33582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33584    { (exit 1); exit 1; }; }
33585 fi
33586 cat >conftest.$ac_ext <<_ACEOF
33587 /* confdefs.h.  */
33588 _ACEOF
33589 cat confdefs.h >>conftest.$ac_ext
33590 cat >>conftest.$ac_ext <<_ACEOF
33591 /* end confdefs.h.  */
33592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33594 #define $ac_func innocuous_$ac_func
33595
33596 /* System header to define __stub macros and hopefully few prototypes,
33597     which can conflict with char $ac_func (); below.
33598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33599     <limits.h> exists even on freestanding compilers.  */
33600
33601 #ifdef __STDC__
33602 # include <limits.h>
33603 #else
33604 # include <assert.h>
33605 #endif
33606
33607 #undef $ac_func
33608
33609 /* Override any gcc2 internal prototype to avoid an error.  */
33610 #ifdef __cplusplus
33611 extern "C"
33612 {
33613 #endif
33614 /* We use char because int might match the return type of a gcc2
33615    builtin and then its argument prototype would still apply.  */
33616 char $ac_func ();
33617 /* The GNU C library defines this for functions which it implements
33618     to always fail with ENOSYS.  Some functions are actually named
33619     something starting with __ and the normal name is an alias.  */
33620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33621 choke me
33622 #else
33623 char (*f) () = $ac_func;
33624 #endif
33625 #ifdef __cplusplus
33626 }
33627 #endif
33628
33629 int
33630 main ()
33631 {
33632 return f != $ac_func;
33633   ;
33634   return 0;
33635 }
33636 _ACEOF
33637 rm -f conftest.$ac_objext conftest$ac_exeext
33638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33639   (eval $ac_link) 2>conftest.er1
33640   ac_status=$?
33641   grep -v '^ *+' conftest.er1 >conftest.err
33642   rm -f conftest.er1
33643   cat conftest.err >&5
33644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33645   (exit $ac_status); } &&
33646          { ac_try='test -z "$ac_c_werror_flag"
33647                          || test ! -s conftest.err'
33648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33649   (eval $ac_try) 2>&5
33650   ac_status=$?
33651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652   (exit $ac_status); }; } &&
33653          { ac_try='test -s conftest$ac_exeext'
33654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655   (eval $ac_try) 2>&5
33656   ac_status=$?
33657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658   (exit $ac_status); }; }; then
33659   eval "$as_ac_var=yes"
33660 else
33661   echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33663
33664 eval "$as_ac_var=no"
33665 fi
33666 rm -f conftest.err conftest.$ac_objext \
33667       conftest$ac_exeext conftest.$ac_ext
33668 fi
33669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33671 if test `eval echo '${'$as_ac_var'}'` = yes; then
33672   cat >>confdefs.h <<_ACEOF
33673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33674 _ACEOF
33675
33676 fi
33677 done
33678
33679   else
33680
33681   echo "$as_me:$LINENO: checking for _powl declaration" >&5
33682 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33683   if test x${glibcxx_cv_func__powl_use+set} != xset; then
33684     if test "${glibcxx_cv_func__powl_use+set}" = set; then
33685   echo $ECHO_N "(cached) $ECHO_C" >&6
33686 else
33687
33688
33689
33690       ac_ext=cc
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695
33696       cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h.  */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h.  */
33702 #include <math.h>
33703 int
33704 main ()
33705 {
33706  _powl(0, 0);
33707   ;
33708   return 0;
33709 }
33710 _ACEOF
33711 rm -f conftest.$ac_objext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33713   (eval $ac_compile) 2>conftest.er1
33714   ac_status=$?
33715   grep -v '^ *+' conftest.er1 >conftest.err
33716   rm -f conftest.er1
33717   cat conftest.err >&5
33718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719   (exit $ac_status); } &&
33720          { ac_try='test -z "$ac_cxx_werror_flag"
33721                          || test ! -s conftest.err'
33722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723   (eval $ac_try) 2>&5
33724   ac_status=$?
33725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726   (exit $ac_status); }; } &&
33727          { ac_try='test -s conftest.$ac_objext'
33728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729   (eval $ac_try) 2>&5
33730   ac_status=$?
33731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732   (exit $ac_status); }; }; then
33733   glibcxx_cv_func__powl_use=yes
33734 else
33735   echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33737
33738 glibcxx_cv_func__powl_use=no
33739 fi
33740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33741       ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33746
33747
33748 fi
33749
33750   fi
33751   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33752 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33753
33754     if test x$glibcxx_cv_func__powl_use = x"yes"; then
33755
33756 for ac_func in _powl
33757 do
33758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33759 echo "$as_me:$LINENO: checking for $ac_func" >&5
33760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33761 if eval "test \"\${$as_ac_var+set}\" = set"; then
33762   echo $ECHO_N "(cached) $ECHO_C" >&6
33763 else
33764   if test x$gcc_no_link = xyes; then
33765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33767    { (exit 1); exit 1; }; }
33768 fi
33769 cat >conftest.$ac_ext <<_ACEOF
33770 /* confdefs.h.  */
33771 _ACEOF
33772 cat confdefs.h >>conftest.$ac_ext
33773 cat >>conftest.$ac_ext <<_ACEOF
33774 /* end confdefs.h.  */
33775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33777 #define $ac_func innocuous_$ac_func
33778
33779 /* System header to define __stub macros and hopefully few prototypes,
33780     which can conflict with char $ac_func (); below.
33781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33782     <limits.h> exists even on freestanding compilers.  */
33783
33784 #ifdef __STDC__
33785 # include <limits.h>
33786 #else
33787 # include <assert.h>
33788 #endif
33789
33790 #undef $ac_func
33791
33792 /* Override any gcc2 internal prototype to avoid an error.  */
33793 #ifdef __cplusplus
33794 extern "C"
33795 {
33796 #endif
33797 /* We use char because int might match the return type of a gcc2
33798    builtin and then its argument prototype would still apply.  */
33799 char $ac_func ();
33800 /* The GNU C library defines this for functions which it implements
33801     to always fail with ENOSYS.  Some functions are actually named
33802     something starting with __ and the normal name is an alias.  */
33803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33804 choke me
33805 #else
33806 char (*f) () = $ac_func;
33807 #endif
33808 #ifdef __cplusplus
33809 }
33810 #endif
33811
33812 int
33813 main ()
33814 {
33815 return f != $ac_func;
33816   ;
33817   return 0;
33818 }
33819 _ACEOF
33820 rm -f conftest.$ac_objext conftest$ac_exeext
33821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33822   (eval $ac_link) 2>conftest.er1
33823   ac_status=$?
33824   grep -v '^ *+' conftest.er1 >conftest.err
33825   rm -f conftest.er1
33826   cat conftest.err >&5
33827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828   (exit $ac_status); } &&
33829          { ac_try='test -z "$ac_c_werror_flag"
33830                          || test ! -s conftest.err'
33831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33832   (eval $ac_try) 2>&5
33833   ac_status=$?
33834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835   (exit $ac_status); }; } &&
33836          { ac_try='test -s conftest$ac_exeext'
33837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33838   (eval $ac_try) 2>&5
33839   ac_status=$?
33840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841   (exit $ac_status); }; }; then
33842   eval "$as_ac_var=yes"
33843 else
33844   echo "$as_me: failed program was:" >&5
33845 sed 's/^/| /' conftest.$ac_ext >&5
33846
33847 eval "$as_ac_var=no"
33848 fi
33849 rm -f conftest.err conftest.$ac_objext \
33850       conftest$ac_exeext conftest.$ac_ext
33851 fi
33852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33854 if test `eval echo '${'$as_ac_var'}'` = yes; then
33855   cat >>confdefs.h <<_ACEOF
33856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33857 _ACEOF
33858
33859 fi
33860 done
33861
33862     fi
33863   fi
33864
33865
33866
33867
33868
33869
33870   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
33871 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
33872   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33873     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
33874   echo $ECHO_N "(cached) $ECHO_C" >&6
33875 else
33876
33877
33878
33879       ac_ext=cc
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33884
33885       cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h.  */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h.  */
33891 #include <math.h>
33892                       #ifdef HAVE_IEEEFP_H
33893                       #include <ieeefp.h>
33894                       #endif
33895
33896 int
33897 main ()
33898 {
33899  sqrtl(0);
33900   ;
33901   return 0;
33902 }
33903 _ACEOF
33904 rm -f conftest.$ac_objext
33905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33906   (eval $ac_compile) 2>conftest.er1
33907   ac_status=$?
33908   grep -v '^ *+' conftest.er1 >conftest.err
33909   rm -f conftest.er1
33910   cat conftest.err >&5
33911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912   (exit $ac_status); } &&
33913          { ac_try='test -z "$ac_cxx_werror_flag"
33914                          || test ! -s conftest.err'
33915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33916   (eval $ac_try) 2>&5
33917   ac_status=$?
33918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919   (exit $ac_status); }; } &&
33920          { ac_try='test -s conftest.$ac_objext'
33921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922   (eval $ac_try) 2>&5
33923   ac_status=$?
33924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925   (exit $ac_status); }; }; then
33926   glibcxx_cv_func_sqrtl_use=yes
33927 else
33928   echo "$as_me: failed program was:" >&5
33929 sed 's/^/| /' conftest.$ac_ext >&5
33930
33931 glibcxx_cv_func_sqrtl_use=no
33932 fi
33933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33934       ac_ext=c
33935 ac_cpp='$CPP $CPPFLAGS'
33936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33939
33940
33941 fi
33942
33943   fi
33944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
33945 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
33946
33947   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33948
33949 for ac_func in sqrtl
33950 do
33951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33952 echo "$as_me:$LINENO: checking for $ac_func" >&5
33953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33954 if eval "test \"\${$as_ac_var+set}\" = set"; then
33955   echo $ECHO_N "(cached) $ECHO_C" >&6
33956 else
33957   if test x$gcc_no_link = xyes; then
33958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33960    { (exit 1); exit 1; }; }
33961 fi
33962 cat >conftest.$ac_ext <<_ACEOF
33963 /* confdefs.h.  */
33964 _ACEOF
33965 cat confdefs.h >>conftest.$ac_ext
33966 cat >>conftest.$ac_ext <<_ACEOF
33967 /* end confdefs.h.  */
33968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33970 #define $ac_func innocuous_$ac_func
33971
33972 /* System header to define __stub macros and hopefully few prototypes,
33973     which can conflict with char $ac_func (); below.
33974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33975     <limits.h> exists even on freestanding compilers.  */
33976
33977 #ifdef __STDC__
33978 # include <limits.h>
33979 #else
33980 # include <assert.h>
33981 #endif
33982
33983 #undef $ac_func
33984
33985 /* Override any gcc2 internal prototype to avoid an error.  */
33986 #ifdef __cplusplus
33987 extern "C"
33988 {
33989 #endif
33990 /* We use char because int might match the return type of a gcc2
33991    builtin and then its argument prototype would still apply.  */
33992 char $ac_func ();
33993 /* The GNU C library defines this for functions which it implements
33994     to always fail with ENOSYS.  Some functions are actually named
33995     something starting with __ and the normal name is an alias.  */
33996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33997 choke me
33998 #else
33999 char (*f) () = $ac_func;
34000 #endif
34001 #ifdef __cplusplus
34002 }
34003 #endif
34004
34005 int
34006 main ()
34007 {
34008 return f != $ac_func;
34009   ;
34010   return 0;
34011 }
34012 _ACEOF
34013 rm -f conftest.$ac_objext conftest$ac_exeext
34014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34015   (eval $ac_link) 2>conftest.er1
34016   ac_status=$?
34017   grep -v '^ *+' conftest.er1 >conftest.err
34018   rm -f conftest.er1
34019   cat conftest.err >&5
34020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021   (exit $ac_status); } &&
34022          { ac_try='test -z "$ac_c_werror_flag"
34023                          || test ! -s conftest.err'
34024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025   (eval $ac_try) 2>&5
34026   ac_status=$?
34027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028   (exit $ac_status); }; } &&
34029          { ac_try='test -s conftest$ac_exeext'
34030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031   (eval $ac_try) 2>&5
34032   ac_status=$?
34033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034   (exit $ac_status); }; }; then
34035   eval "$as_ac_var=yes"
34036 else
34037   echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34039
34040 eval "$as_ac_var=no"
34041 fi
34042 rm -f conftest.err conftest.$ac_objext \
34043       conftest$ac_exeext conftest.$ac_ext
34044 fi
34045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34047 if test `eval echo '${'$as_ac_var'}'` = yes; then
34048   cat >>confdefs.h <<_ACEOF
34049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34050 _ACEOF
34051
34052 fi
34053 done
34054
34055   else
34056
34057   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34058 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34059   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34060     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34061   echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34063
34064
34065
34066       ac_ext=cc
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34071
34072       cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h.  */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h.  */
34078 #include <math.h>
34079                       #ifdef HAVE_IEEEFP_H
34080                       #include <ieeefp.h>
34081                       #endif
34082
34083 int
34084 main ()
34085 {
34086  _sqrtl(0);
34087   ;
34088   return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34093   (eval $ac_compile) 2>conftest.er1
34094   ac_status=$?
34095   grep -v '^ *+' conftest.er1 >conftest.err
34096   rm -f conftest.er1
34097   cat conftest.err >&5
34098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099   (exit $ac_status); } &&
34100          { ac_try='test -z "$ac_cxx_werror_flag"
34101                          || test ! -s conftest.err'
34102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103   (eval $ac_try) 2>&5
34104   ac_status=$?
34105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106   (exit $ac_status); }; } &&
34107          { ac_try='test -s conftest.$ac_objext'
34108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109   (eval $ac_try) 2>&5
34110   ac_status=$?
34111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112   (exit $ac_status); }; }; then
34113   glibcxx_cv_func__sqrtl_use=yes
34114 else
34115   echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 glibcxx_cv_func__sqrtl_use=no
34119 fi
34120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34121       ac_ext=c
34122 ac_cpp='$CPP $CPPFLAGS'
34123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34126
34127
34128 fi
34129
34130   fi
34131   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34132 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34133
34134     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34135
34136 for ac_func in _sqrtl
34137 do
34138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34139 echo "$as_me:$LINENO: checking for $ac_func" >&5
34140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34141 if eval "test \"\${$as_ac_var+set}\" = set"; then
34142   echo $ECHO_N "(cached) $ECHO_C" >&6
34143 else
34144   if test x$gcc_no_link = xyes; then
34145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34147    { (exit 1); exit 1; }; }
34148 fi
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h.  */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h.  */
34155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34157 #define $ac_func innocuous_$ac_func
34158
34159 /* System header to define __stub macros and hopefully few prototypes,
34160     which can conflict with char $ac_func (); below.
34161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34162     <limits.h> exists even on freestanding compilers.  */
34163
34164 #ifdef __STDC__
34165 # include <limits.h>
34166 #else
34167 # include <assert.h>
34168 #endif
34169
34170 #undef $ac_func
34171
34172 /* Override any gcc2 internal prototype to avoid an error.  */
34173 #ifdef __cplusplus
34174 extern "C"
34175 {
34176 #endif
34177 /* We use char because int might match the return type of a gcc2
34178    builtin and then its argument prototype would still apply.  */
34179 char $ac_func ();
34180 /* The GNU C library defines this for functions which it implements
34181     to always fail with ENOSYS.  Some functions are actually named
34182     something starting with __ and the normal name is an alias.  */
34183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34184 choke me
34185 #else
34186 char (*f) () = $ac_func;
34187 #endif
34188 #ifdef __cplusplus
34189 }
34190 #endif
34191
34192 int
34193 main ()
34194 {
34195 return f != $ac_func;
34196   ;
34197   return 0;
34198 }
34199 _ACEOF
34200 rm -f conftest.$ac_objext conftest$ac_exeext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34202   (eval $ac_link) 2>conftest.er1
34203   ac_status=$?
34204   grep -v '^ *+' conftest.er1 >conftest.err
34205   rm -f conftest.er1
34206   cat conftest.err >&5
34207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208   (exit $ac_status); } &&
34209          { ac_try='test -z "$ac_c_werror_flag"
34210                          || test ! -s conftest.err'
34211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34212   (eval $ac_try) 2>&5
34213   ac_status=$?
34214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215   (exit $ac_status); }; } &&
34216          { ac_try='test -s conftest$ac_exeext'
34217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218   (eval $ac_try) 2>&5
34219   ac_status=$?
34220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221   (exit $ac_status); }; }; then
34222   eval "$as_ac_var=yes"
34223 else
34224   echo "$as_me: failed program was:" >&5
34225 sed 's/^/| /' conftest.$ac_ext >&5
34226
34227 eval "$as_ac_var=no"
34228 fi
34229 rm -f conftest.err conftest.$ac_objext \
34230       conftest$ac_exeext conftest.$ac_ext
34231 fi
34232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34234 if test `eval echo '${'$as_ac_var'}'` = yes; then
34235   cat >>confdefs.h <<_ACEOF
34236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34237 _ACEOF
34238
34239 fi
34240 done
34241
34242     fi
34243   fi
34244
34245
34246
34247
34248
34249
34250   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34251 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
34252   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34253     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34254   echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256
34257
34258
34259       ac_ext=cc
34260 ac_cpp='$CXXCPP $CPPFLAGS'
34261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34264
34265       cat >conftest.$ac_ext <<_ACEOF
34266 /* confdefs.h.  */
34267 _ACEOF
34268 cat confdefs.h >>conftest.$ac_ext
34269 cat >>conftest.$ac_ext <<_ACEOF
34270 /* end confdefs.h.  */
34271 #include <math.h>
34272 int
34273 main ()
34274 {
34275  sincosl(0, 0, 0);
34276   ;
34277   return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282   (eval $ac_compile) 2>conftest.er1
34283   ac_status=$?
34284   grep -v '^ *+' conftest.er1 >conftest.err
34285   rm -f conftest.er1
34286   cat conftest.err >&5
34287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288   (exit $ac_status); } &&
34289          { ac_try='test -z "$ac_cxx_werror_flag"
34290                          || test ! -s conftest.err'
34291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34292   (eval $ac_try) 2>&5
34293   ac_status=$?
34294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295   (exit $ac_status); }; } &&
34296          { ac_try='test -s conftest.$ac_objext'
34297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34298   (eval $ac_try) 2>&5
34299   ac_status=$?
34300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301   (exit $ac_status); }; }; then
34302   glibcxx_cv_func_sincosl_use=yes
34303 else
34304   echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307 glibcxx_cv_func_sincosl_use=no
34308 fi
34309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34310       ac_ext=c
34311 ac_cpp='$CPP $CPPFLAGS'
34312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34315
34316
34317 fi
34318
34319   fi
34320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
34321 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
34322
34323   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34324
34325 for ac_func in sincosl
34326 do
34327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34328 echo "$as_me:$LINENO: checking for $ac_func" >&5
34329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34330 if eval "test \"\${$as_ac_var+set}\" = set"; then
34331   echo $ECHO_N "(cached) $ECHO_C" >&6
34332 else
34333   if test x$gcc_no_link = xyes; then
34334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34336    { (exit 1); exit 1; }; }
34337 fi
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h.  */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h.  */
34344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34346 #define $ac_func innocuous_$ac_func
34347
34348 /* System header to define __stub macros and hopefully few prototypes,
34349     which can conflict with char $ac_func (); below.
34350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351     <limits.h> exists even on freestanding compilers.  */
34352
34353 #ifdef __STDC__
34354 # include <limits.h>
34355 #else
34356 # include <assert.h>
34357 #endif
34358
34359 #undef $ac_func
34360
34361 /* Override any gcc2 internal prototype to avoid an error.  */
34362 #ifdef __cplusplus
34363 extern "C"
34364 {
34365 #endif
34366 /* We use char because int might match the return type of a gcc2
34367    builtin and then its argument prototype would still apply.  */
34368 char $ac_func ();
34369 /* The GNU C library defines this for functions which it implements
34370     to always fail with ENOSYS.  Some functions are actually named
34371     something starting with __ and the normal name is an alias.  */
34372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34373 choke me
34374 #else
34375 char (*f) () = $ac_func;
34376 #endif
34377 #ifdef __cplusplus
34378 }
34379 #endif
34380
34381 int
34382 main ()
34383 {
34384 return f != $ac_func;
34385   ;
34386   return 0;
34387 }
34388 _ACEOF
34389 rm -f conftest.$ac_objext conftest$ac_exeext
34390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34391   (eval $ac_link) 2>conftest.er1
34392   ac_status=$?
34393   grep -v '^ *+' conftest.er1 >conftest.err
34394   rm -f conftest.er1
34395   cat conftest.err >&5
34396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397   (exit $ac_status); } &&
34398          { ac_try='test -z "$ac_c_werror_flag"
34399                          || test ! -s conftest.err'
34400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401   (eval $ac_try) 2>&5
34402   ac_status=$?
34403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404   (exit $ac_status); }; } &&
34405          { ac_try='test -s conftest$ac_exeext'
34406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407   (eval $ac_try) 2>&5
34408   ac_status=$?
34409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410   (exit $ac_status); }; }; then
34411   eval "$as_ac_var=yes"
34412 else
34413   echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34415
34416 eval "$as_ac_var=no"
34417 fi
34418 rm -f conftest.err conftest.$ac_objext \
34419       conftest$ac_exeext conftest.$ac_ext
34420 fi
34421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34423 if test `eval echo '${'$as_ac_var'}'` = yes; then
34424   cat >>confdefs.h <<_ACEOF
34425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34426 _ACEOF
34427
34428 fi
34429 done
34430
34431   else
34432
34433   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
34434 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
34435   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34436     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
34437   echo $ECHO_N "(cached) $ECHO_C" >&6
34438 else
34439
34440
34441
34442       ac_ext=cc
34443 ac_cpp='$CXXCPP $CPPFLAGS'
34444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34447
34448       cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h.  */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h.  */
34454 #include <math.h>
34455 int
34456 main ()
34457 {
34458  _sincosl(0, 0, 0);
34459   ;
34460   return 0;
34461 }
34462 _ACEOF
34463 rm -f conftest.$ac_objext
34464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34465   (eval $ac_compile) 2>conftest.er1
34466   ac_status=$?
34467   grep -v '^ *+' conftest.er1 >conftest.err
34468   rm -f conftest.er1
34469   cat conftest.err >&5
34470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471   (exit $ac_status); } &&
34472          { ac_try='test -z "$ac_cxx_werror_flag"
34473                          || test ! -s conftest.err'
34474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34475   (eval $ac_try) 2>&5
34476   ac_status=$?
34477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478   (exit $ac_status); }; } &&
34479          { ac_try='test -s conftest.$ac_objext'
34480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34481   (eval $ac_try) 2>&5
34482   ac_status=$?
34483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484   (exit $ac_status); }; }; then
34485   glibcxx_cv_func__sincosl_use=yes
34486 else
34487   echo "$as_me: failed program was:" >&5
34488 sed 's/^/| /' conftest.$ac_ext >&5
34489
34490 glibcxx_cv_func__sincosl_use=no
34491 fi
34492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34493       ac_ext=c
34494 ac_cpp='$CPP $CPPFLAGS'
34495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34498
34499
34500 fi
34501
34502   fi
34503   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34504 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34505
34506     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34507
34508 for ac_func in _sincosl
34509 do
34510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34511 echo "$as_me:$LINENO: checking for $ac_func" >&5
34512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34513 if eval "test \"\${$as_ac_var+set}\" = set"; then
34514   echo $ECHO_N "(cached) $ECHO_C" >&6
34515 else
34516   if test x$gcc_no_link = xyes; then
34517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34519    { (exit 1); exit 1; }; }
34520 fi
34521 cat >conftest.$ac_ext <<_ACEOF
34522 /* confdefs.h.  */
34523 _ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h.  */
34527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34529 #define $ac_func innocuous_$ac_func
34530
34531 /* System header to define __stub macros and hopefully few prototypes,
34532     which can conflict with char $ac_func (); below.
34533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34534     <limits.h> exists even on freestanding compilers.  */
34535
34536 #ifdef __STDC__
34537 # include <limits.h>
34538 #else
34539 # include <assert.h>
34540 #endif
34541
34542 #undef $ac_func
34543
34544 /* Override any gcc2 internal prototype to avoid an error.  */
34545 #ifdef __cplusplus
34546 extern "C"
34547 {
34548 #endif
34549 /* We use char because int might match the return type of a gcc2
34550    builtin and then its argument prototype would still apply.  */
34551 char $ac_func ();
34552 /* The GNU C library defines this for functions which it implements
34553     to always fail with ENOSYS.  Some functions are actually named
34554     something starting with __ and the normal name is an alias.  */
34555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34556 choke me
34557 #else
34558 char (*f) () = $ac_func;
34559 #endif
34560 #ifdef __cplusplus
34561 }
34562 #endif
34563
34564 int
34565 main ()
34566 {
34567 return f != $ac_func;
34568   ;
34569   return 0;
34570 }
34571 _ACEOF
34572 rm -f conftest.$ac_objext conftest$ac_exeext
34573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34574   (eval $ac_link) 2>conftest.er1
34575   ac_status=$?
34576   grep -v '^ *+' conftest.er1 >conftest.err
34577   rm -f conftest.er1
34578   cat conftest.err >&5
34579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580   (exit $ac_status); } &&
34581          { ac_try='test -z "$ac_c_werror_flag"
34582                          || test ! -s conftest.err'
34583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584   (eval $ac_try) 2>&5
34585   ac_status=$?
34586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587   (exit $ac_status); }; } &&
34588          { ac_try='test -s conftest$ac_exeext'
34589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590   (eval $ac_try) 2>&5
34591   ac_status=$?
34592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593   (exit $ac_status); }; }; then
34594   eval "$as_ac_var=yes"
34595 else
34596   echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34598
34599 eval "$as_ac_var=no"
34600 fi
34601 rm -f conftest.err conftest.$ac_objext \
34602       conftest$ac_exeext conftest.$ac_ext
34603 fi
34604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34606 if test `eval echo '${'$as_ac_var'}'` = yes; then
34607   cat >>confdefs.h <<_ACEOF
34608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34609 _ACEOF
34610
34611 fi
34612 done
34613
34614     fi
34615   fi
34616
34617
34618
34619
34620
34621
34622   echo "$as_me:$LINENO: checking for finitel declaration" >&5
34623 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34624   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34625     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34626   echo $ECHO_N "(cached) $ECHO_C" >&6
34627 else
34628
34629
34630
34631       ac_ext=cc
34632 ac_cpp='$CXXCPP $CPPFLAGS'
34633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34636
34637       cat >conftest.$ac_ext <<_ACEOF
34638 /* confdefs.h.  */
34639 _ACEOF
34640 cat confdefs.h >>conftest.$ac_ext
34641 cat >>conftest.$ac_ext <<_ACEOF
34642 /* end confdefs.h.  */
34643 #include <math.h>
34644                       #ifdef HAVE_IEEEFP_H
34645                       #include <ieeefp.h>
34646                       #endif
34647
34648 int
34649 main ()
34650 {
34651  finitel(0);
34652   ;
34653   return 0;
34654 }
34655 _ACEOF
34656 rm -f conftest.$ac_objext
34657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34658   (eval $ac_compile) 2>conftest.er1
34659   ac_status=$?
34660   grep -v '^ *+' conftest.er1 >conftest.err
34661   rm -f conftest.er1
34662   cat conftest.err >&5
34663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664   (exit $ac_status); } &&
34665          { ac_try='test -z "$ac_cxx_werror_flag"
34666                          || test ! -s conftest.err'
34667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34668   (eval $ac_try) 2>&5
34669   ac_status=$?
34670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671   (exit $ac_status); }; } &&
34672          { ac_try='test -s conftest.$ac_objext'
34673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34674   (eval $ac_try) 2>&5
34675   ac_status=$?
34676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677   (exit $ac_status); }; }; then
34678   glibcxx_cv_func_finitel_use=yes
34679 else
34680   echo "$as_me: failed program was:" >&5
34681 sed 's/^/| /' conftest.$ac_ext >&5
34682
34683 glibcxx_cv_func_finitel_use=no
34684 fi
34685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34686       ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691
34692
34693 fi
34694
34695   fi
34696   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34697 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34698
34699   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34700
34701 for ac_func in finitel
34702 do
34703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34704 echo "$as_me:$LINENO: checking for $ac_func" >&5
34705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34706 if eval "test \"\${$as_ac_var+set}\" = set"; then
34707   echo $ECHO_N "(cached) $ECHO_C" >&6
34708 else
34709   if test x$gcc_no_link = xyes; then
34710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34712    { (exit 1); exit 1; }; }
34713 fi
34714 cat >conftest.$ac_ext <<_ACEOF
34715 /* confdefs.h.  */
34716 _ACEOF
34717 cat confdefs.h >>conftest.$ac_ext
34718 cat >>conftest.$ac_ext <<_ACEOF
34719 /* end confdefs.h.  */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34722 #define $ac_func innocuous_$ac_func
34723
34724 /* System header to define __stub macros and hopefully few prototypes,
34725     which can conflict with char $ac_func (); below.
34726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727     <limits.h> exists even on freestanding compilers.  */
34728
34729 #ifdef __STDC__
34730 # include <limits.h>
34731 #else
34732 # include <assert.h>
34733 #endif
34734
34735 #undef $ac_func
34736
34737 /* Override any gcc2 internal prototype to avoid an error.  */
34738 #ifdef __cplusplus
34739 extern "C"
34740 {
34741 #endif
34742 /* We use char because int might match the return type of a gcc2
34743    builtin and then its argument prototype would still apply.  */
34744 char $ac_func ();
34745 /* The GNU C library defines this for functions which it implements
34746     to always fail with ENOSYS.  Some functions are actually named
34747     something starting with __ and the normal name is an alias.  */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34749 choke me
34750 #else
34751 char (*f) () = $ac_func;
34752 #endif
34753 #ifdef __cplusplus
34754 }
34755 #endif
34756
34757 int
34758 main ()
34759 {
34760 return f != $ac_func;
34761   ;
34762   return 0;
34763 }
34764 _ACEOF
34765 rm -f conftest.$ac_objext conftest$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767   (eval $ac_link) 2>conftest.er1
34768   ac_status=$?
34769   grep -v '^ *+' conftest.er1 >conftest.err
34770   rm -f conftest.er1
34771   cat conftest.err >&5
34772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773   (exit $ac_status); } &&
34774          { ac_try='test -z "$ac_c_werror_flag"
34775                          || test ! -s conftest.err'
34776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777   (eval $ac_try) 2>&5
34778   ac_status=$?
34779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780   (exit $ac_status); }; } &&
34781          { ac_try='test -s conftest$ac_exeext'
34782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783   (eval $ac_try) 2>&5
34784   ac_status=$?
34785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786   (exit $ac_status); }; }; then
34787   eval "$as_ac_var=yes"
34788 else
34789   echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 eval "$as_ac_var=no"
34793 fi
34794 rm -f conftest.err conftest.$ac_objext \
34795       conftest$ac_exeext conftest.$ac_ext
34796 fi
34797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34799 if test `eval echo '${'$as_ac_var'}'` = yes; then
34800   cat >>confdefs.h <<_ACEOF
34801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34802 _ACEOF
34803
34804 fi
34805 done
34806
34807   else
34808
34809   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
34810 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
34811   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34812     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
34813   echo $ECHO_N "(cached) $ECHO_C" >&6
34814 else
34815
34816
34817
34818       ac_ext=cc
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34823
34824       cat >conftest.$ac_ext <<_ACEOF
34825 /* confdefs.h.  */
34826 _ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h.  */
34830 #include <math.h>
34831                       #ifdef HAVE_IEEEFP_H
34832                       #include <ieeefp.h>
34833                       #endif
34834
34835 int
34836 main ()
34837 {
34838  _finitel(0);
34839   ;
34840   return 0;
34841 }
34842 _ACEOF
34843 rm -f conftest.$ac_objext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34845   (eval $ac_compile) 2>conftest.er1
34846   ac_status=$?
34847   grep -v '^ *+' conftest.er1 >conftest.err
34848   rm -f conftest.er1
34849   cat conftest.err >&5
34850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851   (exit $ac_status); } &&
34852          { ac_try='test -z "$ac_cxx_werror_flag"
34853                          || test ! -s conftest.err'
34854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855   (eval $ac_try) 2>&5
34856   ac_status=$?
34857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858   (exit $ac_status); }; } &&
34859          { ac_try='test -s conftest.$ac_objext'
34860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861   (eval $ac_try) 2>&5
34862   ac_status=$?
34863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864   (exit $ac_status); }; }; then
34865   glibcxx_cv_func__finitel_use=yes
34866 else
34867   echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 glibcxx_cv_func__finitel_use=no
34871 fi
34872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34873       ac_ext=c
34874 ac_cpp='$CPP $CPPFLAGS'
34875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34878
34879
34880 fi
34881
34882   fi
34883   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
34884 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
34885
34886     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34887
34888 for ac_func in _finitel
34889 do
34890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34891 echo "$as_me:$LINENO: checking for $ac_func" >&5
34892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34893 if eval "test \"\${$as_ac_var+set}\" = set"; then
34894   echo $ECHO_N "(cached) $ECHO_C" >&6
34895 else
34896   if test x$gcc_no_link = xyes; then
34897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34899    { (exit 1); exit 1; }; }
34900 fi
34901 cat >conftest.$ac_ext <<_ACEOF
34902 /* confdefs.h.  */
34903 _ACEOF
34904 cat confdefs.h >>conftest.$ac_ext
34905 cat >>conftest.$ac_ext <<_ACEOF
34906 /* end confdefs.h.  */
34907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34909 #define $ac_func innocuous_$ac_func
34910
34911 /* System header to define __stub macros and hopefully few prototypes,
34912     which can conflict with char $ac_func (); below.
34913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34914     <limits.h> exists even on freestanding compilers.  */
34915
34916 #ifdef __STDC__
34917 # include <limits.h>
34918 #else
34919 # include <assert.h>
34920 #endif
34921
34922 #undef $ac_func
34923
34924 /* Override any gcc2 internal prototype to avoid an error.  */
34925 #ifdef __cplusplus
34926 extern "C"
34927 {
34928 #endif
34929 /* We use char because int might match the return type of a gcc2
34930    builtin and then its argument prototype would still apply.  */
34931 char $ac_func ();
34932 /* The GNU C library defines this for functions which it implements
34933     to always fail with ENOSYS.  Some functions are actually named
34934     something starting with __ and the normal name is an alias.  */
34935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34936 choke me
34937 #else
34938 char (*f) () = $ac_func;
34939 #endif
34940 #ifdef __cplusplus
34941 }
34942 #endif
34943
34944 int
34945 main ()
34946 {
34947 return f != $ac_func;
34948   ;
34949   return 0;
34950 }
34951 _ACEOF
34952 rm -f conftest.$ac_objext conftest$ac_exeext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34954   (eval $ac_link) 2>conftest.er1
34955   ac_status=$?
34956   grep -v '^ *+' conftest.er1 >conftest.err
34957   rm -f conftest.er1
34958   cat conftest.err >&5
34959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960   (exit $ac_status); } &&
34961          { ac_try='test -z "$ac_c_werror_flag"
34962                          || test ! -s conftest.err'
34963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964   (eval $ac_try) 2>&5
34965   ac_status=$?
34966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967   (exit $ac_status); }; } &&
34968          { ac_try='test -s conftest$ac_exeext'
34969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970   (eval $ac_try) 2>&5
34971   ac_status=$?
34972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973   (exit $ac_status); }; }; then
34974   eval "$as_ac_var=yes"
34975 else
34976   echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.$ac_ext >&5
34978
34979 eval "$as_ac_var=no"
34980 fi
34981 rm -f conftest.err conftest.$ac_objext \
34982       conftest$ac_exeext conftest.$ac_ext
34983 fi
34984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34986 if test `eval echo '${'$as_ac_var'}'` = yes; then
34987   cat >>confdefs.h <<_ACEOF
34988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34989 _ACEOF
34990
34991 fi
34992 done
34993
34994     fi
34995   fi
34996
34997
34998
34999
35000
35001   LIBS="$ac_save_LIBS"
35002   CXXFLAGS="$ac_save_CXXFLAGS"
35003
35004
35005
35006   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35007 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35008   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35009     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35010   echo $ECHO_N "(cached) $ECHO_C" >&6
35011 else
35012
35013
35014
35015       ac_ext=cc
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020
35021       cat >conftest.$ac_ext <<_ACEOF
35022 /* confdefs.h.  */
35023 _ACEOF
35024 cat confdefs.h >>conftest.$ac_ext
35025 cat >>conftest.$ac_ext <<_ACEOF
35026 /* end confdefs.h.  */
35027 #include <math.h>
35028 int
35029 main ()
35030 {
35031  __builtin_abs(0);
35032   ;
35033   return 0;
35034 }
35035 _ACEOF
35036 rm -f conftest.$ac_objext
35037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35038   (eval $ac_compile) 2>conftest.er1
35039   ac_status=$?
35040   grep -v '^ *+' conftest.er1 >conftest.err
35041   rm -f conftest.er1
35042   cat conftest.err >&5
35043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044   (exit $ac_status); } &&
35045          { ac_try='test -z "$ac_cxx_werror_flag"
35046                          || test ! -s conftest.err'
35047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048   (eval $ac_try) 2>&5
35049   ac_status=$?
35050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051   (exit $ac_status); }; } &&
35052          { ac_try='test -s conftest.$ac_objext'
35053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054   (eval $ac_try) 2>&5
35055   ac_status=$?
35056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057   (exit $ac_status); }; }; then
35058   glibcxx_cv_func___builtin_abs_use=yes
35059 else
35060   echo "$as_me: failed program was:" >&5
35061 sed 's/^/| /' conftest.$ac_ext >&5
35062
35063 glibcxx_cv_func___builtin_abs_use=no
35064 fi
35065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35066       ac_ext=c
35067 ac_cpp='$CPP $CPPFLAGS'
35068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35071
35072
35073 fi
35074
35075   fi
35076   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35077 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35078   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35079     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35080 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35081     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35082       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35083   echo $ECHO_N "(cached) $ECHO_C" >&6
35084 else
35085
35086         if test x$gcc_no_link = xyes; then
35087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35089    { (exit 1); exit 1; }; }
35090 fi
35091 cat >conftest.$ac_ext <<_ACEOF
35092 /* confdefs.h.  */
35093 _ACEOF
35094 cat confdefs.h >>conftest.$ac_ext
35095 cat >>conftest.$ac_ext <<_ACEOF
35096 /* end confdefs.h.  */
35097 #include <math.h>
35098 int
35099 main ()
35100 {
35101  __builtin_abs(0);
35102   ;
35103   return 0;
35104 }
35105 _ACEOF
35106 rm -f conftest.$ac_objext conftest$ac_exeext
35107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35108   (eval $ac_link) 2>conftest.er1
35109   ac_status=$?
35110   grep -v '^ *+' conftest.er1 >conftest.err
35111   rm -f conftest.er1
35112   cat conftest.err >&5
35113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114   (exit $ac_status); } &&
35115          { ac_try='test -z "$ac_c_werror_flag"
35116                          || test ! -s conftest.err'
35117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118   (eval $ac_try) 2>&5
35119   ac_status=$?
35120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121   (exit $ac_status); }; } &&
35122          { ac_try='test -s conftest$ac_exeext'
35123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124   (eval $ac_try) 2>&5
35125   ac_status=$?
35126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127   (exit $ac_status); }; }; then
35128   glibcxx_cv_func___builtin_abs_link=yes
35129 else
35130   echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133 glibcxx_cv_func___builtin_abs_link=no
35134 fi
35135 rm -f conftest.err conftest.$ac_objext \
35136       conftest$ac_exeext conftest.$ac_ext
35137
35138 fi
35139
35140     fi
35141     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35142 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35143
35144     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35145
35146 cat >>confdefs.h <<\_ACEOF
35147 #define HAVE___BUILTIN_ABS 1
35148 _ACEOF
35149
35150     fi
35151
35152   fi
35153
35154
35155   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35156 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35157   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35158     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35159   echo $ECHO_N "(cached) $ECHO_C" >&6
35160 else
35161
35162
35163
35164       ac_ext=cc
35165 ac_cpp='$CXXCPP $CPPFLAGS'
35166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35169
35170       cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h.  */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h.  */
35176 #include <math.h>
35177 int
35178 main ()
35179 {
35180  __builtin_fabsf(0);
35181   ;
35182   return 0;
35183 }
35184 _ACEOF
35185 rm -f conftest.$ac_objext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35187   (eval $ac_compile) 2>conftest.er1
35188   ac_status=$?
35189   grep -v '^ *+' conftest.er1 >conftest.err
35190   rm -f conftest.er1
35191   cat conftest.err >&5
35192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193   (exit $ac_status); } &&
35194          { ac_try='test -z "$ac_cxx_werror_flag"
35195                          || test ! -s conftest.err'
35196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197   (eval $ac_try) 2>&5
35198   ac_status=$?
35199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200   (exit $ac_status); }; } &&
35201          { ac_try='test -s conftest.$ac_objext'
35202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203   (eval $ac_try) 2>&5
35204   ac_status=$?
35205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206   (exit $ac_status); }; }; then
35207   glibcxx_cv_func___builtin_fabsf_use=yes
35208 else
35209   echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35211
35212 glibcxx_cv_func___builtin_fabsf_use=no
35213 fi
35214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35215       ac_ext=c
35216 ac_cpp='$CPP $CPPFLAGS'
35217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35220
35221
35222 fi
35223
35224   fi
35225   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35226 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35227   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35228     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35229 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35230     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35231       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35232   echo $ECHO_N "(cached) $ECHO_C" >&6
35233 else
35234
35235         if test x$gcc_no_link = xyes; then
35236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35238    { (exit 1); exit 1; }; }
35239 fi
35240 cat >conftest.$ac_ext <<_ACEOF
35241 /* confdefs.h.  */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h.  */
35246 #include <math.h>
35247 int
35248 main ()
35249 {
35250  __builtin_fabsf(0);
35251   ;
35252   return 0;
35253 }
35254 _ACEOF
35255 rm -f conftest.$ac_objext conftest$ac_exeext
35256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35257   (eval $ac_link) 2>conftest.er1
35258   ac_status=$?
35259   grep -v '^ *+' conftest.er1 >conftest.err
35260   rm -f conftest.er1
35261   cat conftest.err >&5
35262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263   (exit $ac_status); } &&
35264          { ac_try='test -z "$ac_c_werror_flag"
35265                          || test ! -s conftest.err'
35266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35267   (eval $ac_try) 2>&5
35268   ac_status=$?
35269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270   (exit $ac_status); }; } &&
35271          { ac_try='test -s conftest$ac_exeext'
35272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35273   (eval $ac_try) 2>&5
35274   ac_status=$?
35275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35276   (exit $ac_status); }; }; then
35277   glibcxx_cv_func___builtin_fabsf_link=yes
35278 else
35279   echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.$ac_ext >&5
35281
35282 glibcxx_cv_func___builtin_fabsf_link=no
35283 fi
35284 rm -f conftest.err conftest.$ac_objext \
35285       conftest$ac_exeext conftest.$ac_ext
35286
35287 fi
35288
35289     fi
35290     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35291 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
35292
35293     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35294
35295 cat >>confdefs.h <<\_ACEOF
35296 #define HAVE___BUILTIN_FABSF 1
35297 _ACEOF
35298
35299     fi
35300
35301   fi
35302
35303
35304   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
35305 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
35306   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
35307     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
35308   echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310
35311
35312
35313       ac_ext=cc
35314 ac_cpp='$CXXCPP $CPPFLAGS'
35315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35318
35319       cat >conftest.$ac_ext <<_ACEOF
35320 /* confdefs.h.  */
35321 _ACEOF
35322 cat confdefs.h >>conftest.$ac_ext
35323 cat >>conftest.$ac_ext <<_ACEOF
35324 /* end confdefs.h.  */
35325 #include <math.h>
35326 int
35327 main ()
35328 {
35329  __builtin_fabs(0);
35330   ;
35331   return 0;
35332 }
35333 _ACEOF
35334 rm -f conftest.$ac_objext
35335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35336   (eval $ac_compile) 2>conftest.er1
35337   ac_status=$?
35338   grep -v '^ *+' conftest.er1 >conftest.err
35339   rm -f conftest.er1
35340   cat conftest.err >&5
35341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342   (exit $ac_status); } &&
35343          { ac_try='test -z "$ac_cxx_werror_flag"
35344                          || test ! -s conftest.err'
35345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35346   (eval $ac_try) 2>&5
35347   ac_status=$?
35348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35349   (exit $ac_status); }; } &&
35350          { ac_try='test -s conftest.$ac_objext'
35351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35352   (eval $ac_try) 2>&5
35353   ac_status=$?
35354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355   (exit $ac_status); }; }; then
35356   glibcxx_cv_func___builtin_fabs_use=yes
35357 else
35358   echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.$ac_ext >&5
35360
35361 glibcxx_cv_func___builtin_fabs_use=no
35362 fi
35363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35364       ac_ext=c
35365 ac_cpp='$CPP $CPPFLAGS'
35366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35369
35370
35371 fi
35372
35373   fi
35374   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
35375 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
35376   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
35377     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
35378 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
35379     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
35380       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
35381   echo $ECHO_N "(cached) $ECHO_C" >&6
35382 else
35383
35384         if test x$gcc_no_link = xyes; then
35385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35387    { (exit 1); exit 1; }; }
35388 fi
35389 cat >conftest.$ac_ext <<_ACEOF
35390 /* confdefs.h.  */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h.  */
35395 #include <math.h>
35396 int
35397 main ()
35398 {
35399  __builtin_fabs(0);
35400   ;
35401   return 0;
35402 }
35403 _ACEOF
35404 rm -f conftest.$ac_objext conftest$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406   (eval $ac_link) 2>conftest.er1
35407   ac_status=$?
35408   grep -v '^ *+' conftest.er1 >conftest.err
35409   rm -f conftest.er1
35410   cat conftest.err >&5
35411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412   (exit $ac_status); } &&
35413          { ac_try='test -z "$ac_c_werror_flag"
35414                          || test ! -s conftest.err'
35415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35416   (eval $ac_try) 2>&5
35417   ac_status=$?
35418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35419   (exit $ac_status); }; } &&
35420          { ac_try='test -s conftest$ac_exeext'
35421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422   (eval $ac_try) 2>&5
35423   ac_status=$?
35424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425   (exit $ac_status); }; }; then
35426   glibcxx_cv_func___builtin_fabs_link=yes
35427 else
35428   echo "$as_me: failed program was:" >&5
35429 sed 's/^/| /' conftest.$ac_ext >&5
35430
35431 glibcxx_cv_func___builtin_fabs_link=no
35432 fi
35433 rm -f conftest.err conftest.$ac_objext \
35434       conftest$ac_exeext conftest.$ac_ext
35435
35436 fi
35437
35438     fi
35439     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
35440 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
35441
35442     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
35443
35444 cat >>confdefs.h <<\_ACEOF
35445 #define HAVE___BUILTIN_FABS 1
35446 _ACEOF
35447
35448     fi
35449
35450   fi
35451
35452
35453   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35454 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35455   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35456     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35457   echo $ECHO_N "(cached) $ECHO_C" >&6
35458 else
35459
35460
35461
35462       ac_ext=cc
35463 ac_cpp='$CXXCPP $CPPFLAGS'
35464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35467
35468       cat >conftest.$ac_ext <<_ACEOF
35469 /* confdefs.h.  */
35470 _ACEOF
35471 cat confdefs.h >>conftest.$ac_ext
35472 cat >>conftest.$ac_ext <<_ACEOF
35473 /* end confdefs.h.  */
35474 #include <math.h>
35475 int
35476 main ()
35477 {
35478  __builtin_fabsl(0);
35479   ;
35480   return 0;
35481 }
35482 _ACEOF
35483 rm -f conftest.$ac_objext
35484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35485   (eval $ac_compile) 2>conftest.er1
35486   ac_status=$?
35487   grep -v '^ *+' conftest.er1 >conftest.err
35488   rm -f conftest.er1
35489   cat conftest.err >&5
35490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491   (exit $ac_status); } &&
35492          { ac_try='test -z "$ac_cxx_werror_flag"
35493                          || test ! -s conftest.err'
35494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495   (eval $ac_try) 2>&5
35496   ac_status=$?
35497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498   (exit $ac_status); }; } &&
35499          { ac_try='test -s conftest.$ac_objext'
35500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35501   (eval $ac_try) 2>&5
35502   ac_status=$?
35503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504   (exit $ac_status); }; }; then
35505   glibcxx_cv_func___builtin_fabsl_use=yes
35506 else
35507   echo "$as_me: failed program was:" >&5
35508 sed 's/^/| /' conftest.$ac_ext >&5
35509
35510 glibcxx_cv_func___builtin_fabsl_use=no
35511 fi
35512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35513       ac_ext=c
35514 ac_cpp='$CPP $CPPFLAGS'
35515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518
35519
35520 fi
35521
35522   fi
35523   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35524 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35525   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35526     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35527 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35528     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35529       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35530   echo $ECHO_N "(cached) $ECHO_C" >&6
35531 else
35532
35533         if test x$gcc_no_link = xyes; then
35534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35536    { (exit 1); exit 1; }; }
35537 fi
35538 cat >conftest.$ac_ext <<_ACEOF
35539 /* confdefs.h.  */
35540 _ACEOF
35541 cat confdefs.h >>conftest.$ac_ext
35542 cat >>conftest.$ac_ext <<_ACEOF
35543 /* end confdefs.h.  */
35544 #include <math.h>
35545 int
35546 main ()
35547 {
35548  __builtin_fabsl(0);
35549   ;
35550   return 0;
35551 }
35552 _ACEOF
35553 rm -f conftest.$ac_objext conftest$ac_exeext
35554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35555   (eval $ac_link) 2>conftest.er1
35556   ac_status=$?
35557   grep -v '^ *+' conftest.er1 >conftest.err
35558   rm -f conftest.er1
35559   cat conftest.err >&5
35560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561   (exit $ac_status); } &&
35562          { ac_try='test -z "$ac_c_werror_flag"
35563                          || test ! -s conftest.err'
35564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35565   (eval $ac_try) 2>&5
35566   ac_status=$?
35567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568   (exit $ac_status); }; } &&
35569          { ac_try='test -s conftest$ac_exeext'
35570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35571   (eval $ac_try) 2>&5
35572   ac_status=$?
35573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574   (exit $ac_status); }; }; then
35575   glibcxx_cv_func___builtin_fabsl_link=yes
35576 else
35577   echo "$as_me: failed program was:" >&5
35578 sed 's/^/| /' conftest.$ac_ext >&5
35579
35580 glibcxx_cv_func___builtin_fabsl_link=no
35581 fi
35582 rm -f conftest.err conftest.$ac_objext \
35583       conftest$ac_exeext conftest.$ac_ext
35584
35585 fi
35586
35587     fi
35588     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35589 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35590
35591     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35592
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE___BUILTIN_FABSL 1
35595 _ACEOF
35596
35597     fi
35598
35599   fi
35600
35601
35602   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35603 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35604   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35605     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35606   echo $ECHO_N "(cached) $ECHO_C" >&6
35607 else
35608
35609
35610
35611       ac_ext=cc
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616
35617       cat >conftest.$ac_ext <<_ACEOF
35618 /* confdefs.h.  */
35619 _ACEOF
35620 cat confdefs.h >>conftest.$ac_ext
35621 cat >>conftest.$ac_ext <<_ACEOF
35622 /* end confdefs.h.  */
35623 #include <math.h>
35624 int
35625 main ()
35626 {
35627  __builtin_labs(0);
35628   ;
35629   return 0;
35630 }
35631 _ACEOF
35632 rm -f conftest.$ac_objext
35633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35634   (eval $ac_compile) 2>conftest.er1
35635   ac_status=$?
35636   grep -v '^ *+' conftest.er1 >conftest.err
35637   rm -f conftest.er1
35638   cat conftest.err >&5
35639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640   (exit $ac_status); } &&
35641          { ac_try='test -z "$ac_cxx_werror_flag"
35642                          || test ! -s conftest.err'
35643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35644   (eval $ac_try) 2>&5
35645   ac_status=$?
35646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647   (exit $ac_status); }; } &&
35648          { ac_try='test -s conftest.$ac_objext'
35649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35650   (eval $ac_try) 2>&5
35651   ac_status=$?
35652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653   (exit $ac_status); }; }; then
35654   glibcxx_cv_func___builtin_labs_use=yes
35655 else
35656   echo "$as_me: failed program was:" >&5
35657 sed 's/^/| /' conftest.$ac_ext >&5
35658
35659 glibcxx_cv_func___builtin_labs_use=no
35660 fi
35661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35662       ac_ext=c
35663 ac_cpp='$CPP $CPPFLAGS'
35664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35667
35668
35669 fi
35670
35671   fi
35672   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35673 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35674   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35675     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35676 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35677     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35678       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35679   echo $ECHO_N "(cached) $ECHO_C" >&6
35680 else
35681
35682         if test x$gcc_no_link = xyes; then
35683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35685    { (exit 1); exit 1; }; }
35686 fi
35687 cat >conftest.$ac_ext <<_ACEOF
35688 /* confdefs.h.  */
35689 _ACEOF
35690 cat confdefs.h >>conftest.$ac_ext
35691 cat >>conftest.$ac_ext <<_ACEOF
35692 /* end confdefs.h.  */
35693 #include <math.h>
35694 int
35695 main ()
35696 {
35697  __builtin_labs(0);
35698   ;
35699   return 0;
35700 }
35701 _ACEOF
35702 rm -f conftest.$ac_objext conftest$ac_exeext
35703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35704   (eval $ac_link) 2>conftest.er1
35705   ac_status=$?
35706   grep -v '^ *+' conftest.er1 >conftest.err
35707   rm -f conftest.er1
35708   cat conftest.err >&5
35709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710   (exit $ac_status); } &&
35711          { ac_try='test -z "$ac_c_werror_flag"
35712                          || test ! -s conftest.err'
35713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714   (eval $ac_try) 2>&5
35715   ac_status=$?
35716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717   (exit $ac_status); }; } &&
35718          { ac_try='test -s conftest$ac_exeext'
35719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35720   (eval $ac_try) 2>&5
35721   ac_status=$?
35722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723   (exit $ac_status); }; }; then
35724   glibcxx_cv_func___builtin_labs_link=yes
35725 else
35726   echo "$as_me: failed program was:" >&5
35727 sed 's/^/| /' conftest.$ac_ext >&5
35728
35729 glibcxx_cv_func___builtin_labs_link=no
35730 fi
35731 rm -f conftest.err conftest.$ac_objext \
35732       conftest$ac_exeext conftest.$ac_ext
35733
35734 fi
35735
35736     fi
35737     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35738 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35739
35740     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35741
35742 cat >>confdefs.h <<\_ACEOF
35743 #define HAVE___BUILTIN_LABS 1
35744 _ACEOF
35745
35746     fi
35747
35748   fi
35749
35750
35751
35752   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35753 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35754   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35755     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35756   echo $ECHO_N "(cached) $ECHO_C" >&6
35757 else
35758
35759
35760
35761       ac_ext=cc
35762 ac_cpp='$CXXCPP $CPPFLAGS'
35763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35766
35767       cat >conftest.$ac_ext <<_ACEOF
35768 /* confdefs.h.  */
35769 _ACEOF
35770 cat confdefs.h >>conftest.$ac_ext
35771 cat >>conftest.$ac_ext <<_ACEOF
35772 /* end confdefs.h.  */
35773 #include <math.h>
35774 int
35775 main ()
35776 {
35777  __builtin_sqrtf(0);
35778   ;
35779   return 0;
35780 }
35781 _ACEOF
35782 rm -f conftest.$ac_objext
35783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35784   (eval $ac_compile) 2>conftest.er1
35785   ac_status=$?
35786   grep -v '^ *+' conftest.er1 >conftest.err
35787   rm -f conftest.er1
35788   cat conftest.err >&5
35789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790   (exit $ac_status); } &&
35791          { ac_try='test -z "$ac_cxx_werror_flag"
35792                          || test ! -s conftest.err'
35793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35794   (eval $ac_try) 2>&5
35795   ac_status=$?
35796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797   (exit $ac_status); }; } &&
35798          { ac_try='test -s conftest.$ac_objext'
35799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800   (eval $ac_try) 2>&5
35801   ac_status=$?
35802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803   (exit $ac_status); }; }; then
35804   glibcxx_cv_func___builtin_sqrtf_use=yes
35805 else
35806   echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35808
35809 glibcxx_cv_func___builtin_sqrtf_use=no
35810 fi
35811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35812       ac_ext=c
35813 ac_cpp='$CPP $CPPFLAGS'
35814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817
35818
35819 fi
35820
35821   fi
35822   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
35823 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
35824   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
35825     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
35826 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
35827     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
35828       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
35829   echo $ECHO_N "(cached) $ECHO_C" >&6
35830 else
35831
35832         if test x$gcc_no_link = xyes; then
35833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35835    { (exit 1); exit 1; }; }
35836 fi
35837 cat >conftest.$ac_ext <<_ACEOF
35838 /* confdefs.h.  */
35839 _ACEOF
35840 cat confdefs.h >>conftest.$ac_ext
35841 cat >>conftest.$ac_ext <<_ACEOF
35842 /* end confdefs.h.  */
35843 #include <math.h>
35844 int
35845 main ()
35846 {
35847  __builtin_sqrtf(0);
35848   ;
35849   return 0;
35850 }
35851 _ACEOF
35852 rm -f conftest.$ac_objext conftest$ac_exeext
35853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35854   (eval $ac_link) 2>conftest.er1
35855   ac_status=$?
35856   grep -v '^ *+' conftest.er1 >conftest.err
35857   rm -f conftest.er1
35858   cat conftest.err >&5
35859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860   (exit $ac_status); } &&
35861          { ac_try='test -z "$ac_c_werror_flag"
35862                          || test ! -s conftest.err'
35863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35864   (eval $ac_try) 2>&5
35865   ac_status=$?
35866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867   (exit $ac_status); }; } &&
35868          { ac_try='test -s conftest$ac_exeext'
35869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870   (eval $ac_try) 2>&5
35871   ac_status=$?
35872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873   (exit $ac_status); }; }; then
35874   glibcxx_cv_func___builtin_sqrtf_link=yes
35875 else
35876   echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35878
35879 glibcxx_cv_func___builtin_sqrtf_link=no
35880 fi
35881 rm -f conftest.err conftest.$ac_objext \
35882       conftest$ac_exeext conftest.$ac_ext
35883
35884 fi
35885
35886     fi
35887     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
35888 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
35889
35890     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
35891
35892 cat >>confdefs.h <<\_ACEOF
35893 #define HAVE___BUILTIN_SQRTF 1
35894 _ACEOF
35895
35896     fi
35897
35898   fi
35899
35900
35901   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
35902 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
35903   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
35904     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
35905   echo $ECHO_N "(cached) $ECHO_C" >&6
35906 else
35907
35908
35909
35910       ac_ext=cc
35911 ac_cpp='$CXXCPP $CPPFLAGS'
35912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35915
35916       cat >conftest.$ac_ext <<_ACEOF
35917 /* confdefs.h.  */
35918 _ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h.  */
35922 #include <math.h>
35923 int
35924 main ()
35925 {
35926  __builtin_sqrt(0);
35927   ;
35928   return 0;
35929 }
35930 _ACEOF
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933   (eval $ac_compile) 2>conftest.er1
35934   ac_status=$?
35935   grep -v '^ *+' conftest.er1 >conftest.err
35936   rm -f conftest.er1
35937   cat conftest.err >&5
35938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939   (exit $ac_status); } &&
35940          { ac_try='test -z "$ac_cxx_werror_flag"
35941                          || test ! -s conftest.err'
35942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35943   (eval $ac_try) 2>&5
35944   ac_status=$?
35945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946   (exit $ac_status); }; } &&
35947          { ac_try='test -s conftest.$ac_objext'
35948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949   (eval $ac_try) 2>&5
35950   ac_status=$?
35951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952   (exit $ac_status); }; }; then
35953   glibcxx_cv_func___builtin_sqrt_use=yes
35954 else
35955   echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35957
35958 glibcxx_cv_func___builtin_sqrt_use=no
35959 fi
35960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35961       ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966
35967
35968 fi
35969
35970   fi
35971   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
35972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
35973   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
35974     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
35975 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
35976     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
35977       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
35978   echo $ECHO_N "(cached) $ECHO_C" >&6
35979 else
35980
35981         if test x$gcc_no_link = xyes; then
35982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35984    { (exit 1); exit 1; }; }
35985 fi
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h.  */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h.  */
35992 #include <math.h>
35993 int
35994 main ()
35995 {
35996  __builtin_sqrt(0);
35997   ;
35998   return 0;
35999 }
36000 _ACEOF
36001 rm -f conftest.$ac_objext conftest$ac_exeext
36002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36003   (eval $ac_link) 2>conftest.er1
36004   ac_status=$?
36005   grep -v '^ *+' conftest.er1 >conftest.err
36006   rm -f conftest.er1
36007   cat conftest.err >&5
36008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009   (exit $ac_status); } &&
36010          { ac_try='test -z "$ac_c_werror_flag"
36011                          || test ! -s conftest.err'
36012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36013   (eval $ac_try) 2>&5
36014   ac_status=$?
36015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016   (exit $ac_status); }; } &&
36017          { ac_try='test -s conftest$ac_exeext'
36018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36019   (eval $ac_try) 2>&5
36020   ac_status=$?
36021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022   (exit $ac_status); }; }; then
36023   glibcxx_cv_func___builtin_sqrt_link=yes
36024 else
36025   echo "$as_me: failed program was:" >&5
36026 sed 's/^/| /' conftest.$ac_ext >&5
36027
36028 glibcxx_cv_func___builtin_sqrt_link=no
36029 fi
36030 rm -f conftest.err conftest.$ac_objext \
36031       conftest$ac_exeext conftest.$ac_ext
36032
36033 fi
36034
36035     fi
36036     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36037 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36038
36039     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36040
36041 cat >>confdefs.h <<\_ACEOF
36042 #define HAVE___BUILTIN_SQRT 1
36043 _ACEOF
36044
36045     fi
36046
36047   fi
36048
36049
36050   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36051 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36052   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36053     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36054   echo $ECHO_N "(cached) $ECHO_C" >&6
36055 else
36056
36057
36058
36059       ac_ext=cc
36060 ac_cpp='$CXXCPP $CPPFLAGS'
36061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36064
36065       cat >conftest.$ac_ext <<_ACEOF
36066 /* confdefs.h.  */
36067 _ACEOF
36068 cat confdefs.h >>conftest.$ac_ext
36069 cat >>conftest.$ac_ext <<_ACEOF
36070 /* end confdefs.h.  */
36071 #include <math.h>
36072 int
36073 main ()
36074 {
36075  __builtin_sqrtl(0);
36076   ;
36077   return 0;
36078 }
36079 _ACEOF
36080 rm -f conftest.$ac_objext
36081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36082   (eval $ac_compile) 2>conftest.er1
36083   ac_status=$?
36084   grep -v '^ *+' conftest.er1 >conftest.err
36085   rm -f conftest.er1
36086   cat conftest.err >&5
36087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088   (exit $ac_status); } &&
36089          { ac_try='test -z "$ac_cxx_werror_flag"
36090                          || test ! -s conftest.err'
36091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092   (eval $ac_try) 2>&5
36093   ac_status=$?
36094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095   (exit $ac_status); }; } &&
36096          { ac_try='test -s conftest.$ac_objext'
36097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098   (eval $ac_try) 2>&5
36099   ac_status=$?
36100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101   (exit $ac_status); }; }; then
36102   glibcxx_cv_func___builtin_sqrtl_use=yes
36103 else
36104   echo "$as_me: failed program was:" >&5
36105 sed 's/^/| /' conftest.$ac_ext >&5
36106
36107 glibcxx_cv_func___builtin_sqrtl_use=no
36108 fi
36109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36110       ac_ext=c
36111 ac_cpp='$CPP $CPPFLAGS'
36112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36115
36116
36117 fi
36118
36119   fi
36120   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36121 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36122   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36123     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36124 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36125     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36126       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36127   echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36129
36130         if test x$gcc_no_link = xyes; then
36131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36133    { (exit 1); exit 1; }; }
36134 fi
36135 cat >conftest.$ac_ext <<_ACEOF
36136 /* confdefs.h.  */
36137 _ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h.  */
36141 #include <math.h>
36142 int
36143 main ()
36144 {
36145  __builtin_sqrtl(0);
36146   ;
36147   return 0;
36148 }
36149 _ACEOF
36150 rm -f conftest.$ac_objext conftest$ac_exeext
36151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36152   (eval $ac_link) 2>conftest.er1
36153   ac_status=$?
36154   grep -v '^ *+' conftest.er1 >conftest.err
36155   rm -f conftest.er1
36156   cat conftest.err >&5
36157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158   (exit $ac_status); } &&
36159          { ac_try='test -z "$ac_c_werror_flag"
36160                          || test ! -s conftest.err'
36161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36162   (eval $ac_try) 2>&5
36163   ac_status=$?
36164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36165   (exit $ac_status); }; } &&
36166          { ac_try='test -s conftest$ac_exeext'
36167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168   (eval $ac_try) 2>&5
36169   ac_status=$?
36170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171   (exit $ac_status); }; }; then
36172   glibcxx_cv_func___builtin_sqrtl_link=yes
36173 else
36174   echo "$as_me: failed program was:" >&5
36175 sed 's/^/| /' conftest.$ac_ext >&5
36176
36177 glibcxx_cv_func___builtin_sqrtl_link=no
36178 fi
36179 rm -f conftest.err conftest.$ac_objext \
36180       conftest$ac_exeext conftest.$ac_ext
36181
36182 fi
36183
36184     fi
36185     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36186 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36187
36188     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36189
36190 cat >>confdefs.h <<\_ACEOF
36191 #define HAVE___BUILTIN_SQRTL 1
36192 _ACEOF
36193
36194     fi
36195
36196   fi
36197
36198
36199
36200   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36201 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36202   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36203     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36204   echo $ECHO_N "(cached) $ECHO_C" >&6
36205 else
36206
36207
36208
36209       ac_ext=cc
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36214
36215       cat >conftest.$ac_ext <<_ACEOF
36216 /* confdefs.h.  */
36217 _ACEOF
36218 cat confdefs.h >>conftest.$ac_ext
36219 cat >>conftest.$ac_ext <<_ACEOF
36220 /* end confdefs.h.  */
36221 #include <math.h>
36222 int
36223 main ()
36224 {
36225  __builtin_sinf(0);
36226   ;
36227   return 0;
36228 }
36229 _ACEOF
36230 rm -f conftest.$ac_objext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36232   (eval $ac_compile) 2>conftest.er1
36233   ac_status=$?
36234   grep -v '^ *+' conftest.er1 >conftest.err
36235   rm -f conftest.er1
36236   cat conftest.err >&5
36237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238   (exit $ac_status); } &&
36239          { ac_try='test -z "$ac_cxx_werror_flag"
36240                          || test ! -s conftest.err'
36241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242   (eval $ac_try) 2>&5
36243   ac_status=$?
36244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245   (exit $ac_status); }; } &&
36246          { ac_try='test -s conftest.$ac_objext'
36247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248   (eval $ac_try) 2>&5
36249   ac_status=$?
36250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251   (exit $ac_status); }; }; then
36252   glibcxx_cv_func___builtin_sinf_use=yes
36253 else
36254   echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.$ac_ext >&5
36256
36257 glibcxx_cv_func___builtin_sinf_use=no
36258 fi
36259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36260       ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269   fi
36270   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36271 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
36272   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36273     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36274 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
36275     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36276       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36277   echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
36279
36280         if test x$gcc_no_link = xyes; then
36281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36283    { (exit 1); exit 1; }; }
36284 fi
36285 cat >conftest.$ac_ext <<_ACEOF
36286 /* confdefs.h.  */
36287 _ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h.  */
36291 #include <math.h>
36292 int
36293 main ()
36294 {
36295  __builtin_sinf(0);
36296   ;
36297   return 0;
36298 }
36299 _ACEOF
36300 rm -f conftest.$ac_objext conftest$ac_exeext
36301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36302   (eval $ac_link) 2>conftest.er1
36303   ac_status=$?
36304   grep -v '^ *+' conftest.er1 >conftest.err
36305   rm -f conftest.er1
36306   cat conftest.err >&5
36307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308   (exit $ac_status); } &&
36309          { ac_try='test -z "$ac_c_werror_flag"
36310                          || test ! -s conftest.err'
36311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312   (eval $ac_try) 2>&5
36313   ac_status=$?
36314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315   (exit $ac_status); }; } &&
36316          { ac_try='test -s conftest$ac_exeext'
36317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318   (eval $ac_try) 2>&5
36319   ac_status=$?
36320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321   (exit $ac_status); }; }; then
36322   glibcxx_cv_func___builtin_sinf_link=yes
36323 else
36324   echo "$as_me: failed program was:" >&5
36325 sed 's/^/| /' conftest.$ac_ext >&5
36326
36327 glibcxx_cv_func___builtin_sinf_link=no
36328 fi
36329 rm -f conftest.err conftest.$ac_objext \
36330       conftest$ac_exeext conftest.$ac_ext
36331
36332 fi
36333
36334     fi
36335     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
36336 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
36337
36338     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
36339
36340 cat >>confdefs.h <<\_ACEOF
36341 #define HAVE___BUILTIN_SINF 1
36342 _ACEOF
36343
36344     fi
36345
36346   fi
36347
36348
36349   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
36350 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
36351   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
36352     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
36353   echo $ECHO_N "(cached) $ECHO_C" >&6
36354 else
36355
36356
36357
36358       ac_ext=cc
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36363
36364       cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h.  */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h.  */
36370 #include <math.h>
36371 int
36372 main ()
36373 {
36374  __builtin_sin(0);
36375   ;
36376   return 0;
36377 }
36378 _ACEOF
36379 rm -f conftest.$ac_objext
36380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36381   (eval $ac_compile) 2>conftest.er1
36382   ac_status=$?
36383   grep -v '^ *+' conftest.er1 >conftest.err
36384   rm -f conftest.er1
36385   cat conftest.err >&5
36386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387   (exit $ac_status); } &&
36388          { ac_try='test -z "$ac_cxx_werror_flag"
36389                          || test ! -s conftest.err'
36390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36391   (eval $ac_try) 2>&5
36392   ac_status=$?
36393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394   (exit $ac_status); }; } &&
36395          { ac_try='test -s conftest.$ac_objext'
36396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36397   (eval $ac_try) 2>&5
36398   ac_status=$?
36399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400   (exit $ac_status); }; }; then
36401   glibcxx_cv_func___builtin_sin_use=yes
36402 else
36403   echo "$as_me: failed program was:" >&5
36404 sed 's/^/| /' conftest.$ac_ext >&5
36405
36406 glibcxx_cv_func___builtin_sin_use=no
36407 fi
36408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36409       ac_ext=c
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414
36415
36416 fi
36417
36418   fi
36419   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
36420 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
36421   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
36422     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
36423 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
36424     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
36425       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
36426   echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428
36429         if test x$gcc_no_link = xyes; then
36430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36432    { (exit 1); exit 1; }; }
36433 fi
36434 cat >conftest.$ac_ext <<_ACEOF
36435 /* confdefs.h.  */
36436 _ACEOF
36437 cat confdefs.h >>conftest.$ac_ext
36438 cat >>conftest.$ac_ext <<_ACEOF
36439 /* end confdefs.h.  */
36440 #include <math.h>
36441 int
36442 main ()
36443 {
36444  __builtin_sin(0);
36445   ;
36446   return 0;
36447 }
36448 _ACEOF
36449 rm -f conftest.$ac_objext conftest$ac_exeext
36450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36451   (eval $ac_link) 2>conftest.er1
36452   ac_status=$?
36453   grep -v '^ *+' conftest.er1 >conftest.err
36454   rm -f conftest.er1
36455   cat conftest.err >&5
36456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457   (exit $ac_status); } &&
36458          { ac_try='test -z "$ac_c_werror_flag"
36459                          || test ! -s conftest.err'
36460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461   (eval $ac_try) 2>&5
36462   ac_status=$?
36463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464   (exit $ac_status); }; } &&
36465          { ac_try='test -s conftest$ac_exeext'
36466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467   (eval $ac_try) 2>&5
36468   ac_status=$?
36469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470   (exit $ac_status); }; }; then
36471   glibcxx_cv_func___builtin_sin_link=yes
36472 else
36473   echo "$as_me: failed program was:" >&5
36474 sed 's/^/| /' conftest.$ac_ext >&5
36475
36476 glibcxx_cv_func___builtin_sin_link=no
36477 fi
36478 rm -f conftest.err conftest.$ac_objext \
36479       conftest$ac_exeext conftest.$ac_ext
36480
36481 fi
36482
36483     fi
36484     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36486
36487     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36488
36489 cat >>confdefs.h <<\_ACEOF
36490 #define HAVE___BUILTIN_SIN 1
36491 _ACEOF
36492
36493     fi
36494
36495   fi
36496
36497
36498   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36499 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36500   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36501     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36502   echo $ECHO_N "(cached) $ECHO_C" >&6
36503 else
36504
36505
36506
36507       ac_ext=cc
36508 ac_cpp='$CXXCPP $CPPFLAGS'
36509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36512
36513       cat >conftest.$ac_ext <<_ACEOF
36514 /* confdefs.h.  */
36515 _ACEOF
36516 cat confdefs.h >>conftest.$ac_ext
36517 cat >>conftest.$ac_ext <<_ACEOF
36518 /* end confdefs.h.  */
36519 #include <math.h>
36520 int
36521 main ()
36522 {
36523  __builtin_sinl(0);
36524   ;
36525   return 0;
36526 }
36527 _ACEOF
36528 rm -f conftest.$ac_objext
36529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36530   (eval $ac_compile) 2>conftest.er1
36531   ac_status=$?
36532   grep -v '^ *+' conftest.er1 >conftest.err
36533   rm -f conftest.er1
36534   cat conftest.err >&5
36535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536   (exit $ac_status); } &&
36537          { ac_try='test -z "$ac_cxx_werror_flag"
36538                          || test ! -s conftest.err'
36539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36540   (eval $ac_try) 2>&5
36541   ac_status=$?
36542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543   (exit $ac_status); }; } &&
36544          { ac_try='test -s conftest.$ac_objext'
36545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36546   (eval $ac_try) 2>&5
36547   ac_status=$?
36548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549   (exit $ac_status); }; }; then
36550   glibcxx_cv_func___builtin_sinl_use=yes
36551 else
36552   echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36554
36555 glibcxx_cv_func___builtin_sinl_use=no
36556 fi
36557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36558       ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564
36565 fi
36566
36567   fi
36568   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36569 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36570   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36571     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36572 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36573     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36574       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36575   echo $ECHO_N "(cached) $ECHO_C" >&6
36576 else
36577
36578         if test x$gcc_no_link = xyes; then
36579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36581    { (exit 1); exit 1; }; }
36582 fi
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h.  */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h.  */
36589 #include <math.h>
36590 int
36591 main ()
36592 {
36593  __builtin_sinl(0);
36594   ;
36595   return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36600   (eval $ac_link) 2>conftest.er1
36601   ac_status=$?
36602   grep -v '^ *+' conftest.er1 >conftest.err
36603   rm -f conftest.er1
36604   cat conftest.err >&5
36605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606   (exit $ac_status); } &&
36607          { ac_try='test -z "$ac_c_werror_flag"
36608                          || test ! -s conftest.err'
36609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610   (eval $ac_try) 2>&5
36611   ac_status=$?
36612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613   (exit $ac_status); }; } &&
36614          { ac_try='test -s conftest$ac_exeext'
36615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616   (eval $ac_try) 2>&5
36617   ac_status=$?
36618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619   (exit $ac_status); }; }; then
36620   glibcxx_cv_func___builtin_sinl_link=yes
36621 else
36622   echo "$as_me: failed program was:" >&5
36623 sed 's/^/| /' conftest.$ac_ext >&5
36624
36625 glibcxx_cv_func___builtin_sinl_link=no
36626 fi
36627 rm -f conftest.err conftest.$ac_objext \
36628       conftest$ac_exeext conftest.$ac_ext
36629
36630 fi
36631
36632     fi
36633     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36634 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36635
36636     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36637
36638 cat >>confdefs.h <<\_ACEOF
36639 #define HAVE___BUILTIN_SINL 1
36640 _ACEOF
36641
36642     fi
36643
36644   fi
36645
36646
36647
36648   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36649 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36650   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36651     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36652   echo $ECHO_N "(cached) $ECHO_C" >&6
36653 else
36654
36655
36656
36657       ac_ext=cc
36658 ac_cpp='$CXXCPP $CPPFLAGS'
36659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36662
36663       cat >conftest.$ac_ext <<_ACEOF
36664 /* confdefs.h.  */
36665 _ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h.  */
36669 #include <math.h>
36670 int
36671 main ()
36672 {
36673  __builtin_cosf(0);
36674   ;
36675   return 0;
36676 }
36677 _ACEOF
36678 rm -f conftest.$ac_objext
36679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36680   (eval $ac_compile) 2>conftest.er1
36681   ac_status=$?
36682   grep -v '^ *+' conftest.er1 >conftest.err
36683   rm -f conftest.er1
36684   cat conftest.err >&5
36685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686   (exit $ac_status); } &&
36687          { ac_try='test -z "$ac_cxx_werror_flag"
36688                          || test ! -s conftest.err'
36689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690   (eval $ac_try) 2>&5
36691   ac_status=$?
36692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693   (exit $ac_status); }; } &&
36694          { ac_try='test -s conftest.$ac_objext'
36695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696   (eval $ac_try) 2>&5
36697   ac_status=$?
36698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699   (exit $ac_status); }; }; then
36700   glibcxx_cv_func___builtin_cosf_use=yes
36701 else
36702   echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 glibcxx_cv_func___builtin_cosf_use=no
36706 fi
36707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36708       ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713
36714
36715 fi
36716
36717   fi
36718   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36719 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36720   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36721     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36722 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36723     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36724       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36725   echo $ECHO_N "(cached) $ECHO_C" >&6
36726 else
36727
36728         if test x$gcc_no_link = xyes; then
36729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36731    { (exit 1); exit 1; }; }
36732 fi
36733 cat >conftest.$ac_ext <<_ACEOF
36734 /* confdefs.h.  */
36735 _ACEOF
36736 cat confdefs.h >>conftest.$ac_ext
36737 cat >>conftest.$ac_ext <<_ACEOF
36738 /* end confdefs.h.  */
36739 #include <math.h>
36740 int
36741 main ()
36742 {
36743  __builtin_cosf(0);
36744   ;
36745   return 0;
36746 }
36747 _ACEOF
36748 rm -f conftest.$ac_objext conftest$ac_exeext
36749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36750   (eval $ac_link) 2>conftest.er1
36751   ac_status=$?
36752   grep -v '^ *+' conftest.er1 >conftest.err
36753   rm -f conftest.er1
36754   cat conftest.err >&5
36755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756   (exit $ac_status); } &&
36757          { ac_try='test -z "$ac_c_werror_flag"
36758                          || test ! -s conftest.err'
36759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760   (eval $ac_try) 2>&5
36761   ac_status=$?
36762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763   (exit $ac_status); }; } &&
36764          { ac_try='test -s conftest$ac_exeext'
36765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36766   (eval $ac_try) 2>&5
36767   ac_status=$?
36768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769   (exit $ac_status); }; }; then
36770   glibcxx_cv_func___builtin_cosf_link=yes
36771 else
36772   echo "$as_me: failed program was:" >&5
36773 sed 's/^/| /' conftest.$ac_ext >&5
36774
36775 glibcxx_cv_func___builtin_cosf_link=no
36776 fi
36777 rm -f conftest.err conftest.$ac_objext \
36778       conftest$ac_exeext conftest.$ac_ext
36779
36780 fi
36781
36782     fi
36783     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36784 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36785
36786     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36787
36788 cat >>confdefs.h <<\_ACEOF
36789 #define HAVE___BUILTIN_COSF 1
36790 _ACEOF
36791
36792     fi
36793
36794   fi
36795
36796
36797   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36798 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36799   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36800     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36801   echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36803
36804
36805
36806       ac_ext=cc
36807 ac_cpp='$CXXCPP $CPPFLAGS'
36808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36811
36812       cat >conftest.$ac_ext <<_ACEOF
36813 /* confdefs.h.  */
36814 _ACEOF
36815 cat confdefs.h >>conftest.$ac_ext
36816 cat >>conftest.$ac_ext <<_ACEOF
36817 /* end confdefs.h.  */
36818 #include <math.h>
36819 int
36820 main ()
36821 {
36822  __builtin_cos(0);
36823   ;
36824   return 0;
36825 }
36826 _ACEOF
36827 rm -f conftest.$ac_objext
36828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36829   (eval $ac_compile) 2>conftest.er1
36830   ac_status=$?
36831   grep -v '^ *+' conftest.er1 >conftest.err
36832   rm -f conftest.er1
36833   cat conftest.err >&5
36834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835   (exit $ac_status); } &&
36836          { ac_try='test -z "$ac_cxx_werror_flag"
36837                          || test ! -s conftest.err'
36838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36839   (eval $ac_try) 2>&5
36840   ac_status=$?
36841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36842   (exit $ac_status); }; } &&
36843          { ac_try='test -s conftest.$ac_objext'
36844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36845   (eval $ac_try) 2>&5
36846   ac_status=$?
36847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848   (exit $ac_status); }; }; then
36849   glibcxx_cv_func___builtin_cos_use=yes
36850 else
36851   echo "$as_me: failed program was:" >&5
36852 sed 's/^/| /' conftest.$ac_ext >&5
36853
36854 glibcxx_cv_func___builtin_cos_use=no
36855 fi
36856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36857       ac_ext=c
36858 ac_cpp='$CPP $CPPFLAGS'
36859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36862
36863
36864 fi
36865
36866   fi
36867   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
36868 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
36869   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
36870     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
36871 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
36872     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
36873       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
36874   echo $ECHO_N "(cached) $ECHO_C" >&6
36875 else
36876
36877         if test x$gcc_no_link = xyes; then
36878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36880    { (exit 1); exit 1; }; }
36881 fi
36882 cat >conftest.$ac_ext <<_ACEOF
36883 /* confdefs.h.  */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h.  */
36888 #include <math.h>
36889 int
36890 main ()
36891 {
36892  __builtin_cos(0);
36893   ;
36894   return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext conftest$ac_exeext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36899   (eval $ac_link) 2>conftest.er1
36900   ac_status=$?
36901   grep -v '^ *+' conftest.er1 >conftest.err
36902   rm -f conftest.er1
36903   cat conftest.err >&5
36904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905   (exit $ac_status); } &&
36906          { ac_try='test -z "$ac_c_werror_flag"
36907                          || test ! -s conftest.err'
36908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909   (eval $ac_try) 2>&5
36910   ac_status=$?
36911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912   (exit $ac_status); }; } &&
36913          { ac_try='test -s conftest$ac_exeext'
36914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915   (eval $ac_try) 2>&5
36916   ac_status=$?
36917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918   (exit $ac_status); }; }; then
36919   glibcxx_cv_func___builtin_cos_link=yes
36920 else
36921   echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 glibcxx_cv_func___builtin_cos_link=no
36925 fi
36926 rm -f conftest.err conftest.$ac_objext \
36927       conftest$ac_exeext conftest.$ac_ext
36928
36929 fi
36930
36931     fi
36932     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
36933 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
36934
36935     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
36936
36937 cat >>confdefs.h <<\_ACEOF
36938 #define HAVE___BUILTIN_COS 1
36939 _ACEOF
36940
36941     fi
36942
36943   fi
36944
36945
36946   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
36947 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
36948   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
36949     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
36950   echo $ECHO_N "(cached) $ECHO_C" >&6
36951 else
36952
36953
36954
36955       ac_ext=cc
36956 ac_cpp='$CXXCPP $CPPFLAGS'
36957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36960
36961       cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h.  */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h.  */
36967 #include <math.h>
36968 int
36969 main ()
36970 {
36971  __builtin_cosl(0);
36972   ;
36973   return 0;
36974 }
36975 _ACEOF
36976 rm -f conftest.$ac_objext
36977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36978   (eval $ac_compile) 2>conftest.er1
36979   ac_status=$?
36980   grep -v '^ *+' conftest.er1 >conftest.err
36981   rm -f conftest.er1
36982   cat conftest.err >&5
36983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984   (exit $ac_status); } &&
36985          { ac_try='test -z "$ac_cxx_werror_flag"
36986                          || test ! -s conftest.err'
36987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988   (eval $ac_try) 2>&5
36989   ac_status=$?
36990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991   (exit $ac_status); }; } &&
36992          { ac_try='test -s conftest.$ac_objext'
36993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994   (eval $ac_try) 2>&5
36995   ac_status=$?
36996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997   (exit $ac_status); }; }; then
36998   glibcxx_cv_func___builtin_cosl_use=yes
36999 else
37000   echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.$ac_ext >&5
37002
37003 glibcxx_cv_func___builtin_cosl_use=no
37004 fi
37005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37006       ac_ext=c
37007 ac_cpp='$CPP $CPPFLAGS'
37008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37011
37012
37013 fi
37014
37015   fi
37016   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37017 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37018   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37019     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37020 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37021     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37022       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37023   echo $ECHO_N "(cached) $ECHO_C" >&6
37024 else
37025
37026         if test x$gcc_no_link = xyes; then
37027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37029    { (exit 1); exit 1; }; }
37030 fi
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h.  */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h.  */
37037 #include <math.h>
37038 int
37039 main ()
37040 {
37041  __builtin_cosl(0);
37042   ;
37043   return 0;
37044 }
37045 _ACEOF
37046 rm -f conftest.$ac_objext conftest$ac_exeext
37047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37048   (eval $ac_link) 2>conftest.er1
37049   ac_status=$?
37050   grep -v '^ *+' conftest.er1 >conftest.err
37051   rm -f conftest.er1
37052   cat conftest.err >&5
37053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054   (exit $ac_status); } &&
37055          { ac_try='test -z "$ac_c_werror_flag"
37056                          || test ! -s conftest.err'
37057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058   (eval $ac_try) 2>&5
37059   ac_status=$?
37060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061   (exit $ac_status); }; } &&
37062          { ac_try='test -s conftest$ac_exeext'
37063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064   (eval $ac_try) 2>&5
37065   ac_status=$?
37066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067   (exit $ac_status); }; }; then
37068   glibcxx_cv_func___builtin_cosl_link=yes
37069 else
37070   echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37072
37073 glibcxx_cv_func___builtin_cosl_link=no
37074 fi
37075 rm -f conftest.err conftest.$ac_objext \
37076       conftest$ac_exeext conftest.$ac_ext
37077
37078 fi
37079
37080     fi
37081     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37082 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37083
37084     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37085
37086 cat >>confdefs.h <<\_ACEOF
37087 #define HAVE___BUILTIN_COSL 1
37088 _ACEOF
37089
37090     fi
37091
37092   fi
37093
37094
37095
37096
37097 echo "$as_me:$LINENO: checking for main in -lm" >&5
37098 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37099 if test "${ac_cv_lib_m_main+set}" = set; then
37100   echo $ECHO_N "(cached) $ECHO_C" >&6
37101 else
37102   ac_check_lib_save_LIBS=$LIBS
37103 LIBS="-lm  $LIBS"
37104 if test x$gcc_no_link = xyes; then
37105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37107    { (exit 1); exit 1; }; }
37108 fi
37109 cat >conftest.$ac_ext <<_ACEOF
37110 /* confdefs.h.  */
37111 _ACEOF
37112 cat confdefs.h >>conftest.$ac_ext
37113 cat >>conftest.$ac_ext <<_ACEOF
37114 /* end confdefs.h.  */
37115
37116
37117 int
37118 main ()
37119 {
37120 main ();
37121   ;
37122   return 0;
37123 }
37124 _ACEOF
37125 rm -f conftest.$ac_objext conftest$ac_exeext
37126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37127   (eval $ac_link) 2>conftest.er1
37128   ac_status=$?
37129   grep -v '^ *+' conftest.er1 >conftest.err
37130   rm -f conftest.er1
37131   cat conftest.err >&5
37132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133   (exit $ac_status); } &&
37134          { ac_try='test -z "$ac_c_werror_flag"
37135                          || test ! -s conftest.err'
37136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137   (eval $ac_try) 2>&5
37138   ac_status=$?
37139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140   (exit $ac_status); }; } &&
37141          { ac_try='test -s conftest$ac_exeext'
37142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143   (eval $ac_try) 2>&5
37144   ac_status=$?
37145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146   (exit $ac_status); }; }; then
37147   ac_cv_lib_m_main=yes
37148 else
37149   echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.$ac_ext >&5
37151
37152 ac_cv_lib_m_main=no
37153 fi
37154 rm -f conftest.err conftest.$ac_objext \
37155       conftest$ac_exeext conftest.$ac_ext
37156 LIBS=$ac_check_lib_save_LIBS
37157 fi
37158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37159 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37160 if test $ac_cv_lib_m_main = yes; then
37161   cat >>confdefs.h <<_ACEOF
37162 #define HAVE_LIBM 1
37163 _ACEOF
37164
37165   LIBS="-lm $LIBS"
37166
37167 fi
37168
37169
37170 for ac_func in copysignf
37171 do
37172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37173 echo "$as_me:$LINENO: checking for $ac_func" >&5
37174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37175 if eval "test \"\${$as_ac_var+set}\" = set"; then
37176   echo $ECHO_N "(cached) $ECHO_C" >&6
37177 else
37178   if test x$gcc_no_link = xyes; then
37179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37181    { (exit 1); exit 1; }; }
37182 fi
37183 cat >conftest.$ac_ext <<_ACEOF
37184 /* confdefs.h.  */
37185 _ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h.  */
37189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37191 #define $ac_func innocuous_$ac_func
37192
37193 /* System header to define __stub macros and hopefully few prototypes,
37194     which can conflict with char $ac_func (); below.
37195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37196     <limits.h> exists even on freestanding compilers.  */
37197
37198 #ifdef __STDC__
37199 # include <limits.h>
37200 #else
37201 # include <assert.h>
37202 #endif
37203
37204 #undef $ac_func
37205
37206 /* Override any gcc2 internal prototype to avoid an error.  */
37207 #ifdef __cplusplus
37208 extern "C"
37209 {
37210 #endif
37211 /* We use char because int might match the return type of a gcc2
37212    builtin and then its argument prototype would still apply.  */
37213 char $ac_func ();
37214 /* The GNU C library defines this for functions which it implements
37215     to always fail with ENOSYS.  Some functions are actually named
37216     something starting with __ and the normal name is an alias.  */
37217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37218 choke me
37219 #else
37220 char (*f) () = $ac_func;
37221 #endif
37222 #ifdef __cplusplus
37223 }
37224 #endif
37225
37226 int
37227 main ()
37228 {
37229 return f != $ac_func;
37230   ;
37231   return 0;
37232 }
37233 _ACEOF
37234 rm -f conftest.$ac_objext conftest$ac_exeext
37235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37236   (eval $ac_link) 2>conftest.er1
37237   ac_status=$?
37238   grep -v '^ *+' conftest.er1 >conftest.err
37239   rm -f conftest.er1
37240   cat conftest.err >&5
37241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242   (exit $ac_status); } &&
37243          { ac_try='test -z "$ac_c_werror_flag"
37244                          || test ! -s conftest.err'
37245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246   (eval $ac_try) 2>&5
37247   ac_status=$?
37248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249   (exit $ac_status); }; } &&
37250          { ac_try='test -s conftest$ac_exeext'
37251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252   (eval $ac_try) 2>&5
37253   ac_status=$?
37254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255   (exit $ac_status); }; }; then
37256   eval "$as_ac_var=yes"
37257 else
37258   echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.$ac_ext >&5
37260
37261 eval "$as_ac_var=no"
37262 fi
37263 rm -f conftest.err conftest.$ac_objext \
37264       conftest$ac_exeext conftest.$ac_ext
37265 fi
37266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37268 if test `eval echo '${'$as_ac_var'}'` = yes; then
37269   cat >>confdefs.h <<_ACEOF
37270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37271 _ACEOF
37272
37273 else
37274   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37275 fi
37276 done
37277
37278
37279
37280 for ac_func in __signbit
37281 do
37282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37283 echo "$as_me:$LINENO: checking for $ac_func" >&5
37284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37285 if eval "test \"\${$as_ac_var+set}\" = set"; then
37286   echo $ECHO_N "(cached) $ECHO_C" >&6
37287 else
37288   if test x$gcc_no_link = xyes; then
37289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37291    { (exit 1); exit 1; }; }
37292 fi
37293 cat >conftest.$ac_ext <<_ACEOF
37294 /* confdefs.h.  */
37295 _ACEOF
37296 cat confdefs.h >>conftest.$ac_ext
37297 cat >>conftest.$ac_ext <<_ACEOF
37298 /* end confdefs.h.  */
37299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37301 #define $ac_func innocuous_$ac_func
37302
37303 /* System header to define __stub macros and hopefully few prototypes,
37304     which can conflict with char $ac_func (); below.
37305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37306     <limits.h> exists even on freestanding compilers.  */
37307
37308 #ifdef __STDC__
37309 # include <limits.h>
37310 #else
37311 # include <assert.h>
37312 #endif
37313
37314 #undef $ac_func
37315
37316 /* Override any gcc2 internal prototype to avoid an error.  */
37317 #ifdef __cplusplus
37318 extern "C"
37319 {
37320 #endif
37321 /* We use char because int might match the return type of a gcc2
37322    builtin and then its argument prototype would still apply.  */
37323 char $ac_func ();
37324 /* The GNU C library defines this for functions which it implements
37325     to always fail with ENOSYS.  Some functions are actually named
37326     something starting with __ and the normal name is an alias.  */
37327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37328 choke me
37329 #else
37330 char (*f) () = $ac_func;
37331 #endif
37332 #ifdef __cplusplus
37333 }
37334 #endif
37335
37336 int
37337 main ()
37338 {
37339 return f != $ac_func;
37340   ;
37341   return 0;
37342 }
37343 _ACEOF
37344 rm -f conftest.$ac_objext conftest$ac_exeext
37345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37346   (eval $ac_link) 2>conftest.er1
37347   ac_status=$?
37348   grep -v '^ *+' conftest.er1 >conftest.err
37349   rm -f conftest.er1
37350   cat conftest.err >&5
37351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352   (exit $ac_status); } &&
37353          { ac_try='test -z "$ac_c_werror_flag"
37354                          || test ! -s conftest.err'
37355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356   (eval $ac_try) 2>&5
37357   ac_status=$?
37358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359   (exit $ac_status); }; } &&
37360          { ac_try='test -s conftest$ac_exeext'
37361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37362   (eval $ac_try) 2>&5
37363   ac_status=$?
37364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365   (exit $ac_status); }; }; then
37366   eval "$as_ac_var=yes"
37367 else
37368   echo "$as_me: failed program was:" >&5
37369 sed 's/^/| /' conftest.$ac_ext >&5
37370
37371 eval "$as_ac_var=no"
37372 fi
37373 rm -f conftest.err conftest.$ac_objext \
37374       conftest$ac_exeext conftest.$ac_ext
37375 fi
37376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37378 if test `eval echo '${'$as_ac_var'}'` = yes; then
37379   cat >>confdefs.h <<_ACEOF
37380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37381 _ACEOF
37382
37383 else
37384   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
37385 fi
37386 done
37387
37388
37389
37390 for ac_func in __signbitf
37391 do
37392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37393 echo "$as_me:$LINENO: checking for $ac_func" >&5
37394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37395 if eval "test \"\${$as_ac_var+set}\" = set"; then
37396   echo $ECHO_N "(cached) $ECHO_C" >&6
37397 else
37398   if test x$gcc_no_link = xyes; then
37399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37401    { (exit 1); exit 1; }; }
37402 fi
37403 cat >conftest.$ac_ext <<_ACEOF
37404 /* confdefs.h.  */
37405 _ACEOF
37406 cat confdefs.h >>conftest.$ac_ext
37407 cat >>conftest.$ac_ext <<_ACEOF
37408 /* end confdefs.h.  */
37409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37411 #define $ac_func innocuous_$ac_func
37412
37413 /* System header to define __stub macros and hopefully few prototypes,
37414     which can conflict with char $ac_func (); below.
37415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37416     <limits.h> exists even on freestanding compilers.  */
37417
37418 #ifdef __STDC__
37419 # include <limits.h>
37420 #else
37421 # include <assert.h>
37422 #endif
37423
37424 #undef $ac_func
37425
37426 /* Override any gcc2 internal prototype to avoid an error.  */
37427 #ifdef __cplusplus
37428 extern "C"
37429 {
37430 #endif
37431 /* We use char because int might match the return type of a gcc2
37432    builtin and then its argument prototype would still apply.  */
37433 char $ac_func ();
37434 /* The GNU C library defines this for functions which it implements
37435     to always fail with ENOSYS.  Some functions are actually named
37436     something starting with __ and the normal name is an alias.  */
37437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37438 choke me
37439 #else
37440 char (*f) () = $ac_func;
37441 #endif
37442 #ifdef __cplusplus
37443 }
37444 #endif
37445
37446 int
37447 main ()
37448 {
37449 return f != $ac_func;
37450   ;
37451   return 0;
37452 }
37453 _ACEOF
37454 rm -f conftest.$ac_objext conftest$ac_exeext
37455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37456   (eval $ac_link) 2>conftest.er1
37457   ac_status=$?
37458   grep -v '^ *+' conftest.er1 >conftest.err
37459   rm -f conftest.er1
37460   cat conftest.err >&5
37461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37462   (exit $ac_status); } &&
37463          { ac_try='test -z "$ac_c_werror_flag"
37464                          || test ! -s conftest.err'
37465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37466   (eval $ac_try) 2>&5
37467   ac_status=$?
37468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469   (exit $ac_status); }; } &&
37470          { ac_try='test -s conftest$ac_exeext'
37471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37472   (eval $ac_try) 2>&5
37473   ac_status=$?
37474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475   (exit $ac_status); }; }; then
37476   eval "$as_ac_var=yes"
37477 else
37478   echo "$as_me: failed program was:" >&5
37479 sed 's/^/| /' conftest.$ac_ext >&5
37480
37481 eval "$as_ac_var=no"
37482 fi
37483 rm -f conftest.err conftest.$ac_objext \
37484       conftest$ac_exeext conftest.$ac_ext
37485 fi
37486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37488 if test `eval echo '${'$as_ac_var'}'` = yes; then
37489   cat >>confdefs.h <<_ACEOF
37490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37491 _ACEOF
37492
37493 else
37494   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37495 fi
37496 done
37497
37498
37499           if test x$ac_cv_func_copysignl = x"yes"; then
37500
37501 for ac_func in __signbitl
37502 do
37503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37504 echo "$as_me:$LINENO: checking for $ac_func" >&5
37505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37506 if eval "test \"\${$as_ac_var+set}\" = set"; then
37507   echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37522 #define $ac_func innocuous_$ac_func
37523
37524 /* System header to define __stub macros and hopefully few prototypes,
37525     which can conflict with char $ac_func (); below.
37526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37527     <limits.h> exists even on freestanding compilers.  */
37528
37529 #ifdef __STDC__
37530 # include <limits.h>
37531 #else
37532 # include <assert.h>
37533 #endif
37534
37535 #undef $ac_func
37536
37537 /* Override any gcc2 internal prototype to avoid an error.  */
37538 #ifdef __cplusplus
37539 extern "C"
37540 {
37541 #endif
37542 /* We use char because int might match the return type of a gcc2
37543    builtin and then its argument prototype would still apply.  */
37544 char $ac_func ();
37545 /* The GNU C library defines this for functions which it implements
37546     to always fail with ENOSYS.  Some functions are actually named
37547     something starting with __ and the normal name is an alias.  */
37548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37549 choke me
37550 #else
37551 char (*f) () = $ac_func;
37552 #endif
37553 #ifdef __cplusplus
37554 }
37555 #endif
37556
37557 int
37558 main ()
37559 {
37560 return f != $ac_func;
37561   ;
37562   return 0;
37563 }
37564 _ACEOF
37565 rm -f conftest.$ac_objext conftest$ac_exeext
37566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37567   (eval $ac_link) 2>conftest.er1
37568   ac_status=$?
37569   grep -v '^ *+' conftest.er1 >conftest.err
37570   rm -f conftest.er1
37571   cat conftest.err >&5
37572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573   (exit $ac_status); } &&
37574          { ac_try='test -z "$ac_c_werror_flag"
37575                          || test ! -s conftest.err'
37576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577   (eval $ac_try) 2>&5
37578   ac_status=$?
37579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580   (exit $ac_status); }; } &&
37581          { ac_try='test -s conftest$ac_exeext'
37582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37583   (eval $ac_try) 2>&5
37584   ac_status=$?
37585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586   (exit $ac_status); }; }; then
37587   eval "$as_ac_var=yes"
37588 else
37589   echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.$ac_ext >&5
37591
37592 eval "$as_ac_var=no"
37593 fi
37594 rm -f conftest.err conftest.$ac_objext \
37595       conftest$ac_exeext conftest.$ac_ext
37596 fi
37597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37599 if test `eval echo '${'$as_ac_var'}'` = yes; then
37600   cat >>confdefs.h <<_ACEOF
37601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37602 _ACEOF
37603
37604 else
37605   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37606 fi
37607 done
37608
37609   fi
37610
37611   # Used in libmath/Makefile.am.
37612   if test -n "$LIBMATHOBJS"; then
37613     need_libmath=yes
37614   fi
37615
37616
37617
37618   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37619   ac_save_CXXFLAGS="$CXXFLAGS"
37620   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37621
37622
37623   echo "$as_me:$LINENO: checking for strtold declaration" >&5
37624 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37625   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37626     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37627   echo $ECHO_N "(cached) $ECHO_C" >&6
37628 else
37629
37630
37631
37632       ac_ext=cc
37633 ac_cpp='$CXXCPP $CPPFLAGS'
37634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37637
37638       cat >conftest.$ac_ext <<_ACEOF
37639 /* confdefs.h.  */
37640 _ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h.  */
37644 #include <stdlib.h>
37645 int
37646 main ()
37647 {
37648  strtold(0, 0);
37649   ;
37650   return 0;
37651 }
37652 _ACEOF
37653 rm -f conftest.$ac_objext
37654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37655   (eval $ac_compile) 2>conftest.er1
37656   ac_status=$?
37657   grep -v '^ *+' conftest.er1 >conftest.err
37658   rm -f conftest.er1
37659   cat conftest.err >&5
37660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661   (exit $ac_status); } &&
37662          { ac_try='test -z "$ac_cxx_werror_flag"
37663                          || test ! -s conftest.err'
37664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37665   (eval $ac_try) 2>&5
37666   ac_status=$?
37667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668   (exit $ac_status); }; } &&
37669          { ac_try='test -s conftest.$ac_objext'
37670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671   (eval $ac_try) 2>&5
37672   ac_status=$?
37673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674   (exit $ac_status); }; }; then
37675   glibcxx_cv_func_strtold_use=yes
37676 else
37677   echo "$as_me: failed program was:" >&5
37678 sed 's/^/| /' conftest.$ac_ext >&5
37679
37680 glibcxx_cv_func_strtold_use=no
37681 fi
37682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37683       ac_ext=c
37684 ac_cpp='$CPP $CPPFLAGS'
37685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37688
37689
37690 fi
37691
37692   fi
37693   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37694 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37695   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37696
37697 for ac_func in strtold
37698 do
37699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37700 echo "$as_me:$LINENO: checking for $ac_func" >&5
37701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37702 if eval "test \"\${$as_ac_var+set}\" = set"; then
37703   echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705   if test x$gcc_no_link = xyes; then
37706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37708    { (exit 1); exit 1; }; }
37709 fi
37710 cat >conftest.$ac_ext <<_ACEOF
37711 /* confdefs.h.  */
37712 _ACEOF
37713 cat confdefs.h >>conftest.$ac_ext
37714 cat >>conftest.$ac_ext <<_ACEOF
37715 /* end confdefs.h.  */
37716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37718 #define $ac_func innocuous_$ac_func
37719
37720 /* System header to define __stub macros and hopefully few prototypes,
37721     which can conflict with char $ac_func (); below.
37722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37723     <limits.h> exists even on freestanding compilers.  */
37724
37725 #ifdef __STDC__
37726 # include <limits.h>
37727 #else
37728 # include <assert.h>
37729 #endif
37730
37731 #undef $ac_func
37732
37733 /* Override any gcc2 internal prototype to avoid an error.  */
37734 #ifdef __cplusplus
37735 extern "C"
37736 {
37737 #endif
37738 /* We use char because int might match the return type of a gcc2
37739    builtin and then its argument prototype would still apply.  */
37740 char $ac_func ();
37741 /* The GNU C library defines this for functions which it implements
37742     to always fail with ENOSYS.  Some functions are actually named
37743     something starting with __ and the normal name is an alias.  */
37744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37745 choke me
37746 #else
37747 char (*f) () = $ac_func;
37748 #endif
37749 #ifdef __cplusplus
37750 }
37751 #endif
37752
37753 int
37754 main ()
37755 {
37756 return f != $ac_func;
37757   ;
37758   return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext conftest$ac_exeext
37762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37763   (eval $ac_link) 2>conftest.er1
37764   ac_status=$?
37765   grep -v '^ *+' conftest.er1 >conftest.err
37766   rm -f conftest.er1
37767   cat conftest.err >&5
37768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769   (exit $ac_status); } &&
37770          { ac_try='test -z "$ac_c_werror_flag"
37771                          || test ! -s conftest.err'
37772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37773   (eval $ac_try) 2>&5
37774   ac_status=$?
37775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776   (exit $ac_status); }; } &&
37777          { ac_try='test -s conftest$ac_exeext'
37778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779   (eval $ac_try) 2>&5
37780   ac_status=$?
37781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782   (exit $ac_status); }; }; then
37783   eval "$as_ac_var=yes"
37784 else
37785   echo "$as_me: failed program was:" >&5
37786 sed 's/^/| /' conftest.$ac_ext >&5
37787
37788 eval "$as_ac_var=no"
37789 fi
37790 rm -f conftest.err conftest.$ac_objext \
37791       conftest$ac_exeext conftest.$ac_ext
37792 fi
37793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37795 if test `eval echo '${'$as_ac_var'}'` = yes; then
37796   cat >>confdefs.h <<_ACEOF
37797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37798 _ACEOF
37799
37800 fi
37801 done
37802
37803   fi
37804
37805
37806
37807
37808
37809   echo "$as_me:$LINENO: checking for strtof declaration" >&5
37810 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
37811   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37812     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37813   echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815
37816
37817
37818       ac_ext=cc
37819 ac_cpp='$CXXCPP $CPPFLAGS'
37820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37823
37824       cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h.  */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h.  */
37830 #include <stdlib.h>
37831 int
37832 main ()
37833 {
37834  strtof(0, 0);
37835   ;
37836   return 0;
37837 }
37838 _ACEOF
37839 rm -f conftest.$ac_objext
37840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37841   (eval $ac_compile) 2>conftest.er1
37842   ac_status=$?
37843   grep -v '^ *+' conftest.er1 >conftest.err
37844   rm -f conftest.er1
37845   cat conftest.err >&5
37846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847   (exit $ac_status); } &&
37848          { ac_try='test -z "$ac_cxx_werror_flag"
37849                          || test ! -s conftest.err'
37850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851   (eval $ac_try) 2>&5
37852   ac_status=$?
37853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854   (exit $ac_status); }; } &&
37855          { ac_try='test -s conftest.$ac_objext'
37856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857   (eval $ac_try) 2>&5
37858   ac_status=$?
37859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860   (exit $ac_status); }; }; then
37861   glibcxx_cv_func_strtof_use=yes
37862 else
37863   echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.$ac_ext >&5
37865
37866 glibcxx_cv_func_strtof_use=no
37867 fi
37868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37869       ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37874
37875
37876 fi
37877
37878   fi
37879   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37880 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37881   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37882
37883 for ac_func in strtof
37884 do
37885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37886 echo "$as_me:$LINENO: checking for $ac_func" >&5
37887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37888 if eval "test \"\${$as_ac_var+set}\" = set"; then
37889   echo $ECHO_N "(cached) $ECHO_C" >&6
37890 else
37891   if test x$gcc_no_link = xyes; then
37892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37894    { (exit 1); exit 1; }; }
37895 fi
37896 cat >conftest.$ac_ext <<_ACEOF
37897 /* confdefs.h.  */
37898 _ACEOF
37899 cat confdefs.h >>conftest.$ac_ext
37900 cat >>conftest.$ac_ext <<_ACEOF
37901 /* end confdefs.h.  */
37902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37904 #define $ac_func innocuous_$ac_func
37905
37906 /* System header to define __stub macros and hopefully few prototypes,
37907     which can conflict with char $ac_func (); below.
37908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37909     <limits.h> exists even on freestanding compilers.  */
37910
37911 #ifdef __STDC__
37912 # include <limits.h>
37913 #else
37914 # include <assert.h>
37915 #endif
37916
37917 #undef $ac_func
37918
37919 /* Override any gcc2 internal prototype to avoid an error.  */
37920 #ifdef __cplusplus
37921 extern "C"
37922 {
37923 #endif
37924 /* We use char because int might match the return type of a gcc2
37925    builtin and then its argument prototype would still apply.  */
37926 char $ac_func ();
37927 /* The GNU C library defines this for functions which it implements
37928     to always fail with ENOSYS.  Some functions are actually named
37929     something starting with __ and the normal name is an alias.  */
37930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37931 choke me
37932 #else
37933 char (*f) () = $ac_func;
37934 #endif
37935 #ifdef __cplusplus
37936 }
37937 #endif
37938
37939 int
37940 main ()
37941 {
37942 return f != $ac_func;
37943   ;
37944   return 0;
37945 }
37946 _ACEOF
37947 rm -f conftest.$ac_objext conftest$ac_exeext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37949   (eval $ac_link) 2>conftest.er1
37950   ac_status=$?
37951   grep -v '^ *+' conftest.er1 >conftest.err
37952   rm -f conftest.er1
37953   cat conftest.err >&5
37954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955   (exit $ac_status); } &&
37956          { ac_try='test -z "$ac_c_werror_flag"
37957                          || test ! -s conftest.err'
37958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959   (eval $ac_try) 2>&5
37960   ac_status=$?
37961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962   (exit $ac_status); }; } &&
37963          { ac_try='test -s conftest$ac_exeext'
37964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965   (eval $ac_try) 2>&5
37966   ac_status=$?
37967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968   (exit $ac_status); }; }; then
37969   eval "$as_ac_var=yes"
37970 else
37971   echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 eval "$as_ac_var=no"
37975 fi
37976 rm -f conftest.err conftest.$ac_objext \
37977       conftest$ac_exeext conftest.$ac_ext
37978 fi
37979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37981 if test `eval echo '${'$as_ac_var'}'` = yes; then
37982   cat >>confdefs.h <<_ACEOF
37983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37984 _ACEOF
37985
37986 fi
37987 done
37988
37989   fi
37990
37991
37992
37993
37994
37995   CXXFLAGS="$ac_save_CXXFLAGS"
37996
37997
37998   # For showmanyc_helper().
37999
38000
38001 for ac_header in sys/ioctl.h sys/filio.h
38002 do
38003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38005   echo "$as_me:$LINENO: checking for $ac_header" >&5
38006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38008   echo $ECHO_N "(cached) $ECHO_C" >&6
38009 fi
38010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38012 else
38013   # Is the header compilable?
38014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38016 cat >conftest.$ac_ext <<_ACEOF
38017 /* confdefs.h.  */
38018 _ACEOF
38019 cat confdefs.h >>conftest.$ac_ext
38020 cat >>conftest.$ac_ext <<_ACEOF
38021 /* end confdefs.h.  */
38022 $ac_includes_default
38023 #include <$ac_header>
38024 _ACEOF
38025 rm -f conftest.$ac_objext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38027   (eval $ac_compile) 2>conftest.er1
38028   ac_status=$?
38029   grep -v '^ *+' conftest.er1 >conftest.err
38030   rm -f conftest.er1
38031   cat conftest.err >&5
38032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033   (exit $ac_status); } &&
38034          { ac_try='test -z "$ac_c_werror_flag"
38035                          || test ! -s conftest.err'
38036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037   (eval $ac_try) 2>&5
38038   ac_status=$?
38039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040   (exit $ac_status); }; } &&
38041          { ac_try='test -s conftest.$ac_objext'
38042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043   (eval $ac_try) 2>&5
38044   ac_status=$?
38045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046   (exit $ac_status); }; }; then
38047   ac_header_compiler=yes
38048 else
38049   echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38051
38052 ac_header_compiler=no
38053 fi
38054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38056 echo "${ECHO_T}$ac_header_compiler" >&6
38057
38058 # Is the header present?
38059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38061 cat >conftest.$ac_ext <<_ACEOF
38062 /* confdefs.h.  */
38063 _ACEOF
38064 cat confdefs.h >>conftest.$ac_ext
38065 cat >>conftest.$ac_ext <<_ACEOF
38066 /* end confdefs.h.  */
38067 #include <$ac_header>
38068 _ACEOF
38069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38070   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38071   ac_status=$?
38072   grep -v '^ *+' conftest.er1 >conftest.err
38073   rm -f conftest.er1
38074   cat conftest.err >&5
38075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076   (exit $ac_status); } >/dev/null; then
38077   if test -s conftest.err; then
38078     ac_cpp_err=$ac_c_preproc_warn_flag
38079     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38080   else
38081     ac_cpp_err=
38082   fi
38083 else
38084   ac_cpp_err=yes
38085 fi
38086 if test -z "$ac_cpp_err"; then
38087   ac_header_preproc=yes
38088 else
38089   echo "$as_me: failed program was:" >&5
38090 sed 's/^/| /' conftest.$ac_ext >&5
38091
38092   ac_header_preproc=no
38093 fi
38094 rm -f conftest.err conftest.$ac_ext
38095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38096 echo "${ECHO_T}$ac_header_preproc" >&6
38097
38098 # So?  What about this header?
38099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38100   yes:no: )
38101     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38103     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38105     ac_header_preproc=yes
38106     ;;
38107   no:yes:* )
38108     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38110     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38111 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38112     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38114     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38115 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38116     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38118     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38120     (
38121       cat <<\_ASBOX
38122 ## ----------------------------------------- ##
38123 ## Report this to the package-unused lists.  ##
38124 ## ----------------------------------------- ##
38125 _ASBOX
38126     ) |
38127       sed "s/^/$as_me: WARNING:     /" >&2
38128     ;;
38129 esac
38130 echo "$as_me:$LINENO: checking for $ac_header" >&5
38131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38133   echo $ECHO_N "(cached) $ECHO_C" >&6
38134 else
38135   eval "$as_ac_Header=\$ac_header_preproc"
38136 fi
38137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38139
38140 fi
38141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38142   cat >>confdefs.h <<_ACEOF
38143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38144 _ACEOF
38145
38146 fi
38147
38148 done
38149
38150
38151   echo "$as_me:$LINENO: checking for poll" >&5
38152 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38153   if test "${glibcxx_cv_POLL+set}" = set; then
38154   echo $ECHO_N "(cached) $ECHO_C" >&6
38155 else
38156
38157     if test x$gcc_no_link = xyes; then
38158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38160    { (exit 1); exit 1; }; }
38161 fi
38162 cat >conftest.$ac_ext <<_ACEOF
38163 /* confdefs.h.  */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h.  */
38168 #include <poll.h>
38169 int
38170 main ()
38171 {
38172 struct pollfd pfd[1];
38173        pfd[0].events = POLLIN;
38174        poll(pfd, 1, 0);
38175   ;
38176   return 0;
38177 }
38178 _ACEOF
38179 rm -f conftest.$ac_objext conftest$ac_exeext
38180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38181   (eval $ac_link) 2>conftest.er1
38182   ac_status=$?
38183   grep -v '^ *+' conftest.er1 >conftest.err
38184   rm -f conftest.er1
38185   cat conftest.err >&5
38186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187   (exit $ac_status); } &&
38188          { ac_try='test -z "$ac_c_werror_flag"
38189                          || test ! -s conftest.err'
38190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38191   (eval $ac_try) 2>&5
38192   ac_status=$?
38193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194   (exit $ac_status); }; } &&
38195          { ac_try='test -s conftest$ac_exeext'
38196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38197   (eval $ac_try) 2>&5
38198   ac_status=$?
38199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200   (exit $ac_status); }; }; then
38201   glibcxx_cv_POLL=yes
38202 else
38203   echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.$ac_ext >&5
38205
38206 glibcxx_cv_POLL=no
38207 fi
38208 rm -f conftest.err conftest.$ac_objext \
38209       conftest$ac_exeext conftest.$ac_ext
38210
38211 fi
38212
38213   if test $glibcxx_cv_POLL = yes; then
38214
38215 cat >>confdefs.h <<\_ACEOF
38216 #define HAVE_POLL 1
38217 _ACEOF
38218
38219   fi
38220   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38221 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38222
38223
38224   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38225 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38226   if test "${glibcxx_cv_S_ISREG+set}" = set; then
38227   echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229
38230     if test x$gcc_no_link = xyes; then
38231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38233    { (exit 1); exit 1; }; }
38234 fi
38235 cat >conftest.$ac_ext <<_ACEOF
38236 /* confdefs.h.  */
38237 _ACEOF
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h.  */
38241 #include <sys/stat.h>
38242 int
38243 main ()
38244 {
38245 struct stat buffer;
38246        fstat(0, &buffer);
38247        S_ISREG(buffer.st_mode);
38248   ;
38249   return 0;
38250 }
38251 _ACEOF
38252 rm -f conftest.$ac_objext conftest$ac_exeext
38253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38254   (eval $ac_link) 2>conftest.er1
38255   ac_status=$?
38256   grep -v '^ *+' conftest.er1 >conftest.err
38257   rm -f conftest.er1
38258   cat conftest.err >&5
38259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260   (exit $ac_status); } &&
38261          { ac_try='test -z "$ac_c_werror_flag"
38262                          || test ! -s conftest.err'
38263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264   (eval $ac_try) 2>&5
38265   ac_status=$?
38266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267   (exit $ac_status); }; } &&
38268          { ac_try='test -s conftest$ac_exeext'
38269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38270   (eval $ac_try) 2>&5
38271   ac_status=$?
38272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38273   (exit $ac_status); }; }; then
38274   glibcxx_cv_S_ISREG=yes
38275 else
38276   echo "$as_me: failed program was:" >&5
38277 sed 's/^/| /' conftest.$ac_ext >&5
38278
38279 glibcxx_cv_S_ISREG=no
38280 fi
38281 rm -f conftest.err conftest.$ac_objext \
38282       conftest$ac_exeext conftest.$ac_ext
38283
38284 fi
38285
38286   if test "${glibcxx_cv_S_IFREG+set}" = set; then
38287   echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289
38290     if test x$gcc_no_link = xyes; then
38291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38293    { (exit 1); exit 1; }; }
38294 fi
38295 cat >conftest.$ac_ext <<_ACEOF
38296 /* confdefs.h.  */
38297 _ACEOF
38298 cat confdefs.h >>conftest.$ac_ext
38299 cat >>conftest.$ac_ext <<_ACEOF
38300 /* end confdefs.h.  */
38301 #include <sys/stat.h>
38302 int
38303 main ()
38304 {
38305 struct stat buffer;
38306        fstat(0, &buffer);
38307        S_IFREG & buffer.st_mode;
38308   ;
38309   return 0;
38310 }
38311 _ACEOF
38312 rm -f conftest.$ac_objext conftest$ac_exeext
38313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38314   (eval $ac_link) 2>conftest.er1
38315   ac_status=$?
38316   grep -v '^ *+' conftest.er1 >conftest.err
38317   rm -f conftest.er1
38318   cat conftest.err >&5
38319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320   (exit $ac_status); } &&
38321          { ac_try='test -z "$ac_c_werror_flag"
38322                          || test ! -s conftest.err'
38323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38324   (eval $ac_try) 2>&5
38325   ac_status=$?
38326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327   (exit $ac_status); }; } &&
38328          { ac_try='test -s conftest$ac_exeext'
38329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38330   (eval $ac_try) 2>&5
38331   ac_status=$?
38332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333   (exit $ac_status); }; }; then
38334   glibcxx_cv_S_IFREG=yes
38335 else
38336   echo "$as_me: failed program was:" >&5
38337 sed 's/^/| /' conftest.$ac_ext >&5
38338
38339 glibcxx_cv_S_IFREG=no
38340 fi
38341 rm -f conftest.err conftest.$ac_objext \
38342       conftest$ac_exeext conftest.$ac_ext
38343
38344 fi
38345
38346   res=no
38347   if test $glibcxx_cv_S_ISREG = yes; then
38348
38349 cat >>confdefs.h <<\_ACEOF
38350 #define HAVE_S_ISREG 1
38351 _ACEOF
38352
38353     res=S_ISREG
38354   elif test $glibcxx_cv_S_IFREG = yes; then
38355
38356 cat >>confdefs.h <<\_ACEOF
38357 #define HAVE_S_IFREG 1
38358 _ACEOF
38359
38360     res=S_IFREG
38361   fi
38362   echo "$as_me:$LINENO: result: $res" >&5
38363 echo "${ECHO_T}$res" >&6
38364
38365
38366   # For xsputn_2().
38367
38368 for ac_header in sys/uio.h
38369 do
38370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38372   echo "$as_me:$LINENO: checking for $ac_header" >&5
38373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38375   echo $ECHO_N "(cached) $ECHO_C" >&6
38376 fi
38377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38379 else
38380   # Is the header compilable?
38381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h.  */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h.  */
38389 $ac_includes_default
38390 #include <$ac_header>
38391 _ACEOF
38392 rm -f conftest.$ac_objext
38393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38394   (eval $ac_compile) 2>conftest.er1
38395   ac_status=$?
38396   grep -v '^ *+' conftest.er1 >conftest.err
38397   rm -f conftest.er1
38398   cat conftest.err >&5
38399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38400   (exit $ac_status); } &&
38401          { ac_try='test -z "$ac_c_werror_flag"
38402                          || test ! -s conftest.err'
38403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38404   (eval $ac_try) 2>&5
38405   ac_status=$?
38406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407   (exit $ac_status); }; } &&
38408          { ac_try='test -s conftest.$ac_objext'
38409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410   (eval $ac_try) 2>&5
38411   ac_status=$?
38412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413   (exit $ac_status); }; }; then
38414   ac_header_compiler=yes
38415 else
38416   echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38418
38419 ac_header_compiler=no
38420 fi
38421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38423 echo "${ECHO_T}$ac_header_compiler" >&6
38424
38425 # Is the header present?
38426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38428 cat >conftest.$ac_ext <<_ACEOF
38429 /* confdefs.h.  */
38430 _ACEOF
38431 cat confdefs.h >>conftest.$ac_ext
38432 cat >>conftest.$ac_ext <<_ACEOF
38433 /* end confdefs.h.  */
38434 #include <$ac_header>
38435 _ACEOF
38436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38437   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38438   ac_status=$?
38439   grep -v '^ *+' conftest.er1 >conftest.err
38440   rm -f conftest.er1
38441   cat conftest.err >&5
38442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443   (exit $ac_status); } >/dev/null; then
38444   if test -s conftest.err; then
38445     ac_cpp_err=$ac_c_preproc_warn_flag
38446     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38447   else
38448     ac_cpp_err=
38449   fi
38450 else
38451   ac_cpp_err=yes
38452 fi
38453 if test -z "$ac_cpp_err"; then
38454   ac_header_preproc=yes
38455 else
38456   echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459   ac_header_preproc=no
38460 fi
38461 rm -f conftest.err conftest.$ac_ext
38462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38463 echo "${ECHO_T}$ac_header_preproc" >&6
38464
38465 # So?  What about this header?
38466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38467   yes:no: )
38468     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38470     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38472     ac_header_preproc=yes
38473     ;;
38474   no:yes:* )
38475     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38477     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38478 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38479     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38481     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38482 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38483     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38485     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38487     (
38488       cat <<\_ASBOX
38489 ## ----------------------------------------- ##
38490 ## Report this to the package-unused lists.  ##
38491 ## ----------------------------------------- ##
38492 _ASBOX
38493     ) |
38494       sed "s/^/$as_me: WARNING:     /" >&2
38495     ;;
38496 esac
38497 echo "$as_me:$LINENO: checking for $ac_header" >&5
38498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38500   echo $ECHO_N "(cached) $ECHO_C" >&6
38501 else
38502   eval "$as_ac_Header=\$ac_header_preproc"
38503 fi
38504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38506
38507 fi
38508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38509   cat >>confdefs.h <<_ACEOF
38510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38511 _ACEOF
38512
38513 fi
38514
38515 done
38516
38517
38518   echo "$as_me:$LINENO: checking for writev" >&5
38519 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38520   if test "${glibcxx_cv_WRITEV+set}" = set; then
38521   echo $ECHO_N "(cached) $ECHO_C" >&6
38522 else
38523
38524     if test x$gcc_no_link = xyes; then
38525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38527    { (exit 1); exit 1; }; }
38528 fi
38529 cat >conftest.$ac_ext <<_ACEOF
38530 /* confdefs.h.  */
38531 _ACEOF
38532 cat confdefs.h >>conftest.$ac_ext
38533 cat >>conftest.$ac_ext <<_ACEOF
38534 /* end confdefs.h.  */
38535 #include <sys/uio.h>
38536 int
38537 main ()
38538 {
38539 struct iovec iov[2];
38540        writev(0, iov, 0);
38541   ;
38542   return 0;
38543 }
38544 _ACEOF
38545 rm -f conftest.$ac_objext conftest$ac_exeext
38546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38547   (eval $ac_link) 2>conftest.er1
38548   ac_status=$?
38549   grep -v '^ *+' conftest.er1 >conftest.err
38550   rm -f conftest.er1
38551   cat conftest.err >&5
38552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553   (exit $ac_status); } &&
38554          { ac_try='test -z "$ac_c_werror_flag"
38555                          || test ! -s conftest.err'
38556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557   (eval $ac_try) 2>&5
38558   ac_status=$?
38559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560   (exit $ac_status); }; } &&
38561          { ac_try='test -s conftest$ac_exeext'
38562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563   (eval $ac_try) 2>&5
38564   ac_status=$?
38565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566   (exit $ac_status); }; }; then
38567   glibcxx_cv_WRITEV=yes
38568 else
38569   echo "$as_me: failed program was:" >&5
38570 sed 's/^/| /' conftest.$ac_ext >&5
38571
38572 glibcxx_cv_WRITEV=no
38573 fi
38574 rm -f conftest.err conftest.$ac_objext \
38575       conftest$ac_exeext conftest.$ac_ext
38576
38577 fi
38578
38579   if test $glibcxx_cv_WRITEV = yes; then
38580
38581 cat >>confdefs.h <<\_ACEOF
38582 #define HAVE_WRITEV 1
38583 _ACEOF
38584
38585   fi
38586   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38587 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38588
38589
38590   # For the __streamoff_base_type typedef.
38591
38592   echo "$as_me:$LINENO: checking for int64_t" >&5
38593 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38594   if test "${glibcxx_cv_INT64_T+set}" = set; then
38595   echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597
38598     cat >conftest.$ac_ext <<_ACEOF
38599 /* confdefs.h.  */
38600 _ACEOF
38601 cat confdefs.h >>conftest.$ac_ext
38602 cat >>conftest.$ac_ext <<_ACEOF
38603 /* end confdefs.h.  */
38604 #include <stdint.h>
38605 int
38606 main ()
38607 {
38608 int64_t var;
38609   ;
38610   return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38615   (eval $ac_compile) 2>conftest.er1
38616   ac_status=$?
38617   grep -v '^ *+' conftest.er1 >conftest.err
38618   rm -f conftest.er1
38619   cat conftest.err >&5
38620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621   (exit $ac_status); } &&
38622          { ac_try='test -z "$ac_c_werror_flag"
38623                          || test ! -s conftest.err'
38624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625   (eval $ac_try) 2>&5
38626   ac_status=$?
38627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628   (exit $ac_status); }; } &&
38629          { ac_try='test -s conftest.$ac_objext'
38630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631   (eval $ac_try) 2>&5
38632   ac_status=$?
38633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634   (exit $ac_status); }; }; then
38635   glibcxx_cv_INT64_T=yes
38636 else
38637   echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 glibcxx_cv_INT64_T=no
38641 fi
38642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38643
38644 fi
38645
38646   if test $glibcxx_cv_INT64_T = yes; then
38647
38648 cat >>confdefs.h <<\_ACEOF
38649 #define HAVE_INT64_T 1
38650 _ACEOF
38651
38652   fi
38653   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38654 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38655
38656
38657   # For LFS support.
38658
38659
38660
38661   ac_ext=cc
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666
38667   ac_save_CXXFLAGS="$CXXFLAGS"
38668   CXXFLAGS="$CXXFLAGS -fno-exceptions"
38669   echo "$as_me:$LINENO: checking for LFS support" >&5
38670 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38671   if test "${glibcxx_cv_LFS+set}" = set; then
38672   echo $ECHO_N "(cached) $ECHO_C" >&6
38673 else
38674
38675     if test x$gcc_no_link = xyes; then
38676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38678    { (exit 1); exit 1; }; }
38679 fi
38680 cat >conftest.$ac_ext <<_ACEOF
38681 /* confdefs.h.  */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h.  */
38686 #include <unistd.h>
38687        #include <stdio.h>
38688        #include <sys/stat.h>
38689
38690 int
38691 main ()
38692 {
38693 FILE* fp;
38694        fopen64("t", "w");
38695        fseeko64(fp, 0, SEEK_CUR);
38696        ftello64(fp);
38697        lseek64(1, 0, SEEK_CUR);
38698        struct stat64 buf;
38699        fstat64(1, &buf);
38700   ;
38701   return 0;
38702 }
38703 _ACEOF
38704 rm -f conftest.$ac_objext conftest$ac_exeext
38705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38706   (eval $ac_link) 2>conftest.er1
38707   ac_status=$?
38708   grep -v '^ *+' conftest.er1 >conftest.err
38709   rm -f conftest.er1
38710   cat conftest.err >&5
38711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712   (exit $ac_status); } &&
38713          { ac_try='test -z "$ac_cxx_werror_flag"
38714                          || test ! -s conftest.err'
38715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38716   (eval $ac_try) 2>&5
38717   ac_status=$?
38718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719   (exit $ac_status); }; } &&
38720          { ac_try='test -s conftest$ac_exeext'
38721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722   (eval $ac_try) 2>&5
38723   ac_status=$?
38724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725   (exit $ac_status); }; }; then
38726   glibcxx_cv_LFS=yes
38727 else
38728   echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.$ac_ext >&5
38730
38731 glibcxx_cv_LFS=no
38732 fi
38733 rm -f conftest.err conftest.$ac_objext \
38734       conftest$ac_exeext conftest.$ac_ext
38735
38736 fi
38737
38738   if test $glibcxx_cv_LFS = yes; then
38739
38740 cat >>confdefs.h <<\_ACEOF
38741 #define _GLIBCXX_USE_LFS 1
38742 _ACEOF
38743
38744   fi
38745   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38746 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38747   CXXFLAGS="$ac_save_CXXFLAGS"
38748   ac_ext=c
38749 ac_cpp='$CPP $CPPFLAGS'
38750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38753
38754
38755
38756   # For C99 support to TR1.
38757
38758
38759
38760
38761   ac_ext=cc
38762 ac_cpp='$CXXCPP $CPPFLAGS'
38763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38766
38767
38768   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
38769   # undefined and fake C99 facilities may be spuriously enabled.
38770   ac_save_CXXFLAGS="$CXXFLAGS"
38771   CXXFLAGS="$CXXFLAGS -std=c++98"
38772
38773   # Check for the existence of <complex.h> complex math functions used
38774   # by tr1/complex.
38775
38776 for ac_header in complex.h
38777 do
38778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38780   echo "$as_me:$LINENO: checking for $ac_header" >&5
38781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38783   echo $ECHO_N "(cached) $ECHO_C" >&6
38784 fi
38785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38787 else
38788   # Is the header compilable?
38789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38791 cat >conftest.$ac_ext <<_ACEOF
38792 /* confdefs.h.  */
38793 _ACEOF
38794 cat confdefs.h >>conftest.$ac_ext
38795 cat >>conftest.$ac_ext <<_ACEOF
38796 /* end confdefs.h.  */
38797 $ac_includes_default
38798 #include <$ac_header>
38799 _ACEOF
38800 rm -f conftest.$ac_objext
38801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38802   (eval $ac_compile) 2>conftest.er1
38803   ac_status=$?
38804   grep -v '^ *+' conftest.er1 >conftest.err
38805   rm -f conftest.er1
38806   cat conftest.err >&5
38807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808   (exit $ac_status); } &&
38809          { ac_try='test -z "$ac_cxx_werror_flag"
38810                          || test ! -s conftest.err'
38811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38812   (eval $ac_try) 2>&5
38813   ac_status=$?
38814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815   (exit $ac_status); }; } &&
38816          { ac_try='test -s conftest.$ac_objext'
38817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38818   (eval $ac_try) 2>&5
38819   ac_status=$?
38820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821   (exit $ac_status); }; }; then
38822   ac_header_compiler=yes
38823 else
38824   echo "$as_me: failed program was:" >&5
38825 sed 's/^/| /' conftest.$ac_ext >&5
38826
38827 ac_header_compiler=no
38828 fi
38829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38831 echo "${ECHO_T}$ac_header_compiler" >&6
38832
38833 # Is the header present?
38834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38836 cat >conftest.$ac_ext <<_ACEOF
38837 /* confdefs.h.  */
38838 _ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h.  */
38842 #include <$ac_header>
38843 _ACEOF
38844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38845   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38846   ac_status=$?
38847   grep -v '^ *+' conftest.er1 >conftest.err
38848   rm -f conftest.er1
38849   cat conftest.err >&5
38850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38851   (exit $ac_status); } >/dev/null; then
38852   if test -s conftest.err; then
38853     ac_cpp_err=$ac_cxx_preproc_warn_flag
38854     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38855   else
38856     ac_cpp_err=
38857   fi
38858 else
38859   ac_cpp_err=yes
38860 fi
38861 if test -z "$ac_cpp_err"; then
38862   ac_header_preproc=yes
38863 else
38864   echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.$ac_ext >&5
38866
38867   ac_header_preproc=no
38868 fi
38869 rm -f conftest.err conftest.$ac_ext
38870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38871 echo "${ECHO_T}$ac_header_preproc" >&6
38872
38873 # So?  What about this header?
38874 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38875   yes:no: )
38876     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38878     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38880     ac_header_preproc=yes
38881     ;;
38882   no:yes:* )
38883     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38885     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
38886 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
38887     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38889     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
38890 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
38891     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38893     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38895     (
38896       cat <<\_ASBOX
38897 ## ----------------------------------------- ##
38898 ## Report this to the package-unused lists.  ##
38899 ## ----------------------------------------- ##
38900 _ASBOX
38901     ) |
38902       sed "s/^/$as_me: WARNING:     /" >&2
38903     ;;
38904 esac
38905 echo "$as_me:$LINENO: checking for $ac_header" >&5
38906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38908   echo $ECHO_N "(cached) $ECHO_C" >&6
38909 else
38910   eval "$as_ac_Header=\$ac_header_preproc"
38911 fi
38912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38914
38915 fi
38916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38917   cat >>confdefs.h <<_ACEOF
38918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38919 _ACEOF
38920  ac_has_complex_h=yes
38921 else
38922   ac_has_complex_h=no
38923 fi
38924
38925 done
38926
38927   ac_c99_complex_tr1=no;
38928   if test x"$ac_has_complex_h" = x"yes"; then
38929     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38930 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
38931     cat >conftest.$ac_ext <<_ACEOF
38932 /* confdefs.h.  */
38933 _ACEOF
38934 cat confdefs.h >>conftest.$ac_ext
38935 cat >>conftest.$ac_ext <<_ACEOF
38936 /* end confdefs.h.  */
38937 #include <complex.h>
38938 int
38939 main ()
38940 {
38941 typedef __complex__ float float_type; float_type tmpf;
38942                     cacosf(tmpf);
38943                     casinf(tmpf);
38944                     catanf(tmpf);
38945                     cacoshf(tmpf);
38946                     casinhf(tmpf);
38947                     catanhf(tmpf);
38948                     typedef __complex__ double double_type; double_type tmpd;
38949                     cacos(tmpd);
38950                     casin(tmpd);
38951                     catan(tmpd);
38952                     cacosh(tmpd);
38953                     casinh(tmpd);
38954                     catanh(tmpd);
38955                     typedef __complex__ long double ld_type; ld_type tmpld;
38956                     cacosl(tmpld);
38957                     casinl(tmpld);
38958                     catanl(tmpld);
38959                     cacoshl(tmpld);
38960                     casinhl(tmpld);
38961                     catanhl(tmpld);
38962
38963   ;
38964   return 0;
38965 }
38966 _ACEOF
38967 rm -f conftest.$ac_objext
38968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38969   (eval $ac_compile) 2>conftest.er1
38970   ac_status=$?
38971   grep -v '^ *+' conftest.er1 >conftest.err
38972   rm -f conftest.er1
38973   cat conftest.err >&5
38974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975   (exit $ac_status); } &&
38976          { ac_try='test -z "$ac_cxx_werror_flag"
38977                          || test ! -s conftest.err'
38978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38979   (eval $ac_try) 2>&5
38980   ac_status=$?
38981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982   (exit $ac_status); }; } &&
38983          { ac_try='test -s conftest.$ac_objext'
38984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985   (eval $ac_try) 2>&5
38986   ac_status=$?
38987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988   (exit $ac_status); }; }; then
38989   ac_c99_complex_tr1=yes
38990 else
38991   echo "$as_me: failed program was:" >&5
38992 sed 's/^/| /' conftest.$ac_ext >&5
38993
38994 ac_c99_complex_tr1=no
38995 fi
38996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38997   fi
38998   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
38999 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39000   if test x"$ac_c99_complex_tr1" = x"yes"; then
39001
39002 cat >>confdefs.h <<\_ACEOF
39003 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39004 _ACEOF
39005
39006   fi
39007
39008   # Check for the existence of <ctype.h> functions.
39009   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39010 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39011   if test "${ac_c99_ctype_tr1+set}" = set; then
39012   echo $ECHO_N "(cached) $ECHO_C" >&6
39013 else
39014
39015   cat >conftest.$ac_ext <<_ACEOF
39016 /* confdefs.h.  */
39017 _ACEOF
39018 cat confdefs.h >>conftest.$ac_ext
39019 cat >>conftest.$ac_ext <<_ACEOF
39020 /* end confdefs.h.  */
39021 #include <ctype.h>
39022 int
39023 main ()
39024 {
39025 int ch;
39026                   int ret;
39027                   ret = isblank(ch);
39028
39029   ;
39030   return 0;
39031 }
39032 _ACEOF
39033 rm -f conftest.$ac_objext
39034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39035   (eval $ac_compile) 2>conftest.er1
39036   ac_status=$?
39037   grep -v '^ *+' conftest.er1 >conftest.err
39038   rm -f conftest.er1
39039   cat conftest.err >&5
39040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041   (exit $ac_status); } &&
39042          { ac_try='test -z "$ac_cxx_werror_flag"
39043                          || test ! -s conftest.err'
39044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39045   (eval $ac_try) 2>&5
39046   ac_status=$?
39047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048   (exit $ac_status); }; } &&
39049          { ac_try='test -s conftest.$ac_objext'
39050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39051   (eval $ac_try) 2>&5
39052   ac_status=$?
39053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054   (exit $ac_status); }; }; then
39055   ac_c99_ctype_tr1=yes
39056 else
39057   echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 ac_c99_ctype_tr1=no
39061 fi
39062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39063
39064 fi
39065
39066   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39067 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39068   if test x"$ac_c99_ctype_tr1" = x"yes"; then
39069
39070 cat >>confdefs.h <<\_ACEOF
39071 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39072 _ACEOF
39073
39074   fi
39075
39076   # Check for the existence of <fenv.h> functions.
39077
39078 for ac_header in fenv.h
39079 do
39080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39082   echo "$as_me:$LINENO: checking for $ac_header" >&5
39083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39085   echo $ECHO_N "(cached) $ECHO_C" >&6
39086 fi
39087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39089 else
39090   # Is the header compilable?
39091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39093 cat >conftest.$ac_ext <<_ACEOF
39094 /* confdefs.h.  */
39095 _ACEOF
39096 cat confdefs.h >>conftest.$ac_ext
39097 cat >>conftest.$ac_ext <<_ACEOF
39098 /* end confdefs.h.  */
39099 $ac_includes_default
39100 #include <$ac_header>
39101 _ACEOF
39102 rm -f conftest.$ac_objext
39103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39104   (eval $ac_compile) 2>conftest.er1
39105   ac_status=$?
39106   grep -v '^ *+' conftest.er1 >conftest.err
39107   rm -f conftest.er1
39108   cat conftest.err >&5
39109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110   (exit $ac_status); } &&
39111          { ac_try='test -z "$ac_cxx_werror_flag"
39112                          || test ! -s conftest.err'
39113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39114   (eval $ac_try) 2>&5
39115   ac_status=$?
39116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117   (exit $ac_status); }; } &&
39118          { ac_try='test -s conftest.$ac_objext'
39119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39120   (eval $ac_try) 2>&5
39121   ac_status=$?
39122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123   (exit $ac_status); }; }; then
39124   ac_header_compiler=yes
39125 else
39126   echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39128
39129 ac_header_compiler=no
39130 fi
39131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39133 echo "${ECHO_T}$ac_header_compiler" >&6
39134
39135 # Is the header present?
39136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h.  */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h.  */
39144 #include <$ac_header>
39145 _ACEOF
39146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39148   ac_status=$?
39149   grep -v '^ *+' conftest.er1 >conftest.err
39150   rm -f conftest.er1
39151   cat conftest.err >&5
39152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153   (exit $ac_status); } >/dev/null; then
39154   if test -s conftest.err; then
39155     ac_cpp_err=$ac_cxx_preproc_warn_flag
39156     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39157   else
39158     ac_cpp_err=
39159   fi
39160 else
39161   ac_cpp_err=yes
39162 fi
39163 if test -z "$ac_cpp_err"; then
39164   ac_header_preproc=yes
39165 else
39166   echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39168
39169   ac_header_preproc=no
39170 fi
39171 rm -f conftest.err conftest.$ac_ext
39172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39173 echo "${ECHO_T}$ac_header_preproc" >&6
39174
39175 # So?  What about this header?
39176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39177   yes:no: )
39178     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39180     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39182     ac_header_preproc=yes
39183     ;;
39184   no:yes:* )
39185     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39187     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39188 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39189     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39191     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39192 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39193     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39195     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39197     (
39198       cat <<\_ASBOX
39199 ## ----------------------------------------- ##
39200 ## Report this to the package-unused lists.  ##
39201 ## ----------------------------------------- ##
39202 _ASBOX
39203     ) |
39204       sed "s/^/$as_me: WARNING:     /" >&2
39205     ;;
39206 esac
39207 echo "$as_me:$LINENO: checking for $ac_header" >&5
39208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39210   echo $ECHO_N "(cached) $ECHO_C" >&6
39211 else
39212   eval "$as_ac_Header=\$ac_header_preproc"
39213 fi
39214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39216
39217 fi
39218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39219   cat >>confdefs.h <<_ACEOF
39220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39221 _ACEOF
39222  ac_has_fenv_h=yes
39223 else
39224   ac_has_fenv_h=no
39225 fi
39226
39227 done
39228
39229   ac_c99_fenv_tr1=no;
39230   if test x"$ac_has_fenv_h" = x"yes"; then
39231     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39232 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39233     cat >conftest.$ac_ext <<_ACEOF
39234 /* confdefs.h.  */
39235 _ACEOF
39236 cat confdefs.h >>conftest.$ac_ext
39237 cat >>conftest.$ac_ext <<_ACEOF
39238 /* end confdefs.h.  */
39239 #include <fenv.h>
39240 int
39241 main ()
39242 {
39243 int except, mode;
39244                     fexcept_t* pflag;
39245                     fenv_t* penv;
39246                     int ret;
39247                     ret = feclearexcept(except);
39248                     ret = fegetexceptflag(pflag, except);
39249                     ret = feraiseexcept(except);
39250                     ret = fesetexceptflag(pflag, except);
39251                     ret = fetestexcept(except);
39252                     ret = fegetround();
39253                     ret = fesetround(mode);
39254                     ret = fegetenv(penv);
39255                     ret = feholdexcept(penv);
39256                     ret = fesetenv(penv);
39257                     ret = feupdateenv(penv);
39258
39259   ;
39260   return 0;
39261 }
39262 _ACEOF
39263 rm -f conftest.$ac_objext
39264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39265   (eval $ac_compile) 2>conftest.er1
39266   ac_status=$?
39267   grep -v '^ *+' conftest.er1 >conftest.err
39268   rm -f conftest.er1
39269   cat conftest.err >&5
39270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271   (exit $ac_status); } &&
39272          { ac_try='test -z "$ac_cxx_werror_flag"
39273                          || test ! -s conftest.err'
39274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275   (eval $ac_try) 2>&5
39276   ac_status=$?
39277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278   (exit $ac_status); }; } &&
39279          { ac_try='test -s conftest.$ac_objext'
39280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281   (eval $ac_try) 2>&5
39282   ac_status=$?
39283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284   (exit $ac_status); }; }; then
39285   ac_c99_fenv_tr1=yes
39286 else
39287   echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39289
39290 ac_c99_fenv_tr1=no
39291 fi
39292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39293   fi
39294   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39295 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
39296   if test x"$ac_c99_fenv_tr1" = x"yes"; then
39297
39298 cat >>confdefs.h <<\_ACEOF
39299 #define _GLIBCXX_USE_C99_FENV_TR1 1
39300 _ACEOF
39301
39302   fi
39303
39304   # Check for the existence of <stdint.h> types.
39305   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39306 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
39307   if test "${ac_c99_stdint_tr1+set}" = set; then
39308   echo $ECHO_N "(cached) $ECHO_C" >&6
39309 else
39310
39311   cat >conftest.$ac_ext <<_ACEOF
39312 /* confdefs.h.  */
39313 _ACEOF
39314 cat confdefs.h >>conftest.$ac_ext
39315 cat >>conftest.$ac_ext <<_ACEOF
39316 /* end confdefs.h.  */
39317 #include <stdint.h>
39318 int
39319 main ()
39320 {
39321 typedef int8_t          my_int8_t;
39322                   typedef int16_t         my_int16_t;
39323                   typedef int32_t         my_int32_t;
39324                   typedef int64_t         my_int64_t;
39325                   typedef int_fast8_t     my_int_fast8_t;
39326                   typedef int_fast16_t    my_int_fast16_t;
39327                   typedef int_fast32_t    my_int_fast32_t;
39328                   typedef int_fast64_t    my_int_fast64_t;
39329                   typedef int_least8_t    my_int_least8_t;
39330                   typedef int_least16_t   my_int_least16_t;
39331                   typedef int_least32_t   my_int_least32_t;
39332                   typedef int_least64_t   my_int_least64_t;
39333                   typedef intmax_t        my_intmax_t;
39334                   typedef intptr_t        my_intptr_t;
39335                   typedef uint8_t         my_uint8_t;
39336                   typedef uint16_t        my_uint16_t;
39337                   typedef uint32_t        my_uint32_t;
39338                   typedef uint64_t        my_uint64_t;
39339                   typedef uint_fast8_t    my_uint_fast8_t;
39340                   typedef uint_fast16_t   my_uint_fast16_t;
39341                   typedef uint_fast32_t   my_uint_fast32_t;
39342                   typedef uint_fast64_t   my_uint_fast64_t;
39343                   typedef uint_least8_t   my_uint_least8_t;
39344                   typedef uint_least16_t  my_uint_least16_t;
39345                   typedef uint_least32_t  my_uint_least32_t;
39346                   typedef uint_least64_t  my_uint_least64_t;
39347                   typedef uintmax_t       my_uintmax_t;
39348                   typedef uintptr_t       my_uintptr_t;
39349
39350   ;
39351   return 0;
39352 }
39353 _ACEOF
39354 rm -f conftest.$ac_objext
39355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39356   (eval $ac_compile) 2>conftest.er1
39357   ac_status=$?
39358   grep -v '^ *+' conftest.er1 >conftest.err
39359   rm -f conftest.er1
39360   cat conftest.err >&5
39361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362   (exit $ac_status); } &&
39363          { ac_try='test -z "$ac_cxx_werror_flag"
39364                          || test ! -s conftest.err'
39365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366   (eval $ac_try) 2>&5
39367   ac_status=$?
39368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369   (exit $ac_status); }; } &&
39370          { ac_try='test -s conftest.$ac_objext'
39371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372   (eval $ac_try) 2>&5
39373   ac_status=$?
39374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375   (exit $ac_status); }; }; then
39376   ac_c99_stdint_tr1=yes
39377 else
39378   echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 ac_c99_stdint_tr1=no
39382 fi
39383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39384
39385 fi
39386
39387   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
39388 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
39389   if test x"$ac_c99_stdint_tr1" = x"yes"; then
39390
39391 cat >>confdefs.h <<\_ACEOF
39392 #define _GLIBCXX_USE_C99_STDINT_TR1 1
39393 _ACEOF
39394
39395   fi
39396
39397   # Check for the existence of <math.h> functions.
39398   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
39399 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
39400   if test "${ac_c99_math_tr1+set}" = set; then
39401   echo $ECHO_N "(cached) $ECHO_C" >&6
39402 else
39403
39404   cat >conftest.$ac_ext <<_ACEOF
39405 /* confdefs.h.  */
39406 _ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h.  */
39410 #include <math.h>
39411 int
39412 main ()
39413 {
39414 typedef double_t  my_double_t;
39415                   typedef float_t   my_float_t;
39416                   acosh(0.0);
39417                   acoshf(0.0f);
39418                   acoshl(0.0l);
39419                   asinh(0.0);
39420                   asinhf(0.0f);
39421                   asinhl(0.0l);
39422                   atanh(0.0);
39423                   atanhf(0.0f);
39424                   atanhl(0.0l);
39425                   cbrt(0.0);
39426                   cbrtf(0.0f);
39427                   cbrtl(0.0l);
39428                   copysign(0.0, 0.0);
39429                   copysignf(0.0f, 0.0f);
39430                   copysignl(0.0l, 0.0l);
39431                   erf(0.0);
39432                   erff(0.0f);
39433                   erfl(0.0l);
39434                   erfc(0.0);
39435                   erfcf(0.0f);
39436                   erfcl(0.0l);
39437                   exp2(0.0);
39438                   exp2f(0.0f);
39439                   exp2l(0.0l);
39440                   expm1(0.0);
39441                   expm1f(0.0f);
39442                   expm1l(0.0l);
39443                   fdim(0.0, 0.0);
39444                   fdimf(0.0f, 0.0f);
39445                   fdiml(0.0l, 0.0l);
39446                   fma(0.0, 0.0, 0.0);
39447                   fmaf(0.0f, 0.0f, 0.0f);
39448                   fmal(0.0l, 0.0l, 0.0l);
39449                   fmax(0.0, 0.0);
39450                   fmaxf(0.0f, 0.0f);
39451                   fmaxl(0.0l, 0.0l);
39452                   fmin(0.0, 0.0);
39453                   fminf(0.0f, 0.0f);
39454                   fminl(0.0l, 0.0l);
39455                   hypot(0.0, 0.0);
39456                   hypotf(0.0f, 0.0f);
39457                   hypotl(0.0l, 0.0l);
39458                   ilogb(0.0);
39459                   ilogbf(0.0f);
39460                   ilogbl(0.0l);
39461                   lgamma(0.0);
39462                   lgammaf(0.0f);
39463                   lgammal(0.0l);
39464                   llrint(0.0);
39465                   llrintf(0.0f);
39466                   llrintl(0.0l);
39467                   llround(0.0);
39468                   llroundf(0.0f);
39469                   llroundl(0.0l);
39470                   log1p(0.0);
39471                   log1pf(0.0f);
39472                   log1pl(0.0l);
39473                   log2(0.0);
39474                   log2f(0.0f);
39475                   log2l(0.0l);
39476                   logb(0.0);
39477                   logbf(0.0f);
39478                   logbl(0.0l);
39479                   lrint(0.0);
39480                   lrintf(0.0f);
39481                   lrintl(0.0l);
39482                   lround(0.0);
39483                   lroundf(0.0f);
39484                   lroundl(0.0l);
39485                   nan(0);
39486                   nanf(0);
39487                   nanl(0);
39488                   nearbyint(0.0);
39489                   nearbyintf(0.0f);
39490                   nearbyintl(0.0l);
39491                   nextafter(0.0, 0.0);
39492                   nextafterf(0.0f, 0.0f);
39493                   nextafterl(0.0l, 0.0l);
39494                   nexttoward(0.0, 0.0);
39495                   nexttowardf(0.0f, 0.0f);
39496                   nexttowardl(0.0l, 0.0l);
39497                   remainder(0.0, 0.0);
39498                   remainderf(0.0f, 0.0f);
39499                   remainderl(0.0l, 0.0l);
39500                   remquo(0.0, 0.0, 0);
39501                   remquo(0.0f, 0.0f, 0);
39502                   remquo(0.0l, 0.0l, 0);
39503                   rint(0.0);
39504                   rintf(0.0f);
39505                   rintl(0.0l);
39506                   round(0.0);
39507                   roundf(0.0f);
39508                   roundl(0.0l);
39509                   scalbln(0.0, 0l);
39510                   scalblnf(0.0f, 0l);
39511                   scalblnl(0.0l, 0l);
39512                   scalbn(0.0, 0);
39513                   scalbnf(0.0f, 0);
39514                   scalbnl(0.0l, 0);
39515                   tgamma(0.0);
39516                   tgammaf(0.0f);
39517                   tgammal(0.0l);
39518                   trunc(0.0);
39519                   truncf(0.0f);
39520                   truncl(0.0l);
39521
39522   ;
39523   return 0;
39524 }
39525 _ACEOF
39526 rm -f conftest.$ac_objext
39527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39528   (eval $ac_compile) 2>conftest.er1
39529   ac_status=$?
39530   grep -v '^ *+' conftest.er1 >conftest.err
39531   rm -f conftest.er1
39532   cat conftest.err >&5
39533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534   (exit $ac_status); } &&
39535          { ac_try='test -z "$ac_cxx_werror_flag"
39536                          || test ! -s conftest.err'
39537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39538   (eval $ac_try) 2>&5
39539   ac_status=$?
39540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541   (exit $ac_status); }; } &&
39542          { ac_try='test -s conftest.$ac_objext'
39543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39544   (eval $ac_try) 2>&5
39545   ac_status=$?
39546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547   (exit $ac_status); }; }; then
39548   ac_c99_math_tr1=yes
39549 else
39550   echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 ac_c99_math_tr1=no
39554 fi
39555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39556
39557 fi
39558
39559   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39560 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39561   if test x"$ac_c99_math_tr1" = x"yes"; then
39562
39563 cat >>confdefs.h <<\_ACEOF
39564 #define _GLIBCXX_USE_C99_MATH_TR1 1
39565 _ACEOF
39566
39567   fi
39568
39569   # Check for the existence of <inttypes.h> functions (NB: doesn't make
39570   # sense if the previous check fails, per C99, 7.8/1).
39571   ac_c99_inttypes_tr1=no;
39572   if test x"$ac_c99_stdint_tr1" = x"yes"; then
39573     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39574 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39575     cat >conftest.$ac_ext <<_ACEOF
39576 /* confdefs.h.  */
39577 _ACEOF
39578 cat confdefs.h >>conftest.$ac_ext
39579 cat >>conftest.$ac_ext <<_ACEOF
39580 /* end confdefs.h.  */
39581 #include <inttypes.h>
39582 int
39583 main ()
39584 {
39585 intmax_t i, numer, denom, base;
39586                     const char* s;
39587                     char** endptr;
39588                     intmax_t ret = imaxabs(i);
39589                     imaxdiv_t dret = imaxdiv(numer, denom);
39590                     ret = strtoimax(s, endptr, base);
39591                     uintmax_t uret = strtoumax(s, endptr, base);
39592
39593   ;
39594   return 0;
39595 }
39596 _ACEOF
39597 rm -f conftest.$ac_objext
39598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39599   (eval $ac_compile) 2>conftest.er1
39600   ac_status=$?
39601   grep -v '^ *+' conftest.er1 >conftest.err
39602   rm -f conftest.er1
39603   cat conftest.err >&5
39604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605   (exit $ac_status); } &&
39606          { ac_try='test -z "$ac_cxx_werror_flag"
39607                          || test ! -s conftest.err'
39608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39609   (eval $ac_try) 2>&5
39610   ac_status=$?
39611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612   (exit $ac_status); }; } &&
39613          { ac_try='test -s conftest.$ac_objext'
39614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39615   (eval $ac_try) 2>&5
39616   ac_status=$?
39617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618   (exit $ac_status); }; }; then
39619   ac_c99_inttypes_tr1=yes
39620 else
39621   echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39623
39624 ac_c99_inttypes_tr1=no
39625 fi
39626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39627   fi
39628   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39629 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39630   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39631
39632 cat >>confdefs.h <<\_ACEOF
39633 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39634 _ACEOF
39635
39636   fi
39637
39638   # Check for the existence of the <stdbool.h> header.
39639
39640 for ac_header in stdbool.h
39641 do
39642 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39644   echo "$as_me:$LINENO: checking for $ac_header" >&5
39645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39647   echo $ECHO_N "(cached) $ECHO_C" >&6
39648 fi
39649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39651 else
39652   # Is the header compilable?
39653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39655 cat >conftest.$ac_ext <<_ACEOF
39656 /* confdefs.h.  */
39657 _ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h.  */
39661 $ac_includes_default
39662 #include <$ac_header>
39663 _ACEOF
39664 rm -f conftest.$ac_objext
39665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39666   (eval $ac_compile) 2>conftest.er1
39667   ac_status=$?
39668   grep -v '^ *+' conftest.er1 >conftest.err
39669   rm -f conftest.er1
39670   cat conftest.err >&5
39671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672   (exit $ac_status); } &&
39673          { ac_try='test -z "$ac_cxx_werror_flag"
39674                          || test ! -s conftest.err'
39675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39676   (eval $ac_try) 2>&5
39677   ac_status=$?
39678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679   (exit $ac_status); }; } &&
39680          { ac_try='test -s conftest.$ac_objext'
39681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682   (eval $ac_try) 2>&5
39683   ac_status=$?
39684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685   (exit $ac_status); }; }; then
39686   ac_header_compiler=yes
39687 else
39688   echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39690
39691 ac_header_compiler=no
39692 fi
39693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39695 echo "${ECHO_T}$ac_header_compiler" >&6
39696
39697 # Is the header present?
39698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h.  */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h.  */
39706 #include <$ac_header>
39707 _ACEOF
39708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39709   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39710   ac_status=$?
39711   grep -v '^ *+' conftest.er1 >conftest.err
39712   rm -f conftest.er1
39713   cat conftest.err >&5
39714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715   (exit $ac_status); } >/dev/null; then
39716   if test -s conftest.err; then
39717     ac_cpp_err=$ac_cxx_preproc_warn_flag
39718     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39719   else
39720     ac_cpp_err=
39721   fi
39722 else
39723   ac_cpp_err=yes
39724 fi
39725 if test -z "$ac_cpp_err"; then
39726   ac_header_preproc=yes
39727 else
39728   echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39730
39731   ac_header_preproc=no
39732 fi
39733 rm -f conftest.err conftest.$ac_ext
39734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39735 echo "${ECHO_T}$ac_header_preproc" >&6
39736
39737 # So?  What about this header?
39738 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39739   yes:no: )
39740     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39742     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39744     ac_header_preproc=yes
39745     ;;
39746   no:yes:* )
39747     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39749     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39750 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39751     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39753     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39754 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39755     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39757     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39759     (
39760       cat <<\_ASBOX
39761 ## ----------------------------------------- ##
39762 ## Report this to the package-unused lists.  ##
39763 ## ----------------------------------------- ##
39764 _ASBOX
39765     ) |
39766       sed "s/^/$as_me: WARNING:     /" >&2
39767     ;;
39768 esac
39769 echo "$as_me:$LINENO: checking for $ac_header" >&5
39770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39772   echo $ECHO_N "(cached) $ECHO_C" >&6
39773 else
39774   eval "$as_ac_Header=\$ac_header_preproc"
39775 fi
39776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39778
39779 fi
39780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39781   cat >>confdefs.h <<_ACEOF
39782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39783 _ACEOF
39784
39785 fi
39786
39787 done
39788
39789
39790   CXXFLAGS="$ac_save_CXXFLAGS"
39791   ac_ext=c
39792 ac_cpp='$CPP $CPPFLAGS'
39793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39796
39797
39798
39799   # For dev/random and dev/urandom for TR1.
39800
39801
39802   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39803 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39804   if test "${ac_random_tr1+set}" = set; then
39805   echo $ECHO_N "(cached) $ECHO_C" >&6
39806 else
39807
39808   if test "$cross_compiling" = yes; then
39809   ac_random_tr1=no
39810 else
39811   cat >conftest.$ac_ext <<_ACEOF
39812 /* confdefs.h.  */
39813 _ACEOF
39814 cat confdefs.h >>conftest.$ac_ext
39815 cat >>conftest.$ac_ext <<_ACEOF
39816 /* end confdefs.h.  */
39817 #include <stdio.h>
39818               int main()
39819               {
39820                 return !(fopen("/dev/random", "r")
39821                          && fopen("/dev/urandom", "r"));
39822               }
39823
39824 _ACEOF
39825 rm -f conftest$ac_exeext
39826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39827   (eval $ac_link) 2>&5
39828   ac_status=$?
39829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39832   (eval $ac_try) 2>&5
39833   ac_status=$?
39834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835   (exit $ac_status); }; }; then
39836   ac_random_tr1=yes
39837 else
39838   echo "$as_me: program exited with status $ac_status" >&5
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842 ( exit $ac_status )
39843 ac_random_tr1=no
39844 fi
39845 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39846 fi
39847
39848 fi
39849
39850   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39851 echo "${ECHO_T}$ac_random_tr1" >&6
39852   if test x"$ac_random_tr1" = x"yes"; then
39853
39854 cat >>confdefs.h <<\_ACEOF
39855 #define _GLIBCXX_USE_RANDOM_TR1 1
39856 _ACEOF
39857
39858   fi
39859
39860
39861
39862   # For TLS support.
39863
39864    # Check whether --enable-tls or --disable-tls was given.
39865 if test "${enable_tls+set}" = set; then
39866   enableval="$enable_tls"
39867
39868       case "$enableval" in
39869        yes|no) ;;
39870        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39871 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39872    { (exit 1); exit 1; }; } ;;
39873       esac
39874
39875 else
39876   enable_tls=yes
39877 fi;
39878
39879   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39880 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
39881 if test "${gcc_cv_have_tls+set}" = set; then
39882   echo $ECHO_N "(cached) $ECHO_C" >&6
39883 else
39884
39885     if test "$cross_compiling" = yes; then
39886                 if test x$gcc_no_link = xyes; then
39887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39889    { (exit 1); exit 1; }; }
39890 fi
39891 cat >conftest.$ac_ext <<_ACEOF
39892 __thread int a; int b; int main() { return a = b; }
39893 _ACEOF
39894 rm -f conftest.$ac_objext conftest$ac_exeext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39896   (eval $ac_link) 2>conftest.er1
39897   ac_status=$?
39898   grep -v '^ *+' conftest.er1 >conftest.err
39899   rm -f conftest.er1
39900   cat conftest.err >&5
39901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902   (exit $ac_status); } &&
39903          { ac_try='test -z "$ac_c_werror_flag"
39904                          || test ! -s conftest.err'
39905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39906   (eval $ac_try) 2>&5
39907   ac_status=$?
39908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909   (exit $ac_status); }; } &&
39910          { ac_try='test -s conftest$ac_exeext'
39911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912   (eval $ac_try) 2>&5
39913   ac_status=$?
39914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915   (exit $ac_status); }; }; then
39916   gcc_cv_have_tls=yes
39917 else
39918   echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39920
39921 gcc_cv_have_tls=no
39922 fi
39923 rm -f conftest.err conftest.$ac_objext \
39924       conftest$ac_exeext conftest.$ac_ext
39925
39926
39927 else
39928   cat >conftest.$ac_ext <<_ACEOF
39929 __thread int a; int b; int main() { return a = b; }
39930 _ACEOF
39931 rm -f conftest$ac_exeext
39932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39933   (eval $ac_link) 2>&5
39934   ac_status=$?
39935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938   (eval $ac_try) 2>&5
39939   ac_status=$?
39940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941   (exit $ac_status); }; }; then
39942                       chktls_save_LDFLAGS="$LDFLAGS"
39943       LDFLAGS="-static $LDFLAGS"
39944       if test x$gcc_no_link = xyes; then
39945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39947    { (exit 1); exit 1; }; }
39948 fi
39949 cat >conftest.$ac_ext <<_ACEOF
39950 int main() { return 0; }
39951 _ACEOF
39952 rm -f conftest.$ac_objext conftest$ac_exeext
39953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39954   (eval $ac_link) 2>conftest.er1
39955   ac_status=$?
39956   grep -v '^ *+' conftest.er1 >conftest.err
39957   rm -f conftest.er1
39958   cat conftest.err >&5
39959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39960   (exit $ac_status); } &&
39961          { ac_try='test -z "$ac_c_werror_flag"
39962                          || test ! -s conftest.err'
39963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964   (eval $ac_try) 2>&5
39965   ac_status=$?
39966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967   (exit $ac_status); }; } &&
39968          { ac_try='test -s conftest$ac_exeext'
39969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39970   (eval $ac_try) 2>&5
39971   ac_status=$?
39972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973   (exit $ac_status); }; }; then
39974   if test "$cross_compiling" = yes; then
39975   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39976 See \`config.log' for more details." >&5
39977 echo "$as_me: error: cannot run test program while cross compiling
39978 See \`config.log' for more details." >&2;}
39979    { (exit 1); exit 1; }; }
39980 else
39981   cat >conftest.$ac_ext <<_ACEOF
39982 __thread int a; int b; int main() { return a = b; }
39983 _ACEOF
39984 rm -f conftest$ac_exeext
39985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39986   (eval $ac_link) 2>&5
39987   ac_status=$?
39988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39991   (eval $ac_try) 2>&5
39992   ac_status=$?
39993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994   (exit $ac_status); }; }; then
39995   gcc_cv_have_tls=yes
39996 else
39997   echo "$as_me: program exited with status $ac_status" >&5
39998 echo "$as_me: failed program was:" >&5
39999 sed 's/^/| /' conftest.$ac_ext >&5
40000
40001 ( exit $ac_status )
40002 gcc_cv_have_tls=no
40003 fi
40004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40005 fi
40006 else
40007   echo "$as_me: failed program was:" >&5
40008 sed 's/^/| /' conftest.$ac_ext >&5
40009
40010 gcc_cv_have_tls=yes
40011 fi
40012 rm -f conftest.err conftest.$ac_objext \
40013       conftest$ac_exeext conftest.$ac_ext
40014       LDFLAGS="$chktls_save_LDFLAGS"
40015       if test $gcc_cv_have_tls = yes; then
40016                                                 chktls_save_CFLAGS="$CFLAGS"
40017         thread_CFLAGS=failed
40018         for flag in '' '-pthread' '-lpthread'; do
40019           CFLAGS="$flag $chktls_save_CFLAGS"
40020           if test x$gcc_no_link = xyes; then
40021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40023    { (exit 1); exit 1; }; }
40024 fi
40025 cat >conftest.$ac_ext <<_ACEOF
40026 /* confdefs.h.  */
40027 _ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h.  */
40031 #include <pthread.h>
40032                 void *g(void *d) { return NULL; }
40033 int
40034 main ()
40035 {
40036 pthread_t t; pthread_create(&t,NULL,g,NULL);
40037   ;
40038   return 0;
40039 }
40040 _ACEOF
40041 rm -f conftest.$ac_objext conftest$ac_exeext
40042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40043   (eval $ac_link) 2>conftest.er1
40044   ac_status=$?
40045   grep -v '^ *+' conftest.er1 >conftest.err
40046   rm -f conftest.er1
40047   cat conftest.err >&5
40048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40049   (exit $ac_status); } &&
40050          { ac_try='test -z "$ac_c_werror_flag"
40051                          || test ! -s conftest.err'
40052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40053   (eval $ac_try) 2>&5
40054   ac_status=$?
40055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40056   (exit $ac_status); }; } &&
40057          { ac_try='test -s conftest$ac_exeext'
40058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40059   (eval $ac_try) 2>&5
40060   ac_status=$?
40061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40062   (exit $ac_status); }; }; then
40063   thread_CFLAGS="$flag"
40064 else
40065   echo "$as_me: failed program was:" >&5
40066 sed 's/^/| /' conftest.$ac_ext >&5
40067
40068 fi
40069 rm -f conftest.err conftest.$ac_objext \
40070       conftest$ac_exeext conftest.$ac_ext
40071           if test "X$thread_CFLAGS" != Xfailed; then
40072             break
40073           fi
40074         done
40075         CFLAGS="$chktls_save_CFLAGS"
40076         if test "X$thread_CFLAGS" != Xfailed; then
40077           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40078           if test "$cross_compiling" = yes; then
40079   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40080 See \`config.log' for more details." >&5
40081 echo "$as_me: error: cannot run test program while cross compiling
40082 See \`config.log' for more details." >&2;}
40083    { (exit 1); exit 1; }; }
40084 else
40085   cat >conftest.$ac_ext <<_ACEOF
40086 /* confdefs.h.  */
40087 _ACEOF
40088 cat confdefs.h >>conftest.$ac_ext
40089 cat >>conftest.$ac_ext <<_ACEOF
40090 /* end confdefs.h.  */
40091 #include <pthread.h>
40092                 __thread int a;
40093                 static int *a_in_other_thread;
40094                 static void *
40095                 thread_func (void *arg)
40096                 {
40097                   a_in_other_thread = &a;
40098                   return (void *)0;
40099                 }
40100 int
40101 main ()
40102 {
40103 pthread_t thread;
40104                 void *thread_retval;
40105                 int *a_in_main_thread;
40106                 if (pthread_create (&thread, (pthread_attr_t *)0,
40107                                     thread_func, (void *)0))
40108                   return 0;
40109                 a_in_main_thread = &a;
40110                 if (pthread_join (thread, &thread_retval))
40111                   return 0;
40112                 return (a_in_other_thread == a_in_main_thread);
40113   ;
40114   return 0;
40115 }
40116 _ACEOF
40117 rm -f conftest$ac_exeext
40118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40119   (eval $ac_link) 2>&5
40120   ac_status=$?
40121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40124   (eval $ac_try) 2>&5
40125   ac_status=$?
40126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127   (exit $ac_status); }; }; then
40128   gcc_cv_have_tls=yes
40129 else
40130   echo "$as_me: program exited with status $ac_status" >&5
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 ( exit $ac_status )
40135 gcc_cv_have_tls=no
40136 fi
40137 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40138 fi
40139           CFLAGS="$chktls_save_CFLAGS"
40140         fi
40141       fi
40142 else
40143   echo "$as_me: program exited with status $ac_status" >&5
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147 ( exit $ac_status )
40148 gcc_cv_have_tls=no
40149 fi
40150 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40151 fi
40152 fi
40153 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40154 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40155   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40156
40157 cat >>confdefs.h <<\_ACEOF
40158 #define HAVE_TLS 1
40159 _ACEOF
40160
40161   fi
40162
40163   # For _Unwind_GetIPInfo.
40164
40165
40166
40167   ac_ext=cc
40168 ac_cpp='$CXXCPP $CPPFLAGS'
40169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40172
40173   ac_save_CXXFLAGS="$CXXFLAGS"
40174   CXXFLAGS="$CXXFLAGS -fno-exceptions"
40175   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40176 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40177   if test "${gcc_cv_getipinfo+set}" = set; then
40178   echo $ECHO_N "(cached) $ECHO_C" >&6
40179 else
40180
40181   if test x$gcc_no_link = xyes; then
40182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40184    { (exit 1); exit 1; }; }
40185 fi
40186 cat >conftest.$ac_ext <<_ACEOF
40187 /* confdefs.h.  */
40188 _ACEOF
40189 cat confdefs.h >>conftest.$ac_ext
40190 cat >>conftest.$ac_ext <<_ACEOF
40191 /* end confdefs.h.  */
40192 extern "C" { extern void _Unwind_GetIPInfo(); }
40193 int
40194 main ()
40195 {
40196 _Unwind_GetIPInfo();
40197   ;
40198   return 0;
40199 }
40200 _ACEOF
40201 rm -f conftest.$ac_objext conftest$ac_exeext
40202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40203   (eval $ac_link) 2>conftest.er1
40204   ac_status=$?
40205   grep -v '^ *+' conftest.er1 >conftest.err
40206   rm -f conftest.er1
40207   cat conftest.err >&5
40208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209   (exit $ac_status); } &&
40210          { ac_try='test -z "$ac_cxx_werror_flag"
40211                          || test ! -s conftest.err'
40212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213   (eval $ac_try) 2>&5
40214   ac_status=$?
40215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216   (exit $ac_status); }; } &&
40217          { ac_try='test -s conftest$ac_exeext'
40218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219   (eval $ac_try) 2>&5
40220   ac_status=$?
40221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222   (exit $ac_status); }; }; then
40223   gcc_cv_getipinfo=yes
40224 else
40225   echo "$as_me: failed program was:" >&5
40226 sed 's/^/| /' conftest.$ac_ext >&5
40227
40228 gcc_cv_getipinfo=no
40229 fi
40230 rm -f conftest.err conftest.$ac_objext \
40231       conftest$ac_exeext conftest.$ac_ext
40232
40233 fi
40234
40235   if test $gcc_cv_getipinfo = yes; then
40236
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_GETIPINFO 1
40239 _ACEOF
40240
40241   fi
40242   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40243 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40244   CXXFLAGS="$ac_save_CXXFLAGS"
40245   ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40250
40251
40252
40253
40254   if test "${ac_cv_header_locale_h+set}" = set; then
40255   echo "$as_me:$LINENO: checking for locale.h" >&5
40256 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40257 if test "${ac_cv_header_locale_h+set}" = set; then
40258   echo $ECHO_N "(cached) $ECHO_C" >&6
40259 fi
40260 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40261 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40262 else
40263   # Is the header compilable?
40264 echo "$as_me:$LINENO: checking locale.h usability" >&5
40265 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
40266 cat >conftest.$ac_ext <<_ACEOF
40267 /* confdefs.h.  */
40268 _ACEOF
40269 cat confdefs.h >>conftest.$ac_ext
40270 cat >>conftest.$ac_ext <<_ACEOF
40271 /* end confdefs.h.  */
40272 $ac_includes_default
40273 #include <locale.h>
40274 _ACEOF
40275 rm -f conftest.$ac_objext
40276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40277   (eval $ac_compile) 2>conftest.er1
40278   ac_status=$?
40279   grep -v '^ *+' conftest.er1 >conftest.err
40280   rm -f conftest.er1
40281   cat conftest.err >&5
40282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283   (exit $ac_status); } &&
40284          { ac_try='test -z "$ac_c_werror_flag"
40285                          || test ! -s conftest.err'
40286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287   (eval $ac_try) 2>&5
40288   ac_status=$?
40289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290   (exit $ac_status); }; } &&
40291          { ac_try='test -s conftest.$ac_objext'
40292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40293   (eval $ac_try) 2>&5
40294   ac_status=$?
40295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296   (exit $ac_status); }; }; then
40297   ac_header_compiler=yes
40298 else
40299   echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.$ac_ext >&5
40301
40302 ac_header_compiler=no
40303 fi
40304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40306 echo "${ECHO_T}$ac_header_compiler" >&6
40307
40308 # Is the header present?
40309 echo "$as_me:$LINENO: checking locale.h presence" >&5
40310 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
40311 cat >conftest.$ac_ext <<_ACEOF
40312 /* confdefs.h.  */
40313 _ACEOF
40314 cat confdefs.h >>conftest.$ac_ext
40315 cat >>conftest.$ac_ext <<_ACEOF
40316 /* end confdefs.h.  */
40317 #include <locale.h>
40318 _ACEOF
40319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40320   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40321   ac_status=$?
40322   grep -v '^ *+' conftest.er1 >conftest.err
40323   rm -f conftest.er1
40324   cat conftest.err >&5
40325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326   (exit $ac_status); } >/dev/null; then
40327   if test -s conftest.err; then
40328     ac_cpp_err=$ac_c_preproc_warn_flag
40329     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40330   else
40331     ac_cpp_err=
40332   fi
40333 else
40334   ac_cpp_err=yes
40335 fi
40336 if test -z "$ac_cpp_err"; then
40337   ac_header_preproc=yes
40338 else
40339   echo "$as_me: failed program was:" >&5
40340 sed 's/^/| /' conftest.$ac_ext >&5
40341
40342   ac_header_preproc=no
40343 fi
40344 rm -f conftest.err conftest.$ac_ext
40345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40346 echo "${ECHO_T}$ac_header_preproc" >&6
40347
40348 # So?  What about this header?
40349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40350   yes:no: )
40351     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
40352 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
40353     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
40354 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
40355     ac_header_preproc=yes
40356     ;;
40357   no:yes:* )
40358     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
40359 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
40360     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
40361 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
40362     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
40363 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
40364     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
40365 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
40366     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
40367 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
40368     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
40369 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
40370     (
40371       cat <<\_ASBOX
40372 ## ----------------------------------------- ##
40373 ## Report this to the package-unused lists.  ##
40374 ## ----------------------------------------- ##
40375 _ASBOX
40376     ) |
40377       sed "s/^/$as_me: WARNING:     /" >&2
40378     ;;
40379 esac
40380 echo "$as_me:$LINENO: checking for locale.h" >&5
40381 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40382 if test "${ac_cv_header_locale_h+set}" = set; then
40383   echo $ECHO_N "(cached) $ECHO_C" >&6
40384 else
40385   ac_cv_header_locale_h=$ac_header_preproc
40386 fi
40387 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40388 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40389
40390 fi
40391 if test $ac_cv_header_locale_h = yes; then
40392
40393     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
40394 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
40395 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
40396   echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40398   if test x$gcc_no_link = xyes; then
40399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40401    { (exit 1); exit 1; }; }
40402 fi
40403 cat >conftest.$ac_ext <<_ACEOF
40404 /* confdefs.h.  */
40405 _ACEOF
40406 cat confdefs.h >>conftest.$ac_ext
40407 cat >>conftest.$ac_ext <<_ACEOF
40408 /* end confdefs.h.  */
40409 #include <locale.h>
40410 int
40411 main ()
40412 {
40413 return LC_MESSAGES
40414   ;
40415   return 0;
40416 }
40417 _ACEOF
40418 rm -f conftest.$ac_objext conftest$ac_exeext
40419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40420   (eval $ac_link) 2>conftest.er1
40421   ac_status=$?
40422   grep -v '^ *+' conftest.er1 >conftest.err
40423   rm -f conftest.er1
40424   cat conftest.err >&5
40425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40426   (exit $ac_status); } &&
40427          { ac_try='test -z "$ac_c_werror_flag"
40428                          || test ! -s conftest.err'
40429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40430   (eval $ac_try) 2>&5
40431   ac_status=$?
40432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433   (exit $ac_status); }; } &&
40434          { ac_try='test -s conftest$ac_exeext'
40435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40436   (eval $ac_try) 2>&5
40437   ac_status=$?
40438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40439   (exit $ac_status); }; }; then
40440   ac_cv_val_LC_MESSAGES=yes
40441 else
40442   echo "$as_me: failed program was:" >&5
40443 sed 's/^/| /' conftest.$ac_ext >&5
40444
40445 ac_cv_val_LC_MESSAGES=no
40446 fi
40447 rm -f conftest.err conftest.$ac_objext \
40448       conftest$ac_exeext conftest.$ac_ext
40449 fi
40450 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40451 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
40452     if test $ac_cv_val_LC_MESSAGES = yes; then
40453
40454 cat >>confdefs.h <<\_ACEOF
40455 #define HAVE_LC_MESSAGES 1
40456 _ACEOF
40457
40458     fi
40459
40460 fi
40461
40462
40463
40464
40465   cat >conftest.$ac_ext <<_ACEOF
40466 /* confdefs.h.  */
40467 _ACEOF
40468 cat confdefs.h >>conftest.$ac_ext
40469 cat >>conftest.$ac_ext <<_ACEOF
40470 /* end confdefs.h.  */
40471 #include <setjmp.h>
40472 int
40473 main ()
40474 {
40475 sigjmp_buf env;
40476      while (! sigsetjmp (env, 1))
40477        siglongjmp (env, 1);
40478
40479   ;
40480   return 0;
40481 }
40482 _ACEOF
40483 rm -f conftest.$ac_objext
40484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40485   (eval $ac_compile) 2>conftest.er1
40486   ac_status=$?
40487   grep -v '^ *+' conftest.er1 >conftest.err
40488   rm -f conftest.er1
40489   cat conftest.err >&5
40490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491   (exit $ac_status); } &&
40492          { ac_try='test -z "$ac_c_werror_flag"
40493                          || test ! -s conftest.err'
40494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495   (eval $ac_try) 2>&5
40496   ac_status=$?
40497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498   (exit $ac_status); }; } &&
40499          { ac_try='test -s conftest.$ac_objext'
40500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40501   (eval $ac_try) 2>&5
40502   ac_status=$?
40503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504   (exit $ac_status); }; }; then
40505
40506 cat >>confdefs.h <<\_ACEOF
40507 #define HAVE_SIGSETJMP 1
40508 _ACEOF
40509
40510 else
40511   echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.$ac_ext >&5
40513
40514 fi
40515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517   if test x$gcc_no_link = xyes; then
40518   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40519     ac_cv_func_mmap_fixed_mapped=no
40520   fi
40521 fi
40522 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40523
40524
40525 for ac_header in stdlib.h unistd.h
40526 do
40527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40529   echo "$as_me:$LINENO: checking for $ac_header" >&5
40530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40532   echo $ECHO_N "(cached) $ECHO_C" >&6
40533 fi
40534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40536 else
40537   # Is the header compilable?
40538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40540 cat >conftest.$ac_ext <<_ACEOF
40541 /* confdefs.h.  */
40542 _ACEOF
40543 cat confdefs.h >>conftest.$ac_ext
40544 cat >>conftest.$ac_ext <<_ACEOF
40545 /* end confdefs.h.  */
40546 $ac_includes_default
40547 #include <$ac_header>
40548 _ACEOF
40549 rm -f conftest.$ac_objext
40550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40551   (eval $ac_compile) 2>conftest.er1
40552   ac_status=$?
40553   grep -v '^ *+' conftest.er1 >conftest.err
40554   rm -f conftest.er1
40555   cat conftest.err >&5
40556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557   (exit $ac_status); } &&
40558          { ac_try='test -z "$ac_c_werror_flag"
40559                          || test ! -s conftest.err'
40560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561   (eval $ac_try) 2>&5
40562   ac_status=$?
40563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564   (exit $ac_status); }; } &&
40565          { ac_try='test -s conftest.$ac_objext'
40566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567   (eval $ac_try) 2>&5
40568   ac_status=$?
40569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570   (exit $ac_status); }; }; then
40571   ac_header_compiler=yes
40572 else
40573   echo "$as_me: failed program was:" >&5
40574 sed 's/^/| /' conftest.$ac_ext >&5
40575
40576 ac_header_compiler=no
40577 fi
40578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40580 echo "${ECHO_T}$ac_header_compiler" >&6
40581
40582 # Is the header present?
40583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
40592 _ACEOF
40593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40594   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40595   ac_status=$?
40596   grep -v '^ *+' conftest.er1 >conftest.err
40597   rm -f conftest.er1
40598   cat conftest.err >&5
40599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600   (exit $ac_status); } >/dev/null; then
40601   if test -s conftest.err; then
40602     ac_cpp_err=$ac_c_preproc_warn_flag
40603     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40604   else
40605     ac_cpp_err=
40606   fi
40607 else
40608   ac_cpp_err=yes
40609 fi
40610 if test -z "$ac_cpp_err"; then
40611   ac_header_preproc=yes
40612 else
40613   echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.$ac_ext >&5
40615
40616   ac_header_preproc=no
40617 fi
40618 rm -f conftest.err conftest.$ac_ext
40619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40620 echo "${ECHO_T}$ac_header_preproc" >&6
40621
40622 # So?  What about this header?
40623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40624   yes:no: )
40625     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40627     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40629     ac_header_preproc=yes
40630     ;;
40631   no:yes:* )
40632     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40634     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40635 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40636     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40638     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40639 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40640     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40642     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40644     (
40645       cat <<\_ASBOX
40646 ## ----------------------------------------- ##
40647 ## Report this to the package-unused lists.  ##
40648 ## ----------------------------------------- ##
40649 _ASBOX
40650     ) |
40651       sed "s/^/$as_me: WARNING:     /" >&2
40652     ;;
40653 esac
40654 echo "$as_me:$LINENO: checking for $ac_header" >&5
40655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40657   echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659   eval "$as_ac_Header=\$ac_header_preproc"
40660 fi
40661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40663
40664 fi
40665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40666   cat >>confdefs.h <<_ACEOF
40667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40668 _ACEOF
40669
40670 fi
40671
40672 done
40673
40674
40675 for ac_func in getpagesize
40676 do
40677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40678 echo "$as_me:$LINENO: checking for $ac_func" >&5
40679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40680 if eval "test \"\${$as_ac_var+set}\" = set"; then
40681   echo $ECHO_N "(cached) $ECHO_C" >&6
40682 else
40683   if test x$gcc_no_link = xyes; then
40684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40686    { (exit 1); exit 1; }; }
40687 fi
40688 cat >conftest.$ac_ext <<_ACEOF
40689 /* confdefs.h.  */
40690 _ACEOF
40691 cat confdefs.h >>conftest.$ac_ext
40692 cat >>conftest.$ac_ext <<_ACEOF
40693 /* end confdefs.h.  */
40694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40696 #define $ac_func innocuous_$ac_func
40697
40698 /* System header to define __stub macros and hopefully few prototypes,
40699     which can conflict with char $ac_func (); below.
40700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40701     <limits.h> exists even on freestanding compilers.  */
40702
40703 #ifdef __STDC__
40704 # include <limits.h>
40705 #else
40706 # include <assert.h>
40707 #endif
40708
40709 #undef $ac_func
40710
40711 /* Override any gcc2 internal prototype to avoid an error.  */
40712 #ifdef __cplusplus
40713 extern "C"
40714 {
40715 #endif
40716 /* We use char because int might match the return type of a gcc2
40717    builtin and then its argument prototype would still apply.  */
40718 char $ac_func ();
40719 /* The GNU C library defines this for functions which it implements
40720     to always fail with ENOSYS.  Some functions are actually named
40721     something starting with __ and the normal name is an alias.  */
40722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40723 choke me
40724 #else
40725 char (*f) () = $ac_func;
40726 #endif
40727 #ifdef __cplusplus
40728 }
40729 #endif
40730
40731 int
40732 main ()
40733 {
40734 return f != $ac_func;
40735   ;
40736   return 0;
40737 }
40738 _ACEOF
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40741   (eval $ac_link) 2>conftest.er1
40742   ac_status=$?
40743   grep -v '^ *+' conftest.er1 >conftest.err
40744   rm -f conftest.er1
40745   cat conftest.err >&5
40746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747   (exit $ac_status); } &&
40748          { ac_try='test -z "$ac_c_werror_flag"
40749                          || test ! -s conftest.err'
40750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751   (eval $ac_try) 2>&5
40752   ac_status=$?
40753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754   (exit $ac_status); }; } &&
40755          { ac_try='test -s conftest$ac_exeext'
40756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757   (eval $ac_try) 2>&5
40758   ac_status=$?
40759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760   (exit $ac_status); }; }; then
40761   eval "$as_ac_var=yes"
40762 else
40763   echo "$as_me: failed program was:" >&5
40764 sed 's/^/| /' conftest.$ac_ext >&5
40765
40766 eval "$as_ac_var=no"
40767 fi
40768 rm -f conftest.err conftest.$ac_objext \
40769       conftest$ac_exeext conftest.$ac_ext
40770 fi
40771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40773 if test `eval echo '${'$as_ac_var'}'` = yes; then
40774   cat >>confdefs.h <<_ACEOF
40775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40776 _ACEOF
40777
40778 fi
40779 done
40780
40781 echo "$as_me:$LINENO: checking for working mmap" >&5
40782 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40783 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40784   echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786   if test "$cross_compiling" = yes; then
40787   ac_cv_func_mmap_fixed_mapped=no
40788 else
40789   cat >conftest.$ac_ext <<_ACEOF
40790 /* confdefs.h.  */
40791 _ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h.  */
40795 $ac_includes_default
40796 /* malloc might have been renamed as rpl_malloc. */
40797 #undef malloc
40798
40799 /* Thanks to Mike Haertel and Jim Avera for this test.
40800    Here is a matrix of mmap possibilities:
40801         mmap private not fixed
40802         mmap private fixed at somewhere currently unmapped
40803         mmap private fixed at somewhere already mapped
40804         mmap shared not fixed
40805         mmap shared fixed at somewhere currently unmapped
40806         mmap shared fixed at somewhere already mapped
40807    For private mappings, we should verify that changes cannot be read()
40808    back from the file, nor mmap's back from the file at a different
40809    address.  (There have been systems where private was not correctly
40810    implemented like the infamous i386 svr4.0, and systems where the
40811    VM page cache was not coherent with the file system buffer cache
40812    like early versions of FreeBSD and possibly contemporary NetBSD.)
40813    For shared mappings, we should conversely verify that changes get
40814    propagated back to all the places they're supposed to be.
40815
40816    Grep wants private fixed already mapped.
40817    The main things grep needs to know about mmap are:
40818    * does it exist and is it safe to write into the mmap'd area
40819    * how to use it (BSD variants)  */
40820
40821 #include <fcntl.h>
40822 #include <sys/mman.h>
40823
40824 #if !STDC_HEADERS && !HAVE_STDLIB_H
40825 char *malloc ();
40826 #endif
40827
40828 /* This mess was copied from the GNU getpagesize.h.  */
40829 #if !HAVE_GETPAGESIZE
40830 /* Assume that all systems that can run configure have sys/param.h.  */
40831 # if !HAVE_SYS_PARAM_H
40832 #  define HAVE_SYS_PARAM_H 1
40833 # endif
40834
40835 # ifdef _SC_PAGESIZE
40836 #  define getpagesize() sysconf(_SC_PAGESIZE)
40837 # else /* no _SC_PAGESIZE */
40838 #  if HAVE_SYS_PARAM_H
40839 #   include <sys/param.h>
40840 #   ifdef EXEC_PAGESIZE
40841 #    define getpagesize() EXEC_PAGESIZE
40842 #   else /* no EXEC_PAGESIZE */
40843 #    ifdef NBPG
40844 #     define getpagesize() NBPG * CLSIZE
40845 #     ifndef CLSIZE
40846 #      define CLSIZE 1
40847 #     endif /* no CLSIZE */
40848 #    else /* no NBPG */
40849 #     ifdef NBPC
40850 #      define getpagesize() NBPC
40851 #     else /* no NBPC */
40852 #      ifdef PAGESIZE
40853 #       define getpagesize() PAGESIZE
40854 #      endif /* PAGESIZE */
40855 #     endif /* no NBPC */
40856 #    endif /* no NBPG */
40857 #   endif /* no EXEC_PAGESIZE */
40858 #  else /* no HAVE_SYS_PARAM_H */
40859 #   define getpagesize() 8192   /* punt totally */
40860 #  endif /* no HAVE_SYS_PARAM_H */
40861 # endif /* no _SC_PAGESIZE */
40862
40863 #endif /* no HAVE_GETPAGESIZE */
40864
40865 int
40866 main ()
40867 {
40868   char *data, *data2, *data3;
40869   int i, pagesize;
40870   int fd;
40871
40872   pagesize = getpagesize ();
40873
40874   /* First, make a file with some known garbage in it. */
40875   data = (char *) malloc (pagesize);
40876   if (!data)
40877     exit (1);
40878   for (i = 0; i < pagesize; ++i)
40879     *(data + i) = rand ();
40880   umask (0);
40881   fd = creat ("conftest.mmap", 0600);
40882   if (fd < 0)
40883     exit (1);
40884   if (write (fd, data, pagesize) != pagesize)
40885     exit (1);
40886   close (fd);
40887
40888   /* Next, try to mmap the file at a fixed address which already has
40889      something else allocated at it.  If we can, also make sure that
40890      we see the same garbage.  */
40891   fd = open ("conftest.mmap", O_RDWR);
40892   if (fd < 0)
40893     exit (1);
40894   data2 = (char *) malloc (2 * pagesize);
40895   if (!data2)
40896     exit (1);
40897   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
40898   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40899                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
40900     exit (1);
40901   for (i = 0; i < pagesize; ++i)
40902     if (*(data + i) != *(data2 + i))
40903       exit (1);
40904
40905   /* Finally, make sure that changes to the mapped area do not
40906      percolate back to the file as seen by read().  (This is a bug on
40907      some variants of i386 svr4.0.)  */
40908   for (i = 0; i < pagesize; ++i)
40909     *(data2 + i) = *(data2 + i) + 1;
40910   data3 = (char *) malloc (pagesize);
40911   if (!data3)
40912     exit (1);
40913   if (read (fd, data3, pagesize) != pagesize)
40914     exit (1);
40915   for (i = 0; i < pagesize; ++i)
40916     if (*(data + i) != *(data3 + i))
40917       exit (1);
40918   close (fd);
40919   exit (0);
40920 }
40921 _ACEOF
40922 rm -f conftest$ac_exeext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40924   (eval $ac_link) 2>&5
40925   ac_status=$?
40926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40929   (eval $ac_try) 2>&5
40930   ac_status=$?
40931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932   (exit $ac_status); }; }; then
40933   ac_cv_func_mmap_fixed_mapped=yes
40934 else
40935   echo "$as_me: program exited with status $ac_status" >&5
40936 echo "$as_me: failed program was:" >&5
40937 sed 's/^/| /' conftest.$ac_ext >&5
40938
40939 ( exit $ac_status )
40940 ac_cv_func_mmap_fixed_mapped=no
40941 fi
40942 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40943 fi
40944 fi
40945 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40946 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
40947 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40948
40949 cat >>confdefs.h <<\_ACEOF
40950 #define HAVE_MMAP 1
40951 _ACEOF
40952
40953 fi
40954 rm -f conftest.mmap
40955
40956 fi
40957
40958   # For iconv support.
40959
40960       if test "X$prefix" = "XNONE"; then
40961     acl_final_prefix="$ac_default_prefix"
40962   else
40963     acl_final_prefix="$prefix"
40964   fi
40965   if test "X$exec_prefix" = "XNONE"; then
40966     acl_final_exec_prefix='${prefix}'
40967   else
40968     acl_final_exec_prefix="$exec_prefix"
40969   fi
40970   acl_save_prefix="$prefix"
40971   prefix="$acl_final_prefix"
40972   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40973   prefix="$acl_save_prefix"
40974
40975
40976 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40977 if test "${with_gnu_ld+set}" = set; then
40978   withval="$with_gnu_ld"
40979   test "$withval" = no || with_gnu_ld=yes
40980 else
40981   with_gnu_ld=no
40982 fi;
40983 # Prepare PATH_SEPARATOR.
40984 # The user is always right.
40985 if test "${PATH_SEPARATOR+set}" != set; then
40986   echo "#! /bin/sh" >conf$$.sh
40987   echo  "exit 0"   >>conf$$.sh
40988   chmod +x conf$$.sh
40989   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40990     PATH_SEPARATOR=';'
40991   else
40992     PATH_SEPARATOR=:
40993   fi
40994   rm -f conf$$.sh
40995 fi
40996 ac_prog=ld
40997 if test "$GCC" = yes; then
40998   # Check if gcc -print-prog-name=ld gives a path.
40999   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41000 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41001   case $host in
41002   *-*-mingw*)
41003     # gcc leaves a trailing carriage return which upsets mingw
41004     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41005   *)
41006     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41007   esac
41008   case $ac_prog in
41009     # Accept absolute paths.
41010     [\\/]* | [A-Za-z]:[\\/]*)
41011       re_direlt='/[^/][^/]*/\.\./'
41012       # Canonicalize the path of ld
41013       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41014       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41015         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41016       done
41017       test -z "$LD" && LD="$ac_prog"
41018       ;;
41019   "")
41020     # If it fails, then pretend we aren't using GCC.
41021     ac_prog=ld
41022     ;;
41023   *)
41024     # If it is relative, then search for the first ld in PATH.
41025     with_gnu_ld=unknown
41026     ;;
41027   esac
41028 elif test "$with_gnu_ld" = yes; then
41029   echo "$as_me:$LINENO: checking for GNU ld" >&5
41030 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41031 else
41032   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41033 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41034 fi
41035 if test "${acl_cv_path_LD+set}" = set; then
41036   echo $ECHO_N "(cached) $ECHO_C" >&6
41037 else
41038   if test -z "$LD"; then
41039   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41040   for ac_dir in $PATH; do
41041     test -z "$ac_dir" && ac_dir=.
41042     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41043       acl_cv_path_LD="$ac_dir/$ac_prog"
41044       # Check to see if the program is GNU ld.  I'd rather use --version,
41045       # but apparently some GNU ld's only accept -v.
41046       # Break only if it was the GNU/non-GNU ld that we prefer.
41047       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41048         test "$with_gnu_ld" != no && break
41049       else
41050         test "$with_gnu_ld" != yes && break
41051       fi
41052     fi
41053   done
41054   IFS="$ac_save_ifs"
41055 else
41056   acl_cv_path_LD="$LD" # Let the user override the test with a path.
41057 fi
41058 fi
41059
41060 LD="$acl_cv_path_LD"
41061 if test -n "$LD"; then
41062   echo "$as_me:$LINENO: result: $LD" >&5
41063 echo "${ECHO_T}$LD" >&6
41064 else
41065   echo "$as_me:$LINENO: result: no" >&5
41066 echo "${ECHO_T}no" >&6
41067 fi
41068 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41069 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41070    { (exit 1); exit 1; }; }
41071 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41072 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41073 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41074   echo $ECHO_N "(cached) $ECHO_C" >&6
41075 else
41076   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41077 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41078   acl_cv_prog_gnu_ld=yes
41079 else
41080   acl_cv_prog_gnu_ld=no
41081 fi
41082 fi
41083 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41084 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41085 with_gnu_ld=$acl_cv_prog_gnu_ld
41086
41087
41088
41089                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41090 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41091 if test "${acl_cv_rpath+set}" = set; then
41092   echo $ECHO_N "(cached) $ECHO_C" >&6
41093 else
41094
41095     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41096     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41097     . ./conftest.sh
41098     rm -f ./conftest.sh
41099     acl_cv_rpath=done
41100
41101 fi
41102 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41103 echo "${ECHO_T}$acl_cv_rpath" >&6
41104   wl="$acl_cv_wl"
41105   libext="$acl_cv_libext"
41106   shlibext="$acl_cv_shlibext"
41107   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41108   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41109   hardcode_direct="$acl_cv_hardcode_direct"
41110   hardcode_minus_L="$acl_cv_hardcode_minus_L"
41111     # Check whether --enable-rpath or --disable-rpath was given.
41112 if test "${enable_rpath+set}" = set; then
41113   enableval="$enable_rpath"
41114   :
41115 else
41116   enable_rpath=yes
41117 fi;
41118
41119
41120
41121
41122
41123
41124
41125     use_additional=yes
41126
41127   acl_save_prefix="$prefix"
41128   prefix="$acl_final_prefix"
41129   acl_save_exec_prefix="$exec_prefix"
41130   exec_prefix="$acl_final_exec_prefix"
41131
41132     eval additional_includedir=\"$includedir\"
41133     eval additional_libdir=\"$libdir\"
41134
41135   exec_prefix="$acl_save_exec_prefix"
41136   prefix="$acl_save_prefix"
41137
41138
41139 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41140 if test "${with_libiconv_prefix+set}" = set; then
41141   withval="$with_libiconv_prefix"
41142
41143     if test "X$withval" = "Xno"; then
41144       use_additional=no
41145     else
41146       if test "X$withval" = "X"; then
41147
41148   acl_save_prefix="$prefix"
41149   prefix="$acl_final_prefix"
41150   acl_save_exec_prefix="$exec_prefix"
41151   exec_prefix="$acl_final_exec_prefix"
41152
41153           eval additional_includedir=\"$includedir\"
41154           eval additional_libdir=\"$libdir\"
41155
41156   exec_prefix="$acl_save_exec_prefix"
41157   prefix="$acl_save_prefix"
41158
41159       else
41160         additional_includedir="$withval/include"
41161         additional_libdir="$withval/lib"
41162       fi
41163     fi
41164
41165 fi;
41166       LIBICONV=
41167   LTLIBICONV=
41168   INCICONV=
41169   rpathdirs=
41170   ltrpathdirs=
41171   names_already_handled=
41172   names_next_round='iconv '
41173   while test -n "$names_next_round"; do
41174     names_this_round="$names_next_round"
41175     names_next_round=
41176     for name in $names_this_round; do
41177       already_handled=
41178       for n in $names_already_handled; do
41179         if test "$n" = "$name"; then
41180           already_handled=yes
41181           break
41182         fi
41183       done
41184       if test -z "$already_handled"; then
41185         names_already_handled="$names_already_handled $name"
41186                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41187         eval value=\"\$HAVE_LIB$uppername\"
41188         if test -n "$value"; then
41189           if test "$value" = yes; then
41190             eval value=\"\$LIB$uppername\"
41191             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41192             eval value=\"\$LTLIB$uppername\"
41193             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41194           else
41195                                     :
41196           fi
41197         else
41198                               found_dir=
41199           found_la=
41200           found_so=
41201           found_a=
41202           if test $use_additional = yes; then
41203             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41204               found_dir="$additional_libdir"
41205               found_so="$additional_libdir/lib$name.$shlibext"
41206               if test -f "$additional_libdir/lib$name.la"; then
41207                 found_la="$additional_libdir/lib$name.la"
41208               fi
41209             else
41210               if test -f "$additional_libdir/lib$name.$libext"; then
41211                 found_dir="$additional_libdir"
41212                 found_a="$additional_libdir/lib$name.$libext"
41213                 if test -f "$additional_libdir/lib$name.la"; then
41214                   found_la="$additional_libdir/lib$name.la"
41215                 fi
41216               fi
41217             fi
41218           fi
41219           if test "X$found_dir" = "X"; then
41220             for x in $LDFLAGS $LTLIBICONV; do
41221
41222   acl_save_prefix="$prefix"
41223   prefix="$acl_final_prefix"
41224   acl_save_exec_prefix="$exec_prefix"
41225   exec_prefix="$acl_final_exec_prefix"
41226   eval x=\"$x\"
41227   exec_prefix="$acl_save_exec_prefix"
41228   prefix="$acl_save_prefix"
41229
41230               case "$x" in
41231                 -L*)
41232                   dir=`echo "X$x" | sed -e 's/^X-L//'`
41233                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41234                     found_dir="$dir"
41235                     found_so="$dir/lib$name.$shlibext"
41236                     if test -f "$dir/lib$name.la"; then
41237                       found_la="$dir/lib$name.la"
41238                     fi
41239                   else
41240                     if test -f "$dir/lib$name.$libext"; then
41241                       found_dir="$dir"
41242                       found_a="$dir/lib$name.$libext"
41243                       if test -f "$dir/lib$name.la"; then
41244                         found_la="$dir/lib$name.la"
41245                       fi
41246                     fi
41247                   fi
41248                   ;;
41249               esac
41250               if test "X$found_dir" != "X"; then
41251                 break
41252               fi
41253             done
41254           fi
41255           if test "X$found_dir" != "X"; then
41256                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41257             if test "X$found_so" != "X"; then
41258                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41259                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41260               else
41261                                                                                 haveit=
41262                 for x in $ltrpathdirs; do
41263                   if test "X$x" = "X$found_dir"; then
41264                     haveit=yes
41265                     break
41266                   fi
41267                 done
41268                 if test -z "$haveit"; then
41269                   ltrpathdirs="$ltrpathdirs $found_dir"
41270                 fi
41271                                 if test "$hardcode_direct" = yes; then
41272                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41273                 else
41274                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41275                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41276                                                             haveit=
41277                     for x in $rpathdirs; do
41278                       if test "X$x" = "X$found_dir"; then
41279                         haveit=yes
41280                         break
41281                       fi
41282                     done
41283                     if test -z "$haveit"; then
41284                       rpathdirs="$rpathdirs $found_dir"
41285                     fi
41286                   else
41287                                                                                 haveit=
41288                     for x in $LDFLAGS $LIBICONV; do
41289
41290   acl_save_prefix="$prefix"
41291   prefix="$acl_final_prefix"
41292   acl_save_exec_prefix="$exec_prefix"
41293   exec_prefix="$acl_final_exec_prefix"
41294   eval x=\"$x\"
41295   exec_prefix="$acl_save_exec_prefix"
41296   prefix="$acl_save_prefix"
41297
41298                       if test "X$x" = "X-L$found_dir"; then
41299                         haveit=yes
41300                         break
41301                       fi
41302                     done
41303                     if test -z "$haveit"; then
41304                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41305                     fi
41306                     if test "$hardcode_minus_L" != no; then
41307                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41308                     else
41309                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41310                     fi
41311                   fi
41312                 fi
41313               fi
41314             else
41315               if test "X$found_a" != "X"; then
41316                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41317               else
41318                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41319               fi
41320             fi
41321                         additional_includedir=
41322             case "$found_dir" in
41323               */lib | */lib/)
41324                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41325                 additional_includedir="$basedir/include"
41326                 ;;
41327             esac
41328             if test "X$additional_includedir" != "X"; then
41329                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
41330                 haveit=
41331                 if test "X$additional_includedir" = "X/usr/local/include"; then
41332                   if test -n "$GCC"; then
41333                     case $host_os in
41334                       linux*) haveit=yes;;
41335                     esac
41336                   fi
41337                 fi
41338                 if test -z "$haveit"; then
41339                   for x in $CPPFLAGS $INCICONV; do
41340
41341   acl_save_prefix="$prefix"
41342   prefix="$acl_final_prefix"
41343   acl_save_exec_prefix="$exec_prefix"
41344   exec_prefix="$acl_final_exec_prefix"
41345   eval x=\"$x\"
41346   exec_prefix="$acl_save_exec_prefix"
41347   prefix="$acl_save_prefix"
41348
41349                     if test "X$x" = "X-I$additional_includedir"; then
41350                       haveit=yes
41351                       break
41352                     fi
41353                   done
41354                   if test -z "$haveit"; then
41355                     if test -d "$additional_includedir"; then
41356                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41357                     fi
41358                   fi
41359                 fi
41360               fi
41361             fi
41362                         if test -n "$found_la"; then
41363                                                         save_libdir="$libdir"
41364               case "$found_la" in
41365                 */* | *\\*) . "$found_la" ;;
41366                 *) . "./$found_la" ;;
41367               esac
41368               libdir="$save_libdir"
41369                             for dep in $dependency_libs; do
41370                 case "$dep" in
41371                   -L*)
41372                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41373                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
41374                       haveit=
41375                       if test "X$additional_libdir" = "X/usr/local/lib"; then
41376                         if test -n "$GCC"; then
41377                           case $host_os in
41378                             linux*) haveit=yes;;
41379                           esac
41380                         fi
41381                       fi
41382                       if test -z "$haveit"; then
41383                         haveit=
41384                         for x in $LDFLAGS $LIBICONV; do
41385
41386   acl_save_prefix="$prefix"
41387   prefix="$acl_final_prefix"
41388   acl_save_exec_prefix="$exec_prefix"
41389   exec_prefix="$acl_final_exec_prefix"
41390   eval x=\"$x\"
41391   exec_prefix="$acl_save_exec_prefix"
41392   prefix="$acl_save_prefix"
41393
41394                           if test "X$x" = "X-L$additional_libdir"; then
41395                             haveit=yes
41396                             break
41397                           fi
41398                         done
41399                         if test -z "$haveit"; then
41400                           if test -d "$additional_libdir"; then
41401                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41402                           fi
41403                         fi
41404                         haveit=
41405                         for x in $LDFLAGS $LTLIBICONV; do
41406
41407   acl_save_prefix="$prefix"
41408   prefix="$acl_final_prefix"
41409   acl_save_exec_prefix="$exec_prefix"
41410   exec_prefix="$acl_final_exec_prefix"
41411   eval x=\"$x\"
41412   exec_prefix="$acl_save_exec_prefix"
41413   prefix="$acl_save_prefix"
41414
41415                           if test "X$x" = "X-L$additional_libdir"; then
41416                             haveit=yes
41417                             break
41418                           fi
41419                         done
41420                         if test -z "$haveit"; then
41421                           if test -d "$additional_libdir"; then
41422                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41423                           fi
41424                         fi
41425                       fi
41426                     fi
41427                     ;;
41428                   -R*)
41429                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
41430                     if test "$enable_rpath" != no; then
41431                                                                   haveit=
41432                       for x in $rpathdirs; do
41433                         if test "X$x" = "X$dir"; then
41434                           haveit=yes
41435                           break
41436                         fi
41437                       done
41438                       if test -z "$haveit"; then
41439                         rpathdirs="$rpathdirs $dir"
41440                       fi
41441                                                                   haveit=
41442                       for x in $ltrpathdirs; do
41443                         if test "X$x" = "X$dir"; then
41444                           haveit=yes
41445                           break
41446                         fi
41447                       done
41448                       if test -z "$haveit"; then
41449                         ltrpathdirs="$ltrpathdirs $dir"
41450                       fi
41451                     fi
41452                     ;;
41453                   -l*)
41454                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41455                     ;;
41456                   *.la)
41457                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41458                     ;;
41459                   *)
41460                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41461                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41462                     ;;
41463                 esac
41464               done
41465             fi
41466           else
41467                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41468             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41469           fi
41470         fi
41471       fi
41472     done
41473   done
41474   if test "X$rpathdirs" != "X"; then
41475     if test -n "$hardcode_libdir_separator"; then
41476                         alldirs=
41477       for found_dir in $rpathdirs; do
41478         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41479       done
41480             acl_save_libdir="$libdir"
41481       libdir="$alldirs"
41482       eval flag=\"$hardcode_libdir_flag_spec\"
41483       libdir="$acl_save_libdir"
41484       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41485     else
41486             for found_dir in $rpathdirs; do
41487         acl_save_libdir="$libdir"
41488         libdir="$found_dir"
41489         eval flag=\"$hardcode_libdir_flag_spec\"
41490         libdir="$acl_save_libdir"
41491         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41492       done
41493     fi
41494   fi
41495   if test "X$ltrpathdirs" != "X"; then
41496             for found_dir in $ltrpathdirs; do
41497       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41498     done
41499   fi
41500
41501
41502
41503
41504
41505
41506
41507           am_save_CPPFLAGS="$CPPFLAGS"
41508
41509   for element in $INCICONV; do
41510     haveit=
41511     for x in $CPPFLAGS; do
41512
41513   acl_save_prefix="$prefix"
41514   prefix="$acl_final_prefix"
41515   acl_save_exec_prefix="$exec_prefix"
41516   exec_prefix="$acl_final_exec_prefix"
41517   eval x=\"$x\"
41518   exec_prefix="$acl_save_exec_prefix"
41519   prefix="$acl_save_prefix"
41520
41521       if test "X$x" = "X$element"; then
41522         haveit=yes
41523         break
41524       fi
41525     done
41526     if test -z "$haveit"; then
41527       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41528     fi
41529   done
41530
41531
41532   echo "$as_me:$LINENO: checking for iconv" >&5
41533 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41534 if test "${am_cv_func_iconv+set}" = set; then
41535   echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537
41538     am_cv_func_iconv="no, consider installing GNU libiconv"
41539     am_cv_lib_iconv=no
41540     if test x$gcc_no_link = xyes; then
41541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41543    { (exit 1); exit 1; }; }
41544 fi
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h.  */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h.  */
41551 #include <stdlib.h>
41552 #include <iconv.h>
41553 int
41554 main ()
41555 {
41556 iconv_t cd = iconv_open("","");
41557        iconv(cd,NULL,NULL,NULL,NULL);
41558        iconv_close(cd);
41559   ;
41560   return 0;
41561 }
41562 _ACEOF
41563 rm -f conftest.$ac_objext conftest$ac_exeext
41564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41565   (eval $ac_link) 2>conftest.er1
41566   ac_status=$?
41567   grep -v '^ *+' conftest.er1 >conftest.err
41568   rm -f conftest.er1
41569   cat conftest.err >&5
41570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571   (exit $ac_status); } &&
41572          { ac_try='test -z "$ac_c_werror_flag"
41573                          || test ! -s conftest.err'
41574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575   (eval $ac_try) 2>&5
41576   ac_status=$?
41577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578   (exit $ac_status); }; } &&
41579          { ac_try='test -s conftest$ac_exeext'
41580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41581   (eval $ac_try) 2>&5
41582   ac_status=$?
41583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584   (exit $ac_status); }; }; then
41585   am_cv_func_iconv=yes
41586 else
41587   echo "$as_me: failed program was:" >&5
41588 sed 's/^/| /' conftest.$ac_ext >&5
41589
41590 fi
41591 rm -f conftest.err conftest.$ac_objext \
41592       conftest$ac_exeext conftest.$ac_ext
41593     if test "$am_cv_func_iconv" != yes; then
41594       am_save_LIBS="$LIBS"
41595       LIBS="$LIBS $LIBICONV"
41596       if test x$gcc_no_link = xyes; then
41597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41599    { (exit 1); exit 1; }; }
41600 fi
41601 cat >conftest.$ac_ext <<_ACEOF
41602 /* confdefs.h.  */
41603 _ACEOF
41604 cat confdefs.h >>conftest.$ac_ext
41605 cat >>conftest.$ac_ext <<_ACEOF
41606 /* end confdefs.h.  */
41607 #include <stdlib.h>
41608 #include <iconv.h>
41609 int
41610 main ()
41611 {
41612 iconv_t cd = iconv_open("","");
41613          iconv(cd,NULL,NULL,NULL,NULL);
41614          iconv_close(cd);
41615   ;
41616   return 0;
41617 }
41618 _ACEOF
41619 rm -f conftest.$ac_objext conftest$ac_exeext
41620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41621   (eval $ac_link) 2>conftest.er1
41622   ac_status=$?
41623   grep -v '^ *+' conftest.er1 >conftest.err
41624   rm -f conftest.er1
41625   cat conftest.err >&5
41626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627   (exit $ac_status); } &&
41628          { ac_try='test -z "$ac_c_werror_flag"
41629                          || test ! -s conftest.err'
41630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41631   (eval $ac_try) 2>&5
41632   ac_status=$?
41633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41634   (exit $ac_status); }; } &&
41635          { ac_try='test -s conftest$ac_exeext'
41636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41637   (eval $ac_try) 2>&5
41638   ac_status=$?
41639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41640   (exit $ac_status); }; }; then
41641   am_cv_lib_iconv=yes
41642         am_cv_func_iconv=yes
41643 else
41644   echo "$as_me: failed program was:" >&5
41645 sed 's/^/| /' conftest.$ac_ext >&5
41646
41647 fi
41648 rm -f conftest.err conftest.$ac_objext \
41649       conftest$ac_exeext conftest.$ac_ext
41650       LIBS="$am_save_LIBS"
41651     fi
41652
41653 fi
41654 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41655 echo "${ECHO_T}$am_cv_func_iconv" >&6
41656   if test "$am_cv_func_iconv" = yes; then
41657
41658 cat >>confdefs.h <<\_ACEOF
41659 #define HAVE_ICONV 1
41660 _ACEOF
41661
41662   fi
41663   if test "$am_cv_lib_iconv" = yes; then
41664     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41665 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41666     echo "$as_me:$LINENO: result: $LIBICONV" >&5
41667 echo "${ECHO_T}$LIBICONV" >&6
41668   else
41669             CPPFLAGS="$am_save_CPPFLAGS"
41670     LIBICONV=
41671     LTLIBICONV=
41672   fi
41673
41674
41675
41676   if test "$am_cv_func_iconv" = yes; then
41677     echo "$as_me:$LINENO: checking for iconv declaration" >&5
41678 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41679     if test "${am_cv_proto_iconv+set}" = set; then
41680   echo $ECHO_N "(cached) $ECHO_C" >&6
41681 else
41682
41683       cat >conftest.$ac_ext <<_ACEOF
41684 /* confdefs.h.  */
41685 _ACEOF
41686 cat confdefs.h >>conftest.$ac_ext
41687 cat >>conftest.$ac_ext <<_ACEOF
41688 /* end confdefs.h.  */
41689
41690 #include <stdlib.h>
41691 #include <iconv.h>
41692 extern
41693 #ifdef __cplusplus
41694 "C"
41695 #endif
41696 #if defined(__STDC__) || defined(__cplusplus)
41697 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41698 #else
41699 size_t iconv();
41700 #endif
41701
41702 int
41703 main ()
41704 {
41705
41706   ;
41707   return 0;
41708 }
41709 _ACEOF
41710 rm -f conftest.$ac_objext
41711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41712   (eval $ac_compile) 2>conftest.er1
41713   ac_status=$?
41714   grep -v '^ *+' conftest.er1 >conftest.err
41715   rm -f conftest.er1
41716   cat conftest.err >&5
41717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718   (exit $ac_status); } &&
41719          { ac_try='test -z "$ac_c_werror_flag"
41720                          || test ! -s conftest.err'
41721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41722   (eval $ac_try) 2>&5
41723   ac_status=$?
41724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725   (exit $ac_status); }; } &&
41726          { ac_try='test -s conftest.$ac_objext'
41727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41728   (eval $ac_try) 2>&5
41729   ac_status=$?
41730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731   (exit $ac_status); }; }; then
41732   am_cv_proto_iconv_arg1=""
41733 else
41734   echo "$as_me: failed program was:" >&5
41735 sed 's/^/| /' conftest.$ac_ext >&5
41736
41737 am_cv_proto_iconv_arg1="const"
41738 fi
41739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41740       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);"
41741 fi
41742
41743     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41744     echo "$as_me:$LINENO: result: ${ac_t:-
41745          }$am_cv_proto_iconv" >&5
41746 echo "${ECHO_T}${ac_t:-
41747          }$am_cv_proto_iconv" >&6
41748
41749 cat >>confdefs.h <<_ACEOF
41750 #define ICONV_CONST $am_cv_proto_iconv_arg1
41751 _ACEOF
41752
41753   fi
41754
41755
41756 else
41757
41758   # This lets us hard-code the functionality we know we'll have in the cross
41759   # target environment.  "Let" is a sugar-coated word placed on an especially
41760   # dull and tedious hack, actually.
41761   #
41762   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41763   # that involve linking, can't be used:
41764   #    "cannot open sim-crt0.o"
41765   #    "cannot open crt0.o"
41766   # etc.  All this is because there currently exists no unified, consistent
41767   # way for top level CC information to be passed down to target directories:
41768   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41769   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41770   # crosses can be removed.
41771
41772   # If Canadian cross, then don't pick up tools from the build directory.
41773   # Used only in GLIBCXX_EXPORT_INCLUDES.
41774   if test -n "$with_cross_host" &&
41775      test x"$build_alias" != x"$with_cross_host" &&
41776      test x"$build" != x"$target";
41777   then
41778     CANADIAN=yes
41779   else
41780     CANADIAN=no
41781   fi
41782
41783   # Construct crosses by hand, eliminating bits that need ld...
41784   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41785   # GLIBCXX_CHECK_MATH_SUPPORT
41786
41787   # First, test for "known" system libraries.  We may be using newlib even
41788   # on a hosted environment.
41789   if test "x${with_newlib}" = "xyes"; then
41790     os_include_dir="os/newlib"
41791     cat >>confdefs.h <<\_ACEOF
41792 #define HAVE_HYPOT 1
41793 _ACEOF
41794
41795
41796     # GLIBCXX_CHECK_STDLIB_SUPPORT
41797     cat >>confdefs.h <<\_ACEOF
41798 #define HAVE_STRTOF 1
41799 _ACEOF
41800
41801     # AC_FUNC_MMAP
41802     cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_MMAP 1
41804 _ACEOF
41805
41806
41807     cat >>confdefs.h <<\_ACEOF
41808 #define HAVE_ACOSF 1
41809 _ACEOF
41810
41811     cat >>confdefs.h <<\_ACEOF
41812 #define HAVE_ASINF 1
41813 _ACEOF
41814
41815     cat >>confdefs.h <<\_ACEOF
41816 #define HAVE_ATAN2F 1
41817 _ACEOF
41818
41819     cat >>confdefs.h <<\_ACEOF
41820 #define HAVE_ATANF 1
41821 _ACEOF
41822
41823     cat >>confdefs.h <<\_ACEOF
41824 #define HAVE_CEILF 1
41825 _ACEOF
41826
41827     cat >>confdefs.h <<\_ACEOF
41828 #define HAVE_COPYSIGN 1
41829 _ACEOF
41830
41831     cat >>confdefs.h <<\_ACEOF
41832 #define HAVE_COPYSIGNF 1
41833 _ACEOF
41834
41835     cat >>confdefs.h <<\_ACEOF
41836 #define HAVE_COSF 1
41837 _ACEOF
41838
41839     cat >>confdefs.h <<\_ACEOF
41840 #define HAVE_COSHF 1
41841 _ACEOF
41842
41843     cat >>confdefs.h <<\_ACEOF
41844 #define HAVE_EXPF 1
41845 _ACEOF
41846
41847     cat >>confdefs.h <<\_ACEOF
41848 #define HAVE_FABSF 1
41849 _ACEOF
41850
41851     cat >>confdefs.h <<\_ACEOF
41852 #define HAVE_FLOORF 1
41853 _ACEOF
41854
41855     cat >>confdefs.h <<\_ACEOF
41856 #define HAVE_FMODF 1
41857 _ACEOF
41858
41859     cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_FREXPF 1
41861 _ACEOF
41862
41863     cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_LDEXPF 1
41865 _ACEOF
41866
41867     cat >>confdefs.h <<\_ACEOF
41868 #define HAVE_LOG10F 1
41869 _ACEOF
41870
41871     cat >>confdefs.h <<\_ACEOF
41872 #define HAVE_LOGF 1
41873 _ACEOF
41874
41875     cat >>confdefs.h <<\_ACEOF
41876 #define HAVE_MODFF 1
41877 _ACEOF
41878
41879     cat >>confdefs.h <<\_ACEOF
41880 #define HAVE_POWF 1
41881 _ACEOF
41882
41883     cat >>confdefs.h <<\_ACEOF
41884 #define HAVE_SINF 1
41885 _ACEOF
41886
41887     cat >>confdefs.h <<\_ACEOF
41888 #define HAVE_SINHF 1
41889 _ACEOF
41890
41891     cat >>confdefs.h <<\_ACEOF
41892 #define HAVE_SQRTF 1
41893 _ACEOF
41894
41895     cat >>confdefs.h <<\_ACEOF
41896 #define HAVE_TANF 1
41897 _ACEOF
41898
41899     cat >>confdefs.h <<\_ACEOF
41900 #define HAVE_TANHF 1
41901 _ACEOF
41902
41903
41904     cat >>confdefs.h <<\_ACEOF
41905 #define HAVE_S_ISREG 1
41906 _ACEOF
41907
41908     cat >>confdefs.h <<\_ACEOF
41909 #define HAVE_S_IFREG 1
41910 _ACEOF
41911
41912
41913     cat >>confdefs.h <<\_ACEOF
41914 #define HAVE_ICONV 1
41915 _ACEOF
41916
41917   else
41918
41919 # Base decisions on target environment.
41920 case "${host}" in
41921   arm*-*-symbianelf*)
41922     # This is a freestanding configuration; there is nothing to do here.
41923     ;;
41924
41925   mips*-sde-elf*)
41926     # These definitions are for the SDE C library rather than newlib.
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942 for ac_header in float.h inttypes.h locale.h \
41943       stdint.h stdlib.h string.h unistd.h wchar.h \
41944       machine/endian.h sys/ioctl.h sys/resource.h \
41945       sys/stat.h sys/time.h sys/types.h sys/uio.h
41946 do
41947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41949   echo "$as_me:$LINENO: checking for $ac_header" >&5
41950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41952   echo $ECHO_N "(cached) $ECHO_C" >&6
41953 fi
41954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41956 else
41957   # Is the header compilable?
41958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41960 cat >conftest.$ac_ext <<_ACEOF
41961 /* confdefs.h.  */
41962 _ACEOF
41963 cat confdefs.h >>conftest.$ac_ext
41964 cat >>conftest.$ac_ext <<_ACEOF
41965 /* end confdefs.h.  */
41966 $ac_includes_default
41967 #include <$ac_header>
41968 _ACEOF
41969 rm -f conftest.$ac_objext
41970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41971   (eval $ac_compile) 2>conftest.er1
41972   ac_status=$?
41973   grep -v '^ *+' conftest.er1 >conftest.err
41974   rm -f conftest.er1
41975   cat conftest.err >&5
41976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977   (exit $ac_status); } &&
41978          { ac_try='test -z "$ac_c_werror_flag"
41979                          || test ! -s conftest.err'
41980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41981   (eval $ac_try) 2>&5
41982   ac_status=$?
41983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984   (exit $ac_status); }; } &&
41985          { ac_try='test -s conftest.$ac_objext'
41986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41987   (eval $ac_try) 2>&5
41988   ac_status=$?
41989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41990   (exit $ac_status); }; }; then
41991   ac_header_compiler=yes
41992 else
41993   echo "$as_me: failed program was:" >&5
41994 sed 's/^/| /' conftest.$ac_ext >&5
41995
41996 ac_header_compiler=no
41997 fi
41998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42000 echo "${ECHO_T}$ac_header_compiler" >&6
42001
42002 # Is the header present?
42003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42005 cat >conftest.$ac_ext <<_ACEOF
42006 /* confdefs.h.  */
42007 _ACEOF
42008 cat confdefs.h >>conftest.$ac_ext
42009 cat >>conftest.$ac_ext <<_ACEOF
42010 /* end confdefs.h.  */
42011 #include <$ac_header>
42012 _ACEOF
42013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42014   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42015   ac_status=$?
42016   grep -v '^ *+' conftest.er1 >conftest.err
42017   rm -f conftest.er1
42018   cat conftest.err >&5
42019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020   (exit $ac_status); } >/dev/null; then
42021   if test -s conftest.err; then
42022     ac_cpp_err=$ac_c_preproc_warn_flag
42023     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42024   else
42025     ac_cpp_err=
42026   fi
42027 else
42028   ac_cpp_err=yes
42029 fi
42030 if test -z "$ac_cpp_err"; then
42031   ac_header_preproc=yes
42032 else
42033   echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42035
42036   ac_header_preproc=no
42037 fi
42038 rm -f conftest.err conftest.$ac_ext
42039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42040 echo "${ECHO_T}$ac_header_preproc" >&6
42041
42042 # So?  What about this header?
42043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42044   yes:no: )
42045     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42047     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42049     ac_header_preproc=yes
42050     ;;
42051   no:yes:* )
42052     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42054     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42055 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42056     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42058     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42059 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42060     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42062     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42064     (
42065       cat <<\_ASBOX
42066 ## ----------------------------------------- ##
42067 ## Report this to the package-unused lists.  ##
42068 ## ----------------------------------------- ##
42069 _ASBOX
42070     ) |
42071       sed "s/^/$as_me: WARNING:     /" >&2
42072     ;;
42073 esac
42074 echo "$as_me:$LINENO: checking for $ac_header" >&5
42075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42077   echo $ECHO_N "(cached) $ECHO_C" >&6
42078 else
42079   eval "$as_ac_Header=\$ac_header_preproc"
42080 fi
42081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42083
42084 fi
42085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42086   cat >>confdefs.h <<_ACEOF
42087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42088 _ACEOF
42089
42090 fi
42091
42092 done
42093
42094     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42095
42096
42097   # All these tests are for C++; save the language and the compiler flags.
42098   # The CXXFLAGS thing is suspicious, but based on similar bits previously
42099   # found in GLIBCXX_CONFIGURE.
42100
42101
42102   ac_ext=cc
42103 ac_cpp='$CXXCPP $CPPFLAGS'
42104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42107
42108   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42109   ac_save_CXXFLAGS="$CXXFLAGS"
42110
42111   # Check for maintainer-mode bits.
42112   if test x"$USE_MAINTAINER_MODE" = xno; then
42113     WERROR=''
42114   else
42115     WERROR='-Werror'
42116   fi
42117
42118   # Check for -ffunction-sections -fdata-sections
42119   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42120 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42121   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42122   cat >conftest.$ac_ext <<_ACEOF
42123 /* confdefs.h.  */
42124 _ACEOF
42125 cat confdefs.h >>conftest.$ac_ext
42126 cat >>conftest.$ac_ext <<_ACEOF
42127 /* end confdefs.h.  */
42128 int foo; void bar() { };
42129 int
42130 main ()
42131 {
42132
42133   ;
42134   return 0;
42135 }
42136 _ACEOF
42137 rm -f conftest.$ac_objext
42138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42139   (eval $ac_compile) 2>conftest.er1
42140   ac_status=$?
42141   grep -v '^ *+' conftest.er1 >conftest.err
42142   rm -f conftest.er1
42143   cat conftest.err >&5
42144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145   (exit $ac_status); } &&
42146          { ac_try='test -z "$ac_cxx_werror_flag"
42147                          || test ! -s conftest.err'
42148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42149   (eval $ac_try) 2>&5
42150   ac_status=$?
42151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42152   (exit $ac_status); }; } &&
42153          { ac_try='test -s conftest.$ac_objext'
42154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42155   (eval $ac_try) 2>&5
42156   ac_status=$?
42157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158   (exit $ac_status); }; }; then
42159   ac_fdsections=yes
42160 else
42161   echo "$as_me: failed program was:" >&5
42162 sed 's/^/| /' conftest.$ac_ext >&5
42163
42164 ac_fdsections=no
42165 fi
42166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42167   if test "$ac_test_CXXFLAGS" = set; then
42168     CXXFLAGS="$ac_save_CXXFLAGS"
42169   else
42170     # this is the suspicious part
42171     CXXFLAGS=''
42172   fi
42173   if test x"$ac_fdsections" = x"yes"; then
42174     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42175   fi
42176   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42177 echo "${ECHO_T}$ac_fdsections" >&6
42178
42179   ac_ext=c
42180 ac_cpp='$CPP $CPPFLAGS'
42181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42184
42185
42186
42187
42188
42189   # If we're not using GNU ld, then there's no point in even trying these
42190   # tests.  Check for that first.  We should have already tested for gld
42191   # by now (in libtool), but require it now just to be safe...
42192   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42193   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42194
42195
42196
42197   # The name set by libtool depends on the version of libtool.  Shame on us
42198   # for depending on an impl detail, but c'est la vie.  Older versions used
42199   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42200   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42201   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
42202   # set (hence we're using an older libtool), then set it.
42203   if test x${with_gnu_ld+set} != xset; then
42204     if test x${ac_cv_prog_gnu_ld+set} != xset; then
42205       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
42206       with_gnu_ld=no
42207     else
42208       with_gnu_ld=$ac_cv_prog_gnu_ld
42209     fi
42210   fi
42211
42212   # Start by getting the version number.  I think the libtool test already
42213   # does some of this, but throws away the result.
42214   if test x"$with_gnu_ld" = x"yes"; then
42215     echo "$as_me:$LINENO: checking for ld version" >&5
42216 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42217
42218     ldver=`$LD --version 2>/dev/null | head -1 | \
42219            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42220
42221     glibcxx_gnu_ld_version=`echo $ldver | \
42222            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42223     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42224 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42225   fi
42226
42227   # Set --gc-sections.
42228   glibcxx_gcsections_min_ld=21602
42229   if test x"$with_gnu_ld" = x"yes" &&
42230         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42231
42232     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
42233     # NB: This flag only works reliably after 2.16.1. Configure tests
42234     # for this are difficult, so hard wire a value that should work.
42235
42236     ac_test_CFLAGS="${CFLAGS+set}"
42237     ac_save_CFLAGS="$CFLAGS"
42238     CFLAGS='-Wl,--gc-sections'
42239
42240     # Check for -Wl,--gc-sections
42241     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42242 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42243     if test x$gcc_no_link = xyes; then
42244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42246    { (exit 1); exit 1; }; }
42247 fi
42248 cat >conftest.$ac_ext <<_ACEOF
42249 /* confdefs.h.  */
42250 _ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h.  */
42254  int one(void) { return 1; }
42255      int two(void) { return 2; }
42256
42257 int
42258 main ()
42259 {
42260  two();
42261   ;
42262   return 0;
42263 }
42264 _ACEOF
42265 rm -f conftest.$ac_objext conftest$ac_exeext
42266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42267   (eval $ac_link) 2>conftest.er1
42268   ac_status=$?
42269   grep -v '^ *+' conftest.er1 >conftest.err
42270   rm -f conftest.er1
42271   cat conftest.err >&5
42272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273   (exit $ac_status); } &&
42274          { ac_try='test -z "$ac_c_werror_flag"
42275                          || test ! -s conftest.err'
42276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42277   (eval $ac_try) 2>&5
42278   ac_status=$?
42279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42280   (exit $ac_status); }; } &&
42281          { ac_try='test -s conftest$ac_exeext'
42282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42283   (eval $ac_try) 2>&5
42284   ac_status=$?
42285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286   (exit $ac_status); }; }; then
42287   ac_gcsections=yes
42288 else
42289   echo "$as_me: failed program was:" >&5
42290 sed 's/^/| /' conftest.$ac_ext >&5
42291
42292 ac_gcsections=no
42293 fi
42294 rm -f conftest.err conftest.$ac_objext \
42295       conftest$ac_exeext conftest.$ac_ext
42296     if test "$ac_gcsections" = "yes"; then
42297       rm -f conftest.c
42298       touch conftest.c
42299       if $CC -c conftest.c; then
42300         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42301            grep "Warning: gc-sections option ignored" > /dev/null; then
42302           ac_gcsections=no
42303         fi
42304       fi
42305       rm -f conftest.c conftest.o conftest
42306     fi
42307     if test "$ac_gcsections" = "yes"; then
42308       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42309     fi
42310     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42311 echo "${ECHO_T}$ac_gcsections" >&6
42312
42313     if test "$ac_test_CFLAGS" = set; then
42314       CFLAGS="$ac_save_CFLAGS"
42315     else
42316       # this is the suspicious part
42317       CFLAGS=''
42318     fi
42319   fi
42320
42321   # Set -z,relro.
42322   # Note this is only for shared objects.
42323   ac_ld_relro=no
42324   if test x"$with_gnu_ld" = x"yes"; then
42325     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42326 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42327     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42328     if test -n "$cxx_z_relo"; then
42329       OPT_LDFLAGS="-Wl,-z,relro"
42330       ac_ld_relro=yes
42331     fi
42332     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42333 echo "${ECHO_T}$ac_ld_relro" >&6
42334   fi
42335
42336   # Set linker optimization flags.
42337   if test x"$with_gnu_ld" = x"yes"; then
42338     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42339   fi
42340
42341
42342
42343
42344
42345   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42346   ac_save_CXXFLAGS="$CXXFLAGS"
42347   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42348
42349     echo "$as_me:$LINENO: checking for sin in -lm" >&5
42350 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42351 if test "${ac_cv_lib_m_sin+set}" = set; then
42352   echo $ECHO_N "(cached) $ECHO_C" >&6
42353 else
42354   ac_check_lib_save_LIBS=$LIBS
42355 LIBS="-lm  $LIBS"
42356 if test x$gcc_no_link = xyes; then
42357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42359    { (exit 1); exit 1; }; }
42360 fi
42361 cat >conftest.$ac_ext <<_ACEOF
42362 /* confdefs.h.  */
42363 _ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h.  */
42367
42368 /* Override any gcc2 internal prototype to avoid an error.  */
42369 #ifdef __cplusplus
42370 extern "C"
42371 #endif
42372 /* We use char because int might match the return type of a gcc2
42373    builtin and then its argument prototype would still apply.  */
42374 char sin ();
42375 int
42376 main ()
42377 {
42378 sin ();
42379   ;
42380   return 0;
42381 }
42382 _ACEOF
42383 rm -f conftest.$ac_objext conftest$ac_exeext
42384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42385   (eval $ac_link) 2>conftest.er1
42386   ac_status=$?
42387   grep -v '^ *+' conftest.er1 >conftest.err
42388   rm -f conftest.er1
42389   cat conftest.err >&5
42390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391   (exit $ac_status); } &&
42392          { ac_try='test -z "$ac_c_werror_flag"
42393                          || test ! -s conftest.err'
42394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42395   (eval $ac_try) 2>&5
42396   ac_status=$?
42397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42398   (exit $ac_status); }; } &&
42399          { ac_try='test -s conftest$ac_exeext'
42400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401   (eval $ac_try) 2>&5
42402   ac_status=$?
42403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404   (exit $ac_status); }; }; then
42405   ac_cv_lib_m_sin=yes
42406 else
42407   echo "$as_me: failed program was:" >&5
42408 sed 's/^/| /' conftest.$ac_ext >&5
42409
42410 ac_cv_lib_m_sin=no
42411 fi
42412 rm -f conftest.err conftest.$ac_objext \
42413       conftest$ac_exeext conftest.$ac_ext
42414 LIBS=$ac_check_lib_save_LIBS
42415 fi
42416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42417 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42418 if test $ac_cv_lib_m_sin = yes; then
42419   libm="-lm"
42420 fi
42421
42422   ac_save_LIBS="$LIBS"
42423   LIBS="$LIBS $libm"
42424
42425
42426
42427   echo "$as_me:$LINENO: checking for isinf declaration" >&5
42428 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42429   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42430     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42431   echo $ECHO_N "(cached) $ECHO_C" >&6
42432 else
42433
42434
42435
42436       ac_ext=cc
42437 ac_cpp='$CXXCPP $CPPFLAGS'
42438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42441
42442       cat >conftest.$ac_ext <<_ACEOF
42443 /* confdefs.h.  */
42444 _ACEOF
42445 cat confdefs.h >>conftest.$ac_ext
42446 cat >>conftest.$ac_ext <<_ACEOF
42447 /* end confdefs.h.  */
42448 #include <math.h>
42449                       #ifdef HAVE_IEEEFP_H
42450                       #include <ieeefp.h>
42451                       #endif
42452
42453 int
42454 main ()
42455 {
42456  isinf(0);
42457   ;
42458   return 0;
42459 }
42460 _ACEOF
42461 rm -f conftest.$ac_objext
42462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42463   (eval $ac_compile) 2>conftest.er1
42464   ac_status=$?
42465   grep -v '^ *+' conftest.er1 >conftest.err
42466   rm -f conftest.er1
42467   cat conftest.err >&5
42468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42469   (exit $ac_status); } &&
42470          { ac_try='test -z "$ac_cxx_werror_flag"
42471                          || test ! -s conftest.err'
42472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42473   (eval $ac_try) 2>&5
42474   ac_status=$?
42475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476   (exit $ac_status); }; } &&
42477          { ac_try='test -s conftest.$ac_objext'
42478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42479   (eval $ac_try) 2>&5
42480   ac_status=$?
42481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42482   (exit $ac_status); }; }; then
42483   glibcxx_cv_func_isinf_use=yes
42484 else
42485   echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42487
42488 glibcxx_cv_func_isinf_use=no
42489 fi
42490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42491       ac_ext=c
42492 ac_cpp='$CPP $CPPFLAGS'
42493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42496
42497
42498 fi
42499
42500   fi
42501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42502 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42503
42504   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42505
42506 for ac_func in isinf
42507 do
42508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42509 echo "$as_me:$LINENO: checking for $ac_func" >&5
42510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42511 if eval "test \"\${$as_ac_var+set}\" = set"; then
42512   echo $ECHO_N "(cached) $ECHO_C" >&6
42513 else
42514   if test x$gcc_no_link = xyes; then
42515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42517    { (exit 1); exit 1; }; }
42518 fi
42519 cat >conftest.$ac_ext <<_ACEOF
42520 /* confdefs.h.  */
42521 _ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h.  */
42525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42527 #define $ac_func innocuous_$ac_func
42528
42529 /* System header to define __stub macros and hopefully few prototypes,
42530     which can conflict with char $ac_func (); below.
42531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42532     <limits.h> exists even on freestanding compilers.  */
42533
42534 #ifdef __STDC__
42535 # include <limits.h>
42536 #else
42537 # include <assert.h>
42538 #endif
42539
42540 #undef $ac_func
42541
42542 /* Override any gcc2 internal prototype to avoid an error.  */
42543 #ifdef __cplusplus
42544 extern "C"
42545 {
42546 #endif
42547 /* We use char because int might match the return type of a gcc2
42548    builtin and then its argument prototype would still apply.  */
42549 char $ac_func ();
42550 /* The GNU C library defines this for functions which it implements
42551     to always fail with ENOSYS.  Some functions are actually named
42552     something starting with __ and the normal name is an alias.  */
42553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42554 choke me
42555 #else
42556 char (*f) () = $ac_func;
42557 #endif
42558 #ifdef __cplusplus
42559 }
42560 #endif
42561
42562 int
42563 main ()
42564 {
42565 return f != $ac_func;
42566   ;
42567   return 0;
42568 }
42569 _ACEOF
42570 rm -f conftest.$ac_objext conftest$ac_exeext
42571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42572   (eval $ac_link) 2>conftest.er1
42573   ac_status=$?
42574   grep -v '^ *+' conftest.er1 >conftest.err
42575   rm -f conftest.er1
42576   cat conftest.err >&5
42577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578   (exit $ac_status); } &&
42579          { ac_try='test -z "$ac_c_werror_flag"
42580                          || test ! -s conftest.err'
42581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42582   (eval $ac_try) 2>&5
42583   ac_status=$?
42584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585   (exit $ac_status); }; } &&
42586          { ac_try='test -s conftest$ac_exeext'
42587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42588   (eval $ac_try) 2>&5
42589   ac_status=$?
42590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42591   (exit $ac_status); }; }; then
42592   eval "$as_ac_var=yes"
42593 else
42594   echo "$as_me: failed program was:" >&5
42595 sed 's/^/| /' conftest.$ac_ext >&5
42596
42597 eval "$as_ac_var=no"
42598 fi
42599 rm -f conftest.err conftest.$ac_objext \
42600       conftest$ac_exeext conftest.$ac_ext
42601 fi
42602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42604 if test `eval echo '${'$as_ac_var'}'` = yes; then
42605   cat >>confdefs.h <<_ACEOF
42606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42607 _ACEOF
42608
42609 fi
42610 done
42611
42612   else
42613
42614   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42615 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42616   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42617     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42618   echo $ECHO_N "(cached) $ECHO_C" >&6
42619 else
42620
42621
42622
42623       ac_ext=cc
42624 ac_cpp='$CXXCPP $CPPFLAGS'
42625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42628
42629       cat >conftest.$ac_ext <<_ACEOF
42630 /* confdefs.h.  */
42631 _ACEOF
42632 cat confdefs.h >>conftest.$ac_ext
42633 cat >>conftest.$ac_ext <<_ACEOF
42634 /* end confdefs.h.  */
42635 #include <math.h>
42636                       #ifdef HAVE_IEEEFP_H
42637                       #include <ieeefp.h>
42638                       #endif
42639
42640 int
42641 main ()
42642 {
42643  _isinf(0);
42644   ;
42645   return 0;
42646 }
42647 _ACEOF
42648 rm -f conftest.$ac_objext
42649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42650   (eval $ac_compile) 2>conftest.er1
42651   ac_status=$?
42652   grep -v '^ *+' conftest.er1 >conftest.err
42653   rm -f conftest.er1
42654   cat conftest.err >&5
42655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656   (exit $ac_status); } &&
42657          { ac_try='test -z "$ac_cxx_werror_flag"
42658                          || test ! -s conftest.err'
42659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660   (eval $ac_try) 2>&5
42661   ac_status=$?
42662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663   (exit $ac_status); }; } &&
42664          { ac_try='test -s conftest.$ac_objext'
42665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666   (eval $ac_try) 2>&5
42667   ac_status=$?
42668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669   (exit $ac_status); }; }; then
42670   glibcxx_cv_func__isinf_use=yes
42671 else
42672   echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 glibcxx_cv_func__isinf_use=no
42676 fi
42677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42678       ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683
42684
42685 fi
42686
42687   fi
42688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42689 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42690
42691     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42692
42693 for ac_func in _isinf
42694 do
42695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42696 echo "$as_me:$LINENO: checking for $ac_func" >&5
42697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42698 if eval "test \"\${$as_ac_var+set}\" = set"; then
42699   echo $ECHO_N "(cached) $ECHO_C" >&6
42700 else
42701   if test x$gcc_no_link = xyes; then
42702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42704    { (exit 1); exit 1; }; }
42705 fi
42706 cat >conftest.$ac_ext <<_ACEOF
42707 /* confdefs.h.  */
42708 _ACEOF
42709 cat confdefs.h >>conftest.$ac_ext
42710 cat >>conftest.$ac_ext <<_ACEOF
42711 /* end confdefs.h.  */
42712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42714 #define $ac_func innocuous_$ac_func
42715
42716 /* System header to define __stub macros and hopefully few prototypes,
42717     which can conflict with char $ac_func (); below.
42718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42719     <limits.h> exists even on freestanding compilers.  */
42720
42721 #ifdef __STDC__
42722 # include <limits.h>
42723 #else
42724 # include <assert.h>
42725 #endif
42726
42727 #undef $ac_func
42728
42729 /* Override any gcc2 internal prototype to avoid an error.  */
42730 #ifdef __cplusplus
42731 extern "C"
42732 {
42733 #endif
42734 /* We use char because int might match the return type of a gcc2
42735    builtin and then its argument prototype would still apply.  */
42736 char $ac_func ();
42737 /* The GNU C library defines this for functions which it implements
42738     to always fail with ENOSYS.  Some functions are actually named
42739     something starting with __ and the normal name is an alias.  */
42740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42741 choke me
42742 #else
42743 char (*f) () = $ac_func;
42744 #endif
42745 #ifdef __cplusplus
42746 }
42747 #endif
42748
42749 int
42750 main ()
42751 {
42752 return f != $ac_func;
42753   ;
42754   return 0;
42755 }
42756 _ACEOF
42757 rm -f conftest.$ac_objext conftest$ac_exeext
42758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42759   (eval $ac_link) 2>conftest.er1
42760   ac_status=$?
42761   grep -v '^ *+' conftest.er1 >conftest.err
42762   rm -f conftest.er1
42763   cat conftest.err >&5
42764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765   (exit $ac_status); } &&
42766          { ac_try='test -z "$ac_c_werror_flag"
42767                          || test ! -s conftest.err'
42768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42769   (eval $ac_try) 2>&5
42770   ac_status=$?
42771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42772   (exit $ac_status); }; } &&
42773          { ac_try='test -s conftest$ac_exeext'
42774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42775   (eval $ac_try) 2>&5
42776   ac_status=$?
42777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778   (exit $ac_status); }; }; then
42779   eval "$as_ac_var=yes"
42780 else
42781   echo "$as_me: failed program was:" >&5
42782 sed 's/^/| /' conftest.$ac_ext >&5
42783
42784 eval "$as_ac_var=no"
42785 fi
42786 rm -f conftest.err conftest.$ac_objext \
42787       conftest$ac_exeext conftest.$ac_ext
42788 fi
42789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42791 if test `eval echo '${'$as_ac_var'}'` = yes; then
42792   cat >>confdefs.h <<_ACEOF
42793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42794 _ACEOF
42795
42796 fi
42797 done
42798
42799     fi
42800   fi
42801
42802
42803
42804
42805
42806
42807   echo "$as_me:$LINENO: checking for isnan declaration" >&5
42808 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42809   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42810     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42811   echo $ECHO_N "(cached) $ECHO_C" >&6
42812 else
42813
42814
42815
42816       ac_ext=cc
42817 ac_cpp='$CXXCPP $CPPFLAGS'
42818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42821
42822       cat >conftest.$ac_ext <<_ACEOF
42823 /* confdefs.h.  */
42824 _ACEOF
42825 cat confdefs.h >>conftest.$ac_ext
42826 cat >>conftest.$ac_ext <<_ACEOF
42827 /* end confdefs.h.  */
42828 #include <math.h>
42829                       #ifdef HAVE_IEEEFP_H
42830                       #include <ieeefp.h>
42831                       #endif
42832
42833 int
42834 main ()
42835 {
42836  isnan(0);
42837   ;
42838   return 0;
42839 }
42840 _ACEOF
42841 rm -f conftest.$ac_objext
42842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42843   (eval $ac_compile) 2>conftest.er1
42844   ac_status=$?
42845   grep -v '^ *+' conftest.er1 >conftest.err
42846   rm -f conftest.er1
42847   cat conftest.err >&5
42848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849   (exit $ac_status); } &&
42850          { ac_try='test -z "$ac_cxx_werror_flag"
42851                          || test ! -s conftest.err'
42852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42853   (eval $ac_try) 2>&5
42854   ac_status=$?
42855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42856   (exit $ac_status); }; } &&
42857          { ac_try='test -s conftest.$ac_objext'
42858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42859   (eval $ac_try) 2>&5
42860   ac_status=$?
42861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862   (exit $ac_status); }; }; then
42863   glibcxx_cv_func_isnan_use=yes
42864 else
42865   echo "$as_me: failed program was:" >&5
42866 sed 's/^/| /' conftest.$ac_ext >&5
42867
42868 glibcxx_cv_func_isnan_use=no
42869 fi
42870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42871       ac_ext=c
42872 ac_cpp='$CPP $CPPFLAGS'
42873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876
42877
42878 fi
42879
42880   fi
42881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42882 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42883
42884   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42885
42886 for ac_func in isnan
42887 do
42888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42889 echo "$as_me:$LINENO: checking for $ac_func" >&5
42890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42891 if eval "test \"\${$as_ac_var+set}\" = set"; then
42892   echo $ECHO_N "(cached) $ECHO_C" >&6
42893 else
42894   if test x$gcc_no_link = xyes; then
42895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42897    { (exit 1); exit 1; }; }
42898 fi
42899 cat >conftest.$ac_ext <<_ACEOF
42900 /* confdefs.h.  */
42901 _ACEOF
42902 cat confdefs.h >>conftest.$ac_ext
42903 cat >>conftest.$ac_ext <<_ACEOF
42904 /* end confdefs.h.  */
42905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42907 #define $ac_func innocuous_$ac_func
42908
42909 /* System header to define __stub macros and hopefully few prototypes,
42910     which can conflict with char $ac_func (); below.
42911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42912     <limits.h> exists even on freestanding compilers.  */
42913
42914 #ifdef __STDC__
42915 # include <limits.h>
42916 #else
42917 # include <assert.h>
42918 #endif
42919
42920 #undef $ac_func
42921
42922 /* Override any gcc2 internal prototype to avoid an error.  */
42923 #ifdef __cplusplus
42924 extern "C"
42925 {
42926 #endif
42927 /* We use char because int might match the return type of a gcc2
42928    builtin and then its argument prototype would still apply.  */
42929 char $ac_func ();
42930 /* The GNU C library defines this for functions which it implements
42931     to always fail with ENOSYS.  Some functions are actually named
42932     something starting with __ and the normal name is an alias.  */
42933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42934 choke me
42935 #else
42936 char (*f) () = $ac_func;
42937 #endif
42938 #ifdef __cplusplus
42939 }
42940 #endif
42941
42942 int
42943 main ()
42944 {
42945 return f != $ac_func;
42946   ;
42947   return 0;
42948 }
42949 _ACEOF
42950 rm -f conftest.$ac_objext conftest$ac_exeext
42951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42952   (eval $ac_link) 2>conftest.er1
42953   ac_status=$?
42954   grep -v '^ *+' conftest.er1 >conftest.err
42955   rm -f conftest.er1
42956   cat conftest.err >&5
42957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958   (exit $ac_status); } &&
42959          { ac_try='test -z "$ac_c_werror_flag"
42960                          || test ! -s conftest.err'
42961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42962   (eval $ac_try) 2>&5
42963   ac_status=$?
42964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965   (exit $ac_status); }; } &&
42966          { ac_try='test -s conftest$ac_exeext'
42967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42968   (eval $ac_try) 2>&5
42969   ac_status=$?
42970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42971   (exit $ac_status); }; }; then
42972   eval "$as_ac_var=yes"
42973 else
42974   echo "$as_me: failed program was:" >&5
42975 sed 's/^/| /' conftest.$ac_ext >&5
42976
42977 eval "$as_ac_var=no"
42978 fi
42979 rm -f conftest.err conftest.$ac_objext \
42980       conftest$ac_exeext conftest.$ac_ext
42981 fi
42982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42984 if test `eval echo '${'$as_ac_var'}'` = yes; then
42985   cat >>confdefs.h <<_ACEOF
42986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42987 _ACEOF
42988
42989 fi
42990 done
42991
42992   else
42993
42994   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42995 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42996   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42997     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42998   echo $ECHO_N "(cached) $ECHO_C" >&6
42999 else
43000
43001
43002
43003       ac_ext=cc
43004 ac_cpp='$CXXCPP $CPPFLAGS'
43005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008
43009       cat >conftest.$ac_ext <<_ACEOF
43010 /* confdefs.h.  */
43011 _ACEOF
43012 cat confdefs.h >>conftest.$ac_ext
43013 cat >>conftest.$ac_ext <<_ACEOF
43014 /* end confdefs.h.  */
43015 #include <math.h>
43016                       #ifdef HAVE_IEEEFP_H
43017                       #include <ieeefp.h>
43018                       #endif
43019
43020 int
43021 main ()
43022 {
43023  _isnan(0);
43024   ;
43025   return 0;
43026 }
43027 _ACEOF
43028 rm -f conftest.$ac_objext
43029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43030   (eval $ac_compile) 2>conftest.er1
43031   ac_status=$?
43032   grep -v '^ *+' conftest.er1 >conftest.err
43033   rm -f conftest.er1
43034   cat conftest.err >&5
43035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036   (exit $ac_status); } &&
43037          { ac_try='test -z "$ac_cxx_werror_flag"
43038                          || test ! -s conftest.err'
43039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43040   (eval $ac_try) 2>&5
43041   ac_status=$?
43042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043   (exit $ac_status); }; } &&
43044          { ac_try='test -s conftest.$ac_objext'
43045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43046   (eval $ac_try) 2>&5
43047   ac_status=$?
43048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049   (exit $ac_status); }; }; then
43050   glibcxx_cv_func__isnan_use=yes
43051 else
43052   echo "$as_me: failed program was:" >&5
43053 sed 's/^/| /' conftest.$ac_ext >&5
43054
43055 glibcxx_cv_func__isnan_use=no
43056 fi
43057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43058       ac_ext=c
43059 ac_cpp='$CPP $CPPFLAGS'
43060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43063
43064
43065 fi
43066
43067   fi
43068   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43069 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43070
43071     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43072
43073 for ac_func in _isnan
43074 do
43075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43076 echo "$as_me:$LINENO: checking for $ac_func" >&5
43077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43078 if eval "test \"\${$as_ac_var+set}\" = set"; then
43079   echo $ECHO_N "(cached) $ECHO_C" >&6
43080 else
43081   if test x$gcc_no_link = xyes; then
43082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43084    { (exit 1); exit 1; }; }
43085 fi
43086 cat >conftest.$ac_ext <<_ACEOF
43087 /* confdefs.h.  */
43088 _ACEOF
43089 cat confdefs.h >>conftest.$ac_ext
43090 cat >>conftest.$ac_ext <<_ACEOF
43091 /* end confdefs.h.  */
43092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43094 #define $ac_func innocuous_$ac_func
43095
43096 /* System header to define __stub macros and hopefully few prototypes,
43097     which can conflict with char $ac_func (); below.
43098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43099     <limits.h> exists even on freestanding compilers.  */
43100
43101 #ifdef __STDC__
43102 # include <limits.h>
43103 #else
43104 # include <assert.h>
43105 #endif
43106
43107 #undef $ac_func
43108
43109 /* Override any gcc2 internal prototype to avoid an error.  */
43110 #ifdef __cplusplus
43111 extern "C"
43112 {
43113 #endif
43114 /* We use char because int might match the return type of a gcc2
43115    builtin and then its argument prototype would still apply.  */
43116 char $ac_func ();
43117 /* The GNU C library defines this for functions which it implements
43118     to always fail with ENOSYS.  Some functions are actually named
43119     something starting with __ and the normal name is an alias.  */
43120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43121 choke me
43122 #else
43123 char (*f) () = $ac_func;
43124 #endif
43125 #ifdef __cplusplus
43126 }
43127 #endif
43128
43129 int
43130 main ()
43131 {
43132 return f != $ac_func;
43133   ;
43134   return 0;
43135 }
43136 _ACEOF
43137 rm -f conftest.$ac_objext conftest$ac_exeext
43138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43139   (eval $ac_link) 2>conftest.er1
43140   ac_status=$?
43141   grep -v '^ *+' conftest.er1 >conftest.err
43142   rm -f conftest.er1
43143   cat conftest.err >&5
43144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145   (exit $ac_status); } &&
43146          { ac_try='test -z "$ac_c_werror_flag"
43147                          || test ! -s conftest.err'
43148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43149   (eval $ac_try) 2>&5
43150   ac_status=$?
43151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152   (exit $ac_status); }; } &&
43153          { ac_try='test -s conftest$ac_exeext'
43154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155   (eval $ac_try) 2>&5
43156   ac_status=$?
43157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158   (exit $ac_status); }; }; then
43159   eval "$as_ac_var=yes"
43160 else
43161   echo "$as_me: failed program was:" >&5
43162 sed 's/^/| /' conftest.$ac_ext >&5
43163
43164 eval "$as_ac_var=no"
43165 fi
43166 rm -f conftest.err conftest.$ac_objext \
43167       conftest$ac_exeext conftest.$ac_ext
43168 fi
43169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43171 if test `eval echo '${'$as_ac_var'}'` = yes; then
43172   cat >>confdefs.h <<_ACEOF
43173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43174 _ACEOF
43175
43176 fi
43177 done
43178
43179     fi
43180   fi
43181
43182
43183
43184
43185
43186
43187   echo "$as_me:$LINENO: checking for finite declaration" >&5
43188 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43189   if test x${glibcxx_cv_func_finite_use+set} != xset; then
43190     if test "${glibcxx_cv_func_finite_use+set}" = set; then
43191   echo $ECHO_N "(cached) $ECHO_C" >&6
43192 else
43193
43194
43195
43196       ac_ext=cc
43197 ac_cpp='$CXXCPP $CPPFLAGS'
43198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43201
43202       cat >conftest.$ac_ext <<_ACEOF
43203 /* confdefs.h.  */
43204 _ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h.  */
43208 #include <math.h>
43209                       #ifdef HAVE_IEEEFP_H
43210                       #include <ieeefp.h>
43211                       #endif
43212
43213 int
43214 main ()
43215 {
43216  finite(0);
43217   ;
43218   return 0;
43219 }
43220 _ACEOF
43221 rm -f conftest.$ac_objext
43222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43223   (eval $ac_compile) 2>conftest.er1
43224   ac_status=$?
43225   grep -v '^ *+' conftest.er1 >conftest.err
43226   rm -f conftest.er1
43227   cat conftest.err >&5
43228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229   (exit $ac_status); } &&
43230          { ac_try='test -z "$ac_cxx_werror_flag"
43231                          || test ! -s conftest.err'
43232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43233   (eval $ac_try) 2>&5
43234   ac_status=$?
43235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236   (exit $ac_status); }; } &&
43237          { ac_try='test -s conftest.$ac_objext'
43238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239   (eval $ac_try) 2>&5
43240   ac_status=$?
43241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242   (exit $ac_status); }; }; then
43243   glibcxx_cv_func_finite_use=yes
43244 else
43245   echo "$as_me: failed program was:" >&5
43246 sed 's/^/| /' conftest.$ac_ext >&5
43247
43248 glibcxx_cv_func_finite_use=no
43249 fi
43250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43251       ac_ext=c
43252 ac_cpp='$CPP $CPPFLAGS'
43253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43256
43257
43258 fi
43259
43260   fi
43261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43262 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43263
43264   if test x$glibcxx_cv_func_finite_use = x"yes"; then
43265
43266 for ac_func in finite
43267 do
43268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 echo "$as_me:$LINENO: checking for $ac_func" >&5
43270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43271 if eval "test \"\${$as_ac_var+set}\" = set"; then
43272   echo $ECHO_N "(cached) $ECHO_C" >&6
43273 else
43274   if test x$gcc_no_link = xyes; then
43275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43277    { (exit 1); exit 1; }; }
43278 fi
43279 cat >conftest.$ac_ext <<_ACEOF
43280 /* confdefs.h.  */
43281 _ACEOF
43282 cat confdefs.h >>conftest.$ac_ext
43283 cat >>conftest.$ac_ext <<_ACEOF
43284 /* end confdefs.h.  */
43285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43287 #define $ac_func innocuous_$ac_func
43288
43289 /* System header to define __stub macros and hopefully few prototypes,
43290     which can conflict with char $ac_func (); below.
43291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43292     <limits.h> exists even on freestanding compilers.  */
43293
43294 #ifdef __STDC__
43295 # include <limits.h>
43296 #else
43297 # include <assert.h>
43298 #endif
43299
43300 #undef $ac_func
43301
43302 /* Override any gcc2 internal prototype to avoid an error.  */
43303 #ifdef __cplusplus
43304 extern "C"
43305 {
43306 #endif
43307 /* We use char because int might match the return type of a gcc2
43308    builtin and then its argument prototype would still apply.  */
43309 char $ac_func ();
43310 /* The GNU C library defines this for functions which it implements
43311     to always fail with ENOSYS.  Some functions are actually named
43312     something starting with __ and the normal name is an alias.  */
43313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43314 choke me
43315 #else
43316 char (*f) () = $ac_func;
43317 #endif
43318 #ifdef __cplusplus
43319 }
43320 #endif
43321
43322 int
43323 main ()
43324 {
43325 return f != $ac_func;
43326   ;
43327   return 0;
43328 }
43329 _ACEOF
43330 rm -f conftest.$ac_objext conftest$ac_exeext
43331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43332   (eval $ac_link) 2>conftest.er1
43333   ac_status=$?
43334   grep -v '^ *+' conftest.er1 >conftest.err
43335   rm -f conftest.er1
43336   cat conftest.err >&5
43337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43338   (exit $ac_status); } &&
43339          { ac_try='test -z "$ac_c_werror_flag"
43340                          || test ! -s conftest.err'
43341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43342   (eval $ac_try) 2>&5
43343   ac_status=$?
43344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345   (exit $ac_status); }; } &&
43346          { ac_try='test -s conftest$ac_exeext'
43347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348   (eval $ac_try) 2>&5
43349   ac_status=$?
43350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351   (exit $ac_status); }; }; then
43352   eval "$as_ac_var=yes"
43353 else
43354   echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43356
43357 eval "$as_ac_var=no"
43358 fi
43359 rm -f conftest.err conftest.$ac_objext \
43360       conftest$ac_exeext conftest.$ac_ext
43361 fi
43362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43364 if test `eval echo '${'$as_ac_var'}'` = yes; then
43365   cat >>confdefs.h <<_ACEOF
43366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43367 _ACEOF
43368
43369 fi
43370 done
43371
43372   else
43373
43374   echo "$as_me:$LINENO: checking for _finite declaration" >&5
43375 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43376   if test x${glibcxx_cv_func__finite_use+set} != xset; then
43377     if test "${glibcxx_cv_func__finite_use+set}" = set; then
43378   echo $ECHO_N "(cached) $ECHO_C" >&6
43379 else
43380
43381
43382
43383       ac_ext=cc
43384 ac_cpp='$CXXCPP $CPPFLAGS'
43385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388
43389       cat >conftest.$ac_ext <<_ACEOF
43390 /* confdefs.h.  */
43391 _ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h.  */
43395 #include <math.h>
43396                       #ifdef HAVE_IEEEFP_H
43397                       #include <ieeefp.h>
43398                       #endif
43399
43400 int
43401 main ()
43402 {
43403  _finite(0);
43404   ;
43405   return 0;
43406 }
43407 _ACEOF
43408 rm -f conftest.$ac_objext
43409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43410   (eval $ac_compile) 2>conftest.er1
43411   ac_status=$?
43412   grep -v '^ *+' conftest.er1 >conftest.err
43413   rm -f conftest.er1
43414   cat conftest.err >&5
43415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416   (exit $ac_status); } &&
43417          { ac_try='test -z "$ac_cxx_werror_flag"
43418                          || test ! -s conftest.err'
43419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43420   (eval $ac_try) 2>&5
43421   ac_status=$?
43422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423   (exit $ac_status); }; } &&
43424          { ac_try='test -s conftest.$ac_objext'
43425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43426   (eval $ac_try) 2>&5
43427   ac_status=$?
43428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429   (exit $ac_status); }; }; then
43430   glibcxx_cv_func__finite_use=yes
43431 else
43432   echo "$as_me: failed program was:" >&5
43433 sed 's/^/| /' conftest.$ac_ext >&5
43434
43435 glibcxx_cv_func__finite_use=no
43436 fi
43437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43438       ac_ext=c
43439 ac_cpp='$CPP $CPPFLAGS'
43440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443
43444
43445 fi
43446
43447   fi
43448   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43449 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43450
43451     if test x$glibcxx_cv_func__finite_use = x"yes"; then
43452
43453 for ac_func in _finite
43454 do
43455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43456 echo "$as_me:$LINENO: checking for $ac_func" >&5
43457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43458 if eval "test \"\${$as_ac_var+set}\" = set"; then
43459   echo $ECHO_N "(cached) $ECHO_C" >&6
43460 else
43461   if test x$gcc_no_link = xyes; then
43462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43464    { (exit 1); exit 1; }; }
43465 fi
43466 cat >conftest.$ac_ext <<_ACEOF
43467 /* confdefs.h.  */
43468 _ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h.  */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43474 #define $ac_func innocuous_$ac_func
43475
43476 /* System header to define __stub macros and hopefully few prototypes,
43477     which can conflict with char $ac_func (); below.
43478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479     <limits.h> exists even on freestanding compilers.  */
43480
43481 #ifdef __STDC__
43482 # include <limits.h>
43483 #else
43484 # include <assert.h>
43485 #endif
43486
43487 #undef $ac_func
43488
43489 /* Override any gcc2 internal prototype to avoid an error.  */
43490 #ifdef __cplusplus
43491 extern "C"
43492 {
43493 #endif
43494 /* We use char because int might match the return type of a gcc2
43495    builtin and then its argument prototype would still apply.  */
43496 char $ac_func ();
43497 /* The GNU C library defines this for functions which it implements
43498     to always fail with ENOSYS.  Some functions are actually named
43499     something starting with __ and the normal name is an alias.  */
43500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43501 choke me
43502 #else
43503 char (*f) () = $ac_func;
43504 #endif
43505 #ifdef __cplusplus
43506 }
43507 #endif
43508
43509 int
43510 main ()
43511 {
43512 return f != $ac_func;
43513   ;
43514   return 0;
43515 }
43516 _ACEOF
43517 rm -f conftest.$ac_objext conftest$ac_exeext
43518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43519   (eval $ac_link) 2>conftest.er1
43520   ac_status=$?
43521   grep -v '^ *+' conftest.er1 >conftest.err
43522   rm -f conftest.er1
43523   cat conftest.err >&5
43524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525   (exit $ac_status); } &&
43526          { ac_try='test -z "$ac_c_werror_flag"
43527                          || test ! -s conftest.err'
43528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43529   (eval $ac_try) 2>&5
43530   ac_status=$?
43531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43532   (exit $ac_status); }; } &&
43533          { ac_try='test -s conftest$ac_exeext'
43534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43535   (eval $ac_try) 2>&5
43536   ac_status=$?
43537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538   (exit $ac_status); }; }; then
43539   eval "$as_ac_var=yes"
43540 else
43541   echo "$as_me: failed program was:" >&5
43542 sed 's/^/| /' conftest.$ac_ext >&5
43543
43544 eval "$as_ac_var=no"
43545 fi
43546 rm -f conftest.err conftest.$ac_objext \
43547       conftest$ac_exeext conftest.$ac_ext
43548 fi
43549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43551 if test `eval echo '${'$as_ac_var'}'` = yes; then
43552   cat >>confdefs.h <<_ACEOF
43553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43554 _ACEOF
43555
43556 fi
43557 done
43558
43559     fi
43560   fi
43561
43562
43563
43564
43565
43566
43567   echo "$as_me:$LINENO: checking for copysign declaration" >&5
43568 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
43569   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43570     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43571   echo $ECHO_N "(cached) $ECHO_C" >&6
43572 else
43573
43574
43575
43576       ac_ext=cc
43577 ac_cpp='$CXXCPP $CPPFLAGS'
43578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43581
43582       cat >conftest.$ac_ext <<_ACEOF
43583 /* confdefs.h.  */
43584 _ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h.  */
43588 #include <math.h>
43589 int
43590 main ()
43591 {
43592  copysign(0, 0);
43593   ;
43594   return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43599   (eval $ac_compile) 2>conftest.er1
43600   ac_status=$?
43601   grep -v '^ *+' conftest.er1 >conftest.err
43602   rm -f conftest.er1
43603   cat conftest.err >&5
43604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605   (exit $ac_status); } &&
43606          { ac_try='test -z "$ac_cxx_werror_flag"
43607                          || test ! -s conftest.err'
43608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43609   (eval $ac_try) 2>&5
43610   ac_status=$?
43611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612   (exit $ac_status); }; } &&
43613          { ac_try='test -s conftest.$ac_objext'
43614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615   (eval $ac_try) 2>&5
43616   ac_status=$?
43617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618   (exit $ac_status); }; }; then
43619   glibcxx_cv_func_copysign_use=yes
43620 else
43621   echo "$as_me: failed program was:" >&5
43622 sed 's/^/| /' conftest.$ac_ext >&5
43623
43624 glibcxx_cv_func_copysign_use=no
43625 fi
43626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43627       ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632
43633
43634 fi
43635
43636   fi
43637   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43638 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
43639
43640   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43641
43642 for ac_func in copysign
43643 do
43644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43645 echo "$as_me:$LINENO: checking for $ac_func" >&5
43646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43647 if eval "test \"\${$as_ac_var+set}\" = set"; then
43648   echo $ECHO_N "(cached) $ECHO_C" >&6
43649 else
43650   if test x$gcc_no_link = xyes; then
43651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43653    { (exit 1); exit 1; }; }
43654 fi
43655 cat >conftest.$ac_ext <<_ACEOF
43656 /* confdefs.h.  */
43657 _ACEOF
43658 cat confdefs.h >>conftest.$ac_ext
43659 cat >>conftest.$ac_ext <<_ACEOF
43660 /* end confdefs.h.  */
43661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43662    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43663 #define $ac_func innocuous_$ac_func
43664
43665 /* System header to define __stub macros and hopefully few prototypes,
43666     which can conflict with char $ac_func (); below.
43667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43668     <limits.h> exists even on freestanding compilers.  */
43669
43670 #ifdef __STDC__
43671 # include <limits.h>
43672 #else
43673 # include <assert.h>
43674 #endif
43675
43676 #undef $ac_func
43677
43678 /* Override any gcc2 internal prototype to avoid an error.  */
43679 #ifdef __cplusplus
43680 extern "C"
43681 {
43682 #endif
43683 /* We use char because int might match the return type of a gcc2
43684    builtin and then its argument prototype would still apply.  */
43685 char $ac_func ();
43686 /* The GNU C library defines this for functions which it implements
43687     to always fail with ENOSYS.  Some functions are actually named
43688     something starting with __ and the normal name is an alias.  */
43689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43690 choke me
43691 #else
43692 char (*f) () = $ac_func;
43693 #endif
43694 #ifdef __cplusplus
43695 }
43696 #endif
43697
43698 int
43699 main ()
43700 {
43701 return f != $ac_func;
43702   ;
43703   return 0;
43704 }
43705 _ACEOF
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43708   (eval $ac_link) 2>conftest.er1
43709   ac_status=$?
43710   grep -v '^ *+' conftest.er1 >conftest.err
43711   rm -f conftest.er1
43712   cat conftest.err >&5
43713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714   (exit $ac_status); } &&
43715          { ac_try='test -z "$ac_c_werror_flag"
43716                          || test ! -s conftest.err'
43717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43718   (eval $ac_try) 2>&5
43719   ac_status=$?
43720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721   (exit $ac_status); }; } &&
43722          { ac_try='test -s conftest$ac_exeext'
43723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724   (eval $ac_try) 2>&5
43725   ac_status=$?
43726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727   (exit $ac_status); }; }; then
43728   eval "$as_ac_var=yes"
43729 else
43730   echo "$as_me: failed program was:" >&5
43731 sed 's/^/| /' conftest.$ac_ext >&5
43732
43733 eval "$as_ac_var=no"
43734 fi
43735 rm -f conftest.err conftest.$ac_objext \
43736       conftest$ac_exeext conftest.$ac_ext
43737 fi
43738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43740 if test `eval echo '${'$as_ac_var'}'` = yes; then
43741   cat >>confdefs.h <<_ACEOF
43742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43743 _ACEOF
43744
43745 fi
43746 done
43747
43748   else
43749
43750   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43751 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43752   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43753     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43754   echo $ECHO_N "(cached) $ECHO_C" >&6
43755 else
43756
43757
43758
43759       ac_ext=cc
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765       cat >conftest.$ac_ext <<_ACEOF
43766 /* confdefs.h.  */
43767 _ACEOF
43768 cat confdefs.h >>conftest.$ac_ext
43769 cat >>conftest.$ac_ext <<_ACEOF
43770 /* end confdefs.h.  */
43771 #include <math.h>
43772 int
43773 main ()
43774 {
43775  _copysign(0, 0);
43776   ;
43777   return 0;
43778 }
43779 _ACEOF
43780 rm -f conftest.$ac_objext
43781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43782   (eval $ac_compile) 2>conftest.er1
43783   ac_status=$?
43784   grep -v '^ *+' conftest.er1 >conftest.err
43785   rm -f conftest.er1
43786   cat conftest.err >&5
43787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788   (exit $ac_status); } &&
43789          { ac_try='test -z "$ac_cxx_werror_flag"
43790                          || test ! -s conftest.err'
43791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43792   (eval $ac_try) 2>&5
43793   ac_status=$?
43794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43795   (exit $ac_status); }; } &&
43796          { ac_try='test -s conftest.$ac_objext'
43797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43798   (eval $ac_try) 2>&5
43799   ac_status=$?
43800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801   (exit $ac_status); }; }; then
43802   glibcxx_cv_func__copysign_use=yes
43803 else
43804   echo "$as_me: failed program was:" >&5
43805 sed 's/^/| /' conftest.$ac_ext >&5
43806
43807 glibcxx_cv_func__copysign_use=no
43808 fi
43809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43810       ac_ext=c
43811 ac_cpp='$CPP $CPPFLAGS'
43812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43815
43816
43817 fi
43818
43819   fi
43820   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43821 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43822
43823     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43824
43825 for ac_func in _copysign
43826 do
43827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43828 echo "$as_me:$LINENO: checking for $ac_func" >&5
43829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43830 if eval "test \"\${$as_ac_var+set}\" = set"; then
43831   echo $ECHO_N "(cached) $ECHO_C" >&6
43832 else
43833   if test x$gcc_no_link = xyes; then
43834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43836    { (exit 1); exit 1; }; }
43837 fi
43838 cat >conftest.$ac_ext <<_ACEOF
43839 /* confdefs.h.  */
43840 _ACEOF
43841 cat confdefs.h >>conftest.$ac_ext
43842 cat >>conftest.$ac_ext <<_ACEOF
43843 /* end confdefs.h.  */
43844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43846 #define $ac_func innocuous_$ac_func
43847
43848 /* System header to define __stub macros and hopefully few prototypes,
43849     which can conflict with char $ac_func (); below.
43850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43851     <limits.h> exists even on freestanding compilers.  */
43852
43853 #ifdef __STDC__
43854 # include <limits.h>
43855 #else
43856 # include <assert.h>
43857 #endif
43858
43859 #undef $ac_func
43860
43861 /* Override any gcc2 internal prototype to avoid an error.  */
43862 #ifdef __cplusplus
43863 extern "C"
43864 {
43865 #endif
43866 /* We use char because int might match the return type of a gcc2
43867    builtin and then its argument prototype would still apply.  */
43868 char $ac_func ();
43869 /* The GNU C library defines this for functions which it implements
43870     to always fail with ENOSYS.  Some functions are actually named
43871     something starting with __ and the normal name is an alias.  */
43872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43873 choke me
43874 #else
43875 char (*f) () = $ac_func;
43876 #endif
43877 #ifdef __cplusplus
43878 }
43879 #endif
43880
43881 int
43882 main ()
43883 {
43884 return f != $ac_func;
43885   ;
43886   return 0;
43887 }
43888 _ACEOF
43889 rm -f conftest.$ac_objext conftest$ac_exeext
43890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43891   (eval $ac_link) 2>conftest.er1
43892   ac_status=$?
43893   grep -v '^ *+' conftest.er1 >conftest.err
43894   rm -f conftest.er1
43895   cat conftest.err >&5
43896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897   (exit $ac_status); } &&
43898          { ac_try='test -z "$ac_c_werror_flag"
43899                          || test ! -s conftest.err'
43900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43901   (eval $ac_try) 2>&5
43902   ac_status=$?
43903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904   (exit $ac_status); }; } &&
43905          { ac_try='test -s conftest$ac_exeext'
43906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907   (eval $ac_try) 2>&5
43908   ac_status=$?
43909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910   (exit $ac_status); }; }; then
43911   eval "$as_ac_var=yes"
43912 else
43913   echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43915
43916 eval "$as_ac_var=no"
43917 fi
43918 rm -f conftest.err conftest.$ac_objext \
43919       conftest$ac_exeext conftest.$ac_ext
43920 fi
43921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43923 if test `eval echo '${'$as_ac_var'}'` = yes; then
43924   cat >>confdefs.h <<_ACEOF
43925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43926 _ACEOF
43927
43928 fi
43929 done
43930
43931     fi
43932   fi
43933
43934
43935
43936
43937
43938
43939   echo "$as_me:$LINENO: checking for sincos declaration" >&5
43940 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43941   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43942     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43943   echo $ECHO_N "(cached) $ECHO_C" >&6
43944 else
43945
43946
43947
43948       ac_ext=cc
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43953
43954       cat >conftest.$ac_ext <<_ACEOF
43955 /* confdefs.h.  */
43956 _ACEOF
43957 cat confdefs.h >>conftest.$ac_ext
43958 cat >>conftest.$ac_ext <<_ACEOF
43959 /* end confdefs.h.  */
43960 #include <math.h>
43961 int
43962 main ()
43963 {
43964  sincos(0, 0, 0);
43965   ;
43966   return 0;
43967 }
43968 _ACEOF
43969 rm -f conftest.$ac_objext
43970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43971   (eval $ac_compile) 2>conftest.er1
43972   ac_status=$?
43973   grep -v '^ *+' conftest.er1 >conftest.err
43974   rm -f conftest.er1
43975   cat conftest.err >&5
43976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977   (exit $ac_status); } &&
43978          { ac_try='test -z "$ac_cxx_werror_flag"
43979                          || test ! -s conftest.err'
43980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43981   (eval $ac_try) 2>&5
43982   ac_status=$?
43983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984   (exit $ac_status); }; } &&
43985          { ac_try='test -s conftest.$ac_objext'
43986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43987   (eval $ac_try) 2>&5
43988   ac_status=$?
43989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990   (exit $ac_status); }; }; then
43991   glibcxx_cv_func_sincos_use=yes
43992 else
43993   echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996 glibcxx_cv_func_sincos_use=no
43997 fi
43998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43999       ac_ext=c
44000 ac_cpp='$CPP $CPPFLAGS'
44001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44004
44005
44006 fi
44007
44008   fi
44009   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44010 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44011
44012   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44013
44014 for ac_func in sincos
44015 do
44016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44017 echo "$as_me:$LINENO: checking for $ac_func" >&5
44018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44019 if eval "test \"\${$as_ac_var+set}\" = set"; then
44020   echo $ECHO_N "(cached) $ECHO_C" >&6
44021 else
44022   if test x$gcc_no_link = xyes; then
44023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44025    { (exit 1); exit 1; }; }
44026 fi
44027 cat >conftest.$ac_ext <<_ACEOF
44028 /* confdefs.h.  */
44029 _ACEOF
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h.  */
44033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44035 #define $ac_func innocuous_$ac_func
44036
44037 /* System header to define __stub macros and hopefully few prototypes,
44038     which can conflict with char $ac_func (); below.
44039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44040     <limits.h> exists even on freestanding compilers.  */
44041
44042 #ifdef __STDC__
44043 # include <limits.h>
44044 #else
44045 # include <assert.h>
44046 #endif
44047
44048 #undef $ac_func
44049
44050 /* Override any gcc2 internal prototype to avoid an error.  */
44051 #ifdef __cplusplus
44052 extern "C"
44053 {
44054 #endif
44055 /* We use char because int might match the return type of a gcc2
44056    builtin and then its argument prototype would still apply.  */
44057 char $ac_func ();
44058 /* The GNU C library defines this for functions which it implements
44059     to always fail with ENOSYS.  Some functions are actually named
44060     something starting with __ and the normal name is an alias.  */
44061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44062 choke me
44063 #else
44064 char (*f) () = $ac_func;
44065 #endif
44066 #ifdef __cplusplus
44067 }
44068 #endif
44069
44070 int
44071 main ()
44072 {
44073 return f != $ac_func;
44074   ;
44075   return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext conftest$ac_exeext
44079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44080   (eval $ac_link) 2>conftest.er1
44081   ac_status=$?
44082   grep -v '^ *+' conftest.er1 >conftest.err
44083   rm -f conftest.er1
44084   cat conftest.err >&5
44085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086   (exit $ac_status); } &&
44087          { ac_try='test -z "$ac_c_werror_flag"
44088                          || test ! -s conftest.err'
44089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44090   (eval $ac_try) 2>&5
44091   ac_status=$?
44092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093   (exit $ac_status); }; } &&
44094          { ac_try='test -s conftest$ac_exeext'
44095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44096   (eval $ac_try) 2>&5
44097   ac_status=$?
44098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099   (exit $ac_status); }; }; then
44100   eval "$as_ac_var=yes"
44101 else
44102   echo "$as_me: failed program was:" >&5
44103 sed 's/^/| /' conftest.$ac_ext >&5
44104
44105 eval "$as_ac_var=no"
44106 fi
44107 rm -f conftest.err conftest.$ac_objext \
44108       conftest$ac_exeext conftest.$ac_ext
44109 fi
44110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44112 if test `eval echo '${'$as_ac_var'}'` = yes; then
44113   cat >>confdefs.h <<_ACEOF
44114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44115 _ACEOF
44116
44117 fi
44118 done
44119
44120   else
44121
44122   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44123 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44124   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44125     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44126   echo $ECHO_N "(cached) $ECHO_C" >&6
44127 else
44128
44129
44130
44131       ac_ext=cc
44132 ac_cpp='$CXXCPP $CPPFLAGS'
44133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44136
44137       cat >conftest.$ac_ext <<_ACEOF
44138 /* confdefs.h.  */
44139 _ACEOF
44140 cat confdefs.h >>conftest.$ac_ext
44141 cat >>conftest.$ac_ext <<_ACEOF
44142 /* end confdefs.h.  */
44143 #include <math.h>
44144 int
44145 main ()
44146 {
44147  _sincos(0, 0, 0);
44148   ;
44149   return 0;
44150 }
44151 _ACEOF
44152 rm -f conftest.$ac_objext
44153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44154   (eval $ac_compile) 2>conftest.er1
44155   ac_status=$?
44156   grep -v '^ *+' conftest.er1 >conftest.err
44157   rm -f conftest.er1
44158   cat conftest.err >&5
44159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160   (exit $ac_status); } &&
44161          { ac_try='test -z "$ac_cxx_werror_flag"
44162                          || test ! -s conftest.err'
44163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44164   (eval $ac_try) 2>&5
44165   ac_status=$?
44166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44167   (exit $ac_status); }; } &&
44168          { ac_try='test -s conftest.$ac_objext'
44169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44170   (eval $ac_try) 2>&5
44171   ac_status=$?
44172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173   (exit $ac_status); }; }; then
44174   glibcxx_cv_func__sincos_use=yes
44175 else
44176   echo "$as_me: failed program was:" >&5
44177 sed 's/^/| /' conftest.$ac_ext >&5
44178
44179 glibcxx_cv_func__sincos_use=no
44180 fi
44181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44182       ac_ext=c
44183 ac_cpp='$CPP $CPPFLAGS'
44184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44187
44188
44189 fi
44190
44191   fi
44192   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44193 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44194
44195     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44196
44197 for ac_func in _sincos
44198 do
44199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44200 echo "$as_me:$LINENO: checking for $ac_func" >&5
44201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44202 if eval "test \"\${$as_ac_var+set}\" = set"; then
44203   echo $ECHO_N "(cached) $ECHO_C" >&6
44204 else
44205   if test x$gcc_no_link = xyes; then
44206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44208    { (exit 1); exit 1; }; }
44209 fi
44210 cat >conftest.$ac_ext <<_ACEOF
44211 /* confdefs.h.  */
44212 _ACEOF
44213 cat confdefs.h >>conftest.$ac_ext
44214 cat >>conftest.$ac_ext <<_ACEOF
44215 /* end confdefs.h.  */
44216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44218 #define $ac_func innocuous_$ac_func
44219
44220 /* System header to define __stub macros and hopefully few prototypes,
44221     which can conflict with char $ac_func (); below.
44222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44223     <limits.h> exists even on freestanding compilers.  */
44224
44225 #ifdef __STDC__
44226 # include <limits.h>
44227 #else
44228 # include <assert.h>
44229 #endif
44230
44231 #undef $ac_func
44232
44233 /* Override any gcc2 internal prototype to avoid an error.  */
44234 #ifdef __cplusplus
44235 extern "C"
44236 {
44237 #endif
44238 /* We use char because int might match the return type of a gcc2
44239    builtin and then its argument prototype would still apply.  */
44240 char $ac_func ();
44241 /* The GNU C library defines this for functions which it implements
44242     to always fail with ENOSYS.  Some functions are actually named
44243     something starting with __ and the normal name is an alias.  */
44244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44245 choke me
44246 #else
44247 char (*f) () = $ac_func;
44248 #endif
44249 #ifdef __cplusplus
44250 }
44251 #endif
44252
44253 int
44254 main ()
44255 {
44256 return f != $ac_func;
44257   ;
44258   return 0;
44259 }
44260 _ACEOF
44261 rm -f conftest.$ac_objext conftest$ac_exeext
44262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44263   (eval $ac_link) 2>conftest.er1
44264   ac_status=$?
44265   grep -v '^ *+' conftest.er1 >conftest.err
44266   rm -f conftest.er1
44267   cat conftest.err >&5
44268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269   (exit $ac_status); } &&
44270          { ac_try='test -z "$ac_c_werror_flag"
44271                          || test ! -s conftest.err'
44272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44273   (eval $ac_try) 2>&5
44274   ac_status=$?
44275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276   (exit $ac_status); }; } &&
44277          { ac_try='test -s conftest$ac_exeext'
44278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279   (eval $ac_try) 2>&5
44280   ac_status=$?
44281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282   (exit $ac_status); }; }; then
44283   eval "$as_ac_var=yes"
44284 else
44285   echo "$as_me: failed program was:" >&5
44286 sed 's/^/| /' conftest.$ac_ext >&5
44287
44288 eval "$as_ac_var=no"
44289 fi
44290 rm -f conftest.err conftest.$ac_objext \
44291       conftest$ac_exeext conftest.$ac_ext
44292 fi
44293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44295 if test `eval echo '${'$as_ac_var'}'` = yes; then
44296   cat >>confdefs.h <<_ACEOF
44297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44298 _ACEOF
44299
44300 fi
44301 done
44302
44303     fi
44304   fi
44305
44306
44307
44308
44309
44310
44311   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44312 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44313   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44314     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44315   echo $ECHO_N "(cached) $ECHO_C" >&6
44316 else
44317
44318
44319
44320       ac_ext=cc
44321 ac_cpp='$CXXCPP $CPPFLAGS'
44322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44325
44326       cat >conftest.$ac_ext <<_ACEOF
44327 /* confdefs.h.  */
44328 _ACEOF
44329 cat confdefs.h >>conftest.$ac_ext
44330 cat >>conftest.$ac_ext <<_ACEOF
44331 /* end confdefs.h.  */
44332 #include <math.h>
44333                       #ifdef HAVE_IEEEFP_H
44334                       #include <ieeefp.h>
44335                       #endif
44336
44337 int
44338 main ()
44339 {
44340  fpclass(0);
44341   ;
44342   return 0;
44343 }
44344 _ACEOF
44345 rm -f conftest.$ac_objext
44346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44347   (eval $ac_compile) 2>conftest.er1
44348   ac_status=$?
44349   grep -v '^ *+' conftest.er1 >conftest.err
44350   rm -f conftest.er1
44351   cat conftest.err >&5
44352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353   (exit $ac_status); } &&
44354          { ac_try='test -z "$ac_cxx_werror_flag"
44355                          || test ! -s conftest.err'
44356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44357   (eval $ac_try) 2>&5
44358   ac_status=$?
44359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360   (exit $ac_status); }; } &&
44361          { ac_try='test -s conftest.$ac_objext'
44362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44363   (eval $ac_try) 2>&5
44364   ac_status=$?
44365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44366   (exit $ac_status); }; }; then
44367   glibcxx_cv_func_fpclass_use=yes
44368 else
44369   echo "$as_me: failed program was:" >&5
44370 sed 's/^/| /' conftest.$ac_ext >&5
44371
44372 glibcxx_cv_func_fpclass_use=no
44373 fi
44374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44375       ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44380
44381
44382 fi
44383
44384   fi
44385   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44386 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44387
44388   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44389
44390 for ac_func in fpclass
44391 do
44392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44393 echo "$as_me:$LINENO: checking for $ac_func" >&5
44394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44395 if eval "test \"\${$as_ac_var+set}\" = set"; then
44396   echo $ECHO_N "(cached) $ECHO_C" >&6
44397 else
44398   if test x$gcc_no_link = xyes; then
44399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44401    { (exit 1); exit 1; }; }
44402 fi
44403 cat >conftest.$ac_ext <<_ACEOF
44404 /* confdefs.h.  */
44405 _ACEOF
44406 cat confdefs.h >>conftest.$ac_ext
44407 cat >>conftest.$ac_ext <<_ACEOF
44408 /* end confdefs.h.  */
44409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44411 #define $ac_func innocuous_$ac_func
44412
44413 /* System header to define __stub macros and hopefully few prototypes,
44414     which can conflict with char $ac_func (); below.
44415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44416     <limits.h> exists even on freestanding compilers.  */
44417
44418 #ifdef __STDC__
44419 # include <limits.h>
44420 #else
44421 # include <assert.h>
44422 #endif
44423
44424 #undef $ac_func
44425
44426 /* Override any gcc2 internal prototype to avoid an error.  */
44427 #ifdef __cplusplus
44428 extern "C"
44429 {
44430 #endif
44431 /* We use char because int might match the return type of a gcc2
44432    builtin and then its argument prototype would still apply.  */
44433 char $ac_func ();
44434 /* The GNU C library defines this for functions which it implements
44435     to always fail with ENOSYS.  Some functions are actually named
44436     something starting with __ and the normal name is an alias.  */
44437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44438 choke me
44439 #else
44440 char (*f) () = $ac_func;
44441 #endif
44442 #ifdef __cplusplus
44443 }
44444 #endif
44445
44446 int
44447 main ()
44448 {
44449 return f != $ac_func;
44450   ;
44451   return 0;
44452 }
44453 _ACEOF
44454 rm -f conftest.$ac_objext conftest$ac_exeext
44455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44456   (eval $ac_link) 2>conftest.er1
44457   ac_status=$?
44458   grep -v '^ *+' conftest.er1 >conftest.err
44459   rm -f conftest.er1
44460   cat conftest.err >&5
44461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462   (exit $ac_status); } &&
44463          { ac_try='test -z "$ac_c_werror_flag"
44464                          || test ! -s conftest.err'
44465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44466   (eval $ac_try) 2>&5
44467   ac_status=$?
44468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469   (exit $ac_status); }; } &&
44470          { ac_try='test -s conftest$ac_exeext'
44471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472   (eval $ac_try) 2>&5
44473   ac_status=$?
44474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475   (exit $ac_status); }; }; then
44476   eval "$as_ac_var=yes"
44477 else
44478   echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44480
44481 eval "$as_ac_var=no"
44482 fi
44483 rm -f conftest.err conftest.$ac_objext \
44484       conftest$ac_exeext conftest.$ac_ext
44485 fi
44486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44488 if test `eval echo '${'$as_ac_var'}'` = yes; then
44489   cat >>confdefs.h <<_ACEOF
44490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44491 _ACEOF
44492
44493 fi
44494 done
44495
44496   else
44497
44498   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44499 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44500   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44501     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44502   echo $ECHO_N "(cached) $ECHO_C" >&6
44503 else
44504
44505
44506
44507       ac_ext=cc
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512
44513       cat >conftest.$ac_ext <<_ACEOF
44514 /* confdefs.h.  */
44515 _ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h.  */
44519 #include <math.h>
44520                       #ifdef HAVE_IEEEFP_H
44521                       #include <ieeefp.h>
44522                       #endif
44523
44524 int
44525 main ()
44526 {
44527  _fpclass(0);
44528   ;
44529   return 0;
44530 }
44531 _ACEOF
44532 rm -f conftest.$ac_objext
44533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44534   (eval $ac_compile) 2>conftest.er1
44535   ac_status=$?
44536   grep -v '^ *+' conftest.er1 >conftest.err
44537   rm -f conftest.er1
44538   cat conftest.err >&5
44539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540   (exit $ac_status); } &&
44541          { ac_try='test -z "$ac_cxx_werror_flag"
44542                          || test ! -s conftest.err'
44543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544   (eval $ac_try) 2>&5
44545   ac_status=$?
44546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547   (exit $ac_status); }; } &&
44548          { ac_try='test -s conftest.$ac_objext'
44549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44550   (eval $ac_try) 2>&5
44551   ac_status=$?
44552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44553   (exit $ac_status); }; }; then
44554   glibcxx_cv_func__fpclass_use=yes
44555 else
44556   echo "$as_me: failed program was:" >&5
44557 sed 's/^/| /' conftest.$ac_ext >&5
44558
44559 glibcxx_cv_func__fpclass_use=no
44560 fi
44561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44562       ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44567
44568
44569 fi
44570
44571   fi
44572   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44573 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44574
44575     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44576
44577 for ac_func in _fpclass
44578 do
44579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44580 echo "$as_me:$LINENO: checking for $ac_func" >&5
44581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44582 if eval "test \"\${$as_ac_var+set}\" = set"; then
44583   echo $ECHO_N "(cached) $ECHO_C" >&6
44584 else
44585   if test x$gcc_no_link = xyes; then
44586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44588    { (exit 1); exit 1; }; }
44589 fi
44590 cat >conftest.$ac_ext <<_ACEOF
44591 /* confdefs.h.  */
44592 _ACEOF
44593 cat confdefs.h >>conftest.$ac_ext
44594 cat >>conftest.$ac_ext <<_ACEOF
44595 /* end confdefs.h.  */
44596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44598 #define $ac_func innocuous_$ac_func
44599
44600 /* System header to define __stub macros and hopefully few prototypes,
44601     which can conflict with char $ac_func (); below.
44602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44603     <limits.h> exists even on freestanding compilers.  */
44604
44605 #ifdef __STDC__
44606 # include <limits.h>
44607 #else
44608 # include <assert.h>
44609 #endif
44610
44611 #undef $ac_func
44612
44613 /* Override any gcc2 internal prototype to avoid an error.  */
44614 #ifdef __cplusplus
44615 extern "C"
44616 {
44617 #endif
44618 /* We use char because int might match the return type of a gcc2
44619    builtin and then its argument prototype would still apply.  */
44620 char $ac_func ();
44621 /* The GNU C library defines this for functions which it implements
44622     to always fail with ENOSYS.  Some functions are actually named
44623     something starting with __ and the normal name is an alias.  */
44624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44625 choke me
44626 #else
44627 char (*f) () = $ac_func;
44628 #endif
44629 #ifdef __cplusplus
44630 }
44631 #endif
44632
44633 int
44634 main ()
44635 {
44636 return f != $ac_func;
44637   ;
44638   return 0;
44639 }
44640 _ACEOF
44641 rm -f conftest.$ac_objext conftest$ac_exeext
44642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44643   (eval $ac_link) 2>conftest.er1
44644   ac_status=$?
44645   grep -v '^ *+' conftest.er1 >conftest.err
44646   rm -f conftest.er1
44647   cat conftest.err >&5
44648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649   (exit $ac_status); } &&
44650          { ac_try='test -z "$ac_c_werror_flag"
44651                          || test ! -s conftest.err'
44652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44653   (eval $ac_try) 2>&5
44654   ac_status=$?
44655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656   (exit $ac_status); }; } &&
44657          { ac_try='test -s conftest$ac_exeext'
44658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44659   (eval $ac_try) 2>&5
44660   ac_status=$?
44661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662   (exit $ac_status); }; }; then
44663   eval "$as_ac_var=yes"
44664 else
44665   echo "$as_me: failed program was:" >&5
44666 sed 's/^/| /' conftest.$ac_ext >&5
44667
44668 eval "$as_ac_var=no"
44669 fi
44670 rm -f conftest.err conftest.$ac_objext \
44671       conftest$ac_exeext conftest.$ac_ext
44672 fi
44673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44675 if test `eval echo '${'$as_ac_var'}'` = yes; then
44676   cat >>confdefs.h <<_ACEOF
44677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44678 _ACEOF
44679
44680 fi
44681 done
44682
44683     fi
44684   fi
44685
44686
44687
44688
44689
44690
44691   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44692 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44693   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44694     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44695   echo $ECHO_N "(cached) $ECHO_C" >&6
44696 else
44697
44698
44699
44700       ac_ext=cc
44701 ac_cpp='$CXXCPP $CPPFLAGS'
44702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44705
44706       cat >conftest.$ac_ext <<_ACEOF
44707 /* confdefs.h.  */
44708 _ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h.  */
44712 #include <math.h>
44713                       #ifdef HAVE_IEEEFP_H
44714                       #include <ieeefp.h>
44715                       #endif
44716
44717 int
44718 main ()
44719 {
44720  qfpclass(0);
44721   ;
44722   return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44727   (eval $ac_compile) 2>conftest.er1
44728   ac_status=$?
44729   grep -v '^ *+' conftest.er1 >conftest.err
44730   rm -f conftest.er1
44731   cat conftest.err >&5
44732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733   (exit $ac_status); } &&
44734          { ac_try='test -z "$ac_cxx_werror_flag"
44735                          || test ! -s conftest.err'
44736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44737   (eval $ac_try) 2>&5
44738   ac_status=$?
44739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44740   (exit $ac_status); }; } &&
44741          { ac_try='test -s conftest.$ac_objext'
44742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743   (eval $ac_try) 2>&5
44744   ac_status=$?
44745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746   (exit $ac_status); }; }; then
44747   glibcxx_cv_func_qfpclass_use=yes
44748 else
44749   echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.$ac_ext >&5
44751
44752 glibcxx_cv_func_qfpclass_use=no
44753 fi
44754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44755       ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44760
44761
44762 fi
44763
44764   fi
44765   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44766 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44767
44768   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44769
44770 for ac_func in qfpclass
44771 do
44772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44773 echo "$as_me:$LINENO: checking for $ac_func" >&5
44774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44775 if eval "test \"\${$as_ac_var+set}\" = set"; then
44776   echo $ECHO_N "(cached) $ECHO_C" >&6
44777 else
44778   if test x$gcc_no_link = xyes; then
44779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44781    { (exit 1); exit 1; }; }
44782 fi
44783 cat >conftest.$ac_ext <<_ACEOF
44784 /* confdefs.h.  */
44785 _ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h.  */
44789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44791 #define $ac_func innocuous_$ac_func
44792
44793 /* System header to define __stub macros and hopefully few prototypes,
44794     which can conflict with char $ac_func (); below.
44795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44796     <limits.h> exists even on freestanding compilers.  */
44797
44798 #ifdef __STDC__
44799 # include <limits.h>
44800 #else
44801 # include <assert.h>
44802 #endif
44803
44804 #undef $ac_func
44805
44806 /* Override any gcc2 internal prototype to avoid an error.  */
44807 #ifdef __cplusplus
44808 extern "C"
44809 {
44810 #endif
44811 /* We use char because int might match the return type of a gcc2
44812    builtin and then its argument prototype would still apply.  */
44813 char $ac_func ();
44814 /* The GNU C library defines this for functions which it implements
44815     to always fail with ENOSYS.  Some functions are actually named
44816     something starting with __ and the normal name is an alias.  */
44817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44818 choke me
44819 #else
44820 char (*f) () = $ac_func;
44821 #endif
44822 #ifdef __cplusplus
44823 }
44824 #endif
44825
44826 int
44827 main ()
44828 {
44829 return f != $ac_func;
44830   ;
44831   return 0;
44832 }
44833 _ACEOF
44834 rm -f conftest.$ac_objext conftest$ac_exeext
44835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44836   (eval $ac_link) 2>conftest.er1
44837   ac_status=$?
44838   grep -v '^ *+' conftest.er1 >conftest.err
44839   rm -f conftest.er1
44840   cat conftest.err >&5
44841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842   (exit $ac_status); } &&
44843          { ac_try='test -z "$ac_c_werror_flag"
44844                          || test ! -s conftest.err'
44845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44846   (eval $ac_try) 2>&5
44847   ac_status=$?
44848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44849   (exit $ac_status); }; } &&
44850          { ac_try='test -s conftest$ac_exeext'
44851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44852   (eval $ac_try) 2>&5
44853   ac_status=$?
44854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855   (exit $ac_status); }; }; then
44856   eval "$as_ac_var=yes"
44857 else
44858   echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861 eval "$as_ac_var=no"
44862 fi
44863 rm -f conftest.err conftest.$ac_objext \
44864       conftest$ac_exeext conftest.$ac_ext
44865 fi
44866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44868 if test `eval echo '${'$as_ac_var'}'` = yes; then
44869   cat >>confdefs.h <<_ACEOF
44870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44872
44873 fi
44874 done
44875
44876   else
44877
44878   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44879 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44880   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44881     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44882   echo $ECHO_N "(cached) $ECHO_C" >&6
44883 else
44884
44885
44886
44887       ac_ext=cc
44888 ac_cpp='$CXXCPP $CPPFLAGS'
44889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44892
44893       cat >conftest.$ac_ext <<_ACEOF
44894 /* confdefs.h.  */
44895 _ACEOF
44896 cat confdefs.h >>conftest.$ac_ext
44897 cat >>conftest.$ac_ext <<_ACEOF
44898 /* end confdefs.h.  */
44899 #include <math.h>
44900                       #ifdef HAVE_IEEEFP_H
44901                       #include <ieeefp.h>
44902                       #endif
44903
44904 int
44905 main ()
44906 {
44907  _qfpclass(0);
44908   ;
44909   return 0;
44910 }
44911 _ACEOF
44912 rm -f conftest.$ac_objext
44913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44914   (eval $ac_compile) 2>conftest.er1
44915   ac_status=$?
44916   grep -v '^ *+' conftest.er1 >conftest.err
44917   rm -f conftest.er1
44918   cat conftest.err >&5
44919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920   (exit $ac_status); } &&
44921          { ac_try='test -z "$ac_cxx_werror_flag"
44922                          || test ! -s conftest.err'
44923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44924   (eval $ac_try) 2>&5
44925   ac_status=$?
44926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927   (exit $ac_status); }; } &&
44928          { ac_try='test -s conftest.$ac_objext'
44929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44930   (eval $ac_try) 2>&5
44931   ac_status=$?
44932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933   (exit $ac_status); }; }; then
44934   glibcxx_cv_func__qfpclass_use=yes
44935 else
44936   echo "$as_me: failed program was:" >&5
44937 sed 's/^/| /' conftest.$ac_ext >&5
44938
44939 glibcxx_cv_func__qfpclass_use=no
44940 fi
44941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44942       ac_ext=c
44943 ac_cpp='$CPP $CPPFLAGS'
44944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44947
44948
44949 fi
44950
44951   fi
44952   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44953 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44954
44955     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44956
44957 for ac_func in _qfpclass
44958 do
44959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44960 echo "$as_me:$LINENO: checking for $ac_func" >&5
44961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44962 if eval "test \"\${$as_ac_var+set}\" = set"; then
44963   echo $ECHO_N "(cached) $ECHO_C" >&6
44964 else
44965   if test x$gcc_no_link = xyes; then
44966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44968    { (exit 1); exit 1; }; }
44969 fi
44970 cat >conftest.$ac_ext <<_ACEOF
44971 /* confdefs.h.  */
44972 _ACEOF
44973 cat confdefs.h >>conftest.$ac_ext
44974 cat >>conftest.$ac_ext <<_ACEOF
44975 /* end confdefs.h.  */
44976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44978 #define $ac_func innocuous_$ac_func
44979
44980 /* System header to define __stub macros and hopefully few prototypes,
44981     which can conflict with char $ac_func (); below.
44982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44983     <limits.h> exists even on freestanding compilers.  */
44984
44985 #ifdef __STDC__
44986 # include <limits.h>
44987 #else
44988 # include <assert.h>
44989 #endif
44990
44991 #undef $ac_func
44992
44993 /* Override any gcc2 internal prototype to avoid an error.  */
44994 #ifdef __cplusplus
44995 extern "C"
44996 {
44997 #endif
44998 /* We use char because int might match the return type of a gcc2
44999    builtin and then its argument prototype would still apply.  */
45000 char $ac_func ();
45001 /* The GNU C library defines this for functions which it implements
45002     to always fail with ENOSYS.  Some functions are actually named
45003     something starting with __ and the normal name is an alias.  */
45004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45005 choke me
45006 #else
45007 char (*f) () = $ac_func;
45008 #endif
45009 #ifdef __cplusplus
45010 }
45011 #endif
45012
45013 int
45014 main ()
45015 {
45016 return f != $ac_func;
45017   ;
45018   return 0;
45019 }
45020 _ACEOF
45021 rm -f conftest.$ac_objext conftest$ac_exeext
45022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45023   (eval $ac_link) 2>conftest.er1
45024   ac_status=$?
45025   grep -v '^ *+' conftest.er1 >conftest.err
45026   rm -f conftest.er1
45027   cat conftest.err >&5
45028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029   (exit $ac_status); } &&
45030          { ac_try='test -z "$ac_c_werror_flag"
45031                          || test ! -s conftest.err'
45032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45033   (eval $ac_try) 2>&5
45034   ac_status=$?
45035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036   (exit $ac_status); }; } &&
45037          { ac_try='test -s conftest$ac_exeext'
45038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039   (eval $ac_try) 2>&5
45040   ac_status=$?
45041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042   (exit $ac_status); }; }; then
45043   eval "$as_ac_var=yes"
45044 else
45045   echo "$as_me: failed program was:" >&5
45046 sed 's/^/| /' conftest.$ac_ext >&5
45047
45048 eval "$as_ac_var=no"
45049 fi
45050 rm -f conftest.err conftest.$ac_objext \
45051       conftest$ac_exeext conftest.$ac_ext
45052 fi
45053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45055 if test `eval echo '${'$as_ac_var'}'` = yes; then
45056   cat >>confdefs.h <<_ACEOF
45057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45058 _ACEOF
45059
45060 fi
45061 done
45062
45063     fi
45064   fi
45065
45066
45067
45068
45069
45070
45071   echo "$as_me:$LINENO: checking for hypot declaration" >&5
45072 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45073   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45074     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45075   echo $ECHO_N "(cached) $ECHO_C" >&6
45076 else
45077
45078
45079
45080       ac_ext=cc
45081 ac_cpp='$CXXCPP $CPPFLAGS'
45082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45085
45086       cat >conftest.$ac_ext <<_ACEOF
45087 /* confdefs.h.  */
45088 _ACEOF
45089 cat confdefs.h >>conftest.$ac_ext
45090 cat >>conftest.$ac_ext <<_ACEOF
45091 /* end confdefs.h.  */
45092 #include <math.h>
45093 int
45094 main ()
45095 {
45096  hypot(0, 0);
45097   ;
45098   return 0;
45099 }
45100 _ACEOF
45101 rm -f conftest.$ac_objext
45102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45103   (eval $ac_compile) 2>conftest.er1
45104   ac_status=$?
45105   grep -v '^ *+' conftest.er1 >conftest.err
45106   rm -f conftest.er1
45107   cat conftest.err >&5
45108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45109   (exit $ac_status); } &&
45110          { ac_try='test -z "$ac_cxx_werror_flag"
45111                          || test ! -s conftest.err'
45112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45113   (eval $ac_try) 2>&5
45114   ac_status=$?
45115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116   (exit $ac_status); }; } &&
45117          { ac_try='test -s conftest.$ac_objext'
45118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45119   (eval $ac_try) 2>&5
45120   ac_status=$?
45121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122   (exit $ac_status); }; }; then
45123   glibcxx_cv_func_hypot_use=yes
45124 else
45125   echo "$as_me: failed program was:" >&5
45126 sed 's/^/| /' conftest.$ac_ext >&5
45127
45128 glibcxx_cv_func_hypot_use=no
45129 fi
45130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45131       ac_ext=c
45132 ac_cpp='$CPP $CPPFLAGS'
45133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45136
45137
45138 fi
45139
45140   fi
45141   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45142 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45143
45144   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45145
45146 for ac_func in hypot
45147 do
45148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45149 echo "$as_me:$LINENO: checking for $ac_func" >&5
45150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45151 if eval "test \"\${$as_ac_var+set}\" = set"; then
45152   echo $ECHO_N "(cached) $ECHO_C" >&6
45153 else
45154   if test x$gcc_no_link = xyes; then
45155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45157    { (exit 1); exit 1; }; }
45158 fi
45159 cat >conftest.$ac_ext <<_ACEOF
45160 /* confdefs.h.  */
45161 _ACEOF
45162 cat confdefs.h >>conftest.$ac_ext
45163 cat >>conftest.$ac_ext <<_ACEOF
45164 /* end confdefs.h.  */
45165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45167 #define $ac_func innocuous_$ac_func
45168
45169 /* System header to define __stub macros and hopefully few prototypes,
45170     which can conflict with char $ac_func (); below.
45171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45172     <limits.h> exists even on freestanding compilers.  */
45173
45174 #ifdef __STDC__
45175 # include <limits.h>
45176 #else
45177 # include <assert.h>
45178 #endif
45179
45180 #undef $ac_func
45181
45182 /* Override any gcc2 internal prototype to avoid an error.  */
45183 #ifdef __cplusplus
45184 extern "C"
45185 {
45186 #endif
45187 /* We use char because int might match the return type of a gcc2
45188    builtin and then its argument prototype would still apply.  */
45189 char $ac_func ();
45190 /* The GNU C library defines this for functions which it implements
45191     to always fail with ENOSYS.  Some functions are actually named
45192     something starting with __ and the normal name is an alias.  */
45193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45194 choke me
45195 #else
45196 char (*f) () = $ac_func;
45197 #endif
45198 #ifdef __cplusplus
45199 }
45200 #endif
45201
45202 int
45203 main ()
45204 {
45205 return f != $ac_func;
45206   ;
45207   return 0;
45208 }
45209 _ACEOF
45210 rm -f conftest.$ac_objext conftest$ac_exeext
45211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45212   (eval $ac_link) 2>conftest.er1
45213   ac_status=$?
45214   grep -v '^ *+' conftest.er1 >conftest.err
45215   rm -f conftest.er1
45216   cat conftest.err >&5
45217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218   (exit $ac_status); } &&
45219          { ac_try='test -z "$ac_c_werror_flag"
45220                          || test ! -s conftest.err'
45221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45222   (eval $ac_try) 2>&5
45223   ac_status=$?
45224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225   (exit $ac_status); }; } &&
45226          { ac_try='test -s conftest$ac_exeext'
45227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45228   (eval $ac_try) 2>&5
45229   ac_status=$?
45230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231   (exit $ac_status); }; }; then
45232   eval "$as_ac_var=yes"
45233 else
45234   echo "$as_me: failed program was:" >&5
45235 sed 's/^/| /' conftest.$ac_ext >&5
45236
45237 eval "$as_ac_var=no"
45238 fi
45239 rm -f conftest.err conftest.$ac_objext \
45240       conftest$ac_exeext conftest.$ac_ext
45241 fi
45242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45244 if test `eval echo '${'$as_ac_var'}'` = yes; then
45245   cat >>confdefs.h <<_ACEOF
45246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45247 _ACEOF
45248
45249 fi
45250 done
45251
45252   else
45253
45254   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45255 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45256   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45257     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45258   echo $ECHO_N "(cached) $ECHO_C" >&6
45259 else
45260
45261
45262
45263       ac_ext=cc
45264 ac_cpp='$CXXCPP $CPPFLAGS'
45265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268
45269       cat >conftest.$ac_ext <<_ACEOF
45270 /* confdefs.h.  */
45271 _ACEOF
45272 cat confdefs.h >>conftest.$ac_ext
45273 cat >>conftest.$ac_ext <<_ACEOF
45274 /* end confdefs.h.  */
45275 #include <math.h>
45276 int
45277 main ()
45278 {
45279  _hypot(0, 0);
45280   ;
45281   return 0;
45282 }
45283 _ACEOF
45284 rm -f conftest.$ac_objext
45285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45286   (eval $ac_compile) 2>conftest.er1
45287   ac_status=$?
45288   grep -v '^ *+' conftest.er1 >conftest.err
45289   rm -f conftest.er1
45290   cat conftest.err >&5
45291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45292   (exit $ac_status); } &&
45293          { ac_try='test -z "$ac_cxx_werror_flag"
45294                          || test ! -s conftest.err'
45295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45296   (eval $ac_try) 2>&5
45297   ac_status=$?
45298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299   (exit $ac_status); }; } &&
45300          { ac_try='test -s conftest.$ac_objext'
45301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45302   (eval $ac_try) 2>&5
45303   ac_status=$?
45304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305   (exit $ac_status); }; }; then
45306   glibcxx_cv_func__hypot_use=yes
45307 else
45308   echo "$as_me: failed program was:" >&5
45309 sed 's/^/| /' conftest.$ac_ext >&5
45310
45311 glibcxx_cv_func__hypot_use=no
45312 fi
45313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45314       ac_ext=c
45315 ac_cpp='$CPP $CPPFLAGS'
45316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45319
45320
45321 fi
45322
45323   fi
45324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45325 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45326
45327     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45328
45329 for ac_func in _hypot
45330 do
45331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45332 echo "$as_me:$LINENO: checking for $ac_func" >&5
45333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45334 if eval "test \"\${$as_ac_var+set}\" = set"; then
45335   echo $ECHO_N "(cached) $ECHO_C" >&6
45336 else
45337   if test x$gcc_no_link = xyes; then
45338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45340    { (exit 1); exit 1; }; }
45341 fi
45342 cat >conftest.$ac_ext <<_ACEOF
45343 /* confdefs.h.  */
45344 _ACEOF
45345 cat confdefs.h >>conftest.$ac_ext
45346 cat >>conftest.$ac_ext <<_ACEOF
45347 /* end confdefs.h.  */
45348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45350 #define $ac_func innocuous_$ac_func
45351
45352 /* System header to define __stub macros and hopefully few prototypes,
45353     which can conflict with char $ac_func (); below.
45354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45355     <limits.h> exists even on freestanding compilers.  */
45356
45357 #ifdef __STDC__
45358 # include <limits.h>
45359 #else
45360 # include <assert.h>
45361 #endif
45362
45363 #undef $ac_func
45364
45365 /* Override any gcc2 internal prototype to avoid an error.  */
45366 #ifdef __cplusplus
45367 extern "C"
45368 {
45369 #endif
45370 /* We use char because int might match the return type of a gcc2
45371    builtin and then its argument prototype would still apply.  */
45372 char $ac_func ();
45373 /* The GNU C library defines this for functions which it implements
45374     to always fail with ENOSYS.  Some functions are actually named
45375     something starting with __ and the normal name is an alias.  */
45376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45377 choke me
45378 #else
45379 char (*f) () = $ac_func;
45380 #endif
45381 #ifdef __cplusplus
45382 }
45383 #endif
45384
45385 int
45386 main ()
45387 {
45388 return f != $ac_func;
45389   ;
45390   return 0;
45391 }
45392 _ACEOF
45393 rm -f conftest.$ac_objext conftest$ac_exeext
45394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45395   (eval $ac_link) 2>conftest.er1
45396   ac_status=$?
45397   grep -v '^ *+' conftest.er1 >conftest.err
45398   rm -f conftest.er1
45399   cat conftest.err >&5
45400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401   (exit $ac_status); } &&
45402          { ac_try='test -z "$ac_c_werror_flag"
45403                          || test ! -s conftest.err'
45404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45405   (eval $ac_try) 2>&5
45406   ac_status=$?
45407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408   (exit $ac_status); }; } &&
45409          { ac_try='test -s conftest$ac_exeext'
45410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411   (eval $ac_try) 2>&5
45412   ac_status=$?
45413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414   (exit $ac_status); }; }; then
45415   eval "$as_ac_var=yes"
45416 else
45417   echo "$as_me: failed program was:" >&5
45418 sed 's/^/| /' conftest.$ac_ext >&5
45419
45420 eval "$as_ac_var=no"
45421 fi
45422 rm -f conftest.err conftest.$ac_objext \
45423       conftest$ac_exeext conftest.$ac_ext
45424 fi
45425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45427 if test `eval echo '${'$as_ac_var'}'` = yes; then
45428   cat >>confdefs.h <<_ACEOF
45429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45430 _ACEOF
45431
45432 fi
45433 done
45434
45435     fi
45436   fi
45437
45438
45439
45440
45441
45442
45443     echo "$as_me:$LINENO: checking for float trig functions" >&5
45444 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45445   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45446   echo $ECHO_N "(cached) $ECHO_C" >&6
45447 else
45448
45449
45450
45451     ac_ext=cc
45452 ac_cpp='$CXXCPP $CPPFLAGS'
45453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45456
45457     cat >conftest.$ac_ext <<_ACEOF
45458 /* confdefs.h.  */
45459 _ACEOF
45460 cat confdefs.h >>conftest.$ac_ext
45461 cat >>conftest.$ac_ext <<_ACEOF
45462 /* end confdefs.h.  */
45463 #include <math.h>
45464 int
45465 main ()
45466 {
45467 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45468   ;
45469   return 0;
45470 }
45471 _ACEOF
45472 rm -f conftest.$ac_objext
45473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45474   (eval $ac_compile) 2>conftest.er1
45475   ac_status=$?
45476   grep -v '^ *+' conftest.er1 >conftest.err
45477   rm -f conftest.er1
45478   cat conftest.err >&5
45479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480   (exit $ac_status); } &&
45481          { ac_try='test -z "$ac_cxx_werror_flag"
45482                          || test ! -s conftest.err'
45483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45484   (eval $ac_try) 2>&5
45485   ac_status=$?
45486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45487   (exit $ac_status); }; } &&
45488          { ac_try='test -s conftest.$ac_objext'
45489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45490   (eval $ac_try) 2>&5
45491   ac_status=$?
45492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45493   (exit $ac_status); }; }; then
45494   glibcxx_cv_func_float_trig_use=yes
45495 else
45496   echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.$ac_ext >&5
45498
45499 glibcxx_cv_func_float_trig_use=no
45500 fi
45501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45502     ac_ext=c
45503 ac_cpp='$CPP $CPPFLAGS'
45504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507
45508 fi
45509
45510   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45511 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45512   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45523 do
45524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45525 echo "$as_me:$LINENO: checking for $ac_func" >&5
45526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45527 if eval "test \"\${$as_ac_var+set}\" = set"; then
45528   echo $ECHO_N "(cached) $ECHO_C" >&6
45529 else
45530   if test x$gcc_no_link = xyes; then
45531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45533    { (exit 1); exit 1; }; }
45534 fi
45535 cat >conftest.$ac_ext <<_ACEOF
45536 /* confdefs.h.  */
45537 _ACEOF
45538 cat confdefs.h >>conftest.$ac_ext
45539 cat >>conftest.$ac_ext <<_ACEOF
45540 /* end confdefs.h.  */
45541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45543 #define $ac_func innocuous_$ac_func
45544
45545 /* System header to define __stub macros and hopefully few prototypes,
45546     which can conflict with char $ac_func (); below.
45547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45548     <limits.h> exists even on freestanding compilers.  */
45549
45550 #ifdef __STDC__
45551 # include <limits.h>
45552 #else
45553 # include <assert.h>
45554 #endif
45555
45556 #undef $ac_func
45557
45558 /* Override any gcc2 internal prototype to avoid an error.  */
45559 #ifdef __cplusplus
45560 extern "C"
45561 {
45562 #endif
45563 /* We use char because int might match the return type of a gcc2
45564    builtin and then its argument prototype would still apply.  */
45565 char $ac_func ();
45566 /* The GNU C library defines this for functions which it implements
45567     to always fail with ENOSYS.  Some functions are actually named
45568     something starting with __ and the normal name is an alias.  */
45569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45570 choke me
45571 #else
45572 char (*f) () = $ac_func;
45573 #endif
45574 #ifdef __cplusplus
45575 }
45576 #endif
45577
45578 int
45579 main ()
45580 {
45581 return f != $ac_func;
45582   ;
45583   return 0;
45584 }
45585 _ACEOF
45586 rm -f conftest.$ac_objext conftest$ac_exeext
45587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45588   (eval $ac_link) 2>conftest.er1
45589   ac_status=$?
45590   grep -v '^ *+' conftest.er1 >conftest.err
45591   rm -f conftest.er1
45592   cat conftest.err >&5
45593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45594   (exit $ac_status); } &&
45595          { ac_try='test -z "$ac_c_werror_flag"
45596                          || test ! -s conftest.err'
45597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45598   (eval $ac_try) 2>&5
45599   ac_status=$?
45600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45601   (exit $ac_status); }; } &&
45602          { ac_try='test -s conftest$ac_exeext'
45603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45604   (eval $ac_try) 2>&5
45605   ac_status=$?
45606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607   (exit $ac_status); }; }; then
45608   eval "$as_ac_var=yes"
45609 else
45610   echo "$as_me: failed program was:" >&5
45611 sed 's/^/| /' conftest.$ac_ext >&5
45612
45613 eval "$as_ac_var=no"
45614 fi
45615 rm -f conftest.err conftest.$ac_objext \
45616       conftest$ac_exeext conftest.$ac_ext
45617 fi
45618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45620 if test `eval echo '${'$as_ac_var'}'` = yes; then
45621   cat >>confdefs.h <<_ACEOF
45622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45623 _ACEOF
45624
45625 fi
45626 done
45627
45628   else
45629     echo "$as_me:$LINENO: checking for _float trig functions" >&5
45630 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45631     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45632   echo $ECHO_N "(cached) $ECHO_C" >&6
45633 else
45634
45635
45636
45637       ac_ext=cc
45638 ac_cpp='$CXXCPP $CPPFLAGS'
45639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45642
45643       cat >conftest.$ac_ext <<_ACEOF
45644 /* confdefs.h.  */
45645 _ACEOF
45646 cat confdefs.h >>conftest.$ac_ext
45647 cat >>conftest.$ac_ext <<_ACEOF
45648 /* end confdefs.h.  */
45649 #include <math.h>
45650 int
45651 main ()
45652 {
45653 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45654   ;
45655   return 0;
45656 }
45657 _ACEOF
45658 rm -f conftest.$ac_objext
45659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45660   (eval $ac_compile) 2>conftest.er1
45661   ac_status=$?
45662   grep -v '^ *+' conftest.er1 >conftest.err
45663   rm -f conftest.er1
45664   cat conftest.err >&5
45665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45666   (exit $ac_status); } &&
45667          { ac_try='test -z "$ac_cxx_werror_flag"
45668                          || test ! -s conftest.err'
45669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45670   (eval $ac_try) 2>&5
45671   ac_status=$?
45672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673   (exit $ac_status); }; } &&
45674          { ac_try='test -s conftest.$ac_objext'
45675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45676   (eval $ac_try) 2>&5
45677   ac_status=$?
45678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45679   (exit $ac_status); }; }; then
45680   glibcxx_cv_func__float_trig_use=yes
45681 else
45682   echo "$as_me: failed program was:" >&5
45683 sed 's/^/| /' conftest.$ac_ext >&5
45684
45685 glibcxx_cv_func__float_trig_use=no
45686 fi
45687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45688       ac_ext=c
45689 ac_cpp='$CPP $CPPFLAGS'
45690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45693
45694 fi
45695
45696     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45697 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45698     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45709 do
45710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45711 echo "$as_me:$LINENO: checking for $ac_func" >&5
45712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45713 if eval "test \"\${$as_ac_var+set}\" = set"; then
45714   echo $ECHO_N "(cached) $ECHO_C" >&6
45715 else
45716   if test x$gcc_no_link = xyes; then
45717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45719    { (exit 1); exit 1; }; }
45720 fi
45721 cat >conftest.$ac_ext <<_ACEOF
45722 /* confdefs.h.  */
45723 _ACEOF
45724 cat confdefs.h >>conftest.$ac_ext
45725 cat >>conftest.$ac_ext <<_ACEOF
45726 /* end confdefs.h.  */
45727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45729 #define $ac_func innocuous_$ac_func
45730
45731 /* System header to define __stub macros and hopefully few prototypes,
45732     which can conflict with char $ac_func (); below.
45733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45734     <limits.h> exists even on freestanding compilers.  */
45735
45736 #ifdef __STDC__
45737 # include <limits.h>
45738 #else
45739 # include <assert.h>
45740 #endif
45741
45742 #undef $ac_func
45743
45744 /* Override any gcc2 internal prototype to avoid an error.  */
45745 #ifdef __cplusplus
45746 extern "C"
45747 {
45748 #endif
45749 /* We use char because int might match the return type of a gcc2
45750    builtin and then its argument prototype would still apply.  */
45751 char $ac_func ();
45752 /* The GNU C library defines this for functions which it implements
45753     to always fail with ENOSYS.  Some functions are actually named
45754     something starting with __ and the normal name is an alias.  */
45755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45756 choke me
45757 #else
45758 char (*f) () = $ac_func;
45759 #endif
45760 #ifdef __cplusplus
45761 }
45762 #endif
45763
45764 int
45765 main ()
45766 {
45767 return f != $ac_func;
45768   ;
45769   return 0;
45770 }
45771 _ACEOF
45772 rm -f conftest.$ac_objext conftest$ac_exeext
45773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45774   (eval $ac_link) 2>conftest.er1
45775   ac_status=$?
45776   grep -v '^ *+' conftest.er1 >conftest.err
45777   rm -f conftest.er1
45778   cat conftest.err >&5
45779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45780   (exit $ac_status); } &&
45781          { ac_try='test -z "$ac_c_werror_flag"
45782                          || test ! -s conftest.err'
45783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45784   (eval $ac_try) 2>&5
45785   ac_status=$?
45786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45787   (exit $ac_status); }; } &&
45788          { ac_try='test -s conftest$ac_exeext'
45789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45790   (eval $ac_try) 2>&5
45791   ac_status=$?
45792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45793   (exit $ac_status); }; }; then
45794   eval "$as_ac_var=yes"
45795 else
45796   echo "$as_me: failed program was:" >&5
45797 sed 's/^/| /' conftest.$ac_ext >&5
45798
45799 eval "$as_ac_var=no"
45800 fi
45801 rm -f conftest.err conftest.$ac_objext \
45802       conftest$ac_exeext conftest.$ac_ext
45803 fi
45804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45806 if test `eval echo '${'$as_ac_var'}'` = yes; then
45807   cat >>confdefs.h <<_ACEOF
45808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45809 _ACEOF
45810
45811 fi
45812 done
45813
45814     fi
45815   fi
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830     echo "$as_me:$LINENO: checking for float round functions" >&5
45831 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45832   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45833   echo $ECHO_N "(cached) $ECHO_C" >&6
45834 else
45835
45836
45837
45838     ac_ext=cc
45839 ac_cpp='$CXXCPP $CPPFLAGS'
45840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45843
45844     cat >conftest.$ac_ext <<_ACEOF
45845 /* confdefs.h.  */
45846 _ACEOF
45847 cat confdefs.h >>conftest.$ac_ext
45848 cat >>conftest.$ac_ext <<_ACEOF
45849 /* end confdefs.h.  */
45850 #include <math.h>
45851 int
45852 main ()
45853 {
45854 ceilf (0); floorf (0);
45855   ;
45856   return 0;
45857 }
45858 _ACEOF
45859 rm -f conftest.$ac_objext
45860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45861   (eval $ac_compile) 2>conftest.er1
45862   ac_status=$?
45863   grep -v '^ *+' conftest.er1 >conftest.err
45864   rm -f conftest.er1
45865   cat conftest.err >&5
45866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45867   (exit $ac_status); } &&
45868          { ac_try='test -z "$ac_cxx_werror_flag"
45869                          || test ! -s conftest.err'
45870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45871   (eval $ac_try) 2>&5
45872   ac_status=$?
45873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45874   (exit $ac_status); }; } &&
45875          { ac_try='test -s conftest.$ac_objext'
45876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45877   (eval $ac_try) 2>&5
45878   ac_status=$?
45879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880   (exit $ac_status); }; }; then
45881   glibcxx_cv_func_float_round_use=yes
45882 else
45883   echo "$as_me: failed program was:" >&5
45884 sed 's/^/| /' conftest.$ac_ext >&5
45885
45886 glibcxx_cv_func_float_round_use=no
45887 fi
45888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45889     ac_ext=c
45890 ac_cpp='$CPP $CPPFLAGS'
45891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45894
45895 fi
45896
45897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45898 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45899   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45900
45901
45902 for ac_func in ceilf floorf
45903 do
45904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45905 echo "$as_me:$LINENO: checking for $ac_func" >&5
45906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45907 if eval "test \"\${$as_ac_var+set}\" = set"; then
45908   echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910   if test x$gcc_no_link = xyes; then
45911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45913    { (exit 1); exit 1; }; }
45914 fi
45915 cat >conftest.$ac_ext <<_ACEOF
45916 /* confdefs.h.  */
45917 _ACEOF
45918 cat confdefs.h >>conftest.$ac_ext
45919 cat >>conftest.$ac_ext <<_ACEOF
45920 /* end confdefs.h.  */
45921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45923 #define $ac_func innocuous_$ac_func
45924
45925 /* System header to define __stub macros and hopefully few prototypes,
45926     which can conflict with char $ac_func (); below.
45927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45928     <limits.h> exists even on freestanding compilers.  */
45929
45930 #ifdef __STDC__
45931 # include <limits.h>
45932 #else
45933 # include <assert.h>
45934 #endif
45935
45936 #undef $ac_func
45937
45938 /* Override any gcc2 internal prototype to avoid an error.  */
45939 #ifdef __cplusplus
45940 extern "C"
45941 {
45942 #endif
45943 /* We use char because int might match the return type of a gcc2
45944    builtin and then its argument prototype would still apply.  */
45945 char $ac_func ();
45946 /* The GNU C library defines this for functions which it implements
45947     to always fail with ENOSYS.  Some functions are actually named
45948     something starting with __ and the normal name is an alias.  */
45949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45950 choke me
45951 #else
45952 char (*f) () = $ac_func;
45953 #endif
45954 #ifdef __cplusplus
45955 }
45956 #endif
45957
45958 int
45959 main ()
45960 {
45961 return f != $ac_func;
45962   ;
45963   return 0;
45964 }
45965 _ACEOF
45966 rm -f conftest.$ac_objext conftest$ac_exeext
45967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45968   (eval $ac_link) 2>conftest.er1
45969   ac_status=$?
45970   grep -v '^ *+' conftest.er1 >conftest.err
45971   rm -f conftest.er1
45972   cat conftest.err >&5
45973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974   (exit $ac_status); } &&
45975          { ac_try='test -z "$ac_c_werror_flag"
45976                          || test ! -s conftest.err'
45977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45978   (eval $ac_try) 2>&5
45979   ac_status=$?
45980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981   (exit $ac_status); }; } &&
45982          { ac_try='test -s conftest$ac_exeext'
45983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45984   (eval $ac_try) 2>&5
45985   ac_status=$?
45986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45987   (exit $ac_status); }; }; then
45988   eval "$as_ac_var=yes"
45989 else
45990   echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45992
45993 eval "$as_ac_var=no"
45994 fi
45995 rm -f conftest.err conftest.$ac_objext \
45996       conftest$ac_exeext conftest.$ac_ext
45997 fi
45998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46000 if test `eval echo '${'$as_ac_var'}'` = yes; then
46001   cat >>confdefs.h <<_ACEOF
46002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46003 _ACEOF
46004
46005 fi
46006 done
46007
46008   else
46009     echo "$as_me:$LINENO: checking for _float round functions" >&5
46010 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46011     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46012   echo $ECHO_N "(cached) $ECHO_C" >&6
46013 else
46014
46015
46016
46017       ac_ext=cc
46018 ac_cpp='$CXXCPP $CPPFLAGS'
46019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46022
46023       cat >conftest.$ac_ext <<_ACEOF
46024 /* confdefs.h.  */
46025 _ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h.  */
46029 #include <math.h>
46030 int
46031 main ()
46032 {
46033 _ceilf (0); _floorf (0);
46034   ;
46035   return 0;
46036 }
46037 _ACEOF
46038 rm -f conftest.$ac_objext
46039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46040   (eval $ac_compile) 2>conftest.er1
46041   ac_status=$?
46042   grep -v '^ *+' conftest.er1 >conftest.err
46043   rm -f conftest.er1
46044   cat conftest.err >&5
46045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46046   (exit $ac_status); } &&
46047          { ac_try='test -z "$ac_cxx_werror_flag"
46048                          || test ! -s conftest.err'
46049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050   (eval $ac_try) 2>&5
46051   ac_status=$?
46052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053   (exit $ac_status); }; } &&
46054          { ac_try='test -s conftest.$ac_objext'
46055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46056   (eval $ac_try) 2>&5
46057   ac_status=$?
46058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46059   (exit $ac_status); }; }; then
46060   glibcxx_cv_func__float_round_use=yes
46061 else
46062   echo "$as_me: failed program was:" >&5
46063 sed 's/^/| /' conftest.$ac_ext >&5
46064
46065 glibcxx_cv_func__float_round_use=no
46066 fi
46067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46068       ac_ext=c
46069 ac_cpp='$CPP $CPPFLAGS'
46070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46073
46074 fi
46075
46076     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46077 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46078     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46079
46080
46081 for ac_func in _ceilf _floorf
46082 do
46083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46084 echo "$as_me:$LINENO: checking for $ac_func" >&5
46085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46086 if eval "test \"\${$as_ac_var+set}\" = set"; then
46087   echo $ECHO_N "(cached) $ECHO_C" >&6
46088 else
46089   if test x$gcc_no_link = xyes; then
46090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46092    { (exit 1); exit 1; }; }
46093 fi
46094 cat >conftest.$ac_ext <<_ACEOF
46095 /* confdefs.h.  */
46096 _ACEOF
46097 cat confdefs.h >>conftest.$ac_ext
46098 cat >>conftest.$ac_ext <<_ACEOF
46099 /* end confdefs.h.  */
46100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46102 #define $ac_func innocuous_$ac_func
46103
46104 /* System header to define __stub macros and hopefully few prototypes,
46105     which can conflict with char $ac_func (); below.
46106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46107     <limits.h> exists even on freestanding compilers.  */
46108
46109 #ifdef __STDC__
46110 # include <limits.h>
46111 #else
46112 # include <assert.h>
46113 #endif
46114
46115 #undef $ac_func
46116
46117 /* Override any gcc2 internal prototype to avoid an error.  */
46118 #ifdef __cplusplus
46119 extern "C"
46120 {
46121 #endif
46122 /* We use char because int might match the return type of a gcc2
46123    builtin and then its argument prototype would still apply.  */
46124 char $ac_func ();
46125 /* The GNU C library defines this for functions which it implements
46126     to always fail with ENOSYS.  Some functions are actually named
46127     something starting with __ and the normal name is an alias.  */
46128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46129 choke me
46130 #else
46131 char (*f) () = $ac_func;
46132 #endif
46133 #ifdef __cplusplus
46134 }
46135 #endif
46136
46137 int
46138 main ()
46139 {
46140 return f != $ac_func;
46141   ;
46142   return 0;
46143 }
46144 _ACEOF
46145 rm -f conftest.$ac_objext conftest$ac_exeext
46146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46147   (eval $ac_link) 2>conftest.er1
46148   ac_status=$?
46149   grep -v '^ *+' conftest.er1 >conftest.err
46150   rm -f conftest.er1
46151   cat conftest.err >&5
46152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153   (exit $ac_status); } &&
46154          { ac_try='test -z "$ac_c_werror_flag"
46155                          || test ! -s conftest.err'
46156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46157   (eval $ac_try) 2>&5
46158   ac_status=$?
46159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160   (exit $ac_status); }; } &&
46161          { ac_try='test -s conftest$ac_exeext'
46162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46163   (eval $ac_try) 2>&5
46164   ac_status=$?
46165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46166   (exit $ac_status); }; }; then
46167   eval "$as_ac_var=yes"
46168 else
46169   echo "$as_me: failed program was:" >&5
46170 sed 's/^/| /' conftest.$ac_ext >&5
46171
46172 eval "$as_ac_var=no"
46173 fi
46174 rm -f conftest.err conftest.$ac_objext \
46175       conftest$ac_exeext conftest.$ac_ext
46176 fi
46177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46179 if test `eval echo '${'$as_ac_var'}'` = yes; then
46180   cat >>confdefs.h <<_ACEOF
46181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46182 _ACEOF
46183
46184 fi
46185 done
46186
46187     fi
46188   fi
46189
46190
46191
46192
46193
46194
46195
46196
46197   echo "$as_me:$LINENO: checking for expf declaration" >&5
46198 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46199   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46200     if test "${glibcxx_cv_func_expf_use+set}" = set; then
46201   echo $ECHO_N "(cached) $ECHO_C" >&6
46202 else
46203
46204
46205
46206       ac_ext=cc
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46211
46212       cat >conftest.$ac_ext <<_ACEOF
46213 /* confdefs.h.  */
46214 _ACEOF
46215 cat confdefs.h >>conftest.$ac_ext
46216 cat >>conftest.$ac_ext <<_ACEOF
46217 /* end confdefs.h.  */
46218 #include <math.h>
46219                       #ifdef HAVE_IEEEFP_H
46220                       #include <ieeefp.h>
46221                       #endif
46222
46223 int
46224 main ()
46225 {
46226  expf(0);
46227   ;
46228   return 0;
46229 }
46230 _ACEOF
46231 rm -f conftest.$ac_objext
46232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46233   (eval $ac_compile) 2>conftest.er1
46234   ac_status=$?
46235   grep -v '^ *+' conftest.er1 >conftest.err
46236   rm -f conftest.er1
46237   cat conftest.err >&5
46238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46239   (exit $ac_status); } &&
46240          { ac_try='test -z "$ac_cxx_werror_flag"
46241                          || test ! -s conftest.err'
46242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243   (eval $ac_try) 2>&5
46244   ac_status=$?
46245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246   (exit $ac_status); }; } &&
46247          { ac_try='test -s conftest.$ac_objext'
46248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46249   (eval $ac_try) 2>&5
46250   ac_status=$?
46251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252   (exit $ac_status); }; }; then
46253   glibcxx_cv_func_expf_use=yes
46254 else
46255   echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.$ac_ext >&5
46257
46258 glibcxx_cv_func_expf_use=no
46259 fi
46260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46261       ac_ext=c
46262 ac_cpp='$CPP $CPPFLAGS'
46263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46266
46267
46268 fi
46269
46270   fi
46271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46272 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46273
46274   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46275
46276 for ac_func in expf
46277 do
46278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46279 echo "$as_me:$LINENO: checking for $ac_func" >&5
46280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46281 if eval "test \"\${$as_ac_var+set}\" = set"; then
46282   echo $ECHO_N "(cached) $ECHO_C" >&6
46283 else
46284   if test x$gcc_no_link = xyes; then
46285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46287    { (exit 1); exit 1; }; }
46288 fi
46289 cat >conftest.$ac_ext <<_ACEOF
46290 /* confdefs.h.  */
46291 _ACEOF
46292 cat confdefs.h >>conftest.$ac_ext
46293 cat >>conftest.$ac_ext <<_ACEOF
46294 /* end confdefs.h.  */
46295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46297 #define $ac_func innocuous_$ac_func
46298
46299 /* System header to define __stub macros and hopefully few prototypes,
46300     which can conflict with char $ac_func (); below.
46301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46302     <limits.h> exists even on freestanding compilers.  */
46303
46304 #ifdef __STDC__
46305 # include <limits.h>
46306 #else
46307 # include <assert.h>
46308 #endif
46309
46310 #undef $ac_func
46311
46312 /* Override any gcc2 internal prototype to avoid an error.  */
46313 #ifdef __cplusplus
46314 extern "C"
46315 {
46316 #endif
46317 /* We use char because int might match the return type of a gcc2
46318    builtin and then its argument prototype would still apply.  */
46319 char $ac_func ();
46320 /* The GNU C library defines this for functions which it implements
46321     to always fail with ENOSYS.  Some functions are actually named
46322     something starting with __ and the normal name is an alias.  */
46323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46324 choke me
46325 #else
46326 char (*f) () = $ac_func;
46327 #endif
46328 #ifdef __cplusplus
46329 }
46330 #endif
46331
46332 int
46333 main ()
46334 {
46335 return f != $ac_func;
46336   ;
46337   return 0;
46338 }
46339 _ACEOF
46340 rm -f conftest.$ac_objext conftest$ac_exeext
46341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46342   (eval $ac_link) 2>conftest.er1
46343   ac_status=$?
46344   grep -v '^ *+' conftest.er1 >conftest.err
46345   rm -f conftest.er1
46346   cat conftest.err >&5
46347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348   (exit $ac_status); } &&
46349          { ac_try='test -z "$ac_c_werror_flag"
46350                          || test ! -s conftest.err'
46351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46352   (eval $ac_try) 2>&5
46353   ac_status=$?
46354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46355   (exit $ac_status); }; } &&
46356          { ac_try='test -s conftest$ac_exeext'
46357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46358   (eval $ac_try) 2>&5
46359   ac_status=$?
46360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46361   (exit $ac_status); }; }; then
46362   eval "$as_ac_var=yes"
46363 else
46364   echo "$as_me: failed program was:" >&5
46365 sed 's/^/| /' conftest.$ac_ext >&5
46366
46367 eval "$as_ac_var=no"
46368 fi
46369 rm -f conftest.err conftest.$ac_objext \
46370       conftest$ac_exeext conftest.$ac_ext
46371 fi
46372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46374 if test `eval echo '${'$as_ac_var'}'` = yes; then
46375   cat >>confdefs.h <<_ACEOF
46376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46377 _ACEOF
46378
46379 fi
46380 done
46381
46382   else
46383
46384   echo "$as_me:$LINENO: checking for _expf declaration" >&5
46385 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46386   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46387     if test "${glibcxx_cv_func__expf_use+set}" = set; then
46388   echo $ECHO_N "(cached) $ECHO_C" >&6
46389 else
46390
46391
46392
46393       ac_ext=cc
46394 ac_cpp='$CXXCPP $CPPFLAGS'
46395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46398
46399       cat >conftest.$ac_ext <<_ACEOF
46400 /* confdefs.h.  */
46401 _ACEOF
46402 cat confdefs.h >>conftest.$ac_ext
46403 cat >>conftest.$ac_ext <<_ACEOF
46404 /* end confdefs.h.  */
46405 #include <math.h>
46406                       #ifdef HAVE_IEEEFP_H
46407                       #include <ieeefp.h>
46408                       #endif
46409
46410 int
46411 main ()
46412 {
46413  _expf(0);
46414   ;
46415   return 0;
46416 }
46417 _ACEOF
46418 rm -f conftest.$ac_objext
46419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46420   (eval $ac_compile) 2>conftest.er1
46421   ac_status=$?
46422   grep -v '^ *+' conftest.er1 >conftest.err
46423   rm -f conftest.er1
46424   cat conftest.err >&5
46425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46426   (exit $ac_status); } &&
46427          { ac_try='test -z "$ac_cxx_werror_flag"
46428                          || test ! -s conftest.err'
46429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430   (eval $ac_try) 2>&5
46431   ac_status=$?
46432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433   (exit $ac_status); }; } &&
46434          { ac_try='test -s conftest.$ac_objext'
46435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46436   (eval $ac_try) 2>&5
46437   ac_status=$?
46438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439   (exit $ac_status); }; }; then
46440   glibcxx_cv_func__expf_use=yes
46441 else
46442   echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.$ac_ext >&5
46444
46445 glibcxx_cv_func__expf_use=no
46446 fi
46447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46448       ac_ext=c
46449 ac_cpp='$CPP $CPPFLAGS'
46450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453
46454
46455 fi
46456
46457   fi
46458   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46459 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46460
46461     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46462
46463 for ac_func in _expf
46464 do
46465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46466 echo "$as_me:$LINENO: checking for $ac_func" >&5
46467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46468 if eval "test \"\${$as_ac_var+set}\" = set"; then
46469   echo $ECHO_N "(cached) $ECHO_C" >&6
46470 else
46471   if test x$gcc_no_link = xyes; then
46472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46474    { (exit 1); exit 1; }; }
46475 fi
46476 cat >conftest.$ac_ext <<_ACEOF
46477 /* confdefs.h.  */
46478 _ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h.  */
46482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46484 #define $ac_func innocuous_$ac_func
46485
46486 /* System header to define __stub macros and hopefully few prototypes,
46487     which can conflict with char $ac_func (); below.
46488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46489     <limits.h> exists even on freestanding compilers.  */
46490
46491 #ifdef __STDC__
46492 # include <limits.h>
46493 #else
46494 # include <assert.h>
46495 #endif
46496
46497 #undef $ac_func
46498
46499 /* Override any gcc2 internal prototype to avoid an error.  */
46500 #ifdef __cplusplus
46501 extern "C"
46502 {
46503 #endif
46504 /* We use char because int might match the return type of a gcc2
46505    builtin and then its argument prototype would still apply.  */
46506 char $ac_func ();
46507 /* The GNU C library defines this for functions which it implements
46508     to always fail with ENOSYS.  Some functions are actually named
46509     something starting with __ and the normal name is an alias.  */
46510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46511 choke me
46512 #else
46513 char (*f) () = $ac_func;
46514 #endif
46515 #ifdef __cplusplus
46516 }
46517 #endif
46518
46519 int
46520 main ()
46521 {
46522 return f != $ac_func;
46523   ;
46524   return 0;
46525 }
46526 _ACEOF
46527 rm -f conftest.$ac_objext conftest$ac_exeext
46528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46529   (eval $ac_link) 2>conftest.er1
46530   ac_status=$?
46531   grep -v '^ *+' conftest.er1 >conftest.err
46532   rm -f conftest.er1
46533   cat conftest.err >&5
46534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535   (exit $ac_status); } &&
46536          { ac_try='test -z "$ac_c_werror_flag"
46537                          || test ! -s conftest.err'
46538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46539   (eval $ac_try) 2>&5
46540   ac_status=$?
46541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542   (exit $ac_status); }; } &&
46543          { ac_try='test -s conftest$ac_exeext'
46544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46545   (eval $ac_try) 2>&5
46546   ac_status=$?
46547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548   (exit $ac_status); }; }; then
46549   eval "$as_ac_var=yes"
46550 else
46551   echo "$as_me: failed program was:" >&5
46552 sed 's/^/| /' conftest.$ac_ext >&5
46553
46554 eval "$as_ac_var=no"
46555 fi
46556 rm -f conftest.err conftest.$ac_objext \
46557       conftest$ac_exeext conftest.$ac_ext
46558 fi
46559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46561 if test `eval echo '${'$as_ac_var'}'` = yes; then
46562   cat >>confdefs.h <<_ACEOF
46563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46564 _ACEOF
46565
46566 fi
46567 done
46568
46569     fi
46570   fi
46571
46572
46573
46574
46575
46576
46577   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46578 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46579   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46580     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46581   echo $ECHO_N "(cached) $ECHO_C" >&6
46582 else
46583
46584
46585
46586       ac_ext=cc
46587 ac_cpp='$CXXCPP $CPPFLAGS'
46588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46591
46592       cat >conftest.$ac_ext <<_ACEOF
46593 /* confdefs.h.  */
46594 _ACEOF
46595 cat confdefs.h >>conftest.$ac_ext
46596 cat >>conftest.$ac_ext <<_ACEOF
46597 /* end confdefs.h.  */
46598 #include <math.h>
46599                       #ifdef HAVE_IEEEFP_H
46600                       #include <ieeefp.h>
46601                       #endif
46602
46603 int
46604 main ()
46605 {
46606  isnanf(0);
46607   ;
46608   return 0;
46609 }
46610 _ACEOF
46611 rm -f conftest.$ac_objext
46612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46613   (eval $ac_compile) 2>conftest.er1
46614   ac_status=$?
46615   grep -v '^ *+' conftest.er1 >conftest.err
46616   rm -f conftest.er1
46617   cat conftest.err >&5
46618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619   (exit $ac_status); } &&
46620          { ac_try='test -z "$ac_cxx_werror_flag"
46621                          || test ! -s conftest.err'
46622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46623   (eval $ac_try) 2>&5
46624   ac_status=$?
46625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626   (exit $ac_status); }; } &&
46627          { ac_try='test -s conftest.$ac_objext'
46628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46629   (eval $ac_try) 2>&5
46630   ac_status=$?
46631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632   (exit $ac_status); }; }; then
46633   glibcxx_cv_func_isnanf_use=yes
46634 else
46635   echo "$as_me: failed program was:" >&5
46636 sed 's/^/| /' conftest.$ac_ext >&5
46637
46638 glibcxx_cv_func_isnanf_use=no
46639 fi
46640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46641       ac_ext=c
46642 ac_cpp='$CPP $CPPFLAGS'
46643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46646
46647
46648 fi
46649
46650   fi
46651   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46652 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46653
46654   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46655
46656 for ac_func in isnanf
46657 do
46658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46659 echo "$as_me:$LINENO: checking for $ac_func" >&5
46660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46661 if eval "test \"\${$as_ac_var+set}\" = set"; then
46662   echo $ECHO_N "(cached) $ECHO_C" >&6
46663 else
46664   if test x$gcc_no_link = xyes; then
46665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46667    { (exit 1); exit 1; }; }
46668 fi
46669 cat >conftest.$ac_ext <<_ACEOF
46670 /* confdefs.h.  */
46671 _ACEOF
46672 cat confdefs.h >>conftest.$ac_ext
46673 cat >>conftest.$ac_ext <<_ACEOF
46674 /* end confdefs.h.  */
46675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46677 #define $ac_func innocuous_$ac_func
46678
46679 /* System header to define __stub macros and hopefully few prototypes,
46680     which can conflict with char $ac_func (); below.
46681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46682     <limits.h> exists even on freestanding compilers.  */
46683
46684 #ifdef __STDC__
46685 # include <limits.h>
46686 #else
46687 # include <assert.h>
46688 #endif
46689
46690 #undef $ac_func
46691
46692 /* Override any gcc2 internal prototype to avoid an error.  */
46693 #ifdef __cplusplus
46694 extern "C"
46695 {
46696 #endif
46697 /* We use char because int might match the return type of a gcc2
46698    builtin and then its argument prototype would still apply.  */
46699 char $ac_func ();
46700 /* The GNU C library defines this for functions which it implements
46701     to always fail with ENOSYS.  Some functions are actually named
46702     something starting with __ and the normal name is an alias.  */
46703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46704 choke me
46705 #else
46706 char (*f) () = $ac_func;
46707 #endif
46708 #ifdef __cplusplus
46709 }
46710 #endif
46711
46712 int
46713 main ()
46714 {
46715 return f != $ac_func;
46716   ;
46717   return 0;
46718 }
46719 _ACEOF
46720 rm -f conftest.$ac_objext conftest$ac_exeext
46721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46722   (eval $ac_link) 2>conftest.er1
46723   ac_status=$?
46724   grep -v '^ *+' conftest.er1 >conftest.err
46725   rm -f conftest.er1
46726   cat conftest.err >&5
46727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728   (exit $ac_status); } &&
46729          { ac_try='test -z "$ac_c_werror_flag"
46730                          || test ! -s conftest.err'
46731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46732   (eval $ac_try) 2>&5
46733   ac_status=$?
46734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735   (exit $ac_status); }; } &&
46736          { ac_try='test -s conftest$ac_exeext'
46737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46738   (eval $ac_try) 2>&5
46739   ac_status=$?
46740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741   (exit $ac_status); }; }; then
46742   eval "$as_ac_var=yes"
46743 else
46744   echo "$as_me: failed program was:" >&5
46745 sed 's/^/| /' conftest.$ac_ext >&5
46746
46747 eval "$as_ac_var=no"
46748 fi
46749 rm -f conftest.err conftest.$ac_objext \
46750       conftest$ac_exeext conftest.$ac_ext
46751 fi
46752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46754 if test `eval echo '${'$as_ac_var'}'` = yes; then
46755   cat >>confdefs.h <<_ACEOF
46756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46757 _ACEOF
46758
46759 fi
46760 done
46761
46762   else
46763
46764   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46765 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46766   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46767     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46768   echo $ECHO_N "(cached) $ECHO_C" >&6
46769 else
46770
46771
46772
46773       ac_ext=cc
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778
46779       cat >conftest.$ac_ext <<_ACEOF
46780 /* confdefs.h.  */
46781 _ACEOF
46782 cat confdefs.h >>conftest.$ac_ext
46783 cat >>conftest.$ac_ext <<_ACEOF
46784 /* end confdefs.h.  */
46785 #include <math.h>
46786                       #ifdef HAVE_IEEEFP_H
46787                       #include <ieeefp.h>
46788                       #endif
46789
46790 int
46791 main ()
46792 {
46793  _isnanf(0);
46794   ;
46795   return 0;
46796 }
46797 _ACEOF
46798 rm -f conftest.$ac_objext
46799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46800   (eval $ac_compile) 2>conftest.er1
46801   ac_status=$?
46802   grep -v '^ *+' conftest.er1 >conftest.err
46803   rm -f conftest.er1
46804   cat conftest.err >&5
46805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806   (exit $ac_status); } &&
46807          { ac_try='test -z "$ac_cxx_werror_flag"
46808                          || test ! -s conftest.err'
46809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46810   (eval $ac_try) 2>&5
46811   ac_status=$?
46812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813   (exit $ac_status); }; } &&
46814          { ac_try='test -s conftest.$ac_objext'
46815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46816   (eval $ac_try) 2>&5
46817   ac_status=$?
46818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819   (exit $ac_status); }; }; then
46820   glibcxx_cv_func__isnanf_use=yes
46821 else
46822   echo "$as_me: failed program was:" >&5
46823 sed 's/^/| /' conftest.$ac_ext >&5
46824
46825 glibcxx_cv_func__isnanf_use=no
46826 fi
46827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46828       ac_ext=c
46829 ac_cpp='$CPP $CPPFLAGS'
46830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46833
46834
46835 fi
46836
46837   fi
46838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46839 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46840
46841     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46842
46843 for ac_func in _isnanf
46844 do
46845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46846 echo "$as_me:$LINENO: checking for $ac_func" >&5
46847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46848 if eval "test \"\${$as_ac_var+set}\" = set"; then
46849   echo $ECHO_N "(cached) $ECHO_C" >&6
46850 else
46851   if test x$gcc_no_link = xyes; then
46852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46854    { (exit 1); exit 1; }; }
46855 fi
46856 cat >conftest.$ac_ext <<_ACEOF
46857 /* confdefs.h.  */
46858 _ACEOF
46859 cat confdefs.h >>conftest.$ac_ext
46860 cat >>conftest.$ac_ext <<_ACEOF
46861 /* end confdefs.h.  */
46862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46864 #define $ac_func innocuous_$ac_func
46865
46866 /* System header to define __stub macros and hopefully few prototypes,
46867     which can conflict with char $ac_func (); below.
46868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46869     <limits.h> exists even on freestanding compilers.  */
46870
46871 #ifdef __STDC__
46872 # include <limits.h>
46873 #else
46874 # include <assert.h>
46875 #endif
46876
46877 #undef $ac_func
46878
46879 /* Override any gcc2 internal prototype to avoid an error.  */
46880 #ifdef __cplusplus
46881 extern "C"
46882 {
46883 #endif
46884 /* We use char because int might match the return type of a gcc2
46885    builtin and then its argument prototype would still apply.  */
46886 char $ac_func ();
46887 /* The GNU C library defines this for functions which it implements
46888     to always fail with ENOSYS.  Some functions are actually named
46889     something starting with __ and the normal name is an alias.  */
46890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46891 choke me
46892 #else
46893 char (*f) () = $ac_func;
46894 #endif
46895 #ifdef __cplusplus
46896 }
46897 #endif
46898
46899 int
46900 main ()
46901 {
46902 return f != $ac_func;
46903   ;
46904   return 0;
46905 }
46906 _ACEOF
46907 rm -f conftest.$ac_objext conftest$ac_exeext
46908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46909   (eval $ac_link) 2>conftest.er1
46910   ac_status=$?
46911   grep -v '^ *+' conftest.er1 >conftest.err
46912   rm -f conftest.er1
46913   cat conftest.err >&5
46914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915   (exit $ac_status); } &&
46916          { ac_try='test -z "$ac_c_werror_flag"
46917                          || test ! -s conftest.err'
46918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46919   (eval $ac_try) 2>&5
46920   ac_status=$?
46921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922   (exit $ac_status); }; } &&
46923          { ac_try='test -s conftest$ac_exeext'
46924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46925   (eval $ac_try) 2>&5
46926   ac_status=$?
46927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928   (exit $ac_status); }; }; then
46929   eval "$as_ac_var=yes"
46930 else
46931   echo "$as_me: failed program was:" >&5
46932 sed 's/^/| /' conftest.$ac_ext >&5
46933
46934 eval "$as_ac_var=no"
46935 fi
46936 rm -f conftest.err conftest.$ac_objext \
46937       conftest$ac_exeext conftest.$ac_ext
46938 fi
46939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46941 if test `eval echo '${'$as_ac_var'}'` = yes; then
46942   cat >>confdefs.h <<_ACEOF
46943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46944 _ACEOF
46945
46946 fi
46947 done
46948
46949     fi
46950   fi
46951
46952
46953
46954
46955
46956
46957   echo "$as_me:$LINENO: checking for isinff declaration" >&5
46958 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46959   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46960     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46961   echo $ECHO_N "(cached) $ECHO_C" >&6
46962 else
46963
46964
46965
46966       ac_ext=cc
46967 ac_cpp='$CXXCPP $CPPFLAGS'
46968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46971
46972       cat >conftest.$ac_ext <<_ACEOF
46973 /* confdefs.h.  */
46974 _ACEOF
46975 cat confdefs.h >>conftest.$ac_ext
46976 cat >>conftest.$ac_ext <<_ACEOF
46977 /* end confdefs.h.  */
46978 #include <math.h>
46979                       #ifdef HAVE_IEEEFP_H
46980                       #include <ieeefp.h>
46981                       #endif
46982
46983 int
46984 main ()
46985 {
46986  isinff(0);
46987   ;
46988   return 0;
46989 }
46990 _ACEOF
46991 rm -f conftest.$ac_objext
46992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46993   (eval $ac_compile) 2>conftest.er1
46994   ac_status=$?
46995   grep -v '^ *+' conftest.er1 >conftest.err
46996   rm -f conftest.er1
46997   cat conftest.err >&5
46998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46999   (exit $ac_status); } &&
47000          { ac_try='test -z "$ac_cxx_werror_flag"
47001                          || test ! -s conftest.err'
47002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47003   (eval $ac_try) 2>&5
47004   ac_status=$?
47005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006   (exit $ac_status); }; } &&
47007          { ac_try='test -s conftest.$ac_objext'
47008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47009   (eval $ac_try) 2>&5
47010   ac_status=$?
47011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012   (exit $ac_status); }; }; then
47013   glibcxx_cv_func_isinff_use=yes
47014 else
47015   echo "$as_me: failed program was:" >&5
47016 sed 's/^/| /' conftest.$ac_ext >&5
47017
47018 glibcxx_cv_func_isinff_use=no
47019 fi
47020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47021       ac_ext=c
47022 ac_cpp='$CPP $CPPFLAGS'
47023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47026
47027
47028 fi
47029
47030   fi
47031   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47032 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47033
47034   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47035
47036 for ac_func in isinff
47037 do
47038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47039 echo "$as_me:$LINENO: checking for $ac_func" >&5
47040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47041 if eval "test \"\${$as_ac_var+set}\" = set"; then
47042   echo $ECHO_N "(cached) $ECHO_C" >&6
47043 else
47044   if test x$gcc_no_link = xyes; then
47045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47047    { (exit 1); exit 1; }; }
47048 fi
47049 cat >conftest.$ac_ext <<_ACEOF
47050 /* confdefs.h.  */
47051 _ACEOF
47052 cat confdefs.h >>conftest.$ac_ext
47053 cat >>conftest.$ac_ext <<_ACEOF
47054 /* end confdefs.h.  */
47055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47057 #define $ac_func innocuous_$ac_func
47058
47059 /* System header to define __stub macros and hopefully few prototypes,
47060     which can conflict with char $ac_func (); below.
47061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47062     <limits.h> exists even on freestanding compilers.  */
47063
47064 #ifdef __STDC__
47065 # include <limits.h>
47066 #else
47067 # include <assert.h>
47068 #endif
47069
47070 #undef $ac_func
47071
47072 /* Override any gcc2 internal prototype to avoid an error.  */
47073 #ifdef __cplusplus
47074 extern "C"
47075 {
47076 #endif
47077 /* We use char because int might match the return type of a gcc2
47078    builtin and then its argument prototype would still apply.  */
47079 char $ac_func ();
47080 /* The GNU C library defines this for functions which it implements
47081     to always fail with ENOSYS.  Some functions are actually named
47082     something starting with __ and the normal name is an alias.  */
47083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47084 choke me
47085 #else
47086 char (*f) () = $ac_func;
47087 #endif
47088 #ifdef __cplusplus
47089 }
47090 #endif
47091
47092 int
47093 main ()
47094 {
47095 return f != $ac_func;
47096   ;
47097   return 0;
47098 }
47099 _ACEOF
47100 rm -f conftest.$ac_objext conftest$ac_exeext
47101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47102   (eval $ac_link) 2>conftest.er1
47103   ac_status=$?
47104   grep -v '^ *+' conftest.er1 >conftest.err
47105   rm -f conftest.er1
47106   cat conftest.err >&5
47107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108   (exit $ac_status); } &&
47109          { ac_try='test -z "$ac_c_werror_flag"
47110                          || test ! -s conftest.err'
47111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47112   (eval $ac_try) 2>&5
47113   ac_status=$?
47114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115   (exit $ac_status); }; } &&
47116          { ac_try='test -s conftest$ac_exeext'
47117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47118   (eval $ac_try) 2>&5
47119   ac_status=$?
47120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47121   (exit $ac_status); }; }; then
47122   eval "$as_ac_var=yes"
47123 else
47124   echo "$as_me: failed program was:" >&5
47125 sed 's/^/| /' conftest.$ac_ext >&5
47126
47127 eval "$as_ac_var=no"
47128 fi
47129 rm -f conftest.err conftest.$ac_objext \
47130       conftest$ac_exeext conftest.$ac_ext
47131 fi
47132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47134 if test `eval echo '${'$as_ac_var'}'` = yes; then
47135   cat >>confdefs.h <<_ACEOF
47136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47137 _ACEOF
47138
47139 fi
47140 done
47141
47142   else
47143
47144   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47145 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47146   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47147     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47148   echo $ECHO_N "(cached) $ECHO_C" >&6
47149 else
47150
47151
47152
47153       ac_ext=cc
47154 ac_cpp='$CXXCPP $CPPFLAGS'
47155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158
47159       cat >conftest.$ac_ext <<_ACEOF
47160 /* confdefs.h.  */
47161 _ACEOF
47162 cat confdefs.h >>conftest.$ac_ext
47163 cat >>conftest.$ac_ext <<_ACEOF
47164 /* end confdefs.h.  */
47165 #include <math.h>
47166                       #ifdef HAVE_IEEEFP_H
47167                       #include <ieeefp.h>
47168                       #endif
47169
47170 int
47171 main ()
47172 {
47173  _isinff(0);
47174   ;
47175   return 0;
47176 }
47177 _ACEOF
47178 rm -f conftest.$ac_objext
47179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47180   (eval $ac_compile) 2>conftest.er1
47181   ac_status=$?
47182   grep -v '^ *+' conftest.er1 >conftest.err
47183   rm -f conftest.er1
47184   cat conftest.err >&5
47185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47186   (exit $ac_status); } &&
47187          { ac_try='test -z "$ac_cxx_werror_flag"
47188                          || test ! -s conftest.err'
47189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47190   (eval $ac_try) 2>&5
47191   ac_status=$?
47192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47193   (exit $ac_status); }; } &&
47194          { ac_try='test -s conftest.$ac_objext'
47195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47196   (eval $ac_try) 2>&5
47197   ac_status=$?
47198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199   (exit $ac_status); }; }; then
47200   glibcxx_cv_func__isinff_use=yes
47201 else
47202   echo "$as_me: failed program was:" >&5
47203 sed 's/^/| /' conftest.$ac_ext >&5
47204
47205 glibcxx_cv_func__isinff_use=no
47206 fi
47207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47208       ac_ext=c
47209 ac_cpp='$CPP $CPPFLAGS'
47210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47213
47214
47215 fi
47216
47217   fi
47218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47219 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47220
47221     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47222
47223 for ac_func in _isinff
47224 do
47225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47226 echo "$as_me:$LINENO: checking for $ac_func" >&5
47227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47228 if eval "test \"\${$as_ac_var+set}\" = set"; then
47229   echo $ECHO_N "(cached) $ECHO_C" >&6
47230 else
47231   if test x$gcc_no_link = xyes; then
47232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47234    { (exit 1); exit 1; }; }
47235 fi
47236 cat >conftest.$ac_ext <<_ACEOF
47237 /* confdefs.h.  */
47238 _ACEOF
47239 cat confdefs.h >>conftest.$ac_ext
47240 cat >>conftest.$ac_ext <<_ACEOF
47241 /* end confdefs.h.  */
47242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47244 #define $ac_func innocuous_$ac_func
47245
47246 /* System header to define __stub macros and hopefully few prototypes,
47247     which can conflict with char $ac_func (); below.
47248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47249     <limits.h> exists even on freestanding compilers.  */
47250
47251 #ifdef __STDC__
47252 # include <limits.h>
47253 #else
47254 # include <assert.h>
47255 #endif
47256
47257 #undef $ac_func
47258
47259 /* Override any gcc2 internal prototype to avoid an error.  */
47260 #ifdef __cplusplus
47261 extern "C"
47262 {
47263 #endif
47264 /* We use char because int might match the return type of a gcc2
47265    builtin and then its argument prototype would still apply.  */
47266 char $ac_func ();
47267 /* The GNU C library defines this for functions which it implements
47268     to always fail with ENOSYS.  Some functions are actually named
47269     something starting with __ and the normal name is an alias.  */
47270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47271 choke me
47272 #else
47273 char (*f) () = $ac_func;
47274 #endif
47275 #ifdef __cplusplus
47276 }
47277 #endif
47278
47279 int
47280 main ()
47281 {
47282 return f != $ac_func;
47283   ;
47284   return 0;
47285 }
47286 _ACEOF
47287 rm -f conftest.$ac_objext conftest$ac_exeext
47288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47289   (eval $ac_link) 2>conftest.er1
47290   ac_status=$?
47291   grep -v '^ *+' conftest.er1 >conftest.err
47292   rm -f conftest.er1
47293   cat conftest.err >&5
47294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295   (exit $ac_status); } &&
47296          { ac_try='test -z "$ac_c_werror_flag"
47297                          || test ! -s conftest.err'
47298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47299   (eval $ac_try) 2>&5
47300   ac_status=$?
47301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302   (exit $ac_status); }; } &&
47303          { ac_try='test -s conftest$ac_exeext'
47304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47305   (eval $ac_try) 2>&5
47306   ac_status=$?
47307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308   (exit $ac_status); }; }; then
47309   eval "$as_ac_var=yes"
47310 else
47311   echo "$as_me: failed program was:" >&5
47312 sed 's/^/| /' conftest.$ac_ext >&5
47313
47314 eval "$as_ac_var=no"
47315 fi
47316 rm -f conftest.err conftest.$ac_objext \
47317       conftest$ac_exeext conftest.$ac_ext
47318 fi
47319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47321 if test `eval echo '${'$as_ac_var'}'` = yes; then
47322   cat >>confdefs.h <<_ACEOF
47323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47324 _ACEOF
47325
47326 fi
47327 done
47328
47329     fi
47330   fi
47331
47332
47333
47334
47335
47336
47337   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47338 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47339   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47340     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47341   echo $ECHO_N "(cached) $ECHO_C" >&6
47342 else
47343
47344
47345
47346       ac_ext=cc
47347 ac_cpp='$CXXCPP $CPPFLAGS'
47348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47351
47352       cat >conftest.$ac_ext <<_ACEOF
47353 /* confdefs.h.  */
47354 _ACEOF
47355 cat confdefs.h >>conftest.$ac_ext
47356 cat >>conftest.$ac_ext <<_ACEOF
47357 /* end confdefs.h.  */
47358 #include <math.h>
47359 int
47360 main ()
47361 {
47362  atan2f(0, 0);
47363   ;
47364   return 0;
47365 }
47366 _ACEOF
47367 rm -f conftest.$ac_objext
47368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47369   (eval $ac_compile) 2>conftest.er1
47370   ac_status=$?
47371   grep -v '^ *+' conftest.er1 >conftest.err
47372   rm -f conftest.er1
47373   cat conftest.err >&5
47374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47375   (exit $ac_status); } &&
47376          { ac_try='test -z "$ac_cxx_werror_flag"
47377                          || test ! -s conftest.err'
47378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47379   (eval $ac_try) 2>&5
47380   ac_status=$?
47381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47382   (exit $ac_status); }; } &&
47383          { ac_try='test -s conftest.$ac_objext'
47384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47385   (eval $ac_try) 2>&5
47386   ac_status=$?
47387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388   (exit $ac_status); }; }; then
47389   glibcxx_cv_func_atan2f_use=yes
47390 else
47391   echo "$as_me: failed program was:" >&5
47392 sed 's/^/| /' conftest.$ac_ext >&5
47393
47394 glibcxx_cv_func_atan2f_use=no
47395 fi
47396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47397       ac_ext=c
47398 ac_cpp='$CPP $CPPFLAGS'
47399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47402
47403
47404 fi
47405
47406   fi
47407   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47408 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47409
47410   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47411
47412 for ac_func in atan2f
47413 do
47414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47415 echo "$as_me:$LINENO: checking for $ac_func" >&5
47416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47417 if eval "test \"\${$as_ac_var+set}\" = set"; then
47418   echo $ECHO_N "(cached) $ECHO_C" >&6
47419 else
47420   if test x$gcc_no_link = xyes; then
47421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47423    { (exit 1); exit 1; }; }
47424 fi
47425 cat >conftest.$ac_ext <<_ACEOF
47426 /* confdefs.h.  */
47427 _ACEOF
47428 cat confdefs.h >>conftest.$ac_ext
47429 cat >>conftest.$ac_ext <<_ACEOF
47430 /* end confdefs.h.  */
47431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47433 #define $ac_func innocuous_$ac_func
47434
47435 /* System header to define __stub macros and hopefully few prototypes,
47436     which can conflict with char $ac_func (); below.
47437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47438     <limits.h> exists even on freestanding compilers.  */
47439
47440 #ifdef __STDC__
47441 # include <limits.h>
47442 #else
47443 # include <assert.h>
47444 #endif
47445
47446 #undef $ac_func
47447
47448 /* Override any gcc2 internal prototype to avoid an error.  */
47449 #ifdef __cplusplus
47450 extern "C"
47451 {
47452 #endif
47453 /* We use char because int might match the return type of a gcc2
47454    builtin and then its argument prototype would still apply.  */
47455 char $ac_func ();
47456 /* The GNU C library defines this for functions which it implements
47457     to always fail with ENOSYS.  Some functions are actually named
47458     something starting with __ and the normal name is an alias.  */
47459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47460 choke me
47461 #else
47462 char (*f) () = $ac_func;
47463 #endif
47464 #ifdef __cplusplus
47465 }
47466 #endif
47467
47468 int
47469 main ()
47470 {
47471 return f != $ac_func;
47472   ;
47473   return 0;
47474 }
47475 _ACEOF
47476 rm -f conftest.$ac_objext conftest$ac_exeext
47477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47478   (eval $ac_link) 2>conftest.er1
47479   ac_status=$?
47480   grep -v '^ *+' conftest.er1 >conftest.err
47481   rm -f conftest.er1
47482   cat conftest.err >&5
47483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484   (exit $ac_status); } &&
47485          { ac_try='test -z "$ac_c_werror_flag"
47486                          || test ! -s conftest.err'
47487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47488   (eval $ac_try) 2>&5
47489   ac_status=$?
47490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47491   (exit $ac_status); }; } &&
47492          { ac_try='test -s conftest$ac_exeext'
47493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47494   (eval $ac_try) 2>&5
47495   ac_status=$?
47496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497   (exit $ac_status); }; }; then
47498   eval "$as_ac_var=yes"
47499 else
47500   echo "$as_me: failed program was:" >&5
47501 sed 's/^/| /' conftest.$ac_ext >&5
47502
47503 eval "$as_ac_var=no"
47504 fi
47505 rm -f conftest.err conftest.$ac_objext \
47506       conftest$ac_exeext conftest.$ac_ext
47507 fi
47508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47510 if test `eval echo '${'$as_ac_var'}'` = yes; then
47511   cat >>confdefs.h <<_ACEOF
47512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47513 _ACEOF
47514
47515 fi
47516 done
47517
47518   else
47519
47520   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47521 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47522   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47523     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47524   echo $ECHO_N "(cached) $ECHO_C" >&6
47525 else
47526
47527
47528
47529       ac_ext=cc
47530 ac_cpp='$CXXCPP $CPPFLAGS'
47531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534
47535       cat >conftest.$ac_ext <<_ACEOF
47536 /* confdefs.h.  */
47537 _ACEOF
47538 cat confdefs.h >>conftest.$ac_ext
47539 cat >>conftest.$ac_ext <<_ACEOF
47540 /* end confdefs.h.  */
47541 #include <math.h>
47542 int
47543 main ()
47544 {
47545  _atan2f(0, 0);
47546   ;
47547   return 0;
47548 }
47549 _ACEOF
47550 rm -f conftest.$ac_objext
47551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47552   (eval $ac_compile) 2>conftest.er1
47553   ac_status=$?
47554   grep -v '^ *+' conftest.er1 >conftest.err
47555   rm -f conftest.er1
47556   cat conftest.err >&5
47557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558   (exit $ac_status); } &&
47559          { ac_try='test -z "$ac_cxx_werror_flag"
47560                          || test ! -s conftest.err'
47561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47562   (eval $ac_try) 2>&5
47563   ac_status=$?
47564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47565   (exit $ac_status); }; } &&
47566          { ac_try='test -s conftest.$ac_objext'
47567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47568   (eval $ac_try) 2>&5
47569   ac_status=$?
47570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571   (exit $ac_status); }; }; then
47572   glibcxx_cv_func__atan2f_use=yes
47573 else
47574   echo "$as_me: failed program was:" >&5
47575 sed 's/^/| /' conftest.$ac_ext >&5
47576
47577 glibcxx_cv_func__atan2f_use=no
47578 fi
47579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47580       ac_ext=c
47581 ac_cpp='$CPP $CPPFLAGS'
47582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47585
47586
47587 fi
47588
47589   fi
47590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47591 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47592
47593     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47594
47595 for ac_func in _atan2f
47596 do
47597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47598 echo "$as_me:$LINENO: checking for $ac_func" >&5
47599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47600 if eval "test \"\${$as_ac_var+set}\" = set"; then
47601   echo $ECHO_N "(cached) $ECHO_C" >&6
47602 else
47603   if test x$gcc_no_link = xyes; then
47604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47606    { (exit 1); exit 1; }; }
47607 fi
47608 cat >conftest.$ac_ext <<_ACEOF
47609 /* confdefs.h.  */
47610 _ACEOF
47611 cat confdefs.h >>conftest.$ac_ext
47612 cat >>conftest.$ac_ext <<_ACEOF
47613 /* end confdefs.h.  */
47614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47616 #define $ac_func innocuous_$ac_func
47617
47618 /* System header to define __stub macros and hopefully few prototypes,
47619     which can conflict with char $ac_func (); below.
47620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47621     <limits.h> exists even on freestanding compilers.  */
47622
47623 #ifdef __STDC__
47624 # include <limits.h>
47625 #else
47626 # include <assert.h>
47627 #endif
47628
47629 #undef $ac_func
47630
47631 /* Override any gcc2 internal prototype to avoid an error.  */
47632 #ifdef __cplusplus
47633 extern "C"
47634 {
47635 #endif
47636 /* We use char because int might match the return type of a gcc2
47637    builtin and then its argument prototype would still apply.  */
47638 char $ac_func ();
47639 /* The GNU C library defines this for functions which it implements
47640     to always fail with ENOSYS.  Some functions are actually named
47641     something starting with __ and the normal name is an alias.  */
47642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47643 choke me
47644 #else
47645 char (*f) () = $ac_func;
47646 #endif
47647 #ifdef __cplusplus
47648 }
47649 #endif
47650
47651 int
47652 main ()
47653 {
47654 return f != $ac_func;
47655   ;
47656   return 0;
47657 }
47658 _ACEOF
47659 rm -f conftest.$ac_objext conftest$ac_exeext
47660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47661   (eval $ac_link) 2>conftest.er1
47662   ac_status=$?
47663   grep -v '^ *+' conftest.er1 >conftest.err
47664   rm -f conftest.er1
47665   cat conftest.err >&5
47666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47667   (exit $ac_status); } &&
47668          { ac_try='test -z "$ac_c_werror_flag"
47669                          || test ! -s conftest.err'
47670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47671   (eval $ac_try) 2>&5
47672   ac_status=$?
47673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47674   (exit $ac_status); }; } &&
47675          { ac_try='test -s conftest$ac_exeext'
47676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47677   (eval $ac_try) 2>&5
47678   ac_status=$?
47679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47680   (exit $ac_status); }; }; then
47681   eval "$as_ac_var=yes"
47682 else
47683   echo "$as_me: failed program was:" >&5
47684 sed 's/^/| /' conftest.$ac_ext >&5
47685
47686 eval "$as_ac_var=no"
47687 fi
47688 rm -f conftest.err conftest.$ac_objext \
47689       conftest$ac_exeext conftest.$ac_ext
47690 fi
47691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47693 if test `eval echo '${'$as_ac_var'}'` = yes; then
47694   cat >>confdefs.h <<_ACEOF
47695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47696 _ACEOF
47697
47698 fi
47699 done
47700
47701     fi
47702   fi
47703
47704
47705
47706
47707
47708
47709   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47710 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47711   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47712     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47713   echo $ECHO_N "(cached) $ECHO_C" >&6
47714 else
47715
47716
47717
47718       ac_ext=cc
47719 ac_cpp='$CXXCPP $CPPFLAGS'
47720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47723
47724       cat >conftest.$ac_ext <<_ACEOF
47725 /* confdefs.h.  */
47726 _ACEOF
47727 cat confdefs.h >>conftest.$ac_ext
47728 cat >>conftest.$ac_ext <<_ACEOF
47729 /* end confdefs.h.  */
47730 #include <math.h>
47731                       #ifdef HAVE_IEEEFP_H
47732                       #include <ieeefp.h>
47733                       #endif
47734
47735 int
47736 main ()
47737 {
47738  fabsf(0);
47739   ;
47740   return 0;
47741 }
47742 _ACEOF
47743 rm -f conftest.$ac_objext
47744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47745   (eval $ac_compile) 2>conftest.er1
47746   ac_status=$?
47747   grep -v '^ *+' conftest.er1 >conftest.err
47748   rm -f conftest.er1
47749   cat conftest.err >&5
47750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47751   (exit $ac_status); } &&
47752          { ac_try='test -z "$ac_cxx_werror_flag"
47753                          || test ! -s conftest.err'
47754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47755   (eval $ac_try) 2>&5
47756   ac_status=$?
47757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758   (exit $ac_status); }; } &&
47759          { ac_try='test -s conftest.$ac_objext'
47760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47761   (eval $ac_try) 2>&5
47762   ac_status=$?
47763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47764   (exit $ac_status); }; }; then
47765   glibcxx_cv_func_fabsf_use=yes
47766 else
47767   echo "$as_me: failed program was:" >&5
47768 sed 's/^/| /' conftest.$ac_ext >&5
47769
47770 glibcxx_cv_func_fabsf_use=no
47771 fi
47772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47773       ac_ext=c
47774 ac_cpp='$CPP $CPPFLAGS'
47775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47778
47779
47780 fi
47781
47782   fi
47783   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47784 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47785
47786   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47787
47788 for ac_func in fabsf
47789 do
47790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47791 echo "$as_me:$LINENO: checking for $ac_func" >&5
47792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47793 if eval "test \"\${$as_ac_var+set}\" = set"; then
47794   echo $ECHO_N "(cached) $ECHO_C" >&6
47795 else
47796   if test x$gcc_no_link = xyes; then
47797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47799    { (exit 1); exit 1; }; }
47800 fi
47801 cat >conftest.$ac_ext <<_ACEOF
47802 /* confdefs.h.  */
47803 _ACEOF
47804 cat confdefs.h >>conftest.$ac_ext
47805 cat >>conftest.$ac_ext <<_ACEOF
47806 /* end confdefs.h.  */
47807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47809 #define $ac_func innocuous_$ac_func
47810
47811 /* System header to define __stub macros and hopefully few prototypes,
47812     which can conflict with char $ac_func (); below.
47813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47814     <limits.h> exists even on freestanding compilers.  */
47815
47816 #ifdef __STDC__
47817 # include <limits.h>
47818 #else
47819 # include <assert.h>
47820 #endif
47821
47822 #undef $ac_func
47823
47824 /* Override any gcc2 internal prototype to avoid an error.  */
47825 #ifdef __cplusplus
47826 extern "C"
47827 {
47828 #endif
47829 /* We use char because int might match the return type of a gcc2
47830    builtin and then its argument prototype would still apply.  */
47831 char $ac_func ();
47832 /* The GNU C library defines this for functions which it implements
47833     to always fail with ENOSYS.  Some functions are actually named
47834     something starting with __ and the normal name is an alias.  */
47835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47836 choke me
47837 #else
47838 char (*f) () = $ac_func;
47839 #endif
47840 #ifdef __cplusplus
47841 }
47842 #endif
47843
47844 int
47845 main ()
47846 {
47847 return f != $ac_func;
47848   ;
47849   return 0;
47850 }
47851 _ACEOF
47852 rm -f conftest.$ac_objext conftest$ac_exeext
47853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47854   (eval $ac_link) 2>conftest.er1
47855   ac_status=$?
47856   grep -v '^ *+' conftest.er1 >conftest.err
47857   rm -f conftest.er1
47858   cat conftest.err >&5
47859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860   (exit $ac_status); } &&
47861          { ac_try='test -z "$ac_c_werror_flag"
47862                          || test ! -s conftest.err'
47863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47864   (eval $ac_try) 2>&5
47865   ac_status=$?
47866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867   (exit $ac_status); }; } &&
47868          { ac_try='test -s conftest$ac_exeext'
47869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47870   (eval $ac_try) 2>&5
47871   ac_status=$?
47872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47873   (exit $ac_status); }; }; then
47874   eval "$as_ac_var=yes"
47875 else
47876   echo "$as_me: failed program was:" >&5
47877 sed 's/^/| /' conftest.$ac_ext >&5
47878
47879 eval "$as_ac_var=no"
47880 fi
47881 rm -f conftest.err conftest.$ac_objext \
47882       conftest$ac_exeext conftest.$ac_ext
47883 fi
47884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47886 if test `eval echo '${'$as_ac_var'}'` = yes; then
47887   cat >>confdefs.h <<_ACEOF
47888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47889 _ACEOF
47890
47891 fi
47892 done
47893
47894   else
47895
47896   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47897 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47898   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47899     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47900   echo $ECHO_N "(cached) $ECHO_C" >&6
47901 else
47902
47903
47904
47905       ac_ext=cc
47906 ac_cpp='$CXXCPP $CPPFLAGS'
47907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47910
47911       cat >conftest.$ac_ext <<_ACEOF
47912 /* confdefs.h.  */
47913 _ACEOF
47914 cat confdefs.h >>conftest.$ac_ext
47915 cat >>conftest.$ac_ext <<_ACEOF
47916 /* end confdefs.h.  */
47917 #include <math.h>
47918                       #ifdef HAVE_IEEEFP_H
47919                       #include <ieeefp.h>
47920                       #endif
47921
47922 int
47923 main ()
47924 {
47925  _fabsf(0);
47926   ;
47927   return 0;
47928 }
47929 _ACEOF
47930 rm -f conftest.$ac_objext
47931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47932   (eval $ac_compile) 2>conftest.er1
47933   ac_status=$?
47934   grep -v '^ *+' conftest.er1 >conftest.err
47935   rm -f conftest.er1
47936   cat conftest.err >&5
47937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938   (exit $ac_status); } &&
47939          { ac_try='test -z "$ac_cxx_werror_flag"
47940                          || test ! -s conftest.err'
47941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47942   (eval $ac_try) 2>&5
47943   ac_status=$?
47944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945   (exit $ac_status); }; } &&
47946          { ac_try='test -s conftest.$ac_objext'
47947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47948   (eval $ac_try) 2>&5
47949   ac_status=$?
47950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951   (exit $ac_status); }; }; then
47952   glibcxx_cv_func__fabsf_use=yes
47953 else
47954   echo "$as_me: failed program was:" >&5
47955 sed 's/^/| /' conftest.$ac_ext >&5
47956
47957 glibcxx_cv_func__fabsf_use=no
47958 fi
47959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47960       ac_ext=c
47961 ac_cpp='$CPP $CPPFLAGS'
47962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47965
47966
47967 fi
47968
47969   fi
47970   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47971 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47972
47973     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47974
47975 for ac_func in _fabsf
47976 do
47977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47978 echo "$as_me:$LINENO: checking for $ac_func" >&5
47979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47980 if eval "test \"\${$as_ac_var+set}\" = set"; then
47981   echo $ECHO_N "(cached) $ECHO_C" >&6
47982 else
47983   if test x$gcc_no_link = xyes; then
47984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47986    { (exit 1); exit 1; }; }
47987 fi
47988 cat >conftest.$ac_ext <<_ACEOF
47989 /* confdefs.h.  */
47990 _ACEOF
47991 cat confdefs.h >>conftest.$ac_ext
47992 cat >>conftest.$ac_ext <<_ACEOF
47993 /* end confdefs.h.  */
47994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47996 #define $ac_func innocuous_$ac_func
47997
47998 /* System header to define __stub macros and hopefully few prototypes,
47999     which can conflict with char $ac_func (); below.
48000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48001     <limits.h> exists even on freestanding compilers.  */
48002
48003 #ifdef __STDC__
48004 # include <limits.h>
48005 #else
48006 # include <assert.h>
48007 #endif
48008
48009 #undef $ac_func
48010
48011 /* Override any gcc2 internal prototype to avoid an error.  */
48012 #ifdef __cplusplus
48013 extern "C"
48014 {
48015 #endif
48016 /* We use char because int might match the return type of a gcc2
48017    builtin and then its argument prototype would still apply.  */
48018 char $ac_func ();
48019 /* The GNU C library defines this for functions which it implements
48020     to always fail with ENOSYS.  Some functions are actually named
48021     something starting with __ and the normal name is an alias.  */
48022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48023 choke me
48024 #else
48025 char (*f) () = $ac_func;
48026 #endif
48027 #ifdef __cplusplus
48028 }
48029 #endif
48030
48031 int
48032 main ()
48033 {
48034 return f != $ac_func;
48035   ;
48036   return 0;
48037 }
48038 _ACEOF
48039 rm -f conftest.$ac_objext conftest$ac_exeext
48040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48041   (eval $ac_link) 2>conftest.er1
48042   ac_status=$?
48043   grep -v '^ *+' conftest.er1 >conftest.err
48044   rm -f conftest.er1
48045   cat conftest.err >&5
48046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047   (exit $ac_status); } &&
48048          { ac_try='test -z "$ac_c_werror_flag"
48049                          || test ! -s conftest.err'
48050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48051   (eval $ac_try) 2>&5
48052   ac_status=$?
48053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48054   (exit $ac_status); }; } &&
48055          { ac_try='test -s conftest$ac_exeext'
48056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48057   (eval $ac_try) 2>&5
48058   ac_status=$?
48059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48060   (exit $ac_status); }; }; then
48061   eval "$as_ac_var=yes"
48062 else
48063   echo "$as_me: failed program was:" >&5
48064 sed 's/^/| /' conftest.$ac_ext >&5
48065
48066 eval "$as_ac_var=no"
48067 fi
48068 rm -f conftest.err conftest.$ac_objext \
48069       conftest$ac_exeext conftest.$ac_ext
48070 fi
48071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48073 if test `eval echo '${'$as_ac_var'}'` = yes; then
48074   cat >>confdefs.h <<_ACEOF
48075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48076 _ACEOF
48077
48078 fi
48079 done
48080
48081     fi
48082   fi
48083
48084
48085
48086
48087
48088
48089   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48090 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48091   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48092     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48093   echo $ECHO_N "(cached) $ECHO_C" >&6
48094 else
48095
48096
48097
48098       ac_ext=cc
48099 ac_cpp='$CXXCPP $CPPFLAGS'
48100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48103
48104       cat >conftest.$ac_ext <<_ACEOF
48105 /* confdefs.h.  */
48106 _ACEOF
48107 cat confdefs.h >>conftest.$ac_ext
48108 cat >>conftest.$ac_ext <<_ACEOF
48109 /* end confdefs.h.  */
48110 #include <math.h>
48111 int
48112 main ()
48113 {
48114  fmodf(0, 0);
48115   ;
48116   return 0;
48117 }
48118 _ACEOF
48119 rm -f conftest.$ac_objext
48120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48121   (eval $ac_compile) 2>conftest.er1
48122   ac_status=$?
48123   grep -v '^ *+' conftest.er1 >conftest.err
48124   rm -f conftest.er1
48125   cat conftest.err >&5
48126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127   (exit $ac_status); } &&
48128          { ac_try='test -z "$ac_cxx_werror_flag"
48129                          || test ! -s conftest.err'
48130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48131   (eval $ac_try) 2>&5
48132   ac_status=$?
48133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48134   (exit $ac_status); }; } &&
48135          { ac_try='test -s conftest.$ac_objext'
48136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48137   (eval $ac_try) 2>&5
48138   ac_status=$?
48139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48140   (exit $ac_status); }; }; then
48141   glibcxx_cv_func_fmodf_use=yes
48142 else
48143   echo "$as_me: failed program was:" >&5
48144 sed 's/^/| /' conftest.$ac_ext >&5
48145
48146 glibcxx_cv_func_fmodf_use=no
48147 fi
48148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48149       ac_ext=c
48150 ac_cpp='$CPP $CPPFLAGS'
48151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48154
48155
48156 fi
48157
48158   fi
48159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48160 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48161
48162   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48163
48164 for ac_func in fmodf
48165 do
48166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48167 echo "$as_me:$LINENO: checking for $ac_func" >&5
48168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48169 if eval "test \"\${$as_ac_var+set}\" = set"; then
48170   echo $ECHO_N "(cached) $ECHO_C" >&6
48171 else
48172   if test x$gcc_no_link = xyes; then
48173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48175    { (exit 1); exit 1; }; }
48176 fi
48177 cat >conftest.$ac_ext <<_ACEOF
48178 /* confdefs.h.  */
48179 _ACEOF
48180 cat confdefs.h >>conftest.$ac_ext
48181 cat >>conftest.$ac_ext <<_ACEOF
48182 /* end confdefs.h.  */
48183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48185 #define $ac_func innocuous_$ac_func
48186
48187 /* System header to define __stub macros and hopefully few prototypes,
48188     which can conflict with char $ac_func (); below.
48189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48190     <limits.h> exists even on freestanding compilers.  */
48191
48192 #ifdef __STDC__
48193 # include <limits.h>
48194 #else
48195 # include <assert.h>
48196 #endif
48197
48198 #undef $ac_func
48199
48200 /* Override any gcc2 internal prototype to avoid an error.  */
48201 #ifdef __cplusplus
48202 extern "C"
48203 {
48204 #endif
48205 /* We use char because int might match the return type of a gcc2
48206    builtin and then its argument prototype would still apply.  */
48207 char $ac_func ();
48208 /* The GNU C library defines this for functions which it implements
48209     to always fail with ENOSYS.  Some functions are actually named
48210     something starting with __ and the normal name is an alias.  */
48211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48212 choke me
48213 #else
48214 char (*f) () = $ac_func;
48215 #endif
48216 #ifdef __cplusplus
48217 }
48218 #endif
48219
48220 int
48221 main ()
48222 {
48223 return f != $ac_func;
48224   ;
48225   return 0;
48226 }
48227 _ACEOF
48228 rm -f conftest.$ac_objext conftest$ac_exeext
48229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48230   (eval $ac_link) 2>conftest.er1
48231   ac_status=$?
48232   grep -v '^ *+' conftest.er1 >conftest.err
48233   rm -f conftest.er1
48234   cat conftest.err >&5
48235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48236   (exit $ac_status); } &&
48237          { ac_try='test -z "$ac_c_werror_flag"
48238                          || test ! -s conftest.err'
48239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48240   (eval $ac_try) 2>&5
48241   ac_status=$?
48242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48243   (exit $ac_status); }; } &&
48244          { ac_try='test -s conftest$ac_exeext'
48245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246   (eval $ac_try) 2>&5
48247   ac_status=$?
48248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249   (exit $ac_status); }; }; then
48250   eval "$as_ac_var=yes"
48251 else
48252   echo "$as_me: failed program was:" >&5
48253 sed 's/^/| /' conftest.$ac_ext >&5
48254
48255 eval "$as_ac_var=no"
48256 fi
48257 rm -f conftest.err conftest.$ac_objext \
48258       conftest$ac_exeext conftest.$ac_ext
48259 fi
48260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48262 if test `eval echo '${'$as_ac_var'}'` = yes; then
48263   cat >>confdefs.h <<_ACEOF
48264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48265 _ACEOF
48266
48267 fi
48268 done
48269
48270   else
48271
48272   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48273 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48274   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48275     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48276   echo $ECHO_N "(cached) $ECHO_C" >&6
48277 else
48278
48279
48280
48281       ac_ext=cc
48282 ac_cpp='$CXXCPP $CPPFLAGS'
48283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48286
48287       cat >conftest.$ac_ext <<_ACEOF
48288 /* confdefs.h.  */
48289 _ACEOF
48290 cat confdefs.h >>conftest.$ac_ext
48291 cat >>conftest.$ac_ext <<_ACEOF
48292 /* end confdefs.h.  */
48293 #include <math.h>
48294 int
48295 main ()
48296 {
48297  _fmodf(0, 0);
48298   ;
48299   return 0;
48300 }
48301 _ACEOF
48302 rm -f conftest.$ac_objext
48303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48304   (eval $ac_compile) 2>conftest.er1
48305   ac_status=$?
48306   grep -v '^ *+' conftest.er1 >conftest.err
48307   rm -f conftest.er1
48308   cat conftest.err >&5
48309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48310   (exit $ac_status); } &&
48311          { ac_try='test -z "$ac_cxx_werror_flag"
48312                          || test ! -s conftest.err'
48313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48314   (eval $ac_try) 2>&5
48315   ac_status=$?
48316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317   (exit $ac_status); }; } &&
48318          { ac_try='test -s conftest.$ac_objext'
48319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48320   (eval $ac_try) 2>&5
48321   ac_status=$?
48322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48323   (exit $ac_status); }; }; then
48324   glibcxx_cv_func__fmodf_use=yes
48325 else
48326   echo "$as_me: failed program was:" >&5
48327 sed 's/^/| /' conftest.$ac_ext >&5
48328
48329 glibcxx_cv_func__fmodf_use=no
48330 fi
48331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48332       ac_ext=c
48333 ac_cpp='$CPP $CPPFLAGS'
48334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48337
48338
48339 fi
48340
48341   fi
48342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48343 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48344
48345     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48346
48347 for ac_func in _fmodf
48348 do
48349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48350 echo "$as_me:$LINENO: checking for $ac_func" >&5
48351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48352 if eval "test \"\${$as_ac_var+set}\" = set"; then
48353   echo $ECHO_N "(cached) $ECHO_C" >&6
48354 else
48355   if test x$gcc_no_link = xyes; then
48356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48358    { (exit 1); exit 1; }; }
48359 fi
48360 cat >conftest.$ac_ext <<_ACEOF
48361 /* confdefs.h.  */
48362 _ACEOF
48363 cat confdefs.h >>conftest.$ac_ext
48364 cat >>conftest.$ac_ext <<_ACEOF
48365 /* end confdefs.h.  */
48366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48368 #define $ac_func innocuous_$ac_func
48369
48370 /* System header to define __stub macros and hopefully few prototypes,
48371     which can conflict with char $ac_func (); below.
48372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48373     <limits.h> exists even on freestanding compilers.  */
48374
48375 #ifdef __STDC__
48376 # include <limits.h>
48377 #else
48378 # include <assert.h>
48379 #endif
48380
48381 #undef $ac_func
48382
48383 /* Override any gcc2 internal prototype to avoid an error.  */
48384 #ifdef __cplusplus
48385 extern "C"
48386 {
48387 #endif
48388 /* We use char because int might match the return type of a gcc2
48389    builtin and then its argument prototype would still apply.  */
48390 char $ac_func ();
48391 /* The GNU C library defines this for functions which it implements
48392     to always fail with ENOSYS.  Some functions are actually named
48393     something starting with __ and the normal name is an alias.  */
48394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48395 choke me
48396 #else
48397 char (*f) () = $ac_func;
48398 #endif
48399 #ifdef __cplusplus
48400 }
48401 #endif
48402
48403 int
48404 main ()
48405 {
48406 return f != $ac_func;
48407   ;
48408   return 0;
48409 }
48410 _ACEOF
48411 rm -f conftest.$ac_objext conftest$ac_exeext
48412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48413   (eval $ac_link) 2>conftest.er1
48414   ac_status=$?
48415   grep -v '^ *+' conftest.er1 >conftest.err
48416   rm -f conftest.er1
48417   cat conftest.err >&5
48418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48419   (exit $ac_status); } &&
48420          { ac_try='test -z "$ac_c_werror_flag"
48421                          || test ! -s conftest.err'
48422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48423   (eval $ac_try) 2>&5
48424   ac_status=$?
48425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48426   (exit $ac_status); }; } &&
48427          { ac_try='test -s conftest$ac_exeext'
48428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48429   (eval $ac_try) 2>&5
48430   ac_status=$?
48431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48432   (exit $ac_status); }; }; then
48433   eval "$as_ac_var=yes"
48434 else
48435   echo "$as_me: failed program was:" >&5
48436 sed 's/^/| /' conftest.$ac_ext >&5
48437
48438 eval "$as_ac_var=no"
48439 fi
48440 rm -f conftest.err conftest.$ac_objext \
48441       conftest$ac_exeext conftest.$ac_ext
48442 fi
48443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48445 if test `eval echo '${'$as_ac_var'}'` = yes; then
48446   cat >>confdefs.h <<_ACEOF
48447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48448 _ACEOF
48449
48450 fi
48451 done
48452
48453     fi
48454   fi
48455
48456
48457
48458
48459
48460
48461   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48462 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48463   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48464     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48465   echo $ECHO_N "(cached) $ECHO_C" >&6
48466 else
48467
48468
48469
48470       ac_ext=cc
48471 ac_cpp='$CXXCPP $CPPFLAGS'
48472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48475
48476       cat >conftest.$ac_ext <<_ACEOF
48477 /* confdefs.h.  */
48478 _ACEOF
48479 cat confdefs.h >>conftest.$ac_ext
48480 cat >>conftest.$ac_ext <<_ACEOF
48481 /* end confdefs.h.  */
48482 #include <math.h>
48483 int
48484 main ()
48485 {
48486  frexpf(0, 0);
48487   ;
48488   return 0;
48489 }
48490 _ACEOF
48491 rm -f conftest.$ac_objext
48492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48493   (eval $ac_compile) 2>conftest.er1
48494   ac_status=$?
48495   grep -v '^ *+' conftest.er1 >conftest.err
48496   rm -f conftest.er1
48497   cat conftest.err >&5
48498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48499   (exit $ac_status); } &&
48500          { ac_try='test -z "$ac_cxx_werror_flag"
48501                          || test ! -s conftest.err'
48502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48503   (eval $ac_try) 2>&5
48504   ac_status=$?
48505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506   (exit $ac_status); }; } &&
48507          { ac_try='test -s conftest.$ac_objext'
48508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48509   (eval $ac_try) 2>&5
48510   ac_status=$?
48511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512   (exit $ac_status); }; }; then
48513   glibcxx_cv_func_frexpf_use=yes
48514 else
48515   echo "$as_me: failed program was:" >&5
48516 sed 's/^/| /' conftest.$ac_ext >&5
48517
48518 glibcxx_cv_func_frexpf_use=no
48519 fi
48520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48521       ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48526
48527
48528 fi
48529
48530   fi
48531   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48532 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48533
48534   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48535
48536 for ac_func in frexpf
48537 do
48538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48539 echo "$as_me:$LINENO: checking for $ac_func" >&5
48540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48541 if eval "test \"\${$as_ac_var+set}\" = set"; then
48542   echo $ECHO_N "(cached) $ECHO_C" >&6
48543 else
48544   if test x$gcc_no_link = xyes; then
48545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48547    { (exit 1); exit 1; }; }
48548 fi
48549 cat >conftest.$ac_ext <<_ACEOF
48550 /* confdefs.h.  */
48551 _ACEOF
48552 cat confdefs.h >>conftest.$ac_ext
48553 cat >>conftest.$ac_ext <<_ACEOF
48554 /* end confdefs.h.  */
48555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48557 #define $ac_func innocuous_$ac_func
48558
48559 /* System header to define __stub macros and hopefully few prototypes,
48560     which can conflict with char $ac_func (); below.
48561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48562     <limits.h> exists even on freestanding compilers.  */
48563
48564 #ifdef __STDC__
48565 # include <limits.h>
48566 #else
48567 # include <assert.h>
48568 #endif
48569
48570 #undef $ac_func
48571
48572 /* Override any gcc2 internal prototype to avoid an error.  */
48573 #ifdef __cplusplus
48574 extern "C"
48575 {
48576 #endif
48577 /* We use char because int might match the return type of a gcc2
48578    builtin and then its argument prototype would still apply.  */
48579 char $ac_func ();
48580 /* The GNU C library defines this for functions which it implements
48581     to always fail with ENOSYS.  Some functions are actually named
48582     something starting with __ and the normal name is an alias.  */
48583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48584 choke me
48585 #else
48586 char (*f) () = $ac_func;
48587 #endif
48588 #ifdef __cplusplus
48589 }
48590 #endif
48591
48592 int
48593 main ()
48594 {
48595 return f != $ac_func;
48596   ;
48597   return 0;
48598 }
48599 _ACEOF
48600 rm -f conftest.$ac_objext conftest$ac_exeext
48601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48602   (eval $ac_link) 2>conftest.er1
48603   ac_status=$?
48604   grep -v '^ *+' conftest.er1 >conftest.err
48605   rm -f conftest.er1
48606   cat conftest.err >&5
48607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48608   (exit $ac_status); } &&
48609          { ac_try='test -z "$ac_c_werror_flag"
48610                          || test ! -s conftest.err'
48611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48612   (eval $ac_try) 2>&5
48613   ac_status=$?
48614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48615   (exit $ac_status); }; } &&
48616          { ac_try='test -s conftest$ac_exeext'
48617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48618   (eval $ac_try) 2>&5
48619   ac_status=$?
48620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621   (exit $ac_status); }; }; then
48622   eval "$as_ac_var=yes"
48623 else
48624   echo "$as_me: failed program was:" >&5
48625 sed 's/^/| /' conftest.$ac_ext >&5
48626
48627 eval "$as_ac_var=no"
48628 fi
48629 rm -f conftest.err conftest.$ac_objext \
48630       conftest$ac_exeext conftest.$ac_ext
48631 fi
48632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48634 if test `eval echo '${'$as_ac_var'}'` = yes; then
48635   cat >>confdefs.h <<_ACEOF
48636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48637 _ACEOF
48638
48639 fi
48640 done
48641
48642   else
48643
48644   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48645 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48646   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48647     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48648   echo $ECHO_N "(cached) $ECHO_C" >&6
48649 else
48650
48651
48652
48653       ac_ext=cc
48654 ac_cpp='$CXXCPP $CPPFLAGS'
48655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658
48659       cat >conftest.$ac_ext <<_ACEOF
48660 /* confdefs.h.  */
48661 _ACEOF
48662 cat confdefs.h >>conftest.$ac_ext
48663 cat >>conftest.$ac_ext <<_ACEOF
48664 /* end confdefs.h.  */
48665 #include <math.h>
48666 int
48667 main ()
48668 {
48669  _frexpf(0, 0);
48670   ;
48671   return 0;
48672 }
48673 _ACEOF
48674 rm -f conftest.$ac_objext
48675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48676   (eval $ac_compile) 2>conftest.er1
48677   ac_status=$?
48678   grep -v '^ *+' conftest.er1 >conftest.err
48679   rm -f conftest.er1
48680   cat conftest.err >&5
48681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48682   (exit $ac_status); } &&
48683          { ac_try='test -z "$ac_cxx_werror_flag"
48684                          || test ! -s conftest.err'
48685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48686   (eval $ac_try) 2>&5
48687   ac_status=$?
48688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48689   (exit $ac_status); }; } &&
48690          { ac_try='test -s conftest.$ac_objext'
48691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48692   (eval $ac_try) 2>&5
48693   ac_status=$?
48694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695   (exit $ac_status); }; }; then
48696   glibcxx_cv_func__frexpf_use=yes
48697 else
48698   echo "$as_me: failed program was:" >&5
48699 sed 's/^/| /' conftest.$ac_ext >&5
48700
48701 glibcxx_cv_func__frexpf_use=no
48702 fi
48703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48704       ac_ext=c
48705 ac_cpp='$CPP $CPPFLAGS'
48706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709
48710
48711 fi
48712
48713   fi
48714   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48715 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48716
48717     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48718
48719 for ac_func in _frexpf
48720 do
48721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48722 echo "$as_me:$LINENO: checking for $ac_func" >&5
48723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48724 if eval "test \"\${$as_ac_var+set}\" = set"; then
48725   echo $ECHO_N "(cached) $ECHO_C" >&6
48726 else
48727   if test x$gcc_no_link = xyes; then
48728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48730    { (exit 1); exit 1; }; }
48731 fi
48732 cat >conftest.$ac_ext <<_ACEOF
48733 /* confdefs.h.  */
48734 _ACEOF
48735 cat confdefs.h >>conftest.$ac_ext
48736 cat >>conftest.$ac_ext <<_ACEOF
48737 /* end confdefs.h.  */
48738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48740 #define $ac_func innocuous_$ac_func
48741
48742 /* System header to define __stub macros and hopefully few prototypes,
48743     which can conflict with char $ac_func (); below.
48744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48745     <limits.h> exists even on freestanding compilers.  */
48746
48747 #ifdef __STDC__
48748 # include <limits.h>
48749 #else
48750 # include <assert.h>
48751 #endif
48752
48753 #undef $ac_func
48754
48755 /* Override any gcc2 internal prototype to avoid an error.  */
48756 #ifdef __cplusplus
48757 extern "C"
48758 {
48759 #endif
48760 /* We use char because int might match the return type of a gcc2
48761    builtin and then its argument prototype would still apply.  */
48762 char $ac_func ();
48763 /* The GNU C library defines this for functions which it implements
48764     to always fail with ENOSYS.  Some functions are actually named
48765     something starting with __ and the normal name is an alias.  */
48766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48767 choke me
48768 #else
48769 char (*f) () = $ac_func;
48770 #endif
48771 #ifdef __cplusplus
48772 }
48773 #endif
48774
48775 int
48776 main ()
48777 {
48778 return f != $ac_func;
48779   ;
48780   return 0;
48781 }
48782 _ACEOF
48783 rm -f conftest.$ac_objext conftest$ac_exeext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48785   (eval $ac_link) 2>conftest.er1
48786   ac_status=$?
48787   grep -v '^ *+' conftest.er1 >conftest.err
48788   rm -f conftest.er1
48789   cat conftest.err >&5
48790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791   (exit $ac_status); } &&
48792          { ac_try='test -z "$ac_c_werror_flag"
48793                          || test ! -s conftest.err'
48794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795   (eval $ac_try) 2>&5
48796   ac_status=$?
48797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798   (exit $ac_status); }; } &&
48799          { ac_try='test -s conftest$ac_exeext'
48800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801   (eval $ac_try) 2>&5
48802   ac_status=$?
48803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804   (exit $ac_status); }; }; then
48805   eval "$as_ac_var=yes"
48806 else
48807   echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48809
48810 eval "$as_ac_var=no"
48811 fi
48812 rm -f conftest.err conftest.$ac_objext \
48813       conftest$ac_exeext conftest.$ac_ext
48814 fi
48815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48817 if test `eval echo '${'$as_ac_var'}'` = yes; then
48818   cat >>confdefs.h <<_ACEOF
48819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48820 _ACEOF
48821
48822 fi
48823 done
48824
48825     fi
48826   fi
48827
48828
48829
48830
48831
48832
48833   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48834 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48835   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48836     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48837   echo $ECHO_N "(cached) $ECHO_C" >&6
48838 else
48839
48840
48841
48842       ac_ext=cc
48843 ac_cpp='$CXXCPP $CPPFLAGS'
48844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48847
48848       cat >conftest.$ac_ext <<_ACEOF
48849 /* confdefs.h.  */
48850 _ACEOF
48851 cat confdefs.h >>conftest.$ac_ext
48852 cat >>conftest.$ac_ext <<_ACEOF
48853 /* end confdefs.h.  */
48854 #include <math.h>
48855 int
48856 main ()
48857 {
48858  hypotf(0, 0);
48859   ;
48860   return 0;
48861 }
48862 _ACEOF
48863 rm -f conftest.$ac_objext
48864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48865   (eval $ac_compile) 2>conftest.er1
48866   ac_status=$?
48867   grep -v '^ *+' conftest.er1 >conftest.err
48868   rm -f conftest.er1
48869   cat conftest.err >&5
48870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871   (exit $ac_status); } &&
48872          { ac_try='test -z "$ac_cxx_werror_flag"
48873                          || test ! -s conftest.err'
48874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48875   (eval $ac_try) 2>&5
48876   ac_status=$?
48877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48878   (exit $ac_status); }; } &&
48879          { ac_try='test -s conftest.$ac_objext'
48880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48881   (eval $ac_try) 2>&5
48882   ac_status=$?
48883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48884   (exit $ac_status); }; }; then
48885   glibcxx_cv_func_hypotf_use=yes
48886 else
48887   echo "$as_me: failed program was:" >&5
48888 sed 's/^/| /' conftest.$ac_ext >&5
48889
48890 glibcxx_cv_func_hypotf_use=no
48891 fi
48892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48893       ac_ext=c
48894 ac_cpp='$CPP $CPPFLAGS'
48895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48898
48899
48900 fi
48901
48902   fi
48903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48904 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48905
48906   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48907
48908 for ac_func in hypotf
48909 do
48910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48911 echo "$as_me:$LINENO: checking for $ac_func" >&5
48912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48913 if eval "test \"\${$as_ac_var+set}\" = set"; then
48914   echo $ECHO_N "(cached) $ECHO_C" >&6
48915 else
48916   if test x$gcc_no_link = xyes; then
48917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48919    { (exit 1); exit 1; }; }
48920 fi
48921 cat >conftest.$ac_ext <<_ACEOF
48922 /* confdefs.h.  */
48923 _ACEOF
48924 cat confdefs.h >>conftest.$ac_ext
48925 cat >>conftest.$ac_ext <<_ACEOF
48926 /* end confdefs.h.  */
48927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48929 #define $ac_func innocuous_$ac_func
48930
48931 /* System header to define __stub macros and hopefully few prototypes,
48932     which can conflict with char $ac_func (); below.
48933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48934     <limits.h> exists even on freestanding compilers.  */
48935
48936 #ifdef __STDC__
48937 # include <limits.h>
48938 #else
48939 # include <assert.h>
48940 #endif
48941
48942 #undef $ac_func
48943
48944 /* Override any gcc2 internal prototype to avoid an error.  */
48945 #ifdef __cplusplus
48946 extern "C"
48947 {
48948 #endif
48949 /* We use char because int might match the return type of a gcc2
48950    builtin and then its argument prototype would still apply.  */
48951 char $ac_func ();
48952 /* The GNU C library defines this for functions which it implements
48953     to always fail with ENOSYS.  Some functions are actually named
48954     something starting with __ and the normal name is an alias.  */
48955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48956 choke me
48957 #else
48958 char (*f) () = $ac_func;
48959 #endif
48960 #ifdef __cplusplus
48961 }
48962 #endif
48963
48964 int
48965 main ()
48966 {
48967 return f != $ac_func;
48968   ;
48969   return 0;
48970 }
48971 _ACEOF
48972 rm -f conftest.$ac_objext conftest$ac_exeext
48973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48974   (eval $ac_link) 2>conftest.er1
48975   ac_status=$?
48976   grep -v '^ *+' conftest.er1 >conftest.err
48977   rm -f conftest.er1
48978   cat conftest.err >&5
48979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980   (exit $ac_status); } &&
48981          { ac_try='test -z "$ac_c_werror_flag"
48982                          || test ! -s conftest.err'
48983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48984   (eval $ac_try) 2>&5
48985   ac_status=$?
48986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48987   (exit $ac_status); }; } &&
48988          { ac_try='test -s conftest$ac_exeext'
48989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48990   (eval $ac_try) 2>&5
48991   ac_status=$?
48992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48993   (exit $ac_status); }; }; then
48994   eval "$as_ac_var=yes"
48995 else
48996   echo "$as_me: failed program was:" >&5
48997 sed 's/^/| /' conftest.$ac_ext >&5
48998
48999 eval "$as_ac_var=no"
49000 fi
49001 rm -f conftest.err conftest.$ac_objext \
49002       conftest$ac_exeext conftest.$ac_ext
49003 fi
49004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49006 if test `eval echo '${'$as_ac_var'}'` = yes; then
49007   cat >>confdefs.h <<_ACEOF
49008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49009 _ACEOF
49010
49011 fi
49012 done
49013
49014   else
49015
49016   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49017 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49018   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49019     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49020   echo $ECHO_N "(cached) $ECHO_C" >&6
49021 else
49022
49023
49024
49025       ac_ext=cc
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030
49031       cat >conftest.$ac_ext <<_ACEOF
49032 /* confdefs.h.  */
49033 _ACEOF
49034 cat confdefs.h >>conftest.$ac_ext
49035 cat >>conftest.$ac_ext <<_ACEOF
49036 /* end confdefs.h.  */
49037 #include <math.h>
49038 int
49039 main ()
49040 {
49041  _hypotf(0, 0);
49042   ;
49043   return 0;
49044 }
49045 _ACEOF
49046 rm -f conftest.$ac_objext
49047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49048   (eval $ac_compile) 2>conftest.er1
49049   ac_status=$?
49050   grep -v '^ *+' conftest.er1 >conftest.err
49051   rm -f conftest.er1
49052   cat conftest.err >&5
49053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49054   (exit $ac_status); } &&
49055          { ac_try='test -z "$ac_cxx_werror_flag"
49056                          || test ! -s conftest.err'
49057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49058   (eval $ac_try) 2>&5
49059   ac_status=$?
49060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49061   (exit $ac_status); }; } &&
49062          { ac_try='test -s conftest.$ac_objext'
49063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49064   (eval $ac_try) 2>&5
49065   ac_status=$?
49066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49067   (exit $ac_status); }; }; then
49068   glibcxx_cv_func__hypotf_use=yes
49069 else
49070   echo "$as_me: failed program was:" >&5
49071 sed 's/^/| /' conftest.$ac_ext >&5
49072
49073 glibcxx_cv_func__hypotf_use=no
49074 fi
49075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49076       ac_ext=c
49077 ac_cpp='$CPP $CPPFLAGS'
49078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49081
49082
49083 fi
49084
49085   fi
49086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49087 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49088
49089     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49090
49091 for ac_func in _hypotf
49092 do
49093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49094 echo "$as_me:$LINENO: checking for $ac_func" >&5
49095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49096 if eval "test \"\${$as_ac_var+set}\" = set"; then
49097   echo $ECHO_N "(cached) $ECHO_C" >&6
49098 else
49099   if test x$gcc_no_link = xyes; then
49100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49102    { (exit 1); exit 1; }; }
49103 fi
49104 cat >conftest.$ac_ext <<_ACEOF
49105 /* confdefs.h.  */
49106 _ACEOF
49107 cat confdefs.h >>conftest.$ac_ext
49108 cat >>conftest.$ac_ext <<_ACEOF
49109 /* end confdefs.h.  */
49110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49112 #define $ac_func innocuous_$ac_func
49113
49114 /* System header to define __stub macros and hopefully few prototypes,
49115     which can conflict with char $ac_func (); below.
49116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49117     <limits.h> exists even on freestanding compilers.  */
49118
49119 #ifdef __STDC__
49120 # include <limits.h>
49121 #else
49122 # include <assert.h>
49123 #endif
49124
49125 #undef $ac_func
49126
49127 /* Override any gcc2 internal prototype to avoid an error.  */
49128 #ifdef __cplusplus
49129 extern "C"
49130 {
49131 #endif
49132 /* We use char because int might match the return type of a gcc2
49133    builtin and then its argument prototype would still apply.  */
49134 char $ac_func ();
49135 /* The GNU C library defines this for functions which it implements
49136     to always fail with ENOSYS.  Some functions are actually named
49137     something starting with __ and the normal name is an alias.  */
49138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49139 choke me
49140 #else
49141 char (*f) () = $ac_func;
49142 #endif
49143 #ifdef __cplusplus
49144 }
49145 #endif
49146
49147 int
49148 main ()
49149 {
49150 return f != $ac_func;
49151   ;
49152   return 0;
49153 }
49154 _ACEOF
49155 rm -f conftest.$ac_objext conftest$ac_exeext
49156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49157   (eval $ac_link) 2>conftest.er1
49158   ac_status=$?
49159   grep -v '^ *+' conftest.er1 >conftest.err
49160   rm -f conftest.er1
49161   cat conftest.err >&5
49162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163   (exit $ac_status); } &&
49164          { ac_try='test -z "$ac_c_werror_flag"
49165                          || test ! -s conftest.err'
49166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49167   (eval $ac_try) 2>&5
49168   ac_status=$?
49169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49170   (exit $ac_status); }; } &&
49171          { ac_try='test -s conftest$ac_exeext'
49172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49173   (eval $ac_try) 2>&5
49174   ac_status=$?
49175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49176   (exit $ac_status); }; }; then
49177   eval "$as_ac_var=yes"
49178 else
49179   echo "$as_me: failed program was:" >&5
49180 sed 's/^/| /' conftest.$ac_ext >&5
49181
49182 eval "$as_ac_var=no"
49183 fi
49184 rm -f conftest.err conftest.$ac_objext \
49185       conftest$ac_exeext conftest.$ac_ext
49186 fi
49187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49189 if test `eval echo '${'$as_ac_var'}'` = yes; then
49190   cat >>confdefs.h <<_ACEOF
49191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49192 _ACEOF
49193
49194 fi
49195 done
49196
49197     fi
49198   fi
49199
49200
49201
49202
49203
49204
49205   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49206 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49207   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49208     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49209   echo $ECHO_N "(cached) $ECHO_C" >&6
49210 else
49211
49212
49213
49214       ac_ext=cc
49215 ac_cpp='$CXXCPP $CPPFLAGS'
49216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49219
49220       cat >conftest.$ac_ext <<_ACEOF
49221 /* confdefs.h.  */
49222 _ACEOF
49223 cat confdefs.h >>conftest.$ac_ext
49224 cat >>conftest.$ac_ext <<_ACEOF
49225 /* end confdefs.h.  */
49226 #include <math.h>
49227 int
49228 main ()
49229 {
49230  ldexpf(0, 0);
49231   ;
49232   return 0;
49233 }
49234 _ACEOF
49235 rm -f conftest.$ac_objext
49236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49237   (eval $ac_compile) 2>conftest.er1
49238   ac_status=$?
49239   grep -v '^ *+' conftest.er1 >conftest.err
49240   rm -f conftest.er1
49241   cat conftest.err >&5
49242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49243   (exit $ac_status); } &&
49244          { ac_try='test -z "$ac_cxx_werror_flag"
49245                          || test ! -s conftest.err'
49246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49247   (eval $ac_try) 2>&5
49248   ac_status=$?
49249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49250   (exit $ac_status); }; } &&
49251          { ac_try='test -s conftest.$ac_objext'
49252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49253   (eval $ac_try) 2>&5
49254   ac_status=$?
49255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49256   (exit $ac_status); }; }; then
49257   glibcxx_cv_func_ldexpf_use=yes
49258 else
49259   echo "$as_me: failed program was:" >&5
49260 sed 's/^/| /' conftest.$ac_ext >&5
49261
49262 glibcxx_cv_func_ldexpf_use=no
49263 fi
49264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49265       ac_ext=c
49266 ac_cpp='$CPP $CPPFLAGS'
49267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49270
49271
49272 fi
49273
49274   fi
49275   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49276 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49277
49278   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49279
49280 for ac_func in ldexpf
49281 do
49282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49283 echo "$as_me:$LINENO: checking for $ac_func" >&5
49284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49285 if eval "test \"\${$as_ac_var+set}\" = set"; then
49286   echo $ECHO_N "(cached) $ECHO_C" >&6
49287 else
49288   if test x$gcc_no_link = xyes; then
49289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49291    { (exit 1); exit 1; }; }
49292 fi
49293 cat >conftest.$ac_ext <<_ACEOF
49294 /* confdefs.h.  */
49295 _ACEOF
49296 cat confdefs.h >>conftest.$ac_ext
49297 cat >>conftest.$ac_ext <<_ACEOF
49298 /* end confdefs.h.  */
49299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49301 #define $ac_func innocuous_$ac_func
49302
49303 /* System header to define __stub macros and hopefully few prototypes,
49304     which can conflict with char $ac_func (); below.
49305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49306     <limits.h> exists even on freestanding compilers.  */
49307
49308 #ifdef __STDC__
49309 # include <limits.h>
49310 #else
49311 # include <assert.h>
49312 #endif
49313
49314 #undef $ac_func
49315
49316 /* Override any gcc2 internal prototype to avoid an error.  */
49317 #ifdef __cplusplus
49318 extern "C"
49319 {
49320 #endif
49321 /* We use char because int might match the return type of a gcc2
49322    builtin and then its argument prototype would still apply.  */
49323 char $ac_func ();
49324 /* The GNU C library defines this for functions which it implements
49325     to always fail with ENOSYS.  Some functions are actually named
49326     something starting with __ and the normal name is an alias.  */
49327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49328 choke me
49329 #else
49330 char (*f) () = $ac_func;
49331 #endif
49332 #ifdef __cplusplus
49333 }
49334 #endif
49335
49336 int
49337 main ()
49338 {
49339 return f != $ac_func;
49340   ;
49341   return 0;
49342 }
49343 _ACEOF
49344 rm -f conftest.$ac_objext conftest$ac_exeext
49345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49346   (eval $ac_link) 2>conftest.er1
49347   ac_status=$?
49348   grep -v '^ *+' conftest.er1 >conftest.err
49349   rm -f conftest.er1
49350   cat conftest.err >&5
49351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352   (exit $ac_status); } &&
49353          { ac_try='test -z "$ac_c_werror_flag"
49354                          || test ! -s conftest.err'
49355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49356   (eval $ac_try) 2>&5
49357   ac_status=$?
49358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359   (exit $ac_status); }; } &&
49360          { ac_try='test -s conftest$ac_exeext'
49361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49362   (eval $ac_try) 2>&5
49363   ac_status=$?
49364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49365   (exit $ac_status); }; }; then
49366   eval "$as_ac_var=yes"
49367 else
49368   echo "$as_me: failed program was:" >&5
49369 sed 's/^/| /' conftest.$ac_ext >&5
49370
49371 eval "$as_ac_var=no"
49372 fi
49373 rm -f conftest.err conftest.$ac_objext \
49374       conftest$ac_exeext conftest.$ac_ext
49375 fi
49376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49378 if test `eval echo '${'$as_ac_var'}'` = yes; then
49379   cat >>confdefs.h <<_ACEOF
49380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49381 _ACEOF
49382
49383 fi
49384 done
49385
49386   else
49387
49388   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49389 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49390   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49391     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49392   echo $ECHO_N "(cached) $ECHO_C" >&6
49393 else
49394
49395
49396
49397       ac_ext=cc
49398 ac_cpp='$CXXCPP $CPPFLAGS'
49399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49402
49403       cat >conftest.$ac_ext <<_ACEOF
49404 /* confdefs.h.  */
49405 _ACEOF
49406 cat confdefs.h >>conftest.$ac_ext
49407 cat >>conftest.$ac_ext <<_ACEOF
49408 /* end confdefs.h.  */
49409 #include <math.h>
49410 int
49411 main ()
49412 {
49413  _ldexpf(0, 0);
49414   ;
49415   return 0;
49416 }
49417 _ACEOF
49418 rm -f conftest.$ac_objext
49419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49420   (eval $ac_compile) 2>conftest.er1
49421   ac_status=$?
49422   grep -v '^ *+' conftest.er1 >conftest.err
49423   rm -f conftest.er1
49424   cat conftest.err >&5
49425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426   (exit $ac_status); } &&
49427          { ac_try='test -z "$ac_cxx_werror_flag"
49428                          || test ! -s conftest.err'
49429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49430   (eval $ac_try) 2>&5
49431   ac_status=$?
49432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49433   (exit $ac_status); }; } &&
49434          { ac_try='test -s conftest.$ac_objext'
49435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49436   (eval $ac_try) 2>&5
49437   ac_status=$?
49438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49439   (exit $ac_status); }; }; then
49440   glibcxx_cv_func__ldexpf_use=yes
49441 else
49442   echo "$as_me: failed program was:" >&5
49443 sed 's/^/| /' conftest.$ac_ext >&5
49444
49445 glibcxx_cv_func__ldexpf_use=no
49446 fi
49447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49448       ac_ext=c
49449 ac_cpp='$CPP $CPPFLAGS'
49450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49453
49454
49455 fi
49456
49457   fi
49458   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49459 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49460
49461     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49462
49463 for ac_func in _ldexpf
49464 do
49465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49466 echo "$as_me:$LINENO: checking for $ac_func" >&5
49467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49468 if eval "test \"\${$as_ac_var+set}\" = set"; then
49469   echo $ECHO_N "(cached) $ECHO_C" >&6
49470 else
49471   if test x$gcc_no_link = xyes; then
49472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49474    { (exit 1); exit 1; }; }
49475 fi
49476 cat >conftest.$ac_ext <<_ACEOF
49477 /* confdefs.h.  */
49478 _ACEOF
49479 cat confdefs.h >>conftest.$ac_ext
49480 cat >>conftest.$ac_ext <<_ACEOF
49481 /* end confdefs.h.  */
49482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49484 #define $ac_func innocuous_$ac_func
49485
49486 /* System header to define __stub macros and hopefully few prototypes,
49487     which can conflict with char $ac_func (); below.
49488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49489     <limits.h> exists even on freestanding compilers.  */
49490
49491 #ifdef __STDC__
49492 # include <limits.h>
49493 #else
49494 # include <assert.h>
49495 #endif
49496
49497 #undef $ac_func
49498
49499 /* Override any gcc2 internal prototype to avoid an error.  */
49500 #ifdef __cplusplus
49501 extern "C"
49502 {
49503 #endif
49504 /* We use char because int might match the return type of a gcc2
49505    builtin and then its argument prototype would still apply.  */
49506 char $ac_func ();
49507 /* The GNU C library defines this for functions which it implements
49508     to always fail with ENOSYS.  Some functions are actually named
49509     something starting with __ and the normal name is an alias.  */
49510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49511 choke me
49512 #else
49513 char (*f) () = $ac_func;
49514 #endif
49515 #ifdef __cplusplus
49516 }
49517 #endif
49518
49519 int
49520 main ()
49521 {
49522 return f != $ac_func;
49523   ;
49524   return 0;
49525 }
49526 _ACEOF
49527 rm -f conftest.$ac_objext conftest$ac_exeext
49528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49529   (eval $ac_link) 2>conftest.er1
49530   ac_status=$?
49531   grep -v '^ *+' conftest.er1 >conftest.err
49532   rm -f conftest.er1
49533   cat conftest.err >&5
49534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49535   (exit $ac_status); } &&
49536          { ac_try='test -z "$ac_c_werror_flag"
49537                          || test ! -s conftest.err'
49538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49539   (eval $ac_try) 2>&5
49540   ac_status=$?
49541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49542   (exit $ac_status); }; } &&
49543          { ac_try='test -s conftest$ac_exeext'
49544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49545   (eval $ac_try) 2>&5
49546   ac_status=$?
49547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49548   (exit $ac_status); }; }; then
49549   eval "$as_ac_var=yes"
49550 else
49551   echo "$as_me: failed program was:" >&5
49552 sed 's/^/| /' conftest.$ac_ext >&5
49553
49554 eval "$as_ac_var=no"
49555 fi
49556 rm -f conftest.err conftest.$ac_objext \
49557       conftest$ac_exeext conftest.$ac_ext
49558 fi
49559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49561 if test `eval echo '${'$as_ac_var'}'` = yes; then
49562   cat >>confdefs.h <<_ACEOF
49563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49564 _ACEOF
49565
49566 fi
49567 done
49568
49569     fi
49570   fi
49571
49572
49573
49574
49575
49576
49577   echo "$as_me:$LINENO: checking for logf declaration" >&5
49578 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49579   if test x${glibcxx_cv_func_logf_use+set} != xset; then
49580     if test "${glibcxx_cv_func_logf_use+set}" = set; then
49581   echo $ECHO_N "(cached) $ECHO_C" >&6
49582 else
49583
49584
49585
49586       ac_ext=cc
49587 ac_cpp='$CXXCPP $CPPFLAGS'
49588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49591
49592       cat >conftest.$ac_ext <<_ACEOF
49593 /* confdefs.h.  */
49594 _ACEOF
49595 cat confdefs.h >>conftest.$ac_ext
49596 cat >>conftest.$ac_ext <<_ACEOF
49597 /* end confdefs.h.  */
49598 #include <math.h>
49599                       #ifdef HAVE_IEEEFP_H
49600                       #include <ieeefp.h>
49601                       #endif
49602
49603 int
49604 main ()
49605 {
49606  logf(0);
49607   ;
49608   return 0;
49609 }
49610 _ACEOF
49611 rm -f conftest.$ac_objext
49612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49613   (eval $ac_compile) 2>conftest.er1
49614   ac_status=$?
49615   grep -v '^ *+' conftest.er1 >conftest.err
49616   rm -f conftest.er1
49617   cat conftest.err >&5
49618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49619   (exit $ac_status); } &&
49620          { ac_try='test -z "$ac_cxx_werror_flag"
49621                          || test ! -s conftest.err'
49622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49623   (eval $ac_try) 2>&5
49624   ac_status=$?
49625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49626   (exit $ac_status); }; } &&
49627          { ac_try='test -s conftest.$ac_objext'
49628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49629   (eval $ac_try) 2>&5
49630   ac_status=$?
49631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49632   (exit $ac_status); }; }; then
49633   glibcxx_cv_func_logf_use=yes
49634 else
49635   echo "$as_me: failed program was:" >&5
49636 sed 's/^/| /' conftest.$ac_ext >&5
49637
49638 glibcxx_cv_func_logf_use=no
49639 fi
49640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49641       ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49646
49647
49648 fi
49649
49650   fi
49651   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49652 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49653
49654   if test x$glibcxx_cv_func_logf_use = x"yes"; then
49655
49656 for ac_func in logf
49657 do
49658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49659 echo "$as_me:$LINENO: checking for $ac_func" >&5
49660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49661 if eval "test \"\${$as_ac_var+set}\" = set"; then
49662   echo $ECHO_N "(cached) $ECHO_C" >&6
49663 else
49664   if test x$gcc_no_link = xyes; then
49665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49667    { (exit 1); exit 1; }; }
49668 fi
49669 cat >conftest.$ac_ext <<_ACEOF
49670 /* confdefs.h.  */
49671 _ACEOF
49672 cat confdefs.h >>conftest.$ac_ext
49673 cat >>conftest.$ac_ext <<_ACEOF
49674 /* end confdefs.h.  */
49675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49677 #define $ac_func innocuous_$ac_func
49678
49679 /* System header to define __stub macros and hopefully few prototypes,
49680     which can conflict with char $ac_func (); below.
49681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49682     <limits.h> exists even on freestanding compilers.  */
49683
49684 #ifdef __STDC__
49685 # include <limits.h>
49686 #else
49687 # include <assert.h>
49688 #endif
49689
49690 #undef $ac_func
49691
49692 /* Override any gcc2 internal prototype to avoid an error.  */
49693 #ifdef __cplusplus
49694 extern "C"
49695 {
49696 #endif
49697 /* We use char because int might match the return type of a gcc2
49698    builtin and then its argument prototype would still apply.  */
49699 char $ac_func ();
49700 /* The GNU C library defines this for functions which it implements
49701     to always fail with ENOSYS.  Some functions are actually named
49702     something starting with __ and the normal name is an alias.  */
49703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49704 choke me
49705 #else
49706 char (*f) () = $ac_func;
49707 #endif
49708 #ifdef __cplusplus
49709 }
49710 #endif
49711
49712 int
49713 main ()
49714 {
49715 return f != $ac_func;
49716   ;
49717   return 0;
49718 }
49719 _ACEOF
49720 rm -f conftest.$ac_objext conftest$ac_exeext
49721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49722   (eval $ac_link) 2>conftest.er1
49723   ac_status=$?
49724   grep -v '^ *+' conftest.er1 >conftest.err
49725   rm -f conftest.er1
49726   cat conftest.err >&5
49727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49728   (exit $ac_status); } &&
49729          { ac_try='test -z "$ac_c_werror_flag"
49730                          || test ! -s conftest.err'
49731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49732   (eval $ac_try) 2>&5
49733   ac_status=$?
49734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49735   (exit $ac_status); }; } &&
49736          { ac_try='test -s conftest$ac_exeext'
49737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49738   (eval $ac_try) 2>&5
49739   ac_status=$?
49740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741   (exit $ac_status); }; }; then
49742   eval "$as_ac_var=yes"
49743 else
49744   echo "$as_me: failed program was:" >&5
49745 sed 's/^/| /' conftest.$ac_ext >&5
49746
49747 eval "$as_ac_var=no"
49748 fi
49749 rm -f conftest.err conftest.$ac_objext \
49750       conftest$ac_exeext conftest.$ac_ext
49751 fi
49752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49754 if test `eval echo '${'$as_ac_var'}'` = yes; then
49755   cat >>confdefs.h <<_ACEOF
49756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49757 _ACEOF
49758
49759 fi
49760 done
49761
49762   else
49763
49764   echo "$as_me:$LINENO: checking for _logf declaration" >&5
49765 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49766   if test x${glibcxx_cv_func__logf_use+set} != xset; then
49767     if test "${glibcxx_cv_func__logf_use+set}" = set; then
49768   echo $ECHO_N "(cached) $ECHO_C" >&6
49769 else
49770
49771
49772
49773       ac_ext=cc
49774 ac_cpp='$CXXCPP $CPPFLAGS'
49775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49778
49779       cat >conftest.$ac_ext <<_ACEOF
49780 /* confdefs.h.  */
49781 _ACEOF
49782 cat confdefs.h >>conftest.$ac_ext
49783 cat >>conftest.$ac_ext <<_ACEOF
49784 /* end confdefs.h.  */
49785 #include <math.h>
49786                       #ifdef HAVE_IEEEFP_H
49787                       #include <ieeefp.h>
49788                       #endif
49789
49790 int
49791 main ()
49792 {
49793  _logf(0);
49794   ;
49795   return 0;
49796 }
49797 _ACEOF
49798 rm -f conftest.$ac_objext
49799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49800   (eval $ac_compile) 2>conftest.er1
49801   ac_status=$?
49802   grep -v '^ *+' conftest.er1 >conftest.err
49803   rm -f conftest.er1
49804   cat conftest.err >&5
49805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49806   (exit $ac_status); } &&
49807          { ac_try='test -z "$ac_cxx_werror_flag"
49808                          || test ! -s conftest.err'
49809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49810   (eval $ac_try) 2>&5
49811   ac_status=$?
49812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49813   (exit $ac_status); }; } &&
49814          { ac_try='test -s conftest.$ac_objext'
49815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49816   (eval $ac_try) 2>&5
49817   ac_status=$?
49818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49819   (exit $ac_status); }; }; then
49820   glibcxx_cv_func__logf_use=yes
49821 else
49822   echo "$as_me: failed program was:" >&5
49823 sed 's/^/| /' conftest.$ac_ext >&5
49824
49825 glibcxx_cv_func__logf_use=no
49826 fi
49827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49828       ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49833
49834
49835 fi
49836
49837   fi
49838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49839 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49840
49841     if test x$glibcxx_cv_func__logf_use = x"yes"; then
49842
49843 for ac_func in _logf
49844 do
49845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49846 echo "$as_me:$LINENO: checking for $ac_func" >&5
49847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49848 if eval "test \"\${$as_ac_var+set}\" = set"; then
49849   echo $ECHO_N "(cached) $ECHO_C" >&6
49850 else
49851   if test x$gcc_no_link = xyes; then
49852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49854    { (exit 1); exit 1; }; }
49855 fi
49856 cat >conftest.$ac_ext <<_ACEOF
49857 /* confdefs.h.  */
49858 _ACEOF
49859 cat confdefs.h >>conftest.$ac_ext
49860 cat >>conftest.$ac_ext <<_ACEOF
49861 /* end confdefs.h.  */
49862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49864 #define $ac_func innocuous_$ac_func
49865
49866 /* System header to define __stub macros and hopefully few prototypes,
49867     which can conflict with char $ac_func (); below.
49868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49869     <limits.h> exists even on freestanding compilers.  */
49870
49871 #ifdef __STDC__
49872 # include <limits.h>
49873 #else
49874 # include <assert.h>
49875 #endif
49876
49877 #undef $ac_func
49878
49879 /* Override any gcc2 internal prototype to avoid an error.  */
49880 #ifdef __cplusplus
49881 extern "C"
49882 {
49883 #endif
49884 /* We use char because int might match the return type of a gcc2
49885    builtin and then its argument prototype would still apply.  */
49886 char $ac_func ();
49887 /* The GNU C library defines this for functions which it implements
49888     to always fail with ENOSYS.  Some functions are actually named
49889     something starting with __ and the normal name is an alias.  */
49890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49891 choke me
49892 #else
49893 char (*f) () = $ac_func;
49894 #endif
49895 #ifdef __cplusplus
49896 }
49897 #endif
49898
49899 int
49900 main ()
49901 {
49902 return f != $ac_func;
49903   ;
49904   return 0;
49905 }
49906 _ACEOF
49907 rm -f conftest.$ac_objext conftest$ac_exeext
49908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49909   (eval $ac_link) 2>conftest.er1
49910   ac_status=$?
49911   grep -v '^ *+' conftest.er1 >conftest.err
49912   rm -f conftest.er1
49913   cat conftest.err >&5
49914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915   (exit $ac_status); } &&
49916          { ac_try='test -z "$ac_c_werror_flag"
49917                          || test ! -s conftest.err'
49918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49919   (eval $ac_try) 2>&5
49920   ac_status=$?
49921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49922   (exit $ac_status); }; } &&
49923          { ac_try='test -s conftest$ac_exeext'
49924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49925   (eval $ac_try) 2>&5
49926   ac_status=$?
49927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49928   (exit $ac_status); }; }; then
49929   eval "$as_ac_var=yes"
49930 else
49931   echo "$as_me: failed program was:" >&5
49932 sed 's/^/| /' conftest.$ac_ext >&5
49933
49934 eval "$as_ac_var=no"
49935 fi
49936 rm -f conftest.err conftest.$ac_objext \
49937       conftest$ac_exeext conftest.$ac_ext
49938 fi
49939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49941 if test `eval echo '${'$as_ac_var'}'` = yes; then
49942   cat >>confdefs.h <<_ACEOF
49943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49944 _ACEOF
49945
49946 fi
49947 done
49948
49949     fi
49950   fi
49951
49952
49953
49954
49955
49956
49957   echo "$as_me:$LINENO: checking for log10f declaration" >&5
49958 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49959   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49960     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49961   echo $ECHO_N "(cached) $ECHO_C" >&6
49962 else
49963
49964
49965
49966       ac_ext=cc
49967 ac_cpp='$CXXCPP $CPPFLAGS'
49968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49971
49972       cat >conftest.$ac_ext <<_ACEOF
49973 /* confdefs.h.  */
49974 _ACEOF
49975 cat confdefs.h >>conftest.$ac_ext
49976 cat >>conftest.$ac_ext <<_ACEOF
49977 /* end confdefs.h.  */
49978 #include <math.h>
49979                       #ifdef HAVE_IEEEFP_H
49980                       #include <ieeefp.h>
49981                       #endif
49982
49983 int
49984 main ()
49985 {
49986  log10f(0);
49987   ;
49988   return 0;
49989 }
49990 _ACEOF
49991 rm -f conftest.$ac_objext
49992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49993   (eval $ac_compile) 2>conftest.er1
49994   ac_status=$?
49995   grep -v '^ *+' conftest.er1 >conftest.err
49996   rm -f conftest.er1
49997   cat conftest.err >&5
49998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49999   (exit $ac_status); } &&
50000          { ac_try='test -z "$ac_cxx_werror_flag"
50001                          || test ! -s conftest.err'
50002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50003   (eval $ac_try) 2>&5
50004   ac_status=$?
50005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50006   (exit $ac_status); }; } &&
50007          { ac_try='test -s conftest.$ac_objext'
50008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50009   (eval $ac_try) 2>&5
50010   ac_status=$?
50011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50012   (exit $ac_status); }; }; then
50013   glibcxx_cv_func_log10f_use=yes
50014 else
50015   echo "$as_me: failed program was:" >&5
50016 sed 's/^/| /' conftest.$ac_ext >&5
50017
50018 glibcxx_cv_func_log10f_use=no
50019 fi
50020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50021       ac_ext=c
50022 ac_cpp='$CPP $CPPFLAGS'
50023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026
50027
50028 fi
50029
50030   fi
50031   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50032 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50033
50034   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50035
50036 for ac_func in log10f
50037 do
50038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50039 echo "$as_me:$LINENO: checking for $ac_func" >&5
50040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50041 if eval "test \"\${$as_ac_var+set}\" = set"; then
50042   echo $ECHO_N "(cached) $ECHO_C" >&6
50043 else
50044   if test x$gcc_no_link = xyes; then
50045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50047    { (exit 1); exit 1; }; }
50048 fi
50049 cat >conftest.$ac_ext <<_ACEOF
50050 /* confdefs.h.  */
50051 _ACEOF
50052 cat confdefs.h >>conftest.$ac_ext
50053 cat >>conftest.$ac_ext <<_ACEOF
50054 /* end confdefs.h.  */
50055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50057 #define $ac_func innocuous_$ac_func
50058
50059 /* System header to define __stub macros and hopefully few prototypes,
50060     which can conflict with char $ac_func (); below.
50061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50062     <limits.h> exists even on freestanding compilers.  */
50063
50064 #ifdef __STDC__
50065 # include <limits.h>
50066 #else
50067 # include <assert.h>
50068 #endif
50069
50070 #undef $ac_func
50071
50072 /* Override any gcc2 internal prototype to avoid an error.  */
50073 #ifdef __cplusplus
50074 extern "C"
50075 {
50076 #endif
50077 /* We use char because int might match the return type of a gcc2
50078    builtin and then its argument prototype would still apply.  */
50079 char $ac_func ();
50080 /* The GNU C library defines this for functions which it implements
50081     to always fail with ENOSYS.  Some functions are actually named
50082     something starting with __ and the normal name is an alias.  */
50083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50084 choke me
50085 #else
50086 char (*f) () = $ac_func;
50087 #endif
50088 #ifdef __cplusplus
50089 }
50090 #endif
50091
50092 int
50093 main ()
50094 {
50095 return f != $ac_func;
50096   ;
50097   return 0;
50098 }
50099 _ACEOF
50100 rm -f conftest.$ac_objext conftest$ac_exeext
50101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50102   (eval $ac_link) 2>conftest.er1
50103   ac_status=$?
50104   grep -v '^ *+' conftest.er1 >conftest.err
50105   rm -f conftest.er1
50106   cat conftest.err >&5
50107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108   (exit $ac_status); } &&
50109          { ac_try='test -z "$ac_c_werror_flag"
50110                          || test ! -s conftest.err'
50111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50112   (eval $ac_try) 2>&5
50113   ac_status=$?
50114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50115   (exit $ac_status); }; } &&
50116          { ac_try='test -s conftest$ac_exeext'
50117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50118   (eval $ac_try) 2>&5
50119   ac_status=$?
50120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50121   (exit $ac_status); }; }; then
50122   eval "$as_ac_var=yes"
50123 else
50124   echo "$as_me: failed program was:" >&5
50125 sed 's/^/| /' conftest.$ac_ext >&5
50126
50127 eval "$as_ac_var=no"
50128 fi
50129 rm -f conftest.err conftest.$ac_objext \
50130       conftest$ac_exeext conftest.$ac_ext
50131 fi
50132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50134 if test `eval echo '${'$as_ac_var'}'` = yes; then
50135   cat >>confdefs.h <<_ACEOF
50136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50137 _ACEOF
50138
50139 fi
50140 done
50141
50142   else
50143
50144   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50145 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50146   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50147     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50148   echo $ECHO_N "(cached) $ECHO_C" >&6
50149 else
50150
50151
50152
50153       ac_ext=cc
50154 ac_cpp='$CXXCPP $CPPFLAGS'
50155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50158
50159       cat >conftest.$ac_ext <<_ACEOF
50160 /* confdefs.h.  */
50161 _ACEOF
50162 cat confdefs.h >>conftest.$ac_ext
50163 cat >>conftest.$ac_ext <<_ACEOF
50164 /* end confdefs.h.  */
50165 #include <math.h>
50166                       #ifdef HAVE_IEEEFP_H
50167                       #include <ieeefp.h>
50168                       #endif
50169
50170 int
50171 main ()
50172 {
50173  _log10f(0);
50174   ;
50175   return 0;
50176 }
50177 _ACEOF
50178 rm -f conftest.$ac_objext
50179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50180   (eval $ac_compile) 2>conftest.er1
50181   ac_status=$?
50182   grep -v '^ *+' conftest.er1 >conftest.err
50183   rm -f conftest.er1
50184   cat conftest.err >&5
50185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50186   (exit $ac_status); } &&
50187          { ac_try='test -z "$ac_cxx_werror_flag"
50188                          || test ! -s conftest.err'
50189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50190   (eval $ac_try) 2>&5
50191   ac_status=$?
50192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50193   (exit $ac_status); }; } &&
50194          { ac_try='test -s conftest.$ac_objext'
50195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50196   (eval $ac_try) 2>&5
50197   ac_status=$?
50198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199   (exit $ac_status); }; }; then
50200   glibcxx_cv_func__log10f_use=yes
50201 else
50202   echo "$as_me: failed program was:" >&5
50203 sed 's/^/| /' conftest.$ac_ext >&5
50204
50205 glibcxx_cv_func__log10f_use=no
50206 fi
50207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50208       ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50213
50214
50215 fi
50216
50217   fi
50218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50219 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50220
50221     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50222
50223 for ac_func in _log10f
50224 do
50225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50226 echo "$as_me:$LINENO: checking for $ac_func" >&5
50227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50228 if eval "test \"\${$as_ac_var+set}\" = set"; then
50229   echo $ECHO_N "(cached) $ECHO_C" >&6
50230 else
50231   if test x$gcc_no_link = xyes; then
50232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50234    { (exit 1); exit 1; }; }
50235 fi
50236 cat >conftest.$ac_ext <<_ACEOF
50237 /* confdefs.h.  */
50238 _ACEOF
50239 cat confdefs.h >>conftest.$ac_ext
50240 cat >>conftest.$ac_ext <<_ACEOF
50241 /* end confdefs.h.  */
50242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50244 #define $ac_func innocuous_$ac_func
50245
50246 /* System header to define __stub macros and hopefully few prototypes,
50247     which can conflict with char $ac_func (); below.
50248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50249     <limits.h> exists even on freestanding compilers.  */
50250
50251 #ifdef __STDC__
50252 # include <limits.h>
50253 #else
50254 # include <assert.h>
50255 #endif
50256
50257 #undef $ac_func
50258
50259 /* Override any gcc2 internal prototype to avoid an error.  */
50260 #ifdef __cplusplus
50261 extern "C"
50262 {
50263 #endif
50264 /* We use char because int might match the return type of a gcc2
50265    builtin and then its argument prototype would still apply.  */
50266 char $ac_func ();
50267 /* The GNU C library defines this for functions which it implements
50268     to always fail with ENOSYS.  Some functions are actually named
50269     something starting with __ and the normal name is an alias.  */
50270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50271 choke me
50272 #else
50273 char (*f) () = $ac_func;
50274 #endif
50275 #ifdef __cplusplus
50276 }
50277 #endif
50278
50279 int
50280 main ()
50281 {
50282 return f != $ac_func;
50283   ;
50284   return 0;
50285 }
50286 _ACEOF
50287 rm -f conftest.$ac_objext conftest$ac_exeext
50288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50289   (eval $ac_link) 2>conftest.er1
50290   ac_status=$?
50291   grep -v '^ *+' conftest.er1 >conftest.err
50292   rm -f conftest.er1
50293   cat conftest.err >&5
50294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50295   (exit $ac_status); } &&
50296          { ac_try='test -z "$ac_c_werror_flag"
50297                          || test ! -s conftest.err'
50298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50299   (eval $ac_try) 2>&5
50300   ac_status=$?
50301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50302   (exit $ac_status); }; } &&
50303          { ac_try='test -s conftest$ac_exeext'
50304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50305   (eval $ac_try) 2>&5
50306   ac_status=$?
50307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50308   (exit $ac_status); }; }; then
50309   eval "$as_ac_var=yes"
50310 else
50311   echo "$as_me: failed program was:" >&5
50312 sed 's/^/| /' conftest.$ac_ext >&5
50313
50314 eval "$as_ac_var=no"
50315 fi
50316 rm -f conftest.err conftest.$ac_objext \
50317       conftest$ac_exeext conftest.$ac_ext
50318 fi
50319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50321 if test `eval echo '${'$as_ac_var'}'` = yes; then
50322   cat >>confdefs.h <<_ACEOF
50323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50324 _ACEOF
50325
50326 fi
50327 done
50328
50329     fi
50330   fi
50331
50332
50333
50334
50335
50336
50337   echo "$as_me:$LINENO: checking for modff declaration" >&5
50338 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50339   if test x${glibcxx_cv_func_modff_use+set} != xset; then
50340     if test "${glibcxx_cv_func_modff_use+set}" = set; then
50341   echo $ECHO_N "(cached) $ECHO_C" >&6
50342 else
50343
50344
50345
50346       ac_ext=cc
50347 ac_cpp='$CXXCPP $CPPFLAGS'
50348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50351
50352       cat >conftest.$ac_ext <<_ACEOF
50353 /* confdefs.h.  */
50354 _ACEOF
50355 cat confdefs.h >>conftest.$ac_ext
50356 cat >>conftest.$ac_ext <<_ACEOF
50357 /* end confdefs.h.  */
50358 #include <math.h>
50359 int
50360 main ()
50361 {
50362  modff(0, 0);
50363   ;
50364   return 0;
50365 }
50366 _ACEOF
50367 rm -f conftest.$ac_objext
50368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50369   (eval $ac_compile) 2>conftest.er1
50370   ac_status=$?
50371   grep -v '^ *+' conftest.er1 >conftest.err
50372   rm -f conftest.er1
50373   cat conftest.err >&5
50374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50375   (exit $ac_status); } &&
50376          { ac_try='test -z "$ac_cxx_werror_flag"
50377                          || test ! -s conftest.err'
50378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50379   (eval $ac_try) 2>&5
50380   ac_status=$?
50381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382   (exit $ac_status); }; } &&
50383          { ac_try='test -s conftest.$ac_objext'
50384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50385   (eval $ac_try) 2>&5
50386   ac_status=$?
50387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388   (exit $ac_status); }; }; then
50389   glibcxx_cv_func_modff_use=yes
50390 else
50391   echo "$as_me: failed program was:" >&5
50392 sed 's/^/| /' conftest.$ac_ext >&5
50393
50394 glibcxx_cv_func_modff_use=no
50395 fi
50396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50397       ac_ext=c
50398 ac_cpp='$CPP $CPPFLAGS'
50399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50402
50403
50404 fi
50405
50406   fi
50407   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50408 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50409
50410   if test x$glibcxx_cv_func_modff_use = x"yes"; then
50411
50412 for ac_func in modff
50413 do
50414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50415 echo "$as_me:$LINENO: checking for $ac_func" >&5
50416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50417 if eval "test \"\${$as_ac_var+set}\" = set"; then
50418   echo $ECHO_N "(cached) $ECHO_C" >&6
50419 else
50420   if test x$gcc_no_link = xyes; then
50421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50423    { (exit 1); exit 1; }; }
50424 fi
50425 cat >conftest.$ac_ext <<_ACEOF
50426 /* confdefs.h.  */
50427 _ACEOF
50428 cat confdefs.h >>conftest.$ac_ext
50429 cat >>conftest.$ac_ext <<_ACEOF
50430 /* end confdefs.h.  */
50431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50433 #define $ac_func innocuous_$ac_func
50434
50435 /* System header to define __stub macros and hopefully few prototypes,
50436     which can conflict with char $ac_func (); below.
50437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50438     <limits.h> exists even on freestanding compilers.  */
50439
50440 #ifdef __STDC__
50441 # include <limits.h>
50442 #else
50443 # include <assert.h>
50444 #endif
50445
50446 #undef $ac_func
50447
50448 /* Override any gcc2 internal prototype to avoid an error.  */
50449 #ifdef __cplusplus
50450 extern "C"
50451 {
50452 #endif
50453 /* We use char because int might match the return type of a gcc2
50454    builtin and then its argument prototype would still apply.  */
50455 char $ac_func ();
50456 /* The GNU C library defines this for functions which it implements
50457     to always fail with ENOSYS.  Some functions are actually named
50458     something starting with __ and the normal name is an alias.  */
50459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50460 choke me
50461 #else
50462 char (*f) () = $ac_func;
50463 #endif
50464 #ifdef __cplusplus
50465 }
50466 #endif
50467
50468 int
50469 main ()
50470 {
50471 return f != $ac_func;
50472   ;
50473   return 0;
50474 }
50475 _ACEOF
50476 rm -f conftest.$ac_objext conftest$ac_exeext
50477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50478   (eval $ac_link) 2>conftest.er1
50479   ac_status=$?
50480   grep -v '^ *+' conftest.er1 >conftest.err
50481   rm -f conftest.er1
50482   cat conftest.err >&5
50483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50484   (exit $ac_status); } &&
50485          { ac_try='test -z "$ac_c_werror_flag"
50486                          || test ! -s conftest.err'
50487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50488   (eval $ac_try) 2>&5
50489   ac_status=$?
50490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50491   (exit $ac_status); }; } &&
50492          { ac_try='test -s conftest$ac_exeext'
50493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50494   (eval $ac_try) 2>&5
50495   ac_status=$?
50496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50497   (exit $ac_status); }; }; then
50498   eval "$as_ac_var=yes"
50499 else
50500   echo "$as_me: failed program was:" >&5
50501 sed 's/^/| /' conftest.$ac_ext >&5
50502
50503 eval "$as_ac_var=no"
50504 fi
50505 rm -f conftest.err conftest.$ac_objext \
50506       conftest$ac_exeext conftest.$ac_ext
50507 fi
50508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50510 if test `eval echo '${'$as_ac_var'}'` = yes; then
50511   cat >>confdefs.h <<_ACEOF
50512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50513 _ACEOF
50514
50515 fi
50516 done
50517
50518   else
50519
50520   echo "$as_me:$LINENO: checking for _modff declaration" >&5
50521 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50522   if test x${glibcxx_cv_func__modff_use+set} != xset; then
50523     if test "${glibcxx_cv_func__modff_use+set}" = set; then
50524   echo $ECHO_N "(cached) $ECHO_C" >&6
50525 else
50526
50527
50528
50529       ac_ext=cc
50530 ac_cpp='$CXXCPP $CPPFLAGS'
50531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50534
50535       cat >conftest.$ac_ext <<_ACEOF
50536 /* confdefs.h.  */
50537 _ACEOF
50538 cat confdefs.h >>conftest.$ac_ext
50539 cat >>conftest.$ac_ext <<_ACEOF
50540 /* end confdefs.h.  */
50541 #include <math.h>
50542 int
50543 main ()
50544 {
50545  _modff(0, 0);
50546   ;
50547   return 0;
50548 }
50549 _ACEOF
50550 rm -f conftest.$ac_objext
50551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50552   (eval $ac_compile) 2>conftest.er1
50553   ac_status=$?
50554   grep -v '^ *+' conftest.er1 >conftest.err
50555   rm -f conftest.er1
50556   cat conftest.err >&5
50557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50558   (exit $ac_status); } &&
50559          { ac_try='test -z "$ac_cxx_werror_flag"
50560                          || test ! -s conftest.err'
50561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50562   (eval $ac_try) 2>&5
50563   ac_status=$?
50564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50565   (exit $ac_status); }; } &&
50566          { ac_try='test -s conftest.$ac_objext'
50567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50568   (eval $ac_try) 2>&5
50569   ac_status=$?
50570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50571   (exit $ac_status); }; }; then
50572   glibcxx_cv_func__modff_use=yes
50573 else
50574   echo "$as_me: failed program was:" >&5
50575 sed 's/^/| /' conftest.$ac_ext >&5
50576
50577 glibcxx_cv_func__modff_use=no
50578 fi
50579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50580       ac_ext=c
50581 ac_cpp='$CPP $CPPFLAGS'
50582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50585
50586
50587 fi
50588
50589   fi
50590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50591 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50592
50593     if test x$glibcxx_cv_func__modff_use = x"yes"; then
50594
50595 for ac_func in _modff
50596 do
50597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50598 echo "$as_me:$LINENO: checking for $ac_func" >&5
50599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50600 if eval "test \"\${$as_ac_var+set}\" = set"; then
50601   echo $ECHO_N "(cached) $ECHO_C" >&6
50602 else
50603   if test x$gcc_no_link = xyes; then
50604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50606    { (exit 1); exit 1; }; }
50607 fi
50608 cat >conftest.$ac_ext <<_ACEOF
50609 /* confdefs.h.  */
50610 _ACEOF
50611 cat confdefs.h >>conftest.$ac_ext
50612 cat >>conftest.$ac_ext <<_ACEOF
50613 /* end confdefs.h.  */
50614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50616 #define $ac_func innocuous_$ac_func
50617
50618 /* System header to define __stub macros and hopefully few prototypes,
50619     which can conflict with char $ac_func (); below.
50620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50621     <limits.h> exists even on freestanding compilers.  */
50622
50623 #ifdef __STDC__
50624 # include <limits.h>
50625 #else
50626 # include <assert.h>
50627 #endif
50628
50629 #undef $ac_func
50630
50631 /* Override any gcc2 internal prototype to avoid an error.  */
50632 #ifdef __cplusplus
50633 extern "C"
50634 {
50635 #endif
50636 /* We use char because int might match the return type of a gcc2
50637    builtin and then its argument prototype would still apply.  */
50638 char $ac_func ();
50639 /* The GNU C library defines this for functions which it implements
50640     to always fail with ENOSYS.  Some functions are actually named
50641     something starting with __ and the normal name is an alias.  */
50642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50643 choke me
50644 #else
50645 char (*f) () = $ac_func;
50646 #endif
50647 #ifdef __cplusplus
50648 }
50649 #endif
50650
50651 int
50652 main ()
50653 {
50654 return f != $ac_func;
50655   ;
50656   return 0;
50657 }
50658 _ACEOF
50659 rm -f conftest.$ac_objext conftest$ac_exeext
50660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50661   (eval $ac_link) 2>conftest.er1
50662   ac_status=$?
50663   grep -v '^ *+' conftest.er1 >conftest.err
50664   rm -f conftest.er1
50665   cat conftest.err >&5
50666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50667   (exit $ac_status); } &&
50668          { ac_try='test -z "$ac_c_werror_flag"
50669                          || test ! -s conftest.err'
50670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50671   (eval $ac_try) 2>&5
50672   ac_status=$?
50673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50674   (exit $ac_status); }; } &&
50675          { ac_try='test -s conftest$ac_exeext'
50676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50677   (eval $ac_try) 2>&5
50678   ac_status=$?
50679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50680   (exit $ac_status); }; }; then
50681   eval "$as_ac_var=yes"
50682 else
50683   echo "$as_me: failed program was:" >&5
50684 sed 's/^/| /' conftest.$ac_ext >&5
50685
50686 eval "$as_ac_var=no"
50687 fi
50688 rm -f conftest.err conftest.$ac_objext \
50689       conftest$ac_exeext conftest.$ac_ext
50690 fi
50691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50693 if test `eval echo '${'$as_ac_var'}'` = yes; then
50694   cat >>confdefs.h <<_ACEOF
50695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50696 _ACEOF
50697
50698 fi
50699 done
50700
50701     fi
50702   fi
50703
50704
50705
50706
50707
50708
50709   echo "$as_me:$LINENO: checking for modf declaration" >&5
50710 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50711   if test x${glibcxx_cv_func_modf_use+set} != xset; then
50712     if test "${glibcxx_cv_func_modf_use+set}" = set; then
50713   echo $ECHO_N "(cached) $ECHO_C" >&6
50714 else
50715
50716
50717
50718       ac_ext=cc
50719 ac_cpp='$CXXCPP $CPPFLAGS'
50720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50723
50724       cat >conftest.$ac_ext <<_ACEOF
50725 /* confdefs.h.  */
50726 _ACEOF
50727 cat confdefs.h >>conftest.$ac_ext
50728 cat >>conftest.$ac_ext <<_ACEOF
50729 /* end confdefs.h.  */
50730 #include <math.h>
50731 int
50732 main ()
50733 {
50734  modf(0, 0);
50735   ;
50736   return 0;
50737 }
50738 _ACEOF
50739 rm -f conftest.$ac_objext
50740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50741   (eval $ac_compile) 2>conftest.er1
50742   ac_status=$?
50743   grep -v '^ *+' conftest.er1 >conftest.err
50744   rm -f conftest.er1
50745   cat conftest.err >&5
50746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50747   (exit $ac_status); } &&
50748          { ac_try='test -z "$ac_cxx_werror_flag"
50749                          || test ! -s conftest.err'
50750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50751   (eval $ac_try) 2>&5
50752   ac_status=$?
50753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50754   (exit $ac_status); }; } &&
50755          { ac_try='test -s conftest.$ac_objext'
50756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50757   (eval $ac_try) 2>&5
50758   ac_status=$?
50759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50760   (exit $ac_status); }; }; then
50761   glibcxx_cv_func_modf_use=yes
50762 else
50763   echo "$as_me: failed program was:" >&5
50764 sed 's/^/| /' conftest.$ac_ext >&5
50765
50766 glibcxx_cv_func_modf_use=no
50767 fi
50768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50769       ac_ext=c
50770 ac_cpp='$CPP $CPPFLAGS'
50771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50774
50775
50776 fi
50777
50778   fi
50779   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50780 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50781
50782   if test x$glibcxx_cv_func_modf_use = x"yes"; then
50783
50784 for ac_func in modf
50785 do
50786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50787 echo "$as_me:$LINENO: checking for $ac_func" >&5
50788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50789 if eval "test \"\${$as_ac_var+set}\" = set"; then
50790   echo $ECHO_N "(cached) $ECHO_C" >&6
50791 else
50792   if test x$gcc_no_link = xyes; then
50793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50795    { (exit 1); exit 1; }; }
50796 fi
50797 cat >conftest.$ac_ext <<_ACEOF
50798 /* confdefs.h.  */
50799 _ACEOF
50800 cat confdefs.h >>conftest.$ac_ext
50801 cat >>conftest.$ac_ext <<_ACEOF
50802 /* end confdefs.h.  */
50803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50805 #define $ac_func innocuous_$ac_func
50806
50807 /* System header to define __stub macros and hopefully few prototypes,
50808     which can conflict with char $ac_func (); below.
50809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50810     <limits.h> exists even on freestanding compilers.  */
50811
50812 #ifdef __STDC__
50813 # include <limits.h>
50814 #else
50815 # include <assert.h>
50816 #endif
50817
50818 #undef $ac_func
50819
50820 /* Override any gcc2 internal prototype to avoid an error.  */
50821 #ifdef __cplusplus
50822 extern "C"
50823 {
50824 #endif
50825 /* We use char because int might match the return type of a gcc2
50826    builtin and then its argument prototype would still apply.  */
50827 char $ac_func ();
50828 /* The GNU C library defines this for functions which it implements
50829     to always fail with ENOSYS.  Some functions are actually named
50830     something starting with __ and the normal name is an alias.  */
50831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50832 choke me
50833 #else
50834 char (*f) () = $ac_func;
50835 #endif
50836 #ifdef __cplusplus
50837 }
50838 #endif
50839
50840 int
50841 main ()
50842 {
50843 return f != $ac_func;
50844   ;
50845   return 0;
50846 }
50847 _ACEOF
50848 rm -f conftest.$ac_objext conftest$ac_exeext
50849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50850   (eval $ac_link) 2>conftest.er1
50851   ac_status=$?
50852   grep -v '^ *+' conftest.er1 >conftest.err
50853   rm -f conftest.er1
50854   cat conftest.err >&5
50855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50856   (exit $ac_status); } &&
50857          { ac_try='test -z "$ac_c_werror_flag"
50858                          || test ! -s conftest.err'
50859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50860   (eval $ac_try) 2>&5
50861   ac_status=$?
50862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50863   (exit $ac_status); }; } &&
50864          { ac_try='test -s conftest$ac_exeext'
50865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50866   (eval $ac_try) 2>&5
50867   ac_status=$?
50868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50869   (exit $ac_status); }; }; then
50870   eval "$as_ac_var=yes"
50871 else
50872   echo "$as_me: failed program was:" >&5
50873 sed 's/^/| /' conftest.$ac_ext >&5
50874
50875 eval "$as_ac_var=no"
50876 fi
50877 rm -f conftest.err conftest.$ac_objext \
50878       conftest$ac_exeext conftest.$ac_ext
50879 fi
50880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50882 if test `eval echo '${'$as_ac_var'}'` = yes; then
50883   cat >>confdefs.h <<_ACEOF
50884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50885 _ACEOF
50886
50887 fi
50888 done
50889
50890   else
50891
50892   echo "$as_me:$LINENO: checking for _modf declaration" >&5
50893 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50894   if test x${glibcxx_cv_func__modf_use+set} != xset; then
50895     if test "${glibcxx_cv_func__modf_use+set}" = set; then
50896   echo $ECHO_N "(cached) $ECHO_C" >&6
50897 else
50898
50899
50900
50901       ac_ext=cc
50902 ac_cpp='$CXXCPP $CPPFLAGS'
50903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50906
50907       cat >conftest.$ac_ext <<_ACEOF
50908 /* confdefs.h.  */
50909 _ACEOF
50910 cat confdefs.h >>conftest.$ac_ext
50911 cat >>conftest.$ac_ext <<_ACEOF
50912 /* end confdefs.h.  */
50913 #include <math.h>
50914 int
50915 main ()
50916 {
50917  _modf(0, 0);
50918   ;
50919   return 0;
50920 }
50921 _ACEOF
50922 rm -f conftest.$ac_objext
50923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50924   (eval $ac_compile) 2>conftest.er1
50925   ac_status=$?
50926   grep -v '^ *+' conftest.er1 >conftest.err
50927   rm -f conftest.er1
50928   cat conftest.err >&5
50929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50930   (exit $ac_status); } &&
50931          { ac_try='test -z "$ac_cxx_werror_flag"
50932                          || test ! -s conftest.err'
50933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50934   (eval $ac_try) 2>&5
50935   ac_status=$?
50936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50937   (exit $ac_status); }; } &&
50938          { ac_try='test -s conftest.$ac_objext'
50939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50940   (eval $ac_try) 2>&5
50941   ac_status=$?
50942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50943   (exit $ac_status); }; }; then
50944   glibcxx_cv_func__modf_use=yes
50945 else
50946   echo "$as_me: failed program was:" >&5
50947 sed 's/^/| /' conftest.$ac_ext >&5
50948
50949 glibcxx_cv_func__modf_use=no
50950 fi
50951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50952       ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957
50958
50959 fi
50960
50961   fi
50962   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50963 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50964
50965     if test x$glibcxx_cv_func__modf_use = x"yes"; then
50966
50967 for ac_func in _modf
50968 do
50969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50970 echo "$as_me:$LINENO: checking for $ac_func" >&5
50971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50972 if eval "test \"\${$as_ac_var+set}\" = set"; then
50973   echo $ECHO_N "(cached) $ECHO_C" >&6
50974 else
50975   if test x$gcc_no_link = xyes; then
50976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50978    { (exit 1); exit 1; }; }
50979 fi
50980 cat >conftest.$ac_ext <<_ACEOF
50981 /* confdefs.h.  */
50982 _ACEOF
50983 cat confdefs.h >>conftest.$ac_ext
50984 cat >>conftest.$ac_ext <<_ACEOF
50985 /* end confdefs.h.  */
50986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50988 #define $ac_func innocuous_$ac_func
50989
50990 /* System header to define __stub macros and hopefully few prototypes,
50991     which can conflict with char $ac_func (); below.
50992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50993     <limits.h> exists even on freestanding compilers.  */
50994
50995 #ifdef __STDC__
50996 # include <limits.h>
50997 #else
50998 # include <assert.h>
50999 #endif
51000
51001 #undef $ac_func
51002
51003 /* Override any gcc2 internal prototype to avoid an error.  */
51004 #ifdef __cplusplus
51005 extern "C"
51006 {
51007 #endif
51008 /* We use char because int might match the return type of a gcc2
51009    builtin and then its argument prototype would still apply.  */
51010 char $ac_func ();
51011 /* The GNU C library defines this for functions which it implements
51012     to always fail with ENOSYS.  Some functions are actually named
51013     something starting with __ and the normal name is an alias.  */
51014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51015 choke me
51016 #else
51017 char (*f) () = $ac_func;
51018 #endif
51019 #ifdef __cplusplus
51020 }
51021 #endif
51022
51023 int
51024 main ()
51025 {
51026 return f != $ac_func;
51027   ;
51028   return 0;
51029 }
51030 _ACEOF
51031 rm -f conftest.$ac_objext conftest$ac_exeext
51032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51033   (eval $ac_link) 2>conftest.er1
51034   ac_status=$?
51035   grep -v '^ *+' conftest.er1 >conftest.err
51036   rm -f conftest.er1
51037   cat conftest.err >&5
51038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51039   (exit $ac_status); } &&
51040          { ac_try='test -z "$ac_c_werror_flag"
51041                          || test ! -s conftest.err'
51042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51043   (eval $ac_try) 2>&5
51044   ac_status=$?
51045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51046   (exit $ac_status); }; } &&
51047          { ac_try='test -s conftest$ac_exeext'
51048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51049   (eval $ac_try) 2>&5
51050   ac_status=$?
51051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51052   (exit $ac_status); }; }; then
51053   eval "$as_ac_var=yes"
51054 else
51055   echo "$as_me: failed program was:" >&5
51056 sed 's/^/| /' conftest.$ac_ext >&5
51057
51058 eval "$as_ac_var=no"
51059 fi
51060 rm -f conftest.err conftest.$ac_objext \
51061       conftest$ac_exeext conftest.$ac_ext
51062 fi
51063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51065 if test `eval echo '${'$as_ac_var'}'` = yes; then
51066   cat >>confdefs.h <<_ACEOF
51067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51068 _ACEOF
51069
51070 fi
51071 done
51072
51073     fi
51074   fi
51075
51076
51077
51078
51079
51080
51081   echo "$as_me:$LINENO: checking for powf declaration" >&5
51082 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51083   if test x${glibcxx_cv_func_powf_use+set} != xset; then
51084     if test "${glibcxx_cv_func_powf_use+set}" = set; then
51085   echo $ECHO_N "(cached) $ECHO_C" >&6
51086 else
51087
51088
51089
51090       ac_ext=cc
51091 ac_cpp='$CXXCPP $CPPFLAGS'
51092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51095
51096       cat >conftest.$ac_ext <<_ACEOF
51097 /* confdefs.h.  */
51098 _ACEOF
51099 cat confdefs.h >>conftest.$ac_ext
51100 cat >>conftest.$ac_ext <<_ACEOF
51101 /* end confdefs.h.  */
51102 #include <math.h>
51103 int
51104 main ()
51105 {
51106  powf(0, 0);
51107   ;
51108   return 0;
51109 }
51110 _ACEOF
51111 rm -f conftest.$ac_objext
51112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51113   (eval $ac_compile) 2>conftest.er1
51114   ac_status=$?
51115   grep -v '^ *+' conftest.er1 >conftest.err
51116   rm -f conftest.er1
51117   cat conftest.err >&5
51118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51119   (exit $ac_status); } &&
51120          { ac_try='test -z "$ac_cxx_werror_flag"
51121                          || test ! -s conftest.err'
51122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51123   (eval $ac_try) 2>&5
51124   ac_status=$?
51125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51126   (exit $ac_status); }; } &&
51127          { ac_try='test -s conftest.$ac_objext'
51128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51129   (eval $ac_try) 2>&5
51130   ac_status=$?
51131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51132   (exit $ac_status); }; }; then
51133   glibcxx_cv_func_powf_use=yes
51134 else
51135   echo "$as_me: failed program was:" >&5
51136 sed 's/^/| /' conftest.$ac_ext >&5
51137
51138 glibcxx_cv_func_powf_use=no
51139 fi
51140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51141       ac_ext=c
51142 ac_cpp='$CPP $CPPFLAGS'
51143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51146
51147
51148 fi
51149
51150   fi
51151   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51152 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51153
51154   if test x$glibcxx_cv_func_powf_use = x"yes"; then
51155
51156 for ac_func in powf
51157 do
51158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51159 echo "$as_me:$LINENO: checking for $ac_func" >&5
51160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51161 if eval "test \"\${$as_ac_var+set}\" = set"; then
51162   echo $ECHO_N "(cached) $ECHO_C" >&6
51163 else
51164   if test x$gcc_no_link = xyes; then
51165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51167    { (exit 1); exit 1; }; }
51168 fi
51169 cat >conftest.$ac_ext <<_ACEOF
51170 /* confdefs.h.  */
51171 _ACEOF
51172 cat confdefs.h >>conftest.$ac_ext
51173 cat >>conftest.$ac_ext <<_ACEOF
51174 /* end confdefs.h.  */
51175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51177 #define $ac_func innocuous_$ac_func
51178
51179 /* System header to define __stub macros and hopefully few prototypes,
51180     which can conflict with char $ac_func (); below.
51181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51182     <limits.h> exists even on freestanding compilers.  */
51183
51184 #ifdef __STDC__
51185 # include <limits.h>
51186 #else
51187 # include <assert.h>
51188 #endif
51189
51190 #undef $ac_func
51191
51192 /* Override any gcc2 internal prototype to avoid an error.  */
51193 #ifdef __cplusplus
51194 extern "C"
51195 {
51196 #endif
51197 /* We use char because int might match the return type of a gcc2
51198    builtin and then its argument prototype would still apply.  */
51199 char $ac_func ();
51200 /* The GNU C library defines this for functions which it implements
51201     to always fail with ENOSYS.  Some functions are actually named
51202     something starting with __ and the normal name is an alias.  */
51203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51204 choke me
51205 #else
51206 char (*f) () = $ac_func;
51207 #endif
51208 #ifdef __cplusplus
51209 }
51210 #endif
51211
51212 int
51213 main ()
51214 {
51215 return f != $ac_func;
51216   ;
51217   return 0;
51218 }
51219 _ACEOF
51220 rm -f conftest.$ac_objext conftest$ac_exeext
51221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51222   (eval $ac_link) 2>conftest.er1
51223   ac_status=$?
51224   grep -v '^ *+' conftest.er1 >conftest.err
51225   rm -f conftest.er1
51226   cat conftest.err >&5
51227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51228   (exit $ac_status); } &&
51229          { ac_try='test -z "$ac_c_werror_flag"
51230                          || test ! -s conftest.err'
51231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232   (eval $ac_try) 2>&5
51233   ac_status=$?
51234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235   (exit $ac_status); }; } &&
51236          { ac_try='test -s conftest$ac_exeext'
51237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51238   (eval $ac_try) 2>&5
51239   ac_status=$?
51240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51241   (exit $ac_status); }; }; then
51242   eval "$as_ac_var=yes"
51243 else
51244   echo "$as_me: failed program was:" >&5
51245 sed 's/^/| /' conftest.$ac_ext >&5
51246
51247 eval "$as_ac_var=no"
51248 fi
51249 rm -f conftest.err conftest.$ac_objext \
51250       conftest$ac_exeext conftest.$ac_ext
51251 fi
51252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51254 if test `eval echo '${'$as_ac_var'}'` = yes; then
51255   cat >>confdefs.h <<_ACEOF
51256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51257 _ACEOF
51258
51259 fi
51260 done
51261
51262   else
51263
51264   echo "$as_me:$LINENO: checking for _powf declaration" >&5
51265 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51266   if test x${glibcxx_cv_func__powf_use+set} != xset; then
51267     if test "${glibcxx_cv_func__powf_use+set}" = set; then
51268   echo $ECHO_N "(cached) $ECHO_C" >&6
51269 else
51270
51271
51272
51273       ac_ext=cc
51274 ac_cpp='$CXXCPP $CPPFLAGS'
51275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51278
51279       cat >conftest.$ac_ext <<_ACEOF
51280 /* confdefs.h.  */
51281 _ACEOF
51282 cat confdefs.h >>conftest.$ac_ext
51283 cat >>conftest.$ac_ext <<_ACEOF
51284 /* end confdefs.h.  */
51285 #include <math.h>
51286 int
51287 main ()
51288 {
51289  _powf(0, 0);
51290   ;
51291   return 0;
51292 }
51293 _ACEOF
51294 rm -f conftest.$ac_objext
51295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51296   (eval $ac_compile) 2>conftest.er1
51297   ac_status=$?
51298   grep -v '^ *+' conftest.er1 >conftest.err
51299   rm -f conftest.er1
51300   cat conftest.err >&5
51301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51302   (exit $ac_status); } &&
51303          { ac_try='test -z "$ac_cxx_werror_flag"
51304                          || test ! -s conftest.err'
51305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51306   (eval $ac_try) 2>&5
51307   ac_status=$?
51308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51309   (exit $ac_status); }; } &&
51310          { ac_try='test -s conftest.$ac_objext'
51311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51312   (eval $ac_try) 2>&5
51313   ac_status=$?
51314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51315   (exit $ac_status); }; }; then
51316   glibcxx_cv_func__powf_use=yes
51317 else
51318   echo "$as_me: failed program was:" >&5
51319 sed 's/^/| /' conftest.$ac_ext >&5
51320
51321 glibcxx_cv_func__powf_use=no
51322 fi
51323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51324       ac_ext=c
51325 ac_cpp='$CPP $CPPFLAGS'
51326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51329
51330
51331 fi
51332
51333   fi
51334   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51335 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51336
51337     if test x$glibcxx_cv_func__powf_use = x"yes"; then
51338
51339 for ac_func in _powf
51340 do
51341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51342 echo "$as_me:$LINENO: checking for $ac_func" >&5
51343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51344 if eval "test \"\${$as_ac_var+set}\" = set"; then
51345   echo $ECHO_N "(cached) $ECHO_C" >&6
51346 else
51347   if test x$gcc_no_link = xyes; then
51348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51350    { (exit 1); exit 1; }; }
51351 fi
51352 cat >conftest.$ac_ext <<_ACEOF
51353 /* confdefs.h.  */
51354 _ACEOF
51355 cat confdefs.h >>conftest.$ac_ext
51356 cat >>conftest.$ac_ext <<_ACEOF
51357 /* end confdefs.h.  */
51358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51360 #define $ac_func innocuous_$ac_func
51361
51362 /* System header to define __stub macros and hopefully few prototypes,
51363     which can conflict with char $ac_func (); below.
51364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51365     <limits.h> exists even on freestanding compilers.  */
51366
51367 #ifdef __STDC__
51368 # include <limits.h>
51369 #else
51370 # include <assert.h>
51371 #endif
51372
51373 #undef $ac_func
51374
51375 /* Override any gcc2 internal prototype to avoid an error.  */
51376 #ifdef __cplusplus
51377 extern "C"
51378 {
51379 #endif
51380 /* We use char because int might match the return type of a gcc2
51381    builtin and then its argument prototype would still apply.  */
51382 char $ac_func ();
51383 /* The GNU C library defines this for functions which it implements
51384     to always fail with ENOSYS.  Some functions are actually named
51385     something starting with __ and the normal name is an alias.  */
51386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51387 choke me
51388 #else
51389 char (*f) () = $ac_func;
51390 #endif
51391 #ifdef __cplusplus
51392 }
51393 #endif
51394
51395 int
51396 main ()
51397 {
51398 return f != $ac_func;
51399   ;
51400   return 0;
51401 }
51402 _ACEOF
51403 rm -f conftest.$ac_objext conftest$ac_exeext
51404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51405   (eval $ac_link) 2>conftest.er1
51406   ac_status=$?
51407   grep -v '^ *+' conftest.er1 >conftest.err
51408   rm -f conftest.er1
51409   cat conftest.err >&5
51410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411   (exit $ac_status); } &&
51412          { ac_try='test -z "$ac_c_werror_flag"
51413                          || test ! -s conftest.err'
51414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51415   (eval $ac_try) 2>&5
51416   ac_status=$?
51417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51418   (exit $ac_status); }; } &&
51419          { ac_try='test -s conftest$ac_exeext'
51420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51421   (eval $ac_try) 2>&5
51422   ac_status=$?
51423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51424   (exit $ac_status); }; }; then
51425   eval "$as_ac_var=yes"
51426 else
51427   echo "$as_me: failed program was:" >&5
51428 sed 's/^/| /' conftest.$ac_ext >&5
51429
51430 eval "$as_ac_var=no"
51431 fi
51432 rm -f conftest.err conftest.$ac_objext \
51433       conftest$ac_exeext conftest.$ac_ext
51434 fi
51435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51437 if test `eval echo '${'$as_ac_var'}'` = yes; then
51438   cat >>confdefs.h <<_ACEOF
51439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51440 _ACEOF
51441
51442 fi
51443 done
51444
51445     fi
51446   fi
51447
51448
51449
51450
51451
51452
51453   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51454 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51455   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51456     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51457   echo $ECHO_N "(cached) $ECHO_C" >&6
51458 else
51459
51460
51461
51462       ac_ext=cc
51463 ac_cpp='$CXXCPP $CPPFLAGS'
51464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51467
51468       cat >conftest.$ac_ext <<_ACEOF
51469 /* confdefs.h.  */
51470 _ACEOF
51471 cat confdefs.h >>conftest.$ac_ext
51472 cat >>conftest.$ac_ext <<_ACEOF
51473 /* end confdefs.h.  */
51474 #include <math.h>
51475                       #ifdef HAVE_IEEEFP_H
51476                       #include <ieeefp.h>
51477                       #endif
51478
51479 int
51480 main ()
51481 {
51482  sqrtf(0);
51483   ;
51484   return 0;
51485 }
51486 _ACEOF
51487 rm -f conftest.$ac_objext
51488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51489   (eval $ac_compile) 2>conftest.er1
51490   ac_status=$?
51491   grep -v '^ *+' conftest.er1 >conftest.err
51492   rm -f conftest.er1
51493   cat conftest.err >&5
51494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495   (exit $ac_status); } &&
51496          { ac_try='test -z "$ac_cxx_werror_flag"
51497                          || test ! -s conftest.err'
51498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51499   (eval $ac_try) 2>&5
51500   ac_status=$?
51501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51502   (exit $ac_status); }; } &&
51503          { ac_try='test -s conftest.$ac_objext'
51504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51505   (eval $ac_try) 2>&5
51506   ac_status=$?
51507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508   (exit $ac_status); }; }; then
51509   glibcxx_cv_func_sqrtf_use=yes
51510 else
51511   echo "$as_me: failed program was:" >&5
51512 sed 's/^/| /' conftest.$ac_ext >&5
51513
51514 glibcxx_cv_func_sqrtf_use=no
51515 fi
51516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51517       ac_ext=c
51518 ac_cpp='$CPP $CPPFLAGS'
51519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522
51523
51524 fi
51525
51526   fi
51527   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51528 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51529
51530   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51531
51532 for ac_func in sqrtf
51533 do
51534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51535 echo "$as_me:$LINENO: checking for $ac_func" >&5
51536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51537 if eval "test \"\${$as_ac_var+set}\" = set"; then
51538   echo $ECHO_N "(cached) $ECHO_C" >&6
51539 else
51540   if test x$gcc_no_link = xyes; then
51541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51543    { (exit 1); exit 1; }; }
51544 fi
51545 cat >conftest.$ac_ext <<_ACEOF
51546 /* confdefs.h.  */
51547 _ACEOF
51548 cat confdefs.h >>conftest.$ac_ext
51549 cat >>conftest.$ac_ext <<_ACEOF
51550 /* end confdefs.h.  */
51551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51552    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51553 #define $ac_func innocuous_$ac_func
51554
51555 /* System header to define __stub macros and hopefully few prototypes,
51556     which can conflict with char $ac_func (); below.
51557     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51558     <limits.h> exists even on freestanding compilers.  */
51559
51560 #ifdef __STDC__
51561 # include <limits.h>
51562 #else
51563 # include <assert.h>
51564 #endif
51565
51566 #undef $ac_func
51567
51568 /* Override any gcc2 internal prototype to avoid an error.  */
51569 #ifdef __cplusplus
51570 extern "C"
51571 {
51572 #endif
51573 /* We use char because int might match the return type of a gcc2
51574    builtin and then its argument prototype would still apply.  */
51575 char $ac_func ();
51576 /* The GNU C library defines this for functions which it implements
51577     to always fail with ENOSYS.  Some functions are actually named
51578     something starting with __ and the normal name is an alias.  */
51579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51580 choke me
51581 #else
51582 char (*f) () = $ac_func;
51583 #endif
51584 #ifdef __cplusplus
51585 }
51586 #endif
51587
51588 int
51589 main ()
51590 {
51591 return f != $ac_func;
51592   ;
51593   return 0;
51594 }
51595 _ACEOF
51596 rm -f conftest.$ac_objext conftest$ac_exeext
51597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51598   (eval $ac_link) 2>conftest.er1
51599   ac_status=$?
51600   grep -v '^ *+' conftest.er1 >conftest.err
51601   rm -f conftest.er1
51602   cat conftest.err >&5
51603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51604   (exit $ac_status); } &&
51605          { ac_try='test -z "$ac_c_werror_flag"
51606                          || test ! -s conftest.err'
51607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51608   (eval $ac_try) 2>&5
51609   ac_status=$?
51610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611   (exit $ac_status); }; } &&
51612          { ac_try='test -s conftest$ac_exeext'
51613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51614   (eval $ac_try) 2>&5
51615   ac_status=$?
51616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617   (exit $ac_status); }; }; then
51618   eval "$as_ac_var=yes"
51619 else
51620   echo "$as_me: failed program was:" >&5
51621 sed 's/^/| /' conftest.$ac_ext >&5
51622
51623 eval "$as_ac_var=no"
51624 fi
51625 rm -f conftest.err conftest.$ac_objext \
51626       conftest$ac_exeext conftest.$ac_ext
51627 fi
51628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51630 if test `eval echo '${'$as_ac_var'}'` = yes; then
51631   cat >>confdefs.h <<_ACEOF
51632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51633 _ACEOF
51634
51635 fi
51636 done
51637
51638   else
51639
51640   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51641 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51642   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51643     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51644   echo $ECHO_N "(cached) $ECHO_C" >&6
51645 else
51646
51647
51648
51649       ac_ext=cc
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51654
51655       cat >conftest.$ac_ext <<_ACEOF
51656 /* confdefs.h.  */
51657 _ACEOF
51658 cat confdefs.h >>conftest.$ac_ext
51659 cat >>conftest.$ac_ext <<_ACEOF
51660 /* end confdefs.h.  */
51661 #include <math.h>
51662                       #ifdef HAVE_IEEEFP_H
51663                       #include <ieeefp.h>
51664                       #endif
51665
51666 int
51667 main ()
51668 {
51669  _sqrtf(0);
51670   ;
51671   return 0;
51672 }
51673 _ACEOF
51674 rm -f conftest.$ac_objext
51675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51676   (eval $ac_compile) 2>conftest.er1
51677   ac_status=$?
51678   grep -v '^ *+' conftest.er1 >conftest.err
51679   rm -f conftest.er1
51680   cat conftest.err >&5
51681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51682   (exit $ac_status); } &&
51683          { ac_try='test -z "$ac_cxx_werror_flag"
51684                          || test ! -s conftest.err'
51685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51686   (eval $ac_try) 2>&5
51687   ac_status=$?
51688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51689   (exit $ac_status); }; } &&
51690          { ac_try='test -s conftest.$ac_objext'
51691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51692   (eval $ac_try) 2>&5
51693   ac_status=$?
51694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51695   (exit $ac_status); }; }; then
51696   glibcxx_cv_func__sqrtf_use=yes
51697 else
51698   echo "$as_me: failed program was:" >&5
51699 sed 's/^/| /' conftest.$ac_ext >&5
51700
51701 glibcxx_cv_func__sqrtf_use=no
51702 fi
51703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51704       ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709
51710
51711 fi
51712
51713   fi
51714   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51715 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51716
51717     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51718
51719 for ac_func in _sqrtf
51720 do
51721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51722 echo "$as_me:$LINENO: checking for $ac_func" >&5
51723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51724 if eval "test \"\${$as_ac_var+set}\" = set"; then
51725   echo $ECHO_N "(cached) $ECHO_C" >&6
51726 else
51727   if test x$gcc_no_link = xyes; then
51728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51730    { (exit 1); exit 1; }; }
51731 fi
51732 cat >conftest.$ac_ext <<_ACEOF
51733 /* confdefs.h.  */
51734 _ACEOF
51735 cat confdefs.h >>conftest.$ac_ext
51736 cat >>conftest.$ac_ext <<_ACEOF
51737 /* end confdefs.h.  */
51738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51740 #define $ac_func innocuous_$ac_func
51741
51742 /* System header to define __stub macros and hopefully few prototypes,
51743     which can conflict with char $ac_func (); below.
51744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51745     <limits.h> exists even on freestanding compilers.  */
51746
51747 #ifdef __STDC__
51748 # include <limits.h>
51749 #else
51750 # include <assert.h>
51751 #endif
51752
51753 #undef $ac_func
51754
51755 /* Override any gcc2 internal prototype to avoid an error.  */
51756 #ifdef __cplusplus
51757 extern "C"
51758 {
51759 #endif
51760 /* We use char because int might match the return type of a gcc2
51761    builtin and then its argument prototype would still apply.  */
51762 char $ac_func ();
51763 /* The GNU C library defines this for functions which it implements
51764     to always fail with ENOSYS.  Some functions are actually named
51765     something starting with __ and the normal name is an alias.  */
51766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51767 choke me
51768 #else
51769 char (*f) () = $ac_func;
51770 #endif
51771 #ifdef __cplusplus
51772 }
51773 #endif
51774
51775 int
51776 main ()
51777 {
51778 return f != $ac_func;
51779   ;
51780   return 0;
51781 }
51782 _ACEOF
51783 rm -f conftest.$ac_objext conftest$ac_exeext
51784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51785   (eval $ac_link) 2>conftest.er1
51786   ac_status=$?
51787   grep -v '^ *+' conftest.er1 >conftest.err
51788   rm -f conftest.er1
51789   cat conftest.err >&5
51790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51791   (exit $ac_status); } &&
51792          { ac_try='test -z "$ac_c_werror_flag"
51793                          || test ! -s conftest.err'
51794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51795   (eval $ac_try) 2>&5
51796   ac_status=$?
51797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51798   (exit $ac_status); }; } &&
51799          { ac_try='test -s conftest$ac_exeext'
51800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51801   (eval $ac_try) 2>&5
51802   ac_status=$?
51803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51804   (exit $ac_status); }; }; then
51805   eval "$as_ac_var=yes"
51806 else
51807   echo "$as_me: failed program was:" >&5
51808 sed 's/^/| /' conftest.$ac_ext >&5
51809
51810 eval "$as_ac_var=no"
51811 fi
51812 rm -f conftest.err conftest.$ac_objext \
51813       conftest$ac_exeext conftest.$ac_ext
51814 fi
51815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51817 if test `eval echo '${'$as_ac_var'}'` = yes; then
51818   cat >>confdefs.h <<_ACEOF
51819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51820 _ACEOF
51821
51822 fi
51823 done
51824
51825     fi
51826   fi
51827
51828
51829
51830
51831
51832
51833   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51834 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51835   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51836     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51837   echo $ECHO_N "(cached) $ECHO_C" >&6
51838 else
51839
51840
51841
51842       ac_ext=cc
51843 ac_cpp='$CXXCPP $CPPFLAGS'
51844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51847
51848       cat >conftest.$ac_ext <<_ACEOF
51849 /* confdefs.h.  */
51850 _ACEOF
51851 cat confdefs.h >>conftest.$ac_ext
51852 cat >>conftest.$ac_ext <<_ACEOF
51853 /* end confdefs.h.  */
51854 #include <math.h>
51855 int
51856 main ()
51857 {
51858  sincosf(0, 0, 0);
51859   ;
51860   return 0;
51861 }
51862 _ACEOF
51863 rm -f conftest.$ac_objext
51864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51865   (eval $ac_compile) 2>conftest.er1
51866   ac_status=$?
51867   grep -v '^ *+' conftest.er1 >conftest.err
51868   rm -f conftest.er1
51869   cat conftest.err >&5
51870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51871   (exit $ac_status); } &&
51872          { ac_try='test -z "$ac_cxx_werror_flag"
51873                          || test ! -s conftest.err'
51874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51875   (eval $ac_try) 2>&5
51876   ac_status=$?
51877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51878   (exit $ac_status); }; } &&
51879          { ac_try='test -s conftest.$ac_objext'
51880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51881   (eval $ac_try) 2>&5
51882   ac_status=$?
51883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51884   (exit $ac_status); }; }; then
51885   glibcxx_cv_func_sincosf_use=yes
51886 else
51887   echo "$as_me: failed program was:" >&5
51888 sed 's/^/| /' conftest.$ac_ext >&5
51889
51890 glibcxx_cv_func_sincosf_use=no
51891 fi
51892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51893       ac_ext=c
51894 ac_cpp='$CPP $CPPFLAGS'
51895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898
51899
51900 fi
51901
51902   fi
51903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51904 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51905
51906   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51907
51908 for ac_func in sincosf
51909 do
51910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51911 echo "$as_me:$LINENO: checking for $ac_func" >&5
51912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51913 if eval "test \"\${$as_ac_var+set}\" = set"; then
51914   echo $ECHO_N "(cached) $ECHO_C" >&6
51915 else
51916   if test x$gcc_no_link = xyes; then
51917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51919    { (exit 1); exit 1; }; }
51920 fi
51921 cat >conftest.$ac_ext <<_ACEOF
51922 /* confdefs.h.  */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h.  */
51927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51929 #define $ac_func innocuous_$ac_func
51930
51931 /* System header to define __stub macros and hopefully few prototypes,
51932     which can conflict with char $ac_func (); below.
51933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51934     <limits.h> exists even on freestanding compilers.  */
51935
51936 #ifdef __STDC__
51937 # include <limits.h>
51938 #else
51939 # include <assert.h>
51940 #endif
51941
51942 #undef $ac_func
51943
51944 /* Override any gcc2 internal prototype to avoid an error.  */
51945 #ifdef __cplusplus
51946 extern "C"
51947 {
51948 #endif
51949 /* We use char because int might match the return type of a gcc2
51950    builtin and then its argument prototype would still apply.  */
51951 char $ac_func ();
51952 /* The GNU C library defines this for functions which it implements
51953     to always fail with ENOSYS.  Some functions are actually named
51954     something starting with __ and the normal name is an alias.  */
51955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51956 choke me
51957 #else
51958 char (*f) () = $ac_func;
51959 #endif
51960 #ifdef __cplusplus
51961 }
51962 #endif
51963
51964 int
51965 main ()
51966 {
51967 return f != $ac_func;
51968   ;
51969   return 0;
51970 }
51971 _ACEOF
51972 rm -f conftest.$ac_objext conftest$ac_exeext
51973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51974   (eval $ac_link) 2>conftest.er1
51975   ac_status=$?
51976   grep -v '^ *+' conftest.er1 >conftest.err
51977   rm -f conftest.er1
51978   cat conftest.err >&5
51979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51980   (exit $ac_status); } &&
51981          { ac_try='test -z "$ac_c_werror_flag"
51982                          || test ! -s conftest.err'
51983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51984   (eval $ac_try) 2>&5
51985   ac_status=$?
51986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51987   (exit $ac_status); }; } &&
51988          { ac_try='test -s conftest$ac_exeext'
51989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51990   (eval $ac_try) 2>&5
51991   ac_status=$?
51992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51993   (exit $ac_status); }; }; then
51994   eval "$as_ac_var=yes"
51995 else
51996   echo "$as_me: failed program was:" >&5
51997 sed 's/^/| /' conftest.$ac_ext >&5
51998
51999 eval "$as_ac_var=no"
52000 fi
52001 rm -f conftest.err conftest.$ac_objext \
52002       conftest$ac_exeext conftest.$ac_ext
52003 fi
52004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52006 if test `eval echo '${'$as_ac_var'}'` = yes; then
52007   cat >>confdefs.h <<_ACEOF
52008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52009 _ACEOF
52010
52011 fi
52012 done
52013
52014   else
52015
52016   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52017 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52018   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52019     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52020   echo $ECHO_N "(cached) $ECHO_C" >&6
52021 else
52022
52023
52024
52025       ac_ext=cc
52026 ac_cpp='$CXXCPP $CPPFLAGS'
52027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52030
52031       cat >conftest.$ac_ext <<_ACEOF
52032 /* confdefs.h.  */
52033 _ACEOF
52034 cat confdefs.h >>conftest.$ac_ext
52035 cat >>conftest.$ac_ext <<_ACEOF
52036 /* end confdefs.h.  */
52037 #include <math.h>
52038 int
52039 main ()
52040 {
52041  _sincosf(0, 0, 0);
52042   ;
52043   return 0;
52044 }
52045 _ACEOF
52046 rm -f conftest.$ac_objext
52047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52048   (eval $ac_compile) 2>conftest.er1
52049   ac_status=$?
52050   grep -v '^ *+' conftest.er1 >conftest.err
52051   rm -f conftest.er1
52052   cat conftest.err >&5
52053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52054   (exit $ac_status); } &&
52055          { ac_try='test -z "$ac_cxx_werror_flag"
52056                          || test ! -s conftest.err'
52057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52058   (eval $ac_try) 2>&5
52059   ac_status=$?
52060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52061   (exit $ac_status); }; } &&
52062          { ac_try='test -s conftest.$ac_objext'
52063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52064   (eval $ac_try) 2>&5
52065   ac_status=$?
52066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52067   (exit $ac_status); }; }; then
52068   glibcxx_cv_func__sincosf_use=yes
52069 else
52070   echo "$as_me: failed program was:" >&5
52071 sed 's/^/| /' conftest.$ac_ext >&5
52072
52073 glibcxx_cv_func__sincosf_use=no
52074 fi
52075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52076       ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52081
52082
52083 fi
52084
52085   fi
52086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52087 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52088
52089     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52090
52091 for ac_func in _sincosf
52092 do
52093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52094 echo "$as_me:$LINENO: checking for $ac_func" >&5
52095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52096 if eval "test \"\${$as_ac_var+set}\" = set"; then
52097   echo $ECHO_N "(cached) $ECHO_C" >&6
52098 else
52099   if test x$gcc_no_link = xyes; then
52100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52102    { (exit 1); exit 1; }; }
52103 fi
52104 cat >conftest.$ac_ext <<_ACEOF
52105 /* confdefs.h.  */
52106 _ACEOF
52107 cat confdefs.h >>conftest.$ac_ext
52108 cat >>conftest.$ac_ext <<_ACEOF
52109 /* end confdefs.h.  */
52110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52112 #define $ac_func innocuous_$ac_func
52113
52114 /* System header to define __stub macros and hopefully few prototypes,
52115     which can conflict with char $ac_func (); below.
52116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52117     <limits.h> exists even on freestanding compilers.  */
52118
52119 #ifdef __STDC__
52120 # include <limits.h>
52121 #else
52122 # include <assert.h>
52123 #endif
52124
52125 #undef $ac_func
52126
52127 /* Override any gcc2 internal prototype to avoid an error.  */
52128 #ifdef __cplusplus
52129 extern "C"
52130 {
52131 #endif
52132 /* We use char because int might match the return type of a gcc2
52133    builtin and then its argument prototype would still apply.  */
52134 char $ac_func ();
52135 /* The GNU C library defines this for functions which it implements
52136     to always fail with ENOSYS.  Some functions are actually named
52137     something starting with __ and the normal name is an alias.  */
52138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52139 choke me
52140 #else
52141 char (*f) () = $ac_func;
52142 #endif
52143 #ifdef __cplusplus
52144 }
52145 #endif
52146
52147 int
52148 main ()
52149 {
52150 return f != $ac_func;
52151   ;
52152   return 0;
52153 }
52154 _ACEOF
52155 rm -f conftest.$ac_objext conftest$ac_exeext
52156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52157   (eval $ac_link) 2>conftest.er1
52158   ac_status=$?
52159   grep -v '^ *+' conftest.er1 >conftest.err
52160   rm -f conftest.er1
52161   cat conftest.err >&5
52162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52163   (exit $ac_status); } &&
52164          { ac_try='test -z "$ac_c_werror_flag"
52165                          || test ! -s conftest.err'
52166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52167   (eval $ac_try) 2>&5
52168   ac_status=$?
52169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52170   (exit $ac_status); }; } &&
52171          { ac_try='test -s conftest$ac_exeext'
52172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52173   (eval $ac_try) 2>&5
52174   ac_status=$?
52175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52176   (exit $ac_status); }; }; then
52177   eval "$as_ac_var=yes"
52178 else
52179   echo "$as_me: failed program was:" >&5
52180 sed 's/^/| /' conftest.$ac_ext >&5
52181
52182 eval "$as_ac_var=no"
52183 fi
52184 rm -f conftest.err conftest.$ac_objext \
52185       conftest$ac_exeext conftest.$ac_ext
52186 fi
52187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52189 if test `eval echo '${'$as_ac_var'}'` = yes; then
52190   cat >>confdefs.h <<_ACEOF
52191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52192 _ACEOF
52193
52194 fi
52195 done
52196
52197     fi
52198   fi
52199
52200
52201
52202
52203
52204
52205   echo "$as_me:$LINENO: checking for finitef declaration" >&5
52206 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52207   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52208     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52209   echo $ECHO_N "(cached) $ECHO_C" >&6
52210 else
52211
52212
52213
52214       ac_ext=cc
52215 ac_cpp='$CXXCPP $CPPFLAGS'
52216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52219
52220       cat >conftest.$ac_ext <<_ACEOF
52221 /* confdefs.h.  */
52222 _ACEOF
52223 cat confdefs.h >>conftest.$ac_ext
52224 cat >>conftest.$ac_ext <<_ACEOF
52225 /* end confdefs.h.  */
52226 #include <math.h>
52227                       #ifdef HAVE_IEEEFP_H
52228                       #include <ieeefp.h>
52229                       #endif
52230
52231 int
52232 main ()
52233 {
52234  finitef(0);
52235   ;
52236   return 0;
52237 }
52238 _ACEOF
52239 rm -f conftest.$ac_objext
52240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52241   (eval $ac_compile) 2>conftest.er1
52242   ac_status=$?
52243   grep -v '^ *+' conftest.er1 >conftest.err
52244   rm -f conftest.er1
52245   cat conftest.err >&5
52246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52247   (exit $ac_status); } &&
52248          { ac_try='test -z "$ac_cxx_werror_flag"
52249                          || test ! -s conftest.err'
52250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52251   (eval $ac_try) 2>&5
52252   ac_status=$?
52253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52254   (exit $ac_status); }; } &&
52255          { ac_try='test -s conftest.$ac_objext'
52256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52257   (eval $ac_try) 2>&5
52258   ac_status=$?
52259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52260   (exit $ac_status); }; }; then
52261   glibcxx_cv_func_finitef_use=yes
52262 else
52263   echo "$as_me: failed program was:" >&5
52264 sed 's/^/| /' conftest.$ac_ext >&5
52265
52266 glibcxx_cv_func_finitef_use=no
52267 fi
52268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52269       ac_ext=c
52270 ac_cpp='$CPP $CPPFLAGS'
52271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52274
52275
52276 fi
52277
52278   fi
52279   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52280 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52281
52282   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52283
52284 for ac_func in finitef
52285 do
52286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52287 echo "$as_me:$LINENO: checking for $ac_func" >&5
52288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52289 if eval "test \"\${$as_ac_var+set}\" = set"; then
52290   echo $ECHO_N "(cached) $ECHO_C" >&6
52291 else
52292   if test x$gcc_no_link = xyes; then
52293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52295    { (exit 1); exit 1; }; }
52296 fi
52297 cat >conftest.$ac_ext <<_ACEOF
52298 /* confdefs.h.  */
52299 _ACEOF
52300 cat confdefs.h >>conftest.$ac_ext
52301 cat >>conftest.$ac_ext <<_ACEOF
52302 /* end confdefs.h.  */
52303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52305 #define $ac_func innocuous_$ac_func
52306
52307 /* System header to define __stub macros and hopefully few prototypes,
52308     which can conflict with char $ac_func (); below.
52309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52310     <limits.h> exists even on freestanding compilers.  */
52311
52312 #ifdef __STDC__
52313 # include <limits.h>
52314 #else
52315 # include <assert.h>
52316 #endif
52317
52318 #undef $ac_func
52319
52320 /* Override any gcc2 internal prototype to avoid an error.  */
52321 #ifdef __cplusplus
52322 extern "C"
52323 {
52324 #endif
52325 /* We use char because int might match the return type of a gcc2
52326    builtin and then its argument prototype would still apply.  */
52327 char $ac_func ();
52328 /* The GNU C library defines this for functions which it implements
52329     to always fail with ENOSYS.  Some functions are actually named
52330     something starting with __ and the normal name is an alias.  */
52331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52332 choke me
52333 #else
52334 char (*f) () = $ac_func;
52335 #endif
52336 #ifdef __cplusplus
52337 }
52338 #endif
52339
52340 int
52341 main ()
52342 {
52343 return f != $ac_func;
52344   ;
52345   return 0;
52346 }
52347 _ACEOF
52348 rm -f conftest.$ac_objext conftest$ac_exeext
52349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52350   (eval $ac_link) 2>conftest.er1
52351   ac_status=$?
52352   grep -v '^ *+' conftest.er1 >conftest.err
52353   rm -f conftest.er1
52354   cat conftest.err >&5
52355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52356   (exit $ac_status); } &&
52357          { ac_try='test -z "$ac_c_werror_flag"
52358                          || test ! -s conftest.err'
52359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52360   (eval $ac_try) 2>&5
52361   ac_status=$?
52362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52363   (exit $ac_status); }; } &&
52364          { ac_try='test -s conftest$ac_exeext'
52365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52366   (eval $ac_try) 2>&5
52367   ac_status=$?
52368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52369   (exit $ac_status); }; }; then
52370   eval "$as_ac_var=yes"
52371 else
52372   echo "$as_me: failed program was:" >&5
52373 sed 's/^/| /' conftest.$ac_ext >&5
52374
52375 eval "$as_ac_var=no"
52376 fi
52377 rm -f conftest.err conftest.$ac_objext \
52378       conftest$ac_exeext conftest.$ac_ext
52379 fi
52380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52382 if test `eval echo '${'$as_ac_var'}'` = yes; then
52383   cat >>confdefs.h <<_ACEOF
52384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52385 _ACEOF
52386
52387 fi
52388 done
52389
52390   else
52391
52392   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52393 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52394   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52395     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52396   echo $ECHO_N "(cached) $ECHO_C" >&6
52397 else
52398
52399
52400
52401       ac_ext=cc
52402 ac_cpp='$CXXCPP $CPPFLAGS'
52403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52406
52407       cat >conftest.$ac_ext <<_ACEOF
52408 /* confdefs.h.  */
52409 _ACEOF
52410 cat confdefs.h >>conftest.$ac_ext
52411 cat >>conftest.$ac_ext <<_ACEOF
52412 /* end confdefs.h.  */
52413 #include <math.h>
52414                       #ifdef HAVE_IEEEFP_H
52415                       #include <ieeefp.h>
52416                       #endif
52417
52418 int
52419 main ()
52420 {
52421  _finitef(0);
52422   ;
52423   return 0;
52424 }
52425 _ACEOF
52426 rm -f conftest.$ac_objext
52427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52428   (eval $ac_compile) 2>conftest.er1
52429   ac_status=$?
52430   grep -v '^ *+' conftest.er1 >conftest.err
52431   rm -f conftest.er1
52432   cat conftest.err >&5
52433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52434   (exit $ac_status); } &&
52435          { ac_try='test -z "$ac_cxx_werror_flag"
52436                          || test ! -s conftest.err'
52437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52438   (eval $ac_try) 2>&5
52439   ac_status=$?
52440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52441   (exit $ac_status); }; } &&
52442          { ac_try='test -s conftest.$ac_objext'
52443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52444   (eval $ac_try) 2>&5
52445   ac_status=$?
52446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52447   (exit $ac_status); }; }; then
52448   glibcxx_cv_func__finitef_use=yes
52449 else
52450   echo "$as_me: failed program was:" >&5
52451 sed 's/^/| /' conftest.$ac_ext >&5
52452
52453 glibcxx_cv_func__finitef_use=no
52454 fi
52455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52456       ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465   fi
52466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52467 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52468
52469     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52470
52471 for ac_func in _finitef
52472 do
52473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52474 echo "$as_me:$LINENO: checking for $ac_func" >&5
52475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52476 if eval "test \"\${$as_ac_var+set}\" = set"; then
52477   echo $ECHO_N "(cached) $ECHO_C" >&6
52478 else
52479   if test x$gcc_no_link = xyes; then
52480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52482    { (exit 1); exit 1; }; }
52483 fi
52484 cat >conftest.$ac_ext <<_ACEOF
52485 /* confdefs.h.  */
52486 _ACEOF
52487 cat confdefs.h >>conftest.$ac_ext
52488 cat >>conftest.$ac_ext <<_ACEOF
52489 /* end confdefs.h.  */
52490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52492 #define $ac_func innocuous_$ac_func
52493
52494 /* System header to define __stub macros and hopefully few prototypes,
52495     which can conflict with char $ac_func (); below.
52496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52497     <limits.h> exists even on freestanding compilers.  */
52498
52499 #ifdef __STDC__
52500 # include <limits.h>
52501 #else
52502 # include <assert.h>
52503 #endif
52504
52505 #undef $ac_func
52506
52507 /* Override any gcc2 internal prototype to avoid an error.  */
52508 #ifdef __cplusplus
52509 extern "C"
52510 {
52511 #endif
52512 /* We use char because int might match the return type of a gcc2
52513    builtin and then its argument prototype would still apply.  */
52514 char $ac_func ();
52515 /* The GNU C library defines this for functions which it implements
52516     to always fail with ENOSYS.  Some functions are actually named
52517     something starting with __ and the normal name is an alias.  */
52518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52519 choke me
52520 #else
52521 char (*f) () = $ac_func;
52522 #endif
52523 #ifdef __cplusplus
52524 }
52525 #endif
52526
52527 int
52528 main ()
52529 {
52530 return f != $ac_func;
52531   ;
52532   return 0;
52533 }
52534 _ACEOF
52535 rm -f conftest.$ac_objext conftest$ac_exeext
52536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52537   (eval $ac_link) 2>conftest.er1
52538   ac_status=$?
52539   grep -v '^ *+' conftest.er1 >conftest.err
52540   rm -f conftest.er1
52541   cat conftest.err >&5
52542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543   (exit $ac_status); } &&
52544          { ac_try='test -z "$ac_c_werror_flag"
52545                          || test ! -s conftest.err'
52546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52547   (eval $ac_try) 2>&5
52548   ac_status=$?
52549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52550   (exit $ac_status); }; } &&
52551          { ac_try='test -s conftest$ac_exeext'
52552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52553   (eval $ac_try) 2>&5
52554   ac_status=$?
52555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556   (exit $ac_status); }; }; then
52557   eval "$as_ac_var=yes"
52558 else
52559   echo "$as_me: failed program was:" >&5
52560 sed 's/^/| /' conftest.$ac_ext >&5
52561
52562 eval "$as_ac_var=no"
52563 fi
52564 rm -f conftest.err conftest.$ac_objext \
52565       conftest$ac_exeext conftest.$ac_ext
52566 fi
52567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52569 if test `eval echo '${'$as_ac_var'}'` = yes; then
52570   cat >>confdefs.h <<_ACEOF
52571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52572 _ACEOF
52573
52574 fi
52575 done
52576
52577     fi
52578   fi
52579
52580
52581
52582
52583
52584
52585     echo "$as_me:$LINENO: checking for long double trig functions" >&5
52586 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52587   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52588   echo $ECHO_N "(cached) $ECHO_C" >&6
52589 else
52590
52591
52592
52593     ac_ext=cc
52594 ac_cpp='$CXXCPP $CPPFLAGS'
52595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52598
52599     cat >conftest.$ac_ext <<_ACEOF
52600 /* confdefs.h.  */
52601 _ACEOF
52602 cat confdefs.h >>conftest.$ac_ext
52603 cat >>conftest.$ac_ext <<_ACEOF
52604 /* end confdefs.h.  */
52605 #include <math.h>
52606 int
52607 main ()
52608 {
52609 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52610   ;
52611   return 0;
52612 }
52613 _ACEOF
52614 rm -f conftest.$ac_objext
52615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52616   (eval $ac_compile) 2>conftest.er1
52617   ac_status=$?
52618   grep -v '^ *+' conftest.er1 >conftest.err
52619   rm -f conftest.er1
52620   cat conftest.err >&5
52621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52622   (exit $ac_status); } &&
52623          { ac_try='test -z "$ac_cxx_werror_flag"
52624                          || test ! -s conftest.err'
52625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52626   (eval $ac_try) 2>&5
52627   ac_status=$?
52628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52629   (exit $ac_status); }; } &&
52630          { ac_try='test -s conftest.$ac_objext'
52631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52632   (eval $ac_try) 2>&5
52633   ac_status=$?
52634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52635   (exit $ac_status); }; }; then
52636   glibcxx_cv_func_long_double_trig_use=yes
52637 else
52638   echo "$as_me: failed program was:" >&5
52639 sed 's/^/| /' conftest.$ac_ext >&5
52640
52641 glibcxx_cv_func_long_double_trig_use=no
52642 fi
52643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52644     ac_ext=c
52645 ac_cpp='$CPP $CPPFLAGS'
52646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52649
52650 fi
52651
52652   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52653 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52654   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52655
52656
52657
52658
52659
52660
52661
52662
52663
52664 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52665 do
52666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52667 echo "$as_me:$LINENO: checking for $ac_func" >&5
52668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52669 if eval "test \"\${$as_ac_var+set}\" = set"; then
52670   echo $ECHO_N "(cached) $ECHO_C" >&6
52671 else
52672   if test x$gcc_no_link = xyes; then
52673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52675    { (exit 1); exit 1; }; }
52676 fi
52677 cat >conftest.$ac_ext <<_ACEOF
52678 /* confdefs.h.  */
52679 _ACEOF
52680 cat confdefs.h >>conftest.$ac_ext
52681 cat >>conftest.$ac_ext <<_ACEOF
52682 /* end confdefs.h.  */
52683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52685 #define $ac_func innocuous_$ac_func
52686
52687 /* System header to define __stub macros and hopefully few prototypes,
52688     which can conflict with char $ac_func (); below.
52689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52690     <limits.h> exists even on freestanding compilers.  */
52691
52692 #ifdef __STDC__
52693 # include <limits.h>
52694 #else
52695 # include <assert.h>
52696 #endif
52697
52698 #undef $ac_func
52699
52700 /* Override any gcc2 internal prototype to avoid an error.  */
52701 #ifdef __cplusplus
52702 extern "C"
52703 {
52704 #endif
52705 /* We use char because int might match the return type of a gcc2
52706    builtin and then its argument prototype would still apply.  */
52707 char $ac_func ();
52708 /* The GNU C library defines this for functions which it implements
52709     to always fail with ENOSYS.  Some functions are actually named
52710     something starting with __ and the normal name is an alias.  */
52711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52712 choke me
52713 #else
52714 char (*f) () = $ac_func;
52715 #endif
52716 #ifdef __cplusplus
52717 }
52718 #endif
52719
52720 int
52721 main ()
52722 {
52723 return f != $ac_func;
52724   ;
52725   return 0;
52726 }
52727 _ACEOF
52728 rm -f conftest.$ac_objext conftest$ac_exeext
52729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52730   (eval $ac_link) 2>conftest.er1
52731   ac_status=$?
52732   grep -v '^ *+' conftest.er1 >conftest.err
52733   rm -f conftest.er1
52734   cat conftest.err >&5
52735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52736   (exit $ac_status); } &&
52737          { ac_try='test -z "$ac_c_werror_flag"
52738                          || test ! -s conftest.err'
52739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52740   (eval $ac_try) 2>&5
52741   ac_status=$?
52742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52743   (exit $ac_status); }; } &&
52744          { ac_try='test -s conftest$ac_exeext'
52745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52746   (eval $ac_try) 2>&5
52747   ac_status=$?
52748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52749   (exit $ac_status); }; }; then
52750   eval "$as_ac_var=yes"
52751 else
52752   echo "$as_me: failed program was:" >&5
52753 sed 's/^/| /' conftest.$ac_ext >&5
52754
52755 eval "$as_ac_var=no"
52756 fi
52757 rm -f conftest.err conftest.$ac_objext \
52758       conftest$ac_exeext conftest.$ac_ext
52759 fi
52760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52762 if test `eval echo '${'$as_ac_var'}'` = yes; then
52763   cat >>confdefs.h <<_ACEOF
52764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52765 _ACEOF
52766
52767 fi
52768 done
52769
52770   else
52771     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52772 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52773     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52774   echo $ECHO_N "(cached) $ECHO_C" >&6
52775 else
52776
52777
52778
52779       ac_ext=cc
52780 ac_cpp='$CXXCPP $CPPFLAGS'
52781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52784
52785       cat >conftest.$ac_ext <<_ACEOF
52786 /* confdefs.h.  */
52787 _ACEOF
52788 cat confdefs.h >>conftest.$ac_ext
52789 cat >>conftest.$ac_ext <<_ACEOF
52790 /* end confdefs.h.  */
52791 #include <math.h>
52792 int
52793 main ()
52794 {
52795 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52796   ;
52797   return 0;
52798 }
52799 _ACEOF
52800 rm -f conftest.$ac_objext
52801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52802   (eval $ac_compile) 2>conftest.er1
52803   ac_status=$?
52804   grep -v '^ *+' conftest.er1 >conftest.err
52805   rm -f conftest.er1
52806   cat conftest.err >&5
52807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52808   (exit $ac_status); } &&
52809          { ac_try='test -z "$ac_cxx_werror_flag"
52810                          || test ! -s conftest.err'
52811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52812   (eval $ac_try) 2>&5
52813   ac_status=$?
52814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52815   (exit $ac_status); }; } &&
52816          { ac_try='test -s conftest.$ac_objext'
52817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52818   (eval $ac_try) 2>&5
52819   ac_status=$?
52820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52821   (exit $ac_status); }; }; then
52822   glibcxx_cv_func__long_double_trig_use=yes
52823 else
52824   echo "$as_me: failed program was:" >&5
52825 sed 's/^/| /' conftest.$ac_ext >&5
52826
52827 glibcxx_cv_func__long_double_trig_use=no
52828 fi
52829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52830       ac_ext=c
52831 ac_cpp='$CPP $CPPFLAGS'
52832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52835
52836 fi
52837
52838     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52839 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52840     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52851 do
52852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52853 echo "$as_me:$LINENO: checking for $ac_func" >&5
52854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52855 if eval "test \"\${$as_ac_var+set}\" = set"; then
52856   echo $ECHO_N "(cached) $ECHO_C" >&6
52857 else
52858   if test x$gcc_no_link = xyes; then
52859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52861    { (exit 1); exit 1; }; }
52862 fi
52863 cat >conftest.$ac_ext <<_ACEOF
52864 /* confdefs.h.  */
52865 _ACEOF
52866 cat confdefs.h >>conftest.$ac_ext
52867 cat >>conftest.$ac_ext <<_ACEOF
52868 /* end confdefs.h.  */
52869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52871 #define $ac_func innocuous_$ac_func
52872
52873 /* System header to define __stub macros and hopefully few prototypes,
52874     which can conflict with char $ac_func (); below.
52875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52876     <limits.h> exists even on freestanding compilers.  */
52877
52878 #ifdef __STDC__
52879 # include <limits.h>
52880 #else
52881 # include <assert.h>
52882 #endif
52883
52884 #undef $ac_func
52885
52886 /* Override any gcc2 internal prototype to avoid an error.  */
52887 #ifdef __cplusplus
52888 extern "C"
52889 {
52890 #endif
52891 /* We use char because int might match the return type of a gcc2
52892    builtin and then its argument prototype would still apply.  */
52893 char $ac_func ();
52894 /* The GNU C library defines this for functions which it implements
52895     to always fail with ENOSYS.  Some functions are actually named
52896     something starting with __ and the normal name is an alias.  */
52897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52898 choke me
52899 #else
52900 char (*f) () = $ac_func;
52901 #endif
52902 #ifdef __cplusplus
52903 }
52904 #endif
52905
52906 int
52907 main ()
52908 {
52909 return f != $ac_func;
52910   ;
52911   return 0;
52912 }
52913 _ACEOF
52914 rm -f conftest.$ac_objext conftest$ac_exeext
52915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52916   (eval $ac_link) 2>conftest.er1
52917   ac_status=$?
52918   grep -v '^ *+' conftest.er1 >conftest.err
52919   rm -f conftest.er1
52920   cat conftest.err >&5
52921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52922   (exit $ac_status); } &&
52923          { ac_try='test -z "$ac_c_werror_flag"
52924                          || test ! -s conftest.err'
52925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52926   (eval $ac_try) 2>&5
52927   ac_status=$?
52928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52929   (exit $ac_status); }; } &&
52930          { ac_try='test -s conftest$ac_exeext'
52931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52932   (eval $ac_try) 2>&5
52933   ac_status=$?
52934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52935   (exit $ac_status); }; }; then
52936   eval "$as_ac_var=yes"
52937 else
52938   echo "$as_me: failed program was:" >&5
52939 sed 's/^/| /' conftest.$ac_ext >&5
52940
52941 eval "$as_ac_var=no"
52942 fi
52943 rm -f conftest.err conftest.$ac_objext \
52944       conftest$ac_exeext conftest.$ac_ext
52945 fi
52946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52948 if test `eval echo '${'$as_ac_var'}'` = yes; then
52949   cat >>confdefs.h <<_ACEOF
52950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52951 _ACEOF
52952
52953 fi
52954 done
52955
52956     fi
52957   fi
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972     echo "$as_me:$LINENO: checking for long double round functions" >&5
52973 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52974   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52975   echo $ECHO_N "(cached) $ECHO_C" >&6
52976 else
52977
52978
52979
52980     ac_ext=cc
52981 ac_cpp='$CXXCPP $CPPFLAGS'
52982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52985
52986     cat >conftest.$ac_ext <<_ACEOF
52987 /* confdefs.h.  */
52988 _ACEOF
52989 cat confdefs.h >>conftest.$ac_ext
52990 cat >>conftest.$ac_ext <<_ACEOF
52991 /* end confdefs.h.  */
52992 #include <math.h>
52993 int
52994 main ()
52995 {
52996 ceill (0); floorl (0);
52997   ;
52998   return 0;
52999 }
53000 _ACEOF
53001 rm -f conftest.$ac_objext
53002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53003   (eval $ac_compile) 2>conftest.er1
53004   ac_status=$?
53005   grep -v '^ *+' conftest.er1 >conftest.err
53006   rm -f conftest.er1
53007   cat conftest.err >&5
53008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53009   (exit $ac_status); } &&
53010          { ac_try='test -z "$ac_cxx_werror_flag"
53011                          || test ! -s conftest.err'
53012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53013   (eval $ac_try) 2>&5
53014   ac_status=$?
53015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016   (exit $ac_status); }; } &&
53017          { ac_try='test -s conftest.$ac_objext'
53018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53019   (eval $ac_try) 2>&5
53020   ac_status=$?
53021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022   (exit $ac_status); }; }; then
53023   glibcxx_cv_func_long_double_round_use=yes
53024 else
53025   echo "$as_me: failed program was:" >&5
53026 sed 's/^/| /' conftest.$ac_ext >&5
53027
53028 glibcxx_cv_func_long_double_round_use=no
53029 fi
53030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53031     ac_ext=c
53032 ac_cpp='$CPP $CPPFLAGS'
53033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53036
53037 fi
53038
53039   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53040 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53041   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53042
53043
53044 for ac_func in ceill floorl
53045 do
53046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53047 echo "$as_me:$LINENO: checking for $ac_func" >&5
53048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53049 if eval "test \"\${$as_ac_var+set}\" = set"; then
53050   echo $ECHO_N "(cached) $ECHO_C" >&6
53051 else
53052   if test x$gcc_no_link = xyes; then
53053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53055    { (exit 1); exit 1; }; }
53056 fi
53057 cat >conftest.$ac_ext <<_ACEOF
53058 /* confdefs.h.  */
53059 _ACEOF
53060 cat confdefs.h >>conftest.$ac_ext
53061 cat >>conftest.$ac_ext <<_ACEOF
53062 /* end confdefs.h.  */
53063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53065 #define $ac_func innocuous_$ac_func
53066
53067 /* System header to define __stub macros and hopefully few prototypes,
53068     which can conflict with char $ac_func (); below.
53069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53070     <limits.h> exists even on freestanding compilers.  */
53071
53072 #ifdef __STDC__
53073 # include <limits.h>
53074 #else
53075 # include <assert.h>
53076 #endif
53077
53078 #undef $ac_func
53079
53080 /* Override any gcc2 internal prototype to avoid an error.  */
53081 #ifdef __cplusplus
53082 extern "C"
53083 {
53084 #endif
53085 /* We use char because int might match the return type of a gcc2
53086    builtin and then its argument prototype would still apply.  */
53087 char $ac_func ();
53088 /* The GNU C library defines this for functions which it implements
53089     to always fail with ENOSYS.  Some functions are actually named
53090     something starting with __ and the normal name is an alias.  */
53091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53092 choke me
53093 #else
53094 char (*f) () = $ac_func;
53095 #endif
53096 #ifdef __cplusplus
53097 }
53098 #endif
53099
53100 int
53101 main ()
53102 {
53103 return f != $ac_func;
53104   ;
53105   return 0;
53106 }
53107 _ACEOF
53108 rm -f conftest.$ac_objext conftest$ac_exeext
53109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53110   (eval $ac_link) 2>conftest.er1
53111   ac_status=$?
53112   grep -v '^ *+' conftest.er1 >conftest.err
53113   rm -f conftest.er1
53114   cat conftest.err >&5
53115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53116   (exit $ac_status); } &&
53117          { ac_try='test -z "$ac_c_werror_flag"
53118                          || test ! -s conftest.err'
53119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53120   (eval $ac_try) 2>&5
53121   ac_status=$?
53122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53123   (exit $ac_status); }; } &&
53124          { ac_try='test -s conftest$ac_exeext'
53125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53126   (eval $ac_try) 2>&5
53127   ac_status=$?
53128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53129   (exit $ac_status); }; }; then
53130   eval "$as_ac_var=yes"
53131 else
53132   echo "$as_me: failed program was:" >&5
53133 sed 's/^/| /' conftest.$ac_ext >&5
53134
53135 eval "$as_ac_var=no"
53136 fi
53137 rm -f conftest.err conftest.$ac_objext \
53138       conftest$ac_exeext conftest.$ac_ext
53139 fi
53140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53142 if test `eval echo '${'$as_ac_var'}'` = yes; then
53143   cat >>confdefs.h <<_ACEOF
53144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53145 _ACEOF
53146
53147 fi
53148 done
53149
53150   else
53151     echo "$as_me:$LINENO: checking for _long double round functions" >&5
53152 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53153     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53154   echo $ECHO_N "(cached) $ECHO_C" >&6
53155 else
53156
53157
53158
53159       ac_ext=cc
53160 ac_cpp='$CXXCPP $CPPFLAGS'
53161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53164
53165       cat >conftest.$ac_ext <<_ACEOF
53166 /* confdefs.h.  */
53167 _ACEOF
53168 cat confdefs.h >>conftest.$ac_ext
53169 cat >>conftest.$ac_ext <<_ACEOF
53170 /* end confdefs.h.  */
53171 #include <math.h>
53172 int
53173 main ()
53174 {
53175 _ceill (0); _floorl (0);
53176   ;
53177   return 0;
53178 }
53179 _ACEOF
53180 rm -f conftest.$ac_objext
53181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53182   (eval $ac_compile) 2>conftest.er1
53183   ac_status=$?
53184   grep -v '^ *+' conftest.er1 >conftest.err
53185   rm -f conftest.er1
53186   cat conftest.err >&5
53187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53188   (exit $ac_status); } &&
53189          { ac_try='test -z "$ac_cxx_werror_flag"
53190                          || test ! -s conftest.err'
53191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53192   (eval $ac_try) 2>&5
53193   ac_status=$?
53194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53195   (exit $ac_status); }; } &&
53196          { ac_try='test -s conftest.$ac_objext'
53197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53198   (eval $ac_try) 2>&5
53199   ac_status=$?
53200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53201   (exit $ac_status); }; }; then
53202   glibcxx_cv_func__long_double_round_use=yes
53203 else
53204   echo "$as_me: failed program was:" >&5
53205 sed 's/^/| /' conftest.$ac_ext >&5
53206
53207 glibcxx_cv_func__long_double_round_use=no
53208 fi
53209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53210       ac_ext=c
53211 ac_cpp='$CPP $CPPFLAGS'
53212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53215
53216 fi
53217
53218     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53219 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53220     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53221
53222
53223 for ac_func in _ceill _floorl
53224 do
53225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53226 echo "$as_me:$LINENO: checking for $ac_func" >&5
53227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53228 if eval "test \"\${$as_ac_var+set}\" = set"; then
53229   echo $ECHO_N "(cached) $ECHO_C" >&6
53230 else
53231   if test x$gcc_no_link = xyes; then
53232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53234    { (exit 1); exit 1; }; }
53235 fi
53236 cat >conftest.$ac_ext <<_ACEOF
53237 /* confdefs.h.  */
53238 _ACEOF
53239 cat confdefs.h >>conftest.$ac_ext
53240 cat >>conftest.$ac_ext <<_ACEOF
53241 /* end confdefs.h.  */
53242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53244 #define $ac_func innocuous_$ac_func
53245
53246 /* System header to define __stub macros and hopefully few prototypes,
53247     which can conflict with char $ac_func (); below.
53248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53249     <limits.h> exists even on freestanding compilers.  */
53250
53251 #ifdef __STDC__
53252 # include <limits.h>
53253 #else
53254 # include <assert.h>
53255 #endif
53256
53257 #undef $ac_func
53258
53259 /* Override any gcc2 internal prototype to avoid an error.  */
53260 #ifdef __cplusplus
53261 extern "C"
53262 {
53263 #endif
53264 /* We use char because int might match the return type of a gcc2
53265    builtin and then its argument prototype would still apply.  */
53266 char $ac_func ();
53267 /* The GNU C library defines this for functions which it implements
53268     to always fail with ENOSYS.  Some functions are actually named
53269     something starting with __ and the normal name is an alias.  */
53270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53271 choke me
53272 #else
53273 char (*f) () = $ac_func;
53274 #endif
53275 #ifdef __cplusplus
53276 }
53277 #endif
53278
53279 int
53280 main ()
53281 {
53282 return f != $ac_func;
53283   ;
53284   return 0;
53285 }
53286 _ACEOF
53287 rm -f conftest.$ac_objext conftest$ac_exeext
53288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53289   (eval $ac_link) 2>conftest.er1
53290   ac_status=$?
53291   grep -v '^ *+' conftest.er1 >conftest.err
53292   rm -f conftest.er1
53293   cat conftest.err >&5
53294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53295   (exit $ac_status); } &&
53296          { ac_try='test -z "$ac_c_werror_flag"
53297                          || test ! -s conftest.err'
53298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53299   (eval $ac_try) 2>&5
53300   ac_status=$?
53301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302   (exit $ac_status); }; } &&
53303          { ac_try='test -s conftest$ac_exeext'
53304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53305   (eval $ac_try) 2>&5
53306   ac_status=$?
53307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53308   (exit $ac_status); }; }; then
53309   eval "$as_ac_var=yes"
53310 else
53311   echo "$as_me: failed program was:" >&5
53312 sed 's/^/| /' conftest.$ac_ext >&5
53313
53314 eval "$as_ac_var=no"
53315 fi
53316 rm -f conftest.err conftest.$ac_objext \
53317       conftest$ac_exeext conftest.$ac_ext
53318 fi
53319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53321 if test `eval echo '${'$as_ac_var'}'` = yes; then
53322   cat >>confdefs.h <<_ACEOF
53323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53324 _ACEOF
53325
53326 fi
53327 done
53328
53329     fi
53330   fi
53331
53332
53333
53334
53335
53336
53337
53338
53339   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53340 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53341   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53342     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53343   echo $ECHO_N "(cached) $ECHO_C" >&6
53344 else
53345
53346
53347
53348       ac_ext=cc
53349 ac_cpp='$CXXCPP $CPPFLAGS'
53350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53353
53354       cat >conftest.$ac_ext <<_ACEOF
53355 /* confdefs.h.  */
53356 _ACEOF
53357 cat confdefs.h >>conftest.$ac_ext
53358 cat >>conftest.$ac_ext <<_ACEOF
53359 /* end confdefs.h.  */
53360 #include <math.h>
53361                       #ifdef HAVE_IEEEFP_H
53362                       #include <ieeefp.h>
53363                       #endif
53364
53365 int
53366 main ()
53367 {
53368  isnanl(0);
53369   ;
53370   return 0;
53371 }
53372 _ACEOF
53373 rm -f conftest.$ac_objext
53374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53375   (eval $ac_compile) 2>conftest.er1
53376   ac_status=$?
53377   grep -v '^ *+' conftest.er1 >conftest.err
53378   rm -f conftest.er1
53379   cat conftest.err >&5
53380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53381   (exit $ac_status); } &&
53382          { ac_try='test -z "$ac_cxx_werror_flag"
53383                          || test ! -s conftest.err'
53384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53385   (eval $ac_try) 2>&5
53386   ac_status=$?
53387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53388   (exit $ac_status); }; } &&
53389          { ac_try='test -s conftest.$ac_objext'
53390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53391   (eval $ac_try) 2>&5
53392   ac_status=$?
53393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394   (exit $ac_status); }; }; then
53395   glibcxx_cv_func_isnanl_use=yes
53396 else
53397   echo "$as_me: failed program was:" >&5
53398 sed 's/^/| /' conftest.$ac_ext >&5
53399
53400 glibcxx_cv_func_isnanl_use=no
53401 fi
53402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53403       ac_ext=c
53404 ac_cpp='$CPP $CPPFLAGS'
53405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53408
53409
53410 fi
53411
53412   fi
53413   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53414 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53415
53416   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53417
53418 for ac_func in isnanl
53419 do
53420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53421 echo "$as_me:$LINENO: checking for $ac_func" >&5
53422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53423 if eval "test \"\${$as_ac_var+set}\" = set"; then
53424   echo $ECHO_N "(cached) $ECHO_C" >&6
53425 else
53426   if test x$gcc_no_link = xyes; then
53427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53429    { (exit 1); exit 1; }; }
53430 fi
53431 cat >conftest.$ac_ext <<_ACEOF
53432 /* confdefs.h.  */
53433 _ACEOF
53434 cat confdefs.h >>conftest.$ac_ext
53435 cat >>conftest.$ac_ext <<_ACEOF
53436 /* end confdefs.h.  */
53437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53439 #define $ac_func innocuous_$ac_func
53440
53441 /* System header to define __stub macros and hopefully few prototypes,
53442     which can conflict with char $ac_func (); below.
53443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53444     <limits.h> exists even on freestanding compilers.  */
53445
53446 #ifdef __STDC__
53447 # include <limits.h>
53448 #else
53449 # include <assert.h>
53450 #endif
53451
53452 #undef $ac_func
53453
53454 /* Override any gcc2 internal prototype to avoid an error.  */
53455 #ifdef __cplusplus
53456 extern "C"
53457 {
53458 #endif
53459 /* We use char because int might match the return type of a gcc2
53460    builtin and then its argument prototype would still apply.  */
53461 char $ac_func ();
53462 /* The GNU C library defines this for functions which it implements
53463     to always fail with ENOSYS.  Some functions are actually named
53464     something starting with __ and the normal name is an alias.  */
53465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53466 choke me
53467 #else
53468 char (*f) () = $ac_func;
53469 #endif
53470 #ifdef __cplusplus
53471 }
53472 #endif
53473
53474 int
53475 main ()
53476 {
53477 return f != $ac_func;
53478   ;
53479   return 0;
53480 }
53481 _ACEOF
53482 rm -f conftest.$ac_objext conftest$ac_exeext
53483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53484   (eval $ac_link) 2>conftest.er1
53485   ac_status=$?
53486   grep -v '^ *+' conftest.er1 >conftest.err
53487   rm -f conftest.er1
53488   cat conftest.err >&5
53489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53490   (exit $ac_status); } &&
53491          { ac_try='test -z "$ac_c_werror_flag"
53492                          || test ! -s conftest.err'
53493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53494   (eval $ac_try) 2>&5
53495   ac_status=$?
53496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53497   (exit $ac_status); }; } &&
53498          { ac_try='test -s conftest$ac_exeext'
53499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53500   (eval $ac_try) 2>&5
53501   ac_status=$?
53502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53503   (exit $ac_status); }; }; then
53504   eval "$as_ac_var=yes"
53505 else
53506   echo "$as_me: failed program was:" >&5
53507 sed 's/^/| /' conftest.$ac_ext >&5
53508
53509 eval "$as_ac_var=no"
53510 fi
53511 rm -f conftest.err conftest.$ac_objext \
53512       conftest$ac_exeext conftest.$ac_ext
53513 fi
53514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53516 if test `eval echo '${'$as_ac_var'}'` = yes; then
53517   cat >>confdefs.h <<_ACEOF
53518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53519 _ACEOF
53520
53521 fi
53522 done
53523
53524   else
53525
53526   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53527 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53528   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53529     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53530   echo $ECHO_N "(cached) $ECHO_C" >&6
53531 else
53532
53533
53534
53535       ac_ext=cc
53536 ac_cpp='$CXXCPP $CPPFLAGS'
53537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53540
53541       cat >conftest.$ac_ext <<_ACEOF
53542 /* confdefs.h.  */
53543 _ACEOF
53544 cat confdefs.h >>conftest.$ac_ext
53545 cat >>conftest.$ac_ext <<_ACEOF
53546 /* end confdefs.h.  */
53547 #include <math.h>
53548                       #ifdef HAVE_IEEEFP_H
53549                       #include <ieeefp.h>
53550                       #endif
53551
53552 int
53553 main ()
53554 {
53555  _isnanl(0);
53556   ;
53557   return 0;
53558 }
53559 _ACEOF
53560 rm -f conftest.$ac_objext
53561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53562   (eval $ac_compile) 2>conftest.er1
53563   ac_status=$?
53564   grep -v '^ *+' conftest.er1 >conftest.err
53565   rm -f conftest.er1
53566   cat conftest.err >&5
53567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53568   (exit $ac_status); } &&
53569          { ac_try='test -z "$ac_cxx_werror_flag"
53570                          || test ! -s conftest.err'
53571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53572   (eval $ac_try) 2>&5
53573   ac_status=$?
53574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53575   (exit $ac_status); }; } &&
53576          { ac_try='test -s conftest.$ac_objext'
53577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53578   (eval $ac_try) 2>&5
53579   ac_status=$?
53580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581   (exit $ac_status); }; }; then
53582   glibcxx_cv_func__isnanl_use=yes
53583 else
53584   echo "$as_me: failed program was:" >&5
53585 sed 's/^/| /' conftest.$ac_ext >&5
53586
53587 glibcxx_cv_func__isnanl_use=no
53588 fi
53589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53590       ac_ext=c
53591 ac_cpp='$CPP $CPPFLAGS'
53592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53595
53596
53597 fi
53598
53599   fi
53600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53601 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53602
53603     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53604
53605 for ac_func in _isnanl
53606 do
53607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53608 echo "$as_me:$LINENO: checking for $ac_func" >&5
53609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53610 if eval "test \"\${$as_ac_var+set}\" = set"; then
53611   echo $ECHO_N "(cached) $ECHO_C" >&6
53612 else
53613   if test x$gcc_no_link = xyes; then
53614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53616    { (exit 1); exit 1; }; }
53617 fi
53618 cat >conftest.$ac_ext <<_ACEOF
53619 /* confdefs.h.  */
53620 _ACEOF
53621 cat confdefs.h >>conftest.$ac_ext
53622 cat >>conftest.$ac_ext <<_ACEOF
53623 /* end confdefs.h.  */
53624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53626 #define $ac_func innocuous_$ac_func
53627
53628 /* System header to define __stub macros and hopefully few prototypes,
53629     which can conflict with char $ac_func (); below.
53630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53631     <limits.h> exists even on freestanding compilers.  */
53632
53633 #ifdef __STDC__
53634 # include <limits.h>
53635 #else
53636 # include <assert.h>
53637 #endif
53638
53639 #undef $ac_func
53640
53641 /* Override any gcc2 internal prototype to avoid an error.  */
53642 #ifdef __cplusplus
53643 extern "C"
53644 {
53645 #endif
53646 /* We use char because int might match the return type of a gcc2
53647    builtin and then its argument prototype would still apply.  */
53648 char $ac_func ();
53649 /* The GNU C library defines this for functions which it implements
53650     to always fail with ENOSYS.  Some functions are actually named
53651     something starting with __ and the normal name is an alias.  */
53652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53653 choke me
53654 #else
53655 char (*f) () = $ac_func;
53656 #endif
53657 #ifdef __cplusplus
53658 }
53659 #endif
53660
53661 int
53662 main ()
53663 {
53664 return f != $ac_func;
53665   ;
53666   return 0;
53667 }
53668 _ACEOF
53669 rm -f conftest.$ac_objext conftest$ac_exeext
53670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53671   (eval $ac_link) 2>conftest.er1
53672   ac_status=$?
53673   grep -v '^ *+' conftest.er1 >conftest.err
53674   rm -f conftest.er1
53675   cat conftest.err >&5
53676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53677   (exit $ac_status); } &&
53678          { ac_try='test -z "$ac_c_werror_flag"
53679                          || test ! -s conftest.err'
53680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53681   (eval $ac_try) 2>&5
53682   ac_status=$?
53683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53684   (exit $ac_status); }; } &&
53685          { ac_try='test -s conftest$ac_exeext'
53686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53687   (eval $ac_try) 2>&5
53688   ac_status=$?
53689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53690   (exit $ac_status); }; }; then
53691   eval "$as_ac_var=yes"
53692 else
53693   echo "$as_me: failed program was:" >&5
53694 sed 's/^/| /' conftest.$ac_ext >&5
53695
53696 eval "$as_ac_var=no"
53697 fi
53698 rm -f conftest.err conftest.$ac_objext \
53699       conftest$ac_exeext conftest.$ac_ext
53700 fi
53701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53703 if test `eval echo '${'$as_ac_var'}'` = yes; then
53704   cat >>confdefs.h <<_ACEOF
53705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53706 _ACEOF
53707
53708 fi
53709 done
53710
53711     fi
53712   fi
53713
53714
53715
53716
53717
53718
53719   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53720 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53721   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53722     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53723   echo $ECHO_N "(cached) $ECHO_C" >&6
53724 else
53725
53726
53727
53728       ac_ext=cc
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734       cat >conftest.$ac_ext <<_ACEOF
53735 /* confdefs.h.  */
53736 _ACEOF
53737 cat confdefs.h >>conftest.$ac_ext
53738 cat >>conftest.$ac_ext <<_ACEOF
53739 /* end confdefs.h.  */
53740 #include <math.h>
53741                       #ifdef HAVE_IEEEFP_H
53742                       #include <ieeefp.h>
53743                       #endif
53744
53745 int
53746 main ()
53747 {
53748  isinfl(0);
53749   ;
53750   return 0;
53751 }
53752 _ACEOF
53753 rm -f conftest.$ac_objext
53754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53755   (eval $ac_compile) 2>conftest.er1
53756   ac_status=$?
53757   grep -v '^ *+' conftest.er1 >conftest.err
53758   rm -f conftest.er1
53759   cat conftest.err >&5
53760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761   (exit $ac_status); } &&
53762          { ac_try='test -z "$ac_cxx_werror_flag"
53763                          || test ! -s conftest.err'
53764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53765   (eval $ac_try) 2>&5
53766   ac_status=$?
53767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53768   (exit $ac_status); }; } &&
53769          { ac_try='test -s conftest.$ac_objext'
53770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53771   (eval $ac_try) 2>&5
53772   ac_status=$?
53773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774   (exit $ac_status); }; }; then
53775   glibcxx_cv_func_isinfl_use=yes
53776 else
53777   echo "$as_me: failed program was:" >&5
53778 sed 's/^/| /' conftest.$ac_ext >&5
53779
53780 glibcxx_cv_func_isinfl_use=no
53781 fi
53782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53783       ac_ext=c
53784 ac_cpp='$CPP $CPPFLAGS'
53785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53788
53789
53790 fi
53791
53792   fi
53793   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53794 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53795
53796   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53797
53798 for ac_func in isinfl
53799 do
53800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53801 echo "$as_me:$LINENO: checking for $ac_func" >&5
53802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53803 if eval "test \"\${$as_ac_var+set}\" = set"; then
53804   echo $ECHO_N "(cached) $ECHO_C" >&6
53805 else
53806   if test x$gcc_no_link = xyes; then
53807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53809    { (exit 1); exit 1; }; }
53810 fi
53811 cat >conftest.$ac_ext <<_ACEOF
53812 /* confdefs.h.  */
53813 _ACEOF
53814 cat confdefs.h >>conftest.$ac_ext
53815 cat >>conftest.$ac_ext <<_ACEOF
53816 /* end confdefs.h.  */
53817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53819 #define $ac_func innocuous_$ac_func
53820
53821 /* System header to define __stub macros and hopefully few prototypes,
53822     which can conflict with char $ac_func (); below.
53823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53824     <limits.h> exists even on freestanding compilers.  */
53825
53826 #ifdef __STDC__
53827 # include <limits.h>
53828 #else
53829 # include <assert.h>
53830 #endif
53831
53832 #undef $ac_func
53833
53834 /* Override any gcc2 internal prototype to avoid an error.  */
53835 #ifdef __cplusplus
53836 extern "C"
53837 {
53838 #endif
53839 /* We use char because int might match the return type of a gcc2
53840    builtin and then its argument prototype would still apply.  */
53841 char $ac_func ();
53842 /* The GNU C library defines this for functions which it implements
53843     to always fail with ENOSYS.  Some functions are actually named
53844     something starting with __ and the normal name is an alias.  */
53845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53846 choke me
53847 #else
53848 char (*f) () = $ac_func;
53849 #endif
53850 #ifdef __cplusplus
53851 }
53852 #endif
53853
53854 int
53855 main ()
53856 {
53857 return f != $ac_func;
53858   ;
53859   return 0;
53860 }
53861 _ACEOF
53862 rm -f conftest.$ac_objext conftest$ac_exeext
53863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53864   (eval $ac_link) 2>conftest.er1
53865   ac_status=$?
53866   grep -v '^ *+' conftest.er1 >conftest.err
53867   rm -f conftest.er1
53868   cat conftest.err >&5
53869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53870   (exit $ac_status); } &&
53871          { ac_try='test -z "$ac_c_werror_flag"
53872                          || test ! -s conftest.err'
53873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53874   (eval $ac_try) 2>&5
53875   ac_status=$?
53876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53877   (exit $ac_status); }; } &&
53878          { ac_try='test -s conftest$ac_exeext'
53879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53880   (eval $ac_try) 2>&5
53881   ac_status=$?
53882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53883   (exit $ac_status); }; }; then
53884   eval "$as_ac_var=yes"
53885 else
53886   echo "$as_me: failed program was:" >&5
53887 sed 's/^/| /' conftest.$ac_ext >&5
53888
53889 eval "$as_ac_var=no"
53890 fi
53891 rm -f conftest.err conftest.$ac_objext \
53892       conftest$ac_exeext conftest.$ac_ext
53893 fi
53894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53896 if test `eval echo '${'$as_ac_var'}'` = yes; then
53897   cat >>confdefs.h <<_ACEOF
53898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53899 _ACEOF
53900
53901 fi
53902 done
53903
53904   else
53905
53906   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53907 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53908   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53909     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53910   echo $ECHO_N "(cached) $ECHO_C" >&6
53911 else
53912
53913
53914
53915       ac_ext=cc
53916 ac_cpp='$CXXCPP $CPPFLAGS'
53917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53920
53921       cat >conftest.$ac_ext <<_ACEOF
53922 /* confdefs.h.  */
53923 _ACEOF
53924 cat confdefs.h >>conftest.$ac_ext
53925 cat >>conftest.$ac_ext <<_ACEOF
53926 /* end confdefs.h.  */
53927 #include <math.h>
53928                       #ifdef HAVE_IEEEFP_H
53929                       #include <ieeefp.h>
53930                       #endif
53931
53932 int
53933 main ()
53934 {
53935  _isinfl(0);
53936   ;
53937   return 0;
53938 }
53939 _ACEOF
53940 rm -f conftest.$ac_objext
53941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53942   (eval $ac_compile) 2>conftest.er1
53943   ac_status=$?
53944   grep -v '^ *+' conftest.er1 >conftest.err
53945   rm -f conftest.er1
53946   cat conftest.err >&5
53947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53948   (exit $ac_status); } &&
53949          { ac_try='test -z "$ac_cxx_werror_flag"
53950                          || test ! -s conftest.err'
53951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53952   (eval $ac_try) 2>&5
53953   ac_status=$?
53954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53955   (exit $ac_status); }; } &&
53956          { ac_try='test -s conftest.$ac_objext'
53957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53958   (eval $ac_try) 2>&5
53959   ac_status=$?
53960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53961   (exit $ac_status); }; }; then
53962   glibcxx_cv_func__isinfl_use=yes
53963 else
53964   echo "$as_me: failed program was:" >&5
53965 sed 's/^/| /' conftest.$ac_ext >&5
53966
53967 glibcxx_cv_func__isinfl_use=no
53968 fi
53969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53970       ac_ext=c
53971 ac_cpp='$CPP $CPPFLAGS'
53972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53975
53976
53977 fi
53978
53979   fi
53980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53981 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53982
53983     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53984
53985 for ac_func in _isinfl
53986 do
53987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53988 echo "$as_me:$LINENO: checking for $ac_func" >&5
53989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53990 if eval "test \"\${$as_ac_var+set}\" = set"; then
53991   echo $ECHO_N "(cached) $ECHO_C" >&6
53992 else
53993   if test x$gcc_no_link = xyes; then
53994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53996    { (exit 1); exit 1; }; }
53997 fi
53998 cat >conftest.$ac_ext <<_ACEOF
53999 /* confdefs.h.  */
54000 _ACEOF
54001 cat confdefs.h >>conftest.$ac_ext
54002 cat >>conftest.$ac_ext <<_ACEOF
54003 /* end confdefs.h.  */
54004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54006 #define $ac_func innocuous_$ac_func
54007
54008 /* System header to define __stub macros and hopefully few prototypes,
54009     which can conflict with char $ac_func (); below.
54010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54011     <limits.h> exists even on freestanding compilers.  */
54012
54013 #ifdef __STDC__
54014 # include <limits.h>
54015 #else
54016 # include <assert.h>
54017 #endif
54018
54019 #undef $ac_func
54020
54021 /* Override any gcc2 internal prototype to avoid an error.  */
54022 #ifdef __cplusplus
54023 extern "C"
54024 {
54025 #endif
54026 /* We use char because int might match the return type of a gcc2
54027    builtin and then its argument prototype would still apply.  */
54028 char $ac_func ();
54029 /* The GNU C library defines this for functions which it implements
54030     to always fail with ENOSYS.  Some functions are actually named
54031     something starting with __ and the normal name is an alias.  */
54032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54033 choke me
54034 #else
54035 char (*f) () = $ac_func;
54036 #endif
54037 #ifdef __cplusplus
54038 }
54039 #endif
54040
54041 int
54042 main ()
54043 {
54044 return f != $ac_func;
54045   ;
54046   return 0;
54047 }
54048 _ACEOF
54049 rm -f conftest.$ac_objext conftest$ac_exeext
54050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54051   (eval $ac_link) 2>conftest.er1
54052   ac_status=$?
54053   grep -v '^ *+' conftest.er1 >conftest.err
54054   rm -f conftest.er1
54055   cat conftest.err >&5
54056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54057   (exit $ac_status); } &&
54058          { ac_try='test -z "$ac_c_werror_flag"
54059                          || test ! -s conftest.err'
54060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54061   (eval $ac_try) 2>&5
54062   ac_status=$?
54063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54064   (exit $ac_status); }; } &&
54065          { ac_try='test -s conftest$ac_exeext'
54066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54067   (eval $ac_try) 2>&5
54068   ac_status=$?
54069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54070   (exit $ac_status); }; }; then
54071   eval "$as_ac_var=yes"
54072 else
54073   echo "$as_me: failed program was:" >&5
54074 sed 's/^/| /' conftest.$ac_ext >&5
54075
54076 eval "$as_ac_var=no"
54077 fi
54078 rm -f conftest.err conftest.$ac_objext \
54079       conftest$ac_exeext conftest.$ac_ext
54080 fi
54081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54083 if test `eval echo '${'$as_ac_var'}'` = yes; then
54084   cat >>confdefs.h <<_ACEOF
54085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54086 _ACEOF
54087
54088 fi
54089 done
54090
54091     fi
54092   fi
54093
54094
54095
54096
54097
54098
54099   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54100 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54101   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54102     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54103   echo $ECHO_N "(cached) $ECHO_C" >&6
54104 else
54105
54106
54107
54108       ac_ext=cc
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54113
54114       cat >conftest.$ac_ext <<_ACEOF
54115 /* confdefs.h.  */
54116 _ACEOF
54117 cat confdefs.h >>conftest.$ac_ext
54118 cat >>conftest.$ac_ext <<_ACEOF
54119 /* end confdefs.h.  */
54120 #include <math.h>
54121 int
54122 main ()
54123 {
54124  copysignl(0, 0);
54125   ;
54126   return 0;
54127 }
54128 _ACEOF
54129 rm -f conftest.$ac_objext
54130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54131   (eval $ac_compile) 2>conftest.er1
54132   ac_status=$?
54133   grep -v '^ *+' conftest.er1 >conftest.err
54134   rm -f conftest.er1
54135   cat conftest.err >&5
54136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54137   (exit $ac_status); } &&
54138          { ac_try='test -z "$ac_cxx_werror_flag"
54139                          || test ! -s conftest.err'
54140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54141   (eval $ac_try) 2>&5
54142   ac_status=$?
54143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54144   (exit $ac_status); }; } &&
54145          { ac_try='test -s conftest.$ac_objext'
54146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54147   (eval $ac_try) 2>&5
54148   ac_status=$?
54149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54150   (exit $ac_status); }; }; then
54151   glibcxx_cv_func_copysignl_use=yes
54152 else
54153   echo "$as_me: failed program was:" >&5
54154 sed 's/^/| /' conftest.$ac_ext >&5
54155
54156 glibcxx_cv_func_copysignl_use=no
54157 fi
54158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54159       ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54164
54165
54166 fi
54167
54168   fi
54169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54170 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54171
54172   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54173
54174 for ac_func in copysignl
54175 do
54176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54177 echo "$as_me:$LINENO: checking for $ac_func" >&5
54178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54179 if eval "test \"\${$as_ac_var+set}\" = set"; then
54180   echo $ECHO_N "(cached) $ECHO_C" >&6
54181 else
54182   if test x$gcc_no_link = xyes; then
54183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54185    { (exit 1); exit 1; }; }
54186 fi
54187 cat >conftest.$ac_ext <<_ACEOF
54188 /* confdefs.h.  */
54189 _ACEOF
54190 cat confdefs.h >>conftest.$ac_ext
54191 cat >>conftest.$ac_ext <<_ACEOF
54192 /* end confdefs.h.  */
54193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54195 #define $ac_func innocuous_$ac_func
54196
54197 /* System header to define __stub macros and hopefully few prototypes,
54198     which can conflict with char $ac_func (); below.
54199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54200     <limits.h> exists even on freestanding compilers.  */
54201
54202 #ifdef __STDC__
54203 # include <limits.h>
54204 #else
54205 # include <assert.h>
54206 #endif
54207
54208 #undef $ac_func
54209
54210 /* Override any gcc2 internal prototype to avoid an error.  */
54211 #ifdef __cplusplus
54212 extern "C"
54213 {
54214 #endif
54215 /* We use char because int might match the return type of a gcc2
54216    builtin and then its argument prototype would still apply.  */
54217 char $ac_func ();
54218 /* The GNU C library defines this for functions which it implements
54219     to always fail with ENOSYS.  Some functions are actually named
54220     something starting with __ and the normal name is an alias.  */
54221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54222 choke me
54223 #else
54224 char (*f) () = $ac_func;
54225 #endif
54226 #ifdef __cplusplus
54227 }
54228 #endif
54229
54230 int
54231 main ()
54232 {
54233 return f != $ac_func;
54234   ;
54235   return 0;
54236 }
54237 _ACEOF
54238 rm -f conftest.$ac_objext conftest$ac_exeext
54239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54240   (eval $ac_link) 2>conftest.er1
54241   ac_status=$?
54242   grep -v '^ *+' conftest.er1 >conftest.err
54243   rm -f conftest.er1
54244   cat conftest.err >&5
54245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54246   (exit $ac_status); } &&
54247          { ac_try='test -z "$ac_c_werror_flag"
54248                          || test ! -s conftest.err'
54249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54250   (eval $ac_try) 2>&5
54251   ac_status=$?
54252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54253   (exit $ac_status); }; } &&
54254          { ac_try='test -s conftest$ac_exeext'
54255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54256   (eval $ac_try) 2>&5
54257   ac_status=$?
54258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54259   (exit $ac_status); }; }; then
54260   eval "$as_ac_var=yes"
54261 else
54262   echo "$as_me: failed program was:" >&5
54263 sed 's/^/| /' conftest.$ac_ext >&5
54264
54265 eval "$as_ac_var=no"
54266 fi
54267 rm -f conftest.err conftest.$ac_objext \
54268       conftest$ac_exeext conftest.$ac_ext
54269 fi
54270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54272 if test `eval echo '${'$as_ac_var'}'` = yes; then
54273   cat >>confdefs.h <<_ACEOF
54274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54275 _ACEOF
54276
54277 fi
54278 done
54279
54280   else
54281
54282   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54283 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54284   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54285     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54286   echo $ECHO_N "(cached) $ECHO_C" >&6
54287 else
54288
54289
54290
54291       ac_ext=cc
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296
54297       cat >conftest.$ac_ext <<_ACEOF
54298 /* confdefs.h.  */
54299 _ACEOF
54300 cat confdefs.h >>conftest.$ac_ext
54301 cat >>conftest.$ac_ext <<_ACEOF
54302 /* end confdefs.h.  */
54303 #include <math.h>
54304 int
54305 main ()
54306 {
54307  _copysignl(0, 0);
54308   ;
54309   return 0;
54310 }
54311 _ACEOF
54312 rm -f conftest.$ac_objext
54313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54314   (eval $ac_compile) 2>conftest.er1
54315   ac_status=$?
54316   grep -v '^ *+' conftest.er1 >conftest.err
54317   rm -f conftest.er1
54318   cat conftest.err >&5
54319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320   (exit $ac_status); } &&
54321          { ac_try='test -z "$ac_cxx_werror_flag"
54322                          || test ! -s conftest.err'
54323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54324   (eval $ac_try) 2>&5
54325   ac_status=$?
54326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54327   (exit $ac_status); }; } &&
54328          { ac_try='test -s conftest.$ac_objext'
54329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54330   (eval $ac_try) 2>&5
54331   ac_status=$?
54332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54333   (exit $ac_status); }; }; then
54334   glibcxx_cv_func__copysignl_use=yes
54335 else
54336   echo "$as_me: failed program was:" >&5
54337 sed 's/^/| /' conftest.$ac_ext >&5
54338
54339 glibcxx_cv_func__copysignl_use=no
54340 fi
54341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54342       ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347
54348
54349 fi
54350
54351   fi
54352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
54353 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
54354
54355     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
54356
54357 for ac_func in _copysignl
54358 do
54359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54360 echo "$as_me:$LINENO: checking for $ac_func" >&5
54361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54362 if eval "test \"\${$as_ac_var+set}\" = set"; then
54363   echo $ECHO_N "(cached) $ECHO_C" >&6
54364 else
54365   if test x$gcc_no_link = xyes; then
54366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54368    { (exit 1); exit 1; }; }
54369 fi
54370 cat >conftest.$ac_ext <<_ACEOF
54371 /* confdefs.h.  */
54372 _ACEOF
54373 cat confdefs.h >>conftest.$ac_ext
54374 cat >>conftest.$ac_ext <<_ACEOF
54375 /* end confdefs.h.  */
54376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54378 #define $ac_func innocuous_$ac_func
54379
54380 /* System header to define __stub macros and hopefully few prototypes,
54381     which can conflict with char $ac_func (); below.
54382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54383     <limits.h> exists even on freestanding compilers.  */
54384
54385 #ifdef __STDC__
54386 # include <limits.h>
54387 #else
54388 # include <assert.h>
54389 #endif
54390
54391 #undef $ac_func
54392
54393 /* Override any gcc2 internal prototype to avoid an error.  */
54394 #ifdef __cplusplus
54395 extern "C"
54396 {
54397 #endif
54398 /* We use char because int might match the return type of a gcc2
54399    builtin and then its argument prototype would still apply.  */
54400 char $ac_func ();
54401 /* The GNU C library defines this for functions which it implements
54402     to always fail with ENOSYS.  Some functions are actually named
54403     something starting with __ and the normal name is an alias.  */
54404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54405 choke me
54406 #else
54407 char (*f) () = $ac_func;
54408 #endif
54409 #ifdef __cplusplus
54410 }
54411 #endif
54412
54413 int
54414 main ()
54415 {
54416 return f != $ac_func;
54417   ;
54418   return 0;
54419 }
54420 _ACEOF
54421 rm -f conftest.$ac_objext conftest$ac_exeext
54422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54423   (eval $ac_link) 2>conftest.er1
54424   ac_status=$?
54425   grep -v '^ *+' conftest.er1 >conftest.err
54426   rm -f conftest.er1
54427   cat conftest.err >&5
54428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54429   (exit $ac_status); } &&
54430          { ac_try='test -z "$ac_c_werror_flag"
54431                          || test ! -s conftest.err'
54432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54433   (eval $ac_try) 2>&5
54434   ac_status=$?
54435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54436   (exit $ac_status); }; } &&
54437          { ac_try='test -s conftest$ac_exeext'
54438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54439   (eval $ac_try) 2>&5
54440   ac_status=$?
54441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54442   (exit $ac_status); }; }; then
54443   eval "$as_ac_var=yes"
54444 else
54445   echo "$as_me: failed program was:" >&5
54446 sed 's/^/| /' conftest.$ac_ext >&5
54447
54448 eval "$as_ac_var=no"
54449 fi
54450 rm -f conftest.err conftest.$ac_objext \
54451       conftest$ac_exeext conftest.$ac_ext
54452 fi
54453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54455 if test `eval echo '${'$as_ac_var'}'` = yes; then
54456   cat >>confdefs.h <<_ACEOF
54457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54458 _ACEOF
54459
54460 fi
54461 done
54462
54463     fi
54464   fi
54465
54466
54467
54468
54469
54470
54471   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
54472 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
54473   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54474     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
54475   echo $ECHO_N "(cached) $ECHO_C" >&6
54476 else
54477
54478
54479
54480       ac_ext=cc
54481 ac_cpp='$CXXCPP $CPPFLAGS'
54482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54485
54486       cat >conftest.$ac_ext <<_ACEOF
54487 /* confdefs.h.  */
54488 _ACEOF
54489 cat confdefs.h >>conftest.$ac_ext
54490 cat >>conftest.$ac_ext <<_ACEOF
54491 /* end confdefs.h.  */
54492 #include <math.h>
54493 int
54494 main ()
54495 {
54496  atan2l(0, 0);
54497   ;
54498   return 0;
54499 }
54500 _ACEOF
54501 rm -f conftest.$ac_objext
54502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54503   (eval $ac_compile) 2>conftest.er1
54504   ac_status=$?
54505   grep -v '^ *+' conftest.er1 >conftest.err
54506   rm -f conftest.er1
54507   cat conftest.err >&5
54508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509   (exit $ac_status); } &&
54510          { ac_try='test -z "$ac_cxx_werror_flag"
54511                          || test ! -s conftest.err'
54512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54513   (eval $ac_try) 2>&5
54514   ac_status=$?
54515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54516   (exit $ac_status); }; } &&
54517          { ac_try='test -s conftest.$ac_objext'
54518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54519   (eval $ac_try) 2>&5
54520   ac_status=$?
54521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54522   (exit $ac_status); }; }; then
54523   glibcxx_cv_func_atan2l_use=yes
54524 else
54525   echo "$as_me: failed program was:" >&5
54526 sed 's/^/| /' conftest.$ac_ext >&5
54527
54528 glibcxx_cv_func_atan2l_use=no
54529 fi
54530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54531       ac_ext=c
54532 ac_cpp='$CPP $CPPFLAGS'
54533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54536
54537
54538 fi
54539
54540   fi
54541   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
54542 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
54543
54544   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54545
54546 for ac_func in atan2l
54547 do
54548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54549 echo "$as_me:$LINENO: checking for $ac_func" >&5
54550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54551 if eval "test \"\${$as_ac_var+set}\" = set"; then
54552   echo $ECHO_N "(cached) $ECHO_C" >&6
54553 else
54554   if test x$gcc_no_link = xyes; then
54555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54557    { (exit 1); exit 1; }; }
54558 fi
54559 cat >conftest.$ac_ext <<_ACEOF
54560 /* confdefs.h.  */
54561 _ACEOF
54562 cat confdefs.h >>conftest.$ac_ext
54563 cat >>conftest.$ac_ext <<_ACEOF
54564 /* end confdefs.h.  */
54565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54567 #define $ac_func innocuous_$ac_func
54568
54569 /* System header to define __stub macros and hopefully few prototypes,
54570     which can conflict with char $ac_func (); below.
54571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54572     <limits.h> exists even on freestanding compilers.  */
54573
54574 #ifdef __STDC__
54575 # include <limits.h>
54576 #else
54577 # include <assert.h>
54578 #endif
54579
54580 #undef $ac_func
54581
54582 /* Override any gcc2 internal prototype to avoid an error.  */
54583 #ifdef __cplusplus
54584 extern "C"
54585 {
54586 #endif
54587 /* We use char because int might match the return type of a gcc2
54588    builtin and then its argument prototype would still apply.  */
54589 char $ac_func ();
54590 /* The GNU C library defines this for functions which it implements
54591     to always fail with ENOSYS.  Some functions are actually named
54592     something starting with __ and the normal name is an alias.  */
54593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54594 choke me
54595 #else
54596 char (*f) () = $ac_func;
54597 #endif
54598 #ifdef __cplusplus
54599 }
54600 #endif
54601
54602 int
54603 main ()
54604 {
54605 return f != $ac_func;
54606   ;
54607   return 0;
54608 }
54609 _ACEOF
54610 rm -f conftest.$ac_objext conftest$ac_exeext
54611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54612   (eval $ac_link) 2>conftest.er1
54613   ac_status=$?
54614   grep -v '^ *+' conftest.er1 >conftest.err
54615   rm -f conftest.er1
54616   cat conftest.err >&5
54617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54618   (exit $ac_status); } &&
54619          { ac_try='test -z "$ac_c_werror_flag"
54620                          || test ! -s conftest.err'
54621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54622   (eval $ac_try) 2>&5
54623   ac_status=$?
54624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54625   (exit $ac_status); }; } &&
54626          { ac_try='test -s conftest$ac_exeext'
54627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54628   (eval $ac_try) 2>&5
54629   ac_status=$?
54630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54631   (exit $ac_status); }; }; then
54632   eval "$as_ac_var=yes"
54633 else
54634   echo "$as_me: failed program was:" >&5
54635 sed 's/^/| /' conftest.$ac_ext >&5
54636
54637 eval "$as_ac_var=no"
54638 fi
54639 rm -f conftest.err conftest.$ac_objext \
54640       conftest$ac_exeext conftest.$ac_ext
54641 fi
54642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54644 if test `eval echo '${'$as_ac_var'}'` = yes; then
54645   cat >>confdefs.h <<_ACEOF
54646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54647 _ACEOF
54648
54649 fi
54650 done
54651
54652   else
54653
54654   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54655 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54656   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54657     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54658   echo $ECHO_N "(cached) $ECHO_C" >&6
54659 else
54660
54661
54662
54663       ac_ext=cc
54664 ac_cpp='$CXXCPP $CPPFLAGS'
54665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668
54669       cat >conftest.$ac_ext <<_ACEOF
54670 /* confdefs.h.  */
54671 _ACEOF
54672 cat confdefs.h >>conftest.$ac_ext
54673 cat >>conftest.$ac_ext <<_ACEOF
54674 /* end confdefs.h.  */
54675 #include <math.h>
54676 int
54677 main ()
54678 {
54679  _atan2l(0, 0);
54680   ;
54681   return 0;
54682 }
54683 _ACEOF
54684 rm -f conftest.$ac_objext
54685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54686   (eval $ac_compile) 2>conftest.er1
54687   ac_status=$?
54688   grep -v '^ *+' conftest.er1 >conftest.err
54689   rm -f conftest.er1
54690   cat conftest.err >&5
54691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54692   (exit $ac_status); } &&
54693          { ac_try='test -z "$ac_cxx_werror_flag"
54694                          || test ! -s conftest.err'
54695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54696   (eval $ac_try) 2>&5
54697   ac_status=$?
54698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54699   (exit $ac_status); }; } &&
54700          { ac_try='test -s conftest.$ac_objext'
54701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54702   (eval $ac_try) 2>&5
54703   ac_status=$?
54704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54705   (exit $ac_status); }; }; then
54706   glibcxx_cv_func__atan2l_use=yes
54707 else
54708   echo "$as_me: failed program was:" >&5
54709 sed 's/^/| /' conftest.$ac_ext >&5
54710
54711 glibcxx_cv_func__atan2l_use=no
54712 fi
54713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54714       ac_ext=c
54715 ac_cpp='$CPP $CPPFLAGS'
54716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54719
54720
54721 fi
54722
54723   fi
54724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54725 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54726
54727     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54728
54729 for ac_func in _atan2l
54730 do
54731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54732 echo "$as_me:$LINENO: checking for $ac_func" >&5
54733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54734 if eval "test \"\${$as_ac_var+set}\" = set"; then
54735   echo $ECHO_N "(cached) $ECHO_C" >&6
54736 else
54737   if test x$gcc_no_link = xyes; then
54738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54740    { (exit 1); exit 1; }; }
54741 fi
54742 cat >conftest.$ac_ext <<_ACEOF
54743 /* confdefs.h.  */
54744 _ACEOF
54745 cat confdefs.h >>conftest.$ac_ext
54746 cat >>conftest.$ac_ext <<_ACEOF
54747 /* end confdefs.h.  */
54748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54750 #define $ac_func innocuous_$ac_func
54751
54752 /* System header to define __stub macros and hopefully few prototypes,
54753     which can conflict with char $ac_func (); below.
54754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54755     <limits.h> exists even on freestanding compilers.  */
54756
54757 #ifdef __STDC__
54758 # include <limits.h>
54759 #else
54760 # include <assert.h>
54761 #endif
54762
54763 #undef $ac_func
54764
54765 /* Override any gcc2 internal prototype to avoid an error.  */
54766 #ifdef __cplusplus
54767 extern "C"
54768 {
54769 #endif
54770 /* We use char because int might match the return type of a gcc2
54771    builtin and then its argument prototype would still apply.  */
54772 char $ac_func ();
54773 /* The GNU C library defines this for functions which it implements
54774     to always fail with ENOSYS.  Some functions are actually named
54775     something starting with __ and the normal name is an alias.  */
54776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54777 choke me
54778 #else
54779 char (*f) () = $ac_func;
54780 #endif
54781 #ifdef __cplusplus
54782 }
54783 #endif
54784
54785 int
54786 main ()
54787 {
54788 return f != $ac_func;
54789   ;
54790   return 0;
54791 }
54792 _ACEOF
54793 rm -f conftest.$ac_objext conftest$ac_exeext
54794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54795   (eval $ac_link) 2>conftest.er1
54796   ac_status=$?
54797   grep -v '^ *+' conftest.er1 >conftest.err
54798   rm -f conftest.er1
54799   cat conftest.err >&5
54800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54801   (exit $ac_status); } &&
54802          { ac_try='test -z "$ac_c_werror_flag"
54803                          || test ! -s conftest.err'
54804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54805   (eval $ac_try) 2>&5
54806   ac_status=$?
54807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54808   (exit $ac_status); }; } &&
54809          { ac_try='test -s conftest$ac_exeext'
54810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54811   (eval $ac_try) 2>&5
54812   ac_status=$?
54813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814   (exit $ac_status); }; }; then
54815   eval "$as_ac_var=yes"
54816 else
54817   echo "$as_me: failed program was:" >&5
54818 sed 's/^/| /' conftest.$ac_ext >&5
54819
54820 eval "$as_ac_var=no"
54821 fi
54822 rm -f conftest.err conftest.$ac_objext \
54823       conftest$ac_exeext conftest.$ac_ext
54824 fi
54825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54827 if test `eval echo '${'$as_ac_var'}'` = yes; then
54828   cat >>confdefs.h <<_ACEOF
54829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54830 _ACEOF
54831
54832 fi
54833 done
54834
54835     fi
54836   fi
54837
54838
54839
54840
54841
54842
54843   echo "$as_me:$LINENO: checking for expl declaration" >&5
54844 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54845   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54846     if test "${glibcxx_cv_func_expl_use+set}" = set; then
54847   echo $ECHO_N "(cached) $ECHO_C" >&6
54848 else
54849
54850
54851
54852       ac_ext=cc
54853 ac_cpp='$CXXCPP $CPPFLAGS'
54854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54857
54858       cat >conftest.$ac_ext <<_ACEOF
54859 /* confdefs.h.  */
54860 _ACEOF
54861 cat confdefs.h >>conftest.$ac_ext
54862 cat >>conftest.$ac_ext <<_ACEOF
54863 /* end confdefs.h.  */
54864 #include <math.h>
54865                       #ifdef HAVE_IEEEFP_H
54866                       #include <ieeefp.h>
54867                       #endif
54868
54869 int
54870 main ()
54871 {
54872  expl(0);
54873   ;
54874   return 0;
54875 }
54876 _ACEOF
54877 rm -f conftest.$ac_objext
54878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54879   (eval $ac_compile) 2>conftest.er1
54880   ac_status=$?
54881   grep -v '^ *+' conftest.er1 >conftest.err
54882   rm -f conftest.er1
54883   cat conftest.err >&5
54884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54885   (exit $ac_status); } &&
54886          { ac_try='test -z "$ac_cxx_werror_flag"
54887                          || test ! -s conftest.err'
54888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54889   (eval $ac_try) 2>&5
54890   ac_status=$?
54891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54892   (exit $ac_status); }; } &&
54893          { ac_try='test -s conftest.$ac_objext'
54894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54895   (eval $ac_try) 2>&5
54896   ac_status=$?
54897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54898   (exit $ac_status); }; }; then
54899   glibcxx_cv_func_expl_use=yes
54900 else
54901   echo "$as_me: failed program was:" >&5
54902 sed 's/^/| /' conftest.$ac_ext >&5
54903
54904 glibcxx_cv_func_expl_use=no
54905 fi
54906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54907       ac_ext=c
54908 ac_cpp='$CPP $CPPFLAGS'
54909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54912
54913
54914 fi
54915
54916   fi
54917   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54918 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54919
54920   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54921
54922 for ac_func in expl
54923 do
54924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54925 echo "$as_me:$LINENO: checking for $ac_func" >&5
54926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54927 if eval "test \"\${$as_ac_var+set}\" = set"; then
54928   echo $ECHO_N "(cached) $ECHO_C" >&6
54929 else
54930   if test x$gcc_no_link = xyes; then
54931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54933    { (exit 1); exit 1; }; }
54934 fi
54935 cat >conftest.$ac_ext <<_ACEOF
54936 /* confdefs.h.  */
54937 _ACEOF
54938 cat confdefs.h >>conftest.$ac_ext
54939 cat >>conftest.$ac_ext <<_ACEOF
54940 /* end confdefs.h.  */
54941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54943 #define $ac_func innocuous_$ac_func
54944
54945 /* System header to define __stub macros and hopefully few prototypes,
54946     which can conflict with char $ac_func (); below.
54947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54948     <limits.h> exists even on freestanding compilers.  */
54949
54950 #ifdef __STDC__
54951 # include <limits.h>
54952 #else
54953 # include <assert.h>
54954 #endif
54955
54956 #undef $ac_func
54957
54958 /* Override any gcc2 internal prototype to avoid an error.  */
54959 #ifdef __cplusplus
54960 extern "C"
54961 {
54962 #endif
54963 /* We use char because int might match the return type of a gcc2
54964    builtin and then its argument prototype would still apply.  */
54965 char $ac_func ();
54966 /* The GNU C library defines this for functions which it implements
54967     to always fail with ENOSYS.  Some functions are actually named
54968     something starting with __ and the normal name is an alias.  */
54969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54970 choke me
54971 #else
54972 char (*f) () = $ac_func;
54973 #endif
54974 #ifdef __cplusplus
54975 }
54976 #endif
54977
54978 int
54979 main ()
54980 {
54981 return f != $ac_func;
54982   ;
54983   return 0;
54984 }
54985 _ACEOF
54986 rm -f conftest.$ac_objext conftest$ac_exeext
54987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54988   (eval $ac_link) 2>conftest.er1
54989   ac_status=$?
54990   grep -v '^ *+' conftest.er1 >conftest.err
54991   rm -f conftest.er1
54992   cat conftest.err >&5
54993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54994   (exit $ac_status); } &&
54995          { ac_try='test -z "$ac_c_werror_flag"
54996                          || test ! -s conftest.err'
54997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54998   (eval $ac_try) 2>&5
54999   ac_status=$?
55000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55001   (exit $ac_status); }; } &&
55002          { ac_try='test -s conftest$ac_exeext'
55003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55004   (eval $ac_try) 2>&5
55005   ac_status=$?
55006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55007   (exit $ac_status); }; }; then
55008   eval "$as_ac_var=yes"
55009 else
55010   echo "$as_me: failed program was:" >&5
55011 sed 's/^/| /' conftest.$ac_ext >&5
55012
55013 eval "$as_ac_var=no"
55014 fi
55015 rm -f conftest.err conftest.$ac_objext \
55016       conftest$ac_exeext conftest.$ac_ext
55017 fi
55018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55020 if test `eval echo '${'$as_ac_var'}'` = yes; then
55021   cat >>confdefs.h <<_ACEOF
55022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55023 _ACEOF
55024
55025 fi
55026 done
55027
55028   else
55029
55030   echo "$as_me:$LINENO: checking for _expl declaration" >&5
55031 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55032   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55033     if test "${glibcxx_cv_func__expl_use+set}" = set; then
55034   echo $ECHO_N "(cached) $ECHO_C" >&6
55035 else
55036
55037
55038
55039       ac_ext=cc
55040 ac_cpp='$CXXCPP $CPPFLAGS'
55041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55044
55045       cat >conftest.$ac_ext <<_ACEOF
55046 /* confdefs.h.  */
55047 _ACEOF
55048 cat confdefs.h >>conftest.$ac_ext
55049 cat >>conftest.$ac_ext <<_ACEOF
55050 /* end confdefs.h.  */
55051 #include <math.h>
55052                       #ifdef HAVE_IEEEFP_H
55053                       #include <ieeefp.h>
55054                       #endif
55055
55056 int
55057 main ()
55058 {
55059  _expl(0);
55060   ;
55061   return 0;
55062 }
55063 _ACEOF
55064 rm -f conftest.$ac_objext
55065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55066   (eval $ac_compile) 2>conftest.er1
55067   ac_status=$?
55068   grep -v '^ *+' conftest.er1 >conftest.err
55069   rm -f conftest.er1
55070   cat conftest.err >&5
55071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55072   (exit $ac_status); } &&
55073          { ac_try='test -z "$ac_cxx_werror_flag"
55074                          || test ! -s conftest.err'
55075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55076   (eval $ac_try) 2>&5
55077   ac_status=$?
55078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55079   (exit $ac_status); }; } &&
55080          { ac_try='test -s conftest.$ac_objext'
55081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55082   (eval $ac_try) 2>&5
55083   ac_status=$?
55084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085   (exit $ac_status); }; }; then
55086   glibcxx_cv_func__expl_use=yes
55087 else
55088   echo "$as_me: failed program was:" >&5
55089 sed 's/^/| /' conftest.$ac_ext >&5
55090
55091 glibcxx_cv_func__expl_use=no
55092 fi
55093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55094       ac_ext=c
55095 ac_cpp='$CPP $CPPFLAGS'
55096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55099
55100
55101 fi
55102
55103   fi
55104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55105 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55106
55107     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55108
55109 for ac_func in _expl
55110 do
55111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55112 echo "$as_me:$LINENO: checking for $ac_func" >&5
55113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55114 if eval "test \"\${$as_ac_var+set}\" = set"; then
55115   echo $ECHO_N "(cached) $ECHO_C" >&6
55116 else
55117   if test x$gcc_no_link = xyes; then
55118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55120    { (exit 1); exit 1; }; }
55121 fi
55122 cat >conftest.$ac_ext <<_ACEOF
55123 /* confdefs.h.  */
55124 _ACEOF
55125 cat confdefs.h >>conftest.$ac_ext
55126 cat >>conftest.$ac_ext <<_ACEOF
55127 /* end confdefs.h.  */
55128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55130 #define $ac_func innocuous_$ac_func
55131
55132 /* System header to define __stub macros and hopefully few prototypes,
55133     which can conflict with char $ac_func (); below.
55134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55135     <limits.h> exists even on freestanding compilers.  */
55136
55137 #ifdef __STDC__
55138 # include <limits.h>
55139 #else
55140 # include <assert.h>
55141 #endif
55142
55143 #undef $ac_func
55144
55145 /* Override any gcc2 internal prototype to avoid an error.  */
55146 #ifdef __cplusplus
55147 extern "C"
55148 {
55149 #endif
55150 /* We use char because int might match the return type of a gcc2
55151    builtin and then its argument prototype would still apply.  */
55152 char $ac_func ();
55153 /* The GNU C library defines this for functions which it implements
55154     to always fail with ENOSYS.  Some functions are actually named
55155     something starting with __ and the normal name is an alias.  */
55156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55157 choke me
55158 #else
55159 char (*f) () = $ac_func;
55160 #endif
55161 #ifdef __cplusplus
55162 }
55163 #endif
55164
55165 int
55166 main ()
55167 {
55168 return f != $ac_func;
55169   ;
55170   return 0;
55171 }
55172 _ACEOF
55173 rm -f conftest.$ac_objext conftest$ac_exeext
55174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55175   (eval $ac_link) 2>conftest.er1
55176   ac_status=$?
55177   grep -v '^ *+' conftest.er1 >conftest.err
55178   rm -f conftest.er1
55179   cat conftest.err >&5
55180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55181   (exit $ac_status); } &&
55182          { ac_try='test -z "$ac_c_werror_flag"
55183                          || test ! -s conftest.err'
55184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55185   (eval $ac_try) 2>&5
55186   ac_status=$?
55187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55188   (exit $ac_status); }; } &&
55189          { ac_try='test -s conftest$ac_exeext'
55190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55191   (eval $ac_try) 2>&5
55192   ac_status=$?
55193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55194   (exit $ac_status); }; }; then
55195   eval "$as_ac_var=yes"
55196 else
55197   echo "$as_me: failed program was:" >&5
55198 sed 's/^/| /' conftest.$ac_ext >&5
55199
55200 eval "$as_ac_var=no"
55201 fi
55202 rm -f conftest.err conftest.$ac_objext \
55203       conftest$ac_exeext conftest.$ac_ext
55204 fi
55205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55207 if test `eval echo '${'$as_ac_var'}'` = yes; then
55208   cat >>confdefs.h <<_ACEOF
55209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55210 _ACEOF
55211
55212 fi
55213 done
55214
55215     fi
55216   fi
55217
55218
55219
55220
55221
55222
55223   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55224 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55225   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55226     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55227   echo $ECHO_N "(cached) $ECHO_C" >&6
55228 else
55229
55230
55231
55232       ac_ext=cc
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55237
55238       cat >conftest.$ac_ext <<_ACEOF
55239 /* confdefs.h.  */
55240 _ACEOF
55241 cat confdefs.h >>conftest.$ac_ext
55242 cat >>conftest.$ac_ext <<_ACEOF
55243 /* end confdefs.h.  */
55244 #include <math.h>
55245                       #ifdef HAVE_IEEEFP_H
55246                       #include <ieeefp.h>
55247                       #endif
55248
55249 int
55250 main ()
55251 {
55252  fabsl(0);
55253   ;
55254   return 0;
55255 }
55256 _ACEOF
55257 rm -f conftest.$ac_objext
55258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55259   (eval $ac_compile) 2>conftest.er1
55260   ac_status=$?
55261   grep -v '^ *+' conftest.er1 >conftest.err
55262   rm -f conftest.er1
55263   cat conftest.err >&5
55264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265   (exit $ac_status); } &&
55266          { ac_try='test -z "$ac_cxx_werror_flag"
55267                          || test ! -s conftest.err'
55268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55269   (eval $ac_try) 2>&5
55270   ac_status=$?
55271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272   (exit $ac_status); }; } &&
55273          { ac_try='test -s conftest.$ac_objext'
55274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55275   (eval $ac_try) 2>&5
55276   ac_status=$?
55277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278   (exit $ac_status); }; }; then
55279   glibcxx_cv_func_fabsl_use=yes
55280 else
55281   echo "$as_me: failed program was:" >&5
55282 sed 's/^/| /' conftest.$ac_ext >&5
55283
55284 glibcxx_cv_func_fabsl_use=no
55285 fi
55286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55287       ac_ext=c
55288 ac_cpp='$CPP $CPPFLAGS'
55289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55292
55293
55294 fi
55295
55296   fi
55297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55298 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55299
55300   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55301
55302 for ac_func in fabsl
55303 do
55304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55305 echo "$as_me:$LINENO: checking for $ac_func" >&5
55306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55307 if eval "test \"\${$as_ac_var+set}\" = set"; then
55308   echo $ECHO_N "(cached) $ECHO_C" >&6
55309 else
55310   if test x$gcc_no_link = xyes; then
55311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55313    { (exit 1); exit 1; }; }
55314 fi
55315 cat >conftest.$ac_ext <<_ACEOF
55316 /* confdefs.h.  */
55317 _ACEOF
55318 cat confdefs.h >>conftest.$ac_ext
55319 cat >>conftest.$ac_ext <<_ACEOF
55320 /* end confdefs.h.  */
55321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55323 #define $ac_func innocuous_$ac_func
55324
55325 /* System header to define __stub macros and hopefully few prototypes,
55326     which can conflict with char $ac_func (); below.
55327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55328     <limits.h> exists even on freestanding compilers.  */
55329
55330 #ifdef __STDC__
55331 # include <limits.h>
55332 #else
55333 # include <assert.h>
55334 #endif
55335
55336 #undef $ac_func
55337
55338 /* Override any gcc2 internal prototype to avoid an error.  */
55339 #ifdef __cplusplus
55340 extern "C"
55341 {
55342 #endif
55343 /* We use char because int might match the return type of a gcc2
55344    builtin and then its argument prototype would still apply.  */
55345 char $ac_func ();
55346 /* The GNU C library defines this for functions which it implements
55347     to always fail with ENOSYS.  Some functions are actually named
55348     something starting with __ and the normal name is an alias.  */
55349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55350 choke me
55351 #else
55352 char (*f) () = $ac_func;
55353 #endif
55354 #ifdef __cplusplus
55355 }
55356 #endif
55357
55358 int
55359 main ()
55360 {
55361 return f != $ac_func;
55362   ;
55363   return 0;
55364 }
55365 _ACEOF
55366 rm -f conftest.$ac_objext conftest$ac_exeext
55367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55368   (eval $ac_link) 2>conftest.er1
55369   ac_status=$?
55370   grep -v '^ *+' conftest.er1 >conftest.err
55371   rm -f conftest.er1
55372   cat conftest.err >&5
55373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55374   (exit $ac_status); } &&
55375          { ac_try='test -z "$ac_c_werror_flag"
55376                          || test ! -s conftest.err'
55377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55378   (eval $ac_try) 2>&5
55379   ac_status=$?
55380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381   (exit $ac_status); }; } &&
55382          { ac_try='test -s conftest$ac_exeext'
55383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55384   (eval $ac_try) 2>&5
55385   ac_status=$?
55386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55387   (exit $ac_status); }; }; then
55388   eval "$as_ac_var=yes"
55389 else
55390   echo "$as_me: failed program was:" >&5
55391 sed 's/^/| /' conftest.$ac_ext >&5
55392
55393 eval "$as_ac_var=no"
55394 fi
55395 rm -f conftest.err conftest.$ac_objext \
55396       conftest$ac_exeext conftest.$ac_ext
55397 fi
55398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55400 if test `eval echo '${'$as_ac_var'}'` = yes; then
55401   cat >>confdefs.h <<_ACEOF
55402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55403 _ACEOF
55404
55405 fi
55406 done
55407
55408   else
55409
55410   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
55411 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
55412   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55413     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
55414   echo $ECHO_N "(cached) $ECHO_C" >&6
55415 else
55416
55417
55418
55419       ac_ext=cc
55420 ac_cpp='$CXXCPP $CPPFLAGS'
55421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55424
55425       cat >conftest.$ac_ext <<_ACEOF
55426 /* confdefs.h.  */
55427 _ACEOF
55428 cat confdefs.h >>conftest.$ac_ext
55429 cat >>conftest.$ac_ext <<_ACEOF
55430 /* end confdefs.h.  */
55431 #include <math.h>
55432                       #ifdef HAVE_IEEEFP_H
55433                       #include <ieeefp.h>
55434                       #endif
55435
55436 int
55437 main ()
55438 {
55439  _fabsl(0);
55440   ;
55441   return 0;
55442 }
55443 _ACEOF
55444 rm -f conftest.$ac_objext
55445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55446   (eval $ac_compile) 2>conftest.er1
55447   ac_status=$?
55448   grep -v '^ *+' conftest.er1 >conftest.err
55449   rm -f conftest.er1
55450   cat conftest.err >&5
55451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55452   (exit $ac_status); } &&
55453          { ac_try='test -z "$ac_cxx_werror_flag"
55454                          || test ! -s conftest.err'
55455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55456   (eval $ac_try) 2>&5
55457   ac_status=$?
55458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55459   (exit $ac_status); }; } &&
55460          { ac_try='test -s conftest.$ac_objext'
55461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55462   (eval $ac_try) 2>&5
55463   ac_status=$?
55464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55465   (exit $ac_status); }; }; then
55466   glibcxx_cv_func__fabsl_use=yes
55467 else
55468   echo "$as_me: failed program was:" >&5
55469 sed 's/^/| /' conftest.$ac_ext >&5
55470
55471 glibcxx_cv_func__fabsl_use=no
55472 fi
55473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55474       ac_ext=c
55475 ac_cpp='$CPP $CPPFLAGS'
55476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55479
55480
55481 fi
55482
55483   fi
55484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
55485 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
55486
55487     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55488
55489 for ac_func in _fabsl
55490 do
55491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55492 echo "$as_me:$LINENO: checking for $ac_func" >&5
55493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55494 if eval "test \"\${$as_ac_var+set}\" = set"; then
55495   echo $ECHO_N "(cached) $ECHO_C" >&6
55496 else
55497   if test x$gcc_no_link = xyes; then
55498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55500    { (exit 1); exit 1; }; }
55501 fi
55502 cat >conftest.$ac_ext <<_ACEOF
55503 /* confdefs.h.  */
55504 _ACEOF
55505 cat confdefs.h >>conftest.$ac_ext
55506 cat >>conftest.$ac_ext <<_ACEOF
55507 /* end confdefs.h.  */
55508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55510 #define $ac_func innocuous_$ac_func
55511
55512 /* System header to define __stub macros and hopefully few prototypes,
55513     which can conflict with char $ac_func (); below.
55514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55515     <limits.h> exists even on freestanding compilers.  */
55516
55517 #ifdef __STDC__
55518 # include <limits.h>
55519 #else
55520 # include <assert.h>
55521 #endif
55522
55523 #undef $ac_func
55524
55525 /* Override any gcc2 internal prototype to avoid an error.  */
55526 #ifdef __cplusplus
55527 extern "C"
55528 {
55529 #endif
55530 /* We use char because int might match the return type of a gcc2
55531    builtin and then its argument prototype would still apply.  */
55532 char $ac_func ();
55533 /* The GNU C library defines this for functions which it implements
55534     to always fail with ENOSYS.  Some functions are actually named
55535     something starting with __ and the normal name is an alias.  */
55536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55537 choke me
55538 #else
55539 char (*f) () = $ac_func;
55540 #endif
55541 #ifdef __cplusplus
55542 }
55543 #endif
55544
55545 int
55546 main ()
55547 {
55548 return f != $ac_func;
55549   ;
55550   return 0;
55551 }
55552 _ACEOF
55553 rm -f conftest.$ac_objext conftest$ac_exeext
55554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55555   (eval $ac_link) 2>conftest.er1
55556   ac_status=$?
55557   grep -v '^ *+' conftest.er1 >conftest.err
55558   rm -f conftest.er1
55559   cat conftest.err >&5
55560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55561   (exit $ac_status); } &&
55562          { ac_try='test -z "$ac_c_werror_flag"
55563                          || test ! -s conftest.err'
55564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55565   (eval $ac_try) 2>&5
55566   ac_status=$?
55567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55568   (exit $ac_status); }; } &&
55569          { ac_try='test -s conftest$ac_exeext'
55570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55571   (eval $ac_try) 2>&5
55572   ac_status=$?
55573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55574   (exit $ac_status); }; }; then
55575   eval "$as_ac_var=yes"
55576 else
55577   echo "$as_me: failed program was:" >&5
55578 sed 's/^/| /' conftest.$ac_ext >&5
55579
55580 eval "$as_ac_var=no"
55581 fi
55582 rm -f conftest.err conftest.$ac_objext \
55583       conftest$ac_exeext conftest.$ac_ext
55584 fi
55585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55587 if test `eval echo '${'$as_ac_var'}'` = yes; then
55588   cat >>confdefs.h <<_ACEOF
55589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55590 _ACEOF
55591
55592 fi
55593 done
55594
55595     fi
55596   fi
55597
55598
55599
55600
55601
55602
55603   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55604 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55605   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55606     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55607   echo $ECHO_N "(cached) $ECHO_C" >&6
55608 else
55609
55610
55611
55612       ac_ext=cc
55613 ac_cpp='$CXXCPP $CPPFLAGS'
55614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55617
55618       cat >conftest.$ac_ext <<_ACEOF
55619 /* confdefs.h.  */
55620 _ACEOF
55621 cat confdefs.h >>conftest.$ac_ext
55622 cat >>conftest.$ac_ext <<_ACEOF
55623 /* end confdefs.h.  */
55624 #include <math.h>
55625 int
55626 main ()
55627 {
55628  fmodl(0, 0);
55629   ;
55630   return 0;
55631 }
55632 _ACEOF
55633 rm -f conftest.$ac_objext
55634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55635   (eval $ac_compile) 2>conftest.er1
55636   ac_status=$?
55637   grep -v '^ *+' conftest.er1 >conftest.err
55638   rm -f conftest.er1
55639   cat conftest.err >&5
55640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55641   (exit $ac_status); } &&
55642          { ac_try='test -z "$ac_cxx_werror_flag"
55643                          || test ! -s conftest.err'
55644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55645   (eval $ac_try) 2>&5
55646   ac_status=$?
55647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55648   (exit $ac_status); }; } &&
55649          { ac_try='test -s conftest.$ac_objext'
55650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55651   (eval $ac_try) 2>&5
55652   ac_status=$?
55653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654   (exit $ac_status); }; }; then
55655   glibcxx_cv_func_fmodl_use=yes
55656 else
55657   echo "$as_me: failed program was:" >&5
55658 sed 's/^/| /' conftest.$ac_ext >&5
55659
55660 glibcxx_cv_func_fmodl_use=no
55661 fi
55662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55663       ac_ext=c
55664 ac_cpp='$CPP $CPPFLAGS'
55665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55668
55669
55670 fi
55671
55672   fi
55673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55674 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55675
55676   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55677
55678 for ac_func in fmodl
55679 do
55680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55681 echo "$as_me:$LINENO: checking for $ac_func" >&5
55682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55683 if eval "test \"\${$as_ac_var+set}\" = set"; then
55684   echo $ECHO_N "(cached) $ECHO_C" >&6
55685 else
55686   if test x$gcc_no_link = xyes; then
55687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55689    { (exit 1); exit 1; }; }
55690 fi
55691 cat >conftest.$ac_ext <<_ACEOF
55692 /* confdefs.h.  */
55693 _ACEOF
55694 cat confdefs.h >>conftest.$ac_ext
55695 cat >>conftest.$ac_ext <<_ACEOF
55696 /* end confdefs.h.  */
55697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55699 #define $ac_func innocuous_$ac_func
55700
55701 /* System header to define __stub macros and hopefully few prototypes,
55702     which can conflict with char $ac_func (); below.
55703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55704     <limits.h> exists even on freestanding compilers.  */
55705
55706 #ifdef __STDC__
55707 # include <limits.h>
55708 #else
55709 # include <assert.h>
55710 #endif
55711
55712 #undef $ac_func
55713
55714 /* Override any gcc2 internal prototype to avoid an error.  */
55715 #ifdef __cplusplus
55716 extern "C"
55717 {
55718 #endif
55719 /* We use char because int might match the return type of a gcc2
55720    builtin and then its argument prototype would still apply.  */
55721 char $ac_func ();
55722 /* The GNU C library defines this for functions which it implements
55723     to always fail with ENOSYS.  Some functions are actually named
55724     something starting with __ and the normal name is an alias.  */
55725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55726 choke me
55727 #else
55728 char (*f) () = $ac_func;
55729 #endif
55730 #ifdef __cplusplus
55731 }
55732 #endif
55733
55734 int
55735 main ()
55736 {
55737 return f != $ac_func;
55738   ;
55739   return 0;
55740 }
55741 _ACEOF
55742 rm -f conftest.$ac_objext conftest$ac_exeext
55743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55744   (eval $ac_link) 2>conftest.er1
55745   ac_status=$?
55746   grep -v '^ *+' conftest.er1 >conftest.err
55747   rm -f conftest.er1
55748   cat conftest.err >&5
55749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55750   (exit $ac_status); } &&
55751          { ac_try='test -z "$ac_c_werror_flag"
55752                          || test ! -s conftest.err'
55753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55754   (eval $ac_try) 2>&5
55755   ac_status=$?
55756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55757   (exit $ac_status); }; } &&
55758          { ac_try='test -s conftest$ac_exeext'
55759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55760   (eval $ac_try) 2>&5
55761   ac_status=$?
55762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55763   (exit $ac_status); }; }; then
55764   eval "$as_ac_var=yes"
55765 else
55766   echo "$as_me: failed program was:" >&5
55767 sed 's/^/| /' conftest.$ac_ext >&5
55768
55769 eval "$as_ac_var=no"
55770 fi
55771 rm -f conftest.err conftest.$ac_objext \
55772       conftest$ac_exeext conftest.$ac_ext
55773 fi
55774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55776 if test `eval echo '${'$as_ac_var'}'` = yes; then
55777   cat >>confdefs.h <<_ACEOF
55778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55779 _ACEOF
55780
55781 fi
55782 done
55783
55784   else
55785
55786   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55787 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55788   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55789     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55790   echo $ECHO_N "(cached) $ECHO_C" >&6
55791 else
55792
55793
55794
55795       ac_ext=cc
55796 ac_cpp='$CXXCPP $CPPFLAGS'
55797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55800
55801       cat >conftest.$ac_ext <<_ACEOF
55802 /* confdefs.h.  */
55803 _ACEOF
55804 cat confdefs.h >>conftest.$ac_ext
55805 cat >>conftest.$ac_ext <<_ACEOF
55806 /* end confdefs.h.  */
55807 #include <math.h>
55808 int
55809 main ()
55810 {
55811  _fmodl(0, 0);
55812   ;
55813   return 0;
55814 }
55815 _ACEOF
55816 rm -f conftest.$ac_objext
55817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55818   (eval $ac_compile) 2>conftest.er1
55819   ac_status=$?
55820   grep -v '^ *+' conftest.er1 >conftest.err
55821   rm -f conftest.er1
55822   cat conftest.err >&5
55823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55824   (exit $ac_status); } &&
55825          { ac_try='test -z "$ac_cxx_werror_flag"
55826                          || test ! -s conftest.err'
55827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55828   (eval $ac_try) 2>&5
55829   ac_status=$?
55830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55831   (exit $ac_status); }; } &&
55832          { ac_try='test -s conftest.$ac_objext'
55833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55834   (eval $ac_try) 2>&5
55835   ac_status=$?
55836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55837   (exit $ac_status); }; }; then
55838   glibcxx_cv_func__fmodl_use=yes
55839 else
55840   echo "$as_me: failed program was:" >&5
55841 sed 's/^/| /' conftest.$ac_ext >&5
55842
55843 glibcxx_cv_func__fmodl_use=no
55844 fi
55845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55846       ac_ext=c
55847 ac_cpp='$CPP $CPPFLAGS'
55848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55851
55852
55853 fi
55854
55855   fi
55856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55857 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55858
55859     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55860
55861 for ac_func in _fmodl
55862 do
55863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55864 echo "$as_me:$LINENO: checking for $ac_func" >&5
55865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55866 if eval "test \"\${$as_ac_var+set}\" = set"; then
55867   echo $ECHO_N "(cached) $ECHO_C" >&6
55868 else
55869   if test x$gcc_no_link = xyes; then
55870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55872    { (exit 1); exit 1; }; }
55873 fi
55874 cat >conftest.$ac_ext <<_ACEOF
55875 /* confdefs.h.  */
55876 _ACEOF
55877 cat confdefs.h >>conftest.$ac_ext
55878 cat >>conftest.$ac_ext <<_ACEOF
55879 /* end confdefs.h.  */
55880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55882 #define $ac_func innocuous_$ac_func
55883
55884 /* System header to define __stub macros and hopefully few prototypes,
55885     which can conflict with char $ac_func (); below.
55886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55887     <limits.h> exists even on freestanding compilers.  */
55888
55889 #ifdef __STDC__
55890 # include <limits.h>
55891 #else
55892 # include <assert.h>
55893 #endif
55894
55895 #undef $ac_func
55896
55897 /* Override any gcc2 internal prototype to avoid an error.  */
55898 #ifdef __cplusplus
55899 extern "C"
55900 {
55901 #endif
55902 /* We use char because int might match the return type of a gcc2
55903    builtin and then its argument prototype would still apply.  */
55904 char $ac_func ();
55905 /* The GNU C library defines this for functions which it implements
55906     to always fail with ENOSYS.  Some functions are actually named
55907     something starting with __ and the normal name is an alias.  */
55908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55909 choke me
55910 #else
55911 char (*f) () = $ac_func;
55912 #endif
55913 #ifdef __cplusplus
55914 }
55915 #endif
55916
55917 int
55918 main ()
55919 {
55920 return f != $ac_func;
55921   ;
55922   return 0;
55923 }
55924 _ACEOF
55925 rm -f conftest.$ac_objext conftest$ac_exeext
55926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55927   (eval $ac_link) 2>conftest.er1
55928   ac_status=$?
55929   grep -v '^ *+' conftest.er1 >conftest.err
55930   rm -f conftest.er1
55931   cat conftest.err >&5
55932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55933   (exit $ac_status); } &&
55934          { ac_try='test -z "$ac_c_werror_flag"
55935                          || test ! -s conftest.err'
55936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55937   (eval $ac_try) 2>&5
55938   ac_status=$?
55939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55940   (exit $ac_status); }; } &&
55941          { ac_try='test -s conftest$ac_exeext'
55942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55943   (eval $ac_try) 2>&5
55944   ac_status=$?
55945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55946   (exit $ac_status); }; }; then
55947   eval "$as_ac_var=yes"
55948 else
55949   echo "$as_me: failed program was:" >&5
55950 sed 's/^/| /' conftest.$ac_ext >&5
55951
55952 eval "$as_ac_var=no"
55953 fi
55954 rm -f conftest.err conftest.$ac_objext \
55955       conftest$ac_exeext conftest.$ac_ext
55956 fi
55957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55959 if test `eval echo '${'$as_ac_var'}'` = yes; then
55960   cat >>confdefs.h <<_ACEOF
55961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55962 _ACEOF
55963
55964 fi
55965 done
55966
55967     fi
55968   fi
55969
55970
55971
55972
55973
55974
55975   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55976 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55977   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55978     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55979   echo $ECHO_N "(cached) $ECHO_C" >&6
55980 else
55981
55982
55983
55984       ac_ext=cc
55985 ac_cpp='$CXXCPP $CPPFLAGS'
55986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55989
55990       cat >conftest.$ac_ext <<_ACEOF
55991 /* confdefs.h.  */
55992 _ACEOF
55993 cat confdefs.h >>conftest.$ac_ext
55994 cat >>conftest.$ac_ext <<_ACEOF
55995 /* end confdefs.h.  */
55996 #include <math.h>
55997 int
55998 main ()
55999 {
56000  frexpl(0, 0);
56001   ;
56002   return 0;
56003 }
56004 _ACEOF
56005 rm -f conftest.$ac_objext
56006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56007   (eval $ac_compile) 2>conftest.er1
56008   ac_status=$?
56009   grep -v '^ *+' conftest.er1 >conftest.err
56010   rm -f conftest.er1
56011   cat conftest.err >&5
56012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56013   (exit $ac_status); } &&
56014          { ac_try='test -z "$ac_cxx_werror_flag"
56015                          || test ! -s conftest.err'
56016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56017   (eval $ac_try) 2>&5
56018   ac_status=$?
56019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56020   (exit $ac_status); }; } &&
56021          { ac_try='test -s conftest.$ac_objext'
56022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56023   (eval $ac_try) 2>&5
56024   ac_status=$?
56025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56026   (exit $ac_status); }; }; then
56027   glibcxx_cv_func_frexpl_use=yes
56028 else
56029   echo "$as_me: failed program was:" >&5
56030 sed 's/^/| /' conftest.$ac_ext >&5
56031
56032 glibcxx_cv_func_frexpl_use=no
56033 fi
56034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56035       ac_ext=c
56036 ac_cpp='$CPP $CPPFLAGS'
56037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56040
56041
56042 fi
56043
56044   fi
56045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56046 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56047
56048   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56049
56050 for ac_func in frexpl
56051 do
56052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56053 echo "$as_me:$LINENO: checking for $ac_func" >&5
56054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56055 if eval "test \"\${$as_ac_var+set}\" = set"; then
56056   echo $ECHO_N "(cached) $ECHO_C" >&6
56057 else
56058   if test x$gcc_no_link = xyes; then
56059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56061    { (exit 1); exit 1; }; }
56062 fi
56063 cat >conftest.$ac_ext <<_ACEOF
56064 /* confdefs.h.  */
56065 _ACEOF
56066 cat confdefs.h >>conftest.$ac_ext
56067 cat >>conftest.$ac_ext <<_ACEOF
56068 /* end confdefs.h.  */
56069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56071 #define $ac_func innocuous_$ac_func
56072
56073 /* System header to define __stub macros and hopefully few prototypes,
56074     which can conflict with char $ac_func (); below.
56075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56076     <limits.h> exists even on freestanding compilers.  */
56077
56078 #ifdef __STDC__
56079 # include <limits.h>
56080 #else
56081 # include <assert.h>
56082 #endif
56083
56084 #undef $ac_func
56085
56086 /* Override any gcc2 internal prototype to avoid an error.  */
56087 #ifdef __cplusplus
56088 extern "C"
56089 {
56090 #endif
56091 /* We use char because int might match the return type of a gcc2
56092    builtin and then its argument prototype would still apply.  */
56093 char $ac_func ();
56094 /* The GNU C library defines this for functions which it implements
56095     to always fail with ENOSYS.  Some functions are actually named
56096     something starting with __ and the normal name is an alias.  */
56097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56098 choke me
56099 #else
56100 char (*f) () = $ac_func;
56101 #endif
56102 #ifdef __cplusplus
56103 }
56104 #endif
56105
56106 int
56107 main ()
56108 {
56109 return f != $ac_func;
56110   ;
56111   return 0;
56112 }
56113 _ACEOF
56114 rm -f conftest.$ac_objext conftest$ac_exeext
56115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56116   (eval $ac_link) 2>conftest.er1
56117   ac_status=$?
56118   grep -v '^ *+' conftest.er1 >conftest.err
56119   rm -f conftest.er1
56120   cat conftest.err >&5
56121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56122   (exit $ac_status); } &&
56123          { ac_try='test -z "$ac_c_werror_flag"
56124                          || test ! -s conftest.err'
56125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56126   (eval $ac_try) 2>&5
56127   ac_status=$?
56128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129   (exit $ac_status); }; } &&
56130          { ac_try='test -s conftest$ac_exeext'
56131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56132   (eval $ac_try) 2>&5
56133   ac_status=$?
56134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56135   (exit $ac_status); }; }; then
56136   eval "$as_ac_var=yes"
56137 else
56138   echo "$as_me: failed program was:" >&5
56139 sed 's/^/| /' conftest.$ac_ext >&5
56140
56141 eval "$as_ac_var=no"
56142 fi
56143 rm -f conftest.err conftest.$ac_objext \
56144       conftest$ac_exeext conftest.$ac_ext
56145 fi
56146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56148 if test `eval echo '${'$as_ac_var'}'` = yes; then
56149   cat >>confdefs.h <<_ACEOF
56150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56151 _ACEOF
56152
56153 fi
56154 done
56155
56156   else
56157
56158   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56159 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56160   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56161     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56162   echo $ECHO_N "(cached) $ECHO_C" >&6
56163 else
56164
56165
56166
56167       ac_ext=cc
56168 ac_cpp='$CXXCPP $CPPFLAGS'
56169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56172
56173       cat >conftest.$ac_ext <<_ACEOF
56174 /* confdefs.h.  */
56175 _ACEOF
56176 cat confdefs.h >>conftest.$ac_ext
56177 cat >>conftest.$ac_ext <<_ACEOF
56178 /* end confdefs.h.  */
56179 #include <math.h>
56180 int
56181 main ()
56182 {
56183  _frexpl(0, 0);
56184   ;
56185   return 0;
56186 }
56187 _ACEOF
56188 rm -f conftest.$ac_objext
56189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56190   (eval $ac_compile) 2>conftest.er1
56191   ac_status=$?
56192   grep -v '^ *+' conftest.er1 >conftest.err
56193   rm -f conftest.er1
56194   cat conftest.err >&5
56195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56196   (exit $ac_status); } &&
56197          { ac_try='test -z "$ac_cxx_werror_flag"
56198                          || test ! -s conftest.err'
56199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56200   (eval $ac_try) 2>&5
56201   ac_status=$?
56202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56203   (exit $ac_status); }; } &&
56204          { ac_try='test -s conftest.$ac_objext'
56205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56206   (eval $ac_try) 2>&5
56207   ac_status=$?
56208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56209   (exit $ac_status); }; }; then
56210   glibcxx_cv_func__frexpl_use=yes
56211 else
56212   echo "$as_me: failed program was:" >&5
56213 sed 's/^/| /' conftest.$ac_ext >&5
56214
56215 glibcxx_cv_func__frexpl_use=no
56216 fi
56217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56218       ac_ext=c
56219 ac_cpp='$CPP $CPPFLAGS'
56220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56223
56224
56225 fi
56226
56227   fi
56228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56229 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56230
56231     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56232
56233 for ac_func in _frexpl
56234 do
56235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56236 echo "$as_me:$LINENO: checking for $ac_func" >&5
56237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56238 if eval "test \"\${$as_ac_var+set}\" = set"; then
56239   echo $ECHO_N "(cached) $ECHO_C" >&6
56240 else
56241   if test x$gcc_no_link = xyes; then
56242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56244    { (exit 1); exit 1; }; }
56245 fi
56246 cat >conftest.$ac_ext <<_ACEOF
56247 /* confdefs.h.  */
56248 _ACEOF
56249 cat confdefs.h >>conftest.$ac_ext
56250 cat >>conftest.$ac_ext <<_ACEOF
56251 /* end confdefs.h.  */
56252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56254 #define $ac_func innocuous_$ac_func
56255
56256 /* System header to define __stub macros and hopefully few prototypes,
56257     which can conflict with char $ac_func (); below.
56258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56259     <limits.h> exists even on freestanding compilers.  */
56260
56261 #ifdef __STDC__
56262 # include <limits.h>
56263 #else
56264 # include <assert.h>
56265 #endif
56266
56267 #undef $ac_func
56268
56269 /* Override any gcc2 internal prototype to avoid an error.  */
56270 #ifdef __cplusplus
56271 extern "C"
56272 {
56273 #endif
56274 /* We use char because int might match the return type of a gcc2
56275    builtin and then its argument prototype would still apply.  */
56276 char $ac_func ();
56277 /* The GNU C library defines this for functions which it implements
56278     to always fail with ENOSYS.  Some functions are actually named
56279     something starting with __ and the normal name is an alias.  */
56280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56281 choke me
56282 #else
56283 char (*f) () = $ac_func;
56284 #endif
56285 #ifdef __cplusplus
56286 }
56287 #endif
56288
56289 int
56290 main ()
56291 {
56292 return f != $ac_func;
56293   ;
56294   return 0;
56295 }
56296 _ACEOF
56297 rm -f conftest.$ac_objext conftest$ac_exeext
56298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56299   (eval $ac_link) 2>conftest.er1
56300   ac_status=$?
56301   grep -v '^ *+' conftest.er1 >conftest.err
56302   rm -f conftest.er1
56303   cat conftest.err >&5
56304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56305   (exit $ac_status); } &&
56306          { ac_try='test -z "$ac_c_werror_flag"
56307                          || test ! -s conftest.err'
56308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56309   (eval $ac_try) 2>&5
56310   ac_status=$?
56311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312   (exit $ac_status); }; } &&
56313          { ac_try='test -s conftest$ac_exeext'
56314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315   (eval $ac_try) 2>&5
56316   ac_status=$?
56317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318   (exit $ac_status); }; }; then
56319   eval "$as_ac_var=yes"
56320 else
56321   echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56323
56324 eval "$as_ac_var=no"
56325 fi
56326 rm -f conftest.err conftest.$ac_objext \
56327       conftest$ac_exeext conftest.$ac_ext
56328 fi
56329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56331 if test `eval echo '${'$as_ac_var'}'` = yes; then
56332   cat >>confdefs.h <<_ACEOF
56333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56334 _ACEOF
56335
56336 fi
56337 done
56338
56339     fi
56340   fi
56341
56342
56343
56344
56345
56346
56347   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
56348 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
56349   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56350     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
56351   echo $ECHO_N "(cached) $ECHO_C" >&6
56352 else
56353
56354
56355
56356       ac_ext=cc
56357 ac_cpp='$CXXCPP $CPPFLAGS'
56358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361
56362       cat >conftest.$ac_ext <<_ACEOF
56363 /* confdefs.h.  */
56364 _ACEOF
56365 cat confdefs.h >>conftest.$ac_ext
56366 cat >>conftest.$ac_ext <<_ACEOF
56367 /* end confdefs.h.  */
56368 #include <math.h>
56369 int
56370 main ()
56371 {
56372  hypotl(0, 0);
56373   ;
56374   return 0;
56375 }
56376 _ACEOF
56377 rm -f conftest.$ac_objext
56378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56379   (eval $ac_compile) 2>conftest.er1
56380   ac_status=$?
56381   grep -v '^ *+' conftest.er1 >conftest.err
56382   rm -f conftest.er1
56383   cat conftest.err >&5
56384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56385   (exit $ac_status); } &&
56386          { ac_try='test -z "$ac_cxx_werror_flag"
56387                          || test ! -s conftest.err'
56388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56389   (eval $ac_try) 2>&5
56390   ac_status=$?
56391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56392   (exit $ac_status); }; } &&
56393          { ac_try='test -s conftest.$ac_objext'
56394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56395   (eval $ac_try) 2>&5
56396   ac_status=$?
56397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56398   (exit $ac_status); }; }; then
56399   glibcxx_cv_func_hypotl_use=yes
56400 else
56401   echo "$as_me: failed program was:" >&5
56402 sed 's/^/| /' conftest.$ac_ext >&5
56403
56404 glibcxx_cv_func_hypotl_use=no
56405 fi
56406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56407       ac_ext=c
56408 ac_cpp='$CPP $CPPFLAGS'
56409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56412
56413
56414 fi
56415
56416   fi
56417   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
56418 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
56419
56420   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56421
56422 for ac_func in hypotl
56423 do
56424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56425 echo "$as_me:$LINENO: checking for $ac_func" >&5
56426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56427 if eval "test \"\${$as_ac_var+set}\" = set"; then
56428   echo $ECHO_N "(cached) $ECHO_C" >&6
56429 else
56430   if test x$gcc_no_link = xyes; then
56431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56433    { (exit 1); exit 1; }; }
56434 fi
56435 cat >conftest.$ac_ext <<_ACEOF
56436 /* confdefs.h.  */
56437 _ACEOF
56438 cat confdefs.h >>conftest.$ac_ext
56439 cat >>conftest.$ac_ext <<_ACEOF
56440 /* end confdefs.h.  */
56441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56443 #define $ac_func innocuous_$ac_func
56444
56445 /* System header to define __stub macros and hopefully few prototypes,
56446     which can conflict with char $ac_func (); below.
56447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56448     <limits.h> exists even on freestanding compilers.  */
56449
56450 #ifdef __STDC__
56451 # include <limits.h>
56452 #else
56453 # include <assert.h>
56454 #endif
56455
56456 #undef $ac_func
56457
56458 /* Override any gcc2 internal prototype to avoid an error.  */
56459 #ifdef __cplusplus
56460 extern "C"
56461 {
56462 #endif
56463 /* We use char because int might match the return type of a gcc2
56464    builtin and then its argument prototype would still apply.  */
56465 char $ac_func ();
56466 /* The GNU C library defines this for functions which it implements
56467     to always fail with ENOSYS.  Some functions are actually named
56468     something starting with __ and the normal name is an alias.  */
56469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56470 choke me
56471 #else
56472 char (*f) () = $ac_func;
56473 #endif
56474 #ifdef __cplusplus
56475 }
56476 #endif
56477
56478 int
56479 main ()
56480 {
56481 return f != $ac_func;
56482   ;
56483   return 0;
56484 }
56485 _ACEOF
56486 rm -f conftest.$ac_objext conftest$ac_exeext
56487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56488   (eval $ac_link) 2>conftest.er1
56489   ac_status=$?
56490   grep -v '^ *+' conftest.er1 >conftest.err
56491   rm -f conftest.er1
56492   cat conftest.err >&5
56493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56494   (exit $ac_status); } &&
56495          { ac_try='test -z "$ac_c_werror_flag"
56496                          || test ! -s conftest.err'
56497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56498   (eval $ac_try) 2>&5
56499   ac_status=$?
56500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56501   (exit $ac_status); }; } &&
56502          { ac_try='test -s conftest$ac_exeext'
56503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56504   (eval $ac_try) 2>&5
56505   ac_status=$?
56506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56507   (exit $ac_status); }; }; then
56508   eval "$as_ac_var=yes"
56509 else
56510   echo "$as_me: failed program was:" >&5
56511 sed 's/^/| /' conftest.$ac_ext >&5
56512
56513 eval "$as_ac_var=no"
56514 fi
56515 rm -f conftest.err conftest.$ac_objext \
56516       conftest$ac_exeext conftest.$ac_ext
56517 fi
56518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56520 if test `eval echo '${'$as_ac_var'}'` = yes; then
56521   cat >>confdefs.h <<_ACEOF
56522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56523 _ACEOF
56524
56525 fi
56526 done
56527
56528   else
56529
56530   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
56531 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
56532   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56533     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
56534   echo $ECHO_N "(cached) $ECHO_C" >&6
56535 else
56536
56537
56538
56539       ac_ext=cc
56540 ac_cpp='$CXXCPP $CPPFLAGS'
56541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56544
56545       cat >conftest.$ac_ext <<_ACEOF
56546 /* confdefs.h.  */
56547 _ACEOF
56548 cat confdefs.h >>conftest.$ac_ext
56549 cat >>conftest.$ac_ext <<_ACEOF
56550 /* end confdefs.h.  */
56551 #include <math.h>
56552 int
56553 main ()
56554 {
56555  _hypotl(0, 0);
56556   ;
56557   return 0;
56558 }
56559 _ACEOF
56560 rm -f conftest.$ac_objext
56561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56562   (eval $ac_compile) 2>conftest.er1
56563   ac_status=$?
56564   grep -v '^ *+' conftest.er1 >conftest.err
56565   rm -f conftest.er1
56566   cat conftest.err >&5
56567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568   (exit $ac_status); } &&
56569          { ac_try='test -z "$ac_cxx_werror_flag"
56570                          || test ! -s conftest.err'
56571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56572   (eval $ac_try) 2>&5
56573   ac_status=$?
56574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56575   (exit $ac_status); }; } &&
56576          { ac_try='test -s conftest.$ac_objext'
56577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56578   (eval $ac_try) 2>&5
56579   ac_status=$?
56580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56581   (exit $ac_status); }; }; then
56582   glibcxx_cv_func__hypotl_use=yes
56583 else
56584   echo "$as_me: failed program was:" >&5
56585 sed 's/^/| /' conftest.$ac_ext >&5
56586
56587 glibcxx_cv_func__hypotl_use=no
56588 fi
56589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56590       ac_ext=c
56591 ac_cpp='$CPP $CPPFLAGS'
56592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595
56596
56597 fi
56598
56599   fi
56600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56601 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56602
56603     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56604
56605 for ac_func in _hypotl
56606 do
56607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56608 echo "$as_me:$LINENO: checking for $ac_func" >&5
56609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56610 if eval "test \"\${$as_ac_var+set}\" = set"; then
56611   echo $ECHO_N "(cached) $ECHO_C" >&6
56612 else
56613   if test x$gcc_no_link = xyes; then
56614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56616    { (exit 1); exit 1; }; }
56617 fi
56618 cat >conftest.$ac_ext <<_ACEOF
56619 /* confdefs.h.  */
56620 _ACEOF
56621 cat confdefs.h >>conftest.$ac_ext
56622 cat >>conftest.$ac_ext <<_ACEOF
56623 /* end confdefs.h.  */
56624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56626 #define $ac_func innocuous_$ac_func
56627
56628 /* System header to define __stub macros and hopefully few prototypes,
56629     which can conflict with char $ac_func (); below.
56630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56631     <limits.h> exists even on freestanding compilers.  */
56632
56633 #ifdef __STDC__
56634 # include <limits.h>
56635 #else
56636 # include <assert.h>
56637 #endif
56638
56639 #undef $ac_func
56640
56641 /* Override any gcc2 internal prototype to avoid an error.  */
56642 #ifdef __cplusplus
56643 extern "C"
56644 {
56645 #endif
56646 /* We use char because int might match the return type of a gcc2
56647    builtin and then its argument prototype would still apply.  */
56648 char $ac_func ();
56649 /* The GNU C library defines this for functions which it implements
56650     to always fail with ENOSYS.  Some functions are actually named
56651     something starting with __ and the normal name is an alias.  */
56652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56653 choke me
56654 #else
56655 char (*f) () = $ac_func;
56656 #endif
56657 #ifdef __cplusplus
56658 }
56659 #endif
56660
56661 int
56662 main ()
56663 {
56664 return f != $ac_func;
56665   ;
56666   return 0;
56667 }
56668 _ACEOF
56669 rm -f conftest.$ac_objext conftest$ac_exeext
56670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56671   (eval $ac_link) 2>conftest.er1
56672   ac_status=$?
56673   grep -v '^ *+' conftest.er1 >conftest.err
56674   rm -f conftest.er1
56675   cat conftest.err >&5
56676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677   (exit $ac_status); } &&
56678          { ac_try='test -z "$ac_c_werror_flag"
56679                          || test ! -s conftest.err'
56680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56681   (eval $ac_try) 2>&5
56682   ac_status=$?
56683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56684   (exit $ac_status); }; } &&
56685          { ac_try='test -s conftest$ac_exeext'
56686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56687   (eval $ac_try) 2>&5
56688   ac_status=$?
56689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690   (exit $ac_status); }; }; then
56691   eval "$as_ac_var=yes"
56692 else
56693   echo "$as_me: failed program was:" >&5
56694 sed 's/^/| /' conftest.$ac_ext >&5
56695
56696 eval "$as_ac_var=no"
56697 fi
56698 rm -f conftest.err conftest.$ac_objext \
56699       conftest$ac_exeext conftest.$ac_ext
56700 fi
56701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56703 if test `eval echo '${'$as_ac_var'}'` = yes; then
56704   cat >>confdefs.h <<_ACEOF
56705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56706 _ACEOF
56707
56708 fi
56709 done
56710
56711     fi
56712   fi
56713
56714
56715
56716
56717
56718
56719   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56720 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56721   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56722     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56723   echo $ECHO_N "(cached) $ECHO_C" >&6
56724 else
56725
56726
56727
56728       ac_ext=cc
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56733
56734       cat >conftest.$ac_ext <<_ACEOF
56735 /* confdefs.h.  */
56736 _ACEOF
56737 cat confdefs.h >>conftest.$ac_ext
56738 cat >>conftest.$ac_ext <<_ACEOF
56739 /* end confdefs.h.  */
56740 #include <math.h>
56741 int
56742 main ()
56743 {
56744  ldexpl(0, 0);
56745   ;
56746   return 0;
56747 }
56748 _ACEOF
56749 rm -f conftest.$ac_objext
56750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56751   (eval $ac_compile) 2>conftest.er1
56752   ac_status=$?
56753   grep -v '^ *+' conftest.er1 >conftest.err
56754   rm -f conftest.er1
56755   cat conftest.err >&5
56756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757   (exit $ac_status); } &&
56758          { ac_try='test -z "$ac_cxx_werror_flag"
56759                          || test ! -s conftest.err'
56760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56761   (eval $ac_try) 2>&5
56762   ac_status=$?
56763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56764   (exit $ac_status); }; } &&
56765          { ac_try='test -s conftest.$ac_objext'
56766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56767   (eval $ac_try) 2>&5
56768   ac_status=$?
56769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56770   (exit $ac_status); }; }; then
56771   glibcxx_cv_func_ldexpl_use=yes
56772 else
56773   echo "$as_me: failed program was:" >&5
56774 sed 's/^/| /' conftest.$ac_ext >&5
56775
56776 glibcxx_cv_func_ldexpl_use=no
56777 fi
56778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56779       ac_ext=c
56780 ac_cpp='$CPP $CPPFLAGS'
56781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56784
56785
56786 fi
56787
56788   fi
56789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56790 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56791
56792   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56793
56794 for ac_func in ldexpl
56795 do
56796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56797 echo "$as_me:$LINENO: checking for $ac_func" >&5
56798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56799 if eval "test \"\${$as_ac_var+set}\" = set"; then
56800   echo $ECHO_N "(cached) $ECHO_C" >&6
56801 else
56802   if test x$gcc_no_link = xyes; then
56803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56805    { (exit 1); exit 1; }; }
56806 fi
56807 cat >conftest.$ac_ext <<_ACEOF
56808 /* confdefs.h.  */
56809 _ACEOF
56810 cat confdefs.h >>conftest.$ac_ext
56811 cat >>conftest.$ac_ext <<_ACEOF
56812 /* end confdefs.h.  */
56813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56815 #define $ac_func innocuous_$ac_func
56816
56817 /* System header to define __stub macros and hopefully few prototypes,
56818     which can conflict with char $ac_func (); below.
56819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56820     <limits.h> exists even on freestanding compilers.  */
56821
56822 #ifdef __STDC__
56823 # include <limits.h>
56824 #else
56825 # include <assert.h>
56826 #endif
56827
56828 #undef $ac_func
56829
56830 /* Override any gcc2 internal prototype to avoid an error.  */
56831 #ifdef __cplusplus
56832 extern "C"
56833 {
56834 #endif
56835 /* We use char because int might match the return type of a gcc2
56836    builtin and then its argument prototype would still apply.  */
56837 char $ac_func ();
56838 /* The GNU C library defines this for functions which it implements
56839     to always fail with ENOSYS.  Some functions are actually named
56840     something starting with __ and the normal name is an alias.  */
56841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56842 choke me
56843 #else
56844 char (*f) () = $ac_func;
56845 #endif
56846 #ifdef __cplusplus
56847 }
56848 #endif
56849
56850 int
56851 main ()
56852 {
56853 return f != $ac_func;
56854   ;
56855   return 0;
56856 }
56857 _ACEOF
56858 rm -f conftest.$ac_objext conftest$ac_exeext
56859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56860   (eval $ac_link) 2>conftest.er1
56861   ac_status=$?
56862   grep -v '^ *+' conftest.er1 >conftest.err
56863   rm -f conftest.er1
56864   cat conftest.err >&5
56865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56866   (exit $ac_status); } &&
56867          { ac_try='test -z "$ac_c_werror_flag"
56868                          || test ! -s conftest.err'
56869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56870   (eval $ac_try) 2>&5
56871   ac_status=$?
56872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56873   (exit $ac_status); }; } &&
56874          { ac_try='test -s conftest$ac_exeext'
56875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56876   (eval $ac_try) 2>&5
56877   ac_status=$?
56878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56879   (exit $ac_status); }; }; then
56880   eval "$as_ac_var=yes"
56881 else
56882   echo "$as_me: failed program was:" >&5
56883 sed 's/^/| /' conftest.$ac_ext >&5
56884
56885 eval "$as_ac_var=no"
56886 fi
56887 rm -f conftest.err conftest.$ac_objext \
56888       conftest$ac_exeext conftest.$ac_ext
56889 fi
56890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56892 if test `eval echo '${'$as_ac_var'}'` = yes; then
56893   cat >>confdefs.h <<_ACEOF
56894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56895 _ACEOF
56896
56897 fi
56898 done
56899
56900   else
56901
56902   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56903 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56904   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56905     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56906   echo $ECHO_N "(cached) $ECHO_C" >&6
56907 else
56908
56909
56910
56911       ac_ext=cc
56912 ac_cpp='$CXXCPP $CPPFLAGS'
56913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56916
56917       cat >conftest.$ac_ext <<_ACEOF
56918 /* confdefs.h.  */
56919 _ACEOF
56920 cat confdefs.h >>conftest.$ac_ext
56921 cat >>conftest.$ac_ext <<_ACEOF
56922 /* end confdefs.h.  */
56923 #include <math.h>
56924 int
56925 main ()
56926 {
56927  _ldexpl(0, 0);
56928   ;
56929   return 0;
56930 }
56931 _ACEOF
56932 rm -f conftest.$ac_objext
56933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56934   (eval $ac_compile) 2>conftest.er1
56935   ac_status=$?
56936   grep -v '^ *+' conftest.er1 >conftest.err
56937   rm -f conftest.er1
56938   cat conftest.err >&5
56939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56940   (exit $ac_status); } &&
56941          { ac_try='test -z "$ac_cxx_werror_flag"
56942                          || test ! -s conftest.err'
56943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56944   (eval $ac_try) 2>&5
56945   ac_status=$?
56946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56947   (exit $ac_status); }; } &&
56948          { ac_try='test -s conftest.$ac_objext'
56949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56950   (eval $ac_try) 2>&5
56951   ac_status=$?
56952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56953   (exit $ac_status); }; }; then
56954   glibcxx_cv_func__ldexpl_use=yes
56955 else
56956   echo "$as_me: failed program was:" >&5
56957 sed 's/^/| /' conftest.$ac_ext >&5
56958
56959 glibcxx_cv_func__ldexpl_use=no
56960 fi
56961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56962       ac_ext=c
56963 ac_cpp='$CPP $CPPFLAGS'
56964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56967
56968
56969 fi
56970
56971   fi
56972   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56973 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56974
56975     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56976
56977 for ac_func in _ldexpl
56978 do
56979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56980 echo "$as_me:$LINENO: checking for $ac_func" >&5
56981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56982 if eval "test \"\${$as_ac_var+set}\" = set"; then
56983   echo $ECHO_N "(cached) $ECHO_C" >&6
56984 else
56985   if test x$gcc_no_link = xyes; then
56986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56988    { (exit 1); exit 1; }; }
56989 fi
56990 cat >conftest.$ac_ext <<_ACEOF
56991 /* confdefs.h.  */
56992 _ACEOF
56993 cat confdefs.h >>conftest.$ac_ext
56994 cat >>conftest.$ac_ext <<_ACEOF
56995 /* end confdefs.h.  */
56996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56998 #define $ac_func innocuous_$ac_func
56999
57000 /* System header to define __stub macros and hopefully few prototypes,
57001     which can conflict with char $ac_func (); below.
57002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57003     <limits.h> exists even on freestanding compilers.  */
57004
57005 #ifdef __STDC__
57006 # include <limits.h>
57007 #else
57008 # include <assert.h>
57009 #endif
57010
57011 #undef $ac_func
57012
57013 /* Override any gcc2 internal prototype to avoid an error.  */
57014 #ifdef __cplusplus
57015 extern "C"
57016 {
57017 #endif
57018 /* We use char because int might match the return type of a gcc2
57019    builtin and then its argument prototype would still apply.  */
57020 char $ac_func ();
57021 /* The GNU C library defines this for functions which it implements
57022     to always fail with ENOSYS.  Some functions are actually named
57023     something starting with __ and the normal name is an alias.  */
57024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57025 choke me
57026 #else
57027 char (*f) () = $ac_func;
57028 #endif
57029 #ifdef __cplusplus
57030 }
57031 #endif
57032
57033 int
57034 main ()
57035 {
57036 return f != $ac_func;
57037   ;
57038   return 0;
57039 }
57040 _ACEOF
57041 rm -f conftest.$ac_objext conftest$ac_exeext
57042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57043   (eval $ac_link) 2>conftest.er1
57044   ac_status=$?
57045   grep -v '^ *+' conftest.er1 >conftest.err
57046   rm -f conftest.er1
57047   cat conftest.err >&5
57048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049   (exit $ac_status); } &&
57050          { ac_try='test -z "$ac_c_werror_flag"
57051                          || test ! -s conftest.err'
57052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57053   (eval $ac_try) 2>&5
57054   ac_status=$?
57055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056   (exit $ac_status); }; } &&
57057          { ac_try='test -s conftest$ac_exeext'
57058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059   (eval $ac_try) 2>&5
57060   ac_status=$?
57061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062   (exit $ac_status); }; }; then
57063   eval "$as_ac_var=yes"
57064 else
57065   echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57067
57068 eval "$as_ac_var=no"
57069 fi
57070 rm -f conftest.err conftest.$ac_objext \
57071       conftest$ac_exeext conftest.$ac_ext
57072 fi
57073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57075 if test `eval echo '${'$as_ac_var'}'` = yes; then
57076   cat >>confdefs.h <<_ACEOF
57077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57078 _ACEOF
57079
57080 fi
57081 done
57082
57083     fi
57084   fi
57085
57086
57087
57088
57089
57090
57091   echo "$as_me:$LINENO: checking for logl declaration" >&5
57092 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57093   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57094     if test "${glibcxx_cv_func_logl_use+set}" = set; then
57095   echo $ECHO_N "(cached) $ECHO_C" >&6
57096 else
57097
57098
57099
57100       ac_ext=cc
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57105
57106       cat >conftest.$ac_ext <<_ACEOF
57107 /* confdefs.h.  */
57108 _ACEOF
57109 cat confdefs.h >>conftest.$ac_ext
57110 cat >>conftest.$ac_ext <<_ACEOF
57111 /* end confdefs.h.  */
57112 #include <math.h>
57113                       #ifdef HAVE_IEEEFP_H
57114                       #include <ieeefp.h>
57115                       #endif
57116
57117 int
57118 main ()
57119 {
57120  logl(0);
57121   ;
57122   return 0;
57123 }
57124 _ACEOF
57125 rm -f conftest.$ac_objext
57126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57127   (eval $ac_compile) 2>conftest.er1
57128   ac_status=$?
57129   grep -v '^ *+' conftest.er1 >conftest.err
57130   rm -f conftest.er1
57131   cat conftest.err >&5
57132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57133   (exit $ac_status); } &&
57134          { ac_try='test -z "$ac_cxx_werror_flag"
57135                          || test ! -s conftest.err'
57136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57137   (eval $ac_try) 2>&5
57138   ac_status=$?
57139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57140   (exit $ac_status); }; } &&
57141          { ac_try='test -s conftest.$ac_objext'
57142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143   (eval $ac_try) 2>&5
57144   ac_status=$?
57145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146   (exit $ac_status); }; }; then
57147   glibcxx_cv_func_logl_use=yes
57148 else
57149   echo "$as_me: failed program was:" >&5
57150 sed 's/^/| /' conftest.$ac_ext >&5
57151
57152 glibcxx_cv_func_logl_use=no
57153 fi
57154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57155       ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57160
57161
57162 fi
57163
57164   fi
57165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57166 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57167
57168   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57169
57170 for ac_func in logl
57171 do
57172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57173 echo "$as_me:$LINENO: checking for $ac_func" >&5
57174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57175 if eval "test \"\${$as_ac_var+set}\" = set"; then
57176   echo $ECHO_N "(cached) $ECHO_C" >&6
57177 else
57178   if test x$gcc_no_link = xyes; then
57179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57181    { (exit 1); exit 1; }; }
57182 fi
57183 cat >conftest.$ac_ext <<_ACEOF
57184 /* confdefs.h.  */
57185 _ACEOF
57186 cat confdefs.h >>conftest.$ac_ext
57187 cat >>conftest.$ac_ext <<_ACEOF
57188 /* end confdefs.h.  */
57189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57191 #define $ac_func innocuous_$ac_func
57192
57193 /* System header to define __stub macros and hopefully few prototypes,
57194     which can conflict with char $ac_func (); below.
57195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57196     <limits.h> exists even on freestanding compilers.  */
57197
57198 #ifdef __STDC__
57199 # include <limits.h>
57200 #else
57201 # include <assert.h>
57202 #endif
57203
57204 #undef $ac_func
57205
57206 /* Override any gcc2 internal prototype to avoid an error.  */
57207 #ifdef __cplusplus
57208 extern "C"
57209 {
57210 #endif
57211 /* We use char because int might match the return type of a gcc2
57212    builtin and then its argument prototype would still apply.  */
57213 char $ac_func ();
57214 /* The GNU C library defines this for functions which it implements
57215     to always fail with ENOSYS.  Some functions are actually named
57216     something starting with __ and the normal name is an alias.  */
57217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57218 choke me
57219 #else
57220 char (*f) () = $ac_func;
57221 #endif
57222 #ifdef __cplusplus
57223 }
57224 #endif
57225
57226 int
57227 main ()
57228 {
57229 return f != $ac_func;
57230   ;
57231   return 0;
57232 }
57233 _ACEOF
57234 rm -f conftest.$ac_objext conftest$ac_exeext
57235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57236   (eval $ac_link) 2>conftest.er1
57237   ac_status=$?
57238   grep -v '^ *+' conftest.er1 >conftest.err
57239   rm -f conftest.er1
57240   cat conftest.err >&5
57241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242   (exit $ac_status); } &&
57243          { ac_try='test -z "$ac_c_werror_flag"
57244                          || test ! -s conftest.err'
57245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57246   (eval $ac_try) 2>&5
57247   ac_status=$?
57248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57249   (exit $ac_status); }; } &&
57250          { ac_try='test -s conftest$ac_exeext'
57251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57252   (eval $ac_try) 2>&5
57253   ac_status=$?
57254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255   (exit $ac_status); }; }; then
57256   eval "$as_ac_var=yes"
57257 else
57258   echo "$as_me: failed program was:" >&5
57259 sed 's/^/| /' conftest.$ac_ext >&5
57260
57261 eval "$as_ac_var=no"
57262 fi
57263 rm -f conftest.err conftest.$ac_objext \
57264       conftest$ac_exeext conftest.$ac_ext
57265 fi
57266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57268 if test `eval echo '${'$as_ac_var'}'` = yes; then
57269   cat >>confdefs.h <<_ACEOF
57270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57271 _ACEOF
57272
57273 fi
57274 done
57275
57276   else
57277
57278   echo "$as_me:$LINENO: checking for _logl declaration" >&5
57279 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57280   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57281     if test "${glibcxx_cv_func__logl_use+set}" = set; then
57282   echo $ECHO_N "(cached) $ECHO_C" >&6
57283 else
57284
57285
57286
57287       ac_ext=cc
57288 ac_cpp='$CXXCPP $CPPFLAGS'
57289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57292
57293       cat >conftest.$ac_ext <<_ACEOF
57294 /* confdefs.h.  */
57295 _ACEOF
57296 cat confdefs.h >>conftest.$ac_ext
57297 cat >>conftest.$ac_ext <<_ACEOF
57298 /* end confdefs.h.  */
57299 #include <math.h>
57300                       #ifdef HAVE_IEEEFP_H
57301                       #include <ieeefp.h>
57302                       #endif
57303
57304 int
57305 main ()
57306 {
57307  _logl(0);
57308   ;
57309   return 0;
57310 }
57311 _ACEOF
57312 rm -f conftest.$ac_objext
57313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57314   (eval $ac_compile) 2>conftest.er1
57315   ac_status=$?
57316   grep -v '^ *+' conftest.er1 >conftest.err
57317   rm -f conftest.er1
57318   cat conftest.err >&5
57319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57320   (exit $ac_status); } &&
57321          { ac_try='test -z "$ac_cxx_werror_flag"
57322                          || test ! -s conftest.err'
57323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57324   (eval $ac_try) 2>&5
57325   ac_status=$?
57326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57327   (exit $ac_status); }; } &&
57328          { ac_try='test -s conftest.$ac_objext'
57329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57330   (eval $ac_try) 2>&5
57331   ac_status=$?
57332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333   (exit $ac_status); }; }; then
57334   glibcxx_cv_func__logl_use=yes
57335 else
57336   echo "$as_me: failed program was:" >&5
57337 sed 's/^/| /' conftest.$ac_ext >&5
57338
57339 glibcxx_cv_func__logl_use=no
57340 fi
57341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57342       ac_ext=c
57343 ac_cpp='$CPP $CPPFLAGS'
57344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57347
57348
57349 fi
57350
57351   fi
57352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
57353 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
57354
57355     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57356
57357 for ac_func in _logl
57358 do
57359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57360 echo "$as_me:$LINENO: checking for $ac_func" >&5
57361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57362 if eval "test \"\${$as_ac_var+set}\" = set"; then
57363   echo $ECHO_N "(cached) $ECHO_C" >&6
57364 else
57365   if test x$gcc_no_link = xyes; then
57366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57368    { (exit 1); exit 1; }; }
57369 fi
57370 cat >conftest.$ac_ext <<_ACEOF
57371 /* confdefs.h.  */
57372 _ACEOF
57373 cat confdefs.h >>conftest.$ac_ext
57374 cat >>conftest.$ac_ext <<_ACEOF
57375 /* end confdefs.h.  */
57376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57378 #define $ac_func innocuous_$ac_func
57379
57380 /* System header to define __stub macros and hopefully few prototypes,
57381     which can conflict with char $ac_func (); below.
57382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57383     <limits.h> exists even on freestanding compilers.  */
57384
57385 #ifdef __STDC__
57386 # include <limits.h>
57387 #else
57388 # include <assert.h>
57389 #endif
57390
57391 #undef $ac_func
57392
57393 /* Override any gcc2 internal prototype to avoid an error.  */
57394 #ifdef __cplusplus
57395 extern "C"
57396 {
57397 #endif
57398 /* We use char because int might match the return type of a gcc2
57399    builtin and then its argument prototype would still apply.  */
57400 char $ac_func ();
57401 /* The GNU C library defines this for functions which it implements
57402     to always fail with ENOSYS.  Some functions are actually named
57403     something starting with __ and the normal name is an alias.  */
57404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57405 choke me
57406 #else
57407 char (*f) () = $ac_func;
57408 #endif
57409 #ifdef __cplusplus
57410 }
57411 #endif
57412
57413 int
57414 main ()
57415 {
57416 return f != $ac_func;
57417   ;
57418   return 0;
57419 }
57420 _ACEOF
57421 rm -f conftest.$ac_objext conftest$ac_exeext
57422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57423   (eval $ac_link) 2>conftest.er1
57424   ac_status=$?
57425   grep -v '^ *+' conftest.er1 >conftest.err
57426   rm -f conftest.er1
57427   cat conftest.err >&5
57428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57429   (exit $ac_status); } &&
57430          { ac_try='test -z "$ac_c_werror_flag"
57431                          || test ! -s conftest.err'
57432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57433   (eval $ac_try) 2>&5
57434   ac_status=$?
57435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57436   (exit $ac_status); }; } &&
57437          { ac_try='test -s conftest$ac_exeext'
57438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57439   (eval $ac_try) 2>&5
57440   ac_status=$?
57441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57442   (exit $ac_status); }; }; then
57443   eval "$as_ac_var=yes"
57444 else
57445   echo "$as_me: failed program was:" >&5
57446 sed 's/^/| /' conftest.$ac_ext >&5
57447
57448 eval "$as_ac_var=no"
57449 fi
57450 rm -f conftest.err conftest.$ac_objext \
57451       conftest$ac_exeext conftest.$ac_ext
57452 fi
57453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57455 if test `eval echo '${'$as_ac_var'}'` = yes; then
57456   cat >>confdefs.h <<_ACEOF
57457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57458 _ACEOF
57459
57460 fi
57461 done
57462
57463     fi
57464   fi
57465
57466
57467
57468
57469
57470
57471   echo "$as_me:$LINENO: checking for log10l declaration" >&5
57472 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
57473   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57474     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
57475   echo $ECHO_N "(cached) $ECHO_C" >&6
57476 else
57477
57478
57479
57480       ac_ext=cc
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57485
57486       cat >conftest.$ac_ext <<_ACEOF
57487 /* confdefs.h.  */
57488 _ACEOF
57489 cat confdefs.h >>conftest.$ac_ext
57490 cat >>conftest.$ac_ext <<_ACEOF
57491 /* end confdefs.h.  */
57492 #include <math.h>
57493                       #ifdef HAVE_IEEEFP_H
57494                       #include <ieeefp.h>
57495                       #endif
57496
57497 int
57498 main ()
57499 {
57500  log10l(0);
57501   ;
57502   return 0;
57503 }
57504 _ACEOF
57505 rm -f conftest.$ac_objext
57506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57507   (eval $ac_compile) 2>conftest.er1
57508   ac_status=$?
57509   grep -v '^ *+' conftest.er1 >conftest.err
57510   rm -f conftest.er1
57511   cat conftest.err >&5
57512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57513   (exit $ac_status); } &&
57514          { ac_try='test -z "$ac_cxx_werror_flag"
57515                          || test ! -s conftest.err'
57516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57517   (eval $ac_try) 2>&5
57518   ac_status=$?
57519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57520   (exit $ac_status); }; } &&
57521          { ac_try='test -s conftest.$ac_objext'
57522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57523   (eval $ac_try) 2>&5
57524   ac_status=$?
57525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526   (exit $ac_status); }; }; then
57527   glibcxx_cv_func_log10l_use=yes
57528 else
57529   echo "$as_me: failed program was:" >&5
57530 sed 's/^/| /' conftest.$ac_ext >&5
57531
57532 glibcxx_cv_func_log10l_use=no
57533 fi
57534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57535       ac_ext=c
57536 ac_cpp='$CPP $CPPFLAGS'
57537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57540
57541
57542 fi
57543
57544   fi
57545   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
57546 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
57547
57548   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57549
57550 for ac_func in log10l
57551 do
57552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57553 echo "$as_me:$LINENO: checking for $ac_func" >&5
57554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57555 if eval "test \"\${$as_ac_var+set}\" = set"; then
57556   echo $ECHO_N "(cached) $ECHO_C" >&6
57557 else
57558   if test x$gcc_no_link = xyes; then
57559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57561    { (exit 1); exit 1; }; }
57562 fi
57563 cat >conftest.$ac_ext <<_ACEOF
57564 /* confdefs.h.  */
57565 _ACEOF
57566 cat confdefs.h >>conftest.$ac_ext
57567 cat >>conftest.$ac_ext <<_ACEOF
57568 /* end confdefs.h.  */
57569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57571 #define $ac_func innocuous_$ac_func
57572
57573 /* System header to define __stub macros and hopefully few prototypes,
57574     which can conflict with char $ac_func (); below.
57575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57576     <limits.h> exists even on freestanding compilers.  */
57577
57578 #ifdef __STDC__
57579 # include <limits.h>
57580 #else
57581 # include <assert.h>
57582 #endif
57583
57584 #undef $ac_func
57585
57586 /* Override any gcc2 internal prototype to avoid an error.  */
57587 #ifdef __cplusplus
57588 extern "C"
57589 {
57590 #endif
57591 /* We use char because int might match the return type of a gcc2
57592    builtin and then its argument prototype would still apply.  */
57593 char $ac_func ();
57594 /* The GNU C library defines this for functions which it implements
57595     to always fail with ENOSYS.  Some functions are actually named
57596     something starting with __ and the normal name is an alias.  */
57597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57598 choke me
57599 #else
57600 char (*f) () = $ac_func;
57601 #endif
57602 #ifdef __cplusplus
57603 }
57604 #endif
57605
57606 int
57607 main ()
57608 {
57609 return f != $ac_func;
57610   ;
57611   return 0;
57612 }
57613 _ACEOF
57614 rm -f conftest.$ac_objext conftest$ac_exeext
57615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57616   (eval $ac_link) 2>conftest.er1
57617   ac_status=$?
57618   grep -v '^ *+' conftest.er1 >conftest.err
57619   rm -f conftest.er1
57620   cat conftest.err >&5
57621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622   (exit $ac_status); } &&
57623          { ac_try='test -z "$ac_c_werror_flag"
57624                          || test ! -s conftest.err'
57625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57626   (eval $ac_try) 2>&5
57627   ac_status=$?
57628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57629   (exit $ac_status); }; } &&
57630          { ac_try='test -s conftest$ac_exeext'
57631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57632   (eval $ac_try) 2>&5
57633   ac_status=$?
57634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57635   (exit $ac_status); }; }; then
57636   eval "$as_ac_var=yes"
57637 else
57638   echo "$as_me: failed program was:" >&5
57639 sed 's/^/| /' conftest.$ac_ext >&5
57640
57641 eval "$as_ac_var=no"
57642 fi
57643 rm -f conftest.err conftest.$ac_objext \
57644       conftest$ac_exeext conftest.$ac_ext
57645 fi
57646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57648 if test `eval echo '${'$as_ac_var'}'` = yes; then
57649   cat >>confdefs.h <<_ACEOF
57650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57651 _ACEOF
57652
57653 fi
57654 done
57655
57656   else
57657
57658   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57659 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57660   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57661     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57662   echo $ECHO_N "(cached) $ECHO_C" >&6
57663 else
57664
57665
57666
57667       ac_ext=cc
57668 ac_cpp='$CXXCPP $CPPFLAGS'
57669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57672
57673       cat >conftest.$ac_ext <<_ACEOF
57674 /* confdefs.h.  */
57675 _ACEOF
57676 cat confdefs.h >>conftest.$ac_ext
57677 cat >>conftest.$ac_ext <<_ACEOF
57678 /* end confdefs.h.  */
57679 #include <math.h>
57680                       #ifdef HAVE_IEEEFP_H
57681                       #include <ieeefp.h>
57682                       #endif
57683
57684 int
57685 main ()
57686 {
57687  _log10l(0);
57688   ;
57689   return 0;
57690 }
57691 _ACEOF
57692 rm -f conftest.$ac_objext
57693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57694   (eval $ac_compile) 2>conftest.er1
57695   ac_status=$?
57696   grep -v '^ *+' conftest.er1 >conftest.err
57697   rm -f conftest.er1
57698   cat conftest.err >&5
57699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57700   (exit $ac_status); } &&
57701          { ac_try='test -z "$ac_cxx_werror_flag"
57702                          || test ! -s conftest.err'
57703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57704   (eval $ac_try) 2>&5
57705   ac_status=$?
57706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707   (exit $ac_status); }; } &&
57708          { ac_try='test -s conftest.$ac_objext'
57709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57710   (eval $ac_try) 2>&5
57711   ac_status=$?
57712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713   (exit $ac_status); }; }; then
57714   glibcxx_cv_func__log10l_use=yes
57715 else
57716   echo "$as_me: failed program was:" >&5
57717 sed 's/^/| /' conftest.$ac_ext >&5
57718
57719 glibcxx_cv_func__log10l_use=no
57720 fi
57721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57722       ac_ext=c
57723 ac_cpp='$CPP $CPPFLAGS'
57724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727
57728
57729 fi
57730
57731   fi
57732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57733 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57734
57735     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57736
57737 for ac_func in _log10l
57738 do
57739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57740 echo "$as_me:$LINENO: checking for $ac_func" >&5
57741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57742 if eval "test \"\${$as_ac_var+set}\" = set"; then
57743   echo $ECHO_N "(cached) $ECHO_C" >&6
57744 else
57745   if test x$gcc_no_link = xyes; then
57746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57748    { (exit 1); exit 1; }; }
57749 fi
57750 cat >conftest.$ac_ext <<_ACEOF
57751 /* confdefs.h.  */
57752 _ACEOF
57753 cat confdefs.h >>conftest.$ac_ext
57754 cat >>conftest.$ac_ext <<_ACEOF
57755 /* end confdefs.h.  */
57756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57758 #define $ac_func innocuous_$ac_func
57759
57760 /* System header to define __stub macros and hopefully few prototypes,
57761     which can conflict with char $ac_func (); below.
57762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57763     <limits.h> exists even on freestanding compilers.  */
57764
57765 #ifdef __STDC__
57766 # include <limits.h>
57767 #else
57768 # include <assert.h>
57769 #endif
57770
57771 #undef $ac_func
57772
57773 /* Override any gcc2 internal prototype to avoid an error.  */
57774 #ifdef __cplusplus
57775 extern "C"
57776 {
57777 #endif
57778 /* We use char because int might match the return type of a gcc2
57779    builtin and then its argument prototype would still apply.  */
57780 char $ac_func ();
57781 /* The GNU C library defines this for functions which it implements
57782     to always fail with ENOSYS.  Some functions are actually named
57783     something starting with __ and the normal name is an alias.  */
57784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57785 choke me
57786 #else
57787 char (*f) () = $ac_func;
57788 #endif
57789 #ifdef __cplusplus
57790 }
57791 #endif
57792
57793 int
57794 main ()
57795 {
57796 return f != $ac_func;
57797   ;
57798   return 0;
57799 }
57800 _ACEOF
57801 rm -f conftest.$ac_objext conftest$ac_exeext
57802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57803   (eval $ac_link) 2>conftest.er1
57804   ac_status=$?
57805   grep -v '^ *+' conftest.er1 >conftest.err
57806   rm -f conftest.er1
57807   cat conftest.err >&5
57808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57809   (exit $ac_status); } &&
57810          { ac_try='test -z "$ac_c_werror_flag"
57811                          || test ! -s conftest.err'
57812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57813   (eval $ac_try) 2>&5
57814   ac_status=$?
57815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57816   (exit $ac_status); }; } &&
57817          { ac_try='test -s conftest$ac_exeext'
57818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57819   (eval $ac_try) 2>&5
57820   ac_status=$?
57821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57822   (exit $ac_status); }; }; then
57823   eval "$as_ac_var=yes"
57824 else
57825   echo "$as_me: failed program was:" >&5
57826 sed 's/^/| /' conftest.$ac_ext >&5
57827
57828 eval "$as_ac_var=no"
57829 fi
57830 rm -f conftest.err conftest.$ac_objext \
57831       conftest$ac_exeext conftest.$ac_ext
57832 fi
57833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57835 if test `eval echo '${'$as_ac_var'}'` = yes; then
57836   cat >>confdefs.h <<_ACEOF
57837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57838 _ACEOF
57839
57840 fi
57841 done
57842
57843     fi
57844   fi
57845
57846
57847
57848
57849
57850
57851   echo "$as_me:$LINENO: checking for modfl declaration" >&5
57852 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57853   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57854     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57855   echo $ECHO_N "(cached) $ECHO_C" >&6
57856 else
57857
57858
57859
57860       ac_ext=cc
57861 ac_cpp='$CXXCPP $CPPFLAGS'
57862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57865
57866       cat >conftest.$ac_ext <<_ACEOF
57867 /* confdefs.h.  */
57868 _ACEOF
57869 cat confdefs.h >>conftest.$ac_ext
57870 cat >>conftest.$ac_ext <<_ACEOF
57871 /* end confdefs.h.  */
57872 #include <math.h>
57873 int
57874 main ()
57875 {
57876  modfl(0, 0);
57877   ;
57878   return 0;
57879 }
57880 _ACEOF
57881 rm -f conftest.$ac_objext
57882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57883   (eval $ac_compile) 2>conftest.er1
57884   ac_status=$?
57885   grep -v '^ *+' conftest.er1 >conftest.err
57886   rm -f conftest.er1
57887   cat conftest.err >&5
57888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57889   (exit $ac_status); } &&
57890          { ac_try='test -z "$ac_cxx_werror_flag"
57891                          || test ! -s conftest.err'
57892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57893   (eval $ac_try) 2>&5
57894   ac_status=$?
57895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896   (exit $ac_status); }; } &&
57897          { ac_try='test -s conftest.$ac_objext'
57898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57899   (eval $ac_try) 2>&5
57900   ac_status=$?
57901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902   (exit $ac_status); }; }; then
57903   glibcxx_cv_func_modfl_use=yes
57904 else
57905   echo "$as_me: failed program was:" >&5
57906 sed 's/^/| /' conftest.$ac_ext >&5
57907
57908 glibcxx_cv_func_modfl_use=no
57909 fi
57910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57911       ac_ext=c
57912 ac_cpp='$CPP $CPPFLAGS'
57913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57916
57917
57918 fi
57919
57920   fi
57921   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57922 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57923
57924   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57925
57926 for ac_func in modfl
57927 do
57928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57929 echo "$as_me:$LINENO: checking for $ac_func" >&5
57930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57931 if eval "test \"\${$as_ac_var+set}\" = set"; then
57932   echo $ECHO_N "(cached) $ECHO_C" >&6
57933 else
57934   if test x$gcc_no_link = xyes; then
57935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57937    { (exit 1); exit 1; }; }
57938 fi
57939 cat >conftest.$ac_ext <<_ACEOF
57940 /* confdefs.h.  */
57941 _ACEOF
57942 cat confdefs.h >>conftest.$ac_ext
57943 cat >>conftest.$ac_ext <<_ACEOF
57944 /* end confdefs.h.  */
57945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57947 #define $ac_func innocuous_$ac_func
57948
57949 /* System header to define __stub macros and hopefully few prototypes,
57950     which can conflict with char $ac_func (); below.
57951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57952     <limits.h> exists even on freestanding compilers.  */
57953
57954 #ifdef __STDC__
57955 # include <limits.h>
57956 #else
57957 # include <assert.h>
57958 #endif
57959
57960 #undef $ac_func
57961
57962 /* Override any gcc2 internal prototype to avoid an error.  */
57963 #ifdef __cplusplus
57964 extern "C"
57965 {
57966 #endif
57967 /* We use char because int might match the return type of a gcc2
57968    builtin and then its argument prototype would still apply.  */
57969 char $ac_func ();
57970 /* The GNU C library defines this for functions which it implements
57971     to always fail with ENOSYS.  Some functions are actually named
57972     something starting with __ and the normal name is an alias.  */
57973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57974 choke me
57975 #else
57976 char (*f) () = $ac_func;
57977 #endif
57978 #ifdef __cplusplus
57979 }
57980 #endif
57981
57982 int
57983 main ()
57984 {
57985 return f != $ac_func;
57986   ;
57987   return 0;
57988 }
57989 _ACEOF
57990 rm -f conftest.$ac_objext conftest$ac_exeext
57991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57992   (eval $ac_link) 2>conftest.er1
57993   ac_status=$?
57994   grep -v '^ *+' conftest.er1 >conftest.err
57995   rm -f conftest.er1
57996   cat conftest.err >&5
57997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998   (exit $ac_status); } &&
57999          { ac_try='test -z "$ac_c_werror_flag"
58000                          || test ! -s conftest.err'
58001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58002   (eval $ac_try) 2>&5
58003   ac_status=$?
58004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58005   (exit $ac_status); }; } &&
58006          { ac_try='test -s conftest$ac_exeext'
58007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58008   (eval $ac_try) 2>&5
58009   ac_status=$?
58010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58011   (exit $ac_status); }; }; then
58012   eval "$as_ac_var=yes"
58013 else
58014   echo "$as_me: failed program was:" >&5
58015 sed 's/^/| /' conftest.$ac_ext >&5
58016
58017 eval "$as_ac_var=no"
58018 fi
58019 rm -f conftest.err conftest.$ac_objext \
58020       conftest$ac_exeext conftest.$ac_ext
58021 fi
58022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58024 if test `eval echo '${'$as_ac_var'}'` = yes; then
58025   cat >>confdefs.h <<_ACEOF
58026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58027 _ACEOF
58028
58029 fi
58030 done
58031
58032   else
58033
58034   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58035 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58036   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58037     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58038   echo $ECHO_N "(cached) $ECHO_C" >&6
58039 else
58040
58041
58042
58043       ac_ext=cc
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58048
58049       cat >conftest.$ac_ext <<_ACEOF
58050 /* confdefs.h.  */
58051 _ACEOF
58052 cat confdefs.h >>conftest.$ac_ext
58053 cat >>conftest.$ac_ext <<_ACEOF
58054 /* end confdefs.h.  */
58055 #include <math.h>
58056 int
58057 main ()
58058 {
58059  _modfl(0, 0);
58060   ;
58061   return 0;
58062 }
58063 _ACEOF
58064 rm -f conftest.$ac_objext
58065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58066   (eval $ac_compile) 2>conftest.er1
58067   ac_status=$?
58068   grep -v '^ *+' conftest.er1 >conftest.err
58069   rm -f conftest.er1
58070   cat conftest.err >&5
58071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072   (exit $ac_status); } &&
58073          { ac_try='test -z "$ac_cxx_werror_flag"
58074                          || test ! -s conftest.err'
58075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58076   (eval $ac_try) 2>&5
58077   ac_status=$?
58078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079   (exit $ac_status); }; } &&
58080          { ac_try='test -s conftest.$ac_objext'
58081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58082   (eval $ac_try) 2>&5
58083   ac_status=$?
58084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58085   (exit $ac_status); }; }; then
58086   glibcxx_cv_func__modfl_use=yes
58087 else
58088   echo "$as_me: failed program was:" >&5
58089 sed 's/^/| /' conftest.$ac_ext >&5
58090
58091 glibcxx_cv_func__modfl_use=no
58092 fi
58093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58094       ac_ext=c
58095 ac_cpp='$CPP $CPPFLAGS'
58096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58099
58100
58101 fi
58102
58103   fi
58104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58105 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58106
58107     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58108
58109 for ac_func in _modfl
58110 do
58111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58112 echo "$as_me:$LINENO: checking for $ac_func" >&5
58113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58114 if eval "test \"\${$as_ac_var+set}\" = set"; then
58115   echo $ECHO_N "(cached) $ECHO_C" >&6
58116 else
58117   if test x$gcc_no_link = xyes; then
58118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58120    { (exit 1); exit 1; }; }
58121 fi
58122 cat >conftest.$ac_ext <<_ACEOF
58123 /* confdefs.h.  */
58124 _ACEOF
58125 cat confdefs.h >>conftest.$ac_ext
58126 cat >>conftest.$ac_ext <<_ACEOF
58127 /* end confdefs.h.  */
58128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58130 #define $ac_func innocuous_$ac_func
58131
58132 /* System header to define __stub macros and hopefully few prototypes,
58133     which can conflict with char $ac_func (); below.
58134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58135     <limits.h> exists even on freestanding compilers.  */
58136
58137 #ifdef __STDC__
58138 # include <limits.h>
58139 #else
58140 # include <assert.h>
58141 #endif
58142
58143 #undef $ac_func
58144
58145 /* Override any gcc2 internal prototype to avoid an error.  */
58146 #ifdef __cplusplus
58147 extern "C"
58148 {
58149 #endif
58150 /* We use char because int might match the return type of a gcc2
58151    builtin and then its argument prototype would still apply.  */
58152 char $ac_func ();
58153 /* The GNU C library defines this for functions which it implements
58154     to always fail with ENOSYS.  Some functions are actually named
58155     something starting with __ and the normal name is an alias.  */
58156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58157 choke me
58158 #else
58159 char (*f) () = $ac_func;
58160 #endif
58161 #ifdef __cplusplus
58162 }
58163 #endif
58164
58165 int
58166 main ()
58167 {
58168 return f != $ac_func;
58169   ;
58170   return 0;
58171 }
58172 _ACEOF
58173 rm -f conftest.$ac_objext conftest$ac_exeext
58174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58175   (eval $ac_link) 2>conftest.er1
58176   ac_status=$?
58177   grep -v '^ *+' conftest.er1 >conftest.err
58178   rm -f conftest.er1
58179   cat conftest.err >&5
58180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58181   (exit $ac_status); } &&
58182          { ac_try='test -z "$ac_c_werror_flag"
58183                          || test ! -s conftest.err'
58184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58185   (eval $ac_try) 2>&5
58186   ac_status=$?
58187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188   (exit $ac_status); }; } &&
58189          { ac_try='test -s conftest$ac_exeext'
58190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191   (eval $ac_try) 2>&5
58192   ac_status=$?
58193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194   (exit $ac_status); }; }; then
58195   eval "$as_ac_var=yes"
58196 else
58197   echo "$as_me: failed program was:" >&5
58198 sed 's/^/| /' conftest.$ac_ext >&5
58199
58200 eval "$as_ac_var=no"
58201 fi
58202 rm -f conftest.err conftest.$ac_objext \
58203       conftest$ac_exeext conftest.$ac_ext
58204 fi
58205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58207 if test `eval echo '${'$as_ac_var'}'` = yes; then
58208   cat >>confdefs.h <<_ACEOF
58209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58210 _ACEOF
58211
58212 fi
58213 done
58214
58215     fi
58216   fi
58217
58218
58219
58220
58221
58222
58223   echo "$as_me:$LINENO: checking for powl declaration" >&5
58224 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58225   if test x${glibcxx_cv_func_powl_use+set} != xset; then
58226     if test "${glibcxx_cv_func_powl_use+set}" = set; then
58227   echo $ECHO_N "(cached) $ECHO_C" >&6
58228 else
58229
58230
58231
58232       ac_ext=cc
58233 ac_cpp='$CXXCPP $CPPFLAGS'
58234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58237
58238       cat >conftest.$ac_ext <<_ACEOF
58239 /* confdefs.h.  */
58240 _ACEOF
58241 cat confdefs.h >>conftest.$ac_ext
58242 cat >>conftest.$ac_ext <<_ACEOF
58243 /* end confdefs.h.  */
58244 #include <math.h>
58245 int
58246 main ()
58247 {
58248  powl(0, 0);
58249   ;
58250   return 0;
58251 }
58252 _ACEOF
58253 rm -f conftest.$ac_objext
58254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58255   (eval $ac_compile) 2>conftest.er1
58256   ac_status=$?
58257   grep -v '^ *+' conftest.er1 >conftest.err
58258   rm -f conftest.er1
58259   cat conftest.err >&5
58260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261   (exit $ac_status); } &&
58262          { ac_try='test -z "$ac_cxx_werror_flag"
58263                          || test ! -s conftest.err'
58264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58265   (eval $ac_try) 2>&5
58266   ac_status=$?
58267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58268   (exit $ac_status); }; } &&
58269          { ac_try='test -s conftest.$ac_objext'
58270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58271   (eval $ac_try) 2>&5
58272   ac_status=$?
58273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58274   (exit $ac_status); }; }; then
58275   glibcxx_cv_func_powl_use=yes
58276 else
58277   echo "$as_me: failed program was:" >&5
58278 sed 's/^/| /' conftest.$ac_ext >&5
58279
58280 glibcxx_cv_func_powl_use=no
58281 fi
58282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58283       ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58288
58289
58290 fi
58291
58292   fi
58293   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58294 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58295
58296   if test x$glibcxx_cv_func_powl_use = x"yes"; then
58297
58298 for ac_func in powl
58299 do
58300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58301 echo "$as_me:$LINENO: checking for $ac_func" >&5
58302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58303 if eval "test \"\${$as_ac_var+set}\" = set"; then
58304   echo $ECHO_N "(cached) $ECHO_C" >&6
58305 else
58306   if test x$gcc_no_link = xyes; then
58307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58309    { (exit 1); exit 1; }; }
58310 fi
58311 cat >conftest.$ac_ext <<_ACEOF
58312 /* confdefs.h.  */
58313 _ACEOF
58314 cat confdefs.h >>conftest.$ac_ext
58315 cat >>conftest.$ac_ext <<_ACEOF
58316 /* end confdefs.h.  */
58317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58319 #define $ac_func innocuous_$ac_func
58320
58321 /* System header to define __stub macros and hopefully few prototypes,
58322     which can conflict with char $ac_func (); below.
58323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58324     <limits.h> exists even on freestanding compilers.  */
58325
58326 #ifdef __STDC__
58327 # include <limits.h>
58328 #else
58329 # include <assert.h>
58330 #endif
58331
58332 #undef $ac_func
58333
58334 /* Override any gcc2 internal prototype to avoid an error.  */
58335 #ifdef __cplusplus
58336 extern "C"
58337 {
58338 #endif
58339 /* We use char because int might match the return type of a gcc2
58340    builtin and then its argument prototype would still apply.  */
58341 char $ac_func ();
58342 /* The GNU C library defines this for functions which it implements
58343     to always fail with ENOSYS.  Some functions are actually named
58344     something starting with __ and the normal name is an alias.  */
58345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58346 choke me
58347 #else
58348 char (*f) () = $ac_func;
58349 #endif
58350 #ifdef __cplusplus
58351 }
58352 #endif
58353
58354 int
58355 main ()
58356 {
58357 return f != $ac_func;
58358   ;
58359   return 0;
58360 }
58361 _ACEOF
58362 rm -f conftest.$ac_objext conftest$ac_exeext
58363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58364   (eval $ac_link) 2>conftest.er1
58365   ac_status=$?
58366   grep -v '^ *+' conftest.er1 >conftest.err
58367   rm -f conftest.er1
58368   cat conftest.err >&5
58369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58370   (exit $ac_status); } &&
58371          { ac_try='test -z "$ac_c_werror_flag"
58372                          || test ! -s conftest.err'
58373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58374   (eval $ac_try) 2>&5
58375   ac_status=$?
58376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58377   (exit $ac_status); }; } &&
58378          { ac_try='test -s conftest$ac_exeext'
58379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58380   (eval $ac_try) 2>&5
58381   ac_status=$?
58382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58383   (exit $ac_status); }; }; then
58384   eval "$as_ac_var=yes"
58385 else
58386   echo "$as_me: failed program was:" >&5
58387 sed 's/^/| /' conftest.$ac_ext >&5
58388
58389 eval "$as_ac_var=no"
58390 fi
58391 rm -f conftest.err conftest.$ac_objext \
58392       conftest$ac_exeext conftest.$ac_ext
58393 fi
58394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58396 if test `eval echo '${'$as_ac_var'}'` = yes; then
58397   cat >>confdefs.h <<_ACEOF
58398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58399 _ACEOF
58400
58401 fi
58402 done
58403
58404   else
58405
58406   echo "$as_me:$LINENO: checking for _powl declaration" >&5
58407 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
58408   if test x${glibcxx_cv_func__powl_use+set} != xset; then
58409     if test "${glibcxx_cv_func__powl_use+set}" = set; then
58410   echo $ECHO_N "(cached) $ECHO_C" >&6
58411 else
58412
58413
58414
58415       ac_ext=cc
58416 ac_cpp='$CXXCPP $CPPFLAGS'
58417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58420
58421       cat >conftest.$ac_ext <<_ACEOF
58422 /* confdefs.h.  */
58423 _ACEOF
58424 cat confdefs.h >>conftest.$ac_ext
58425 cat >>conftest.$ac_ext <<_ACEOF
58426 /* end confdefs.h.  */
58427 #include <math.h>
58428 int
58429 main ()
58430 {
58431  _powl(0, 0);
58432   ;
58433   return 0;
58434 }
58435 _ACEOF
58436 rm -f conftest.$ac_objext
58437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58438   (eval $ac_compile) 2>conftest.er1
58439   ac_status=$?
58440   grep -v '^ *+' conftest.er1 >conftest.err
58441   rm -f conftest.er1
58442   cat conftest.err >&5
58443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58444   (exit $ac_status); } &&
58445          { ac_try='test -z "$ac_cxx_werror_flag"
58446                          || test ! -s conftest.err'
58447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58448   (eval $ac_try) 2>&5
58449   ac_status=$?
58450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58451   (exit $ac_status); }; } &&
58452          { ac_try='test -s conftest.$ac_objext'
58453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58454   (eval $ac_try) 2>&5
58455   ac_status=$?
58456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58457   (exit $ac_status); }; }; then
58458   glibcxx_cv_func__powl_use=yes
58459 else
58460   echo "$as_me: failed program was:" >&5
58461 sed 's/^/| /' conftest.$ac_ext >&5
58462
58463 glibcxx_cv_func__powl_use=no
58464 fi
58465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58466       ac_ext=c
58467 ac_cpp='$CPP $CPPFLAGS'
58468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58471
58472
58473 fi
58474
58475   fi
58476   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
58477 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
58478
58479     if test x$glibcxx_cv_func__powl_use = x"yes"; then
58480
58481 for ac_func in _powl
58482 do
58483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58484 echo "$as_me:$LINENO: checking for $ac_func" >&5
58485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58486 if eval "test \"\${$as_ac_var+set}\" = set"; then
58487   echo $ECHO_N "(cached) $ECHO_C" >&6
58488 else
58489   if test x$gcc_no_link = xyes; then
58490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58492    { (exit 1); exit 1; }; }
58493 fi
58494 cat >conftest.$ac_ext <<_ACEOF
58495 /* confdefs.h.  */
58496 _ACEOF
58497 cat confdefs.h >>conftest.$ac_ext
58498 cat >>conftest.$ac_ext <<_ACEOF
58499 /* end confdefs.h.  */
58500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58502 #define $ac_func innocuous_$ac_func
58503
58504 /* System header to define __stub macros and hopefully few prototypes,
58505     which can conflict with char $ac_func (); below.
58506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58507     <limits.h> exists even on freestanding compilers.  */
58508
58509 #ifdef __STDC__
58510 # include <limits.h>
58511 #else
58512 # include <assert.h>
58513 #endif
58514
58515 #undef $ac_func
58516
58517 /* Override any gcc2 internal prototype to avoid an error.  */
58518 #ifdef __cplusplus
58519 extern "C"
58520 {
58521 #endif
58522 /* We use char because int might match the return type of a gcc2
58523    builtin and then its argument prototype would still apply.  */
58524 char $ac_func ();
58525 /* The GNU C library defines this for functions which it implements
58526     to always fail with ENOSYS.  Some functions are actually named
58527     something starting with __ and the normal name is an alias.  */
58528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58529 choke me
58530 #else
58531 char (*f) () = $ac_func;
58532 #endif
58533 #ifdef __cplusplus
58534 }
58535 #endif
58536
58537 int
58538 main ()
58539 {
58540 return f != $ac_func;
58541   ;
58542   return 0;
58543 }
58544 _ACEOF
58545 rm -f conftest.$ac_objext conftest$ac_exeext
58546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58547   (eval $ac_link) 2>conftest.er1
58548   ac_status=$?
58549   grep -v '^ *+' conftest.er1 >conftest.err
58550   rm -f conftest.er1
58551   cat conftest.err >&5
58552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58553   (exit $ac_status); } &&
58554          { ac_try='test -z "$ac_c_werror_flag"
58555                          || test ! -s conftest.err'
58556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58557   (eval $ac_try) 2>&5
58558   ac_status=$?
58559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58560   (exit $ac_status); }; } &&
58561          { ac_try='test -s conftest$ac_exeext'
58562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58563   (eval $ac_try) 2>&5
58564   ac_status=$?
58565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58566   (exit $ac_status); }; }; then
58567   eval "$as_ac_var=yes"
58568 else
58569   echo "$as_me: failed program was:" >&5
58570 sed 's/^/| /' conftest.$ac_ext >&5
58571
58572 eval "$as_ac_var=no"
58573 fi
58574 rm -f conftest.err conftest.$ac_objext \
58575       conftest$ac_exeext conftest.$ac_ext
58576 fi
58577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58579 if test `eval echo '${'$as_ac_var'}'` = yes; then
58580   cat >>confdefs.h <<_ACEOF
58581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58582 _ACEOF
58583
58584 fi
58585 done
58586
58587     fi
58588   fi
58589
58590
58591
58592
58593
58594
58595   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58596 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58597   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58598     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58599   echo $ECHO_N "(cached) $ECHO_C" >&6
58600 else
58601
58602
58603
58604       ac_ext=cc
58605 ac_cpp='$CXXCPP $CPPFLAGS'
58606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58609
58610       cat >conftest.$ac_ext <<_ACEOF
58611 /* confdefs.h.  */
58612 _ACEOF
58613 cat confdefs.h >>conftest.$ac_ext
58614 cat >>conftest.$ac_ext <<_ACEOF
58615 /* end confdefs.h.  */
58616 #include <math.h>
58617                       #ifdef HAVE_IEEEFP_H
58618                       #include <ieeefp.h>
58619                       #endif
58620
58621 int
58622 main ()
58623 {
58624  sqrtl(0);
58625   ;
58626   return 0;
58627 }
58628 _ACEOF
58629 rm -f conftest.$ac_objext
58630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58631   (eval $ac_compile) 2>conftest.er1
58632   ac_status=$?
58633   grep -v '^ *+' conftest.er1 >conftest.err
58634   rm -f conftest.er1
58635   cat conftest.err >&5
58636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58637   (exit $ac_status); } &&
58638          { ac_try='test -z "$ac_cxx_werror_flag"
58639                          || test ! -s conftest.err'
58640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58641   (eval $ac_try) 2>&5
58642   ac_status=$?
58643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58644   (exit $ac_status); }; } &&
58645          { ac_try='test -s conftest.$ac_objext'
58646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58647   (eval $ac_try) 2>&5
58648   ac_status=$?
58649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58650   (exit $ac_status); }; }; then
58651   glibcxx_cv_func_sqrtl_use=yes
58652 else
58653   echo "$as_me: failed program was:" >&5
58654 sed 's/^/| /' conftest.$ac_ext >&5
58655
58656 glibcxx_cv_func_sqrtl_use=no
58657 fi
58658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58659       ac_ext=c
58660 ac_cpp='$CPP $CPPFLAGS'
58661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58664
58665
58666 fi
58667
58668   fi
58669   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58670 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58671
58672   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58673
58674 for ac_func in sqrtl
58675 do
58676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58677 echo "$as_me:$LINENO: checking for $ac_func" >&5
58678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58679 if eval "test \"\${$as_ac_var+set}\" = set"; then
58680   echo $ECHO_N "(cached) $ECHO_C" >&6
58681 else
58682   if test x$gcc_no_link = xyes; then
58683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58685    { (exit 1); exit 1; }; }
58686 fi
58687 cat >conftest.$ac_ext <<_ACEOF
58688 /* confdefs.h.  */
58689 _ACEOF
58690 cat confdefs.h >>conftest.$ac_ext
58691 cat >>conftest.$ac_ext <<_ACEOF
58692 /* end confdefs.h.  */
58693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58695 #define $ac_func innocuous_$ac_func
58696
58697 /* System header to define __stub macros and hopefully few prototypes,
58698     which can conflict with char $ac_func (); below.
58699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58700     <limits.h> exists even on freestanding compilers.  */
58701
58702 #ifdef __STDC__
58703 # include <limits.h>
58704 #else
58705 # include <assert.h>
58706 #endif
58707
58708 #undef $ac_func
58709
58710 /* Override any gcc2 internal prototype to avoid an error.  */
58711 #ifdef __cplusplus
58712 extern "C"
58713 {
58714 #endif
58715 /* We use char because int might match the return type of a gcc2
58716    builtin and then its argument prototype would still apply.  */
58717 char $ac_func ();
58718 /* The GNU C library defines this for functions which it implements
58719     to always fail with ENOSYS.  Some functions are actually named
58720     something starting with __ and the normal name is an alias.  */
58721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58722 choke me
58723 #else
58724 char (*f) () = $ac_func;
58725 #endif
58726 #ifdef __cplusplus
58727 }
58728 #endif
58729
58730 int
58731 main ()
58732 {
58733 return f != $ac_func;
58734   ;
58735   return 0;
58736 }
58737 _ACEOF
58738 rm -f conftest.$ac_objext conftest$ac_exeext
58739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58740   (eval $ac_link) 2>conftest.er1
58741   ac_status=$?
58742   grep -v '^ *+' conftest.er1 >conftest.err
58743   rm -f conftest.er1
58744   cat conftest.err >&5
58745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58746   (exit $ac_status); } &&
58747          { ac_try='test -z "$ac_c_werror_flag"
58748                          || test ! -s conftest.err'
58749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58750   (eval $ac_try) 2>&5
58751   ac_status=$?
58752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58753   (exit $ac_status); }; } &&
58754          { ac_try='test -s conftest$ac_exeext'
58755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58756   (eval $ac_try) 2>&5
58757   ac_status=$?
58758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58759   (exit $ac_status); }; }; then
58760   eval "$as_ac_var=yes"
58761 else
58762   echo "$as_me: failed program was:" >&5
58763 sed 's/^/| /' conftest.$ac_ext >&5
58764
58765 eval "$as_ac_var=no"
58766 fi
58767 rm -f conftest.err conftest.$ac_objext \
58768       conftest$ac_exeext conftest.$ac_ext
58769 fi
58770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58772 if test `eval echo '${'$as_ac_var'}'` = yes; then
58773   cat >>confdefs.h <<_ACEOF
58774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58775 _ACEOF
58776
58777 fi
58778 done
58779
58780   else
58781
58782   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58783 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58784   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58785     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58786   echo $ECHO_N "(cached) $ECHO_C" >&6
58787 else
58788
58789
58790
58791       ac_ext=cc
58792 ac_cpp='$CXXCPP $CPPFLAGS'
58793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58796
58797       cat >conftest.$ac_ext <<_ACEOF
58798 /* confdefs.h.  */
58799 _ACEOF
58800 cat confdefs.h >>conftest.$ac_ext
58801 cat >>conftest.$ac_ext <<_ACEOF
58802 /* end confdefs.h.  */
58803 #include <math.h>
58804                       #ifdef HAVE_IEEEFP_H
58805                       #include <ieeefp.h>
58806                       #endif
58807
58808 int
58809 main ()
58810 {
58811  _sqrtl(0);
58812   ;
58813   return 0;
58814 }
58815 _ACEOF
58816 rm -f conftest.$ac_objext
58817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58818   (eval $ac_compile) 2>conftest.er1
58819   ac_status=$?
58820   grep -v '^ *+' conftest.er1 >conftest.err
58821   rm -f conftest.er1
58822   cat conftest.err >&5
58823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58824   (exit $ac_status); } &&
58825          { ac_try='test -z "$ac_cxx_werror_flag"
58826                          || test ! -s conftest.err'
58827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58828   (eval $ac_try) 2>&5
58829   ac_status=$?
58830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58831   (exit $ac_status); }; } &&
58832          { ac_try='test -s conftest.$ac_objext'
58833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58834   (eval $ac_try) 2>&5
58835   ac_status=$?
58836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58837   (exit $ac_status); }; }; then
58838   glibcxx_cv_func__sqrtl_use=yes
58839 else
58840   echo "$as_me: failed program was:" >&5
58841 sed 's/^/| /' conftest.$ac_ext >&5
58842
58843 glibcxx_cv_func__sqrtl_use=no
58844 fi
58845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58846       ac_ext=c
58847 ac_cpp='$CPP $CPPFLAGS'
58848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58851
58852
58853 fi
58854
58855   fi
58856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58857 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58858
58859     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58860
58861 for ac_func in _sqrtl
58862 do
58863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58864 echo "$as_me:$LINENO: checking for $ac_func" >&5
58865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58866 if eval "test \"\${$as_ac_var+set}\" = set"; then
58867   echo $ECHO_N "(cached) $ECHO_C" >&6
58868 else
58869   if test x$gcc_no_link = xyes; then
58870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58872    { (exit 1); exit 1; }; }
58873 fi
58874 cat >conftest.$ac_ext <<_ACEOF
58875 /* confdefs.h.  */
58876 _ACEOF
58877 cat confdefs.h >>conftest.$ac_ext
58878 cat >>conftest.$ac_ext <<_ACEOF
58879 /* end confdefs.h.  */
58880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58882 #define $ac_func innocuous_$ac_func
58883
58884 /* System header to define __stub macros and hopefully few prototypes,
58885     which can conflict with char $ac_func (); below.
58886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58887     <limits.h> exists even on freestanding compilers.  */
58888
58889 #ifdef __STDC__
58890 # include <limits.h>
58891 #else
58892 # include <assert.h>
58893 #endif
58894
58895 #undef $ac_func
58896
58897 /* Override any gcc2 internal prototype to avoid an error.  */
58898 #ifdef __cplusplus
58899 extern "C"
58900 {
58901 #endif
58902 /* We use char because int might match the return type of a gcc2
58903    builtin and then its argument prototype would still apply.  */
58904 char $ac_func ();
58905 /* The GNU C library defines this for functions which it implements
58906     to always fail with ENOSYS.  Some functions are actually named
58907     something starting with __ and the normal name is an alias.  */
58908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58909 choke me
58910 #else
58911 char (*f) () = $ac_func;
58912 #endif
58913 #ifdef __cplusplus
58914 }
58915 #endif
58916
58917 int
58918 main ()
58919 {
58920 return f != $ac_func;
58921   ;
58922   return 0;
58923 }
58924 _ACEOF
58925 rm -f conftest.$ac_objext conftest$ac_exeext
58926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58927   (eval $ac_link) 2>conftest.er1
58928   ac_status=$?
58929   grep -v '^ *+' conftest.er1 >conftest.err
58930   rm -f conftest.er1
58931   cat conftest.err >&5
58932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58933   (exit $ac_status); } &&
58934          { ac_try='test -z "$ac_c_werror_flag"
58935                          || test ! -s conftest.err'
58936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58937   (eval $ac_try) 2>&5
58938   ac_status=$?
58939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58940   (exit $ac_status); }; } &&
58941          { ac_try='test -s conftest$ac_exeext'
58942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58943   (eval $ac_try) 2>&5
58944   ac_status=$?
58945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58946   (exit $ac_status); }; }; then
58947   eval "$as_ac_var=yes"
58948 else
58949   echo "$as_me: failed program was:" >&5
58950 sed 's/^/| /' conftest.$ac_ext >&5
58951
58952 eval "$as_ac_var=no"
58953 fi
58954 rm -f conftest.err conftest.$ac_objext \
58955       conftest$ac_exeext conftest.$ac_ext
58956 fi
58957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58959 if test `eval echo '${'$as_ac_var'}'` = yes; then
58960   cat >>confdefs.h <<_ACEOF
58961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58962 _ACEOF
58963
58964 fi
58965 done
58966
58967     fi
58968   fi
58969
58970
58971
58972
58973
58974
58975   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58976 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58977   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58978     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58979   echo $ECHO_N "(cached) $ECHO_C" >&6
58980 else
58981
58982
58983
58984       ac_ext=cc
58985 ac_cpp='$CXXCPP $CPPFLAGS'
58986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58989
58990       cat >conftest.$ac_ext <<_ACEOF
58991 /* confdefs.h.  */
58992 _ACEOF
58993 cat confdefs.h >>conftest.$ac_ext
58994 cat >>conftest.$ac_ext <<_ACEOF
58995 /* end confdefs.h.  */
58996 #include <math.h>
58997 int
58998 main ()
58999 {
59000  sincosl(0, 0, 0);
59001   ;
59002   return 0;
59003 }
59004 _ACEOF
59005 rm -f conftest.$ac_objext
59006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59007   (eval $ac_compile) 2>conftest.er1
59008   ac_status=$?
59009   grep -v '^ *+' conftest.er1 >conftest.err
59010   rm -f conftest.er1
59011   cat conftest.err >&5
59012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59013   (exit $ac_status); } &&
59014          { ac_try='test -z "$ac_cxx_werror_flag"
59015                          || test ! -s conftest.err'
59016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59017   (eval $ac_try) 2>&5
59018   ac_status=$?
59019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59020   (exit $ac_status); }; } &&
59021          { ac_try='test -s conftest.$ac_objext'
59022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59023   (eval $ac_try) 2>&5
59024   ac_status=$?
59025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59026   (exit $ac_status); }; }; then
59027   glibcxx_cv_func_sincosl_use=yes
59028 else
59029   echo "$as_me: failed program was:" >&5
59030 sed 's/^/| /' conftest.$ac_ext >&5
59031
59032 glibcxx_cv_func_sincosl_use=no
59033 fi
59034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59035       ac_ext=c
59036 ac_cpp='$CPP $CPPFLAGS'
59037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59040
59041
59042 fi
59043
59044   fi
59045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59046 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59047
59048   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59049
59050 for ac_func in sincosl
59051 do
59052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59053 echo "$as_me:$LINENO: checking for $ac_func" >&5
59054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59055 if eval "test \"\${$as_ac_var+set}\" = set"; then
59056   echo $ECHO_N "(cached) $ECHO_C" >&6
59057 else
59058   if test x$gcc_no_link = xyes; then
59059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59061    { (exit 1); exit 1; }; }
59062 fi
59063 cat >conftest.$ac_ext <<_ACEOF
59064 /* confdefs.h.  */
59065 _ACEOF
59066 cat confdefs.h >>conftest.$ac_ext
59067 cat >>conftest.$ac_ext <<_ACEOF
59068 /* end confdefs.h.  */
59069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59071 #define $ac_func innocuous_$ac_func
59072
59073 /* System header to define __stub macros and hopefully few prototypes,
59074     which can conflict with char $ac_func (); below.
59075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59076     <limits.h> exists even on freestanding compilers.  */
59077
59078 #ifdef __STDC__
59079 # include <limits.h>
59080 #else
59081 # include <assert.h>
59082 #endif
59083
59084 #undef $ac_func
59085
59086 /* Override any gcc2 internal prototype to avoid an error.  */
59087 #ifdef __cplusplus
59088 extern "C"
59089 {
59090 #endif
59091 /* We use char because int might match the return type of a gcc2
59092    builtin and then its argument prototype would still apply.  */
59093 char $ac_func ();
59094 /* The GNU C library defines this for functions which it implements
59095     to always fail with ENOSYS.  Some functions are actually named
59096     something starting with __ and the normal name is an alias.  */
59097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59098 choke me
59099 #else
59100 char (*f) () = $ac_func;
59101 #endif
59102 #ifdef __cplusplus
59103 }
59104 #endif
59105
59106 int
59107 main ()
59108 {
59109 return f != $ac_func;
59110   ;
59111   return 0;
59112 }
59113 _ACEOF
59114 rm -f conftest.$ac_objext conftest$ac_exeext
59115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59116   (eval $ac_link) 2>conftest.er1
59117   ac_status=$?
59118   grep -v '^ *+' conftest.er1 >conftest.err
59119   rm -f conftest.er1
59120   cat conftest.err >&5
59121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59122   (exit $ac_status); } &&
59123          { ac_try='test -z "$ac_c_werror_flag"
59124                          || test ! -s conftest.err'
59125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59126   (eval $ac_try) 2>&5
59127   ac_status=$?
59128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59129   (exit $ac_status); }; } &&
59130          { ac_try='test -s conftest$ac_exeext'
59131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59132   (eval $ac_try) 2>&5
59133   ac_status=$?
59134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59135   (exit $ac_status); }; }; then
59136   eval "$as_ac_var=yes"
59137 else
59138   echo "$as_me: failed program was:" >&5
59139 sed 's/^/| /' conftest.$ac_ext >&5
59140
59141 eval "$as_ac_var=no"
59142 fi
59143 rm -f conftest.err conftest.$ac_objext \
59144       conftest$ac_exeext conftest.$ac_ext
59145 fi
59146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59148 if test `eval echo '${'$as_ac_var'}'` = yes; then
59149   cat >>confdefs.h <<_ACEOF
59150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59151 _ACEOF
59152
59153 fi
59154 done
59155
59156   else
59157
59158   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59159 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59160   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59161     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59162   echo $ECHO_N "(cached) $ECHO_C" >&6
59163 else
59164
59165
59166
59167       ac_ext=cc
59168 ac_cpp='$CXXCPP $CPPFLAGS'
59169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59172
59173       cat >conftest.$ac_ext <<_ACEOF
59174 /* confdefs.h.  */
59175 _ACEOF
59176 cat confdefs.h >>conftest.$ac_ext
59177 cat >>conftest.$ac_ext <<_ACEOF
59178 /* end confdefs.h.  */
59179 #include <math.h>
59180 int
59181 main ()
59182 {
59183  _sincosl(0, 0, 0);
59184   ;
59185   return 0;
59186 }
59187 _ACEOF
59188 rm -f conftest.$ac_objext
59189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59190   (eval $ac_compile) 2>conftest.er1
59191   ac_status=$?
59192   grep -v '^ *+' conftest.er1 >conftest.err
59193   rm -f conftest.er1
59194   cat conftest.err >&5
59195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196   (exit $ac_status); } &&
59197          { ac_try='test -z "$ac_cxx_werror_flag"
59198                          || test ! -s conftest.err'
59199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59200   (eval $ac_try) 2>&5
59201   ac_status=$?
59202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59203   (exit $ac_status); }; } &&
59204          { ac_try='test -s conftest.$ac_objext'
59205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59206   (eval $ac_try) 2>&5
59207   ac_status=$?
59208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59209   (exit $ac_status); }; }; then
59210   glibcxx_cv_func__sincosl_use=yes
59211 else
59212   echo "$as_me: failed program was:" >&5
59213 sed 's/^/| /' conftest.$ac_ext >&5
59214
59215 glibcxx_cv_func__sincosl_use=no
59216 fi
59217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59218       ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59223
59224
59225 fi
59226
59227   fi
59228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59229 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59230
59231     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59232
59233 for ac_func in _sincosl
59234 do
59235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59236 echo "$as_me:$LINENO: checking for $ac_func" >&5
59237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59238 if eval "test \"\${$as_ac_var+set}\" = set"; then
59239   echo $ECHO_N "(cached) $ECHO_C" >&6
59240 else
59241   if test x$gcc_no_link = xyes; then
59242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59244    { (exit 1); exit 1; }; }
59245 fi
59246 cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h.  */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h.  */
59252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59254 #define $ac_func innocuous_$ac_func
59255
59256 /* System header to define __stub macros and hopefully few prototypes,
59257     which can conflict with char $ac_func (); below.
59258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59259     <limits.h> exists even on freestanding compilers.  */
59260
59261 #ifdef __STDC__
59262 # include <limits.h>
59263 #else
59264 # include <assert.h>
59265 #endif
59266
59267 #undef $ac_func
59268
59269 /* Override any gcc2 internal prototype to avoid an error.  */
59270 #ifdef __cplusplus
59271 extern "C"
59272 {
59273 #endif
59274 /* We use char because int might match the return type of a gcc2
59275    builtin and then its argument prototype would still apply.  */
59276 char $ac_func ();
59277 /* The GNU C library defines this for functions which it implements
59278     to always fail with ENOSYS.  Some functions are actually named
59279     something starting with __ and the normal name is an alias.  */
59280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59281 choke me
59282 #else
59283 char (*f) () = $ac_func;
59284 #endif
59285 #ifdef __cplusplus
59286 }
59287 #endif
59288
59289 int
59290 main ()
59291 {
59292 return f != $ac_func;
59293   ;
59294   return 0;
59295 }
59296 _ACEOF
59297 rm -f conftest.$ac_objext conftest$ac_exeext
59298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59299   (eval $ac_link) 2>conftest.er1
59300   ac_status=$?
59301   grep -v '^ *+' conftest.er1 >conftest.err
59302   rm -f conftest.er1
59303   cat conftest.err >&5
59304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305   (exit $ac_status); } &&
59306          { ac_try='test -z "$ac_c_werror_flag"
59307                          || test ! -s conftest.err'
59308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59309   (eval $ac_try) 2>&5
59310   ac_status=$?
59311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59312   (exit $ac_status); }; } &&
59313          { ac_try='test -s conftest$ac_exeext'
59314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59315   (eval $ac_try) 2>&5
59316   ac_status=$?
59317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59318   (exit $ac_status); }; }; then
59319   eval "$as_ac_var=yes"
59320 else
59321   echo "$as_me: failed program was:" >&5
59322 sed 's/^/| /' conftest.$ac_ext >&5
59323
59324 eval "$as_ac_var=no"
59325 fi
59326 rm -f conftest.err conftest.$ac_objext \
59327       conftest$ac_exeext conftest.$ac_ext
59328 fi
59329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59331 if test `eval echo '${'$as_ac_var'}'` = yes; then
59332   cat >>confdefs.h <<_ACEOF
59333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59334 _ACEOF
59335
59336 fi
59337 done
59338
59339     fi
59340   fi
59341
59342
59343
59344
59345
59346
59347   echo "$as_me:$LINENO: checking for finitel declaration" >&5
59348 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
59349   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59350     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
59351   echo $ECHO_N "(cached) $ECHO_C" >&6
59352 else
59353
59354
59355
59356       ac_ext=cc
59357 ac_cpp='$CXXCPP $CPPFLAGS'
59358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59361
59362       cat >conftest.$ac_ext <<_ACEOF
59363 /* confdefs.h.  */
59364 _ACEOF
59365 cat confdefs.h >>conftest.$ac_ext
59366 cat >>conftest.$ac_ext <<_ACEOF
59367 /* end confdefs.h.  */
59368 #include <math.h>
59369                       #ifdef HAVE_IEEEFP_H
59370                       #include <ieeefp.h>
59371                       #endif
59372
59373 int
59374 main ()
59375 {
59376  finitel(0);
59377   ;
59378   return 0;
59379 }
59380 _ACEOF
59381 rm -f conftest.$ac_objext
59382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59383   (eval $ac_compile) 2>conftest.er1
59384   ac_status=$?
59385   grep -v '^ *+' conftest.er1 >conftest.err
59386   rm -f conftest.er1
59387   cat conftest.err >&5
59388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59389   (exit $ac_status); } &&
59390          { ac_try='test -z "$ac_cxx_werror_flag"
59391                          || test ! -s conftest.err'
59392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59393   (eval $ac_try) 2>&5
59394   ac_status=$?
59395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59396   (exit $ac_status); }; } &&
59397          { ac_try='test -s conftest.$ac_objext'
59398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59399   (eval $ac_try) 2>&5
59400   ac_status=$?
59401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59402   (exit $ac_status); }; }; then
59403   glibcxx_cv_func_finitel_use=yes
59404 else
59405   echo "$as_me: failed program was:" >&5
59406 sed 's/^/| /' conftest.$ac_ext >&5
59407
59408 glibcxx_cv_func_finitel_use=no
59409 fi
59410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59411       ac_ext=c
59412 ac_cpp='$CPP $CPPFLAGS'
59413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416
59417
59418 fi
59419
59420   fi
59421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
59422 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
59423
59424   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59425
59426 for ac_func in finitel
59427 do
59428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59429 echo "$as_me:$LINENO: checking for $ac_func" >&5
59430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59431 if eval "test \"\${$as_ac_var+set}\" = set"; then
59432   echo $ECHO_N "(cached) $ECHO_C" >&6
59433 else
59434   if test x$gcc_no_link = xyes; then
59435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59437    { (exit 1); exit 1; }; }
59438 fi
59439 cat >conftest.$ac_ext <<_ACEOF
59440 /* confdefs.h.  */
59441 _ACEOF
59442 cat confdefs.h >>conftest.$ac_ext
59443 cat >>conftest.$ac_ext <<_ACEOF
59444 /* end confdefs.h.  */
59445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59447 #define $ac_func innocuous_$ac_func
59448
59449 /* System header to define __stub macros and hopefully few prototypes,
59450     which can conflict with char $ac_func (); below.
59451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59452     <limits.h> exists even on freestanding compilers.  */
59453
59454 #ifdef __STDC__
59455 # include <limits.h>
59456 #else
59457 # include <assert.h>
59458 #endif
59459
59460 #undef $ac_func
59461
59462 /* Override any gcc2 internal prototype to avoid an error.  */
59463 #ifdef __cplusplus
59464 extern "C"
59465 {
59466 #endif
59467 /* We use char because int might match the return type of a gcc2
59468    builtin and then its argument prototype would still apply.  */
59469 char $ac_func ();
59470 /* The GNU C library defines this for functions which it implements
59471     to always fail with ENOSYS.  Some functions are actually named
59472     something starting with __ and the normal name is an alias.  */
59473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59474 choke me
59475 #else
59476 char (*f) () = $ac_func;
59477 #endif
59478 #ifdef __cplusplus
59479 }
59480 #endif
59481
59482 int
59483 main ()
59484 {
59485 return f != $ac_func;
59486   ;
59487   return 0;
59488 }
59489 _ACEOF
59490 rm -f conftest.$ac_objext conftest$ac_exeext
59491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59492   (eval $ac_link) 2>conftest.er1
59493   ac_status=$?
59494   grep -v '^ *+' conftest.er1 >conftest.err
59495   rm -f conftest.er1
59496   cat conftest.err >&5
59497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498   (exit $ac_status); } &&
59499          { ac_try='test -z "$ac_c_werror_flag"
59500                          || test ! -s conftest.err'
59501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59502   (eval $ac_try) 2>&5
59503   ac_status=$?
59504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59505   (exit $ac_status); }; } &&
59506          { ac_try='test -s conftest$ac_exeext'
59507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59508   (eval $ac_try) 2>&5
59509   ac_status=$?
59510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59511   (exit $ac_status); }; }; then
59512   eval "$as_ac_var=yes"
59513 else
59514   echo "$as_me: failed program was:" >&5
59515 sed 's/^/| /' conftest.$ac_ext >&5
59516
59517 eval "$as_ac_var=no"
59518 fi
59519 rm -f conftest.err conftest.$ac_objext \
59520       conftest$ac_exeext conftest.$ac_ext
59521 fi
59522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59524 if test `eval echo '${'$as_ac_var'}'` = yes; then
59525   cat >>confdefs.h <<_ACEOF
59526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59527 _ACEOF
59528
59529 fi
59530 done
59531
59532   else
59533
59534   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
59535 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
59536   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59537     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
59538   echo $ECHO_N "(cached) $ECHO_C" >&6
59539 else
59540
59541
59542
59543       ac_ext=cc
59544 ac_cpp='$CXXCPP $CPPFLAGS'
59545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59548
59549       cat >conftest.$ac_ext <<_ACEOF
59550 /* confdefs.h.  */
59551 _ACEOF
59552 cat confdefs.h >>conftest.$ac_ext
59553 cat >>conftest.$ac_ext <<_ACEOF
59554 /* end confdefs.h.  */
59555 #include <math.h>
59556                       #ifdef HAVE_IEEEFP_H
59557                       #include <ieeefp.h>
59558                       #endif
59559
59560 int
59561 main ()
59562 {
59563  _finitel(0);
59564   ;
59565   return 0;
59566 }
59567 _ACEOF
59568 rm -f conftest.$ac_objext
59569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59570   (eval $ac_compile) 2>conftest.er1
59571   ac_status=$?
59572   grep -v '^ *+' conftest.er1 >conftest.err
59573   rm -f conftest.er1
59574   cat conftest.err >&5
59575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59576   (exit $ac_status); } &&
59577          { ac_try='test -z "$ac_cxx_werror_flag"
59578                          || test ! -s conftest.err'
59579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59580   (eval $ac_try) 2>&5
59581   ac_status=$?
59582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59583   (exit $ac_status); }; } &&
59584          { ac_try='test -s conftest.$ac_objext'
59585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59586   (eval $ac_try) 2>&5
59587   ac_status=$?
59588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59589   (exit $ac_status); }; }; then
59590   glibcxx_cv_func__finitel_use=yes
59591 else
59592   echo "$as_me: failed program was:" >&5
59593 sed 's/^/| /' conftest.$ac_ext >&5
59594
59595 glibcxx_cv_func__finitel_use=no
59596 fi
59597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59598       ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603
59604
59605 fi
59606
59607   fi
59608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59609 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59610
59611     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59612
59613 for ac_func in _finitel
59614 do
59615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59616 echo "$as_me:$LINENO: checking for $ac_func" >&5
59617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59618 if eval "test \"\${$as_ac_var+set}\" = set"; then
59619   echo $ECHO_N "(cached) $ECHO_C" >&6
59620 else
59621   if test x$gcc_no_link = xyes; then
59622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59624    { (exit 1); exit 1; }; }
59625 fi
59626 cat >conftest.$ac_ext <<_ACEOF
59627 /* confdefs.h.  */
59628 _ACEOF
59629 cat confdefs.h >>conftest.$ac_ext
59630 cat >>conftest.$ac_ext <<_ACEOF
59631 /* end confdefs.h.  */
59632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59634 #define $ac_func innocuous_$ac_func
59635
59636 /* System header to define __stub macros and hopefully few prototypes,
59637     which can conflict with char $ac_func (); below.
59638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59639     <limits.h> exists even on freestanding compilers.  */
59640
59641 #ifdef __STDC__
59642 # include <limits.h>
59643 #else
59644 # include <assert.h>
59645 #endif
59646
59647 #undef $ac_func
59648
59649 /* Override any gcc2 internal prototype to avoid an error.  */
59650 #ifdef __cplusplus
59651 extern "C"
59652 {
59653 #endif
59654 /* We use char because int might match the return type of a gcc2
59655    builtin and then its argument prototype would still apply.  */
59656 char $ac_func ();
59657 /* The GNU C library defines this for functions which it implements
59658     to always fail with ENOSYS.  Some functions are actually named
59659     something starting with __ and the normal name is an alias.  */
59660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59661 choke me
59662 #else
59663 char (*f) () = $ac_func;
59664 #endif
59665 #ifdef __cplusplus
59666 }
59667 #endif
59668
59669 int
59670 main ()
59671 {
59672 return f != $ac_func;
59673   ;
59674   return 0;
59675 }
59676 _ACEOF
59677 rm -f conftest.$ac_objext conftest$ac_exeext
59678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59679   (eval $ac_link) 2>conftest.er1
59680   ac_status=$?
59681   grep -v '^ *+' conftest.er1 >conftest.err
59682   rm -f conftest.er1
59683   cat conftest.err >&5
59684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59685   (exit $ac_status); } &&
59686          { ac_try='test -z "$ac_c_werror_flag"
59687                          || test ! -s conftest.err'
59688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59689   (eval $ac_try) 2>&5
59690   ac_status=$?
59691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59692   (exit $ac_status); }; } &&
59693          { ac_try='test -s conftest$ac_exeext'
59694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59695   (eval $ac_try) 2>&5
59696   ac_status=$?
59697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59698   (exit $ac_status); }; }; then
59699   eval "$as_ac_var=yes"
59700 else
59701   echo "$as_me: failed program was:" >&5
59702 sed 's/^/| /' conftest.$ac_ext >&5
59703
59704 eval "$as_ac_var=no"
59705 fi
59706 rm -f conftest.err conftest.$ac_objext \
59707       conftest$ac_exeext conftest.$ac_ext
59708 fi
59709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59711 if test `eval echo '${'$as_ac_var'}'` = yes; then
59712   cat >>confdefs.h <<_ACEOF
59713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59714 _ACEOF
59715
59716 fi
59717 done
59718
59719     fi
59720   fi
59721
59722
59723
59724
59725
59726   LIBS="$ac_save_LIBS"
59727   CXXFLAGS="$ac_save_CXXFLAGS"
59728
59729
59730
59731   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59732 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59733   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59734     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59735   echo $ECHO_N "(cached) $ECHO_C" >&6
59736 else
59737
59738
59739
59740       ac_ext=cc
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745
59746       cat >conftest.$ac_ext <<_ACEOF
59747 /* confdefs.h.  */
59748 _ACEOF
59749 cat confdefs.h >>conftest.$ac_ext
59750 cat >>conftest.$ac_ext <<_ACEOF
59751 /* end confdefs.h.  */
59752 #include <math.h>
59753 int
59754 main ()
59755 {
59756  __builtin_abs(0);
59757   ;
59758   return 0;
59759 }
59760 _ACEOF
59761 rm -f conftest.$ac_objext
59762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59763   (eval $ac_compile) 2>conftest.er1
59764   ac_status=$?
59765   grep -v '^ *+' conftest.er1 >conftest.err
59766   rm -f conftest.er1
59767   cat conftest.err >&5
59768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59769   (exit $ac_status); } &&
59770          { ac_try='test -z "$ac_cxx_werror_flag"
59771                          || test ! -s conftest.err'
59772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59773   (eval $ac_try) 2>&5
59774   ac_status=$?
59775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59776   (exit $ac_status); }; } &&
59777          { ac_try='test -s conftest.$ac_objext'
59778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59779   (eval $ac_try) 2>&5
59780   ac_status=$?
59781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59782   (exit $ac_status); }; }; then
59783   glibcxx_cv_func___builtin_abs_use=yes
59784 else
59785   echo "$as_me: failed program was:" >&5
59786 sed 's/^/| /' conftest.$ac_ext >&5
59787
59788 glibcxx_cv_func___builtin_abs_use=no
59789 fi
59790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59791       ac_ext=c
59792 ac_cpp='$CPP $CPPFLAGS'
59793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59796
59797
59798 fi
59799
59800   fi
59801   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59802 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59803   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59804     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59805 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59806     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59807       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59808   echo $ECHO_N "(cached) $ECHO_C" >&6
59809 else
59810
59811         if test x$gcc_no_link = xyes; then
59812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59814    { (exit 1); exit 1; }; }
59815 fi
59816 cat >conftest.$ac_ext <<_ACEOF
59817 /* confdefs.h.  */
59818 _ACEOF
59819 cat confdefs.h >>conftest.$ac_ext
59820 cat >>conftest.$ac_ext <<_ACEOF
59821 /* end confdefs.h.  */
59822 #include <math.h>
59823 int
59824 main ()
59825 {
59826  __builtin_abs(0);
59827   ;
59828   return 0;
59829 }
59830 _ACEOF
59831 rm -f conftest.$ac_objext conftest$ac_exeext
59832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59833   (eval $ac_link) 2>conftest.er1
59834   ac_status=$?
59835   grep -v '^ *+' conftest.er1 >conftest.err
59836   rm -f conftest.er1
59837   cat conftest.err >&5
59838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59839   (exit $ac_status); } &&
59840          { ac_try='test -z "$ac_c_werror_flag"
59841                          || test ! -s conftest.err'
59842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59843   (eval $ac_try) 2>&5
59844   ac_status=$?
59845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59846   (exit $ac_status); }; } &&
59847          { ac_try='test -s conftest$ac_exeext'
59848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59849   (eval $ac_try) 2>&5
59850   ac_status=$?
59851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59852   (exit $ac_status); }; }; then
59853   glibcxx_cv_func___builtin_abs_link=yes
59854 else
59855   echo "$as_me: failed program was:" >&5
59856 sed 's/^/| /' conftest.$ac_ext >&5
59857
59858 glibcxx_cv_func___builtin_abs_link=no
59859 fi
59860 rm -f conftest.err conftest.$ac_objext \
59861       conftest$ac_exeext conftest.$ac_ext
59862
59863 fi
59864
59865     fi
59866     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59867 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59868
59869     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59870
59871 cat >>confdefs.h <<\_ACEOF
59872 #define HAVE___BUILTIN_ABS 1
59873 _ACEOF
59874
59875     fi
59876
59877   fi
59878
59879
59880   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59881 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59882   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59883     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59884   echo $ECHO_N "(cached) $ECHO_C" >&6
59885 else
59886
59887
59888
59889       ac_ext=cc
59890 ac_cpp='$CXXCPP $CPPFLAGS'
59891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59894
59895       cat >conftest.$ac_ext <<_ACEOF
59896 /* confdefs.h.  */
59897 _ACEOF
59898 cat confdefs.h >>conftest.$ac_ext
59899 cat >>conftest.$ac_ext <<_ACEOF
59900 /* end confdefs.h.  */
59901 #include <math.h>
59902 int
59903 main ()
59904 {
59905  __builtin_fabsf(0);
59906   ;
59907   return 0;
59908 }
59909 _ACEOF
59910 rm -f conftest.$ac_objext
59911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59912   (eval $ac_compile) 2>conftest.er1
59913   ac_status=$?
59914   grep -v '^ *+' conftest.er1 >conftest.err
59915   rm -f conftest.er1
59916   cat conftest.err >&5
59917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59918   (exit $ac_status); } &&
59919          { ac_try='test -z "$ac_cxx_werror_flag"
59920                          || test ! -s conftest.err'
59921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59922   (eval $ac_try) 2>&5
59923   ac_status=$?
59924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59925   (exit $ac_status); }; } &&
59926          { ac_try='test -s conftest.$ac_objext'
59927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59928   (eval $ac_try) 2>&5
59929   ac_status=$?
59930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931   (exit $ac_status); }; }; then
59932   glibcxx_cv_func___builtin_fabsf_use=yes
59933 else
59934   echo "$as_me: failed program was:" >&5
59935 sed 's/^/| /' conftest.$ac_ext >&5
59936
59937 glibcxx_cv_func___builtin_fabsf_use=no
59938 fi
59939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59940       ac_ext=c
59941 ac_cpp='$CPP $CPPFLAGS'
59942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59945
59946
59947 fi
59948
59949   fi
59950   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59952   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59953     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59954 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59955     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59956       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59957   echo $ECHO_N "(cached) $ECHO_C" >&6
59958 else
59959
59960         if test x$gcc_no_link = xyes; then
59961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59963    { (exit 1); exit 1; }; }
59964 fi
59965 cat >conftest.$ac_ext <<_ACEOF
59966 /* confdefs.h.  */
59967 _ACEOF
59968 cat confdefs.h >>conftest.$ac_ext
59969 cat >>conftest.$ac_ext <<_ACEOF
59970 /* end confdefs.h.  */
59971 #include <math.h>
59972 int
59973 main ()
59974 {
59975  __builtin_fabsf(0);
59976   ;
59977   return 0;
59978 }
59979 _ACEOF
59980 rm -f conftest.$ac_objext conftest$ac_exeext
59981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59982   (eval $ac_link) 2>conftest.er1
59983   ac_status=$?
59984   grep -v '^ *+' conftest.er1 >conftest.err
59985   rm -f conftest.er1
59986   cat conftest.err >&5
59987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59988   (exit $ac_status); } &&
59989          { ac_try='test -z "$ac_c_werror_flag"
59990                          || test ! -s conftest.err'
59991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59992   (eval $ac_try) 2>&5
59993   ac_status=$?
59994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59995   (exit $ac_status); }; } &&
59996          { ac_try='test -s conftest$ac_exeext'
59997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59998   (eval $ac_try) 2>&5
59999   ac_status=$?
60000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60001   (exit $ac_status); }; }; then
60002   glibcxx_cv_func___builtin_fabsf_link=yes
60003 else
60004   echo "$as_me: failed program was:" >&5
60005 sed 's/^/| /' conftest.$ac_ext >&5
60006
60007 glibcxx_cv_func___builtin_fabsf_link=no
60008 fi
60009 rm -f conftest.err conftest.$ac_objext \
60010       conftest$ac_exeext conftest.$ac_ext
60011
60012 fi
60013
60014     fi
60015     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60016 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60017
60018     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60019
60020 cat >>confdefs.h <<\_ACEOF
60021 #define HAVE___BUILTIN_FABSF 1
60022 _ACEOF
60023
60024     fi
60025
60026   fi
60027
60028
60029   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60030 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60031   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60032     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60033   echo $ECHO_N "(cached) $ECHO_C" >&6
60034 else
60035
60036
60037
60038       ac_ext=cc
60039 ac_cpp='$CXXCPP $CPPFLAGS'
60040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60043
60044       cat >conftest.$ac_ext <<_ACEOF
60045 /* confdefs.h.  */
60046 _ACEOF
60047 cat confdefs.h >>conftest.$ac_ext
60048 cat >>conftest.$ac_ext <<_ACEOF
60049 /* end confdefs.h.  */
60050 #include <math.h>
60051 int
60052 main ()
60053 {
60054  __builtin_fabs(0);
60055   ;
60056   return 0;
60057 }
60058 _ACEOF
60059 rm -f conftest.$ac_objext
60060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60061   (eval $ac_compile) 2>conftest.er1
60062   ac_status=$?
60063   grep -v '^ *+' conftest.er1 >conftest.err
60064   rm -f conftest.er1
60065   cat conftest.err >&5
60066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60067   (exit $ac_status); } &&
60068          { ac_try='test -z "$ac_cxx_werror_flag"
60069                          || test ! -s conftest.err'
60070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60071   (eval $ac_try) 2>&5
60072   ac_status=$?
60073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60074   (exit $ac_status); }; } &&
60075          { ac_try='test -s conftest.$ac_objext'
60076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60077   (eval $ac_try) 2>&5
60078   ac_status=$?
60079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60080   (exit $ac_status); }; }; then
60081   glibcxx_cv_func___builtin_fabs_use=yes
60082 else
60083   echo "$as_me: failed program was:" >&5
60084 sed 's/^/| /' conftest.$ac_ext >&5
60085
60086 glibcxx_cv_func___builtin_fabs_use=no
60087 fi
60088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60089       ac_ext=c
60090 ac_cpp='$CPP $CPPFLAGS'
60091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60094
60095
60096 fi
60097
60098   fi
60099   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60100 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60101   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60102     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60103 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60104     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60105       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60106   echo $ECHO_N "(cached) $ECHO_C" >&6
60107 else
60108
60109         if test x$gcc_no_link = xyes; then
60110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60112    { (exit 1); exit 1; }; }
60113 fi
60114 cat >conftest.$ac_ext <<_ACEOF
60115 /* confdefs.h.  */
60116 _ACEOF
60117 cat confdefs.h >>conftest.$ac_ext
60118 cat >>conftest.$ac_ext <<_ACEOF
60119 /* end confdefs.h.  */
60120 #include <math.h>
60121 int
60122 main ()
60123 {
60124  __builtin_fabs(0);
60125   ;
60126   return 0;
60127 }
60128 _ACEOF
60129 rm -f conftest.$ac_objext conftest$ac_exeext
60130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60131   (eval $ac_link) 2>conftest.er1
60132   ac_status=$?
60133   grep -v '^ *+' conftest.er1 >conftest.err
60134   rm -f conftest.er1
60135   cat conftest.err >&5
60136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137   (exit $ac_status); } &&
60138          { ac_try='test -z "$ac_c_werror_flag"
60139                          || test ! -s conftest.err'
60140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60141   (eval $ac_try) 2>&5
60142   ac_status=$?
60143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60144   (exit $ac_status); }; } &&
60145          { ac_try='test -s conftest$ac_exeext'
60146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60147   (eval $ac_try) 2>&5
60148   ac_status=$?
60149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60150   (exit $ac_status); }; }; then
60151   glibcxx_cv_func___builtin_fabs_link=yes
60152 else
60153   echo "$as_me: failed program was:" >&5
60154 sed 's/^/| /' conftest.$ac_ext >&5
60155
60156 glibcxx_cv_func___builtin_fabs_link=no
60157 fi
60158 rm -f conftest.err conftest.$ac_objext \
60159       conftest$ac_exeext conftest.$ac_ext
60160
60161 fi
60162
60163     fi
60164     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60165 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60166
60167     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60168
60169 cat >>confdefs.h <<\_ACEOF
60170 #define HAVE___BUILTIN_FABS 1
60171 _ACEOF
60172
60173     fi
60174
60175   fi
60176
60177
60178   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60179 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60180   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60181     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60182   echo $ECHO_N "(cached) $ECHO_C" >&6
60183 else
60184
60185
60186
60187       ac_ext=cc
60188 ac_cpp='$CXXCPP $CPPFLAGS'
60189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60192
60193       cat >conftest.$ac_ext <<_ACEOF
60194 /* confdefs.h.  */
60195 _ACEOF
60196 cat confdefs.h >>conftest.$ac_ext
60197 cat >>conftest.$ac_ext <<_ACEOF
60198 /* end confdefs.h.  */
60199 #include <math.h>
60200 int
60201 main ()
60202 {
60203  __builtin_fabsl(0);
60204   ;
60205   return 0;
60206 }
60207 _ACEOF
60208 rm -f conftest.$ac_objext
60209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60210   (eval $ac_compile) 2>conftest.er1
60211   ac_status=$?
60212   grep -v '^ *+' conftest.er1 >conftest.err
60213   rm -f conftest.er1
60214   cat conftest.err >&5
60215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60216   (exit $ac_status); } &&
60217          { ac_try='test -z "$ac_cxx_werror_flag"
60218                          || test ! -s conftest.err'
60219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60220   (eval $ac_try) 2>&5
60221   ac_status=$?
60222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60223   (exit $ac_status); }; } &&
60224          { ac_try='test -s conftest.$ac_objext'
60225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60226   (eval $ac_try) 2>&5
60227   ac_status=$?
60228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60229   (exit $ac_status); }; }; then
60230   glibcxx_cv_func___builtin_fabsl_use=yes
60231 else
60232   echo "$as_me: failed program was:" >&5
60233 sed 's/^/| /' conftest.$ac_ext >&5
60234
60235 glibcxx_cv_func___builtin_fabsl_use=no
60236 fi
60237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60238       ac_ext=c
60239 ac_cpp='$CPP $CPPFLAGS'
60240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60243
60244
60245 fi
60246
60247   fi
60248   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
60249 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
60250   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
60251     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
60252 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
60253     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
60254       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
60255   echo $ECHO_N "(cached) $ECHO_C" >&6
60256 else
60257
60258         if test x$gcc_no_link = xyes; then
60259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60261    { (exit 1); exit 1; }; }
60262 fi
60263 cat >conftest.$ac_ext <<_ACEOF
60264 /* confdefs.h.  */
60265 _ACEOF
60266 cat confdefs.h >>conftest.$ac_ext
60267 cat >>conftest.$ac_ext <<_ACEOF
60268 /* end confdefs.h.  */
60269 #include <math.h>
60270 int
60271 main ()
60272 {
60273  __builtin_fabsl(0);
60274   ;
60275   return 0;
60276 }
60277 _ACEOF
60278 rm -f conftest.$ac_objext conftest$ac_exeext
60279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60280   (eval $ac_link) 2>conftest.er1
60281   ac_status=$?
60282   grep -v '^ *+' conftest.er1 >conftest.err
60283   rm -f conftest.er1
60284   cat conftest.err >&5
60285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60286   (exit $ac_status); } &&
60287          { ac_try='test -z "$ac_c_werror_flag"
60288                          || test ! -s conftest.err'
60289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60290   (eval $ac_try) 2>&5
60291   ac_status=$?
60292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60293   (exit $ac_status); }; } &&
60294          { ac_try='test -s conftest$ac_exeext'
60295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60296   (eval $ac_try) 2>&5
60297   ac_status=$?
60298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60299   (exit $ac_status); }; }; then
60300   glibcxx_cv_func___builtin_fabsl_link=yes
60301 else
60302   echo "$as_me: failed program was:" >&5
60303 sed 's/^/| /' conftest.$ac_ext >&5
60304
60305 glibcxx_cv_func___builtin_fabsl_link=no
60306 fi
60307 rm -f conftest.err conftest.$ac_objext \
60308       conftest$ac_exeext conftest.$ac_ext
60309
60310 fi
60311
60312     fi
60313     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
60314 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
60315
60316     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
60317
60318 cat >>confdefs.h <<\_ACEOF
60319 #define HAVE___BUILTIN_FABSL 1
60320 _ACEOF
60321
60322     fi
60323
60324   fi
60325
60326
60327   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
60328 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
60329   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
60330     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
60331   echo $ECHO_N "(cached) $ECHO_C" >&6
60332 else
60333
60334
60335
60336       ac_ext=cc
60337 ac_cpp='$CXXCPP $CPPFLAGS'
60338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60341
60342       cat >conftest.$ac_ext <<_ACEOF
60343 /* confdefs.h.  */
60344 _ACEOF
60345 cat confdefs.h >>conftest.$ac_ext
60346 cat >>conftest.$ac_ext <<_ACEOF
60347 /* end confdefs.h.  */
60348 #include <math.h>
60349 int
60350 main ()
60351 {
60352  __builtin_labs(0);
60353   ;
60354   return 0;
60355 }
60356 _ACEOF
60357 rm -f conftest.$ac_objext
60358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60359   (eval $ac_compile) 2>conftest.er1
60360   ac_status=$?
60361   grep -v '^ *+' conftest.er1 >conftest.err
60362   rm -f conftest.er1
60363   cat conftest.err >&5
60364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60365   (exit $ac_status); } &&
60366          { ac_try='test -z "$ac_cxx_werror_flag"
60367                          || test ! -s conftest.err'
60368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60369   (eval $ac_try) 2>&5
60370   ac_status=$?
60371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60372   (exit $ac_status); }; } &&
60373          { ac_try='test -s conftest.$ac_objext'
60374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60375   (eval $ac_try) 2>&5
60376   ac_status=$?
60377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60378   (exit $ac_status); }; }; then
60379   glibcxx_cv_func___builtin_labs_use=yes
60380 else
60381   echo "$as_me: failed program was:" >&5
60382 sed 's/^/| /' conftest.$ac_ext >&5
60383
60384 glibcxx_cv_func___builtin_labs_use=no
60385 fi
60386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60387       ac_ext=c
60388 ac_cpp='$CPP $CPPFLAGS'
60389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60392
60393
60394 fi
60395
60396   fi
60397   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
60398 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
60399   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
60400     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
60401 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
60402     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
60403       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
60404   echo $ECHO_N "(cached) $ECHO_C" >&6
60405 else
60406
60407         if test x$gcc_no_link = xyes; then
60408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60410    { (exit 1); exit 1; }; }
60411 fi
60412 cat >conftest.$ac_ext <<_ACEOF
60413 /* confdefs.h.  */
60414 _ACEOF
60415 cat confdefs.h >>conftest.$ac_ext
60416 cat >>conftest.$ac_ext <<_ACEOF
60417 /* end confdefs.h.  */
60418 #include <math.h>
60419 int
60420 main ()
60421 {
60422  __builtin_labs(0);
60423   ;
60424   return 0;
60425 }
60426 _ACEOF
60427 rm -f conftest.$ac_objext conftest$ac_exeext
60428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60429   (eval $ac_link) 2>conftest.er1
60430   ac_status=$?
60431   grep -v '^ *+' conftest.er1 >conftest.err
60432   rm -f conftest.er1
60433   cat conftest.err >&5
60434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60435   (exit $ac_status); } &&
60436          { ac_try='test -z "$ac_c_werror_flag"
60437                          || test ! -s conftest.err'
60438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439   (eval $ac_try) 2>&5
60440   ac_status=$?
60441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442   (exit $ac_status); }; } &&
60443          { ac_try='test -s conftest$ac_exeext'
60444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445   (eval $ac_try) 2>&5
60446   ac_status=$?
60447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448   (exit $ac_status); }; }; then
60449   glibcxx_cv_func___builtin_labs_link=yes
60450 else
60451   echo "$as_me: failed program was:" >&5
60452 sed 's/^/| /' conftest.$ac_ext >&5
60453
60454 glibcxx_cv_func___builtin_labs_link=no
60455 fi
60456 rm -f conftest.err conftest.$ac_objext \
60457       conftest$ac_exeext conftest.$ac_ext
60458
60459 fi
60460
60461     fi
60462     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
60463 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
60464
60465     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
60466
60467 cat >>confdefs.h <<\_ACEOF
60468 #define HAVE___BUILTIN_LABS 1
60469 _ACEOF
60470
60471     fi
60472
60473   fi
60474
60475
60476
60477   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
60478 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
60479   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
60480     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
60481   echo $ECHO_N "(cached) $ECHO_C" >&6
60482 else
60483
60484
60485
60486       ac_ext=cc
60487 ac_cpp='$CXXCPP $CPPFLAGS'
60488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60491
60492       cat >conftest.$ac_ext <<_ACEOF
60493 /* confdefs.h.  */
60494 _ACEOF
60495 cat confdefs.h >>conftest.$ac_ext
60496 cat >>conftest.$ac_ext <<_ACEOF
60497 /* end confdefs.h.  */
60498 #include <math.h>
60499 int
60500 main ()
60501 {
60502  __builtin_sqrtf(0);
60503   ;
60504   return 0;
60505 }
60506 _ACEOF
60507 rm -f conftest.$ac_objext
60508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60509   (eval $ac_compile) 2>conftest.er1
60510   ac_status=$?
60511   grep -v '^ *+' conftest.er1 >conftest.err
60512   rm -f conftest.er1
60513   cat conftest.err >&5
60514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60515   (exit $ac_status); } &&
60516          { ac_try='test -z "$ac_cxx_werror_flag"
60517                          || test ! -s conftest.err'
60518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60519   (eval $ac_try) 2>&5
60520   ac_status=$?
60521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60522   (exit $ac_status); }; } &&
60523          { ac_try='test -s conftest.$ac_objext'
60524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60525   (eval $ac_try) 2>&5
60526   ac_status=$?
60527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60528   (exit $ac_status); }; }; then
60529   glibcxx_cv_func___builtin_sqrtf_use=yes
60530 else
60531   echo "$as_me: failed program was:" >&5
60532 sed 's/^/| /' conftest.$ac_ext >&5
60533
60534 glibcxx_cv_func___builtin_sqrtf_use=no
60535 fi
60536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60537       ac_ext=c
60538 ac_cpp='$CPP $CPPFLAGS'
60539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60542
60543
60544 fi
60545
60546   fi
60547   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
60548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
60549   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
60550     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
60551 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
60552     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
60553       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
60554   echo $ECHO_N "(cached) $ECHO_C" >&6
60555 else
60556
60557         if test x$gcc_no_link = xyes; then
60558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60560    { (exit 1); exit 1; }; }
60561 fi
60562 cat >conftest.$ac_ext <<_ACEOF
60563 /* confdefs.h.  */
60564 _ACEOF
60565 cat confdefs.h >>conftest.$ac_ext
60566 cat >>conftest.$ac_ext <<_ACEOF
60567 /* end confdefs.h.  */
60568 #include <math.h>
60569 int
60570 main ()
60571 {
60572  __builtin_sqrtf(0);
60573   ;
60574   return 0;
60575 }
60576 _ACEOF
60577 rm -f conftest.$ac_objext conftest$ac_exeext
60578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60579   (eval $ac_link) 2>conftest.er1
60580   ac_status=$?
60581   grep -v '^ *+' conftest.er1 >conftest.err
60582   rm -f conftest.er1
60583   cat conftest.err >&5
60584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60585   (exit $ac_status); } &&
60586          { ac_try='test -z "$ac_c_werror_flag"
60587                          || test ! -s conftest.err'
60588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60589   (eval $ac_try) 2>&5
60590   ac_status=$?
60591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60592   (exit $ac_status); }; } &&
60593          { ac_try='test -s conftest$ac_exeext'
60594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60595   (eval $ac_try) 2>&5
60596   ac_status=$?
60597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60598   (exit $ac_status); }; }; then
60599   glibcxx_cv_func___builtin_sqrtf_link=yes
60600 else
60601   echo "$as_me: failed program was:" >&5
60602 sed 's/^/| /' conftest.$ac_ext >&5
60603
60604 glibcxx_cv_func___builtin_sqrtf_link=no
60605 fi
60606 rm -f conftest.err conftest.$ac_objext \
60607       conftest$ac_exeext conftest.$ac_ext
60608
60609 fi
60610
60611     fi
60612     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
60613 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
60614
60615     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
60616
60617 cat >>confdefs.h <<\_ACEOF
60618 #define HAVE___BUILTIN_SQRTF 1
60619 _ACEOF
60620
60621     fi
60622
60623   fi
60624
60625
60626   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
60627 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
60628   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
60629     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
60630   echo $ECHO_N "(cached) $ECHO_C" >&6
60631 else
60632
60633
60634
60635       ac_ext=cc
60636 ac_cpp='$CXXCPP $CPPFLAGS'
60637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60640
60641       cat >conftest.$ac_ext <<_ACEOF
60642 /* confdefs.h.  */
60643 _ACEOF
60644 cat confdefs.h >>conftest.$ac_ext
60645 cat >>conftest.$ac_ext <<_ACEOF
60646 /* end confdefs.h.  */
60647 #include <math.h>
60648 int
60649 main ()
60650 {
60651  __builtin_sqrt(0);
60652   ;
60653   return 0;
60654 }
60655 _ACEOF
60656 rm -f conftest.$ac_objext
60657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60658   (eval $ac_compile) 2>conftest.er1
60659   ac_status=$?
60660   grep -v '^ *+' conftest.er1 >conftest.err
60661   rm -f conftest.er1
60662   cat conftest.err >&5
60663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60664   (exit $ac_status); } &&
60665          { ac_try='test -z "$ac_cxx_werror_flag"
60666                          || test ! -s conftest.err'
60667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60668   (eval $ac_try) 2>&5
60669   ac_status=$?
60670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60671   (exit $ac_status); }; } &&
60672          { ac_try='test -s conftest.$ac_objext'
60673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60674   (eval $ac_try) 2>&5
60675   ac_status=$?
60676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60677   (exit $ac_status); }; }; then
60678   glibcxx_cv_func___builtin_sqrt_use=yes
60679 else
60680   echo "$as_me: failed program was:" >&5
60681 sed 's/^/| /' conftest.$ac_ext >&5
60682
60683 glibcxx_cv_func___builtin_sqrt_use=no
60684 fi
60685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60686       ac_ext=c
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60691
60692
60693 fi
60694
60695   fi
60696   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
60697 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
60698   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
60699     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
60700 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
60701     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60702       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60703   echo $ECHO_N "(cached) $ECHO_C" >&6
60704 else
60705
60706         if test x$gcc_no_link = xyes; then
60707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60709    { (exit 1); exit 1; }; }
60710 fi
60711 cat >conftest.$ac_ext <<_ACEOF
60712 /* confdefs.h.  */
60713 _ACEOF
60714 cat confdefs.h >>conftest.$ac_ext
60715 cat >>conftest.$ac_ext <<_ACEOF
60716 /* end confdefs.h.  */
60717 #include <math.h>
60718 int
60719 main ()
60720 {
60721  __builtin_sqrt(0);
60722   ;
60723   return 0;
60724 }
60725 _ACEOF
60726 rm -f conftest.$ac_objext conftest$ac_exeext
60727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60728   (eval $ac_link) 2>conftest.er1
60729   ac_status=$?
60730   grep -v '^ *+' conftest.er1 >conftest.err
60731   rm -f conftest.er1
60732   cat conftest.err >&5
60733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60734   (exit $ac_status); } &&
60735          { ac_try='test -z "$ac_c_werror_flag"
60736                          || test ! -s conftest.err'
60737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60738   (eval $ac_try) 2>&5
60739   ac_status=$?
60740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60741   (exit $ac_status); }; } &&
60742          { ac_try='test -s conftest$ac_exeext'
60743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60744   (eval $ac_try) 2>&5
60745   ac_status=$?
60746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60747   (exit $ac_status); }; }; then
60748   glibcxx_cv_func___builtin_sqrt_link=yes
60749 else
60750   echo "$as_me: failed program was:" >&5
60751 sed 's/^/| /' conftest.$ac_ext >&5
60752
60753 glibcxx_cv_func___builtin_sqrt_link=no
60754 fi
60755 rm -f conftest.err conftest.$ac_objext \
60756       conftest$ac_exeext conftest.$ac_ext
60757
60758 fi
60759
60760     fi
60761     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60762 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60763
60764     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60765
60766 cat >>confdefs.h <<\_ACEOF
60767 #define HAVE___BUILTIN_SQRT 1
60768 _ACEOF
60769
60770     fi
60771
60772   fi
60773
60774
60775   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60776 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60777   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60778     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60779   echo $ECHO_N "(cached) $ECHO_C" >&6
60780 else
60781
60782
60783
60784       ac_ext=cc
60785 ac_cpp='$CXXCPP $CPPFLAGS'
60786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60789
60790       cat >conftest.$ac_ext <<_ACEOF
60791 /* confdefs.h.  */
60792 _ACEOF
60793 cat confdefs.h >>conftest.$ac_ext
60794 cat >>conftest.$ac_ext <<_ACEOF
60795 /* end confdefs.h.  */
60796 #include <math.h>
60797 int
60798 main ()
60799 {
60800  __builtin_sqrtl(0);
60801   ;
60802   return 0;
60803 }
60804 _ACEOF
60805 rm -f conftest.$ac_objext
60806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60807   (eval $ac_compile) 2>conftest.er1
60808   ac_status=$?
60809   grep -v '^ *+' conftest.er1 >conftest.err
60810   rm -f conftest.er1
60811   cat conftest.err >&5
60812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60813   (exit $ac_status); } &&
60814          { ac_try='test -z "$ac_cxx_werror_flag"
60815                          || test ! -s conftest.err'
60816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60817   (eval $ac_try) 2>&5
60818   ac_status=$?
60819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60820   (exit $ac_status); }; } &&
60821          { ac_try='test -s conftest.$ac_objext'
60822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60823   (eval $ac_try) 2>&5
60824   ac_status=$?
60825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60826   (exit $ac_status); }; }; then
60827   glibcxx_cv_func___builtin_sqrtl_use=yes
60828 else
60829   echo "$as_me: failed program was:" >&5
60830 sed 's/^/| /' conftest.$ac_ext >&5
60831
60832 glibcxx_cv_func___builtin_sqrtl_use=no
60833 fi
60834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60835       ac_ext=c
60836 ac_cpp='$CPP $CPPFLAGS'
60837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60840
60841
60842 fi
60843
60844   fi
60845   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60846 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60847   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60848     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60849 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60850     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60851       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60852   echo $ECHO_N "(cached) $ECHO_C" >&6
60853 else
60854
60855         if test x$gcc_no_link = xyes; then
60856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60858    { (exit 1); exit 1; }; }
60859 fi
60860 cat >conftest.$ac_ext <<_ACEOF
60861 /* confdefs.h.  */
60862 _ACEOF
60863 cat confdefs.h >>conftest.$ac_ext
60864 cat >>conftest.$ac_ext <<_ACEOF
60865 /* end confdefs.h.  */
60866 #include <math.h>
60867 int
60868 main ()
60869 {
60870  __builtin_sqrtl(0);
60871   ;
60872   return 0;
60873 }
60874 _ACEOF
60875 rm -f conftest.$ac_objext conftest$ac_exeext
60876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60877   (eval $ac_link) 2>conftest.er1
60878   ac_status=$?
60879   grep -v '^ *+' conftest.er1 >conftest.err
60880   rm -f conftest.er1
60881   cat conftest.err >&5
60882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60883   (exit $ac_status); } &&
60884          { ac_try='test -z "$ac_c_werror_flag"
60885                          || test ! -s conftest.err'
60886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60887   (eval $ac_try) 2>&5
60888   ac_status=$?
60889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60890   (exit $ac_status); }; } &&
60891          { ac_try='test -s conftest$ac_exeext'
60892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60893   (eval $ac_try) 2>&5
60894   ac_status=$?
60895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60896   (exit $ac_status); }; }; then
60897   glibcxx_cv_func___builtin_sqrtl_link=yes
60898 else
60899   echo "$as_me: failed program was:" >&5
60900 sed 's/^/| /' conftest.$ac_ext >&5
60901
60902 glibcxx_cv_func___builtin_sqrtl_link=no
60903 fi
60904 rm -f conftest.err conftest.$ac_objext \
60905       conftest$ac_exeext conftest.$ac_ext
60906
60907 fi
60908
60909     fi
60910     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60912
60913     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60914
60915 cat >>confdefs.h <<\_ACEOF
60916 #define HAVE___BUILTIN_SQRTL 1
60917 _ACEOF
60918
60919     fi
60920
60921   fi
60922
60923
60924
60925   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60926 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60927   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60928     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60929   echo $ECHO_N "(cached) $ECHO_C" >&6
60930 else
60931
60932
60933
60934       ac_ext=cc
60935 ac_cpp='$CXXCPP $CPPFLAGS'
60936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60939
60940       cat >conftest.$ac_ext <<_ACEOF
60941 /* confdefs.h.  */
60942 _ACEOF
60943 cat confdefs.h >>conftest.$ac_ext
60944 cat >>conftest.$ac_ext <<_ACEOF
60945 /* end confdefs.h.  */
60946 #include <math.h>
60947 int
60948 main ()
60949 {
60950  __builtin_sinf(0);
60951   ;
60952   return 0;
60953 }
60954 _ACEOF
60955 rm -f conftest.$ac_objext
60956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60957   (eval $ac_compile) 2>conftest.er1
60958   ac_status=$?
60959   grep -v '^ *+' conftest.er1 >conftest.err
60960   rm -f conftest.er1
60961   cat conftest.err >&5
60962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963   (exit $ac_status); } &&
60964          { ac_try='test -z "$ac_cxx_werror_flag"
60965                          || test ! -s conftest.err'
60966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60967   (eval $ac_try) 2>&5
60968   ac_status=$?
60969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60970   (exit $ac_status); }; } &&
60971          { ac_try='test -s conftest.$ac_objext'
60972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60973   (eval $ac_try) 2>&5
60974   ac_status=$?
60975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60976   (exit $ac_status); }; }; then
60977   glibcxx_cv_func___builtin_sinf_use=yes
60978 else
60979   echo "$as_me: failed program was:" >&5
60980 sed 's/^/| /' conftest.$ac_ext >&5
60981
60982 glibcxx_cv_func___builtin_sinf_use=no
60983 fi
60984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60985       ac_ext=c
60986 ac_cpp='$CPP $CPPFLAGS'
60987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60990
60991
60992 fi
60993
60994   fi
60995   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60997   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60998     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
60999 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61000     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61001       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61002   echo $ECHO_N "(cached) $ECHO_C" >&6
61003 else
61004
61005         if test x$gcc_no_link = xyes; then
61006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61008    { (exit 1); exit 1; }; }
61009 fi
61010 cat >conftest.$ac_ext <<_ACEOF
61011 /* confdefs.h.  */
61012 _ACEOF
61013 cat confdefs.h >>conftest.$ac_ext
61014 cat >>conftest.$ac_ext <<_ACEOF
61015 /* end confdefs.h.  */
61016 #include <math.h>
61017 int
61018 main ()
61019 {
61020  __builtin_sinf(0);
61021   ;
61022   return 0;
61023 }
61024 _ACEOF
61025 rm -f conftest.$ac_objext conftest$ac_exeext
61026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61027   (eval $ac_link) 2>conftest.er1
61028   ac_status=$?
61029   grep -v '^ *+' conftest.er1 >conftest.err
61030   rm -f conftest.er1
61031   cat conftest.err >&5
61032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61033   (exit $ac_status); } &&
61034          { ac_try='test -z "$ac_c_werror_flag"
61035                          || test ! -s conftest.err'
61036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61037   (eval $ac_try) 2>&5
61038   ac_status=$?
61039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61040   (exit $ac_status); }; } &&
61041          { ac_try='test -s conftest$ac_exeext'
61042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61043   (eval $ac_try) 2>&5
61044   ac_status=$?
61045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61046   (exit $ac_status); }; }; then
61047   glibcxx_cv_func___builtin_sinf_link=yes
61048 else
61049   echo "$as_me: failed program was:" >&5
61050 sed 's/^/| /' conftest.$ac_ext >&5
61051
61052 glibcxx_cv_func___builtin_sinf_link=no
61053 fi
61054 rm -f conftest.err conftest.$ac_objext \
61055       conftest$ac_exeext conftest.$ac_ext
61056
61057 fi
61058
61059     fi
61060     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61062
61063     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61064
61065 cat >>confdefs.h <<\_ACEOF
61066 #define HAVE___BUILTIN_SINF 1
61067 _ACEOF
61068
61069     fi
61070
61071   fi
61072
61073
61074   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61075 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61076   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61077     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61078   echo $ECHO_N "(cached) $ECHO_C" >&6
61079 else
61080
61081
61082
61083       ac_ext=cc
61084 ac_cpp='$CXXCPP $CPPFLAGS'
61085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61088
61089       cat >conftest.$ac_ext <<_ACEOF
61090 /* confdefs.h.  */
61091 _ACEOF
61092 cat confdefs.h >>conftest.$ac_ext
61093 cat >>conftest.$ac_ext <<_ACEOF
61094 /* end confdefs.h.  */
61095 #include <math.h>
61096 int
61097 main ()
61098 {
61099  __builtin_sin(0);
61100   ;
61101   return 0;
61102 }
61103 _ACEOF
61104 rm -f conftest.$ac_objext
61105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61106   (eval $ac_compile) 2>conftest.er1
61107   ac_status=$?
61108   grep -v '^ *+' conftest.er1 >conftest.err
61109   rm -f conftest.er1
61110   cat conftest.err >&5
61111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61112   (exit $ac_status); } &&
61113          { ac_try='test -z "$ac_cxx_werror_flag"
61114                          || test ! -s conftest.err'
61115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61116   (eval $ac_try) 2>&5
61117   ac_status=$?
61118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61119   (exit $ac_status); }; } &&
61120          { ac_try='test -s conftest.$ac_objext'
61121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61122   (eval $ac_try) 2>&5
61123   ac_status=$?
61124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61125   (exit $ac_status); }; }; then
61126   glibcxx_cv_func___builtin_sin_use=yes
61127 else
61128   echo "$as_me: failed program was:" >&5
61129 sed 's/^/| /' conftest.$ac_ext >&5
61130
61131 glibcxx_cv_func___builtin_sin_use=no
61132 fi
61133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61134       ac_ext=c
61135 ac_cpp='$CPP $CPPFLAGS'
61136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61139
61140
61141 fi
61142
61143   fi
61144   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61146   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61147     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61148 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61149     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61150       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61151   echo $ECHO_N "(cached) $ECHO_C" >&6
61152 else
61153
61154         if test x$gcc_no_link = xyes; then
61155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61157    { (exit 1); exit 1; }; }
61158 fi
61159 cat >conftest.$ac_ext <<_ACEOF
61160 /* confdefs.h.  */
61161 _ACEOF
61162 cat confdefs.h >>conftest.$ac_ext
61163 cat >>conftest.$ac_ext <<_ACEOF
61164 /* end confdefs.h.  */
61165 #include <math.h>
61166 int
61167 main ()
61168 {
61169  __builtin_sin(0);
61170   ;
61171   return 0;
61172 }
61173 _ACEOF
61174 rm -f conftest.$ac_objext conftest$ac_exeext
61175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61176   (eval $ac_link) 2>conftest.er1
61177   ac_status=$?
61178   grep -v '^ *+' conftest.er1 >conftest.err
61179   rm -f conftest.er1
61180   cat conftest.err >&5
61181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182   (exit $ac_status); } &&
61183          { ac_try='test -z "$ac_c_werror_flag"
61184                          || test ! -s conftest.err'
61185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186   (eval $ac_try) 2>&5
61187   ac_status=$?
61188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189   (exit $ac_status); }; } &&
61190          { ac_try='test -s conftest$ac_exeext'
61191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61192   (eval $ac_try) 2>&5
61193   ac_status=$?
61194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61195   (exit $ac_status); }; }; then
61196   glibcxx_cv_func___builtin_sin_link=yes
61197 else
61198   echo "$as_me: failed program was:" >&5
61199 sed 's/^/| /' conftest.$ac_ext >&5
61200
61201 glibcxx_cv_func___builtin_sin_link=no
61202 fi
61203 rm -f conftest.err conftest.$ac_objext \
61204       conftest$ac_exeext conftest.$ac_ext
61205
61206 fi
61207
61208     fi
61209     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61211
61212     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61213
61214 cat >>confdefs.h <<\_ACEOF
61215 #define HAVE___BUILTIN_SIN 1
61216 _ACEOF
61217
61218     fi
61219
61220   fi
61221
61222
61223   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61224 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61225   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61226     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61227   echo $ECHO_N "(cached) $ECHO_C" >&6
61228 else
61229
61230
61231
61232       ac_ext=cc
61233 ac_cpp='$CXXCPP $CPPFLAGS'
61234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61237
61238       cat >conftest.$ac_ext <<_ACEOF
61239 /* confdefs.h.  */
61240 _ACEOF
61241 cat confdefs.h >>conftest.$ac_ext
61242 cat >>conftest.$ac_ext <<_ACEOF
61243 /* end confdefs.h.  */
61244 #include <math.h>
61245 int
61246 main ()
61247 {
61248  __builtin_sinl(0);
61249   ;
61250   return 0;
61251 }
61252 _ACEOF
61253 rm -f conftest.$ac_objext
61254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61255   (eval $ac_compile) 2>conftest.er1
61256   ac_status=$?
61257   grep -v '^ *+' conftest.er1 >conftest.err
61258   rm -f conftest.er1
61259   cat conftest.err >&5
61260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61261   (exit $ac_status); } &&
61262          { ac_try='test -z "$ac_cxx_werror_flag"
61263                          || test ! -s conftest.err'
61264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61265   (eval $ac_try) 2>&5
61266   ac_status=$?
61267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61268   (exit $ac_status); }; } &&
61269          { ac_try='test -s conftest.$ac_objext'
61270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61271   (eval $ac_try) 2>&5
61272   ac_status=$?
61273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61274   (exit $ac_status); }; }; then
61275   glibcxx_cv_func___builtin_sinl_use=yes
61276 else
61277   echo "$as_me: failed program was:" >&5
61278 sed 's/^/| /' conftest.$ac_ext >&5
61279
61280 glibcxx_cv_func___builtin_sinl_use=no
61281 fi
61282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61283       ac_ext=c
61284 ac_cpp='$CPP $CPPFLAGS'
61285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61288
61289
61290 fi
61291
61292   fi
61293   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
61294 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
61295   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
61296     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
61297 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
61298     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
61299       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
61300   echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302
61303         if test x$gcc_no_link = xyes; then
61304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61306    { (exit 1); exit 1; }; }
61307 fi
61308 cat >conftest.$ac_ext <<_ACEOF
61309 /* confdefs.h.  */
61310 _ACEOF
61311 cat confdefs.h >>conftest.$ac_ext
61312 cat >>conftest.$ac_ext <<_ACEOF
61313 /* end confdefs.h.  */
61314 #include <math.h>
61315 int
61316 main ()
61317 {
61318  __builtin_sinl(0);
61319   ;
61320   return 0;
61321 }
61322 _ACEOF
61323 rm -f conftest.$ac_objext conftest$ac_exeext
61324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61325   (eval $ac_link) 2>conftest.er1
61326   ac_status=$?
61327   grep -v '^ *+' conftest.er1 >conftest.err
61328   rm -f conftest.er1
61329   cat conftest.err >&5
61330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61331   (exit $ac_status); } &&
61332          { ac_try='test -z "$ac_c_werror_flag"
61333                          || test ! -s conftest.err'
61334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61335   (eval $ac_try) 2>&5
61336   ac_status=$?
61337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61338   (exit $ac_status); }; } &&
61339          { ac_try='test -s conftest$ac_exeext'
61340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61341   (eval $ac_try) 2>&5
61342   ac_status=$?
61343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61344   (exit $ac_status); }; }; then
61345   glibcxx_cv_func___builtin_sinl_link=yes
61346 else
61347   echo "$as_me: failed program was:" >&5
61348 sed 's/^/| /' conftest.$ac_ext >&5
61349
61350 glibcxx_cv_func___builtin_sinl_link=no
61351 fi
61352 rm -f conftest.err conftest.$ac_objext \
61353       conftest$ac_exeext conftest.$ac_ext
61354
61355 fi
61356
61357     fi
61358     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
61359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
61360
61361     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
61362
61363 cat >>confdefs.h <<\_ACEOF
61364 #define HAVE___BUILTIN_SINL 1
61365 _ACEOF
61366
61367     fi
61368
61369   fi
61370
61371
61372
61373   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
61374 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
61375   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
61376     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
61377   echo $ECHO_N "(cached) $ECHO_C" >&6
61378 else
61379
61380
61381
61382       ac_ext=cc
61383 ac_cpp='$CXXCPP $CPPFLAGS'
61384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61387
61388       cat >conftest.$ac_ext <<_ACEOF
61389 /* confdefs.h.  */
61390 _ACEOF
61391 cat confdefs.h >>conftest.$ac_ext
61392 cat >>conftest.$ac_ext <<_ACEOF
61393 /* end confdefs.h.  */
61394 #include <math.h>
61395 int
61396 main ()
61397 {
61398  __builtin_cosf(0);
61399   ;
61400   return 0;
61401 }
61402 _ACEOF
61403 rm -f conftest.$ac_objext
61404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61405   (eval $ac_compile) 2>conftest.er1
61406   ac_status=$?
61407   grep -v '^ *+' conftest.er1 >conftest.err
61408   rm -f conftest.er1
61409   cat conftest.err >&5
61410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61411   (exit $ac_status); } &&
61412          { ac_try='test -z "$ac_cxx_werror_flag"
61413                          || test ! -s conftest.err'
61414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61415   (eval $ac_try) 2>&5
61416   ac_status=$?
61417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61418   (exit $ac_status); }; } &&
61419          { ac_try='test -s conftest.$ac_objext'
61420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61421   (eval $ac_try) 2>&5
61422   ac_status=$?
61423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61424   (exit $ac_status); }; }; then
61425   glibcxx_cv_func___builtin_cosf_use=yes
61426 else
61427   echo "$as_me: failed program was:" >&5
61428 sed 's/^/| /' conftest.$ac_ext >&5
61429
61430 glibcxx_cv_func___builtin_cosf_use=no
61431 fi
61432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61433       ac_ext=c
61434 ac_cpp='$CPP $CPPFLAGS'
61435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61438
61439
61440 fi
61441
61442   fi
61443   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
61444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
61445   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
61446     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
61447 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
61448     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
61449       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
61450   echo $ECHO_N "(cached) $ECHO_C" >&6
61451 else
61452
61453         if test x$gcc_no_link = xyes; then
61454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61456    { (exit 1); exit 1; }; }
61457 fi
61458 cat >conftest.$ac_ext <<_ACEOF
61459 /* confdefs.h.  */
61460 _ACEOF
61461 cat confdefs.h >>conftest.$ac_ext
61462 cat >>conftest.$ac_ext <<_ACEOF
61463 /* end confdefs.h.  */
61464 #include <math.h>
61465 int
61466 main ()
61467 {
61468  __builtin_cosf(0);
61469   ;
61470   return 0;
61471 }
61472 _ACEOF
61473 rm -f conftest.$ac_objext conftest$ac_exeext
61474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61475   (eval $ac_link) 2>conftest.er1
61476   ac_status=$?
61477   grep -v '^ *+' conftest.er1 >conftest.err
61478   rm -f conftest.er1
61479   cat conftest.err >&5
61480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61481   (exit $ac_status); } &&
61482          { ac_try='test -z "$ac_c_werror_flag"
61483                          || test ! -s conftest.err'
61484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61485   (eval $ac_try) 2>&5
61486   ac_status=$?
61487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61488   (exit $ac_status); }; } &&
61489          { ac_try='test -s conftest$ac_exeext'
61490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61491   (eval $ac_try) 2>&5
61492   ac_status=$?
61493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61494   (exit $ac_status); }; }; then
61495   glibcxx_cv_func___builtin_cosf_link=yes
61496 else
61497   echo "$as_me: failed program was:" >&5
61498 sed 's/^/| /' conftest.$ac_ext >&5
61499
61500 glibcxx_cv_func___builtin_cosf_link=no
61501 fi
61502 rm -f conftest.err conftest.$ac_objext \
61503       conftest$ac_exeext conftest.$ac_ext
61504
61505 fi
61506
61507     fi
61508     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
61509 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
61510
61511     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
61512
61513 cat >>confdefs.h <<\_ACEOF
61514 #define HAVE___BUILTIN_COSF 1
61515 _ACEOF
61516
61517     fi
61518
61519   fi
61520
61521
61522   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
61523 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
61524   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
61525     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
61526   echo $ECHO_N "(cached) $ECHO_C" >&6
61527 else
61528
61529
61530
61531       ac_ext=cc
61532 ac_cpp='$CXXCPP $CPPFLAGS'
61533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61536
61537       cat >conftest.$ac_ext <<_ACEOF
61538 /* confdefs.h.  */
61539 _ACEOF
61540 cat confdefs.h >>conftest.$ac_ext
61541 cat >>conftest.$ac_ext <<_ACEOF
61542 /* end confdefs.h.  */
61543 #include <math.h>
61544 int
61545 main ()
61546 {
61547  __builtin_cos(0);
61548   ;
61549   return 0;
61550 }
61551 _ACEOF
61552 rm -f conftest.$ac_objext
61553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61554   (eval $ac_compile) 2>conftest.er1
61555   ac_status=$?
61556   grep -v '^ *+' conftest.er1 >conftest.err
61557   rm -f conftest.er1
61558   cat conftest.err >&5
61559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61560   (exit $ac_status); } &&
61561          { ac_try='test -z "$ac_cxx_werror_flag"
61562                          || test ! -s conftest.err'
61563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61564   (eval $ac_try) 2>&5
61565   ac_status=$?
61566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61567   (exit $ac_status); }; } &&
61568          { ac_try='test -s conftest.$ac_objext'
61569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61570   (eval $ac_try) 2>&5
61571   ac_status=$?
61572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61573   (exit $ac_status); }; }; then
61574   glibcxx_cv_func___builtin_cos_use=yes
61575 else
61576   echo "$as_me: failed program was:" >&5
61577 sed 's/^/| /' conftest.$ac_ext >&5
61578
61579 glibcxx_cv_func___builtin_cos_use=no
61580 fi
61581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61582       ac_ext=c
61583 ac_cpp='$CPP $CPPFLAGS'
61584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61587
61588
61589 fi
61590
61591   fi
61592   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
61593 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
61594   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
61595     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
61596 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
61597     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
61598       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
61599   echo $ECHO_N "(cached) $ECHO_C" >&6
61600 else
61601
61602         if test x$gcc_no_link = xyes; then
61603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61605    { (exit 1); exit 1; }; }
61606 fi
61607 cat >conftest.$ac_ext <<_ACEOF
61608 /* confdefs.h.  */
61609 _ACEOF
61610 cat confdefs.h >>conftest.$ac_ext
61611 cat >>conftest.$ac_ext <<_ACEOF
61612 /* end confdefs.h.  */
61613 #include <math.h>
61614 int
61615 main ()
61616 {
61617  __builtin_cos(0);
61618   ;
61619   return 0;
61620 }
61621 _ACEOF
61622 rm -f conftest.$ac_objext conftest$ac_exeext
61623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61624   (eval $ac_link) 2>conftest.er1
61625   ac_status=$?
61626   grep -v '^ *+' conftest.er1 >conftest.err
61627   rm -f conftest.er1
61628   cat conftest.err >&5
61629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61630   (exit $ac_status); } &&
61631          { ac_try='test -z "$ac_c_werror_flag"
61632                          || test ! -s conftest.err'
61633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61634   (eval $ac_try) 2>&5
61635   ac_status=$?
61636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61637   (exit $ac_status); }; } &&
61638          { ac_try='test -s conftest$ac_exeext'
61639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61640   (eval $ac_try) 2>&5
61641   ac_status=$?
61642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61643   (exit $ac_status); }; }; then
61644   glibcxx_cv_func___builtin_cos_link=yes
61645 else
61646   echo "$as_me: failed program was:" >&5
61647 sed 's/^/| /' conftest.$ac_ext >&5
61648
61649 glibcxx_cv_func___builtin_cos_link=no
61650 fi
61651 rm -f conftest.err conftest.$ac_objext \
61652       conftest$ac_exeext conftest.$ac_ext
61653
61654 fi
61655
61656     fi
61657     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
61658 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
61659
61660     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
61661
61662 cat >>confdefs.h <<\_ACEOF
61663 #define HAVE___BUILTIN_COS 1
61664 _ACEOF
61665
61666     fi
61667
61668   fi
61669
61670
61671   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
61672 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
61673   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
61674     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
61675   echo $ECHO_N "(cached) $ECHO_C" >&6
61676 else
61677
61678
61679
61680       ac_ext=cc
61681 ac_cpp='$CXXCPP $CPPFLAGS'
61682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61685
61686       cat >conftest.$ac_ext <<_ACEOF
61687 /* confdefs.h.  */
61688 _ACEOF
61689 cat confdefs.h >>conftest.$ac_ext
61690 cat >>conftest.$ac_ext <<_ACEOF
61691 /* end confdefs.h.  */
61692 #include <math.h>
61693 int
61694 main ()
61695 {
61696  __builtin_cosl(0);
61697   ;
61698   return 0;
61699 }
61700 _ACEOF
61701 rm -f conftest.$ac_objext
61702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61703   (eval $ac_compile) 2>conftest.er1
61704   ac_status=$?
61705   grep -v '^ *+' conftest.er1 >conftest.err
61706   rm -f conftest.er1
61707   cat conftest.err >&5
61708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61709   (exit $ac_status); } &&
61710          { ac_try='test -z "$ac_cxx_werror_flag"
61711                          || test ! -s conftest.err'
61712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61713   (eval $ac_try) 2>&5
61714   ac_status=$?
61715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716   (exit $ac_status); }; } &&
61717          { ac_try='test -s conftest.$ac_objext'
61718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61719   (eval $ac_try) 2>&5
61720   ac_status=$?
61721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61722   (exit $ac_status); }; }; then
61723   glibcxx_cv_func___builtin_cosl_use=yes
61724 else
61725   echo "$as_me: failed program was:" >&5
61726 sed 's/^/| /' conftest.$ac_ext >&5
61727
61728 glibcxx_cv_func___builtin_cosl_use=no
61729 fi
61730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61731       ac_ext=c
61732 ac_cpp='$CPP $CPPFLAGS'
61733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61736
61737
61738 fi
61739
61740   fi
61741   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61742 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61743   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61744     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61745 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61746     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61747       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61748   echo $ECHO_N "(cached) $ECHO_C" >&6
61749 else
61750
61751         if test x$gcc_no_link = xyes; then
61752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61754    { (exit 1); exit 1; }; }
61755 fi
61756 cat >conftest.$ac_ext <<_ACEOF
61757 /* confdefs.h.  */
61758 _ACEOF
61759 cat confdefs.h >>conftest.$ac_ext
61760 cat >>conftest.$ac_ext <<_ACEOF
61761 /* end confdefs.h.  */
61762 #include <math.h>
61763 int
61764 main ()
61765 {
61766  __builtin_cosl(0);
61767   ;
61768   return 0;
61769 }
61770 _ACEOF
61771 rm -f conftest.$ac_objext conftest$ac_exeext
61772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61773   (eval $ac_link) 2>conftest.er1
61774   ac_status=$?
61775   grep -v '^ *+' conftest.er1 >conftest.err
61776   rm -f conftest.er1
61777   cat conftest.err >&5
61778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61779   (exit $ac_status); } &&
61780          { ac_try='test -z "$ac_c_werror_flag"
61781                          || test ! -s conftest.err'
61782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61783   (eval $ac_try) 2>&5
61784   ac_status=$?
61785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786   (exit $ac_status); }; } &&
61787          { ac_try='test -s conftest$ac_exeext'
61788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61789   (eval $ac_try) 2>&5
61790   ac_status=$?
61791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61792   (exit $ac_status); }; }; then
61793   glibcxx_cv_func___builtin_cosl_link=yes
61794 else
61795   echo "$as_me: failed program was:" >&5
61796 sed 's/^/| /' conftest.$ac_ext >&5
61797
61798 glibcxx_cv_func___builtin_cosl_link=no
61799 fi
61800 rm -f conftest.err conftest.$ac_objext \
61801       conftest$ac_exeext conftest.$ac_ext
61802
61803 fi
61804
61805     fi
61806     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61808
61809     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61810
61811 cat >>confdefs.h <<\_ACEOF
61812 #define HAVE___BUILTIN_COSL 1
61813 _ACEOF
61814
61815     fi
61816
61817   fi
61818
61819
61820
61821
61822 echo "$as_me:$LINENO: checking for main in -lm" >&5
61823 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61824 if test "${ac_cv_lib_m_main+set}" = set; then
61825   echo $ECHO_N "(cached) $ECHO_C" >&6
61826 else
61827   ac_check_lib_save_LIBS=$LIBS
61828 LIBS="-lm  $LIBS"
61829 if test x$gcc_no_link = xyes; then
61830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61832    { (exit 1); exit 1; }; }
61833 fi
61834 cat >conftest.$ac_ext <<_ACEOF
61835 /* confdefs.h.  */
61836 _ACEOF
61837 cat confdefs.h >>conftest.$ac_ext
61838 cat >>conftest.$ac_ext <<_ACEOF
61839 /* end confdefs.h.  */
61840
61841
61842 int
61843 main ()
61844 {
61845 main ();
61846   ;
61847   return 0;
61848 }
61849 _ACEOF
61850 rm -f conftest.$ac_objext conftest$ac_exeext
61851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61852   (eval $ac_link) 2>conftest.er1
61853   ac_status=$?
61854   grep -v '^ *+' conftest.er1 >conftest.err
61855   rm -f conftest.er1
61856   cat conftest.err >&5
61857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61858   (exit $ac_status); } &&
61859          { ac_try='test -z "$ac_c_werror_flag"
61860                          || test ! -s conftest.err'
61861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61862   (eval $ac_try) 2>&5
61863   ac_status=$?
61864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61865   (exit $ac_status); }; } &&
61866          { ac_try='test -s conftest$ac_exeext'
61867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61868   (eval $ac_try) 2>&5
61869   ac_status=$?
61870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61871   (exit $ac_status); }; }; then
61872   ac_cv_lib_m_main=yes
61873 else
61874   echo "$as_me: failed program was:" >&5
61875 sed 's/^/| /' conftest.$ac_ext >&5
61876
61877 ac_cv_lib_m_main=no
61878 fi
61879 rm -f conftest.err conftest.$ac_objext \
61880       conftest$ac_exeext conftest.$ac_ext
61881 LIBS=$ac_check_lib_save_LIBS
61882 fi
61883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61884 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61885 if test $ac_cv_lib_m_main = yes; then
61886   cat >>confdefs.h <<_ACEOF
61887 #define HAVE_LIBM 1
61888 _ACEOF
61889
61890   LIBS="-lm $LIBS"
61891
61892 fi
61893
61894
61895 for ac_func in copysignf
61896 do
61897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61898 echo "$as_me:$LINENO: checking for $ac_func" >&5
61899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61900 if eval "test \"\${$as_ac_var+set}\" = set"; then
61901   echo $ECHO_N "(cached) $ECHO_C" >&6
61902 else
61903   if test x$gcc_no_link = xyes; then
61904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61906    { (exit 1); exit 1; }; }
61907 fi
61908 cat >conftest.$ac_ext <<_ACEOF
61909 /* confdefs.h.  */
61910 _ACEOF
61911 cat confdefs.h >>conftest.$ac_ext
61912 cat >>conftest.$ac_ext <<_ACEOF
61913 /* end confdefs.h.  */
61914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61916 #define $ac_func innocuous_$ac_func
61917
61918 /* System header to define __stub macros and hopefully few prototypes,
61919     which can conflict with char $ac_func (); below.
61920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61921     <limits.h> exists even on freestanding compilers.  */
61922
61923 #ifdef __STDC__
61924 # include <limits.h>
61925 #else
61926 # include <assert.h>
61927 #endif
61928
61929 #undef $ac_func
61930
61931 /* Override any gcc2 internal prototype to avoid an error.  */
61932 #ifdef __cplusplus
61933 extern "C"
61934 {
61935 #endif
61936 /* We use char because int might match the return type of a gcc2
61937    builtin and then its argument prototype would still apply.  */
61938 char $ac_func ();
61939 /* The GNU C library defines this for functions which it implements
61940     to always fail with ENOSYS.  Some functions are actually named
61941     something starting with __ and the normal name is an alias.  */
61942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61943 choke me
61944 #else
61945 char (*f) () = $ac_func;
61946 #endif
61947 #ifdef __cplusplus
61948 }
61949 #endif
61950
61951 int
61952 main ()
61953 {
61954 return f != $ac_func;
61955   ;
61956   return 0;
61957 }
61958 _ACEOF
61959 rm -f conftest.$ac_objext conftest$ac_exeext
61960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61961   (eval $ac_link) 2>conftest.er1
61962   ac_status=$?
61963   grep -v '^ *+' conftest.er1 >conftest.err
61964   rm -f conftest.er1
61965   cat conftest.err >&5
61966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61967   (exit $ac_status); } &&
61968          { ac_try='test -z "$ac_c_werror_flag"
61969                          || test ! -s conftest.err'
61970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61971   (eval $ac_try) 2>&5
61972   ac_status=$?
61973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61974   (exit $ac_status); }; } &&
61975          { ac_try='test -s conftest$ac_exeext'
61976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61977   (eval $ac_try) 2>&5
61978   ac_status=$?
61979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61980   (exit $ac_status); }; }; then
61981   eval "$as_ac_var=yes"
61982 else
61983   echo "$as_me: failed program was:" >&5
61984 sed 's/^/| /' conftest.$ac_ext >&5
61985
61986 eval "$as_ac_var=no"
61987 fi
61988 rm -f conftest.err conftest.$ac_objext \
61989       conftest$ac_exeext conftest.$ac_ext
61990 fi
61991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61993 if test `eval echo '${'$as_ac_var'}'` = yes; then
61994   cat >>confdefs.h <<_ACEOF
61995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61996 _ACEOF
61997
61998 else
61999   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62000 fi
62001 done
62002
62003
62004
62005 for ac_func in __signbit
62006 do
62007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62008 echo "$as_me:$LINENO: checking for $ac_func" >&5
62009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62010 if eval "test \"\${$as_ac_var+set}\" = set"; then
62011   echo $ECHO_N "(cached) $ECHO_C" >&6
62012 else
62013   if test x$gcc_no_link = xyes; then
62014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62016    { (exit 1); exit 1; }; }
62017 fi
62018 cat >conftest.$ac_ext <<_ACEOF
62019 /* confdefs.h.  */
62020 _ACEOF
62021 cat confdefs.h >>conftest.$ac_ext
62022 cat >>conftest.$ac_ext <<_ACEOF
62023 /* end confdefs.h.  */
62024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62026 #define $ac_func innocuous_$ac_func
62027
62028 /* System header to define __stub macros and hopefully few prototypes,
62029     which can conflict with char $ac_func (); below.
62030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62031     <limits.h> exists even on freestanding compilers.  */
62032
62033 #ifdef __STDC__
62034 # include <limits.h>
62035 #else
62036 # include <assert.h>
62037 #endif
62038
62039 #undef $ac_func
62040
62041 /* Override any gcc2 internal prototype to avoid an error.  */
62042 #ifdef __cplusplus
62043 extern "C"
62044 {
62045 #endif
62046 /* We use char because int might match the return type of a gcc2
62047    builtin and then its argument prototype would still apply.  */
62048 char $ac_func ();
62049 /* The GNU C library defines this for functions which it implements
62050     to always fail with ENOSYS.  Some functions are actually named
62051     something starting with __ and the normal name is an alias.  */
62052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62053 choke me
62054 #else
62055 char (*f) () = $ac_func;
62056 #endif
62057 #ifdef __cplusplus
62058 }
62059 #endif
62060
62061 int
62062 main ()
62063 {
62064 return f != $ac_func;
62065   ;
62066   return 0;
62067 }
62068 _ACEOF
62069 rm -f conftest.$ac_objext conftest$ac_exeext
62070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62071   (eval $ac_link) 2>conftest.er1
62072   ac_status=$?
62073   grep -v '^ *+' conftest.er1 >conftest.err
62074   rm -f conftest.er1
62075   cat conftest.err >&5
62076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62077   (exit $ac_status); } &&
62078          { ac_try='test -z "$ac_c_werror_flag"
62079                          || test ! -s conftest.err'
62080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62081   (eval $ac_try) 2>&5
62082   ac_status=$?
62083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62084   (exit $ac_status); }; } &&
62085          { ac_try='test -s conftest$ac_exeext'
62086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62087   (eval $ac_try) 2>&5
62088   ac_status=$?
62089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62090   (exit $ac_status); }; }; then
62091   eval "$as_ac_var=yes"
62092 else
62093   echo "$as_me: failed program was:" >&5
62094 sed 's/^/| /' conftest.$ac_ext >&5
62095
62096 eval "$as_ac_var=no"
62097 fi
62098 rm -f conftest.err conftest.$ac_objext \
62099       conftest$ac_exeext conftest.$ac_ext
62100 fi
62101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62103 if test `eval echo '${'$as_ac_var'}'` = yes; then
62104   cat >>confdefs.h <<_ACEOF
62105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62106 _ACEOF
62107
62108 else
62109   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62110 fi
62111 done
62112
62113
62114
62115 for ac_func in __signbitf
62116 do
62117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62118 echo "$as_me:$LINENO: checking for $ac_func" >&5
62119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62120 if eval "test \"\${$as_ac_var+set}\" = set"; then
62121   echo $ECHO_N "(cached) $ECHO_C" >&6
62122 else
62123   if test x$gcc_no_link = xyes; then
62124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62126    { (exit 1); exit 1; }; }
62127 fi
62128 cat >conftest.$ac_ext <<_ACEOF
62129 /* confdefs.h.  */
62130 _ACEOF
62131 cat confdefs.h >>conftest.$ac_ext
62132 cat >>conftest.$ac_ext <<_ACEOF
62133 /* end confdefs.h.  */
62134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62136 #define $ac_func innocuous_$ac_func
62137
62138 /* System header to define __stub macros and hopefully few prototypes,
62139     which can conflict with char $ac_func (); below.
62140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62141     <limits.h> exists even on freestanding compilers.  */
62142
62143 #ifdef __STDC__
62144 # include <limits.h>
62145 #else
62146 # include <assert.h>
62147 #endif
62148
62149 #undef $ac_func
62150
62151 /* Override any gcc2 internal prototype to avoid an error.  */
62152 #ifdef __cplusplus
62153 extern "C"
62154 {
62155 #endif
62156 /* We use char because int might match the return type of a gcc2
62157    builtin and then its argument prototype would still apply.  */
62158 char $ac_func ();
62159 /* The GNU C library defines this for functions which it implements
62160     to always fail with ENOSYS.  Some functions are actually named
62161     something starting with __ and the normal name is an alias.  */
62162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62163 choke me
62164 #else
62165 char (*f) () = $ac_func;
62166 #endif
62167 #ifdef __cplusplus
62168 }
62169 #endif
62170
62171 int
62172 main ()
62173 {
62174 return f != $ac_func;
62175   ;
62176   return 0;
62177 }
62178 _ACEOF
62179 rm -f conftest.$ac_objext conftest$ac_exeext
62180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62181   (eval $ac_link) 2>conftest.er1
62182   ac_status=$?
62183   grep -v '^ *+' conftest.er1 >conftest.err
62184   rm -f conftest.er1
62185   cat conftest.err >&5
62186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62187   (exit $ac_status); } &&
62188          { ac_try='test -z "$ac_c_werror_flag"
62189                          || test ! -s conftest.err'
62190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62191   (eval $ac_try) 2>&5
62192   ac_status=$?
62193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62194   (exit $ac_status); }; } &&
62195          { ac_try='test -s conftest$ac_exeext'
62196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62197   (eval $ac_try) 2>&5
62198   ac_status=$?
62199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62200   (exit $ac_status); }; }; then
62201   eval "$as_ac_var=yes"
62202 else
62203   echo "$as_me: failed program was:" >&5
62204 sed 's/^/| /' conftest.$ac_ext >&5
62205
62206 eval "$as_ac_var=no"
62207 fi
62208 rm -f conftest.err conftest.$ac_objext \
62209       conftest$ac_exeext conftest.$ac_ext
62210 fi
62211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62213 if test `eval echo '${'$as_ac_var'}'` = yes; then
62214   cat >>confdefs.h <<_ACEOF
62215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62216 _ACEOF
62217
62218 else
62219   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62220 fi
62221 done
62222
62223
62224           if test x$ac_cv_func_copysignl = x"yes"; then
62225
62226 for ac_func in __signbitl
62227 do
62228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62229 echo "$as_me:$LINENO: checking for $ac_func" >&5
62230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62231 if eval "test \"\${$as_ac_var+set}\" = set"; then
62232   echo $ECHO_N "(cached) $ECHO_C" >&6
62233 else
62234   if test x$gcc_no_link = xyes; then
62235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62237    { (exit 1); exit 1; }; }
62238 fi
62239 cat >conftest.$ac_ext <<_ACEOF
62240 /* confdefs.h.  */
62241 _ACEOF
62242 cat confdefs.h >>conftest.$ac_ext
62243 cat >>conftest.$ac_ext <<_ACEOF
62244 /* end confdefs.h.  */
62245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62247 #define $ac_func innocuous_$ac_func
62248
62249 /* System header to define __stub macros and hopefully few prototypes,
62250     which can conflict with char $ac_func (); below.
62251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62252     <limits.h> exists even on freestanding compilers.  */
62253
62254 #ifdef __STDC__
62255 # include <limits.h>
62256 #else
62257 # include <assert.h>
62258 #endif
62259
62260 #undef $ac_func
62261
62262 /* Override any gcc2 internal prototype to avoid an error.  */
62263 #ifdef __cplusplus
62264 extern "C"
62265 {
62266 #endif
62267 /* We use char because int might match the return type of a gcc2
62268    builtin and then its argument prototype would still apply.  */
62269 char $ac_func ();
62270 /* The GNU C library defines this for functions which it implements
62271     to always fail with ENOSYS.  Some functions are actually named
62272     something starting with __ and the normal name is an alias.  */
62273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62274 choke me
62275 #else
62276 char (*f) () = $ac_func;
62277 #endif
62278 #ifdef __cplusplus
62279 }
62280 #endif
62281
62282 int
62283 main ()
62284 {
62285 return f != $ac_func;
62286   ;
62287   return 0;
62288 }
62289 _ACEOF
62290 rm -f conftest.$ac_objext conftest$ac_exeext
62291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62292   (eval $ac_link) 2>conftest.er1
62293   ac_status=$?
62294   grep -v '^ *+' conftest.er1 >conftest.err
62295   rm -f conftest.er1
62296   cat conftest.err >&5
62297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298   (exit $ac_status); } &&
62299          { ac_try='test -z "$ac_c_werror_flag"
62300                          || test ! -s conftest.err'
62301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62302   (eval $ac_try) 2>&5
62303   ac_status=$?
62304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62305   (exit $ac_status); }; } &&
62306          { ac_try='test -s conftest$ac_exeext'
62307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62308   (eval $ac_try) 2>&5
62309   ac_status=$?
62310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311   (exit $ac_status); }; }; then
62312   eval "$as_ac_var=yes"
62313 else
62314   echo "$as_me: failed program was:" >&5
62315 sed 's/^/| /' conftest.$ac_ext >&5
62316
62317 eval "$as_ac_var=no"
62318 fi
62319 rm -f conftest.err conftest.$ac_objext \
62320       conftest$ac_exeext conftest.$ac_ext
62321 fi
62322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62324 if test `eval echo '${'$as_ac_var'}'` = yes; then
62325   cat >>confdefs.h <<_ACEOF
62326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62327 _ACEOF
62328
62329 else
62330   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
62331 fi
62332 done
62333
62334   fi
62335
62336   # Used in libmath/Makefile.am.
62337   if test -n "$LIBMATHOBJS"; then
62338     need_libmath=yes
62339   fi
62340
62341
62342
62343   ac_test_CXXFLAGS="${CXXFLAGS+set}"
62344   ac_save_CXXFLAGS="$CXXFLAGS"
62345   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62346
62347
62348   echo "$as_me:$LINENO: checking for strtold declaration" >&5
62349 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
62350   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62351     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
62352   echo $ECHO_N "(cached) $ECHO_C" >&6
62353 else
62354
62355
62356
62357       ac_ext=cc
62358 ac_cpp='$CXXCPP $CPPFLAGS'
62359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62362
62363       cat >conftest.$ac_ext <<_ACEOF
62364 /* confdefs.h.  */
62365 _ACEOF
62366 cat confdefs.h >>conftest.$ac_ext
62367 cat >>conftest.$ac_ext <<_ACEOF
62368 /* end confdefs.h.  */
62369 #include <stdlib.h>
62370 int
62371 main ()
62372 {
62373  strtold(0, 0);
62374   ;
62375   return 0;
62376 }
62377 _ACEOF
62378 rm -f conftest.$ac_objext
62379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62380   (eval $ac_compile) 2>conftest.er1
62381   ac_status=$?
62382   grep -v '^ *+' conftest.er1 >conftest.err
62383   rm -f conftest.er1
62384   cat conftest.err >&5
62385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62386   (exit $ac_status); } &&
62387          { ac_try='test -z "$ac_cxx_werror_flag"
62388                          || test ! -s conftest.err'
62389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62390   (eval $ac_try) 2>&5
62391   ac_status=$?
62392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62393   (exit $ac_status); }; } &&
62394          { ac_try='test -s conftest.$ac_objext'
62395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62396   (eval $ac_try) 2>&5
62397   ac_status=$?
62398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62399   (exit $ac_status); }; }; then
62400   glibcxx_cv_func_strtold_use=yes
62401 else
62402   echo "$as_me: failed program was:" >&5
62403 sed 's/^/| /' conftest.$ac_ext >&5
62404
62405 glibcxx_cv_func_strtold_use=no
62406 fi
62407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62408       ac_ext=c
62409 ac_cpp='$CPP $CPPFLAGS'
62410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62413
62414
62415 fi
62416
62417   fi
62418   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
62419 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
62420   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62421
62422 for ac_func in strtold
62423 do
62424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62425 echo "$as_me:$LINENO: checking for $ac_func" >&5
62426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62427 if eval "test \"\${$as_ac_var+set}\" = set"; then
62428   echo $ECHO_N "(cached) $ECHO_C" >&6
62429 else
62430   if test x$gcc_no_link = xyes; then
62431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62433    { (exit 1); exit 1; }; }
62434 fi
62435 cat >conftest.$ac_ext <<_ACEOF
62436 /* confdefs.h.  */
62437 _ACEOF
62438 cat confdefs.h >>conftest.$ac_ext
62439 cat >>conftest.$ac_ext <<_ACEOF
62440 /* end confdefs.h.  */
62441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62442    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62443 #define $ac_func innocuous_$ac_func
62444
62445 /* System header to define __stub macros and hopefully few prototypes,
62446     which can conflict with char $ac_func (); below.
62447     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62448     <limits.h> exists even on freestanding compilers.  */
62449
62450 #ifdef __STDC__
62451 # include <limits.h>
62452 #else
62453 # include <assert.h>
62454 #endif
62455
62456 #undef $ac_func
62457
62458 /* Override any gcc2 internal prototype to avoid an error.  */
62459 #ifdef __cplusplus
62460 extern "C"
62461 {
62462 #endif
62463 /* We use char because int might match the return type of a gcc2
62464    builtin and then its argument prototype would still apply.  */
62465 char $ac_func ();
62466 /* The GNU C library defines this for functions which it implements
62467     to always fail with ENOSYS.  Some functions are actually named
62468     something starting with __ and the normal name is an alias.  */
62469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62470 choke me
62471 #else
62472 char (*f) () = $ac_func;
62473 #endif
62474 #ifdef __cplusplus
62475 }
62476 #endif
62477
62478 int
62479 main ()
62480 {
62481 return f != $ac_func;
62482   ;
62483   return 0;
62484 }
62485 _ACEOF
62486 rm -f conftest.$ac_objext conftest$ac_exeext
62487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62488   (eval $ac_link) 2>conftest.er1
62489   ac_status=$?
62490   grep -v '^ *+' conftest.er1 >conftest.err
62491   rm -f conftest.er1
62492   cat conftest.err >&5
62493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62494   (exit $ac_status); } &&
62495          { ac_try='test -z "$ac_c_werror_flag"
62496                          || test ! -s conftest.err'
62497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62498   (eval $ac_try) 2>&5
62499   ac_status=$?
62500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62501   (exit $ac_status); }; } &&
62502          { ac_try='test -s conftest$ac_exeext'
62503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62504   (eval $ac_try) 2>&5
62505   ac_status=$?
62506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62507   (exit $ac_status); }; }; then
62508   eval "$as_ac_var=yes"
62509 else
62510   echo "$as_me: failed program was:" >&5
62511 sed 's/^/| /' conftest.$ac_ext >&5
62512
62513 eval "$as_ac_var=no"
62514 fi
62515 rm -f conftest.err conftest.$ac_objext \
62516       conftest$ac_exeext conftest.$ac_ext
62517 fi
62518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62520 if test `eval echo '${'$as_ac_var'}'` = yes; then
62521   cat >>confdefs.h <<_ACEOF
62522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62523 _ACEOF
62524
62525 fi
62526 done
62527
62528   fi
62529
62530
62531
62532
62533
62534   echo "$as_me:$LINENO: checking for strtof declaration" >&5
62535 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
62536   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62537     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
62538   echo $ECHO_N "(cached) $ECHO_C" >&6
62539 else
62540
62541
62542
62543       ac_ext=cc
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62548
62549       cat >conftest.$ac_ext <<_ACEOF
62550 /* confdefs.h.  */
62551 _ACEOF
62552 cat confdefs.h >>conftest.$ac_ext
62553 cat >>conftest.$ac_ext <<_ACEOF
62554 /* end confdefs.h.  */
62555 #include <stdlib.h>
62556 int
62557 main ()
62558 {
62559  strtof(0, 0);
62560   ;
62561   return 0;
62562 }
62563 _ACEOF
62564 rm -f conftest.$ac_objext
62565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62566   (eval $ac_compile) 2>conftest.er1
62567   ac_status=$?
62568   grep -v '^ *+' conftest.er1 >conftest.err
62569   rm -f conftest.er1
62570   cat conftest.err >&5
62571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62572   (exit $ac_status); } &&
62573          { ac_try='test -z "$ac_cxx_werror_flag"
62574                          || test ! -s conftest.err'
62575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62576   (eval $ac_try) 2>&5
62577   ac_status=$?
62578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62579   (exit $ac_status); }; } &&
62580          { ac_try='test -s conftest.$ac_objext'
62581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62582   (eval $ac_try) 2>&5
62583   ac_status=$?
62584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62585   (exit $ac_status); }; }; then
62586   glibcxx_cv_func_strtof_use=yes
62587 else
62588   echo "$as_me: failed program was:" >&5
62589 sed 's/^/| /' conftest.$ac_ext >&5
62590
62591 glibcxx_cv_func_strtof_use=no
62592 fi
62593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62594       ac_ext=c
62595 ac_cpp='$CPP $CPPFLAGS'
62596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62599
62600
62601 fi
62602
62603   fi
62604   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
62605 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
62606   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62607
62608 for ac_func in strtof
62609 do
62610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62611 echo "$as_me:$LINENO: checking for $ac_func" >&5
62612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62613 if eval "test \"\${$as_ac_var+set}\" = set"; then
62614   echo $ECHO_N "(cached) $ECHO_C" >&6
62615 else
62616   if test x$gcc_no_link = xyes; then
62617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62619    { (exit 1); exit 1; }; }
62620 fi
62621 cat >conftest.$ac_ext <<_ACEOF
62622 /* confdefs.h.  */
62623 _ACEOF
62624 cat confdefs.h >>conftest.$ac_ext
62625 cat >>conftest.$ac_ext <<_ACEOF
62626 /* end confdefs.h.  */
62627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62629 #define $ac_func innocuous_$ac_func
62630
62631 /* System header to define __stub macros and hopefully few prototypes,
62632     which can conflict with char $ac_func (); below.
62633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62634     <limits.h> exists even on freestanding compilers.  */
62635
62636 #ifdef __STDC__
62637 # include <limits.h>
62638 #else
62639 # include <assert.h>
62640 #endif
62641
62642 #undef $ac_func
62643
62644 /* Override any gcc2 internal prototype to avoid an error.  */
62645 #ifdef __cplusplus
62646 extern "C"
62647 {
62648 #endif
62649 /* We use char because int might match the return type of a gcc2
62650    builtin and then its argument prototype would still apply.  */
62651 char $ac_func ();
62652 /* The GNU C library defines this for functions which it implements
62653     to always fail with ENOSYS.  Some functions are actually named
62654     something starting with __ and the normal name is an alias.  */
62655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62656 choke me
62657 #else
62658 char (*f) () = $ac_func;
62659 #endif
62660 #ifdef __cplusplus
62661 }
62662 #endif
62663
62664 int
62665 main ()
62666 {
62667 return f != $ac_func;
62668   ;
62669   return 0;
62670 }
62671 _ACEOF
62672 rm -f conftest.$ac_objext conftest$ac_exeext
62673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62674   (eval $ac_link) 2>conftest.er1
62675   ac_status=$?
62676   grep -v '^ *+' conftest.er1 >conftest.err
62677   rm -f conftest.er1
62678   cat conftest.err >&5
62679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62680   (exit $ac_status); } &&
62681          { ac_try='test -z "$ac_c_werror_flag"
62682                          || test ! -s conftest.err'
62683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62684   (eval $ac_try) 2>&5
62685   ac_status=$?
62686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62687   (exit $ac_status); }; } &&
62688          { ac_try='test -s conftest$ac_exeext'
62689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62690   (eval $ac_try) 2>&5
62691   ac_status=$?
62692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62693   (exit $ac_status); }; }; then
62694   eval "$as_ac_var=yes"
62695 else
62696   echo "$as_me: failed program was:" >&5
62697 sed 's/^/| /' conftest.$ac_ext >&5
62698
62699 eval "$as_ac_var=no"
62700 fi
62701 rm -f conftest.err conftest.$ac_objext \
62702       conftest$ac_exeext conftest.$ac_ext
62703 fi
62704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62706 if test `eval echo '${'$as_ac_var'}'` = yes; then
62707   cat >>confdefs.h <<_ACEOF
62708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62709 _ACEOF
62710
62711 fi
62712 done
62713
62714   fi
62715
62716
62717
62718
62719
62720   CXXFLAGS="$ac_save_CXXFLAGS"
62721
62722
62723   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62724 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62725   if test "${glibcxx_cv_S_ISREG+set}" = set; then
62726   echo $ECHO_N "(cached) $ECHO_C" >&6
62727 else
62728
62729     if test x$gcc_no_link = xyes; then
62730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62732    { (exit 1); exit 1; }; }
62733 fi
62734 cat >conftest.$ac_ext <<_ACEOF
62735 /* confdefs.h.  */
62736 _ACEOF
62737 cat confdefs.h >>conftest.$ac_ext
62738 cat >>conftest.$ac_ext <<_ACEOF
62739 /* end confdefs.h.  */
62740 #include <sys/stat.h>
62741 int
62742 main ()
62743 {
62744 struct stat buffer;
62745        fstat(0, &buffer);
62746        S_ISREG(buffer.st_mode);
62747   ;
62748   return 0;
62749 }
62750 _ACEOF
62751 rm -f conftest.$ac_objext conftest$ac_exeext
62752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62753   (eval $ac_link) 2>conftest.er1
62754   ac_status=$?
62755   grep -v '^ *+' conftest.er1 >conftest.err
62756   rm -f conftest.er1
62757   cat conftest.err >&5
62758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62759   (exit $ac_status); } &&
62760          { ac_try='test -z "$ac_c_werror_flag"
62761                          || test ! -s conftest.err'
62762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62763   (eval $ac_try) 2>&5
62764   ac_status=$?
62765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62766   (exit $ac_status); }; } &&
62767          { ac_try='test -s conftest$ac_exeext'
62768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62769   (eval $ac_try) 2>&5
62770   ac_status=$?
62771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62772   (exit $ac_status); }; }; then
62773   glibcxx_cv_S_ISREG=yes
62774 else
62775   echo "$as_me: failed program was:" >&5
62776 sed 's/^/| /' conftest.$ac_ext >&5
62777
62778 glibcxx_cv_S_ISREG=no
62779 fi
62780 rm -f conftest.err conftest.$ac_objext \
62781       conftest$ac_exeext conftest.$ac_ext
62782
62783 fi
62784
62785   if test "${glibcxx_cv_S_IFREG+set}" = set; then
62786   echo $ECHO_N "(cached) $ECHO_C" >&6
62787 else
62788
62789     if test x$gcc_no_link = xyes; then
62790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62792    { (exit 1); exit 1; }; }
62793 fi
62794 cat >conftest.$ac_ext <<_ACEOF
62795 /* confdefs.h.  */
62796 _ACEOF
62797 cat confdefs.h >>conftest.$ac_ext
62798 cat >>conftest.$ac_ext <<_ACEOF
62799 /* end confdefs.h.  */
62800 #include <sys/stat.h>
62801 int
62802 main ()
62803 {
62804 struct stat buffer;
62805        fstat(0, &buffer);
62806        S_IFREG & buffer.st_mode;
62807   ;
62808   return 0;
62809 }
62810 _ACEOF
62811 rm -f conftest.$ac_objext conftest$ac_exeext
62812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62813   (eval $ac_link) 2>conftest.er1
62814   ac_status=$?
62815   grep -v '^ *+' conftest.er1 >conftest.err
62816   rm -f conftest.er1
62817   cat conftest.err >&5
62818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62819   (exit $ac_status); } &&
62820          { ac_try='test -z "$ac_c_werror_flag"
62821                          || test ! -s conftest.err'
62822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62823   (eval $ac_try) 2>&5
62824   ac_status=$?
62825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62826   (exit $ac_status); }; } &&
62827          { ac_try='test -s conftest$ac_exeext'
62828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62829   (eval $ac_try) 2>&5
62830   ac_status=$?
62831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62832   (exit $ac_status); }; }; then
62833   glibcxx_cv_S_IFREG=yes
62834 else
62835   echo "$as_me: failed program was:" >&5
62836 sed 's/^/| /' conftest.$ac_ext >&5
62837
62838 glibcxx_cv_S_IFREG=no
62839 fi
62840 rm -f conftest.err conftest.$ac_objext \
62841       conftest$ac_exeext conftest.$ac_ext
62842
62843 fi
62844
62845   res=no
62846   if test $glibcxx_cv_S_ISREG = yes; then
62847
62848 cat >>confdefs.h <<\_ACEOF
62849 #define HAVE_S_ISREG 1
62850 _ACEOF
62851
62852     res=S_ISREG
62853   elif test $glibcxx_cv_S_IFREG = yes; then
62854
62855 cat >>confdefs.h <<\_ACEOF
62856 #define HAVE_S_IFREG 1
62857 _ACEOF
62858
62859     res=S_IFREG
62860   fi
62861   echo "$as_me:$LINENO: result: $res" >&5
62862 echo "${ECHO_T}$res" >&6
62863
62864     cat >>confdefs.h <<\_ACEOF
62865 #define HAVE_SIGSETJMP 1
62866 _ACEOF
62867
62868     cat >>confdefs.h <<\_ACEOF
62869 #define HAVE_GETPAGESIZE 1
62870 _ACEOF
62871
62872     cat >>confdefs.h <<\_ACEOF
62873 #define HAVE_WRITEV 1
62874 _ACEOF
62875
62876     cat >>confdefs.h <<\_ACEOF
62877 #define HAVE_INT64_T 1
62878 _ACEOF
62879
62880
62881     cat >>confdefs.h <<\_ACEOF
62882 #define HAVE_LIBM 1
62883 _ACEOF
62884
62885     cat >>confdefs.h <<\_ACEOF
62886 #define HAVE_COPYSIGN 1
62887 _ACEOF
62888
62889     cat >>confdefs.h <<\_ACEOF
62890 #define HAVE_FINITE 1
62891 _ACEOF
62892
62893     cat >>confdefs.h <<\_ACEOF
62894 #define HAVE_HYPOT 1
62895 _ACEOF
62896
62897     cat >>confdefs.h <<\_ACEOF
62898 #define HAVE_ISNAN 1
62899 _ACEOF
62900
62901     cat >>confdefs.h <<\_ACEOF
62902 #define HAVE_ISINF 1
62903 _ACEOF
62904
62905
62906     cat >>confdefs.h <<\_ACEOF
62907 #define HAVE_LDEXPF 1
62908 _ACEOF
62909
62910     cat >>confdefs.h <<\_ACEOF
62911 #define HAVE_MODF 1
62912 _ACEOF
62913
62914     cat >>confdefs.h <<\_ACEOF
62915 #define HAVE_SQRTF 1
62916 _ACEOF
62917
62918     ;;
62919
62920   *-darwin*)
62921     # Darwin versions vary, but the linker should work in a cross environment,
62922     # so we just check for all the features here.
62923     # Check for available headers.
62924
62925
62926
62927
62928
62929
62930
62931
62932
62933
62934
62935
62936
62937 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
62938     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
62939     sys/types.h
62940 do
62941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62943   echo "$as_me:$LINENO: checking for $ac_header" >&5
62944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62946   echo $ECHO_N "(cached) $ECHO_C" >&6
62947 fi
62948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62950 else
62951   # Is the header compilable?
62952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62954 cat >conftest.$ac_ext <<_ACEOF
62955 /* confdefs.h.  */
62956 _ACEOF
62957 cat confdefs.h >>conftest.$ac_ext
62958 cat >>conftest.$ac_ext <<_ACEOF
62959 /* end confdefs.h.  */
62960 $ac_includes_default
62961 #include <$ac_header>
62962 _ACEOF
62963 rm -f conftest.$ac_objext
62964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62965   (eval $ac_compile) 2>conftest.er1
62966   ac_status=$?
62967   grep -v '^ *+' conftest.er1 >conftest.err
62968   rm -f conftest.er1
62969   cat conftest.err >&5
62970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62971   (exit $ac_status); } &&
62972          { ac_try='test -z "$ac_c_werror_flag"
62973                          || test ! -s conftest.err'
62974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62975   (eval $ac_try) 2>&5
62976   ac_status=$?
62977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62978   (exit $ac_status); }; } &&
62979          { ac_try='test -s conftest.$ac_objext'
62980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62981   (eval $ac_try) 2>&5
62982   ac_status=$?
62983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62984   (exit $ac_status); }; }; then
62985   ac_header_compiler=yes
62986 else
62987   echo "$as_me: failed program was:" >&5
62988 sed 's/^/| /' conftest.$ac_ext >&5
62989
62990 ac_header_compiler=no
62991 fi
62992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62994 echo "${ECHO_T}$ac_header_compiler" >&6
62995
62996 # Is the header present?
62997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62999 cat >conftest.$ac_ext <<_ACEOF
63000 /* confdefs.h.  */
63001 _ACEOF
63002 cat confdefs.h >>conftest.$ac_ext
63003 cat >>conftest.$ac_ext <<_ACEOF
63004 /* end confdefs.h.  */
63005 #include <$ac_header>
63006 _ACEOF
63007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63008   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63009   ac_status=$?
63010   grep -v '^ *+' conftest.er1 >conftest.err
63011   rm -f conftest.er1
63012   cat conftest.err >&5
63013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63014   (exit $ac_status); } >/dev/null; then
63015   if test -s conftest.err; then
63016     ac_cpp_err=$ac_c_preproc_warn_flag
63017     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63018   else
63019     ac_cpp_err=
63020   fi
63021 else
63022   ac_cpp_err=yes
63023 fi
63024 if test -z "$ac_cpp_err"; then
63025   ac_header_preproc=yes
63026 else
63027   echo "$as_me: failed program was:" >&5
63028 sed 's/^/| /' conftest.$ac_ext >&5
63029
63030   ac_header_preproc=no
63031 fi
63032 rm -f conftest.err conftest.$ac_ext
63033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63034 echo "${ECHO_T}$ac_header_preproc" >&6
63035
63036 # So?  What about this header?
63037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63038   yes:no: )
63039     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63041     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63043     ac_header_preproc=yes
63044     ;;
63045   no:yes:* )
63046     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63048     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
63049 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
63050     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63052     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
63053 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
63054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63056     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63058     (
63059       cat <<\_ASBOX
63060 ## ----------------------------------------- ##
63061 ## Report this to the package-unused lists.  ##
63062 ## ----------------------------------------- ##
63063 _ASBOX
63064     ) |
63065       sed "s/^/$as_me: WARNING:     /" >&2
63066     ;;
63067 esac
63068 echo "$as_me:$LINENO: checking for $ac_header" >&5
63069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63071   echo $ECHO_N "(cached) $ECHO_C" >&6
63072 else
63073   eval "$as_ac_Header=\$ac_header_preproc"
63074 fi
63075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63077
63078 fi
63079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63080   cat >>confdefs.h <<_ACEOF
63081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63082 _ACEOF
63083
63084 fi
63085
63086 done
63087
63088
63089     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63090
63091   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63092   ac_save_CXXFLAGS="$CXXFLAGS"
63093   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63094
63095     echo "$as_me:$LINENO: checking for sin in -lm" >&5
63096 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63097 if test "${ac_cv_lib_m_sin+set}" = set; then
63098   echo $ECHO_N "(cached) $ECHO_C" >&6
63099 else
63100   ac_check_lib_save_LIBS=$LIBS
63101 LIBS="-lm  $LIBS"
63102 if test x$gcc_no_link = xyes; then
63103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63105    { (exit 1); exit 1; }; }
63106 fi
63107 cat >conftest.$ac_ext <<_ACEOF
63108 /* confdefs.h.  */
63109 _ACEOF
63110 cat confdefs.h >>conftest.$ac_ext
63111 cat >>conftest.$ac_ext <<_ACEOF
63112 /* end confdefs.h.  */
63113
63114 /* Override any gcc2 internal prototype to avoid an error.  */
63115 #ifdef __cplusplus
63116 extern "C"
63117 #endif
63118 /* We use char because int might match the return type of a gcc2
63119    builtin and then its argument prototype would still apply.  */
63120 char sin ();
63121 int
63122 main ()
63123 {
63124 sin ();
63125   ;
63126   return 0;
63127 }
63128 _ACEOF
63129 rm -f conftest.$ac_objext conftest$ac_exeext
63130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63131   (eval $ac_link) 2>conftest.er1
63132   ac_status=$?
63133   grep -v '^ *+' conftest.er1 >conftest.err
63134   rm -f conftest.er1
63135   cat conftest.err >&5
63136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63137   (exit $ac_status); } &&
63138          { ac_try='test -z "$ac_c_werror_flag"
63139                          || test ! -s conftest.err'
63140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63141   (eval $ac_try) 2>&5
63142   ac_status=$?
63143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63144   (exit $ac_status); }; } &&
63145          { ac_try='test -s conftest$ac_exeext'
63146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63147   (eval $ac_try) 2>&5
63148   ac_status=$?
63149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63150   (exit $ac_status); }; }; then
63151   ac_cv_lib_m_sin=yes
63152 else
63153   echo "$as_me: failed program was:" >&5
63154 sed 's/^/| /' conftest.$ac_ext >&5
63155
63156 ac_cv_lib_m_sin=no
63157 fi
63158 rm -f conftest.err conftest.$ac_objext \
63159       conftest$ac_exeext conftest.$ac_ext
63160 LIBS=$ac_check_lib_save_LIBS
63161 fi
63162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63163 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63164 if test $ac_cv_lib_m_sin = yes; then
63165   libm="-lm"
63166 fi
63167
63168   ac_save_LIBS="$LIBS"
63169   LIBS="$LIBS $libm"
63170
63171
63172
63173   echo "$as_me:$LINENO: checking for isinf declaration" >&5
63174 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63175   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63176     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63177   echo $ECHO_N "(cached) $ECHO_C" >&6
63178 else
63179
63180
63181
63182       ac_ext=cc
63183 ac_cpp='$CXXCPP $CPPFLAGS'
63184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63187
63188       cat >conftest.$ac_ext <<_ACEOF
63189 /* confdefs.h.  */
63190 _ACEOF
63191 cat confdefs.h >>conftest.$ac_ext
63192 cat >>conftest.$ac_ext <<_ACEOF
63193 /* end confdefs.h.  */
63194 #include <math.h>
63195                       #ifdef HAVE_IEEEFP_H
63196                       #include <ieeefp.h>
63197                       #endif
63198
63199 int
63200 main ()
63201 {
63202  isinf(0);
63203   ;
63204   return 0;
63205 }
63206 _ACEOF
63207 rm -f conftest.$ac_objext
63208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63209   (eval $ac_compile) 2>conftest.er1
63210   ac_status=$?
63211   grep -v '^ *+' conftest.er1 >conftest.err
63212   rm -f conftest.er1
63213   cat conftest.err >&5
63214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63215   (exit $ac_status); } &&
63216          { ac_try='test -z "$ac_cxx_werror_flag"
63217                          || test ! -s conftest.err'
63218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63219   (eval $ac_try) 2>&5
63220   ac_status=$?
63221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63222   (exit $ac_status); }; } &&
63223          { ac_try='test -s conftest.$ac_objext'
63224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63225   (eval $ac_try) 2>&5
63226   ac_status=$?
63227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63228   (exit $ac_status); }; }; then
63229   glibcxx_cv_func_isinf_use=yes
63230 else
63231   echo "$as_me: failed program was:" >&5
63232 sed 's/^/| /' conftest.$ac_ext >&5
63233
63234 glibcxx_cv_func_isinf_use=no
63235 fi
63236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63237       ac_ext=c
63238 ac_cpp='$CPP $CPPFLAGS'
63239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63242
63243
63244 fi
63245
63246   fi
63247   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
63248 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
63249
63250   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63251
63252 for ac_func in isinf
63253 do
63254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63255 echo "$as_me:$LINENO: checking for $ac_func" >&5
63256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63257 if eval "test \"\${$as_ac_var+set}\" = set"; then
63258   echo $ECHO_N "(cached) $ECHO_C" >&6
63259 else
63260   if test x$gcc_no_link = xyes; then
63261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63263    { (exit 1); exit 1; }; }
63264 fi
63265 cat >conftest.$ac_ext <<_ACEOF
63266 /* confdefs.h.  */
63267 _ACEOF
63268 cat confdefs.h >>conftest.$ac_ext
63269 cat >>conftest.$ac_ext <<_ACEOF
63270 /* end confdefs.h.  */
63271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63273 #define $ac_func innocuous_$ac_func
63274
63275 /* System header to define __stub macros and hopefully few prototypes,
63276     which can conflict with char $ac_func (); below.
63277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63278     <limits.h> exists even on freestanding compilers.  */
63279
63280 #ifdef __STDC__
63281 # include <limits.h>
63282 #else
63283 # include <assert.h>
63284 #endif
63285
63286 #undef $ac_func
63287
63288 /* Override any gcc2 internal prototype to avoid an error.  */
63289 #ifdef __cplusplus
63290 extern "C"
63291 {
63292 #endif
63293 /* We use char because int might match the return type of a gcc2
63294    builtin and then its argument prototype would still apply.  */
63295 char $ac_func ();
63296 /* The GNU C library defines this for functions which it implements
63297     to always fail with ENOSYS.  Some functions are actually named
63298     something starting with __ and the normal name is an alias.  */
63299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63300 choke me
63301 #else
63302 char (*f) () = $ac_func;
63303 #endif
63304 #ifdef __cplusplus
63305 }
63306 #endif
63307
63308 int
63309 main ()
63310 {
63311 return f != $ac_func;
63312   ;
63313   return 0;
63314 }
63315 _ACEOF
63316 rm -f conftest.$ac_objext conftest$ac_exeext
63317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63318   (eval $ac_link) 2>conftest.er1
63319   ac_status=$?
63320   grep -v '^ *+' conftest.er1 >conftest.err
63321   rm -f conftest.er1
63322   cat conftest.err >&5
63323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63324   (exit $ac_status); } &&
63325          { ac_try='test -z "$ac_c_werror_flag"
63326                          || test ! -s conftest.err'
63327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63328   (eval $ac_try) 2>&5
63329   ac_status=$?
63330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63331   (exit $ac_status); }; } &&
63332          { ac_try='test -s conftest$ac_exeext'
63333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63334   (eval $ac_try) 2>&5
63335   ac_status=$?
63336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63337   (exit $ac_status); }; }; then
63338   eval "$as_ac_var=yes"
63339 else
63340   echo "$as_me: failed program was:" >&5
63341 sed 's/^/| /' conftest.$ac_ext >&5
63342
63343 eval "$as_ac_var=no"
63344 fi
63345 rm -f conftest.err conftest.$ac_objext \
63346       conftest$ac_exeext conftest.$ac_ext
63347 fi
63348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63350 if test `eval echo '${'$as_ac_var'}'` = yes; then
63351   cat >>confdefs.h <<_ACEOF
63352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63353 _ACEOF
63354
63355 fi
63356 done
63357
63358   else
63359
63360   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
63361 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
63362   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63363     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
63364   echo $ECHO_N "(cached) $ECHO_C" >&6
63365 else
63366
63367
63368
63369       ac_ext=cc
63370 ac_cpp='$CXXCPP $CPPFLAGS'
63371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63374
63375       cat >conftest.$ac_ext <<_ACEOF
63376 /* confdefs.h.  */
63377 _ACEOF
63378 cat confdefs.h >>conftest.$ac_ext
63379 cat >>conftest.$ac_ext <<_ACEOF
63380 /* end confdefs.h.  */
63381 #include <math.h>
63382                       #ifdef HAVE_IEEEFP_H
63383                       #include <ieeefp.h>
63384                       #endif
63385
63386 int
63387 main ()
63388 {
63389  _isinf(0);
63390   ;
63391   return 0;
63392 }
63393 _ACEOF
63394 rm -f conftest.$ac_objext
63395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63396   (eval $ac_compile) 2>conftest.er1
63397   ac_status=$?
63398   grep -v '^ *+' conftest.er1 >conftest.err
63399   rm -f conftest.er1
63400   cat conftest.err >&5
63401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63402   (exit $ac_status); } &&
63403          { ac_try='test -z "$ac_cxx_werror_flag"
63404                          || test ! -s conftest.err'
63405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63406   (eval $ac_try) 2>&5
63407   ac_status=$?
63408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63409   (exit $ac_status); }; } &&
63410          { ac_try='test -s conftest.$ac_objext'
63411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63412   (eval $ac_try) 2>&5
63413   ac_status=$?
63414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63415   (exit $ac_status); }; }; then
63416   glibcxx_cv_func__isinf_use=yes
63417 else
63418   echo "$as_me: failed program was:" >&5
63419 sed 's/^/| /' conftest.$ac_ext >&5
63420
63421 glibcxx_cv_func__isinf_use=no
63422 fi
63423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63424       ac_ext=c
63425 ac_cpp='$CPP $CPPFLAGS'
63426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63429
63430
63431 fi
63432
63433   fi
63434   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
63435 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
63436
63437     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63438
63439 for ac_func in _isinf
63440 do
63441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63442 echo "$as_me:$LINENO: checking for $ac_func" >&5
63443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63444 if eval "test \"\${$as_ac_var+set}\" = set"; then
63445   echo $ECHO_N "(cached) $ECHO_C" >&6
63446 else
63447   if test x$gcc_no_link = xyes; then
63448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63450    { (exit 1); exit 1; }; }
63451 fi
63452 cat >conftest.$ac_ext <<_ACEOF
63453 /* confdefs.h.  */
63454 _ACEOF
63455 cat confdefs.h >>conftest.$ac_ext
63456 cat >>conftest.$ac_ext <<_ACEOF
63457 /* end confdefs.h.  */
63458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63460 #define $ac_func innocuous_$ac_func
63461
63462 /* System header to define __stub macros and hopefully few prototypes,
63463     which can conflict with char $ac_func (); below.
63464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63465     <limits.h> exists even on freestanding compilers.  */
63466
63467 #ifdef __STDC__
63468 # include <limits.h>
63469 #else
63470 # include <assert.h>
63471 #endif
63472
63473 #undef $ac_func
63474
63475 /* Override any gcc2 internal prototype to avoid an error.  */
63476 #ifdef __cplusplus
63477 extern "C"
63478 {
63479 #endif
63480 /* We use char because int might match the return type of a gcc2
63481    builtin and then its argument prototype would still apply.  */
63482 char $ac_func ();
63483 /* The GNU C library defines this for functions which it implements
63484     to always fail with ENOSYS.  Some functions are actually named
63485     something starting with __ and the normal name is an alias.  */
63486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63487 choke me
63488 #else
63489 char (*f) () = $ac_func;
63490 #endif
63491 #ifdef __cplusplus
63492 }
63493 #endif
63494
63495 int
63496 main ()
63497 {
63498 return f != $ac_func;
63499   ;
63500   return 0;
63501 }
63502 _ACEOF
63503 rm -f conftest.$ac_objext conftest$ac_exeext
63504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63505   (eval $ac_link) 2>conftest.er1
63506   ac_status=$?
63507   grep -v '^ *+' conftest.er1 >conftest.err
63508   rm -f conftest.er1
63509   cat conftest.err >&5
63510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63511   (exit $ac_status); } &&
63512          { ac_try='test -z "$ac_c_werror_flag"
63513                          || test ! -s conftest.err'
63514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63515   (eval $ac_try) 2>&5
63516   ac_status=$?
63517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63518   (exit $ac_status); }; } &&
63519          { ac_try='test -s conftest$ac_exeext'
63520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63521   (eval $ac_try) 2>&5
63522   ac_status=$?
63523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63524   (exit $ac_status); }; }; then
63525   eval "$as_ac_var=yes"
63526 else
63527   echo "$as_me: failed program was:" >&5
63528 sed 's/^/| /' conftest.$ac_ext >&5
63529
63530 eval "$as_ac_var=no"
63531 fi
63532 rm -f conftest.err conftest.$ac_objext \
63533       conftest$ac_exeext conftest.$ac_ext
63534 fi
63535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63537 if test `eval echo '${'$as_ac_var'}'` = yes; then
63538   cat >>confdefs.h <<_ACEOF
63539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63540 _ACEOF
63541
63542 fi
63543 done
63544
63545     fi
63546   fi
63547
63548
63549
63550
63551
63552
63553   echo "$as_me:$LINENO: checking for isnan declaration" >&5
63554 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
63555   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63556     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
63557   echo $ECHO_N "(cached) $ECHO_C" >&6
63558 else
63559
63560
63561
63562       ac_ext=cc
63563 ac_cpp='$CXXCPP $CPPFLAGS'
63564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63567
63568       cat >conftest.$ac_ext <<_ACEOF
63569 /* confdefs.h.  */
63570 _ACEOF
63571 cat confdefs.h >>conftest.$ac_ext
63572 cat >>conftest.$ac_ext <<_ACEOF
63573 /* end confdefs.h.  */
63574 #include <math.h>
63575                       #ifdef HAVE_IEEEFP_H
63576                       #include <ieeefp.h>
63577                       #endif
63578
63579 int
63580 main ()
63581 {
63582  isnan(0);
63583   ;
63584   return 0;
63585 }
63586 _ACEOF
63587 rm -f conftest.$ac_objext
63588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63589   (eval $ac_compile) 2>conftest.er1
63590   ac_status=$?
63591   grep -v '^ *+' conftest.er1 >conftest.err
63592   rm -f conftest.er1
63593   cat conftest.err >&5
63594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63595   (exit $ac_status); } &&
63596          { ac_try='test -z "$ac_cxx_werror_flag"
63597                          || test ! -s conftest.err'
63598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63599   (eval $ac_try) 2>&5
63600   ac_status=$?
63601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63602   (exit $ac_status); }; } &&
63603          { ac_try='test -s conftest.$ac_objext'
63604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63605   (eval $ac_try) 2>&5
63606   ac_status=$?
63607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608   (exit $ac_status); }; }; then
63609   glibcxx_cv_func_isnan_use=yes
63610 else
63611   echo "$as_me: failed program was:" >&5
63612 sed 's/^/| /' conftest.$ac_ext >&5
63613
63614 glibcxx_cv_func_isnan_use=no
63615 fi
63616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63617       ac_ext=c
63618 ac_cpp='$CPP $CPPFLAGS'
63619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63622
63623
63624 fi
63625
63626   fi
63627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
63628 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
63629
63630   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63631
63632 for ac_func in isnan
63633 do
63634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63635 echo "$as_me:$LINENO: checking for $ac_func" >&5
63636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63637 if eval "test \"\${$as_ac_var+set}\" = set"; then
63638   echo $ECHO_N "(cached) $ECHO_C" >&6
63639 else
63640   if test x$gcc_no_link = xyes; then
63641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63643    { (exit 1); exit 1; }; }
63644 fi
63645 cat >conftest.$ac_ext <<_ACEOF
63646 /* confdefs.h.  */
63647 _ACEOF
63648 cat confdefs.h >>conftest.$ac_ext
63649 cat >>conftest.$ac_ext <<_ACEOF
63650 /* end confdefs.h.  */
63651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63653 #define $ac_func innocuous_$ac_func
63654
63655 /* System header to define __stub macros and hopefully few prototypes,
63656     which can conflict with char $ac_func (); below.
63657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63658     <limits.h> exists even on freestanding compilers.  */
63659
63660 #ifdef __STDC__
63661 # include <limits.h>
63662 #else
63663 # include <assert.h>
63664 #endif
63665
63666 #undef $ac_func
63667
63668 /* Override any gcc2 internal prototype to avoid an error.  */
63669 #ifdef __cplusplus
63670 extern "C"
63671 {
63672 #endif
63673 /* We use char because int might match the return type of a gcc2
63674    builtin and then its argument prototype would still apply.  */
63675 char $ac_func ();
63676 /* The GNU C library defines this for functions which it implements
63677     to always fail with ENOSYS.  Some functions are actually named
63678     something starting with __ and the normal name is an alias.  */
63679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63680 choke me
63681 #else
63682 char (*f) () = $ac_func;
63683 #endif
63684 #ifdef __cplusplus
63685 }
63686 #endif
63687
63688 int
63689 main ()
63690 {
63691 return f != $ac_func;
63692   ;
63693   return 0;
63694 }
63695 _ACEOF
63696 rm -f conftest.$ac_objext conftest$ac_exeext
63697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63698   (eval $ac_link) 2>conftest.er1
63699   ac_status=$?
63700   grep -v '^ *+' conftest.er1 >conftest.err
63701   rm -f conftest.er1
63702   cat conftest.err >&5
63703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63704   (exit $ac_status); } &&
63705          { ac_try='test -z "$ac_c_werror_flag"
63706                          || test ! -s conftest.err'
63707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63708   (eval $ac_try) 2>&5
63709   ac_status=$?
63710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63711   (exit $ac_status); }; } &&
63712          { ac_try='test -s conftest$ac_exeext'
63713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63714   (eval $ac_try) 2>&5
63715   ac_status=$?
63716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63717   (exit $ac_status); }; }; then
63718   eval "$as_ac_var=yes"
63719 else
63720   echo "$as_me: failed program was:" >&5
63721 sed 's/^/| /' conftest.$ac_ext >&5
63722
63723 eval "$as_ac_var=no"
63724 fi
63725 rm -f conftest.err conftest.$ac_objext \
63726       conftest$ac_exeext conftest.$ac_ext
63727 fi
63728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63730 if test `eval echo '${'$as_ac_var'}'` = yes; then
63731   cat >>confdefs.h <<_ACEOF
63732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63733 _ACEOF
63734
63735 fi
63736 done
63737
63738   else
63739
63740   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
63741 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
63742   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
63743     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
63744   echo $ECHO_N "(cached) $ECHO_C" >&6
63745 else
63746
63747
63748
63749       ac_ext=cc
63750 ac_cpp='$CXXCPP $CPPFLAGS'
63751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63754
63755       cat >conftest.$ac_ext <<_ACEOF
63756 /* confdefs.h.  */
63757 _ACEOF
63758 cat confdefs.h >>conftest.$ac_ext
63759 cat >>conftest.$ac_ext <<_ACEOF
63760 /* end confdefs.h.  */
63761 #include <math.h>
63762                       #ifdef HAVE_IEEEFP_H
63763                       #include <ieeefp.h>
63764                       #endif
63765
63766 int
63767 main ()
63768 {
63769  _isnan(0);
63770   ;
63771   return 0;
63772 }
63773 _ACEOF
63774 rm -f conftest.$ac_objext
63775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63776   (eval $ac_compile) 2>conftest.er1
63777   ac_status=$?
63778   grep -v '^ *+' conftest.er1 >conftest.err
63779   rm -f conftest.er1
63780   cat conftest.err >&5
63781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63782   (exit $ac_status); } &&
63783          { ac_try='test -z "$ac_cxx_werror_flag"
63784                          || test ! -s conftest.err'
63785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63786   (eval $ac_try) 2>&5
63787   ac_status=$?
63788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63789   (exit $ac_status); }; } &&
63790          { ac_try='test -s conftest.$ac_objext'
63791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63792   (eval $ac_try) 2>&5
63793   ac_status=$?
63794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63795   (exit $ac_status); }; }; then
63796   glibcxx_cv_func__isnan_use=yes
63797 else
63798   echo "$as_me: failed program was:" >&5
63799 sed 's/^/| /' conftest.$ac_ext >&5
63800
63801 glibcxx_cv_func__isnan_use=no
63802 fi
63803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63804       ac_ext=c
63805 ac_cpp='$CPP $CPPFLAGS'
63806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63809
63810
63811 fi
63812
63813   fi
63814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
63815 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
63816
63817     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63818
63819 for ac_func in _isnan
63820 do
63821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63822 echo "$as_me:$LINENO: checking for $ac_func" >&5
63823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63824 if eval "test \"\${$as_ac_var+set}\" = set"; then
63825   echo $ECHO_N "(cached) $ECHO_C" >&6
63826 else
63827   if test x$gcc_no_link = xyes; then
63828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63830    { (exit 1); exit 1; }; }
63831 fi
63832 cat >conftest.$ac_ext <<_ACEOF
63833 /* confdefs.h.  */
63834 _ACEOF
63835 cat confdefs.h >>conftest.$ac_ext
63836 cat >>conftest.$ac_ext <<_ACEOF
63837 /* end confdefs.h.  */
63838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63840 #define $ac_func innocuous_$ac_func
63841
63842 /* System header to define __stub macros and hopefully few prototypes,
63843     which can conflict with char $ac_func (); below.
63844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63845     <limits.h> exists even on freestanding compilers.  */
63846
63847 #ifdef __STDC__
63848 # include <limits.h>
63849 #else
63850 # include <assert.h>
63851 #endif
63852
63853 #undef $ac_func
63854
63855 /* Override any gcc2 internal prototype to avoid an error.  */
63856 #ifdef __cplusplus
63857 extern "C"
63858 {
63859 #endif
63860 /* We use char because int might match the return type of a gcc2
63861    builtin and then its argument prototype would still apply.  */
63862 char $ac_func ();
63863 /* The GNU C library defines this for functions which it implements
63864     to always fail with ENOSYS.  Some functions are actually named
63865     something starting with __ and the normal name is an alias.  */
63866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63867 choke me
63868 #else
63869 char (*f) () = $ac_func;
63870 #endif
63871 #ifdef __cplusplus
63872 }
63873 #endif
63874
63875 int
63876 main ()
63877 {
63878 return f != $ac_func;
63879   ;
63880   return 0;
63881 }
63882 _ACEOF
63883 rm -f conftest.$ac_objext conftest$ac_exeext
63884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63885   (eval $ac_link) 2>conftest.er1
63886   ac_status=$?
63887   grep -v '^ *+' conftest.er1 >conftest.err
63888   rm -f conftest.er1
63889   cat conftest.err >&5
63890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63891   (exit $ac_status); } &&
63892          { ac_try='test -z "$ac_c_werror_flag"
63893                          || test ! -s conftest.err'
63894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63895   (eval $ac_try) 2>&5
63896   ac_status=$?
63897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63898   (exit $ac_status); }; } &&
63899          { ac_try='test -s conftest$ac_exeext'
63900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63901   (eval $ac_try) 2>&5
63902   ac_status=$?
63903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63904   (exit $ac_status); }; }; then
63905   eval "$as_ac_var=yes"
63906 else
63907   echo "$as_me: failed program was:" >&5
63908 sed 's/^/| /' conftest.$ac_ext >&5
63909
63910 eval "$as_ac_var=no"
63911 fi
63912 rm -f conftest.err conftest.$ac_objext \
63913       conftest$ac_exeext conftest.$ac_ext
63914 fi
63915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63917 if test `eval echo '${'$as_ac_var'}'` = yes; then
63918   cat >>confdefs.h <<_ACEOF
63919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63920 _ACEOF
63921
63922 fi
63923 done
63924
63925     fi
63926   fi
63927
63928
63929
63930
63931
63932
63933   echo "$as_me:$LINENO: checking for finite declaration" >&5
63934 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
63935   if test x${glibcxx_cv_func_finite_use+set} != xset; then
63936     if test "${glibcxx_cv_func_finite_use+set}" = set; then
63937   echo $ECHO_N "(cached) $ECHO_C" >&6
63938 else
63939
63940
63941
63942       ac_ext=cc
63943 ac_cpp='$CXXCPP $CPPFLAGS'
63944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63947
63948       cat >conftest.$ac_ext <<_ACEOF
63949 /* confdefs.h.  */
63950 _ACEOF
63951 cat confdefs.h >>conftest.$ac_ext
63952 cat >>conftest.$ac_ext <<_ACEOF
63953 /* end confdefs.h.  */
63954 #include <math.h>
63955                       #ifdef HAVE_IEEEFP_H
63956                       #include <ieeefp.h>
63957                       #endif
63958
63959 int
63960 main ()
63961 {
63962  finite(0);
63963   ;
63964   return 0;
63965 }
63966 _ACEOF
63967 rm -f conftest.$ac_objext
63968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63969   (eval $ac_compile) 2>conftest.er1
63970   ac_status=$?
63971   grep -v '^ *+' conftest.er1 >conftest.err
63972   rm -f conftest.er1
63973   cat conftest.err >&5
63974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63975   (exit $ac_status); } &&
63976          { ac_try='test -z "$ac_cxx_werror_flag"
63977                          || test ! -s conftest.err'
63978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63979   (eval $ac_try) 2>&5
63980   ac_status=$?
63981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63982   (exit $ac_status); }; } &&
63983          { ac_try='test -s conftest.$ac_objext'
63984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63985   (eval $ac_try) 2>&5
63986   ac_status=$?
63987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63988   (exit $ac_status); }; }; then
63989   glibcxx_cv_func_finite_use=yes
63990 else
63991   echo "$as_me: failed program was:" >&5
63992 sed 's/^/| /' conftest.$ac_ext >&5
63993
63994 glibcxx_cv_func_finite_use=no
63995 fi
63996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63997       ac_ext=c
63998 ac_cpp='$CPP $CPPFLAGS'
63999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64002
64003
64004 fi
64005
64006   fi
64007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64008 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64009
64010   if test x$glibcxx_cv_func_finite_use = x"yes"; then
64011
64012 for ac_func in finite
64013 do
64014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64015 echo "$as_me:$LINENO: checking for $ac_func" >&5
64016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64017 if eval "test \"\${$as_ac_var+set}\" = set"; then
64018   echo $ECHO_N "(cached) $ECHO_C" >&6
64019 else
64020   if test x$gcc_no_link = xyes; then
64021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64023    { (exit 1); exit 1; }; }
64024 fi
64025 cat >conftest.$ac_ext <<_ACEOF
64026 /* confdefs.h.  */
64027 _ACEOF
64028 cat confdefs.h >>conftest.$ac_ext
64029 cat >>conftest.$ac_ext <<_ACEOF
64030 /* end confdefs.h.  */
64031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64033 #define $ac_func innocuous_$ac_func
64034
64035 /* System header to define __stub macros and hopefully few prototypes,
64036     which can conflict with char $ac_func (); below.
64037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64038     <limits.h> exists even on freestanding compilers.  */
64039
64040 #ifdef __STDC__
64041 # include <limits.h>
64042 #else
64043 # include <assert.h>
64044 #endif
64045
64046 #undef $ac_func
64047
64048 /* Override any gcc2 internal prototype to avoid an error.  */
64049 #ifdef __cplusplus
64050 extern "C"
64051 {
64052 #endif
64053 /* We use char because int might match the return type of a gcc2
64054    builtin and then its argument prototype would still apply.  */
64055 char $ac_func ();
64056 /* The GNU C library defines this for functions which it implements
64057     to always fail with ENOSYS.  Some functions are actually named
64058     something starting with __ and the normal name is an alias.  */
64059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64060 choke me
64061 #else
64062 char (*f) () = $ac_func;
64063 #endif
64064 #ifdef __cplusplus
64065 }
64066 #endif
64067
64068 int
64069 main ()
64070 {
64071 return f != $ac_func;
64072   ;
64073   return 0;
64074 }
64075 _ACEOF
64076 rm -f conftest.$ac_objext conftest$ac_exeext
64077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64078   (eval $ac_link) 2>conftest.er1
64079   ac_status=$?
64080   grep -v '^ *+' conftest.er1 >conftest.err
64081   rm -f conftest.er1
64082   cat conftest.err >&5
64083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64084   (exit $ac_status); } &&
64085          { ac_try='test -z "$ac_c_werror_flag"
64086                          || test ! -s conftest.err'
64087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64088   (eval $ac_try) 2>&5
64089   ac_status=$?
64090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64091   (exit $ac_status); }; } &&
64092          { ac_try='test -s conftest$ac_exeext'
64093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64094   (eval $ac_try) 2>&5
64095   ac_status=$?
64096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097   (exit $ac_status); }; }; then
64098   eval "$as_ac_var=yes"
64099 else
64100   echo "$as_me: failed program was:" >&5
64101 sed 's/^/| /' conftest.$ac_ext >&5
64102
64103 eval "$as_ac_var=no"
64104 fi
64105 rm -f conftest.err conftest.$ac_objext \
64106       conftest$ac_exeext conftest.$ac_ext
64107 fi
64108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64110 if test `eval echo '${'$as_ac_var'}'` = yes; then
64111   cat >>confdefs.h <<_ACEOF
64112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64113 _ACEOF
64114
64115 fi
64116 done
64117
64118   else
64119
64120   echo "$as_me:$LINENO: checking for _finite declaration" >&5
64121 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64122   if test x${glibcxx_cv_func__finite_use+set} != xset; then
64123     if test "${glibcxx_cv_func__finite_use+set}" = set; then
64124   echo $ECHO_N "(cached) $ECHO_C" >&6
64125 else
64126
64127
64128
64129       ac_ext=cc
64130 ac_cpp='$CXXCPP $CPPFLAGS'
64131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64134
64135       cat >conftest.$ac_ext <<_ACEOF
64136 /* confdefs.h.  */
64137 _ACEOF
64138 cat confdefs.h >>conftest.$ac_ext
64139 cat >>conftest.$ac_ext <<_ACEOF
64140 /* end confdefs.h.  */
64141 #include <math.h>
64142                       #ifdef HAVE_IEEEFP_H
64143                       #include <ieeefp.h>
64144                       #endif
64145
64146 int
64147 main ()
64148 {
64149  _finite(0);
64150   ;
64151   return 0;
64152 }
64153 _ACEOF
64154 rm -f conftest.$ac_objext
64155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64156   (eval $ac_compile) 2>conftest.er1
64157   ac_status=$?
64158   grep -v '^ *+' conftest.er1 >conftest.err
64159   rm -f conftest.er1
64160   cat conftest.err >&5
64161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64162   (exit $ac_status); } &&
64163          { ac_try='test -z "$ac_cxx_werror_flag"
64164                          || test ! -s conftest.err'
64165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64166   (eval $ac_try) 2>&5
64167   ac_status=$?
64168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64169   (exit $ac_status); }; } &&
64170          { ac_try='test -s conftest.$ac_objext'
64171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64172   (eval $ac_try) 2>&5
64173   ac_status=$?
64174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64175   (exit $ac_status); }; }; then
64176   glibcxx_cv_func__finite_use=yes
64177 else
64178   echo "$as_me: failed program was:" >&5
64179 sed 's/^/| /' conftest.$ac_ext >&5
64180
64181 glibcxx_cv_func__finite_use=no
64182 fi
64183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64184       ac_ext=c
64185 ac_cpp='$CPP $CPPFLAGS'
64186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64189
64190
64191 fi
64192
64193   fi
64194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64195 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64196
64197     if test x$glibcxx_cv_func__finite_use = x"yes"; then
64198
64199 for ac_func in _finite
64200 do
64201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64202 echo "$as_me:$LINENO: checking for $ac_func" >&5
64203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64204 if eval "test \"\${$as_ac_var+set}\" = set"; then
64205   echo $ECHO_N "(cached) $ECHO_C" >&6
64206 else
64207   if test x$gcc_no_link = xyes; then
64208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64210    { (exit 1); exit 1; }; }
64211 fi
64212 cat >conftest.$ac_ext <<_ACEOF
64213 /* confdefs.h.  */
64214 _ACEOF
64215 cat confdefs.h >>conftest.$ac_ext
64216 cat >>conftest.$ac_ext <<_ACEOF
64217 /* end confdefs.h.  */
64218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64220 #define $ac_func innocuous_$ac_func
64221
64222 /* System header to define __stub macros and hopefully few prototypes,
64223     which can conflict with char $ac_func (); below.
64224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64225     <limits.h> exists even on freestanding compilers.  */
64226
64227 #ifdef __STDC__
64228 # include <limits.h>
64229 #else
64230 # include <assert.h>
64231 #endif
64232
64233 #undef $ac_func
64234
64235 /* Override any gcc2 internal prototype to avoid an error.  */
64236 #ifdef __cplusplus
64237 extern "C"
64238 {
64239 #endif
64240 /* We use char because int might match the return type of a gcc2
64241    builtin and then its argument prototype would still apply.  */
64242 char $ac_func ();
64243 /* The GNU C library defines this for functions which it implements
64244     to always fail with ENOSYS.  Some functions are actually named
64245     something starting with __ and the normal name is an alias.  */
64246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64247 choke me
64248 #else
64249 char (*f) () = $ac_func;
64250 #endif
64251 #ifdef __cplusplus
64252 }
64253 #endif
64254
64255 int
64256 main ()
64257 {
64258 return f != $ac_func;
64259   ;
64260   return 0;
64261 }
64262 _ACEOF
64263 rm -f conftest.$ac_objext conftest$ac_exeext
64264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64265   (eval $ac_link) 2>conftest.er1
64266   ac_status=$?
64267   grep -v '^ *+' conftest.er1 >conftest.err
64268   rm -f conftest.er1
64269   cat conftest.err >&5
64270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271   (exit $ac_status); } &&
64272          { ac_try='test -z "$ac_c_werror_flag"
64273                          || test ! -s conftest.err'
64274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64275   (eval $ac_try) 2>&5
64276   ac_status=$?
64277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64278   (exit $ac_status); }; } &&
64279          { ac_try='test -s conftest$ac_exeext'
64280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64281   (eval $ac_try) 2>&5
64282   ac_status=$?
64283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64284   (exit $ac_status); }; }; then
64285   eval "$as_ac_var=yes"
64286 else
64287   echo "$as_me: failed program was:" >&5
64288 sed 's/^/| /' conftest.$ac_ext >&5
64289
64290 eval "$as_ac_var=no"
64291 fi
64292 rm -f conftest.err conftest.$ac_objext \
64293       conftest$ac_exeext conftest.$ac_ext
64294 fi
64295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64297 if test `eval echo '${'$as_ac_var'}'` = yes; then
64298   cat >>confdefs.h <<_ACEOF
64299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64300 _ACEOF
64301
64302 fi
64303 done
64304
64305     fi
64306   fi
64307
64308
64309
64310
64311
64312
64313   echo "$as_me:$LINENO: checking for copysign declaration" >&5
64314 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
64315   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
64316     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
64317   echo $ECHO_N "(cached) $ECHO_C" >&6
64318 else
64319
64320
64321
64322       ac_ext=cc
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64327
64328       cat >conftest.$ac_ext <<_ACEOF
64329 /* confdefs.h.  */
64330 _ACEOF
64331 cat confdefs.h >>conftest.$ac_ext
64332 cat >>conftest.$ac_ext <<_ACEOF
64333 /* end confdefs.h.  */
64334 #include <math.h>
64335 int
64336 main ()
64337 {
64338  copysign(0, 0);
64339   ;
64340   return 0;
64341 }
64342 _ACEOF
64343 rm -f conftest.$ac_objext
64344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64345   (eval $ac_compile) 2>conftest.er1
64346   ac_status=$?
64347   grep -v '^ *+' conftest.er1 >conftest.err
64348   rm -f conftest.er1
64349   cat conftest.err >&5
64350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64351   (exit $ac_status); } &&
64352          { ac_try='test -z "$ac_cxx_werror_flag"
64353                          || test ! -s conftest.err'
64354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355   (eval $ac_try) 2>&5
64356   ac_status=$?
64357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358   (exit $ac_status); }; } &&
64359          { ac_try='test -s conftest.$ac_objext'
64360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64361   (eval $ac_try) 2>&5
64362   ac_status=$?
64363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64364   (exit $ac_status); }; }; then
64365   glibcxx_cv_func_copysign_use=yes
64366 else
64367   echo "$as_me: failed program was:" >&5
64368 sed 's/^/| /' conftest.$ac_ext >&5
64369
64370 glibcxx_cv_func_copysign_use=no
64371 fi
64372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64373       ac_ext=c
64374 ac_cpp='$CPP $CPPFLAGS'
64375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64378
64379
64380 fi
64381
64382   fi
64383   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
64384 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
64385
64386   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
64387
64388 for ac_func in copysign
64389 do
64390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64391 echo "$as_me:$LINENO: checking for $ac_func" >&5
64392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64393 if eval "test \"\${$as_ac_var+set}\" = set"; then
64394   echo $ECHO_N "(cached) $ECHO_C" >&6
64395 else
64396   if test x$gcc_no_link = xyes; then
64397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64399    { (exit 1); exit 1; }; }
64400 fi
64401 cat >conftest.$ac_ext <<_ACEOF
64402 /* confdefs.h.  */
64403 _ACEOF
64404 cat confdefs.h >>conftest.$ac_ext
64405 cat >>conftest.$ac_ext <<_ACEOF
64406 /* end confdefs.h.  */
64407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64409 #define $ac_func innocuous_$ac_func
64410
64411 /* System header to define __stub macros and hopefully few prototypes,
64412     which can conflict with char $ac_func (); below.
64413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64414     <limits.h> exists even on freestanding compilers.  */
64415
64416 #ifdef __STDC__
64417 # include <limits.h>
64418 #else
64419 # include <assert.h>
64420 #endif
64421
64422 #undef $ac_func
64423
64424 /* Override any gcc2 internal prototype to avoid an error.  */
64425 #ifdef __cplusplus
64426 extern "C"
64427 {
64428 #endif
64429 /* We use char because int might match the return type of a gcc2
64430    builtin and then its argument prototype would still apply.  */
64431 char $ac_func ();
64432 /* The GNU C library defines this for functions which it implements
64433     to always fail with ENOSYS.  Some functions are actually named
64434     something starting with __ and the normal name is an alias.  */
64435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64436 choke me
64437 #else
64438 char (*f) () = $ac_func;
64439 #endif
64440 #ifdef __cplusplus
64441 }
64442 #endif
64443
64444 int
64445 main ()
64446 {
64447 return f != $ac_func;
64448   ;
64449   return 0;
64450 }
64451 _ACEOF
64452 rm -f conftest.$ac_objext conftest$ac_exeext
64453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64454   (eval $ac_link) 2>conftest.er1
64455   ac_status=$?
64456   grep -v '^ *+' conftest.er1 >conftest.err
64457   rm -f conftest.er1
64458   cat conftest.err >&5
64459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64460   (exit $ac_status); } &&
64461          { ac_try='test -z "$ac_c_werror_flag"
64462                          || test ! -s conftest.err'
64463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64464   (eval $ac_try) 2>&5
64465   ac_status=$?
64466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64467   (exit $ac_status); }; } &&
64468          { ac_try='test -s conftest$ac_exeext'
64469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64470   (eval $ac_try) 2>&5
64471   ac_status=$?
64472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64473   (exit $ac_status); }; }; then
64474   eval "$as_ac_var=yes"
64475 else
64476   echo "$as_me: failed program was:" >&5
64477 sed 's/^/| /' conftest.$ac_ext >&5
64478
64479 eval "$as_ac_var=no"
64480 fi
64481 rm -f conftest.err conftest.$ac_objext \
64482       conftest$ac_exeext conftest.$ac_ext
64483 fi
64484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64486 if test `eval echo '${'$as_ac_var'}'` = yes; then
64487   cat >>confdefs.h <<_ACEOF
64488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64489 _ACEOF
64490
64491 fi
64492 done
64493
64494   else
64495
64496   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
64497 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
64498   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
64499     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
64500   echo $ECHO_N "(cached) $ECHO_C" >&6
64501 else
64502
64503
64504
64505       ac_ext=cc
64506 ac_cpp='$CXXCPP $CPPFLAGS'
64507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64510
64511       cat >conftest.$ac_ext <<_ACEOF
64512 /* confdefs.h.  */
64513 _ACEOF
64514 cat confdefs.h >>conftest.$ac_ext
64515 cat >>conftest.$ac_ext <<_ACEOF
64516 /* end confdefs.h.  */
64517 #include <math.h>
64518 int
64519 main ()
64520 {
64521  _copysign(0, 0);
64522   ;
64523   return 0;
64524 }
64525 _ACEOF
64526 rm -f conftest.$ac_objext
64527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64528   (eval $ac_compile) 2>conftest.er1
64529   ac_status=$?
64530   grep -v '^ *+' conftest.er1 >conftest.err
64531   rm -f conftest.er1
64532   cat conftest.err >&5
64533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64534   (exit $ac_status); } &&
64535          { ac_try='test -z "$ac_cxx_werror_flag"
64536                          || test ! -s conftest.err'
64537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64538   (eval $ac_try) 2>&5
64539   ac_status=$?
64540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541   (exit $ac_status); }; } &&
64542          { ac_try='test -s conftest.$ac_objext'
64543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64544   (eval $ac_try) 2>&5
64545   ac_status=$?
64546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64547   (exit $ac_status); }; }; then
64548   glibcxx_cv_func__copysign_use=yes
64549 else
64550   echo "$as_me: failed program was:" >&5
64551 sed 's/^/| /' conftest.$ac_ext >&5
64552
64553 glibcxx_cv_func__copysign_use=no
64554 fi
64555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64556       ac_ext=c
64557 ac_cpp='$CPP $CPPFLAGS'
64558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64561
64562
64563 fi
64564
64565   fi
64566   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
64567 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
64568
64569     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
64570
64571 for ac_func in _copysign
64572 do
64573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64574 echo "$as_me:$LINENO: checking for $ac_func" >&5
64575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64576 if eval "test \"\${$as_ac_var+set}\" = set"; then
64577   echo $ECHO_N "(cached) $ECHO_C" >&6
64578 else
64579   if test x$gcc_no_link = xyes; then
64580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64582    { (exit 1); exit 1; }; }
64583 fi
64584 cat >conftest.$ac_ext <<_ACEOF
64585 /* confdefs.h.  */
64586 _ACEOF
64587 cat confdefs.h >>conftest.$ac_ext
64588 cat >>conftest.$ac_ext <<_ACEOF
64589 /* end confdefs.h.  */
64590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64592 #define $ac_func innocuous_$ac_func
64593
64594 /* System header to define __stub macros and hopefully few prototypes,
64595     which can conflict with char $ac_func (); below.
64596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64597     <limits.h> exists even on freestanding compilers.  */
64598
64599 #ifdef __STDC__
64600 # include <limits.h>
64601 #else
64602 # include <assert.h>
64603 #endif
64604
64605 #undef $ac_func
64606
64607 /* Override any gcc2 internal prototype to avoid an error.  */
64608 #ifdef __cplusplus
64609 extern "C"
64610 {
64611 #endif
64612 /* We use char because int might match the return type of a gcc2
64613    builtin and then its argument prototype would still apply.  */
64614 char $ac_func ();
64615 /* The GNU C library defines this for functions which it implements
64616     to always fail with ENOSYS.  Some functions are actually named
64617     something starting with __ and the normal name is an alias.  */
64618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64619 choke me
64620 #else
64621 char (*f) () = $ac_func;
64622 #endif
64623 #ifdef __cplusplus
64624 }
64625 #endif
64626
64627 int
64628 main ()
64629 {
64630 return f != $ac_func;
64631   ;
64632   return 0;
64633 }
64634 _ACEOF
64635 rm -f conftest.$ac_objext conftest$ac_exeext
64636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64637   (eval $ac_link) 2>conftest.er1
64638   ac_status=$?
64639   grep -v '^ *+' conftest.er1 >conftest.err
64640   rm -f conftest.er1
64641   cat conftest.err >&5
64642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64643   (exit $ac_status); } &&
64644          { ac_try='test -z "$ac_c_werror_flag"
64645                          || test ! -s conftest.err'
64646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64647   (eval $ac_try) 2>&5
64648   ac_status=$?
64649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64650   (exit $ac_status); }; } &&
64651          { ac_try='test -s conftest$ac_exeext'
64652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64653   (eval $ac_try) 2>&5
64654   ac_status=$?
64655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64656   (exit $ac_status); }; }; then
64657   eval "$as_ac_var=yes"
64658 else
64659   echo "$as_me: failed program was:" >&5
64660 sed 's/^/| /' conftest.$ac_ext >&5
64661
64662 eval "$as_ac_var=no"
64663 fi
64664 rm -f conftest.err conftest.$ac_objext \
64665       conftest$ac_exeext conftest.$ac_ext
64666 fi
64667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64669 if test `eval echo '${'$as_ac_var'}'` = yes; then
64670   cat >>confdefs.h <<_ACEOF
64671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64672 _ACEOF
64673
64674 fi
64675 done
64676
64677     fi
64678   fi
64679
64680
64681
64682
64683
64684
64685   echo "$as_me:$LINENO: checking for sincos declaration" >&5
64686 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
64687   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64688     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
64689   echo $ECHO_N "(cached) $ECHO_C" >&6
64690 else
64691
64692
64693
64694       ac_ext=cc
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64699
64700       cat >conftest.$ac_ext <<_ACEOF
64701 /* confdefs.h.  */
64702 _ACEOF
64703 cat confdefs.h >>conftest.$ac_ext
64704 cat >>conftest.$ac_ext <<_ACEOF
64705 /* end confdefs.h.  */
64706 #include <math.h>
64707 int
64708 main ()
64709 {
64710  sincos(0, 0, 0);
64711   ;
64712   return 0;
64713 }
64714 _ACEOF
64715 rm -f conftest.$ac_objext
64716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64717   (eval $ac_compile) 2>conftest.er1
64718   ac_status=$?
64719   grep -v '^ *+' conftest.er1 >conftest.err
64720   rm -f conftest.er1
64721   cat conftest.err >&5
64722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64723   (exit $ac_status); } &&
64724          { ac_try='test -z "$ac_cxx_werror_flag"
64725                          || test ! -s conftest.err'
64726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64727   (eval $ac_try) 2>&5
64728   ac_status=$?
64729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64730   (exit $ac_status); }; } &&
64731          { ac_try='test -s conftest.$ac_objext'
64732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64733   (eval $ac_try) 2>&5
64734   ac_status=$?
64735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64736   (exit $ac_status); }; }; then
64737   glibcxx_cv_func_sincos_use=yes
64738 else
64739   echo "$as_me: failed program was:" >&5
64740 sed 's/^/| /' conftest.$ac_ext >&5
64741
64742 glibcxx_cv_func_sincos_use=no
64743 fi
64744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64745       ac_ext=c
64746 ac_cpp='$CPP $CPPFLAGS'
64747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64750
64751
64752 fi
64753
64754   fi
64755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
64756 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
64757
64758   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64759
64760 for ac_func in sincos
64761 do
64762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64763 echo "$as_me:$LINENO: checking for $ac_func" >&5
64764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64765 if eval "test \"\${$as_ac_var+set}\" = set"; then
64766   echo $ECHO_N "(cached) $ECHO_C" >&6
64767 else
64768   if test x$gcc_no_link = xyes; then
64769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64771    { (exit 1); exit 1; }; }
64772 fi
64773 cat >conftest.$ac_ext <<_ACEOF
64774 /* confdefs.h.  */
64775 _ACEOF
64776 cat confdefs.h >>conftest.$ac_ext
64777 cat >>conftest.$ac_ext <<_ACEOF
64778 /* end confdefs.h.  */
64779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64781 #define $ac_func innocuous_$ac_func
64782
64783 /* System header to define __stub macros and hopefully few prototypes,
64784     which can conflict with char $ac_func (); below.
64785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64786     <limits.h> exists even on freestanding compilers.  */
64787
64788 #ifdef __STDC__
64789 # include <limits.h>
64790 #else
64791 # include <assert.h>
64792 #endif
64793
64794 #undef $ac_func
64795
64796 /* Override any gcc2 internal prototype to avoid an error.  */
64797 #ifdef __cplusplus
64798 extern "C"
64799 {
64800 #endif
64801 /* We use char because int might match the return type of a gcc2
64802    builtin and then its argument prototype would still apply.  */
64803 char $ac_func ();
64804 /* The GNU C library defines this for functions which it implements
64805     to always fail with ENOSYS.  Some functions are actually named
64806     something starting with __ and the normal name is an alias.  */
64807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64808 choke me
64809 #else
64810 char (*f) () = $ac_func;
64811 #endif
64812 #ifdef __cplusplus
64813 }
64814 #endif
64815
64816 int
64817 main ()
64818 {
64819 return f != $ac_func;
64820   ;
64821   return 0;
64822 }
64823 _ACEOF
64824 rm -f conftest.$ac_objext conftest$ac_exeext
64825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64826   (eval $ac_link) 2>conftest.er1
64827   ac_status=$?
64828   grep -v '^ *+' conftest.er1 >conftest.err
64829   rm -f conftest.er1
64830   cat conftest.err >&5
64831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64832   (exit $ac_status); } &&
64833          { ac_try='test -z "$ac_c_werror_flag"
64834                          || test ! -s conftest.err'
64835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64836   (eval $ac_try) 2>&5
64837   ac_status=$?
64838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64839   (exit $ac_status); }; } &&
64840          { ac_try='test -s conftest$ac_exeext'
64841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64842   (eval $ac_try) 2>&5
64843   ac_status=$?
64844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64845   (exit $ac_status); }; }; then
64846   eval "$as_ac_var=yes"
64847 else
64848   echo "$as_me: failed program was:" >&5
64849 sed 's/^/| /' conftest.$ac_ext >&5
64850
64851 eval "$as_ac_var=no"
64852 fi
64853 rm -f conftest.err conftest.$ac_objext \
64854       conftest$ac_exeext conftest.$ac_ext
64855 fi
64856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64858 if test `eval echo '${'$as_ac_var'}'` = yes; then
64859   cat >>confdefs.h <<_ACEOF
64860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64861 _ACEOF
64862
64863 fi
64864 done
64865
64866   else
64867
64868   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
64869 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
64870   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64871     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
64872   echo $ECHO_N "(cached) $ECHO_C" >&6
64873 else
64874
64875
64876
64877       ac_ext=cc
64878 ac_cpp='$CXXCPP $CPPFLAGS'
64879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64882
64883       cat >conftest.$ac_ext <<_ACEOF
64884 /* confdefs.h.  */
64885 _ACEOF
64886 cat confdefs.h >>conftest.$ac_ext
64887 cat >>conftest.$ac_ext <<_ACEOF
64888 /* end confdefs.h.  */
64889 #include <math.h>
64890 int
64891 main ()
64892 {
64893  _sincos(0, 0, 0);
64894   ;
64895   return 0;
64896 }
64897 _ACEOF
64898 rm -f conftest.$ac_objext
64899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64900   (eval $ac_compile) 2>conftest.er1
64901   ac_status=$?
64902   grep -v '^ *+' conftest.er1 >conftest.err
64903   rm -f conftest.er1
64904   cat conftest.err >&5
64905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906   (exit $ac_status); } &&
64907          { ac_try='test -z "$ac_cxx_werror_flag"
64908                          || test ! -s conftest.err'
64909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64910   (eval $ac_try) 2>&5
64911   ac_status=$?
64912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913   (exit $ac_status); }; } &&
64914          { ac_try='test -s conftest.$ac_objext'
64915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64916   (eval $ac_try) 2>&5
64917   ac_status=$?
64918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64919   (exit $ac_status); }; }; then
64920   glibcxx_cv_func__sincos_use=yes
64921 else
64922   echo "$as_me: failed program was:" >&5
64923 sed 's/^/| /' conftest.$ac_ext >&5
64924
64925 glibcxx_cv_func__sincos_use=no
64926 fi
64927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64928       ac_ext=c
64929 ac_cpp='$CPP $CPPFLAGS'
64930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64933
64934
64935 fi
64936
64937   fi
64938   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
64939 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
64940
64941     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64942
64943 for ac_func in _sincos
64944 do
64945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64946 echo "$as_me:$LINENO: checking for $ac_func" >&5
64947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64948 if eval "test \"\${$as_ac_var+set}\" = set"; then
64949   echo $ECHO_N "(cached) $ECHO_C" >&6
64950 else
64951   if test x$gcc_no_link = xyes; then
64952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64954    { (exit 1); exit 1; }; }
64955 fi
64956 cat >conftest.$ac_ext <<_ACEOF
64957 /* confdefs.h.  */
64958 _ACEOF
64959 cat confdefs.h >>conftest.$ac_ext
64960 cat >>conftest.$ac_ext <<_ACEOF
64961 /* end confdefs.h.  */
64962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64964 #define $ac_func innocuous_$ac_func
64965
64966 /* System header to define __stub macros and hopefully few prototypes,
64967     which can conflict with char $ac_func (); below.
64968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64969     <limits.h> exists even on freestanding compilers.  */
64970
64971 #ifdef __STDC__
64972 # include <limits.h>
64973 #else
64974 # include <assert.h>
64975 #endif
64976
64977 #undef $ac_func
64978
64979 /* Override any gcc2 internal prototype to avoid an error.  */
64980 #ifdef __cplusplus
64981 extern "C"
64982 {
64983 #endif
64984 /* We use char because int might match the return type of a gcc2
64985    builtin and then its argument prototype would still apply.  */
64986 char $ac_func ();
64987 /* The GNU C library defines this for functions which it implements
64988     to always fail with ENOSYS.  Some functions are actually named
64989     something starting with __ and the normal name is an alias.  */
64990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64991 choke me
64992 #else
64993 char (*f) () = $ac_func;
64994 #endif
64995 #ifdef __cplusplus
64996 }
64997 #endif
64998
64999 int
65000 main ()
65001 {
65002 return f != $ac_func;
65003   ;
65004   return 0;
65005 }
65006 _ACEOF
65007 rm -f conftest.$ac_objext conftest$ac_exeext
65008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65009   (eval $ac_link) 2>conftest.er1
65010   ac_status=$?
65011   grep -v '^ *+' conftest.er1 >conftest.err
65012   rm -f conftest.er1
65013   cat conftest.err >&5
65014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65015   (exit $ac_status); } &&
65016          { ac_try='test -z "$ac_c_werror_flag"
65017                          || test ! -s conftest.err'
65018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65019   (eval $ac_try) 2>&5
65020   ac_status=$?
65021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65022   (exit $ac_status); }; } &&
65023          { ac_try='test -s conftest$ac_exeext'
65024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65025   (eval $ac_try) 2>&5
65026   ac_status=$?
65027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65028   (exit $ac_status); }; }; then
65029   eval "$as_ac_var=yes"
65030 else
65031   echo "$as_me: failed program was:" >&5
65032 sed 's/^/| /' conftest.$ac_ext >&5
65033
65034 eval "$as_ac_var=no"
65035 fi
65036 rm -f conftest.err conftest.$ac_objext \
65037       conftest$ac_exeext conftest.$ac_ext
65038 fi
65039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65041 if test `eval echo '${'$as_ac_var'}'` = yes; then
65042   cat >>confdefs.h <<_ACEOF
65043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65044 _ACEOF
65045
65046 fi
65047 done
65048
65049     fi
65050   fi
65051
65052
65053
65054
65055
65056
65057   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65058 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65059   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65060     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65061   echo $ECHO_N "(cached) $ECHO_C" >&6
65062 else
65063
65064
65065
65066       ac_ext=cc
65067 ac_cpp='$CXXCPP $CPPFLAGS'
65068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65071
65072       cat >conftest.$ac_ext <<_ACEOF
65073 /* confdefs.h.  */
65074 _ACEOF
65075 cat confdefs.h >>conftest.$ac_ext
65076 cat >>conftest.$ac_ext <<_ACEOF
65077 /* end confdefs.h.  */
65078 #include <math.h>
65079                       #ifdef HAVE_IEEEFP_H
65080                       #include <ieeefp.h>
65081                       #endif
65082
65083 int
65084 main ()
65085 {
65086  fpclass(0);
65087   ;
65088   return 0;
65089 }
65090 _ACEOF
65091 rm -f conftest.$ac_objext
65092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65093   (eval $ac_compile) 2>conftest.er1
65094   ac_status=$?
65095   grep -v '^ *+' conftest.er1 >conftest.err
65096   rm -f conftest.er1
65097   cat conftest.err >&5
65098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65099   (exit $ac_status); } &&
65100          { ac_try='test -z "$ac_cxx_werror_flag"
65101                          || test ! -s conftest.err'
65102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65103   (eval $ac_try) 2>&5
65104   ac_status=$?
65105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65106   (exit $ac_status); }; } &&
65107          { ac_try='test -s conftest.$ac_objext'
65108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65109   (eval $ac_try) 2>&5
65110   ac_status=$?
65111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65112   (exit $ac_status); }; }; then
65113   glibcxx_cv_func_fpclass_use=yes
65114 else
65115   echo "$as_me: failed program was:" >&5
65116 sed 's/^/| /' conftest.$ac_ext >&5
65117
65118 glibcxx_cv_func_fpclass_use=no
65119 fi
65120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65121       ac_ext=c
65122 ac_cpp='$CPP $CPPFLAGS'
65123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65126
65127
65128 fi
65129
65130   fi
65131   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65132 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65133
65134   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65135
65136 for ac_func in fpclass
65137 do
65138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65139 echo "$as_me:$LINENO: checking for $ac_func" >&5
65140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65141 if eval "test \"\${$as_ac_var+set}\" = set"; then
65142   echo $ECHO_N "(cached) $ECHO_C" >&6
65143 else
65144   if test x$gcc_no_link = xyes; then
65145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65147    { (exit 1); exit 1; }; }
65148 fi
65149 cat >conftest.$ac_ext <<_ACEOF
65150 /* confdefs.h.  */
65151 _ACEOF
65152 cat confdefs.h >>conftest.$ac_ext
65153 cat >>conftest.$ac_ext <<_ACEOF
65154 /* end confdefs.h.  */
65155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65157 #define $ac_func innocuous_$ac_func
65158
65159 /* System header to define __stub macros and hopefully few prototypes,
65160     which can conflict with char $ac_func (); below.
65161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65162     <limits.h> exists even on freestanding compilers.  */
65163
65164 #ifdef __STDC__
65165 # include <limits.h>
65166 #else
65167 # include <assert.h>
65168 #endif
65169
65170 #undef $ac_func
65171
65172 /* Override any gcc2 internal prototype to avoid an error.  */
65173 #ifdef __cplusplus
65174 extern "C"
65175 {
65176 #endif
65177 /* We use char because int might match the return type of a gcc2
65178    builtin and then its argument prototype would still apply.  */
65179 char $ac_func ();
65180 /* The GNU C library defines this for functions which it implements
65181     to always fail with ENOSYS.  Some functions are actually named
65182     something starting with __ and the normal name is an alias.  */
65183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65184 choke me
65185 #else
65186 char (*f) () = $ac_func;
65187 #endif
65188 #ifdef __cplusplus
65189 }
65190 #endif
65191
65192 int
65193 main ()
65194 {
65195 return f != $ac_func;
65196   ;
65197   return 0;
65198 }
65199 _ACEOF
65200 rm -f conftest.$ac_objext conftest$ac_exeext
65201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65202   (eval $ac_link) 2>conftest.er1
65203   ac_status=$?
65204   grep -v '^ *+' conftest.er1 >conftest.err
65205   rm -f conftest.er1
65206   cat conftest.err >&5
65207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65208   (exit $ac_status); } &&
65209          { ac_try='test -z "$ac_c_werror_flag"
65210                          || test ! -s conftest.err'
65211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65212   (eval $ac_try) 2>&5
65213   ac_status=$?
65214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65215   (exit $ac_status); }; } &&
65216          { ac_try='test -s conftest$ac_exeext'
65217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65218   (eval $ac_try) 2>&5
65219   ac_status=$?
65220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65221   (exit $ac_status); }; }; then
65222   eval "$as_ac_var=yes"
65223 else
65224   echo "$as_me: failed program was:" >&5
65225 sed 's/^/| /' conftest.$ac_ext >&5
65226
65227 eval "$as_ac_var=no"
65228 fi
65229 rm -f conftest.err conftest.$ac_objext \
65230       conftest$ac_exeext conftest.$ac_ext
65231 fi
65232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65234 if test `eval echo '${'$as_ac_var'}'` = yes; then
65235   cat >>confdefs.h <<_ACEOF
65236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65237 _ACEOF
65238
65239 fi
65240 done
65241
65242   else
65243
65244   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
65245 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
65246   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65247     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
65248   echo $ECHO_N "(cached) $ECHO_C" >&6
65249 else
65250
65251
65252
65253       ac_ext=cc
65254 ac_cpp='$CXXCPP $CPPFLAGS'
65255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65258
65259       cat >conftest.$ac_ext <<_ACEOF
65260 /* confdefs.h.  */
65261 _ACEOF
65262 cat confdefs.h >>conftest.$ac_ext
65263 cat >>conftest.$ac_ext <<_ACEOF
65264 /* end confdefs.h.  */
65265 #include <math.h>
65266                       #ifdef HAVE_IEEEFP_H
65267                       #include <ieeefp.h>
65268                       #endif
65269
65270 int
65271 main ()
65272 {
65273  _fpclass(0);
65274   ;
65275   return 0;
65276 }
65277 _ACEOF
65278 rm -f conftest.$ac_objext
65279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65280   (eval $ac_compile) 2>conftest.er1
65281   ac_status=$?
65282   grep -v '^ *+' conftest.er1 >conftest.err
65283   rm -f conftest.er1
65284   cat conftest.err >&5
65285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286   (exit $ac_status); } &&
65287          { ac_try='test -z "$ac_cxx_werror_flag"
65288                          || test ! -s conftest.err'
65289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65290   (eval $ac_try) 2>&5
65291   ac_status=$?
65292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65293   (exit $ac_status); }; } &&
65294          { ac_try='test -s conftest.$ac_objext'
65295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65296   (eval $ac_try) 2>&5
65297   ac_status=$?
65298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65299   (exit $ac_status); }; }; then
65300   glibcxx_cv_func__fpclass_use=yes
65301 else
65302   echo "$as_me: failed program was:" >&5
65303 sed 's/^/| /' conftest.$ac_ext >&5
65304
65305 glibcxx_cv_func__fpclass_use=no
65306 fi
65307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65308       ac_ext=c
65309 ac_cpp='$CPP $CPPFLAGS'
65310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65313
65314
65315 fi
65316
65317   fi
65318   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
65319 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
65320
65321     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65322
65323 for ac_func in _fpclass
65324 do
65325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65326 echo "$as_me:$LINENO: checking for $ac_func" >&5
65327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65328 if eval "test \"\${$as_ac_var+set}\" = set"; then
65329   echo $ECHO_N "(cached) $ECHO_C" >&6
65330 else
65331   if test x$gcc_no_link = xyes; then
65332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65334    { (exit 1); exit 1; }; }
65335 fi
65336 cat >conftest.$ac_ext <<_ACEOF
65337 /* confdefs.h.  */
65338 _ACEOF
65339 cat confdefs.h >>conftest.$ac_ext
65340 cat >>conftest.$ac_ext <<_ACEOF
65341 /* end confdefs.h.  */
65342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65344 #define $ac_func innocuous_$ac_func
65345
65346 /* System header to define __stub macros and hopefully few prototypes,
65347     which can conflict with char $ac_func (); below.
65348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65349     <limits.h> exists even on freestanding compilers.  */
65350
65351 #ifdef __STDC__
65352 # include <limits.h>
65353 #else
65354 # include <assert.h>
65355 #endif
65356
65357 #undef $ac_func
65358
65359 /* Override any gcc2 internal prototype to avoid an error.  */
65360 #ifdef __cplusplus
65361 extern "C"
65362 {
65363 #endif
65364 /* We use char because int might match the return type of a gcc2
65365    builtin and then its argument prototype would still apply.  */
65366 char $ac_func ();
65367 /* The GNU C library defines this for functions which it implements
65368     to always fail with ENOSYS.  Some functions are actually named
65369     something starting with __ and the normal name is an alias.  */
65370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65371 choke me
65372 #else
65373 char (*f) () = $ac_func;
65374 #endif
65375 #ifdef __cplusplus
65376 }
65377 #endif
65378
65379 int
65380 main ()
65381 {
65382 return f != $ac_func;
65383   ;
65384   return 0;
65385 }
65386 _ACEOF
65387 rm -f conftest.$ac_objext conftest$ac_exeext
65388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65389   (eval $ac_link) 2>conftest.er1
65390   ac_status=$?
65391   grep -v '^ *+' conftest.er1 >conftest.err
65392   rm -f conftest.er1
65393   cat conftest.err >&5
65394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395   (exit $ac_status); } &&
65396          { ac_try='test -z "$ac_c_werror_flag"
65397                          || test ! -s conftest.err'
65398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65399   (eval $ac_try) 2>&5
65400   ac_status=$?
65401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65402   (exit $ac_status); }; } &&
65403          { ac_try='test -s conftest$ac_exeext'
65404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65405   (eval $ac_try) 2>&5
65406   ac_status=$?
65407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65408   (exit $ac_status); }; }; then
65409   eval "$as_ac_var=yes"
65410 else
65411   echo "$as_me: failed program was:" >&5
65412 sed 's/^/| /' conftest.$ac_ext >&5
65413
65414 eval "$as_ac_var=no"
65415 fi
65416 rm -f conftest.err conftest.$ac_objext \
65417       conftest$ac_exeext conftest.$ac_ext
65418 fi
65419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65421 if test `eval echo '${'$as_ac_var'}'` = yes; then
65422   cat >>confdefs.h <<_ACEOF
65423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65424 _ACEOF
65425
65426 fi
65427 done
65428
65429     fi
65430   fi
65431
65432
65433
65434
65435
65436
65437   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
65438 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
65439   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65440     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
65441   echo $ECHO_N "(cached) $ECHO_C" >&6
65442 else
65443
65444
65445
65446       ac_ext=cc
65447 ac_cpp='$CXXCPP $CPPFLAGS'
65448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65451
65452       cat >conftest.$ac_ext <<_ACEOF
65453 /* confdefs.h.  */
65454 _ACEOF
65455 cat confdefs.h >>conftest.$ac_ext
65456 cat >>conftest.$ac_ext <<_ACEOF
65457 /* end confdefs.h.  */
65458 #include <math.h>
65459                       #ifdef HAVE_IEEEFP_H
65460                       #include <ieeefp.h>
65461                       #endif
65462
65463 int
65464 main ()
65465 {
65466  qfpclass(0);
65467   ;
65468   return 0;
65469 }
65470 _ACEOF
65471 rm -f conftest.$ac_objext
65472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65473   (eval $ac_compile) 2>conftest.er1
65474   ac_status=$?
65475   grep -v '^ *+' conftest.er1 >conftest.err
65476   rm -f conftest.er1
65477   cat conftest.err >&5
65478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65479   (exit $ac_status); } &&
65480          { ac_try='test -z "$ac_cxx_werror_flag"
65481                          || test ! -s conftest.err'
65482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65483   (eval $ac_try) 2>&5
65484   ac_status=$?
65485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65486   (exit $ac_status); }; } &&
65487          { ac_try='test -s conftest.$ac_objext'
65488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65489   (eval $ac_try) 2>&5
65490   ac_status=$?
65491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65492   (exit $ac_status); }; }; then
65493   glibcxx_cv_func_qfpclass_use=yes
65494 else
65495   echo "$as_me: failed program was:" >&5
65496 sed 's/^/| /' conftest.$ac_ext >&5
65497
65498 glibcxx_cv_func_qfpclass_use=no
65499 fi
65500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65501       ac_ext=c
65502 ac_cpp='$CPP $CPPFLAGS'
65503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65506
65507
65508 fi
65509
65510   fi
65511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
65512 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
65513
65514   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65515
65516 for ac_func in qfpclass
65517 do
65518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65519 echo "$as_me:$LINENO: checking for $ac_func" >&5
65520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65521 if eval "test \"\${$as_ac_var+set}\" = set"; then
65522   echo $ECHO_N "(cached) $ECHO_C" >&6
65523 else
65524   if test x$gcc_no_link = xyes; then
65525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65527    { (exit 1); exit 1; }; }
65528 fi
65529 cat >conftest.$ac_ext <<_ACEOF
65530 /* confdefs.h.  */
65531 _ACEOF
65532 cat confdefs.h >>conftest.$ac_ext
65533 cat >>conftest.$ac_ext <<_ACEOF
65534 /* end confdefs.h.  */
65535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65537 #define $ac_func innocuous_$ac_func
65538
65539 /* System header to define __stub macros and hopefully few prototypes,
65540     which can conflict with char $ac_func (); below.
65541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65542     <limits.h> exists even on freestanding compilers.  */
65543
65544 #ifdef __STDC__
65545 # include <limits.h>
65546 #else
65547 # include <assert.h>
65548 #endif
65549
65550 #undef $ac_func
65551
65552 /* Override any gcc2 internal prototype to avoid an error.  */
65553 #ifdef __cplusplus
65554 extern "C"
65555 {
65556 #endif
65557 /* We use char because int might match the return type of a gcc2
65558    builtin and then its argument prototype would still apply.  */
65559 char $ac_func ();
65560 /* The GNU C library defines this for functions which it implements
65561     to always fail with ENOSYS.  Some functions are actually named
65562     something starting with __ and the normal name is an alias.  */
65563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65564 choke me
65565 #else
65566 char (*f) () = $ac_func;
65567 #endif
65568 #ifdef __cplusplus
65569 }
65570 #endif
65571
65572 int
65573 main ()
65574 {
65575 return f != $ac_func;
65576   ;
65577   return 0;
65578 }
65579 _ACEOF
65580 rm -f conftest.$ac_objext conftest$ac_exeext
65581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65582   (eval $ac_link) 2>conftest.er1
65583   ac_status=$?
65584   grep -v '^ *+' conftest.er1 >conftest.err
65585   rm -f conftest.er1
65586   cat conftest.err >&5
65587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65588   (exit $ac_status); } &&
65589          { ac_try='test -z "$ac_c_werror_flag"
65590                          || test ! -s conftest.err'
65591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65592   (eval $ac_try) 2>&5
65593   ac_status=$?
65594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65595   (exit $ac_status); }; } &&
65596          { ac_try='test -s conftest$ac_exeext'
65597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65598   (eval $ac_try) 2>&5
65599   ac_status=$?
65600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601   (exit $ac_status); }; }; then
65602   eval "$as_ac_var=yes"
65603 else
65604   echo "$as_me: failed program was:" >&5
65605 sed 's/^/| /' conftest.$ac_ext >&5
65606
65607 eval "$as_ac_var=no"
65608 fi
65609 rm -f conftest.err conftest.$ac_objext \
65610       conftest$ac_exeext conftest.$ac_ext
65611 fi
65612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65614 if test `eval echo '${'$as_ac_var'}'` = yes; then
65615   cat >>confdefs.h <<_ACEOF
65616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65617 _ACEOF
65618
65619 fi
65620 done
65621
65622   else
65623
65624   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
65625 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
65626   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65627     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
65628   echo $ECHO_N "(cached) $ECHO_C" >&6
65629 else
65630
65631
65632
65633       ac_ext=cc
65634 ac_cpp='$CXXCPP $CPPFLAGS'
65635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65638
65639       cat >conftest.$ac_ext <<_ACEOF
65640 /* confdefs.h.  */
65641 _ACEOF
65642 cat confdefs.h >>conftest.$ac_ext
65643 cat >>conftest.$ac_ext <<_ACEOF
65644 /* end confdefs.h.  */
65645 #include <math.h>
65646                       #ifdef HAVE_IEEEFP_H
65647                       #include <ieeefp.h>
65648                       #endif
65649
65650 int
65651 main ()
65652 {
65653  _qfpclass(0);
65654   ;
65655   return 0;
65656 }
65657 _ACEOF
65658 rm -f conftest.$ac_objext
65659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65660   (eval $ac_compile) 2>conftest.er1
65661   ac_status=$?
65662   grep -v '^ *+' conftest.er1 >conftest.err
65663   rm -f conftest.er1
65664   cat conftest.err >&5
65665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65666   (exit $ac_status); } &&
65667          { ac_try='test -z "$ac_cxx_werror_flag"
65668                          || test ! -s conftest.err'
65669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65670   (eval $ac_try) 2>&5
65671   ac_status=$?
65672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65673   (exit $ac_status); }; } &&
65674          { ac_try='test -s conftest.$ac_objext'
65675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65676   (eval $ac_try) 2>&5
65677   ac_status=$?
65678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65679   (exit $ac_status); }; }; then
65680   glibcxx_cv_func__qfpclass_use=yes
65681 else
65682   echo "$as_me: failed program was:" >&5
65683 sed 's/^/| /' conftest.$ac_ext >&5
65684
65685 glibcxx_cv_func__qfpclass_use=no
65686 fi
65687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65688       ac_ext=c
65689 ac_cpp='$CPP $CPPFLAGS'
65690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65693
65694
65695 fi
65696
65697   fi
65698   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
65699 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
65700
65701     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65702
65703 for ac_func in _qfpclass
65704 do
65705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65706 echo "$as_me:$LINENO: checking for $ac_func" >&5
65707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65708 if eval "test \"\${$as_ac_var+set}\" = set"; then
65709   echo $ECHO_N "(cached) $ECHO_C" >&6
65710 else
65711   if test x$gcc_no_link = xyes; then
65712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65714    { (exit 1); exit 1; }; }
65715 fi
65716 cat >conftest.$ac_ext <<_ACEOF
65717 /* confdefs.h.  */
65718 _ACEOF
65719 cat confdefs.h >>conftest.$ac_ext
65720 cat >>conftest.$ac_ext <<_ACEOF
65721 /* end confdefs.h.  */
65722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65724 #define $ac_func innocuous_$ac_func
65725
65726 /* System header to define __stub macros and hopefully few prototypes,
65727     which can conflict with char $ac_func (); below.
65728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65729     <limits.h> exists even on freestanding compilers.  */
65730
65731 #ifdef __STDC__
65732 # include <limits.h>
65733 #else
65734 # include <assert.h>
65735 #endif
65736
65737 #undef $ac_func
65738
65739 /* Override any gcc2 internal prototype to avoid an error.  */
65740 #ifdef __cplusplus
65741 extern "C"
65742 {
65743 #endif
65744 /* We use char because int might match the return type of a gcc2
65745    builtin and then its argument prototype would still apply.  */
65746 char $ac_func ();
65747 /* The GNU C library defines this for functions which it implements
65748     to always fail with ENOSYS.  Some functions are actually named
65749     something starting with __ and the normal name is an alias.  */
65750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65751 choke me
65752 #else
65753 char (*f) () = $ac_func;
65754 #endif
65755 #ifdef __cplusplus
65756 }
65757 #endif
65758
65759 int
65760 main ()
65761 {
65762 return f != $ac_func;
65763   ;
65764   return 0;
65765 }
65766 _ACEOF
65767 rm -f conftest.$ac_objext conftest$ac_exeext
65768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65769   (eval $ac_link) 2>conftest.er1
65770   ac_status=$?
65771   grep -v '^ *+' conftest.er1 >conftest.err
65772   rm -f conftest.er1
65773   cat conftest.err >&5
65774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65775   (exit $ac_status); } &&
65776          { ac_try='test -z "$ac_c_werror_flag"
65777                          || test ! -s conftest.err'
65778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65779   (eval $ac_try) 2>&5
65780   ac_status=$?
65781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65782   (exit $ac_status); }; } &&
65783          { ac_try='test -s conftest$ac_exeext'
65784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65785   (eval $ac_try) 2>&5
65786   ac_status=$?
65787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65788   (exit $ac_status); }; }; then
65789   eval "$as_ac_var=yes"
65790 else
65791   echo "$as_me: failed program was:" >&5
65792 sed 's/^/| /' conftest.$ac_ext >&5
65793
65794 eval "$as_ac_var=no"
65795 fi
65796 rm -f conftest.err conftest.$ac_objext \
65797       conftest$ac_exeext conftest.$ac_ext
65798 fi
65799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65801 if test `eval echo '${'$as_ac_var'}'` = yes; then
65802   cat >>confdefs.h <<_ACEOF
65803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65804 _ACEOF
65805
65806 fi
65807 done
65808
65809     fi
65810   fi
65811
65812
65813
65814
65815
65816
65817   echo "$as_me:$LINENO: checking for hypot declaration" >&5
65818 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
65819   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65820     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
65821   echo $ECHO_N "(cached) $ECHO_C" >&6
65822 else
65823
65824
65825
65826       ac_ext=cc
65827 ac_cpp='$CXXCPP $CPPFLAGS'
65828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65831
65832       cat >conftest.$ac_ext <<_ACEOF
65833 /* confdefs.h.  */
65834 _ACEOF
65835 cat confdefs.h >>conftest.$ac_ext
65836 cat >>conftest.$ac_ext <<_ACEOF
65837 /* end confdefs.h.  */
65838 #include <math.h>
65839 int
65840 main ()
65841 {
65842  hypot(0, 0);
65843   ;
65844   return 0;
65845 }
65846 _ACEOF
65847 rm -f conftest.$ac_objext
65848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65849   (eval $ac_compile) 2>conftest.er1
65850   ac_status=$?
65851   grep -v '^ *+' conftest.er1 >conftest.err
65852   rm -f conftest.er1
65853   cat conftest.err >&5
65854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65855   (exit $ac_status); } &&
65856          { ac_try='test -z "$ac_cxx_werror_flag"
65857                          || test ! -s conftest.err'
65858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65859   (eval $ac_try) 2>&5
65860   ac_status=$?
65861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862   (exit $ac_status); }; } &&
65863          { ac_try='test -s conftest.$ac_objext'
65864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65865   (eval $ac_try) 2>&5
65866   ac_status=$?
65867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65868   (exit $ac_status); }; }; then
65869   glibcxx_cv_func_hypot_use=yes
65870 else
65871   echo "$as_me: failed program was:" >&5
65872 sed 's/^/| /' conftest.$ac_ext >&5
65873
65874 glibcxx_cv_func_hypot_use=no
65875 fi
65876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65877       ac_ext=c
65878 ac_cpp='$CPP $CPPFLAGS'
65879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65882
65883
65884 fi
65885
65886   fi
65887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
65888 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
65889
65890   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65891
65892 for ac_func in hypot
65893 do
65894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65895 echo "$as_me:$LINENO: checking for $ac_func" >&5
65896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65897 if eval "test \"\${$as_ac_var+set}\" = set"; then
65898   echo $ECHO_N "(cached) $ECHO_C" >&6
65899 else
65900   if test x$gcc_no_link = xyes; then
65901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65903    { (exit 1); exit 1; }; }
65904 fi
65905 cat >conftest.$ac_ext <<_ACEOF
65906 /* confdefs.h.  */
65907 _ACEOF
65908 cat confdefs.h >>conftest.$ac_ext
65909 cat >>conftest.$ac_ext <<_ACEOF
65910 /* end confdefs.h.  */
65911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65913 #define $ac_func innocuous_$ac_func
65914
65915 /* System header to define __stub macros and hopefully few prototypes,
65916     which can conflict with char $ac_func (); below.
65917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65918     <limits.h> exists even on freestanding compilers.  */
65919
65920 #ifdef __STDC__
65921 # include <limits.h>
65922 #else
65923 # include <assert.h>
65924 #endif
65925
65926 #undef $ac_func
65927
65928 /* Override any gcc2 internal prototype to avoid an error.  */
65929 #ifdef __cplusplus
65930 extern "C"
65931 {
65932 #endif
65933 /* We use char because int might match the return type of a gcc2
65934    builtin and then its argument prototype would still apply.  */
65935 char $ac_func ();
65936 /* The GNU C library defines this for functions which it implements
65937     to always fail with ENOSYS.  Some functions are actually named
65938     something starting with __ and the normal name is an alias.  */
65939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65940 choke me
65941 #else
65942 char (*f) () = $ac_func;
65943 #endif
65944 #ifdef __cplusplus
65945 }
65946 #endif
65947
65948 int
65949 main ()
65950 {
65951 return f != $ac_func;
65952   ;
65953   return 0;
65954 }
65955 _ACEOF
65956 rm -f conftest.$ac_objext conftest$ac_exeext
65957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65958   (eval $ac_link) 2>conftest.er1
65959   ac_status=$?
65960   grep -v '^ *+' conftest.er1 >conftest.err
65961   rm -f conftest.er1
65962   cat conftest.err >&5
65963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65964   (exit $ac_status); } &&
65965          { ac_try='test -z "$ac_c_werror_flag"
65966                          || test ! -s conftest.err'
65967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65968   (eval $ac_try) 2>&5
65969   ac_status=$?
65970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65971   (exit $ac_status); }; } &&
65972          { ac_try='test -s conftest$ac_exeext'
65973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65974   (eval $ac_try) 2>&5
65975   ac_status=$?
65976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65977   (exit $ac_status); }; }; then
65978   eval "$as_ac_var=yes"
65979 else
65980   echo "$as_me: failed program was:" >&5
65981 sed 's/^/| /' conftest.$ac_ext >&5
65982
65983 eval "$as_ac_var=no"
65984 fi
65985 rm -f conftest.err conftest.$ac_objext \
65986       conftest$ac_exeext conftest.$ac_ext
65987 fi
65988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65990 if test `eval echo '${'$as_ac_var'}'` = yes; then
65991   cat >>confdefs.h <<_ACEOF
65992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65993 _ACEOF
65994
65995 fi
65996 done
65997
65998   else
65999
66000   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66001 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66002   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66003     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66004   echo $ECHO_N "(cached) $ECHO_C" >&6
66005 else
66006
66007
66008
66009       ac_ext=cc
66010 ac_cpp='$CXXCPP $CPPFLAGS'
66011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66014
66015       cat >conftest.$ac_ext <<_ACEOF
66016 /* confdefs.h.  */
66017 _ACEOF
66018 cat confdefs.h >>conftest.$ac_ext
66019 cat >>conftest.$ac_ext <<_ACEOF
66020 /* end confdefs.h.  */
66021 #include <math.h>
66022 int
66023 main ()
66024 {
66025  _hypot(0, 0);
66026   ;
66027   return 0;
66028 }
66029 _ACEOF
66030 rm -f conftest.$ac_objext
66031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66032   (eval $ac_compile) 2>conftest.er1
66033   ac_status=$?
66034   grep -v '^ *+' conftest.er1 >conftest.err
66035   rm -f conftest.er1
66036   cat conftest.err >&5
66037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66038   (exit $ac_status); } &&
66039          { ac_try='test -z "$ac_cxx_werror_flag"
66040                          || test ! -s conftest.err'
66041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66042   (eval $ac_try) 2>&5
66043   ac_status=$?
66044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66045   (exit $ac_status); }; } &&
66046          { ac_try='test -s conftest.$ac_objext'
66047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66048   (eval $ac_try) 2>&5
66049   ac_status=$?
66050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66051   (exit $ac_status); }; }; then
66052   glibcxx_cv_func__hypot_use=yes
66053 else
66054   echo "$as_me: failed program was:" >&5
66055 sed 's/^/| /' conftest.$ac_ext >&5
66056
66057 glibcxx_cv_func__hypot_use=no
66058 fi
66059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66060       ac_ext=c
66061 ac_cpp='$CPP $CPPFLAGS'
66062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66065
66066
66067 fi
66068
66069   fi
66070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66071 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66072
66073     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66074
66075 for ac_func in _hypot
66076 do
66077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66078 echo "$as_me:$LINENO: checking for $ac_func" >&5
66079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66080 if eval "test \"\${$as_ac_var+set}\" = set"; then
66081   echo $ECHO_N "(cached) $ECHO_C" >&6
66082 else
66083   if test x$gcc_no_link = xyes; then
66084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66086    { (exit 1); exit 1; }; }
66087 fi
66088 cat >conftest.$ac_ext <<_ACEOF
66089 /* confdefs.h.  */
66090 _ACEOF
66091 cat confdefs.h >>conftest.$ac_ext
66092 cat >>conftest.$ac_ext <<_ACEOF
66093 /* end confdefs.h.  */
66094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66096 #define $ac_func innocuous_$ac_func
66097
66098 /* System header to define __stub macros and hopefully few prototypes,
66099     which can conflict with char $ac_func (); below.
66100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66101     <limits.h> exists even on freestanding compilers.  */
66102
66103 #ifdef __STDC__
66104 # include <limits.h>
66105 #else
66106 # include <assert.h>
66107 #endif
66108
66109 #undef $ac_func
66110
66111 /* Override any gcc2 internal prototype to avoid an error.  */
66112 #ifdef __cplusplus
66113 extern "C"
66114 {
66115 #endif
66116 /* We use char because int might match the return type of a gcc2
66117    builtin and then its argument prototype would still apply.  */
66118 char $ac_func ();
66119 /* The GNU C library defines this for functions which it implements
66120     to always fail with ENOSYS.  Some functions are actually named
66121     something starting with __ and the normal name is an alias.  */
66122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66123 choke me
66124 #else
66125 char (*f) () = $ac_func;
66126 #endif
66127 #ifdef __cplusplus
66128 }
66129 #endif
66130
66131 int
66132 main ()
66133 {
66134 return f != $ac_func;
66135   ;
66136   return 0;
66137 }
66138 _ACEOF
66139 rm -f conftest.$ac_objext conftest$ac_exeext
66140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66141   (eval $ac_link) 2>conftest.er1
66142   ac_status=$?
66143   grep -v '^ *+' conftest.er1 >conftest.err
66144   rm -f conftest.er1
66145   cat conftest.err >&5
66146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66147   (exit $ac_status); } &&
66148          { ac_try='test -z "$ac_c_werror_flag"
66149                          || test ! -s conftest.err'
66150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66151   (eval $ac_try) 2>&5
66152   ac_status=$?
66153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66154   (exit $ac_status); }; } &&
66155          { ac_try='test -s conftest$ac_exeext'
66156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66157   (eval $ac_try) 2>&5
66158   ac_status=$?
66159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66160   (exit $ac_status); }; }; then
66161   eval "$as_ac_var=yes"
66162 else
66163   echo "$as_me: failed program was:" >&5
66164 sed 's/^/| /' conftest.$ac_ext >&5
66165
66166 eval "$as_ac_var=no"
66167 fi
66168 rm -f conftest.err conftest.$ac_objext \
66169       conftest$ac_exeext conftest.$ac_ext
66170 fi
66171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66173 if test `eval echo '${'$as_ac_var'}'` = yes; then
66174   cat >>confdefs.h <<_ACEOF
66175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66176 _ACEOF
66177
66178 fi
66179 done
66180
66181     fi
66182   fi
66183
66184
66185
66186
66187
66188
66189     echo "$as_me:$LINENO: checking for float trig functions" >&5
66190 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66191   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66192   echo $ECHO_N "(cached) $ECHO_C" >&6
66193 else
66194
66195
66196
66197     ac_ext=cc
66198 ac_cpp='$CXXCPP $CPPFLAGS'
66199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66202
66203     cat >conftest.$ac_ext <<_ACEOF
66204 /* confdefs.h.  */
66205 _ACEOF
66206 cat confdefs.h >>conftest.$ac_ext
66207 cat >>conftest.$ac_ext <<_ACEOF
66208 /* end confdefs.h.  */
66209 #include <math.h>
66210 int
66211 main ()
66212 {
66213 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66214   ;
66215   return 0;
66216 }
66217 _ACEOF
66218 rm -f conftest.$ac_objext
66219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66220   (eval $ac_compile) 2>conftest.er1
66221   ac_status=$?
66222   grep -v '^ *+' conftest.er1 >conftest.err
66223   rm -f conftest.er1
66224   cat conftest.err >&5
66225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226   (exit $ac_status); } &&
66227          { ac_try='test -z "$ac_cxx_werror_flag"
66228                          || test ! -s conftest.err'
66229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66230   (eval $ac_try) 2>&5
66231   ac_status=$?
66232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66233   (exit $ac_status); }; } &&
66234          { ac_try='test -s conftest.$ac_objext'
66235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66236   (eval $ac_try) 2>&5
66237   ac_status=$?
66238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66239   (exit $ac_status); }; }; then
66240   glibcxx_cv_func_float_trig_use=yes
66241 else
66242   echo "$as_me: failed program was:" >&5
66243 sed 's/^/| /' conftest.$ac_ext >&5
66244
66245 glibcxx_cv_func_float_trig_use=no
66246 fi
66247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66248     ac_ext=c
66249 ac_cpp='$CPP $CPPFLAGS'
66250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66253
66254 fi
66255
66256   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
66257 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
66258   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66259
66260
66261
66262
66263
66264
66265
66266
66267
66268 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66269 do
66270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66271 echo "$as_me:$LINENO: checking for $ac_func" >&5
66272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66273 if eval "test \"\${$as_ac_var+set}\" = set"; then
66274   echo $ECHO_N "(cached) $ECHO_C" >&6
66275 else
66276   if test x$gcc_no_link = xyes; then
66277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66279    { (exit 1); exit 1; }; }
66280 fi
66281 cat >conftest.$ac_ext <<_ACEOF
66282 /* confdefs.h.  */
66283 _ACEOF
66284 cat confdefs.h >>conftest.$ac_ext
66285 cat >>conftest.$ac_ext <<_ACEOF
66286 /* end confdefs.h.  */
66287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66289 #define $ac_func innocuous_$ac_func
66290
66291 /* System header to define __stub macros and hopefully few prototypes,
66292     which can conflict with char $ac_func (); below.
66293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66294     <limits.h> exists even on freestanding compilers.  */
66295
66296 #ifdef __STDC__
66297 # include <limits.h>
66298 #else
66299 # include <assert.h>
66300 #endif
66301
66302 #undef $ac_func
66303
66304 /* Override any gcc2 internal prototype to avoid an error.  */
66305 #ifdef __cplusplus
66306 extern "C"
66307 {
66308 #endif
66309 /* We use char because int might match the return type of a gcc2
66310    builtin and then its argument prototype would still apply.  */
66311 char $ac_func ();
66312 /* The GNU C library defines this for functions which it implements
66313     to always fail with ENOSYS.  Some functions are actually named
66314     something starting with __ and the normal name is an alias.  */
66315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66316 choke me
66317 #else
66318 char (*f) () = $ac_func;
66319 #endif
66320 #ifdef __cplusplus
66321 }
66322 #endif
66323
66324 int
66325 main ()
66326 {
66327 return f != $ac_func;
66328   ;
66329   return 0;
66330 }
66331 _ACEOF
66332 rm -f conftest.$ac_objext conftest$ac_exeext
66333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66334   (eval $ac_link) 2>conftest.er1
66335   ac_status=$?
66336   grep -v '^ *+' conftest.er1 >conftest.err
66337   rm -f conftest.er1
66338   cat conftest.err >&5
66339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66340   (exit $ac_status); } &&
66341          { ac_try='test -z "$ac_c_werror_flag"
66342                          || test ! -s conftest.err'
66343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66344   (eval $ac_try) 2>&5
66345   ac_status=$?
66346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66347   (exit $ac_status); }; } &&
66348          { ac_try='test -s conftest$ac_exeext'
66349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66350   (eval $ac_try) 2>&5
66351   ac_status=$?
66352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66353   (exit $ac_status); }; }; then
66354   eval "$as_ac_var=yes"
66355 else
66356   echo "$as_me: failed program was:" >&5
66357 sed 's/^/| /' conftest.$ac_ext >&5
66358
66359 eval "$as_ac_var=no"
66360 fi
66361 rm -f conftest.err conftest.$ac_objext \
66362       conftest$ac_exeext conftest.$ac_ext
66363 fi
66364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66366 if test `eval echo '${'$as_ac_var'}'` = yes; then
66367   cat >>confdefs.h <<_ACEOF
66368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66369 _ACEOF
66370
66371 fi
66372 done
66373
66374   else
66375     echo "$as_me:$LINENO: checking for _float trig functions" >&5
66376 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
66377     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
66378   echo $ECHO_N "(cached) $ECHO_C" >&6
66379 else
66380
66381
66382
66383       ac_ext=cc
66384 ac_cpp='$CXXCPP $CPPFLAGS'
66385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66388
66389       cat >conftest.$ac_ext <<_ACEOF
66390 /* confdefs.h.  */
66391 _ACEOF
66392 cat confdefs.h >>conftest.$ac_ext
66393 cat >>conftest.$ac_ext <<_ACEOF
66394 /* end confdefs.h.  */
66395 #include <math.h>
66396 int
66397 main ()
66398 {
66399 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66400   ;
66401   return 0;
66402 }
66403 _ACEOF
66404 rm -f conftest.$ac_objext
66405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66406   (eval $ac_compile) 2>conftest.er1
66407   ac_status=$?
66408   grep -v '^ *+' conftest.er1 >conftest.err
66409   rm -f conftest.er1
66410   cat conftest.err >&5
66411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66412   (exit $ac_status); } &&
66413          { ac_try='test -z "$ac_cxx_werror_flag"
66414                          || test ! -s conftest.err'
66415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66416   (eval $ac_try) 2>&5
66417   ac_status=$?
66418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66419   (exit $ac_status); }; } &&
66420          { ac_try='test -s conftest.$ac_objext'
66421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66422   (eval $ac_try) 2>&5
66423   ac_status=$?
66424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66425   (exit $ac_status); }; }; then
66426   glibcxx_cv_func__float_trig_use=yes
66427 else
66428   echo "$as_me: failed program was:" >&5
66429 sed 's/^/| /' conftest.$ac_ext >&5
66430
66431 glibcxx_cv_func__float_trig_use=no
66432 fi
66433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66434       ac_ext=c
66435 ac_cpp='$CPP $CPPFLAGS'
66436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66439
66440 fi
66441
66442     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
66443 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
66444     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66445
66446
66447
66448
66449
66450
66451
66452
66453
66454 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66455 do
66456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66457 echo "$as_me:$LINENO: checking for $ac_func" >&5
66458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66459 if eval "test \"\${$as_ac_var+set}\" = set"; then
66460   echo $ECHO_N "(cached) $ECHO_C" >&6
66461 else
66462   if test x$gcc_no_link = xyes; then
66463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66465    { (exit 1); exit 1; }; }
66466 fi
66467 cat >conftest.$ac_ext <<_ACEOF
66468 /* confdefs.h.  */
66469 _ACEOF
66470 cat confdefs.h >>conftest.$ac_ext
66471 cat >>conftest.$ac_ext <<_ACEOF
66472 /* end confdefs.h.  */
66473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66475 #define $ac_func innocuous_$ac_func
66476
66477 /* System header to define __stub macros and hopefully few prototypes,
66478     which can conflict with char $ac_func (); below.
66479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66480     <limits.h> exists even on freestanding compilers.  */
66481
66482 #ifdef __STDC__
66483 # include <limits.h>
66484 #else
66485 # include <assert.h>
66486 #endif
66487
66488 #undef $ac_func
66489
66490 /* Override any gcc2 internal prototype to avoid an error.  */
66491 #ifdef __cplusplus
66492 extern "C"
66493 {
66494 #endif
66495 /* We use char because int might match the return type of a gcc2
66496    builtin and then its argument prototype would still apply.  */
66497 char $ac_func ();
66498 /* The GNU C library defines this for functions which it implements
66499     to always fail with ENOSYS.  Some functions are actually named
66500     something starting with __ and the normal name is an alias.  */
66501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66502 choke me
66503 #else
66504 char (*f) () = $ac_func;
66505 #endif
66506 #ifdef __cplusplus
66507 }
66508 #endif
66509
66510 int
66511 main ()
66512 {
66513 return f != $ac_func;
66514   ;
66515   return 0;
66516 }
66517 _ACEOF
66518 rm -f conftest.$ac_objext conftest$ac_exeext
66519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66520   (eval $ac_link) 2>conftest.er1
66521   ac_status=$?
66522   grep -v '^ *+' conftest.er1 >conftest.err
66523   rm -f conftest.er1
66524   cat conftest.err >&5
66525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66526   (exit $ac_status); } &&
66527          { ac_try='test -z "$ac_c_werror_flag"
66528                          || test ! -s conftest.err'
66529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66530   (eval $ac_try) 2>&5
66531   ac_status=$?
66532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66533   (exit $ac_status); }; } &&
66534          { ac_try='test -s conftest$ac_exeext'
66535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66536   (eval $ac_try) 2>&5
66537   ac_status=$?
66538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66539   (exit $ac_status); }; }; then
66540   eval "$as_ac_var=yes"
66541 else
66542   echo "$as_me: failed program was:" >&5
66543 sed 's/^/| /' conftest.$ac_ext >&5
66544
66545 eval "$as_ac_var=no"
66546 fi
66547 rm -f conftest.err conftest.$ac_objext \
66548       conftest$ac_exeext conftest.$ac_ext
66549 fi
66550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66552 if test `eval echo '${'$as_ac_var'}'` = yes; then
66553   cat >>confdefs.h <<_ACEOF
66554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66555 _ACEOF
66556
66557 fi
66558 done
66559
66560     fi
66561   fi
66562
66563
66564
66565
66566
66567
66568
66569
66570
66571
66572
66573
66574
66575
66576     echo "$as_me:$LINENO: checking for float round functions" >&5
66577 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
66578   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
66579   echo $ECHO_N "(cached) $ECHO_C" >&6
66580 else
66581
66582
66583
66584     ac_ext=cc
66585 ac_cpp='$CXXCPP $CPPFLAGS'
66586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66589
66590     cat >conftest.$ac_ext <<_ACEOF
66591 /* confdefs.h.  */
66592 _ACEOF
66593 cat confdefs.h >>conftest.$ac_ext
66594 cat >>conftest.$ac_ext <<_ACEOF
66595 /* end confdefs.h.  */
66596 #include <math.h>
66597 int
66598 main ()
66599 {
66600 ceilf (0); floorf (0);
66601   ;
66602   return 0;
66603 }
66604 _ACEOF
66605 rm -f conftest.$ac_objext
66606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66607   (eval $ac_compile) 2>conftest.er1
66608   ac_status=$?
66609   grep -v '^ *+' conftest.er1 >conftest.err
66610   rm -f conftest.er1
66611   cat conftest.err >&5
66612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66613   (exit $ac_status); } &&
66614          { ac_try='test -z "$ac_cxx_werror_flag"
66615                          || test ! -s conftest.err'
66616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66617   (eval $ac_try) 2>&5
66618   ac_status=$?
66619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66620   (exit $ac_status); }; } &&
66621          { ac_try='test -s conftest.$ac_objext'
66622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66623   (eval $ac_try) 2>&5
66624   ac_status=$?
66625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66626   (exit $ac_status); }; }; then
66627   glibcxx_cv_func_float_round_use=yes
66628 else
66629   echo "$as_me: failed program was:" >&5
66630 sed 's/^/| /' conftest.$ac_ext >&5
66631
66632 glibcxx_cv_func_float_round_use=no
66633 fi
66634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66635     ac_ext=c
66636 ac_cpp='$CPP $CPPFLAGS'
66637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66640
66641 fi
66642
66643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
66644 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
66645   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66646
66647
66648 for ac_func in ceilf floorf
66649 do
66650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66651 echo "$as_me:$LINENO: checking for $ac_func" >&5
66652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66653 if eval "test \"\${$as_ac_var+set}\" = set"; then
66654   echo $ECHO_N "(cached) $ECHO_C" >&6
66655 else
66656   if test x$gcc_no_link = xyes; then
66657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66659    { (exit 1); exit 1; }; }
66660 fi
66661 cat >conftest.$ac_ext <<_ACEOF
66662 /* confdefs.h.  */
66663 _ACEOF
66664 cat confdefs.h >>conftest.$ac_ext
66665 cat >>conftest.$ac_ext <<_ACEOF
66666 /* end confdefs.h.  */
66667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66669 #define $ac_func innocuous_$ac_func
66670
66671 /* System header to define __stub macros and hopefully few prototypes,
66672     which can conflict with char $ac_func (); below.
66673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66674     <limits.h> exists even on freestanding compilers.  */
66675
66676 #ifdef __STDC__
66677 # include <limits.h>
66678 #else
66679 # include <assert.h>
66680 #endif
66681
66682 #undef $ac_func
66683
66684 /* Override any gcc2 internal prototype to avoid an error.  */
66685 #ifdef __cplusplus
66686 extern "C"
66687 {
66688 #endif
66689 /* We use char because int might match the return type of a gcc2
66690    builtin and then its argument prototype would still apply.  */
66691 char $ac_func ();
66692 /* The GNU C library defines this for functions which it implements
66693     to always fail with ENOSYS.  Some functions are actually named
66694     something starting with __ and the normal name is an alias.  */
66695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66696 choke me
66697 #else
66698 char (*f) () = $ac_func;
66699 #endif
66700 #ifdef __cplusplus
66701 }
66702 #endif
66703
66704 int
66705 main ()
66706 {
66707 return f != $ac_func;
66708   ;
66709   return 0;
66710 }
66711 _ACEOF
66712 rm -f conftest.$ac_objext conftest$ac_exeext
66713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66714   (eval $ac_link) 2>conftest.er1
66715   ac_status=$?
66716   grep -v '^ *+' conftest.er1 >conftest.err
66717   rm -f conftest.er1
66718   cat conftest.err >&5
66719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66720   (exit $ac_status); } &&
66721          { ac_try='test -z "$ac_c_werror_flag"
66722                          || test ! -s conftest.err'
66723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66724   (eval $ac_try) 2>&5
66725   ac_status=$?
66726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66727   (exit $ac_status); }; } &&
66728          { ac_try='test -s conftest$ac_exeext'
66729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66730   (eval $ac_try) 2>&5
66731   ac_status=$?
66732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733   (exit $ac_status); }; }; then
66734   eval "$as_ac_var=yes"
66735 else
66736   echo "$as_me: failed program was:" >&5
66737 sed 's/^/| /' conftest.$ac_ext >&5
66738
66739 eval "$as_ac_var=no"
66740 fi
66741 rm -f conftest.err conftest.$ac_objext \
66742       conftest$ac_exeext conftest.$ac_ext
66743 fi
66744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66746 if test `eval echo '${'$as_ac_var'}'` = yes; then
66747   cat >>confdefs.h <<_ACEOF
66748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66749 _ACEOF
66750
66751 fi
66752 done
66753
66754   else
66755     echo "$as_me:$LINENO: checking for _float round functions" >&5
66756 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
66757     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
66758   echo $ECHO_N "(cached) $ECHO_C" >&6
66759 else
66760
66761
66762
66763       ac_ext=cc
66764 ac_cpp='$CXXCPP $CPPFLAGS'
66765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66768
66769       cat >conftest.$ac_ext <<_ACEOF
66770 /* confdefs.h.  */
66771 _ACEOF
66772 cat confdefs.h >>conftest.$ac_ext
66773 cat >>conftest.$ac_ext <<_ACEOF
66774 /* end confdefs.h.  */
66775 #include <math.h>
66776 int
66777 main ()
66778 {
66779 _ceilf (0); _floorf (0);
66780   ;
66781   return 0;
66782 }
66783 _ACEOF
66784 rm -f conftest.$ac_objext
66785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66786   (eval $ac_compile) 2>conftest.er1
66787   ac_status=$?
66788   grep -v '^ *+' conftest.er1 >conftest.err
66789   rm -f conftest.er1
66790   cat conftest.err >&5
66791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66792   (exit $ac_status); } &&
66793          { ac_try='test -z "$ac_cxx_werror_flag"
66794                          || test ! -s conftest.err'
66795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66796   (eval $ac_try) 2>&5
66797   ac_status=$?
66798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66799   (exit $ac_status); }; } &&
66800          { ac_try='test -s conftest.$ac_objext'
66801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66802   (eval $ac_try) 2>&5
66803   ac_status=$?
66804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66805   (exit $ac_status); }; }; then
66806   glibcxx_cv_func__float_round_use=yes
66807 else
66808   echo "$as_me: failed program was:" >&5
66809 sed 's/^/| /' conftest.$ac_ext >&5
66810
66811 glibcxx_cv_func__float_round_use=no
66812 fi
66813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66814       ac_ext=c
66815 ac_cpp='$CPP $CPPFLAGS'
66816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66819
66820 fi
66821
66822     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
66823 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
66824     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66825
66826
66827 for ac_func in _ceilf _floorf
66828 do
66829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66830 echo "$as_me:$LINENO: checking for $ac_func" >&5
66831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66832 if eval "test \"\${$as_ac_var+set}\" = set"; then
66833   echo $ECHO_N "(cached) $ECHO_C" >&6
66834 else
66835   if test x$gcc_no_link = xyes; then
66836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66838    { (exit 1); exit 1; }; }
66839 fi
66840 cat >conftest.$ac_ext <<_ACEOF
66841 /* confdefs.h.  */
66842 _ACEOF
66843 cat confdefs.h >>conftest.$ac_ext
66844 cat >>conftest.$ac_ext <<_ACEOF
66845 /* end confdefs.h.  */
66846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66848 #define $ac_func innocuous_$ac_func
66849
66850 /* System header to define __stub macros and hopefully few prototypes,
66851     which can conflict with char $ac_func (); below.
66852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66853     <limits.h> exists even on freestanding compilers.  */
66854
66855 #ifdef __STDC__
66856 # include <limits.h>
66857 #else
66858 # include <assert.h>
66859 #endif
66860
66861 #undef $ac_func
66862
66863 /* Override any gcc2 internal prototype to avoid an error.  */
66864 #ifdef __cplusplus
66865 extern "C"
66866 {
66867 #endif
66868 /* We use char because int might match the return type of a gcc2
66869    builtin and then its argument prototype would still apply.  */
66870 char $ac_func ();
66871 /* The GNU C library defines this for functions which it implements
66872     to always fail with ENOSYS.  Some functions are actually named
66873     something starting with __ and the normal name is an alias.  */
66874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66875 choke me
66876 #else
66877 char (*f) () = $ac_func;
66878 #endif
66879 #ifdef __cplusplus
66880 }
66881 #endif
66882
66883 int
66884 main ()
66885 {
66886 return f != $ac_func;
66887   ;
66888   return 0;
66889 }
66890 _ACEOF
66891 rm -f conftest.$ac_objext conftest$ac_exeext
66892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66893   (eval $ac_link) 2>conftest.er1
66894   ac_status=$?
66895   grep -v '^ *+' conftest.er1 >conftest.err
66896   rm -f conftest.er1
66897   cat conftest.err >&5
66898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66899   (exit $ac_status); } &&
66900          { ac_try='test -z "$ac_c_werror_flag"
66901                          || test ! -s conftest.err'
66902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66903   (eval $ac_try) 2>&5
66904   ac_status=$?
66905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66906   (exit $ac_status); }; } &&
66907          { ac_try='test -s conftest$ac_exeext'
66908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66909   (eval $ac_try) 2>&5
66910   ac_status=$?
66911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66912   (exit $ac_status); }; }; then
66913   eval "$as_ac_var=yes"
66914 else
66915   echo "$as_me: failed program was:" >&5
66916 sed 's/^/| /' conftest.$ac_ext >&5
66917
66918 eval "$as_ac_var=no"
66919 fi
66920 rm -f conftest.err conftest.$ac_objext \
66921       conftest$ac_exeext conftest.$ac_ext
66922 fi
66923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66925 if test `eval echo '${'$as_ac_var'}'` = yes; then
66926   cat >>confdefs.h <<_ACEOF
66927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66928 _ACEOF
66929
66930 fi
66931 done
66932
66933     fi
66934   fi
66935
66936
66937
66938
66939
66940
66941
66942
66943   echo "$as_me:$LINENO: checking for expf declaration" >&5
66944 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
66945   if test x${glibcxx_cv_func_expf_use+set} != xset; then
66946     if test "${glibcxx_cv_func_expf_use+set}" = set; then
66947   echo $ECHO_N "(cached) $ECHO_C" >&6
66948 else
66949
66950
66951
66952       ac_ext=cc
66953 ac_cpp='$CXXCPP $CPPFLAGS'
66954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66957
66958       cat >conftest.$ac_ext <<_ACEOF
66959 /* confdefs.h.  */
66960 _ACEOF
66961 cat confdefs.h >>conftest.$ac_ext
66962 cat >>conftest.$ac_ext <<_ACEOF
66963 /* end confdefs.h.  */
66964 #include <math.h>
66965                       #ifdef HAVE_IEEEFP_H
66966                       #include <ieeefp.h>
66967                       #endif
66968
66969 int
66970 main ()
66971 {
66972  expf(0);
66973   ;
66974   return 0;
66975 }
66976 _ACEOF
66977 rm -f conftest.$ac_objext
66978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66979   (eval $ac_compile) 2>conftest.er1
66980   ac_status=$?
66981   grep -v '^ *+' conftest.er1 >conftest.err
66982   rm -f conftest.er1
66983   cat conftest.err >&5
66984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66985   (exit $ac_status); } &&
66986          { ac_try='test -z "$ac_cxx_werror_flag"
66987                          || test ! -s conftest.err'
66988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66989   (eval $ac_try) 2>&5
66990   ac_status=$?
66991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66992   (exit $ac_status); }; } &&
66993          { ac_try='test -s conftest.$ac_objext'
66994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66995   (eval $ac_try) 2>&5
66996   ac_status=$?
66997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66998   (exit $ac_status); }; }; then
66999   glibcxx_cv_func_expf_use=yes
67000 else
67001   echo "$as_me: failed program was:" >&5
67002 sed 's/^/| /' conftest.$ac_ext >&5
67003
67004 glibcxx_cv_func_expf_use=no
67005 fi
67006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67007       ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67012
67013
67014 fi
67015
67016   fi
67017   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67018 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67019
67020   if test x$glibcxx_cv_func_expf_use = x"yes"; then
67021
67022 for ac_func in expf
67023 do
67024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67025 echo "$as_me:$LINENO: checking for $ac_func" >&5
67026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67027 if eval "test \"\${$as_ac_var+set}\" = set"; then
67028   echo $ECHO_N "(cached) $ECHO_C" >&6
67029 else
67030   if test x$gcc_no_link = xyes; then
67031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67033    { (exit 1); exit 1; }; }
67034 fi
67035 cat >conftest.$ac_ext <<_ACEOF
67036 /* confdefs.h.  */
67037 _ACEOF
67038 cat confdefs.h >>conftest.$ac_ext
67039 cat >>conftest.$ac_ext <<_ACEOF
67040 /* end confdefs.h.  */
67041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67043 #define $ac_func innocuous_$ac_func
67044
67045 /* System header to define __stub macros and hopefully few prototypes,
67046     which can conflict with char $ac_func (); below.
67047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67048     <limits.h> exists even on freestanding compilers.  */
67049
67050 #ifdef __STDC__
67051 # include <limits.h>
67052 #else
67053 # include <assert.h>
67054 #endif
67055
67056 #undef $ac_func
67057
67058 /* Override any gcc2 internal prototype to avoid an error.  */
67059 #ifdef __cplusplus
67060 extern "C"
67061 {
67062 #endif
67063 /* We use char because int might match the return type of a gcc2
67064    builtin and then its argument prototype would still apply.  */
67065 char $ac_func ();
67066 /* The GNU C library defines this for functions which it implements
67067     to always fail with ENOSYS.  Some functions are actually named
67068     something starting with __ and the normal name is an alias.  */
67069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67070 choke me
67071 #else
67072 char (*f) () = $ac_func;
67073 #endif
67074 #ifdef __cplusplus
67075 }
67076 #endif
67077
67078 int
67079 main ()
67080 {
67081 return f != $ac_func;
67082   ;
67083   return 0;
67084 }
67085 _ACEOF
67086 rm -f conftest.$ac_objext conftest$ac_exeext
67087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67088   (eval $ac_link) 2>conftest.er1
67089   ac_status=$?
67090   grep -v '^ *+' conftest.er1 >conftest.err
67091   rm -f conftest.er1
67092   cat conftest.err >&5
67093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67094   (exit $ac_status); } &&
67095          { ac_try='test -z "$ac_c_werror_flag"
67096                          || test ! -s conftest.err'
67097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67098   (eval $ac_try) 2>&5
67099   ac_status=$?
67100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67101   (exit $ac_status); }; } &&
67102          { ac_try='test -s conftest$ac_exeext'
67103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67104   (eval $ac_try) 2>&5
67105   ac_status=$?
67106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107   (exit $ac_status); }; }; then
67108   eval "$as_ac_var=yes"
67109 else
67110   echo "$as_me: failed program was:" >&5
67111 sed 's/^/| /' conftest.$ac_ext >&5
67112
67113 eval "$as_ac_var=no"
67114 fi
67115 rm -f conftest.err conftest.$ac_objext \
67116       conftest$ac_exeext conftest.$ac_ext
67117 fi
67118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67120 if test `eval echo '${'$as_ac_var'}'` = yes; then
67121   cat >>confdefs.h <<_ACEOF
67122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67123 _ACEOF
67124
67125 fi
67126 done
67127
67128   else
67129
67130   echo "$as_me:$LINENO: checking for _expf declaration" >&5
67131 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67132   if test x${glibcxx_cv_func__expf_use+set} != xset; then
67133     if test "${glibcxx_cv_func__expf_use+set}" = set; then
67134   echo $ECHO_N "(cached) $ECHO_C" >&6
67135 else
67136
67137
67138
67139       ac_ext=cc
67140 ac_cpp='$CXXCPP $CPPFLAGS'
67141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67144
67145       cat >conftest.$ac_ext <<_ACEOF
67146 /* confdefs.h.  */
67147 _ACEOF
67148 cat confdefs.h >>conftest.$ac_ext
67149 cat >>conftest.$ac_ext <<_ACEOF
67150 /* end confdefs.h.  */
67151 #include <math.h>
67152                       #ifdef HAVE_IEEEFP_H
67153                       #include <ieeefp.h>
67154                       #endif
67155
67156 int
67157 main ()
67158 {
67159  _expf(0);
67160   ;
67161   return 0;
67162 }
67163 _ACEOF
67164 rm -f conftest.$ac_objext
67165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67166   (eval $ac_compile) 2>conftest.er1
67167   ac_status=$?
67168   grep -v '^ *+' conftest.er1 >conftest.err
67169   rm -f conftest.er1
67170   cat conftest.err >&5
67171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67172   (exit $ac_status); } &&
67173          { ac_try='test -z "$ac_cxx_werror_flag"
67174                          || test ! -s conftest.err'
67175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67176   (eval $ac_try) 2>&5
67177   ac_status=$?
67178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67179   (exit $ac_status); }; } &&
67180          { ac_try='test -s conftest.$ac_objext'
67181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67182   (eval $ac_try) 2>&5
67183   ac_status=$?
67184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67185   (exit $ac_status); }; }; then
67186   glibcxx_cv_func__expf_use=yes
67187 else
67188   echo "$as_me: failed program was:" >&5
67189 sed 's/^/| /' conftest.$ac_ext >&5
67190
67191 glibcxx_cv_func__expf_use=no
67192 fi
67193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67194       ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67199
67200
67201 fi
67202
67203   fi
67204   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67205 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67206
67207     if test x$glibcxx_cv_func__expf_use = x"yes"; then
67208
67209 for ac_func in _expf
67210 do
67211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67212 echo "$as_me:$LINENO: checking for $ac_func" >&5
67213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67214 if eval "test \"\${$as_ac_var+set}\" = set"; then
67215   echo $ECHO_N "(cached) $ECHO_C" >&6
67216 else
67217   if test x$gcc_no_link = xyes; then
67218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67220    { (exit 1); exit 1; }; }
67221 fi
67222 cat >conftest.$ac_ext <<_ACEOF
67223 /* confdefs.h.  */
67224 _ACEOF
67225 cat confdefs.h >>conftest.$ac_ext
67226 cat >>conftest.$ac_ext <<_ACEOF
67227 /* end confdefs.h.  */
67228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67230 #define $ac_func innocuous_$ac_func
67231
67232 /* System header to define __stub macros and hopefully few prototypes,
67233     which can conflict with char $ac_func (); below.
67234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67235     <limits.h> exists even on freestanding compilers.  */
67236
67237 #ifdef __STDC__
67238 # include <limits.h>
67239 #else
67240 # include <assert.h>
67241 #endif
67242
67243 #undef $ac_func
67244
67245 /* Override any gcc2 internal prototype to avoid an error.  */
67246 #ifdef __cplusplus
67247 extern "C"
67248 {
67249 #endif
67250 /* We use char because int might match the return type of a gcc2
67251    builtin and then its argument prototype would still apply.  */
67252 char $ac_func ();
67253 /* The GNU C library defines this for functions which it implements
67254     to always fail with ENOSYS.  Some functions are actually named
67255     something starting with __ and the normal name is an alias.  */
67256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67257 choke me
67258 #else
67259 char (*f) () = $ac_func;
67260 #endif
67261 #ifdef __cplusplus
67262 }
67263 #endif
67264
67265 int
67266 main ()
67267 {
67268 return f != $ac_func;
67269   ;
67270   return 0;
67271 }
67272 _ACEOF
67273 rm -f conftest.$ac_objext conftest$ac_exeext
67274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67275   (eval $ac_link) 2>conftest.er1
67276   ac_status=$?
67277   grep -v '^ *+' conftest.er1 >conftest.err
67278   rm -f conftest.er1
67279   cat conftest.err >&5
67280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67281   (exit $ac_status); } &&
67282          { ac_try='test -z "$ac_c_werror_flag"
67283                          || test ! -s conftest.err'
67284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67285   (eval $ac_try) 2>&5
67286   ac_status=$?
67287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67288   (exit $ac_status); }; } &&
67289          { ac_try='test -s conftest$ac_exeext'
67290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67291   (eval $ac_try) 2>&5
67292   ac_status=$?
67293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67294   (exit $ac_status); }; }; then
67295   eval "$as_ac_var=yes"
67296 else
67297   echo "$as_me: failed program was:" >&5
67298 sed 's/^/| /' conftest.$ac_ext >&5
67299
67300 eval "$as_ac_var=no"
67301 fi
67302 rm -f conftest.err conftest.$ac_objext \
67303       conftest$ac_exeext conftest.$ac_ext
67304 fi
67305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67307 if test `eval echo '${'$as_ac_var'}'` = yes; then
67308   cat >>confdefs.h <<_ACEOF
67309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67310 _ACEOF
67311
67312 fi
67313 done
67314
67315     fi
67316   fi
67317
67318
67319
67320
67321
67322
67323   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
67324 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
67325   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67326     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
67327   echo $ECHO_N "(cached) $ECHO_C" >&6
67328 else
67329
67330
67331
67332       ac_ext=cc
67333 ac_cpp='$CXXCPP $CPPFLAGS'
67334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67337
67338       cat >conftest.$ac_ext <<_ACEOF
67339 /* confdefs.h.  */
67340 _ACEOF
67341 cat confdefs.h >>conftest.$ac_ext
67342 cat >>conftest.$ac_ext <<_ACEOF
67343 /* end confdefs.h.  */
67344 #include <math.h>
67345                       #ifdef HAVE_IEEEFP_H
67346                       #include <ieeefp.h>
67347                       #endif
67348
67349 int
67350 main ()
67351 {
67352  isnanf(0);
67353   ;
67354   return 0;
67355 }
67356 _ACEOF
67357 rm -f conftest.$ac_objext
67358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67359   (eval $ac_compile) 2>conftest.er1
67360   ac_status=$?
67361   grep -v '^ *+' conftest.er1 >conftest.err
67362   rm -f conftest.er1
67363   cat conftest.err >&5
67364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67365   (exit $ac_status); } &&
67366          { ac_try='test -z "$ac_cxx_werror_flag"
67367                          || test ! -s conftest.err'
67368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67369   (eval $ac_try) 2>&5
67370   ac_status=$?
67371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67372   (exit $ac_status); }; } &&
67373          { ac_try='test -s conftest.$ac_objext'
67374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67375   (eval $ac_try) 2>&5
67376   ac_status=$?
67377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67378   (exit $ac_status); }; }; then
67379   glibcxx_cv_func_isnanf_use=yes
67380 else
67381   echo "$as_me: failed program was:" >&5
67382 sed 's/^/| /' conftest.$ac_ext >&5
67383
67384 glibcxx_cv_func_isnanf_use=no
67385 fi
67386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67387       ac_ext=c
67388 ac_cpp='$CPP $CPPFLAGS'
67389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67392
67393
67394 fi
67395
67396   fi
67397   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
67398 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
67399
67400   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67401
67402 for ac_func in isnanf
67403 do
67404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67405 echo "$as_me:$LINENO: checking for $ac_func" >&5
67406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67407 if eval "test \"\${$as_ac_var+set}\" = set"; then
67408   echo $ECHO_N "(cached) $ECHO_C" >&6
67409 else
67410   if test x$gcc_no_link = xyes; then
67411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67413    { (exit 1); exit 1; }; }
67414 fi
67415 cat >conftest.$ac_ext <<_ACEOF
67416 /* confdefs.h.  */
67417 _ACEOF
67418 cat confdefs.h >>conftest.$ac_ext
67419 cat >>conftest.$ac_ext <<_ACEOF
67420 /* end confdefs.h.  */
67421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67423 #define $ac_func innocuous_$ac_func
67424
67425 /* System header to define __stub macros and hopefully few prototypes,
67426     which can conflict with char $ac_func (); below.
67427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67428     <limits.h> exists even on freestanding compilers.  */
67429
67430 #ifdef __STDC__
67431 # include <limits.h>
67432 #else
67433 # include <assert.h>
67434 #endif
67435
67436 #undef $ac_func
67437
67438 /* Override any gcc2 internal prototype to avoid an error.  */
67439 #ifdef __cplusplus
67440 extern "C"
67441 {
67442 #endif
67443 /* We use char because int might match the return type of a gcc2
67444    builtin and then its argument prototype would still apply.  */
67445 char $ac_func ();
67446 /* The GNU C library defines this for functions which it implements
67447     to always fail with ENOSYS.  Some functions are actually named
67448     something starting with __ and the normal name is an alias.  */
67449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67450 choke me
67451 #else
67452 char (*f) () = $ac_func;
67453 #endif
67454 #ifdef __cplusplus
67455 }
67456 #endif
67457
67458 int
67459 main ()
67460 {
67461 return f != $ac_func;
67462   ;
67463   return 0;
67464 }
67465 _ACEOF
67466 rm -f conftest.$ac_objext conftest$ac_exeext
67467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67468   (eval $ac_link) 2>conftest.er1
67469   ac_status=$?
67470   grep -v '^ *+' conftest.er1 >conftest.err
67471   rm -f conftest.er1
67472   cat conftest.err >&5
67473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67474   (exit $ac_status); } &&
67475          { ac_try='test -z "$ac_c_werror_flag"
67476                          || test ! -s conftest.err'
67477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67478   (eval $ac_try) 2>&5
67479   ac_status=$?
67480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67481   (exit $ac_status); }; } &&
67482          { ac_try='test -s conftest$ac_exeext'
67483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67484   (eval $ac_try) 2>&5
67485   ac_status=$?
67486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67487   (exit $ac_status); }; }; then
67488   eval "$as_ac_var=yes"
67489 else
67490   echo "$as_me: failed program was:" >&5
67491 sed 's/^/| /' conftest.$ac_ext >&5
67492
67493 eval "$as_ac_var=no"
67494 fi
67495 rm -f conftest.err conftest.$ac_objext \
67496       conftest$ac_exeext conftest.$ac_ext
67497 fi
67498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67500 if test `eval echo '${'$as_ac_var'}'` = yes; then
67501   cat >>confdefs.h <<_ACEOF
67502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67503 _ACEOF
67504
67505 fi
67506 done
67507
67508   else
67509
67510   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
67511 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
67512   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67513     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
67514   echo $ECHO_N "(cached) $ECHO_C" >&6
67515 else
67516
67517
67518
67519       ac_ext=cc
67520 ac_cpp='$CXXCPP $CPPFLAGS'
67521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67524
67525       cat >conftest.$ac_ext <<_ACEOF
67526 /* confdefs.h.  */
67527 _ACEOF
67528 cat confdefs.h >>conftest.$ac_ext
67529 cat >>conftest.$ac_ext <<_ACEOF
67530 /* end confdefs.h.  */
67531 #include <math.h>
67532                       #ifdef HAVE_IEEEFP_H
67533                       #include <ieeefp.h>
67534                       #endif
67535
67536 int
67537 main ()
67538 {
67539  _isnanf(0);
67540   ;
67541   return 0;
67542 }
67543 _ACEOF
67544 rm -f conftest.$ac_objext
67545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67546   (eval $ac_compile) 2>conftest.er1
67547   ac_status=$?
67548   grep -v '^ *+' conftest.er1 >conftest.err
67549   rm -f conftest.er1
67550   cat conftest.err >&5
67551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67552   (exit $ac_status); } &&
67553          { ac_try='test -z "$ac_cxx_werror_flag"
67554                          || test ! -s conftest.err'
67555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67556   (eval $ac_try) 2>&5
67557   ac_status=$?
67558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67559   (exit $ac_status); }; } &&
67560          { ac_try='test -s conftest.$ac_objext'
67561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67562   (eval $ac_try) 2>&5
67563   ac_status=$?
67564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67565   (exit $ac_status); }; }; then
67566   glibcxx_cv_func__isnanf_use=yes
67567 else
67568   echo "$as_me: failed program was:" >&5
67569 sed 's/^/| /' conftest.$ac_ext >&5
67570
67571 glibcxx_cv_func__isnanf_use=no
67572 fi
67573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67574       ac_ext=c
67575 ac_cpp='$CPP $CPPFLAGS'
67576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67579
67580
67581 fi
67582
67583   fi
67584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
67585 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
67586
67587     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67588
67589 for ac_func in _isnanf
67590 do
67591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67592 echo "$as_me:$LINENO: checking for $ac_func" >&5
67593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67594 if eval "test \"\${$as_ac_var+set}\" = set"; then
67595   echo $ECHO_N "(cached) $ECHO_C" >&6
67596 else
67597   if test x$gcc_no_link = xyes; then
67598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67600    { (exit 1); exit 1; }; }
67601 fi
67602 cat >conftest.$ac_ext <<_ACEOF
67603 /* confdefs.h.  */
67604 _ACEOF
67605 cat confdefs.h >>conftest.$ac_ext
67606 cat >>conftest.$ac_ext <<_ACEOF
67607 /* end confdefs.h.  */
67608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67610 #define $ac_func innocuous_$ac_func
67611
67612 /* System header to define __stub macros and hopefully few prototypes,
67613     which can conflict with char $ac_func (); below.
67614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67615     <limits.h> exists even on freestanding compilers.  */
67616
67617 #ifdef __STDC__
67618 # include <limits.h>
67619 #else
67620 # include <assert.h>
67621 #endif
67622
67623 #undef $ac_func
67624
67625 /* Override any gcc2 internal prototype to avoid an error.  */
67626 #ifdef __cplusplus
67627 extern "C"
67628 {
67629 #endif
67630 /* We use char because int might match the return type of a gcc2
67631    builtin and then its argument prototype would still apply.  */
67632 char $ac_func ();
67633 /* The GNU C library defines this for functions which it implements
67634     to always fail with ENOSYS.  Some functions are actually named
67635     something starting with __ and the normal name is an alias.  */
67636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67637 choke me
67638 #else
67639 char (*f) () = $ac_func;
67640 #endif
67641 #ifdef __cplusplus
67642 }
67643 #endif
67644
67645 int
67646 main ()
67647 {
67648 return f != $ac_func;
67649   ;
67650   return 0;
67651 }
67652 _ACEOF
67653 rm -f conftest.$ac_objext conftest$ac_exeext
67654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67655   (eval $ac_link) 2>conftest.er1
67656   ac_status=$?
67657   grep -v '^ *+' conftest.er1 >conftest.err
67658   rm -f conftest.er1
67659   cat conftest.err >&5
67660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67661   (exit $ac_status); } &&
67662          { ac_try='test -z "$ac_c_werror_flag"
67663                          || test ! -s conftest.err'
67664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67665   (eval $ac_try) 2>&5
67666   ac_status=$?
67667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67668   (exit $ac_status); }; } &&
67669          { ac_try='test -s conftest$ac_exeext'
67670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67671   (eval $ac_try) 2>&5
67672   ac_status=$?
67673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67674   (exit $ac_status); }; }; then
67675   eval "$as_ac_var=yes"
67676 else
67677   echo "$as_me: failed program was:" >&5
67678 sed 's/^/| /' conftest.$ac_ext >&5
67679
67680 eval "$as_ac_var=no"
67681 fi
67682 rm -f conftest.err conftest.$ac_objext \
67683       conftest$ac_exeext conftest.$ac_ext
67684 fi
67685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67687 if test `eval echo '${'$as_ac_var'}'` = yes; then
67688   cat >>confdefs.h <<_ACEOF
67689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67690 _ACEOF
67691
67692 fi
67693 done
67694
67695     fi
67696   fi
67697
67698
67699
67700
67701
67702
67703   echo "$as_me:$LINENO: checking for isinff declaration" >&5
67704 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
67705   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67706     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
67707   echo $ECHO_N "(cached) $ECHO_C" >&6
67708 else
67709
67710
67711
67712       ac_ext=cc
67713 ac_cpp='$CXXCPP $CPPFLAGS'
67714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67717
67718       cat >conftest.$ac_ext <<_ACEOF
67719 /* confdefs.h.  */
67720 _ACEOF
67721 cat confdefs.h >>conftest.$ac_ext
67722 cat >>conftest.$ac_ext <<_ACEOF
67723 /* end confdefs.h.  */
67724 #include <math.h>
67725                       #ifdef HAVE_IEEEFP_H
67726                       #include <ieeefp.h>
67727                       #endif
67728
67729 int
67730 main ()
67731 {
67732  isinff(0);
67733   ;
67734   return 0;
67735 }
67736 _ACEOF
67737 rm -f conftest.$ac_objext
67738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67739   (eval $ac_compile) 2>conftest.er1
67740   ac_status=$?
67741   grep -v '^ *+' conftest.er1 >conftest.err
67742   rm -f conftest.er1
67743   cat conftest.err >&5
67744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67745   (exit $ac_status); } &&
67746          { ac_try='test -z "$ac_cxx_werror_flag"
67747                          || test ! -s conftest.err'
67748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67749   (eval $ac_try) 2>&5
67750   ac_status=$?
67751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752   (exit $ac_status); }; } &&
67753          { ac_try='test -s conftest.$ac_objext'
67754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67755   (eval $ac_try) 2>&5
67756   ac_status=$?
67757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67758   (exit $ac_status); }; }; then
67759   glibcxx_cv_func_isinff_use=yes
67760 else
67761   echo "$as_me: failed program was:" >&5
67762 sed 's/^/| /' conftest.$ac_ext >&5
67763
67764 glibcxx_cv_func_isinff_use=no
67765 fi
67766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67767       ac_ext=c
67768 ac_cpp='$CPP $CPPFLAGS'
67769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67772
67773
67774 fi
67775
67776   fi
67777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
67778 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
67779
67780   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67781
67782 for ac_func in isinff
67783 do
67784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67785 echo "$as_me:$LINENO: checking for $ac_func" >&5
67786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67787 if eval "test \"\${$as_ac_var+set}\" = set"; then
67788   echo $ECHO_N "(cached) $ECHO_C" >&6
67789 else
67790   if test x$gcc_no_link = xyes; then
67791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67793    { (exit 1); exit 1; }; }
67794 fi
67795 cat >conftest.$ac_ext <<_ACEOF
67796 /* confdefs.h.  */
67797 _ACEOF
67798 cat confdefs.h >>conftest.$ac_ext
67799 cat >>conftest.$ac_ext <<_ACEOF
67800 /* end confdefs.h.  */
67801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67803 #define $ac_func innocuous_$ac_func
67804
67805 /* System header to define __stub macros and hopefully few prototypes,
67806     which can conflict with char $ac_func (); below.
67807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67808     <limits.h> exists even on freestanding compilers.  */
67809
67810 #ifdef __STDC__
67811 # include <limits.h>
67812 #else
67813 # include <assert.h>
67814 #endif
67815
67816 #undef $ac_func
67817
67818 /* Override any gcc2 internal prototype to avoid an error.  */
67819 #ifdef __cplusplus
67820 extern "C"
67821 {
67822 #endif
67823 /* We use char because int might match the return type of a gcc2
67824    builtin and then its argument prototype would still apply.  */
67825 char $ac_func ();
67826 /* The GNU C library defines this for functions which it implements
67827     to always fail with ENOSYS.  Some functions are actually named
67828     something starting with __ and the normal name is an alias.  */
67829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67830 choke me
67831 #else
67832 char (*f) () = $ac_func;
67833 #endif
67834 #ifdef __cplusplus
67835 }
67836 #endif
67837
67838 int
67839 main ()
67840 {
67841 return f != $ac_func;
67842   ;
67843   return 0;
67844 }
67845 _ACEOF
67846 rm -f conftest.$ac_objext conftest$ac_exeext
67847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67848   (eval $ac_link) 2>conftest.er1
67849   ac_status=$?
67850   grep -v '^ *+' conftest.er1 >conftest.err
67851   rm -f conftest.er1
67852   cat conftest.err >&5
67853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67854   (exit $ac_status); } &&
67855          { ac_try='test -z "$ac_c_werror_flag"
67856                          || test ! -s conftest.err'
67857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67858   (eval $ac_try) 2>&5
67859   ac_status=$?
67860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67861   (exit $ac_status); }; } &&
67862          { ac_try='test -s conftest$ac_exeext'
67863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67864   (eval $ac_try) 2>&5
67865   ac_status=$?
67866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867   (exit $ac_status); }; }; then
67868   eval "$as_ac_var=yes"
67869 else
67870   echo "$as_me: failed program was:" >&5
67871 sed 's/^/| /' conftest.$ac_ext >&5
67872
67873 eval "$as_ac_var=no"
67874 fi
67875 rm -f conftest.err conftest.$ac_objext \
67876       conftest$ac_exeext conftest.$ac_ext
67877 fi
67878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67880 if test `eval echo '${'$as_ac_var'}'` = yes; then
67881   cat >>confdefs.h <<_ACEOF
67882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67883 _ACEOF
67884
67885 fi
67886 done
67887
67888   else
67889
67890   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
67891 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
67892   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67893     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
67894   echo $ECHO_N "(cached) $ECHO_C" >&6
67895 else
67896
67897
67898
67899       ac_ext=cc
67900 ac_cpp='$CXXCPP $CPPFLAGS'
67901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67904
67905       cat >conftest.$ac_ext <<_ACEOF
67906 /* confdefs.h.  */
67907 _ACEOF
67908 cat confdefs.h >>conftest.$ac_ext
67909 cat >>conftest.$ac_ext <<_ACEOF
67910 /* end confdefs.h.  */
67911 #include <math.h>
67912                       #ifdef HAVE_IEEEFP_H
67913                       #include <ieeefp.h>
67914                       #endif
67915
67916 int
67917 main ()
67918 {
67919  _isinff(0);
67920   ;
67921   return 0;
67922 }
67923 _ACEOF
67924 rm -f conftest.$ac_objext
67925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67926   (eval $ac_compile) 2>conftest.er1
67927   ac_status=$?
67928   grep -v '^ *+' conftest.er1 >conftest.err
67929   rm -f conftest.er1
67930   cat conftest.err >&5
67931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67932   (exit $ac_status); } &&
67933          { ac_try='test -z "$ac_cxx_werror_flag"
67934                          || test ! -s conftest.err'
67935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67936   (eval $ac_try) 2>&5
67937   ac_status=$?
67938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67939   (exit $ac_status); }; } &&
67940          { ac_try='test -s conftest.$ac_objext'
67941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67942   (eval $ac_try) 2>&5
67943   ac_status=$?
67944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67945   (exit $ac_status); }; }; then
67946   glibcxx_cv_func__isinff_use=yes
67947 else
67948   echo "$as_me: failed program was:" >&5
67949 sed 's/^/| /' conftest.$ac_ext >&5
67950
67951 glibcxx_cv_func__isinff_use=no
67952 fi
67953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67954       ac_ext=c
67955 ac_cpp='$CPP $CPPFLAGS'
67956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67959
67960
67961 fi
67962
67963   fi
67964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
67965 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
67966
67967     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67968
67969 for ac_func in _isinff
67970 do
67971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67972 echo "$as_me:$LINENO: checking for $ac_func" >&5
67973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67974 if eval "test \"\${$as_ac_var+set}\" = set"; then
67975   echo $ECHO_N "(cached) $ECHO_C" >&6
67976 else
67977   if test x$gcc_no_link = xyes; then
67978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67980    { (exit 1); exit 1; }; }
67981 fi
67982 cat >conftest.$ac_ext <<_ACEOF
67983 /* confdefs.h.  */
67984 _ACEOF
67985 cat confdefs.h >>conftest.$ac_ext
67986 cat >>conftest.$ac_ext <<_ACEOF
67987 /* end confdefs.h.  */
67988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67990 #define $ac_func innocuous_$ac_func
67991
67992 /* System header to define __stub macros and hopefully few prototypes,
67993     which can conflict with char $ac_func (); below.
67994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67995     <limits.h> exists even on freestanding compilers.  */
67996
67997 #ifdef __STDC__
67998 # include <limits.h>
67999 #else
68000 # include <assert.h>
68001 #endif
68002
68003 #undef $ac_func
68004
68005 /* Override any gcc2 internal prototype to avoid an error.  */
68006 #ifdef __cplusplus
68007 extern "C"
68008 {
68009 #endif
68010 /* We use char because int might match the return type of a gcc2
68011    builtin and then its argument prototype would still apply.  */
68012 char $ac_func ();
68013 /* The GNU C library defines this for functions which it implements
68014     to always fail with ENOSYS.  Some functions are actually named
68015     something starting with __ and the normal name is an alias.  */
68016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68017 choke me
68018 #else
68019 char (*f) () = $ac_func;
68020 #endif
68021 #ifdef __cplusplus
68022 }
68023 #endif
68024
68025 int
68026 main ()
68027 {
68028 return f != $ac_func;
68029   ;
68030   return 0;
68031 }
68032 _ACEOF
68033 rm -f conftest.$ac_objext conftest$ac_exeext
68034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68035   (eval $ac_link) 2>conftest.er1
68036   ac_status=$?
68037   grep -v '^ *+' conftest.er1 >conftest.err
68038   rm -f conftest.er1
68039   cat conftest.err >&5
68040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68041   (exit $ac_status); } &&
68042          { ac_try='test -z "$ac_c_werror_flag"
68043                          || test ! -s conftest.err'
68044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68045   (eval $ac_try) 2>&5
68046   ac_status=$?
68047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68048   (exit $ac_status); }; } &&
68049          { ac_try='test -s conftest$ac_exeext'
68050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68051   (eval $ac_try) 2>&5
68052   ac_status=$?
68053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054   (exit $ac_status); }; }; then
68055   eval "$as_ac_var=yes"
68056 else
68057   echo "$as_me: failed program was:" >&5
68058 sed 's/^/| /' conftest.$ac_ext >&5
68059
68060 eval "$as_ac_var=no"
68061 fi
68062 rm -f conftest.err conftest.$ac_objext \
68063       conftest$ac_exeext conftest.$ac_ext
68064 fi
68065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68067 if test `eval echo '${'$as_ac_var'}'` = yes; then
68068   cat >>confdefs.h <<_ACEOF
68069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68070 _ACEOF
68071
68072 fi
68073 done
68074
68075     fi
68076   fi
68077
68078
68079
68080
68081
68082
68083   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68084 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68085   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68086     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68087   echo $ECHO_N "(cached) $ECHO_C" >&6
68088 else
68089
68090
68091
68092       ac_ext=cc
68093 ac_cpp='$CXXCPP $CPPFLAGS'
68094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68097
68098       cat >conftest.$ac_ext <<_ACEOF
68099 /* confdefs.h.  */
68100 _ACEOF
68101 cat confdefs.h >>conftest.$ac_ext
68102 cat >>conftest.$ac_ext <<_ACEOF
68103 /* end confdefs.h.  */
68104 #include <math.h>
68105 int
68106 main ()
68107 {
68108  atan2f(0, 0);
68109   ;
68110   return 0;
68111 }
68112 _ACEOF
68113 rm -f conftest.$ac_objext
68114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68115   (eval $ac_compile) 2>conftest.er1
68116   ac_status=$?
68117   grep -v '^ *+' conftest.er1 >conftest.err
68118   rm -f conftest.er1
68119   cat conftest.err >&5
68120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68121   (exit $ac_status); } &&
68122          { ac_try='test -z "$ac_cxx_werror_flag"
68123                          || test ! -s conftest.err'
68124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68125   (eval $ac_try) 2>&5
68126   ac_status=$?
68127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68128   (exit $ac_status); }; } &&
68129          { ac_try='test -s conftest.$ac_objext'
68130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68131   (eval $ac_try) 2>&5
68132   ac_status=$?
68133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68134   (exit $ac_status); }; }; then
68135   glibcxx_cv_func_atan2f_use=yes
68136 else
68137   echo "$as_me: failed program was:" >&5
68138 sed 's/^/| /' conftest.$ac_ext >&5
68139
68140 glibcxx_cv_func_atan2f_use=no
68141 fi
68142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68143       ac_ext=c
68144 ac_cpp='$CPP $CPPFLAGS'
68145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68148
68149
68150 fi
68151
68152   fi
68153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68154 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68155
68156   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68157
68158 for ac_func in atan2f
68159 do
68160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68161 echo "$as_me:$LINENO: checking for $ac_func" >&5
68162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68163 if eval "test \"\${$as_ac_var+set}\" = set"; then
68164   echo $ECHO_N "(cached) $ECHO_C" >&6
68165 else
68166   if test x$gcc_no_link = xyes; then
68167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68169    { (exit 1); exit 1; }; }
68170 fi
68171 cat >conftest.$ac_ext <<_ACEOF
68172 /* confdefs.h.  */
68173 _ACEOF
68174 cat confdefs.h >>conftest.$ac_ext
68175 cat >>conftest.$ac_ext <<_ACEOF
68176 /* end confdefs.h.  */
68177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68179 #define $ac_func innocuous_$ac_func
68180
68181 /* System header to define __stub macros and hopefully few prototypes,
68182     which can conflict with char $ac_func (); below.
68183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68184     <limits.h> exists even on freestanding compilers.  */
68185
68186 #ifdef __STDC__
68187 # include <limits.h>
68188 #else
68189 # include <assert.h>
68190 #endif
68191
68192 #undef $ac_func
68193
68194 /* Override any gcc2 internal prototype to avoid an error.  */
68195 #ifdef __cplusplus
68196 extern "C"
68197 {
68198 #endif
68199 /* We use char because int might match the return type of a gcc2
68200    builtin and then its argument prototype would still apply.  */
68201 char $ac_func ();
68202 /* The GNU C library defines this for functions which it implements
68203     to always fail with ENOSYS.  Some functions are actually named
68204     something starting with __ and the normal name is an alias.  */
68205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68206 choke me
68207 #else
68208 char (*f) () = $ac_func;
68209 #endif
68210 #ifdef __cplusplus
68211 }
68212 #endif
68213
68214 int
68215 main ()
68216 {
68217 return f != $ac_func;
68218   ;
68219   return 0;
68220 }
68221 _ACEOF
68222 rm -f conftest.$ac_objext conftest$ac_exeext
68223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68224   (eval $ac_link) 2>conftest.er1
68225   ac_status=$?
68226   grep -v '^ *+' conftest.er1 >conftest.err
68227   rm -f conftest.er1
68228   cat conftest.err >&5
68229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230   (exit $ac_status); } &&
68231          { ac_try='test -z "$ac_c_werror_flag"
68232                          || test ! -s conftest.err'
68233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68234   (eval $ac_try) 2>&5
68235   ac_status=$?
68236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68237   (exit $ac_status); }; } &&
68238          { ac_try='test -s conftest$ac_exeext'
68239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68240   (eval $ac_try) 2>&5
68241   ac_status=$?
68242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68243   (exit $ac_status); }; }; then
68244   eval "$as_ac_var=yes"
68245 else
68246   echo "$as_me: failed program was:" >&5
68247 sed 's/^/| /' conftest.$ac_ext >&5
68248
68249 eval "$as_ac_var=no"
68250 fi
68251 rm -f conftest.err conftest.$ac_objext \
68252       conftest$ac_exeext conftest.$ac_ext
68253 fi
68254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68256 if test `eval echo '${'$as_ac_var'}'` = yes; then
68257   cat >>confdefs.h <<_ACEOF
68258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68259 _ACEOF
68260
68261 fi
68262 done
68263
68264   else
68265
68266   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
68267 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
68268   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68269     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
68270   echo $ECHO_N "(cached) $ECHO_C" >&6
68271 else
68272
68273
68274
68275       ac_ext=cc
68276 ac_cpp='$CXXCPP $CPPFLAGS'
68277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280
68281       cat >conftest.$ac_ext <<_ACEOF
68282 /* confdefs.h.  */
68283 _ACEOF
68284 cat confdefs.h >>conftest.$ac_ext
68285 cat >>conftest.$ac_ext <<_ACEOF
68286 /* end confdefs.h.  */
68287 #include <math.h>
68288 int
68289 main ()
68290 {
68291  _atan2f(0, 0);
68292   ;
68293   return 0;
68294 }
68295 _ACEOF
68296 rm -f conftest.$ac_objext
68297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68298   (eval $ac_compile) 2>conftest.er1
68299   ac_status=$?
68300   grep -v '^ *+' conftest.er1 >conftest.err
68301   rm -f conftest.er1
68302   cat conftest.err >&5
68303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68304   (exit $ac_status); } &&
68305          { ac_try='test -z "$ac_cxx_werror_flag"
68306                          || test ! -s conftest.err'
68307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68308   (eval $ac_try) 2>&5
68309   ac_status=$?
68310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68311   (exit $ac_status); }; } &&
68312          { ac_try='test -s conftest.$ac_objext'
68313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68314   (eval $ac_try) 2>&5
68315   ac_status=$?
68316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68317   (exit $ac_status); }; }; then
68318   glibcxx_cv_func__atan2f_use=yes
68319 else
68320   echo "$as_me: failed program was:" >&5
68321 sed 's/^/| /' conftest.$ac_ext >&5
68322
68323 glibcxx_cv_func__atan2f_use=no
68324 fi
68325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68326       ac_ext=c
68327 ac_cpp='$CPP $CPPFLAGS'
68328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68331
68332
68333 fi
68334
68335   fi
68336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
68337 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
68338
68339     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68340
68341 for ac_func in _atan2f
68342 do
68343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68344 echo "$as_me:$LINENO: checking for $ac_func" >&5
68345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68346 if eval "test \"\${$as_ac_var+set}\" = set"; then
68347   echo $ECHO_N "(cached) $ECHO_C" >&6
68348 else
68349   if test x$gcc_no_link = xyes; then
68350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68352    { (exit 1); exit 1; }; }
68353 fi
68354 cat >conftest.$ac_ext <<_ACEOF
68355 /* confdefs.h.  */
68356 _ACEOF
68357 cat confdefs.h >>conftest.$ac_ext
68358 cat >>conftest.$ac_ext <<_ACEOF
68359 /* end confdefs.h.  */
68360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68362 #define $ac_func innocuous_$ac_func
68363
68364 /* System header to define __stub macros and hopefully few prototypes,
68365     which can conflict with char $ac_func (); below.
68366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68367     <limits.h> exists even on freestanding compilers.  */
68368
68369 #ifdef __STDC__
68370 # include <limits.h>
68371 #else
68372 # include <assert.h>
68373 #endif
68374
68375 #undef $ac_func
68376
68377 /* Override any gcc2 internal prototype to avoid an error.  */
68378 #ifdef __cplusplus
68379 extern "C"
68380 {
68381 #endif
68382 /* We use char because int might match the return type of a gcc2
68383    builtin and then its argument prototype would still apply.  */
68384 char $ac_func ();
68385 /* The GNU C library defines this for functions which it implements
68386     to always fail with ENOSYS.  Some functions are actually named
68387     something starting with __ and the normal name is an alias.  */
68388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68389 choke me
68390 #else
68391 char (*f) () = $ac_func;
68392 #endif
68393 #ifdef __cplusplus
68394 }
68395 #endif
68396
68397 int
68398 main ()
68399 {
68400 return f != $ac_func;
68401   ;
68402   return 0;
68403 }
68404 _ACEOF
68405 rm -f conftest.$ac_objext conftest$ac_exeext
68406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68407   (eval $ac_link) 2>conftest.er1
68408   ac_status=$?
68409   grep -v '^ *+' conftest.er1 >conftest.err
68410   rm -f conftest.er1
68411   cat conftest.err >&5
68412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68413   (exit $ac_status); } &&
68414          { ac_try='test -z "$ac_c_werror_flag"
68415                          || test ! -s conftest.err'
68416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68417   (eval $ac_try) 2>&5
68418   ac_status=$?
68419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68420   (exit $ac_status); }; } &&
68421          { ac_try='test -s conftest$ac_exeext'
68422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68423   (eval $ac_try) 2>&5
68424   ac_status=$?
68425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68426   (exit $ac_status); }; }; then
68427   eval "$as_ac_var=yes"
68428 else
68429   echo "$as_me: failed program was:" >&5
68430 sed 's/^/| /' conftest.$ac_ext >&5
68431
68432 eval "$as_ac_var=no"
68433 fi
68434 rm -f conftest.err conftest.$ac_objext \
68435       conftest$ac_exeext conftest.$ac_ext
68436 fi
68437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68439 if test `eval echo '${'$as_ac_var'}'` = yes; then
68440   cat >>confdefs.h <<_ACEOF
68441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68442 _ACEOF
68443
68444 fi
68445 done
68446
68447     fi
68448   fi
68449
68450
68451
68452
68453
68454
68455   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
68456 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
68457   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68458     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
68459   echo $ECHO_N "(cached) $ECHO_C" >&6
68460 else
68461
68462
68463
68464       ac_ext=cc
68465 ac_cpp='$CXXCPP $CPPFLAGS'
68466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68469
68470       cat >conftest.$ac_ext <<_ACEOF
68471 /* confdefs.h.  */
68472 _ACEOF
68473 cat confdefs.h >>conftest.$ac_ext
68474 cat >>conftest.$ac_ext <<_ACEOF
68475 /* end confdefs.h.  */
68476 #include <math.h>
68477                       #ifdef HAVE_IEEEFP_H
68478                       #include <ieeefp.h>
68479                       #endif
68480
68481 int
68482 main ()
68483 {
68484  fabsf(0);
68485   ;
68486   return 0;
68487 }
68488 _ACEOF
68489 rm -f conftest.$ac_objext
68490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68491   (eval $ac_compile) 2>conftest.er1
68492   ac_status=$?
68493   grep -v '^ *+' conftest.er1 >conftest.err
68494   rm -f conftest.er1
68495   cat conftest.err >&5
68496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68497   (exit $ac_status); } &&
68498          { ac_try='test -z "$ac_cxx_werror_flag"
68499                          || test ! -s conftest.err'
68500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68501   (eval $ac_try) 2>&5
68502   ac_status=$?
68503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68504   (exit $ac_status); }; } &&
68505          { ac_try='test -s conftest.$ac_objext'
68506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68507   (eval $ac_try) 2>&5
68508   ac_status=$?
68509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68510   (exit $ac_status); }; }; then
68511   glibcxx_cv_func_fabsf_use=yes
68512 else
68513   echo "$as_me: failed program was:" >&5
68514 sed 's/^/| /' conftest.$ac_ext >&5
68515
68516 glibcxx_cv_func_fabsf_use=no
68517 fi
68518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68519       ac_ext=c
68520 ac_cpp='$CPP $CPPFLAGS'
68521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68524
68525
68526 fi
68527
68528   fi
68529   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
68530 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
68531
68532   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68533
68534 for ac_func in fabsf
68535 do
68536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68537 echo "$as_me:$LINENO: checking for $ac_func" >&5
68538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68539 if eval "test \"\${$as_ac_var+set}\" = set"; then
68540   echo $ECHO_N "(cached) $ECHO_C" >&6
68541 else
68542   if test x$gcc_no_link = xyes; then
68543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68545    { (exit 1); exit 1; }; }
68546 fi
68547 cat >conftest.$ac_ext <<_ACEOF
68548 /* confdefs.h.  */
68549 _ACEOF
68550 cat confdefs.h >>conftest.$ac_ext
68551 cat >>conftest.$ac_ext <<_ACEOF
68552 /* end confdefs.h.  */
68553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68555 #define $ac_func innocuous_$ac_func
68556
68557 /* System header to define __stub macros and hopefully few prototypes,
68558     which can conflict with char $ac_func (); below.
68559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68560     <limits.h> exists even on freestanding compilers.  */
68561
68562 #ifdef __STDC__
68563 # include <limits.h>
68564 #else
68565 # include <assert.h>
68566 #endif
68567
68568 #undef $ac_func
68569
68570 /* Override any gcc2 internal prototype to avoid an error.  */
68571 #ifdef __cplusplus
68572 extern "C"
68573 {
68574 #endif
68575 /* We use char because int might match the return type of a gcc2
68576    builtin and then its argument prototype would still apply.  */
68577 char $ac_func ();
68578 /* The GNU C library defines this for functions which it implements
68579     to always fail with ENOSYS.  Some functions are actually named
68580     something starting with __ and the normal name is an alias.  */
68581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68582 choke me
68583 #else
68584 char (*f) () = $ac_func;
68585 #endif
68586 #ifdef __cplusplus
68587 }
68588 #endif
68589
68590 int
68591 main ()
68592 {
68593 return f != $ac_func;
68594   ;
68595   return 0;
68596 }
68597 _ACEOF
68598 rm -f conftest.$ac_objext conftest$ac_exeext
68599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68600   (eval $ac_link) 2>conftest.er1
68601   ac_status=$?
68602   grep -v '^ *+' conftest.er1 >conftest.err
68603   rm -f conftest.er1
68604   cat conftest.err >&5
68605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68606   (exit $ac_status); } &&
68607          { ac_try='test -z "$ac_c_werror_flag"
68608                          || test ! -s conftest.err'
68609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68610   (eval $ac_try) 2>&5
68611   ac_status=$?
68612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68613   (exit $ac_status); }; } &&
68614          { ac_try='test -s conftest$ac_exeext'
68615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68616   (eval $ac_try) 2>&5
68617   ac_status=$?
68618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619   (exit $ac_status); }; }; then
68620   eval "$as_ac_var=yes"
68621 else
68622   echo "$as_me: failed program was:" >&5
68623 sed 's/^/| /' conftest.$ac_ext >&5
68624
68625 eval "$as_ac_var=no"
68626 fi
68627 rm -f conftest.err conftest.$ac_objext \
68628       conftest$ac_exeext conftest.$ac_ext
68629 fi
68630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68632 if test `eval echo '${'$as_ac_var'}'` = yes; then
68633   cat >>confdefs.h <<_ACEOF
68634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68635 _ACEOF
68636
68637 fi
68638 done
68639
68640   else
68641
68642   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
68643 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
68644   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68645     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
68646   echo $ECHO_N "(cached) $ECHO_C" >&6
68647 else
68648
68649
68650
68651       ac_ext=cc
68652 ac_cpp='$CXXCPP $CPPFLAGS'
68653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68656
68657       cat >conftest.$ac_ext <<_ACEOF
68658 /* confdefs.h.  */
68659 _ACEOF
68660 cat confdefs.h >>conftest.$ac_ext
68661 cat >>conftest.$ac_ext <<_ACEOF
68662 /* end confdefs.h.  */
68663 #include <math.h>
68664                       #ifdef HAVE_IEEEFP_H
68665                       #include <ieeefp.h>
68666                       #endif
68667
68668 int
68669 main ()
68670 {
68671  _fabsf(0);
68672   ;
68673   return 0;
68674 }
68675 _ACEOF
68676 rm -f conftest.$ac_objext
68677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68678   (eval $ac_compile) 2>conftest.er1
68679   ac_status=$?
68680   grep -v '^ *+' conftest.er1 >conftest.err
68681   rm -f conftest.er1
68682   cat conftest.err >&5
68683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68684   (exit $ac_status); } &&
68685          { ac_try='test -z "$ac_cxx_werror_flag"
68686                          || test ! -s conftest.err'
68687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68688   (eval $ac_try) 2>&5
68689   ac_status=$?
68690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68691   (exit $ac_status); }; } &&
68692          { ac_try='test -s conftest.$ac_objext'
68693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68694   (eval $ac_try) 2>&5
68695   ac_status=$?
68696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68697   (exit $ac_status); }; }; then
68698   glibcxx_cv_func__fabsf_use=yes
68699 else
68700   echo "$as_me: failed program was:" >&5
68701 sed 's/^/| /' conftest.$ac_ext >&5
68702
68703 glibcxx_cv_func__fabsf_use=no
68704 fi
68705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68706       ac_ext=c
68707 ac_cpp='$CPP $CPPFLAGS'
68708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68711
68712
68713 fi
68714
68715   fi
68716   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
68717 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
68718
68719     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68720
68721 for ac_func in _fabsf
68722 do
68723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68724 echo "$as_me:$LINENO: checking for $ac_func" >&5
68725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68726 if eval "test \"\${$as_ac_var+set}\" = set"; then
68727   echo $ECHO_N "(cached) $ECHO_C" >&6
68728 else
68729   if test x$gcc_no_link = xyes; then
68730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68732    { (exit 1); exit 1; }; }
68733 fi
68734 cat >conftest.$ac_ext <<_ACEOF
68735 /* confdefs.h.  */
68736 _ACEOF
68737 cat confdefs.h >>conftest.$ac_ext
68738 cat >>conftest.$ac_ext <<_ACEOF
68739 /* end confdefs.h.  */
68740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68742 #define $ac_func innocuous_$ac_func
68743
68744 /* System header to define __stub macros and hopefully few prototypes,
68745     which can conflict with char $ac_func (); below.
68746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68747     <limits.h> exists even on freestanding compilers.  */
68748
68749 #ifdef __STDC__
68750 # include <limits.h>
68751 #else
68752 # include <assert.h>
68753 #endif
68754
68755 #undef $ac_func
68756
68757 /* Override any gcc2 internal prototype to avoid an error.  */
68758 #ifdef __cplusplus
68759 extern "C"
68760 {
68761 #endif
68762 /* We use char because int might match the return type of a gcc2
68763    builtin and then its argument prototype would still apply.  */
68764 char $ac_func ();
68765 /* The GNU C library defines this for functions which it implements
68766     to always fail with ENOSYS.  Some functions are actually named
68767     something starting with __ and the normal name is an alias.  */
68768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68769 choke me
68770 #else
68771 char (*f) () = $ac_func;
68772 #endif
68773 #ifdef __cplusplus
68774 }
68775 #endif
68776
68777 int
68778 main ()
68779 {
68780 return f != $ac_func;
68781   ;
68782   return 0;
68783 }
68784 _ACEOF
68785 rm -f conftest.$ac_objext conftest$ac_exeext
68786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68787   (eval $ac_link) 2>conftest.er1
68788   ac_status=$?
68789   grep -v '^ *+' conftest.er1 >conftest.err
68790   rm -f conftest.er1
68791   cat conftest.err >&5
68792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68793   (exit $ac_status); } &&
68794          { ac_try='test -z "$ac_c_werror_flag"
68795                          || test ! -s conftest.err'
68796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68797   (eval $ac_try) 2>&5
68798   ac_status=$?
68799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68800   (exit $ac_status); }; } &&
68801          { ac_try='test -s conftest$ac_exeext'
68802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68803   (eval $ac_try) 2>&5
68804   ac_status=$?
68805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68806   (exit $ac_status); }; }; then
68807   eval "$as_ac_var=yes"
68808 else
68809   echo "$as_me: failed program was:" >&5
68810 sed 's/^/| /' conftest.$ac_ext >&5
68811
68812 eval "$as_ac_var=no"
68813 fi
68814 rm -f conftest.err conftest.$ac_objext \
68815       conftest$ac_exeext conftest.$ac_ext
68816 fi
68817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68819 if test `eval echo '${'$as_ac_var'}'` = yes; then
68820   cat >>confdefs.h <<_ACEOF
68821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68822 _ACEOF
68823
68824 fi
68825 done
68826
68827     fi
68828   fi
68829
68830
68831
68832
68833
68834
68835   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
68836 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
68837   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68838     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
68839   echo $ECHO_N "(cached) $ECHO_C" >&6
68840 else
68841
68842
68843
68844       ac_ext=cc
68845 ac_cpp='$CXXCPP $CPPFLAGS'
68846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68849
68850       cat >conftest.$ac_ext <<_ACEOF
68851 /* confdefs.h.  */
68852 _ACEOF
68853 cat confdefs.h >>conftest.$ac_ext
68854 cat >>conftest.$ac_ext <<_ACEOF
68855 /* end confdefs.h.  */
68856 #include <math.h>
68857 int
68858 main ()
68859 {
68860  fmodf(0, 0);
68861   ;
68862   return 0;
68863 }
68864 _ACEOF
68865 rm -f conftest.$ac_objext
68866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68867   (eval $ac_compile) 2>conftest.er1
68868   ac_status=$?
68869   grep -v '^ *+' conftest.er1 >conftest.err
68870   rm -f conftest.er1
68871   cat conftest.err >&5
68872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68873   (exit $ac_status); } &&
68874          { ac_try='test -z "$ac_cxx_werror_flag"
68875                          || test ! -s conftest.err'
68876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68877   (eval $ac_try) 2>&5
68878   ac_status=$?
68879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68880   (exit $ac_status); }; } &&
68881          { ac_try='test -s conftest.$ac_objext'
68882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68883   (eval $ac_try) 2>&5
68884   ac_status=$?
68885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68886   (exit $ac_status); }; }; then
68887   glibcxx_cv_func_fmodf_use=yes
68888 else
68889   echo "$as_me: failed program was:" >&5
68890 sed 's/^/| /' conftest.$ac_ext >&5
68891
68892 glibcxx_cv_func_fmodf_use=no
68893 fi
68894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68895       ac_ext=c
68896 ac_cpp='$CPP $CPPFLAGS'
68897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68900
68901
68902 fi
68903
68904   fi
68905   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
68906 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
68907
68908   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68909
68910 for ac_func in fmodf
68911 do
68912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68913 echo "$as_me:$LINENO: checking for $ac_func" >&5
68914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68915 if eval "test \"\${$as_ac_var+set}\" = set"; then
68916   echo $ECHO_N "(cached) $ECHO_C" >&6
68917 else
68918   if test x$gcc_no_link = xyes; then
68919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68921    { (exit 1); exit 1; }; }
68922 fi
68923 cat >conftest.$ac_ext <<_ACEOF
68924 /* confdefs.h.  */
68925 _ACEOF
68926 cat confdefs.h >>conftest.$ac_ext
68927 cat >>conftest.$ac_ext <<_ACEOF
68928 /* end confdefs.h.  */
68929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68930    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68931 #define $ac_func innocuous_$ac_func
68932
68933 /* System header to define __stub macros and hopefully few prototypes,
68934     which can conflict with char $ac_func (); below.
68935     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68936     <limits.h> exists even on freestanding compilers.  */
68937
68938 #ifdef __STDC__
68939 # include <limits.h>
68940 #else
68941 # include <assert.h>
68942 #endif
68943
68944 #undef $ac_func
68945
68946 /* Override any gcc2 internal prototype to avoid an error.  */
68947 #ifdef __cplusplus
68948 extern "C"
68949 {
68950 #endif
68951 /* We use char because int might match the return type of a gcc2
68952    builtin and then its argument prototype would still apply.  */
68953 char $ac_func ();
68954 /* The GNU C library defines this for functions which it implements
68955     to always fail with ENOSYS.  Some functions are actually named
68956     something starting with __ and the normal name is an alias.  */
68957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68958 choke me
68959 #else
68960 char (*f) () = $ac_func;
68961 #endif
68962 #ifdef __cplusplus
68963 }
68964 #endif
68965
68966 int
68967 main ()
68968 {
68969 return f != $ac_func;
68970   ;
68971   return 0;
68972 }
68973 _ACEOF
68974 rm -f conftest.$ac_objext conftest$ac_exeext
68975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68976   (eval $ac_link) 2>conftest.er1
68977   ac_status=$?
68978   grep -v '^ *+' conftest.er1 >conftest.err
68979   rm -f conftest.er1
68980   cat conftest.err >&5
68981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68982   (exit $ac_status); } &&
68983          { ac_try='test -z "$ac_c_werror_flag"
68984                          || test ! -s conftest.err'
68985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68986   (eval $ac_try) 2>&5
68987   ac_status=$?
68988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68989   (exit $ac_status); }; } &&
68990          { ac_try='test -s conftest$ac_exeext'
68991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68992   (eval $ac_try) 2>&5
68993   ac_status=$?
68994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68995   (exit $ac_status); }; }; then
68996   eval "$as_ac_var=yes"
68997 else
68998   echo "$as_me: failed program was:" >&5
68999 sed 's/^/| /' conftest.$ac_ext >&5
69000
69001 eval "$as_ac_var=no"
69002 fi
69003 rm -f conftest.err conftest.$ac_objext \
69004       conftest$ac_exeext conftest.$ac_ext
69005 fi
69006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69008 if test `eval echo '${'$as_ac_var'}'` = yes; then
69009   cat >>confdefs.h <<_ACEOF
69010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69011 _ACEOF
69012
69013 fi
69014 done
69015
69016   else
69017
69018   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69019 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69020   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69021     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69022   echo $ECHO_N "(cached) $ECHO_C" >&6
69023 else
69024
69025
69026
69027       ac_ext=cc
69028 ac_cpp='$CXXCPP $CPPFLAGS'
69029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69032
69033       cat >conftest.$ac_ext <<_ACEOF
69034 /* confdefs.h.  */
69035 _ACEOF
69036 cat confdefs.h >>conftest.$ac_ext
69037 cat >>conftest.$ac_ext <<_ACEOF
69038 /* end confdefs.h.  */
69039 #include <math.h>
69040 int
69041 main ()
69042 {
69043  _fmodf(0, 0);
69044   ;
69045   return 0;
69046 }
69047 _ACEOF
69048 rm -f conftest.$ac_objext
69049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69050   (eval $ac_compile) 2>conftest.er1
69051   ac_status=$?
69052   grep -v '^ *+' conftest.er1 >conftest.err
69053   rm -f conftest.er1
69054   cat conftest.err >&5
69055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69056   (exit $ac_status); } &&
69057          { ac_try='test -z "$ac_cxx_werror_flag"
69058                          || test ! -s conftest.err'
69059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69060   (eval $ac_try) 2>&5
69061   ac_status=$?
69062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69063   (exit $ac_status); }; } &&
69064          { ac_try='test -s conftest.$ac_objext'
69065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69066   (eval $ac_try) 2>&5
69067   ac_status=$?
69068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69069   (exit $ac_status); }; }; then
69070   glibcxx_cv_func__fmodf_use=yes
69071 else
69072   echo "$as_me: failed program was:" >&5
69073 sed 's/^/| /' conftest.$ac_ext >&5
69074
69075 glibcxx_cv_func__fmodf_use=no
69076 fi
69077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69078       ac_ext=c
69079 ac_cpp='$CPP $CPPFLAGS'
69080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69083
69084
69085 fi
69086
69087   fi
69088   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69089 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69090
69091     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69092
69093 for ac_func in _fmodf
69094 do
69095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69096 echo "$as_me:$LINENO: checking for $ac_func" >&5
69097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69098 if eval "test \"\${$as_ac_var+set}\" = set"; then
69099   echo $ECHO_N "(cached) $ECHO_C" >&6
69100 else
69101   if test x$gcc_no_link = xyes; then
69102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69104    { (exit 1); exit 1; }; }
69105 fi
69106 cat >conftest.$ac_ext <<_ACEOF
69107 /* confdefs.h.  */
69108 _ACEOF
69109 cat confdefs.h >>conftest.$ac_ext
69110 cat >>conftest.$ac_ext <<_ACEOF
69111 /* end confdefs.h.  */
69112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69114 #define $ac_func innocuous_$ac_func
69115
69116 /* System header to define __stub macros and hopefully few prototypes,
69117     which can conflict with char $ac_func (); below.
69118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69119     <limits.h> exists even on freestanding compilers.  */
69120
69121 #ifdef __STDC__
69122 # include <limits.h>
69123 #else
69124 # include <assert.h>
69125 #endif
69126
69127 #undef $ac_func
69128
69129 /* Override any gcc2 internal prototype to avoid an error.  */
69130 #ifdef __cplusplus
69131 extern "C"
69132 {
69133 #endif
69134 /* We use char because int might match the return type of a gcc2
69135    builtin and then its argument prototype would still apply.  */
69136 char $ac_func ();
69137 /* The GNU C library defines this for functions which it implements
69138     to always fail with ENOSYS.  Some functions are actually named
69139     something starting with __ and the normal name is an alias.  */
69140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69141 choke me
69142 #else
69143 char (*f) () = $ac_func;
69144 #endif
69145 #ifdef __cplusplus
69146 }
69147 #endif
69148
69149 int
69150 main ()
69151 {
69152 return f != $ac_func;
69153   ;
69154   return 0;
69155 }
69156 _ACEOF
69157 rm -f conftest.$ac_objext conftest$ac_exeext
69158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69159   (eval $ac_link) 2>conftest.er1
69160   ac_status=$?
69161   grep -v '^ *+' conftest.er1 >conftest.err
69162   rm -f conftest.er1
69163   cat conftest.err >&5
69164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69165   (exit $ac_status); } &&
69166          { ac_try='test -z "$ac_c_werror_flag"
69167                          || test ! -s conftest.err'
69168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69169   (eval $ac_try) 2>&5
69170   ac_status=$?
69171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69172   (exit $ac_status); }; } &&
69173          { ac_try='test -s conftest$ac_exeext'
69174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69175   (eval $ac_try) 2>&5
69176   ac_status=$?
69177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69178   (exit $ac_status); }; }; then
69179   eval "$as_ac_var=yes"
69180 else
69181   echo "$as_me: failed program was:" >&5
69182 sed 's/^/| /' conftest.$ac_ext >&5
69183
69184 eval "$as_ac_var=no"
69185 fi
69186 rm -f conftest.err conftest.$ac_objext \
69187       conftest$ac_exeext conftest.$ac_ext
69188 fi
69189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69191 if test `eval echo '${'$as_ac_var'}'` = yes; then
69192   cat >>confdefs.h <<_ACEOF
69193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69194 _ACEOF
69195
69196 fi
69197 done
69198
69199     fi
69200   fi
69201
69202
69203
69204
69205
69206
69207   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69208 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69209   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69210     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69211   echo $ECHO_N "(cached) $ECHO_C" >&6
69212 else
69213
69214
69215
69216       ac_ext=cc
69217 ac_cpp='$CXXCPP $CPPFLAGS'
69218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69221
69222       cat >conftest.$ac_ext <<_ACEOF
69223 /* confdefs.h.  */
69224 _ACEOF
69225 cat confdefs.h >>conftest.$ac_ext
69226 cat >>conftest.$ac_ext <<_ACEOF
69227 /* end confdefs.h.  */
69228 #include <math.h>
69229 int
69230 main ()
69231 {
69232  frexpf(0, 0);
69233   ;
69234   return 0;
69235 }
69236 _ACEOF
69237 rm -f conftest.$ac_objext
69238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69239   (eval $ac_compile) 2>conftest.er1
69240   ac_status=$?
69241   grep -v '^ *+' conftest.er1 >conftest.err
69242   rm -f conftest.er1
69243   cat conftest.err >&5
69244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69245   (exit $ac_status); } &&
69246          { ac_try='test -z "$ac_cxx_werror_flag"
69247                          || test ! -s conftest.err'
69248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69249   (eval $ac_try) 2>&5
69250   ac_status=$?
69251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69252   (exit $ac_status); }; } &&
69253          { ac_try='test -s conftest.$ac_objext'
69254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69255   (eval $ac_try) 2>&5
69256   ac_status=$?
69257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69258   (exit $ac_status); }; }; then
69259   glibcxx_cv_func_frexpf_use=yes
69260 else
69261   echo "$as_me: failed program was:" >&5
69262 sed 's/^/| /' conftest.$ac_ext >&5
69263
69264 glibcxx_cv_func_frexpf_use=no
69265 fi
69266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69267       ac_ext=c
69268 ac_cpp='$CPP $CPPFLAGS'
69269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69272
69273
69274 fi
69275
69276   fi
69277   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
69278 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
69279
69280   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69281
69282 for ac_func in frexpf
69283 do
69284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69285 echo "$as_me:$LINENO: checking for $ac_func" >&5
69286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69287 if eval "test \"\${$as_ac_var+set}\" = set"; then
69288   echo $ECHO_N "(cached) $ECHO_C" >&6
69289 else
69290   if test x$gcc_no_link = xyes; then
69291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69293    { (exit 1); exit 1; }; }
69294 fi
69295 cat >conftest.$ac_ext <<_ACEOF
69296 /* confdefs.h.  */
69297 _ACEOF
69298 cat confdefs.h >>conftest.$ac_ext
69299 cat >>conftest.$ac_ext <<_ACEOF
69300 /* end confdefs.h.  */
69301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69302    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69303 #define $ac_func innocuous_$ac_func
69304
69305 /* System header to define __stub macros and hopefully few prototypes,
69306     which can conflict with char $ac_func (); below.
69307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69308     <limits.h> exists even on freestanding compilers.  */
69309
69310 #ifdef __STDC__
69311 # include <limits.h>
69312 #else
69313 # include <assert.h>
69314 #endif
69315
69316 #undef $ac_func
69317
69318 /* Override any gcc2 internal prototype to avoid an error.  */
69319 #ifdef __cplusplus
69320 extern "C"
69321 {
69322 #endif
69323 /* We use char because int might match the return type of a gcc2
69324    builtin and then its argument prototype would still apply.  */
69325 char $ac_func ();
69326 /* The GNU C library defines this for functions which it implements
69327     to always fail with ENOSYS.  Some functions are actually named
69328     something starting with __ and the normal name is an alias.  */
69329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69330 choke me
69331 #else
69332 char (*f) () = $ac_func;
69333 #endif
69334 #ifdef __cplusplus
69335 }
69336 #endif
69337
69338 int
69339 main ()
69340 {
69341 return f != $ac_func;
69342   ;
69343   return 0;
69344 }
69345 _ACEOF
69346 rm -f conftest.$ac_objext conftest$ac_exeext
69347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69348   (eval $ac_link) 2>conftest.er1
69349   ac_status=$?
69350   grep -v '^ *+' conftest.er1 >conftest.err
69351   rm -f conftest.er1
69352   cat conftest.err >&5
69353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69354   (exit $ac_status); } &&
69355          { ac_try='test -z "$ac_c_werror_flag"
69356                          || test ! -s conftest.err'
69357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69358   (eval $ac_try) 2>&5
69359   ac_status=$?
69360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69361   (exit $ac_status); }; } &&
69362          { ac_try='test -s conftest$ac_exeext'
69363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69364   (eval $ac_try) 2>&5
69365   ac_status=$?
69366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69367   (exit $ac_status); }; }; then
69368   eval "$as_ac_var=yes"
69369 else
69370   echo "$as_me: failed program was:" >&5
69371 sed 's/^/| /' conftest.$ac_ext >&5
69372
69373 eval "$as_ac_var=no"
69374 fi
69375 rm -f conftest.err conftest.$ac_objext \
69376       conftest$ac_exeext conftest.$ac_ext
69377 fi
69378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69380 if test `eval echo '${'$as_ac_var'}'` = yes; then
69381   cat >>confdefs.h <<_ACEOF
69382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69383 _ACEOF
69384
69385 fi
69386 done
69387
69388   else
69389
69390   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
69391 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
69392   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69393     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
69394   echo $ECHO_N "(cached) $ECHO_C" >&6
69395 else
69396
69397
69398
69399       ac_ext=cc
69400 ac_cpp='$CXXCPP $CPPFLAGS'
69401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69404
69405       cat >conftest.$ac_ext <<_ACEOF
69406 /* confdefs.h.  */
69407 _ACEOF
69408 cat confdefs.h >>conftest.$ac_ext
69409 cat >>conftest.$ac_ext <<_ACEOF
69410 /* end confdefs.h.  */
69411 #include <math.h>
69412 int
69413 main ()
69414 {
69415  _frexpf(0, 0);
69416   ;
69417   return 0;
69418 }
69419 _ACEOF
69420 rm -f conftest.$ac_objext
69421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69422   (eval $ac_compile) 2>conftest.er1
69423   ac_status=$?
69424   grep -v '^ *+' conftest.er1 >conftest.err
69425   rm -f conftest.er1
69426   cat conftest.err >&5
69427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69428   (exit $ac_status); } &&
69429          { ac_try='test -z "$ac_cxx_werror_flag"
69430                          || test ! -s conftest.err'
69431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69432   (eval $ac_try) 2>&5
69433   ac_status=$?
69434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69435   (exit $ac_status); }; } &&
69436          { ac_try='test -s conftest.$ac_objext'
69437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69438   (eval $ac_try) 2>&5
69439   ac_status=$?
69440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69441   (exit $ac_status); }; }; then
69442   glibcxx_cv_func__frexpf_use=yes
69443 else
69444   echo "$as_me: failed program was:" >&5
69445 sed 's/^/| /' conftest.$ac_ext >&5
69446
69447 glibcxx_cv_func__frexpf_use=no
69448 fi
69449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69450       ac_ext=c
69451 ac_cpp='$CPP $CPPFLAGS'
69452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69455
69456
69457 fi
69458
69459   fi
69460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
69461 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
69462
69463     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69464
69465 for ac_func in _frexpf
69466 do
69467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69468 echo "$as_me:$LINENO: checking for $ac_func" >&5
69469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69470 if eval "test \"\${$as_ac_var+set}\" = set"; then
69471   echo $ECHO_N "(cached) $ECHO_C" >&6
69472 else
69473   if test x$gcc_no_link = xyes; then
69474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69476    { (exit 1); exit 1; }; }
69477 fi
69478 cat >conftest.$ac_ext <<_ACEOF
69479 /* confdefs.h.  */
69480 _ACEOF
69481 cat confdefs.h >>conftest.$ac_ext
69482 cat >>conftest.$ac_ext <<_ACEOF
69483 /* end confdefs.h.  */
69484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69486 #define $ac_func innocuous_$ac_func
69487
69488 /* System header to define __stub macros and hopefully few prototypes,
69489     which can conflict with char $ac_func (); below.
69490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69491     <limits.h> exists even on freestanding compilers.  */
69492
69493 #ifdef __STDC__
69494 # include <limits.h>
69495 #else
69496 # include <assert.h>
69497 #endif
69498
69499 #undef $ac_func
69500
69501 /* Override any gcc2 internal prototype to avoid an error.  */
69502 #ifdef __cplusplus
69503 extern "C"
69504 {
69505 #endif
69506 /* We use char because int might match the return type of a gcc2
69507    builtin and then its argument prototype would still apply.  */
69508 char $ac_func ();
69509 /* The GNU C library defines this for functions which it implements
69510     to always fail with ENOSYS.  Some functions are actually named
69511     something starting with __ and the normal name is an alias.  */
69512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69513 choke me
69514 #else
69515 char (*f) () = $ac_func;
69516 #endif
69517 #ifdef __cplusplus
69518 }
69519 #endif
69520
69521 int
69522 main ()
69523 {
69524 return f != $ac_func;
69525   ;
69526   return 0;
69527 }
69528 _ACEOF
69529 rm -f conftest.$ac_objext conftest$ac_exeext
69530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69531   (eval $ac_link) 2>conftest.er1
69532   ac_status=$?
69533   grep -v '^ *+' conftest.er1 >conftest.err
69534   rm -f conftest.er1
69535   cat conftest.err >&5
69536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69537   (exit $ac_status); } &&
69538          { ac_try='test -z "$ac_c_werror_flag"
69539                          || test ! -s conftest.err'
69540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69541   (eval $ac_try) 2>&5
69542   ac_status=$?
69543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69544   (exit $ac_status); }; } &&
69545          { ac_try='test -s conftest$ac_exeext'
69546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69547   (eval $ac_try) 2>&5
69548   ac_status=$?
69549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69550   (exit $ac_status); }; }; then
69551   eval "$as_ac_var=yes"
69552 else
69553   echo "$as_me: failed program was:" >&5
69554 sed 's/^/| /' conftest.$ac_ext >&5
69555
69556 eval "$as_ac_var=no"
69557 fi
69558 rm -f conftest.err conftest.$ac_objext \
69559       conftest$ac_exeext conftest.$ac_ext
69560 fi
69561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69563 if test `eval echo '${'$as_ac_var'}'` = yes; then
69564   cat >>confdefs.h <<_ACEOF
69565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69566 _ACEOF
69567
69568 fi
69569 done
69570
69571     fi
69572   fi
69573
69574
69575
69576
69577
69578
69579   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
69580 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
69581   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69582     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
69583   echo $ECHO_N "(cached) $ECHO_C" >&6
69584 else
69585
69586
69587
69588       ac_ext=cc
69589 ac_cpp='$CXXCPP $CPPFLAGS'
69590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69593
69594       cat >conftest.$ac_ext <<_ACEOF
69595 /* confdefs.h.  */
69596 _ACEOF
69597 cat confdefs.h >>conftest.$ac_ext
69598 cat >>conftest.$ac_ext <<_ACEOF
69599 /* end confdefs.h.  */
69600 #include <math.h>
69601 int
69602 main ()
69603 {
69604  hypotf(0, 0);
69605   ;
69606   return 0;
69607 }
69608 _ACEOF
69609 rm -f conftest.$ac_objext
69610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69611   (eval $ac_compile) 2>conftest.er1
69612   ac_status=$?
69613   grep -v '^ *+' conftest.er1 >conftest.err
69614   rm -f conftest.er1
69615   cat conftest.err >&5
69616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69617   (exit $ac_status); } &&
69618          { ac_try='test -z "$ac_cxx_werror_flag"
69619                          || test ! -s conftest.err'
69620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69621   (eval $ac_try) 2>&5
69622   ac_status=$?
69623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69624   (exit $ac_status); }; } &&
69625          { ac_try='test -s conftest.$ac_objext'
69626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69627   (eval $ac_try) 2>&5
69628   ac_status=$?
69629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69630   (exit $ac_status); }; }; then
69631   glibcxx_cv_func_hypotf_use=yes
69632 else
69633   echo "$as_me: failed program was:" >&5
69634 sed 's/^/| /' conftest.$ac_ext >&5
69635
69636 glibcxx_cv_func_hypotf_use=no
69637 fi
69638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69639       ac_ext=c
69640 ac_cpp='$CPP $CPPFLAGS'
69641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69644
69645
69646 fi
69647
69648   fi
69649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
69650 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
69651
69652   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69653
69654 for ac_func in hypotf
69655 do
69656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69657 echo "$as_me:$LINENO: checking for $ac_func" >&5
69658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69659 if eval "test \"\${$as_ac_var+set}\" = set"; then
69660   echo $ECHO_N "(cached) $ECHO_C" >&6
69661 else
69662   if test x$gcc_no_link = xyes; then
69663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69665    { (exit 1); exit 1; }; }
69666 fi
69667 cat >conftest.$ac_ext <<_ACEOF
69668 /* confdefs.h.  */
69669 _ACEOF
69670 cat confdefs.h >>conftest.$ac_ext
69671 cat >>conftest.$ac_ext <<_ACEOF
69672 /* end confdefs.h.  */
69673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69675 #define $ac_func innocuous_$ac_func
69676
69677 /* System header to define __stub macros and hopefully few prototypes,
69678     which can conflict with char $ac_func (); below.
69679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69680     <limits.h> exists even on freestanding compilers.  */
69681
69682 #ifdef __STDC__
69683 # include <limits.h>
69684 #else
69685 # include <assert.h>
69686 #endif
69687
69688 #undef $ac_func
69689
69690 /* Override any gcc2 internal prototype to avoid an error.  */
69691 #ifdef __cplusplus
69692 extern "C"
69693 {
69694 #endif
69695 /* We use char because int might match the return type of a gcc2
69696    builtin and then its argument prototype would still apply.  */
69697 char $ac_func ();
69698 /* The GNU C library defines this for functions which it implements
69699     to always fail with ENOSYS.  Some functions are actually named
69700     something starting with __ and the normal name is an alias.  */
69701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69702 choke me
69703 #else
69704 char (*f) () = $ac_func;
69705 #endif
69706 #ifdef __cplusplus
69707 }
69708 #endif
69709
69710 int
69711 main ()
69712 {
69713 return f != $ac_func;
69714   ;
69715   return 0;
69716 }
69717 _ACEOF
69718 rm -f conftest.$ac_objext conftest$ac_exeext
69719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69720   (eval $ac_link) 2>conftest.er1
69721   ac_status=$?
69722   grep -v '^ *+' conftest.er1 >conftest.err
69723   rm -f conftest.er1
69724   cat conftest.err >&5
69725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69726   (exit $ac_status); } &&
69727          { ac_try='test -z "$ac_c_werror_flag"
69728                          || test ! -s conftest.err'
69729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69730   (eval $ac_try) 2>&5
69731   ac_status=$?
69732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69733   (exit $ac_status); }; } &&
69734          { ac_try='test -s conftest$ac_exeext'
69735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69736   (eval $ac_try) 2>&5
69737   ac_status=$?
69738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69739   (exit $ac_status); }; }; then
69740   eval "$as_ac_var=yes"
69741 else
69742   echo "$as_me: failed program was:" >&5
69743 sed 's/^/| /' conftest.$ac_ext >&5
69744
69745 eval "$as_ac_var=no"
69746 fi
69747 rm -f conftest.err conftest.$ac_objext \
69748       conftest$ac_exeext conftest.$ac_ext
69749 fi
69750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69752 if test `eval echo '${'$as_ac_var'}'` = yes; then
69753   cat >>confdefs.h <<_ACEOF
69754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69755 _ACEOF
69756
69757 fi
69758 done
69759
69760   else
69761
69762   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
69763 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
69764   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69765     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
69766   echo $ECHO_N "(cached) $ECHO_C" >&6
69767 else
69768
69769
69770
69771       ac_ext=cc
69772 ac_cpp='$CXXCPP $CPPFLAGS'
69773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69776
69777       cat >conftest.$ac_ext <<_ACEOF
69778 /* confdefs.h.  */
69779 _ACEOF
69780 cat confdefs.h >>conftest.$ac_ext
69781 cat >>conftest.$ac_ext <<_ACEOF
69782 /* end confdefs.h.  */
69783 #include <math.h>
69784 int
69785 main ()
69786 {
69787  _hypotf(0, 0);
69788   ;
69789   return 0;
69790 }
69791 _ACEOF
69792 rm -f conftest.$ac_objext
69793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69794   (eval $ac_compile) 2>conftest.er1
69795   ac_status=$?
69796   grep -v '^ *+' conftest.er1 >conftest.err
69797   rm -f conftest.er1
69798   cat conftest.err >&5
69799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69800   (exit $ac_status); } &&
69801          { ac_try='test -z "$ac_cxx_werror_flag"
69802                          || test ! -s conftest.err'
69803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69804   (eval $ac_try) 2>&5
69805   ac_status=$?
69806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69807   (exit $ac_status); }; } &&
69808          { ac_try='test -s conftest.$ac_objext'
69809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69810   (eval $ac_try) 2>&5
69811   ac_status=$?
69812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69813   (exit $ac_status); }; }; then
69814   glibcxx_cv_func__hypotf_use=yes
69815 else
69816   echo "$as_me: failed program was:" >&5
69817 sed 's/^/| /' conftest.$ac_ext >&5
69818
69819 glibcxx_cv_func__hypotf_use=no
69820 fi
69821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69822       ac_ext=c
69823 ac_cpp='$CPP $CPPFLAGS'
69824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69827
69828
69829 fi
69830
69831   fi
69832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
69833 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
69834
69835     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69836
69837 for ac_func in _hypotf
69838 do
69839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69840 echo "$as_me:$LINENO: checking for $ac_func" >&5
69841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69842 if eval "test \"\${$as_ac_var+set}\" = set"; then
69843   echo $ECHO_N "(cached) $ECHO_C" >&6
69844 else
69845   if test x$gcc_no_link = xyes; then
69846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69848    { (exit 1); exit 1; }; }
69849 fi
69850 cat >conftest.$ac_ext <<_ACEOF
69851 /* confdefs.h.  */
69852 _ACEOF
69853 cat confdefs.h >>conftest.$ac_ext
69854 cat >>conftest.$ac_ext <<_ACEOF
69855 /* end confdefs.h.  */
69856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69858 #define $ac_func innocuous_$ac_func
69859
69860 /* System header to define __stub macros and hopefully few prototypes,
69861     which can conflict with char $ac_func (); below.
69862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69863     <limits.h> exists even on freestanding compilers.  */
69864
69865 #ifdef __STDC__
69866 # include <limits.h>
69867 #else
69868 # include <assert.h>
69869 #endif
69870
69871 #undef $ac_func
69872
69873 /* Override any gcc2 internal prototype to avoid an error.  */
69874 #ifdef __cplusplus
69875 extern "C"
69876 {
69877 #endif
69878 /* We use char because int might match the return type of a gcc2
69879    builtin and then its argument prototype would still apply.  */
69880 char $ac_func ();
69881 /* The GNU C library defines this for functions which it implements
69882     to always fail with ENOSYS.  Some functions are actually named
69883     something starting with __ and the normal name is an alias.  */
69884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69885 choke me
69886 #else
69887 char (*f) () = $ac_func;
69888 #endif
69889 #ifdef __cplusplus
69890 }
69891 #endif
69892
69893 int
69894 main ()
69895 {
69896 return f != $ac_func;
69897   ;
69898   return 0;
69899 }
69900 _ACEOF
69901 rm -f conftest.$ac_objext conftest$ac_exeext
69902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69903   (eval $ac_link) 2>conftest.er1
69904   ac_status=$?
69905   grep -v '^ *+' conftest.er1 >conftest.err
69906   rm -f conftest.er1
69907   cat conftest.err >&5
69908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69909   (exit $ac_status); } &&
69910          { ac_try='test -z "$ac_c_werror_flag"
69911                          || test ! -s conftest.err'
69912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69913   (eval $ac_try) 2>&5
69914   ac_status=$?
69915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69916   (exit $ac_status); }; } &&
69917          { ac_try='test -s conftest$ac_exeext'
69918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69919   (eval $ac_try) 2>&5
69920   ac_status=$?
69921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69922   (exit $ac_status); }; }; then
69923   eval "$as_ac_var=yes"
69924 else
69925   echo "$as_me: failed program was:" >&5
69926 sed 's/^/| /' conftest.$ac_ext >&5
69927
69928 eval "$as_ac_var=no"
69929 fi
69930 rm -f conftest.err conftest.$ac_objext \
69931       conftest$ac_exeext conftest.$ac_ext
69932 fi
69933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69935 if test `eval echo '${'$as_ac_var'}'` = yes; then
69936   cat >>confdefs.h <<_ACEOF
69937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69938 _ACEOF
69939
69940 fi
69941 done
69942
69943     fi
69944   fi
69945
69946
69947
69948
69949
69950
69951   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
69952 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
69953   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69954     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
69955   echo $ECHO_N "(cached) $ECHO_C" >&6
69956 else
69957
69958
69959
69960       ac_ext=cc
69961 ac_cpp='$CXXCPP $CPPFLAGS'
69962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69965
69966       cat >conftest.$ac_ext <<_ACEOF
69967 /* confdefs.h.  */
69968 _ACEOF
69969 cat confdefs.h >>conftest.$ac_ext
69970 cat >>conftest.$ac_ext <<_ACEOF
69971 /* end confdefs.h.  */
69972 #include <math.h>
69973 int
69974 main ()
69975 {
69976  ldexpf(0, 0);
69977   ;
69978   return 0;
69979 }
69980 _ACEOF
69981 rm -f conftest.$ac_objext
69982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69983   (eval $ac_compile) 2>conftest.er1
69984   ac_status=$?
69985   grep -v '^ *+' conftest.er1 >conftest.err
69986   rm -f conftest.er1
69987   cat conftest.err >&5
69988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69989   (exit $ac_status); } &&
69990          { ac_try='test -z "$ac_cxx_werror_flag"
69991                          || test ! -s conftest.err'
69992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69993   (eval $ac_try) 2>&5
69994   ac_status=$?
69995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69996   (exit $ac_status); }; } &&
69997          { ac_try='test -s conftest.$ac_objext'
69998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69999   (eval $ac_try) 2>&5
70000   ac_status=$?
70001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70002   (exit $ac_status); }; }; then
70003   glibcxx_cv_func_ldexpf_use=yes
70004 else
70005   echo "$as_me: failed program was:" >&5
70006 sed 's/^/| /' conftest.$ac_ext >&5
70007
70008 glibcxx_cv_func_ldexpf_use=no
70009 fi
70010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70011       ac_ext=c
70012 ac_cpp='$CPP $CPPFLAGS'
70013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70016
70017
70018 fi
70019
70020   fi
70021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70022 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70023
70024   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70025
70026 for ac_func in ldexpf
70027 do
70028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70029 echo "$as_me:$LINENO: checking for $ac_func" >&5
70030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70031 if eval "test \"\${$as_ac_var+set}\" = set"; then
70032   echo $ECHO_N "(cached) $ECHO_C" >&6
70033 else
70034   if test x$gcc_no_link = xyes; then
70035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70037    { (exit 1); exit 1; }; }
70038 fi
70039 cat >conftest.$ac_ext <<_ACEOF
70040 /* confdefs.h.  */
70041 _ACEOF
70042 cat confdefs.h >>conftest.$ac_ext
70043 cat >>conftest.$ac_ext <<_ACEOF
70044 /* end confdefs.h.  */
70045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70047 #define $ac_func innocuous_$ac_func
70048
70049 /* System header to define __stub macros and hopefully few prototypes,
70050     which can conflict with char $ac_func (); below.
70051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70052     <limits.h> exists even on freestanding compilers.  */
70053
70054 #ifdef __STDC__
70055 # include <limits.h>
70056 #else
70057 # include <assert.h>
70058 #endif
70059
70060 #undef $ac_func
70061
70062 /* Override any gcc2 internal prototype to avoid an error.  */
70063 #ifdef __cplusplus
70064 extern "C"
70065 {
70066 #endif
70067 /* We use char because int might match the return type of a gcc2
70068    builtin and then its argument prototype would still apply.  */
70069 char $ac_func ();
70070 /* The GNU C library defines this for functions which it implements
70071     to always fail with ENOSYS.  Some functions are actually named
70072     something starting with __ and the normal name is an alias.  */
70073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70074 choke me
70075 #else
70076 char (*f) () = $ac_func;
70077 #endif
70078 #ifdef __cplusplus
70079 }
70080 #endif
70081
70082 int
70083 main ()
70084 {
70085 return f != $ac_func;
70086   ;
70087   return 0;
70088 }
70089 _ACEOF
70090 rm -f conftest.$ac_objext conftest$ac_exeext
70091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70092   (eval $ac_link) 2>conftest.er1
70093   ac_status=$?
70094   grep -v '^ *+' conftest.er1 >conftest.err
70095   rm -f conftest.er1
70096   cat conftest.err >&5
70097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70098   (exit $ac_status); } &&
70099          { ac_try='test -z "$ac_c_werror_flag"
70100                          || test ! -s conftest.err'
70101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70102   (eval $ac_try) 2>&5
70103   ac_status=$?
70104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70105   (exit $ac_status); }; } &&
70106          { ac_try='test -s conftest$ac_exeext'
70107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70108   (eval $ac_try) 2>&5
70109   ac_status=$?
70110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70111   (exit $ac_status); }; }; then
70112   eval "$as_ac_var=yes"
70113 else
70114   echo "$as_me: failed program was:" >&5
70115 sed 's/^/| /' conftest.$ac_ext >&5
70116
70117 eval "$as_ac_var=no"
70118 fi
70119 rm -f conftest.err conftest.$ac_objext \
70120       conftest$ac_exeext conftest.$ac_ext
70121 fi
70122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70124 if test `eval echo '${'$as_ac_var'}'` = yes; then
70125   cat >>confdefs.h <<_ACEOF
70126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70127 _ACEOF
70128
70129 fi
70130 done
70131
70132   else
70133
70134   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70135 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70136   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70137     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70138   echo $ECHO_N "(cached) $ECHO_C" >&6
70139 else
70140
70141
70142
70143       ac_ext=cc
70144 ac_cpp='$CXXCPP $CPPFLAGS'
70145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70148
70149       cat >conftest.$ac_ext <<_ACEOF
70150 /* confdefs.h.  */
70151 _ACEOF
70152 cat confdefs.h >>conftest.$ac_ext
70153 cat >>conftest.$ac_ext <<_ACEOF
70154 /* end confdefs.h.  */
70155 #include <math.h>
70156 int
70157 main ()
70158 {
70159  _ldexpf(0, 0);
70160   ;
70161   return 0;
70162 }
70163 _ACEOF
70164 rm -f conftest.$ac_objext
70165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70166   (eval $ac_compile) 2>conftest.er1
70167   ac_status=$?
70168   grep -v '^ *+' conftest.er1 >conftest.err
70169   rm -f conftest.er1
70170   cat conftest.err >&5
70171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70172   (exit $ac_status); } &&
70173          { ac_try='test -z "$ac_cxx_werror_flag"
70174                          || test ! -s conftest.err'
70175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70176   (eval $ac_try) 2>&5
70177   ac_status=$?
70178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70179   (exit $ac_status); }; } &&
70180          { ac_try='test -s conftest.$ac_objext'
70181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70182   (eval $ac_try) 2>&5
70183   ac_status=$?
70184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70185   (exit $ac_status); }; }; then
70186   glibcxx_cv_func__ldexpf_use=yes
70187 else
70188   echo "$as_me: failed program was:" >&5
70189 sed 's/^/| /' conftest.$ac_ext >&5
70190
70191 glibcxx_cv_func__ldexpf_use=no
70192 fi
70193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70194       ac_ext=c
70195 ac_cpp='$CPP $CPPFLAGS'
70196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70199
70200
70201 fi
70202
70203   fi
70204   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70205 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70206
70207     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70208
70209 for ac_func in _ldexpf
70210 do
70211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70212 echo "$as_me:$LINENO: checking for $ac_func" >&5
70213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70214 if eval "test \"\${$as_ac_var+set}\" = set"; then
70215   echo $ECHO_N "(cached) $ECHO_C" >&6
70216 else
70217   if test x$gcc_no_link = xyes; then
70218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70220    { (exit 1); exit 1; }; }
70221 fi
70222 cat >conftest.$ac_ext <<_ACEOF
70223 /* confdefs.h.  */
70224 _ACEOF
70225 cat confdefs.h >>conftest.$ac_ext
70226 cat >>conftest.$ac_ext <<_ACEOF
70227 /* end confdefs.h.  */
70228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70230 #define $ac_func innocuous_$ac_func
70231
70232 /* System header to define __stub macros and hopefully few prototypes,
70233     which can conflict with char $ac_func (); below.
70234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70235     <limits.h> exists even on freestanding compilers.  */
70236
70237 #ifdef __STDC__
70238 # include <limits.h>
70239 #else
70240 # include <assert.h>
70241 #endif
70242
70243 #undef $ac_func
70244
70245 /* Override any gcc2 internal prototype to avoid an error.  */
70246 #ifdef __cplusplus
70247 extern "C"
70248 {
70249 #endif
70250 /* We use char because int might match the return type of a gcc2
70251    builtin and then its argument prototype would still apply.  */
70252 char $ac_func ();
70253 /* The GNU C library defines this for functions which it implements
70254     to always fail with ENOSYS.  Some functions are actually named
70255     something starting with __ and the normal name is an alias.  */
70256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70257 choke me
70258 #else
70259 char (*f) () = $ac_func;
70260 #endif
70261 #ifdef __cplusplus
70262 }
70263 #endif
70264
70265 int
70266 main ()
70267 {
70268 return f != $ac_func;
70269   ;
70270   return 0;
70271 }
70272 _ACEOF
70273 rm -f conftest.$ac_objext conftest$ac_exeext
70274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70275   (eval $ac_link) 2>conftest.er1
70276   ac_status=$?
70277   grep -v '^ *+' conftest.er1 >conftest.err
70278   rm -f conftest.er1
70279   cat conftest.err >&5
70280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70281   (exit $ac_status); } &&
70282          { ac_try='test -z "$ac_c_werror_flag"
70283                          || test ! -s conftest.err'
70284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70285   (eval $ac_try) 2>&5
70286   ac_status=$?
70287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70288   (exit $ac_status); }; } &&
70289          { ac_try='test -s conftest$ac_exeext'
70290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70291   (eval $ac_try) 2>&5
70292   ac_status=$?
70293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70294   (exit $ac_status); }; }; then
70295   eval "$as_ac_var=yes"
70296 else
70297   echo "$as_me: failed program was:" >&5
70298 sed 's/^/| /' conftest.$ac_ext >&5
70299
70300 eval "$as_ac_var=no"
70301 fi
70302 rm -f conftest.err conftest.$ac_objext \
70303       conftest$ac_exeext conftest.$ac_ext
70304 fi
70305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70307 if test `eval echo '${'$as_ac_var'}'` = yes; then
70308   cat >>confdefs.h <<_ACEOF
70309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70310 _ACEOF
70311
70312 fi
70313 done
70314
70315     fi
70316   fi
70317
70318
70319
70320
70321
70322
70323   echo "$as_me:$LINENO: checking for logf declaration" >&5
70324 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
70325   if test x${glibcxx_cv_func_logf_use+set} != xset; then
70326     if test "${glibcxx_cv_func_logf_use+set}" = set; then
70327   echo $ECHO_N "(cached) $ECHO_C" >&6
70328 else
70329
70330
70331
70332       ac_ext=cc
70333 ac_cpp='$CXXCPP $CPPFLAGS'
70334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70337
70338       cat >conftest.$ac_ext <<_ACEOF
70339 /* confdefs.h.  */
70340 _ACEOF
70341 cat confdefs.h >>conftest.$ac_ext
70342 cat >>conftest.$ac_ext <<_ACEOF
70343 /* end confdefs.h.  */
70344 #include <math.h>
70345                       #ifdef HAVE_IEEEFP_H
70346                       #include <ieeefp.h>
70347                       #endif
70348
70349 int
70350 main ()
70351 {
70352  logf(0);
70353   ;
70354   return 0;
70355 }
70356 _ACEOF
70357 rm -f conftest.$ac_objext
70358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70359   (eval $ac_compile) 2>conftest.er1
70360   ac_status=$?
70361   grep -v '^ *+' conftest.er1 >conftest.err
70362   rm -f conftest.er1
70363   cat conftest.err >&5
70364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70365   (exit $ac_status); } &&
70366          { ac_try='test -z "$ac_cxx_werror_flag"
70367                          || test ! -s conftest.err'
70368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70369   (eval $ac_try) 2>&5
70370   ac_status=$?
70371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70372   (exit $ac_status); }; } &&
70373          { ac_try='test -s conftest.$ac_objext'
70374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70375   (eval $ac_try) 2>&5
70376   ac_status=$?
70377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70378   (exit $ac_status); }; }; then
70379   glibcxx_cv_func_logf_use=yes
70380 else
70381   echo "$as_me: failed program was:" >&5
70382 sed 's/^/| /' conftest.$ac_ext >&5
70383
70384 glibcxx_cv_func_logf_use=no
70385 fi
70386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70387       ac_ext=c
70388 ac_cpp='$CPP $CPPFLAGS'
70389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70392
70393
70394 fi
70395
70396   fi
70397   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
70398 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
70399
70400   if test x$glibcxx_cv_func_logf_use = x"yes"; then
70401
70402 for ac_func in logf
70403 do
70404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70405 echo "$as_me:$LINENO: checking for $ac_func" >&5
70406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70407 if eval "test \"\${$as_ac_var+set}\" = set"; then
70408   echo $ECHO_N "(cached) $ECHO_C" >&6
70409 else
70410   if test x$gcc_no_link = xyes; then
70411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70413    { (exit 1); exit 1; }; }
70414 fi
70415 cat >conftest.$ac_ext <<_ACEOF
70416 /* confdefs.h.  */
70417 _ACEOF
70418 cat confdefs.h >>conftest.$ac_ext
70419 cat >>conftest.$ac_ext <<_ACEOF
70420 /* end confdefs.h.  */
70421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70423 #define $ac_func innocuous_$ac_func
70424
70425 /* System header to define __stub macros and hopefully few prototypes,
70426     which can conflict with char $ac_func (); below.
70427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70428     <limits.h> exists even on freestanding compilers.  */
70429
70430 #ifdef __STDC__
70431 # include <limits.h>
70432 #else
70433 # include <assert.h>
70434 #endif
70435
70436 #undef $ac_func
70437
70438 /* Override any gcc2 internal prototype to avoid an error.  */
70439 #ifdef __cplusplus
70440 extern "C"
70441 {
70442 #endif
70443 /* We use char because int might match the return type of a gcc2
70444    builtin and then its argument prototype would still apply.  */
70445 char $ac_func ();
70446 /* The GNU C library defines this for functions which it implements
70447     to always fail with ENOSYS.  Some functions are actually named
70448     something starting with __ and the normal name is an alias.  */
70449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70450 choke me
70451 #else
70452 char (*f) () = $ac_func;
70453 #endif
70454 #ifdef __cplusplus
70455 }
70456 #endif
70457
70458 int
70459 main ()
70460 {
70461 return f != $ac_func;
70462   ;
70463   return 0;
70464 }
70465 _ACEOF
70466 rm -f conftest.$ac_objext conftest$ac_exeext
70467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70468   (eval $ac_link) 2>conftest.er1
70469   ac_status=$?
70470   grep -v '^ *+' conftest.er1 >conftest.err
70471   rm -f conftest.er1
70472   cat conftest.err >&5
70473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70474   (exit $ac_status); } &&
70475          { ac_try='test -z "$ac_c_werror_flag"
70476                          || test ! -s conftest.err'
70477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70478   (eval $ac_try) 2>&5
70479   ac_status=$?
70480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481   (exit $ac_status); }; } &&
70482          { ac_try='test -s conftest$ac_exeext'
70483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70484   (eval $ac_try) 2>&5
70485   ac_status=$?
70486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70487   (exit $ac_status); }; }; then
70488   eval "$as_ac_var=yes"
70489 else
70490   echo "$as_me: failed program was:" >&5
70491 sed 's/^/| /' conftest.$ac_ext >&5
70492
70493 eval "$as_ac_var=no"
70494 fi
70495 rm -f conftest.err conftest.$ac_objext \
70496       conftest$ac_exeext conftest.$ac_ext
70497 fi
70498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70500 if test `eval echo '${'$as_ac_var'}'` = yes; then
70501   cat >>confdefs.h <<_ACEOF
70502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70503 _ACEOF
70504
70505 fi
70506 done
70507
70508   else
70509
70510   echo "$as_me:$LINENO: checking for _logf declaration" >&5
70511 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
70512   if test x${glibcxx_cv_func__logf_use+set} != xset; then
70513     if test "${glibcxx_cv_func__logf_use+set}" = set; then
70514   echo $ECHO_N "(cached) $ECHO_C" >&6
70515 else
70516
70517
70518
70519       ac_ext=cc
70520 ac_cpp='$CXXCPP $CPPFLAGS'
70521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70524
70525       cat >conftest.$ac_ext <<_ACEOF
70526 /* confdefs.h.  */
70527 _ACEOF
70528 cat confdefs.h >>conftest.$ac_ext
70529 cat >>conftest.$ac_ext <<_ACEOF
70530 /* end confdefs.h.  */
70531 #include <math.h>
70532                       #ifdef HAVE_IEEEFP_H
70533                       #include <ieeefp.h>
70534                       #endif
70535
70536 int
70537 main ()
70538 {
70539  _logf(0);
70540   ;
70541   return 0;
70542 }
70543 _ACEOF
70544 rm -f conftest.$ac_objext
70545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70546   (eval $ac_compile) 2>conftest.er1
70547   ac_status=$?
70548   grep -v '^ *+' conftest.er1 >conftest.err
70549   rm -f conftest.er1
70550   cat conftest.err >&5
70551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70552   (exit $ac_status); } &&
70553          { ac_try='test -z "$ac_cxx_werror_flag"
70554                          || test ! -s conftest.err'
70555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70556   (eval $ac_try) 2>&5
70557   ac_status=$?
70558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70559   (exit $ac_status); }; } &&
70560          { ac_try='test -s conftest.$ac_objext'
70561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70562   (eval $ac_try) 2>&5
70563   ac_status=$?
70564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70565   (exit $ac_status); }; }; then
70566   glibcxx_cv_func__logf_use=yes
70567 else
70568   echo "$as_me: failed program was:" >&5
70569 sed 's/^/| /' conftest.$ac_ext >&5
70570
70571 glibcxx_cv_func__logf_use=no
70572 fi
70573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70574       ac_ext=c
70575 ac_cpp='$CPP $CPPFLAGS'
70576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70579
70580
70581 fi
70582
70583   fi
70584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
70585 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
70586
70587     if test x$glibcxx_cv_func__logf_use = x"yes"; then
70588
70589 for ac_func in _logf
70590 do
70591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70592 echo "$as_me:$LINENO: checking for $ac_func" >&5
70593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70594 if eval "test \"\${$as_ac_var+set}\" = set"; then
70595   echo $ECHO_N "(cached) $ECHO_C" >&6
70596 else
70597   if test x$gcc_no_link = xyes; then
70598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70600    { (exit 1); exit 1; }; }
70601 fi
70602 cat >conftest.$ac_ext <<_ACEOF
70603 /* confdefs.h.  */
70604 _ACEOF
70605 cat confdefs.h >>conftest.$ac_ext
70606 cat >>conftest.$ac_ext <<_ACEOF
70607 /* end confdefs.h.  */
70608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70610 #define $ac_func innocuous_$ac_func
70611
70612 /* System header to define __stub macros and hopefully few prototypes,
70613     which can conflict with char $ac_func (); below.
70614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70615     <limits.h> exists even on freestanding compilers.  */
70616
70617 #ifdef __STDC__
70618 # include <limits.h>
70619 #else
70620 # include <assert.h>
70621 #endif
70622
70623 #undef $ac_func
70624
70625 /* Override any gcc2 internal prototype to avoid an error.  */
70626 #ifdef __cplusplus
70627 extern "C"
70628 {
70629 #endif
70630 /* We use char because int might match the return type of a gcc2
70631    builtin and then its argument prototype would still apply.  */
70632 char $ac_func ();
70633 /* The GNU C library defines this for functions which it implements
70634     to always fail with ENOSYS.  Some functions are actually named
70635     something starting with __ and the normal name is an alias.  */
70636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70637 choke me
70638 #else
70639 char (*f) () = $ac_func;
70640 #endif
70641 #ifdef __cplusplus
70642 }
70643 #endif
70644
70645 int
70646 main ()
70647 {
70648 return f != $ac_func;
70649   ;
70650   return 0;
70651 }
70652 _ACEOF
70653 rm -f conftest.$ac_objext conftest$ac_exeext
70654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70655   (eval $ac_link) 2>conftest.er1
70656   ac_status=$?
70657   grep -v '^ *+' conftest.er1 >conftest.err
70658   rm -f conftest.er1
70659   cat conftest.err >&5
70660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70661   (exit $ac_status); } &&
70662          { ac_try='test -z "$ac_c_werror_flag"
70663                          || test ! -s conftest.err'
70664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70665   (eval $ac_try) 2>&5
70666   ac_status=$?
70667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70668   (exit $ac_status); }; } &&
70669          { ac_try='test -s conftest$ac_exeext'
70670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70671   (eval $ac_try) 2>&5
70672   ac_status=$?
70673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70674   (exit $ac_status); }; }; then
70675   eval "$as_ac_var=yes"
70676 else
70677   echo "$as_me: failed program was:" >&5
70678 sed 's/^/| /' conftest.$ac_ext >&5
70679
70680 eval "$as_ac_var=no"
70681 fi
70682 rm -f conftest.err conftest.$ac_objext \
70683       conftest$ac_exeext conftest.$ac_ext
70684 fi
70685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70687 if test `eval echo '${'$as_ac_var'}'` = yes; then
70688   cat >>confdefs.h <<_ACEOF
70689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70690 _ACEOF
70691
70692 fi
70693 done
70694
70695     fi
70696   fi
70697
70698
70699
70700
70701
70702
70703   echo "$as_me:$LINENO: checking for log10f declaration" >&5
70704 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
70705   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
70706     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
70707   echo $ECHO_N "(cached) $ECHO_C" >&6
70708 else
70709
70710
70711
70712       ac_ext=cc
70713 ac_cpp='$CXXCPP $CPPFLAGS'
70714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70717
70718       cat >conftest.$ac_ext <<_ACEOF
70719 /* confdefs.h.  */
70720 _ACEOF
70721 cat confdefs.h >>conftest.$ac_ext
70722 cat >>conftest.$ac_ext <<_ACEOF
70723 /* end confdefs.h.  */
70724 #include <math.h>
70725                       #ifdef HAVE_IEEEFP_H
70726                       #include <ieeefp.h>
70727                       #endif
70728
70729 int
70730 main ()
70731 {
70732  log10f(0);
70733   ;
70734   return 0;
70735 }
70736 _ACEOF
70737 rm -f conftest.$ac_objext
70738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70739   (eval $ac_compile) 2>conftest.er1
70740   ac_status=$?
70741   grep -v '^ *+' conftest.er1 >conftest.err
70742   rm -f conftest.er1
70743   cat conftest.err >&5
70744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70745   (exit $ac_status); } &&
70746          { ac_try='test -z "$ac_cxx_werror_flag"
70747                          || test ! -s conftest.err'
70748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70749   (eval $ac_try) 2>&5
70750   ac_status=$?
70751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70752   (exit $ac_status); }; } &&
70753          { ac_try='test -s conftest.$ac_objext'
70754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70755   (eval $ac_try) 2>&5
70756   ac_status=$?
70757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70758   (exit $ac_status); }; }; then
70759   glibcxx_cv_func_log10f_use=yes
70760 else
70761   echo "$as_me: failed program was:" >&5
70762 sed 's/^/| /' conftest.$ac_ext >&5
70763
70764 glibcxx_cv_func_log10f_use=no
70765 fi
70766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70767       ac_ext=c
70768 ac_cpp='$CPP $CPPFLAGS'
70769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70772
70773
70774 fi
70775
70776   fi
70777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
70778 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
70779
70780   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
70781
70782 for ac_func in log10f
70783 do
70784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70785 echo "$as_me:$LINENO: checking for $ac_func" >&5
70786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70787 if eval "test \"\${$as_ac_var+set}\" = set"; then
70788   echo $ECHO_N "(cached) $ECHO_C" >&6
70789 else
70790   if test x$gcc_no_link = xyes; then
70791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70793    { (exit 1); exit 1; }; }
70794 fi
70795 cat >conftest.$ac_ext <<_ACEOF
70796 /* confdefs.h.  */
70797 _ACEOF
70798 cat confdefs.h >>conftest.$ac_ext
70799 cat >>conftest.$ac_ext <<_ACEOF
70800 /* end confdefs.h.  */
70801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70803 #define $ac_func innocuous_$ac_func
70804
70805 /* System header to define __stub macros and hopefully few prototypes,
70806     which can conflict with char $ac_func (); below.
70807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70808     <limits.h> exists even on freestanding compilers.  */
70809
70810 #ifdef __STDC__
70811 # include <limits.h>
70812 #else
70813 # include <assert.h>
70814 #endif
70815
70816 #undef $ac_func
70817
70818 /* Override any gcc2 internal prototype to avoid an error.  */
70819 #ifdef __cplusplus
70820 extern "C"
70821 {
70822 #endif
70823 /* We use char because int might match the return type of a gcc2
70824    builtin and then its argument prototype would still apply.  */
70825 char $ac_func ();
70826 /* The GNU C library defines this for functions which it implements
70827     to always fail with ENOSYS.  Some functions are actually named
70828     something starting with __ and the normal name is an alias.  */
70829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70830 choke me
70831 #else
70832 char (*f) () = $ac_func;
70833 #endif
70834 #ifdef __cplusplus
70835 }
70836 #endif
70837
70838 int
70839 main ()
70840 {
70841 return f != $ac_func;
70842   ;
70843   return 0;
70844 }
70845 _ACEOF
70846 rm -f conftest.$ac_objext conftest$ac_exeext
70847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70848   (eval $ac_link) 2>conftest.er1
70849   ac_status=$?
70850   grep -v '^ *+' conftest.er1 >conftest.err
70851   rm -f conftest.er1
70852   cat conftest.err >&5
70853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70854   (exit $ac_status); } &&
70855          { ac_try='test -z "$ac_c_werror_flag"
70856                          || test ! -s conftest.err'
70857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70858   (eval $ac_try) 2>&5
70859   ac_status=$?
70860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70861   (exit $ac_status); }; } &&
70862          { ac_try='test -s conftest$ac_exeext'
70863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70864   (eval $ac_try) 2>&5
70865   ac_status=$?
70866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867   (exit $ac_status); }; }; then
70868   eval "$as_ac_var=yes"
70869 else
70870   echo "$as_me: failed program was:" >&5
70871 sed 's/^/| /' conftest.$ac_ext >&5
70872
70873 eval "$as_ac_var=no"
70874 fi
70875 rm -f conftest.err conftest.$ac_objext \
70876       conftest$ac_exeext conftest.$ac_ext
70877 fi
70878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70880 if test `eval echo '${'$as_ac_var'}'` = yes; then
70881   cat >>confdefs.h <<_ACEOF
70882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70883 _ACEOF
70884
70885 fi
70886 done
70887
70888   else
70889
70890   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
70891 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
70892   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
70893     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
70894   echo $ECHO_N "(cached) $ECHO_C" >&6
70895 else
70896
70897
70898
70899       ac_ext=cc
70900 ac_cpp='$CXXCPP $CPPFLAGS'
70901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70904
70905       cat >conftest.$ac_ext <<_ACEOF
70906 /* confdefs.h.  */
70907 _ACEOF
70908 cat confdefs.h >>conftest.$ac_ext
70909 cat >>conftest.$ac_ext <<_ACEOF
70910 /* end confdefs.h.  */
70911 #include <math.h>
70912                       #ifdef HAVE_IEEEFP_H
70913                       #include <ieeefp.h>
70914                       #endif
70915
70916 int
70917 main ()
70918 {
70919  _log10f(0);
70920   ;
70921   return 0;
70922 }
70923 _ACEOF
70924 rm -f conftest.$ac_objext
70925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70926   (eval $ac_compile) 2>conftest.er1
70927   ac_status=$?
70928   grep -v '^ *+' conftest.er1 >conftest.err
70929   rm -f conftest.er1
70930   cat conftest.err >&5
70931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70932   (exit $ac_status); } &&
70933          { ac_try='test -z "$ac_cxx_werror_flag"
70934                          || test ! -s conftest.err'
70935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70936   (eval $ac_try) 2>&5
70937   ac_status=$?
70938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70939   (exit $ac_status); }; } &&
70940          { ac_try='test -s conftest.$ac_objext'
70941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70942   (eval $ac_try) 2>&5
70943   ac_status=$?
70944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70945   (exit $ac_status); }; }; then
70946   glibcxx_cv_func__log10f_use=yes
70947 else
70948   echo "$as_me: failed program was:" >&5
70949 sed 's/^/| /' conftest.$ac_ext >&5
70950
70951 glibcxx_cv_func__log10f_use=no
70952 fi
70953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70954       ac_ext=c
70955 ac_cpp='$CPP $CPPFLAGS'
70956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70959
70960
70961 fi
70962
70963   fi
70964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
70965 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
70966
70967     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
70968
70969 for ac_func in _log10f
70970 do
70971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70972 echo "$as_me:$LINENO: checking for $ac_func" >&5
70973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70974 if eval "test \"\${$as_ac_var+set}\" = set"; then
70975   echo $ECHO_N "(cached) $ECHO_C" >&6
70976 else
70977   if test x$gcc_no_link = xyes; then
70978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70980    { (exit 1); exit 1; }; }
70981 fi
70982 cat >conftest.$ac_ext <<_ACEOF
70983 /* confdefs.h.  */
70984 _ACEOF
70985 cat confdefs.h >>conftest.$ac_ext
70986 cat >>conftest.$ac_ext <<_ACEOF
70987 /* end confdefs.h.  */
70988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70990 #define $ac_func innocuous_$ac_func
70991
70992 /* System header to define __stub macros and hopefully few prototypes,
70993     which can conflict with char $ac_func (); below.
70994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70995     <limits.h> exists even on freestanding compilers.  */
70996
70997 #ifdef __STDC__
70998 # include <limits.h>
70999 #else
71000 # include <assert.h>
71001 #endif
71002
71003 #undef $ac_func
71004
71005 /* Override any gcc2 internal prototype to avoid an error.  */
71006 #ifdef __cplusplus
71007 extern "C"
71008 {
71009 #endif
71010 /* We use char because int might match the return type of a gcc2
71011    builtin and then its argument prototype would still apply.  */
71012 char $ac_func ();
71013 /* The GNU C library defines this for functions which it implements
71014     to always fail with ENOSYS.  Some functions are actually named
71015     something starting with __ and the normal name is an alias.  */
71016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71017 choke me
71018 #else
71019 char (*f) () = $ac_func;
71020 #endif
71021 #ifdef __cplusplus
71022 }
71023 #endif
71024
71025 int
71026 main ()
71027 {
71028 return f != $ac_func;
71029   ;
71030   return 0;
71031 }
71032 _ACEOF
71033 rm -f conftest.$ac_objext conftest$ac_exeext
71034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71035   (eval $ac_link) 2>conftest.er1
71036   ac_status=$?
71037   grep -v '^ *+' conftest.er1 >conftest.err
71038   rm -f conftest.er1
71039   cat conftest.err >&5
71040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71041   (exit $ac_status); } &&
71042          { ac_try='test -z "$ac_c_werror_flag"
71043                          || test ! -s conftest.err'
71044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71045   (eval $ac_try) 2>&5
71046   ac_status=$?
71047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71048   (exit $ac_status); }; } &&
71049          { ac_try='test -s conftest$ac_exeext'
71050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71051   (eval $ac_try) 2>&5
71052   ac_status=$?
71053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71054   (exit $ac_status); }; }; then
71055   eval "$as_ac_var=yes"
71056 else
71057   echo "$as_me: failed program was:" >&5
71058 sed 's/^/| /' conftest.$ac_ext >&5
71059
71060 eval "$as_ac_var=no"
71061 fi
71062 rm -f conftest.err conftest.$ac_objext \
71063       conftest$ac_exeext conftest.$ac_ext
71064 fi
71065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71067 if test `eval echo '${'$as_ac_var'}'` = yes; then
71068   cat >>confdefs.h <<_ACEOF
71069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71070 _ACEOF
71071
71072 fi
71073 done
71074
71075     fi
71076   fi
71077
71078
71079
71080
71081
71082
71083   echo "$as_me:$LINENO: checking for modff declaration" >&5
71084 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71085   if test x${glibcxx_cv_func_modff_use+set} != xset; then
71086     if test "${glibcxx_cv_func_modff_use+set}" = set; then
71087   echo $ECHO_N "(cached) $ECHO_C" >&6
71088 else
71089
71090
71091
71092       ac_ext=cc
71093 ac_cpp='$CXXCPP $CPPFLAGS'
71094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71097
71098       cat >conftest.$ac_ext <<_ACEOF
71099 /* confdefs.h.  */
71100 _ACEOF
71101 cat confdefs.h >>conftest.$ac_ext
71102 cat >>conftest.$ac_ext <<_ACEOF
71103 /* end confdefs.h.  */
71104 #include <math.h>
71105 int
71106 main ()
71107 {
71108  modff(0, 0);
71109   ;
71110   return 0;
71111 }
71112 _ACEOF
71113 rm -f conftest.$ac_objext
71114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71115   (eval $ac_compile) 2>conftest.er1
71116   ac_status=$?
71117   grep -v '^ *+' conftest.er1 >conftest.err
71118   rm -f conftest.er1
71119   cat conftest.err >&5
71120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71121   (exit $ac_status); } &&
71122          { ac_try='test -z "$ac_cxx_werror_flag"
71123                          || test ! -s conftest.err'
71124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71125   (eval $ac_try) 2>&5
71126   ac_status=$?
71127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71128   (exit $ac_status); }; } &&
71129          { ac_try='test -s conftest.$ac_objext'
71130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71131   (eval $ac_try) 2>&5
71132   ac_status=$?
71133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71134   (exit $ac_status); }; }; then
71135   glibcxx_cv_func_modff_use=yes
71136 else
71137   echo "$as_me: failed program was:" >&5
71138 sed 's/^/| /' conftest.$ac_ext >&5
71139
71140 glibcxx_cv_func_modff_use=no
71141 fi
71142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71143       ac_ext=c
71144 ac_cpp='$CPP $CPPFLAGS'
71145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71148
71149
71150 fi
71151
71152   fi
71153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71154 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71155
71156   if test x$glibcxx_cv_func_modff_use = x"yes"; then
71157
71158 for ac_func in modff
71159 do
71160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71161 echo "$as_me:$LINENO: checking for $ac_func" >&5
71162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71163 if eval "test \"\${$as_ac_var+set}\" = set"; then
71164   echo $ECHO_N "(cached) $ECHO_C" >&6
71165 else
71166   if test x$gcc_no_link = xyes; then
71167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71169    { (exit 1); exit 1; }; }
71170 fi
71171 cat >conftest.$ac_ext <<_ACEOF
71172 /* confdefs.h.  */
71173 _ACEOF
71174 cat confdefs.h >>conftest.$ac_ext
71175 cat >>conftest.$ac_ext <<_ACEOF
71176 /* end confdefs.h.  */
71177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71179 #define $ac_func innocuous_$ac_func
71180
71181 /* System header to define __stub macros and hopefully few prototypes,
71182     which can conflict with char $ac_func (); below.
71183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71184     <limits.h> exists even on freestanding compilers.  */
71185
71186 #ifdef __STDC__
71187 # include <limits.h>
71188 #else
71189 # include <assert.h>
71190 #endif
71191
71192 #undef $ac_func
71193
71194 /* Override any gcc2 internal prototype to avoid an error.  */
71195 #ifdef __cplusplus
71196 extern "C"
71197 {
71198 #endif
71199 /* We use char because int might match the return type of a gcc2
71200    builtin and then its argument prototype would still apply.  */
71201 char $ac_func ();
71202 /* The GNU C library defines this for functions which it implements
71203     to always fail with ENOSYS.  Some functions are actually named
71204     something starting with __ and the normal name is an alias.  */
71205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71206 choke me
71207 #else
71208 char (*f) () = $ac_func;
71209 #endif
71210 #ifdef __cplusplus
71211 }
71212 #endif
71213
71214 int
71215 main ()
71216 {
71217 return f != $ac_func;
71218   ;
71219   return 0;
71220 }
71221 _ACEOF
71222 rm -f conftest.$ac_objext conftest$ac_exeext
71223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71224   (eval $ac_link) 2>conftest.er1
71225   ac_status=$?
71226   grep -v '^ *+' conftest.er1 >conftest.err
71227   rm -f conftest.er1
71228   cat conftest.err >&5
71229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71230   (exit $ac_status); } &&
71231          { ac_try='test -z "$ac_c_werror_flag"
71232                          || test ! -s conftest.err'
71233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234   (eval $ac_try) 2>&5
71235   ac_status=$?
71236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237   (exit $ac_status); }; } &&
71238          { ac_try='test -s conftest$ac_exeext'
71239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71240   (eval $ac_try) 2>&5
71241   ac_status=$?
71242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243   (exit $ac_status); }; }; then
71244   eval "$as_ac_var=yes"
71245 else
71246   echo "$as_me: failed program was:" >&5
71247 sed 's/^/| /' conftest.$ac_ext >&5
71248
71249 eval "$as_ac_var=no"
71250 fi
71251 rm -f conftest.err conftest.$ac_objext \
71252       conftest$ac_exeext conftest.$ac_ext
71253 fi
71254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71256 if test `eval echo '${'$as_ac_var'}'` = yes; then
71257   cat >>confdefs.h <<_ACEOF
71258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71259 _ACEOF
71260
71261 fi
71262 done
71263
71264   else
71265
71266   echo "$as_me:$LINENO: checking for _modff declaration" >&5
71267 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
71268   if test x${glibcxx_cv_func__modff_use+set} != xset; then
71269     if test "${glibcxx_cv_func__modff_use+set}" = set; then
71270   echo $ECHO_N "(cached) $ECHO_C" >&6
71271 else
71272
71273
71274
71275       ac_ext=cc
71276 ac_cpp='$CXXCPP $CPPFLAGS'
71277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71280
71281       cat >conftest.$ac_ext <<_ACEOF
71282 /* confdefs.h.  */
71283 _ACEOF
71284 cat confdefs.h >>conftest.$ac_ext
71285 cat >>conftest.$ac_ext <<_ACEOF
71286 /* end confdefs.h.  */
71287 #include <math.h>
71288 int
71289 main ()
71290 {
71291  _modff(0, 0);
71292   ;
71293   return 0;
71294 }
71295 _ACEOF
71296 rm -f conftest.$ac_objext
71297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71298   (eval $ac_compile) 2>conftest.er1
71299   ac_status=$?
71300   grep -v '^ *+' conftest.er1 >conftest.err
71301   rm -f conftest.er1
71302   cat conftest.err >&5
71303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71304   (exit $ac_status); } &&
71305          { ac_try='test -z "$ac_cxx_werror_flag"
71306                          || test ! -s conftest.err'
71307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71308   (eval $ac_try) 2>&5
71309   ac_status=$?
71310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71311   (exit $ac_status); }; } &&
71312          { ac_try='test -s conftest.$ac_objext'
71313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71314   (eval $ac_try) 2>&5
71315   ac_status=$?
71316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71317   (exit $ac_status); }; }; then
71318   glibcxx_cv_func__modff_use=yes
71319 else
71320   echo "$as_me: failed program was:" >&5
71321 sed 's/^/| /' conftest.$ac_ext >&5
71322
71323 glibcxx_cv_func__modff_use=no
71324 fi
71325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71326       ac_ext=c
71327 ac_cpp='$CPP $CPPFLAGS'
71328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71331
71332
71333 fi
71334
71335   fi
71336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
71337 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
71338
71339     if test x$glibcxx_cv_func__modff_use = x"yes"; then
71340
71341 for ac_func in _modff
71342 do
71343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71344 echo "$as_me:$LINENO: checking for $ac_func" >&5
71345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71346 if eval "test \"\${$as_ac_var+set}\" = set"; then
71347   echo $ECHO_N "(cached) $ECHO_C" >&6
71348 else
71349   if test x$gcc_no_link = xyes; then
71350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71352    { (exit 1); exit 1; }; }
71353 fi
71354 cat >conftest.$ac_ext <<_ACEOF
71355 /* confdefs.h.  */
71356 _ACEOF
71357 cat confdefs.h >>conftest.$ac_ext
71358 cat >>conftest.$ac_ext <<_ACEOF
71359 /* end confdefs.h.  */
71360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71362 #define $ac_func innocuous_$ac_func
71363
71364 /* System header to define __stub macros and hopefully few prototypes,
71365     which can conflict with char $ac_func (); below.
71366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71367     <limits.h> exists even on freestanding compilers.  */
71368
71369 #ifdef __STDC__
71370 # include <limits.h>
71371 #else
71372 # include <assert.h>
71373 #endif
71374
71375 #undef $ac_func
71376
71377 /* Override any gcc2 internal prototype to avoid an error.  */
71378 #ifdef __cplusplus
71379 extern "C"
71380 {
71381 #endif
71382 /* We use char because int might match the return type of a gcc2
71383    builtin and then its argument prototype would still apply.  */
71384 char $ac_func ();
71385 /* The GNU C library defines this for functions which it implements
71386     to always fail with ENOSYS.  Some functions are actually named
71387     something starting with __ and the normal name is an alias.  */
71388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71389 choke me
71390 #else
71391 char (*f) () = $ac_func;
71392 #endif
71393 #ifdef __cplusplus
71394 }
71395 #endif
71396
71397 int
71398 main ()
71399 {
71400 return f != $ac_func;
71401   ;
71402   return 0;
71403 }
71404 _ACEOF
71405 rm -f conftest.$ac_objext conftest$ac_exeext
71406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71407   (eval $ac_link) 2>conftest.er1
71408   ac_status=$?
71409   grep -v '^ *+' conftest.er1 >conftest.err
71410   rm -f conftest.er1
71411   cat conftest.err >&5
71412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71413   (exit $ac_status); } &&
71414          { ac_try='test -z "$ac_c_werror_flag"
71415                          || test ! -s conftest.err'
71416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71417   (eval $ac_try) 2>&5
71418   ac_status=$?
71419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71420   (exit $ac_status); }; } &&
71421          { ac_try='test -s conftest$ac_exeext'
71422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71423   (eval $ac_try) 2>&5
71424   ac_status=$?
71425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71426   (exit $ac_status); }; }; then
71427   eval "$as_ac_var=yes"
71428 else
71429   echo "$as_me: failed program was:" >&5
71430 sed 's/^/| /' conftest.$ac_ext >&5
71431
71432 eval "$as_ac_var=no"
71433 fi
71434 rm -f conftest.err conftest.$ac_objext \
71435       conftest$ac_exeext conftest.$ac_ext
71436 fi
71437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71439 if test `eval echo '${'$as_ac_var'}'` = yes; then
71440   cat >>confdefs.h <<_ACEOF
71441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71442 _ACEOF
71443
71444 fi
71445 done
71446
71447     fi
71448   fi
71449
71450
71451
71452
71453
71454
71455   echo "$as_me:$LINENO: checking for modf declaration" >&5
71456 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
71457   if test x${glibcxx_cv_func_modf_use+set} != xset; then
71458     if test "${glibcxx_cv_func_modf_use+set}" = set; then
71459   echo $ECHO_N "(cached) $ECHO_C" >&6
71460 else
71461
71462
71463
71464       ac_ext=cc
71465 ac_cpp='$CXXCPP $CPPFLAGS'
71466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71469
71470       cat >conftest.$ac_ext <<_ACEOF
71471 /* confdefs.h.  */
71472 _ACEOF
71473 cat confdefs.h >>conftest.$ac_ext
71474 cat >>conftest.$ac_ext <<_ACEOF
71475 /* end confdefs.h.  */
71476 #include <math.h>
71477 int
71478 main ()
71479 {
71480  modf(0, 0);
71481   ;
71482   return 0;
71483 }
71484 _ACEOF
71485 rm -f conftest.$ac_objext
71486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71487   (eval $ac_compile) 2>conftest.er1
71488   ac_status=$?
71489   grep -v '^ *+' conftest.er1 >conftest.err
71490   rm -f conftest.er1
71491   cat conftest.err >&5
71492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71493   (exit $ac_status); } &&
71494          { ac_try='test -z "$ac_cxx_werror_flag"
71495                          || test ! -s conftest.err'
71496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71497   (eval $ac_try) 2>&5
71498   ac_status=$?
71499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500   (exit $ac_status); }; } &&
71501          { ac_try='test -s conftest.$ac_objext'
71502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71503   (eval $ac_try) 2>&5
71504   ac_status=$?
71505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71506   (exit $ac_status); }; }; then
71507   glibcxx_cv_func_modf_use=yes
71508 else
71509   echo "$as_me: failed program was:" >&5
71510 sed 's/^/| /' conftest.$ac_ext >&5
71511
71512 glibcxx_cv_func_modf_use=no
71513 fi
71514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71515       ac_ext=c
71516 ac_cpp='$CPP $CPPFLAGS'
71517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71520
71521
71522 fi
71523
71524   fi
71525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
71526 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
71527
71528   if test x$glibcxx_cv_func_modf_use = x"yes"; then
71529
71530 for ac_func in modf
71531 do
71532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71533 echo "$as_me:$LINENO: checking for $ac_func" >&5
71534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71535 if eval "test \"\${$as_ac_var+set}\" = set"; then
71536   echo $ECHO_N "(cached) $ECHO_C" >&6
71537 else
71538   if test x$gcc_no_link = xyes; then
71539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71541    { (exit 1); exit 1; }; }
71542 fi
71543 cat >conftest.$ac_ext <<_ACEOF
71544 /* confdefs.h.  */
71545 _ACEOF
71546 cat confdefs.h >>conftest.$ac_ext
71547 cat >>conftest.$ac_ext <<_ACEOF
71548 /* end confdefs.h.  */
71549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71551 #define $ac_func innocuous_$ac_func
71552
71553 /* System header to define __stub macros and hopefully few prototypes,
71554     which can conflict with char $ac_func (); below.
71555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71556     <limits.h> exists even on freestanding compilers.  */
71557
71558 #ifdef __STDC__
71559 # include <limits.h>
71560 #else
71561 # include <assert.h>
71562 #endif
71563
71564 #undef $ac_func
71565
71566 /* Override any gcc2 internal prototype to avoid an error.  */
71567 #ifdef __cplusplus
71568 extern "C"
71569 {
71570 #endif
71571 /* We use char because int might match the return type of a gcc2
71572    builtin and then its argument prototype would still apply.  */
71573 char $ac_func ();
71574 /* The GNU C library defines this for functions which it implements
71575     to always fail with ENOSYS.  Some functions are actually named
71576     something starting with __ and the normal name is an alias.  */
71577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71578 choke me
71579 #else
71580 char (*f) () = $ac_func;
71581 #endif
71582 #ifdef __cplusplus
71583 }
71584 #endif
71585
71586 int
71587 main ()
71588 {
71589 return f != $ac_func;
71590   ;
71591   return 0;
71592 }
71593 _ACEOF
71594 rm -f conftest.$ac_objext conftest$ac_exeext
71595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71596   (eval $ac_link) 2>conftest.er1
71597   ac_status=$?
71598   grep -v '^ *+' conftest.er1 >conftest.err
71599   rm -f conftest.er1
71600   cat conftest.err >&5
71601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71602   (exit $ac_status); } &&
71603          { ac_try='test -z "$ac_c_werror_flag"
71604                          || test ! -s conftest.err'
71605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606   (eval $ac_try) 2>&5
71607   ac_status=$?
71608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609   (exit $ac_status); }; } &&
71610          { ac_try='test -s conftest$ac_exeext'
71611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71612   (eval $ac_try) 2>&5
71613   ac_status=$?
71614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71615   (exit $ac_status); }; }; then
71616   eval "$as_ac_var=yes"
71617 else
71618   echo "$as_me: failed program was:" >&5
71619 sed 's/^/| /' conftest.$ac_ext >&5
71620
71621 eval "$as_ac_var=no"
71622 fi
71623 rm -f conftest.err conftest.$ac_objext \
71624       conftest$ac_exeext conftest.$ac_ext
71625 fi
71626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71628 if test `eval echo '${'$as_ac_var'}'` = yes; then
71629   cat >>confdefs.h <<_ACEOF
71630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71631 _ACEOF
71632
71633 fi
71634 done
71635
71636   else
71637
71638   echo "$as_me:$LINENO: checking for _modf declaration" >&5
71639 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
71640   if test x${glibcxx_cv_func__modf_use+set} != xset; then
71641     if test "${glibcxx_cv_func__modf_use+set}" = set; then
71642   echo $ECHO_N "(cached) $ECHO_C" >&6
71643 else
71644
71645
71646
71647       ac_ext=cc
71648 ac_cpp='$CXXCPP $CPPFLAGS'
71649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71652
71653       cat >conftest.$ac_ext <<_ACEOF
71654 /* confdefs.h.  */
71655 _ACEOF
71656 cat confdefs.h >>conftest.$ac_ext
71657 cat >>conftest.$ac_ext <<_ACEOF
71658 /* end confdefs.h.  */
71659 #include <math.h>
71660 int
71661 main ()
71662 {
71663  _modf(0, 0);
71664   ;
71665   return 0;
71666 }
71667 _ACEOF
71668 rm -f conftest.$ac_objext
71669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71670   (eval $ac_compile) 2>conftest.er1
71671   ac_status=$?
71672   grep -v '^ *+' conftest.er1 >conftest.err
71673   rm -f conftest.er1
71674   cat conftest.err >&5
71675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71676   (exit $ac_status); } &&
71677          { ac_try='test -z "$ac_cxx_werror_flag"
71678                          || test ! -s conftest.err'
71679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71680   (eval $ac_try) 2>&5
71681   ac_status=$?
71682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71683   (exit $ac_status); }; } &&
71684          { ac_try='test -s conftest.$ac_objext'
71685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71686   (eval $ac_try) 2>&5
71687   ac_status=$?
71688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71689   (exit $ac_status); }; }; then
71690   glibcxx_cv_func__modf_use=yes
71691 else
71692   echo "$as_me: failed program was:" >&5
71693 sed 's/^/| /' conftest.$ac_ext >&5
71694
71695 glibcxx_cv_func__modf_use=no
71696 fi
71697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71698       ac_ext=c
71699 ac_cpp='$CPP $CPPFLAGS'
71700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71703
71704
71705 fi
71706
71707   fi
71708   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
71709 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
71710
71711     if test x$glibcxx_cv_func__modf_use = x"yes"; then
71712
71713 for ac_func in _modf
71714 do
71715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71716 echo "$as_me:$LINENO: checking for $ac_func" >&5
71717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71718 if eval "test \"\${$as_ac_var+set}\" = set"; then
71719   echo $ECHO_N "(cached) $ECHO_C" >&6
71720 else
71721   if test x$gcc_no_link = xyes; then
71722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71724    { (exit 1); exit 1; }; }
71725 fi
71726 cat >conftest.$ac_ext <<_ACEOF
71727 /* confdefs.h.  */
71728 _ACEOF
71729 cat confdefs.h >>conftest.$ac_ext
71730 cat >>conftest.$ac_ext <<_ACEOF
71731 /* end confdefs.h.  */
71732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71734 #define $ac_func innocuous_$ac_func
71735
71736 /* System header to define __stub macros and hopefully few prototypes,
71737     which can conflict with char $ac_func (); below.
71738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71739     <limits.h> exists even on freestanding compilers.  */
71740
71741 #ifdef __STDC__
71742 # include <limits.h>
71743 #else
71744 # include <assert.h>
71745 #endif
71746
71747 #undef $ac_func
71748
71749 /* Override any gcc2 internal prototype to avoid an error.  */
71750 #ifdef __cplusplus
71751 extern "C"
71752 {
71753 #endif
71754 /* We use char because int might match the return type of a gcc2
71755    builtin and then its argument prototype would still apply.  */
71756 char $ac_func ();
71757 /* The GNU C library defines this for functions which it implements
71758     to always fail with ENOSYS.  Some functions are actually named
71759     something starting with __ and the normal name is an alias.  */
71760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71761 choke me
71762 #else
71763 char (*f) () = $ac_func;
71764 #endif
71765 #ifdef __cplusplus
71766 }
71767 #endif
71768
71769 int
71770 main ()
71771 {
71772 return f != $ac_func;
71773   ;
71774   return 0;
71775 }
71776 _ACEOF
71777 rm -f conftest.$ac_objext conftest$ac_exeext
71778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71779   (eval $ac_link) 2>conftest.er1
71780   ac_status=$?
71781   grep -v '^ *+' conftest.er1 >conftest.err
71782   rm -f conftest.er1
71783   cat conftest.err >&5
71784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71785   (exit $ac_status); } &&
71786          { ac_try='test -z "$ac_c_werror_flag"
71787                          || test ! -s conftest.err'
71788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71789   (eval $ac_try) 2>&5
71790   ac_status=$?
71791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71792   (exit $ac_status); }; } &&
71793          { ac_try='test -s conftest$ac_exeext'
71794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71795   (eval $ac_try) 2>&5
71796   ac_status=$?
71797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71798   (exit $ac_status); }; }; then
71799   eval "$as_ac_var=yes"
71800 else
71801   echo "$as_me: failed program was:" >&5
71802 sed 's/^/| /' conftest.$ac_ext >&5
71803
71804 eval "$as_ac_var=no"
71805 fi
71806 rm -f conftest.err conftest.$ac_objext \
71807       conftest$ac_exeext conftest.$ac_ext
71808 fi
71809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71811 if test `eval echo '${'$as_ac_var'}'` = yes; then
71812   cat >>confdefs.h <<_ACEOF
71813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71814 _ACEOF
71815
71816 fi
71817 done
71818
71819     fi
71820   fi
71821
71822
71823
71824
71825
71826
71827   echo "$as_me:$LINENO: checking for powf declaration" >&5
71828 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
71829   if test x${glibcxx_cv_func_powf_use+set} != xset; then
71830     if test "${glibcxx_cv_func_powf_use+set}" = set; then
71831   echo $ECHO_N "(cached) $ECHO_C" >&6
71832 else
71833
71834
71835
71836       ac_ext=cc
71837 ac_cpp='$CXXCPP $CPPFLAGS'
71838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71841
71842       cat >conftest.$ac_ext <<_ACEOF
71843 /* confdefs.h.  */
71844 _ACEOF
71845 cat confdefs.h >>conftest.$ac_ext
71846 cat >>conftest.$ac_ext <<_ACEOF
71847 /* end confdefs.h.  */
71848 #include <math.h>
71849 int
71850 main ()
71851 {
71852  powf(0, 0);
71853   ;
71854   return 0;
71855 }
71856 _ACEOF
71857 rm -f conftest.$ac_objext
71858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71859   (eval $ac_compile) 2>conftest.er1
71860   ac_status=$?
71861   grep -v '^ *+' conftest.er1 >conftest.err
71862   rm -f conftest.er1
71863   cat conftest.err >&5
71864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71865   (exit $ac_status); } &&
71866          { ac_try='test -z "$ac_cxx_werror_flag"
71867                          || test ! -s conftest.err'
71868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71869   (eval $ac_try) 2>&5
71870   ac_status=$?
71871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71872   (exit $ac_status); }; } &&
71873          { ac_try='test -s conftest.$ac_objext'
71874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71875   (eval $ac_try) 2>&5
71876   ac_status=$?
71877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71878   (exit $ac_status); }; }; then
71879   glibcxx_cv_func_powf_use=yes
71880 else
71881   echo "$as_me: failed program was:" >&5
71882 sed 's/^/| /' conftest.$ac_ext >&5
71883
71884 glibcxx_cv_func_powf_use=no
71885 fi
71886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71887       ac_ext=c
71888 ac_cpp='$CPP $CPPFLAGS'
71889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71892
71893
71894 fi
71895
71896   fi
71897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
71898 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
71899
71900   if test x$glibcxx_cv_func_powf_use = x"yes"; then
71901
71902 for ac_func in powf
71903 do
71904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71905 echo "$as_me:$LINENO: checking for $ac_func" >&5
71906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71907 if eval "test \"\${$as_ac_var+set}\" = set"; then
71908   echo $ECHO_N "(cached) $ECHO_C" >&6
71909 else
71910   if test x$gcc_no_link = xyes; then
71911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71913    { (exit 1); exit 1; }; }
71914 fi
71915 cat >conftest.$ac_ext <<_ACEOF
71916 /* confdefs.h.  */
71917 _ACEOF
71918 cat confdefs.h >>conftest.$ac_ext
71919 cat >>conftest.$ac_ext <<_ACEOF
71920 /* end confdefs.h.  */
71921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71923 #define $ac_func innocuous_$ac_func
71924
71925 /* System header to define __stub macros and hopefully few prototypes,
71926     which can conflict with char $ac_func (); below.
71927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71928     <limits.h> exists even on freestanding compilers.  */
71929
71930 #ifdef __STDC__
71931 # include <limits.h>
71932 #else
71933 # include <assert.h>
71934 #endif
71935
71936 #undef $ac_func
71937
71938 /* Override any gcc2 internal prototype to avoid an error.  */
71939 #ifdef __cplusplus
71940 extern "C"
71941 {
71942 #endif
71943 /* We use char because int might match the return type of a gcc2
71944    builtin and then its argument prototype would still apply.  */
71945 char $ac_func ();
71946 /* The GNU C library defines this for functions which it implements
71947     to always fail with ENOSYS.  Some functions are actually named
71948     something starting with __ and the normal name is an alias.  */
71949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71950 choke me
71951 #else
71952 char (*f) () = $ac_func;
71953 #endif
71954 #ifdef __cplusplus
71955 }
71956 #endif
71957
71958 int
71959 main ()
71960 {
71961 return f != $ac_func;
71962   ;
71963   return 0;
71964 }
71965 _ACEOF
71966 rm -f conftest.$ac_objext conftest$ac_exeext
71967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71968   (eval $ac_link) 2>conftest.er1
71969   ac_status=$?
71970   grep -v '^ *+' conftest.er1 >conftest.err
71971   rm -f conftest.er1
71972   cat conftest.err >&5
71973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71974   (exit $ac_status); } &&
71975          { ac_try='test -z "$ac_c_werror_flag"
71976                          || test ! -s conftest.err'
71977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71978   (eval $ac_try) 2>&5
71979   ac_status=$?
71980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71981   (exit $ac_status); }; } &&
71982          { ac_try='test -s conftest$ac_exeext'
71983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71984   (eval $ac_try) 2>&5
71985   ac_status=$?
71986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71987   (exit $ac_status); }; }; then
71988   eval "$as_ac_var=yes"
71989 else
71990   echo "$as_me: failed program was:" >&5
71991 sed 's/^/| /' conftest.$ac_ext >&5
71992
71993 eval "$as_ac_var=no"
71994 fi
71995 rm -f conftest.err conftest.$ac_objext \
71996       conftest$ac_exeext conftest.$ac_ext
71997 fi
71998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72000 if test `eval echo '${'$as_ac_var'}'` = yes; then
72001   cat >>confdefs.h <<_ACEOF
72002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72003 _ACEOF
72004
72005 fi
72006 done
72007
72008   else
72009
72010   echo "$as_me:$LINENO: checking for _powf declaration" >&5
72011 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72012   if test x${glibcxx_cv_func__powf_use+set} != xset; then
72013     if test "${glibcxx_cv_func__powf_use+set}" = set; then
72014   echo $ECHO_N "(cached) $ECHO_C" >&6
72015 else
72016
72017
72018
72019       ac_ext=cc
72020 ac_cpp='$CXXCPP $CPPFLAGS'
72021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72024
72025       cat >conftest.$ac_ext <<_ACEOF
72026 /* confdefs.h.  */
72027 _ACEOF
72028 cat confdefs.h >>conftest.$ac_ext
72029 cat >>conftest.$ac_ext <<_ACEOF
72030 /* end confdefs.h.  */
72031 #include <math.h>
72032 int
72033 main ()
72034 {
72035  _powf(0, 0);
72036   ;
72037   return 0;
72038 }
72039 _ACEOF
72040 rm -f conftest.$ac_objext
72041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72042   (eval $ac_compile) 2>conftest.er1
72043   ac_status=$?
72044   grep -v '^ *+' conftest.er1 >conftest.err
72045   rm -f conftest.er1
72046   cat conftest.err >&5
72047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72048   (exit $ac_status); } &&
72049          { ac_try='test -z "$ac_cxx_werror_flag"
72050                          || test ! -s conftest.err'
72051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72052   (eval $ac_try) 2>&5
72053   ac_status=$?
72054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72055   (exit $ac_status); }; } &&
72056          { ac_try='test -s conftest.$ac_objext'
72057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72058   (eval $ac_try) 2>&5
72059   ac_status=$?
72060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72061   (exit $ac_status); }; }; then
72062   glibcxx_cv_func__powf_use=yes
72063 else
72064   echo "$as_me: failed program was:" >&5
72065 sed 's/^/| /' conftest.$ac_ext >&5
72066
72067 glibcxx_cv_func__powf_use=no
72068 fi
72069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72070       ac_ext=c
72071 ac_cpp='$CPP $CPPFLAGS'
72072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72075
72076
72077 fi
72078
72079   fi
72080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72081 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72082
72083     if test x$glibcxx_cv_func__powf_use = x"yes"; then
72084
72085 for ac_func in _powf
72086 do
72087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72088 echo "$as_me:$LINENO: checking for $ac_func" >&5
72089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72090 if eval "test \"\${$as_ac_var+set}\" = set"; then
72091   echo $ECHO_N "(cached) $ECHO_C" >&6
72092 else
72093   if test x$gcc_no_link = xyes; then
72094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72096    { (exit 1); exit 1; }; }
72097 fi
72098 cat >conftest.$ac_ext <<_ACEOF
72099 /* confdefs.h.  */
72100 _ACEOF
72101 cat confdefs.h >>conftest.$ac_ext
72102 cat >>conftest.$ac_ext <<_ACEOF
72103 /* end confdefs.h.  */
72104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72106 #define $ac_func innocuous_$ac_func
72107
72108 /* System header to define __stub macros and hopefully few prototypes,
72109     which can conflict with char $ac_func (); below.
72110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72111     <limits.h> exists even on freestanding compilers.  */
72112
72113 #ifdef __STDC__
72114 # include <limits.h>
72115 #else
72116 # include <assert.h>
72117 #endif
72118
72119 #undef $ac_func
72120
72121 /* Override any gcc2 internal prototype to avoid an error.  */
72122 #ifdef __cplusplus
72123 extern "C"
72124 {
72125 #endif
72126 /* We use char because int might match the return type of a gcc2
72127    builtin and then its argument prototype would still apply.  */
72128 char $ac_func ();
72129 /* The GNU C library defines this for functions which it implements
72130     to always fail with ENOSYS.  Some functions are actually named
72131     something starting with __ and the normal name is an alias.  */
72132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72133 choke me
72134 #else
72135 char (*f) () = $ac_func;
72136 #endif
72137 #ifdef __cplusplus
72138 }
72139 #endif
72140
72141 int
72142 main ()
72143 {
72144 return f != $ac_func;
72145   ;
72146   return 0;
72147 }
72148 _ACEOF
72149 rm -f conftest.$ac_objext conftest$ac_exeext
72150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72151   (eval $ac_link) 2>conftest.er1
72152   ac_status=$?
72153   grep -v '^ *+' conftest.er1 >conftest.err
72154   rm -f conftest.er1
72155   cat conftest.err >&5
72156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72157   (exit $ac_status); } &&
72158          { ac_try='test -z "$ac_c_werror_flag"
72159                          || test ! -s conftest.err'
72160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72161   (eval $ac_try) 2>&5
72162   ac_status=$?
72163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72164   (exit $ac_status); }; } &&
72165          { ac_try='test -s conftest$ac_exeext'
72166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72167   (eval $ac_try) 2>&5
72168   ac_status=$?
72169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72170   (exit $ac_status); }; }; then
72171   eval "$as_ac_var=yes"
72172 else
72173   echo "$as_me: failed program was:" >&5
72174 sed 's/^/| /' conftest.$ac_ext >&5
72175
72176 eval "$as_ac_var=no"
72177 fi
72178 rm -f conftest.err conftest.$ac_objext \
72179       conftest$ac_exeext conftest.$ac_ext
72180 fi
72181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72183 if test `eval echo '${'$as_ac_var'}'` = yes; then
72184   cat >>confdefs.h <<_ACEOF
72185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72186 _ACEOF
72187
72188 fi
72189 done
72190
72191     fi
72192   fi
72193
72194
72195
72196
72197
72198
72199   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72200 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72201   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72202     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72203   echo $ECHO_N "(cached) $ECHO_C" >&6
72204 else
72205
72206
72207
72208       ac_ext=cc
72209 ac_cpp='$CXXCPP $CPPFLAGS'
72210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72213
72214       cat >conftest.$ac_ext <<_ACEOF
72215 /* confdefs.h.  */
72216 _ACEOF
72217 cat confdefs.h >>conftest.$ac_ext
72218 cat >>conftest.$ac_ext <<_ACEOF
72219 /* end confdefs.h.  */
72220 #include <math.h>
72221                       #ifdef HAVE_IEEEFP_H
72222                       #include <ieeefp.h>
72223                       #endif
72224
72225 int
72226 main ()
72227 {
72228  sqrtf(0);
72229   ;
72230   return 0;
72231 }
72232 _ACEOF
72233 rm -f conftest.$ac_objext
72234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72235   (eval $ac_compile) 2>conftest.er1
72236   ac_status=$?
72237   grep -v '^ *+' conftest.er1 >conftest.err
72238   rm -f conftest.er1
72239   cat conftest.err >&5
72240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72241   (exit $ac_status); } &&
72242          { ac_try='test -z "$ac_cxx_werror_flag"
72243                          || test ! -s conftest.err'
72244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72245   (eval $ac_try) 2>&5
72246   ac_status=$?
72247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72248   (exit $ac_status); }; } &&
72249          { ac_try='test -s conftest.$ac_objext'
72250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72251   (eval $ac_try) 2>&5
72252   ac_status=$?
72253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72254   (exit $ac_status); }; }; then
72255   glibcxx_cv_func_sqrtf_use=yes
72256 else
72257   echo "$as_me: failed program was:" >&5
72258 sed 's/^/| /' conftest.$ac_ext >&5
72259
72260 glibcxx_cv_func_sqrtf_use=no
72261 fi
72262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72263       ac_ext=c
72264 ac_cpp='$CPP $CPPFLAGS'
72265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72268
72269
72270 fi
72271
72272   fi
72273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
72274 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
72275
72276   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
72277
72278 for ac_func in sqrtf
72279 do
72280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72281 echo "$as_me:$LINENO: checking for $ac_func" >&5
72282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72283 if eval "test \"\${$as_ac_var+set}\" = set"; then
72284   echo $ECHO_N "(cached) $ECHO_C" >&6
72285 else
72286   if test x$gcc_no_link = xyes; then
72287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72289    { (exit 1); exit 1; }; }
72290 fi
72291 cat >conftest.$ac_ext <<_ACEOF
72292 /* confdefs.h.  */
72293 _ACEOF
72294 cat confdefs.h >>conftest.$ac_ext
72295 cat >>conftest.$ac_ext <<_ACEOF
72296 /* end confdefs.h.  */
72297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72299 #define $ac_func innocuous_$ac_func
72300
72301 /* System header to define __stub macros and hopefully few prototypes,
72302     which can conflict with char $ac_func (); below.
72303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72304     <limits.h> exists even on freestanding compilers.  */
72305
72306 #ifdef __STDC__
72307 # include <limits.h>
72308 #else
72309 # include <assert.h>
72310 #endif
72311
72312 #undef $ac_func
72313
72314 /* Override any gcc2 internal prototype to avoid an error.  */
72315 #ifdef __cplusplus
72316 extern "C"
72317 {
72318 #endif
72319 /* We use char because int might match the return type of a gcc2
72320    builtin and then its argument prototype would still apply.  */
72321 char $ac_func ();
72322 /* The GNU C library defines this for functions which it implements
72323     to always fail with ENOSYS.  Some functions are actually named
72324     something starting with __ and the normal name is an alias.  */
72325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72326 choke me
72327 #else
72328 char (*f) () = $ac_func;
72329 #endif
72330 #ifdef __cplusplus
72331 }
72332 #endif
72333
72334 int
72335 main ()
72336 {
72337 return f != $ac_func;
72338   ;
72339   return 0;
72340 }
72341 _ACEOF
72342 rm -f conftest.$ac_objext conftest$ac_exeext
72343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72344   (eval $ac_link) 2>conftest.er1
72345   ac_status=$?
72346   grep -v '^ *+' conftest.er1 >conftest.err
72347   rm -f conftest.er1
72348   cat conftest.err >&5
72349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72350   (exit $ac_status); } &&
72351          { ac_try='test -z "$ac_c_werror_flag"
72352                          || test ! -s conftest.err'
72353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72354   (eval $ac_try) 2>&5
72355   ac_status=$?
72356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72357   (exit $ac_status); }; } &&
72358          { ac_try='test -s conftest$ac_exeext'
72359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72360   (eval $ac_try) 2>&5
72361   ac_status=$?
72362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363   (exit $ac_status); }; }; then
72364   eval "$as_ac_var=yes"
72365 else
72366   echo "$as_me: failed program was:" >&5
72367 sed 's/^/| /' conftest.$ac_ext >&5
72368
72369 eval "$as_ac_var=no"
72370 fi
72371 rm -f conftest.err conftest.$ac_objext \
72372       conftest$ac_exeext conftest.$ac_ext
72373 fi
72374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72376 if test `eval echo '${'$as_ac_var'}'` = yes; then
72377   cat >>confdefs.h <<_ACEOF
72378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72379 _ACEOF
72380
72381 fi
72382 done
72383
72384   else
72385
72386   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
72387 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
72388   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
72389     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
72390   echo $ECHO_N "(cached) $ECHO_C" >&6
72391 else
72392
72393
72394
72395       ac_ext=cc
72396 ac_cpp='$CXXCPP $CPPFLAGS'
72397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72400
72401       cat >conftest.$ac_ext <<_ACEOF
72402 /* confdefs.h.  */
72403 _ACEOF
72404 cat confdefs.h >>conftest.$ac_ext
72405 cat >>conftest.$ac_ext <<_ACEOF
72406 /* end confdefs.h.  */
72407 #include <math.h>
72408                       #ifdef HAVE_IEEEFP_H
72409                       #include <ieeefp.h>
72410                       #endif
72411
72412 int
72413 main ()
72414 {
72415  _sqrtf(0);
72416   ;
72417   return 0;
72418 }
72419 _ACEOF
72420 rm -f conftest.$ac_objext
72421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72422   (eval $ac_compile) 2>conftest.er1
72423   ac_status=$?
72424   grep -v '^ *+' conftest.er1 >conftest.err
72425   rm -f conftest.er1
72426   cat conftest.err >&5
72427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72428   (exit $ac_status); } &&
72429          { ac_try='test -z "$ac_cxx_werror_flag"
72430                          || test ! -s conftest.err'
72431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72432   (eval $ac_try) 2>&5
72433   ac_status=$?
72434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72435   (exit $ac_status); }; } &&
72436          { ac_try='test -s conftest.$ac_objext'
72437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72438   (eval $ac_try) 2>&5
72439   ac_status=$?
72440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72441   (exit $ac_status); }; }; then
72442   glibcxx_cv_func__sqrtf_use=yes
72443 else
72444   echo "$as_me: failed program was:" >&5
72445 sed 's/^/| /' conftest.$ac_ext >&5
72446
72447 glibcxx_cv_func__sqrtf_use=no
72448 fi
72449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72450       ac_ext=c
72451 ac_cpp='$CPP $CPPFLAGS'
72452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72455
72456
72457 fi
72458
72459   fi
72460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
72461 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
72462
72463     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
72464
72465 for ac_func in _sqrtf
72466 do
72467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72468 echo "$as_me:$LINENO: checking for $ac_func" >&5
72469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72470 if eval "test \"\${$as_ac_var+set}\" = set"; then
72471   echo $ECHO_N "(cached) $ECHO_C" >&6
72472 else
72473   if test x$gcc_no_link = xyes; then
72474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72476    { (exit 1); exit 1; }; }
72477 fi
72478 cat >conftest.$ac_ext <<_ACEOF
72479 /* confdefs.h.  */
72480 _ACEOF
72481 cat confdefs.h >>conftest.$ac_ext
72482 cat >>conftest.$ac_ext <<_ACEOF
72483 /* end confdefs.h.  */
72484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72486 #define $ac_func innocuous_$ac_func
72487
72488 /* System header to define __stub macros and hopefully few prototypes,
72489     which can conflict with char $ac_func (); below.
72490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72491     <limits.h> exists even on freestanding compilers.  */
72492
72493 #ifdef __STDC__
72494 # include <limits.h>
72495 #else
72496 # include <assert.h>
72497 #endif
72498
72499 #undef $ac_func
72500
72501 /* Override any gcc2 internal prototype to avoid an error.  */
72502 #ifdef __cplusplus
72503 extern "C"
72504 {
72505 #endif
72506 /* We use char because int might match the return type of a gcc2
72507    builtin and then its argument prototype would still apply.  */
72508 char $ac_func ();
72509 /* The GNU C library defines this for functions which it implements
72510     to always fail with ENOSYS.  Some functions are actually named
72511     something starting with __ and the normal name is an alias.  */
72512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72513 choke me
72514 #else
72515 char (*f) () = $ac_func;
72516 #endif
72517 #ifdef __cplusplus
72518 }
72519 #endif
72520
72521 int
72522 main ()
72523 {
72524 return f != $ac_func;
72525   ;
72526   return 0;
72527 }
72528 _ACEOF
72529 rm -f conftest.$ac_objext conftest$ac_exeext
72530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72531   (eval $ac_link) 2>conftest.er1
72532   ac_status=$?
72533   grep -v '^ *+' conftest.er1 >conftest.err
72534   rm -f conftest.er1
72535   cat conftest.err >&5
72536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537   (exit $ac_status); } &&
72538          { ac_try='test -z "$ac_c_werror_flag"
72539                          || test ! -s conftest.err'
72540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72541   (eval $ac_try) 2>&5
72542   ac_status=$?
72543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72544   (exit $ac_status); }; } &&
72545          { ac_try='test -s conftest$ac_exeext'
72546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72547   (eval $ac_try) 2>&5
72548   ac_status=$?
72549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72550   (exit $ac_status); }; }; then
72551   eval "$as_ac_var=yes"
72552 else
72553   echo "$as_me: failed program was:" >&5
72554 sed 's/^/| /' conftest.$ac_ext >&5
72555
72556 eval "$as_ac_var=no"
72557 fi
72558 rm -f conftest.err conftest.$ac_objext \
72559       conftest$ac_exeext conftest.$ac_ext
72560 fi
72561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72563 if test `eval echo '${'$as_ac_var'}'` = yes; then
72564   cat >>confdefs.h <<_ACEOF
72565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72566 _ACEOF
72567
72568 fi
72569 done
72570
72571     fi
72572   fi
72573
72574
72575
72576
72577
72578
72579   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
72580 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
72581   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
72582     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
72583   echo $ECHO_N "(cached) $ECHO_C" >&6
72584 else
72585
72586
72587
72588       ac_ext=cc
72589 ac_cpp='$CXXCPP $CPPFLAGS'
72590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72593
72594       cat >conftest.$ac_ext <<_ACEOF
72595 /* confdefs.h.  */
72596 _ACEOF
72597 cat confdefs.h >>conftest.$ac_ext
72598 cat >>conftest.$ac_ext <<_ACEOF
72599 /* end confdefs.h.  */
72600 #include <math.h>
72601 int
72602 main ()
72603 {
72604  sincosf(0, 0, 0);
72605   ;
72606   return 0;
72607 }
72608 _ACEOF
72609 rm -f conftest.$ac_objext
72610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72611   (eval $ac_compile) 2>conftest.er1
72612   ac_status=$?
72613   grep -v '^ *+' conftest.er1 >conftest.err
72614   rm -f conftest.er1
72615   cat conftest.err >&5
72616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72617   (exit $ac_status); } &&
72618          { ac_try='test -z "$ac_cxx_werror_flag"
72619                          || test ! -s conftest.err'
72620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72621   (eval $ac_try) 2>&5
72622   ac_status=$?
72623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72624   (exit $ac_status); }; } &&
72625          { ac_try='test -s conftest.$ac_objext'
72626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72627   (eval $ac_try) 2>&5
72628   ac_status=$?
72629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72630   (exit $ac_status); }; }; then
72631   glibcxx_cv_func_sincosf_use=yes
72632 else
72633   echo "$as_me: failed program was:" >&5
72634 sed 's/^/| /' conftest.$ac_ext >&5
72635
72636 glibcxx_cv_func_sincosf_use=no
72637 fi
72638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72639       ac_ext=c
72640 ac_cpp='$CPP $CPPFLAGS'
72641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72644
72645
72646 fi
72647
72648   fi
72649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
72650 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
72651
72652   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
72653
72654 for ac_func in sincosf
72655 do
72656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72657 echo "$as_me:$LINENO: checking for $ac_func" >&5
72658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72659 if eval "test \"\${$as_ac_var+set}\" = set"; then
72660   echo $ECHO_N "(cached) $ECHO_C" >&6
72661 else
72662   if test x$gcc_no_link = xyes; then
72663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72665    { (exit 1); exit 1; }; }
72666 fi
72667 cat >conftest.$ac_ext <<_ACEOF
72668 /* confdefs.h.  */
72669 _ACEOF
72670 cat confdefs.h >>conftest.$ac_ext
72671 cat >>conftest.$ac_ext <<_ACEOF
72672 /* end confdefs.h.  */
72673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72675 #define $ac_func innocuous_$ac_func
72676
72677 /* System header to define __stub macros and hopefully few prototypes,
72678     which can conflict with char $ac_func (); below.
72679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72680     <limits.h> exists even on freestanding compilers.  */
72681
72682 #ifdef __STDC__
72683 # include <limits.h>
72684 #else
72685 # include <assert.h>
72686 #endif
72687
72688 #undef $ac_func
72689
72690 /* Override any gcc2 internal prototype to avoid an error.  */
72691 #ifdef __cplusplus
72692 extern "C"
72693 {
72694 #endif
72695 /* We use char because int might match the return type of a gcc2
72696    builtin and then its argument prototype would still apply.  */
72697 char $ac_func ();
72698 /* The GNU C library defines this for functions which it implements
72699     to always fail with ENOSYS.  Some functions are actually named
72700     something starting with __ and the normal name is an alias.  */
72701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72702 choke me
72703 #else
72704 char (*f) () = $ac_func;
72705 #endif
72706 #ifdef __cplusplus
72707 }
72708 #endif
72709
72710 int
72711 main ()
72712 {
72713 return f != $ac_func;
72714   ;
72715   return 0;
72716 }
72717 _ACEOF
72718 rm -f conftest.$ac_objext conftest$ac_exeext
72719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72720   (eval $ac_link) 2>conftest.er1
72721   ac_status=$?
72722   grep -v '^ *+' conftest.er1 >conftest.err
72723   rm -f conftest.er1
72724   cat conftest.err >&5
72725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72726   (exit $ac_status); } &&
72727          { ac_try='test -z "$ac_c_werror_flag"
72728                          || test ! -s conftest.err'
72729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72730   (eval $ac_try) 2>&5
72731   ac_status=$?
72732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72733   (exit $ac_status); }; } &&
72734          { ac_try='test -s conftest$ac_exeext'
72735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72736   (eval $ac_try) 2>&5
72737   ac_status=$?
72738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72739   (exit $ac_status); }; }; then
72740   eval "$as_ac_var=yes"
72741 else
72742   echo "$as_me: failed program was:" >&5
72743 sed 's/^/| /' conftest.$ac_ext >&5
72744
72745 eval "$as_ac_var=no"
72746 fi
72747 rm -f conftest.err conftest.$ac_objext \
72748       conftest$ac_exeext conftest.$ac_ext
72749 fi
72750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72752 if test `eval echo '${'$as_ac_var'}'` = yes; then
72753   cat >>confdefs.h <<_ACEOF
72754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72755 _ACEOF
72756
72757 fi
72758 done
72759
72760   else
72761
72762   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
72763 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
72764   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
72765     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
72766   echo $ECHO_N "(cached) $ECHO_C" >&6
72767 else
72768
72769
72770
72771       ac_ext=cc
72772 ac_cpp='$CXXCPP $CPPFLAGS'
72773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72776
72777       cat >conftest.$ac_ext <<_ACEOF
72778 /* confdefs.h.  */
72779 _ACEOF
72780 cat confdefs.h >>conftest.$ac_ext
72781 cat >>conftest.$ac_ext <<_ACEOF
72782 /* end confdefs.h.  */
72783 #include <math.h>
72784 int
72785 main ()
72786 {
72787  _sincosf(0, 0, 0);
72788   ;
72789   return 0;
72790 }
72791 _ACEOF
72792 rm -f conftest.$ac_objext
72793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72794   (eval $ac_compile) 2>conftest.er1
72795   ac_status=$?
72796   grep -v '^ *+' conftest.er1 >conftest.err
72797   rm -f conftest.er1
72798   cat conftest.err >&5
72799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72800   (exit $ac_status); } &&
72801          { ac_try='test -z "$ac_cxx_werror_flag"
72802                          || test ! -s conftest.err'
72803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72804   (eval $ac_try) 2>&5
72805   ac_status=$?
72806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72807   (exit $ac_status); }; } &&
72808          { ac_try='test -s conftest.$ac_objext'
72809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72810   (eval $ac_try) 2>&5
72811   ac_status=$?
72812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72813   (exit $ac_status); }; }; then
72814   glibcxx_cv_func__sincosf_use=yes
72815 else
72816   echo "$as_me: failed program was:" >&5
72817 sed 's/^/| /' conftest.$ac_ext >&5
72818
72819 glibcxx_cv_func__sincosf_use=no
72820 fi
72821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72822       ac_ext=c
72823 ac_cpp='$CPP $CPPFLAGS'
72824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72827
72828
72829 fi
72830
72831   fi
72832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
72833 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
72834
72835     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
72836
72837 for ac_func in _sincosf
72838 do
72839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72840 echo "$as_me:$LINENO: checking for $ac_func" >&5
72841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72842 if eval "test \"\${$as_ac_var+set}\" = set"; then
72843   echo $ECHO_N "(cached) $ECHO_C" >&6
72844 else
72845   if test x$gcc_no_link = xyes; then
72846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72848    { (exit 1); exit 1; }; }
72849 fi
72850 cat >conftest.$ac_ext <<_ACEOF
72851 /* confdefs.h.  */
72852 _ACEOF
72853 cat confdefs.h >>conftest.$ac_ext
72854 cat >>conftest.$ac_ext <<_ACEOF
72855 /* end confdefs.h.  */
72856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72858 #define $ac_func innocuous_$ac_func
72859
72860 /* System header to define __stub macros and hopefully few prototypes,
72861     which can conflict with char $ac_func (); below.
72862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72863     <limits.h> exists even on freestanding compilers.  */
72864
72865 #ifdef __STDC__
72866 # include <limits.h>
72867 #else
72868 # include <assert.h>
72869 #endif
72870
72871 #undef $ac_func
72872
72873 /* Override any gcc2 internal prototype to avoid an error.  */
72874 #ifdef __cplusplus
72875 extern "C"
72876 {
72877 #endif
72878 /* We use char because int might match the return type of a gcc2
72879    builtin and then its argument prototype would still apply.  */
72880 char $ac_func ();
72881 /* The GNU C library defines this for functions which it implements
72882     to always fail with ENOSYS.  Some functions are actually named
72883     something starting with __ and the normal name is an alias.  */
72884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72885 choke me
72886 #else
72887 char (*f) () = $ac_func;
72888 #endif
72889 #ifdef __cplusplus
72890 }
72891 #endif
72892
72893 int
72894 main ()
72895 {
72896 return f != $ac_func;
72897   ;
72898   return 0;
72899 }
72900 _ACEOF
72901 rm -f conftest.$ac_objext conftest$ac_exeext
72902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72903   (eval $ac_link) 2>conftest.er1
72904   ac_status=$?
72905   grep -v '^ *+' conftest.er1 >conftest.err
72906   rm -f conftest.er1
72907   cat conftest.err >&5
72908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72909   (exit $ac_status); } &&
72910          { ac_try='test -z "$ac_c_werror_flag"
72911                          || test ! -s conftest.err'
72912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72913   (eval $ac_try) 2>&5
72914   ac_status=$?
72915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72916   (exit $ac_status); }; } &&
72917          { ac_try='test -s conftest$ac_exeext'
72918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72919   (eval $ac_try) 2>&5
72920   ac_status=$?
72921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72922   (exit $ac_status); }; }; then
72923   eval "$as_ac_var=yes"
72924 else
72925   echo "$as_me: failed program was:" >&5
72926 sed 's/^/| /' conftest.$ac_ext >&5
72927
72928 eval "$as_ac_var=no"
72929 fi
72930 rm -f conftest.err conftest.$ac_objext \
72931       conftest$ac_exeext conftest.$ac_ext
72932 fi
72933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72935 if test `eval echo '${'$as_ac_var'}'` = yes; then
72936   cat >>confdefs.h <<_ACEOF
72937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72938 _ACEOF
72939
72940 fi
72941 done
72942
72943     fi
72944   fi
72945
72946
72947
72948
72949
72950
72951   echo "$as_me:$LINENO: checking for finitef declaration" >&5
72952 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
72953   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
72954     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
72955   echo $ECHO_N "(cached) $ECHO_C" >&6
72956 else
72957
72958
72959
72960       ac_ext=cc
72961 ac_cpp='$CXXCPP $CPPFLAGS'
72962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72965
72966       cat >conftest.$ac_ext <<_ACEOF
72967 /* confdefs.h.  */
72968 _ACEOF
72969 cat confdefs.h >>conftest.$ac_ext
72970 cat >>conftest.$ac_ext <<_ACEOF
72971 /* end confdefs.h.  */
72972 #include <math.h>
72973                       #ifdef HAVE_IEEEFP_H
72974                       #include <ieeefp.h>
72975                       #endif
72976
72977 int
72978 main ()
72979 {
72980  finitef(0);
72981   ;
72982   return 0;
72983 }
72984 _ACEOF
72985 rm -f conftest.$ac_objext
72986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72987   (eval $ac_compile) 2>conftest.er1
72988   ac_status=$?
72989   grep -v '^ *+' conftest.er1 >conftest.err
72990   rm -f conftest.er1
72991   cat conftest.err >&5
72992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72993   (exit $ac_status); } &&
72994          { ac_try='test -z "$ac_cxx_werror_flag"
72995                          || test ! -s conftest.err'
72996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72997   (eval $ac_try) 2>&5
72998   ac_status=$?
72999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73000   (exit $ac_status); }; } &&
73001          { ac_try='test -s conftest.$ac_objext'
73002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73003   (eval $ac_try) 2>&5
73004   ac_status=$?
73005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73006   (exit $ac_status); }; }; then
73007   glibcxx_cv_func_finitef_use=yes
73008 else
73009   echo "$as_me: failed program was:" >&5
73010 sed 's/^/| /' conftest.$ac_ext >&5
73011
73012 glibcxx_cv_func_finitef_use=no
73013 fi
73014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73015       ac_ext=c
73016 ac_cpp='$CPP $CPPFLAGS'
73017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73020
73021
73022 fi
73023
73024   fi
73025   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73026 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73027
73028   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73029
73030 for ac_func in finitef
73031 do
73032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73033 echo "$as_me:$LINENO: checking for $ac_func" >&5
73034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73035 if eval "test \"\${$as_ac_var+set}\" = set"; then
73036   echo $ECHO_N "(cached) $ECHO_C" >&6
73037 else
73038   if test x$gcc_no_link = xyes; then
73039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73041    { (exit 1); exit 1; }; }
73042 fi
73043 cat >conftest.$ac_ext <<_ACEOF
73044 /* confdefs.h.  */
73045 _ACEOF
73046 cat confdefs.h >>conftest.$ac_ext
73047 cat >>conftest.$ac_ext <<_ACEOF
73048 /* end confdefs.h.  */
73049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73051 #define $ac_func innocuous_$ac_func
73052
73053 /* System header to define __stub macros and hopefully few prototypes,
73054     which can conflict with char $ac_func (); below.
73055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73056     <limits.h> exists even on freestanding compilers.  */
73057
73058 #ifdef __STDC__
73059 # include <limits.h>
73060 #else
73061 # include <assert.h>
73062 #endif
73063
73064 #undef $ac_func
73065
73066 /* Override any gcc2 internal prototype to avoid an error.  */
73067 #ifdef __cplusplus
73068 extern "C"
73069 {
73070 #endif
73071 /* We use char because int might match the return type of a gcc2
73072    builtin and then its argument prototype would still apply.  */
73073 char $ac_func ();
73074 /* The GNU C library defines this for functions which it implements
73075     to always fail with ENOSYS.  Some functions are actually named
73076     something starting with __ and the normal name is an alias.  */
73077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73078 choke me
73079 #else
73080 char (*f) () = $ac_func;
73081 #endif
73082 #ifdef __cplusplus
73083 }
73084 #endif
73085
73086 int
73087 main ()
73088 {
73089 return f != $ac_func;
73090   ;
73091   return 0;
73092 }
73093 _ACEOF
73094 rm -f conftest.$ac_objext conftest$ac_exeext
73095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73096   (eval $ac_link) 2>conftest.er1
73097   ac_status=$?
73098   grep -v '^ *+' conftest.er1 >conftest.err
73099   rm -f conftest.er1
73100   cat conftest.err >&5
73101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73102   (exit $ac_status); } &&
73103          { ac_try='test -z "$ac_c_werror_flag"
73104                          || test ! -s conftest.err'
73105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73106   (eval $ac_try) 2>&5
73107   ac_status=$?
73108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73109   (exit $ac_status); }; } &&
73110          { ac_try='test -s conftest$ac_exeext'
73111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73112   (eval $ac_try) 2>&5
73113   ac_status=$?
73114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73115   (exit $ac_status); }; }; then
73116   eval "$as_ac_var=yes"
73117 else
73118   echo "$as_me: failed program was:" >&5
73119 sed 's/^/| /' conftest.$ac_ext >&5
73120
73121 eval "$as_ac_var=no"
73122 fi
73123 rm -f conftest.err conftest.$ac_objext \
73124       conftest$ac_exeext conftest.$ac_ext
73125 fi
73126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73128 if test `eval echo '${'$as_ac_var'}'` = yes; then
73129   cat >>confdefs.h <<_ACEOF
73130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73131 _ACEOF
73132
73133 fi
73134 done
73135
73136   else
73137
73138   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73139 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73140   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73141     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73142   echo $ECHO_N "(cached) $ECHO_C" >&6
73143 else
73144
73145
73146
73147       ac_ext=cc
73148 ac_cpp='$CXXCPP $CPPFLAGS'
73149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73152
73153       cat >conftest.$ac_ext <<_ACEOF
73154 /* confdefs.h.  */
73155 _ACEOF
73156 cat confdefs.h >>conftest.$ac_ext
73157 cat >>conftest.$ac_ext <<_ACEOF
73158 /* end confdefs.h.  */
73159 #include <math.h>
73160                       #ifdef HAVE_IEEEFP_H
73161                       #include <ieeefp.h>
73162                       #endif
73163
73164 int
73165 main ()
73166 {
73167  _finitef(0);
73168   ;
73169   return 0;
73170 }
73171 _ACEOF
73172 rm -f conftest.$ac_objext
73173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73174   (eval $ac_compile) 2>conftest.er1
73175   ac_status=$?
73176   grep -v '^ *+' conftest.er1 >conftest.err
73177   rm -f conftest.er1
73178   cat conftest.err >&5
73179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73180   (exit $ac_status); } &&
73181          { ac_try='test -z "$ac_cxx_werror_flag"
73182                          || test ! -s conftest.err'
73183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73184   (eval $ac_try) 2>&5
73185   ac_status=$?
73186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73187   (exit $ac_status); }; } &&
73188          { ac_try='test -s conftest.$ac_objext'
73189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73190   (eval $ac_try) 2>&5
73191   ac_status=$?
73192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73193   (exit $ac_status); }; }; then
73194   glibcxx_cv_func__finitef_use=yes
73195 else
73196   echo "$as_me: failed program was:" >&5
73197 sed 's/^/| /' conftest.$ac_ext >&5
73198
73199 glibcxx_cv_func__finitef_use=no
73200 fi
73201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73202       ac_ext=c
73203 ac_cpp='$CPP $CPPFLAGS'
73204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73207
73208
73209 fi
73210
73211   fi
73212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73213 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73214
73215     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73216
73217 for ac_func in _finitef
73218 do
73219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73220 echo "$as_me:$LINENO: checking for $ac_func" >&5
73221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73222 if eval "test \"\${$as_ac_var+set}\" = set"; then
73223   echo $ECHO_N "(cached) $ECHO_C" >&6
73224 else
73225   if test x$gcc_no_link = xyes; then
73226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73228    { (exit 1); exit 1; }; }
73229 fi
73230 cat >conftest.$ac_ext <<_ACEOF
73231 /* confdefs.h.  */
73232 _ACEOF
73233 cat confdefs.h >>conftest.$ac_ext
73234 cat >>conftest.$ac_ext <<_ACEOF
73235 /* end confdefs.h.  */
73236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73238 #define $ac_func innocuous_$ac_func
73239
73240 /* System header to define __stub macros and hopefully few prototypes,
73241     which can conflict with char $ac_func (); below.
73242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73243     <limits.h> exists even on freestanding compilers.  */
73244
73245 #ifdef __STDC__
73246 # include <limits.h>
73247 #else
73248 # include <assert.h>
73249 #endif
73250
73251 #undef $ac_func
73252
73253 /* Override any gcc2 internal prototype to avoid an error.  */
73254 #ifdef __cplusplus
73255 extern "C"
73256 {
73257 #endif
73258 /* We use char because int might match the return type of a gcc2
73259    builtin and then its argument prototype would still apply.  */
73260 char $ac_func ();
73261 /* The GNU C library defines this for functions which it implements
73262     to always fail with ENOSYS.  Some functions are actually named
73263     something starting with __ and the normal name is an alias.  */
73264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73265 choke me
73266 #else
73267 char (*f) () = $ac_func;
73268 #endif
73269 #ifdef __cplusplus
73270 }
73271 #endif
73272
73273 int
73274 main ()
73275 {
73276 return f != $ac_func;
73277   ;
73278   return 0;
73279 }
73280 _ACEOF
73281 rm -f conftest.$ac_objext conftest$ac_exeext
73282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73283   (eval $ac_link) 2>conftest.er1
73284   ac_status=$?
73285   grep -v '^ *+' conftest.er1 >conftest.err
73286   rm -f conftest.er1
73287   cat conftest.err >&5
73288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73289   (exit $ac_status); } &&
73290          { ac_try='test -z "$ac_c_werror_flag"
73291                          || test ! -s conftest.err'
73292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73293   (eval $ac_try) 2>&5
73294   ac_status=$?
73295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73296   (exit $ac_status); }; } &&
73297          { ac_try='test -s conftest$ac_exeext'
73298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73299   (eval $ac_try) 2>&5
73300   ac_status=$?
73301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73302   (exit $ac_status); }; }; then
73303   eval "$as_ac_var=yes"
73304 else
73305   echo "$as_me: failed program was:" >&5
73306 sed 's/^/| /' conftest.$ac_ext >&5
73307
73308 eval "$as_ac_var=no"
73309 fi
73310 rm -f conftest.err conftest.$ac_objext \
73311       conftest$ac_exeext conftest.$ac_ext
73312 fi
73313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73315 if test `eval echo '${'$as_ac_var'}'` = yes; then
73316   cat >>confdefs.h <<_ACEOF
73317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73318 _ACEOF
73319
73320 fi
73321 done
73322
73323     fi
73324   fi
73325
73326
73327
73328
73329
73330
73331     echo "$as_me:$LINENO: checking for long double trig functions" >&5
73332 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
73333   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
73334   echo $ECHO_N "(cached) $ECHO_C" >&6
73335 else
73336
73337
73338
73339     ac_ext=cc
73340 ac_cpp='$CXXCPP $CPPFLAGS'
73341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73344
73345     cat >conftest.$ac_ext <<_ACEOF
73346 /* confdefs.h.  */
73347 _ACEOF
73348 cat confdefs.h >>conftest.$ac_ext
73349 cat >>conftest.$ac_ext <<_ACEOF
73350 /* end confdefs.h.  */
73351 #include <math.h>
73352 int
73353 main ()
73354 {
73355 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
73356   ;
73357   return 0;
73358 }
73359 _ACEOF
73360 rm -f conftest.$ac_objext
73361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73362   (eval $ac_compile) 2>conftest.er1
73363   ac_status=$?
73364   grep -v '^ *+' conftest.er1 >conftest.err
73365   rm -f conftest.er1
73366   cat conftest.err >&5
73367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73368   (exit $ac_status); } &&
73369          { ac_try='test -z "$ac_cxx_werror_flag"
73370                          || test ! -s conftest.err'
73371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73372   (eval $ac_try) 2>&5
73373   ac_status=$?
73374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73375   (exit $ac_status); }; } &&
73376          { ac_try='test -s conftest.$ac_objext'
73377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73378   (eval $ac_try) 2>&5
73379   ac_status=$?
73380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73381   (exit $ac_status); }; }; then
73382   glibcxx_cv_func_long_double_trig_use=yes
73383 else
73384   echo "$as_me: failed program was:" >&5
73385 sed 's/^/| /' conftest.$ac_ext >&5
73386
73387 glibcxx_cv_func_long_double_trig_use=no
73388 fi
73389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73390     ac_ext=c
73391 ac_cpp='$CPP $CPPFLAGS'
73392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73395
73396 fi
73397
73398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
73399 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
73400   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
73401
73402
73403
73404
73405
73406
73407
73408
73409
73410 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
73411 do
73412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73413 echo "$as_me:$LINENO: checking for $ac_func" >&5
73414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73415 if eval "test \"\${$as_ac_var+set}\" = set"; then
73416   echo $ECHO_N "(cached) $ECHO_C" >&6
73417 else
73418   if test x$gcc_no_link = xyes; then
73419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73421    { (exit 1); exit 1; }; }
73422 fi
73423 cat >conftest.$ac_ext <<_ACEOF
73424 /* confdefs.h.  */
73425 _ACEOF
73426 cat confdefs.h >>conftest.$ac_ext
73427 cat >>conftest.$ac_ext <<_ACEOF
73428 /* end confdefs.h.  */
73429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73431 #define $ac_func innocuous_$ac_func
73432
73433 /* System header to define __stub macros and hopefully few prototypes,
73434     which can conflict with char $ac_func (); below.
73435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73436     <limits.h> exists even on freestanding compilers.  */
73437
73438 #ifdef __STDC__
73439 # include <limits.h>
73440 #else
73441 # include <assert.h>
73442 #endif
73443
73444 #undef $ac_func
73445
73446 /* Override any gcc2 internal prototype to avoid an error.  */
73447 #ifdef __cplusplus
73448 extern "C"
73449 {
73450 #endif
73451 /* We use char because int might match the return type of a gcc2
73452    builtin and then its argument prototype would still apply.  */
73453 char $ac_func ();
73454 /* The GNU C library defines this for functions which it implements
73455     to always fail with ENOSYS.  Some functions are actually named
73456     something starting with __ and the normal name is an alias.  */
73457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73458 choke me
73459 #else
73460 char (*f) () = $ac_func;
73461 #endif
73462 #ifdef __cplusplus
73463 }
73464 #endif
73465
73466 int
73467 main ()
73468 {
73469 return f != $ac_func;
73470   ;
73471   return 0;
73472 }
73473 _ACEOF
73474 rm -f conftest.$ac_objext conftest$ac_exeext
73475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73476   (eval $ac_link) 2>conftest.er1
73477   ac_status=$?
73478   grep -v '^ *+' conftest.er1 >conftest.err
73479   rm -f conftest.er1
73480   cat conftest.err >&5
73481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482   (exit $ac_status); } &&
73483          { ac_try='test -z "$ac_c_werror_flag"
73484                          || test ! -s conftest.err'
73485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73486   (eval $ac_try) 2>&5
73487   ac_status=$?
73488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489   (exit $ac_status); }; } &&
73490          { ac_try='test -s conftest$ac_exeext'
73491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73492   (eval $ac_try) 2>&5
73493   ac_status=$?
73494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495   (exit $ac_status); }; }; then
73496   eval "$as_ac_var=yes"
73497 else
73498   echo "$as_me: failed program was:" >&5
73499 sed 's/^/| /' conftest.$ac_ext >&5
73500
73501 eval "$as_ac_var=no"
73502 fi
73503 rm -f conftest.err conftest.$ac_objext \
73504       conftest$ac_exeext conftest.$ac_ext
73505 fi
73506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73508 if test `eval echo '${'$as_ac_var'}'` = yes; then
73509   cat >>confdefs.h <<_ACEOF
73510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73511 _ACEOF
73512
73513 fi
73514 done
73515
73516   else
73517     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
73518 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
73519     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
73520   echo $ECHO_N "(cached) $ECHO_C" >&6
73521 else
73522
73523
73524
73525       ac_ext=cc
73526 ac_cpp='$CXXCPP $CPPFLAGS'
73527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73530
73531       cat >conftest.$ac_ext <<_ACEOF
73532 /* confdefs.h.  */
73533 _ACEOF
73534 cat confdefs.h >>conftest.$ac_ext
73535 cat >>conftest.$ac_ext <<_ACEOF
73536 /* end confdefs.h.  */
73537 #include <math.h>
73538 int
73539 main ()
73540 {
73541 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
73542   ;
73543   return 0;
73544 }
73545 _ACEOF
73546 rm -f conftest.$ac_objext
73547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73548   (eval $ac_compile) 2>conftest.er1
73549   ac_status=$?
73550   grep -v '^ *+' conftest.er1 >conftest.err
73551   rm -f conftest.er1
73552   cat conftest.err >&5
73553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73554   (exit $ac_status); } &&
73555          { ac_try='test -z "$ac_cxx_werror_flag"
73556                          || test ! -s conftest.err'
73557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73558   (eval $ac_try) 2>&5
73559   ac_status=$?
73560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73561   (exit $ac_status); }; } &&
73562          { ac_try='test -s conftest.$ac_objext'
73563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73564   (eval $ac_try) 2>&5
73565   ac_status=$?
73566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73567   (exit $ac_status); }; }; then
73568   glibcxx_cv_func__long_double_trig_use=yes
73569 else
73570   echo "$as_me: failed program was:" >&5
73571 sed 's/^/| /' conftest.$ac_ext >&5
73572
73573 glibcxx_cv_func__long_double_trig_use=no
73574 fi
73575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73576       ac_ext=c
73577 ac_cpp='$CPP $CPPFLAGS'
73578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73581
73582 fi
73583
73584     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
73585 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
73586     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
73587
73588
73589
73590
73591
73592
73593
73594
73595
73596 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
73597 do
73598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73599 echo "$as_me:$LINENO: checking for $ac_func" >&5
73600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73601 if eval "test \"\${$as_ac_var+set}\" = set"; then
73602   echo $ECHO_N "(cached) $ECHO_C" >&6
73603 else
73604   if test x$gcc_no_link = xyes; then
73605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73607    { (exit 1); exit 1; }; }
73608 fi
73609 cat >conftest.$ac_ext <<_ACEOF
73610 /* confdefs.h.  */
73611 _ACEOF
73612 cat confdefs.h >>conftest.$ac_ext
73613 cat >>conftest.$ac_ext <<_ACEOF
73614 /* end confdefs.h.  */
73615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73617 #define $ac_func innocuous_$ac_func
73618
73619 /* System header to define __stub macros and hopefully few prototypes,
73620     which can conflict with char $ac_func (); below.
73621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73622     <limits.h> exists even on freestanding compilers.  */
73623
73624 #ifdef __STDC__
73625 # include <limits.h>
73626 #else
73627 # include <assert.h>
73628 #endif
73629
73630 #undef $ac_func
73631
73632 /* Override any gcc2 internal prototype to avoid an error.  */
73633 #ifdef __cplusplus
73634 extern "C"
73635 {
73636 #endif
73637 /* We use char because int might match the return type of a gcc2
73638    builtin and then its argument prototype would still apply.  */
73639 char $ac_func ();
73640 /* The GNU C library defines this for functions which it implements
73641     to always fail with ENOSYS.  Some functions are actually named
73642     something starting with __ and the normal name is an alias.  */
73643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73644 choke me
73645 #else
73646 char (*f) () = $ac_func;
73647 #endif
73648 #ifdef __cplusplus
73649 }
73650 #endif
73651
73652 int
73653 main ()
73654 {
73655 return f != $ac_func;
73656   ;
73657   return 0;
73658 }
73659 _ACEOF
73660 rm -f conftest.$ac_objext conftest$ac_exeext
73661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73662   (eval $ac_link) 2>conftest.er1
73663   ac_status=$?
73664   grep -v '^ *+' conftest.er1 >conftest.err
73665   rm -f conftest.er1
73666   cat conftest.err >&5
73667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73668   (exit $ac_status); } &&
73669          { ac_try='test -z "$ac_c_werror_flag"
73670                          || test ! -s conftest.err'
73671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73672   (eval $ac_try) 2>&5
73673   ac_status=$?
73674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73675   (exit $ac_status); }; } &&
73676          { ac_try='test -s conftest$ac_exeext'
73677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73678   (eval $ac_try) 2>&5
73679   ac_status=$?
73680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73681   (exit $ac_status); }; }; then
73682   eval "$as_ac_var=yes"
73683 else
73684   echo "$as_me: failed program was:" >&5
73685 sed 's/^/| /' conftest.$ac_ext >&5
73686
73687 eval "$as_ac_var=no"
73688 fi
73689 rm -f conftest.err conftest.$ac_objext \
73690       conftest$ac_exeext conftest.$ac_ext
73691 fi
73692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73694 if test `eval echo '${'$as_ac_var'}'` = yes; then
73695   cat >>confdefs.h <<_ACEOF
73696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73697 _ACEOF
73698
73699 fi
73700 done
73701
73702     fi
73703   fi
73704
73705
73706
73707
73708
73709
73710
73711
73712
73713
73714
73715
73716
73717
73718     echo "$as_me:$LINENO: checking for long double round functions" >&5
73719 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
73720   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
73721   echo $ECHO_N "(cached) $ECHO_C" >&6
73722 else
73723
73724
73725
73726     ac_ext=cc
73727 ac_cpp='$CXXCPP $CPPFLAGS'
73728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73731
73732     cat >conftest.$ac_ext <<_ACEOF
73733 /* confdefs.h.  */
73734 _ACEOF
73735 cat confdefs.h >>conftest.$ac_ext
73736 cat >>conftest.$ac_ext <<_ACEOF
73737 /* end confdefs.h.  */
73738 #include <math.h>
73739 int
73740 main ()
73741 {
73742 ceill (0); floorl (0);
73743   ;
73744   return 0;
73745 }
73746 _ACEOF
73747 rm -f conftest.$ac_objext
73748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73749   (eval $ac_compile) 2>conftest.er1
73750   ac_status=$?
73751   grep -v '^ *+' conftest.er1 >conftest.err
73752   rm -f conftest.er1
73753   cat conftest.err >&5
73754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73755   (exit $ac_status); } &&
73756          { ac_try='test -z "$ac_cxx_werror_flag"
73757                          || test ! -s conftest.err'
73758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73759   (eval $ac_try) 2>&5
73760   ac_status=$?
73761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73762   (exit $ac_status); }; } &&
73763          { ac_try='test -s conftest.$ac_objext'
73764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73765   (eval $ac_try) 2>&5
73766   ac_status=$?
73767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73768   (exit $ac_status); }; }; then
73769   glibcxx_cv_func_long_double_round_use=yes
73770 else
73771   echo "$as_me: failed program was:" >&5
73772 sed 's/^/| /' conftest.$ac_ext >&5
73773
73774 glibcxx_cv_func_long_double_round_use=no
73775 fi
73776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73777     ac_ext=c
73778 ac_cpp='$CPP $CPPFLAGS'
73779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73782
73783 fi
73784
73785   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
73786 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
73787   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
73788
73789
73790 for ac_func in ceill floorl
73791 do
73792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73793 echo "$as_me:$LINENO: checking for $ac_func" >&5
73794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73795 if eval "test \"\${$as_ac_var+set}\" = set"; then
73796   echo $ECHO_N "(cached) $ECHO_C" >&6
73797 else
73798   if test x$gcc_no_link = xyes; then
73799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73801    { (exit 1); exit 1; }; }
73802 fi
73803 cat >conftest.$ac_ext <<_ACEOF
73804 /* confdefs.h.  */
73805 _ACEOF
73806 cat confdefs.h >>conftest.$ac_ext
73807 cat >>conftest.$ac_ext <<_ACEOF
73808 /* end confdefs.h.  */
73809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73810    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73811 #define $ac_func innocuous_$ac_func
73812
73813 /* System header to define __stub macros and hopefully few prototypes,
73814     which can conflict with char $ac_func (); below.
73815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73816     <limits.h> exists even on freestanding compilers.  */
73817
73818 #ifdef __STDC__
73819 # include <limits.h>
73820 #else
73821 # include <assert.h>
73822 #endif
73823
73824 #undef $ac_func
73825
73826 /* Override any gcc2 internal prototype to avoid an error.  */
73827 #ifdef __cplusplus
73828 extern "C"
73829 {
73830 #endif
73831 /* We use char because int might match the return type of a gcc2
73832    builtin and then its argument prototype would still apply.  */
73833 char $ac_func ();
73834 /* The GNU C library defines this for functions which it implements
73835     to always fail with ENOSYS.  Some functions are actually named
73836     something starting with __ and the normal name is an alias.  */
73837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73838 choke me
73839 #else
73840 char (*f) () = $ac_func;
73841 #endif
73842 #ifdef __cplusplus
73843 }
73844 #endif
73845
73846 int
73847 main ()
73848 {
73849 return f != $ac_func;
73850   ;
73851   return 0;
73852 }
73853 _ACEOF
73854 rm -f conftest.$ac_objext conftest$ac_exeext
73855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73856   (eval $ac_link) 2>conftest.er1
73857   ac_status=$?
73858   grep -v '^ *+' conftest.er1 >conftest.err
73859   rm -f conftest.er1
73860   cat conftest.err >&5
73861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73862   (exit $ac_status); } &&
73863          { ac_try='test -z "$ac_c_werror_flag"
73864                          || test ! -s conftest.err'
73865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73866   (eval $ac_try) 2>&5
73867   ac_status=$?
73868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73869   (exit $ac_status); }; } &&
73870          { ac_try='test -s conftest$ac_exeext'
73871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73872   (eval $ac_try) 2>&5
73873   ac_status=$?
73874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73875   (exit $ac_status); }; }; then
73876   eval "$as_ac_var=yes"
73877 else
73878   echo "$as_me: failed program was:" >&5
73879 sed 's/^/| /' conftest.$ac_ext >&5
73880
73881 eval "$as_ac_var=no"
73882 fi
73883 rm -f conftest.err conftest.$ac_objext \
73884       conftest$ac_exeext conftest.$ac_ext
73885 fi
73886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73888 if test `eval echo '${'$as_ac_var'}'` = yes; then
73889   cat >>confdefs.h <<_ACEOF
73890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73891 _ACEOF
73892
73893 fi
73894 done
73895
73896   else
73897     echo "$as_me:$LINENO: checking for _long double round functions" >&5
73898 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
73899     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
73900   echo $ECHO_N "(cached) $ECHO_C" >&6
73901 else
73902
73903
73904
73905       ac_ext=cc
73906 ac_cpp='$CXXCPP $CPPFLAGS'
73907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73910
73911       cat >conftest.$ac_ext <<_ACEOF
73912 /* confdefs.h.  */
73913 _ACEOF
73914 cat confdefs.h >>conftest.$ac_ext
73915 cat >>conftest.$ac_ext <<_ACEOF
73916 /* end confdefs.h.  */
73917 #include <math.h>
73918 int
73919 main ()
73920 {
73921 _ceill (0); _floorl (0);
73922   ;
73923   return 0;
73924 }
73925 _ACEOF
73926 rm -f conftest.$ac_objext
73927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73928   (eval $ac_compile) 2>conftest.er1
73929   ac_status=$?
73930   grep -v '^ *+' conftest.er1 >conftest.err
73931   rm -f conftest.er1
73932   cat conftest.err >&5
73933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73934   (exit $ac_status); } &&
73935          { ac_try='test -z "$ac_cxx_werror_flag"
73936                          || test ! -s conftest.err'
73937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73938   (eval $ac_try) 2>&5
73939   ac_status=$?
73940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73941   (exit $ac_status); }; } &&
73942          { ac_try='test -s conftest.$ac_objext'
73943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73944   (eval $ac_try) 2>&5
73945   ac_status=$?
73946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73947   (exit $ac_status); }; }; then
73948   glibcxx_cv_func__long_double_round_use=yes
73949 else
73950   echo "$as_me: failed program was:" >&5
73951 sed 's/^/| /' conftest.$ac_ext >&5
73952
73953 glibcxx_cv_func__long_double_round_use=no
73954 fi
73955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73956       ac_ext=c
73957 ac_cpp='$CPP $CPPFLAGS'
73958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73961
73962 fi
73963
73964     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
73965 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
73966     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
73967
73968
73969 for ac_func in _ceill _floorl
73970 do
73971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73972 echo "$as_me:$LINENO: checking for $ac_func" >&5
73973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73974 if eval "test \"\${$as_ac_var+set}\" = set"; then
73975   echo $ECHO_N "(cached) $ECHO_C" >&6
73976 else
73977   if test x$gcc_no_link = xyes; then
73978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73980    { (exit 1); exit 1; }; }
73981 fi
73982 cat >conftest.$ac_ext <<_ACEOF
73983 /* confdefs.h.  */
73984 _ACEOF
73985 cat confdefs.h >>conftest.$ac_ext
73986 cat >>conftest.$ac_ext <<_ACEOF
73987 /* end confdefs.h.  */
73988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73990 #define $ac_func innocuous_$ac_func
73991
73992 /* System header to define __stub macros and hopefully few prototypes,
73993     which can conflict with char $ac_func (); below.
73994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73995     <limits.h> exists even on freestanding compilers.  */
73996
73997 #ifdef __STDC__
73998 # include <limits.h>
73999 #else
74000 # include <assert.h>
74001 #endif
74002
74003 #undef $ac_func
74004
74005 /* Override any gcc2 internal prototype to avoid an error.  */
74006 #ifdef __cplusplus
74007 extern "C"
74008 {
74009 #endif
74010 /* We use char because int might match the return type of a gcc2
74011    builtin and then its argument prototype would still apply.  */
74012 char $ac_func ();
74013 /* The GNU C library defines this for functions which it implements
74014     to always fail with ENOSYS.  Some functions are actually named
74015     something starting with __ and the normal name is an alias.  */
74016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74017 choke me
74018 #else
74019 char (*f) () = $ac_func;
74020 #endif
74021 #ifdef __cplusplus
74022 }
74023 #endif
74024
74025 int
74026 main ()
74027 {
74028 return f != $ac_func;
74029   ;
74030   return 0;
74031 }
74032 _ACEOF
74033 rm -f conftest.$ac_objext conftest$ac_exeext
74034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74035   (eval $ac_link) 2>conftest.er1
74036   ac_status=$?
74037   grep -v '^ *+' conftest.er1 >conftest.err
74038   rm -f conftest.er1
74039   cat conftest.err >&5
74040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74041   (exit $ac_status); } &&
74042          { ac_try='test -z "$ac_c_werror_flag"
74043                          || test ! -s conftest.err'
74044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74045   (eval $ac_try) 2>&5
74046   ac_status=$?
74047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74048   (exit $ac_status); }; } &&
74049          { ac_try='test -s conftest$ac_exeext'
74050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74051   (eval $ac_try) 2>&5
74052   ac_status=$?
74053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74054   (exit $ac_status); }; }; then
74055   eval "$as_ac_var=yes"
74056 else
74057   echo "$as_me: failed program was:" >&5
74058 sed 's/^/| /' conftest.$ac_ext >&5
74059
74060 eval "$as_ac_var=no"
74061 fi
74062 rm -f conftest.err conftest.$ac_objext \
74063       conftest$ac_exeext conftest.$ac_ext
74064 fi
74065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74067 if test `eval echo '${'$as_ac_var'}'` = yes; then
74068   cat >>confdefs.h <<_ACEOF
74069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74070 _ACEOF
74071
74072 fi
74073 done
74074
74075     fi
74076   fi
74077
74078
74079
74080
74081
74082
74083
74084
74085   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74086 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74087   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74088     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74089   echo $ECHO_N "(cached) $ECHO_C" >&6
74090 else
74091
74092
74093
74094       ac_ext=cc
74095 ac_cpp='$CXXCPP $CPPFLAGS'
74096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74099
74100       cat >conftest.$ac_ext <<_ACEOF
74101 /* confdefs.h.  */
74102 _ACEOF
74103 cat confdefs.h >>conftest.$ac_ext
74104 cat >>conftest.$ac_ext <<_ACEOF
74105 /* end confdefs.h.  */
74106 #include <math.h>
74107                       #ifdef HAVE_IEEEFP_H
74108                       #include <ieeefp.h>
74109                       #endif
74110
74111 int
74112 main ()
74113 {
74114  isnanl(0);
74115   ;
74116   return 0;
74117 }
74118 _ACEOF
74119 rm -f conftest.$ac_objext
74120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74121   (eval $ac_compile) 2>conftest.er1
74122   ac_status=$?
74123   grep -v '^ *+' conftest.er1 >conftest.err
74124   rm -f conftest.er1
74125   cat conftest.err >&5
74126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74127   (exit $ac_status); } &&
74128          { ac_try='test -z "$ac_cxx_werror_flag"
74129                          || test ! -s conftest.err'
74130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74131   (eval $ac_try) 2>&5
74132   ac_status=$?
74133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74134   (exit $ac_status); }; } &&
74135          { ac_try='test -s conftest.$ac_objext'
74136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74137   (eval $ac_try) 2>&5
74138   ac_status=$?
74139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74140   (exit $ac_status); }; }; then
74141   glibcxx_cv_func_isnanl_use=yes
74142 else
74143   echo "$as_me: failed program was:" >&5
74144 sed 's/^/| /' conftest.$ac_ext >&5
74145
74146 glibcxx_cv_func_isnanl_use=no
74147 fi
74148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74149       ac_ext=c
74150 ac_cpp='$CPP $CPPFLAGS'
74151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74154
74155
74156 fi
74157
74158   fi
74159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74160 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74161
74162   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74163
74164 for ac_func in isnanl
74165 do
74166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74167 echo "$as_me:$LINENO: checking for $ac_func" >&5
74168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74169 if eval "test \"\${$as_ac_var+set}\" = set"; then
74170   echo $ECHO_N "(cached) $ECHO_C" >&6
74171 else
74172   if test x$gcc_no_link = xyes; then
74173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74175    { (exit 1); exit 1; }; }
74176 fi
74177 cat >conftest.$ac_ext <<_ACEOF
74178 /* confdefs.h.  */
74179 _ACEOF
74180 cat confdefs.h >>conftest.$ac_ext
74181 cat >>conftest.$ac_ext <<_ACEOF
74182 /* end confdefs.h.  */
74183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74185 #define $ac_func innocuous_$ac_func
74186
74187 /* System header to define __stub macros and hopefully few prototypes,
74188     which can conflict with char $ac_func (); below.
74189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74190     <limits.h> exists even on freestanding compilers.  */
74191
74192 #ifdef __STDC__
74193 # include <limits.h>
74194 #else
74195 # include <assert.h>
74196 #endif
74197
74198 #undef $ac_func
74199
74200 /* Override any gcc2 internal prototype to avoid an error.  */
74201 #ifdef __cplusplus
74202 extern "C"
74203 {
74204 #endif
74205 /* We use char because int might match the return type of a gcc2
74206    builtin and then its argument prototype would still apply.  */
74207 char $ac_func ();
74208 /* The GNU C library defines this for functions which it implements
74209     to always fail with ENOSYS.  Some functions are actually named
74210     something starting with __ and the normal name is an alias.  */
74211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74212 choke me
74213 #else
74214 char (*f) () = $ac_func;
74215 #endif
74216 #ifdef __cplusplus
74217 }
74218 #endif
74219
74220 int
74221 main ()
74222 {
74223 return f != $ac_func;
74224   ;
74225   return 0;
74226 }
74227 _ACEOF
74228 rm -f conftest.$ac_objext conftest$ac_exeext
74229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74230   (eval $ac_link) 2>conftest.er1
74231   ac_status=$?
74232   grep -v '^ *+' conftest.er1 >conftest.err
74233   rm -f conftest.er1
74234   cat conftest.err >&5
74235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74236   (exit $ac_status); } &&
74237          { ac_try='test -z "$ac_c_werror_flag"
74238                          || test ! -s conftest.err'
74239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74240   (eval $ac_try) 2>&5
74241   ac_status=$?
74242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74243   (exit $ac_status); }; } &&
74244          { ac_try='test -s conftest$ac_exeext'
74245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74246   (eval $ac_try) 2>&5
74247   ac_status=$?
74248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74249   (exit $ac_status); }; }; then
74250   eval "$as_ac_var=yes"
74251 else
74252   echo "$as_me: failed program was:" >&5
74253 sed 's/^/| /' conftest.$ac_ext >&5
74254
74255 eval "$as_ac_var=no"
74256 fi
74257 rm -f conftest.err conftest.$ac_objext \
74258       conftest$ac_exeext conftest.$ac_ext
74259 fi
74260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74262 if test `eval echo '${'$as_ac_var'}'` = yes; then
74263   cat >>confdefs.h <<_ACEOF
74264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74265 _ACEOF
74266
74267 fi
74268 done
74269
74270   else
74271
74272   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
74273 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
74274   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74275     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
74276   echo $ECHO_N "(cached) $ECHO_C" >&6
74277 else
74278
74279
74280
74281       ac_ext=cc
74282 ac_cpp='$CXXCPP $CPPFLAGS'
74283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74286
74287       cat >conftest.$ac_ext <<_ACEOF
74288 /* confdefs.h.  */
74289 _ACEOF
74290 cat confdefs.h >>conftest.$ac_ext
74291 cat >>conftest.$ac_ext <<_ACEOF
74292 /* end confdefs.h.  */
74293 #include <math.h>
74294                       #ifdef HAVE_IEEEFP_H
74295                       #include <ieeefp.h>
74296                       #endif
74297
74298 int
74299 main ()
74300 {
74301  _isnanl(0);
74302   ;
74303   return 0;
74304 }
74305 _ACEOF
74306 rm -f conftest.$ac_objext
74307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74308   (eval $ac_compile) 2>conftest.er1
74309   ac_status=$?
74310   grep -v '^ *+' conftest.er1 >conftest.err
74311   rm -f conftest.er1
74312   cat conftest.err >&5
74313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74314   (exit $ac_status); } &&
74315          { ac_try='test -z "$ac_cxx_werror_flag"
74316                          || test ! -s conftest.err'
74317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74318   (eval $ac_try) 2>&5
74319   ac_status=$?
74320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74321   (exit $ac_status); }; } &&
74322          { ac_try='test -s conftest.$ac_objext'
74323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74324   (eval $ac_try) 2>&5
74325   ac_status=$?
74326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74327   (exit $ac_status); }; }; then
74328   glibcxx_cv_func__isnanl_use=yes
74329 else
74330   echo "$as_me: failed program was:" >&5
74331 sed 's/^/| /' conftest.$ac_ext >&5
74332
74333 glibcxx_cv_func__isnanl_use=no
74334 fi
74335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74336       ac_ext=c
74337 ac_cpp='$CPP $CPPFLAGS'
74338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74341
74342
74343 fi
74344
74345   fi
74346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
74347 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
74348
74349     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74350
74351 for ac_func in _isnanl
74352 do
74353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74354 echo "$as_me:$LINENO: checking for $ac_func" >&5
74355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74356 if eval "test \"\${$as_ac_var+set}\" = set"; then
74357   echo $ECHO_N "(cached) $ECHO_C" >&6
74358 else
74359   if test x$gcc_no_link = xyes; then
74360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74362    { (exit 1); exit 1; }; }
74363 fi
74364 cat >conftest.$ac_ext <<_ACEOF
74365 /* confdefs.h.  */
74366 _ACEOF
74367 cat confdefs.h >>conftest.$ac_ext
74368 cat >>conftest.$ac_ext <<_ACEOF
74369 /* end confdefs.h.  */
74370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74372 #define $ac_func innocuous_$ac_func
74373
74374 /* System header to define __stub macros and hopefully few prototypes,
74375     which can conflict with char $ac_func (); below.
74376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74377     <limits.h> exists even on freestanding compilers.  */
74378
74379 #ifdef __STDC__
74380 # include <limits.h>
74381 #else
74382 # include <assert.h>
74383 #endif
74384
74385 #undef $ac_func
74386
74387 /* Override any gcc2 internal prototype to avoid an error.  */
74388 #ifdef __cplusplus
74389 extern "C"
74390 {
74391 #endif
74392 /* We use char because int might match the return type of a gcc2
74393    builtin and then its argument prototype would still apply.  */
74394 char $ac_func ();
74395 /* The GNU C library defines this for functions which it implements
74396     to always fail with ENOSYS.  Some functions are actually named
74397     something starting with __ and the normal name is an alias.  */
74398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74399 choke me
74400 #else
74401 char (*f) () = $ac_func;
74402 #endif
74403 #ifdef __cplusplus
74404 }
74405 #endif
74406
74407 int
74408 main ()
74409 {
74410 return f != $ac_func;
74411   ;
74412   return 0;
74413 }
74414 _ACEOF
74415 rm -f conftest.$ac_objext conftest$ac_exeext
74416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74417   (eval $ac_link) 2>conftest.er1
74418   ac_status=$?
74419   grep -v '^ *+' conftest.er1 >conftest.err
74420   rm -f conftest.er1
74421   cat conftest.err >&5
74422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74423   (exit $ac_status); } &&
74424          { ac_try='test -z "$ac_c_werror_flag"
74425                          || test ! -s conftest.err'
74426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74427   (eval $ac_try) 2>&5
74428   ac_status=$?
74429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430   (exit $ac_status); }; } &&
74431          { ac_try='test -s conftest$ac_exeext'
74432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74433   (eval $ac_try) 2>&5
74434   ac_status=$?
74435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74436   (exit $ac_status); }; }; then
74437   eval "$as_ac_var=yes"
74438 else
74439   echo "$as_me: failed program was:" >&5
74440 sed 's/^/| /' conftest.$ac_ext >&5
74441
74442 eval "$as_ac_var=no"
74443 fi
74444 rm -f conftest.err conftest.$ac_objext \
74445       conftest$ac_exeext conftest.$ac_ext
74446 fi
74447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74449 if test `eval echo '${'$as_ac_var'}'` = yes; then
74450   cat >>confdefs.h <<_ACEOF
74451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74452 _ACEOF
74453
74454 fi
74455 done
74456
74457     fi
74458   fi
74459
74460
74461
74462
74463
74464
74465   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
74466 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
74467   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74468     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
74469   echo $ECHO_N "(cached) $ECHO_C" >&6
74470 else
74471
74472
74473
74474       ac_ext=cc
74475 ac_cpp='$CXXCPP $CPPFLAGS'
74476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74479
74480       cat >conftest.$ac_ext <<_ACEOF
74481 /* confdefs.h.  */
74482 _ACEOF
74483 cat confdefs.h >>conftest.$ac_ext
74484 cat >>conftest.$ac_ext <<_ACEOF
74485 /* end confdefs.h.  */
74486 #include <math.h>
74487                       #ifdef HAVE_IEEEFP_H
74488                       #include <ieeefp.h>
74489                       #endif
74490
74491 int
74492 main ()
74493 {
74494  isinfl(0);
74495   ;
74496   return 0;
74497 }
74498 _ACEOF
74499 rm -f conftest.$ac_objext
74500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74501   (eval $ac_compile) 2>conftest.er1
74502   ac_status=$?
74503   grep -v '^ *+' conftest.er1 >conftest.err
74504   rm -f conftest.er1
74505   cat conftest.err >&5
74506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507   (exit $ac_status); } &&
74508          { ac_try='test -z "$ac_cxx_werror_flag"
74509                          || test ! -s conftest.err'
74510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74511   (eval $ac_try) 2>&5
74512   ac_status=$?
74513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514   (exit $ac_status); }; } &&
74515          { ac_try='test -s conftest.$ac_objext'
74516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74517   (eval $ac_try) 2>&5
74518   ac_status=$?
74519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74520   (exit $ac_status); }; }; then
74521   glibcxx_cv_func_isinfl_use=yes
74522 else
74523   echo "$as_me: failed program was:" >&5
74524 sed 's/^/| /' conftest.$ac_ext >&5
74525
74526 glibcxx_cv_func_isinfl_use=no
74527 fi
74528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74529       ac_ext=c
74530 ac_cpp='$CPP $CPPFLAGS'
74531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74534
74535
74536 fi
74537
74538   fi
74539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
74540 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
74541
74542   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74543
74544 for ac_func in isinfl
74545 do
74546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74547 echo "$as_me:$LINENO: checking for $ac_func" >&5
74548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74549 if eval "test \"\${$as_ac_var+set}\" = set"; then
74550   echo $ECHO_N "(cached) $ECHO_C" >&6
74551 else
74552   if test x$gcc_no_link = xyes; then
74553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74555    { (exit 1); exit 1; }; }
74556 fi
74557 cat >conftest.$ac_ext <<_ACEOF
74558 /* confdefs.h.  */
74559 _ACEOF
74560 cat confdefs.h >>conftest.$ac_ext
74561 cat >>conftest.$ac_ext <<_ACEOF
74562 /* end confdefs.h.  */
74563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74565 #define $ac_func innocuous_$ac_func
74566
74567 /* System header to define __stub macros and hopefully few prototypes,
74568     which can conflict with char $ac_func (); below.
74569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74570     <limits.h> exists even on freestanding compilers.  */
74571
74572 #ifdef __STDC__
74573 # include <limits.h>
74574 #else
74575 # include <assert.h>
74576 #endif
74577
74578 #undef $ac_func
74579
74580 /* Override any gcc2 internal prototype to avoid an error.  */
74581 #ifdef __cplusplus
74582 extern "C"
74583 {
74584 #endif
74585 /* We use char because int might match the return type of a gcc2
74586    builtin and then its argument prototype would still apply.  */
74587 char $ac_func ();
74588 /* The GNU C library defines this for functions which it implements
74589     to always fail with ENOSYS.  Some functions are actually named
74590     something starting with __ and the normal name is an alias.  */
74591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74592 choke me
74593 #else
74594 char (*f) () = $ac_func;
74595 #endif
74596 #ifdef __cplusplus
74597 }
74598 #endif
74599
74600 int
74601 main ()
74602 {
74603 return f != $ac_func;
74604   ;
74605   return 0;
74606 }
74607 _ACEOF
74608 rm -f conftest.$ac_objext conftest$ac_exeext
74609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74610   (eval $ac_link) 2>conftest.er1
74611   ac_status=$?
74612   grep -v '^ *+' conftest.er1 >conftest.err
74613   rm -f conftest.er1
74614   cat conftest.err >&5
74615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74616   (exit $ac_status); } &&
74617          { ac_try='test -z "$ac_c_werror_flag"
74618                          || test ! -s conftest.err'
74619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74620   (eval $ac_try) 2>&5
74621   ac_status=$?
74622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74623   (exit $ac_status); }; } &&
74624          { ac_try='test -s conftest$ac_exeext'
74625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74626   (eval $ac_try) 2>&5
74627   ac_status=$?
74628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74629   (exit $ac_status); }; }; then
74630   eval "$as_ac_var=yes"
74631 else
74632   echo "$as_me: failed program was:" >&5
74633 sed 's/^/| /' conftest.$ac_ext >&5
74634
74635 eval "$as_ac_var=no"
74636 fi
74637 rm -f conftest.err conftest.$ac_objext \
74638       conftest$ac_exeext conftest.$ac_ext
74639 fi
74640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74642 if test `eval echo '${'$as_ac_var'}'` = yes; then
74643   cat >>confdefs.h <<_ACEOF
74644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74645 _ACEOF
74646
74647 fi
74648 done
74649
74650   else
74651
74652   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
74653 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
74654   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74655     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
74656   echo $ECHO_N "(cached) $ECHO_C" >&6
74657 else
74658
74659
74660
74661       ac_ext=cc
74662 ac_cpp='$CXXCPP $CPPFLAGS'
74663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74666
74667       cat >conftest.$ac_ext <<_ACEOF
74668 /* confdefs.h.  */
74669 _ACEOF
74670 cat confdefs.h >>conftest.$ac_ext
74671 cat >>conftest.$ac_ext <<_ACEOF
74672 /* end confdefs.h.  */
74673 #include <math.h>
74674                       #ifdef HAVE_IEEEFP_H
74675                       #include <ieeefp.h>
74676                       #endif
74677
74678 int
74679 main ()
74680 {
74681  _isinfl(0);
74682   ;
74683   return 0;
74684 }
74685 _ACEOF
74686 rm -f conftest.$ac_objext
74687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74688   (eval $ac_compile) 2>conftest.er1
74689   ac_status=$?
74690   grep -v '^ *+' conftest.er1 >conftest.err
74691   rm -f conftest.er1
74692   cat conftest.err >&5
74693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74694   (exit $ac_status); } &&
74695          { ac_try='test -z "$ac_cxx_werror_flag"
74696                          || test ! -s conftest.err'
74697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74698   (eval $ac_try) 2>&5
74699   ac_status=$?
74700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74701   (exit $ac_status); }; } &&
74702          { ac_try='test -s conftest.$ac_objext'
74703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74704   (eval $ac_try) 2>&5
74705   ac_status=$?
74706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74707   (exit $ac_status); }; }; then
74708   glibcxx_cv_func__isinfl_use=yes
74709 else
74710   echo "$as_me: failed program was:" >&5
74711 sed 's/^/| /' conftest.$ac_ext >&5
74712
74713 glibcxx_cv_func__isinfl_use=no
74714 fi
74715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74716       ac_ext=c
74717 ac_cpp='$CPP $CPPFLAGS'
74718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74721
74722
74723 fi
74724
74725   fi
74726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
74727 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
74728
74729     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
74730
74731 for ac_func in _isinfl
74732 do
74733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74734 echo "$as_me:$LINENO: checking for $ac_func" >&5
74735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74736 if eval "test \"\${$as_ac_var+set}\" = set"; then
74737   echo $ECHO_N "(cached) $ECHO_C" >&6
74738 else
74739   if test x$gcc_no_link = xyes; then
74740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74742    { (exit 1); exit 1; }; }
74743 fi
74744 cat >conftest.$ac_ext <<_ACEOF
74745 /* confdefs.h.  */
74746 _ACEOF
74747 cat confdefs.h >>conftest.$ac_ext
74748 cat >>conftest.$ac_ext <<_ACEOF
74749 /* end confdefs.h.  */
74750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74752 #define $ac_func innocuous_$ac_func
74753
74754 /* System header to define __stub macros and hopefully few prototypes,
74755     which can conflict with char $ac_func (); below.
74756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74757     <limits.h> exists even on freestanding compilers.  */
74758
74759 #ifdef __STDC__
74760 # include <limits.h>
74761 #else
74762 # include <assert.h>
74763 #endif
74764
74765 #undef $ac_func
74766
74767 /* Override any gcc2 internal prototype to avoid an error.  */
74768 #ifdef __cplusplus
74769 extern "C"
74770 {
74771 #endif
74772 /* We use char because int might match the return type of a gcc2
74773    builtin and then its argument prototype would still apply.  */
74774 char $ac_func ();
74775 /* The GNU C library defines this for functions which it implements
74776     to always fail with ENOSYS.  Some functions are actually named
74777     something starting with __ and the normal name is an alias.  */
74778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74779 choke me
74780 #else
74781 char (*f) () = $ac_func;
74782 #endif
74783 #ifdef __cplusplus
74784 }
74785 #endif
74786
74787 int
74788 main ()
74789 {
74790 return f != $ac_func;
74791   ;
74792   return 0;
74793 }
74794 _ACEOF
74795 rm -f conftest.$ac_objext conftest$ac_exeext
74796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74797   (eval $ac_link) 2>conftest.er1
74798   ac_status=$?
74799   grep -v '^ *+' conftest.er1 >conftest.err
74800   rm -f conftest.er1
74801   cat conftest.err >&5
74802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74803   (exit $ac_status); } &&
74804          { ac_try='test -z "$ac_c_werror_flag"
74805                          || test ! -s conftest.err'
74806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74807   (eval $ac_try) 2>&5
74808   ac_status=$?
74809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74810   (exit $ac_status); }; } &&
74811          { ac_try='test -s conftest$ac_exeext'
74812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74813   (eval $ac_try) 2>&5
74814   ac_status=$?
74815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74816   (exit $ac_status); }; }; then
74817   eval "$as_ac_var=yes"
74818 else
74819   echo "$as_me: failed program was:" >&5
74820 sed 's/^/| /' conftest.$ac_ext >&5
74821
74822 eval "$as_ac_var=no"
74823 fi
74824 rm -f conftest.err conftest.$ac_objext \
74825       conftest$ac_exeext conftest.$ac_ext
74826 fi
74827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74829 if test `eval echo '${'$as_ac_var'}'` = yes; then
74830   cat >>confdefs.h <<_ACEOF
74831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74832 _ACEOF
74833
74834 fi
74835 done
74836
74837     fi
74838   fi
74839
74840
74841
74842
74843
74844
74845   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
74846 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
74847   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
74848     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
74849   echo $ECHO_N "(cached) $ECHO_C" >&6
74850 else
74851
74852
74853
74854       ac_ext=cc
74855 ac_cpp='$CXXCPP $CPPFLAGS'
74856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74859
74860       cat >conftest.$ac_ext <<_ACEOF
74861 /* confdefs.h.  */
74862 _ACEOF
74863 cat confdefs.h >>conftest.$ac_ext
74864 cat >>conftest.$ac_ext <<_ACEOF
74865 /* end confdefs.h.  */
74866 #include <math.h>
74867 int
74868 main ()
74869 {
74870  copysignl(0, 0);
74871   ;
74872   return 0;
74873 }
74874 _ACEOF
74875 rm -f conftest.$ac_objext
74876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74877   (eval $ac_compile) 2>conftest.er1
74878   ac_status=$?
74879   grep -v '^ *+' conftest.er1 >conftest.err
74880   rm -f conftest.er1
74881   cat conftest.err >&5
74882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74883   (exit $ac_status); } &&
74884          { ac_try='test -z "$ac_cxx_werror_flag"
74885                          || test ! -s conftest.err'
74886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74887   (eval $ac_try) 2>&5
74888   ac_status=$?
74889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74890   (exit $ac_status); }; } &&
74891          { ac_try='test -s conftest.$ac_objext'
74892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74893   (eval $ac_try) 2>&5
74894   ac_status=$?
74895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74896   (exit $ac_status); }; }; then
74897   glibcxx_cv_func_copysignl_use=yes
74898 else
74899   echo "$as_me: failed program was:" >&5
74900 sed 's/^/| /' conftest.$ac_ext >&5
74901
74902 glibcxx_cv_func_copysignl_use=no
74903 fi
74904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74905       ac_ext=c
74906 ac_cpp='$CPP $CPPFLAGS'
74907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74910
74911
74912 fi
74913
74914   fi
74915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
74916 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
74917
74918   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
74919
74920 for ac_func in copysignl
74921 do
74922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74923 echo "$as_me:$LINENO: checking for $ac_func" >&5
74924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74925 if eval "test \"\${$as_ac_var+set}\" = set"; then
74926   echo $ECHO_N "(cached) $ECHO_C" >&6
74927 else
74928   if test x$gcc_no_link = xyes; then
74929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74931    { (exit 1); exit 1; }; }
74932 fi
74933 cat >conftest.$ac_ext <<_ACEOF
74934 /* confdefs.h.  */
74935 _ACEOF
74936 cat confdefs.h >>conftest.$ac_ext
74937 cat >>conftest.$ac_ext <<_ACEOF
74938 /* end confdefs.h.  */
74939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74941 #define $ac_func innocuous_$ac_func
74942
74943 /* System header to define __stub macros and hopefully few prototypes,
74944     which can conflict with char $ac_func (); below.
74945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74946     <limits.h> exists even on freestanding compilers.  */
74947
74948 #ifdef __STDC__
74949 # include <limits.h>
74950 #else
74951 # include <assert.h>
74952 #endif
74953
74954 #undef $ac_func
74955
74956 /* Override any gcc2 internal prototype to avoid an error.  */
74957 #ifdef __cplusplus
74958 extern "C"
74959 {
74960 #endif
74961 /* We use char because int might match the return type of a gcc2
74962    builtin and then its argument prototype would still apply.  */
74963 char $ac_func ();
74964 /* The GNU C library defines this for functions which it implements
74965     to always fail with ENOSYS.  Some functions are actually named
74966     something starting with __ and the normal name is an alias.  */
74967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74968 choke me
74969 #else
74970 char (*f) () = $ac_func;
74971 #endif
74972 #ifdef __cplusplus
74973 }
74974 #endif
74975
74976 int
74977 main ()
74978 {
74979 return f != $ac_func;
74980   ;
74981   return 0;
74982 }
74983 _ACEOF
74984 rm -f conftest.$ac_objext conftest$ac_exeext
74985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74986   (eval $ac_link) 2>conftest.er1
74987   ac_status=$?
74988   grep -v '^ *+' conftest.er1 >conftest.err
74989   rm -f conftest.er1
74990   cat conftest.err >&5
74991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74992   (exit $ac_status); } &&
74993          { ac_try='test -z "$ac_c_werror_flag"
74994                          || test ! -s conftest.err'
74995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74996   (eval $ac_try) 2>&5
74997   ac_status=$?
74998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999   (exit $ac_status); }; } &&
75000          { ac_try='test -s conftest$ac_exeext'
75001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75002   (eval $ac_try) 2>&5
75003   ac_status=$?
75004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75005   (exit $ac_status); }; }; then
75006   eval "$as_ac_var=yes"
75007 else
75008   echo "$as_me: failed program was:" >&5
75009 sed 's/^/| /' conftest.$ac_ext >&5
75010
75011 eval "$as_ac_var=no"
75012 fi
75013 rm -f conftest.err conftest.$ac_objext \
75014       conftest$ac_exeext conftest.$ac_ext
75015 fi
75016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75018 if test `eval echo '${'$as_ac_var'}'` = yes; then
75019   cat >>confdefs.h <<_ACEOF
75020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75021 _ACEOF
75022
75023 fi
75024 done
75025
75026   else
75027
75028   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75029 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75030   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75031     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75032   echo $ECHO_N "(cached) $ECHO_C" >&6
75033 else
75034
75035
75036
75037       ac_ext=cc
75038 ac_cpp='$CXXCPP $CPPFLAGS'
75039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75042
75043       cat >conftest.$ac_ext <<_ACEOF
75044 /* confdefs.h.  */
75045 _ACEOF
75046 cat confdefs.h >>conftest.$ac_ext
75047 cat >>conftest.$ac_ext <<_ACEOF
75048 /* end confdefs.h.  */
75049 #include <math.h>
75050 int
75051 main ()
75052 {
75053  _copysignl(0, 0);
75054   ;
75055   return 0;
75056 }
75057 _ACEOF
75058 rm -f conftest.$ac_objext
75059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75060   (eval $ac_compile) 2>conftest.er1
75061   ac_status=$?
75062   grep -v '^ *+' conftest.er1 >conftest.err
75063   rm -f conftest.er1
75064   cat conftest.err >&5
75065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75066   (exit $ac_status); } &&
75067          { ac_try='test -z "$ac_cxx_werror_flag"
75068                          || test ! -s conftest.err'
75069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75070   (eval $ac_try) 2>&5
75071   ac_status=$?
75072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75073   (exit $ac_status); }; } &&
75074          { ac_try='test -s conftest.$ac_objext'
75075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75076   (eval $ac_try) 2>&5
75077   ac_status=$?
75078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75079   (exit $ac_status); }; }; then
75080   glibcxx_cv_func__copysignl_use=yes
75081 else
75082   echo "$as_me: failed program was:" >&5
75083 sed 's/^/| /' conftest.$ac_ext >&5
75084
75085 glibcxx_cv_func__copysignl_use=no
75086 fi
75087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75088       ac_ext=c
75089 ac_cpp='$CPP $CPPFLAGS'
75090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75093
75094
75095 fi
75096
75097   fi
75098   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75099 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75100
75101     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75102
75103 for ac_func in _copysignl
75104 do
75105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75106 echo "$as_me:$LINENO: checking for $ac_func" >&5
75107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75108 if eval "test \"\${$as_ac_var+set}\" = set"; then
75109   echo $ECHO_N "(cached) $ECHO_C" >&6
75110 else
75111   if test x$gcc_no_link = xyes; then
75112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75114    { (exit 1); exit 1; }; }
75115 fi
75116 cat >conftest.$ac_ext <<_ACEOF
75117 /* confdefs.h.  */
75118 _ACEOF
75119 cat confdefs.h >>conftest.$ac_ext
75120 cat >>conftest.$ac_ext <<_ACEOF
75121 /* end confdefs.h.  */
75122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75124 #define $ac_func innocuous_$ac_func
75125
75126 /* System header to define __stub macros and hopefully few prototypes,
75127     which can conflict with char $ac_func (); below.
75128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75129     <limits.h> exists even on freestanding compilers.  */
75130
75131 #ifdef __STDC__
75132 # include <limits.h>
75133 #else
75134 # include <assert.h>
75135 #endif
75136
75137 #undef $ac_func
75138
75139 /* Override any gcc2 internal prototype to avoid an error.  */
75140 #ifdef __cplusplus
75141 extern "C"
75142 {
75143 #endif
75144 /* We use char because int might match the return type of a gcc2
75145    builtin and then its argument prototype would still apply.  */
75146 char $ac_func ();
75147 /* The GNU C library defines this for functions which it implements
75148     to always fail with ENOSYS.  Some functions are actually named
75149     something starting with __ and the normal name is an alias.  */
75150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75151 choke me
75152 #else
75153 char (*f) () = $ac_func;
75154 #endif
75155 #ifdef __cplusplus
75156 }
75157 #endif
75158
75159 int
75160 main ()
75161 {
75162 return f != $ac_func;
75163   ;
75164   return 0;
75165 }
75166 _ACEOF
75167 rm -f conftest.$ac_objext conftest$ac_exeext
75168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75169   (eval $ac_link) 2>conftest.er1
75170   ac_status=$?
75171   grep -v '^ *+' conftest.er1 >conftest.err
75172   rm -f conftest.er1
75173   cat conftest.err >&5
75174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75175   (exit $ac_status); } &&
75176          { ac_try='test -z "$ac_c_werror_flag"
75177                          || test ! -s conftest.err'
75178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75179   (eval $ac_try) 2>&5
75180   ac_status=$?
75181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75182   (exit $ac_status); }; } &&
75183          { ac_try='test -s conftest$ac_exeext'
75184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75185   (eval $ac_try) 2>&5
75186   ac_status=$?
75187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75188   (exit $ac_status); }; }; then
75189   eval "$as_ac_var=yes"
75190 else
75191   echo "$as_me: failed program was:" >&5
75192 sed 's/^/| /' conftest.$ac_ext >&5
75193
75194 eval "$as_ac_var=no"
75195 fi
75196 rm -f conftest.err conftest.$ac_objext \
75197       conftest$ac_exeext conftest.$ac_ext
75198 fi
75199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75201 if test `eval echo '${'$as_ac_var'}'` = yes; then
75202   cat >>confdefs.h <<_ACEOF
75203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75204 _ACEOF
75205
75206 fi
75207 done
75208
75209     fi
75210   fi
75211
75212
75213
75214
75215
75216
75217   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75218 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75219   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75220     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75221   echo $ECHO_N "(cached) $ECHO_C" >&6
75222 else
75223
75224
75225
75226       ac_ext=cc
75227 ac_cpp='$CXXCPP $CPPFLAGS'
75228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75231
75232       cat >conftest.$ac_ext <<_ACEOF
75233 /* confdefs.h.  */
75234 _ACEOF
75235 cat confdefs.h >>conftest.$ac_ext
75236 cat >>conftest.$ac_ext <<_ACEOF
75237 /* end confdefs.h.  */
75238 #include <math.h>
75239 int
75240 main ()
75241 {
75242  atan2l(0, 0);
75243   ;
75244   return 0;
75245 }
75246 _ACEOF
75247 rm -f conftest.$ac_objext
75248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75249   (eval $ac_compile) 2>conftest.er1
75250   ac_status=$?
75251   grep -v '^ *+' conftest.er1 >conftest.err
75252   rm -f conftest.er1
75253   cat conftest.err >&5
75254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75255   (exit $ac_status); } &&
75256          { ac_try='test -z "$ac_cxx_werror_flag"
75257                          || test ! -s conftest.err'
75258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75259   (eval $ac_try) 2>&5
75260   ac_status=$?
75261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75262   (exit $ac_status); }; } &&
75263          { ac_try='test -s conftest.$ac_objext'
75264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75265   (eval $ac_try) 2>&5
75266   ac_status=$?
75267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75268   (exit $ac_status); }; }; then
75269   glibcxx_cv_func_atan2l_use=yes
75270 else
75271   echo "$as_me: failed program was:" >&5
75272 sed 's/^/| /' conftest.$ac_ext >&5
75273
75274 glibcxx_cv_func_atan2l_use=no
75275 fi
75276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75277       ac_ext=c
75278 ac_cpp='$CPP $CPPFLAGS'
75279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75282
75283
75284 fi
75285
75286   fi
75287   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
75288 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
75289
75290   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75291
75292 for ac_func in atan2l
75293 do
75294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75295 echo "$as_me:$LINENO: checking for $ac_func" >&5
75296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75297 if eval "test \"\${$as_ac_var+set}\" = set"; then
75298   echo $ECHO_N "(cached) $ECHO_C" >&6
75299 else
75300   if test x$gcc_no_link = xyes; then
75301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75303    { (exit 1); exit 1; }; }
75304 fi
75305 cat >conftest.$ac_ext <<_ACEOF
75306 /* confdefs.h.  */
75307 _ACEOF
75308 cat confdefs.h >>conftest.$ac_ext
75309 cat >>conftest.$ac_ext <<_ACEOF
75310 /* end confdefs.h.  */
75311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75313 #define $ac_func innocuous_$ac_func
75314
75315 /* System header to define __stub macros and hopefully few prototypes,
75316     which can conflict with char $ac_func (); below.
75317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75318     <limits.h> exists even on freestanding compilers.  */
75319
75320 #ifdef __STDC__
75321 # include <limits.h>
75322 #else
75323 # include <assert.h>
75324 #endif
75325
75326 #undef $ac_func
75327
75328 /* Override any gcc2 internal prototype to avoid an error.  */
75329 #ifdef __cplusplus
75330 extern "C"
75331 {
75332 #endif
75333 /* We use char because int might match the return type of a gcc2
75334    builtin and then its argument prototype would still apply.  */
75335 char $ac_func ();
75336 /* The GNU C library defines this for functions which it implements
75337     to always fail with ENOSYS.  Some functions are actually named
75338     something starting with __ and the normal name is an alias.  */
75339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75340 choke me
75341 #else
75342 char (*f) () = $ac_func;
75343 #endif
75344 #ifdef __cplusplus
75345 }
75346 #endif
75347
75348 int
75349 main ()
75350 {
75351 return f != $ac_func;
75352   ;
75353   return 0;
75354 }
75355 _ACEOF
75356 rm -f conftest.$ac_objext conftest$ac_exeext
75357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75358   (eval $ac_link) 2>conftest.er1
75359   ac_status=$?
75360   grep -v '^ *+' conftest.er1 >conftest.err
75361   rm -f conftest.er1
75362   cat conftest.err >&5
75363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75364   (exit $ac_status); } &&
75365          { ac_try='test -z "$ac_c_werror_flag"
75366                          || test ! -s conftest.err'
75367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75368   (eval $ac_try) 2>&5
75369   ac_status=$?
75370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75371   (exit $ac_status); }; } &&
75372          { ac_try='test -s conftest$ac_exeext'
75373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75374   (eval $ac_try) 2>&5
75375   ac_status=$?
75376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75377   (exit $ac_status); }; }; then
75378   eval "$as_ac_var=yes"
75379 else
75380   echo "$as_me: failed program was:" >&5
75381 sed 's/^/| /' conftest.$ac_ext >&5
75382
75383 eval "$as_ac_var=no"
75384 fi
75385 rm -f conftest.err conftest.$ac_objext \
75386       conftest$ac_exeext conftest.$ac_ext
75387 fi
75388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75390 if test `eval echo '${'$as_ac_var'}'` = yes; then
75391   cat >>confdefs.h <<_ACEOF
75392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75393 _ACEOF
75394
75395 fi
75396 done
75397
75398   else
75399
75400   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
75401 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
75402   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75403     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
75404   echo $ECHO_N "(cached) $ECHO_C" >&6
75405 else
75406
75407
75408
75409       ac_ext=cc
75410 ac_cpp='$CXXCPP $CPPFLAGS'
75411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75414
75415       cat >conftest.$ac_ext <<_ACEOF
75416 /* confdefs.h.  */
75417 _ACEOF
75418 cat confdefs.h >>conftest.$ac_ext
75419 cat >>conftest.$ac_ext <<_ACEOF
75420 /* end confdefs.h.  */
75421 #include <math.h>
75422 int
75423 main ()
75424 {
75425  _atan2l(0, 0);
75426   ;
75427   return 0;
75428 }
75429 _ACEOF
75430 rm -f conftest.$ac_objext
75431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75432   (eval $ac_compile) 2>conftest.er1
75433   ac_status=$?
75434   grep -v '^ *+' conftest.er1 >conftest.err
75435   rm -f conftest.er1
75436   cat conftest.err >&5
75437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75438   (exit $ac_status); } &&
75439          { ac_try='test -z "$ac_cxx_werror_flag"
75440                          || test ! -s conftest.err'
75441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75442   (eval $ac_try) 2>&5
75443   ac_status=$?
75444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75445   (exit $ac_status); }; } &&
75446          { ac_try='test -s conftest.$ac_objext'
75447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75448   (eval $ac_try) 2>&5
75449   ac_status=$?
75450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75451   (exit $ac_status); }; }; then
75452   glibcxx_cv_func__atan2l_use=yes
75453 else
75454   echo "$as_me: failed program was:" >&5
75455 sed 's/^/| /' conftest.$ac_ext >&5
75456
75457 glibcxx_cv_func__atan2l_use=no
75458 fi
75459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75460       ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75465
75466
75467 fi
75468
75469   fi
75470   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
75471 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
75472
75473     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75474
75475 for ac_func in _atan2l
75476 do
75477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75478 echo "$as_me:$LINENO: checking for $ac_func" >&5
75479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75480 if eval "test \"\${$as_ac_var+set}\" = set"; then
75481   echo $ECHO_N "(cached) $ECHO_C" >&6
75482 else
75483   if test x$gcc_no_link = xyes; then
75484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75486    { (exit 1); exit 1; }; }
75487 fi
75488 cat >conftest.$ac_ext <<_ACEOF
75489 /* confdefs.h.  */
75490 _ACEOF
75491 cat confdefs.h >>conftest.$ac_ext
75492 cat >>conftest.$ac_ext <<_ACEOF
75493 /* end confdefs.h.  */
75494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75496 #define $ac_func innocuous_$ac_func
75497
75498 /* System header to define __stub macros and hopefully few prototypes,
75499     which can conflict with char $ac_func (); below.
75500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75501     <limits.h> exists even on freestanding compilers.  */
75502
75503 #ifdef __STDC__
75504 # include <limits.h>
75505 #else
75506 # include <assert.h>
75507 #endif
75508
75509 #undef $ac_func
75510
75511 /* Override any gcc2 internal prototype to avoid an error.  */
75512 #ifdef __cplusplus
75513 extern "C"
75514 {
75515 #endif
75516 /* We use char because int might match the return type of a gcc2
75517    builtin and then its argument prototype would still apply.  */
75518 char $ac_func ();
75519 /* The GNU C library defines this for functions which it implements
75520     to always fail with ENOSYS.  Some functions are actually named
75521     something starting with __ and the normal name is an alias.  */
75522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75523 choke me
75524 #else
75525 char (*f) () = $ac_func;
75526 #endif
75527 #ifdef __cplusplus
75528 }
75529 #endif
75530
75531 int
75532 main ()
75533 {
75534 return f != $ac_func;
75535   ;
75536   return 0;
75537 }
75538 _ACEOF
75539 rm -f conftest.$ac_objext conftest$ac_exeext
75540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75541   (eval $ac_link) 2>conftest.er1
75542   ac_status=$?
75543   grep -v '^ *+' conftest.er1 >conftest.err
75544   rm -f conftest.er1
75545   cat conftest.err >&5
75546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75547   (exit $ac_status); } &&
75548          { ac_try='test -z "$ac_c_werror_flag"
75549                          || test ! -s conftest.err'
75550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75551   (eval $ac_try) 2>&5
75552   ac_status=$?
75553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75554   (exit $ac_status); }; } &&
75555          { ac_try='test -s conftest$ac_exeext'
75556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75557   (eval $ac_try) 2>&5
75558   ac_status=$?
75559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560   (exit $ac_status); }; }; then
75561   eval "$as_ac_var=yes"
75562 else
75563   echo "$as_me: failed program was:" >&5
75564 sed 's/^/| /' conftest.$ac_ext >&5
75565
75566 eval "$as_ac_var=no"
75567 fi
75568 rm -f conftest.err conftest.$ac_objext \
75569       conftest$ac_exeext conftest.$ac_ext
75570 fi
75571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75573 if test `eval echo '${'$as_ac_var'}'` = yes; then
75574   cat >>confdefs.h <<_ACEOF
75575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75576 _ACEOF
75577
75578 fi
75579 done
75580
75581     fi
75582   fi
75583
75584
75585
75586
75587
75588
75589   echo "$as_me:$LINENO: checking for expl declaration" >&5
75590 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
75591   if test x${glibcxx_cv_func_expl_use+set} != xset; then
75592     if test "${glibcxx_cv_func_expl_use+set}" = set; then
75593   echo $ECHO_N "(cached) $ECHO_C" >&6
75594 else
75595
75596
75597
75598       ac_ext=cc
75599 ac_cpp='$CXXCPP $CPPFLAGS'
75600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75603
75604       cat >conftest.$ac_ext <<_ACEOF
75605 /* confdefs.h.  */
75606 _ACEOF
75607 cat confdefs.h >>conftest.$ac_ext
75608 cat >>conftest.$ac_ext <<_ACEOF
75609 /* end confdefs.h.  */
75610 #include <math.h>
75611                       #ifdef HAVE_IEEEFP_H
75612                       #include <ieeefp.h>
75613                       #endif
75614
75615 int
75616 main ()
75617 {
75618  expl(0);
75619   ;
75620   return 0;
75621 }
75622 _ACEOF
75623 rm -f conftest.$ac_objext
75624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75625   (eval $ac_compile) 2>conftest.er1
75626   ac_status=$?
75627   grep -v '^ *+' conftest.er1 >conftest.err
75628   rm -f conftest.er1
75629   cat conftest.err >&5
75630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75631   (exit $ac_status); } &&
75632          { ac_try='test -z "$ac_cxx_werror_flag"
75633                          || test ! -s conftest.err'
75634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75635   (eval $ac_try) 2>&5
75636   ac_status=$?
75637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75638   (exit $ac_status); }; } &&
75639          { ac_try='test -s conftest.$ac_objext'
75640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75641   (eval $ac_try) 2>&5
75642   ac_status=$?
75643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75644   (exit $ac_status); }; }; then
75645   glibcxx_cv_func_expl_use=yes
75646 else
75647   echo "$as_me: failed program was:" >&5
75648 sed 's/^/| /' conftest.$ac_ext >&5
75649
75650 glibcxx_cv_func_expl_use=no
75651 fi
75652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75653       ac_ext=c
75654 ac_cpp='$CPP $CPPFLAGS'
75655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75658
75659
75660 fi
75661
75662   fi
75663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
75664 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
75665
75666   if test x$glibcxx_cv_func_expl_use = x"yes"; then
75667
75668 for ac_func in expl
75669 do
75670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75671 echo "$as_me:$LINENO: checking for $ac_func" >&5
75672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75673 if eval "test \"\${$as_ac_var+set}\" = set"; then
75674   echo $ECHO_N "(cached) $ECHO_C" >&6
75675 else
75676   if test x$gcc_no_link = xyes; then
75677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75679    { (exit 1); exit 1; }; }
75680 fi
75681 cat >conftest.$ac_ext <<_ACEOF
75682 /* confdefs.h.  */
75683 _ACEOF
75684 cat confdefs.h >>conftest.$ac_ext
75685 cat >>conftest.$ac_ext <<_ACEOF
75686 /* end confdefs.h.  */
75687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75689 #define $ac_func innocuous_$ac_func
75690
75691 /* System header to define __stub macros and hopefully few prototypes,
75692     which can conflict with char $ac_func (); below.
75693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75694     <limits.h> exists even on freestanding compilers.  */
75695
75696 #ifdef __STDC__
75697 # include <limits.h>
75698 #else
75699 # include <assert.h>
75700 #endif
75701
75702 #undef $ac_func
75703
75704 /* Override any gcc2 internal prototype to avoid an error.  */
75705 #ifdef __cplusplus
75706 extern "C"
75707 {
75708 #endif
75709 /* We use char because int might match the return type of a gcc2
75710    builtin and then its argument prototype would still apply.  */
75711 char $ac_func ();
75712 /* The GNU C library defines this for functions which it implements
75713     to always fail with ENOSYS.  Some functions are actually named
75714     something starting with __ and the normal name is an alias.  */
75715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75716 choke me
75717 #else
75718 char (*f) () = $ac_func;
75719 #endif
75720 #ifdef __cplusplus
75721 }
75722 #endif
75723
75724 int
75725 main ()
75726 {
75727 return f != $ac_func;
75728   ;
75729   return 0;
75730 }
75731 _ACEOF
75732 rm -f conftest.$ac_objext conftest$ac_exeext
75733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75734   (eval $ac_link) 2>conftest.er1
75735   ac_status=$?
75736   grep -v '^ *+' conftest.er1 >conftest.err
75737   rm -f conftest.er1
75738   cat conftest.err >&5
75739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75740   (exit $ac_status); } &&
75741          { ac_try='test -z "$ac_c_werror_flag"
75742                          || test ! -s conftest.err'
75743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75744   (eval $ac_try) 2>&5
75745   ac_status=$?
75746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75747   (exit $ac_status); }; } &&
75748          { ac_try='test -s conftest$ac_exeext'
75749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75750   (eval $ac_try) 2>&5
75751   ac_status=$?
75752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75753   (exit $ac_status); }; }; then
75754   eval "$as_ac_var=yes"
75755 else
75756   echo "$as_me: failed program was:" >&5
75757 sed 's/^/| /' conftest.$ac_ext >&5
75758
75759 eval "$as_ac_var=no"
75760 fi
75761 rm -f conftest.err conftest.$ac_objext \
75762       conftest$ac_exeext conftest.$ac_ext
75763 fi
75764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75766 if test `eval echo '${'$as_ac_var'}'` = yes; then
75767   cat >>confdefs.h <<_ACEOF
75768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75769 _ACEOF
75770
75771 fi
75772 done
75773
75774   else
75775
75776   echo "$as_me:$LINENO: checking for _expl declaration" >&5
75777 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
75778   if test x${glibcxx_cv_func__expl_use+set} != xset; then
75779     if test "${glibcxx_cv_func__expl_use+set}" = set; then
75780   echo $ECHO_N "(cached) $ECHO_C" >&6
75781 else
75782
75783
75784
75785       ac_ext=cc
75786 ac_cpp='$CXXCPP $CPPFLAGS'
75787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75790
75791       cat >conftest.$ac_ext <<_ACEOF
75792 /* confdefs.h.  */
75793 _ACEOF
75794 cat confdefs.h >>conftest.$ac_ext
75795 cat >>conftest.$ac_ext <<_ACEOF
75796 /* end confdefs.h.  */
75797 #include <math.h>
75798                       #ifdef HAVE_IEEEFP_H
75799                       #include <ieeefp.h>
75800                       #endif
75801
75802 int
75803 main ()
75804 {
75805  _expl(0);
75806   ;
75807   return 0;
75808 }
75809 _ACEOF
75810 rm -f conftest.$ac_objext
75811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75812   (eval $ac_compile) 2>conftest.er1
75813   ac_status=$?
75814   grep -v '^ *+' conftest.er1 >conftest.err
75815   rm -f conftest.er1
75816   cat conftest.err >&5
75817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75818   (exit $ac_status); } &&
75819          { ac_try='test -z "$ac_cxx_werror_flag"
75820                          || test ! -s conftest.err'
75821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75822   (eval $ac_try) 2>&5
75823   ac_status=$?
75824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75825   (exit $ac_status); }; } &&
75826          { ac_try='test -s conftest.$ac_objext'
75827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75828   (eval $ac_try) 2>&5
75829   ac_status=$?
75830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75831   (exit $ac_status); }; }; then
75832   glibcxx_cv_func__expl_use=yes
75833 else
75834   echo "$as_me: failed program was:" >&5
75835 sed 's/^/| /' conftest.$ac_ext >&5
75836
75837 glibcxx_cv_func__expl_use=no
75838 fi
75839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75840       ac_ext=c
75841 ac_cpp='$CPP $CPPFLAGS'
75842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75845
75846
75847 fi
75848
75849   fi
75850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
75851 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
75852
75853     if test x$glibcxx_cv_func__expl_use = x"yes"; then
75854
75855 for ac_func in _expl
75856 do
75857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75858 echo "$as_me:$LINENO: checking for $ac_func" >&5
75859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75860 if eval "test \"\${$as_ac_var+set}\" = set"; then
75861   echo $ECHO_N "(cached) $ECHO_C" >&6
75862 else
75863   if test x$gcc_no_link = xyes; then
75864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75866    { (exit 1); exit 1; }; }
75867 fi
75868 cat >conftest.$ac_ext <<_ACEOF
75869 /* confdefs.h.  */
75870 _ACEOF
75871 cat confdefs.h >>conftest.$ac_ext
75872 cat >>conftest.$ac_ext <<_ACEOF
75873 /* end confdefs.h.  */
75874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75876 #define $ac_func innocuous_$ac_func
75877
75878 /* System header to define __stub macros and hopefully few prototypes,
75879     which can conflict with char $ac_func (); below.
75880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75881     <limits.h> exists even on freestanding compilers.  */
75882
75883 #ifdef __STDC__
75884 # include <limits.h>
75885 #else
75886 # include <assert.h>
75887 #endif
75888
75889 #undef $ac_func
75890
75891 /* Override any gcc2 internal prototype to avoid an error.  */
75892 #ifdef __cplusplus
75893 extern "C"
75894 {
75895 #endif
75896 /* We use char because int might match the return type of a gcc2
75897    builtin and then its argument prototype would still apply.  */
75898 char $ac_func ();
75899 /* The GNU C library defines this for functions which it implements
75900     to always fail with ENOSYS.  Some functions are actually named
75901     something starting with __ and the normal name is an alias.  */
75902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75903 choke me
75904 #else
75905 char (*f) () = $ac_func;
75906 #endif
75907 #ifdef __cplusplus
75908 }
75909 #endif
75910
75911 int
75912 main ()
75913 {
75914 return f != $ac_func;
75915   ;
75916   return 0;
75917 }
75918 _ACEOF
75919 rm -f conftest.$ac_objext conftest$ac_exeext
75920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75921   (eval $ac_link) 2>conftest.er1
75922   ac_status=$?
75923   grep -v '^ *+' conftest.er1 >conftest.err
75924   rm -f conftest.er1
75925   cat conftest.err >&5
75926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927   (exit $ac_status); } &&
75928          { ac_try='test -z "$ac_c_werror_flag"
75929                          || test ! -s conftest.err'
75930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75931   (eval $ac_try) 2>&5
75932   ac_status=$?
75933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75934   (exit $ac_status); }; } &&
75935          { ac_try='test -s conftest$ac_exeext'
75936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75937   (eval $ac_try) 2>&5
75938   ac_status=$?
75939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75940   (exit $ac_status); }; }; then
75941   eval "$as_ac_var=yes"
75942 else
75943   echo "$as_me: failed program was:" >&5
75944 sed 's/^/| /' conftest.$ac_ext >&5
75945
75946 eval "$as_ac_var=no"
75947 fi
75948 rm -f conftest.err conftest.$ac_objext \
75949       conftest$ac_exeext conftest.$ac_ext
75950 fi
75951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75953 if test `eval echo '${'$as_ac_var'}'` = yes; then
75954   cat >>confdefs.h <<_ACEOF
75955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75956 _ACEOF
75957
75958 fi
75959 done
75960
75961     fi
75962   fi
75963
75964
75965
75966
75967
75968
75969   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
75970 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
75971   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75972     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
75973   echo $ECHO_N "(cached) $ECHO_C" >&6
75974 else
75975
75976
75977
75978       ac_ext=cc
75979 ac_cpp='$CXXCPP $CPPFLAGS'
75980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75983
75984       cat >conftest.$ac_ext <<_ACEOF
75985 /* confdefs.h.  */
75986 _ACEOF
75987 cat confdefs.h >>conftest.$ac_ext
75988 cat >>conftest.$ac_ext <<_ACEOF
75989 /* end confdefs.h.  */
75990 #include <math.h>
75991                       #ifdef HAVE_IEEEFP_H
75992                       #include <ieeefp.h>
75993                       #endif
75994
75995 int
75996 main ()
75997 {
75998  fabsl(0);
75999   ;
76000   return 0;
76001 }
76002 _ACEOF
76003 rm -f conftest.$ac_objext
76004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76005   (eval $ac_compile) 2>conftest.er1
76006   ac_status=$?
76007   grep -v '^ *+' conftest.er1 >conftest.err
76008   rm -f conftest.er1
76009   cat conftest.err >&5
76010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76011   (exit $ac_status); } &&
76012          { ac_try='test -z "$ac_cxx_werror_flag"
76013                          || test ! -s conftest.err'
76014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76015   (eval $ac_try) 2>&5
76016   ac_status=$?
76017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76018   (exit $ac_status); }; } &&
76019          { ac_try='test -s conftest.$ac_objext'
76020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76021   (eval $ac_try) 2>&5
76022   ac_status=$?
76023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76024   (exit $ac_status); }; }; then
76025   glibcxx_cv_func_fabsl_use=yes
76026 else
76027   echo "$as_me: failed program was:" >&5
76028 sed 's/^/| /' conftest.$ac_ext >&5
76029
76030 glibcxx_cv_func_fabsl_use=no
76031 fi
76032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76033       ac_ext=c
76034 ac_cpp='$CPP $CPPFLAGS'
76035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76038
76039
76040 fi
76041
76042   fi
76043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76044 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76045
76046   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76047
76048 for ac_func in fabsl
76049 do
76050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76051 echo "$as_me:$LINENO: checking for $ac_func" >&5
76052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76053 if eval "test \"\${$as_ac_var+set}\" = set"; then
76054   echo $ECHO_N "(cached) $ECHO_C" >&6
76055 else
76056   if test x$gcc_no_link = xyes; then
76057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76059    { (exit 1); exit 1; }; }
76060 fi
76061 cat >conftest.$ac_ext <<_ACEOF
76062 /* confdefs.h.  */
76063 _ACEOF
76064 cat confdefs.h >>conftest.$ac_ext
76065 cat >>conftest.$ac_ext <<_ACEOF
76066 /* end confdefs.h.  */
76067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76069 #define $ac_func innocuous_$ac_func
76070
76071 /* System header to define __stub macros and hopefully few prototypes,
76072     which can conflict with char $ac_func (); below.
76073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76074     <limits.h> exists even on freestanding compilers.  */
76075
76076 #ifdef __STDC__
76077 # include <limits.h>
76078 #else
76079 # include <assert.h>
76080 #endif
76081
76082 #undef $ac_func
76083
76084 /* Override any gcc2 internal prototype to avoid an error.  */
76085 #ifdef __cplusplus
76086 extern "C"
76087 {
76088 #endif
76089 /* We use char because int might match the return type of a gcc2
76090    builtin and then its argument prototype would still apply.  */
76091 char $ac_func ();
76092 /* The GNU C library defines this for functions which it implements
76093     to always fail with ENOSYS.  Some functions are actually named
76094     something starting with __ and the normal name is an alias.  */
76095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76096 choke me
76097 #else
76098 char (*f) () = $ac_func;
76099 #endif
76100 #ifdef __cplusplus
76101 }
76102 #endif
76103
76104 int
76105 main ()
76106 {
76107 return f != $ac_func;
76108   ;
76109   return 0;
76110 }
76111 _ACEOF
76112 rm -f conftest.$ac_objext conftest$ac_exeext
76113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76114   (eval $ac_link) 2>conftest.er1
76115   ac_status=$?
76116   grep -v '^ *+' conftest.er1 >conftest.err
76117   rm -f conftest.er1
76118   cat conftest.err >&5
76119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76120   (exit $ac_status); } &&
76121          { ac_try='test -z "$ac_c_werror_flag"
76122                          || test ! -s conftest.err'
76123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76124   (eval $ac_try) 2>&5
76125   ac_status=$?
76126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76127   (exit $ac_status); }; } &&
76128          { ac_try='test -s conftest$ac_exeext'
76129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76130   (eval $ac_try) 2>&5
76131   ac_status=$?
76132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76133   (exit $ac_status); }; }; then
76134   eval "$as_ac_var=yes"
76135 else
76136   echo "$as_me: failed program was:" >&5
76137 sed 's/^/| /' conftest.$ac_ext >&5
76138
76139 eval "$as_ac_var=no"
76140 fi
76141 rm -f conftest.err conftest.$ac_objext \
76142       conftest$ac_exeext conftest.$ac_ext
76143 fi
76144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76146 if test `eval echo '${'$as_ac_var'}'` = yes; then
76147   cat >>confdefs.h <<_ACEOF
76148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76149 _ACEOF
76150
76151 fi
76152 done
76153
76154   else
76155
76156   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76157 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76158   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76159     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76160   echo $ECHO_N "(cached) $ECHO_C" >&6
76161 else
76162
76163
76164
76165       ac_ext=cc
76166 ac_cpp='$CXXCPP $CPPFLAGS'
76167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76170
76171       cat >conftest.$ac_ext <<_ACEOF
76172 /* confdefs.h.  */
76173 _ACEOF
76174 cat confdefs.h >>conftest.$ac_ext
76175 cat >>conftest.$ac_ext <<_ACEOF
76176 /* end confdefs.h.  */
76177 #include <math.h>
76178                       #ifdef HAVE_IEEEFP_H
76179                       #include <ieeefp.h>
76180                       #endif
76181
76182 int
76183 main ()
76184 {
76185  _fabsl(0);
76186   ;
76187   return 0;
76188 }
76189 _ACEOF
76190 rm -f conftest.$ac_objext
76191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76192   (eval $ac_compile) 2>conftest.er1
76193   ac_status=$?
76194   grep -v '^ *+' conftest.er1 >conftest.err
76195   rm -f conftest.er1
76196   cat conftest.err >&5
76197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76198   (exit $ac_status); } &&
76199          { ac_try='test -z "$ac_cxx_werror_flag"
76200                          || test ! -s conftest.err'
76201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76202   (eval $ac_try) 2>&5
76203   ac_status=$?
76204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76205   (exit $ac_status); }; } &&
76206          { ac_try='test -s conftest.$ac_objext'
76207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76208   (eval $ac_try) 2>&5
76209   ac_status=$?
76210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76211   (exit $ac_status); }; }; then
76212   glibcxx_cv_func__fabsl_use=yes
76213 else
76214   echo "$as_me: failed program was:" >&5
76215 sed 's/^/| /' conftest.$ac_ext >&5
76216
76217 glibcxx_cv_func__fabsl_use=no
76218 fi
76219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76220       ac_ext=c
76221 ac_cpp='$CPP $CPPFLAGS'
76222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76225
76226
76227 fi
76228
76229   fi
76230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76231 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76232
76233     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76234
76235 for ac_func in _fabsl
76236 do
76237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76238 echo "$as_me:$LINENO: checking for $ac_func" >&5
76239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76240 if eval "test \"\${$as_ac_var+set}\" = set"; then
76241   echo $ECHO_N "(cached) $ECHO_C" >&6
76242 else
76243   if test x$gcc_no_link = xyes; then
76244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76246    { (exit 1); exit 1; }; }
76247 fi
76248 cat >conftest.$ac_ext <<_ACEOF
76249 /* confdefs.h.  */
76250 _ACEOF
76251 cat confdefs.h >>conftest.$ac_ext
76252 cat >>conftest.$ac_ext <<_ACEOF
76253 /* end confdefs.h.  */
76254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76256 #define $ac_func innocuous_$ac_func
76257
76258 /* System header to define __stub macros and hopefully few prototypes,
76259     which can conflict with char $ac_func (); below.
76260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76261     <limits.h> exists even on freestanding compilers.  */
76262
76263 #ifdef __STDC__
76264 # include <limits.h>
76265 #else
76266 # include <assert.h>
76267 #endif
76268
76269 #undef $ac_func
76270
76271 /* Override any gcc2 internal prototype to avoid an error.  */
76272 #ifdef __cplusplus
76273 extern "C"
76274 {
76275 #endif
76276 /* We use char because int might match the return type of a gcc2
76277    builtin and then its argument prototype would still apply.  */
76278 char $ac_func ();
76279 /* The GNU C library defines this for functions which it implements
76280     to always fail with ENOSYS.  Some functions are actually named
76281     something starting with __ and the normal name is an alias.  */
76282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76283 choke me
76284 #else
76285 char (*f) () = $ac_func;
76286 #endif
76287 #ifdef __cplusplus
76288 }
76289 #endif
76290
76291 int
76292 main ()
76293 {
76294 return f != $ac_func;
76295   ;
76296   return 0;
76297 }
76298 _ACEOF
76299 rm -f conftest.$ac_objext conftest$ac_exeext
76300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76301   (eval $ac_link) 2>conftest.er1
76302   ac_status=$?
76303   grep -v '^ *+' conftest.er1 >conftest.err
76304   rm -f conftest.er1
76305   cat conftest.err >&5
76306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76307   (exit $ac_status); } &&
76308          { ac_try='test -z "$ac_c_werror_flag"
76309                          || test ! -s conftest.err'
76310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76311   (eval $ac_try) 2>&5
76312   ac_status=$?
76313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76314   (exit $ac_status); }; } &&
76315          { ac_try='test -s conftest$ac_exeext'
76316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76317   (eval $ac_try) 2>&5
76318   ac_status=$?
76319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320   (exit $ac_status); }; }; then
76321   eval "$as_ac_var=yes"
76322 else
76323   echo "$as_me: failed program was:" >&5
76324 sed 's/^/| /' conftest.$ac_ext >&5
76325
76326 eval "$as_ac_var=no"
76327 fi
76328 rm -f conftest.err conftest.$ac_objext \
76329       conftest$ac_exeext conftest.$ac_ext
76330 fi
76331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76333 if test `eval echo '${'$as_ac_var'}'` = yes; then
76334   cat >>confdefs.h <<_ACEOF
76335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76336 _ACEOF
76337
76338 fi
76339 done
76340
76341     fi
76342   fi
76343
76344
76345
76346
76347
76348
76349   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
76350 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
76351   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76352     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
76353   echo $ECHO_N "(cached) $ECHO_C" >&6
76354 else
76355
76356
76357
76358       ac_ext=cc
76359 ac_cpp='$CXXCPP $CPPFLAGS'
76360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76363
76364       cat >conftest.$ac_ext <<_ACEOF
76365 /* confdefs.h.  */
76366 _ACEOF
76367 cat confdefs.h >>conftest.$ac_ext
76368 cat >>conftest.$ac_ext <<_ACEOF
76369 /* end confdefs.h.  */
76370 #include <math.h>
76371 int
76372 main ()
76373 {
76374  fmodl(0, 0);
76375   ;
76376   return 0;
76377 }
76378 _ACEOF
76379 rm -f conftest.$ac_objext
76380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76381   (eval $ac_compile) 2>conftest.er1
76382   ac_status=$?
76383   grep -v '^ *+' conftest.er1 >conftest.err
76384   rm -f conftest.er1
76385   cat conftest.err >&5
76386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76387   (exit $ac_status); } &&
76388          { ac_try='test -z "$ac_cxx_werror_flag"
76389                          || test ! -s conftest.err'
76390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76391   (eval $ac_try) 2>&5
76392   ac_status=$?
76393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76394   (exit $ac_status); }; } &&
76395          { ac_try='test -s conftest.$ac_objext'
76396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76397   (eval $ac_try) 2>&5
76398   ac_status=$?
76399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76400   (exit $ac_status); }; }; then
76401   glibcxx_cv_func_fmodl_use=yes
76402 else
76403   echo "$as_me: failed program was:" >&5
76404 sed 's/^/| /' conftest.$ac_ext >&5
76405
76406 glibcxx_cv_func_fmodl_use=no
76407 fi
76408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76409       ac_ext=c
76410 ac_cpp='$CPP $CPPFLAGS'
76411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76414
76415
76416 fi
76417
76418   fi
76419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
76420 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
76421
76422   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76423
76424 for ac_func in fmodl
76425 do
76426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76427 echo "$as_me:$LINENO: checking for $ac_func" >&5
76428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76429 if eval "test \"\${$as_ac_var+set}\" = set"; then
76430   echo $ECHO_N "(cached) $ECHO_C" >&6
76431 else
76432   if test x$gcc_no_link = xyes; then
76433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76435    { (exit 1); exit 1; }; }
76436 fi
76437 cat >conftest.$ac_ext <<_ACEOF
76438 /* confdefs.h.  */
76439 _ACEOF
76440 cat confdefs.h >>conftest.$ac_ext
76441 cat >>conftest.$ac_ext <<_ACEOF
76442 /* end confdefs.h.  */
76443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76445 #define $ac_func innocuous_$ac_func
76446
76447 /* System header to define __stub macros and hopefully few prototypes,
76448     which can conflict with char $ac_func (); below.
76449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76450     <limits.h> exists even on freestanding compilers.  */
76451
76452 #ifdef __STDC__
76453 # include <limits.h>
76454 #else
76455 # include <assert.h>
76456 #endif
76457
76458 #undef $ac_func
76459
76460 /* Override any gcc2 internal prototype to avoid an error.  */
76461 #ifdef __cplusplus
76462 extern "C"
76463 {
76464 #endif
76465 /* We use char because int might match the return type of a gcc2
76466    builtin and then its argument prototype would still apply.  */
76467 char $ac_func ();
76468 /* The GNU C library defines this for functions which it implements
76469     to always fail with ENOSYS.  Some functions are actually named
76470     something starting with __ and the normal name is an alias.  */
76471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76472 choke me
76473 #else
76474 char (*f) () = $ac_func;
76475 #endif
76476 #ifdef __cplusplus
76477 }
76478 #endif
76479
76480 int
76481 main ()
76482 {
76483 return f != $ac_func;
76484   ;
76485   return 0;
76486 }
76487 _ACEOF
76488 rm -f conftest.$ac_objext conftest$ac_exeext
76489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76490   (eval $ac_link) 2>conftest.er1
76491   ac_status=$?
76492   grep -v '^ *+' conftest.er1 >conftest.err
76493   rm -f conftest.er1
76494   cat conftest.err >&5
76495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76496   (exit $ac_status); } &&
76497          { ac_try='test -z "$ac_c_werror_flag"
76498                          || test ! -s conftest.err'
76499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76500   (eval $ac_try) 2>&5
76501   ac_status=$?
76502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76503   (exit $ac_status); }; } &&
76504          { ac_try='test -s conftest$ac_exeext'
76505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76506   (eval $ac_try) 2>&5
76507   ac_status=$?
76508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76509   (exit $ac_status); }; }; then
76510   eval "$as_ac_var=yes"
76511 else
76512   echo "$as_me: failed program was:" >&5
76513 sed 's/^/| /' conftest.$ac_ext >&5
76514
76515 eval "$as_ac_var=no"
76516 fi
76517 rm -f conftest.err conftest.$ac_objext \
76518       conftest$ac_exeext conftest.$ac_ext
76519 fi
76520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76522 if test `eval echo '${'$as_ac_var'}'` = yes; then
76523   cat >>confdefs.h <<_ACEOF
76524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76525 _ACEOF
76526
76527 fi
76528 done
76529
76530   else
76531
76532   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
76533 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
76534   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76535     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
76536   echo $ECHO_N "(cached) $ECHO_C" >&6
76537 else
76538
76539
76540
76541       ac_ext=cc
76542 ac_cpp='$CXXCPP $CPPFLAGS'
76543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76546
76547       cat >conftest.$ac_ext <<_ACEOF
76548 /* confdefs.h.  */
76549 _ACEOF
76550 cat confdefs.h >>conftest.$ac_ext
76551 cat >>conftest.$ac_ext <<_ACEOF
76552 /* end confdefs.h.  */
76553 #include <math.h>
76554 int
76555 main ()
76556 {
76557  _fmodl(0, 0);
76558   ;
76559   return 0;
76560 }
76561 _ACEOF
76562 rm -f conftest.$ac_objext
76563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76564   (eval $ac_compile) 2>conftest.er1
76565   ac_status=$?
76566   grep -v '^ *+' conftest.er1 >conftest.err
76567   rm -f conftest.er1
76568   cat conftest.err >&5
76569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76570   (exit $ac_status); } &&
76571          { ac_try='test -z "$ac_cxx_werror_flag"
76572                          || test ! -s conftest.err'
76573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76574   (eval $ac_try) 2>&5
76575   ac_status=$?
76576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76577   (exit $ac_status); }; } &&
76578          { ac_try='test -s conftest.$ac_objext'
76579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76580   (eval $ac_try) 2>&5
76581   ac_status=$?
76582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76583   (exit $ac_status); }; }; then
76584   glibcxx_cv_func__fmodl_use=yes
76585 else
76586   echo "$as_me: failed program was:" >&5
76587 sed 's/^/| /' conftest.$ac_ext >&5
76588
76589 glibcxx_cv_func__fmodl_use=no
76590 fi
76591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76592       ac_ext=c
76593 ac_cpp='$CPP $CPPFLAGS'
76594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76597
76598
76599 fi
76600
76601   fi
76602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
76603 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
76604
76605     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76606
76607 for ac_func in _fmodl
76608 do
76609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76610 echo "$as_me:$LINENO: checking for $ac_func" >&5
76611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76612 if eval "test \"\${$as_ac_var+set}\" = set"; then
76613   echo $ECHO_N "(cached) $ECHO_C" >&6
76614 else
76615   if test x$gcc_no_link = xyes; then
76616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76618    { (exit 1); exit 1; }; }
76619 fi
76620 cat >conftest.$ac_ext <<_ACEOF
76621 /* confdefs.h.  */
76622 _ACEOF
76623 cat confdefs.h >>conftest.$ac_ext
76624 cat >>conftest.$ac_ext <<_ACEOF
76625 /* end confdefs.h.  */
76626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76628 #define $ac_func innocuous_$ac_func
76629
76630 /* System header to define __stub macros and hopefully few prototypes,
76631     which can conflict with char $ac_func (); below.
76632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76633     <limits.h> exists even on freestanding compilers.  */
76634
76635 #ifdef __STDC__
76636 # include <limits.h>
76637 #else
76638 # include <assert.h>
76639 #endif
76640
76641 #undef $ac_func
76642
76643 /* Override any gcc2 internal prototype to avoid an error.  */
76644 #ifdef __cplusplus
76645 extern "C"
76646 {
76647 #endif
76648 /* We use char because int might match the return type of a gcc2
76649    builtin and then its argument prototype would still apply.  */
76650 char $ac_func ();
76651 /* The GNU C library defines this for functions which it implements
76652     to always fail with ENOSYS.  Some functions are actually named
76653     something starting with __ and the normal name is an alias.  */
76654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76655 choke me
76656 #else
76657 char (*f) () = $ac_func;
76658 #endif
76659 #ifdef __cplusplus
76660 }
76661 #endif
76662
76663 int
76664 main ()
76665 {
76666 return f != $ac_func;
76667   ;
76668   return 0;
76669 }
76670 _ACEOF
76671 rm -f conftest.$ac_objext conftest$ac_exeext
76672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76673   (eval $ac_link) 2>conftest.er1
76674   ac_status=$?
76675   grep -v '^ *+' conftest.er1 >conftest.err
76676   rm -f conftest.er1
76677   cat conftest.err >&5
76678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76679   (exit $ac_status); } &&
76680          { ac_try='test -z "$ac_c_werror_flag"
76681                          || test ! -s conftest.err'
76682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76683   (eval $ac_try) 2>&5
76684   ac_status=$?
76685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76686   (exit $ac_status); }; } &&
76687          { ac_try='test -s conftest$ac_exeext'
76688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76689   (eval $ac_try) 2>&5
76690   ac_status=$?
76691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76692   (exit $ac_status); }; }; then
76693   eval "$as_ac_var=yes"
76694 else
76695   echo "$as_me: failed program was:" >&5
76696 sed 's/^/| /' conftest.$ac_ext >&5
76697
76698 eval "$as_ac_var=no"
76699 fi
76700 rm -f conftest.err conftest.$ac_objext \
76701       conftest$ac_exeext conftest.$ac_ext
76702 fi
76703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76705 if test `eval echo '${'$as_ac_var'}'` = yes; then
76706   cat >>confdefs.h <<_ACEOF
76707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76708 _ACEOF
76709
76710 fi
76711 done
76712
76713     fi
76714   fi
76715
76716
76717
76718
76719
76720
76721   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
76722 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
76723   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76724     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
76725   echo $ECHO_N "(cached) $ECHO_C" >&6
76726 else
76727
76728
76729
76730       ac_ext=cc
76731 ac_cpp='$CXXCPP $CPPFLAGS'
76732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76735
76736       cat >conftest.$ac_ext <<_ACEOF
76737 /* confdefs.h.  */
76738 _ACEOF
76739 cat confdefs.h >>conftest.$ac_ext
76740 cat >>conftest.$ac_ext <<_ACEOF
76741 /* end confdefs.h.  */
76742 #include <math.h>
76743 int
76744 main ()
76745 {
76746  frexpl(0, 0);
76747   ;
76748   return 0;
76749 }
76750 _ACEOF
76751 rm -f conftest.$ac_objext
76752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76753   (eval $ac_compile) 2>conftest.er1
76754   ac_status=$?
76755   grep -v '^ *+' conftest.er1 >conftest.err
76756   rm -f conftest.er1
76757   cat conftest.err >&5
76758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76759   (exit $ac_status); } &&
76760          { ac_try='test -z "$ac_cxx_werror_flag"
76761                          || test ! -s conftest.err'
76762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76763   (eval $ac_try) 2>&5
76764   ac_status=$?
76765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76766   (exit $ac_status); }; } &&
76767          { ac_try='test -s conftest.$ac_objext'
76768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76769   (eval $ac_try) 2>&5
76770   ac_status=$?
76771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772   (exit $ac_status); }; }; then
76773   glibcxx_cv_func_frexpl_use=yes
76774 else
76775   echo "$as_me: failed program was:" >&5
76776 sed 's/^/| /' conftest.$ac_ext >&5
76777
76778 glibcxx_cv_func_frexpl_use=no
76779 fi
76780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76781       ac_ext=c
76782 ac_cpp='$CPP $CPPFLAGS'
76783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76786
76787
76788 fi
76789
76790   fi
76791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
76792 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
76793
76794   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76795
76796 for ac_func in frexpl
76797 do
76798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76799 echo "$as_me:$LINENO: checking for $ac_func" >&5
76800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76801 if eval "test \"\${$as_ac_var+set}\" = set"; then
76802   echo $ECHO_N "(cached) $ECHO_C" >&6
76803 else
76804   if test x$gcc_no_link = xyes; then
76805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76807    { (exit 1); exit 1; }; }
76808 fi
76809 cat >conftest.$ac_ext <<_ACEOF
76810 /* confdefs.h.  */
76811 _ACEOF
76812 cat confdefs.h >>conftest.$ac_ext
76813 cat >>conftest.$ac_ext <<_ACEOF
76814 /* end confdefs.h.  */
76815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76817 #define $ac_func innocuous_$ac_func
76818
76819 /* System header to define __stub macros and hopefully few prototypes,
76820     which can conflict with char $ac_func (); below.
76821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76822     <limits.h> exists even on freestanding compilers.  */
76823
76824 #ifdef __STDC__
76825 # include <limits.h>
76826 #else
76827 # include <assert.h>
76828 #endif
76829
76830 #undef $ac_func
76831
76832 /* Override any gcc2 internal prototype to avoid an error.  */
76833 #ifdef __cplusplus
76834 extern "C"
76835 {
76836 #endif
76837 /* We use char because int might match the return type of a gcc2
76838    builtin and then its argument prototype would still apply.  */
76839 char $ac_func ();
76840 /* The GNU C library defines this for functions which it implements
76841     to always fail with ENOSYS.  Some functions are actually named
76842     something starting with __ and the normal name is an alias.  */
76843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76844 choke me
76845 #else
76846 char (*f) () = $ac_func;
76847 #endif
76848 #ifdef __cplusplus
76849 }
76850 #endif
76851
76852 int
76853 main ()
76854 {
76855 return f != $ac_func;
76856   ;
76857   return 0;
76858 }
76859 _ACEOF
76860 rm -f conftest.$ac_objext conftest$ac_exeext
76861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76862   (eval $ac_link) 2>conftest.er1
76863   ac_status=$?
76864   grep -v '^ *+' conftest.er1 >conftest.err
76865   rm -f conftest.er1
76866   cat conftest.err >&5
76867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76868   (exit $ac_status); } &&
76869          { ac_try='test -z "$ac_c_werror_flag"
76870                          || test ! -s conftest.err'
76871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76872   (eval $ac_try) 2>&5
76873   ac_status=$?
76874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76875   (exit $ac_status); }; } &&
76876          { ac_try='test -s conftest$ac_exeext'
76877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76878   (eval $ac_try) 2>&5
76879   ac_status=$?
76880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76881   (exit $ac_status); }; }; then
76882   eval "$as_ac_var=yes"
76883 else
76884   echo "$as_me: failed program was:" >&5
76885 sed 's/^/| /' conftest.$ac_ext >&5
76886
76887 eval "$as_ac_var=no"
76888 fi
76889 rm -f conftest.err conftest.$ac_objext \
76890       conftest$ac_exeext conftest.$ac_ext
76891 fi
76892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76894 if test `eval echo '${'$as_ac_var'}'` = yes; then
76895   cat >>confdefs.h <<_ACEOF
76896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76897 _ACEOF
76898
76899 fi
76900 done
76901
76902   else
76903
76904   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
76905 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
76906   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76907     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
76908   echo $ECHO_N "(cached) $ECHO_C" >&6
76909 else
76910
76911
76912
76913       ac_ext=cc
76914 ac_cpp='$CXXCPP $CPPFLAGS'
76915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76918
76919       cat >conftest.$ac_ext <<_ACEOF
76920 /* confdefs.h.  */
76921 _ACEOF
76922 cat confdefs.h >>conftest.$ac_ext
76923 cat >>conftest.$ac_ext <<_ACEOF
76924 /* end confdefs.h.  */
76925 #include <math.h>
76926 int
76927 main ()
76928 {
76929  _frexpl(0, 0);
76930   ;
76931   return 0;
76932 }
76933 _ACEOF
76934 rm -f conftest.$ac_objext
76935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76936   (eval $ac_compile) 2>conftest.er1
76937   ac_status=$?
76938   grep -v '^ *+' conftest.er1 >conftest.err
76939   rm -f conftest.er1
76940   cat conftest.err >&5
76941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76942   (exit $ac_status); } &&
76943          { ac_try='test -z "$ac_cxx_werror_flag"
76944                          || test ! -s conftest.err'
76945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76946   (eval $ac_try) 2>&5
76947   ac_status=$?
76948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76949   (exit $ac_status); }; } &&
76950          { ac_try='test -s conftest.$ac_objext'
76951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76952   (eval $ac_try) 2>&5
76953   ac_status=$?
76954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76955   (exit $ac_status); }; }; then
76956   glibcxx_cv_func__frexpl_use=yes
76957 else
76958   echo "$as_me: failed program was:" >&5
76959 sed 's/^/| /' conftest.$ac_ext >&5
76960
76961 glibcxx_cv_func__frexpl_use=no
76962 fi
76963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76964       ac_ext=c
76965 ac_cpp='$CPP $CPPFLAGS'
76966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76969
76970
76971 fi
76972
76973   fi
76974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
76975 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
76976
76977     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76978
76979 for ac_func in _frexpl
76980 do
76981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76982 echo "$as_me:$LINENO: checking for $ac_func" >&5
76983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76984 if eval "test \"\${$as_ac_var+set}\" = set"; then
76985   echo $ECHO_N "(cached) $ECHO_C" >&6
76986 else
76987   if test x$gcc_no_link = xyes; then
76988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76990    { (exit 1); exit 1; }; }
76991 fi
76992 cat >conftest.$ac_ext <<_ACEOF
76993 /* confdefs.h.  */
76994 _ACEOF
76995 cat confdefs.h >>conftest.$ac_ext
76996 cat >>conftest.$ac_ext <<_ACEOF
76997 /* end confdefs.h.  */
76998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77000 #define $ac_func innocuous_$ac_func
77001
77002 /* System header to define __stub macros and hopefully few prototypes,
77003     which can conflict with char $ac_func (); below.
77004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77005     <limits.h> exists even on freestanding compilers.  */
77006
77007 #ifdef __STDC__
77008 # include <limits.h>
77009 #else
77010 # include <assert.h>
77011 #endif
77012
77013 #undef $ac_func
77014
77015 /* Override any gcc2 internal prototype to avoid an error.  */
77016 #ifdef __cplusplus
77017 extern "C"
77018 {
77019 #endif
77020 /* We use char because int might match the return type of a gcc2
77021    builtin and then its argument prototype would still apply.  */
77022 char $ac_func ();
77023 /* The GNU C library defines this for functions which it implements
77024     to always fail with ENOSYS.  Some functions are actually named
77025     something starting with __ and the normal name is an alias.  */
77026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77027 choke me
77028 #else
77029 char (*f) () = $ac_func;
77030 #endif
77031 #ifdef __cplusplus
77032 }
77033 #endif
77034
77035 int
77036 main ()
77037 {
77038 return f != $ac_func;
77039   ;
77040   return 0;
77041 }
77042 _ACEOF
77043 rm -f conftest.$ac_objext conftest$ac_exeext
77044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77045   (eval $ac_link) 2>conftest.er1
77046   ac_status=$?
77047   grep -v '^ *+' conftest.er1 >conftest.err
77048   rm -f conftest.er1
77049   cat conftest.err >&5
77050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77051   (exit $ac_status); } &&
77052          { ac_try='test -z "$ac_c_werror_flag"
77053                          || test ! -s conftest.err'
77054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77055   (eval $ac_try) 2>&5
77056   ac_status=$?
77057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77058   (exit $ac_status); }; } &&
77059          { ac_try='test -s conftest$ac_exeext'
77060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77061   (eval $ac_try) 2>&5
77062   ac_status=$?
77063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77064   (exit $ac_status); }; }; then
77065   eval "$as_ac_var=yes"
77066 else
77067   echo "$as_me: failed program was:" >&5
77068 sed 's/^/| /' conftest.$ac_ext >&5
77069
77070 eval "$as_ac_var=no"
77071 fi
77072 rm -f conftest.err conftest.$ac_objext \
77073       conftest$ac_exeext conftest.$ac_ext
77074 fi
77075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77077 if test `eval echo '${'$as_ac_var'}'` = yes; then
77078   cat >>confdefs.h <<_ACEOF
77079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77080 _ACEOF
77081
77082 fi
77083 done
77084
77085     fi
77086   fi
77087
77088
77089
77090
77091
77092
77093   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77094 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77095   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77096     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77097   echo $ECHO_N "(cached) $ECHO_C" >&6
77098 else
77099
77100
77101
77102       ac_ext=cc
77103 ac_cpp='$CXXCPP $CPPFLAGS'
77104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77107
77108       cat >conftest.$ac_ext <<_ACEOF
77109 /* confdefs.h.  */
77110 _ACEOF
77111 cat confdefs.h >>conftest.$ac_ext
77112 cat >>conftest.$ac_ext <<_ACEOF
77113 /* end confdefs.h.  */
77114 #include <math.h>
77115 int
77116 main ()
77117 {
77118  hypotl(0, 0);
77119   ;
77120   return 0;
77121 }
77122 _ACEOF
77123 rm -f conftest.$ac_objext
77124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77125   (eval $ac_compile) 2>conftest.er1
77126   ac_status=$?
77127   grep -v '^ *+' conftest.er1 >conftest.err
77128   rm -f conftest.er1
77129   cat conftest.err >&5
77130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77131   (exit $ac_status); } &&
77132          { ac_try='test -z "$ac_cxx_werror_flag"
77133                          || test ! -s conftest.err'
77134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77135   (eval $ac_try) 2>&5
77136   ac_status=$?
77137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77138   (exit $ac_status); }; } &&
77139          { ac_try='test -s conftest.$ac_objext'
77140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77141   (eval $ac_try) 2>&5
77142   ac_status=$?
77143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77144   (exit $ac_status); }; }; then
77145   glibcxx_cv_func_hypotl_use=yes
77146 else
77147   echo "$as_me: failed program was:" >&5
77148 sed 's/^/| /' conftest.$ac_ext >&5
77149
77150 glibcxx_cv_func_hypotl_use=no
77151 fi
77152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77153       ac_ext=c
77154 ac_cpp='$CPP $CPPFLAGS'
77155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77158
77159
77160 fi
77161
77162   fi
77163   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77164 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77165
77166   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77167
77168 for ac_func in hypotl
77169 do
77170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77171 echo "$as_me:$LINENO: checking for $ac_func" >&5
77172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77173 if eval "test \"\${$as_ac_var+set}\" = set"; then
77174   echo $ECHO_N "(cached) $ECHO_C" >&6
77175 else
77176   if test x$gcc_no_link = xyes; then
77177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77179    { (exit 1); exit 1; }; }
77180 fi
77181 cat >conftest.$ac_ext <<_ACEOF
77182 /* confdefs.h.  */
77183 _ACEOF
77184 cat confdefs.h >>conftest.$ac_ext
77185 cat >>conftest.$ac_ext <<_ACEOF
77186 /* end confdefs.h.  */
77187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77189 #define $ac_func innocuous_$ac_func
77190
77191 /* System header to define __stub macros and hopefully few prototypes,
77192     which can conflict with char $ac_func (); below.
77193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77194     <limits.h> exists even on freestanding compilers.  */
77195
77196 #ifdef __STDC__
77197 # include <limits.h>
77198 #else
77199 # include <assert.h>
77200 #endif
77201
77202 #undef $ac_func
77203
77204 /* Override any gcc2 internal prototype to avoid an error.  */
77205 #ifdef __cplusplus
77206 extern "C"
77207 {
77208 #endif
77209 /* We use char because int might match the return type of a gcc2
77210    builtin and then its argument prototype would still apply.  */
77211 char $ac_func ();
77212 /* The GNU C library defines this for functions which it implements
77213     to always fail with ENOSYS.  Some functions are actually named
77214     something starting with __ and the normal name is an alias.  */
77215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77216 choke me
77217 #else
77218 char (*f) () = $ac_func;
77219 #endif
77220 #ifdef __cplusplus
77221 }
77222 #endif
77223
77224 int
77225 main ()
77226 {
77227 return f != $ac_func;
77228   ;
77229   return 0;
77230 }
77231 _ACEOF
77232 rm -f conftest.$ac_objext conftest$ac_exeext
77233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77234   (eval $ac_link) 2>conftest.er1
77235   ac_status=$?
77236   grep -v '^ *+' conftest.er1 >conftest.err
77237   rm -f conftest.er1
77238   cat conftest.err >&5
77239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77240   (exit $ac_status); } &&
77241          { ac_try='test -z "$ac_c_werror_flag"
77242                          || test ! -s conftest.err'
77243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77244   (eval $ac_try) 2>&5
77245   ac_status=$?
77246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77247   (exit $ac_status); }; } &&
77248          { ac_try='test -s conftest$ac_exeext'
77249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77250   (eval $ac_try) 2>&5
77251   ac_status=$?
77252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77253   (exit $ac_status); }; }; then
77254   eval "$as_ac_var=yes"
77255 else
77256   echo "$as_me: failed program was:" >&5
77257 sed 's/^/| /' conftest.$ac_ext >&5
77258
77259 eval "$as_ac_var=no"
77260 fi
77261 rm -f conftest.err conftest.$ac_objext \
77262       conftest$ac_exeext conftest.$ac_ext
77263 fi
77264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77266 if test `eval echo '${'$as_ac_var'}'` = yes; then
77267   cat >>confdefs.h <<_ACEOF
77268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77269 _ACEOF
77270
77271 fi
77272 done
77273
77274   else
77275
77276   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
77277 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
77278   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77279     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
77280   echo $ECHO_N "(cached) $ECHO_C" >&6
77281 else
77282
77283
77284
77285       ac_ext=cc
77286 ac_cpp='$CXXCPP $CPPFLAGS'
77287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77290
77291       cat >conftest.$ac_ext <<_ACEOF
77292 /* confdefs.h.  */
77293 _ACEOF
77294 cat confdefs.h >>conftest.$ac_ext
77295 cat >>conftest.$ac_ext <<_ACEOF
77296 /* end confdefs.h.  */
77297 #include <math.h>
77298 int
77299 main ()
77300 {
77301  _hypotl(0, 0);
77302   ;
77303   return 0;
77304 }
77305 _ACEOF
77306 rm -f conftest.$ac_objext
77307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77308   (eval $ac_compile) 2>conftest.er1
77309   ac_status=$?
77310   grep -v '^ *+' conftest.er1 >conftest.err
77311   rm -f conftest.er1
77312   cat conftest.err >&5
77313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77314   (exit $ac_status); } &&
77315          { ac_try='test -z "$ac_cxx_werror_flag"
77316                          || test ! -s conftest.err'
77317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77318   (eval $ac_try) 2>&5
77319   ac_status=$?
77320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77321   (exit $ac_status); }; } &&
77322          { ac_try='test -s conftest.$ac_objext'
77323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77324   (eval $ac_try) 2>&5
77325   ac_status=$?
77326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77327   (exit $ac_status); }; }; then
77328   glibcxx_cv_func__hypotl_use=yes
77329 else
77330   echo "$as_me: failed program was:" >&5
77331 sed 's/^/| /' conftest.$ac_ext >&5
77332
77333 glibcxx_cv_func__hypotl_use=no
77334 fi
77335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77336       ac_ext=c
77337 ac_cpp='$CPP $CPPFLAGS'
77338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77341
77342
77343 fi
77344
77345   fi
77346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
77347 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
77348
77349     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77350
77351 for ac_func in _hypotl
77352 do
77353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77354 echo "$as_me:$LINENO: checking for $ac_func" >&5
77355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77356 if eval "test \"\${$as_ac_var+set}\" = set"; then
77357   echo $ECHO_N "(cached) $ECHO_C" >&6
77358 else
77359   if test x$gcc_no_link = xyes; then
77360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77362    { (exit 1); exit 1; }; }
77363 fi
77364 cat >conftest.$ac_ext <<_ACEOF
77365 /* confdefs.h.  */
77366 _ACEOF
77367 cat confdefs.h >>conftest.$ac_ext
77368 cat >>conftest.$ac_ext <<_ACEOF
77369 /* end confdefs.h.  */
77370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77372 #define $ac_func innocuous_$ac_func
77373
77374 /* System header to define __stub macros and hopefully few prototypes,
77375     which can conflict with char $ac_func (); below.
77376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77377     <limits.h> exists even on freestanding compilers.  */
77378
77379 #ifdef __STDC__
77380 # include <limits.h>
77381 #else
77382 # include <assert.h>
77383 #endif
77384
77385 #undef $ac_func
77386
77387 /* Override any gcc2 internal prototype to avoid an error.  */
77388 #ifdef __cplusplus
77389 extern "C"
77390 {
77391 #endif
77392 /* We use char because int might match the return type of a gcc2
77393    builtin and then its argument prototype would still apply.  */
77394 char $ac_func ();
77395 /* The GNU C library defines this for functions which it implements
77396     to always fail with ENOSYS.  Some functions are actually named
77397     something starting with __ and the normal name is an alias.  */
77398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77399 choke me
77400 #else
77401 char (*f) () = $ac_func;
77402 #endif
77403 #ifdef __cplusplus
77404 }
77405 #endif
77406
77407 int
77408 main ()
77409 {
77410 return f != $ac_func;
77411   ;
77412   return 0;
77413 }
77414 _ACEOF
77415 rm -f conftest.$ac_objext conftest$ac_exeext
77416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77417   (eval $ac_link) 2>conftest.er1
77418   ac_status=$?
77419   grep -v '^ *+' conftest.er1 >conftest.err
77420   rm -f conftest.er1
77421   cat conftest.err >&5
77422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77423   (exit $ac_status); } &&
77424          { ac_try='test -z "$ac_c_werror_flag"
77425                          || test ! -s conftest.err'
77426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77427   (eval $ac_try) 2>&5
77428   ac_status=$?
77429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77430   (exit $ac_status); }; } &&
77431          { ac_try='test -s conftest$ac_exeext'
77432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77433   (eval $ac_try) 2>&5
77434   ac_status=$?
77435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77436   (exit $ac_status); }; }; then
77437   eval "$as_ac_var=yes"
77438 else
77439   echo "$as_me: failed program was:" >&5
77440 sed 's/^/| /' conftest.$ac_ext >&5
77441
77442 eval "$as_ac_var=no"
77443 fi
77444 rm -f conftest.err conftest.$ac_objext \
77445       conftest$ac_exeext conftest.$ac_ext
77446 fi
77447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77449 if test `eval echo '${'$as_ac_var'}'` = yes; then
77450   cat >>confdefs.h <<_ACEOF
77451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77452 _ACEOF
77453
77454 fi
77455 done
77456
77457     fi
77458   fi
77459
77460
77461
77462
77463
77464
77465   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
77466 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
77467   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77468     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
77469   echo $ECHO_N "(cached) $ECHO_C" >&6
77470 else
77471
77472
77473
77474       ac_ext=cc
77475 ac_cpp='$CXXCPP $CPPFLAGS'
77476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77479
77480       cat >conftest.$ac_ext <<_ACEOF
77481 /* confdefs.h.  */
77482 _ACEOF
77483 cat confdefs.h >>conftest.$ac_ext
77484 cat >>conftest.$ac_ext <<_ACEOF
77485 /* end confdefs.h.  */
77486 #include <math.h>
77487 int
77488 main ()
77489 {
77490  ldexpl(0, 0);
77491   ;
77492   return 0;
77493 }
77494 _ACEOF
77495 rm -f conftest.$ac_objext
77496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77497   (eval $ac_compile) 2>conftest.er1
77498   ac_status=$?
77499   grep -v '^ *+' conftest.er1 >conftest.err
77500   rm -f conftest.er1
77501   cat conftest.err >&5
77502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77503   (exit $ac_status); } &&
77504          { ac_try='test -z "$ac_cxx_werror_flag"
77505                          || test ! -s conftest.err'
77506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77507   (eval $ac_try) 2>&5
77508   ac_status=$?
77509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77510   (exit $ac_status); }; } &&
77511          { ac_try='test -s conftest.$ac_objext'
77512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77513   (eval $ac_try) 2>&5
77514   ac_status=$?
77515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77516   (exit $ac_status); }; }; then
77517   glibcxx_cv_func_ldexpl_use=yes
77518 else
77519   echo "$as_me: failed program was:" >&5
77520 sed 's/^/| /' conftest.$ac_ext >&5
77521
77522 glibcxx_cv_func_ldexpl_use=no
77523 fi
77524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77525       ac_ext=c
77526 ac_cpp='$CPP $CPPFLAGS'
77527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77530
77531
77532 fi
77533
77534   fi
77535   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
77536 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
77537
77538   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77539
77540 for ac_func in ldexpl
77541 do
77542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77543 echo "$as_me:$LINENO: checking for $ac_func" >&5
77544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77545 if eval "test \"\${$as_ac_var+set}\" = set"; then
77546   echo $ECHO_N "(cached) $ECHO_C" >&6
77547 else
77548   if test x$gcc_no_link = xyes; then
77549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77551    { (exit 1); exit 1; }; }
77552 fi
77553 cat >conftest.$ac_ext <<_ACEOF
77554 /* confdefs.h.  */
77555 _ACEOF
77556 cat confdefs.h >>conftest.$ac_ext
77557 cat >>conftest.$ac_ext <<_ACEOF
77558 /* end confdefs.h.  */
77559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77561 #define $ac_func innocuous_$ac_func
77562
77563 /* System header to define __stub macros and hopefully few prototypes,
77564     which can conflict with char $ac_func (); below.
77565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77566     <limits.h> exists even on freestanding compilers.  */
77567
77568 #ifdef __STDC__
77569 # include <limits.h>
77570 #else
77571 # include <assert.h>
77572 #endif
77573
77574 #undef $ac_func
77575
77576 /* Override any gcc2 internal prototype to avoid an error.  */
77577 #ifdef __cplusplus
77578 extern "C"
77579 {
77580 #endif
77581 /* We use char because int might match the return type of a gcc2
77582    builtin and then its argument prototype would still apply.  */
77583 char $ac_func ();
77584 /* The GNU C library defines this for functions which it implements
77585     to always fail with ENOSYS.  Some functions are actually named
77586     something starting with __ and the normal name is an alias.  */
77587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77588 choke me
77589 #else
77590 char (*f) () = $ac_func;
77591 #endif
77592 #ifdef __cplusplus
77593 }
77594 #endif
77595
77596 int
77597 main ()
77598 {
77599 return f != $ac_func;
77600   ;
77601   return 0;
77602 }
77603 _ACEOF
77604 rm -f conftest.$ac_objext conftest$ac_exeext
77605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77606   (eval $ac_link) 2>conftest.er1
77607   ac_status=$?
77608   grep -v '^ *+' conftest.er1 >conftest.err
77609   rm -f conftest.er1
77610   cat conftest.err >&5
77611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77612   (exit $ac_status); } &&
77613          { ac_try='test -z "$ac_c_werror_flag"
77614                          || test ! -s conftest.err'
77615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77616   (eval $ac_try) 2>&5
77617   ac_status=$?
77618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77619   (exit $ac_status); }; } &&
77620          { ac_try='test -s conftest$ac_exeext'
77621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77622   (eval $ac_try) 2>&5
77623   ac_status=$?
77624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77625   (exit $ac_status); }; }; then
77626   eval "$as_ac_var=yes"
77627 else
77628   echo "$as_me: failed program was:" >&5
77629 sed 's/^/| /' conftest.$ac_ext >&5
77630
77631 eval "$as_ac_var=no"
77632 fi
77633 rm -f conftest.err conftest.$ac_objext \
77634       conftest$ac_exeext conftest.$ac_ext
77635 fi
77636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77638 if test `eval echo '${'$as_ac_var'}'` = yes; then
77639   cat >>confdefs.h <<_ACEOF
77640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77641 _ACEOF
77642
77643 fi
77644 done
77645
77646   else
77647
77648   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
77649 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
77650   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77651     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
77652   echo $ECHO_N "(cached) $ECHO_C" >&6
77653 else
77654
77655
77656
77657       ac_ext=cc
77658 ac_cpp='$CXXCPP $CPPFLAGS'
77659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77662
77663       cat >conftest.$ac_ext <<_ACEOF
77664 /* confdefs.h.  */
77665 _ACEOF
77666 cat confdefs.h >>conftest.$ac_ext
77667 cat >>conftest.$ac_ext <<_ACEOF
77668 /* end confdefs.h.  */
77669 #include <math.h>
77670 int
77671 main ()
77672 {
77673  _ldexpl(0, 0);
77674   ;
77675   return 0;
77676 }
77677 _ACEOF
77678 rm -f conftest.$ac_objext
77679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77680   (eval $ac_compile) 2>conftest.er1
77681   ac_status=$?
77682   grep -v '^ *+' conftest.er1 >conftest.err
77683   rm -f conftest.er1
77684   cat conftest.err >&5
77685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77686   (exit $ac_status); } &&
77687          { ac_try='test -z "$ac_cxx_werror_flag"
77688                          || test ! -s conftest.err'
77689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77690   (eval $ac_try) 2>&5
77691   ac_status=$?
77692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77693   (exit $ac_status); }; } &&
77694          { ac_try='test -s conftest.$ac_objext'
77695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77696   (eval $ac_try) 2>&5
77697   ac_status=$?
77698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77699   (exit $ac_status); }; }; then
77700   glibcxx_cv_func__ldexpl_use=yes
77701 else
77702   echo "$as_me: failed program was:" >&5
77703 sed 's/^/| /' conftest.$ac_ext >&5
77704
77705 glibcxx_cv_func__ldexpl_use=no
77706 fi
77707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77708       ac_ext=c
77709 ac_cpp='$CPP $CPPFLAGS'
77710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77713
77714
77715 fi
77716
77717   fi
77718   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
77719 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
77720
77721     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77722
77723 for ac_func in _ldexpl
77724 do
77725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77726 echo "$as_me:$LINENO: checking for $ac_func" >&5
77727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77728 if eval "test \"\${$as_ac_var+set}\" = set"; then
77729   echo $ECHO_N "(cached) $ECHO_C" >&6
77730 else
77731   if test x$gcc_no_link = xyes; then
77732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77734    { (exit 1); exit 1; }; }
77735 fi
77736 cat >conftest.$ac_ext <<_ACEOF
77737 /* confdefs.h.  */
77738 _ACEOF
77739 cat confdefs.h >>conftest.$ac_ext
77740 cat >>conftest.$ac_ext <<_ACEOF
77741 /* end confdefs.h.  */
77742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77743    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77744 #define $ac_func innocuous_$ac_func
77745
77746 /* System header to define __stub macros and hopefully few prototypes,
77747     which can conflict with char $ac_func (); below.
77748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77749     <limits.h> exists even on freestanding compilers.  */
77750
77751 #ifdef __STDC__
77752 # include <limits.h>
77753 #else
77754 # include <assert.h>
77755 #endif
77756
77757 #undef $ac_func
77758
77759 /* Override any gcc2 internal prototype to avoid an error.  */
77760 #ifdef __cplusplus
77761 extern "C"
77762 {
77763 #endif
77764 /* We use char because int might match the return type of a gcc2
77765    builtin and then its argument prototype would still apply.  */
77766 char $ac_func ();
77767 /* The GNU C library defines this for functions which it implements
77768     to always fail with ENOSYS.  Some functions are actually named
77769     something starting with __ and the normal name is an alias.  */
77770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77771 choke me
77772 #else
77773 char (*f) () = $ac_func;
77774 #endif
77775 #ifdef __cplusplus
77776 }
77777 #endif
77778
77779 int
77780 main ()
77781 {
77782 return f != $ac_func;
77783   ;
77784   return 0;
77785 }
77786 _ACEOF
77787 rm -f conftest.$ac_objext conftest$ac_exeext
77788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77789   (eval $ac_link) 2>conftest.er1
77790   ac_status=$?
77791   grep -v '^ *+' conftest.er1 >conftest.err
77792   rm -f conftest.er1
77793   cat conftest.err >&5
77794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77795   (exit $ac_status); } &&
77796          { ac_try='test -z "$ac_c_werror_flag"
77797                          || test ! -s conftest.err'
77798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77799   (eval $ac_try) 2>&5
77800   ac_status=$?
77801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77802   (exit $ac_status); }; } &&
77803          { ac_try='test -s conftest$ac_exeext'
77804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77805   (eval $ac_try) 2>&5
77806   ac_status=$?
77807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77808   (exit $ac_status); }; }; then
77809   eval "$as_ac_var=yes"
77810 else
77811   echo "$as_me: failed program was:" >&5
77812 sed 's/^/| /' conftest.$ac_ext >&5
77813
77814 eval "$as_ac_var=no"
77815 fi
77816 rm -f conftest.err conftest.$ac_objext \
77817       conftest$ac_exeext conftest.$ac_ext
77818 fi
77819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77821 if test `eval echo '${'$as_ac_var'}'` = yes; then
77822   cat >>confdefs.h <<_ACEOF
77823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77824 _ACEOF
77825
77826 fi
77827 done
77828
77829     fi
77830   fi
77831
77832
77833
77834
77835
77836
77837   echo "$as_me:$LINENO: checking for logl declaration" >&5
77838 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
77839   if test x${glibcxx_cv_func_logl_use+set} != xset; then
77840     if test "${glibcxx_cv_func_logl_use+set}" = set; then
77841   echo $ECHO_N "(cached) $ECHO_C" >&6
77842 else
77843
77844
77845
77846       ac_ext=cc
77847 ac_cpp='$CXXCPP $CPPFLAGS'
77848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77851
77852       cat >conftest.$ac_ext <<_ACEOF
77853 /* confdefs.h.  */
77854 _ACEOF
77855 cat confdefs.h >>conftest.$ac_ext
77856 cat >>conftest.$ac_ext <<_ACEOF
77857 /* end confdefs.h.  */
77858 #include <math.h>
77859                       #ifdef HAVE_IEEEFP_H
77860                       #include <ieeefp.h>
77861                       #endif
77862
77863 int
77864 main ()
77865 {
77866  logl(0);
77867   ;
77868   return 0;
77869 }
77870 _ACEOF
77871 rm -f conftest.$ac_objext
77872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77873   (eval $ac_compile) 2>conftest.er1
77874   ac_status=$?
77875   grep -v '^ *+' conftest.er1 >conftest.err
77876   rm -f conftest.er1
77877   cat conftest.err >&5
77878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77879   (exit $ac_status); } &&
77880          { ac_try='test -z "$ac_cxx_werror_flag"
77881                          || test ! -s conftest.err'
77882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77883   (eval $ac_try) 2>&5
77884   ac_status=$?
77885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77886   (exit $ac_status); }; } &&
77887          { ac_try='test -s conftest.$ac_objext'
77888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77889   (eval $ac_try) 2>&5
77890   ac_status=$?
77891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77892   (exit $ac_status); }; }; then
77893   glibcxx_cv_func_logl_use=yes
77894 else
77895   echo "$as_me: failed program was:" >&5
77896 sed 's/^/| /' conftest.$ac_ext >&5
77897
77898 glibcxx_cv_func_logl_use=no
77899 fi
77900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77901       ac_ext=c
77902 ac_cpp='$CPP $CPPFLAGS'
77903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77906
77907
77908 fi
77909
77910   fi
77911   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
77912 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
77913
77914   if test x$glibcxx_cv_func_logl_use = x"yes"; then
77915
77916 for ac_func in logl
77917 do
77918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77919 echo "$as_me:$LINENO: checking for $ac_func" >&5
77920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77921 if eval "test \"\${$as_ac_var+set}\" = set"; then
77922   echo $ECHO_N "(cached) $ECHO_C" >&6
77923 else
77924   if test x$gcc_no_link = xyes; then
77925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77927    { (exit 1); exit 1; }; }
77928 fi
77929 cat >conftest.$ac_ext <<_ACEOF
77930 /* confdefs.h.  */
77931 _ACEOF
77932 cat confdefs.h >>conftest.$ac_ext
77933 cat >>conftest.$ac_ext <<_ACEOF
77934 /* end confdefs.h.  */
77935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77937 #define $ac_func innocuous_$ac_func
77938
77939 /* System header to define __stub macros and hopefully few prototypes,
77940     which can conflict with char $ac_func (); below.
77941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77942     <limits.h> exists even on freestanding compilers.  */
77943
77944 #ifdef __STDC__
77945 # include <limits.h>
77946 #else
77947 # include <assert.h>
77948 #endif
77949
77950 #undef $ac_func
77951
77952 /* Override any gcc2 internal prototype to avoid an error.  */
77953 #ifdef __cplusplus
77954 extern "C"
77955 {
77956 #endif
77957 /* We use char because int might match the return type of a gcc2
77958    builtin and then its argument prototype would still apply.  */
77959 char $ac_func ();
77960 /* The GNU C library defines this for functions which it implements
77961     to always fail with ENOSYS.  Some functions are actually named
77962     something starting with __ and the normal name is an alias.  */
77963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77964 choke me
77965 #else
77966 char (*f) () = $ac_func;
77967 #endif
77968 #ifdef __cplusplus
77969 }
77970 #endif
77971
77972 int
77973 main ()
77974 {
77975 return f != $ac_func;
77976   ;
77977   return 0;
77978 }
77979 _ACEOF
77980 rm -f conftest.$ac_objext conftest$ac_exeext
77981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77982   (eval $ac_link) 2>conftest.er1
77983   ac_status=$?
77984   grep -v '^ *+' conftest.er1 >conftest.err
77985   rm -f conftest.er1
77986   cat conftest.err >&5
77987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77988   (exit $ac_status); } &&
77989          { ac_try='test -z "$ac_c_werror_flag"
77990                          || test ! -s conftest.err'
77991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77992   (eval $ac_try) 2>&5
77993   ac_status=$?
77994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77995   (exit $ac_status); }; } &&
77996          { ac_try='test -s conftest$ac_exeext'
77997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77998   (eval $ac_try) 2>&5
77999   ac_status=$?
78000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78001   (exit $ac_status); }; }; then
78002   eval "$as_ac_var=yes"
78003 else
78004   echo "$as_me: failed program was:" >&5
78005 sed 's/^/| /' conftest.$ac_ext >&5
78006
78007 eval "$as_ac_var=no"
78008 fi
78009 rm -f conftest.err conftest.$ac_objext \
78010       conftest$ac_exeext conftest.$ac_ext
78011 fi
78012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78014 if test `eval echo '${'$as_ac_var'}'` = yes; then
78015   cat >>confdefs.h <<_ACEOF
78016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78017 _ACEOF
78018
78019 fi
78020 done
78021
78022   else
78023
78024   echo "$as_me:$LINENO: checking for _logl declaration" >&5
78025 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78026   if test x${glibcxx_cv_func__logl_use+set} != xset; then
78027     if test "${glibcxx_cv_func__logl_use+set}" = set; then
78028   echo $ECHO_N "(cached) $ECHO_C" >&6
78029 else
78030
78031
78032
78033       ac_ext=cc
78034 ac_cpp='$CXXCPP $CPPFLAGS'
78035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78038
78039       cat >conftest.$ac_ext <<_ACEOF
78040 /* confdefs.h.  */
78041 _ACEOF
78042 cat confdefs.h >>conftest.$ac_ext
78043 cat >>conftest.$ac_ext <<_ACEOF
78044 /* end confdefs.h.  */
78045 #include <math.h>
78046                       #ifdef HAVE_IEEEFP_H
78047                       #include <ieeefp.h>
78048                       #endif
78049
78050 int
78051 main ()
78052 {
78053  _logl(0);
78054   ;
78055   return 0;
78056 }
78057 _ACEOF
78058 rm -f conftest.$ac_objext
78059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78060   (eval $ac_compile) 2>conftest.er1
78061   ac_status=$?
78062   grep -v '^ *+' conftest.er1 >conftest.err
78063   rm -f conftest.er1
78064   cat conftest.err >&5
78065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78066   (exit $ac_status); } &&
78067          { ac_try='test -z "$ac_cxx_werror_flag"
78068                          || test ! -s conftest.err'
78069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78070   (eval $ac_try) 2>&5
78071   ac_status=$?
78072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78073   (exit $ac_status); }; } &&
78074          { ac_try='test -s conftest.$ac_objext'
78075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78076   (eval $ac_try) 2>&5
78077   ac_status=$?
78078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78079   (exit $ac_status); }; }; then
78080   glibcxx_cv_func__logl_use=yes
78081 else
78082   echo "$as_me: failed program was:" >&5
78083 sed 's/^/| /' conftest.$ac_ext >&5
78084
78085 glibcxx_cv_func__logl_use=no
78086 fi
78087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78088       ac_ext=c
78089 ac_cpp='$CPP $CPPFLAGS'
78090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78093
78094
78095 fi
78096
78097   fi
78098   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78099 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78100
78101     if test x$glibcxx_cv_func__logl_use = x"yes"; then
78102
78103 for ac_func in _logl
78104 do
78105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78106 echo "$as_me:$LINENO: checking for $ac_func" >&5
78107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78108 if eval "test \"\${$as_ac_var+set}\" = set"; then
78109   echo $ECHO_N "(cached) $ECHO_C" >&6
78110 else
78111   if test x$gcc_no_link = xyes; then
78112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78114    { (exit 1); exit 1; }; }
78115 fi
78116 cat >conftest.$ac_ext <<_ACEOF
78117 /* confdefs.h.  */
78118 _ACEOF
78119 cat confdefs.h >>conftest.$ac_ext
78120 cat >>conftest.$ac_ext <<_ACEOF
78121 /* end confdefs.h.  */
78122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78124 #define $ac_func innocuous_$ac_func
78125
78126 /* System header to define __stub macros and hopefully few prototypes,
78127     which can conflict with char $ac_func (); below.
78128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78129     <limits.h> exists even on freestanding compilers.  */
78130
78131 #ifdef __STDC__
78132 # include <limits.h>
78133 #else
78134 # include <assert.h>
78135 #endif
78136
78137 #undef $ac_func
78138
78139 /* Override any gcc2 internal prototype to avoid an error.  */
78140 #ifdef __cplusplus
78141 extern "C"
78142 {
78143 #endif
78144 /* We use char because int might match the return type of a gcc2
78145    builtin and then its argument prototype would still apply.  */
78146 char $ac_func ();
78147 /* The GNU C library defines this for functions which it implements
78148     to always fail with ENOSYS.  Some functions are actually named
78149     something starting with __ and the normal name is an alias.  */
78150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78151 choke me
78152 #else
78153 char (*f) () = $ac_func;
78154 #endif
78155 #ifdef __cplusplus
78156 }
78157 #endif
78158
78159 int
78160 main ()
78161 {
78162 return f != $ac_func;
78163   ;
78164   return 0;
78165 }
78166 _ACEOF
78167 rm -f conftest.$ac_objext conftest$ac_exeext
78168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78169   (eval $ac_link) 2>conftest.er1
78170   ac_status=$?
78171   grep -v '^ *+' conftest.er1 >conftest.err
78172   rm -f conftest.er1
78173   cat conftest.err >&5
78174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78175   (exit $ac_status); } &&
78176          { ac_try='test -z "$ac_c_werror_flag"
78177                          || test ! -s conftest.err'
78178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78179   (eval $ac_try) 2>&5
78180   ac_status=$?
78181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78182   (exit $ac_status); }; } &&
78183          { ac_try='test -s conftest$ac_exeext'
78184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78185   (eval $ac_try) 2>&5
78186   ac_status=$?
78187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78188   (exit $ac_status); }; }; then
78189   eval "$as_ac_var=yes"
78190 else
78191   echo "$as_me: failed program was:" >&5
78192 sed 's/^/| /' conftest.$ac_ext >&5
78193
78194 eval "$as_ac_var=no"
78195 fi
78196 rm -f conftest.err conftest.$ac_objext \
78197       conftest$ac_exeext conftest.$ac_ext
78198 fi
78199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78201 if test `eval echo '${'$as_ac_var'}'` = yes; then
78202   cat >>confdefs.h <<_ACEOF
78203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78204 _ACEOF
78205
78206 fi
78207 done
78208
78209     fi
78210   fi
78211
78212
78213
78214
78215
78216
78217   echo "$as_me:$LINENO: checking for log10l declaration" >&5
78218 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78219   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78220     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78221   echo $ECHO_N "(cached) $ECHO_C" >&6
78222 else
78223
78224
78225
78226       ac_ext=cc
78227 ac_cpp='$CXXCPP $CPPFLAGS'
78228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78231
78232       cat >conftest.$ac_ext <<_ACEOF
78233 /* confdefs.h.  */
78234 _ACEOF
78235 cat confdefs.h >>conftest.$ac_ext
78236 cat >>conftest.$ac_ext <<_ACEOF
78237 /* end confdefs.h.  */
78238 #include <math.h>
78239                       #ifdef HAVE_IEEEFP_H
78240                       #include <ieeefp.h>
78241                       #endif
78242
78243 int
78244 main ()
78245 {
78246  log10l(0);
78247   ;
78248   return 0;
78249 }
78250 _ACEOF
78251 rm -f conftest.$ac_objext
78252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78253   (eval $ac_compile) 2>conftest.er1
78254   ac_status=$?
78255   grep -v '^ *+' conftest.er1 >conftest.err
78256   rm -f conftest.er1
78257   cat conftest.err >&5
78258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78259   (exit $ac_status); } &&
78260          { ac_try='test -z "$ac_cxx_werror_flag"
78261                          || test ! -s conftest.err'
78262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78263   (eval $ac_try) 2>&5
78264   ac_status=$?
78265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78266   (exit $ac_status); }; } &&
78267          { ac_try='test -s conftest.$ac_objext'
78268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78269   (eval $ac_try) 2>&5
78270   ac_status=$?
78271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78272   (exit $ac_status); }; }; then
78273   glibcxx_cv_func_log10l_use=yes
78274 else
78275   echo "$as_me: failed program was:" >&5
78276 sed 's/^/| /' conftest.$ac_ext >&5
78277
78278 glibcxx_cv_func_log10l_use=no
78279 fi
78280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78281       ac_ext=c
78282 ac_cpp='$CPP $CPPFLAGS'
78283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78286
78287
78288 fi
78289
78290   fi
78291   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
78292 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
78293
78294   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
78295
78296 for ac_func in log10l
78297 do
78298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78299 echo "$as_me:$LINENO: checking for $ac_func" >&5
78300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78301 if eval "test \"\${$as_ac_var+set}\" = set"; then
78302   echo $ECHO_N "(cached) $ECHO_C" >&6
78303 else
78304   if test x$gcc_no_link = xyes; then
78305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78307    { (exit 1); exit 1; }; }
78308 fi
78309 cat >conftest.$ac_ext <<_ACEOF
78310 /* confdefs.h.  */
78311 _ACEOF
78312 cat confdefs.h >>conftest.$ac_ext
78313 cat >>conftest.$ac_ext <<_ACEOF
78314 /* end confdefs.h.  */
78315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78317 #define $ac_func innocuous_$ac_func
78318
78319 /* System header to define __stub macros and hopefully few prototypes,
78320     which can conflict with char $ac_func (); below.
78321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78322     <limits.h> exists even on freestanding compilers.  */
78323
78324 #ifdef __STDC__
78325 # include <limits.h>
78326 #else
78327 # include <assert.h>
78328 #endif
78329
78330 #undef $ac_func
78331
78332 /* Override any gcc2 internal prototype to avoid an error.  */
78333 #ifdef __cplusplus
78334 extern "C"
78335 {
78336 #endif
78337 /* We use char because int might match the return type of a gcc2
78338    builtin and then its argument prototype would still apply.  */
78339 char $ac_func ();
78340 /* The GNU C library defines this for functions which it implements
78341     to always fail with ENOSYS.  Some functions are actually named
78342     something starting with __ and the normal name is an alias.  */
78343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78344 choke me
78345 #else
78346 char (*f) () = $ac_func;
78347 #endif
78348 #ifdef __cplusplus
78349 }
78350 #endif
78351
78352 int
78353 main ()
78354 {
78355 return f != $ac_func;
78356   ;
78357   return 0;
78358 }
78359 _ACEOF
78360 rm -f conftest.$ac_objext conftest$ac_exeext
78361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78362   (eval $ac_link) 2>conftest.er1
78363   ac_status=$?
78364   grep -v '^ *+' conftest.er1 >conftest.err
78365   rm -f conftest.er1
78366   cat conftest.err >&5
78367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78368   (exit $ac_status); } &&
78369          { ac_try='test -z "$ac_c_werror_flag"
78370                          || test ! -s conftest.err'
78371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78372   (eval $ac_try) 2>&5
78373   ac_status=$?
78374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78375   (exit $ac_status); }; } &&
78376          { ac_try='test -s conftest$ac_exeext'
78377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78378   (eval $ac_try) 2>&5
78379   ac_status=$?
78380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381   (exit $ac_status); }; }; then
78382   eval "$as_ac_var=yes"
78383 else
78384   echo "$as_me: failed program was:" >&5
78385 sed 's/^/| /' conftest.$ac_ext >&5
78386
78387 eval "$as_ac_var=no"
78388 fi
78389 rm -f conftest.err conftest.$ac_objext \
78390       conftest$ac_exeext conftest.$ac_ext
78391 fi
78392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78394 if test `eval echo '${'$as_ac_var'}'` = yes; then
78395   cat >>confdefs.h <<_ACEOF
78396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78397 _ACEOF
78398
78399 fi
78400 done
78401
78402   else
78403
78404   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
78405 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
78406   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
78407     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
78408   echo $ECHO_N "(cached) $ECHO_C" >&6
78409 else
78410
78411
78412
78413       ac_ext=cc
78414 ac_cpp='$CXXCPP $CPPFLAGS'
78415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78418
78419       cat >conftest.$ac_ext <<_ACEOF
78420 /* confdefs.h.  */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h.  */
78425 #include <math.h>
78426                       #ifdef HAVE_IEEEFP_H
78427                       #include <ieeefp.h>
78428                       #endif
78429
78430 int
78431 main ()
78432 {
78433  _log10l(0);
78434   ;
78435   return 0;
78436 }
78437 _ACEOF
78438 rm -f conftest.$ac_objext
78439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78440   (eval $ac_compile) 2>conftest.er1
78441   ac_status=$?
78442   grep -v '^ *+' conftest.er1 >conftest.err
78443   rm -f conftest.er1
78444   cat conftest.err >&5
78445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78446   (exit $ac_status); } &&
78447          { ac_try='test -z "$ac_cxx_werror_flag"
78448                          || test ! -s conftest.err'
78449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78450   (eval $ac_try) 2>&5
78451   ac_status=$?
78452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78453   (exit $ac_status); }; } &&
78454          { ac_try='test -s conftest.$ac_objext'
78455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78456   (eval $ac_try) 2>&5
78457   ac_status=$?
78458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78459   (exit $ac_status); }; }; then
78460   glibcxx_cv_func__log10l_use=yes
78461 else
78462   echo "$as_me: failed program was:" >&5
78463 sed 's/^/| /' conftest.$ac_ext >&5
78464
78465 glibcxx_cv_func__log10l_use=no
78466 fi
78467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78468       ac_ext=c
78469 ac_cpp='$CPP $CPPFLAGS'
78470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78473
78474
78475 fi
78476
78477   fi
78478   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
78479 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
78480
78481     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
78482
78483 for ac_func in _log10l
78484 do
78485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78486 echo "$as_me:$LINENO: checking for $ac_func" >&5
78487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78488 if eval "test \"\${$as_ac_var+set}\" = set"; then
78489   echo $ECHO_N "(cached) $ECHO_C" >&6
78490 else
78491   if test x$gcc_no_link = xyes; then
78492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78494    { (exit 1); exit 1; }; }
78495 fi
78496 cat >conftest.$ac_ext <<_ACEOF
78497 /* confdefs.h.  */
78498 _ACEOF
78499 cat confdefs.h >>conftest.$ac_ext
78500 cat >>conftest.$ac_ext <<_ACEOF
78501 /* end confdefs.h.  */
78502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78504 #define $ac_func innocuous_$ac_func
78505
78506 /* System header to define __stub macros and hopefully few prototypes,
78507     which can conflict with char $ac_func (); below.
78508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78509     <limits.h> exists even on freestanding compilers.  */
78510
78511 #ifdef __STDC__
78512 # include <limits.h>
78513 #else
78514 # include <assert.h>
78515 #endif
78516
78517 #undef $ac_func
78518
78519 /* Override any gcc2 internal prototype to avoid an error.  */
78520 #ifdef __cplusplus
78521 extern "C"
78522 {
78523 #endif
78524 /* We use char because int might match the return type of a gcc2
78525    builtin and then its argument prototype would still apply.  */
78526 char $ac_func ();
78527 /* The GNU C library defines this for functions which it implements
78528     to always fail with ENOSYS.  Some functions are actually named
78529     something starting with __ and the normal name is an alias.  */
78530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78531 choke me
78532 #else
78533 char (*f) () = $ac_func;
78534 #endif
78535 #ifdef __cplusplus
78536 }
78537 #endif
78538
78539 int
78540 main ()
78541 {
78542 return f != $ac_func;
78543   ;
78544   return 0;
78545 }
78546 _ACEOF
78547 rm -f conftest.$ac_objext conftest$ac_exeext
78548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78549   (eval $ac_link) 2>conftest.er1
78550   ac_status=$?
78551   grep -v '^ *+' conftest.er1 >conftest.err
78552   rm -f conftest.er1
78553   cat conftest.err >&5
78554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78555   (exit $ac_status); } &&
78556          { ac_try='test -z "$ac_c_werror_flag"
78557                          || test ! -s conftest.err'
78558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78559   (eval $ac_try) 2>&5
78560   ac_status=$?
78561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78562   (exit $ac_status); }; } &&
78563          { ac_try='test -s conftest$ac_exeext'
78564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78565   (eval $ac_try) 2>&5
78566   ac_status=$?
78567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78568   (exit $ac_status); }; }; then
78569   eval "$as_ac_var=yes"
78570 else
78571   echo "$as_me: failed program was:" >&5
78572 sed 's/^/| /' conftest.$ac_ext >&5
78573
78574 eval "$as_ac_var=no"
78575 fi
78576 rm -f conftest.err conftest.$ac_objext \
78577       conftest$ac_exeext conftest.$ac_ext
78578 fi
78579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78581 if test `eval echo '${'$as_ac_var'}'` = yes; then
78582   cat >>confdefs.h <<_ACEOF
78583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78584 _ACEOF
78585
78586 fi
78587 done
78588
78589     fi
78590   fi
78591
78592
78593
78594
78595
78596
78597   echo "$as_me:$LINENO: checking for modfl declaration" >&5
78598 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
78599   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
78600     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
78601   echo $ECHO_N "(cached) $ECHO_C" >&6
78602 else
78603
78604
78605
78606       ac_ext=cc
78607 ac_cpp='$CXXCPP $CPPFLAGS'
78608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78611
78612       cat >conftest.$ac_ext <<_ACEOF
78613 /* confdefs.h.  */
78614 _ACEOF
78615 cat confdefs.h >>conftest.$ac_ext
78616 cat >>conftest.$ac_ext <<_ACEOF
78617 /* end confdefs.h.  */
78618 #include <math.h>
78619 int
78620 main ()
78621 {
78622  modfl(0, 0);
78623   ;
78624   return 0;
78625 }
78626 _ACEOF
78627 rm -f conftest.$ac_objext
78628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78629   (eval $ac_compile) 2>conftest.er1
78630   ac_status=$?
78631   grep -v '^ *+' conftest.er1 >conftest.err
78632   rm -f conftest.er1
78633   cat conftest.err >&5
78634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635   (exit $ac_status); } &&
78636          { ac_try='test -z "$ac_cxx_werror_flag"
78637                          || test ! -s conftest.err'
78638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78639   (eval $ac_try) 2>&5
78640   ac_status=$?
78641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78642   (exit $ac_status); }; } &&
78643          { ac_try='test -s conftest.$ac_objext'
78644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78645   (eval $ac_try) 2>&5
78646   ac_status=$?
78647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648   (exit $ac_status); }; }; then
78649   glibcxx_cv_func_modfl_use=yes
78650 else
78651   echo "$as_me: failed program was:" >&5
78652 sed 's/^/| /' conftest.$ac_ext >&5
78653
78654 glibcxx_cv_func_modfl_use=no
78655 fi
78656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78657       ac_ext=c
78658 ac_cpp='$CPP $CPPFLAGS'
78659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78662
78663
78664 fi
78665
78666   fi
78667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
78668 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
78669
78670   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
78671
78672 for ac_func in modfl
78673 do
78674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78675 echo "$as_me:$LINENO: checking for $ac_func" >&5
78676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78677 if eval "test \"\${$as_ac_var+set}\" = set"; then
78678   echo $ECHO_N "(cached) $ECHO_C" >&6
78679 else
78680   if test x$gcc_no_link = xyes; then
78681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78683    { (exit 1); exit 1; }; }
78684 fi
78685 cat >conftest.$ac_ext <<_ACEOF
78686 /* confdefs.h.  */
78687 _ACEOF
78688 cat confdefs.h >>conftest.$ac_ext
78689 cat >>conftest.$ac_ext <<_ACEOF
78690 /* end confdefs.h.  */
78691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78693 #define $ac_func innocuous_$ac_func
78694
78695 /* System header to define __stub macros and hopefully few prototypes,
78696     which can conflict with char $ac_func (); below.
78697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78698     <limits.h> exists even on freestanding compilers.  */
78699
78700 #ifdef __STDC__
78701 # include <limits.h>
78702 #else
78703 # include <assert.h>
78704 #endif
78705
78706 #undef $ac_func
78707
78708 /* Override any gcc2 internal prototype to avoid an error.  */
78709 #ifdef __cplusplus
78710 extern "C"
78711 {
78712 #endif
78713 /* We use char because int might match the return type of a gcc2
78714    builtin and then its argument prototype would still apply.  */
78715 char $ac_func ();
78716 /* The GNU C library defines this for functions which it implements
78717     to always fail with ENOSYS.  Some functions are actually named
78718     something starting with __ and the normal name is an alias.  */
78719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78720 choke me
78721 #else
78722 char (*f) () = $ac_func;
78723 #endif
78724 #ifdef __cplusplus
78725 }
78726 #endif
78727
78728 int
78729 main ()
78730 {
78731 return f != $ac_func;
78732   ;
78733   return 0;
78734 }
78735 _ACEOF
78736 rm -f conftest.$ac_objext conftest$ac_exeext
78737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78738   (eval $ac_link) 2>conftest.er1
78739   ac_status=$?
78740   grep -v '^ *+' conftest.er1 >conftest.err
78741   rm -f conftest.er1
78742   cat conftest.err >&5
78743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78744   (exit $ac_status); } &&
78745          { ac_try='test -z "$ac_c_werror_flag"
78746                          || test ! -s conftest.err'
78747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78748   (eval $ac_try) 2>&5
78749   ac_status=$?
78750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78751   (exit $ac_status); }; } &&
78752          { ac_try='test -s conftest$ac_exeext'
78753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78754   (eval $ac_try) 2>&5
78755   ac_status=$?
78756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78757   (exit $ac_status); }; }; then
78758   eval "$as_ac_var=yes"
78759 else
78760   echo "$as_me: failed program was:" >&5
78761 sed 's/^/| /' conftest.$ac_ext >&5
78762
78763 eval "$as_ac_var=no"
78764 fi
78765 rm -f conftest.err conftest.$ac_objext \
78766       conftest$ac_exeext conftest.$ac_ext
78767 fi
78768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78770 if test `eval echo '${'$as_ac_var'}'` = yes; then
78771   cat >>confdefs.h <<_ACEOF
78772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78773 _ACEOF
78774
78775 fi
78776 done
78777
78778   else
78779
78780   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
78781 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
78782   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
78783     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
78784   echo $ECHO_N "(cached) $ECHO_C" >&6
78785 else
78786
78787
78788
78789       ac_ext=cc
78790 ac_cpp='$CXXCPP $CPPFLAGS'
78791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78794
78795       cat >conftest.$ac_ext <<_ACEOF
78796 /* confdefs.h.  */
78797 _ACEOF
78798 cat confdefs.h >>conftest.$ac_ext
78799 cat >>conftest.$ac_ext <<_ACEOF
78800 /* end confdefs.h.  */
78801 #include <math.h>
78802 int
78803 main ()
78804 {
78805  _modfl(0, 0);
78806   ;
78807   return 0;
78808 }
78809 _ACEOF
78810 rm -f conftest.$ac_objext
78811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78812   (eval $ac_compile) 2>conftest.er1
78813   ac_status=$?
78814   grep -v '^ *+' conftest.er1 >conftest.err
78815   rm -f conftest.er1
78816   cat conftest.err >&5
78817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78818   (exit $ac_status); } &&
78819          { ac_try='test -z "$ac_cxx_werror_flag"
78820                          || test ! -s conftest.err'
78821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78822   (eval $ac_try) 2>&5
78823   ac_status=$?
78824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78825   (exit $ac_status); }; } &&
78826          { ac_try='test -s conftest.$ac_objext'
78827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78828   (eval $ac_try) 2>&5
78829   ac_status=$?
78830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78831   (exit $ac_status); }; }; then
78832   glibcxx_cv_func__modfl_use=yes
78833 else
78834   echo "$as_me: failed program was:" >&5
78835 sed 's/^/| /' conftest.$ac_ext >&5
78836
78837 glibcxx_cv_func__modfl_use=no
78838 fi
78839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78840       ac_ext=c
78841 ac_cpp='$CPP $CPPFLAGS'
78842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78845
78846
78847 fi
78848
78849   fi
78850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
78851 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
78852
78853     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
78854
78855 for ac_func in _modfl
78856 do
78857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78858 echo "$as_me:$LINENO: checking for $ac_func" >&5
78859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78860 if eval "test \"\${$as_ac_var+set}\" = set"; then
78861   echo $ECHO_N "(cached) $ECHO_C" >&6
78862 else
78863   if test x$gcc_no_link = xyes; then
78864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78866    { (exit 1); exit 1; }; }
78867 fi
78868 cat >conftest.$ac_ext <<_ACEOF
78869 /* confdefs.h.  */
78870 _ACEOF
78871 cat confdefs.h >>conftest.$ac_ext
78872 cat >>conftest.$ac_ext <<_ACEOF
78873 /* end confdefs.h.  */
78874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78876 #define $ac_func innocuous_$ac_func
78877
78878 /* System header to define __stub macros and hopefully few prototypes,
78879     which can conflict with char $ac_func (); below.
78880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78881     <limits.h> exists even on freestanding compilers.  */
78882
78883 #ifdef __STDC__
78884 # include <limits.h>
78885 #else
78886 # include <assert.h>
78887 #endif
78888
78889 #undef $ac_func
78890
78891 /* Override any gcc2 internal prototype to avoid an error.  */
78892 #ifdef __cplusplus
78893 extern "C"
78894 {
78895 #endif
78896 /* We use char because int might match the return type of a gcc2
78897    builtin and then its argument prototype would still apply.  */
78898 char $ac_func ();
78899 /* The GNU C library defines this for functions which it implements
78900     to always fail with ENOSYS.  Some functions are actually named
78901     something starting with __ and the normal name is an alias.  */
78902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78903 choke me
78904 #else
78905 char (*f) () = $ac_func;
78906 #endif
78907 #ifdef __cplusplus
78908 }
78909 #endif
78910
78911 int
78912 main ()
78913 {
78914 return f != $ac_func;
78915   ;
78916   return 0;
78917 }
78918 _ACEOF
78919 rm -f conftest.$ac_objext conftest$ac_exeext
78920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78921   (eval $ac_link) 2>conftest.er1
78922   ac_status=$?
78923   grep -v '^ *+' conftest.er1 >conftest.err
78924   rm -f conftest.er1
78925   cat conftest.err >&5
78926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78927   (exit $ac_status); } &&
78928          { ac_try='test -z "$ac_c_werror_flag"
78929                          || test ! -s conftest.err'
78930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78931   (eval $ac_try) 2>&5
78932   ac_status=$?
78933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78934   (exit $ac_status); }; } &&
78935          { ac_try='test -s conftest$ac_exeext'
78936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78937   (eval $ac_try) 2>&5
78938   ac_status=$?
78939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78940   (exit $ac_status); }; }; then
78941   eval "$as_ac_var=yes"
78942 else
78943   echo "$as_me: failed program was:" >&5
78944 sed 's/^/| /' conftest.$ac_ext >&5
78945
78946 eval "$as_ac_var=no"
78947 fi
78948 rm -f conftest.err conftest.$ac_objext \
78949       conftest$ac_exeext conftest.$ac_ext
78950 fi
78951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78953 if test `eval echo '${'$as_ac_var'}'` = yes; then
78954   cat >>confdefs.h <<_ACEOF
78955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78956 _ACEOF
78957
78958 fi
78959 done
78960
78961     fi
78962   fi
78963
78964
78965
78966
78967
78968
78969   echo "$as_me:$LINENO: checking for powl declaration" >&5
78970 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
78971   if test x${glibcxx_cv_func_powl_use+set} != xset; then
78972     if test "${glibcxx_cv_func_powl_use+set}" = set; then
78973   echo $ECHO_N "(cached) $ECHO_C" >&6
78974 else
78975
78976
78977
78978       ac_ext=cc
78979 ac_cpp='$CXXCPP $CPPFLAGS'
78980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78983
78984       cat >conftest.$ac_ext <<_ACEOF
78985 /* confdefs.h.  */
78986 _ACEOF
78987 cat confdefs.h >>conftest.$ac_ext
78988 cat >>conftest.$ac_ext <<_ACEOF
78989 /* end confdefs.h.  */
78990 #include <math.h>
78991 int
78992 main ()
78993 {
78994  powl(0, 0);
78995   ;
78996   return 0;
78997 }
78998 _ACEOF
78999 rm -f conftest.$ac_objext
79000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79001   (eval $ac_compile) 2>conftest.er1
79002   ac_status=$?
79003   grep -v '^ *+' conftest.er1 >conftest.err
79004   rm -f conftest.er1
79005   cat conftest.err >&5
79006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79007   (exit $ac_status); } &&
79008          { ac_try='test -z "$ac_cxx_werror_flag"
79009                          || test ! -s conftest.err'
79010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79011   (eval $ac_try) 2>&5
79012   ac_status=$?
79013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79014   (exit $ac_status); }; } &&
79015          { ac_try='test -s conftest.$ac_objext'
79016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79017   (eval $ac_try) 2>&5
79018   ac_status=$?
79019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79020   (exit $ac_status); }; }; then
79021   glibcxx_cv_func_powl_use=yes
79022 else
79023   echo "$as_me: failed program was:" >&5
79024 sed 's/^/| /' conftest.$ac_ext >&5
79025
79026 glibcxx_cv_func_powl_use=no
79027 fi
79028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79029       ac_ext=c
79030 ac_cpp='$CPP $CPPFLAGS'
79031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79034
79035
79036 fi
79037
79038   fi
79039   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79040 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79041
79042   if test x$glibcxx_cv_func_powl_use = x"yes"; then
79043
79044 for ac_func in powl
79045 do
79046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79047 echo "$as_me:$LINENO: checking for $ac_func" >&5
79048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79049 if eval "test \"\${$as_ac_var+set}\" = set"; then
79050   echo $ECHO_N "(cached) $ECHO_C" >&6
79051 else
79052   if test x$gcc_no_link = xyes; then
79053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79055    { (exit 1); exit 1; }; }
79056 fi
79057 cat >conftest.$ac_ext <<_ACEOF
79058 /* confdefs.h.  */
79059 _ACEOF
79060 cat confdefs.h >>conftest.$ac_ext
79061 cat >>conftest.$ac_ext <<_ACEOF
79062 /* end confdefs.h.  */
79063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79064    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79065 #define $ac_func innocuous_$ac_func
79066
79067 /* System header to define __stub macros and hopefully few prototypes,
79068     which can conflict with char $ac_func (); below.
79069     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79070     <limits.h> exists even on freestanding compilers.  */
79071
79072 #ifdef __STDC__
79073 # include <limits.h>
79074 #else
79075 # include <assert.h>
79076 #endif
79077
79078 #undef $ac_func
79079
79080 /* Override any gcc2 internal prototype to avoid an error.  */
79081 #ifdef __cplusplus
79082 extern "C"
79083 {
79084 #endif
79085 /* We use char because int might match the return type of a gcc2
79086    builtin and then its argument prototype would still apply.  */
79087 char $ac_func ();
79088 /* The GNU C library defines this for functions which it implements
79089     to always fail with ENOSYS.  Some functions are actually named
79090     something starting with __ and the normal name is an alias.  */
79091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79092 choke me
79093 #else
79094 char (*f) () = $ac_func;
79095 #endif
79096 #ifdef __cplusplus
79097 }
79098 #endif
79099
79100 int
79101 main ()
79102 {
79103 return f != $ac_func;
79104   ;
79105   return 0;
79106 }
79107 _ACEOF
79108 rm -f conftest.$ac_objext conftest$ac_exeext
79109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79110   (eval $ac_link) 2>conftest.er1
79111   ac_status=$?
79112   grep -v '^ *+' conftest.er1 >conftest.err
79113   rm -f conftest.er1
79114   cat conftest.err >&5
79115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79116   (exit $ac_status); } &&
79117          { ac_try='test -z "$ac_c_werror_flag"
79118                          || test ! -s conftest.err'
79119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79120   (eval $ac_try) 2>&5
79121   ac_status=$?
79122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79123   (exit $ac_status); }; } &&
79124          { ac_try='test -s conftest$ac_exeext'
79125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79126   (eval $ac_try) 2>&5
79127   ac_status=$?
79128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79129   (exit $ac_status); }; }; then
79130   eval "$as_ac_var=yes"
79131 else
79132   echo "$as_me: failed program was:" >&5
79133 sed 's/^/| /' conftest.$ac_ext >&5
79134
79135 eval "$as_ac_var=no"
79136 fi
79137 rm -f conftest.err conftest.$ac_objext \
79138       conftest$ac_exeext conftest.$ac_ext
79139 fi
79140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79142 if test `eval echo '${'$as_ac_var'}'` = yes; then
79143   cat >>confdefs.h <<_ACEOF
79144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79145 _ACEOF
79146
79147 fi
79148 done
79149
79150   else
79151
79152   echo "$as_me:$LINENO: checking for _powl declaration" >&5
79153 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79154   if test x${glibcxx_cv_func__powl_use+set} != xset; then
79155     if test "${glibcxx_cv_func__powl_use+set}" = set; then
79156   echo $ECHO_N "(cached) $ECHO_C" >&6
79157 else
79158
79159
79160
79161       ac_ext=cc
79162 ac_cpp='$CXXCPP $CPPFLAGS'
79163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79166
79167       cat >conftest.$ac_ext <<_ACEOF
79168 /* confdefs.h.  */
79169 _ACEOF
79170 cat confdefs.h >>conftest.$ac_ext
79171 cat >>conftest.$ac_ext <<_ACEOF
79172 /* end confdefs.h.  */
79173 #include <math.h>
79174 int
79175 main ()
79176 {
79177  _powl(0, 0);
79178   ;
79179   return 0;
79180 }
79181 _ACEOF
79182 rm -f conftest.$ac_objext
79183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79184   (eval $ac_compile) 2>conftest.er1
79185   ac_status=$?
79186   grep -v '^ *+' conftest.er1 >conftest.err
79187   rm -f conftest.er1
79188   cat conftest.err >&5
79189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79190   (exit $ac_status); } &&
79191          { ac_try='test -z "$ac_cxx_werror_flag"
79192                          || test ! -s conftest.err'
79193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79194   (eval $ac_try) 2>&5
79195   ac_status=$?
79196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79197   (exit $ac_status); }; } &&
79198          { ac_try='test -s conftest.$ac_objext'
79199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79200   (eval $ac_try) 2>&5
79201   ac_status=$?
79202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79203   (exit $ac_status); }; }; then
79204   glibcxx_cv_func__powl_use=yes
79205 else
79206   echo "$as_me: failed program was:" >&5
79207 sed 's/^/| /' conftest.$ac_ext >&5
79208
79209 glibcxx_cv_func__powl_use=no
79210 fi
79211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79212       ac_ext=c
79213 ac_cpp='$CPP $CPPFLAGS'
79214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79217
79218
79219 fi
79220
79221   fi
79222   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79223 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79224
79225     if test x$glibcxx_cv_func__powl_use = x"yes"; then
79226
79227 for ac_func in _powl
79228 do
79229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79230 echo "$as_me:$LINENO: checking for $ac_func" >&5
79231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79232 if eval "test \"\${$as_ac_var+set}\" = set"; then
79233   echo $ECHO_N "(cached) $ECHO_C" >&6
79234 else
79235   if test x$gcc_no_link = xyes; then
79236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79238    { (exit 1); exit 1; }; }
79239 fi
79240 cat >conftest.$ac_ext <<_ACEOF
79241 /* confdefs.h.  */
79242 _ACEOF
79243 cat confdefs.h >>conftest.$ac_ext
79244 cat >>conftest.$ac_ext <<_ACEOF
79245 /* end confdefs.h.  */
79246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79248 #define $ac_func innocuous_$ac_func
79249
79250 /* System header to define __stub macros and hopefully few prototypes,
79251     which can conflict with char $ac_func (); below.
79252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79253     <limits.h> exists even on freestanding compilers.  */
79254
79255 #ifdef __STDC__
79256 # include <limits.h>
79257 #else
79258 # include <assert.h>
79259 #endif
79260
79261 #undef $ac_func
79262
79263 /* Override any gcc2 internal prototype to avoid an error.  */
79264 #ifdef __cplusplus
79265 extern "C"
79266 {
79267 #endif
79268 /* We use char because int might match the return type of a gcc2
79269    builtin and then its argument prototype would still apply.  */
79270 char $ac_func ();
79271 /* The GNU C library defines this for functions which it implements
79272     to always fail with ENOSYS.  Some functions are actually named
79273     something starting with __ and the normal name is an alias.  */
79274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79275 choke me
79276 #else
79277 char (*f) () = $ac_func;
79278 #endif
79279 #ifdef __cplusplus
79280 }
79281 #endif
79282
79283 int
79284 main ()
79285 {
79286 return f != $ac_func;
79287   ;
79288   return 0;
79289 }
79290 _ACEOF
79291 rm -f conftest.$ac_objext conftest$ac_exeext
79292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79293   (eval $ac_link) 2>conftest.er1
79294   ac_status=$?
79295   grep -v '^ *+' conftest.er1 >conftest.err
79296   rm -f conftest.er1
79297   cat conftest.err >&5
79298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79299   (exit $ac_status); } &&
79300          { ac_try='test -z "$ac_c_werror_flag"
79301                          || test ! -s conftest.err'
79302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79303   (eval $ac_try) 2>&5
79304   ac_status=$?
79305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79306   (exit $ac_status); }; } &&
79307          { ac_try='test -s conftest$ac_exeext'
79308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79309   (eval $ac_try) 2>&5
79310   ac_status=$?
79311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79312   (exit $ac_status); }; }; then
79313   eval "$as_ac_var=yes"
79314 else
79315   echo "$as_me: failed program was:" >&5
79316 sed 's/^/| /' conftest.$ac_ext >&5
79317
79318 eval "$as_ac_var=no"
79319 fi
79320 rm -f conftest.err conftest.$ac_objext \
79321       conftest$ac_exeext conftest.$ac_ext
79322 fi
79323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79325 if test `eval echo '${'$as_ac_var'}'` = yes; then
79326   cat >>confdefs.h <<_ACEOF
79327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79328 _ACEOF
79329
79330 fi
79331 done
79332
79333     fi
79334   fi
79335
79336
79337
79338
79339
79340
79341   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
79342 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
79343   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
79344     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
79345   echo $ECHO_N "(cached) $ECHO_C" >&6
79346 else
79347
79348
79349
79350       ac_ext=cc
79351 ac_cpp='$CXXCPP $CPPFLAGS'
79352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79355
79356       cat >conftest.$ac_ext <<_ACEOF
79357 /* confdefs.h.  */
79358 _ACEOF
79359 cat confdefs.h >>conftest.$ac_ext
79360 cat >>conftest.$ac_ext <<_ACEOF
79361 /* end confdefs.h.  */
79362 #include <math.h>
79363                       #ifdef HAVE_IEEEFP_H
79364                       #include <ieeefp.h>
79365                       #endif
79366
79367 int
79368 main ()
79369 {
79370  sqrtl(0);
79371   ;
79372   return 0;
79373 }
79374 _ACEOF
79375 rm -f conftest.$ac_objext
79376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79377   (eval $ac_compile) 2>conftest.er1
79378   ac_status=$?
79379   grep -v '^ *+' conftest.er1 >conftest.err
79380   rm -f conftest.er1
79381   cat conftest.err >&5
79382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79383   (exit $ac_status); } &&
79384          { ac_try='test -z "$ac_cxx_werror_flag"
79385                          || test ! -s conftest.err'
79386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79387   (eval $ac_try) 2>&5
79388   ac_status=$?
79389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79390   (exit $ac_status); }; } &&
79391          { ac_try='test -s conftest.$ac_objext'
79392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79393   (eval $ac_try) 2>&5
79394   ac_status=$?
79395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79396   (exit $ac_status); }; }; then
79397   glibcxx_cv_func_sqrtl_use=yes
79398 else
79399   echo "$as_me: failed program was:" >&5
79400 sed 's/^/| /' conftest.$ac_ext >&5
79401
79402 glibcxx_cv_func_sqrtl_use=no
79403 fi
79404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79405       ac_ext=c
79406 ac_cpp='$CPP $CPPFLAGS'
79407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79410
79411
79412 fi
79413
79414   fi
79415   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
79416 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
79417
79418   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
79419
79420 for ac_func in sqrtl
79421 do
79422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79423 echo "$as_me:$LINENO: checking for $ac_func" >&5
79424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79425 if eval "test \"\${$as_ac_var+set}\" = set"; then
79426   echo $ECHO_N "(cached) $ECHO_C" >&6
79427 else
79428   if test x$gcc_no_link = xyes; then
79429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79431    { (exit 1); exit 1; }; }
79432 fi
79433 cat >conftest.$ac_ext <<_ACEOF
79434 /* confdefs.h.  */
79435 _ACEOF
79436 cat confdefs.h >>conftest.$ac_ext
79437 cat >>conftest.$ac_ext <<_ACEOF
79438 /* end confdefs.h.  */
79439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79441 #define $ac_func innocuous_$ac_func
79442
79443 /* System header to define __stub macros and hopefully few prototypes,
79444     which can conflict with char $ac_func (); below.
79445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79446     <limits.h> exists even on freestanding compilers.  */
79447
79448 #ifdef __STDC__
79449 # include <limits.h>
79450 #else
79451 # include <assert.h>
79452 #endif
79453
79454 #undef $ac_func
79455
79456 /* Override any gcc2 internal prototype to avoid an error.  */
79457 #ifdef __cplusplus
79458 extern "C"
79459 {
79460 #endif
79461 /* We use char because int might match the return type of a gcc2
79462    builtin and then its argument prototype would still apply.  */
79463 char $ac_func ();
79464 /* The GNU C library defines this for functions which it implements
79465     to always fail with ENOSYS.  Some functions are actually named
79466     something starting with __ and the normal name is an alias.  */
79467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79468 choke me
79469 #else
79470 char (*f) () = $ac_func;
79471 #endif
79472 #ifdef __cplusplus
79473 }
79474 #endif
79475
79476 int
79477 main ()
79478 {
79479 return f != $ac_func;
79480   ;
79481   return 0;
79482 }
79483 _ACEOF
79484 rm -f conftest.$ac_objext conftest$ac_exeext
79485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79486   (eval $ac_link) 2>conftest.er1
79487   ac_status=$?
79488   grep -v '^ *+' conftest.er1 >conftest.err
79489   rm -f conftest.er1
79490   cat conftest.err >&5
79491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79492   (exit $ac_status); } &&
79493          { ac_try='test -z "$ac_c_werror_flag"
79494                          || test ! -s conftest.err'
79495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79496   (eval $ac_try) 2>&5
79497   ac_status=$?
79498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79499   (exit $ac_status); }; } &&
79500          { ac_try='test -s conftest$ac_exeext'
79501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79502   (eval $ac_try) 2>&5
79503   ac_status=$?
79504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79505   (exit $ac_status); }; }; then
79506   eval "$as_ac_var=yes"
79507 else
79508   echo "$as_me: failed program was:" >&5
79509 sed 's/^/| /' conftest.$ac_ext >&5
79510
79511 eval "$as_ac_var=no"
79512 fi
79513 rm -f conftest.err conftest.$ac_objext \
79514       conftest$ac_exeext conftest.$ac_ext
79515 fi
79516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79518 if test `eval echo '${'$as_ac_var'}'` = yes; then
79519   cat >>confdefs.h <<_ACEOF
79520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79521 _ACEOF
79522
79523 fi
79524 done
79525
79526   else
79527
79528   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
79529 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
79530   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
79531     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
79532   echo $ECHO_N "(cached) $ECHO_C" >&6
79533 else
79534
79535
79536
79537       ac_ext=cc
79538 ac_cpp='$CXXCPP $CPPFLAGS'
79539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79542
79543       cat >conftest.$ac_ext <<_ACEOF
79544 /* confdefs.h.  */
79545 _ACEOF
79546 cat confdefs.h >>conftest.$ac_ext
79547 cat >>conftest.$ac_ext <<_ACEOF
79548 /* end confdefs.h.  */
79549 #include <math.h>
79550                       #ifdef HAVE_IEEEFP_H
79551                       #include <ieeefp.h>
79552                       #endif
79553
79554 int
79555 main ()
79556 {
79557  _sqrtl(0);
79558   ;
79559   return 0;
79560 }
79561 _ACEOF
79562 rm -f conftest.$ac_objext
79563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79564   (eval $ac_compile) 2>conftest.er1
79565   ac_status=$?
79566   grep -v '^ *+' conftest.er1 >conftest.err
79567   rm -f conftest.er1
79568   cat conftest.err >&5
79569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79570   (exit $ac_status); } &&
79571          { ac_try='test -z "$ac_cxx_werror_flag"
79572                          || test ! -s conftest.err'
79573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79574   (eval $ac_try) 2>&5
79575   ac_status=$?
79576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79577   (exit $ac_status); }; } &&
79578          { ac_try='test -s conftest.$ac_objext'
79579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79580   (eval $ac_try) 2>&5
79581   ac_status=$?
79582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79583   (exit $ac_status); }; }; then
79584   glibcxx_cv_func__sqrtl_use=yes
79585 else
79586   echo "$as_me: failed program was:" >&5
79587 sed 's/^/| /' conftest.$ac_ext >&5
79588
79589 glibcxx_cv_func__sqrtl_use=no
79590 fi
79591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79592       ac_ext=c
79593 ac_cpp='$CPP $CPPFLAGS'
79594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79597
79598
79599 fi
79600
79601   fi
79602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
79603 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
79604
79605     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
79606
79607 for ac_func in _sqrtl
79608 do
79609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79610 echo "$as_me:$LINENO: checking for $ac_func" >&5
79611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79612 if eval "test \"\${$as_ac_var+set}\" = set"; then
79613   echo $ECHO_N "(cached) $ECHO_C" >&6
79614 else
79615   if test x$gcc_no_link = xyes; then
79616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79618    { (exit 1); exit 1; }; }
79619 fi
79620 cat >conftest.$ac_ext <<_ACEOF
79621 /* confdefs.h.  */
79622 _ACEOF
79623 cat confdefs.h >>conftest.$ac_ext
79624 cat >>conftest.$ac_ext <<_ACEOF
79625 /* end confdefs.h.  */
79626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79628 #define $ac_func innocuous_$ac_func
79629
79630 /* System header to define __stub macros and hopefully few prototypes,
79631     which can conflict with char $ac_func (); below.
79632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79633     <limits.h> exists even on freestanding compilers.  */
79634
79635 #ifdef __STDC__
79636 # include <limits.h>
79637 #else
79638 # include <assert.h>
79639 #endif
79640
79641 #undef $ac_func
79642
79643 /* Override any gcc2 internal prototype to avoid an error.  */
79644 #ifdef __cplusplus
79645 extern "C"
79646 {
79647 #endif
79648 /* We use char because int might match the return type of a gcc2
79649    builtin and then its argument prototype would still apply.  */
79650 char $ac_func ();
79651 /* The GNU C library defines this for functions which it implements
79652     to always fail with ENOSYS.  Some functions are actually named
79653     something starting with __ and the normal name is an alias.  */
79654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79655 choke me
79656 #else
79657 char (*f) () = $ac_func;
79658 #endif
79659 #ifdef __cplusplus
79660 }
79661 #endif
79662
79663 int
79664 main ()
79665 {
79666 return f != $ac_func;
79667   ;
79668   return 0;
79669 }
79670 _ACEOF
79671 rm -f conftest.$ac_objext conftest$ac_exeext
79672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79673   (eval $ac_link) 2>conftest.er1
79674   ac_status=$?
79675   grep -v '^ *+' conftest.er1 >conftest.err
79676   rm -f conftest.er1
79677   cat conftest.err >&5
79678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79679   (exit $ac_status); } &&
79680          { ac_try='test -z "$ac_c_werror_flag"
79681                          || test ! -s conftest.err'
79682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79683   (eval $ac_try) 2>&5
79684   ac_status=$?
79685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79686   (exit $ac_status); }; } &&
79687          { ac_try='test -s conftest$ac_exeext'
79688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79689   (eval $ac_try) 2>&5
79690   ac_status=$?
79691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79692   (exit $ac_status); }; }; then
79693   eval "$as_ac_var=yes"
79694 else
79695   echo "$as_me: failed program was:" >&5
79696 sed 's/^/| /' conftest.$ac_ext >&5
79697
79698 eval "$as_ac_var=no"
79699 fi
79700 rm -f conftest.err conftest.$ac_objext \
79701       conftest$ac_exeext conftest.$ac_ext
79702 fi
79703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79705 if test `eval echo '${'$as_ac_var'}'` = yes; then
79706   cat >>confdefs.h <<_ACEOF
79707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79708 _ACEOF
79709
79710 fi
79711 done
79712
79713     fi
79714   fi
79715
79716
79717
79718
79719
79720
79721   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
79722 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
79723   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
79724     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
79725   echo $ECHO_N "(cached) $ECHO_C" >&6
79726 else
79727
79728
79729
79730       ac_ext=cc
79731 ac_cpp='$CXXCPP $CPPFLAGS'
79732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79735
79736       cat >conftest.$ac_ext <<_ACEOF
79737 /* confdefs.h.  */
79738 _ACEOF
79739 cat confdefs.h >>conftest.$ac_ext
79740 cat >>conftest.$ac_ext <<_ACEOF
79741 /* end confdefs.h.  */
79742 #include <math.h>
79743 int
79744 main ()
79745 {
79746  sincosl(0, 0, 0);
79747   ;
79748   return 0;
79749 }
79750 _ACEOF
79751 rm -f conftest.$ac_objext
79752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79753   (eval $ac_compile) 2>conftest.er1
79754   ac_status=$?
79755   grep -v '^ *+' conftest.er1 >conftest.err
79756   rm -f conftest.er1
79757   cat conftest.err >&5
79758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759   (exit $ac_status); } &&
79760          { ac_try='test -z "$ac_cxx_werror_flag"
79761                          || test ! -s conftest.err'
79762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79763   (eval $ac_try) 2>&5
79764   ac_status=$?
79765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79766   (exit $ac_status); }; } &&
79767          { ac_try='test -s conftest.$ac_objext'
79768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79769   (eval $ac_try) 2>&5
79770   ac_status=$?
79771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79772   (exit $ac_status); }; }; then
79773   glibcxx_cv_func_sincosl_use=yes
79774 else
79775   echo "$as_me: failed program was:" >&5
79776 sed 's/^/| /' conftest.$ac_ext >&5
79777
79778 glibcxx_cv_func_sincosl_use=no
79779 fi
79780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79781       ac_ext=c
79782 ac_cpp='$CPP $CPPFLAGS'
79783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79786
79787
79788 fi
79789
79790   fi
79791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
79792 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
79793
79794   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
79795
79796 for ac_func in sincosl
79797 do
79798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79799 echo "$as_me:$LINENO: checking for $ac_func" >&5
79800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79801 if eval "test \"\${$as_ac_var+set}\" = set"; then
79802   echo $ECHO_N "(cached) $ECHO_C" >&6
79803 else
79804   if test x$gcc_no_link = xyes; then
79805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79807    { (exit 1); exit 1; }; }
79808 fi
79809 cat >conftest.$ac_ext <<_ACEOF
79810 /* confdefs.h.  */
79811 _ACEOF
79812 cat confdefs.h >>conftest.$ac_ext
79813 cat >>conftest.$ac_ext <<_ACEOF
79814 /* end confdefs.h.  */
79815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79817 #define $ac_func innocuous_$ac_func
79818
79819 /* System header to define __stub macros and hopefully few prototypes,
79820     which can conflict with char $ac_func (); below.
79821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79822     <limits.h> exists even on freestanding compilers.  */
79823
79824 #ifdef __STDC__
79825 # include <limits.h>
79826 #else
79827 # include <assert.h>
79828 #endif
79829
79830 #undef $ac_func
79831
79832 /* Override any gcc2 internal prototype to avoid an error.  */
79833 #ifdef __cplusplus
79834 extern "C"
79835 {
79836 #endif
79837 /* We use char because int might match the return type of a gcc2
79838    builtin and then its argument prototype would still apply.  */
79839 char $ac_func ();
79840 /* The GNU C library defines this for functions which it implements
79841     to always fail with ENOSYS.  Some functions are actually named
79842     something starting with __ and the normal name is an alias.  */
79843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79844 choke me
79845 #else
79846 char (*f) () = $ac_func;
79847 #endif
79848 #ifdef __cplusplus
79849 }
79850 #endif
79851
79852 int
79853 main ()
79854 {
79855 return f != $ac_func;
79856   ;
79857   return 0;
79858 }
79859 _ACEOF
79860 rm -f conftest.$ac_objext conftest$ac_exeext
79861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79862   (eval $ac_link) 2>conftest.er1
79863   ac_status=$?
79864   grep -v '^ *+' conftest.er1 >conftest.err
79865   rm -f conftest.er1
79866   cat conftest.err >&5
79867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79868   (exit $ac_status); } &&
79869          { ac_try='test -z "$ac_c_werror_flag"
79870                          || test ! -s conftest.err'
79871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79872   (eval $ac_try) 2>&5
79873   ac_status=$?
79874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79875   (exit $ac_status); }; } &&
79876          { ac_try='test -s conftest$ac_exeext'
79877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79878   (eval $ac_try) 2>&5
79879   ac_status=$?
79880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79881   (exit $ac_status); }; }; then
79882   eval "$as_ac_var=yes"
79883 else
79884   echo "$as_me: failed program was:" >&5
79885 sed 's/^/| /' conftest.$ac_ext >&5
79886
79887 eval "$as_ac_var=no"
79888 fi
79889 rm -f conftest.err conftest.$ac_objext \
79890       conftest$ac_exeext conftest.$ac_ext
79891 fi
79892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79894 if test `eval echo '${'$as_ac_var'}'` = yes; then
79895   cat >>confdefs.h <<_ACEOF
79896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79897 _ACEOF
79898
79899 fi
79900 done
79901
79902   else
79903
79904   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
79905 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
79906   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
79907     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
79908   echo $ECHO_N "(cached) $ECHO_C" >&6
79909 else
79910
79911
79912
79913       ac_ext=cc
79914 ac_cpp='$CXXCPP $CPPFLAGS'
79915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79918
79919       cat >conftest.$ac_ext <<_ACEOF
79920 /* confdefs.h.  */
79921 _ACEOF
79922 cat confdefs.h >>conftest.$ac_ext
79923 cat >>conftest.$ac_ext <<_ACEOF
79924 /* end confdefs.h.  */
79925 #include <math.h>
79926 int
79927 main ()
79928 {
79929  _sincosl(0, 0, 0);
79930   ;
79931   return 0;
79932 }
79933 _ACEOF
79934 rm -f conftest.$ac_objext
79935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79936   (eval $ac_compile) 2>conftest.er1
79937   ac_status=$?
79938   grep -v '^ *+' conftest.er1 >conftest.err
79939   rm -f conftest.er1
79940   cat conftest.err >&5
79941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79942   (exit $ac_status); } &&
79943          { ac_try='test -z "$ac_cxx_werror_flag"
79944                          || test ! -s conftest.err'
79945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79946   (eval $ac_try) 2>&5
79947   ac_status=$?
79948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79949   (exit $ac_status); }; } &&
79950          { ac_try='test -s conftest.$ac_objext'
79951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79952   (eval $ac_try) 2>&5
79953   ac_status=$?
79954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79955   (exit $ac_status); }; }; then
79956   glibcxx_cv_func__sincosl_use=yes
79957 else
79958   echo "$as_me: failed program was:" >&5
79959 sed 's/^/| /' conftest.$ac_ext >&5
79960
79961 glibcxx_cv_func__sincosl_use=no
79962 fi
79963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79964       ac_ext=c
79965 ac_cpp='$CPP $CPPFLAGS'
79966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79969
79970
79971 fi
79972
79973   fi
79974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
79975 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
79976
79977     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
79978
79979 for ac_func in _sincosl
79980 do
79981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79982 echo "$as_me:$LINENO: checking for $ac_func" >&5
79983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79984 if eval "test \"\${$as_ac_var+set}\" = set"; then
79985   echo $ECHO_N "(cached) $ECHO_C" >&6
79986 else
79987   if test x$gcc_no_link = xyes; then
79988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79990    { (exit 1); exit 1; }; }
79991 fi
79992 cat >conftest.$ac_ext <<_ACEOF
79993 /* confdefs.h.  */
79994 _ACEOF
79995 cat confdefs.h >>conftest.$ac_ext
79996 cat >>conftest.$ac_ext <<_ACEOF
79997 /* end confdefs.h.  */
79998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80000 #define $ac_func innocuous_$ac_func
80001
80002 /* System header to define __stub macros and hopefully few prototypes,
80003     which can conflict with char $ac_func (); below.
80004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80005     <limits.h> exists even on freestanding compilers.  */
80006
80007 #ifdef __STDC__
80008 # include <limits.h>
80009 #else
80010 # include <assert.h>
80011 #endif
80012
80013 #undef $ac_func
80014
80015 /* Override any gcc2 internal prototype to avoid an error.  */
80016 #ifdef __cplusplus
80017 extern "C"
80018 {
80019 #endif
80020 /* We use char because int might match the return type of a gcc2
80021    builtin and then its argument prototype would still apply.  */
80022 char $ac_func ();
80023 /* The GNU C library defines this for functions which it implements
80024     to always fail with ENOSYS.  Some functions are actually named
80025     something starting with __ and the normal name is an alias.  */
80026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80027 choke me
80028 #else
80029 char (*f) () = $ac_func;
80030 #endif
80031 #ifdef __cplusplus
80032 }
80033 #endif
80034
80035 int
80036 main ()
80037 {
80038 return f != $ac_func;
80039   ;
80040   return 0;
80041 }
80042 _ACEOF
80043 rm -f conftest.$ac_objext conftest$ac_exeext
80044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80045   (eval $ac_link) 2>conftest.er1
80046   ac_status=$?
80047   grep -v '^ *+' conftest.er1 >conftest.err
80048   rm -f conftest.er1
80049   cat conftest.err >&5
80050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80051   (exit $ac_status); } &&
80052          { ac_try='test -z "$ac_c_werror_flag"
80053                          || test ! -s conftest.err'
80054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80055   (eval $ac_try) 2>&5
80056   ac_status=$?
80057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80058   (exit $ac_status); }; } &&
80059          { ac_try='test -s conftest$ac_exeext'
80060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80061   (eval $ac_try) 2>&5
80062   ac_status=$?
80063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80064   (exit $ac_status); }; }; then
80065   eval "$as_ac_var=yes"
80066 else
80067   echo "$as_me: failed program was:" >&5
80068 sed 's/^/| /' conftest.$ac_ext >&5
80069
80070 eval "$as_ac_var=no"
80071 fi
80072 rm -f conftest.err conftest.$ac_objext \
80073       conftest$ac_exeext conftest.$ac_ext
80074 fi
80075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80077 if test `eval echo '${'$as_ac_var'}'` = yes; then
80078   cat >>confdefs.h <<_ACEOF
80079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80080 _ACEOF
80081
80082 fi
80083 done
80084
80085     fi
80086   fi
80087
80088
80089
80090
80091
80092
80093   echo "$as_me:$LINENO: checking for finitel declaration" >&5
80094 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80095   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80096     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80097   echo $ECHO_N "(cached) $ECHO_C" >&6
80098 else
80099
80100
80101
80102       ac_ext=cc
80103 ac_cpp='$CXXCPP $CPPFLAGS'
80104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80107
80108       cat >conftest.$ac_ext <<_ACEOF
80109 /* confdefs.h.  */
80110 _ACEOF
80111 cat confdefs.h >>conftest.$ac_ext
80112 cat >>conftest.$ac_ext <<_ACEOF
80113 /* end confdefs.h.  */
80114 #include <math.h>
80115                       #ifdef HAVE_IEEEFP_H
80116                       #include <ieeefp.h>
80117                       #endif
80118
80119 int
80120 main ()
80121 {
80122  finitel(0);
80123   ;
80124   return 0;
80125 }
80126 _ACEOF
80127 rm -f conftest.$ac_objext
80128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80129   (eval $ac_compile) 2>conftest.er1
80130   ac_status=$?
80131   grep -v '^ *+' conftest.er1 >conftest.err
80132   rm -f conftest.er1
80133   cat conftest.err >&5
80134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135   (exit $ac_status); } &&
80136          { ac_try='test -z "$ac_cxx_werror_flag"
80137                          || test ! -s conftest.err'
80138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80139   (eval $ac_try) 2>&5
80140   ac_status=$?
80141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80142   (exit $ac_status); }; } &&
80143          { ac_try='test -s conftest.$ac_objext'
80144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145   (eval $ac_try) 2>&5
80146   ac_status=$?
80147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148   (exit $ac_status); }; }; then
80149   glibcxx_cv_func_finitel_use=yes
80150 else
80151   echo "$as_me: failed program was:" >&5
80152 sed 's/^/| /' conftest.$ac_ext >&5
80153
80154 glibcxx_cv_func_finitel_use=no
80155 fi
80156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80157       ac_ext=c
80158 ac_cpp='$CPP $CPPFLAGS'
80159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80162
80163
80164 fi
80165
80166   fi
80167   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80168 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80169
80170   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80171
80172 for ac_func in finitel
80173 do
80174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80175 echo "$as_me:$LINENO: checking for $ac_func" >&5
80176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80177 if eval "test \"\${$as_ac_var+set}\" = set"; then
80178   echo $ECHO_N "(cached) $ECHO_C" >&6
80179 else
80180   if test x$gcc_no_link = xyes; then
80181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80183    { (exit 1); exit 1; }; }
80184 fi
80185 cat >conftest.$ac_ext <<_ACEOF
80186 /* confdefs.h.  */
80187 _ACEOF
80188 cat confdefs.h >>conftest.$ac_ext
80189 cat >>conftest.$ac_ext <<_ACEOF
80190 /* end confdefs.h.  */
80191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80193 #define $ac_func innocuous_$ac_func
80194
80195 /* System header to define __stub macros and hopefully few prototypes,
80196     which can conflict with char $ac_func (); below.
80197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80198     <limits.h> exists even on freestanding compilers.  */
80199
80200 #ifdef __STDC__
80201 # include <limits.h>
80202 #else
80203 # include <assert.h>
80204 #endif
80205
80206 #undef $ac_func
80207
80208 /* Override any gcc2 internal prototype to avoid an error.  */
80209 #ifdef __cplusplus
80210 extern "C"
80211 {
80212 #endif
80213 /* We use char because int might match the return type of a gcc2
80214    builtin and then its argument prototype would still apply.  */
80215 char $ac_func ();
80216 /* The GNU C library defines this for functions which it implements
80217     to always fail with ENOSYS.  Some functions are actually named
80218     something starting with __ and the normal name is an alias.  */
80219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80220 choke me
80221 #else
80222 char (*f) () = $ac_func;
80223 #endif
80224 #ifdef __cplusplus
80225 }
80226 #endif
80227
80228 int
80229 main ()
80230 {
80231 return f != $ac_func;
80232   ;
80233   return 0;
80234 }
80235 _ACEOF
80236 rm -f conftest.$ac_objext conftest$ac_exeext
80237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80238   (eval $ac_link) 2>conftest.er1
80239   ac_status=$?
80240   grep -v '^ *+' conftest.er1 >conftest.err
80241   rm -f conftest.er1
80242   cat conftest.err >&5
80243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80244   (exit $ac_status); } &&
80245          { ac_try='test -z "$ac_c_werror_flag"
80246                          || test ! -s conftest.err'
80247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80248   (eval $ac_try) 2>&5
80249   ac_status=$?
80250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80251   (exit $ac_status); }; } &&
80252          { ac_try='test -s conftest$ac_exeext'
80253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80254   (eval $ac_try) 2>&5
80255   ac_status=$?
80256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80257   (exit $ac_status); }; }; then
80258   eval "$as_ac_var=yes"
80259 else
80260   echo "$as_me: failed program was:" >&5
80261 sed 's/^/| /' conftest.$ac_ext >&5
80262
80263 eval "$as_ac_var=no"
80264 fi
80265 rm -f conftest.err conftest.$ac_objext \
80266       conftest$ac_exeext conftest.$ac_ext
80267 fi
80268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80270 if test `eval echo '${'$as_ac_var'}'` = yes; then
80271   cat >>confdefs.h <<_ACEOF
80272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80273 _ACEOF
80274
80275 fi
80276 done
80277
80278   else
80279
80280   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
80281 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
80282   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
80283     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
80284   echo $ECHO_N "(cached) $ECHO_C" >&6
80285 else
80286
80287
80288
80289       ac_ext=cc
80290 ac_cpp='$CXXCPP $CPPFLAGS'
80291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80294
80295       cat >conftest.$ac_ext <<_ACEOF
80296 /* confdefs.h.  */
80297 _ACEOF
80298 cat confdefs.h >>conftest.$ac_ext
80299 cat >>conftest.$ac_ext <<_ACEOF
80300 /* end confdefs.h.  */
80301 #include <math.h>
80302                       #ifdef HAVE_IEEEFP_H
80303                       #include <ieeefp.h>
80304                       #endif
80305
80306 int
80307 main ()
80308 {
80309  _finitel(0);
80310   ;
80311   return 0;
80312 }
80313 _ACEOF
80314 rm -f conftest.$ac_objext
80315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80316   (eval $ac_compile) 2>conftest.er1
80317   ac_status=$?
80318   grep -v '^ *+' conftest.er1 >conftest.err
80319   rm -f conftest.er1
80320   cat conftest.err >&5
80321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80322   (exit $ac_status); } &&
80323          { ac_try='test -z "$ac_cxx_werror_flag"
80324                          || test ! -s conftest.err'
80325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80326   (eval $ac_try) 2>&5
80327   ac_status=$?
80328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80329   (exit $ac_status); }; } &&
80330          { ac_try='test -s conftest.$ac_objext'
80331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80332   (eval $ac_try) 2>&5
80333   ac_status=$?
80334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80335   (exit $ac_status); }; }; then
80336   glibcxx_cv_func__finitel_use=yes
80337 else
80338   echo "$as_me: failed program was:" >&5
80339 sed 's/^/| /' conftest.$ac_ext >&5
80340
80341 glibcxx_cv_func__finitel_use=no
80342 fi
80343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80344       ac_ext=c
80345 ac_cpp='$CPP $CPPFLAGS'
80346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80349
80350
80351 fi
80352
80353   fi
80354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
80355 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
80356
80357     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
80358
80359 for ac_func in _finitel
80360 do
80361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80362 echo "$as_me:$LINENO: checking for $ac_func" >&5
80363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80364 if eval "test \"\${$as_ac_var+set}\" = set"; then
80365   echo $ECHO_N "(cached) $ECHO_C" >&6
80366 else
80367   if test x$gcc_no_link = xyes; then
80368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80370    { (exit 1); exit 1; }; }
80371 fi
80372 cat >conftest.$ac_ext <<_ACEOF
80373 /* confdefs.h.  */
80374 _ACEOF
80375 cat confdefs.h >>conftest.$ac_ext
80376 cat >>conftest.$ac_ext <<_ACEOF
80377 /* end confdefs.h.  */
80378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80380 #define $ac_func innocuous_$ac_func
80381
80382 /* System header to define __stub macros and hopefully few prototypes,
80383     which can conflict with char $ac_func (); below.
80384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80385     <limits.h> exists even on freestanding compilers.  */
80386
80387 #ifdef __STDC__
80388 # include <limits.h>
80389 #else
80390 # include <assert.h>
80391 #endif
80392
80393 #undef $ac_func
80394
80395 /* Override any gcc2 internal prototype to avoid an error.  */
80396 #ifdef __cplusplus
80397 extern "C"
80398 {
80399 #endif
80400 /* We use char because int might match the return type of a gcc2
80401    builtin and then its argument prototype would still apply.  */
80402 char $ac_func ();
80403 /* The GNU C library defines this for functions which it implements
80404     to always fail with ENOSYS.  Some functions are actually named
80405     something starting with __ and the normal name is an alias.  */
80406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80407 choke me
80408 #else
80409 char (*f) () = $ac_func;
80410 #endif
80411 #ifdef __cplusplus
80412 }
80413 #endif
80414
80415 int
80416 main ()
80417 {
80418 return f != $ac_func;
80419   ;
80420   return 0;
80421 }
80422 _ACEOF
80423 rm -f conftest.$ac_objext conftest$ac_exeext
80424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80425   (eval $ac_link) 2>conftest.er1
80426   ac_status=$?
80427   grep -v '^ *+' conftest.er1 >conftest.err
80428   rm -f conftest.er1
80429   cat conftest.err >&5
80430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80431   (exit $ac_status); } &&
80432          { ac_try='test -z "$ac_c_werror_flag"
80433                          || test ! -s conftest.err'
80434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80435   (eval $ac_try) 2>&5
80436   ac_status=$?
80437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80438   (exit $ac_status); }; } &&
80439          { ac_try='test -s conftest$ac_exeext'
80440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80441   (eval $ac_try) 2>&5
80442   ac_status=$?
80443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80444   (exit $ac_status); }; }; then
80445   eval "$as_ac_var=yes"
80446 else
80447   echo "$as_me: failed program was:" >&5
80448 sed 's/^/| /' conftest.$ac_ext >&5
80449
80450 eval "$as_ac_var=no"
80451 fi
80452 rm -f conftest.err conftest.$ac_objext \
80453       conftest$ac_exeext conftest.$ac_ext
80454 fi
80455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80457 if test `eval echo '${'$as_ac_var'}'` = yes; then
80458   cat >>confdefs.h <<_ACEOF
80459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80460 _ACEOF
80461
80462 fi
80463 done
80464
80465     fi
80466   fi
80467
80468
80469
80470
80471
80472   LIBS="$ac_save_LIBS"
80473   CXXFLAGS="$ac_save_CXXFLAGS"
80474
80475
80476
80477   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
80478 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
80479   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
80480     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
80481   echo $ECHO_N "(cached) $ECHO_C" >&6
80482 else
80483
80484
80485
80486       ac_ext=cc
80487 ac_cpp='$CXXCPP $CPPFLAGS'
80488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80491
80492       cat >conftest.$ac_ext <<_ACEOF
80493 /* confdefs.h.  */
80494 _ACEOF
80495 cat confdefs.h >>conftest.$ac_ext
80496 cat >>conftest.$ac_ext <<_ACEOF
80497 /* end confdefs.h.  */
80498 #include <math.h>
80499 int
80500 main ()
80501 {
80502  __builtin_abs(0);
80503   ;
80504   return 0;
80505 }
80506 _ACEOF
80507 rm -f conftest.$ac_objext
80508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80509   (eval $ac_compile) 2>conftest.er1
80510   ac_status=$?
80511   grep -v '^ *+' conftest.er1 >conftest.err
80512   rm -f conftest.er1
80513   cat conftest.err >&5
80514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80515   (exit $ac_status); } &&
80516          { ac_try='test -z "$ac_cxx_werror_flag"
80517                          || test ! -s conftest.err'
80518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80519   (eval $ac_try) 2>&5
80520   ac_status=$?
80521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80522   (exit $ac_status); }; } &&
80523          { ac_try='test -s conftest.$ac_objext'
80524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80525   (eval $ac_try) 2>&5
80526   ac_status=$?
80527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80528   (exit $ac_status); }; }; then
80529   glibcxx_cv_func___builtin_abs_use=yes
80530 else
80531   echo "$as_me: failed program was:" >&5
80532 sed 's/^/| /' conftest.$ac_ext >&5
80533
80534 glibcxx_cv_func___builtin_abs_use=no
80535 fi
80536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80537       ac_ext=c
80538 ac_cpp='$CPP $CPPFLAGS'
80539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80542
80543
80544 fi
80545
80546   fi
80547   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
80548 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
80549   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
80550     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
80551 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
80552     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
80553       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
80554   echo $ECHO_N "(cached) $ECHO_C" >&6
80555 else
80556
80557         if test x$gcc_no_link = xyes; then
80558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80560    { (exit 1); exit 1; }; }
80561 fi
80562 cat >conftest.$ac_ext <<_ACEOF
80563 /* confdefs.h.  */
80564 _ACEOF
80565 cat confdefs.h >>conftest.$ac_ext
80566 cat >>conftest.$ac_ext <<_ACEOF
80567 /* end confdefs.h.  */
80568 #include <math.h>
80569 int
80570 main ()
80571 {
80572  __builtin_abs(0);
80573   ;
80574   return 0;
80575 }
80576 _ACEOF
80577 rm -f conftest.$ac_objext conftest$ac_exeext
80578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80579   (eval $ac_link) 2>conftest.er1
80580   ac_status=$?
80581   grep -v '^ *+' conftest.er1 >conftest.err
80582   rm -f conftest.er1
80583   cat conftest.err >&5
80584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80585   (exit $ac_status); } &&
80586          { ac_try='test -z "$ac_c_werror_flag"
80587                          || test ! -s conftest.err'
80588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80589   (eval $ac_try) 2>&5
80590   ac_status=$?
80591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80592   (exit $ac_status); }; } &&
80593          { ac_try='test -s conftest$ac_exeext'
80594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80595   (eval $ac_try) 2>&5
80596   ac_status=$?
80597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80598   (exit $ac_status); }; }; then
80599   glibcxx_cv_func___builtin_abs_link=yes
80600 else
80601   echo "$as_me: failed program was:" >&5
80602 sed 's/^/| /' conftest.$ac_ext >&5
80603
80604 glibcxx_cv_func___builtin_abs_link=no
80605 fi
80606 rm -f conftest.err conftest.$ac_objext \
80607       conftest$ac_exeext conftest.$ac_ext
80608
80609 fi
80610
80611     fi
80612     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
80613 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
80614
80615     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
80616
80617 cat >>confdefs.h <<\_ACEOF
80618 #define HAVE___BUILTIN_ABS 1
80619 _ACEOF
80620
80621     fi
80622
80623   fi
80624
80625
80626   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
80627 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
80628   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
80629     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
80630   echo $ECHO_N "(cached) $ECHO_C" >&6
80631 else
80632
80633
80634
80635       ac_ext=cc
80636 ac_cpp='$CXXCPP $CPPFLAGS'
80637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80640
80641       cat >conftest.$ac_ext <<_ACEOF
80642 /* confdefs.h.  */
80643 _ACEOF
80644 cat confdefs.h >>conftest.$ac_ext
80645 cat >>conftest.$ac_ext <<_ACEOF
80646 /* end confdefs.h.  */
80647 #include <math.h>
80648 int
80649 main ()
80650 {
80651  __builtin_fabsf(0);
80652   ;
80653   return 0;
80654 }
80655 _ACEOF
80656 rm -f conftest.$ac_objext
80657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80658   (eval $ac_compile) 2>conftest.er1
80659   ac_status=$?
80660   grep -v '^ *+' conftest.er1 >conftest.err
80661   rm -f conftest.er1
80662   cat conftest.err >&5
80663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80664   (exit $ac_status); } &&
80665          { ac_try='test -z "$ac_cxx_werror_flag"
80666                          || test ! -s conftest.err'
80667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80668   (eval $ac_try) 2>&5
80669   ac_status=$?
80670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80671   (exit $ac_status); }; } &&
80672          { ac_try='test -s conftest.$ac_objext'
80673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80674   (eval $ac_try) 2>&5
80675   ac_status=$?
80676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80677   (exit $ac_status); }; }; then
80678   glibcxx_cv_func___builtin_fabsf_use=yes
80679 else
80680   echo "$as_me: failed program was:" >&5
80681 sed 's/^/| /' conftest.$ac_ext >&5
80682
80683 glibcxx_cv_func___builtin_fabsf_use=no
80684 fi
80685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80686       ac_ext=c
80687 ac_cpp='$CPP $CPPFLAGS'
80688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80691
80692
80693 fi
80694
80695   fi
80696   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
80697 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
80698   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
80699     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
80700 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
80701     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
80702       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
80703   echo $ECHO_N "(cached) $ECHO_C" >&6
80704 else
80705
80706         if test x$gcc_no_link = xyes; then
80707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80709    { (exit 1); exit 1; }; }
80710 fi
80711 cat >conftest.$ac_ext <<_ACEOF
80712 /* confdefs.h.  */
80713 _ACEOF
80714 cat confdefs.h >>conftest.$ac_ext
80715 cat >>conftest.$ac_ext <<_ACEOF
80716 /* end confdefs.h.  */
80717 #include <math.h>
80718 int
80719 main ()
80720 {
80721  __builtin_fabsf(0);
80722   ;
80723   return 0;
80724 }
80725 _ACEOF
80726 rm -f conftest.$ac_objext conftest$ac_exeext
80727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80728   (eval $ac_link) 2>conftest.er1
80729   ac_status=$?
80730   grep -v '^ *+' conftest.er1 >conftest.err
80731   rm -f conftest.er1
80732   cat conftest.err >&5
80733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80734   (exit $ac_status); } &&
80735          { ac_try='test -z "$ac_c_werror_flag"
80736                          || test ! -s conftest.err'
80737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80738   (eval $ac_try) 2>&5
80739   ac_status=$?
80740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80741   (exit $ac_status); }; } &&
80742          { ac_try='test -s conftest$ac_exeext'
80743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80744   (eval $ac_try) 2>&5
80745   ac_status=$?
80746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80747   (exit $ac_status); }; }; then
80748   glibcxx_cv_func___builtin_fabsf_link=yes
80749 else
80750   echo "$as_me: failed program was:" >&5
80751 sed 's/^/| /' conftest.$ac_ext >&5
80752
80753 glibcxx_cv_func___builtin_fabsf_link=no
80754 fi
80755 rm -f conftest.err conftest.$ac_objext \
80756       conftest$ac_exeext conftest.$ac_ext
80757
80758 fi
80759
80760     fi
80761     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
80762 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
80763
80764     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
80765
80766 cat >>confdefs.h <<\_ACEOF
80767 #define HAVE___BUILTIN_FABSF 1
80768 _ACEOF
80769
80770     fi
80771
80772   fi
80773
80774
80775   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
80776 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
80777   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
80778     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
80779   echo $ECHO_N "(cached) $ECHO_C" >&6
80780 else
80781
80782
80783
80784       ac_ext=cc
80785 ac_cpp='$CXXCPP $CPPFLAGS'
80786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80789
80790       cat >conftest.$ac_ext <<_ACEOF
80791 /* confdefs.h.  */
80792 _ACEOF
80793 cat confdefs.h >>conftest.$ac_ext
80794 cat >>conftest.$ac_ext <<_ACEOF
80795 /* end confdefs.h.  */
80796 #include <math.h>
80797 int
80798 main ()
80799 {
80800  __builtin_fabs(0);
80801   ;
80802   return 0;
80803 }
80804 _ACEOF
80805 rm -f conftest.$ac_objext
80806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80807   (eval $ac_compile) 2>conftest.er1
80808   ac_status=$?
80809   grep -v '^ *+' conftest.er1 >conftest.err
80810   rm -f conftest.er1
80811   cat conftest.err >&5
80812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80813   (exit $ac_status); } &&
80814          { ac_try='test -z "$ac_cxx_werror_flag"
80815                          || test ! -s conftest.err'
80816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80817   (eval $ac_try) 2>&5
80818   ac_status=$?
80819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80820   (exit $ac_status); }; } &&
80821          { ac_try='test -s conftest.$ac_objext'
80822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80823   (eval $ac_try) 2>&5
80824   ac_status=$?
80825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80826   (exit $ac_status); }; }; then
80827   glibcxx_cv_func___builtin_fabs_use=yes
80828 else
80829   echo "$as_me: failed program was:" >&5
80830 sed 's/^/| /' conftest.$ac_ext >&5
80831
80832 glibcxx_cv_func___builtin_fabs_use=no
80833 fi
80834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80835       ac_ext=c
80836 ac_cpp='$CPP $CPPFLAGS'
80837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80840
80841
80842 fi
80843
80844   fi
80845   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
80846 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
80847   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
80848     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
80849 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
80850     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
80851       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
80852   echo $ECHO_N "(cached) $ECHO_C" >&6
80853 else
80854
80855         if test x$gcc_no_link = xyes; then
80856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80858    { (exit 1); exit 1; }; }
80859 fi
80860 cat >conftest.$ac_ext <<_ACEOF
80861 /* confdefs.h.  */
80862 _ACEOF
80863 cat confdefs.h >>conftest.$ac_ext
80864 cat >>conftest.$ac_ext <<_ACEOF
80865 /* end confdefs.h.  */
80866 #include <math.h>
80867 int
80868 main ()
80869 {
80870  __builtin_fabs(0);
80871   ;
80872   return 0;
80873 }
80874 _ACEOF
80875 rm -f conftest.$ac_objext conftest$ac_exeext
80876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80877   (eval $ac_link) 2>conftest.er1
80878   ac_status=$?
80879   grep -v '^ *+' conftest.er1 >conftest.err
80880   rm -f conftest.er1
80881   cat conftest.err >&5
80882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883   (exit $ac_status); } &&
80884          { ac_try='test -z "$ac_c_werror_flag"
80885                          || test ! -s conftest.err'
80886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80887   (eval $ac_try) 2>&5
80888   ac_status=$?
80889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80890   (exit $ac_status); }; } &&
80891          { ac_try='test -s conftest$ac_exeext'
80892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80893   (eval $ac_try) 2>&5
80894   ac_status=$?
80895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80896   (exit $ac_status); }; }; then
80897   glibcxx_cv_func___builtin_fabs_link=yes
80898 else
80899   echo "$as_me: failed program was:" >&5
80900 sed 's/^/| /' conftest.$ac_ext >&5
80901
80902 glibcxx_cv_func___builtin_fabs_link=no
80903 fi
80904 rm -f conftest.err conftest.$ac_objext \
80905       conftest$ac_exeext conftest.$ac_ext
80906
80907 fi
80908
80909     fi
80910     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
80911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
80912
80913     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
80914
80915 cat >>confdefs.h <<\_ACEOF
80916 #define HAVE___BUILTIN_FABS 1
80917 _ACEOF
80918
80919     fi
80920
80921   fi
80922
80923
80924   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
80925 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
80926   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
80927     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
80928   echo $ECHO_N "(cached) $ECHO_C" >&6
80929 else
80930
80931
80932
80933       ac_ext=cc
80934 ac_cpp='$CXXCPP $CPPFLAGS'
80935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80938
80939       cat >conftest.$ac_ext <<_ACEOF
80940 /* confdefs.h.  */
80941 _ACEOF
80942 cat confdefs.h >>conftest.$ac_ext
80943 cat >>conftest.$ac_ext <<_ACEOF
80944 /* end confdefs.h.  */
80945 #include <math.h>
80946 int
80947 main ()
80948 {
80949  __builtin_fabsl(0);
80950   ;
80951   return 0;
80952 }
80953 _ACEOF
80954 rm -f conftest.$ac_objext
80955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80956   (eval $ac_compile) 2>conftest.er1
80957   ac_status=$?
80958   grep -v '^ *+' conftest.er1 >conftest.err
80959   rm -f conftest.er1
80960   cat conftest.err >&5
80961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80962   (exit $ac_status); } &&
80963          { ac_try='test -z "$ac_cxx_werror_flag"
80964                          || test ! -s conftest.err'
80965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80966   (eval $ac_try) 2>&5
80967   ac_status=$?
80968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80969   (exit $ac_status); }; } &&
80970          { ac_try='test -s conftest.$ac_objext'
80971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80972   (eval $ac_try) 2>&5
80973   ac_status=$?
80974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80975   (exit $ac_status); }; }; then
80976   glibcxx_cv_func___builtin_fabsl_use=yes
80977 else
80978   echo "$as_me: failed program was:" >&5
80979 sed 's/^/| /' conftest.$ac_ext >&5
80980
80981 glibcxx_cv_func___builtin_fabsl_use=no
80982 fi
80983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80984       ac_ext=c
80985 ac_cpp='$CPP $CPPFLAGS'
80986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80989
80990
80991 fi
80992
80993   fi
80994   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
80995 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
80996   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
80997     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
80998 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
80999     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81000       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81001   echo $ECHO_N "(cached) $ECHO_C" >&6
81002 else
81003
81004         if test x$gcc_no_link = xyes; then
81005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81007    { (exit 1); exit 1; }; }
81008 fi
81009 cat >conftest.$ac_ext <<_ACEOF
81010 /* confdefs.h.  */
81011 _ACEOF
81012 cat confdefs.h >>conftest.$ac_ext
81013 cat >>conftest.$ac_ext <<_ACEOF
81014 /* end confdefs.h.  */
81015 #include <math.h>
81016 int
81017 main ()
81018 {
81019  __builtin_fabsl(0);
81020   ;
81021   return 0;
81022 }
81023 _ACEOF
81024 rm -f conftest.$ac_objext conftest$ac_exeext
81025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81026   (eval $ac_link) 2>conftest.er1
81027   ac_status=$?
81028   grep -v '^ *+' conftest.er1 >conftest.err
81029   rm -f conftest.er1
81030   cat conftest.err >&5
81031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81032   (exit $ac_status); } &&
81033          { ac_try='test -z "$ac_c_werror_flag"
81034                          || test ! -s conftest.err'
81035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81036   (eval $ac_try) 2>&5
81037   ac_status=$?
81038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81039   (exit $ac_status); }; } &&
81040          { ac_try='test -s conftest$ac_exeext'
81041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81042   (eval $ac_try) 2>&5
81043   ac_status=$?
81044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81045   (exit $ac_status); }; }; then
81046   glibcxx_cv_func___builtin_fabsl_link=yes
81047 else
81048   echo "$as_me: failed program was:" >&5
81049 sed 's/^/| /' conftest.$ac_ext >&5
81050
81051 glibcxx_cv_func___builtin_fabsl_link=no
81052 fi
81053 rm -f conftest.err conftest.$ac_objext \
81054       conftest$ac_exeext conftest.$ac_ext
81055
81056 fi
81057
81058     fi
81059     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81060 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81061
81062     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81063
81064 cat >>confdefs.h <<\_ACEOF
81065 #define HAVE___BUILTIN_FABSL 1
81066 _ACEOF
81067
81068     fi
81069
81070   fi
81071
81072
81073   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81074 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81075   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81076     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81077   echo $ECHO_N "(cached) $ECHO_C" >&6
81078 else
81079
81080
81081
81082       ac_ext=cc
81083 ac_cpp='$CXXCPP $CPPFLAGS'
81084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81087
81088       cat >conftest.$ac_ext <<_ACEOF
81089 /* confdefs.h.  */
81090 _ACEOF
81091 cat confdefs.h >>conftest.$ac_ext
81092 cat >>conftest.$ac_ext <<_ACEOF
81093 /* end confdefs.h.  */
81094 #include <math.h>
81095 int
81096 main ()
81097 {
81098  __builtin_labs(0);
81099   ;
81100   return 0;
81101 }
81102 _ACEOF
81103 rm -f conftest.$ac_objext
81104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81105   (eval $ac_compile) 2>conftest.er1
81106   ac_status=$?
81107   grep -v '^ *+' conftest.er1 >conftest.err
81108   rm -f conftest.er1
81109   cat conftest.err >&5
81110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81111   (exit $ac_status); } &&
81112          { ac_try='test -z "$ac_cxx_werror_flag"
81113                          || test ! -s conftest.err'
81114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81115   (eval $ac_try) 2>&5
81116   ac_status=$?
81117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81118   (exit $ac_status); }; } &&
81119          { ac_try='test -s conftest.$ac_objext'
81120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81121   (eval $ac_try) 2>&5
81122   ac_status=$?
81123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81124   (exit $ac_status); }; }; then
81125   glibcxx_cv_func___builtin_labs_use=yes
81126 else
81127   echo "$as_me: failed program was:" >&5
81128 sed 's/^/| /' conftest.$ac_ext >&5
81129
81130 glibcxx_cv_func___builtin_labs_use=no
81131 fi
81132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81133       ac_ext=c
81134 ac_cpp='$CPP $CPPFLAGS'
81135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81138
81139
81140 fi
81141
81142   fi
81143   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81144 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81145   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81146     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81147 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81148     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81149       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81150   echo $ECHO_N "(cached) $ECHO_C" >&6
81151 else
81152
81153         if test x$gcc_no_link = xyes; then
81154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81156    { (exit 1); exit 1; }; }
81157 fi
81158 cat >conftest.$ac_ext <<_ACEOF
81159 /* confdefs.h.  */
81160 _ACEOF
81161 cat confdefs.h >>conftest.$ac_ext
81162 cat >>conftest.$ac_ext <<_ACEOF
81163 /* end confdefs.h.  */
81164 #include <math.h>
81165 int
81166 main ()
81167 {
81168  __builtin_labs(0);
81169   ;
81170   return 0;
81171 }
81172 _ACEOF
81173 rm -f conftest.$ac_objext conftest$ac_exeext
81174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81175   (eval $ac_link) 2>conftest.er1
81176   ac_status=$?
81177   grep -v '^ *+' conftest.er1 >conftest.err
81178   rm -f conftest.er1
81179   cat conftest.err >&5
81180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81181   (exit $ac_status); } &&
81182          { ac_try='test -z "$ac_c_werror_flag"
81183                          || test ! -s conftest.err'
81184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81185   (eval $ac_try) 2>&5
81186   ac_status=$?
81187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81188   (exit $ac_status); }; } &&
81189          { ac_try='test -s conftest$ac_exeext'
81190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81191   (eval $ac_try) 2>&5
81192   ac_status=$?
81193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81194   (exit $ac_status); }; }; then
81195   glibcxx_cv_func___builtin_labs_link=yes
81196 else
81197   echo "$as_me: failed program was:" >&5
81198 sed 's/^/| /' conftest.$ac_ext >&5
81199
81200 glibcxx_cv_func___builtin_labs_link=no
81201 fi
81202 rm -f conftest.err conftest.$ac_objext \
81203       conftest$ac_exeext conftest.$ac_ext
81204
81205 fi
81206
81207     fi
81208     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81209 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81210
81211     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81212
81213 cat >>confdefs.h <<\_ACEOF
81214 #define HAVE___BUILTIN_LABS 1
81215 _ACEOF
81216
81217     fi
81218
81219   fi
81220
81221
81222
81223   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81224 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81225   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81226     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81227   echo $ECHO_N "(cached) $ECHO_C" >&6
81228 else
81229
81230
81231
81232       ac_ext=cc
81233 ac_cpp='$CXXCPP $CPPFLAGS'
81234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81237
81238       cat >conftest.$ac_ext <<_ACEOF
81239 /* confdefs.h.  */
81240 _ACEOF
81241 cat confdefs.h >>conftest.$ac_ext
81242 cat >>conftest.$ac_ext <<_ACEOF
81243 /* end confdefs.h.  */
81244 #include <math.h>
81245 int
81246 main ()
81247 {
81248  __builtin_sqrtf(0);
81249   ;
81250   return 0;
81251 }
81252 _ACEOF
81253 rm -f conftest.$ac_objext
81254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81255   (eval $ac_compile) 2>conftest.er1
81256   ac_status=$?
81257   grep -v '^ *+' conftest.er1 >conftest.err
81258   rm -f conftest.er1
81259   cat conftest.err >&5
81260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81261   (exit $ac_status); } &&
81262          { ac_try='test -z "$ac_cxx_werror_flag"
81263                          || test ! -s conftest.err'
81264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81265   (eval $ac_try) 2>&5
81266   ac_status=$?
81267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81268   (exit $ac_status); }; } &&
81269          { ac_try='test -s conftest.$ac_objext'
81270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81271   (eval $ac_try) 2>&5
81272   ac_status=$?
81273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274   (exit $ac_status); }; }; then
81275   glibcxx_cv_func___builtin_sqrtf_use=yes
81276 else
81277   echo "$as_me: failed program was:" >&5
81278 sed 's/^/| /' conftest.$ac_ext >&5
81279
81280 glibcxx_cv_func___builtin_sqrtf_use=no
81281 fi
81282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81283       ac_ext=c
81284 ac_cpp='$CPP $CPPFLAGS'
81285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81288
81289
81290 fi
81291
81292   fi
81293   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
81294 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
81295   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
81296     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
81297 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
81298     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
81299       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
81300   echo $ECHO_N "(cached) $ECHO_C" >&6
81301 else
81302
81303         if test x$gcc_no_link = xyes; then
81304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81306    { (exit 1); exit 1; }; }
81307 fi
81308 cat >conftest.$ac_ext <<_ACEOF
81309 /* confdefs.h.  */
81310 _ACEOF
81311 cat confdefs.h >>conftest.$ac_ext
81312 cat >>conftest.$ac_ext <<_ACEOF
81313 /* end confdefs.h.  */
81314 #include <math.h>
81315 int
81316 main ()
81317 {
81318  __builtin_sqrtf(0);
81319   ;
81320   return 0;
81321 }
81322 _ACEOF
81323 rm -f conftest.$ac_objext conftest$ac_exeext
81324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81325   (eval $ac_link) 2>conftest.er1
81326   ac_status=$?
81327   grep -v '^ *+' conftest.er1 >conftest.err
81328   rm -f conftest.er1
81329   cat conftest.err >&5
81330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81331   (exit $ac_status); } &&
81332          { ac_try='test -z "$ac_c_werror_flag"
81333                          || test ! -s conftest.err'
81334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81335   (eval $ac_try) 2>&5
81336   ac_status=$?
81337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81338   (exit $ac_status); }; } &&
81339          { ac_try='test -s conftest$ac_exeext'
81340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81341   (eval $ac_try) 2>&5
81342   ac_status=$?
81343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81344   (exit $ac_status); }; }; then
81345   glibcxx_cv_func___builtin_sqrtf_link=yes
81346 else
81347   echo "$as_me: failed program was:" >&5
81348 sed 's/^/| /' conftest.$ac_ext >&5
81349
81350 glibcxx_cv_func___builtin_sqrtf_link=no
81351 fi
81352 rm -f conftest.err conftest.$ac_objext \
81353       conftest$ac_exeext conftest.$ac_ext
81354
81355 fi
81356
81357     fi
81358     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
81359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
81360
81361     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
81362
81363 cat >>confdefs.h <<\_ACEOF
81364 #define HAVE___BUILTIN_SQRTF 1
81365 _ACEOF
81366
81367     fi
81368
81369   fi
81370
81371
81372   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
81373 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
81374   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
81375     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
81376   echo $ECHO_N "(cached) $ECHO_C" >&6
81377 else
81378
81379
81380
81381       ac_ext=cc
81382 ac_cpp='$CXXCPP $CPPFLAGS'
81383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81386
81387       cat >conftest.$ac_ext <<_ACEOF
81388 /* confdefs.h.  */
81389 _ACEOF
81390 cat confdefs.h >>conftest.$ac_ext
81391 cat >>conftest.$ac_ext <<_ACEOF
81392 /* end confdefs.h.  */
81393 #include <math.h>
81394 int
81395 main ()
81396 {
81397  __builtin_sqrt(0);
81398   ;
81399   return 0;
81400 }
81401 _ACEOF
81402 rm -f conftest.$ac_objext
81403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81404   (eval $ac_compile) 2>conftest.er1
81405   ac_status=$?
81406   grep -v '^ *+' conftest.er1 >conftest.err
81407   rm -f conftest.er1
81408   cat conftest.err >&5
81409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81410   (exit $ac_status); } &&
81411          { ac_try='test -z "$ac_cxx_werror_flag"
81412                          || test ! -s conftest.err'
81413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81414   (eval $ac_try) 2>&5
81415   ac_status=$?
81416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81417   (exit $ac_status); }; } &&
81418          { ac_try='test -s conftest.$ac_objext'
81419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81420   (eval $ac_try) 2>&5
81421   ac_status=$?
81422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81423   (exit $ac_status); }; }; then
81424   glibcxx_cv_func___builtin_sqrt_use=yes
81425 else
81426   echo "$as_me: failed program was:" >&5
81427 sed 's/^/| /' conftest.$ac_ext >&5
81428
81429 glibcxx_cv_func___builtin_sqrt_use=no
81430 fi
81431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81432       ac_ext=c
81433 ac_cpp='$CPP $CPPFLAGS'
81434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81437
81438
81439 fi
81440
81441   fi
81442   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
81443 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
81444   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
81445     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
81446 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
81447     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
81448       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
81449   echo $ECHO_N "(cached) $ECHO_C" >&6
81450 else
81451
81452         if test x$gcc_no_link = xyes; then
81453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81455    { (exit 1); exit 1; }; }
81456 fi
81457 cat >conftest.$ac_ext <<_ACEOF
81458 /* confdefs.h.  */
81459 _ACEOF
81460 cat confdefs.h >>conftest.$ac_ext
81461 cat >>conftest.$ac_ext <<_ACEOF
81462 /* end confdefs.h.  */
81463 #include <math.h>
81464 int
81465 main ()
81466 {
81467  __builtin_sqrt(0);
81468   ;
81469   return 0;
81470 }
81471 _ACEOF
81472 rm -f conftest.$ac_objext conftest$ac_exeext
81473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81474   (eval $ac_link) 2>conftest.er1
81475   ac_status=$?
81476   grep -v '^ *+' conftest.er1 >conftest.err
81477   rm -f conftest.er1
81478   cat conftest.err >&5
81479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81480   (exit $ac_status); } &&
81481          { ac_try='test -z "$ac_c_werror_flag"
81482                          || test ! -s conftest.err'
81483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81484   (eval $ac_try) 2>&5
81485   ac_status=$?
81486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81487   (exit $ac_status); }; } &&
81488          { ac_try='test -s conftest$ac_exeext'
81489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81490   (eval $ac_try) 2>&5
81491   ac_status=$?
81492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81493   (exit $ac_status); }; }; then
81494   glibcxx_cv_func___builtin_sqrt_link=yes
81495 else
81496   echo "$as_me: failed program was:" >&5
81497 sed 's/^/| /' conftest.$ac_ext >&5
81498
81499 glibcxx_cv_func___builtin_sqrt_link=no
81500 fi
81501 rm -f conftest.err conftest.$ac_objext \
81502       conftest$ac_exeext conftest.$ac_ext
81503
81504 fi
81505
81506     fi
81507     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
81508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
81509
81510     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
81511
81512 cat >>confdefs.h <<\_ACEOF
81513 #define HAVE___BUILTIN_SQRT 1
81514 _ACEOF
81515
81516     fi
81517
81518   fi
81519
81520
81521   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
81522 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
81523   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
81524     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
81525   echo $ECHO_N "(cached) $ECHO_C" >&6
81526 else
81527
81528
81529
81530       ac_ext=cc
81531 ac_cpp='$CXXCPP $CPPFLAGS'
81532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81535
81536       cat >conftest.$ac_ext <<_ACEOF
81537 /* confdefs.h.  */
81538 _ACEOF
81539 cat confdefs.h >>conftest.$ac_ext
81540 cat >>conftest.$ac_ext <<_ACEOF
81541 /* end confdefs.h.  */
81542 #include <math.h>
81543 int
81544 main ()
81545 {
81546  __builtin_sqrtl(0);
81547   ;
81548   return 0;
81549 }
81550 _ACEOF
81551 rm -f conftest.$ac_objext
81552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81553   (eval $ac_compile) 2>conftest.er1
81554   ac_status=$?
81555   grep -v '^ *+' conftest.er1 >conftest.err
81556   rm -f conftest.er1
81557   cat conftest.err >&5
81558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81559   (exit $ac_status); } &&
81560          { ac_try='test -z "$ac_cxx_werror_flag"
81561                          || test ! -s conftest.err'
81562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81563   (eval $ac_try) 2>&5
81564   ac_status=$?
81565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81566   (exit $ac_status); }; } &&
81567          { ac_try='test -s conftest.$ac_objext'
81568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81569   (eval $ac_try) 2>&5
81570   ac_status=$?
81571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81572   (exit $ac_status); }; }; then
81573   glibcxx_cv_func___builtin_sqrtl_use=yes
81574 else
81575   echo "$as_me: failed program was:" >&5
81576 sed 's/^/| /' conftest.$ac_ext >&5
81577
81578 glibcxx_cv_func___builtin_sqrtl_use=no
81579 fi
81580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81581       ac_ext=c
81582 ac_cpp='$CPP $CPPFLAGS'
81583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81586
81587
81588 fi
81589
81590   fi
81591   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
81592 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
81593   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
81594     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
81595 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
81596     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
81597       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
81598   echo $ECHO_N "(cached) $ECHO_C" >&6
81599 else
81600
81601         if test x$gcc_no_link = xyes; then
81602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81604    { (exit 1); exit 1; }; }
81605 fi
81606 cat >conftest.$ac_ext <<_ACEOF
81607 /* confdefs.h.  */
81608 _ACEOF
81609 cat confdefs.h >>conftest.$ac_ext
81610 cat >>conftest.$ac_ext <<_ACEOF
81611 /* end confdefs.h.  */
81612 #include <math.h>
81613 int
81614 main ()
81615 {
81616  __builtin_sqrtl(0);
81617   ;
81618   return 0;
81619 }
81620 _ACEOF
81621 rm -f conftest.$ac_objext conftest$ac_exeext
81622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81623   (eval $ac_link) 2>conftest.er1
81624   ac_status=$?
81625   grep -v '^ *+' conftest.er1 >conftest.err
81626   rm -f conftest.er1
81627   cat conftest.err >&5
81628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81629   (exit $ac_status); } &&
81630          { ac_try='test -z "$ac_c_werror_flag"
81631                          || test ! -s conftest.err'
81632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81633   (eval $ac_try) 2>&5
81634   ac_status=$?
81635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81636   (exit $ac_status); }; } &&
81637          { ac_try='test -s conftest$ac_exeext'
81638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81639   (eval $ac_try) 2>&5
81640   ac_status=$?
81641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81642   (exit $ac_status); }; }; then
81643   glibcxx_cv_func___builtin_sqrtl_link=yes
81644 else
81645   echo "$as_me: failed program was:" >&5
81646 sed 's/^/| /' conftest.$ac_ext >&5
81647
81648 glibcxx_cv_func___builtin_sqrtl_link=no
81649 fi
81650 rm -f conftest.err conftest.$ac_objext \
81651       conftest$ac_exeext conftest.$ac_ext
81652
81653 fi
81654
81655     fi
81656     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
81657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
81658
81659     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
81660
81661 cat >>confdefs.h <<\_ACEOF
81662 #define HAVE___BUILTIN_SQRTL 1
81663 _ACEOF
81664
81665     fi
81666
81667   fi
81668
81669
81670
81671   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
81672 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
81673   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
81674     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
81675   echo $ECHO_N "(cached) $ECHO_C" >&6
81676 else
81677
81678
81679
81680       ac_ext=cc
81681 ac_cpp='$CXXCPP $CPPFLAGS'
81682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81685
81686       cat >conftest.$ac_ext <<_ACEOF
81687 /* confdefs.h.  */
81688 _ACEOF
81689 cat confdefs.h >>conftest.$ac_ext
81690 cat >>conftest.$ac_ext <<_ACEOF
81691 /* end confdefs.h.  */
81692 #include <math.h>
81693 int
81694 main ()
81695 {
81696  __builtin_sinf(0);
81697   ;
81698   return 0;
81699 }
81700 _ACEOF
81701 rm -f conftest.$ac_objext
81702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81703   (eval $ac_compile) 2>conftest.er1
81704   ac_status=$?
81705   grep -v '^ *+' conftest.er1 >conftest.err
81706   rm -f conftest.er1
81707   cat conftest.err >&5
81708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81709   (exit $ac_status); } &&
81710          { ac_try='test -z "$ac_cxx_werror_flag"
81711                          || test ! -s conftest.err'
81712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81713   (eval $ac_try) 2>&5
81714   ac_status=$?
81715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81716   (exit $ac_status); }; } &&
81717          { ac_try='test -s conftest.$ac_objext'
81718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81719   (eval $ac_try) 2>&5
81720   ac_status=$?
81721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81722   (exit $ac_status); }; }; then
81723   glibcxx_cv_func___builtin_sinf_use=yes
81724 else
81725   echo "$as_me: failed program was:" >&5
81726 sed 's/^/| /' conftest.$ac_ext >&5
81727
81728 glibcxx_cv_func___builtin_sinf_use=no
81729 fi
81730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81731       ac_ext=c
81732 ac_cpp='$CPP $CPPFLAGS'
81733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81736
81737
81738 fi
81739
81740   fi
81741   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
81742 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
81743   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
81744     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
81745 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
81746     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
81747       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
81748   echo $ECHO_N "(cached) $ECHO_C" >&6
81749 else
81750
81751         if test x$gcc_no_link = xyes; then
81752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81754    { (exit 1); exit 1; }; }
81755 fi
81756 cat >conftest.$ac_ext <<_ACEOF
81757 /* confdefs.h.  */
81758 _ACEOF
81759 cat confdefs.h >>conftest.$ac_ext
81760 cat >>conftest.$ac_ext <<_ACEOF
81761 /* end confdefs.h.  */
81762 #include <math.h>
81763 int
81764 main ()
81765 {
81766  __builtin_sinf(0);
81767   ;
81768   return 0;
81769 }
81770 _ACEOF
81771 rm -f conftest.$ac_objext conftest$ac_exeext
81772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81773   (eval $ac_link) 2>conftest.er1
81774   ac_status=$?
81775   grep -v '^ *+' conftest.er1 >conftest.err
81776   rm -f conftest.er1
81777   cat conftest.err >&5
81778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81779   (exit $ac_status); } &&
81780          { ac_try='test -z "$ac_c_werror_flag"
81781                          || test ! -s conftest.err'
81782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81783   (eval $ac_try) 2>&5
81784   ac_status=$?
81785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81786   (exit $ac_status); }; } &&
81787          { ac_try='test -s conftest$ac_exeext'
81788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81789   (eval $ac_try) 2>&5
81790   ac_status=$?
81791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81792   (exit $ac_status); }; }; then
81793   glibcxx_cv_func___builtin_sinf_link=yes
81794 else
81795   echo "$as_me: failed program was:" >&5
81796 sed 's/^/| /' conftest.$ac_ext >&5
81797
81798 glibcxx_cv_func___builtin_sinf_link=no
81799 fi
81800 rm -f conftest.err conftest.$ac_objext \
81801       conftest$ac_exeext conftest.$ac_ext
81802
81803 fi
81804
81805     fi
81806     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
81807 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
81808
81809     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
81810
81811 cat >>confdefs.h <<\_ACEOF
81812 #define HAVE___BUILTIN_SINF 1
81813 _ACEOF
81814
81815     fi
81816
81817   fi
81818
81819
81820   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
81821 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
81822   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
81823     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
81824   echo $ECHO_N "(cached) $ECHO_C" >&6
81825 else
81826
81827
81828
81829       ac_ext=cc
81830 ac_cpp='$CXXCPP $CPPFLAGS'
81831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81834
81835       cat >conftest.$ac_ext <<_ACEOF
81836 /* confdefs.h.  */
81837 _ACEOF
81838 cat confdefs.h >>conftest.$ac_ext
81839 cat >>conftest.$ac_ext <<_ACEOF
81840 /* end confdefs.h.  */
81841 #include <math.h>
81842 int
81843 main ()
81844 {
81845  __builtin_sin(0);
81846   ;
81847   return 0;
81848 }
81849 _ACEOF
81850 rm -f conftest.$ac_objext
81851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81852   (eval $ac_compile) 2>conftest.er1
81853   ac_status=$?
81854   grep -v '^ *+' conftest.er1 >conftest.err
81855   rm -f conftest.er1
81856   cat conftest.err >&5
81857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81858   (exit $ac_status); } &&
81859          { ac_try='test -z "$ac_cxx_werror_flag"
81860                          || test ! -s conftest.err'
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); }; } &&
81866          { ac_try='test -s conftest.$ac_objext'
81867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81868   (eval $ac_try) 2>&5
81869   ac_status=$?
81870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81871   (exit $ac_status); }; }; then
81872   glibcxx_cv_func___builtin_sin_use=yes
81873 else
81874   echo "$as_me: failed program was:" >&5
81875 sed 's/^/| /' conftest.$ac_ext >&5
81876
81877 glibcxx_cv_func___builtin_sin_use=no
81878 fi
81879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81880       ac_ext=c
81881 ac_cpp='$CPP $CPPFLAGS'
81882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81885
81886
81887 fi
81888
81889   fi
81890   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
81891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
81892   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
81893     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
81894 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
81895     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
81896       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
81897   echo $ECHO_N "(cached) $ECHO_C" >&6
81898 else
81899
81900         if test x$gcc_no_link = xyes; then
81901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81903    { (exit 1); exit 1; }; }
81904 fi
81905 cat >conftest.$ac_ext <<_ACEOF
81906 /* confdefs.h.  */
81907 _ACEOF
81908 cat confdefs.h >>conftest.$ac_ext
81909 cat >>conftest.$ac_ext <<_ACEOF
81910 /* end confdefs.h.  */
81911 #include <math.h>
81912 int
81913 main ()
81914 {
81915  __builtin_sin(0);
81916   ;
81917   return 0;
81918 }
81919 _ACEOF
81920 rm -f conftest.$ac_objext conftest$ac_exeext
81921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81922   (eval $ac_link) 2>conftest.er1
81923   ac_status=$?
81924   grep -v '^ *+' conftest.er1 >conftest.err
81925   rm -f conftest.er1
81926   cat conftest.err >&5
81927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81928   (exit $ac_status); } &&
81929          { ac_try='test -z "$ac_c_werror_flag"
81930                          || test ! -s conftest.err'
81931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81932   (eval $ac_try) 2>&5
81933   ac_status=$?
81934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81935   (exit $ac_status); }; } &&
81936          { ac_try='test -s conftest$ac_exeext'
81937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81938   (eval $ac_try) 2>&5
81939   ac_status=$?
81940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81941   (exit $ac_status); }; }; then
81942   glibcxx_cv_func___builtin_sin_link=yes
81943 else
81944   echo "$as_me: failed program was:" >&5
81945 sed 's/^/| /' conftest.$ac_ext >&5
81946
81947 glibcxx_cv_func___builtin_sin_link=no
81948 fi
81949 rm -f conftest.err conftest.$ac_objext \
81950       conftest$ac_exeext conftest.$ac_ext
81951
81952 fi
81953
81954     fi
81955     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
81956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
81957
81958     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
81959
81960 cat >>confdefs.h <<\_ACEOF
81961 #define HAVE___BUILTIN_SIN 1
81962 _ACEOF
81963
81964     fi
81965
81966   fi
81967
81968
81969   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
81970 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
81971   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
81972     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
81973   echo $ECHO_N "(cached) $ECHO_C" >&6
81974 else
81975
81976
81977
81978       ac_ext=cc
81979 ac_cpp='$CXXCPP $CPPFLAGS'
81980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81983
81984       cat >conftest.$ac_ext <<_ACEOF
81985 /* confdefs.h.  */
81986 _ACEOF
81987 cat confdefs.h >>conftest.$ac_ext
81988 cat >>conftest.$ac_ext <<_ACEOF
81989 /* end confdefs.h.  */
81990 #include <math.h>
81991 int
81992 main ()
81993 {
81994  __builtin_sinl(0);
81995   ;
81996   return 0;
81997 }
81998 _ACEOF
81999 rm -f conftest.$ac_objext
82000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82001   (eval $ac_compile) 2>conftest.er1
82002   ac_status=$?
82003   grep -v '^ *+' conftest.er1 >conftest.err
82004   rm -f conftest.er1
82005   cat conftest.err >&5
82006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82007   (exit $ac_status); } &&
82008          { ac_try='test -z "$ac_cxx_werror_flag"
82009                          || test ! -s conftest.err'
82010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82011   (eval $ac_try) 2>&5
82012   ac_status=$?
82013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82014   (exit $ac_status); }; } &&
82015          { ac_try='test -s conftest.$ac_objext'
82016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82017   (eval $ac_try) 2>&5
82018   ac_status=$?
82019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82020   (exit $ac_status); }; }; then
82021   glibcxx_cv_func___builtin_sinl_use=yes
82022 else
82023   echo "$as_me: failed program was:" >&5
82024 sed 's/^/| /' conftest.$ac_ext >&5
82025
82026 glibcxx_cv_func___builtin_sinl_use=no
82027 fi
82028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82029       ac_ext=c
82030 ac_cpp='$CPP $CPPFLAGS'
82031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82034
82035
82036 fi
82037
82038   fi
82039   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82040 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82041   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82042     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82043 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82044     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82045       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82046   echo $ECHO_N "(cached) $ECHO_C" >&6
82047 else
82048
82049         if test x$gcc_no_link = xyes; then
82050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82052    { (exit 1); exit 1; }; }
82053 fi
82054 cat >conftest.$ac_ext <<_ACEOF
82055 /* confdefs.h.  */
82056 _ACEOF
82057 cat confdefs.h >>conftest.$ac_ext
82058 cat >>conftest.$ac_ext <<_ACEOF
82059 /* end confdefs.h.  */
82060 #include <math.h>
82061 int
82062 main ()
82063 {
82064  __builtin_sinl(0);
82065   ;
82066   return 0;
82067 }
82068 _ACEOF
82069 rm -f conftest.$ac_objext conftest$ac_exeext
82070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82071   (eval $ac_link) 2>conftest.er1
82072   ac_status=$?
82073   grep -v '^ *+' conftest.er1 >conftest.err
82074   rm -f conftest.er1
82075   cat conftest.err >&5
82076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82077   (exit $ac_status); } &&
82078          { ac_try='test -z "$ac_c_werror_flag"
82079                          || test ! -s conftest.err'
82080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82081   (eval $ac_try) 2>&5
82082   ac_status=$?
82083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82084   (exit $ac_status); }; } &&
82085          { ac_try='test -s conftest$ac_exeext'
82086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82087   (eval $ac_try) 2>&5
82088   ac_status=$?
82089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82090   (exit $ac_status); }; }; then
82091   glibcxx_cv_func___builtin_sinl_link=yes
82092 else
82093   echo "$as_me: failed program was:" >&5
82094 sed 's/^/| /' conftest.$ac_ext >&5
82095
82096 glibcxx_cv_func___builtin_sinl_link=no
82097 fi
82098 rm -f conftest.err conftest.$ac_objext \
82099       conftest$ac_exeext conftest.$ac_ext
82100
82101 fi
82102
82103     fi
82104     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82106
82107     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82108
82109 cat >>confdefs.h <<\_ACEOF
82110 #define HAVE___BUILTIN_SINL 1
82111 _ACEOF
82112
82113     fi
82114
82115   fi
82116
82117
82118
82119   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82120 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82121   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82122     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82123   echo $ECHO_N "(cached) $ECHO_C" >&6
82124 else
82125
82126
82127
82128       ac_ext=cc
82129 ac_cpp='$CXXCPP $CPPFLAGS'
82130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82133
82134       cat >conftest.$ac_ext <<_ACEOF
82135 /* confdefs.h.  */
82136 _ACEOF
82137 cat confdefs.h >>conftest.$ac_ext
82138 cat >>conftest.$ac_ext <<_ACEOF
82139 /* end confdefs.h.  */
82140 #include <math.h>
82141 int
82142 main ()
82143 {
82144  __builtin_cosf(0);
82145   ;
82146   return 0;
82147 }
82148 _ACEOF
82149 rm -f conftest.$ac_objext
82150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82151   (eval $ac_compile) 2>conftest.er1
82152   ac_status=$?
82153   grep -v '^ *+' conftest.er1 >conftest.err
82154   rm -f conftest.er1
82155   cat conftest.err >&5
82156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82157   (exit $ac_status); } &&
82158          { ac_try='test -z "$ac_cxx_werror_flag"
82159                          || test ! -s conftest.err'
82160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82161   (eval $ac_try) 2>&5
82162   ac_status=$?
82163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82164   (exit $ac_status); }; } &&
82165          { ac_try='test -s conftest.$ac_objext'
82166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82167   (eval $ac_try) 2>&5
82168   ac_status=$?
82169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82170   (exit $ac_status); }; }; then
82171   glibcxx_cv_func___builtin_cosf_use=yes
82172 else
82173   echo "$as_me: failed program was:" >&5
82174 sed 's/^/| /' conftest.$ac_ext >&5
82175
82176 glibcxx_cv_func___builtin_cosf_use=no
82177 fi
82178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82179       ac_ext=c
82180 ac_cpp='$CPP $CPPFLAGS'
82181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82184
82185
82186 fi
82187
82188   fi
82189   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82190 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82191   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82192     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82193 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82194     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82195       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82196   echo $ECHO_N "(cached) $ECHO_C" >&6
82197 else
82198
82199         if test x$gcc_no_link = xyes; then
82200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82202    { (exit 1); exit 1; }; }
82203 fi
82204 cat >conftest.$ac_ext <<_ACEOF
82205 /* confdefs.h.  */
82206 _ACEOF
82207 cat confdefs.h >>conftest.$ac_ext
82208 cat >>conftest.$ac_ext <<_ACEOF
82209 /* end confdefs.h.  */
82210 #include <math.h>
82211 int
82212 main ()
82213 {
82214  __builtin_cosf(0);
82215   ;
82216   return 0;
82217 }
82218 _ACEOF
82219 rm -f conftest.$ac_objext conftest$ac_exeext
82220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82221   (eval $ac_link) 2>conftest.er1
82222   ac_status=$?
82223   grep -v '^ *+' conftest.er1 >conftest.err
82224   rm -f conftest.er1
82225   cat conftest.err >&5
82226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82227   (exit $ac_status); } &&
82228          { ac_try='test -z "$ac_c_werror_flag"
82229                          || test ! -s conftest.err'
82230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82231   (eval $ac_try) 2>&5
82232   ac_status=$?
82233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234   (exit $ac_status); }; } &&
82235          { ac_try='test -s conftest$ac_exeext'
82236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82237   (eval $ac_try) 2>&5
82238   ac_status=$?
82239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82240   (exit $ac_status); }; }; then
82241   glibcxx_cv_func___builtin_cosf_link=yes
82242 else
82243   echo "$as_me: failed program was:" >&5
82244 sed 's/^/| /' conftest.$ac_ext >&5
82245
82246 glibcxx_cv_func___builtin_cosf_link=no
82247 fi
82248 rm -f conftest.err conftest.$ac_objext \
82249       conftest$ac_exeext conftest.$ac_ext
82250
82251 fi
82252
82253     fi
82254     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
82255 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
82256
82257     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
82258
82259 cat >>confdefs.h <<\_ACEOF
82260 #define HAVE___BUILTIN_COSF 1
82261 _ACEOF
82262
82263     fi
82264
82265   fi
82266
82267
82268   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
82269 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
82270   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
82271     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
82272   echo $ECHO_N "(cached) $ECHO_C" >&6
82273 else
82274
82275
82276
82277       ac_ext=cc
82278 ac_cpp='$CXXCPP $CPPFLAGS'
82279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82282
82283       cat >conftest.$ac_ext <<_ACEOF
82284 /* confdefs.h.  */
82285 _ACEOF
82286 cat confdefs.h >>conftest.$ac_ext
82287 cat >>conftest.$ac_ext <<_ACEOF
82288 /* end confdefs.h.  */
82289 #include <math.h>
82290 int
82291 main ()
82292 {
82293  __builtin_cos(0);
82294   ;
82295   return 0;
82296 }
82297 _ACEOF
82298 rm -f conftest.$ac_objext
82299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82300   (eval $ac_compile) 2>conftest.er1
82301   ac_status=$?
82302   grep -v '^ *+' conftest.er1 >conftest.err
82303   rm -f conftest.er1
82304   cat conftest.err >&5
82305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82306   (exit $ac_status); } &&
82307          { ac_try='test -z "$ac_cxx_werror_flag"
82308                          || test ! -s conftest.err'
82309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82310   (eval $ac_try) 2>&5
82311   ac_status=$?
82312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82313   (exit $ac_status); }; } &&
82314          { ac_try='test -s conftest.$ac_objext'
82315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82316   (eval $ac_try) 2>&5
82317   ac_status=$?
82318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82319   (exit $ac_status); }; }; then
82320   glibcxx_cv_func___builtin_cos_use=yes
82321 else
82322   echo "$as_me: failed program was:" >&5
82323 sed 's/^/| /' conftest.$ac_ext >&5
82324
82325 glibcxx_cv_func___builtin_cos_use=no
82326 fi
82327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82328       ac_ext=c
82329 ac_cpp='$CPP $CPPFLAGS'
82330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82333
82334
82335 fi
82336
82337   fi
82338   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
82339 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
82340   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
82341     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
82342 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
82343     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
82344       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
82345   echo $ECHO_N "(cached) $ECHO_C" >&6
82346 else
82347
82348         if test x$gcc_no_link = xyes; then
82349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82351    { (exit 1); exit 1; }; }
82352 fi
82353 cat >conftest.$ac_ext <<_ACEOF
82354 /* confdefs.h.  */
82355 _ACEOF
82356 cat confdefs.h >>conftest.$ac_ext
82357 cat >>conftest.$ac_ext <<_ACEOF
82358 /* end confdefs.h.  */
82359 #include <math.h>
82360 int
82361 main ()
82362 {
82363  __builtin_cos(0);
82364   ;
82365   return 0;
82366 }
82367 _ACEOF
82368 rm -f conftest.$ac_objext conftest$ac_exeext
82369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82370   (eval $ac_link) 2>conftest.er1
82371   ac_status=$?
82372   grep -v '^ *+' conftest.er1 >conftest.err
82373   rm -f conftest.er1
82374   cat conftest.err >&5
82375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82376   (exit $ac_status); } &&
82377          { ac_try='test -z "$ac_c_werror_flag"
82378                          || test ! -s conftest.err'
82379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82380   (eval $ac_try) 2>&5
82381   ac_status=$?
82382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82383   (exit $ac_status); }; } &&
82384          { ac_try='test -s conftest$ac_exeext'
82385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82386   (eval $ac_try) 2>&5
82387   ac_status=$?
82388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82389   (exit $ac_status); }; }; then
82390   glibcxx_cv_func___builtin_cos_link=yes
82391 else
82392   echo "$as_me: failed program was:" >&5
82393 sed 's/^/| /' conftest.$ac_ext >&5
82394
82395 glibcxx_cv_func___builtin_cos_link=no
82396 fi
82397 rm -f conftest.err conftest.$ac_objext \
82398       conftest$ac_exeext conftest.$ac_ext
82399
82400 fi
82401
82402     fi
82403     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
82404 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
82405
82406     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
82407
82408 cat >>confdefs.h <<\_ACEOF
82409 #define HAVE___BUILTIN_COS 1
82410 _ACEOF
82411
82412     fi
82413
82414   fi
82415
82416
82417   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
82418 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
82419   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
82420     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
82421   echo $ECHO_N "(cached) $ECHO_C" >&6
82422 else
82423
82424
82425
82426       ac_ext=cc
82427 ac_cpp='$CXXCPP $CPPFLAGS'
82428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82431
82432       cat >conftest.$ac_ext <<_ACEOF
82433 /* confdefs.h.  */
82434 _ACEOF
82435 cat confdefs.h >>conftest.$ac_ext
82436 cat >>conftest.$ac_ext <<_ACEOF
82437 /* end confdefs.h.  */
82438 #include <math.h>
82439 int
82440 main ()
82441 {
82442  __builtin_cosl(0);
82443   ;
82444   return 0;
82445 }
82446 _ACEOF
82447 rm -f conftest.$ac_objext
82448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82449   (eval $ac_compile) 2>conftest.er1
82450   ac_status=$?
82451   grep -v '^ *+' conftest.er1 >conftest.err
82452   rm -f conftest.er1
82453   cat conftest.err >&5
82454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82455   (exit $ac_status); } &&
82456          { ac_try='test -z "$ac_cxx_werror_flag"
82457                          || test ! -s conftest.err'
82458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82459   (eval $ac_try) 2>&5
82460   ac_status=$?
82461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82462   (exit $ac_status); }; } &&
82463          { ac_try='test -s conftest.$ac_objext'
82464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82465   (eval $ac_try) 2>&5
82466   ac_status=$?
82467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82468   (exit $ac_status); }; }; then
82469   glibcxx_cv_func___builtin_cosl_use=yes
82470 else
82471   echo "$as_me: failed program was:" >&5
82472 sed 's/^/| /' conftest.$ac_ext >&5
82473
82474 glibcxx_cv_func___builtin_cosl_use=no
82475 fi
82476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82477       ac_ext=c
82478 ac_cpp='$CPP $CPPFLAGS'
82479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82482
82483
82484 fi
82485
82486   fi
82487   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
82488 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
82489   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
82490     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
82491 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
82492     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
82493       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
82494   echo $ECHO_N "(cached) $ECHO_C" >&6
82495 else
82496
82497         if test x$gcc_no_link = xyes; then
82498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82500    { (exit 1); exit 1; }; }
82501 fi
82502 cat >conftest.$ac_ext <<_ACEOF
82503 /* confdefs.h.  */
82504 _ACEOF
82505 cat confdefs.h >>conftest.$ac_ext
82506 cat >>conftest.$ac_ext <<_ACEOF
82507 /* end confdefs.h.  */
82508 #include <math.h>
82509 int
82510 main ()
82511 {
82512  __builtin_cosl(0);
82513   ;
82514   return 0;
82515 }
82516 _ACEOF
82517 rm -f conftest.$ac_objext conftest$ac_exeext
82518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82519   (eval $ac_link) 2>conftest.er1
82520   ac_status=$?
82521   grep -v '^ *+' conftest.er1 >conftest.err
82522   rm -f conftest.er1
82523   cat conftest.err >&5
82524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82525   (exit $ac_status); } &&
82526          { ac_try='test -z "$ac_c_werror_flag"
82527                          || test ! -s conftest.err'
82528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82529   (eval $ac_try) 2>&5
82530   ac_status=$?
82531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82532   (exit $ac_status); }; } &&
82533          { ac_try='test -s conftest$ac_exeext'
82534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82535   (eval $ac_try) 2>&5
82536   ac_status=$?
82537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82538   (exit $ac_status); }; }; then
82539   glibcxx_cv_func___builtin_cosl_link=yes
82540 else
82541   echo "$as_me: failed program was:" >&5
82542 sed 's/^/| /' conftest.$ac_ext >&5
82543
82544 glibcxx_cv_func___builtin_cosl_link=no
82545 fi
82546 rm -f conftest.err conftest.$ac_objext \
82547       conftest$ac_exeext conftest.$ac_ext
82548
82549 fi
82550
82551     fi
82552     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
82553 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
82554
82555     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
82556
82557 cat >>confdefs.h <<\_ACEOF
82558 #define HAVE___BUILTIN_COSL 1
82559 _ACEOF
82560
82561     fi
82562
82563   fi
82564
82565
82566
82567
82568 echo "$as_me:$LINENO: checking for main in -lm" >&5
82569 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82570 if test "${ac_cv_lib_m_main+set}" = set; then
82571   echo $ECHO_N "(cached) $ECHO_C" >&6
82572 else
82573   ac_check_lib_save_LIBS=$LIBS
82574 LIBS="-lm  $LIBS"
82575 if test x$gcc_no_link = xyes; then
82576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82578    { (exit 1); exit 1; }; }
82579 fi
82580 cat >conftest.$ac_ext <<_ACEOF
82581 /* confdefs.h.  */
82582 _ACEOF
82583 cat confdefs.h >>conftest.$ac_ext
82584 cat >>conftest.$ac_ext <<_ACEOF
82585 /* end confdefs.h.  */
82586
82587
82588 int
82589 main ()
82590 {
82591 main ();
82592   ;
82593   return 0;
82594 }
82595 _ACEOF
82596 rm -f conftest.$ac_objext conftest$ac_exeext
82597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82598   (eval $ac_link) 2>conftest.er1
82599   ac_status=$?
82600   grep -v '^ *+' conftest.er1 >conftest.err
82601   rm -f conftest.er1
82602   cat conftest.err >&5
82603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82604   (exit $ac_status); } &&
82605          { ac_try='test -z "$ac_c_werror_flag"
82606                          || test ! -s conftest.err'
82607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82608   (eval $ac_try) 2>&5
82609   ac_status=$?
82610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82611   (exit $ac_status); }; } &&
82612          { ac_try='test -s conftest$ac_exeext'
82613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82614   (eval $ac_try) 2>&5
82615   ac_status=$?
82616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82617   (exit $ac_status); }; }; then
82618   ac_cv_lib_m_main=yes
82619 else
82620   echo "$as_me: failed program was:" >&5
82621 sed 's/^/| /' conftest.$ac_ext >&5
82622
82623 ac_cv_lib_m_main=no
82624 fi
82625 rm -f conftest.err conftest.$ac_objext \
82626       conftest$ac_exeext conftest.$ac_ext
82627 LIBS=$ac_check_lib_save_LIBS
82628 fi
82629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82630 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82631 if test $ac_cv_lib_m_main = yes; then
82632   cat >>confdefs.h <<_ACEOF
82633 #define HAVE_LIBM 1
82634 _ACEOF
82635
82636   LIBS="-lm $LIBS"
82637
82638 fi
82639
82640
82641 for ac_func in copysignf
82642 do
82643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82644 echo "$as_me:$LINENO: checking for $ac_func" >&5
82645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82646 if eval "test \"\${$as_ac_var+set}\" = set"; then
82647   echo $ECHO_N "(cached) $ECHO_C" >&6
82648 else
82649   if test x$gcc_no_link = xyes; then
82650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82652    { (exit 1); exit 1; }; }
82653 fi
82654 cat >conftest.$ac_ext <<_ACEOF
82655 /* confdefs.h.  */
82656 _ACEOF
82657 cat confdefs.h >>conftest.$ac_ext
82658 cat >>conftest.$ac_ext <<_ACEOF
82659 /* end confdefs.h.  */
82660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82662 #define $ac_func innocuous_$ac_func
82663
82664 /* System header to define __stub macros and hopefully few prototypes,
82665     which can conflict with char $ac_func (); below.
82666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82667     <limits.h> exists even on freestanding compilers.  */
82668
82669 #ifdef __STDC__
82670 # include <limits.h>
82671 #else
82672 # include <assert.h>
82673 #endif
82674
82675 #undef $ac_func
82676
82677 /* Override any gcc2 internal prototype to avoid an error.  */
82678 #ifdef __cplusplus
82679 extern "C"
82680 {
82681 #endif
82682 /* We use char because int might match the return type of a gcc2
82683    builtin and then its argument prototype would still apply.  */
82684 char $ac_func ();
82685 /* The GNU C library defines this for functions which it implements
82686     to always fail with ENOSYS.  Some functions are actually named
82687     something starting with __ and the normal name is an alias.  */
82688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82689 choke me
82690 #else
82691 char (*f) () = $ac_func;
82692 #endif
82693 #ifdef __cplusplus
82694 }
82695 #endif
82696
82697 int
82698 main ()
82699 {
82700 return f != $ac_func;
82701   ;
82702   return 0;
82703 }
82704 _ACEOF
82705 rm -f conftest.$ac_objext conftest$ac_exeext
82706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82707   (eval $ac_link) 2>conftest.er1
82708   ac_status=$?
82709   grep -v '^ *+' conftest.er1 >conftest.err
82710   rm -f conftest.er1
82711   cat conftest.err >&5
82712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82713   (exit $ac_status); } &&
82714          { ac_try='test -z "$ac_c_werror_flag"
82715                          || test ! -s conftest.err'
82716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82717   (eval $ac_try) 2>&5
82718   ac_status=$?
82719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82720   (exit $ac_status); }; } &&
82721          { ac_try='test -s conftest$ac_exeext'
82722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82723   (eval $ac_try) 2>&5
82724   ac_status=$?
82725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82726   (exit $ac_status); }; }; then
82727   eval "$as_ac_var=yes"
82728 else
82729   echo "$as_me: failed program was:" >&5
82730 sed 's/^/| /' conftest.$ac_ext >&5
82731
82732 eval "$as_ac_var=no"
82733 fi
82734 rm -f conftest.err conftest.$ac_objext \
82735       conftest$ac_exeext conftest.$ac_ext
82736 fi
82737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82739 if test `eval echo '${'$as_ac_var'}'` = yes; then
82740   cat >>confdefs.h <<_ACEOF
82741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82742 _ACEOF
82743
82744 else
82745   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82746 fi
82747 done
82748
82749
82750
82751 for ac_func in __signbit
82752 do
82753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82754 echo "$as_me:$LINENO: checking for $ac_func" >&5
82755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82756 if eval "test \"\${$as_ac_var+set}\" = set"; then
82757   echo $ECHO_N "(cached) $ECHO_C" >&6
82758 else
82759   if test x$gcc_no_link = xyes; then
82760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82762    { (exit 1); exit 1; }; }
82763 fi
82764 cat >conftest.$ac_ext <<_ACEOF
82765 /* confdefs.h.  */
82766 _ACEOF
82767 cat confdefs.h >>conftest.$ac_ext
82768 cat >>conftest.$ac_ext <<_ACEOF
82769 /* end confdefs.h.  */
82770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82772 #define $ac_func innocuous_$ac_func
82773
82774 /* System header to define __stub macros and hopefully few prototypes,
82775     which can conflict with char $ac_func (); below.
82776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82777     <limits.h> exists even on freestanding compilers.  */
82778
82779 #ifdef __STDC__
82780 # include <limits.h>
82781 #else
82782 # include <assert.h>
82783 #endif
82784
82785 #undef $ac_func
82786
82787 /* Override any gcc2 internal prototype to avoid an error.  */
82788 #ifdef __cplusplus
82789 extern "C"
82790 {
82791 #endif
82792 /* We use char because int might match the return type of a gcc2
82793    builtin and then its argument prototype would still apply.  */
82794 char $ac_func ();
82795 /* The GNU C library defines this for functions which it implements
82796     to always fail with ENOSYS.  Some functions are actually named
82797     something starting with __ and the normal name is an alias.  */
82798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82799 choke me
82800 #else
82801 char (*f) () = $ac_func;
82802 #endif
82803 #ifdef __cplusplus
82804 }
82805 #endif
82806
82807 int
82808 main ()
82809 {
82810 return f != $ac_func;
82811   ;
82812   return 0;
82813 }
82814 _ACEOF
82815 rm -f conftest.$ac_objext conftest$ac_exeext
82816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82817   (eval $ac_link) 2>conftest.er1
82818   ac_status=$?
82819   grep -v '^ *+' conftest.er1 >conftest.err
82820   rm -f conftest.er1
82821   cat conftest.err >&5
82822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82823   (exit $ac_status); } &&
82824          { ac_try='test -z "$ac_c_werror_flag"
82825                          || test ! -s conftest.err'
82826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82827   (eval $ac_try) 2>&5
82828   ac_status=$?
82829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82830   (exit $ac_status); }; } &&
82831          { ac_try='test -s conftest$ac_exeext'
82832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82833   (eval $ac_try) 2>&5
82834   ac_status=$?
82835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82836   (exit $ac_status); }; }; then
82837   eval "$as_ac_var=yes"
82838 else
82839   echo "$as_me: failed program was:" >&5
82840 sed 's/^/| /' conftest.$ac_ext >&5
82841
82842 eval "$as_ac_var=no"
82843 fi
82844 rm -f conftest.err conftest.$ac_objext \
82845       conftest$ac_exeext conftest.$ac_ext
82846 fi
82847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82849 if test `eval echo '${'$as_ac_var'}'` = yes; then
82850   cat >>confdefs.h <<_ACEOF
82851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82852 _ACEOF
82853
82854 else
82855   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82856 fi
82857 done
82858
82859
82860
82861 for ac_func in __signbitf
82862 do
82863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82864 echo "$as_me:$LINENO: checking for $ac_func" >&5
82865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82866 if eval "test \"\${$as_ac_var+set}\" = set"; then
82867   echo $ECHO_N "(cached) $ECHO_C" >&6
82868 else
82869   if test x$gcc_no_link = xyes; then
82870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82872    { (exit 1); exit 1; }; }
82873 fi
82874 cat >conftest.$ac_ext <<_ACEOF
82875 /* confdefs.h.  */
82876 _ACEOF
82877 cat confdefs.h >>conftest.$ac_ext
82878 cat >>conftest.$ac_ext <<_ACEOF
82879 /* end confdefs.h.  */
82880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82882 #define $ac_func innocuous_$ac_func
82883
82884 /* System header to define __stub macros and hopefully few prototypes,
82885     which can conflict with char $ac_func (); below.
82886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82887     <limits.h> exists even on freestanding compilers.  */
82888
82889 #ifdef __STDC__
82890 # include <limits.h>
82891 #else
82892 # include <assert.h>
82893 #endif
82894
82895 #undef $ac_func
82896
82897 /* Override any gcc2 internal prototype to avoid an error.  */
82898 #ifdef __cplusplus
82899 extern "C"
82900 {
82901 #endif
82902 /* We use char because int might match the return type of a gcc2
82903    builtin and then its argument prototype would still apply.  */
82904 char $ac_func ();
82905 /* The GNU C library defines this for functions which it implements
82906     to always fail with ENOSYS.  Some functions are actually named
82907     something starting with __ and the normal name is an alias.  */
82908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82909 choke me
82910 #else
82911 char (*f) () = $ac_func;
82912 #endif
82913 #ifdef __cplusplus
82914 }
82915 #endif
82916
82917 int
82918 main ()
82919 {
82920 return f != $ac_func;
82921   ;
82922   return 0;
82923 }
82924 _ACEOF
82925 rm -f conftest.$ac_objext conftest$ac_exeext
82926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82927   (eval $ac_link) 2>conftest.er1
82928   ac_status=$?
82929   grep -v '^ *+' conftest.er1 >conftest.err
82930   rm -f conftest.er1
82931   cat conftest.err >&5
82932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82933   (exit $ac_status); } &&
82934          { ac_try='test -z "$ac_c_werror_flag"
82935                          || test ! -s conftest.err'
82936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82937   (eval $ac_try) 2>&5
82938   ac_status=$?
82939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82940   (exit $ac_status); }; } &&
82941          { ac_try='test -s conftest$ac_exeext'
82942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82943   (eval $ac_try) 2>&5
82944   ac_status=$?
82945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946   (exit $ac_status); }; }; then
82947   eval "$as_ac_var=yes"
82948 else
82949   echo "$as_me: failed program was:" >&5
82950 sed 's/^/| /' conftest.$ac_ext >&5
82951
82952 eval "$as_ac_var=no"
82953 fi
82954 rm -f conftest.err conftest.$ac_objext \
82955       conftest$ac_exeext conftest.$ac_ext
82956 fi
82957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82959 if test `eval echo '${'$as_ac_var'}'` = yes; then
82960   cat >>confdefs.h <<_ACEOF
82961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82962 _ACEOF
82963
82964 else
82965   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82966 fi
82967 done
82968
82969
82970           if test x$ac_cv_func_copysignl = x"yes"; then
82971
82972 for ac_func in __signbitl
82973 do
82974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82975 echo "$as_me:$LINENO: checking for $ac_func" >&5
82976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82977 if eval "test \"\${$as_ac_var+set}\" = set"; then
82978   echo $ECHO_N "(cached) $ECHO_C" >&6
82979 else
82980   if test x$gcc_no_link = xyes; then
82981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82983    { (exit 1); exit 1; }; }
82984 fi
82985 cat >conftest.$ac_ext <<_ACEOF
82986 /* confdefs.h.  */
82987 _ACEOF
82988 cat confdefs.h >>conftest.$ac_ext
82989 cat >>conftest.$ac_ext <<_ACEOF
82990 /* end confdefs.h.  */
82991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82993 #define $ac_func innocuous_$ac_func
82994
82995 /* System header to define __stub macros and hopefully few prototypes,
82996     which can conflict with char $ac_func (); below.
82997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82998     <limits.h> exists even on freestanding compilers.  */
82999
83000 #ifdef __STDC__
83001 # include <limits.h>
83002 #else
83003 # include <assert.h>
83004 #endif
83005
83006 #undef $ac_func
83007
83008 /* Override any gcc2 internal prototype to avoid an error.  */
83009 #ifdef __cplusplus
83010 extern "C"
83011 {
83012 #endif
83013 /* We use char because int might match the return type of a gcc2
83014    builtin and then its argument prototype would still apply.  */
83015 char $ac_func ();
83016 /* The GNU C library defines this for functions which it implements
83017     to always fail with ENOSYS.  Some functions are actually named
83018     something starting with __ and the normal name is an alias.  */
83019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83020 choke me
83021 #else
83022 char (*f) () = $ac_func;
83023 #endif
83024 #ifdef __cplusplus
83025 }
83026 #endif
83027
83028 int
83029 main ()
83030 {
83031 return f != $ac_func;
83032   ;
83033   return 0;
83034 }
83035 _ACEOF
83036 rm -f conftest.$ac_objext conftest$ac_exeext
83037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83038   (eval $ac_link) 2>conftest.er1
83039   ac_status=$?
83040   grep -v '^ *+' conftest.er1 >conftest.err
83041   rm -f conftest.er1
83042   cat conftest.err >&5
83043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83044   (exit $ac_status); } &&
83045          { ac_try='test -z "$ac_c_werror_flag"
83046                          || test ! -s conftest.err'
83047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83048   (eval $ac_try) 2>&5
83049   ac_status=$?
83050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83051   (exit $ac_status); }; } &&
83052          { ac_try='test -s conftest$ac_exeext'
83053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83054   (eval $ac_try) 2>&5
83055   ac_status=$?
83056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83057   (exit $ac_status); }; }; then
83058   eval "$as_ac_var=yes"
83059 else
83060   echo "$as_me: failed program was:" >&5
83061 sed 's/^/| /' conftest.$ac_ext >&5
83062
83063 eval "$as_ac_var=no"
83064 fi
83065 rm -f conftest.err conftest.$ac_objext \
83066       conftest$ac_exeext conftest.$ac_ext
83067 fi
83068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83070 if test `eval echo '${'$as_ac_var'}'` = yes; then
83071   cat >>confdefs.h <<_ACEOF
83072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83073 _ACEOF
83074
83075 else
83076   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83077 fi
83078 done
83079
83080   fi
83081
83082   # Used in libmath/Makefile.am.
83083   if test -n "$LIBMATHOBJS"; then
83084     need_libmath=yes
83085   fi
83086
83087
83088
83089   ac_test_CXXFLAGS="${CXXFLAGS+set}"
83090   ac_save_CXXFLAGS="$CXXFLAGS"
83091   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83092
83093
83094   echo "$as_me:$LINENO: checking for strtold declaration" >&5
83095 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83096   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83097     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83098   echo $ECHO_N "(cached) $ECHO_C" >&6
83099 else
83100
83101
83102
83103       ac_ext=cc
83104 ac_cpp='$CXXCPP $CPPFLAGS'
83105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83108
83109       cat >conftest.$ac_ext <<_ACEOF
83110 /* confdefs.h.  */
83111 _ACEOF
83112 cat confdefs.h >>conftest.$ac_ext
83113 cat >>conftest.$ac_ext <<_ACEOF
83114 /* end confdefs.h.  */
83115 #include <stdlib.h>
83116 int
83117 main ()
83118 {
83119  strtold(0, 0);
83120   ;
83121   return 0;
83122 }
83123 _ACEOF
83124 rm -f conftest.$ac_objext
83125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83126   (eval $ac_compile) 2>conftest.er1
83127   ac_status=$?
83128   grep -v '^ *+' conftest.er1 >conftest.err
83129   rm -f conftest.er1
83130   cat conftest.err >&5
83131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83132   (exit $ac_status); } &&
83133          { ac_try='test -z "$ac_cxx_werror_flag"
83134                          || test ! -s conftest.err'
83135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83136   (eval $ac_try) 2>&5
83137   ac_status=$?
83138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83139   (exit $ac_status); }; } &&
83140          { ac_try='test -s conftest.$ac_objext'
83141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83142   (eval $ac_try) 2>&5
83143   ac_status=$?
83144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83145   (exit $ac_status); }; }; then
83146   glibcxx_cv_func_strtold_use=yes
83147 else
83148   echo "$as_me: failed program was:" >&5
83149 sed 's/^/| /' conftest.$ac_ext >&5
83150
83151 glibcxx_cv_func_strtold_use=no
83152 fi
83153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83154       ac_ext=c
83155 ac_cpp='$CPP $CPPFLAGS'
83156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83159
83160
83161 fi
83162
83163   fi
83164   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83165 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83166   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83167
83168 for ac_func in strtold
83169 do
83170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83171 echo "$as_me:$LINENO: checking for $ac_func" >&5
83172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83173 if eval "test \"\${$as_ac_var+set}\" = set"; then
83174   echo $ECHO_N "(cached) $ECHO_C" >&6
83175 else
83176   if test x$gcc_no_link = xyes; then
83177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83179    { (exit 1); exit 1; }; }
83180 fi
83181 cat >conftest.$ac_ext <<_ACEOF
83182 /* confdefs.h.  */
83183 _ACEOF
83184 cat confdefs.h >>conftest.$ac_ext
83185 cat >>conftest.$ac_ext <<_ACEOF
83186 /* end confdefs.h.  */
83187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83189 #define $ac_func innocuous_$ac_func
83190
83191 /* System header to define __stub macros and hopefully few prototypes,
83192     which can conflict with char $ac_func (); below.
83193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83194     <limits.h> exists even on freestanding compilers.  */
83195
83196 #ifdef __STDC__
83197 # include <limits.h>
83198 #else
83199 # include <assert.h>
83200 #endif
83201
83202 #undef $ac_func
83203
83204 /* Override any gcc2 internal prototype to avoid an error.  */
83205 #ifdef __cplusplus
83206 extern "C"
83207 {
83208 #endif
83209 /* We use char because int might match the return type of a gcc2
83210    builtin and then its argument prototype would still apply.  */
83211 char $ac_func ();
83212 /* The GNU C library defines this for functions which it implements
83213     to always fail with ENOSYS.  Some functions are actually named
83214     something starting with __ and the normal name is an alias.  */
83215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83216 choke me
83217 #else
83218 char (*f) () = $ac_func;
83219 #endif
83220 #ifdef __cplusplus
83221 }
83222 #endif
83223
83224 int
83225 main ()
83226 {
83227 return f != $ac_func;
83228   ;
83229   return 0;
83230 }
83231 _ACEOF
83232 rm -f conftest.$ac_objext conftest$ac_exeext
83233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83234   (eval $ac_link) 2>conftest.er1
83235   ac_status=$?
83236   grep -v '^ *+' conftest.er1 >conftest.err
83237   rm -f conftest.er1
83238   cat conftest.err >&5
83239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83240   (exit $ac_status); } &&
83241          { ac_try='test -z "$ac_c_werror_flag"
83242                          || test ! -s conftest.err'
83243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83244   (eval $ac_try) 2>&5
83245   ac_status=$?
83246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83247   (exit $ac_status); }; } &&
83248          { ac_try='test -s conftest$ac_exeext'
83249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83250   (eval $ac_try) 2>&5
83251   ac_status=$?
83252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83253   (exit $ac_status); }; }; then
83254   eval "$as_ac_var=yes"
83255 else
83256   echo "$as_me: failed program was:" >&5
83257 sed 's/^/| /' conftest.$ac_ext >&5
83258
83259 eval "$as_ac_var=no"
83260 fi
83261 rm -f conftest.err conftest.$ac_objext \
83262       conftest$ac_exeext conftest.$ac_ext
83263 fi
83264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83266 if test `eval echo '${'$as_ac_var'}'` = yes; then
83267   cat >>confdefs.h <<_ACEOF
83268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83269 _ACEOF
83270
83271 fi
83272 done
83273
83274   fi
83275
83276
83277
83278
83279
83280   echo "$as_me:$LINENO: checking for strtof declaration" >&5
83281 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
83282   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
83283     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
83284   echo $ECHO_N "(cached) $ECHO_C" >&6
83285 else
83286
83287
83288
83289       ac_ext=cc
83290 ac_cpp='$CXXCPP $CPPFLAGS'
83291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83294
83295       cat >conftest.$ac_ext <<_ACEOF
83296 /* confdefs.h.  */
83297 _ACEOF
83298 cat confdefs.h >>conftest.$ac_ext
83299 cat >>conftest.$ac_ext <<_ACEOF
83300 /* end confdefs.h.  */
83301 #include <stdlib.h>
83302 int
83303 main ()
83304 {
83305  strtof(0, 0);
83306   ;
83307   return 0;
83308 }
83309 _ACEOF
83310 rm -f conftest.$ac_objext
83311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83312   (eval $ac_compile) 2>conftest.er1
83313   ac_status=$?
83314   grep -v '^ *+' conftest.er1 >conftest.err
83315   rm -f conftest.er1
83316   cat conftest.err >&5
83317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83318   (exit $ac_status); } &&
83319          { ac_try='test -z "$ac_cxx_werror_flag"
83320                          || test ! -s conftest.err'
83321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83322   (eval $ac_try) 2>&5
83323   ac_status=$?
83324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83325   (exit $ac_status); }; } &&
83326          { ac_try='test -s conftest.$ac_objext'
83327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83328   (eval $ac_try) 2>&5
83329   ac_status=$?
83330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331   (exit $ac_status); }; }; then
83332   glibcxx_cv_func_strtof_use=yes
83333 else
83334   echo "$as_me: failed program was:" >&5
83335 sed 's/^/| /' conftest.$ac_ext >&5
83336
83337 glibcxx_cv_func_strtof_use=no
83338 fi
83339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83340       ac_ext=c
83341 ac_cpp='$CPP $CPPFLAGS'
83342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83345
83346
83347 fi
83348
83349   fi
83350   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
83351 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
83352   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
83353
83354 for ac_func in strtof
83355 do
83356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83357 echo "$as_me:$LINENO: checking for $ac_func" >&5
83358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83359 if eval "test \"\${$as_ac_var+set}\" = set"; then
83360   echo $ECHO_N "(cached) $ECHO_C" >&6
83361 else
83362   if test x$gcc_no_link = xyes; then
83363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83365    { (exit 1); exit 1; }; }
83366 fi
83367 cat >conftest.$ac_ext <<_ACEOF
83368 /* confdefs.h.  */
83369 _ACEOF
83370 cat confdefs.h >>conftest.$ac_ext
83371 cat >>conftest.$ac_ext <<_ACEOF
83372 /* end confdefs.h.  */
83373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83375 #define $ac_func innocuous_$ac_func
83376
83377 /* System header to define __stub macros and hopefully few prototypes,
83378     which can conflict with char $ac_func (); below.
83379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83380     <limits.h> exists even on freestanding compilers.  */
83381
83382 #ifdef __STDC__
83383 # include <limits.h>
83384 #else
83385 # include <assert.h>
83386 #endif
83387
83388 #undef $ac_func
83389
83390 /* Override any gcc2 internal prototype to avoid an error.  */
83391 #ifdef __cplusplus
83392 extern "C"
83393 {
83394 #endif
83395 /* We use char because int might match the return type of a gcc2
83396    builtin and then its argument prototype would still apply.  */
83397 char $ac_func ();
83398 /* The GNU C library defines this for functions which it implements
83399     to always fail with ENOSYS.  Some functions are actually named
83400     something starting with __ and the normal name is an alias.  */
83401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83402 choke me
83403 #else
83404 char (*f) () = $ac_func;
83405 #endif
83406 #ifdef __cplusplus
83407 }
83408 #endif
83409
83410 int
83411 main ()
83412 {
83413 return f != $ac_func;
83414   ;
83415   return 0;
83416 }
83417 _ACEOF
83418 rm -f conftest.$ac_objext conftest$ac_exeext
83419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83420   (eval $ac_link) 2>conftest.er1
83421   ac_status=$?
83422   grep -v '^ *+' conftest.er1 >conftest.err
83423   rm -f conftest.er1
83424   cat conftest.err >&5
83425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83426   (exit $ac_status); } &&
83427          { ac_try='test -z "$ac_c_werror_flag"
83428                          || test ! -s conftest.err'
83429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83430   (eval $ac_try) 2>&5
83431   ac_status=$?
83432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83433   (exit $ac_status); }; } &&
83434          { ac_try='test -s conftest$ac_exeext'
83435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83436   (eval $ac_try) 2>&5
83437   ac_status=$?
83438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439   (exit $ac_status); }; }; then
83440   eval "$as_ac_var=yes"
83441 else
83442   echo "$as_me: failed program was:" >&5
83443 sed 's/^/| /' conftest.$ac_ext >&5
83444
83445 eval "$as_ac_var=no"
83446 fi
83447 rm -f conftest.err conftest.$ac_objext \
83448       conftest$ac_exeext conftest.$ac_ext
83449 fi
83450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83452 if test `eval echo '${'$as_ac_var'}'` = yes; then
83453   cat >>confdefs.h <<_ACEOF
83454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83455 _ACEOF
83456
83457 fi
83458 done
83459
83460   fi
83461
83462
83463
83464
83465
83466   CXXFLAGS="$ac_save_CXXFLAGS"
83467
83468
83469     # For showmanyc_helper().
83470
83471
83472 for ac_header in sys/ioctl.h sys/filio.h
83473 do
83474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83476   echo "$as_me:$LINENO: checking for $ac_header" >&5
83477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83479   echo $ECHO_N "(cached) $ECHO_C" >&6
83480 fi
83481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83483 else
83484   # Is the header compilable?
83485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83487 cat >conftest.$ac_ext <<_ACEOF
83488 /* confdefs.h.  */
83489 _ACEOF
83490 cat confdefs.h >>conftest.$ac_ext
83491 cat >>conftest.$ac_ext <<_ACEOF
83492 /* end confdefs.h.  */
83493 $ac_includes_default
83494 #include <$ac_header>
83495 _ACEOF
83496 rm -f conftest.$ac_objext
83497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83498   (eval $ac_compile) 2>conftest.er1
83499   ac_status=$?
83500   grep -v '^ *+' conftest.er1 >conftest.err
83501   rm -f conftest.er1
83502   cat conftest.err >&5
83503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83504   (exit $ac_status); } &&
83505          { ac_try='test -z "$ac_c_werror_flag"
83506                          || test ! -s conftest.err'
83507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83508   (eval $ac_try) 2>&5
83509   ac_status=$?
83510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83511   (exit $ac_status); }; } &&
83512          { ac_try='test -s conftest.$ac_objext'
83513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83514   (eval $ac_try) 2>&5
83515   ac_status=$?
83516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83517   (exit $ac_status); }; }; then
83518   ac_header_compiler=yes
83519 else
83520   echo "$as_me: failed program was:" >&5
83521 sed 's/^/| /' conftest.$ac_ext >&5
83522
83523 ac_header_compiler=no
83524 fi
83525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83527 echo "${ECHO_T}$ac_header_compiler" >&6
83528
83529 # Is the header present?
83530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83532 cat >conftest.$ac_ext <<_ACEOF
83533 /* confdefs.h.  */
83534 _ACEOF
83535 cat confdefs.h >>conftest.$ac_ext
83536 cat >>conftest.$ac_ext <<_ACEOF
83537 /* end confdefs.h.  */
83538 #include <$ac_header>
83539 _ACEOF
83540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83541   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83542   ac_status=$?
83543   grep -v '^ *+' conftest.er1 >conftest.err
83544   rm -f conftest.er1
83545   cat conftest.err >&5
83546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83547   (exit $ac_status); } >/dev/null; then
83548   if test -s conftest.err; then
83549     ac_cpp_err=$ac_c_preproc_warn_flag
83550     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83551   else
83552     ac_cpp_err=
83553   fi
83554 else
83555   ac_cpp_err=yes
83556 fi
83557 if test -z "$ac_cpp_err"; then
83558   ac_header_preproc=yes
83559 else
83560   echo "$as_me: failed program was:" >&5
83561 sed 's/^/| /' conftest.$ac_ext >&5
83562
83563   ac_header_preproc=no
83564 fi
83565 rm -f conftest.err conftest.$ac_ext
83566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83567 echo "${ECHO_T}$ac_header_preproc" >&6
83568
83569 # So?  What about this header?
83570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83571   yes:no: )
83572     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83574     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83576     ac_header_preproc=yes
83577     ;;
83578   no:yes:* )
83579     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83581     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83582 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83583     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83585     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83586 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83587     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83589     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83591     (
83592       cat <<\_ASBOX
83593 ## ----------------------------------------- ##
83594 ## Report this to the package-unused lists.  ##
83595 ## ----------------------------------------- ##
83596 _ASBOX
83597     ) |
83598       sed "s/^/$as_me: WARNING:     /" >&2
83599     ;;
83600 esac
83601 echo "$as_me:$LINENO: checking for $ac_header" >&5
83602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83604   echo $ECHO_N "(cached) $ECHO_C" >&6
83605 else
83606   eval "$as_ac_Header=\$ac_header_preproc"
83607 fi
83608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83610
83611 fi
83612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83613   cat >>confdefs.h <<_ACEOF
83614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83615 _ACEOF
83616
83617 fi
83618
83619 done
83620
83621
83622   echo "$as_me:$LINENO: checking for poll" >&5
83623 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83624   if test "${glibcxx_cv_POLL+set}" = set; then
83625   echo $ECHO_N "(cached) $ECHO_C" >&6
83626 else
83627
83628     if test x$gcc_no_link = xyes; then
83629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83631    { (exit 1); exit 1; }; }
83632 fi
83633 cat >conftest.$ac_ext <<_ACEOF
83634 /* confdefs.h.  */
83635 _ACEOF
83636 cat confdefs.h >>conftest.$ac_ext
83637 cat >>conftest.$ac_ext <<_ACEOF
83638 /* end confdefs.h.  */
83639 #include <poll.h>
83640 int
83641 main ()
83642 {
83643 struct pollfd pfd[1];
83644        pfd[0].events = POLLIN;
83645        poll(pfd, 1, 0);
83646   ;
83647   return 0;
83648 }
83649 _ACEOF
83650 rm -f conftest.$ac_objext conftest$ac_exeext
83651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83652   (eval $ac_link) 2>conftest.er1
83653   ac_status=$?
83654   grep -v '^ *+' conftest.er1 >conftest.err
83655   rm -f conftest.er1
83656   cat conftest.err >&5
83657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83658   (exit $ac_status); } &&
83659          { ac_try='test -z "$ac_c_werror_flag"
83660                          || test ! -s conftest.err'
83661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83662   (eval $ac_try) 2>&5
83663   ac_status=$?
83664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83665   (exit $ac_status); }; } &&
83666          { ac_try='test -s conftest$ac_exeext'
83667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83668   (eval $ac_try) 2>&5
83669   ac_status=$?
83670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671   (exit $ac_status); }; }; then
83672   glibcxx_cv_POLL=yes
83673 else
83674   echo "$as_me: failed program was:" >&5
83675 sed 's/^/| /' conftest.$ac_ext >&5
83676
83677 glibcxx_cv_POLL=no
83678 fi
83679 rm -f conftest.err conftest.$ac_objext \
83680       conftest$ac_exeext conftest.$ac_ext
83681
83682 fi
83683
83684   if test $glibcxx_cv_POLL = yes; then
83685
83686 cat >>confdefs.h <<\_ACEOF
83687 #define HAVE_POLL 1
83688 _ACEOF
83689
83690   fi
83691   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83692 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83693
83694
83695   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83696 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83697   if test "${glibcxx_cv_S_ISREG+set}" = set; then
83698   echo $ECHO_N "(cached) $ECHO_C" >&6
83699 else
83700
83701     if test x$gcc_no_link = xyes; then
83702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83704    { (exit 1); exit 1; }; }
83705 fi
83706 cat >conftest.$ac_ext <<_ACEOF
83707 /* confdefs.h.  */
83708 _ACEOF
83709 cat confdefs.h >>conftest.$ac_ext
83710 cat >>conftest.$ac_ext <<_ACEOF
83711 /* end confdefs.h.  */
83712 #include <sys/stat.h>
83713 int
83714 main ()
83715 {
83716 struct stat buffer;
83717        fstat(0, &buffer);
83718        S_ISREG(buffer.st_mode);
83719   ;
83720   return 0;
83721 }
83722 _ACEOF
83723 rm -f conftest.$ac_objext conftest$ac_exeext
83724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83725   (eval $ac_link) 2>conftest.er1
83726   ac_status=$?
83727   grep -v '^ *+' conftest.er1 >conftest.err
83728   rm -f conftest.er1
83729   cat conftest.err >&5
83730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731   (exit $ac_status); } &&
83732          { ac_try='test -z "$ac_c_werror_flag"
83733                          || test ! -s conftest.err'
83734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83735   (eval $ac_try) 2>&5
83736   ac_status=$?
83737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83738   (exit $ac_status); }; } &&
83739          { ac_try='test -s conftest$ac_exeext'
83740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83741   (eval $ac_try) 2>&5
83742   ac_status=$?
83743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744   (exit $ac_status); }; }; then
83745   glibcxx_cv_S_ISREG=yes
83746 else
83747   echo "$as_me: failed program was:" >&5
83748 sed 's/^/| /' conftest.$ac_ext >&5
83749
83750 glibcxx_cv_S_ISREG=no
83751 fi
83752 rm -f conftest.err conftest.$ac_objext \
83753       conftest$ac_exeext conftest.$ac_ext
83754
83755 fi
83756
83757   if test "${glibcxx_cv_S_IFREG+set}" = set; then
83758   echo $ECHO_N "(cached) $ECHO_C" >&6
83759 else
83760
83761     if test x$gcc_no_link = xyes; then
83762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83764    { (exit 1); exit 1; }; }
83765 fi
83766 cat >conftest.$ac_ext <<_ACEOF
83767 /* confdefs.h.  */
83768 _ACEOF
83769 cat confdefs.h >>conftest.$ac_ext
83770 cat >>conftest.$ac_ext <<_ACEOF
83771 /* end confdefs.h.  */
83772 #include <sys/stat.h>
83773 int
83774 main ()
83775 {
83776 struct stat buffer;
83777        fstat(0, &buffer);
83778        S_IFREG & buffer.st_mode;
83779   ;
83780   return 0;
83781 }
83782 _ACEOF
83783 rm -f conftest.$ac_objext conftest$ac_exeext
83784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83785   (eval $ac_link) 2>conftest.er1
83786   ac_status=$?
83787   grep -v '^ *+' conftest.er1 >conftest.err
83788   rm -f conftest.er1
83789   cat conftest.err >&5
83790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83791   (exit $ac_status); } &&
83792          { ac_try='test -z "$ac_c_werror_flag"
83793                          || test ! -s conftest.err'
83794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83795   (eval $ac_try) 2>&5
83796   ac_status=$?
83797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83798   (exit $ac_status); }; } &&
83799          { ac_try='test -s conftest$ac_exeext'
83800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83801   (eval $ac_try) 2>&5
83802   ac_status=$?
83803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83804   (exit $ac_status); }; }; then
83805   glibcxx_cv_S_IFREG=yes
83806 else
83807   echo "$as_me: failed program was:" >&5
83808 sed 's/^/| /' conftest.$ac_ext >&5
83809
83810 glibcxx_cv_S_IFREG=no
83811 fi
83812 rm -f conftest.err conftest.$ac_objext \
83813       conftest$ac_exeext conftest.$ac_ext
83814
83815 fi
83816
83817   res=no
83818   if test $glibcxx_cv_S_ISREG = yes; then
83819
83820 cat >>confdefs.h <<\_ACEOF
83821 #define HAVE_S_ISREG 1
83822 _ACEOF
83823
83824     res=S_ISREG
83825   elif test $glibcxx_cv_S_IFREG = yes; then
83826
83827 cat >>confdefs.h <<\_ACEOF
83828 #define HAVE_S_IFREG 1
83829 _ACEOF
83830
83831     res=S_IFREG
83832   fi
83833   echo "$as_me:$LINENO: result: $res" >&5
83834 echo "${ECHO_T}$res" >&6
83835
83836
83837     # For xsputn_2().
83838
83839 for ac_header in sys/uio.h
83840 do
83841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83843   echo "$as_me:$LINENO: checking for $ac_header" >&5
83844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83846   echo $ECHO_N "(cached) $ECHO_C" >&6
83847 fi
83848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83850 else
83851   # Is the header compilable?
83852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83854 cat >conftest.$ac_ext <<_ACEOF
83855 /* confdefs.h.  */
83856 _ACEOF
83857 cat confdefs.h >>conftest.$ac_ext
83858 cat >>conftest.$ac_ext <<_ACEOF
83859 /* end confdefs.h.  */
83860 $ac_includes_default
83861 #include <$ac_header>
83862 _ACEOF
83863 rm -f conftest.$ac_objext
83864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83865   (eval $ac_compile) 2>conftest.er1
83866   ac_status=$?
83867   grep -v '^ *+' conftest.er1 >conftest.err
83868   rm -f conftest.er1
83869   cat conftest.err >&5
83870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83871   (exit $ac_status); } &&
83872          { ac_try='test -z "$ac_c_werror_flag"
83873                          || test ! -s conftest.err'
83874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83875   (eval $ac_try) 2>&5
83876   ac_status=$?
83877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83878   (exit $ac_status); }; } &&
83879          { ac_try='test -s conftest.$ac_objext'
83880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83881   (eval $ac_try) 2>&5
83882   ac_status=$?
83883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83884   (exit $ac_status); }; }; then
83885   ac_header_compiler=yes
83886 else
83887   echo "$as_me: failed program was:" >&5
83888 sed 's/^/| /' conftest.$ac_ext >&5
83889
83890 ac_header_compiler=no
83891 fi
83892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83894 echo "${ECHO_T}$ac_header_compiler" >&6
83895
83896 # Is the header present?
83897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83899 cat >conftest.$ac_ext <<_ACEOF
83900 /* confdefs.h.  */
83901 _ACEOF
83902 cat confdefs.h >>conftest.$ac_ext
83903 cat >>conftest.$ac_ext <<_ACEOF
83904 /* end confdefs.h.  */
83905 #include <$ac_header>
83906 _ACEOF
83907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83908   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83909   ac_status=$?
83910   grep -v '^ *+' conftest.er1 >conftest.err
83911   rm -f conftest.er1
83912   cat conftest.err >&5
83913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83914   (exit $ac_status); } >/dev/null; then
83915   if test -s conftest.err; then
83916     ac_cpp_err=$ac_c_preproc_warn_flag
83917     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83918   else
83919     ac_cpp_err=
83920   fi
83921 else
83922   ac_cpp_err=yes
83923 fi
83924 if test -z "$ac_cpp_err"; then
83925   ac_header_preproc=yes
83926 else
83927   echo "$as_me: failed program was:" >&5
83928 sed 's/^/| /' conftest.$ac_ext >&5
83929
83930   ac_header_preproc=no
83931 fi
83932 rm -f conftest.err conftest.$ac_ext
83933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83934 echo "${ECHO_T}$ac_header_preproc" >&6
83935
83936 # So?  What about this header?
83937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83938   yes:no: )
83939     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83943     ac_header_preproc=yes
83944     ;;
83945   no:yes:* )
83946     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83948     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83949 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83950     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83952     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83953 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83954     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83956     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83958     (
83959       cat <<\_ASBOX
83960 ## ----------------------------------------- ##
83961 ## Report this to the package-unused lists.  ##
83962 ## ----------------------------------------- ##
83963 _ASBOX
83964     ) |
83965       sed "s/^/$as_me: WARNING:     /" >&2
83966     ;;
83967 esac
83968 echo "$as_me:$LINENO: checking for $ac_header" >&5
83969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83971   echo $ECHO_N "(cached) $ECHO_C" >&6
83972 else
83973   eval "$as_ac_Header=\$ac_header_preproc"
83974 fi
83975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83977
83978 fi
83979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83980   cat >>confdefs.h <<_ACEOF
83981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83982 _ACEOF
83983
83984 fi
83985
83986 done
83987
83988
83989   echo "$as_me:$LINENO: checking for writev" >&5
83990 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83991   if test "${glibcxx_cv_WRITEV+set}" = set; then
83992   echo $ECHO_N "(cached) $ECHO_C" >&6
83993 else
83994
83995     if test x$gcc_no_link = xyes; then
83996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83998    { (exit 1); exit 1; }; }
83999 fi
84000 cat >conftest.$ac_ext <<_ACEOF
84001 /* confdefs.h.  */
84002 _ACEOF
84003 cat confdefs.h >>conftest.$ac_ext
84004 cat >>conftest.$ac_ext <<_ACEOF
84005 /* end confdefs.h.  */
84006 #include <sys/uio.h>
84007 int
84008 main ()
84009 {
84010 struct iovec iov[2];
84011        writev(0, iov, 0);
84012   ;
84013   return 0;
84014 }
84015 _ACEOF
84016 rm -f conftest.$ac_objext conftest$ac_exeext
84017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84018   (eval $ac_link) 2>conftest.er1
84019   ac_status=$?
84020   grep -v '^ *+' conftest.er1 >conftest.err
84021   rm -f conftest.er1
84022   cat conftest.err >&5
84023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84024   (exit $ac_status); } &&
84025          { ac_try='test -z "$ac_c_werror_flag"
84026                          || test ! -s conftest.err'
84027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84028   (eval $ac_try) 2>&5
84029   ac_status=$?
84030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031   (exit $ac_status); }; } &&
84032          { ac_try='test -s conftest$ac_exeext'
84033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84034   (eval $ac_try) 2>&5
84035   ac_status=$?
84036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84037   (exit $ac_status); }; }; then
84038   glibcxx_cv_WRITEV=yes
84039 else
84040   echo "$as_me: failed program was:" >&5
84041 sed 's/^/| /' conftest.$ac_ext >&5
84042
84043 glibcxx_cv_WRITEV=no
84044 fi
84045 rm -f conftest.err conftest.$ac_objext \
84046       conftest$ac_exeext conftest.$ac_ext
84047
84048 fi
84049
84050   if test $glibcxx_cv_WRITEV = yes; then
84051
84052 cat >>confdefs.h <<\_ACEOF
84053 #define HAVE_WRITEV 1
84054 _ACEOF
84055
84056   fi
84057   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84058 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84059
84060
84061     cat >>confdefs.h <<\_ACEOF
84062 #define HAVE_LC_MESSAGES 1
84063 _ACEOF
84064
84065
84066     cat >conftest.$ac_ext <<_ACEOF
84067 /* confdefs.h.  */
84068 _ACEOF
84069 cat confdefs.h >>conftest.$ac_ext
84070 cat >>conftest.$ac_ext <<_ACEOF
84071 /* end confdefs.h.  */
84072 #include <setjmp.h>
84073 int
84074 main ()
84075 {
84076 sigjmp_buf env;
84077        while (! sigsetjmp (env, 1))
84078          siglongjmp (env, 1);
84079
84080   ;
84081   return 0;
84082 }
84083 _ACEOF
84084 rm -f conftest.$ac_objext
84085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84086   (eval $ac_compile) 2>conftest.er1
84087   ac_status=$?
84088   grep -v '^ *+' conftest.er1 >conftest.err
84089   rm -f conftest.er1
84090   cat conftest.err >&5
84091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84092   (exit $ac_status); } &&
84093          { ac_try='test -z "$ac_c_werror_flag"
84094                          || test ! -s conftest.err'
84095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84096   (eval $ac_try) 2>&5
84097   ac_status=$?
84098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84099   (exit $ac_status); }; } &&
84100          { ac_try='test -s conftest.$ac_objext'
84101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84102   (eval $ac_try) 2>&5
84103   ac_status=$?
84104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84105   (exit $ac_status); }; }; then
84106
84107 cat >>confdefs.h <<\_ACEOF
84108 #define HAVE_SIGSETJMP 1
84109 _ACEOF
84110
84111 else
84112   echo "$as_me: failed program was:" >&5
84113 sed 's/^/| /' conftest.$ac_ext >&5
84114
84115 fi
84116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84117
84118     cat >>confdefs.h <<\_ACEOF
84119 #define HAVE_MMAP 1
84120 _ACEOF
84121
84122     ;;
84123
84124   *djgpp)
84125
84126
84127
84128
84129
84130
84131
84132
84133
84134
84135
84136
84137
84138
84139
84140
84141
84142
84143
84144
84145 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84146       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84147       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84148       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84149 do
84150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84152   echo "$as_me:$LINENO: checking for $ac_header" >&5
84153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84155   echo $ECHO_N "(cached) $ECHO_C" >&6
84156 fi
84157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84159 else
84160   # Is the header compilable?
84161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84163 cat >conftest.$ac_ext <<_ACEOF
84164 /* confdefs.h.  */
84165 _ACEOF
84166 cat confdefs.h >>conftest.$ac_ext
84167 cat >>conftest.$ac_ext <<_ACEOF
84168 /* end confdefs.h.  */
84169 $ac_includes_default
84170 #include <$ac_header>
84171 _ACEOF
84172 rm -f conftest.$ac_objext
84173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84174   (eval $ac_compile) 2>conftest.er1
84175   ac_status=$?
84176   grep -v '^ *+' conftest.er1 >conftest.err
84177   rm -f conftest.er1
84178   cat conftest.err >&5
84179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84180   (exit $ac_status); } &&
84181          { ac_try='test -z "$ac_c_werror_flag"
84182                          || test ! -s conftest.err'
84183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84184   (eval $ac_try) 2>&5
84185   ac_status=$?
84186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84187   (exit $ac_status); }; } &&
84188          { ac_try='test -s conftest.$ac_objext'
84189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84190   (eval $ac_try) 2>&5
84191   ac_status=$?
84192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84193   (exit $ac_status); }; }; then
84194   ac_header_compiler=yes
84195 else
84196   echo "$as_me: failed program was:" >&5
84197 sed 's/^/| /' conftest.$ac_ext >&5
84198
84199 ac_header_compiler=no
84200 fi
84201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84203 echo "${ECHO_T}$ac_header_compiler" >&6
84204
84205 # Is the header present?
84206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84208 cat >conftest.$ac_ext <<_ACEOF
84209 /* confdefs.h.  */
84210 _ACEOF
84211 cat confdefs.h >>conftest.$ac_ext
84212 cat >>conftest.$ac_ext <<_ACEOF
84213 /* end confdefs.h.  */
84214 #include <$ac_header>
84215 _ACEOF
84216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84217   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84218   ac_status=$?
84219   grep -v '^ *+' conftest.er1 >conftest.err
84220   rm -f conftest.er1
84221   cat conftest.err >&5
84222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84223   (exit $ac_status); } >/dev/null; then
84224   if test -s conftest.err; then
84225     ac_cpp_err=$ac_c_preproc_warn_flag
84226     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84227   else
84228     ac_cpp_err=
84229   fi
84230 else
84231   ac_cpp_err=yes
84232 fi
84233 if test -z "$ac_cpp_err"; then
84234   ac_header_preproc=yes
84235 else
84236   echo "$as_me: failed program was:" >&5
84237 sed 's/^/| /' conftest.$ac_ext >&5
84238
84239   ac_header_preproc=no
84240 fi
84241 rm -f conftest.err conftest.$ac_ext
84242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84243 echo "${ECHO_T}$ac_header_preproc" >&6
84244
84245 # So?  What about this header?
84246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84247   yes:no: )
84248     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84250     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84252     ac_header_preproc=yes
84253     ;;
84254   no:yes:* )
84255     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84257     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84258 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84259     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84261     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84262 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84265     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84267     (
84268       cat <<\_ASBOX
84269 ## ----------------------------------------- ##
84270 ## Report this to the package-unused lists.  ##
84271 ## ----------------------------------------- ##
84272 _ASBOX
84273     ) |
84274       sed "s/^/$as_me: WARNING:     /" >&2
84275     ;;
84276 esac
84277 echo "$as_me:$LINENO: checking for $ac_header" >&5
84278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84280   echo $ECHO_N "(cached) $ECHO_C" >&6
84281 else
84282   eval "$as_ac_Header=\$ac_header_preproc"
84283 fi
84284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84286
84287 fi
84288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84289   cat >>confdefs.h <<_ACEOF
84290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84291 _ACEOF
84292
84293 fi
84294
84295 done
84296
84297     # GLIBCXX_CHECK_MATH_SUPPORT
84298     cat >>confdefs.h <<\_ACEOF
84299 #define HAVE_LIBM 1
84300 _ACEOF
84301
84302     cat >>confdefs.h <<\_ACEOF
84303 #define HAVE_ISINF 1
84304 _ACEOF
84305
84306     cat >>confdefs.h <<\_ACEOF
84307 #define HAVE_ISNAN 1
84308 _ACEOF
84309
84310     cat >>confdefs.h <<\_ACEOF
84311 #define HAVE_FINITE 1
84312 _ACEOF
84313
84314     cat >>confdefs.h <<\_ACEOF
84315 #define HAVE_COPYSIGN 1
84316 _ACEOF
84317
84318     cat >>confdefs.h <<\_ACEOF
84319 #define HAVE_SINCOS 1
84320 _ACEOF
84321
84322     cat >>confdefs.h <<\_ACEOF
84323 #define HAVE_HYPOT 1
84324 _ACEOF
84325
84326     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
84327     cat >>confdefs.h <<\_ACEOF
84328 #define HAVE___BUILTIN_ABS 1
84329 _ACEOF
84330
84331     cat >>confdefs.h <<\_ACEOF
84332 #define HAVE___BUILTIN_FABSF 1
84333 _ACEOF
84334
84335     cat >>confdefs.h <<\_ACEOF
84336 #define HAVE___BUILTIN_FABS 1
84337 _ACEOF
84338
84339     cat >>confdefs.h <<\_ACEOF
84340 #define HAVE___BUILTIN_FABSL 1
84341 _ACEOF
84342
84343     cat >>confdefs.h <<\_ACEOF
84344 #define HAVE___BUILTIN_LABS 1
84345 _ACEOF
84346
84347     cat >>confdefs.h <<\_ACEOF
84348 #define HAVE___BUILTIN_SQRTF 1
84349 _ACEOF
84350
84351     cat >>confdefs.h <<\_ACEOF
84352 #define HAVE___BUILTIN_SQRT 1
84353 _ACEOF
84354
84355     cat >>confdefs.h <<\_ACEOF
84356 #define HAVE___BUILTIN_SQRTL 1
84357 _ACEOF
84358
84359     cat >>confdefs.h <<\_ACEOF
84360 #define HAVE___BUILTIN_SINF 1
84361 _ACEOF
84362
84363     cat >>confdefs.h <<\_ACEOF
84364 #define HAVE___BUILTIN_SIN 1
84365 _ACEOF
84366
84367     cat >>confdefs.h <<\_ACEOF
84368 #define HAVE___BUILTIN_SINL 1
84369 _ACEOF
84370
84371     cat >>confdefs.h <<\_ACEOF
84372 #define HAVE___BUILTIN_COSF 1
84373 _ACEOF
84374
84375     cat >>confdefs.h <<\_ACEOF
84376 #define HAVE___BUILTIN_COS 1
84377 _ACEOF
84378
84379     cat >>confdefs.h <<\_ACEOF
84380 #define HAVE___BUILTIN_COSL 1
84381 _ACEOF
84382
84383     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
84384     # GLIBCXX_CHECK_STDLIB_SUPPORT
84385     cat >>confdefs.h <<\_ACEOF
84386 #define HAVE_COPYSIGN 1
84387 _ACEOF
84388
84389     cat >>confdefs.h <<\_ACEOF
84390 #define HAVE_COPYSIGNF 1
84391 _ACEOF
84392
84393     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
84394     cat >>confdefs.h <<\_ACEOF
84395 #define HAVE_S_ISREG 1
84396 _ACEOF
84397
84398     cat >>confdefs.h <<\_ACEOF
84399 #define HAVE_S_IFREG 1
84400 _ACEOF
84401
84402     cat >>confdefs.h <<\_ACEOF
84403 #define HAVE_WRITEV 1
84404 _ACEOF
84405
84406     ;;
84407
84408   *-freebsd*)
84409
84410
84411
84412
84413
84414
84415
84416
84417
84418
84419
84420
84421
84422
84423
84424
84425 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84426       machine/endian.h machine/param.h sys/machine.h sys/types.h \
84427       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
84428       sys/time.h unistd.h
84429 do
84430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84432   echo "$as_me:$LINENO: checking for $ac_header" >&5
84433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84435   echo $ECHO_N "(cached) $ECHO_C" >&6
84436 fi
84437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84439 else
84440   # Is the header compilable?
84441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84443 cat >conftest.$ac_ext <<_ACEOF
84444 /* confdefs.h.  */
84445 _ACEOF
84446 cat confdefs.h >>conftest.$ac_ext
84447 cat >>conftest.$ac_ext <<_ACEOF
84448 /* end confdefs.h.  */
84449 $ac_includes_default
84450 #include <$ac_header>
84451 _ACEOF
84452 rm -f conftest.$ac_objext
84453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84454   (eval $ac_compile) 2>conftest.er1
84455   ac_status=$?
84456   grep -v '^ *+' conftest.er1 >conftest.err
84457   rm -f conftest.er1
84458   cat conftest.err >&5
84459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84460   (exit $ac_status); } &&
84461          { ac_try='test -z "$ac_c_werror_flag"
84462                          || test ! -s conftest.err'
84463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84464   (eval $ac_try) 2>&5
84465   ac_status=$?
84466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84467   (exit $ac_status); }; } &&
84468          { ac_try='test -s conftest.$ac_objext'
84469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84470   (eval $ac_try) 2>&5
84471   ac_status=$?
84472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84473   (exit $ac_status); }; }; then
84474   ac_header_compiler=yes
84475 else
84476   echo "$as_me: failed program was:" >&5
84477 sed 's/^/| /' conftest.$ac_ext >&5
84478
84479 ac_header_compiler=no
84480 fi
84481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84483 echo "${ECHO_T}$ac_header_compiler" >&6
84484
84485 # Is the header present?
84486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84488 cat >conftest.$ac_ext <<_ACEOF
84489 /* confdefs.h.  */
84490 _ACEOF
84491 cat confdefs.h >>conftest.$ac_ext
84492 cat >>conftest.$ac_ext <<_ACEOF
84493 /* end confdefs.h.  */
84494 #include <$ac_header>
84495 _ACEOF
84496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84497   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84498   ac_status=$?
84499   grep -v '^ *+' conftest.er1 >conftest.err
84500   rm -f conftest.er1
84501   cat conftest.err >&5
84502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84503   (exit $ac_status); } >/dev/null; then
84504   if test -s conftest.err; then
84505     ac_cpp_err=$ac_c_preproc_warn_flag
84506     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84507   else
84508     ac_cpp_err=
84509   fi
84510 else
84511   ac_cpp_err=yes
84512 fi
84513 if test -z "$ac_cpp_err"; then
84514   ac_header_preproc=yes
84515 else
84516   echo "$as_me: failed program was:" >&5
84517 sed 's/^/| /' conftest.$ac_ext >&5
84518
84519   ac_header_preproc=no
84520 fi
84521 rm -f conftest.err conftest.$ac_ext
84522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84523 echo "${ECHO_T}$ac_header_preproc" >&6
84524
84525 # So?  What about this header?
84526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84527   yes:no: )
84528     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84530     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84532     ac_header_preproc=yes
84533     ;;
84534   no:yes:* )
84535     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84537     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84538 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84539     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84541     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84542 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84543     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84545     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84547     (
84548       cat <<\_ASBOX
84549 ## ----------------------------------------- ##
84550 ## Report this to the package-unused lists.  ##
84551 ## ----------------------------------------- ##
84552 _ASBOX
84553     ) |
84554       sed "s/^/$as_me: WARNING:     /" >&2
84555     ;;
84556 esac
84557 echo "$as_me:$LINENO: checking for $ac_header" >&5
84558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84560   echo $ECHO_N "(cached) $ECHO_C" >&6
84561 else
84562   eval "$as_ac_Header=\$ac_header_preproc"
84563 fi
84564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84566
84567 fi
84568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84569   cat >>confdefs.h <<_ACEOF
84570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84571 _ACEOF
84572
84573 fi
84574
84575 done
84576
84577     SECTION_FLAGS='-ffunction-sections -fdata-sections'
84578
84579
84580   # If we're not using GNU ld, then there's no point in even trying these
84581   # tests.  Check for that first.  We should have already tested for gld
84582   # by now (in libtool), but require it now just to be safe...
84583   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84584   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84585
84586
84587
84588   # The name set by libtool depends on the version of libtool.  Shame on us
84589   # for depending on an impl detail, but c'est la vie.  Older versions used
84590   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84591   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84592   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
84593   # set (hence we're using an older libtool), then set it.
84594   if test x${with_gnu_ld+set} != xset; then
84595     if test x${ac_cv_prog_gnu_ld+set} != xset; then
84596       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
84597       with_gnu_ld=no
84598     else
84599       with_gnu_ld=$ac_cv_prog_gnu_ld
84600     fi
84601   fi
84602
84603   # Start by getting the version number.  I think the libtool test already
84604   # does some of this, but throws away the result.
84605   if test x"$with_gnu_ld" = x"yes"; then
84606     echo "$as_me:$LINENO: checking for ld version" >&5
84607 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
84608
84609     ldver=`$LD --version 2>/dev/null | head -1 | \
84610            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
84611
84612     glibcxx_gnu_ld_version=`echo $ldver | \
84613            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84614     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
84615 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
84616   fi
84617
84618   # Set --gc-sections.
84619   glibcxx_gcsections_min_ld=21602
84620   if test x"$with_gnu_ld" = x"yes" &&
84621         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
84622
84623     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
84624     # NB: This flag only works reliably after 2.16.1. Configure tests
84625     # for this are difficult, so hard wire a value that should work.
84626
84627     ac_test_CFLAGS="${CFLAGS+set}"
84628     ac_save_CFLAGS="$CFLAGS"
84629     CFLAGS='-Wl,--gc-sections'
84630
84631     # Check for -Wl,--gc-sections
84632     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84633 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84634     if test x$gcc_no_link = xyes; then
84635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84637    { (exit 1); exit 1; }; }
84638 fi
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  int one(void) { return 1; }
84646      int two(void) { return 2; }
84647
84648 int
84649 main ()
84650 {
84651  two();
84652   ;
84653   return 0;
84654 }
84655 _ACEOF
84656 rm -f conftest.$ac_objext conftest$ac_exeext
84657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84658   (eval $ac_link) 2>conftest.er1
84659   ac_status=$?
84660   grep -v '^ *+' conftest.er1 >conftest.err
84661   rm -f conftest.er1
84662   cat conftest.err >&5
84663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664   (exit $ac_status); } &&
84665          { ac_try='test -z "$ac_c_werror_flag"
84666                          || test ! -s conftest.err'
84667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84668   (eval $ac_try) 2>&5
84669   ac_status=$?
84670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84671   (exit $ac_status); }; } &&
84672          { ac_try='test -s conftest$ac_exeext'
84673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84674   (eval $ac_try) 2>&5
84675   ac_status=$?
84676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84677   (exit $ac_status); }; }; then
84678   ac_gcsections=yes
84679 else
84680   echo "$as_me: failed program was:" >&5
84681 sed 's/^/| /' conftest.$ac_ext >&5
84682
84683 ac_gcsections=no
84684 fi
84685 rm -f conftest.err conftest.$ac_objext \
84686       conftest$ac_exeext conftest.$ac_ext
84687     if test "$ac_gcsections" = "yes"; then
84688       rm -f conftest.c
84689       touch conftest.c
84690       if $CC -c conftest.c; then
84691         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
84692            grep "Warning: gc-sections option ignored" > /dev/null; then
84693           ac_gcsections=no
84694         fi
84695       fi
84696       rm -f conftest.c conftest.o conftest
84697     fi
84698     if test "$ac_gcsections" = "yes"; then
84699       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84700     fi
84701     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
84702 echo "${ECHO_T}$ac_gcsections" >&6
84703
84704     if test "$ac_test_CFLAGS" = set; then
84705       CFLAGS="$ac_save_CFLAGS"
84706     else
84707       # this is the suspicious part
84708       CFLAGS=''
84709     fi
84710   fi
84711
84712   # Set -z,relro.
84713   # Note this is only for shared objects.
84714   ac_ld_relro=no
84715   if test x"$with_gnu_ld" = x"yes"; then
84716     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
84717 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
84718     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
84719     if test -n "$cxx_z_relo"; then
84720       OPT_LDFLAGS="-Wl,-z,relro"
84721       ac_ld_relro=yes
84722     fi
84723     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
84724 echo "${ECHO_T}$ac_ld_relro" >&6
84725   fi
84726
84727   # Set linker optimization flags.
84728   if test x"$with_gnu_ld" = x"yes"; then
84729     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84730   fi
84731
84732
84733
84734
84735
84736
84737 echo "$as_me:$LINENO: checking for main in -lm" >&5
84738 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84739 if test "${ac_cv_lib_m_main+set}" = set; then
84740   echo $ECHO_N "(cached) $ECHO_C" >&6
84741 else
84742   ac_check_lib_save_LIBS=$LIBS
84743 LIBS="-lm  $LIBS"
84744 if test x$gcc_no_link = xyes; then
84745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84747    { (exit 1); exit 1; }; }
84748 fi
84749 cat >conftest.$ac_ext <<_ACEOF
84750 /* confdefs.h.  */
84751 _ACEOF
84752 cat confdefs.h >>conftest.$ac_ext
84753 cat >>conftest.$ac_ext <<_ACEOF
84754 /* end confdefs.h.  */
84755
84756
84757 int
84758 main ()
84759 {
84760 main ();
84761   ;
84762   return 0;
84763 }
84764 _ACEOF
84765 rm -f conftest.$ac_objext conftest$ac_exeext
84766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84767   (eval $ac_link) 2>conftest.er1
84768   ac_status=$?
84769   grep -v '^ *+' conftest.er1 >conftest.err
84770   rm -f conftest.er1
84771   cat conftest.err >&5
84772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84773   (exit $ac_status); } &&
84774          { ac_try='test -z "$ac_c_werror_flag"
84775                          || test ! -s conftest.err'
84776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84777   (eval $ac_try) 2>&5
84778   ac_status=$?
84779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84780   (exit $ac_status); }; } &&
84781          { ac_try='test -s conftest$ac_exeext'
84782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84783   (eval $ac_try) 2>&5
84784   ac_status=$?
84785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84786   (exit $ac_status); }; }; then
84787   ac_cv_lib_m_main=yes
84788 else
84789   echo "$as_me: failed program was:" >&5
84790 sed 's/^/| /' conftest.$ac_ext >&5
84791
84792 ac_cv_lib_m_main=no
84793 fi
84794 rm -f conftest.err conftest.$ac_objext \
84795       conftest$ac_exeext conftest.$ac_ext
84796 LIBS=$ac_check_lib_save_LIBS
84797 fi
84798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84799 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84800 if test $ac_cv_lib_m_main = yes; then
84801   cat >>confdefs.h <<_ACEOF
84802 #define HAVE_LIBM 1
84803 _ACEOF
84804
84805   LIBS="-lm $LIBS"
84806
84807 fi
84808
84809
84810 for ac_func in copysignf
84811 do
84812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84813 echo "$as_me:$LINENO: checking for $ac_func" >&5
84814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84815 if eval "test \"\${$as_ac_var+set}\" = set"; then
84816   echo $ECHO_N "(cached) $ECHO_C" >&6
84817 else
84818   if test x$gcc_no_link = xyes; then
84819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84821    { (exit 1); exit 1; }; }
84822 fi
84823 cat >conftest.$ac_ext <<_ACEOF
84824 /* confdefs.h.  */
84825 _ACEOF
84826 cat confdefs.h >>conftest.$ac_ext
84827 cat >>conftest.$ac_ext <<_ACEOF
84828 /* end confdefs.h.  */
84829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84831 #define $ac_func innocuous_$ac_func
84832
84833 /* System header to define __stub macros and hopefully few prototypes,
84834     which can conflict with char $ac_func (); below.
84835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84836     <limits.h> exists even on freestanding compilers.  */
84837
84838 #ifdef __STDC__
84839 # include <limits.h>
84840 #else
84841 # include <assert.h>
84842 #endif
84843
84844 #undef $ac_func
84845
84846 /* Override any gcc2 internal prototype to avoid an error.  */
84847 #ifdef __cplusplus
84848 extern "C"
84849 {
84850 #endif
84851 /* We use char because int might match the return type of a gcc2
84852    builtin and then its argument prototype would still apply.  */
84853 char $ac_func ();
84854 /* The GNU C library defines this for functions which it implements
84855     to always fail with ENOSYS.  Some functions are actually named
84856     something starting with __ and the normal name is an alias.  */
84857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84858 choke me
84859 #else
84860 char (*f) () = $ac_func;
84861 #endif
84862 #ifdef __cplusplus
84863 }
84864 #endif
84865
84866 int
84867 main ()
84868 {
84869 return f != $ac_func;
84870   ;
84871   return 0;
84872 }
84873 _ACEOF
84874 rm -f conftest.$ac_objext conftest$ac_exeext
84875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84876   (eval $ac_link) 2>conftest.er1
84877   ac_status=$?
84878   grep -v '^ *+' conftest.er1 >conftest.err
84879   rm -f conftest.er1
84880   cat conftest.err >&5
84881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84882   (exit $ac_status); } &&
84883          { ac_try='test -z "$ac_c_werror_flag"
84884                          || test ! -s conftest.err'
84885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84886   (eval $ac_try) 2>&5
84887   ac_status=$?
84888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84889   (exit $ac_status); }; } &&
84890          { ac_try='test -s conftest$ac_exeext'
84891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84892   (eval $ac_try) 2>&5
84893   ac_status=$?
84894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84895   (exit $ac_status); }; }; then
84896   eval "$as_ac_var=yes"
84897 else
84898   echo "$as_me: failed program was:" >&5
84899 sed 's/^/| /' conftest.$ac_ext >&5
84900
84901 eval "$as_ac_var=no"
84902 fi
84903 rm -f conftest.err conftest.$ac_objext \
84904       conftest$ac_exeext conftest.$ac_ext
84905 fi
84906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84908 if test `eval echo '${'$as_ac_var'}'` = yes; then
84909   cat >>confdefs.h <<_ACEOF
84910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84911 _ACEOF
84912
84913 else
84914   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84915 fi
84916 done
84917
84918
84919
84920 for ac_func in __signbit
84921 do
84922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84923 echo "$as_me:$LINENO: checking for $ac_func" >&5
84924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84925 if eval "test \"\${$as_ac_var+set}\" = set"; then
84926   echo $ECHO_N "(cached) $ECHO_C" >&6
84927 else
84928   if test x$gcc_no_link = xyes; then
84929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84931    { (exit 1); exit 1; }; }
84932 fi
84933 cat >conftest.$ac_ext <<_ACEOF
84934 /* confdefs.h.  */
84935 _ACEOF
84936 cat confdefs.h >>conftest.$ac_ext
84937 cat >>conftest.$ac_ext <<_ACEOF
84938 /* end confdefs.h.  */
84939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84941 #define $ac_func innocuous_$ac_func
84942
84943 /* System header to define __stub macros and hopefully few prototypes,
84944     which can conflict with char $ac_func (); below.
84945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84946     <limits.h> exists even on freestanding compilers.  */
84947
84948 #ifdef __STDC__
84949 # include <limits.h>
84950 #else
84951 # include <assert.h>
84952 #endif
84953
84954 #undef $ac_func
84955
84956 /* Override any gcc2 internal prototype to avoid an error.  */
84957 #ifdef __cplusplus
84958 extern "C"
84959 {
84960 #endif
84961 /* We use char because int might match the return type of a gcc2
84962    builtin and then its argument prototype would still apply.  */
84963 char $ac_func ();
84964 /* The GNU C library defines this for functions which it implements
84965     to always fail with ENOSYS.  Some functions are actually named
84966     something starting with __ and the normal name is an alias.  */
84967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84968 choke me
84969 #else
84970 char (*f) () = $ac_func;
84971 #endif
84972 #ifdef __cplusplus
84973 }
84974 #endif
84975
84976 int
84977 main ()
84978 {
84979 return f != $ac_func;
84980   ;
84981   return 0;
84982 }
84983 _ACEOF
84984 rm -f conftest.$ac_objext conftest$ac_exeext
84985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84986   (eval $ac_link) 2>conftest.er1
84987   ac_status=$?
84988   grep -v '^ *+' conftest.er1 >conftest.err
84989   rm -f conftest.er1
84990   cat conftest.err >&5
84991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84992   (exit $ac_status); } &&
84993          { ac_try='test -z "$ac_c_werror_flag"
84994                          || test ! -s conftest.err'
84995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84996   (eval $ac_try) 2>&5
84997   ac_status=$?
84998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84999   (exit $ac_status); }; } &&
85000          { ac_try='test -s conftest$ac_exeext'
85001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85002   (eval $ac_try) 2>&5
85003   ac_status=$?
85004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85005   (exit $ac_status); }; }; then
85006   eval "$as_ac_var=yes"
85007 else
85008   echo "$as_me: failed program was:" >&5
85009 sed 's/^/| /' conftest.$ac_ext >&5
85010
85011 eval "$as_ac_var=no"
85012 fi
85013 rm -f conftest.err conftest.$ac_objext \
85014       conftest$ac_exeext conftest.$ac_ext
85015 fi
85016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85018 if test `eval echo '${'$as_ac_var'}'` = yes; then
85019   cat >>confdefs.h <<_ACEOF
85020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85021 _ACEOF
85022
85023 else
85024   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85025 fi
85026 done
85027
85028
85029
85030 for ac_func in __signbitf
85031 do
85032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85033 echo "$as_me:$LINENO: checking for $ac_func" >&5
85034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85035 if eval "test \"\${$as_ac_var+set}\" = set"; then
85036   echo $ECHO_N "(cached) $ECHO_C" >&6
85037 else
85038   if test x$gcc_no_link = xyes; then
85039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85041    { (exit 1); exit 1; }; }
85042 fi
85043 cat >conftest.$ac_ext <<_ACEOF
85044 /* confdefs.h.  */
85045 _ACEOF
85046 cat confdefs.h >>conftest.$ac_ext
85047 cat >>conftest.$ac_ext <<_ACEOF
85048 /* end confdefs.h.  */
85049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85051 #define $ac_func innocuous_$ac_func
85052
85053 /* System header to define __stub macros and hopefully few prototypes,
85054     which can conflict with char $ac_func (); below.
85055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85056     <limits.h> exists even on freestanding compilers.  */
85057
85058 #ifdef __STDC__
85059 # include <limits.h>
85060 #else
85061 # include <assert.h>
85062 #endif
85063
85064 #undef $ac_func
85065
85066 /* Override any gcc2 internal prototype to avoid an error.  */
85067 #ifdef __cplusplus
85068 extern "C"
85069 {
85070 #endif
85071 /* We use char because int might match the return type of a gcc2
85072    builtin and then its argument prototype would still apply.  */
85073 char $ac_func ();
85074 /* The GNU C library defines this for functions which it implements
85075     to always fail with ENOSYS.  Some functions are actually named
85076     something starting with __ and the normal name is an alias.  */
85077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85078 choke me
85079 #else
85080 char (*f) () = $ac_func;
85081 #endif
85082 #ifdef __cplusplus
85083 }
85084 #endif
85085
85086 int
85087 main ()
85088 {
85089 return f != $ac_func;
85090   ;
85091   return 0;
85092 }
85093 _ACEOF
85094 rm -f conftest.$ac_objext conftest$ac_exeext
85095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85096   (eval $ac_link) 2>conftest.er1
85097   ac_status=$?
85098   grep -v '^ *+' conftest.er1 >conftest.err
85099   rm -f conftest.er1
85100   cat conftest.err >&5
85101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85102   (exit $ac_status); } &&
85103          { ac_try='test -z "$ac_c_werror_flag"
85104                          || test ! -s conftest.err'
85105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85106   (eval $ac_try) 2>&5
85107   ac_status=$?
85108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109   (exit $ac_status); }; } &&
85110          { ac_try='test -s conftest$ac_exeext'
85111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85112   (eval $ac_try) 2>&5
85113   ac_status=$?
85114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85115   (exit $ac_status); }; }; then
85116   eval "$as_ac_var=yes"
85117 else
85118   echo "$as_me: failed program was:" >&5
85119 sed 's/^/| /' conftest.$ac_ext >&5
85120
85121 eval "$as_ac_var=no"
85122 fi
85123 rm -f conftest.err conftest.$ac_objext \
85124       conftest$ac_exeext conftest.$ac_ext
85125 fi
85126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85128 if test `eval echo '${'$as_ac_var'}'` = yes; then
85129   cat >>confdefs.h <<_ACEOF
85130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85131 _ACEOF
85132
85133 else
85134   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85135 fi
85136 done
85137
85138
85139           if test x$ac_cv_func_copysignl = x"yes"; then
85140
85141 for ac_func in __signbitl
85142 do
85143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85144 echo "$as_me:$LINENO: checking for $ac_func" >&5
85145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85146 if eval "test \"\${$as_ac_var+set}\" = set"; then
85147   echo $ECHO_N "(cached) $ECHO_C" >&6
85148 else
85149   if test x$gcc_no_link = xyes; then
85150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85152    { (exit 1); exit 1; }; }
85153 fi
85154 cat >conftest.$ac_ext <<_ACEOF
85155 /* confdefs.h.  */
85156 _ACEOF
85157 cat confdefs.h >>conftest.$ac_ext
85158 cat >>conftest.$ac_ext <<_ACEOF
85159 /* end confdefs.h.  */
85160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85162 #define $ac_func innocuous_$ac_func
85163
85164 /* System header to define __stub macros and hopefully few prototypes,
85165     which can conflict with char $ac_func (); below.
85166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85167     <limits.h> exists even on freestanding compilers.  */
85168
85169 #ifdef __STDC__
85170 # include <limits.h>
85171 #else
85172 # include <assert.h>
85173 #endif
85174
85175 #undef $ac_func
85176
85177 /* Override any gcc2 internal prototype to avoid an error.  */
85178 #ifdef __cplusplus
85179 extern "C"
85180 {
85181 #endif
85182 /* We use char because int might match the return type of a gcc2
85183    builtin and then its argument prototype would still apply.  */
85184 char $ac_func ();
85185 /* The GNU C library defines this for functions which it implements
85186     to always fail with ENOSYS.  Some functions are actually named
85187     something starting with __ and the normal name is an alias.  */
85188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85189 choke me
85190 #else
85191 char (*f) () = $ac_func;
85192 #endif
85193 #ifdef __cplusplus
85194 }
85195 #endif
85196
85197 int
85198 main ()
85199 {
85200 return f != $ac_func;
85201   ;
85202   return 0;
85203 }
85204 _ACEOF
85205 rm -f conftest.$ac_objext conftest$ac_exeext
85206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85207   (eval $ac_link) 2>conftest.er1
85208   ac_status=$?
85209   grep -v '^ *+' conftest.er1 >conftest.err
85210   rm -f conftest.er1
85211   cat conftest.err >&5
85212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85213   (exit $ac_status); } &&
85214          { ac_try='test -z "$ac_c_werror_flag"
85215                          || test ! -s conftest.err'
85216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85217   (eval $ac_try) 2>&5
85218   ac_status=$?
85219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85220   (exit $ac_status); }; } &&
85221          { ac_try='test -s conftest$ac_exeext'
85222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85223   (eval $ac_try) 2>&5
85224   ac_status=$?
85225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85226   (exit $ac_status); }; }; then
85227   eval "$as_ac_var=yes"
85228 else
85229   echo "$as_me: failed program was:" >&5
85230 sed 's/^/| /' conftest.$ac_ext >&5
85231
85232 eval "$as_ac_var=no"
85233 fi
85234 rm -f conftest.err conftest.$ac_objext \
85235       conftest$ac_exeext conftest.$ac_ext
85236 fi
85237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85239 if test `eval echo '${'$as_ac_var'}'` = yes; then
85240   cat >>confdefs.h <<_ACEOF
85241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85242 _ACEOF
85243
85244 else
85245   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85246 fi
85247 done
85248
85249   fi
85250
85251   # Used in libmath/Makefile.am.
85252   if test -n "$LIBMATHOBJS"; then
85253     need_libmath=yes
85254   fi
85255
85256
85257     cat >>confdefs.h <<\_ACEOF
85258 #define HAVE_LC_MESSAGES 1
85259 _ACEOF
85260
85261     cat >>confdefs.h <<\_ACEOF
85262 #define HAVE_GETPAGESIZE 1
85263 _ACEOF
85264
85265     cat >>confdefs.h <<\_ACEOF
85266 #define HAVE_SETENV 1
85267 _ACEOF
85268
85269     cat >>confdefs.h <<\_ACEOF
85270 #define HAVE_SIGSETJMP 1
85271 _ACEOF
85272
85273     cat >>confdefs.h <<\_ACEOF
85274 #define HAVE_COPYSIGN 1
85275 _ACEOF
85276
85277     cat >>confdefs.h <<\_ACEOF
85278 #define HAVE_COPYSIGNF 1
85279 _ACEOF
85280
85281     cat >>confdefs.h <<\_ACEOF
85282 #define HAVE_FINITEF 1
85283 _ACEOF
85284
85285     cat >>confdefs.h <<\_ACEOF
85286 #define HAVE_FINITE 1
85287 _ACEOF
85288
85289     cat >>confdefs.h <<\_ACEOF
85290 #define HAVE_FREXPF 1
85291 _ACEOF
85292
85293     cat >>confdefs.h <<\_ACEOF
85294 #define HAVE_HYPOT 1
85295 _ACEOF
85296
85297     cat >>confdefs.h <<\_ACEOF
85298 #define HAVE_HYPOTF 1
85299 _ACEOF
85300
85301     cat >>confdefs.h <<\_ACEOF
85302 #define HAVE_ISINF 1
85303 _ACEOF
85304
85305     cat >>confdefs.h <<\_ACEOF
85306 #define HAVE_ISNAN 1
85307 _ACEOF
85308
85309     cat >>confdefs.h <<\_ACEOF
85310 #define HAVE_ISNANF 1
85311 _ACEOF
85312
85313
85314     cat >>confdefs.h <<\_ACEOF
85315 #define HAVE_MMAP 1
85316 _ACEOF
85317
85318     cat >>confdefs.h <<\_ACEOF
85319 #define HAVE_ACOSF 1
85320 _ACEOF
85321
85322     cat >>confdefs.h <<\_ACEOF
85323 #define HAVE_ASINF 1
85324 _ACEOF
85325
85326     cat >>confdefs.h <<\_ACEOF
85327 #define HAVE_ATAN2F 1
85328 _ACEOF
85329
85330     cat >>confdefs.h <<\_ACEOF
85331 #define HAVE_ATANF 1
85332 _ACEOF
85333
85334     cat >>confdefs.h <<\_ACEOF
85335 #define HAVE_CEILF 1
85336 _ACEOF
85337
85338     cat >>confdefs.h <<\_ACEOF
85339 #define HAVE_COPYSIGN 1
85340 _ACEOF
85341
85342     cat >>confdefs.h <<\_ACEOF
85343 #define HAVE_COPYSIGNF 1
85344 _ACEOF
85345
85346     cat >>confdefs.h <<\_ACEOF
85347 #define HAVE_COSF 1
85348 _ACEOF
85349
85350     cat >>confdefs.h <<\_ACEOF
85351 #define HAVE_COSHF 1
85352 _ACEOF
85353
85354     cat >>confdefs.h <<\_ACEOF
85355 #define HAVE_EXPF 1
85356 _ACEOF
85357
85358     cat >>confdefs.h <<\_ACEOF
85359 #define HAVE_FABSF 1
85360 _ACEOF
85361
85362     cat >>confdefs.h <<\_ACEOF
85363 #define HAVE_FLOORF 1
85364 _ACEOF
85365
85366     cat >>confdefs.h <<\_ACEOF
85367 #define HAVE_FMODF 1
85368 _ACEOF
85369
85370     cat >>confdefs.h <<\_ACEOF
85371 #define HAVE_FREXPF 1
85372 _ACEOF
85373
85374     cat >>confdefs.h <<\_ACEOF
85375 #define HAVE_LDEXPF 1
85376 _ACEOF
85377
85378     cat >>confdefs.h <<\_ACEOF
85379 #define HAVE_LOG10F 1
85380 _ACEOF
85381
85382     cat >>confdefs.h <<\_ACEOF
85383 #define HAVE_LOGF 1
85384 _ACEOF
85385
85386     cat >>confdefs.h <<\_ACEOF
85387 #define HAVE_MODFF 1
85388 _ACEOF
85389
85390     cat >>confdefs.h <<\_ACEOF
85391 #define HAVE_POWF 1
85392 _ACEOF
85393
85394     cat >>confdefs.h <<\_ACEOF
85395 #define HAVE_SINF 1
85396 _ACEOF
85397
85398     cat >>confdefs.h <<\_ACEOF
85399 #define HAVE_SINHF 1
85400 _ACEOF
85401
85402     cat >>confdefs.h <<\_ACEOF
85403 #define HAVE_SQRTF 1
85404 _ACEOF
85405
85406     cat >>confdefs.h <<\_ACEOF
85407 #define HAVE_TANF 1
85408 _ACEOF
85409
85410     cat >>confdefs.h <<\_ACEOF
85411 #define HAVE_TANHF 1
85412 _ACEOF
85413
85414     if test x"long_double_math_on_this_cpu" = x"yes"; then
85415       cat >>confdefs.h <<\_ACEOF
85416 #define HAVE_FINITEL 1
85417 _ACEOF
85418
85419       cat >>confdefs.h <<\_ACEOF
85420 #define HAVE_ISINFL 1
85421 _ACEOF
85422
85423       cat >>confdefs.h <<\_ACEOF
85424 #define HAVE_ISNANL 1
85425 _ACEOF
85426
85427     fi
85428     ;;
85429   *-hpux*)
85430
85431
85432
85433
85434
85435
85436
85437
85438
85439
85440
85441
85442 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85443       machine/endian.h machine/param.h sys/machine.h sys/types.h \
85444       fp.h locale.h float.h inttypes.h
85445 do
85446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85448   echo "$as_me:$LINENO: checking for $ac_header" >&5
85449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85451   echo $ECHO_N "(cached) $ECHO_C" >&6
85452 fi
85453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85455 else
85456   # Is the header compilable?
85457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85459 cat >conftest.$ac_ext <<_ACEOF
85460 /* confdefs.h.  */
85461 _ACEOF
85462 cat confdefs.h >>conftest.$ac_ext
85463 cat >>conftest.$ac_ext <<_ACEOF
85464 /* end confdefs.h.  */
85465 $ac_includes_default
85466 #include <$ac_header>
85467 _ACEOF
85468 rm -f conftest.$ac_objext
85469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85470   (eval $ac_compile) 2>conftest.er1
85471   ac_status=$?
85472   grep -v '^ *+' conftest.er1 >conftest.err
85473   rm -f conftest.er1
85474   cat conftest.err >&5
85475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85476   (exit $ac_status); } &&
85477          { ac_try='test -z "$ac_c_werror_flag"
85478                          || test ! -s conftest.err'
85479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85480   (eval $ac_try) 2>&5
85481   ac_status=$?
85482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85483   (exit $ac_status); }; } &&
85484          { ac_try='test -s conftest.$ac_objext'
85485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85486   (eval $ac_try) 2>&5
85487   ac_status=$?
85488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85489   (exit $ac_status); }; }; then
85490   ac_header_compiler=yes
85491 else
85492   echo "$as_me: failed program was:" >&5
85493 sed 's/^/| /' conftest.$ac_ext >&5
85494
85495 ac_header_compiler=no
85496 fi
85497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85499 echo "${ECHO_T}$ac_header_compiler" >&6
85500
85501 # Is the header present?
85502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85504 cat >conftest.$ac_ext <<_ACEOF
85505 /* confdefs.h.  */
85506 _ACEOF
85507 cat confdefs.h >>conftest.$ac_ext
85508 cat >>conftest.$ac_ext <<_ACEOF
85509 /* end confdefs.h.  */
85510 #include <$ac_header>
85511 _ACEOF
85512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85513   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85514   ac_status=$?
85515   grep -v '^ *+' conftest.er1 >conftest.err
85516   rm -f conftest.er1
85517   cat conftest.err >&5
85518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85519   (exit $ac_status); } >/dev/null; then
85520   if test -s conftest.err; then
85521     ac_cpp_err=$ac_c_preproc_warn_flag
85522     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85523   else
85524     ac_cpp_err=
85525   fi
85526 else
85527   ac_cpp_err=yes
85528 fi
85529 if test -z "$ac_cpp_err"; then
85530   ac_header_preproc=yes
85531 else
85532   echo "$as_me: failed program was:" >&5
85533 sed 's/^/| /' conftest.$ac_ext >&5
85534
85535   ac_header_preproc=no
85536 fi
85537 rm -f conftest.err conftest.$ac_ext
85538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85539 echo "${ECHO_T}$ac_header_preproc" >&6
85540
85541 # So?  What about this header?
85542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85543   yes:no: )
85544     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85546     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85548     ac_header_preproc=yes
85549     ;;
85550   no:yes:* )
85551     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85553     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85554 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85555     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85557     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85558 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85559     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85561     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85563     (
85564       cat <<\_ASBOX
85565 ## ----------------------------------------- ##
85566 ## Report this to the package-unused lists.  ##
85567 ## ----------------------------------------- ##
85568 _ASBOX
85569     ) |
85570       sed "s/^/$as_me: WARNING:     /" >&2
85571     ;;
85572 esac
85573 echo "$as_me:$LINENO: checking for $ac_header" >&5
85574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85576   echo $ECHO_N "(cached) $ECHO_C" >&6
85577 else
85578   eval "$as_ac_Header=\$ac_header_preproc"
85579 fi
85580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85582
85583 fi
85584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85585   cat >>confdefs.h <<_ACEOF
85586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85587 _ACEOF
85588
85589 fi
85590
85591 done
85592
85593     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85594
85595
85596   # If we're not using GNU ld, then there's no point in even trying these
85597   # tests.  Check for that first.  We should have already tested for gld
85598   # by now (in libtool), but require it now just to be safe...
85599   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85600   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85601
85602
85603
85604   # The name set by libtool depends on the version of libtool.  Shame on us
85605   # for depending on an impl detail, but c'est la vie.  Older versions used
85606   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85607   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85608   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85609   # set (hence we're using an older libtool), then set it.
85610   if test x${with_gnu_ld+set} != xset; then
85611     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85612       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85613       with_gnu_ld=no
85614     else
85615       with_gnu_ld=$ac_cv_prog_gnu_ld
85616     fi
85617   fi
85618
85619   # Start by getting the version number.  I think the libtool test already
85620   # does some of this, but throws away the result.
85621   if test x"$with_gnu_ld" = x"yes"; then
85622     echo "$as_me:$LINENO: checking for ld version" >&5
85623 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85624
85625     ldver=`$LD --version 2>/dev/null | head -1 | \
85626            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85627
85628     glibcxx_gnu_ld_version=`echo $ldver | \
85629            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85630     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85631 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85632   fi
85633
85634   # Set --gc-sections.
85635   glibcxx_gcsections_min_ld=21602
85636   if test x"$with_gnu_ld" = x"yes" &&
85637         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85638
85639     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
85640     # NB: This flag only works reliably after 2.16.1. Configure tests
85641     # for this are difficult, so hard wire a value that should work.
85642
85643     ac_test_CFLAGS="${CFLAGS+set}"
85644     ac_save_CFLAGS="$CFLAGS"
85645     CFLAGS='-Wl,--gc-sections'
85646
85647     # Check for -Wl,--gc-sections
85648     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85649 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85650     if test x$gcc_no_link = xyes; then
85651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85653    { (exit 1); exit 1; }; }
85654 fi
85655 cat >conftest.$ac_ext <<_ACEOF
85656 /* confdefs.h.  */
85657 _ACEOF
85658 cat confdefs.h >>conftest.$ac_ext
85659 cat >>conftest.$ac_ext <<_ACEOF
85660 /* end confdefs.h.  */
85661  int one(void) { return 1; }
85662      int two(void) { return 2; }
85663
85664 int
85665 main ()
85666 {
85667  two();
85668   ;
85669   return 0;
85670 }
85671 _ACEOF
85672 rm -f conftest.$ac_objext conftest$ac_exeext
85673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85674   (eval $ac_link) 2>conftest.er1
85675   ac_status=$?
85676   grep -v '^ *+' conftest.er1 >conftest.err
85677   rm -f conftest.er1
85678   cat conftest.err >&5
85679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85680   (exit $ac_status); } &&
85681          { ac_try='test -z "$ac_c_werror_flag"
85682                          || test ! -s conftest.err'
85683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85684   (eval $ac_try) 2>&5
85685   ac_status=$?
85686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85687   (exit $ac_status); }; } &&
85688          { ac_try='test -s conftest$ac_exeext'
85689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85690   (eval $ac_try) 2>&5
85691   ac_status=$?
85692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85693   (exit $ac_status); }; }; then
85694   ac_gcsections=yes
85695 else
85696   echo "$as_me: failed program was:" >&5
85697 sed 's/^/| /' conftest.$ac_ext >&5
85698
85699 ac_gcsections=no
85700 fi
85701 rm -f conftest.err conftest.$ac_objext \
85702       conftest$ac_exeext conftest.$ac_ext
85703     if test "$ac_gcsections" = "yes"; then
85704       rm -f conftest.c
85705       touch conftest.c
85706       if $CC -c conftest.c; then
85707         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85708            grep "Warning: gc-sections option ignored" > /dev/null; then
85709           ac_gcsections=no
85710         fi
85711       fi
85712       rm -f conftest.c conftest.o conftest
85713     fi
85714     if test "$ac_gcsections" = "yes"; then
85715       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85716     fi
85717     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85718 echo "${ECHO_T}$ac_gcsections" >&6
85719
85720     if test "$ac_test_CFLAGS" = set; then
85721       CFLAGS="$ac_save_CFLAGS"
85722     else
85723       # this is the suspicious part
85724       CFLAGS=''
85725     fi
85726   fi
85727
85728   # Set -z,relro.
85729   # Note this is only for shared objects.
85730   ac_ld_relro=no
85731   if test x"$with_gnu_ld" = x"yes"; then
85732     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85733 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85734     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85735     if test -n "$cxx_z_relo"; then
85736       OPT_LDFLAGS="-Wl,-z,relro"
85737       ac_ld_relro=yes
85738     fi
85739     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85740 echo "${ECHO_T}$ac_ld_relro" >&6
85741   fi
85742
85743   # Set linker optimization flags.
85744   if test x"$with_gnu_ld" = x"yes"; then
85745     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85746   fi
85747
85748
85749
85750
85751
85752
85753 echo "$as_me:$LINENO: checking for main in -lm" >&5
85754 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85755 if test "${ac_cv_lib_m_main+set}" = set; then
85756   echo $ECHO_N "(cached) $ECHO_C" >&6
85757 else
85758   ac_check_lib_save_LIBS=$LIBS
85759 LIBS="-lm  $LIBS"
85760 if test x$gcc_no_link = xyes; then
85761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85763    { (exit 1); exit 1; }; }
85764 fi
85765 cat >conftest.$ac_ext <<_ACEOF
85766 /* confdefs.h.  */
85767 _ACEOF
85768 cat confdefs.h >>conftest.$ac_ext
85769 cat >>conftest.$ac_ext <<_ACEOF
85770 /* end confdefs.h.  */
85771
85772
85773 int
85774 main ()
85775 {
85776 main ();
85777   ;
85778   return 0;
85779 }
85780 _ACEOF
85781 rm -f conftest.$ac_objext conftest$ac_exeext
85782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85783   (eval $ac_link) 2>conftest.er1
85784   ac_status=$?
85785   grep -v '^ *+' conftest.er1 >conftest.err
85786   rm -f conftest.er1
85787   cat conftest.err >&5
85788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789   (exit $ac_status); } &&
85790          { ac_try='test -z "$ac_c_werror_flag"
85791                          || test ! -s conftest.err'
85792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85793   (eval $ac_try) 2>&5
85794   ac_status=$?
85795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796   (exit $ac_status); }; } &&
85797          { ac_try='test -s conftest$ac_exeext'
85798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85799   (eval $ac_try) 2>&5
85800   ac_status=$?
85801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802   (exit $ac_status); }; }; then
85803   ac_cv_lib_m_main=yes
85804 else
85805   echo "$as_me: failed program was:" >&5
85806 sed 's/^/| /' conftest.$ac_ext >&5
85807
85808 ac_cv_lib_m_main=no
85809 fi
85810 rm -f conftest.err conftest.$ac_objext \
85811       conftest$ac_exeext conftest.$ac_ext
85812 LIBS=$ac_check_lib_save_LIBS
85813 fi
85814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85815 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85816 if test $ac_cv_lib_m_main = yes; then
85817   cat >>confdefs.h <<_ACEOF
85818 #define HAVE_LIBM 1
85819 _ACEOF
85820
85821   LIBS="-lm $LIBS"
85822
85823 fi
85824
85825
85826 for ac_func in copysignf
85827 do
85828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85829 echo "$as_me:$LINENO: checking for $ac_func" >&5
85830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85831 if eval "test \"\${$as_ac_var+set}\" = set"; then
85832   echo $ECHO_N "(cached) $ECHO_C" >&6
85833 else
85834   if test x$gcc_no_link = xyes; then
85835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85837    { (exit 1); exit 1; }; }
85838 fi
85839 cat >conftest.$ac_ext <<_ACEOF
85840 /* confdefs.h.  */
85841 _ACEOF
85842 cat confdefs.h >>conftest.$ac_ext
85843 cat >>conftest.$ac_ext <<_ACEOF
85844 /* end confdefs.h.  */
85845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85847 #define $ac_func innocuous_$ac_func
85848
85849 /* System header to define __stub macros and hopefully few prototypes,
85850     which can conflict with char $ac_func (); below.
85851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85852     <limits.h> exists even on freestanding compilers.  */
85853
85854 #ifdef __STDC__
85855 # include <limits.h>
85856 #else
85857 # include <assert.h>
85858 #endif
85859
85860 #undef $ac_func
85861
85862 /* Override any gcc2 internal prototype to avoid an error.  */
85863 #ifdef __cplusplus
85864 extern "C"
85865 {
85866 #endif
85867 /* We use char because int might match the return type of a gcc2
85868    builtin and then its argument prototype would still apply.  */
85869 char $ac_func ();
85870 /* The GNU C library defines this for functions which it implements
85871     to always fail with ENOSYS.  Some functions are actually named
85872     something starting with __ and the normal name is an alias.  */
85873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85874 choke me
85875 #else
85876 char (*f) () = $ac_func;
85877 #endif
85878 #ifdef __cplusplus
85879 }
85880 #endif
85881
85882 int
85883 main ()
85884 {
85885 return f != $ac_func;
85886   ;
85887   return 0;
85888 }
85889 _ACEOF
85890 rm -f conftest.$ac_objext conftest$ac_exeext
85891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85892   (eval $ac_link) 2>conftest.er1
85893   ac_status=$?
85894   grep -v '^ *+' conftest.er1 >conftest.err
85895   rm -f conftest.er1
85896   cat conftest.err >&5
85897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85898   (exit $ac_status); } &&
85899          { ac_try='test -z "$ac_c_werror_flag"
85900                          || test ! -s conftest.err'
85901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85902   (eval $ac_try) 2>&5
85903   ac_status=$?
85904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905   (exit $ac_status); }; } &&
85906          { ac_try='test -s conftest$ac_exeext'
85907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85908   (eval $ac_try) 2>&5
85909   ac_status=$?
85910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85911   (exit $ac_status); }; }; then
85912   eval "$as_ac_var=yes"
85913 else
85914   echo "$as_me: failed program was:" >&5
85915 sed 's/^/| /' conftest.$ac_ext >&5
85916
85917 eval "$as_ac_var=no"
85918 fi
85919 rm -f conftest.err conftest.$ac_objext \
85920       conftest$ac_exeext conftest.$ac_ext
85921 fi
85922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85924 if test `eval echo '${'$as_ac_var'}'` = yes; then
85925   cat >>confdefs.h <<_ACEOF
85926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85927 _ACEOF
85928
85929 else
85930   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85931 fi
85932 done
85933
85934
85935
85936 for ac_func in __signbit
85937 do
85938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85939 echo "$as_me:$LINENO: checking for $ac_func" >&5
85940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85941 if eval "test \"\${$as_ac_var+set}\" = set"; then
85942   echo $ECHO_N "(cached) $ECHO_C" >&6
85943 else
85944   if test x$gcc_no_link = xyes; then
85945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85947    { (exit 1); exit 1; }; }
85948 fi
85949 cat >conftest.$ac_ext <<_ACEOF
85950 /* confdefs.h.  */
85951 _ACEOF
85952 cat confdefs.h >>conftest.$ac_ext
85953 cat >>conftest.$ac_ext <<_ACEOF
85954 /* end confdefs.h.  */
85955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85957 #define $ac_func innocuous_$ac_func
85958
85959 /* System header to define __stub macros and hopefully few prototypes,
85960     which can conflict with char $ac_func (); below.
85961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85962     <limits.h> exists even on freestanding compilers.  */
85963
85964 #ifdef __STDC__
85965 # include <limits.h>
85966 #else
85967 # include <assert.h>
85968 #endif
85969
85970 #undef $ac_func
85971
85972 /* Override any gcc2 internal prototype to avoid an error.  */
85973 #ifdef __cplusplus
85974 extern "C"
85975 {
85976 #endif
85977 /* We use char because int might match the return type of a gcc2
85978    builtin and then its argument prototype would still apply.  */
85979 char $ac_func ();
85980 /* The GNU C library defines this for functions which it implements
85981     to always fail with ENOSYS.  Some functions are actually named
85982     something starting with __ and the normal name is an alias.  */
85983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85984 choke me
85985 #else
85986 char (*f) () = $ac_func;
85987 #endif
85988 #ifdef __cplusplus
85989 }
85990 #endif
85991
85992 int
85993 main ()
85994 {
85995 return f != $ac_func;
85996   ;
85997   return 0;
85998 }
85999 _ACEOF
86000 rm -f conftest.$ac_objext conftest$ac_exeext
86001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86002   (eval $ac_link) 2>conftest.er1
86003   ac_status=$?
86004   grep -v '^ *+' conftest.er1 >conftest.err
86005   rm -f conftest.er1
86006   cat conftest.err >&5
86007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86008   (exit $ac_status); } &&
86009          { ac_try='test -z "$ac_c_werror_flag"
86010                          || test ! -s conftest.err'
86011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86012   (eval $ac_try) 2>&5
86013   ac_status=$?
86014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86015   (exit $ac_status); }; } &&
86016          { ac_try='test -s conftest$ac_exeext'
86017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86018   (eval $ac_try) 2>&5
86019   ac_status=$?
86020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86021   (exit $ac_status); }; }; then
86022   eval "$as_ac_var=yes"
86023 else
86024   echo "$as_me: failed program was:" >&5
86025 sed 's/^/| /' conftest.$ac_ext >&5
86026
86027 eval "$as_ac_var=no"
86028 fi
86029 rm -f conftest.err conftest.$ac_objext \
86030       conftest$ac_exeext conftest.$ac_ext
86031 fi
86032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86034 if test `eval echo '${'$as_ac_var'}'` = yes; then
86035   cat >>confdefs.h <<_ACEOF
86036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86037 _ACEOF
86038
86039 else
86040   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86041 fi
86042 done
86043
86044
86045
86046 for ac_func in __signbitf
86047 do
86048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86049 echo "$as_me:$LINENO: checking for $ac_func" >&5
86050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86051 if eval "test \"\${$as_ac_var+set}\" = set"; then
86052   echo $ECHO_N "(cached) $ECHO_C" >&6
86053 else
86054   if test x$gcc_no_link = xyes; then
86055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86057    { (exit 1); exit 1; }; }
86058 fi
86059 cat >conftest.$ac_ext <<_ACEOF
86060 /* confdefs.h.  */
86061 _ACEOF
86062 cat confdefs.h >>conftest.$ac_ext
86063 cat >>conftest.$ac_ext <<_ACEOF
86064 /* end confdefs.h.  */
86065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86067 #define $ac_func innocuous_$ac_func
86068
86069 /* System header to define __stub macros and hopefully few prototypes,
86070     which can conflict with char $ac_func (); below.
86071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86072     <limits.h> exists even on freestanding compilers.  */
86073
86074 #ifdef __STDC__
86075 # include <limits.h>
86076 #else
86077 # include <assert.h>
86078 #endif
86079
86080 #undef $ac_func
86081
86082 /* Override any gcc2 internal prototype to avoid an error.  */
86083 #ifdef __cplusplus
86084 extern "C"
86085 {
86086 #endif
86087 /* We use char because int might match the return type of a gcc2
86088    builtin and then its argument prototype would still apply.  */
86089 char $ac_func ();
86090 /* The GNU C library defines this for functions which it implements
86091     to always fail with ENOSYS.  Some functions are actually named
86092     something starting with __ and the normal name is an alias.  */
86093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86094 choke me
86095 #else
86096 char (*f) () = $ac_func;
86097 #endif
86098 #ifdef __cplusplus
86099 }
86100 #endif
86101
86102 int
86103 main ()
86104 {
86105 return f != $ac_func;
86106   ;
86107   return 0;
86108 }
86109 _ACEOF
86110 rm -f conftest.$ac_objext conftest$ac_exeext
86111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86112   (eval $ac_link) 2>conftest.er1
86113   ac_status=$?
86114   grep -v '^ *+' conftest.er1 >conftest.err
86115   rm -f conftest.er1
86116   cat conftest.err >&5
86117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86118   (exit $ac_status); } &&
86119          { ac_try='test -z "$ac_c_werror_flag"
86120                          || test ! -s conftest.err'
86121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86122   (eval $ac_try) 2>&5
86123   ac_status=$?
86124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86125   (exit $ac_status); }; } &&
86126          { ac_try='test -s conftest$ac_exeext'
86127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86128   (eval $ac_try) 2>&5
86129   ac_status=$?
86130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86131   (exit $ac_status); }; }; then
86132   eval "$as_ac_var=yes"
86133 else
86134   echo "$as_me: failed program was:" >&5
86135 sed 's/^/| /' conftest.$ac_ext >&5
86136
86137 eval "$as_ac_var=no"
86138 fi
86139 rm -f conftest.err conftest.$ac_objext \
86140       conftest$ac_exeext conftest.$ac_ext
86141 fi
86142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86144 if test `eval echo '${'$as_ac_var'}'` = yes; then
86145   cat >>confdefs.h <<_ACEOF
86146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86147 _ACEOF
86148
86149 else
86150   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86151 fi
86152 done
86153
86154
86155           if test x$ac_cv_func_copysignl = x"yes"; then
86156
86157 for ac_func in __signbitl
86158 do
86159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86160 echo "$as_me:$LINENO: checking for $ac_func" >&5
86161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86162 if eval "test \"\${$as_ac_var+set}\" = set"; then
86163   echo $ECHO_N "(cached) $ECHO_C" >&6
86164 else
86165   if test x$gcc_no_link = xyes; then
86166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86168    { (exit 1); exit 1; }; }
86169 fi
86170 cat >conftest.$ac_ext <<_ACEOF
86171 /* confdefs.h.  */
86172 _ACEOF
86173 cat confdefs.h >>conftest.$ac_ext
86174 cat >>conftest.$ac_ext <<_ACEOF
86175 /* end confdefs.h.  */
86176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86178 #define $ac_func innocuous_$ac_func
86179
86180 /* System header to define __stub macros and hopefully few prototypes,
86181     which can conflict with char $ac_func (); below.
86182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86183     <limits.h> exists even on freestanding compilers.  */
86184
86185 #ifdef __STDC__
86186 # include <limits.h>
86187 #else
86188 # include <assert.h>
86189 #endif
86190
86191 #undef $ac_func
86192
86193 /* Override any gcc2 internal prototype to avoid an error.  */
86194 #ifdef __cplusplus
86195 extern "C"
86196 {
86197 #endif
86198 /* We use char because int might match the return type of a gcc2
86199    builtin and then its argument prototype would still apply.  */
86200 char $ac_func ();
86201 /* The GNU C library defines this for functions which it implements
86202     to always fail with ENOSYS.  Some functions are actually named
86203     something starting with __ and the normal name is an alias.  */
86204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86205 choke me
86206 #else
86207 char (*f) () = $ac_func;
86208 #endif
86209 #ifdef __cplusplus
86210 }
86211 #endif
86212
86213 int
86214 main ()
86215 {
86216 return f != $ac_func;
86217   ;
86218   return 0;
86219 }
86220 _ACEOF
86221 rm -f conftest.$ac_objext conftest$ac_exeext
86222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86223   (eval $ac_link) 2>conftest.er1
86224   ac_status=$?
86225   grep -v '^ *+' conftest.er1 >conftest.err
86226   rm -f conftest.er1
86227   cat conftest.err >&5
86228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229   (exit $ac_status); } &&
86230          { ac_try='test -z "$ac_c_werror_flag"
86231                          || test ! -s conftest.err'
86232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86233   (eval $ac_try) 2>&5
86234   ac_status=$?
86235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86236   (exit $ac_status); }; } &&
86237          { ac_try='test -s conftest$ac_exeext'
86238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86239   (eval $ac_try) 2>&5
86240   ac_status=$?
86241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86242   (exit $ac_status); }; }; then
86243   eval "$as_ac_var=yes"
86244 else
86245   echo "$as_me: failed program was:" >&5
86246 sed 's/^/| /' conftest.$ac_ext >&5
86247
86248 eval "$as_ac_var=no"
86249 fi
86250 rm -f conftest.err conftest.$ac_objext \
86251       conftest$ac_exeext conftest.$ac_ext
86252 fi
86253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86255 if test `eval echo '${'$as_ac_var'}'` = yes; then
86256   cat >>confdefs.h <<_ACEOF
86257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86258 _ACEOF
86259
86260 else
86261   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86262 fi
86263 done
86264
86265   fi
86266
86267   # Used in libmath/Makefile.am.
86268   if test -n "$LIBMATHOBJS"; then
86269     need_libmath=yes
86270   fi
86271
86272
86273     cat >>confdefs.h <<\_ACEOF
86274 #define HAVE_COPYSIGN 1
86275 _ACEOF
86276
86277     cat >>confdefs.h <<\_ACEOF
86278 #define HAVE_COPYSIGNF 1
86279 _ACEOF
86280
86281     cat >>confdefs.h <<\_ACEOF
86282 #define HAVE_FREXPF 1
86283 _ACEOF
86284
86285     cat >>confdefs.h <<\_ACEOF
86286 #define HAVE_HYPOT 1
86287 _ACEOF
86288
86289     case "$target" in
86290       *-hpux10*)
86291         cat >>confdefs.h <<\_ACEOF
86292 #define HAVE_FINITE 1
86293 _ACEOF
86294
86295         cat >>confdefs.h <<\_ACEOF
86296 #define HAVE_FINITEF 1
86297 _ACEOF
86298
86299         cat >>confdefs.h <<\_ACEOF
86300 #define HAVE_ISINF 1
86301 _ACEOF
86302
86303         cat >>confdefs.h <<\_ACEOF
86304 #define HAVE_ISINFF 1
86305 _ACEOF
86306
86307         cat >>confdefs.h <<\_ACEOF
86308 #define HAVE_ISNAN 1
86309 _ACEOF
86310
86311         cat >>confdefs.h <<\_ACEOF
86312 #define HAVE_ISNANF 1
86313 _ACEOF
86314
86315         ;;
86316     esac
86317     ;;
86318   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
86319
86320
86321
86322
86323
86324
86325
86326
86327
86328
86329
86330
86331
86332
86333
86334
86335
86336
86337 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86338       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86339       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
86340       sys/ipc.h sys/sem.h gconf.h
86341 do
86342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86344   echo "$as_me:$LINENO: checking for $ac_header" >&5
86345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86347   echo $ECHO_N "(cached) $ECHO_C" >&6
86348 fi
86349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86351 else
86352   # Is the header compilable?
86353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86355 cat >conftest.$ac_ext <<_ACEOF
86356 /* confdefs.h.  */
86357 _ACEOF
86358 cat confdefs.h >>conftest.$ac_ext
86359 cat >>conftest.$ac_ext <<_ACEOF
86360 /* end confdefs.h.  */
86361 $ac_includes_default
86362 #include <$ac_header>
86363 _ACEOF
86364 rm -f conftest.$ac_objext
86365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86366   (eval $ac_compile) 2>conftest.er1
86367   ac_status=$?
86368   grep -v '^ *+' conftest.er1 >conftest.err
86369   rm -f conftest.er1
86370   cat conftest.err >&5
86371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86372   (exit $ac_status); } &&
86373          { ac_try='test -z "$ac_c_werror_flag"
86374                          || test ! -s conftest.err'
86375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86376   (eval $ac_try) 2>&5
86377   ac_status=$?
86378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86379   (exit $ac_status); }; } &&
86380          { ac_try='test -s conftest.$ac_objext'
86381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86382   (eval $ac_try) 2>&5
86383   ac_status=$?
86384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86385   (exit $ac_status); }; }; then
86386   ac_header_compiler=yes
86387 else
86388   echo "$as_me: failed program was:" >&5
86389 sed 's/^/| /' conftest.$ac_ext >&5
86390
86391 ac_header_compiler=no
86392 fi
86393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86395 echo "${ECHO_T}$ac_header_compiler" >&6
86396
86397 # Is the header present?
86398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86400 cat >conftest.$ac_ext <<_ACEOF
86401 /* confdefs.h.  */
86402 _ACEOF
86403 cat confdefs.h >>conftest.$ac_ext
86404 cat >>conftest.$ac_ext <<_ACEOF
86405 /* end confdefs.h.  */
86406 #include <$ac_header>
86407 _ACEOF
86408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86409   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86410   ac_status=$?
86411   grep -v '^ *+' conftest.er1 >conftest.err
86412   rm -f conftest.er1
86413   cat conftest.err >&5
86414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86415   (exit $ac_status); } >/dev/null; then
86416   if test -s conftest.err; then
86417     ac_cpp_err=$ac_c_preproc_warn_flag
86418     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86419   else
86420     ac_cpp_err=
86421   fi
86422 else
86423   ac_cpp_err=yes
86424 fi
86425 if test -z "$ac_cpp_err"; then
86426   ac_header_preproc=yes
86427 else
86428   echo "$as_me: failed program was:" >&5
86429 sed 's/^/| /' conftest.$ac_ext >&5
86430
86431   ac_header_preproc=no
86432 fi
86433 rm -f conftest.err conftest.$ac_ext
86434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86435 echo "${ECHO_T}$ac_header_preproc" >&6
86436
86437 # So?  What about this header?
86438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86439   yes:no: )
86440     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86442     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86444     ac_header_preproc=yes
86445     ;;
86446   no:yes:* )
86447     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86449     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86450 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86451     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86453     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86454 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86455     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86457     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86459     (
86460       cat <<\_ASBOX
86461 ## ----------------------------------------- ##
86462 ## Report this to the package-unused lists.  ##
86463 ## ----------------------------------------- ##
86464 _ASBOX
86465     ) |
86466       sed "s/^/$as_me: WARNING:     /" >&2
86467     ;;
86468 esac
86469 echo "$as_me:$LINENO: checking for $ac_header" >&5
86470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86472   echo $ECHO_N "(cached) $ECHO_C" >&6
86473 else
86474   eval "$as_ac_Header=\$ac_header_preproc"
86475 fi
86476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86478
86479 fi
86480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86481   cat >>confdefs.h <<_ACEOF
86482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86483 _ACEOF
86484
86485 fi
86486
86487 done
86488
86489     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86490
86491
86492   # All these tests are for C++; save the language and the compiler flags.
86493   # The CXXFLAGS thing is suspicious, but based on similar bits previously
86494   # found in GLIBCXX_CONFIGURE.
86495
86496
86497   ac_ext=cc
86498 ac_cpp='$CXXCPP $CPPFLAGS'
86499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86502
86503   ac_test_CXXFLAGS="${CXXFLAGS+set}"
86504   ac_save_CXXFLAGS="$CXXFLAGS"
86505
86506   # Check for maintainer-mode bits.
86507   if test x"$USE_MAINTAINER_MODE" = xno; then
86508     WERROR=''
86509   else
86510     WERROR='-Werror'
86511   fi
86512
86513   # Check for -ffunction-sections -fdata-sections
86514   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
86515 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
86516   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
86517   cat >conftest.$ac_ext <<_ACEOF
86518 /* confdefs.h.  */
86519 _ACEOF
86520 cat confdefs.h >>conftest.$ac_ext
86521 cat >>conftest.$ac_ext <<_ACEOF
86522 /* end confdefs.h.  */
86523 int foo; void bar() { };
86524 int
86525 main ()
86526 {
86527
86528   ;
86529   return 0;
86530 }
86531 _ACEOF
86532 rm -f conftest.$ac_objext
86533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86534   (eval $ac_compile) 2>conftest.er1
86535   ac_status=$?
86536   grep -v '^ *+' conftest.er1 >conftest.err
86537   rm -f conftest.er1
86538   cat conftest.err >&5
86539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86540   (exit $ac_status); } &&
86541          { ac_try='test -z "$ac_cxx_werror_flag"
86542                          || test ! -s conftest.err'
86543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86544   (eval $ac_try) 2>&5
86545   ac_status=$?
86546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86547   (exit $ac_status); }; } &&
86548          { ac_try='test -s conftest.$ac_objext'
86549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86550   (eval $ac_try) 2>&5
86551   ac_status=$?
86552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86553   (exit $ac_status); }; }; then
86554   ac_fdsections=yes
86555 else
86556   echo "$as_me: failed program was:" >&5
86557 sed 's/^/| /' conftest.$ac_ext >&5
86558
86559 ac_fdsections=no
86560 fi
86561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86562   if test "$ac_test_CXXFLAGS" = set; then
86563     CXXFLAGS="$ac_save_CXXFLAGS"
86564   else
86565     # this is the suspicious part
86566     CXXFLAGS=''
86567   fi
86568   if test x"$ac_fdsections" = x"yes"; then
86569     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86570   fi
86571   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
86572 echo "${ECHO_T}$ac_fdsections" >&6
86573
86574   ac_ext=c
86575 ac_cpp='$CPP $CPPFLAGS'
86576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86579
86580
86581
86582
86583
86584   # If we're not using GNU ld, then there's no point in even trying these
86585   # tests.  Check for that first.  We should have already tested for gld
86586   # by now (in libtool), but require it now just to be safe...
86587   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86588   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86589
86590
86591
86592   # The name set by libtool depends on the version of libtool.  Shame on us
86593   # for depending on an impl detail, but c'est la vie.  Older versions used
86594   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86595   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86596   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86597   # set (hence we're using an older libtool), then set it.
86598   if test x${with_gnu_ld+set} != xset; then
86599     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86600       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86601       with_gnu_ld=no
86602     else
86603       with_gnu_ld=$ac_cv_prog_gnu_ld
86604     fi
86605   fi
86606
86607   # Start by getting the version number.  I think the libtool test already
86608   # does some of this, but throws away the result.
86609   if test x"$with_gnu_ld" = x"yes"; then
86610     echo "$as_me:$LINENO: checking for ld version" >&5
86611 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86612
86613     ldver=`$LD --version 2>/dev/null | head -1 | \
86614            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86615
86616     glibcxx_gnu_ld_version=`echo $ldver | \
86617            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86618     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86619 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86620   fi
86621
86622   # Set --gc-sections.
86623   glibcxx_gcsections_min_ld=21602
86624   if test x"$with_gnu_ld" = x"yes" &&
86625         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86626
86627     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86628     # NB: This flag only works reliably after 2.16.1. Configure tests
86629     # for this are difficult, so hard wire a value that should work.
86630
86631     ac_test_CFLAGS="${CFLAGS+set}"
86632     ac_save_CFLAGS="$CFLAGS"
86633     CFLAGS='-Wl,--gc-sections'
86634
86635     # Check for -Wl,--gc-sections
86636     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86637 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86638     if test x$gcc_no_link = xyes; then
86639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86641    { (exit 1); exit 1; }; }
86642 fi
86643 cat >conftest.$ac_ext <<_ACEOF
86644 /* confdefs.h.  */
86645 _ACEOF
86646 cat confdefs.h >>conftest.$ac_ext
86647 cat >>conftest.$ac_ext <<_ACEOF
86648 /* end confdefs.h.  */
86649  int one(void) { return 1; }
86650      int two(void) { return 2; }
86651
86652 int
86653 main ()
86654 {
86655  two();
86656   ;
86657   return 0;
86658 }
86659 _ACEOF
86660 rm -f conftest.$ac_objext conftest$ac_exeext
86661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86662   (eval $ac_link) 2>conftest.er1
86663   ac_status=$?
86664   grep -v '^ *+' conftest.er1 >conftest.err
86665   rm -f conftest.er1
86666   cat conftest.err >&5
86667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86668   (exit $ac_status); } &&
86669          { ac_try='test -z "$ac_c_werror_flag"
86670                          || test ! -s conftest.err'
86671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86672   (eval $ac_try) 2>&5
86673   ac_status=$?
86674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86675   (exit $ac_status); }; } &&
86676          { ac_try='test -s conftest$ac_exeext'
86677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86678   (eval $ac_try) 2>&5
86679   ac_status=$?
86680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86681   (exit $ac_status); }; }; then
86682   ac_gcsections=yes
86683 else
86684   echo "$as_me: failed program was:" >&5
86685 sed 's/^/| /' conftest.$ac_ext >&5
86686
86687 ac_gcsections=no
86688 fi
86689 rm -f conftest.err conftest.$ac_objext \
86690       conftest$ac_exeext conftest.$ac_ext
86691     if test "$ac_gcsections" = "yes"; then
86692       rm -f conftest.c
86693       touch conftest.c
86694       if $CC -c conftest.c; then
86695         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86696            grep "Warning: gc-sections option ignored" > /dev/null; then
86697           ac_gcsections=no
86698         fi
86699       fi
86700       rm -f conftest.c conftest.o conftest
86701     fi
86702     if test "$ac_gcsections" = "yes"; then
86703       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86704     fi
86705     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86706 echo "${ECHO_T}$ac_gcsections" >&6
86707
86708     if test "$ac_test_CFLAGS" = set; then
86709       CFLAGS="$ac_save_CFLAGS"
86710     else
86711       # this is the suspicious part
86712       CFLAGS=''
86713     fi
86714   fi
86715
86716   # Set -z,relro.
86717   # Note this is only for shared objects.
86718   ac_ld_relro=no
86719   if test x"$with_gnu_ld" = x"yes"; then
86720     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86721 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86722     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86723     if test -n "$cxx_z_relo"; then
86724       OPT_LDFLAGS="-Wl,-z,relro"
86725       ac_ld_relro=yes
86726     fi
86727     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86728 echo "${ECHO_T}$ac_ld_relro" >&6
86729   fi
86730
86731   # Set linker optimization flags.
86732   if test x"$with_gnu_ld" = x"yes"; then
86733     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86734   fi
86735
86736
86737
86738
86739
86740   ac_test_CXXFLAGS="${CXXFLAGS+set}"
86741   ac_save_CXXFLAGS="$CXXFLAGS"
86742   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
86743
86744     echo "$as_me:$LINENO: checking for sin in -lm" >&5
86745 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
86746 if test "${ac_cv_lib_m_sin+set}" = set; then
86747   echo $ECHO_N "(cached) $ECHO_C" >&6
86748 else
86749   ac_check_lib_save_LIBS=$LIBS
86750 LIBS="-lm  $LIBS"
86751 if test x$gcc_no_link = xyes; then
86752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86754    { (exit 1); exit 1; }; }
86755 fi
86756 cat >conftest.$ac_ext <<_ACEOF
86757 /* confdefs.h.  */
86758 _ACEOF
86759 cat confdefs.h >>conftest.$ac_ext
86760 cat >>conftest.$ac_ext <<_ACEOF
86761 /* end confdefs.h.  */
86762
86763 /* Override any gcc2 internal prototype to avoid an error.  */
86764 #ifdef __cplusplus
86765 extern "C"
86766 #endif
86767 /* We use char because int might match the return type of a gcc2
86768    builtin and then its argument prototype would still apply.  */
86769 char sin ();
86770 int
86771 main ()
86772 {
86773 sin ();
86774   ;
86775   return 0;
86776 }
86777 _ACEOF
86778 rm -f conftest.$ac_objext conftest$ac_exeext
86779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86780   (eval $ac_link) 2>conftest.er1
86781   ac_status=$?
86782   grep -v '^ *+' conftest.er1 >conftest.err
86783   rm -f conftest.er1
86784   cat conftest.err >&5
86785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86786   (exit $ac_status); } &&
86787          { ac_try='test -z "$ac_c_werror_flag"
86788                          || test ! -s conftest.err'
86789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86790   (eval $ac_try) 2>&5
86791   ac_status=$?
86792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86793   (exit $ac_status); }; } &&
86794          { ac_try='test -s conftest$ac_exeext'
86795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86796   (eval $ac_try) 2>&5
86797   ac_status=$?
86798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86799   (exit $ac_status); }; }; then
86800   ac_cv_lib_m_sin=yes
86801 else
86802   echo "$as_me: failed program was:" >&5
86803 sed 's/^/| /' conftest.$ac_ext >&5
86804
86805 ac_cv_lib_m_sin=no
86806 fi
86807 rm -f conftest.err conftest.$ac_objext \
86808       conftest$ac_exeext conftest.$ac_ext
86809 LIBS=$ac_check_lib_save_LIBS
86810 fi
86811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
86812 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
86813 if test $ac_cv_lib_m_sin = yes; then
86814   libm="-lm"
86815 fi
86816
86817   ac_save_LIBS="$LIBS"
86818   LIBS="$LIBS $libm"
86819
86820
86821
86822   echo "$as_me:$LINENO: checking for isinf declaration" >&5
86823 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
86824   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
86825     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
86826   echo $ECHO_N "(cached) $ECHO_C" >&6
86827 else
86828
86829
86830
86831       ac_ext=cc
86832 ac_cpp='$CXXCPP $CPPFLAGS'
86833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86836
86837       cat >conftest.$ac_ext <<_ACEOF
86838 /* confdefs.h.  */
86839 _ACEOF
86840 cat confdefs.h >>conftest.$ac_ext
86841 cat >>conftest.$ac_ext <<_ACEOF
86842 /* end confdefs.h.  */
86843 #include <math.h>
86844                       #ifdef HAVE_IEEEFP_H
86845                       #include <ieeefp.h>
86846                       #endif
86847
86848 int
86849 main ()
86850 {
86851  isinf(0);
86852   ;
86853   return 0;
86854 }
86855 _ACEOF
86856 rm -f conftest.$ac_objext
86857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86858   (eval $ac_compile) 2>conftest.er1
86859   ac_status=$?
86860   grep -v '^ *+' conftest.er1 >conftest.err
86861   rm -f conftest.er1
86862   cat conftest.err >&5
86863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86864   (exit $ac_status); } &&
86865          { ac_try='test -z "$ac_cxx_werror_flag"
86866                          || test ! -s conftest.err'
86867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86868   (eval $ac_try) 2>&5
86869   ac_status=$?
86870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86871   (exit $ac_status); }; } &&
86872          { ac_try='test -s conftest.$ac_objext'
86873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86874   (eval $ac_try) 2>&5
86875   ac_status=$?
86876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86877   (exit $ac_status); }; }; then
86878   glibcxx_cv_func_isinf_use=yes
86879 else
86880   echo "$as_me: failed program was:" >&5
86881 sed 's/^/| /' conftest.$ac_ext >&5
86882
86883 glibcxx_cv_func_isinf_use=no
86884 fi
86885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86886       ac_ext=c
86887 ac_cpp='$CPP $CPPFLAGS'
86888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86891
86892
86893 fi
86894
86895   fi
86896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
86897 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
86898
86899   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
86900
86901 for ac_func in isinf
86902 do
86903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86904 echo "$as_me:$LINENO: checking for $ac_func" >&5
86905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86906 if eval "test \"\${$as_ac_var+set}\" = set"; then
86907   echo $ECHO_N "(cached) $ECHO_C" >&6
86908 else
86909   if test x$gcc_no_link = xyes; then
86910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86912    { (exit 1); exit 1; }; }
86913 fi
86914 cat >conftest.$ac_ext <<_ACEOF
86915 /* confdefs.h.  */
86916 _ACEOF
86917 cat confdefs.h >>conftest.$ac_ext
86918 cat >>conftest.$ac_ext <<_ACEOF
86919 /* end confdefs.h.  */
86920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86922 #define $ac_func innocuous_$ac_func
86923
86924 /* System header to define __stub macros and hopefully few prototypes,
86925     which can conflict with char $ac_func (); below.
86926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86927     <limits.h> exists even on freestanding compilers.  */
86928
86929 #ifdef __STDC__
86930 # include <limits.h>
86931 #else
86932 # include <assert.h>
86933 #endif
86934
86935 #undef $ac_func
86936
86937 /* Override any gcc2 internal prototype to avoid an error.  */
86938 #ifdef __cplusplus
86939 extern "C"
86940 {
86941 #endif
86942 /* We use char because int might match the return type of a gcc2
86943    builtin and then its argument prototype would still apply.  */
86944 char $ac_func ();
86945 /* The GNU C library defines this for functions which it implements
86946     to always fail with ENOSYS.  Some functions are actually named
86947     something starting with __ and the normal name is an alias.  */
86948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86949 choke me
86950 #else
86951 char (*f) () = $ac_func;
86952 #endif
86953 #ifdef __cplusplus
86954 }
86955 #endif
86956
86957 int
86958 main ()
86959 {
86960 return f != $ac_func;
86961   ;
86962   return 0;
86963 }
86964 _ACEOF
86965 rm -f conftest.$ac_objext conftest$ac_exeext
86966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86967   (eval $ac_link) 2>conftest.er1
86968   ac_status=$?
86969   grep -v '^ *+' conftest.er1 >conftest.err
86970   rm -f conftest.er1
86971   cat conftest.err >&5
86972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86973   (exit $ac_status); } &&
86974          { ac_try='test -z "$ac_c_werror_flag"
86975                          || test ! -s conftest.err'
86976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86977   (eval $ac_try) 2>&5
86978   ac_status=$?
86979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86980   (exit $ac_status); }; } &&
86981          { ac_try='test -s conftest$ac_exeext'
86982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86983   (eval $ac_try) 2>&5
86984   ac_status=$?
86985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86986   (exit $ac_status); }; }; then
86987   eval "$as_ac_var=yes"
86988 else
86989   echo "$as_me: failed program was:" >&5
86990 sed 's/^/| /' conftest.$ac_ext >&5
86991
86992 eval "$as_ac_var=no"
86993 fi
86994 rm -f conftest.err conftest.$ac_objext \
86995       conftest$ac_exeext conftest.$ac_ext
86996 fi
86997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86999 if test `eval echo '${'$as_ac_var'}'` = yes; then
87000   cat >>confdefs.h <<_ACEOF
87001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87002 _ACEOF
87003
87004 fi
87005 done
87006
87007   else
87008
87009   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87010 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87011   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87012     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87013   echo $ECHO_N "(cached) $ECHO_C" >&6
87014 else
87015
87016
87017
87018       ac_ext=cc
87019 ac_cpp='$CXXCPP $CPPFLAGS'
87020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87023
87024       cat >conftest.$ac_ext <<_ACEOF
87025 /* confdefs.h.  */
87026 _ACEOF
87027 cat confdefs.h >>conftest.$ac_ext
87028 cat >>conftest.$ac_ext <<_ACEOF
87029 /* end confdefs.h.  */
87030 #include <math.h>
87031                       #ifdef HAVE_IEEEFP_H
87032                       #include <ieeefp.h>
87033                       #endif
87034
87035 int
87036 main ()
87037 {
87038  _isinf(0);
87039   ;
87040   return 0;
87041 }
87042 _ACEOF
87043 rm -f conftest.$ac_objext
87044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87045   (eval $ac_compile) 2>conftest.er1
87046   ac_status=$?
87047   grep -v '^ *+' conftest.er1 >conftest.err
87048   rm -f conftest.er1
87049   cat conftest.err >&5
87050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87051   (exit $ac_status); } &&
87052          { ac_try='test -z "$ac_cxx_werror_flag"
87053                          || test ! -s conftest.err'
87054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87055   (eval $ac_try) 2>&5
87056   ac_status=$?
87057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87058   (exit $ac_status); }; } &&
87059          { ac_try='test -s conftest.$ac_objext'
87060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87061   (eval $ac_try) 2>&5
87062   ac_status=$?
87063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87064   (exit $ac_status); }; }; then
87065   glibcxx_cv_func__isinf_use=yes
87066 else
87067   echo "$as_me: failed program was:" >&5
87068 sed 's/^/| /' conftest.$ac_ext >&5
87069
87070 glibcxx_cv_func__isinf_use=no
87071 fi
87072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87073       ac_ext=c
87074 ac_cpp='$CPP $CPPFLAGS'
87075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87078
87079
87080 fi
87081
87082   fi
87083   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87084 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87085
87086     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87087
87088 for ac_func in _isinf
87089 do
87090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87091 echo "$as_me:$LINENO: checking for $ac_func" >&5
87092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87093 if eval "test \"\${$as_ac_var+set}\" = set"; then
87094   echo $ECHO_N "(cached) $ECHO_C" >&6
87095 else
87096   if test x$gcc_no_link = xyes; then
87097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87099    { (exit 1); exit 1; }; }
87100 fi
87101 cat >conftest.$ac_ext <<_ACEOF
87102 /* confdefs.h.  */
87103 _ACEOF
87104 cat confdefs.h >>conftest.$ac_ext
87105 cat >>conftest.$ac_ext <<_ACEOF
87106 /* end confdefs.h.  */
87107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87109 #define $ac_func innocuous_$ac_func
87110
87111 /* System header to define __stub macros and hopefully few prototypes,
87112     which can conflict with char $ac_func (); below.
87113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87114     <limits.h> exists even on freestanding compilers.  */
87115
87116 #ifdef __STDC__
87117 # include <limits.h>
87118 #else
87119 # include <assert.h>
87120 #endif
87121
87122 #undef $ac_func
87123
87124 /* Override any gcc2 internal prototype to avoid an error.  */
87125 #ifdef __cplusplus
87126 extern "C"
87127 {
87128 #endif
87129 /* We use char because int might match the return type of a gcc2
87130    builtin and then its argument prototype would still apply.  */
87131 char $ac_func ();
87132 /* The GNU C library defines this for functions which it implements
87133     to always fail with ENOSYS.  Some functions are actually named
87134     something starting with __ and the normal name is an alias.  */
87135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87136 choke me
87137 #else
87138 char (*f) () = $ac_func;
87139 #endif
87140 #ifdef __cplusplus
87141 }
87142 #endif
87143
87144 int
87145 main ()
87146 {
87147 return f != $ac_func;
87148   ;
87149   return 0;
87150 }
87151 _ACEOF
87152 rm -f conftest.$ac_objext conftest$ac_exeext
87153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87154   (eval $ac_link) 2>conftest.er1
87155   ac_status=$?
87156   grep -v '^ *+' conftest.er1 >conftest.err
87157   rm -f conftest.er1
87158   cat conftest.err >&5
87159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87160   (exit $ac_status); } &&
87161          { ac_try='test -z "$ac_c_werror_flag"
87162                          || test ! -s conftest.err'
87163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87164   (eval $ac_try) 2>&5
87165   ac_status=$?
87166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87167   (exit $ac_status); }; } &&
87168          { ac_try='test -s conftest$ac_exeext'
87169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87170   (eval $ac_try) 2>&5
87171   ac_status=$?
87172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87173   (exit $ac_status); }; }; then
87174   eval "$as_ac_var=yes"
87175 else
87176   echo "$as_me: failed program was:" >&5
87177 sed 's/^/| /' conftest.$ac_ext >&5
87178
87179 eval "$as_ac_var=no"
87180 fi
87181 rm -f conftest.err conftest.$ac_objext \
87182       conftest$ac_exeext conftest.$ac_ext
87183 fi
87184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87186 if test `eval echo '${'$as_ac_var'}'` = yes; then
87187   cat >>confdefs.h <<_ACEOF
87188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87189 _ACEOF
87190
87191 fi
87192 done
87193
87194     fi
87195   fi
87196
87197
87198
87199
87200
87201
87202   echo "$as_me:$LINENO: checking for isnan declaration" >&5
87203 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87204   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87205     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87206   echo $ECHO_N "(cached) $ECHO_C" >&6
87207 else
87208
87209
87210
87211       ac_ext=cc
87212 ac_cpp='$CXXCPP $CPPFLAGS'
87213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87216
87217       cat >conftest.$ac_ext <<_ACEOF
87218 /* confdefs.h.  */
87219 _ACEOF
87220 cat confdefs.h >>conftest.$ac_ext
87221 cat >>conftest.$ac_ext <<_ACEOF
87222 /* end confdefs.h.  */
87223 #include <math.h>
87224                       #ifdef HAVE_IEEEFP_H
87225                       #include <ieeefp.h>
87226                       #endif
87227
87228 int
87229 main ()
87230 {
87231  isnan(0);
87232   ;
87233   return 0;
87234 }
87235 _ACEOF
87236 rm -f conftest.$ac_objext
87237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87238   (eval $ac_compile) 2>conftest.er1
87239   ac_status=$?
87240   grep -v '^ *+' conftest.er1 >conftest.err
87241   rm -f conftest.er1
87242   cat conftest.err >&5
87243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87244   (exit $ac_status); } &&
87245          { ac_try='test -z "$ac_cxx_werror_flag"
87246                          || test ! -s conftest.err'
87247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87248   (eval $ac_try) 2>&5
87249   ac_status=$?
87250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87251   (exit $ac_status); }; } &&
87252          { ac_try='test -s conftest.$ac_objext'
87253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87254   (eval $ac_try) 2>&5
87255   ac_status=$?
87256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87257   (exit $ac_status); }; }; then
87258   glibcxx_cv_func_isnan_use=yes
87259 else
87260   echo "$as_me: failed program was:" >&5
87261 sed 's/^/| /' conftest.$ac_ext >&5
87262
87263 glibcxx_cv_func_isnan_use=no
87264 fi
87265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87266       ac_ext=c
87267 ac_cpp='$CPP $CPPFLAGS'
87268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87271
87272
87273 fi
87274
87275   fi
87276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
87277 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
87278
87279   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
87280
87281 for ac_func in isnan
87282 do
87283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87284 echo "$as_me:$LINENO: checking for $ac_func" >&5
87285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87286 if eval "test \"\${$as_ac_var+set}\" = set"; then
87287   echo $ECHO_N "(cached) $ECHO_C" >&6
87288 else
87289   if test x$gcc_no_link = xyes; then
87290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87292    { (exit 1); exit 1; }; }
87293 fi
87294 cat >conftest.$ac_ext <<_ACEOF
87295 /* confdefs.h.  */
87296 _ACEOF
87297 cat confdefs.h >>conftest.$ac_ext
87298 cat >>conftest.$ac_ext <<_ACEOF
87299 /* end confdefs.h.  */
87300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87302 #define $ac_func innocuous_$ac_func
87303
87304 /* System header to define __stub macros and hopefully few prototypes,
87305     which can conflict with char $ac_func (); below.
87306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87307     <limits.h> exists even on freestanding compilers.  */
87308
87309 #ifdef __STDC__
87310 # include <limits.h>
87311 #else
87312 # include <assert.h>
87313 #endif
87314
87315 #undef $ac_func
87316
87317 /* Override any gcc2 internal prototype to avoid an error.  */
87318 #ifdef __cplusplus
87319 extern "C"
87320 {
87321 #endif
87322 /* We use char because int might match the return type of a gcc2
87323    builtin and then its argument prototype would still apply.  */
87324 char $ac_func ();
87325 /* The GNU C library defines this for functions which it implements
87326     to always fail with ENOSYS.  Some functions are actually named
87327     something starting with __ and the normal name is an alias.  */
87328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87329 choke me
87330 #else
87331 char (*f) () = $ac_func;
87332 #endif
87333 #ifdef __cplusplus
87334 }
87335 #endif
87336
87337 int
87338 main ()
87339 {
87340 return f != $ac_func;
87341   ;
87342   return 0;
87343 }
87344 _ACEOF
87345 rm -f conftest.$ac_objext conftest$ac_exeext
87346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87347   (eval $ac_link) 2>conftest.er1
87348   ac_status=$?
87349   grep -v '^ *+' conftest.er1 >conftest.err
87350   rm -f conftest.er1
87351   cat conftest.err >&5
87352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87353   (exit $ac_status); } &&
87354          { ac_try='test -z "$ac_c_werror_flag"
87355                          || test ! -s conftest.err'
87356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87357   (eval $ac_try) 2>&5
87358   ac_status=$?
87359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87360   (exit $ac_status); }; } &&
87361          { ac_try='test -s conftest$ac_exeext'
87362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87363   (eval $ac_try) 2>&5
87364   ac_status=$?
87365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87366   (exit $ac_status); }; }; then
87367   eval "$as_ac_var=yes"
87368 else
87369   echo "$as_me: failed program was:" >&5
87370 sed 's/^/| /' conftest.$ac_ext >&5
87371
87372 eval "$as_ac_var=no"
87373 fi
87374 rm -f conftest.err conftest.$ac_objext \
87375       conftest$ac_exeext conftest.$ac_ext
87376 fi
87377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87379 if test `eval echo '${'$as_ac_var'}'` = yes; then
87380   cat >>confdefs.h <<_ACEOF
87381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87382 _ACEOF
87383
87384 fi
87385 done
87386
87387   else
87388
87389   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
87390 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
87391   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
87392     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
87393   echo $ECHO_N "(cached) $ECHO_C" >&6
87394 else
87395
87396
87397
87398       ac_ext=cc
87399 ac_cpp='$CXXCPP $CPPFLAGS'
87400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87403
87404       cat >conftest.$ac_ext <<_ACEOF
87405 /* confdefs.h.  */
87406 _ACEOF
87407 cat confdefs.h >>conftest.$ac_ext
87408 cat >>conftest.$ac_ext <<_ACEOF
87409 /* end confdefs.h.  */
87410 #include <math.h>
87411                       #ifdef HAVE_IEEEFP_H
87412                       #include <ieeefp.h>
87413                       #endif
87414
87415 int
87416 main ()
87417 {
87418  _isnan(0);
87419   ;
87420   return 0;
87421 }
87422 _ACEOF
87423 rm -f conftest.$ac_objext
87424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87425   (eval $ac_compile) 2>conftest.er1
87426   ac_status=$?
87427   grep -v '^ *+' conftest.er1 >conftest.err
87428   rm -f conftest.er1
87429   cat conftest.err >&5
87430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87431   (exit $ac_status); } &&
87432          { ac_try='test -z "$ac_cxx_werror_flag"
87433                          || test ! -s conftest.err'
87434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87435   (eval $ac_try) 2>&5
87436   ac_status=$?
87437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87438   (exit $ac_status); }; } &&
87439          { ac_try='test -s conftest.$ac_objext'
87440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87441   (eval $ac_try) 2>&5
87442   ac_status=$?
87443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87444   (exit $ac_status); }; }; then
87445   glibcxx_cv_func__isnan_use=yes
87446 else
87447   echo "$as_me: failed program was:" >&5
87448 sed 's/^/| /' conftest.$ac_ext >&5
87449
87450 glibcxx_cv_func__isnan_use=no
87451 fi
87452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87453       ac_ext=c
87454 ac_cpp='$CPP $CPPFLAGS'
87455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87458
87459
87460 fi
87461
87462   fi
87463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
87464 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
87465
87466     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
87467
87468 for ac_func in _isnan
87469 do
87470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87471 echo "$as_me:$LINENO: checking for $ac_func" >&5
87472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87473 if eval "test \"\${$as_ac_var+set}\" = set"; then
87474   echo $ECHO_N "(cached) $ECHO_C" >&6
87475 else
87476   if test x$gcc_no_link = xyes; then
87477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87479    { (exit 1); exit 1; }; }
87480 fi
87481 cat >conftest.$ac_ext <<_ACEOF
87482 /* confdefs.h.  */
87483 _ACEOF
87484 cat confdefs.h >>conftest.$ac_ext
87485 cat >>conftest.$ac_ext <<_ACEOF
87486 /* end confdefs.h.  */
87487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87489 #define $ac_func innocuous_$ac_func
87490
87491 /* System header to define __stub macros and hopefully few prototypes,
87492     which can conflict with char $ac_func (); below.
87493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87494     <limits.h> exists even on freestanding compilers.  */
87495
87496 #ifdef __STDC__
87497 # include <limits.h>
87498 #else
87499 # include <assert.h>
87500 #endif
87501
87502 #undef $ac_func
87503
87504 /* Override any gcc2 internal prototype to avoid an error.  */
87505 #ifdef __cplusplus
87506 extern "C"
87507 {
87508 #endif
87509 /* We use char because int might match the return type of a gcc2
87510    builtin and then its argument prototype would still apply.  */
87511 char $ac_func ();
87512 /* The GNU C library defines this for functions which it implements
87513     to always fail with ENOSYS.  Some functions are actually named
87514     something starting with __ and the normal name is an alias.  */
87515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87516 choke me
87517 #else
87518 char (*f) () = $ac_func;
87519 #endif
87520 #ifdef __cplusplus
87521 }
87522 #endif
87523
87524 int
87525 main ()
87526 {
87527 return f != $ac_func;
87528   ;
87529   return 0;
87530 }
87531 _ACEOF
87532 rm -f conftest.$ac_objext conftest$ac_exeext
87533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87534   (eval $ac_link) 2>conftest.er1
87535   ac_status=$?
87536   grep -v '^ *+' conftest.er1 >conftest.err
87537   rm -f conftest.er1
87538   cat conftest.err >&5
87539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540   (exit $ac_status); } &&
87541          { ac_try='test -z "$ac_c_werror_flag"
87542                          || test ! -s conftest.err'
87543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544   (eval $ac_try) 2>&5
87545   ac_status=$?
87546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547   (exit $ac_status); }; } &&
87548          { ac_try='test -s conftest$ac_exeext'
87549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87550   (eval $ac_try) 2>&5
87551   ac_status=$?
87552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553   (exit $ac_status); }; }; then
87554   eval "$as_ac_var=yes"
87555 else
87556   echo "$as_me: failed program was:" >&5
87557 sed 's/^/| /' conftest.$ac_ext >&5
87558
87559 eval "$as_ac_var=no"
87560 fi
87561 rm -f conftest.err conftest.$ac_objext \
87562       conftest$ac_exeext conftest.$ac_ext
87563 fi
87564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87566 if test `eval echo '${'$as_ac_var'}'` = yes; then
87567   cat >>confdefs.h <<_ACEOF
87568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87569 _ACEOF
87570
87571 fi
87572 done
87573
87574     fi
87575   fi
87576
87577
87578
87579
87580
87581
87582   echo "$as_me:$LINENO: checking for finite declaration" >&5
87583 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
87584   if test x${glibcxx_cv_func_finite_use+set} != xset; then
87585     if test "${glibcxx_cv_func_finite_use+set}" = set; then
87586   echo $ECHO_N "(cached) $ECHO_C" >&6
87587 else
87588
87589
87590
87591       ac_ext=cc
87592 ac_cpp='$CXXCPP $CPPFLAGS'
87593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87596
87597       cat >conftest.$ac_ext <<_ACEOF
87598 /* confdefs.h.  */
87599 _ACEOF
87600 cat confdefs.h >>conftest.$ac_ext
87601 cat >>conftest.$ac_ext <<_ACEOF
87602 /* end confdefs.h.  */
87603 #include <math.h>
87604                       #ifdef HAVE_IEEEFP_H
87605                       #include <ieeefp.h>
87606                       #endif
87607
87608 int
87609 main ()
87610 {
87611  finite(0);
87612   ;
87613   return 0;
87614 }
87615 _ACEOF
87616 rm -f conftest.$ac_objext
87617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87618   (eval $ac_compile) 2>conftest.er1
87619   ac_status=$?
87620   grep -v '^ *+' conftest.er1 >conftest.err
87621   rm -f conftest.er1
87622   cat conftest.err >&5
87623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87624   (exit $ac_status); } &&
87625          { ac_try='test -z "$ac_cxx_werror_flag"
87626                          || test ! -s conftest.err'
87627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87628   (eval $ac_try) 2>&5
87629   ac_status=$?
87630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87631   (exit $ac_status); }; } &&
87632          { ac_try='test -s conftest.$ac_objext'
87633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87634   (eval $ac_try) 2>&5
87635   ac_status=$?
87636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87637   (exit $ac_status); }; }; then
87638   glibcxx_cv_func_finite_use=yes
87639 else
87640   echo "$as_me: failed program was:" >&5
87641 sed 's/^/| /' conftest.$ac_ext >&5
87642
87643 glibcxx_cv_func_finite_use=no
87644 fi
87645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87646       ac_ext=c
87647 ac_cpp='$CPP $CPPFLAGS'
87648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87651
87652
87653 fi
87654
87655   fi
87656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
87657 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
87658
87659   if test x$glibcxx_cv_func_finite_use = x"yes"; then
87660
87661 for ac_func in finite
87662 do
87663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87664 echo "$as_me:$LINENO: checking for $ac_func" >&5
87665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87666 if eval "test \"\${$as_ac_var+set}\" = set"; then
87667   echo $ECHO_N "(cached) $ECHO_C" >&6
87668 else
87669   if test x$gcc_no_link = xyes; then
87670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87672    { (exit 1); exit 1; }; }
87673 fi
87674 cat >conftest.$ac_ext <<_ACEOF
87675 /* confdefs.h.  */
87676 _ACEOF
87677 cat confdefs.h >>conftest.$ac_ext
87678 cat >>conftest.$ac_ext <<_ACEOF
87679 /* end confdefs.h.  */
87680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87682 #define $ac_func innocuous_$ac_func
87683
87684 /* System header to define __stub macros and hopefully few prototypes,
87685     which can conflict with char $ac_func (); below.
87686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87687     <limits.h> exists even on freestanding compilers.  */
87688
87689 #ifdef __STDC__
87690 # include <limits.h>
87691 #else
87692 # include <assert.h>
87693 #endif
87694
87695 #undef $ac_func
87696
87697 /* Override any gcc2 internal prototype to avoid an error.  */
87698 #ifdef __cplusplus
87699 extern "C"
87700 {
87701 #endif
87702 /* We use char because int might match the return type of a gcc2
87703    builtin and then its argument prototype would still apply.  */
87704 char $ac_func ();
87705 /* The GNU C library defines this for functions which it implements
87706     to always fail with ENOSYS.  Some functions are actually named
87707     something starting with __ and the normal name is an alias.  */
87708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87709 choke me
87710 #else
87711 char (*f) () = $ac_func;
87712 #endif
87713 #ifdef __cplusplus
87714 }
87715 #endif
87716
87717 int
87718 main ()
87719 {
87720 return f != $ac_func;
87721   ;
87722   return 0;
87723 }
87724 _ACEOF
87725 rm -f conftest.$ac_objext conftest$ac_exeext
87726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87727   (eval $ac_link) 2>conftest.er1
87728   ac_status=$?
87729   grep -v '^ *+' conftest.er1 >conftest.err
87730   rm -f conftest.er1
87731   cat conftest.err >&5
87732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87733   (exit $ac_status); } &&
87734          { ac_try='test -z "$ac_c_werror_flag"
87735                          || test ! -s conftest.err'
87736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87737   (eval $ac_try) 2>&5
87738   ac_status=$?
87739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87740   (exit $ac_status); }; } &&
87741          { ac_try='test -s conftest$ac_exeext'
87742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87743   (eval $ac_try) 2>&5
87744   ac_status=$?
87745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746   (exit $ac_status); }; }; then
87747   eval "$as_ac_var=yes"
87748 else
87749   echo "$as_me: failed program was:" >&5
87750 sed 's/^/| /' conftest.$ac_ext >&5
87751
87752 eval "$as_ac_var=no"
87753 fi
87754 rm -f conftest.err conftest.$ac_objext \
87755       conftest$ac_exeext conftest.$ac_ext
87756 fi
87757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87759 if test `eval echo '${'$as_ac_var'}'` = yes; then
87760   cat >>confdefs.h <<_ACEOF
87761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87762 _ACEOF
87763
87764 fi
87765 done
87766
87767   else
87768
87769   echo "$as_me:$LINENO: checking for _finite declaration" >&5
87770 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
87771   if test x${glibcxx_cv_func__finite_use+set} != xset; then
87772     if test "${glibcxx_cv_func__finite_use+set}" = set; then
87773   echo $ECHO_N "(cached) $ECHO_C" >&6
87774 else
87775
87776
87777
87778       ac_ext=cc
87779 ac_cpp='$CXXCPP $CPPFLAGS'
87780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87783
87784       cat >conftest.$ac_ext <<_ACEOF
87785 /* confdefs.h.  */
87786 _ACEOF
87787 cat confdefs.h >>conftest.$ac_ext
87788 cat >>conftest.$ac_ext <<_ACEOF
87789 /* end confdefs.h.  */
87790 #include <math.h>
87791                       #ifdef HAVE_IEEEFP_H
87792                       #include <ieeefp.h>
87793                       #endif
87794
87795 int
87796 main ()
87797 {
87798  _finite(0);
87799   ;
87800   return 0;
87801 }
87802 _ACEOF
87803 rm -f conftest.$ac_objext
87804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87805   (eval $ac_compile) 2>conftest.er1
87806   ac_status=$?
87807   grep -v '^ *+' conftest.er1 >conftest.err
87808   rm -f conftest.er1
87809   cat conftest.err >&5
87810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87811   (exit $ac_status); } &&
87812          { ac_try='test -z "$ac_cxx_werror_flag"
87813                          || test ! -s conftest.err'
87814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87815   (eval $ac_try) 2>&5
87816   ac_status=$?
87817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87818   (exit $ac_status); }; } &&
87819          { ac_try='test -s conftest.$ac_objext'
87820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87821   (eval $ac_try) 2>&5
87822   ac_status=$?
87823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87824   (exit $ac_status); }; }; then
87825   glibcxx_cv_func__finite_use=yes
87826 else
87827   echo "$as_me: failed program was:" >&5
87828 sed 's/^/| /' conftest.$ac_ext >&5
87829
87830 glibcxx_cv_func__finite_use=no
87831 fi
87832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87833       ac_ext=c
87834 ac_cpp='$CPP $CPPFLAGS'
87835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87838
87839
87840 fi
87841
87842   fi
87843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
87844 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
87845
87846     if test x$glibcxx_cv_func__finite_use = x"yes"; then
87847
87848 for ac_func in _finite
87849 do
87850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87851 echo "$as_me:$LINENO: checking for $ac_func" >&5
87852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87853 if eval "test \"\${$as_ac_var+set}\" = set"; then
87854   echo $ECHO_N "(cached) $ECHO_C" >&6
87855 else
87856   if test x$gcc_no_link = xyes; then
87857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87859    { (exit 1); exit 1; }; }
87860 fi
87861 cat >conftest.$ac_ext <<_ACEOF
87862 /* confdefs.h.  */
87863 _ACEOF
87864 cat confdefs.h >>conftest.$ac_ext
87865 cat >>conftest.$ac_ext <<_ACEOF
87866 /* end confdefs.h.  */
87867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87869 #define $ac_func innocuous_$ac_func
87870
87871 /* System header to define __stub macros and hopefully few prototypes,
87872     which can conflict with char $ac_func (); below.
87873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87874     <limits.h> exists even on freestanding compilers.  */
87875
87876 #ifdef __STDC__
87877 # include <limits.h>
87878 #else
87879 # include <assert.h>
87880 #endif
87881
87882 #undef $ac_func
87883
87884 /* Override any gcc2 internal prototype to avoid an error.  */
87885 #ifdef __cplusplus
87886 extern "C"
87887 {
87888 #endif
87889 /* We use char because int might match the return type of a gcc2
87890    builtin and then its argument prototype would still apply.  */
87891 char $ac_func ();
87892 /* The GNU C library defines this for functions which it implements
87893     to always fail with ENOSYS.  Some functions are actually named
87894     something starting with __ and the normal name is an alias.  */
87895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87896 choke me
87897 #else
87898 char (*f) () = $ac_func;
87899 #endif
87900 #ifdef __cplusplus
87901 }
87902 #endif
87903
87904 int
87905 main ()
87906 {
87907 return f != $ac_func;
87908   ;
87909   return 0;
87910 }
87911 _ACEOF
87912 rm -f conftest.$ac_objext conftest$ac_exeext
87913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87914   (eval $ac_link) 2>conftest.er1
87915   ac_status=$?
87916   grep -v '^ *+' conftest.er1 >conftest.err
87917   rm -f conftest.er1
87918   cat conftest.err >&5
87919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87920   (exit $ac_status); } &&
87921          { ac_try='test -z "$ac_c_werror_flag"
87922                          || test ! -s conftest.err'
87923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87924   (eval $ac_try) 2>&5
87925   ac_status=$?
87926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927   (exit $ac_status); }; } &&
87928          { ac_try='test -s conftest$ac_exeext'
87929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87930   (eval $ac_try) 2>&5
87931   ac_status=$?
87932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87933   (exit $ac_status); }; }; then
87934   eval "$as_ac_var=yes"
87935 else
87936   echo "$as_me: failed program was:" >&5
87937 sed 's/^/| /' conftest.$ac_ext >&5
87938
87939 eval "$as_ac_var=no"
87940 fi
87941 rm -f conftest.err conftest.$ac_objext \
87942       conftest$ac_exeext conftest.$ac_ext
87943 fi
87944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87946 if test `eval echo '${'$as_ac_var'}'` = yes; then
87947   cat >>confdefs.h <<_ACEOF
87948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87949 _ACEOF
87950
87951 fi
87952 done
87953
87954     fi
87955   fi
87956
87957
87958
87959
87960
87961
87962   echo "$as_me:$LINENO: checking for copysign declaration" >&5
87963 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
87964   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
87965     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
87966   echo $ECHO_N "(cached) $ECHO_C" >&6
87967 else
87968
87969
87970
87971       ac_ext=cc
87972 ac_cpp='$CXXCPP $CPPFLAGS'
87973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87976
87977       cat >conftest.$ac_ext <<_ACEOF
87978 /* confdefs.h.  */
87979 _ACEOF
87980 cat confdefs.h >>conftest.$ac_ext
87981 cat >>conftest.$ac_ext <<_ACEOF
87982 /* end confdefs.h.  */
87983 #include <math.h>
87984 int
87985 main ()
87986 {
87987  copysign(0, 0);
87988   ;
87989   return 0;
87990 }
87991 _ACEOF
87992 rm -f conftest.$ac_objext
87993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87994   (eval $ac_compile) 2>conftest.er1
87995   ac_status=$?
87996   grep -v '^ *+' conftest.er1 >conftest.err
87997   rm -f conftest.er1
87998   cat conftest.err >&5
87999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88000   (exit $ac_status); } &&
88001          { ac_try='test -z "$ac_cxx_werror_flag"
88002                          || test ! -s conftest.err'
88003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88004   (eval $ac_try) 2>&5
88005   ac_status=$?
88006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88007   (exit $ac_status); }; } &&
88008          { ac_try='test -s conftest.$ac_objext'
88009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88010   (eval $ac_try) 2>&5
88011   ac_status=$?
88012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88013   (exit $ac_status); }; }; then
88014   glibcxx_cv_func_copysign_use=yes
88015 else
88016   echo "$as_me: failed program was:" >&5
88017 sed 's/^/| /' conftest.$ac_ext >&5
88018
88019 glibcxx_cv_func_copysign_use=no
88020 fi
88021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88022       ac_ext=c
88023 ac_cpp='$CPP $CPPFLAGS'
88024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88027
88028
88029 fi
88030
88031   fi
88032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88033 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88034
88035   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88036
88037 for ac_func in copysign
88038 do
88039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88040 echo "$as_me:$LINENO: checking for $ac_func" >&5
88041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88042 if eval "test \"\${$as_ac_var+set}\" = set"; then
88043   echo $ECHO_N "(cached) $ECHO_C" >&6
88044 else
88045   if test x$gcc_no_link = xyes; then
88046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88048    { (exit 1); exit 1; }; }
88049 fi
88050 cat >conftest.$ac_ext <<_ACEOF
88051 /* confdefs.h.  */
88052 _ACEOF
88053 cat confdefs.h >>conftest.$ac_ext
88054 cat >>conftest.$ac_ext <<_ACEOF
88055 /* end confdefs.h.  */
88056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88058 #define $ac_func innocuous_$ac_func
88059
88060 /* System header to define __stub macros and hopefully few prototypes,
88061     which can conflict with char $ac_func (); below.
88062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88063     <limits.h> exists even on freestanding compilers.  */
88064
88065 #ifdef __STDC__
88066 # include <limits.h>
88067 #else
88068 # include <assert.h>
88069 #endif
88070
88071 #undef $ac_func
88072
88073 /* Override any gcc2 internal prototype to avoid an error.  */
88074 #ifdef __cplusplus
88075 extern "C"
88076 {
88077 #endif
88078 /* We use char because int might match the return type of a gcc2
88079    builtin and then its argument prototype would still apply.  */
88080 char $ac_func ();
88081 /* The GNU C library defines this for functions which it implements
88082     to always fail with ENOSYS.  Some functions are actually named
88083     something starting with __ and the normal name is an alias.  */
88084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88085 choke me
88086 #else
88087 char (*f) () = $ac_func;
88088 #endif
88089 #ifdef __cplusplus
88090 }
88091 #endif
88092
88093 int
88094 main ()
88095 {
88096 return f != $ac_func;
88097   ;
88098   return 0;
88099 }
88100 _ACEOF
88101 rm -f conftest.$ac_objext conftest$ac_exeext
88102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88103   (eval $ac_link) 2>conftest.er1
88104   ac_status=$?
88105   grep -v '^ *+' conftest.er1 >conftest.err
88106   rm -f conftest.er1
88107   cat conftest.err >&5
88108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88109   (exit $ac_status); } &&
88110          { ac_try='test -z "$ac_c_werror_flag"
88111                          || test ! -s conftest.err'
88112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88113   (eval $ac_try) 2>&5
88114   ac_status=$?
88115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88116   (exit $ac_status); }; } &&
88117          { ac_try='test -s conftest$ac_exeext'
88118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88119   (eval $ac_try) 2>&5
88120   ac_status=$?
88121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88122   (exit $ac_status); }; }; then
88123   eval "$as_ac_var=yes"
88124 else
88125   echo "$as_me: failed program was:" >&5
88126 sed 's/^/| /' conftest.$ac_ext >&5
88127
88128 eval "$as_ac_var=no"
88129 fi
88130 rm -f conftest.err conftest.$ac_objext \
88131       conftest$ac_exeext conftest.$ac_ext
88132 fi
88133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88135 if test `eval echo '${'$as_ac_var'}'` = yes; then
88136   cat >>confdefs.h <<_ACEOF
88137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88138 _ACEOF
88139
88140 fi
88141 done
88142
88143   else
88144
88145   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88146 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88147   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88148     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88149   echo $ECHO_N "(cached) $ECHO_C" >&6
88150 else
88151
88152
88153
88154       ac_ext=cc
88155 ac_cpp='$CXXCPP $CPPFLAGS'
88156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88159
88160       cat >conftest.$ac_ext <<_ACEOF
88161 /* confdefs.h.  */
88162 _ACEOF
88163 cat confdefs.h >>conftest.$ac_ext
88164 cat >>conftest.$ac_ext <<_ACEOF
88165 /* end confdefs.h.  */
88166 #include <math.h>
88167 int
88168 main ()
88169 {
88170  _copysign(0, 0);
88171   ;
88172   return 0;
88173 }
88174 _ACEOF
88175 rm -f conftest.$ac_objext
88176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88177   (eval $ac_compile) 2>conftest.er1
88178   ac_status=$?
88179   grep -v '^ *+' conftest.er1 >conftest.err
88180   rm -f conftest.er1
88181   cat conftest.err >&5
88182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88183   (exit $ac_status); } &&
88184          { ac_try='test -z "$ac_cxx_werror_flag"
88185                          || test ! -s conftest.err'
88186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88187   (eval $ac_try) 2>&5
88188   ac_status=$?
88189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88190   (exit $ac_status); }; } &&
88191          { ac_try='test -s conftest.$ac_objext'
88192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88193   (eval $ac_try) 2>&5
88194   ac_status=$?
88195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88196   (exit $ac_status); }; }; then
88197   glibcxx_cv_func__copysign_use=yes
88198 else
88199   echo "$as_me: failed program was:" >&5
88200 sed 's/^/| /' conftest.$ac_ext >&5
88201
88202 glibcxx_cv_func__copysign_use=no
88203 fi
88204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88205       ac_ext=c
88206 ac_cpp='$CPP $CPPFLAGS'
88207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88210
88211
88212 fi
88213
88214   fi
88215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88216 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88217
88218     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88219
88220 for ac_func in _copysign
88221 do
88222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88223 echo "$as_me:$LINENO: checking for $ac_func" >&5
88224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88225 if eval "test \"\${$as_ac_var+set}\" = set"; then
88226   echo $ECHO_N "(cached) $ECHO_C" >&6
88227 else
88228   if test x$gcc_no_link = xyes; then
88229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88231    { (exit 1); exit 1; }; }
88232 fi
88233 cat >conftest.$ac_ext <<_ACEOF
88234 /* confdefs.h.  */
88235 _ACEOF
88236 cat confdefs.h >>conftest.$ac_ext
88237 cat >>conftest.$ac_ext <<_ACEOF
88238 /* end confdefs.h.  */
88239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88241 #define $ac_func innocuous_$ac_func
88242
88243 /* System header to define __stub macros and hopefully few prototypes,
88244     which can conflict with char $ac_func (); below.
88245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88246     <limits.h> exists even on freestanding compilers.  */
88247
88248 #ifdef __STDC__
88249 # include <limits.h>
88250 #else
88251 # include <assert.h>
88252 #endif
88253
88254 #undef $ac_func
88255
88256 /* Override any gcc2 internal prototype to avoid an error.  */
88257 #ifdef __cplusplus
88258 extern "C"
88259 {
88260 #endif
88261 /* We use char because int might match the return type of a gcc2
88262    builtin and then its argument prototype would still apply.  */
88263 char $ac_func ();
88264 /* The GNU C library defines this for functions which it implements
88265     to always fail with ENOSYS.  Some functions are actually named
88266     something starting with __ and the normal name is an alias.  */
88267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88268 choke me
88269 #else
88270 char (*f) () = $ac_func;
88271 #endif
88272 #ifdef __cplusplus
88273 }
88274 #endif
88275
88276 int
88277 main ()
88278 {
88279 return f != $ac_func;
88280   ;
88281   return 0;
88282 }
88283 _ACEOF
88284 rm -f conftest.$ac_objext conftest$ac_exeext
88285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88286   (eval $ac_link) 2>conftest.er1
88287   ac_status=$?
88288   grep -v '^ *+' conftest.er1 >conftest.err
88289   rm -f conftest.er1
88290   cat conftest.err >&5
88291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292   (exit $ac_status); } &&
88293          { ac_try='test -z "$ac_c_werror_flag"
88294                          || test ! -s conftest.err'
88295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88296   (eval $ac_try) 2>&5
88297   ac_status=$?
88298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88299   (exit $ac_status); }; } &&
88300          { ac_try='test -s conftest$ac_exeext'
88301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88302   (eval $ac_try) 2>&5
88303   ac_status=$?
88304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88305   (exit $ac_status); }; }; then
88306   eval "$as_ac_var=yes"
88307 else
88308   echo "$as_me: failed program was:" >&5
88309 sed 's/^/| /' conftest.$ac_ext >&5
88310
88311 eval "$as_ac_var=no"
88312 fi
88313 rm -f conftest.err conftest.$ac_objext \
88314       conftest$ac_exeext conftest.$ac_ext
88315 fi
88316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88318 if test `eval echo '${'$as_ac_var'}'` = yes; then
88319   cat >>confdefs.h <<_ACEOF
88320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88321 _ACEOF
88322
88323 fi
88324 done
88325
88326     fi
88327   fi
88328
88329
88330
88331
88332
88333
88334   echo "$as_me:$LINENO: checking for sincos declaration" >&5
88335 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
88336   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
88337     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
88338   echo $ECHO_N "(cached) $ECHO_C" >&6
88339 else
88340
88341
88342
88343       ac_ext=cc
88344 ac_cpp='$CXXCPP $CPPFLAGS'
88345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88348
88349       cat >conftest.$ac_ext <<_ACEOF
88350 /* confdefs.h.  */
88351 _ACEOF
88352 cat confdefs.h >>conftest.$ac_ext
88353 cat >>conftest.$ac_ext <<_ACEOF
88354 /* end confdefs.h.  */
88355 #include <math.h>
88356 int
88357 main ()
88358 {
88359  sincos(0, 0, 0);
88360   ;
88361   return 0;
88362 }
88363 _ACEOF
88364 rm -f conftest.$ac_objext
88365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88366   (eval $ac_compile) 2>conftest.er1
88367   ac_status=$?
88368   grep -v '^ *+' conftest.er1 >conftest.err
88369   rm -f conftest.er1
88370   cat conftest.err >&5
88371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88372   (exit $ac_status); } &&
88373          { ac_try='test -z "$ac_cxx_werror_flag"
88374                          || test ! -s conftest.err'
88375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88376   (eval $ac_try) 2>&5
88377   ac_status=$?
88378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88379   (exit $ac_status); }; } &&
88380          { ac_try='test -s conftest.$ac_objext'
88381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88382   (eval $ac_try) 2>&5
88383   ac_status=$?
88384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88385   (exit $ac_status); }; }; then
88386   glibcxx_cv_func_sincos_use=yes
88387 else
88388   echo "$as_me: failed program was:" >&5
88389 sed 's/^/| /' conftest.$ac_ext >&5
88390
88391 glibcxx_cv_func_sincos_use=no
88392 fi
88393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88394       ac_ext=c
88395 ac_cpp='$CPP $CPPFLAGS'
88396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88399
88400
88401 fi
88402
88403   fi
88404   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
88405 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
88406
88407   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
88408
88409 for ac_func in sincos
88410 do
88411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88412 echo "$as_me:$LINENO: checking for $ac_func" >&5
88413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88414 if eval "test \"\${$as_ac_var+set}\" = set"; then
88415   echo $ECHO_N "(cached) $ECHO_C" >&6
88416 else
88417   if test x$gcc_no_link = xyes; then
88418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88420    { (exit 1); exit 1; }; }
88421 fi
88422 cat >conftest.$ac_ext <<_ACEOF
88423 /* confdefs.h.  */
88424 _ACEOF
88425 cat confdefs.h >>conftest.$ac_ext
88426 cat >>conftest.$ac_ext <<_ACEOF
88427 /* end confdefs.h.  */
88428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88430 #define $ac_func innocuous_$ac_func
88431
88432 /* System header to define __stub macros and hopefully few prototypes,
88433     which can conflict with char $ac_func (); below.
88434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88435     <limits.h> exists even on freestanding compilers.  */
88436
88437 #ifdef __STDC__
88438 # include <limits.h>
88439 #else
88440 # include <assert.h>
88441 #endif
88442
88443 #undef $ac_func
88444
88445 /* Override any gcc2 internal prototype to avoid an error.  */
88446 #ifdef __cplusplus
88447 extern "C"
88448 {
88449 #endif
88450 /* We use char because int might match the return type of a gcc2
88451    builtin and then its argument prototype would still apply.  */
88452 char $ac_func ();
88453 /* The GNU C library defines this for functions which it implements
88454     to always fail with ENOSYS.  Some functions are actually named
88455     something starting with __ and the normal name is an alias.  */
88456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88457 choke me
88458 #else
88459 char (*f) () = $ac_func;
88460 #endif
88461 #ifdef __cplusplus
88462 }
88463 #endif
88464
88465 int
88466 main ()
88467 {
88468 return f != $ac_func;
88469   ;
88470   return 0;
88471 }
88472 _ACEOF
88473 rm -f conftest.$ac_objext conftest$ac_exeext
88474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88475   (eval $ac_link) 2>conftest.er1
88476   ac_status=$?
88477   grep -v '^ *+' conftest.er1 >conftest.err
88478   rm -f conftest.er1
88479   cat conftest.err >&5
88480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481   (exit $ac_status); } &&
88482          { ac_try='test -z "$ac_c_werror_flag"
88483                          || test ! -s conftest.err'
88484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88485   (eval $ac_try) 2>&5
88486   ac_status=$?
88487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88488   (exit $ac_status); }; } &&
88489          { ac_try='test -s conftest$ac_exeext'
88490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491   (eval $ac_try) 2>&5
88492   ac_status=$?
88493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494   (exit $ac_status); }; }; then
88495   eval "$as_ac_var=yes"
88496 else
88497   echo "$as_me: failed program was:" >&5
88498 sed 's/^/| /' conftest.$ac_ext >&5
88499
88500 eval "$as_ac_var=no"
88501 fi
88502 rm -f conftest.err conftest.$ac_objext \
88503       conftest$ac_exeext conftest.$ac_ext
88504 fi
88505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88507 if test `eval echo '${'$as_ac_var'}'` = yes; then
88508   cat >>confdefs.h <<_ACEOF
88509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88510 _ACEOF
88511
88512 fi
88513 done
88514
88515   else
88516
88517   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
88518 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
88519   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
88520     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
88521   echo $ECHO_N "(cached) $ECHO_C" >&6
88522 else
88523
88524
88525
88526       ac_ext=cc
88527 ac_cpp='$CXXCPP $CPPFLAGS'
88528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88531
88532       cat >conftest.$ac_ext <<_ACEOF
88533 /* confdefs.h.  */
88534 _ACEOF
88535 cat confdefs.h >>conftest.$ac_ext
88536 cat >>conftest.$ac_ext <<_ACEOF
88537 /* end confdefs.h.  */
88538 #include <math.h>
88539 int
88540 main ()
88541 {
88542  _sincos(0, 0, 0);
88543   ;
88544   return 0;
88545 }
88546 _ACEOF
88547 rm -f conftest.$ac_objext
88548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88549   (eval $ac_compile) 2>conftest.er1
88550   ac_status=$?
88551   grep -v '^ *+' conftest.er1 >conftest.err
88552   rm -f conftest.er1
88553   cat conftest.err >&5
88554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88555   (exit $ac_status); } &&
88556          { ac_try='test -z "$ac_cxx_werror_flag"
88557                          || test ! -s conftest.err'
88558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88559   (eval $ac_try) 2>&5
88560   ac_status=$?
88561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88562   (exit $ac_status); }; } &&
88563          { ac_try='test -s conftest.$ac_objext'
88564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88565   (eval $ac_try) 2>&5
88566   ac_status=$?
88567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568   (exit $ac_status); }; }; then
88569   glibcxx_cv_func__sincos_use=yes
88570 else
88571   echo "$as_me: failed program was:" >&5
88572 sed 's/^/| /' conftest.$ac_ext >&5
88573
88574 glibcxx_cv_func__sincos_use=no
88575 fi
88576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88577       ac_ext=c
88578 ac_cpp='$CPP $CPPFLAGS'
88579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88582
88583
88584 fi
88585
88586   fi
88587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
88588 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
88589
88590     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
88591
88592 for ac_func in _sincos
88593 do
88594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88595 echo "$as_me:$LINENO: checking for $ac_func" >&5
88596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88597 if eval "test \"\${$as_ac_var+set}\" = set"; then
88598   echo $ECHO_N "(cached) $ECHO_C" >&6
88599 else
88600   if test x$gcc_no_link = xyes; then
88601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88603    { (exit 1); exit 1; }; }
88604 fi
88605 cat >conftest.$ac_ext <<_ACEOF
88606 /* confdefs.h.  */
88607 _ACEOF
88608 cat confdefs.h >>conftest.$ac_ext
88609 cat >>conftest.$ac_ext <<_ACEOF
88610 /* end confdefs.h.  */
88611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88613 #define $ac_func innocuous_$ac_func
88614
88615 /* System header to define __stub macros and hopefully few prototypes,
88616     which can conflict with char $ac_func (); below.
88617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88618     <limits.h> exists even on freestanding compilers.  */
88619
88620 #ifdef __STDC__
88621 # include <limits.h>
88622 #else
88623 # include <assert.h>
88624 #endif
88625
88626 #undef $ac_func
88627
88628 /* Override any gcc2 internal prototype to avoid an error.  */
88629 #ifdef __cplusplus
88630 extern "C"
88631 {
88632 #endif
88633 /* We use char because int might match the return type of a gcc2
88634    builtin and then its argument prototype would still apply.  */
88635 char $ac_func ();
88636 /* The GNU C library defines this for functions which it implements
88637     to always fail with ENOSYS.  Some functions are actually named
88638     something starting with __ and the normal name is an alias.  */
88639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88640 choke me
88641 #else
88642 char (*f) () = $ac_func;
88643 #endif
88644 #ifdef __cplusplus
88645 }
88646 #endif
88647
88648 int
88649 main ()
88650 {
88651 return f != $ac_func;
88652   ;
88653   return 0;
88654 }
88655 _ACEOF
88656 rm -f conftest.$ac_objext conftest$ac_exeext
88657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88658   (eval $ac_link) 2>conftest.er1
88659   ac_status=$?
88660   grep -v '^ *+' conftest.er1 >conftest.err
88661   rm -f conftest.er1
88662   cat conftest.err >&5
88663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88664   (exit $ac_status); } &&
88665          { ac_try='test -z "$ac_c_werror_flag"
88666                          || test ! -s conftest.err'
88667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88668   (eval $ac_try) 2>&5
88669   ac_status=$?
88670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88671   (exit $ac_status); }; } &&
88672          { ac_try='test -s conftest$ac_exeext'
88673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88674   (eval $ac_try) 2>&5
88675   ac_status=$?
88676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677   (exit $ac_status); }; }; then
88678   eval "$as_ac_var=yes"
88679 else
88680   echo "$as_me: failed program was:" >&5
88681 sed 's/^/| /' conftest.$ac_ext >&5
88682
88683 eval "$as_ac_var=no"
88684 fi
88685 rm -f conftest.err conftest.$ac_objext \
88686       conftest$ac_exeext conftest.$ac_ext
88687 fi
88688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88690 if test `eval echo '${'$as_ac_var'}'` = yes; then
88691   cat >>confdefs.h <<_ACEOF
88692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88693 _ACEOF
88694
88695 fi
88696 done
88697
88698     fi
88699   fi
88700
88701
88702
88703
88704
88705
88706   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
88707 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
88708   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
88709     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
88710   echo $ECHO_N "(cached) $ECHO_C" >&6
88711 else
88712
88713
88714
88715       ac_ext=cc
88716 ac_cpp='$CXXCPP $CPPFLAGS'
88717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88720
88721       cat >conftest.$ac_ext <<_ACEOF
88722 /* confdefs.h.  */
88723 _ACEOF
88724 cat confdefs.h >>conftest.$ac_ext
88725 cat >>conftest.$ac_ext <<_ACEOF
88726 /* end confdefs.h.  */
88727 #include <math.h>
88728                       #ifdef HAVE_IEEEFP_H
88729                       #include <ieeefp.h>
88730                       #endif
88731
88732 int
88733 main ()
88734 {
88735  fpclass(0);
88736   ;
88737   return 0;
88738 }
88739 _ACEOF
88740 rm -f conftest.$ac_objext
88741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88742   (eval $ac_compile) 2>conftest.er1
88743   ac_status=$?
88744   grep -v '^ *+' conftest.er1 >conftest.err
88745   rm -f conftest.er1
88746   cat conftest.err >&5
88747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88748   (exit $ac_status); } &&
88749          { ac_try='test -z "$ac_cxx_werror_flag"
88750                          || test ! -s conftest.err'
88751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88752   (eval $ac_try) 2>&5
88753   ac_status=$?
88754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88755   (exit $ac_status); }; } &&
88756          { ac_try='test -s conftest.$ac_objext'
88757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88758   (eval $ac_try) 2>&5
88759   ac_status=$?
88760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88761   (exit $ac_status); }; }; then
88762   glibcxx_cv_func_fpclass_use=yes
88763 else
88764   echo "$as_me: failed program was:" >&5
88765 sed 's/^/| /' conftest.$ac_ext >&5
88766
88767 glibcxx_cv_func_fpclass_use=no
88768 fi
88769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88770       ac_ext=c
88771 ac_cpp='$CPP $CPPFLAGS'
88772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88775
88776
88777 fi
88778
88779   fi
88780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
88781 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
88782
88783   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
88784
88785 for ac_func in fpclass
88786 do
88787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88788 echo "$as_me:$LINENO: checking for $ac_func" >&5
88789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88790 if eval "test \"\${$as_ac_var+set}\" = set"; then
88791   echo $ECHO_N "(cached) $ECHO_C" >&6
88792 else
88793   if test x$gcc_no_link = xyes; then
88794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88796    { (exit 1); exit 1; }; }
88797 fi
88798 cat >conftest.$ac_ext <<_ACEOF
88799 /* confdefs.h.  */
88800 _ACEOF
88801 cat confdefs.h >>conftest.$ac_ext
88802 cat >>conftest.$ac_ext <<_ACEOF
88803 /* end confdefs.h.  */
88804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88806 #define $ac_func innocuous_$ac_func
88807
88808 /* System header to define __stub macros and hopefully few prototypes,
88809     which can conflict with char $ac_func (); below.
88810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88811     <limits.h> exists even on freestanding compilers.  */
88812
88813 #ifdef __STDC__
88814 # include <limits.h>
88815 #else
88816 # include <assert.h>
88817 #endif
88818
88819 #undef $ac_func
88820
88821 /* Override any gcc2 internal prototype to avoid an error.  */
88822 #ifdef __cplusplus
88823 extern "C"
88824 {
88825 #endif
88826 /* We use char because int might match the return type of a gcc2
88827    builtin and then its argument prototype would still apply.  */
88828 char $ac_func ();
88829 /* The GNU C library defines this for functions which it implements
88830     to always fail with ENOSYS.  Some functions are actually named
88831     something starting with __ and the normal name is an alias.  */
88832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88833 choke me
88834 #else
88835 char (*f) () = $ac_func;
88836 #endif
88837 #ifdef __cplusplus
88838 }
88839 #endif
88840
88841 int
88842 main ()
88843 {
88844 return f != $ac_func;
88845   ;
88846   return 0;
88847 }
88848 _ACEOF
88849 rm -f conftest.$ac_objext conftest$ac_exeext
88850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88851   (eval $ac_link) 2>conftest.er1
88852   ac_status=$?
88853   grep -v '^ *+' conftest.er1 >conftest.err
88854   rm -f conftest.er1
88855   cat conftest.err >&5
88856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88857   (exit $ac_status); } &&
88858          { ac_try='test -z "$ac_c_werror_flag"
88859                          || test ! -s conftest.err'
88860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88861   (eval $ac_try) 2>&5
88862   ac_status=$?
88863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864   (exit $ac_status); }; } &&
88865          { ac_try='test -s conftest$ac_exeext'
88866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88867   (eval $ac_try) 2>&5
88868   ac_status=$?
88869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870   (exit $ac_status); }; }; then
88871   eval "$as_ac_var=yes"
88872 else
88873   echo "$as_me: failed program was:" >&5
88874 sed 's/^/| /' conftest.$ac_ext >&5
88875
88876 eval "$as_ac_var=no"
88877 fi
88878 rm -f conftest.err conftest.$ac_objext \
88879       conftest$ac_exeext conftest.$ac_ext
88880 fi
88881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88883 if test `eval echo '${'$as_ac_var'}'` = yes; then
88884   cat >>confdefs.h <<_ACEOF
88885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88886 _ACEOF
88887
88888 fi
88889 done
88890
88891   else
88892
88893   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
88894 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
88895   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
88896     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
88897   echo $ECHO_N "(cached) $ECHO_C" >&6
88898 else
88899
88900
88901
88902       ac_ext=cc
88903 ac_cpp='$CXXCPP $CPPFLAGS'
88904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88907
88908       cat >conftest.$ac_ext <<_ACEOF
88909 /* confdefs.h.  */
88910 _ACEOF
88911 cat confdefs.h >>conftest.$ac_ext
88912 cat >>conftest.$ac_ext <<_ACEOF
88913 /* end confdefs.h.  */
88914 #include <math.h>
88915                       #ifdef HAVE_IEEEFP_H
88916                       #include <ieeefp.h>
88917                       #endif
88918
88919 int
88920 main ()
88921 {
88922  _fpclass(0);
88923   ;
88924   return 0;
88925 }
88926 _ACEOF
88927 rm -f conftest.$ac_objext
88928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88929   (eval $ac_compile) 2>conftest.er1
88930   ac_status=$?
88931   grep -v '^ *+' conftest.er1 >conftest.err
88932   rm -f conftest.er1
88933   cat conftest.err >&5
88934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88935   (exit $ac_status); } &&
88936          { ac_try='test -z "$ac_cxx_werror_flag"
88937                          || test ! -s conftest.err'
88938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88939   (eval $ac_try) 2>&5
88940   ac_status=$?
88941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942   (exit $ac_status); }; } &&
88943          { ac_try='test -s conftest.$ac_objext'
88944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88945   (eval $ac_try) 2>&5
88946   ac_status=$?
88947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88948   (exit $ac_status); }; }; then
88949   glibcxx_cv_func__fpclass_use=yes
88950 else
88951   echo "$as_me: failed program was:" >&5
88952 sed 's/^/| /' conftest.$ac_ext >&5
88953
88954 glibcxx_cv_func__fpclass_use=no
88955 fi
88956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88957       ac_ext=c
88958 ac_cpp='$CPP $CPPFLAGS'
88959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88962
88963
88964 fi
88965
88966   fi
88967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
88968 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
88969
88970     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
88971
88972 for ac_func in _fpclass
88973 do
88974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88975 echo "$as_me:$LINENO: checking for $ac_func" >&5
88976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88977 if eval "test \"\${$as_ac_var+set}\" = set"; then
88978   echo $ECHO_N "(cached) $ECHO_C" >&6
88979 else
88980   if test x$gcc_no_link = xyes; then
88981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88983    { (exit 1); exit 1; }; }
88984 fi
88985 cat >conftest.$ac_ext <<_ACEOF
88986 /* confdefs.h.  */
88987 _ACEOF
88988 cat confdefs.h >>conftest.$ac_ext
88989 cat >>conftest.$ac_ext <<_ACEOF
88990 /* end confdefs.h.  */
88991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88993 #define $ac_func innocuous_$ac_func
88994
88995 /* System header to define __stub macros and hopefully few prototypes,
88996     which can conflict with char $ac_func (); below.
88997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88998     <limits.h> exists even on freestanding compilers.  */
88999
89000 #ifdef __STDC__
89001 # include <limits.h>
89002 #else
89003 # include <assert.h>
89004 #endif
89005
89006 #undef $ac_func
89007
89008 /* Override any gcc2 internal prototype to avoid an error.  */
89009 #ifdef __cplusplus
89010 extern "C"
89011 {
89012 #endif
89013 /* We use char because int might match the return type of a gcc2
89014    builtin and then its argument prototype would still apply.  */
89015 char $ac_func ();
89016 /* The GNU C library defines this for functions which it implements
89017     to always fail with ENOSYS.  Some functions are actually named
89018     something starting with __ and the normal name is an alias.  */
89019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89020 choke me
89021 #else
89022 char (*f) () = $ac_func;
89023 #endif
89024 #ifdef __cplusplus
89025 }
89026 #endif
89027
89028 int
89029 main ()
89030 {
89031 return f != $ac_func;
89032   ;
89033   return 0;
89034 }
89035 _ACEOF
89036 rm -f conftest.$ac_objext conftest$ac_exeext
89037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89038   (eval $ac_link) 2>conftest.er1
89039   ac_status=$?
89040   grep -v '^ *+' conftest.er1 >conftest.err
89041   rm -f conftest.er1
89042   cat conftest.err >&5
89043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044   (exit $ac_status); } &&
89045          { ac_try='test -z "$ac_c_werror_flag"
89046                          || test ! -s conftest.err'
89047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048   (eval $ac_try) 2>&5
89049   ac_status=$?
89050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051   (exit $ac_status); }; } &&
89052          { ac_try='test -s conftest$ac_exeext'
89053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89054   (eval $ac_try) 2>&5
89055   ac_status=$?
89056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057   (exit $ac_status); }; }; then
89058   eval "$as_ac_var=yes"
89059 else
89060   echo "$as_me: failed program was:" >&5
89061 sed 's/^/| /' conftest.$ac_ext >&5
89062
89063 eval "$as_ac_var=no"
89064 fi
89065 rm -f conftest.err conftest.$ac_objext \
89066       conftest$ac_exeext conftest.$ac_ext
89067 fi
89068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89070 if test `eval echo '${'$as_ac_var'}'` = yes; then
89071   cat >>confdefs.h <<_ACEOF
89072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89073 _ACEOF
89074
89075 fi
89076 done
89077
89078     fi
89079   fi
89080
89081
89082
89083
89084
89085
89086   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89087 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89088   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89089     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89090   echo $ECHO_N "(cached) $ECHO_C" >&6
89091 else
89092
89093
89094
89095       ac_ext=cc
89096 ac_cpp='$CXXCPP $CPPFLAGS'
89097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89100
89101       cat >conftest.$ac_ext <<_ACEOF
89102 /* confdefs.h.  */
89103 _ACEOF
89104 cat confdefs.h >>conftest.$ac_ext
89105 cat >>conftest.$ac_ext <<_ACEOF
89106 /* end confdefs.h.  */
89107 #include <math.h>
89108                       #ifdef HAVE_IEEEFP_H
89109                       #include <ieeefp.h>
89110                       #endif
89111
89112 int
89113 main ()
89114 {
89115  qfpclass(0);
89116   ;
89117   return 0;
89118 }
89119 _ACEOF
89120 rm -f conftest.$ac_objext
89121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89122   (eval $ac_compile) 2>conftest.er1
89123   ac_status=$?
89124   grep -v '^ *+' conftest.er1 >conftest.err
89125   rm -f conftest.er1
89126   cat conftest.err >&5
89127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89128   (exit $ac_status); } &&
89129          { ac_try='test -z "$ac_cxx_werror_flag"
89130                          || test ! -s conftest.err'
89131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89132   (eval $ac_try) 2>&5
89133   ac_status=$?
89134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89135   (exit $ac_status); }; } &&
89136          { ac_try='test -s conftest.$ac_objext'
89137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89138   (eval $ac_try) 2>&5
89139   ac_status=$?
89140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89141   (exit $ac_status); }; }; then
89142   glibcxx_cv_func_qfpclass_use=yes
89143 else
89144   echo "$as_me: failed program was:" >&5
89145 sed 's/^/| /' conftest.$ac_ext >&5
89146
89147 glibcxx_cv_func_qfpclass_use=no
89148 fi
89149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89150       ac_ext=c
89151 ac_cpp='$CPP $CPPFLAGS'
89152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89155
89156
89157 fi
89158
89159   fi
89160   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89161 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89162
89163   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89164
89165 for ac_func in qfpclass
89166 do
89167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89168 echo "$as_me:$LINENO: checking for $ac_func" >&5
89169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89170 if eval "test \"\${$as_ac_var+set}\" = set"; then
89171   echo $ECHO_N "(cached) $ECHO_C" >&6
89172 else
89173   if test x$gcc_no_link = xyes; then
89174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89176    { (exit 1); exit 1; }; }
89177 fi
89178 cat >conftest.$ac_ext <<_ACEOF
89179 /* confdefs.h.  */
89180 _ACEOF
89181 cat confdefs.h >>conftest.$ac_ext
89182 cat >>conftest.$ac_ext <<_ACEOF
89183 /* end confdefs.h.  */
89184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89186 #define $ac_func innocuous_$ac_func
89187
89188 /* System header to define __stub macros and hopefully few prototypes,
89189     which can conflict with char $ac_func (); below.
89190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89191     <limits.h> exists even on freestanding compilers.  */
89192
89193 #ifdef __STDC__
89194 # include <limits.h>
89195 #else
89196 # include <assert.h>
89197 #endif
89198
89199 #undef $ac_func
89200
89201 /* Override any gcc2 internal prototype to avoid an error.  */
89202 #ifdef __cplusplus
89203 extern "C"
89204 {
89205 #endif
89206 /* We use char because int might match the return type of a gcc2
89207    builtin and then its argument prototype would still apply.  */
89208 char $ac_func ();
89209 /* The GNU C library defines this for functions which it implements
89210     to always fail with ENOSYS.  Some functions are actually named
89211     something starting with __ and the normal name is an alias.  */
89212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89213 choke me
89214 #else
89215 char (*f) () = $ac_func;
89216 #endif
89217 #ifdef __cplusplus
89218 }
89219 #endif
89220
89221 int
89222 main ()
89223 {
89224 return f != $ac_func;
89225   ;
89226   return 0;
89227 }
89228 _ACEOF
89229 rm -f conftest.$ac_objext conftest$ac_exeext
89230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89231   (eval $ac_link) 2>conftest.er1
89232   ac_status=$?
89233   grep -v '^ *+' conftest.er1 >conftest.err
89234   rm -f conftest.er1
89235   cat conftest.err >&5
89236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89237   (exit $ac_status); } &&
89238          { ac_try='test -z "$ac_c_werror_flag"
89239                          || test ! -s conftest.err'
89240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89241   (eval $ac_try) 2>&5
89242   ac_status=$?
89243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89244   (exit $ac_status); }; } &&
89245          { ac_try='test -s conftest$ac_exeext'
89246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89247   (eval $ac_try) 2>&5
89248   ac_status=$?
89249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89250   (exit $ac_status); }; }; then
89251   eval "$as_ac_var=yes"
89252 else
89253   echo "$as_me: failed program was:" >&5
89254 sed 's/^/| /' conftest.$ac_ext >&5
89255
89256 eval "$as_ac_var=no"
89257 fi
89258 rm -f conftest.err conftest.$ac_objext \
89259       conftest$ac_exeext conftest.$ac_ext
89260 fi
89261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89263 if test `eval echo '${'$as_ac_var'}'` = yes; then
89264   cat >>confdefs.h <<_ACEOF
89265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89266 _ACEOF
89267
89268 fi
89269 done
89270
89271   else
89272
89273   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
89274 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
89275   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
89276     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
89277   echo $ECHO_N "(cached) $ECHO_C" >&6
89278 else
89279
89280
89281
89282       ac_ext=cc
89283 ac_cpp='$CXXCPP $CPPFLAGS'
89284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89287
89288       cat >conftest.$ac_ext <<_ACEOF
89289 /* confdefs.h.  */
89290 _ACEOF
89291 cat confdefs.h >>conftest.$ac_ext
89292 cat >>conftest.$ac_ext <<_ACEOF
89293 /* end confdefs.h.  */
89294 #include <math.h>
89295                       #ifdef HAVE_IEEEFP_H
89296                       #include <ieeefp.h>
89297                       #endif
89298
89299 int
89300 main ()
89301 {
89302  _qfpclass(0);
89303   ;
89304   return 0;
89305 }
89306 _ACEOF
89307 rm -f conftest.$ac_objext
89308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89309   (eval $ac_compile) 2>conftest.er1
89310   ac_status=$?
89311   grep -v '^ *+' conftest.er1 >conftest.err
89312   rm -f conftest.er1
89313   cat conftest.err >&5
89314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89315   (exit $ac_status); } &&
89316          { ac_try='test -z "$ac_cxx_werror_flag"
89317                          || test ! -s conftest.err'
89318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89319   (eval $ac_try) 2>&5
89320   ac_status=$?
89321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89322   (exit $ac_status); }; } &&
89323          { ac_try='test -s conftest.$ac_objext'
89324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89325   (eval $ac_try) 2>&5
89326   ac_status=$?
89327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89328   (exit $ac_status); }; }; then
89329   glibcxx_cv_func__qfpclass_use=yes
89330 else
89331   echo "$as_me: failed program was:" >&5
89332 sed 's/^/| /' conftest.$ac_ext >&5
89333
89334 glibcxx_cv_func__qfpclass_use=no
89335 fi
89336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89337       ac_ext=c
89338 ac_cpp='$CPP $CPPFLAGS'
89339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89342
89343
89344 fi
89345
89346   fi
89347   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
89348 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
89349
89350     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
89351
89352 for ac_func in _qfpclass
89353 do
89354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89355 echo "$as_me:$LINENO: checking for $ac_func" >&5
89356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89357 if eval "test \"\${$as_ac_var+set}\" = set"; then
89358   echo $ECHO_N "(cached) $ECHO_C" >&6
89359 else
89360   if test x$gcc_no_link = xyes; then
89361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89363    { (exit 1); exit 1; }; }
89364 fi
89365 cat >conftest.$ac_ext <<_ACEOF
89366 /* confdefs.h.  */
89367 _ACEOF
89368 cat confdefs.h >>conftest.$ac_ext
89369 cat >>conftest.$ac_ext <<_ACEOF
89370 /* end confdefs.h.  */
89371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89373 #define $ac_func innocuous_$ac_func
89374
89375 /* System header to define __stub macros and hopefully few prototypes,
89376     which can conflict with char $ac_func (); below.
89377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89378     <limits.h> exists even on freestanding compilers.  */
89379
89380 #ifdef __STDC__
89381 # include <limits.h>
89382 #else
89383 # include <assert.h>
89384 #endif
89385
89386 #undef $ac_func
89387
89388 /* Override any gcc2 internal prototype to avoid an error.  */
89389 #ifdef __cplusplus
89390 extern "C"
89391 {
89392 #endif
89393 /* We use char because int might match the return type of a gcc2
89394    builtin and then its argument prototype would still apply.  */
89395 char $ac_func ();
89396 /* The GNU C library defines this for functions which it implements
89397     to always fail with ENOSYS.  Some functions are actually named
89398     something starting with __ and the normal name is an alias.  */
89399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89400 choke me
89401 #else
89402 char (*f) () = $ac_func;
89403 #endif
89404 #ifdef __cplusplus
89405 }
89406 #endif
89407
89408 int
89409 main ()
89410 {
89411 return f != $ac_func;
89412   ;
89413   return 0;
89414 }
89415 _ACEOF
89416 rm -f conftest.$ac_objext conftest$ac_exeext
89417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89418   (eval $ac_link) 2>conftest.er1
89419   ac_status=$?
89420   grep -v '^ *+' conftest.er1 >conftest.err
89421   rm -f conftest.er1
89422   cat conftest.err >&5
89423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89424   (exit $ac_status); } &&
89425          { ac_try='test -z "$ac_c_werror_flag"
89426                          || test ! -s conftest.err'
89427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89428   (eval $ac_try) 2>&5
89429   ac_status=$?
89430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89431   (exit $ac_status); }; } &&
89432          { ac_try='test -s conftest$ac_exeext'
89433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89434   (eval $ac_try) 2>&5
89435   ac_status=$?
89436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89437   (exit $ac_status); }; }; then
89438   eval "$as_ac_var=yes"
89439 else
89440   echo "$as_me: failed program was:" >&5
89441 sed 's/^/| /' conftest.$ac_ext >&5
89442
89443 eval "$as_ac_var=no"
89444 fi
89445 rm -f conftest.err conftest.$ac_objext \
89446       conftest$ac_exeext conftest.$ac_ext
89447 fi
89448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89450 if test `eval echo '${'$as_ac_var'}'` = yes; then
89451   cat >>confdefs.h <<_ACEOF
89452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89453 _ACEOF
89454
89455 fi
89456 done
89457
89458     fi
89459   fi
89460
89461
89462
89463
89464
89465
89466   echo "$as_me:$LINENO: checking for hypot declaration" >&5
89467 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
89468   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
89469     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
89470   echo $ECHO_N "(cached) $ECHO_C" >&6
89471 else
89472
89473
89474
89475       ac_ext=cc
89476 ac_cpp='$CXXCPP $CPPFLAGS'
89477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89480
89481       cat >conftest.$ac_ext <<_ACEOF
89482 /* confdefs.h.  */
89483 _ACEOF
89484 cat confdefs.h >>conftest.$ac_ext
89485 cat >>conftest.$ac_ext <<_ACEOF
89486 /* end confdefs.h.  */
89487 #include <math.h>
89488 int
89489 main ()
89490 {
89491  hypot(0, 0);
89492   ;
89493   return 0;
89494 }
89495 _ACEOF
89496 rm -f conftest.$ac_objext
89497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89498   (eval $ac_compile) 2>conftest.er1
89499   ac_status=$?
89500   grep -v '^ *+' conftest.er1 >conftest.err
89501   rm -f conftest.er1
89502   cat conftest.err >&5
89503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89504   (exit $ac_status); } &&
89505          { ac_try='test -z "$ac_cxx_werror_flag"
89506                          || test ! -s conftest.err'
89507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89508   (eval $ac_try) 2>&5
89509   ac_status=$?
89510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89511   (exit $ac_status); }; } &&
89512          { ac_try='test -s conftest.$ac_objext'
89513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89514   (eval $ac_try) 2>&5
89515   ac_status=$?
89516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89517   (exit $ac_status); }; }; then
89518   glibcxx_cv_func_hypot_use=yes
89519 else
89520   echo "$as_me: failed program was:" >&5
89521 sed 's/^/| /' conftest.$ac_ext >&5
89522
89523 glibcxx_cv_func_hypot_use=no
89524 fi
89525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89526       ac_ext=c
89527 ac_cpp='$CPP $CPPFLAGS'
89528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89531
89532
89533 fi
89534
89535   fi
89536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
89537 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
89538
89539   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
89540
89541 for ac_func in hypot
89542 do
89543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89544 echo "$as_me:$LINENO: checking for $ac_func" >&5
89545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89546 if eval "test \"\${$as_ac_var+set}\" = set"; then
89547   echo $ECHO_N "(cached) $ECHO_C" >&6
89548 else
89549   if test x$gcc_no_link = xyes; then
89550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89552    { (exit 1); exit 1; }; }
89553 fi
89554 cat >conftest.$ac_ext <<_ACEOF
89555 /* confdefs.h.  */
89556 _ACEOF
89557 cat confdefs.h >>conftest.$ac_ext
89558 cat >>conftest.$ac_ext <<_ACEOF
89559 /* end confdefs.h.  */
89560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89562 #define $ac_func innocuous_$ac_func
89563
89564 /* System header to define __stub macros and hopefully few prototypes,
89565     which can conflict with char $ac_func (); below.
89566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89567     <limits.h> exists even on freestanding compilers.  */
89568
89569 #ifdef __STDC__
89570 # include <limits.h>
89571 #else
89572 # include <assert.h>
89573 #endif
89574
89575 #undef $ac_func
89576
89577 /* Override any gcc2 internal prototype to avoid an error.  */
89578 #ifdef __cplusplus
89579 extern "C"
89580 {
89581 #endif
89582 /* We use char because int might match the return type of a gcc2
89583    builtin and then its argument prototype would still apply.  */
89584 char $ac_func ();
89585 /* The GNU C library defines this for functions which it implements
89586     to always fail with ENOSYS.  Some functions are actually named
89587     something starting with __ and the normal name is an alias.  */
89588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89589 choke me
89590 #else
89591 char (*f) () = $ac_func;
89592 #endif
89593 #ifdef __cplusplus
89594 }
89595 #endif
89596
89597 int
89598 main ()
89599 {
89600 return f != $ac_func;
89601   ;
89602   return 0;
89603 }
89604 _ACEOF
89605 rm -f conftest.$ac_objext conftest$ac_exeext
89606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89607   (eval $ac_link) 2>conftest.er1
89608   ac_status=$?
89609   grep -v '^ *+' conftest.er1 >conftest.err
89610   rm -f conftest.er1
89611   cat conftest.err >&5
89612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89613   (exit $ac_status); } &&
89614          { ac_try='test -z "$ac_c_werror_flag"
89615                          || test ! -s conftest.err'
89616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89617   (eval $ac_try) 2>&5
89618   ac_status=$?
89619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89620   (exit $ac_status); }; } &&
89621          { ac_try='test -s conftest$ac_exeext'
89622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89623   (eval $ac_try) 2>&5
89624   ac_status=$?
89625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626   (exit $ac_status); }; }; then
89627   eval "$as_ac_var=yes"
89628 else
89629   echo "$as_me: failed program was:" >&5
89630 sed 's/^/| /' conftest.$ac_ext >&5
89631
89632 eval "$as_ac_var=no"
89633 fi
89634 rm -f conftest.err conftest.$ac_objext \
89635       conftest$ac_exeext conftest.$ac_ext
89636 fi
89637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89639 if test `eval echo '${'$as_ac_var'}'` = yes; then
89640   cat >>confdefs.h <<_ACEOF
89641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89642 _ACEOF
89643
89644 fi
89645 done
89646
89647   else
89648
89649   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
89650 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
89651   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
89652     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
89653   echo $ECHO_N "(cached) $ECHO_C" >&6
89654 else
89655
89656
89657
89658       ac_ext=cc
89659 ac_cpp='$CXXCPP $CPPFLAGS'
89660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89663
89664       cat >conftest.$ac_ext <<_ACEOF
89665 /* confdefs.h.  */
89666 _ACEOF
89667 cat confdefs.h >>conftest.$ac_ext
89668 cat >>conftest.$ac_ext <<_ACEOF
89669 /* end confdefs.h.  */
89670 #include <math.h>
89671 int
89672 main ()
89673 {
89674  _hypot(0, 0);
89675   ;
89676   return 0;
89677 }
89678 _ACEOF
89679 rm -f conftest.$ac_objext
89680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89681   (eval $ac_compile) 2>conftest.er1
89682   ac_status=$?
89683   grep -v '^ *+' conftest.er1 >conftest.err
89684   rm -f conftest.er1
89685   cat conftest.err >&5
89686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89687   (exit $ac_status); } &&
89688          { ac_try='test -z "$ac_cxx_werror_flag"
89689                          || test ! -s conftest.err'
89690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89691   (eval $ac_try) 2>&5
89692   ac_status=$?
89693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89694   (exit $ac_status); }; } &&
89695          { ac_try='test -s conftest.$ac_objext'
89696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89697   (eval $ac_try) 2>&5
89698   ac_status=$?
89699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89700   (exit $ac_status); }; }; then
89701   glibcxx_cv_func__hypot_use=yes
89702 else
89703   echo "$as_me: failed program was:" >&5
89704 sed 's/^/| /' conftest.$ac_ext >&5
89705
89706 glibcxx_cv_func__hypot_use=no
89707 fi
89708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89709       ac_ext=c
89710 ac_cpp='$CPP $CPPFLAGS'
89711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89714
89715
89716 fi
89717
89718   fi
89719   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
89720 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
89721
89722     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
89723
89724 for ac_func in _hypot
89725 do
89726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89727 echo "$as_me:$LINENO: checking for $ac_func" >&5
89728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89729 if eval "test \"\${$as_ac_var+set}\" = set"; then
89730   echo $ECHO_N "(cached) $ECHO_C" >&6
89731 else
89732   if test x$gcc_no_link = xyes; then
89733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89735    { (exit 1); exit 1; }; }
89736 fi
89737 cat >conftest.$ac_ext <<_ACEOF
89738 /* confdefs.h.  */
89739 _ACEOF
89740 cat confdefs.h >>conftest.$ac_ext
89741 cat >>conftest.$ac_ext <<_ACEOF
89742 /* end confdefs.h.  */
89743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89745 #define $ac_func innocuous_$ac_func
89746
89747 /* System header to define __stub macros and hopefully few prototypes,
89748     which can conflict with char $ac_func (); below.
89749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89750     <limits.h> exists even on freestanding compilers.  */
89751
89752 #ifdef __STDC__
89753 # include <limits.h>
89754 #else
89755 # include <assert.h>
89756 #endif
89757
89758 #undef $ac_func
89759
89760 /* Override any gcc2 internal prototype to avoid an error.  */
89761 #ifdef __cplusplus
89762 extern "C"
89763 {
89764 #endif
89765 /* We use char because int might match the return type of a gcc2
89766    builtin and then its argument prototype would still apply.  */
89767 char $ac_func ();
89768 /* The GNU C library defines this for functions which it implements
89769     to always fail with ENOSYS.  Some functions are actually named
89770     something starting with __ and the normal name is an alias.  */
89771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89772 choke me
89773 #else
89774 char (*f) () = $ac_func;
89775 #endif
89776 #ifdef __cplusplus
89777 }
89778 #endif
89779
89780 int
89781 main ()
89782 {
89783 return f != $ac_func;
89784   ;
89785   return 0;
89786 }
89787 _ACEOF
89788 rm -f conftest.$ac_objext conftest$ac_exeext
89789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89790   (eval $ac_link) 2>conftest.er1
89791   ac_status=$?
89792   grep -v '^ *+' conftest.er1 >conftest.err
89793   rm -f conftest.er1
89794   cat conftest.err >&5
89795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89796   (exit $ac_status); } &&
89797          { ac_try='test -z "$ac_c_werror_flag"
89798                          || test ! -s conftest.err'
89799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89800   (eval $ac_try) 2>&5
89801   ac_status=$?
89802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89803   (exit $ac_status); }; } &&
89804          { ac_try='test -s conftest$ac_exeext'
89805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89806   (eval $ac_try) 2>&5
89807   ac_status=$?
89808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89809   (exit $ac_status); }; }; then
89810   eval "$as_ac_var=yes"
89811 else
89812   echo "$as_me: failed program was:" >&5
89813 sed 's/^/| /' conftest.$ac_ext >&5
89814
89815 eval "$as_ac_var=no"
89816 fi
89817 rm -f conftest.err conftest.$ac_objext \
89818       conftest$ac_exeext conftest.$ac_ext
89819 fi
89820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89822 if test `eval echo '${'$as_ac_var'}'` = yes; then
89823   cat >>confdefs.h <<_ACEOF
89824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89825 _ACEOF
89826
89827 fi
89828 done
89829
89830     fi
89831   fi
89832
89833
89834
89835
89836
89837
89838     echo "$as_me:$LINENO: checking for float trig functions" >&5
89839 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
89840   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
89841   echo $ECHO_N "(cached) $ECHO_C" >&6
89842 else
89843
89844
89845
89846     ac_ext=cc
89847 ac_cpp='$CXXCPP $CPPFLAGS'
89848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89851
89852     cat >conftest.$ac_ext <<_ACEOF
89853 /* confdefs.h.  */
89854 _ACEOF
89855 cat confdefs.h >>conftest.$ac_ext
89856 cat >>conftest.$ac_ext <<_ACEOF
89857 /* end confdefs.h.  */
89858 #include <math.h>
89859 int
89860 main ()
89861 {
89862 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
89863   ;
89864   return 0;
89865 }
89866 _ACEOF
89867 rm -f conftest.$ac_objext
89868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89869   (eval $ac_compile) 2>conftest.er1
89870   ac_status=$?
89871   grep -v '^ *+' conftest.er1 >conftest.err
89872   rm -f conftest.er1
89873   cat conftest.err >&5
89874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89875   (exit $ac_status); } &&
89876          { ac_try='test -z "$ac_cxx_werror_flag"
89877                          || test ! -s conftest.err'
89878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89879   (eval $ac_try) 2>&5
89880   ac_status=$?
89881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89882   (exit $ac_status); }; } &&
89883          { ac_try='test -s conftest.$ac_objext'
89884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89885   (eval $ac_try) 2>&5
89886   ac_status=$?
89887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89888   (exit $ac_status); }; }; then
89889   glibcxx_cv_func_float_trig_use=yes
89890 else
89891   echo "$as_me: failed program was:" >&5
89892 sed 's/^/| /' conftest.$ac_ext >&5
89893
89894 glibcxx_cv_func_float_trig_use=no
89895 fi
89896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89897     ac_ext=c
89898 ac_cpp='$CPP $CPPFLAGS'
89899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89902
89903 fi
89904
89905   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
89906 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
89907   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
89908
89909
89910
89911
89912
89913
89914
89915
89916
89917 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
89918 do
89919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89920 echo "$as_me:$LINENO: checking for $ac_func" >&5
89921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89922 if eval "test \"\${$as_ac_var+set}\" = set"; then
89923   echo $ECHO_N "(cached) $ECHO_C" >&6
89924 else
89925   if test x$gcc_no_link = xyes; then
89926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89928    { (exit 1); exit 1; }; }
89929 fi
89930 cat >conftest.$ac_ext <<_ACEOF
89931 /* confdefs.h.  */
89932 _ACEOF
89933 cat confdefs.h >>conftest.$ac_ext
89934 cat >>conftest.$ac_ext <<_ACEOF
89935 /* end confdefs.h.  */
89936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89938 #define $ac_func innocuous_$ac_func
89939
89940 /* System header to define __stub macros and hopefully few prototypes,
89941     which can conflict with char $ac_func (); below.
89942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89943     <limits.h> exists even on freestanding compilers.  */
89944
89945 #ifdef __STDC__
89946 # include <limits.h>
89947 #else
89948 # include <assert.h>
89949 #endif
89950
89951 #undef $ac_func
89952
89953 /* Override any gcc2 internal prototype to avoid an error.  */
89954 #ifdef __cplusplus
89955 extern "C"
89956 {
89957 #endif
89958 /* We use char because int might match the return type of a gcc2
89959    builtin and then its argument prototype would still apply.  */
89960 char $ac_func ();
89961 /* The GNU C library defines this for functions which it implements
89962     to always fail with ENOSYS.  Some functions are actually named
89963     something starting with __ and the normal name is an alias.  */
89964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89965 choke me
89966 #else
89967 char (*f) () = $ac_func;
89968 #endif
89969 #ifdef __cplusplus
89970 }
89971 #endif
89972
89973 int
89974 main ()
89975 {
89976 return f != $ac_func;
89977   ;
89978   return 0;
89979 }
89980 _ACEOF
89981 rm -f conftest.$ac_objext conftest$ac_exeext
89982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89983   (eval $ac_link) 2>conftest.er1
89984   ac_status=$?
89985   grep -v '^ *+' conftest.er1 >conftest.err
89986   rm -f conftest.er1
89987   cat conftest.err >&5
89988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89989   (exit $ac_status); } &&
89990          { ac_try='test -z "$ac_c_werror_flag"
89991                          || test ! -s conftest.err'
89992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89993   (eval $ac_try) 2>&5
89994   ac_status=$?
89995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89996   (exit $ac_status); }; } &&
89997          { ac_try='test -s conftest$ac_exeext'
89998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89999   (eval $ac_try) 2>&5
90000   ac_status=$?
90001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90002   (exit $ac_status); }; }; then
90003   eval "$as_ac_var=yes"
90004 else
90005   echo "$as_me: failed program was:" >&5
90006 sed 's/^/| /' conftest.$ac_ext >&5
90007
90008 eval "$as_ac_var=no"
90009 fi
90010 rm -f conftest.err conftest.$ac_objext \
90011       conftest$ac_exeext conftest.$ac_ext
90012 fi
90013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90015 if test `eval echo '${'$as_ac_var'}'` = yes; then
90016   cat >>confdefs.h <<_ACEOF
90017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90018 _ACEOF
90019
90020 fi
90021 done
90022
90023   else
90024     echo "$as_me:$LINENO: checking for _float trig functions" >&5
90025 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90026     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90027   echo $ECHO_N "(cached) $ECHO_C" >&6
90028 else
90029
90030
90031
90032       ac_ext=cc
90033 ac_cpp='$CXXCPP $CPPFLAGS'
90034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90037
90038       cat >conftest.$ac_ext <<_ACEOF
90039 /* confdefs.h.  */
90040 _ACEOF
90041 cat confdefs.h >>conftest.$ac_ext
90042 cat >>conftest.$ac_ext <<_ACEOF
90043 /* end confdefs.h.  */
90044 #include <math.h>
90045 int
90046 main ()
90047 {
90048 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90049   ;
90050   return 0;
90051 }
90052 _ACEOF
90053 rm -f conftest.$ac_objext
90054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90055   (eval $ac_compile) 2>conftest.er1
90056   ac_status=$?
90057   grep -v '^ *+' conftest.er1 >conftest.err
90058   rm -f conftest.er1
90059   cat conftest.err >&5
90060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90061   (exit $ac_status); } &&
90062          { ac_try='test -z "$ac_cxx_werror_flag"
90063                          || test ! -s conftest.err'
90064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90065   (eval $ac_try) 2>&5
90066   ac_status=$?
90067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90068   (exit $ac_status); }; } &&
90069          { ac_try='test -s conftest.$ac_objext'
90070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90071   (eval $ac_try) 2>&5
90072   ac_status=$?
90073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90074   (exit $ac_status); }; }; then
90075   glibcxx_cv_func__float_trig_use=yes
90076 else
90077   echo "$as_me: failed program was:" >&5
90078 sed 's/^/| /' conftest.$ac_ext >&5
90079
90080 glibcxx_cv_func__float_trig_use=no
90081 fi
90082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90083       ac_ext=c
90084 ac_cpp='$CPP $CPPFLAGS'
90085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90088
90089 fi
90090
90091     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90092 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90093     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90094
90095
90096
90097
90098
90099
90100
90101
90102
90103 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90104 do
90105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90106 echo "$as_me:$LINENO: checking for $ac_func" >&5
90107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90108 if eval "test \"\${$as_ac_var+set}\" = set"; then
90109   echo $ECHO_N "(cached) $ECHO_C" >&6
90110 else
90111   if test x$gcc_no_link = xyes; then
90112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90114    { (exit 1); exit 1; }; }
90115 fi
90116 cat >conftest.$ac_ext <<_ACEOF
90117 /* confdefs.h.  */
90118 _ACEOF
90119 cat confdefs.h >>conftest.$ac_ext
90120 cat >>conftest.$ac_ext <<_ACEOF
90121 /* end confdefs.h.  */
90122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90124 #define $ac_func innocuous_$ac_func
90125
90126 /* System header to define __stub macros and hopefully few prototypes,
90127     which can conflict with char $ac_func (); below.
90128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90129     <limits.h> exists even on freestanding compilers.  */
90130
90131 #ifdef __STDC__
90132 # include <limits.h>
90133 #else
90134 # include <assert.h>
90135 #endif
90136
90137 #undef $ac_func
90138
90139 /* Override any gcc2 internal prototype to avoid an error.  */
90140 #ifdef __cplusplus
90141 extern "C"
90142 {
90143 #endif
90144 /* We use char because int might match the return type of a gcc2
90145    builtin and then its argument prototype would still apply.  */
90146 char $ac_func ();
90147 /* The GNU C library defines this for functions which it implements
90148     to always fail with ENOSYS.  Some functions are actually named
90149     something starting with __ and the normal name is an alias.  */
90150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90151 choke me
90152 #else
90153 char (*f) () = $ac_func;
90154 #endif
90155 #ifdef __cplusplus
90156 }
90157 #endif
90158
90159 int
90160 main ()
90161 {
90162 return f != $ac_func;
90163   ;
90164   return 0;
90165 }
90166 _ACEOF
90167 rm -f conftest.$ac_objext conftest$ac_exeext
90168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90169   (eval $ac_link) 2>conftest.er1
90170   ac_status=$?
90171   grep -v '^ *+' conftest.er1 >conftest.err
90172   rm -f conftest.er1
90173   cat conftest.err >&5
90174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175   (exit $ac_status); } &&
90176          { ac_try='test -z "$ac_c_werror_flag"
90177                          || test ! -s conftest.err'
90178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90179   (eval $ac_try) 2>&5
90180   ac_status=$?
90181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90182   (exit $ac_status); }; } &&
90183          { ac_try='test -s conftest$ac_exeext'
90184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90185   (eval $ac_try) 2>&5
90186   ac_status=$?
90187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188   (exit $ac_status); }; }; then
90189   eval "$as_ac_var=yes"
90190 else
90191   echo "$as_me: failed program was:" >&5
90192 sed 's/^/| /' conftest.$ac_ext >&5
90193
90194 eval "$as_ac_var=no"
90195 fi
90196 rm -f conftest.err conftest.$ac_objext \
90197       conftest$ac_exeext conftest.$ac_ext
90198 fi
90199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90201 if test `eval echo '${'$as_ac_var'}'` = yes; then
90202   cat >>confdefs.h <<_ACEOF
90203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90204 _ACEOF
90205
90206 fi
90207 done
90208
90209     fi
90210   fi
90211
90212
90213
90214
90215
90216
90217
90218
90219
90220
90221
90222
90223
90224
90225     echo "$as_me:$LINENO: checking for float round functions" >&5
90226 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90227   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90228   echo $ECHO_N "(cached) $ECHO_C" >&6
90229 else
90230
90231
90232
90233     ac_ext=cc
90234 ac_cpp='$CXXCPP $CPPFLAGS'
90235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90238
90239     cat >conftest.$ac_ext <<_ACEOF
90240 /* confdefs.h.  */
90241 _ACEOF
90242 cat confdefs.h >>conftest.$ac_ext
90243 cat >>conftest.$ac_ext <<_ACEOF
90244 /* end confdefs.h.  */
90245 #include <math.h>
90246 int
90247 main ()
90248 {
90249 ceilf (0); floorf (0);
90250   ;
90251   return 0;
90252 }
90253 _ACEOF
90254 rm -f conftest.$ac_objext
90255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90256   (eval $ac_compile) 2>conftest.er1
90257   ac_status=$?
90258   grep -v '^ *+' conftest.er1 >conftest.err
90259   rm -f conftest.er1
90260   cat conftest.err >&5
90261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90262   (exit $ac_status); } &&
90263          { ac_try='test -z "$ac_cxx_werror_flag"
90264                          || test ! -s conftest.err'
90265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266   (eval $ac_try) 2>&5
90267   ac_status=$?
90268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269   (exit $ac_status); }; } &&
90270          { ac_try='test -s conftest.$ac_objext'
90271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90272   (eval $ac_try) 2>&5
90273   ac_status=$?
90274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275   (exit $ac_status); }; }; then
90276   glibcxx_cv_func_float_round_use=yes
90277 else
90278   echo "$as_me: failed program was:" >&5
90279 sed 's/^/| /' conftest.$ac_ext >&5
90280
90281 glibcxx_cv_func_float_round_use=no
90282 fi
90283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90284     ac_ext=c
90285 ac_cpp='$CPP $CPPFLAGS'
90286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90289
90290 fi
90291
90292   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
90293 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
90294   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
90295
90296
90297 for ac_func in ceilf floorf
90298 do
90299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90300 echo "$as_me:$LINENO: checking for $ac_func" >&5
90301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90302 if eval "test \"\${$as_ac_var+set}\" = set"; then
90303   echo $ECHO_N "(cached) $ECHO_C" >&6
90304 else
90305   if test x$gcc_no_link = xyes; then
90306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90308    { (exit 1); exit 1; }; }
90309 fi
90310 cat >conftest.$ac_ext <<_ACEOF
90311 /* confdefs.h.  */
90312 _ACEOF
90313 cat confdefs.h >>conftest.$ac_ext
90314 cat >>conftest.$ac_ext <<_ACEOF
90315 /* end confdefs.h.  */
90316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90318 #define $ac_func innocuous_$ac_func
90319
90320 /* System header to define __stub macros and hopefully few prototypes,
90321     which can conflict with char $ac_func (); below.
90322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90323     <limits.h> exists even on freestanding compilers.  */
90324
90325 #ifdef __STDC__
90326 # include <limits.h>
90327 #else
90328 # include <assert.h>
90329 #endif
90330
90331 #undef $ac_func
90332
90333 /* Override any gcc2 internal prototype to avoid an error.  */
90334 #ifdef __cplusplus
90335 extern "C"
90336 {
90337 #endif
90338 /* We use char because int might match the return type of a gcc2
90339    builtin and then its argument prototype would still apply.  */
90340 char $ac_func ();
90341 /* The GNU C library defines this for functions which it implements
90342     to always fail with ENOSYS.  Some functions are actually named
90343     something starting with __ and the normal name is an alias.  */
90344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90345 choke me
90346 #else
90347 char (*f) () = $ac_func;
90348 #endif
90349 #ifdef __cplusplus
90350 }
90351 #endif
90352
90353 int
90354 main ()
90355 {
90356 return f != $ac_func;
90357   ;
90358   return 0;
90359 }
90360 _ACEOF
90361 rm -f conftest.$ac_objext conftest$ac_exeext
90362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90363   (eval $ac_link) 2>conftest.er1
90364   ac_status=$?
90365   grep -v '^ *+' conftest.er1 >conftest.err
90366   rm -f conftest.er1
90367   cat conftest.err >&5
90368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369   (exit $ac_status); } &&
90370          { ac_try='test -z "$ac_c_werror_flag"
90371                          || test ! -s conftest.err'
90372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90373   (eval $ac_try) 2>&5
90374   ac_status=$?
90375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90376   (exit $ac_status); }; } &&
90377          { ac_try='test -s conftest$ac_exeext'
90378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90379   (eval $ac_try) 2>&5
90380   ac_status=$?
90381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90382   (exit $ac_status); }; }; then
90383   eval "$as_ac_var=yes"
90384 else
90385   echo "$as_me: failed program was:" >&5
90386 sed 's/^/| /' conftest.$ac_ext >&5
90387
90388 eval "$as_ac_var=no"
90389 fi
90390 rm -f conftest.err conftest.$ac_objext \
90391       conftest$ac_exeext conftest.$ac_ext
90392 fi
90393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90395 if test `eval echo '${'$as_ac_var'}'` = yes; then
90396   cat >>confdefs.h <<_ACEOF
90397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90398 _ACEOF
90399
90400 fi
90401 done
90402
90403   else
90404     echo "$as_me:$LINENO: checking for _float round functions" >&5
90405 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
90406     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
90407   echo $ECHO_N "(cached) $ECHO_C" >&6
90408 else
90409
90410
90411
90412       ac_ext=cc
90413 ac_cpp='$CXXCPP $CPPFLAGS'
90414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90417
90418       cat >conftest.$ac_ext <<_ACEOF
90419 /* confdefs.h.  */
90420 _ACEOF
90421 cat confdefs.h >>conftest.$ac_ext
90422 cat >>conftest.$ac_ext <<_ACEOF
90423 /* end confdefs.h.  */
90424 #include <math.h>
90425 int
90426 main ()
90427 {
90428 _ceilf (0); _floorf (0);
90429   ;
90430   return 0;
90431 }
90432 _ACEOF
90433 rm -f conftest.$ac_objext
90434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90435   (eval $ac_compile) 2>conftest.er1
90436   ac_status=$?
90437   grep -v '^ *+' conftest.er1 >conftest.err
90438   rm -f conftest.er1
90439   cat conftest.err >&5
90440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90441   (exit $ac_status); } &&
90442          { ac_try='test -z "$ac_cxx_werror_flag"
90443                          || test ! -s conftest.err'
90444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90445   (eval $ac_try) 2>&5
90446   ac_status=$?
90447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90448   (exit $ac_status); }; } &&
90449          { ac_try='test -s conftest.$ac_objext'
90450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90451   (eval $ac_try) 2>&5
90452   ac_status=$?
90453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90454   (exit $ac_status); }; }; then
90455   glibcxx_cv_func__float_round_use=yes
90456 else
90457   echo "$as_me: failed program was:" >&5
90458 sed 's/^/| /' conftest.$ac_ext >&5
90459
90460 glibcxx_cv_func__float_round_use=no
90461 fi
90462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90463       ac_ext=c
90464 ac_cpp='$CPP $CPPFLAGS'
90465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90468
90469 fi
90470
90471     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
90472 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
90473     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
90474
90475
90476 for ac_func in _ceilf _floorf
90477 do
90478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90479 echo "$as_me:$LINENO: checking for $ac_func" >&5
90480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90481 if eval "test \"\${$as_ac_var+set}\" = set"; then
90482   echo $ECHO_N "(cached) $ECHO_C" >&6
90483 else
90484   if test x$gcc_no_link = xyes; then
90485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90487    { (exit 1); exit 1; }; }
90488 fi
90489 cat >conftest.$ac_ext <<_ACEOF
90490 /* confdefs.h.  */
90491 _ACEOF
90492 cat confdefs.h >>conftest.$ac_ext
90493 cat >>conftest.$ac_ext <<_ACEOF
90494 /* end confdefs.h.  */
90495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90497 #define $ac_func innocuous_$ac_func
90498
90499 /* System header to define __stub macros and hopefully few prototypes,
90500     which can conflict with char $ac_func (); below.
90501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90502     <limits.h> exists even on freestanding compilers.  */
90503
90504 #ifdef __STDC__
90505 # include <limits.h>
90506 #else
90507 # include <assert.h>
90508 #endif
90509
90510 #undef $ac_func
90511
90512 /* Override any gcc2 internal prototype to avoid an error.  */
90513 #ifdef __cplusplus
90514 extern "C"
90515 {
90516 #endif
90517 /* We use char because int might match the return type of a gcc2
90518    builtin and then its argument prototype would still apply.  */
90519 char $ac_func ();
90520 /* The GNU C library defines this for functions which it implements
90521     to always fail with ENOSYS.  Some functions are actually named
90522     something starting with __ and the normal name is an alias.  */
90523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90524 choke me
90525 #else
90526 char (*f) () = $ac_func;
90527 #endif
90528 #ifdef __cplusplus
90529 }
90530 #endif
90531
90532 int
90533 main ()
90534 {
90535 return f != $ac_func;
90536   ;
90537   return 0;
90538 }
90539 _ACEOF
90540 rm -f conftest.$ac_objext conftest$ac_exeext
90541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90542   (eval $ac_link) 2>conftest.er1
90543   ac_status=$?
90544   grep -v '^ *+' conftest.er1 >conftest.err
90545   rm -f conftest.er1
90546   cat conftest.err >&5
90547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548   (exit $ac_status); } &&
90549          { ac_try='test -z "$ac_c_werror_flag"
90550                          || test ! -s conftest.err'
90551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90552   (eval $ac_try) 2>&5
90553   ac_status=$?
90554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90555   (exit $ac_status); }; } &&
90556          { ac_try='test -s conftest$ac_exeext'
90557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90558   (eval $ac_try) 2>&5
90559   ac_status=$?
90560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90561   (exit $ac_status); }; }; then
90562   eval "$as_ac_var=yes"
90563 else
90564   echo "$as_me: failed program was:" >&5
90565 sed 's/^/| /' conftest.$ac_ext >&5
90566
90567 eval "$as_ac_var=no"
90568 fi
90569 rm -f conftest.err conftest.$ac_objext \
90570       conftest$ac_exeext conftest.$ac_ext
90571 fi
90572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90574 if test `eval echo '${'$as_ac_var'}'` = yes; then
90575   cat >>confdefs.h <<_ACEOF
90576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90577 _ACEOF
90578
90579 fi
90580 done
90581
90582     fi
90583   fi
90584
90585
90586
90587
90588
90589
90590
90591
90592   echo "$as_me:$LINENO: checking for expf declaration" >&5
90593 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
90594   if test x${glibcxx_cv_func_expf_use+set} != xset; then
90595     if test "${glibcxx_cv_func_expf_use+set}" = set; then
90596   echo $ECHO_N "(cached) $ECHO_C" >&6
90597 else
90598
90599
90600
90601       ac_ext=cc
90602 ac_cpp='$CXXCPP $CPPFLAGS'
90603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90606
90607       cat >conftest.$ac_ext <<_ACEOF
90608 /* confdefs.h.  */
90609 _ACEOF
90610 cat confdefs.h >>conftest.$ac_ext
90611 cat >>conftest.$ac_ext <<_ACEOF
90612 /* end confdefs.h.  */
90613 #include <math.h>
90614                       #ifdef HAVE_IEEEFP_H
90615                       #include <ieeefp.h>
90616                       #endif
90617
90618 int
90619 main ()
90620 {
90621  expf(0);
90622   ;
90623   return 0;
90624 }
90625 _ACEOF
90626 rm -f conftest.$ac_objext
90627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90628   (eval $ac_compile) 2>conftest.er1
90629   ac_status=$?
90630   grep -v '^ *+' conftest.er1 >conftest.err
90631   rm -f conftest.er1
90632   cat conftest.err >&5
90633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90634   (exit $ac_status); } &&
90635          { ac_try='test -z "$ac_cxx_werror_flag"
90636                          || test ! -s conftest.err'
90637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90638   (eval $ac_try) 2>&5
90639   ac_status=$?
90640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90641   (exit $ac_status); }; } &&
90642          { ac_try='test -s conftest.$ac_objext'
90643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90644   (eval $ac_try) 2>&5
90645   ac_status=$?
90646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90647   (exit $ac_status); }; }; then
90648   glibcxx_cv_func_expf_use=yes
90649 else
90650   echo "$as_me: failed program was:" >&5
90651 sed 's/^/| /' conftest.$ac_ext >&5
90652
90653 glibcxx_cv_func_expf_use=no
90654 fi
90655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90656       ac_ext=c
90657 ac_cpp='$CPP $CPPFLAGS'
90658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90661
90662
90663 fi
90664
90665   fi
90666   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
90667 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
90668
90669   if test x$glibcxx_cv_func_expf_use = x"yes"; then
90670
90671 for ac_func in expf
90672 do
90673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90674 echo "$as_me:$LINENO: checking for $ac_func" >&5
90675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90676 if eval "test \"\${$as_ac_var+set}\" = set"; then
90677   echo $ECHO_N "(cached) $ECHO_C" >&6
90678 else
90679   if test x$gcc_no_link = xyes; then
90680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90682    { (exit 1); exit 1; }; }
90683 fi
90684 cat >conftest.$ac_ext <<_ACEOF
90685 /* confdefs.h.  */
90686 _ACEOF
90687 cat confdefs.h >>conftest.$ac_ext
90688 cat >>conftest.$ac_ext <<_ACEOF
90689 /* end confdefs.h.  */
90690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90692 #define $ac_func innocuous_$ac_func
90693
90694 /* System header to define __stub macros and hopefully few prototypes,
90695     which can conflict with char $ac_func (); below.
90696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90697     <limits.h> exists even on freestanding compilers.  */
90698
90699 #ifdef __STDC__
90700 # include <limits.h>
90701 #else
90702 # include <assert.h>
90703 #endif
90704
90705 #undef $ac_func
90706
90707 /* Override any gcc2 internal prototype to avoid an error.  */
90708 #ifdef __cplusplus
90709 extern "C"
90710 {
90711 #endif
90712 /* We use char because int might match the return type of a gcc2
90713    builtin and then its argument prototype would still apply.  */
90714 char $ac_func ();
90715 /* The GNU C library defines this for functions which it implements
90716     to always fail with ENOSYS.  Some functions are actually named
90717     something starting with __ and the normal name is an alias.  */
90718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90719 choke me
90720 #else
90721 char (*f) () = $ac_func;
90722 #endif
90723 #ifdef __cplusplus
90724 }
90725 #endif
90726
90727 int
90728 main ()
90729 {
90730 return f != $ac_func;
90731   ;
90732   return 0;
90733 }
90734 _ACEOF
90735 rm -f conftest.$ac_objext conftest$ac_exeext
90736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90737   (eval $ac_link) 2>conftest.er1
90738   ac_status=$?
90739   grep -v '^ *+' conftest.er1 >conftest.err
90740   rm -f conftest.er1
90741   cat conftest.err >&5
90742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90743   (exit $ac_status); } &&
90744          { ac_try='test -z "$ac_c_werror_flag"
90745                          || test ! -s conftest.err'
90746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90747   (eval $ac_try) 2>&5
90748   ac_status=$?
90749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90750   (exit $ac_status); }; } &&
90751          { ac_try='test -s conftest$ac_exeext'
90752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90753   (eval $ac_try) 2>&5
90754   ac_status=$?
90755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756   (exit $ac_status); }; }; then
90757   eval "$as_ac_var=yes"
90758 else
90759   echo "$as_me: failed program was:" >&5
90760 sed 's/^/| /' conftest.$ac_ext >&5
90761
90762 eval "$as_ac_var=no"
90763 fi
90764 rm -f conftest.err conftest.$ac_objext \
90765       conftest$ac_exeext conftest.$ac_ext
90766 fi
90767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90769 if test `eval echo '${'$as_ac_var'}'` = yes; then
90770   cat >>confdefs.h <<_ACEOF
90771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90772 _ACEOF
90773
90774 fi
90775 done
90776
90777   else
90778
90779   echo "$as_me:$LINENO: checking for _expf declaration" >&5
90780 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
90781   if test x${glibcxx_cv_func__expf_use+set} != xset; then
90782     if test "${glibcxx_cv_func__expf_use+set}" = set; then
90783   echo $ECHO_N "(cached) $ECHO_C" >&6
90784 else
90785
90786
90787
90788       ac_ext=cc
90789 ac_cpp='$CXXCPP $CPPFLAGS'
90790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90793
90794       cat >conftest.$ac_ext <<_ACEOF
90795 /* confdefs.h.  */
90796 _ACEOF
90797 cat confdefs.h >>conftest.$ac_ext
90798 cat >>conftest.$ac_ext <<_ACEOF
90799 /* end confdefs.h.  */
90800 #include <math.h>
90801                       #ifdef HAVE_IEEEFP_H
90802                       #include <ieeefp.h>
90803                       #endif
90804
90805 int
90806 main ()
90807 {
90808  _expf(0);
90809   ;
90810   return 0;
90811 }
90812 _ACEOF
90813 rm -f conftest.$ac_objext
90814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90815   (eval $ac_compile) 2>conftest.er1
90816   ac_status=$?
90817   grep -v '^ *+' conftest.er1 >conftest.err
90818   rm -f conftest.er1
90819   cat conftest.err >&5
90820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90821   (exit $ac_status); } &&
90822          { ac_try='test -z "$ac_cxx_werror_flag"
90823                          || test ! -s conftest.err'
90824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90825   (eval $ac_try) 2>&5
90826   ac_status=$?
90827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90828   (exit $ac_status); }; } &&
90829          { ac_try='test -s conftest.$ac_objext'
90830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90831   (eval $ac_try) 2>&5
90832   ac_status=$?
90833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90834   (exit $ac_status); }; }; then
90835   glibcxx_cv_func__expf_use=yes
90836 else
90837   echo "$as_me: failed program was:" >&5
90838 sed 's/^/| /' conftest.$ac_ext >&5
90839
90840 glibcxx_cv_func__expf_use=no
90841 fi
90842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90843       ac_ext=c
90844 ac_cpp='$CPP $CPPFLAGS'
90845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90848
90849
90850 fi
90851
90852   fi
90853   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
90854 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
90855
90856     if test x$glibcxx_cv_func__expf_use = x"yes"; then
90857
90858 for ac_func in _expf
90859 do
90860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90861 echo "$as_me:$LINENO: checking for $ac_func" >&5
90862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90863 if eval "test \"\${$as_ac_var+set}\" = set"; then
90864   echo $ECHO_N "(cached) $ECHO_C" >&6
90865 else
90866   if test x$gcc_no_link = xyes; then
90867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90869    { (exit 1); exit 1; }; }
90870 fi
90871 cat >conftest.$ac_ext <<_ACEOF
90872 /* confdefs.h.  */
90873 _ACEOF
90874 cat confdefs.h >>conftest.$ac_ext
90875 cat >>conftest.$ac_ext <<_ACEOF
90876 /* end confdefs.h.  */
90877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90879 #define $ac_func innocuous_$ac_func
90880
90881 /* System header to define __stub macros and hopefully few prototypes,
90882     which can conflict with char $ac_func (); below.
90883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90884     <limits.h> exists even on freestanding compilers.  */
90885
90886 #ifdef __STDC__
90887 # include <limits.h>
90888 #else
90889 # include <assert.h>
90890 #endif
90891
90892 #undef $ac_func
90893
90894 /* Override any gcc2 internal prototype to avoid an error.  */
90895 #ifdef __cplusplus
90896 extern "C"
90897 {
90898 #endif
90899 /* We use char because int might match the return type of a gcc2
90900    builtin and then its argument prototype would still apply.  */
90901 char $ac_func ();
90902 /* The GNU C library defines this for functions which it implements
90903     to always fail with ENOSYS.  Some functions are actually named
90904     something starting with __ and the normal name is an alias.  */
90905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90906 choke me
90907 #else
90908 char (*f) () = $ac_func;
90909 #endif
90910 #ifdef __cplusplus
90911 }
90912 #endif
90913
90914 int
90915 main ()
90916 {
90917 return f != $ac_func;
90918   ;
90919   return 0;
90920 }
90921 _ACEOF
90922 rm -f conftest.$ac_objext conftest$ac_exeext
90923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90924   (eval $ac_link) 2>conftest.er1
90925   ac_status=$?
90926   grep -v '^ *+' conftest.er1 >conftest.err
90927   rm -f conftest.er1
90928   cat conftest.err >&5
90929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930   (exit $ac_status); } &&
90931          { ac_try='test -z "$ac_c_werror_flag"
90932                          || test ! -s conftest.err'
90933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90934   (eval $ac_try) 2>&5
90935   ac_status=$?
90936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90937   (exit $ac_status); }; } &&
90938          { ac_try='test -s conftest$ac_exeext'
90939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940   (eval $ac_try) 2>&5
90941   ac_status=$?
90942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943   (exit $ac_status); }; }; then
90944   eval "$as_ac_var=yes"
90945 else
90946   echo "$as_me: failed program was:" >&5
90947 sed 's/^/| /' conftest.$ac_ext >&5
90948
90949 eval "$as_ac_var=no"
90950 fi
90951 rm -f conftest.err conftest.$ac_objext \
90952       conftest$ac_exeext conftest.$ac_ext
90953 fi
90954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90956 if test `eval echo '${'$as_ac_var'}'` = yes; then
90957   cat >>confdefs.h <<_ACEOF
90958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90959 _ACEOF
90960
90961 fi
90962 done
90963
90964     fi
90965   fi
90966
90967
90968
90969
90970
90971
90972   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
90973 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
90974   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
90975     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
90976   echo $ECHO_N "(cached) $ECHO_C" >&6
90977 else
90978
90979
90980
90981       ac_ext=cc
90982 ac_cpp='$CXXCPP $CPPFLAGS'
90983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90986
90987       cat >conftest.$ac_ext <<_ACEOF
90988 /* confdefs.h.  */
90989 _ACEOF
90990 cat confdefs.h >>conftest.$ac_ext
90991 cat >>conftest.$ac_ext <<_ACEOF
90992 /* end confdefs.h.  */
90993 #include <math.h>
90994                       #ifdef HAVE_IEEEFP_H
90995                       #include <ieeefp.h>
90996                       #endif
90997
90998 int
90999 main ()
91000 {
91001  isnanf(0);
91002   ;
91003   return 0;
91004 }
91005 _ACEOF
91006 rm -f conftest.$ac_objext
91007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91008   (eval $ac_compile) 2>conftest.er1
91009   ac_status=$?
91010   grep -v '^ *+' conftest.er1 >conftest.err
91011   rm -f conftest.er1
91012   cat conftest.err >&5
91013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91014   (exit $ac_status); } &&
91015          { ac_try='test -z "$ac_cxx_werror_flag"
91016                          || test ! -s conftest.err'
91017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91018   (eval $ac_try) 2>&5
91019   ac_status=$?
91020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91021   (exit $ac_status); }; } &&
91022          { ac_try='test -s conftest.$ac_objext'
91023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91024   (eval $ac_try) 2>&5
91025   ac_status=$?
91026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91027   (exit $ac_status); }; }; then
91028   glibcxx_cv_func_isnanf_use=yes
91029 else
91030   echo "$as_me: failed program was:" >&5
91031 sed 's/^/| /' conftest.$ac_ext >&5
91032
91033 glibcxx_cv_func_isnanf_use=no
91034 fi
91035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91036       ac_ext=c
91037 ac_cpp='$CPP $CPPFLAGS'
91038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91041
91042
91043 fi
91044
91045   fi
91046   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91047 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91048
91049   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91050
91051 for ac_func in isnanf
91052 do
91053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91054 echo "$as_me:$LINENO: checking for $ac_func" >&5
91055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91056 if eval "test \"\${$as_ac_var+set}\" = set"; then
91057   echo $ECHO_N "(cached) $ECHO_C" >&6
91058 else
91059   if test x$gcc_no_link = xyes; then
91060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91062    { (exit 1); exit 1; }; }
91063 fi
91064 cat >conftest.$ac_ext <<_ACEOF
91065 /* confdefs.h.  */
91066 _ACEOF
91067 cat confdefs.h >>conftest.$ac_ext
91068 cat >>conftest.$ac_ext <<_ACEOF
91069 /* end confdefs.h.  */
91070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91072 #define $ac_func innocuous_$ac_func
91073
91074 /* System header to define __stub macros and hopefully few prototypes,
91075     which can conflict with char $ac_func (); below.
91076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91077     <limits.h> exists even on freestanding compilers.  */
91078
91079 #ifdef __STDC__
91080 # include <limits.h>
91081 #else
91082 # include <assert.h>
91083 #endif
91084
91085 #undef $ac_func
91086
91087 /* Override any gcc2 internal prototype to avoid an error.  */
91088 #ifdef __cplusplus
91089 extern "C"
91090 {
91091 #endif
91092 /* We use char because int might match the return type of a gcc2
91093    builtin and then its argument prototype would still apply.  */
91094 char $ac_func ();
91095 /* The GNU C library defines this for functions which it implements
91096     to always fail with ENOSYS.  Some functions are actually named
91097     something starting with __ and the normal name is an alias.  */
91098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91099 choke me
91100 #else
91101 char (*f) () = $ac_func;
91102 #endif
91103 #ifdef __cplusplus
91104 }
91105 #endif
91106
91107 int
91108 main ()
91109 {
91110 return f != $ac_func;
91111   ;
91112   return 0;
91113 }
91114 _ACEOF
91115 rm -f conftest.$ac_objext conftest$ac_exeext
91116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91117   (eval $ac_link) 2>conftest.er1
91118   ac_status=$?
91119   grep -v '^ *+' conftest.er1 >conftest.err
91120   rm -f conftest.er1
91121   cat conftest.err >&5
91122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91123   (exit $ac_status); } &&
91124          { ac_try='test -z "$ac_c_werror_flag"
91125                          || test ! -s conftest.err'
91126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91127   (eval $ac_try) 2>&5
91128   ac_status=$?
91129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91130   (exit $ac_status); }; } &&
91131          { ac_try='test -s conftest$ac_exeext'
91132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91133   (eval $ac_try) 2>&5
91134   ac_status=$?
91135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91136   (exit $ac_status); }; }; then
91137   eval "$as_ac_var=yes"
91138 else
91139   echo "$as_me: failed program was:" >&5
91140 sed 's/^/| /' conftest.$ac_ext >&5
91141
91142 eval "$as_ac_var=no"
91143 fi
91144 rm -f conftest.err conftest.$ac_objext \
91145       conftest$ac_exeext conftest.$ac_ext
91146 fi
91147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91149 if test `eval echo '${'$as_ac_var'}'` = yes; then
91150   cat >>confdefs.h <<_ACEOF
91151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91152 _ACEOF
91153
91154 fi
91155 done
91156
91157   else
91158
91159   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91160 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91161   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91162     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91163   echo $ECHO_N "(cached) $ECHO_C" >&6
91164 else
91165
91166
91167
91168       ac_ext=cc
91169 ac_cpp='$CXXCPP $CPPFLAGS'
91170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91173
91174       cat >conftest.$ac_ext <<_ACEOF
91175 /* confdefs.h.  */
91176 _ACEOF
91177 cat confdefs.h >>conftest.$ac_ext
91178 cat >>conftest.$ac_ext <<_ACEOF
91179 /* end confdefs.h.  */
91180 #include <math.h>
91181                       #ifdef HAVE_IEEEFP_H
91182                       #include <ieeefp.h>
91183                       #endif
91184
91185 int
91186 main ()
91187 {
91188  _isnanf(0);
91189   ;
91190   return 0;
91191 }
91192 _ACEOF
91193 rm -f conftest.$ac_objext
91194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91195   (eval $ac_compile) 2>conftest.er1
91196   ac_status=$?
91197   grep -v '^ *+' conftest.er1 >conftest.err
91198   rm -f conftest.er1
91199   cat conftest.err >&5
91200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91201   (exit $ac_status); } &&
91202          { ac_try='test -z "$ac_cxx_werror_flag"
91203                          || test ! -s conftest.err'
91204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91205   (eval $ac_try) 2>&5
91206   ac_status=$?
91207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91208   (exit $ac_status); }; } &&
91209          { ac_try='test -s conftest.$ac_objext'
91210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91211   (eval $ac_try) 2>&5
91212   ac_status=$?
91213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91214   (exit $ac_status); }; }; then
91215   glibcxx_cv_func__isnanf_use=yes
91216 else
91217   echo "$as_me: failed program was:" >&5
91218 sed 's/^/| /' conftest.$ac_ext >&5
91219
91220 glibcxx_cv_func__isnanf_use=no
91221 fi
91222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91223       ac_ext=c
91224 ac_cpp='$CPP $CPPFLAGS'
91225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91228
91229
91230 fi
91231
91232   fi
91233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91234 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91235
91236     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
91237
91238 for ac_func in _isnanf
91239 do
91240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91241 echo "$as_me:$LINENO: checking for $ac_func" >&5
91242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91243 if eval "test \"\${$as_ac_var+set}\" = set"; then
91244   echo $ECHO_N "(cached) $ECHO_C" >&6
91245 else
91246   if test x$gcc_no_link = xyes; then
91247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91249    { (exit 1); exit 1; }; }
91250 fi
91251 cat >conftest.$ac_ext <<_ACEOF
91252 /* confdefs.h.  */
91253 _ACEOF
91254 cat confdefs.h >>conftest.$ac_ext
91255 cat >>conftest.$ac_ext <<_ACEOF
91256 /* end confdefs.h.  */
91257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91259 #define $ac_func innocuous_$ac_func
91260
91261 /* System header to define __stub macros and hopefully few prototypes,
91262     which can conflict with char $ac_func (); below.
91263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91264     <limits.h> exists even on freestanding compilers.  */
91265
91266 #ifdef __STDC__
91267 # include <limits.h>
91268 #else
91269 # include <assert.h>
91270 #endif
91271
91272 #undef $ac_func
91273
91274 /* Override any gcc2 internal prototype to avoid an error.  */
91275 #ifdef __cplusplus
91276 extern "C"
91277 {
91278 #endif
91279 /* We use char because int might match the return type of a gcc2
91280    builtin and then its argument prototype would still apply.  */
91281 char $ac_func ();
91282 /* The GNU C library defines this for functions which it implements
91283     to always fail with ENOSYS.  Some functions are actually named
91284     something starting with __ and the normal name is an alias.  */
91285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91286 choke me
91287 #else
91288 char (*f) () = $ac_func;
91289 #endif
91290 #ifdef __cplusplus
91291 }
91292 #endif
91293
91294 int
91295 main ()
91296 {
91297 return f != $ac_func;
91298   ;
91299   return 0;
91300 }
91301 _ACEOF
91302 rm -f conftest.$ac_objext conftest$ac_exeext
91303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91304   (eval $ac_link) 2>conftest.er1
91305   ac_status=$?
91306   grep -v '^ *+' conftest.er1 >conftest.err
91307   rm -f conftest.er1
91308   cat conftest.err >&5
91309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91310   (exit $ac_status); } &&
91311          { ac_try='test -z "$ac_c_werror_flag"
91312                          || test ! -s conftest.err'
91313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91314   (eval $ac_try) 2>&5
91315   ac_status=$?
91316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91317   (exit $ac_status); }; } &&
91318          { ac_try='test -s conftest$ac_exeext'
91319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91320   (eval $ac_try) 2>&5
91321   ac_status=$?
91322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91323   (exit $ac_status); }; }; then
91324   eval "$as_ac_var=yes"
91325 else
91326   echo "$as_me: failed program was:" >&5
91327 sed 's/^/| /' conftest.$ac_ext >&5
91328
91329 eval "$as_ac_var=no"
91330 fi
91331 rm -f conftest.err conftest.$ac_objext \
91332       conftest$ac_exeext conftest.$ac_ext
91333 fi
91334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91336 if test `eval echo '${'$as_ac_var'}'` = yes; then
91337   cat >>confdefs.h <<_ACEOF
91338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91339 _ACEOF
91340
91341 fi
91342 done
91343
91344     fi
91345   fi
91346
91347
91348
91349
91350
91351
91352   echo "$as_me:$LINENO: checking for isinff declaration" >&5
91353 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
91354   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
91355     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
91356   echo $ECHO_N "(cached) $ECHO_C" >&6
91357 else
91358
91359
91360
91361       ac_ext=cc
91362 ac_cpp='$CXXCPP $CPPFLAGS'
91363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91366
91367       cat >conftest.$ac_ext <<_ACEOF
91368 /* confdefs.h.  */
91369 _ACEOF
91370 cat confdefs.h >>conftest.$ac_ext
91371 cat >>conftest.$ac_ext <<_ACEOF
91372 /* end confdefs.h.  */
91373 #include <math.h>
91374                       #ifdef HAVE_IEEEFP_H
91375                       #include <ieeefp.h>
91376                       #endif
91377
91378 int
91379 main ()
91380 {
91381  isinff(0);
91382   ;
91383   return 0;
91384 }
91385 _ACEOF
91386 rm -f conftest.$ac_objext
91387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91388   (eval $ac_compile) 2>conftest.er1
91389   ac_status=$?
91390   grep -v '^ *+' conftest.er1 >conftest.err
91391   rm -f conftest.er1
91392   cat conftest.err >&5
91393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91394   (exit $ac_status); } &&
91395          { ac_try='test -z "$ac_cxx_werror_flag"
91396                          || test ! -s conftest.err'
91397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91398   (eval $ac_try) 2>&5
91399   ac_status=$?
91400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401   (exit $ac_status); }; } &&
91402          { ac_try='test -s conftest.$ac_objext'
91403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91404   (eval $ac_try) 2>&5
91405   ac_status=$?
91406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91407   (exit $ac_status); }; }; then
91408   glibcxx_cv_func_isinff_use=yes
91409 else
91410   echo "$as_me: failed program was:" >&5
91411 sed 's/^/| /' conftest.$ac_ext >&5
91412
91413 glibcxx_cv_func_isinff_use=no
91414 fi
91415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91416       ac_ext=c
91417 ac_cpp='$CPP $CPPFLAGS'
91418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91421
91422
91423 fi
91424
91425   fi
91426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
91427 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
91428
91429   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
91430
91431 for ac_func in isinff
91432 do
91433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91434 echo "$as_me:$LINENO: checking for $ac_func" >&5
91435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91436 if eval "test \"\${$as_ac_var+set}\" = set"; then
91437   echo $ECHO_N "(cached) $ECHO_C" >&6
91438 else
91439   if test x$gcc_no_link = xyes; then
91440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91442    { (exit 1); exit 1; }; }
91443 fi
91444 cat >conftest.$ac_ext <<_ACEOF
91445 /* confdefs.h.  */
91446 _ACEOF
91447 cat confdefs.h >>conftest.$ac_ext
91448 cat >>conftest.$ac_ext <<_ACEOF
91449 /* end confdefs.h.  */
91450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91452 #define $ac_func innocuous_$ac_func
91453
91454 /* System header to define __stub macros and hopefully few prototypes,
91455     which can conflict with char $ac_func (); below.
91456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91457     <limits.h> exists even on freestanding compilers.  */
91458
91459 #ifdef __STDC__
91460 # include <limits.h>
91461 #else
91462 # include <assert.h>
91463 #endif
91464
91465 #undef $ac_func
91466
91467 /* Override any gcc2 internal prototype to avoid an error.  */
91468 #ifdef __cplusplus
91469 extern "C"
91470 {
91471 #endif
91472 /* We use char because int might match the return type of a gcc2
91473    builtin and then its argument prototype would still apply.  */
91474 char $ac_func ();
91475 /* The GNU C library defines this for functions which it implements
91476     to always fail with ENOSYS.  Some functions are actually named
91477     something starting with __ and the normal name is an alias.  */
91478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91479 choke me
91480 #else
91481 char (*f) () = $ac_func;
91482 #endif
91483 #ifdef __cplusplus
91484 }
91485 #endif
91486
91487 int
91488 main ()
91489 {
91490 return f != $ac_func;
91491   ;
91492   return 0;
91493 }
91494 _ACEOF
91495 rm -f conftest.$ac_objext conftest$ac_exeext
91496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91497   (eval $ac_link) 2>conftest.er1
91498   ac_status=$?
91499   grep -v '^ *+' conftest.er1 >conftest.err
91500   rm -f conftest.er1
91501   cat conftest.err >&5
91502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91503   (exit $ac_status); } &&
91504          { ac_try='test -z "$ac_c_werror_flag"
91505                          || test ! -s conftest.err'
91506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91507   (eval $ac_try) 2>&5
91508   ac_status=$?
91509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91510   (exit $ac_status); }; } &&
91511          { ac_try='test -s conftest$ac_exeext'
91512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91513   (eval $ac_try) 2>&5
91514   ac_status=$?
91515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91516   (exit $ac_status); }; }; then
91517   eval "$as_ac_var=yes"
91518 else
91519   echo "$as_me: failed program was:" >&5
91520 sed 's/^/| /' conftest.$ac_ext >&5
91521
91522 eval "$as_ac_var=no"
91523 fi
91524 rm -f conftest.err conftest.$ac_objext \
91525       conftest$ac_exeext conftest.$ac_ext
91526 fi
91527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91529 if test `eval echo '${'$as_ac_var'}'` = yes; then
91530   cat >>confdefs.h <<_ACEOF
91531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91532 _ACEOF
91533
91534 fi
91535 done
91536
91537   else
91538
91539   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
91540 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
91541   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
91542     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
91543   echo $ECHO_N "(cached) $ECHO_C" >&6
91544 else
91545
91546
91547
91548       ac_ext=cc
91549 ac_cpp='$CXXCPP $CPPFLAGS'
91550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91553
91554       cat >conftest.$ac_ext <<_ACEOF
91555 /* confdefs.h.  */
91556 _ACEOF
91557 cat confdefs.h >>conftest.$ac_ext
91558 cat >>conftest.$ac_ext <<_ACEOF
91559 /* end confdefs.h.  */
91560 #include <math.h>
91561                       #ifdef HAVE_IEEEFP_H
91562                       #include <ieeefp.h>
91563                       #endif
91564
91565 int
91566 main ()
91567 {
91568  _isinff(0);
91569   ;
91570   return 0;
91571 }
91572 _ACEOF
91573 rm -f conftest.$ac_objext
91574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91575   (eval $ac_compile) 2>conftest.er1
91576   ac_status=$?
91577   grep -v '^ *+' conftest.er1 >conftest.err
91578   rm -f conftest.er1
91579   cat conftest.err >&5
91580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91581   (exit $ac_status); } &&
91582          { ac_try='test -z "$ac_cxx_werror_flag"
91583                          || test ! -s conftest.err'
91584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91585   (eval $ac_try) 2>&5
91586   ac_status=$?
91587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91588   (exit $ac_status); }; } &&
91589          { ac_try='test -s conftest.$ac_objext'
91590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91591   (eval $ac_try) 2>&5
91592   ac_status=$?
91593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91594   (exit $ac_status); }; }; then
91595   glibcxx_cv_func__isinff_use=yes
91596 else
91597   echo "$as_me: failed program was:" >&5
91598 sed 's/^/| /' conftest.$ac_ext >&5
91599
91600 glibcxx_cv_func__isinff_use=no
91601 fi
91602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91603       ac_ext=c
91604 ac_cpp='$CPP $CPPFLAGS'
91605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91608
91609
91610 fi
91611
91612   fi
91613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
91614 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
91615
91616     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
91617
91618 for ac_func in _isinff
91619 do
91620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91621 echo "$as_me:$LINENO: checking for $ac_func" >&5
91622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91623 if eval "test \"\${$as_ac_var+set}\" = set"; then
91624   echo $ECHO_N "(cached) $ECHO_C" >&6
91625 else
91626   if test x$gcc_no_link = xyes; then
91627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91629    { (exit 1); exit 1; }; }
91630 fi
91631 cat >conftest.$ac_ext <<_ACEOF
91632 /* confdefs.h.  */
91633 _ACEOF
91634 cat confdefs.h >>conftest.$ac_ext
91635 cat >>conftest.$ac_ext <<_ACEOF
91636 /* end confdefs.h.  */
91637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91639 #define $ac_func innocuous_$ac_func
91640
91641 /* System header to define __stub macros and hopefully few prototypes,
91642     which can conflict with char $ac_func (); below.
91643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91644     <limits.h> exists even on freestanding compilers.  */
91645
91646 #ifdef __STDC__
91647 # include <limits.h>
91648 #else
91649 # include <assert.h>
91650 #endif
91651
91652 #undef $ac_func
91653
91654 /* Override any gcc2 internal prototype to avoid an error.  */
91655 #ifdef __cplusplus
91656 extern "C"
91657 {
91658 #endif
91659 /* We use char because int might match the return type of a gcc2
91660    builtin and then its argument prototype would still apply.  */
91661 char $ac_func ();
91662 /* The GNU C library defines this for functions which it implements
91663     to always fail with ENOSYS.  Some functions are actually named
91664     something starting with __ and the normal name is an alias.  */
91665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91666 choke me
91667 #else
91668 char (*f) () = $ac_func;
91669 #endif
91670 #ifdef __cplusplus
91671 }
91672 #endif
91673
91674 int
91675 main ()
91676 {
91677 return f != $ac_func;
91678   ;
91679   return 0;
91680 }
91681 _ACEOF
91682 rm -f conftest.$ac_objext conftest$ac_exeext
91683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91684   (eval $ac_link) 2>conftest.er1
91685   ac_status=$?
91686   grep -v '^ *+' conftest.er1 >conftest.err
91687   rm -f conftest.er1
91688   cat conftest.err >&5
91689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91690   (exit $ac_status); } &&
91691          { ac_try='test -z "$ac_c_werror_flag"
91692                          || test ! -s conftest.err'
91693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91694   (eval $ac_try) 2>&5
91695   ac_status=$?
91696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91697   (exit $ac_status); }; } &&
91698          { ac_try='test -s conftest$ac_exeext'
91699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91700   (eval $ac_try) 2>&5
91701   ac_status=$?
91702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703   (exit $ac_status); }; }; then
91704   eval "$as_ac_var=yes"
91705 else
91706   echo "$as_me: failed program was:" >&5
91707 sed 's/^/| /' conftest.$ac_ext >&5
91708
91709 eval "$as_ac_var=no"
91710 fi
91711 rm -f conftest.err conftest.$ac_objext \
91712       conftest$ac_exeext conftest.$ac_ext
91713 fi
91714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91716 if test `eval echo '${'$as_ac_var'}'` = yes; then
91717   cat >>confdefs.h <<_ACEOF
91718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91719 _ACEOF
91720
91721 fi
91722 done
91723
91724     fi
91725   fi
91726
91727
91728
91729
91730
91731
91732   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
91733 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
91734   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
91735     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
91736   echo $ECHO_N "(cached) $ECHO_C" >&6
91737 else
91738
91739
91740
91741       ac_ext=cc
91742 ac_cpp='$CXXCPP $CPPFLAGS'
91743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91746
91747       cat >conftest.$ac_ext <<_ACEOF
91748 /* confdefs.h.  */
91749 _ACEOF
91750 cat confdefs.h >>conftest.$ac_ext
91751 cat >>conftest.$ac_ext <<_ACEOF
91752 /* end confdefs.h.  */
91753 #include <math.h>
91754 int
91755 main ()
91756 {
91757  atan2f(0, 0);
91758   ;
91759   return 0;
91760 }
91761 _ACEOF
91762 rm -f conftest.$ac_objext
91763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91764   (eval $ac_compile) 2>conftest.er1
91765   ac_status=$?
91766   grep -v '^ *+' conftest.er1 >conftest.err
91767   rm -f conftest.er1
91768   cat conftest.err >&5
91769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91770   (exit $ac_status); } &&
91771          { ac_try='test -z "$ac_cxx_werror_flag"
91772                          || test ! -s conftest.err'
91773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91774   (eval $ac_try) 2>&5
91775   ac_status=$?
91776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91777   (exit $ac_status); }; } &&
91778          { ac_try='test -s conftest.$ac_objext'
91779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91780   (eval $ac_try) 2>&5
91781   ac_status=$?
91782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91783   (exit $ac_status); }; }; then
91784   glibcxx_cv_func_atan2f_use=yes
91785 else
91786   echo "$as_me: failed program was:" >&5
91787 sed 's/^/| /' conftest.$ac_ext >&5
91788
91789 glibcxx_cv_func_atan2f_use=no
91790 fi
91791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91792       ac_ext=c
91793 ac_cpp='$CPP $CPPFLAGS'
91794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91797
91798
91799 fi
91800
91801   fi
91802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
91803 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
91804
91805   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
91806
91807 for ac_func in atan2f
91808 do
91809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91810 echo "$as_me:$LINENO: checking for $ac_func" >&5
91811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91812 if eval "test \"\${$as_ac_var+set}\" = set"; then
91813   echo $ECHO_N "(cached) $ECHO_C" >&6
91814 else
91815   if test x$gcc_no_link = xyes; then
91816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91818    { (exit 1); exit 1; }; }
91819 fi
91820 cat >conftest.$ac_ext <<_ACEOF
91821 /* confdefs.h.  */
91822 _ACEOF
91823 cat confdefs.h >>conftest.$ac_ext
91824 cat >>conftest.$ac_ext <<_ACEOF
91825 /* end confdefs.h.  */
91826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91828 #define $ac_func innocuous_$ac_func
91829
91830 /* System header to define __stub macros and hopefully few prototypes,
91831     which can conflict with char $ac_func (); below.
91832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91833     <limits.h> exists even on freestanding compilers.  */
91834
91835 #ifdef __STDC__
91836 # include <limits.h>
91837 #else
91838 # include <assert.h>
91839 #endif
91840
91841 #undef $ac_func
91842
91843 /* Override any gcc2 internal prototype to avoid an error.  */
91844 #ifdef __cplusplus
91845 extern "C"
91846 {
91847 #endif
91848 /* We use char because int might match the return type of a gcc2
91849    builtin and then its argument prototype would still apply.  */
91850 char $ac_func ();
91851 /* The GNU C library defines this for functions which it implements
91852     to always fail with ENOSYS.  Some functions are actually named
91853     something starting with __ and the normal name is an alias.  */
91854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91855 choke me
91856 #else
91857 char (*f) () = $ac_func;
91858 #endif
91859 #ifdef __cplusplus
91860 }
91861 #endif
91862
91863 int
91864 main ()
91865 {
91866 return f != $ac_func;
91867   ;
91868   return 0;
91869 }
91870 _ACEOF
91871 rm -f conftest.$ac_objext conftest$ac_exeext
91872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91873   (eval $ac_link) 2>conftest.er1
91874   ac_status=$?
91875   grep -v '^ *+' conftest.er1 >conftest.err
91876   rm -f conftest.er1
91877   cat conftest.err >&5
91878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91879   (exit $ac_status); } &&
91880          { ac_try='test -z "$ac_c_werror_flag"
91881                          || test ! -s conftest.err'
91882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91883   (eval $ac_try) 2>&5
91884   ac_status=$?
91885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91886   (exit $ac_status); }; } &&
91887          { ac_try='test -s conftest$ac_exeext'
91888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91889   (eval $ac_try) 2>&5
91890   ac_status=$?
91891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91892   (exit $ac_status); }; }; then
91893   eval "$as_ac_var=yes"
91894 else
91895   echo "$as_me: failed program was:" >&5
91896 sed 's/^/| /' conftest.$ac_ext >&5
91897
91898 eval "$as_ac_var=no"
91899 fi
91900 rm -f conftest.err conftest.$ac_objext \
91901       conftest$ac_exeext conftest.$ac_ext
91902 fi
91903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91905 if test `eval echo '${'$as_ac_var'}'` = yes; then
91906   cat >>confdefs.h <<_ACEOF
91907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91908 _ACEOF
91909
91910 fi
91911 done
91912
91913   else
91914
91915   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
91916 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
91917   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
91918     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
91919   echo $ECHO_N "(cached) $ECHO_C" >&6
91920 else
91921
91922
91923
91924       ac_ext=cc
91925 ac_cpp='$CXXCPP $CPPFLAGS'
91926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91929
91930       cat >conftest.$ac_ext <<_ACEOF
91931 /* confdefs.h.  */
91932 _ACEOF
91933 cat confdefs.h >>conftest.$ac_ext
91934 cat >>conftest.$ac_ext <<_ACEOF
91935 /* end confdefs.h.  */
91936 #include <math.h>
91937 int
91938 main ()
91939 {
91940  _atan2f(0, 0);
91941   ;
91942   return 0;
91943 }
91944 _ACEOF
91945 rm -f conftest.$ac_objext
91946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91947   (eval $ac_compile) 2>conftest.er1
91948   ac_status=$?
91949   grep -v '^ *+' conftest.er1 >conftest.err
91950   rm -f conftest.er1
91951   cat conftest.err >&5
91952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91953   (exit $ac_status); } &&
91954          { ac_try='test -z "$ac_cxx_werror_flag"
91955                          || test ! -s conftest.err'
91956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91957   (eval $ac_try) 2>&5
91958   ac_status=$?
91959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91960   (exit $ac_status); }; } &&
91961          { ac_try='test -s conftest.$ac_objext'
91962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91963   (eval $ac_try) 2>&5
91964   ac_status=$?
91965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91966   (exit $ac_status); }; }; then
91967   glibcxx_cv_func__atan2f_use=yes
91968 else
91969   echo "$as_me: failed program was:" >&5
91970 sed 's/^/| /' conftest.$ac_ext >&5
91971
91972 glibcxx_cv_func__atan2f_use=no
91973 fi
91974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91975       ac_ext=c
91976 ac_cpp='$CPP $CPPFLAGS'
91977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91980
91981
91982 fi
91983
91984   fi
91985   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
91986 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
91987
91988     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
91989
91990 for ac_func in _atan2f
91991 do
91992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91993 echo "$as_me:$LINENO: checking for $ac_func" >&5
91994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91995 if eval "test \"\${$as_ac_var+set}\" = set"; then
91996   echo $ECHO_N "(cached) $ECHO_C" >&6
91997 else
91998   if test x$gcc_no_link = xyes; then
91999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92001    { (exit 1); exit 1; }; }
92002 fi
92003 cat >conftest.$ac_ext <<_ACEOF
92004 /* confdefs.h.  */
92005 _ACEOF
92006 cat confdefs.h >>conftest.$ac_ext
92007 cat >>conftest.$ac_ext <<_ACEOF
92008 /* end confdefs.h.  */
92009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92011 #define $ac_func innocuous_$ac_func
92012
92013 /* System header to define __stub macros and hopefully few prototypes,
92014     which can conflict with char $ac_func (); below.
92015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92016     <limits.h> exists even on freestanding compilers.  */
92017
92018 #ifdef __STDC__
92019 # include <limits.h>
92020 #else
92021 # include <assert.h>
92022 #endif
92023
92024 #undef $ac_func
92025
92026 /* Override any gcc2 internal prototype to avoid an error.  */
92027 #ifdef __cplusplus
92028 extern "C"
92029 {
92030 #endif
92031 /* We use char because int might match the return type of a gcc2
92032    builtin and then its argument prototype would still apply.  */
92033 char $ac_func ();
92034 /* The GNU C library defines this for functions which it implements
92035     to always fail with ENOSYS.  Some functions are actually named
92036     something starting with __ and the normal name is an alias.  */
92037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92038 choke me
92039 #else
92040 char (*f) () = $ac_func;
92041 #endif
92042 #ifdef __cplusplus
92043 }
92044 #endif
92045
92046 int
92047 main ()
92048 {
92049 return f != $ac_func;
92050   ;
92051   return 0;
92052 }
92053 _ACEOF
92054 rm -f conftest.$ac_objext conftest$ac_exeext
92055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92056   (eval $ac_link) 2>conftest.er1
92057   ac_status=$?
92058   grep -v '^ *+' conftest.er1 >conftest.err
92059   rm -f conftest.er1
92060   cat conftest.err >&5
92061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062   (exit $ac_status); } &&
92063          { ac_try='test -z "$ac_c_werror_flag"
92064                          || test ! -s conftest.err'
92065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066   (eval $ac_try) 2>&5
92067   ac_status=$?
92068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069   (exit $ac_status); }; } &&
92070          { ac_try='test -s conftest$ac_exeext'
92071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92072   (eval $ac_try) 2>&5
92073   ac_status=$?
92074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92075   (exit $ac_status); }; }; then
92076   eval "$as_ac_var=yes"
92077 else
92078   echo "$as_me: failed program was:" >&5
92079 sed 's/^/| /' conftest.$ac_ext >&5
92080
92081 eval "$as_ac_var=no"
92082 fi
92083 rm -f conftest.err conftest.$ac_objext \
92084       conftest$ac_exeext conftest.$ac_ext
92085 fi
92086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92088 if test `eval echo '${'$as_ac_var'}'` = yes; then
92089   cat >>confdefs.h <<_ACEOF
92090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92091 _ACEOF
92092
92093 fi
92094 done
92095
92096     fi
92097   fi
92098
92099
92100
92101
92102
92103
92104   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92105 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92106   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92107     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92108   echo $ECHO_N "(cached) $ECHO_C" >&6
92109 else
92110
92111
92112
92113       ac_ext=cc
92114 ac_cpp='$CXXCPP $CPPFLAGS'
92115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92118
92119       cat >conftest.$ac_ext <<_ACEOF
92120 /* confdefs.h.  */
92121 _ACEOF
92122 cat confdefs.h >>conftest.$ac_ext
92123 cat >>conftest.$ac_ext <<_ACEOF
92124 /* end confdefs.h.  */
92125 #include <math.h>
92126                       #ifdef HAVE_IEEEFP_H
92127                       #include <ieeefp.h>
92128                       #endif
92129
92130 int
92131 main ()
92132 {
92133  fabsf(0);
92134   ;
92135   return 0;
92136 }
92137 _ACEOF
92138 rm -f conftest.$ac_objext
92139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92140   (eval $ac_compile) 2>conftest.er1
92141   ac_status=$?
92142   grep -v '^ *+' conftest.er1 >conftest.err
92143   rm -f conftest.er1
92144   cat conftest.err >&5
92145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92146   (exit $ac_status); } &&
92147          { ac_try='test -z "$ac_cxx_werror_flag"
92148                          || test ! -s conftest.err'
92149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92150   (eval $ac_try) 2>&5
92151   ac_status=$?
92152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92153   (exit $ac_status); }; } &&
92154          { ac_try='test -s conftest.$ac_objext'
92155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92156   (eval $ac_try) 2>&5
92157   ac_status=$?
92158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92159   (exit $ac_status); }; }; then
92160   glibcxx_cv_func_fabsf_use=yes
92161 else
92162   echo "$as_me: failed program was:" >&5
92163 sed 's/^/| /' conftest.$ac_ext >&5
92164
92165 glibcxx_cv_func_fabsf_use=no
92166 fi
92167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92168       ac_ext=c
92169 ac_cpp='$CPP $CPPFLAGS'
92170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92173
92174
92175 fi
92176
92177   fi
92178   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92179 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92180
92181   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92182
92183 for ac_func in fabsf
92184 do
92185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92186 echo "$as_me:$LINENO: checking for $ac_func" >&5
92187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92188 if eval "test \"\${$as_ac_var+set}\" = set"; then
92189   echo $ECHO_N "(cached) $ECHO_C" >&6
92190 else
92191   if test x$gcc_no_link = xyes; then
92192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92194    { (exit 1); exit 1; }; }
92195 fi
92196 cat >conftest.$ac_ext <<_ACEOF
92197 /* confdefs.h.  */
92198 _ACEOF
92199 cat confdefs.h >>conftest.$ac_ext
92200 cat >>conftest.$ac_ext <<_ACEOF
92201 /* end confdefs.h.  */
92202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92204 #define $ac_func innocuous_$ac_func
92205
92206 /* System header to define __stub macros and hopefully few prototypes,
92207     which can conflict with char $ac_func (); below.
92208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92209     <limits.h> exists even on freestanding compilers.  */
92210
92211 #ifdef __STDC__
92212 # include <limits.h>
92213 #else
92214 # include <assert.h>
92215 #endif
92216
92217 #undef $ac_func
92218
92219 /* Override any gcc2 internal prototype to avoid an error.  */
92220 #ifdef __cplusplus
92221 extern "C"
92222 {
92223 #endif
92224 /* We use char because int might match the return type of a gcc2
92225    builtin and then its argument prototype would still apply.  */
92226 char $ac_func ();
92227 /* The GNU C library defines this for functions which it implements
92228     to always fail with ENOSYS.  Some functions are actually named
92229     something starting with __ and the normal name is an alias.  */
92230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92231 choke me
92232 #else
92233 char (*f) () = $ac_func;
92234 #endif
92235 #ifdef __cplusplus
92236 }
92237 #endif
92238
92239 int
92240 main ()
92241 {
92242 return f != $ac_func;
92243   ;
92244   return 0;
92245 }
92246 _ACEOF
92247 rm -f conftest.$ac_objext conftest$ac_exeext
92248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92249   (eval $ac_link) 2>conftest.er1
92250   ac_status=$?
92251   grep -v '^ *+' conftest.er1 >conftest.err
92252   rm -f conftest.er1
92253   cat conftest.err >&5
92254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92255   (exit $ac_status); } &&
92256          { ac_try='test -z "$ac_c_werror_flag"
92257                          || test ! -s conftest.err'
92258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92259   (eval $ac_try) 2>&5
92260   ac_status=$?
92261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92262   (exit $ac_status); }; } &&
92263          { ac_try='test -s conftest$ac_exeext'
92264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265   (eval $ac_try) 2>&5
92266   ac_status=$?
92267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268   (exit $ac_status); }; }; then
92269   eval "$as_ac_var=yes"
92270 else
92271   echo "$as_me: failed program was:" >&5
92272 sed 's/^/| /' conftest.$ac_ext >&5
92273
92274 eval "$as_ac_var=no"
92275 fi
92276 rm -f conftest.err conftest.$ac_objext \
92277       conftest$ac_exeext conftest.$ac_ext
92278 fi
92279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92281 if test `eval echo '${'$as_ac_var'}'` = yes; then
92282   cat >>confdefs.h <<_ACEOF
92283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92284 _ACEOF
92285
92286 fi
92287 done
92288
92289   else
92290
92291   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
92292 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
92293   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
92294     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
92295   echo $ECHO_N "(cached) $ECHO_C" >&6
92296 else
92297
92298
92299
92300       ac_ext=cc
92301 ac_cpp='$CXXCPP $CPPFLAGS'
92302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92305
92306       cat >conftest.$ac_ext <<_ACEOF
92307 /* confdefs.h.  */
92308 _ACEOF
92309 cat confdefs.h >>conftest.$ac_ext
92310 cat >>conftest.$ac_ext <<_ACEOF
92311 /* end confdefs.h.  */
92312 #include <math.h>
92313                       #ifdef HAVE_IEEEFP_H
92314                       #include <ieeefp.h>
92315                       #endif
92316
92317 int
92318 main ()
92319 {
92320  _fabsf(0);
92321   ;
92322   return 0;
92323 }
92324 _ACEOF
92325 rm -f conftest.$ac_objext
92326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92327   (eval $ac_compile) 2>conftest.er1
92328   ac_status=$?
92329   grep -v '^ *+' conftest.er1 >conftest.err
92330   rm -f conftest.er1
92331   cat conftest.err >&5
92332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92333   (exit $ac_status); } &&
92334          { ac_try='test -z "$ac_cxx_werror_flag"
92335                          || test ! -s conftest.err'
92336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92337   (eval $ac_try) 2>&5
92338   ac_status=$?
92339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340   (exit $ac_status); }; } &&
92341          { ac_try='test -s conftest.$ac_objext'
92342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92343   (eval $ac_try) 2>&5
92344   ac_status=$?
92345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92346   (exit $ac_status); }; }; then
92347   glibcxx_cv_func__fabsf_use=yes
92348 else
92349   echo "$as_me: failed program was:" >&5
92350 sed 's/^/| /' conftest.$ac_ext >&5
92351
92352 glibcxx_cv_func__fabsf_use=no
92353 fi
92354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92355       ac_ext=c
92356 ac_cpp='$CPP $CPPFLAGS'
92357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92360
92361
92362 fi
92363
92364   fi
92365   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
92366 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
92367
92368     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
92369
92370 for ac_func in _fabsf
92371 do
92372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92373 echo "$as_me:$LINENO: checking for $ac_func" >&5
92374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92375 if eval "test \"\${$as_ac_var+set}\" = set"; then
92376   echo $ECHO_N "(cached) $ECHO_C" >&6
92377 else
92378   if test x$gcc_no_link = xyes; then
92379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92381    { (exit 1); exit 1; }; }
92382 fi
92383 cat >conftest.$ac_ext <<_ACEOF
92384 /* confdefs.h.  */
92385 _ACEOF
92386 cat confdefs.h >>conftest.$ac_ext
92387 cat >>conftest.$ac_ext <<_ACEOF
92388 /* end confdefs.h.  */
92389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92391 #define $ac_func innocuous_$ac_func
92392
92393 /* System header to define __stub macros and hopefully few prototypes,
92394     which can conflict with char $ac_func (); below.
92395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92396     <limits.h> exists even on freestanding compilers.  */
92397
92398 #ifdef __STDC__
92399 # include <limits.h>
92400 #else
92401 # include <assert.h>
92402 #endif
92403
92404 #undef $ac_func
92405
92406 /* Override any gcc2 internal prototype to avoid an error.  */
92407 #ifdef __cplusplus
92408 extern "C"
92409 {
92410 #endif
92411 /* We use char because int might match the return type of a gcc2
92412    builtin and then its argument prototype would still apply.  */
92413 char $ac_func ();
92414 /* The GNU C library defines this for functions which it implements
92415     to always fail with ENOSYS.  Some functions are actually named
92416     something starting with __ and the normal name is an alias.  */
92417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92418 choke me
92419 #else
92420 char (*f) () = $ac_func;
92421 #endif
92422 #ifdef __cplusplus
92423 }
92424 #endif
92425
92426 int
92427 main ()
92428 {
92429 return f != $ac_func;
92430   ;
92431   return 0;
92432 }
92433 _ACEOF
92434 rm -f conftest.$ac_objext conftest$ac_exeext
92435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92436   (eval $ac_link) 2>conftest.er1
92437   ac_status=$?
92438   grep -v '^ *+' conftest.er1 >conftest.err
92439   rm -f conftest.er1
92440   cat conftest.err >&5
92441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92442   (exit $ac_status); } &&
92443          { ac_try='test -z "$ac_c_werror_flag"
92444                          || test ! -s conftest.err'
92445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92446   (eval $ac_try) 2>&5
92447   ac_status=$?
92448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92449   (exit $ac_status); }; } &&
92450          { ac_try='test -s conftest$ac_exeext'
92451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92452   (eval $ac_try) 2>&5
92453   ac_status=$?
92454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92455   (exit $ac_status); }; }; then
92456   eval "$as_ac_var=yes"
92457 else
92458   echo "$as_me: failed program was:" >&5
92459 sed 's/^/| /' conftest.$ac_ext >&5
92460
92461 eval "$as_ac_var=no"
92462 fi
92463 rm -f conftest.err conftest.$ac_objext \
92464       conftest$ac_exeext conftest.$ac_ext
92465 fi
92466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92468 if test `eval echo '${'$as_ac_var'}'` = yes; then
92469   cat >>confdefs.h <<_ACEOF
92470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92471 _ACEOF
92472
92473 fi
92474 done
92475
92476     fi
92477   fi
92478
92479
92480
92481
92482
92483
92484   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
92485 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
92486   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
92487     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
92488   echo $ECHO_N "(cached) $ECHO_C" >&6
92489 else
92490
92491
92492
92493       ac_ext=cc
92494 ac_cpp='$CXXCPP $CPPFLAGS'
92495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92498
92499       cat >conftest.$ac_ext <<_ACEOF
92500 /* confdefs.h.  */
92501 _ACEOF
92502 cat confdefs.h >>conftest.$ac_ext
92503 cat >>conftest.$ac_ext <<_ACEOF
92504 /* end confdefs.h.  */
92505 #include <math.h>
92506 int
92507 main ()
92508 {
92509  fmodf(0, 0);
92510   ;
92511   return 0;
92512 }
92513 _ACEOF
92514 rm -f conftest.$ac_objext
92515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92516   (eval $ac_compile) 2>conftest.er1
92517   ac_status=$?
92518   grep -v '^ *+' conftest.er1 >conftest.err
92519   rm -f conftest.er1
92520   cat conftest.err >&5
92521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92522   (exit $ac_status); } &&
92523          { ac_try='test -z "$ac_cxx_werror_flag"
92524                          || test ! -s conftest.err'
92525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92526   (eval $ac_try) 2>&5
92527   ac_status=$?
92528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92529   (exit $ac_status); }; } &&
92530          { ac_try='test -s conftest.$ac_objext'
92531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92532   (eval $ac_try) 2>&5
92533   ac_status=$?
92534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92535   (exit $ac_status); }; }; then
92536   glibcxx_cv_func_fmodf_use=yes
92537 else
92538   echo "$as_me: failed program was:" >&5
92539 sed 's/^/| /' conftest.$ac_ext >&5
92540
92541 glibcxx_cv_func_fmodf_use=no
92542 fi
92543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92544       ac_ext=c
92545 ac_cpp='$CPP $CPPFLAGS'
92546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92549
92550
92551 fi
92552
92553   fi
92554   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
92555 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
92556
92557   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
92558
92559 for ac_func in fmodf
92560 do
92561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92562 echo "$as_me:$LINENO: checking for $ac_func" >&5
92563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92564 if eval "test \"\${$as_ac_var+set}\" = set"; then
92565   echo $ECHO_N "(cached) $ECHO_C" >&6
92566 else
92567   if test x$gcc_no_link = xyes; then
92568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92570    { (exit 1); exit 1; }; }
92571 fi
92572 cat >conftest.$ac_ext <<_ACEOF
92573 /* confdefs.h.  */
92574 _ACEOF
92575 cat confdefs.h >>conftest.$ac_ext
92576 cat >>conftest.$ac_ext <<_ACEOF
92577 /* end confdefs.h.  */
92578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92580 #define $ac_func innocuous_$ac_func
92581
92582 /* System header to define __stub macros and hopefully few prototypes,
92583     which can conflict with char $ac_func (); below.
92584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92585     <limits.h> exists even on freestanding compilers.  */
92586
92587 #ifdef __STDC__
92588 # include <limits.h>
92589 #else
92590 # include <assert.h>
92591 #endif
92592
92593 #undef $ac_func
92594
92595 /* Override any gcc2 internal prototype to avoid an error.  */
92596 #ifdef __cplusplus
92597 extern "C"
92598 {
92599 #endif
92600 /* We use char because int might match the return type of a gcc2
92601    builtin and then its argument prototype would still apply.  */
92602 char $ac_func ();
92603 /* The GNU C library defines this for functions which it implements
92604     to always fail with ENOSYS.  Some functions are actually named
92605     something starting with __ and the normal name is an alias.  */
92606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92607 choke me
92608 #else
92609 char (*f) () = $ac_func;
92610 #endif
92611 #ifdef __cplusplus
92612 }
92613 #endif
92614
92615 int
92616 main ()
92617 {
92618 return f != $ac_func;
92619   ;
92620   return 0;
92621 }
92622 _ACEOF
92623 rm -f conftest.$ac_objext conftest$ac_exeext
92624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92625   (eval $ac_link) 2>conftest.er1
92626   ac_status=$?
92627   grep -v '^ *+' conftest.er1 >conftest.err
92628   rm -f conftest.er1
92629   cat conftest.err >&5
92630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92631   (exit $ac_status); } &&
92632          { ac_try='test -z "$ac_c_werror_flag"
92633                          || test ! -s conftest.err'
92634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92635   (eval $ac_try) 2>&5
92636   ac_status=$?
92637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92638   (exit $ac_status); }; } &&
92639          { ac_try='test -s conftest$ac_exeext'
92640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641   (eval $ac_try) 2>&5
92642   ac_status=$?
92643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644   (exit $ac_status); }; }; then
92645   eval "$as_ac_var=yes"
92646 else
92647   echo "$as_me: failed program was:" >&5
92648 sed 's/^/| /' conftest.$ac_ext >&5
92649
92650 eval "$as_ac_var=no"
92651 fi
92652 rm -f conftest.err conftest.$ac_objext \
92653       conftest$ac_exeext conftest.$ac_ext
92654 fi
92655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92657 if test `eval echo '${'$as_ac_var'}'` = yes; then
92658   cat >>confdefs.h <<_ACEOF
92659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92660 _ACEOF
92661
92662 fi
92663 done
92664
92665   else
92666
92667   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
92668 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
92669   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
92670     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
92671   echo $ECHO_N "(cached) $ECHO_C" >&6
92672 else
92673
92674
92675
92676       ac_ext=cc
92677 ac_cpp='$CXXCPP $CPPFLAGS'
92678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92681
92682       cat >conftest.$ac_ext <<_ACEOF
92683 /* confdefs.h.  */
92684 _ACEOF
92685 cat confdefs.h >>conftest.$ac_ext
92686 cat >>conftest.$ac_ext <<_ACEOF
92687 /* end confdefs.h.  */
92688 #include <math.h>
92689 int
92690 main ()
92691 {
92692  _fmodf(0, 0);
92693   ;
92694   return 0;
92695 }
92696 _ACEOF
92697 rm -f conftest.$ac_objext
92698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92699   (eval $ac_compile) 2>conftest.er1
92700   ac_status=$?
92701   grep -v '^ *+' conftest.er1 >conftest.err
92702   rm -f conftest.er1
92703   cat conftest.err >&5
92704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92705   (exit $ac_status); } &&
92706          { ac_try='test -z "$ac_cxx_werror_flag"
92707                          || test ! -s conftest.err'
92708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709   (eval $ac_try) 2>&5
92710   ac_status=$?
92711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712   (exit $ac_status); }; } &&
92713          { ac_try='test -s conftest.$ac_objext'
92714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92715   (eval $ac_try) 2>&5
92716   ac_status=$?
92717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92718   (exit $ac_status); }; }; then
92719   glibcxx_cv_func__fmodf_use=yes
92720 else
92721   echo "$as_me: failed program was:" >&5
92722 sed 's/^/| /' conftest.$ac_ext >&5
92723
92724 glibcxx_cv_func__fmodf_use=no
92725 fi
92726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92727       ac_ext=c
92728 ac_cpp='$CPP $CPPFLAGS'
92729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92732
92733
92734 fi
92735
92736   fi
92737   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
92738 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
92739
92740     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
92741
92742 for ac_func in _fmodf
92743 do
92744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92745 echo "$as_me:$LINENO: checking for $ac_func" >&5
92746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92747 if eval "test \"\${$as_ac_var+set}\" = set"; then
92748   echo $ECHO_N "(cached) $ECHO_C" >&6
92749 else
92750   if test x$gcc_no_link = xyes; then
92751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92753    { (exit 1); exit 1; }; }
92754 fi
92755 cat >conftest.$ac_ext <<_ACEOF
92756 /* confdefs.h.  */
92757 _ACEOF
92758 cat confdefs.h >>conftest.$ac_ext
92759 cat >>conftest.$ac_ext <<_ACEOF
92760 /* end confdefs.h.  */
92761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92763 #define $ac_func innocuous_$ac_func
92764
92765 /* System header to define __stub macros and hopefully few prototypes,
92766     which can conflict with char $ac_func (); below.
92767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92768     <limits.h> exists even on freestanding compilers.  */
92769
92770 #ifdef __STDC__
92771 # include <limits.h>
92772 #else
92773 # include <assert.h>
92774 #endif
92775
92776 #undef $ac_func
92777
92778 /* Override any gcc2 internal prototype to avoid an error.  */
92779 #ifdef __cplusplus
92780 extern "C"
92781 {
92782 #endif
92783 /* We use char because int might match the return type of a gcc2
92784    builtin and then its argument prototype would still apply.  */
92785 char $ac_func ();
92786 /* The GNU C library defines this for functions which it implements
92787     to always fail with ENOSYS.  Some functions are actually named
92788     something starting with __ and the normal name is an alias.  */
92789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92790 choke me
92791 #else
92792 char (*f) () = $ac_func;
92793 #endif
92794 #ifdef __cplusplus
92795 }
92796 #endif
92797
92798 int
92799 main ()
92800 {
92801 return f != $ac_func;
92802   ;
92803   return 0;
92804 }
92805 _ACEOF
92806 rm -f conftest.$ac_objext conftest$ac_exeext
92807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92808   (eval $ac_link) 2>conftest.er1
92809   ac_status=$?
92810   grep -v '^ *+' conftest.er1 >conftest.err
92811   rm -f conftest.er1
92812   cat conftest.err >&5
92813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92814   (exit $ac_status); } &&
92815          { ac_try='test -z "$ac_c_werror_flag"
92816                          || test ! -s conftest.err'
92817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92818   (eval $ac_try) 2>&5
92819   ac_status=$?
92820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821   (exit $ac_status); }; } &&
92822          { ac_try='test -s conftest$ac_exeext'
92823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92824   (eval $ac_try) 2>&5
92825   ac_status=$?
92826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92827   (exit $ac_status); }; }; then
92828   eval "$as_ac_var=yes"
92829 else
92830   echo "$as_me: failed program was:" >&5
92831 sed 's/^/| /' conftest.$ac_ext >&5
92832
92833 eval "$as_ac_var=no"
92834 fi
92835 rm -f conftest.err conftest.$ac_objext \
92836       conftest$ac_exeext conftest.$ac_ext
92837 fi
92838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92840 if test `eval echo '${'$as_ac_var'}'` = yes; then
92841   cat >>confdefs.h <<_ACEOF
92842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92843 _ACEOF
92844
92845 fi
92846 done
92847
92848     fi
92849   fi
92850
92851
92852
92853
92854
92855
92856   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
92857 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
92858   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
92859     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
92860   echo $ECHO_N "(cached) $ECHO_C" >&6
92861 else
92862
92863
92864
92865       ac_ext=cc
92866 ac_cpp='$CXXCPP $CPPFLAGS'
92867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92870
92871       cat >conftest.$ac_ext <<_ACEOF
92872 /* confdefs.h.  */
92873 _ACEOF
92874 cat confdefs.h >>conftest.$ac_ext
92875 cat >>conftest.$ac_ext <<_ACEOF
92876 /* end confdefs.h.  */
92877 #include <math.h>
92878 int
92879 main ()
92880 {
92881  frexpf(0, 0);
92882   ;
92883   return 0;
92884 }
92885 _ACEOF
92886 rm -f conftest.$ac_objext
92887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92888   (eval $ac_compile) 2>conftest.er1
92889   ac_status=$?
92890   grep -v '^ *+' conftest.er1 >conftest.err
92891   rm -f conftest.er1
92892   cat conftest.err >&5
92893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92894   (exit $ac_status); } &&
92895          { ac_try='test -z "$ac_cxx_werror_flag"
92896                          || test ! -s conftest.err'
92897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92898   (eval $ac_try) 2>&5
92899   ac_status=$?
92900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92901   (exit $ac_status); }; } &&
92902          { ac_try='test -s conftest.$ac_objext'
92903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92904   (eval $ac_try) 2>&5
92905   ac_status=$?
92906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92907   (exit $ac_status); }; }; then
92908   glibcxx_cv_func_frexpf_use=yes
92909 else
92910   echo "$as_me: failed program was:" >&5
92911 sed 's/^/| /' conftest.$ac_ext >&5
92912
92913 glibcxx_cv_func_frexpf_use=no
92914 fi
92915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92916       ac_ext=c
92917 ac_cpp='$CPP $CPPFLAGS'
92918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92921
92922
92923 fi
92924
92925   fi
92926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
92927 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
92928
92929   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
92930
92931 for ac_func in frexpf
92932 do
92933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92934 echo "$as_me:$LINENO: checking for $ac_func" >&5
92935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92936 if eval "test \"\${$as_ac_var+set}\" = set"; then
92937   echo $ECHO_N "(cached) $ECHO_C" >&6
92938 else
92939   if test x$gcc_no_link = xyes; then
92940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92942    { (exit 1); exit 1; }; }
92943 fi
92944 cat >conftest.$ac_ext <<_ACEOF
92945 /* confdefs.h.  */
92946 _ACEOF
92947 cat confdefs.h >>conftest.$ac_ext
92948 cat >>conftest.$ac_ext <<_ACEOF
92949 /* end confdefs.h.  */
92950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92952 #define $ac_func innocuous_$ac_func
92953
92954 /* System header to define __stub macros and hopefully few prototypes,
92955     which can conflict with char $ac_func (); below.
92956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92957     <limits.h> exists even on freestanding compilers.  */
92958
92959 #ifdef __STDC__
92960 # include <limits.h>
92961 #else
92962 # include <assert.h>
92963 #endif
92964
92965 #undef $ac_func
92966
92967 /* Override any gcc2 internal prototype to avoid an error.  */
92968 #ifdef __cplusplus
92969 extern "C"
92970 {
92971 #endif
92972 /* We use char because int might match the return type of a gcc2
92973    builtin and then its argument prototype would still apply.  */
92974 char $ac_func ();
92975 /* The GNU C library defines this for functions which it implements
92976     to always fail with ENOSYS.  Some functions are actually named
92977     something starting with __ and the normal name is an alias.  */
92978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92979 choke me
92980 #else
92981 char (*f) () = $ac_func;
92982 #endif
92983 #ifdef __cplusplus
92984 }
92985 #endif
92986
92987 int
92988 main ()
92989 {
92990 return f != $ac_func;
92991   ;
92992   return 0;
92993 }
92994 _ACEOF
92995 rm -f conftest.$ac_objext conftest$ac_exeext
92996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92997   (eval $ac_link) 2>conftest.er1
92998   ac_status=$?
92999   grep -v '^ *+' conftest.er1 >conftest.err
93000   rm -f conftest.er1
93001   cat conftest.err >&5
93002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93003   (exit $ac_status); } &&
93004          { ac_try='test -z "$ac_c_werror_flag"
93005                          || test ! -s conftest.err'
93006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93007   (eval $ac_try) 2>&5
93008   ac_status=$?
93009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93010   (exit $ac_status); }; } &&
93011          { ac_try='test -s conftest$ac_exeext'
93012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93013   (eval $ac_try) 2>&5
93014   ac_status=$?
93015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93016   (exit $ac_status); }; }; then
93017   eval "$as_ac_var=yes"
93018 else
93019   echo "$as_me: failed program was:" >&5
93020 sed 's/^/| /' conftest.$ac_ext >&5
93021
93022 eval "$as_ac_var=no"
93023 fi
93024 rm -f conftest.err conftest.$ac_objext \
93025       conftest$ac_exeext conftest.$ac_ext
93026 fi
93027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93029 if test `eval echo '${'$as_ac_var'}'` = yes; then
93030   cat >>confdefs.h <<_ACEOF
93031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93032 _ACEOF
93033
93034 fi
93035 done
93036
93037   else
93038
93039   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93040 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93041   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93042     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93043   echo $ECHO_N "(cached) $ECHO_C" >&6
93044 else
93045
93046
93047
93048       ac_ext=cc
93049 ac_cpp='$CXXCPP $CPPFLAGS'
93050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93053
93054       cat >conftest.$ac_ext <<_ACEOF
93055 /* confdefs.h.  */
93056 _ACEOF
93057 cat confdefs.h >>conftest.$ac_ext
93058 cat >>conftest.$ac_ext <<_ACEOF
93059 /* end confdefs.h.  */
93060 #include <math.h>
93061 int
93062 main ()
93063 {
93064  _frexpf(0, 0);
93065   ;
93066   return 0;
93067 }
93068 _ACEOF
93069 rm -f conftest.$ac_objext
93070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93071   (eval $ac_compile) 2>conftest.er1
93072   ac_status=$?
93073   grep -v '^ *+' conftest.er1 >conftest.err
93074   rm -f conftest.er1
93075   cat conftest.err >&5
93076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93077   (exit $ac_status); } &&
93078          { ac_try='test -z "$ac_cxx_werror_flag"
93079                          || test ! -s conftest.err'
93080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93081   (eval $ac_try) 2>&5
93082   ac_status=$?
93083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93084   (exit $ac_status); }; } &&
93085          { ac_try='test -s conftest.$ac_objext'
93086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93087   (eval $ac_try) 2>&5
93088   ac_status=$?
93089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93090   (exit $ac_status); }; }; then
93091   glibcxx_cv_func__frexpf_use=yes
93092 else
93093   echo "$as_me: failed program was:" >&5
93094 sed 's/^/| /' conftest.$ac_ext >&5
93095
93096 glibcxx_cv_func__frexpf_use=no
93097 fi
93098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93099       ac_ext=c
93100 ac_cpp='$CPP $CPPFLAGS'
93101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93104
93105
93106 fi
93107
93108   fi
93109   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93110 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93111
93112     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93113
93114 for ac_func in _frexpf
93115 do
93116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93117 echo "$as_me:$LINENO: checking for $ac_func" >&5
93118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93119 if eval "test \"\${$as_ac_var+set}\" = set"; then
93120   echo $ECHO_N "(cached) $ECHO_C" >&6
93121 else
93122   if test x$gcc_no_link = xyes; then
93123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93125    { (exit 1); exit 1; }; }
93126 fi
93127 cat >conftest.$ac_ext <<_ACEOF
93128 /* confdefs.h.  */
93129 _ACEOF
93130 cat confdefs.h >>conftest.$ac_ext
93131 cat >>conftest.$ac_ext <<_ACEOF
93132 /* end confdefs.h.  */
93133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93135 #define $ac_func innocuous_$ac_func
93136
93137 /* System header to define __stub macros and hopefully few prototypes,
93138     which can conflict with char $ac_func (); below.
93139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93140     <limits.h> exists even on freestanding compilers.  */
93141
93142 #ifdef __STDC__
93143 # include <limits.h>
93144 #else
93145 # include <assert.h>
93146 #endif
93147
93148 #undef $ac_func
93149
93150 /* Override any gcc2 internal prototype to avoid an error.  */
93151 #ifdef __cplusplus
93152 extern "C"
93153 {
93154 #endif
93155 /* We use char because int might match the return type of a gcc2
93156    builtin and then its argument prototype would still apply.  */
93157 char $ac_func ();
93158 /* The GNU C library defines this for functions which it implements
93159     to always fail with ENOSYS.  Some functions are actually named
93160     something starting with __ and the normal name is an alias.  */
93161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93162 choke me
93163 #else
93164 char (*f) () = $ac_func;
93165 #endif
93166 #ifdef __cplusplus
93167 }
93168 #endif
93169
93170 int
93171 main ()
93172 {
93173 return f != $ac_func;
93174   ;
93175   return 0;
93176 }
93177 _ACEOF
93178 rm -f conftest.$ac_objext conftest$ac_exeext
93179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93180   (eval $ac_link) 2>conftest.er1
93181   ac_status=$?
93182   grep -v '^ *+' conftest.er1 >conftest.err
93183   rm -f conftest.er1
93184   cat conftest.err >&5
93185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93186   (exit $ac_status); } &&
93187          { ac_try='test -z "$ac_c_werror_flag"
93188                          || test ! -s conftest.err'
93189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93190   (eval $ac_try) 2>&5
93191   ac_status=$?
93192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93193   (exit $ac_status); }; } &&
93194          { ac_try='test -s conftest$ac_exeext'
93195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93196   (eval $ac_try) 2>&5
93197   ac_status=$?
93198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93199   (exit $ac_status); }; }; then
93200   eval "$as_ac_var=yes"
93201 else
93202   echo "$as_me: failed program was:" >&5
93203 sed 's/^/| /' conftest.$ac_ext >&5
93204
93205 eval "$as_ac_var=no"
93206 fi
93207 rm -f conftest.err conftest.$ac_objext \
93208       conftest$ac_exeext conftest.$ac_ext
93209 fi
93210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93212 if test `eval echo '${'$as_ac_var'}'` = yes; then
93213   cat >>confdefs.h <<_ACEOF
93214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93215 _ACEOF
93216
93217 fi
93218 done
93219
93220     fi
93221   fi
93222
93223
93224
93225
93226
93227
93228   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93229 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93230   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93231     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93232   echo $ECHO_N "(cached) $ECHO_C" >&6
93233 else
93234
93235
93236
93237       ac_ext=cc
93238 ac_cpp='$CXXCPP $CPPFLAGS'
93239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93242
93243       cat >conftest.$ac_ext <<_ACEOF
93244 /* confdefs.h.  */
93245 _ACEOF
93246 cat confdefs.h >>conftest.$ac_ext
93247 cat >>conftest.$ac_ext <<_ACEOF
93248 /* end confdefs.h.  */
93249 #include <math.h>
93250 int
93251 main ()
93252 {
93253  hypotf(0, 0);
93254   ;
93255   return 0;
93256 }
93257 _ACEOF
93258 rm -f conftest.$ac_objext
93259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93260   (eval $ac_compile) 2>conftest.er1
93261   ac_status=$?
93262   grep -v '^ *+' conftest.er1 >conftest.err
93263   rm -f conftest.er1
93264   cat conftest.err >&5
93265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93266   (exit $ac_status); } &&
93267          { ac_try='test -z "$ac_cxx_werror_flag"
93268                          || test ! -s conftest.err'
93269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93270   (eval $ac_try) 2>&5
93271   ac_status=$?
93272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93273   (exit $ac_status); }; } &&
93274          { ac_try='test -s conftest.$ac_objext'
93275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93276   (eval $ac_try) 2>&5
93277   ac_status=$?
93278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93279   (exit $ac_status); }; }; then
93280   glibcxx_cv_func_hypotf_use=yes
93281 else
93282   echo "$as_me: failed program was:" >&5
93283 sed 's/^/| /' conftest.$ac_ext >&5
93284
93285 glibcxx_cv_func_hypotf_use=no
93286 fi
93287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93288       ac_ext=c
93289 ac_cpp='$CPP $CPPFLAGS'
93290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93293
93294
93295 fi
93296
93297   fi
93298   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
93299 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
93300
93301   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
93302
93303 for ac_func in hypotf
93304 do
93305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93306 echo "$as_me:$LINENO: checking for $ac_func" >&5
93307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93308 if eval "test \"\${$as_ac_var+set}\" = set"; then
93309   echo $ECHO_N "(cached) $ECHO_C" >&6
93310 else
93311   if test x$gcc_no_link = xyes; then
93312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93314    { (exit 1); exit 1; }; }
93315 fi
93316 cat >conftest.$ac_ext <<_ACEOF
93317 /* confdefs.h.  */
93318 _ACEOF
93319 cat confdefs.h >>conftest.$ac_ext
93320 cat >>conftest.$ac_ext <<_ACEOF
93321 /* end confdefs.h.  */
93322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93324 #define $ac_func innocuous_$ac_func
93325
93326 /* System header to define __stub macros and hopefully few prototypes,
93327     which can conflict with char $ac_func (); below.
93328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93329     <limits.h> exists even on freestanding compilers.  */
93330
93331 #ifdef __STDC__
93332 # include <limits.h>
93333 #else
93334 # include <assert.h>
93335 #endif
93336
93337 #undef $ac_func
93338
93339 /* Override any gcc2 internal prototype to avoid an error.  */
93340 #ifdef __cplusplus
93341 extern "C"
93342 {
93343 #endif
93344 /* We use char because int might match the return type of a gcc2
93345    builtin and then its argument prototype would still apply.  */
93346 char $ac_func ();
93347 /* The GNU C library defines this for functions which it implements
93348     to always fail with ENOSYS.  Some functions are actually named
93349     something starting with __ and the normal name is an alias.  */
93350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93351 choke me
93352 #else
93353 char (*f) () = $ac_func;
93354 #endif
93355 #ifdef __cplusplus
93356 }
93357 #endif
93358
93359 int
93360 main ()
93361 {
93362 return f != $ac_func;
93363   ;
93364   return 0;
93365 }
93366 _ACEOF
93367 rm -f conftest.$ac_objext conftest$ac_exeext
93368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93369   (eval $ac_link) 2>conftest.er1
93370   ac_status=$?
93371   grep -v '^ *+' conftest.er1 >conftest.err
93372   rm -f conftest.er1
93373   cat conftest.err >&5
93374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93375   (exit $ac_status); } &&
93376          { ac_try='test -z "$ac_c_werror_flag"
93377                          || test ! -s conftest.err'
93378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93379   (eval $ac_try) 2>&5
93380   ac_status=$?
93381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93382   (exit $ac_status); }; } &&
93383          { ac_try='test -s conftest$ac_exeext'
93384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93385   (eval $ac_try) 2>&5
93386   ac_status=$?
93387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93388   (exit $ac_status); }; }; then
93389   eval "$as_ac_var=yes"
93390 else
93391   echo "$as_me: failed program was:" >&5
93392 sed 's/^/| /' conftest.$ac_ext >&5
93393
93394 eval "$as_ac_var=no"
93395 fi
93396 rm -f conftest.err conftest.$ac_objext \
93397       conftest$ac_exeext conftest.$ac_ext
93398 fi
93399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93401 if test `eval echo '${'$as_ac_var'}'` = yes; then
93402   cat >>confdefs.h <<_ACEOF
93403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93404 _ACEOF
93405
93406 fi
93407 done
93408
93409   else
93410
93411   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
93412 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
93413   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
93414     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
93415   echo $ECHO_N "(cached) $ECHO_C" >&6
93416 else
93417
93418
93419
93420       ac_ext=cc
93421 ac_cpp='$CXXCPP $CPPFLAGS'
93422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93425
93426       cat >conftest.$ac_ext <<_ACEOF
93427 /* confdefs.h.  */
93428 _ACEOF
93429 cat confdefs.h >>conftest.$ac_ext
93430 cat >>conftest.$ac_ext <<_ACEOF
93431 /* end confdefs.h.  */
93432 #include <math.h>
93433 int
93434 main ()
93435 {
93436  _hypotf(0, 0);
93437   ;
93438   return 0;
93439 }
93440 _ACEOF
93441 rm -f conftest.$ac_objext
93442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93443   (eval $ac_compile) 2>conftest.er1
93444   ac_status=$?
93445   grep -v '^ *+' conftest.er1 >conftest.err
93446   rm -f conftest.er1
93447   cat conftest.err >&5
93448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93449   (exit $ac_status); } &&
93450          { ac_try='test -z "$ac_cxx_werror_flag"
93451                          || test ! -s conftest.err'
93452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93453   (eval $ac_try) 2>&5
93454   ac_status=$?
93455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93456   (exit $ac_status); }; } &&
93457          { ac_try='test -s conftest.$ac_objext'
93458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93459   (eval $ac_try) 2>&5
93460   ac_status=$?
93461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93462   (exit $ac_status); }; }; then
93463   glibcxx_cv_func__hypotf_use=yes
93464 else
93465   echo "$as_me: failed program was:" >&5
93466 sed 's/^/| /' conftest.$ac_ext >&5
93467
93468 glibcxx_cv_func__hypotf_use=no
93469 fi
93470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93471       ac_ext=c
93472 ac_cpp='$CPP $CPPFLAGS'
93473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93476
93477
93478 fi
93479
93480   fi
93481   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
93482 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
93483
93484     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
93485
93486 for ac_func in _hypotf
93487 do
93488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93489 echo "$as_me:$LINENO: checking for $ac_func" >&5
93490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93491 if eval "test \"\${$as_ac_var+set}\" = set"; then
93492   echo $ECHO_N "(cached) $ECHO_C" >&6
93493 else
93494   if test x$gcc_no_link = xyes; then
93495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93497    { (exit 1); exit 1; }; }
93498 fi
93499 cat >conftest.$ac_ext <<_ACEOF
93500 /* confdefs.h.  */
93501 _ACEOF
93502 cat confdefs.h >>conftest.$ac_ext
93503 cat >>conftest.$ac_ext <<_ACEOF
93504 /* end confdefs.h.  */
93505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93507 #define $ac_func innocuous_$ac_func
93508
93509 /* System header to define __stub macros and hopefully few prototypes,
93510     which can conflict with char $ac_func (); below.
93511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93512     <limits.h> exists even on freestanding compilers.  */
93513
93514 #ifdef __STDC__
93515 # include <limits.h>
93516 #else
93517 # include <assert.h>
93518 #endif
93519
93520 #undef $ac_func
93521
93522 /* Override any gcc2 internal prototype to avoid an error.  */
93523 #ifdef __cplusplus
93524 extern "C"
93525 {
93526 #endif
93527 /* We use char because int might match the return type of a gcc2
93528    builtin and then its argument prototype would still apply.  */
93529 char $ac_func ();
93530 /* The GNU C library defines this for functions which it implements
93531     to always fail with ENOSYS.  Some functions are actually named
93532     something starting with __ and the normal name is an alias.  */
93533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93534 choke me
93535 #else
93536 char (*f) () = $ac_func;
93537 #endif
93538 #ifdef __cplusplus
93539 }
93540 #endif
93541
93542 int
93543 main ()
93544 {
93545 return f != $ac_func;
93546   ;
93547   return 0;
93548 }
93549 _ACEOF
93550 rm -f conftest.$ac_objext conftest$ac_exeext
93551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93552   (eval $ac_link) 2>conftest.er1
93553   ac_status=$?
93554   grep -v '^ *+' conftest.er1 >conftest.err
93555   rm -f conftest.er1
93556   cat conftest.err >&5
93557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93558   (exit $ac_status); } &&
93559          { ac_try='test -z "$ac_c_werror_flag"
93560                          || test ! -s conftest.err'
93561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93562   (eval $ac_try) 2>&5
93563   ac_status=$?
93564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93565   (exit $ac_status); }; } &&
93566          { ac_try='test -s conftest$ac_exeext'
93567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93568   (eval $ac_try) 2>&5
93569   ac_status=$?
93570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93571   (exit $ac_status); }; }; then
93572   eval "$as_ac_var=yes"
93573 else
93574   echo "$as_me: failed program was:" >&5
93575 sed 's/^/| /' conftest.$ac_ext >&5
93576
93577 eval "$as_ac_var=no"
93578 fi
93579 rm -f conftest.err conftest.$ac_objext \
93580       conftest$ac_exeext conftest.$ac_ext
93581 fi
93582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93584 if test `eval echo '${'$as_ac_var'}'` = yes; then
93585   cat >>confdefs.h <<_ACEOF
93586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93587 _ACEOF
93588
93589 fi
93590 done
93591
93592     fi
93593   fi
93594
93595
93596
93597
93598
93599
93600   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
93601 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
93602   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
93603     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
93604   echo $ECHO_N "(cached) $ECHO_C" >&6
93605 else
93606
93607
93608
93609       ac_ext=cc
93610 ac_cpp='$CXXCPP $CPPFLAGS'
93611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93614
93615       cat >conftest.$ac_ext <<_ACEOF
93616 /* confdefs.h.  */
93617 _ACEOF
93618 cat confdefs.h >>conftest.$ac_ext
93619 cat >>conftest.$ac_ext <<_ACEOF
93620 /* end confdefs.h.  */
93621 #include <math.h>
93622 int
93623 main ()
93624 {
93625  ldexpf(0, 0);
93626   ;
93627   return 0;
93628 }
93629 _ACEOF
93630 rm -f conftest.$ac_objext
93631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93632   (eval $ac_compile) 2>conftest.er1
93633   ac_status=$?
93634   grep -v '^ *+' conftest.er1 >conftest.err
93635   rm -f conftest.er1
93636   cat conftest.err >&5
93637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93638   (exit $ac_status); } &&
93639          { ac_try='test -z "$ac_cxx_werror_flag"
93640                          || test ! -s conftest.err'
93641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93642   (eval $ac_try) 2>&5
93643   ac_status=$?
93644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93645   (exit $ac_status); }; } &&
93646          { ac_try='test -s conftest.$ac_objext'
93647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93648   (eval $ac_try) 2>&5
93649   ac_status=$?
93650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93651   (exit $ac_status); }; }; then
93652   glibcxx_cv_func_ldexpf_use=yes
93653 else
93654   echo "$as_me: failed program was:" >&5
93655 sed 's/^/| /' conftest.$ac_ext >&5
93656
93657 glibcxx_cv_func_ldexpf_use=no
93658 fi
93659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93660       ac_ext=c
93661 ac_cpp='$CPP $CPPFLAGS'
93662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93665
93666
93667 fi
93668
93669   fi
93670   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
93671 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
93672
93673   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
93674
93675 for ac_func in ldexpf
93676 do
93677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93678 echo "$as_me:$LINENO: checking for $ac_func" >&5
93679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93680 if eval "test \"\${$as_ac_var+set}\" = set"; then
93681   echo $ECHO_N "(cached) $ECHO_C" >&6
93682 else
93683   if test x$gcc_no_link = xyes; then
93684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93686    { (exit 1); exit 1; }; }
93687 fi
93688 cat >conftest.$ac_ext <<_ACEOF
93689 /* confdefs.h.  */
93690 _ACEOF
93691 cat confdefs.h >>conftest.$ac_ext
93692 cat >>conftest.$ac_ext <<_ACEOF
93693 /* end confdefs.h.  */
93694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93696 #define $ac_func innocuous_$ac_func
93697
93698 /* System header to define __stub macros and hopefully few prototypes,
93699     which can conflict with char $ac_func (); below.
93700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93701     <limits.h> exists even on freestanding compilers.  */
93702
93703 #ifdef __STDC__
93704 # include <limits.h>
93705 #else
93706 # include <assert.h>
93707 #endif
93708
93709 #undef $ac_func
93710
93711 /* Override any gcc2 internal prototype to avoid an error.  */
93712 #ifdef __cplusplus
93713 extern "C"
93714 {
93715 #endif
93716 /* We use char because int might match the return type of a gcc2
93717    builtin and then its argument prototype would still apply.  */
93718 char $ac_func ();
93719 /* The GNU C library defines this for functions which it implements
93720     to always fail with ENOSYS.  Some functions are actually named
93721     something starting with __ and the normal name is an alias.  */
93722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93723 choke me
93724 #else
93725 char (*f) () = $ac_func;
93726 #endif
93727 #ifdef __cplusplus
93728 }
93729 #endif
93730
93731 int
93732 main ()
93733 {
93734 return f != $ac_func;
93735   ;
93736   return 0;
93737 }
93738 _ACEOF
93739 rm -f conftest.$ac_objext conftest$ac_exeext
93740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93741   (eval $ac_link) 2>conftest.er1
93742   ac_status=$?
93743   grep -v '^ *+' conftest.er1 >conftest.err
93744   rm -f conftest.er1
93745   cat conftest.err >&5
93746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93747   (exit $ac_status); } &&
93748          { ac_try='test -z "$ac_c_werror_flag"
93749                          || test ! -s conftest.err'
93750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93751   (eval $ac_try) 2>&5
93752   ac_status=$?
93753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93754   (exit $ac_status); }; } &&
93755          { ac_try='test -s conftest$ac_exeext'
93756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93757   (eval $ac_try) 2>&5
93758   ac_status=$?
93759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93760   (exit $ac_status); }; }; then
93761   eval "$as_ac_var=yes"
93762 else
93763   echo "$as_me: failed program was:" >&5
93764 sed 's/^/| /' conftest.$ac_ext >&5
93765
93766 eval "$as_ac_var=no"
93767 fi
93768 rm -f conftest.err conftest.$ac_objext \
93769       conftest$ac_exeext conftest.$ac_ext
93770 fi
93771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93773 if test `eval echo '${'$as_ac_var'}'` = yes; then
93774   cat >>confdefs.h <<_ACEOF
93775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93776 _ACEOF
93777
93778 fi
93779 done
93780
93781   else
93782
93783   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
93784 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
93785   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
93786     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
93787   echo $ECHO_N "(cached) $ECHO_C" >&6
93788 else
93789
93790
93791
93792       ac_ext=cc
93793 ac_cpp='$CXXCPP $CPPFLAGS'
93794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93797
93798       cat >conftest.$ac_ext <<_ACEOF
93799 /* confdefs.h.  */
93800 _ACEOF
93801 cat confdefs.h >>conftest.$ac_ext
93802 cat >>conftest.$ac_ext <<_ACEOF
93803 /* end confdefs.h.  */
93804 #include <math.h>
93805 int
93806 main ()
93807 {
93808  _ldexpf(0, 0);
93809   ;
93810   return 0;
93811 }
93812 _ACEOF
93813 rm -f conftest.$ac_objext
93814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93815   (eval $ac_compile) 2>conftest.er1
93816   ac_status=$?
93817   grep -v '^ *+' conftest.er1 >conftest.err
93818   rm -f conftest.er1
93819   cat conftest.err >&5
93820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93821   (exit $ac_status); } &&
93822          { ac_try='test -z "$ac_cxx_werror_flag"
93823                          || test ! -s conftest.err'
93824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93825   (eval $ac_try) 2>&5
93826   ac_status=$?
93827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93828   (exit $ac_status); }; } &&
93829          { ac_try='test -s conftest.$ac_objext'
93830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93831   (eval $ac_try) 2>&5
93832   ac_status=$?
93833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93834   (exit $ac_status); }; }; then
93835   glibcxx_cv_func__ldexpf_use=yes
93836 else
93837   echo "$as_me: failed program was:" >&5
93838 sed 's/^/| /' conftest.$ac_ext >&5
93839
93840 glibcxx_cv_func__ldexpf_use=no
93841 fi
93842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93843       ac_ext=c
93844 ac_cpp='$CPP $CPPFLAGS'
93845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93848
93849
93850 fi
93851
93852   fi
93853   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
93854 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
93855
93856     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
93857
93858 for ac_func in _ldexpf
93859 do
93860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93861 echo "$as_me:$LINENO: checking for $ac_func" >&5
93862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93863 if eval "test \"\${$as_ac_var+set}\" = set"; then
93864   echo $ECHO_N "(cached) $ECHO_C" >&6
93865 else
93866   if test x$gcc_no_link = xyes; then
93867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93869    { (exit 1); exit 1; }; }
93870 fi
93871 cat >conftest.$ac_ext <<_ACEOF
93872 /* confdefs.h.  */
93873 _ACEOF
93874 cat confdefs.h >>conftest.$ac_ext
93875 cat >>conftest.$ac_ext <<_ACEOF
93876 /* end confdefs.h.  */
93877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93879 #define $ac_func innocuous_$ac_func
93880
93881 /* System header to define __stub macros and hopefully few prototypes,
93882     which can conflict with char $ac_func (); below.
93883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93884     <limits.h> exists even on freestanding compilers.  */
93885
93886 #ifdef __STDC__
93887 # include <limits.h>
93888 #else
93889 # include <assert.h>
93890 #endif
93891
93892 #undef $ac_func
93893
93894 /* Override any gcc2 internal prototype to avoid an error.  */
93895 #ifdef __cplusplus
93896 extern "C"
93897 {
93898 #endif
93899 /* We use char because int might match the return type of a gcc2
93900    builtin and then its argument prototype would still apply.  */
93901 char $ac_func ();
93902 /* The GNU C library defines this for functions which it implements
93903     to always fail with ENOSYS.  Some functions are actually named
93904     something starting with __ and the normal name is an alias.  */
93905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93906 choke me
93907 #else
93908 char (*f) () = $ac_func;
93909 #endif
93910 #ifdef __cplusplus
93911 }
93912 #endif
93913
93914 int
93915 main ()
93916 {
93917 return f != $ac_func;
93918   ;
93919   return 0;
93920 }
93921 _ACEOF
93922 rm -f conftest.$ac_objext conftest$ac_exeext
93923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93924   (eval $ac_link) 2>conftest.er1
93925   ac_status=$?
93926   grep -v '^ *+' conftest.er1 >conftest.err
93927   rm -f conftest.er1
93928   cat conftest.err >&5
93929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93930   (exit $ac_status); } &&
93931          { ac_try='test -z "$ac_c_werror_flag"
93932                          || test ! -s conftest.err'
93933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93934   (eval $ac_try) 2>&5
93935   ac_status=$?
93936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93937   (exit $ac_status); }; } &&
93938          { ac_try='test -s conftest$ac_exeext'
93939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93940   (eval $ac_try) 2>&5
93941   ac_status=$?
93942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93943   (exit $ac_status); }; }; then
93944   eval "$as_ac_var=yes"
93945 else
93946   echo "$as_me: failed program was:" >&5
93947 sed 's/^/| /' conftest.$ac_ext >&5
93948
93949 eval "$as_ac_var=no"
93950 fi
93951 rm -f conftest.err conftest.$ac_objext \
93952       conftest$ac_exeext conftest.$ac_ext
93953 fi
93954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93956 if test `eval echo '${'$as_ac_var'}'` = yes; then
93957   cat >>confdefs.h <<_ACEOF
93958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93959 _ACEOF
93960
93961 fi
93962 done
93963
93964     fi
93965   fi
93966
93967
93968
93969
93970
93971
93972   echo "$as_me:$LINENO: checking for logf declaration" >&5
93973 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
93974   if test x${glibcxx_cv_func_logf_use+set} != xset; then
93975     if test "${glibcxx_cv_func_logf_use+set}" = set; then
93976   echo $ECHO_N "(cached) $ECHO_C" >&6
93977 else
93978
93979
93980
93981       ac_ext=cc
93982 ac_cpp='$CXXCPP $CPPFLAGS'
93983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93986
93987       cat >conftest.$ac_ext <<_ACEOF
93988 /* confdefs.h.  */
93989 _ACEOF
93990 cat confdefs.h >>conftest.$ac_ext
93991 cat >>conftest.$ac_ext <<_ACEOF
93992 /* end confdefs.h.  */
93993 #include <math.h>
93994                       #ifdef HAVE_IEEEFP_H
93995                       #include <ieeefp.h>
93996                       #endif
93997
93998 int
93999 main ()
94000 {
94001  logf(0);
94002   ;
94003   return 0;
94004 }
94005 _ACEOF
94006 rm -f conftest.$ac_objext
94007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94008   (eval $ac_compile) 2>conftest.er1
94009   ac_status=$?
94010   grep -v '^ *+' conftest.er1 >conftest.err
94011   rm -f conftest.er1
94012   cat conftest.err >&5
94013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94014   (exit $ac_status); } &&
94015          { ac_try='test -z "$ac_cxx_werror_flag"
94016                          || test ! -s conftest.err'
94017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94018   (eval $ac_try) 2>&5
94019   ac_status=$?
94020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94021   (exit $ac_status); }; } &&
94022          { ac_try='test -s conftest.$ac_objext'
94023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94024   (eval $ac_try) 2>&5
94025   ac_status=$?
94026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94027   (exit $ac_status); }; }; then
94028   glibcxx_cv_func_logf_use=yes
94029 else
94030   echo "$as_me: failed program was:" >&5
94031 sed 's/^/| /' conftest.$ac_ext >&5
94032
94033 glibcxx_cv_func_logf_use=no
94034 fi
94035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94036       ac_ext=c
94037 ac_cpp='$CPP $CPPFLAGS'
94038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94041
94042
94043 fi
94044
94045   fi
94046   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94047 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94048
94049   if test x$glibcxx_cv_func_logf_use = x"yes"; then
94050
94051 for ac_func in logf
94052 do
94053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94054 echo "$as_me:$LINENO: checking for $ac_func" >&5
94055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94056 if eval "test \"\${$as_ac_var+set}\" = set"; then
94057   echo $ECHO_N "(cached) $ECHO_C" >&6
94058 else
94059   if test x$gcc_no_link = xyes; then
94060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94062    { (exit 1); exit 1; }; }
94063 fi
94064 cat >conftest.$ac_ext <<_ACEOF
94065 /* confdefs.h.  */
94066 _ACEOF
94067 cat confdefs.h >>conftest.$ac_ext
94068 cat >>conftest.$ac_ext <<_ACEOF
94069 /* end confdefs.h.  */
94070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94072 #define $ac_func innocuous_$ac_func
94073
94074 /* System header to define __stub macros and hopefully few prototypes,
94075     which can conflict with char $ac_func (); below.
94076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94077     <limits.h> exists even on freestanding compilers.  */
94078
94079 #ifdef __STDC__
94080 # include <limits.h>
94081 #else
94082 # include <assert.h>
94083 #endif
94084
94085 #undef $ac_func
94086
94087 /* Override any gcc2 internal prototype to avoid an error.  */
94088 #ifdef __cplusplus
94089 extern "C"
94090 {
94091 #endif
94092 /* We use char because int might match the return type of a gcc2
94093    builtin and then its argument prototype would still apply.  */
94094 char $ac_func ();
94095 /* The GNU C library defines this for functions which it implements
94096     to always fail with ENOSYS.  Some functions are actually named
94097     something starting with __ and the normal name is an alias.  */
94098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94099 choke me
94100 #else
94101 char (*f) () = $ac_func;
94102 #endif
94103 #ifdef __cplusplus
94104 }
94105 #endif
94106
94107 int
94108 main ()
94109 {
94110 return f != $ac_func;
94111   ;
94112   return 0;
94113 }
94114 _ACEOF
94115 rm -f conftest.$ac_objext conftest$ac_exeext
94116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94117   (eval $ac_link) 2>conftest.er1
94118   ac_status=$?
94119   grep -v '^ *+' conftest.er1 >conftest.err
94120   rm -f conftest.er1
94121   cat conftest.err >&5
94122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94123   (exit $ac_status); } &&
94124          { ac_try='test -z "$ac_c_werror_flag"
94125                          || test ! -s conftest.err'
94126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94127   (eval $ac_try) 2>&5
94128   ac_status=$?
94129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94130   (exit $ac_status); }; } &&
94131          { ac_try='test -s conftest$ac_exeext'
94132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94133   (eval $ac_try) 2>&5
94134   ac_status=$?
94135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94136   (exit $ac_status); }; }; then
94137   eval "$as_ac_var=yes"
94138 else
94139   echo "$as_me: failed program was:" >&5
94140 sed 's/^/| /' conftest.$ac_ext >&5
94141
94142 eval "$as_ac_var=no"
94143 fi
94144 rm -f conftest.err conftest.$ac_objext \
94145       conftest$ac_exeext conftest.$ac_ext
94146 fi
94147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94149 if test `eval echo '${'$as_ac_var'}'` = yes; then
94150   cat >>confdefs.h <<_ACEOF
94151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94152 _ACEOF
94153
94154 fi
94155 done
94156
94157   else
94158
94159   echo "$as_me:$LINENO: checking for _logf declaration" >&5
94160 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94161   if test x${glibcxx_cv_func__logf_use+set} != xset; then
94162     if test "${glibcxx_cv_func__logf_use+set}" = set; then
94163   echo $ECHO_N "(cached) $ECHO_C" >&6
94164 else
94165
94166
94167
94168       ac_ext=cc
94169 ac_cpp='$CXXCPP $CPPFLAGS'
94170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94173
94174       cat >conftest.$ac_ext <<_ACEOF
94175 /* confdefs.h.  */
94176 _ACEOF
94177 cat confdefs.h >>conftest.$ac_ext
94178 cat >>conftest.$ac_ext <<_ACEOF
94179 /* end confdefs.h.  */
94180 #include <math.h>
94181                       #ifdef HAVE_IEEEFP_H
94182                       #include <ieeefp.h>
94183                       #endif
94184
94185 int
94186 main ()
94187 {
94188  _logf(0);
94189   ;
94190   return 0;
94191 }
94192 _ACEOF
94193 rm -f conftest.$ac_objext
94194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94195   (eval $ac_compile) 2>conftest.er1
94196   ac_status=$?
94197   grep -v '^ *+' conftest.er1 >conftest.err
94198   rm -f conftest.er1
94199   cat conftest.err >&5
94200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94201   (exit $ac_status); } &&
94202          { ac_try='test -z "$ac_cxx_werror_flag"
94203                          || test ! -s conftest.err'
94204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94205   (eval $ac_try) 2>&5
94206   ac_status=$?
94207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94208   (exit $ac_status); }; } &&
94209          { ac_try='test -s conftest.$ac_objext'
94210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94211   (eval $ac_try) 2>&5
94212   ac_status=$?
94213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94214   (exit $ac_status); }; }; then
94215   glibcxx_cv_func__logf_use=yes
94216 else
94217   echo "$as_me: failed program was:" >&5
94218 sed 's/^/| /' conftest.$ac_ext >&5
94219
94220 glibcxx_cv_func__logf_use=no
94221 fi
94222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94223       ac_ext=c
94224 ac_cpp='$CPP $CPPFLAGS'
94225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94228
94229
94230 fi
94231
94232   fi
94233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94234 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94235
94236     if test x$glibcxx_cv_func__logf_use = x"yes"; then
94237
94238 for ac_func in _logf
94239 do
94240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94241 echo "$as_me:$LINENO: checking for $ac_func" >&5
94242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94243 if eval "test \"\${$as_ac_var+set}\" = set"; then
94244   echo $ECHO_N "(cached) $ECHO_C" >&6
94245 else
94246   if test x$gcc_no_link = xyes; then
94247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94249    { (exit 1); exit 1; }; }
94250 fi
94251 cat >conftest.$ac_ext <<_ACEOF
94252 /* confdefs.h.  */
94253 _ACEOF
94254 cat confdefs.h >>conftest.$ac_ext
94255 cat >>conftest.$ac_ext <<_ACEOF
94256 /* end confdefs.h.  */
94257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94259 #define $ac_func innocuous_$ac_func
94260
94261 /* System header to define __stub macros and hopefully few prototypes,
94262     which can conflict with char $ac_func (); below.
94263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94264     <limits.h> exists even on freestanding compilers.  */
94265
94266 #ifdef __STDC__
94267 # include <limits.h>
94268 #else
94269 # include <assert.h>
94270 #endif
94271
94272 #undef $ac_func
94273
94274 /* Override any gcc2 internal prototype to avoid an error.  */
94275 #ifdef __cplusplus
94276 extern "C"
94277 {
94278 #endif
94279 /* We use char because int might match the return type of a gcc2
94280    builtin and then its argument prototype would still apply.  */
94281 char $ac_func ();
94282 /* The GNU C library defines this for functions which it implements
94283     to always fail with ENOSYS.  Some functions are actually named
94284     something starting with __ and the normal name is an alias.  */
94285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94286 choke me
94287 #else
94288 char (*f) () = $ac_func;
94289 #endif
94290 #ifdef __cplusplus
94291 }
94292 #endif
94293
94294 int
94295 main ()
94296 {
94297 return f != $ac_func;
94298   ;
94299   return 0;
94300 }
94301 _ACEOF
94302 rm -f conftest.$ac_objext conftest$ac_exeext
94303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94304   (eval $ac_link) 2>conftest.er1
94305   ac_status=$?
94306   grep -v '^ *+' conftest.er1 >conftest.err
94307   rm -f conftest.er1
94308   cat conftest.err >&5
94309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310   (exit $ac_status); } &&
94311          { ac_try='test -z "$ac_c_werror_flag"
94312                          || test ! -s conftest.err'
94313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314   (eval $ac_try) 2>&5
94315   ac_status=$?
94316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317   (exit $ac_status); }; } &&
94318          { ac_try='test -s conftest$ac_exeext'
94319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94320   (eval $ac_try) 2>&5
94321   ac_status=$?
94322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323   (exit $ac_status); }; }; then
94324   eval "$as_ac_var=yes"
94325 else
94326   echo "$as_me: failed program was:" >&5
94327 sed 's/^/| /' conftest.$ac_ext >&5
94328
94329 eval "$as_ac_var=no"
94330 fi
94331 rm -f conftest.err conftest.$ac_objext \
94332       conftest$ac_exeext conftest.$ac_ext
94333 fi
94334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94336 if test `eval echo '${'$as_ac_var'}'` = yes; then
94337   cat >>confdefs.h <<_ACEOF
94338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94339 _ACEOF
94340
94341 fi
94342 done
94343
94344     fi
94345   fi
94346
94347
94348
94349
94350
94351
94352   echo "$as_me:$LINENO: checking for log10f declaration" >&5
94353 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
94354   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
94355     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
94356   echo $ECHO_N "(cached) $ECHO_C" >&6
94357 else
94358
94359
94360
94361       ac_ext=cc
94362 ac_cpp='$CXXCPP $CPPFLAGS'
94363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94366
94367       cat >conftest.$ac_ext <<_ACEOF
94368 /* confdefs.h.  */
94369 _ACEOF
94370 cat confdefs.h >>conftest.$ac_ext
94371 cat >>conftest.$ac_ext <<_ACEOF
94372 /* end confdefs.h.  */
94373 #include <math.h>
94374                       #ifdef HAVE_IEEEFP_H
94375                       #include <ieeefp.h>
94376                       #endif
94377
94378 int
94379 main ()
94380 {
94381  log10f(0);
94382   ;
94383   return 0;
94384 }
94385 _ACEOF
94386 rm -f conftest.$ac_objext
94387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94388   (eval $ac_compile) 2>conftest.er1
94389   ac_status=$?
94390   grep -v '^ *+' conftest.er1 >conftest.err
94391   rm -f conftest.er1
94392   cat conftest.err >&5
94393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94394   (exit $ac_status); } &&
94395          { ac_try='test -z "$ac_cxx_werror_flag"
94396                          || test ! -s conftest.err'
94397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94398   (eval $ac_try) 2>&5
94399   ac_status=$?
94400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94401   (exit $ac_status); }; } &&
94402          { ac_try='test -s conftest.$ac_objext'
94403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94404   (eval $ac_try) 2>&5
94405   ac_status=$?
94406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94407   (exit $ac_status); }; }; then
94408   glibcxx_cv_func_log10f_use=yes
94409 else
94410   echo "$as_me: failed program was:" >&5
94411 sed 's/^/| /' conftest.$ac_ext >&5
94412
94413 glibcxx_cv_func_log10f_use=no
94414 fi
94415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94416       ac_ext=c
94417 ac_cpp='$CPP $CPPFLAGS'
94418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94421
94422
94423 fi
94424
94425   fi
94426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
94427 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
94428
94429   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
94430
94431 for ac_func in log10f
94432 do
94433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94434 echo "$as_me:$LINENO: checking for $ac_func" >&5
94435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94436 if eval "test \"\${$as_ac_var+set}\" = set"; then
94437   echo $ECHO_N "(cached) $ECHO_C" >&6
94438 else
94439   if test x$gcc_no_link = xyes; then
94440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94442    { (exit 1); exit 1; }; }
94443 fi
94444 cat >conftest.$ac_ext <<_ACEOF
94445 /* confdefs.h.  */
94446 _ACEOF
94447 cat confdefs.h >>conftest.$ac_ext
94448 cat >>conftest.$ac_ext <<_ACEOF
94449 /* end confdefs.h.  */
94450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94452 #define $ac_func innocuous_$ac_func
94453
94454 /* System header to define __stub macros and hopefully few prototypes,
94455     which can conflict with char $ac_func (); below.
94456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94457     <limits.h> exists even on freestanding compilers.  */
94458
94459 #ifdef __STDC__
94460 # include <limits.h>
94461 #else
94462 # include <assert.h>
94463 #endif
94464
94465 #undef $ac_func
94466
94467 /* Override any gcc2 internal prototype to avoid an error.  */
94468 #ifdef __cplusplus
94469 extern "C"
94470 {
94471 #endif
94472 /* We use char because int might match the return type of a gcc2
94473    builtin and then its argument prototype would still apply.  */
94474 char $ac_func ();
94475 /* The GNU C library defines this for functions which it implements
94476     to always fail with ENOSYS.  Some functions are actually named
94477     something starting with __ and the normal name is an alias.  */
94478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94479 choke me
94480 #else
94481 char (*f) () = $ac_func;
94482 #endif
94483 #ifdef __cplusplus
94484 }
94485 #endif
94486
94487 int
94488 main ()
94489 {
94490 return f != $ac_func;
94491   ;
94492   return 0;
94493 }
94494 _ACEOF
94495 rm -f conftest.$ac_objext conftest$ac_exeext
94496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94497   (eval $ac_link) 2>conftest.er1
94498   ac_status=$?
94499   grep -v '^ *+' conftest.er1 >conftest.err
94500   rm -f conftest.er1
94501   cat conftest.err >&5
94502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94503   (exit $ac_status); } &&
94504          { ac_try='test -z "$ac_c_werror_flag"
94505                          || test ! -s conftest.err'
94506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94507   (eval $ac_try) 2>&5
94508   ac_status=$?
94509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94510   (exit $ac_status); }; } &&
94511          { ac_try='test -s conftest$ac_exeext'
94512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94513   (eval $ac_try) 2>&5
94514   ac_status=$?
94515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94516   (exit $ac_status); }; }; then
94517   eval "$as_ac_var=yes"
94518 else
94519   echo "$as_me: failed program was:" >&5
94520 sed 's/^/| /' conftest.$ac_ext >&5
94521
94522 eval "$as_ac_var=no"
94523 fi
94524 rm -f conftest.err conftest.$ac_objext \
94525       conftest$ac_exeext conftest.$ac_ext
94526 fi
94527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94529 if test `eval echo '${'$as_ac_var'}'` = yes; then
94530   cat >>confdefs.h <<_ACEOF
94531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94532 _ACEOF
94533
94534 fi
94535 done
94536
94537   else
94538
94539   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
94540 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
94541   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
94542     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
94543   echo $ECHO_N "(cached) $ECHO_C" >&6
94544 else
94545
94546
94547
94548       ac_ext=cc
94549 ac_cpp='$CXXCPP $CPPFLAGS'
94550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94553
94554       cat >conftest.$ac_ext <<_ACEOF
94555 /* confdefs.h.  */
94556 _ACEOF
94557 cat confdefs.h >>conftest.$ac_ext
94558 cat >>conftest.$ac_ext <<_ACEOF
94559 /* end confdefs.h.  */
94560 #include <math.h>
94561                       #ifdef HAVE_IEEEFP_H
94562                       #include <ieeefp.h>
94563                       #endif
94564
94565 int
94566 main ()
94567 {
94568  _log10f(0);
94569   ;
94570   return 0;
94571 }
94572 _ACEOF
94573 rm -f conftest.$ac_objext
94574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94575   (eval $ac_compile) 2>conftest.er1
94576   ac_status=$?
94577   grep -v '^ *+' conftest.er1 >conftest.err
94578   rm -f conftest.er1
94579   cat conftest.err >&5
94580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94581   (exit $ac_status); } &&
94582          { ac_try='test -z "$ac_cxx_werror_flag"
94583                          || test ! -s conftest.err'
94584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94585   (eval $ac_try) 2>&5
94586   ac_status=$?
94587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94588   (exit $ac_status); }; } &&
94589          { ac_try='test -s conftest.$ac_objext'
94590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94591   (eval $ac_try) 2>&5
94592   ac_status=$?
94593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94594   (exit $ac_status); }; }; then
94595   glibcxx_cv_func__log10f_use=yes
94596 else
94597   echo "$as_me: failed program was:" >&5
94598 sed 's/^/| /' conftest.$ac_ext >&5
94599
94600 glibcxx_cv_func__log10f_use=no
94601 fi
94602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94603       ac_ext=c
94604 ac_cpp='$CPP $CPPFLAGS'
94605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94608
94609
94610 fi
94611
94612   fi
94613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
94614 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
94615
94616     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
94617
94618 for ac_func in _log10f
94619 do
94620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94621 echo "$as_me:$LINENO: checking for $ac_func" >&5
94622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94623 if eval "test \"\${$as_ac_var+set}\" = set"; then
94624   echo $ECHO_N "(cached) $ECHO_C" >&6
94625 else
94626   if test x$gcc_no_link = xyes; then
94627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94629    { (exit 1); exit 1; }; }
94630 fi
94631 cat >conftest.$ac_ext <<_ACEOF
94632 /* confdefs.h.  */
94633 _ACEOF
94634 cat confdefs.h >>conftest.$ac_ext
94635 cat >>conftest.$ac_ext <<_ACEOF
94636 /* end confdefs.h.  */
94637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94639 #define $ac_func innocuous_$ac_func
94640
94641 /* System header to define __stub macros and hopefully few prototypes,
94642     which can conflict with char $ac_func (); below.
94643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94644     <limits.h> exists even on freestanding compilers.  */
94645
94646 #ifdef __STDC__
94647 # include <limits.h>
94648 #else
94649 # include <assert.h>
94650 #endif
94651
94652 #undef $ac_func
94653
94654 /* Override any gcc2 internal prototype to avoid an error.  */
94655 #ifdef __cplusplus
94656 extern "C"
94657 {
94658 #endif
94659 /* We use char because int might match the return type of a gcc2
94660    builtin and then its argument prototype would still apply.  */
94661 char $ac_func ();
94662 /* The GNU C library defines this for functions which it implements
94663     to always fail with ENOSYS.  Some functions are actually named
94664     something starting with __ and the normal name is an alias.  */
94665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94666 choke me
94667 #else
94668 char (*f) () = $ac_func;
94669 #endif
94670 #ifdef __cplusplus
94671 }
94672 #endif
94673
94674 int
94675 main ()
94676 {
94677 return f != $ac_func;
94678   ;
94679   return 0;
94680 }
94681 _ACEOF
94682 rm -f conftest.$ac_objext conftest$ac_exeext
94683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94684   (eval $ac_link) 2>conftest.er1
94685   ac_status=$?
94686   grep -v '^ *+' conftest.er1 >conftest.err
94687   rm -f conftest.er1
94688   cat conftest.err >&5
94689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94690   (exit $ac_status); } &&
94691          { ac_try='test -z "$ac_c_werror_flag"
94692                          || test ! -s conftest.err'
94693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94694   (eval $ac_try) 2>&5
94695   ac_status=$?
94696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94697   (exit $ac_status); }; } &&
94698          { ac_try='test -s conftest$ac_exeext'
94699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94700   (eval $ac_try) 2>&5
94701   ac_status=$?
94702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94703   (exit $ac_status); }; }; then
94704   eval "$as_ac_var=yes"
94705 else
94706   echo "$as_me: failed program was:" >&5
94707 sed 's/^/| /' conftest.$ac_ext >&5
94708
94709 eval "$as_ac_var=no"
94710 fi
94711 rm -f conftest.err conftest.$ac_objext \
94712       conftest$ac_exeext conftest.$ac_ext
94713 fi
94714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94716 if test `eval echo '${'$as_ac_var'}'` = yes; then
94717   cat >>confdefs.h <<_ACEOF
94718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94719 _ACEOF
94720
94721 fi
94722 done
94723
94724     fi
94725   fi
94726
94727
94728
94729
94730
94731
94732   echo "$as_me:$LINENO: checking for modff declaration" >&5
94733 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
94734   if test x${glibcxx_cv_func_modff_use+set} != xset; then
94735     if test "${glibcxx_cv_func_modff_use+set}" = set; then
94736   echo $ECHO_N "(cached) $ECHO_C" >&6
94737 else
94738
94739
94740
94741       ac_ext=cc
94742 ac_cpp='$CXXCPP $CPPFLAGS'
94743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94746
94747       cat >conftest.$ac_ext <<_ACEOF
94748 /* confdefs.h.  */
94749 _ACEOF
94750 cat confdefs.h >>conftest.$ac_ext
94751 cat >>conftest.$ac_ext <<_ACEOF
94752 /* end confdefs.h.  */
94753 #include <math.h>
94754 int
94755 main ()
94756 {
94757  modff(0, 0);
94758   ;
94759   return 0;
94760 }
94761 _ACEOF
94762 rm -f conftest.$ac_objext
94763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94764   (eval $ac_compile) 2>conftest.er1
94765   ac_status=$?
94766   grep -v '^ *+' conftest.er1 >conftest.err
94767   rm -f conftest.er1
94768   cat conftest.err >&5
94769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94770   (exit $ac_status); } &&
94771          { ac_try='test -z "$ac_cxx_werror_flag"
94772                          || test ! -s conftest.err'
94773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94774   (eval $ac_try) 2>&5
94775   ac_status=$?
94776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94777   (exit $ac_status); }; } &&
94778          { ac_try='test -s conftest.$ac_objext'
94779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94780   (eval $ac_try) 2>&5
94781   ac_status=$?
94782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94783   (exit $ac_status); }; }; then
94784   glibcxx_cv_func_modff_use=yes
94785 else
94786   echo "$as_me: failed program was:" >&5
94787 sed 's/^/| /' conftest.$ac_ext >&5
94788
94789 glibcxx_cv_func_modff_use=no
94790 fi
94791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94792       ac_ext=c
94793 ac_cpp='$CPP $CPPFLAGS'
94794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94797
94798
94799 fi
94800
94801   fi
94802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
94803 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
94804
94805   if test x$glibcxx_cv_func_modff_use = x"yes"; then
94806
94807 for ac_func in modff
94808 do
94809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94810 echo "$as_me:$LINENO: checking for $ac_func" >&5
94811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94812 if eval "test \"\${$as_ac_var+set}\" = set"; then
94813   echo $ECHO_N "(cached) $ECHO_C" >&6
94814 else
94815   if test x$gcc_no_link = xyes; then
94816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94818    { (exit 1); exit 1; }; }
94819 fi
94820 cat >conftest.$ac_ext <<_ACEOF
94821 /* confdefs.h.  */
94822 _ACEOF
94823 cat confdefs.h >>conftest.$ac_ext
94824 cat >>conftest.$ac_ext <<_ACEOF
94825 /* end confdefs.h.  */
94826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94828 #define $ac_func innocuous_$ac_func
94829
94830 /* System header to define __stub macros and hopefully few prototypes,
94831     which can conflict with char $ac_func (); below.
94832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94833     <limits.h> exists even on freestanding compilers.  */
94834
94835 #ifdef __STDC__
94836 # include <limits.h>
94837 #else
94838 # include <assert.h>
94839 #endif
94840
94841 #undef $ac_func
94842
94843 /* Override any gcc2 internal prototype to avoid an error.  */
94844 #ifdef __cplusplus
94845 extern "C"
94846 {
94847 #endif
94848 /* We use char because int might match the return type of a gcc2
94849    builtin and then its argument prototype would still apply.  */
94850 char $ac_func ();
94851 /* The GNU C library defines this for functions which it implements
94852     to always fail with ENOSYS.  Some functions are actually named
94853     something starting with __ and the normal name is an alias.  */
94854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94855 choke me
94856 #else
94857 char (*f) () = $ac_func;
94858 #endif
94859 #ifdef __cplusplus
94860 }
94861 #endif
94862
94863 int
94864 main ()
94865 {
94866 return f != $ac_func;
94867   ;
94868   return 0;
94869 }
94870 _ACEOF
94871 rm -f conftest.$ac_objext conftest$ac_exeext
94872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94873   (eval $ac_link) 2>conftest.er1
94874   ac_status=$?
94875   grep -v '^ *+' conftest.er1 >conftest.err
94876   rm -f conftest.er1
94877   cat conftest.err >&5
94878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94879   (exit $ac_status); } &&
94880          { ac_try='test -z "$ac_c_werror_flag"
94881                          || test ! -s conftest.err'
94882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94883   (eval $ac_try) 2>&5
94884   ac_status=$?
94885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94886   (exit $ac_status); }; } &&
94887          { ac_try='test -s conftest$ac_exeext'
94888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94889   (eval $ac_try) 2>&5
94890   ac_status=$?
94891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94892   (exit $ac_status); }; }; then
94893   eval "$as_ac_var=yes"
94894 else
94895   echo "$as_me: failed program was:" >&5
94896 sed 's/^/| /' conftest.$ac_ext >&5
94897
94898 eval "$as_ac_var=no"
94899 fi
94900 rm -f conftest.err conftest.$ac_objext \
94901       conftest$ac_exeext conftest.$ac_ext
94902 fi
94903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94905 if test `eval echo '${'$as_ac_var'}'` = yes; then
94906   cat >>confdefs.h <<_ACEOF
94907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94908 _ACEOF
94909
94910 fi
94911 done
94912
94913   else
94914
94915   echo "$as_me:$LINENO: checking for _modff declaration" >&5
94916 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
94917   if test x${glibcxx_cv_func__modff_use+set} != xset; then
94918     if test "${glibcxx_cv_func__modff_use+set}" = set; then
94919   echo $ECHO_N "(cached) $ECHO_C" >&6
94920 else
94921
94922
94923
94924       ac_ext=cc
94925 ac_cpp='$CXXCPP $CPPFLAGS'
94926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94929
94930       cat >conftest.$ac_ext <<_ACEOF
94931 /* confdefs.h.  */
94932 _ACEOF
94933 cat confdefs.h >>conftest.$ac_ext
94934 cat >>conftest.$ac_ext <<_ACEOF
94935 /* end confdefs.h.  */
94936 #include <math.h>
94937 int
94938 main ()
94939 {
94940  _modff(0, 0);
94941   ;
94942   return 0;
94943 }
94944 _ACEOF
94945 rm -f conftest.$ac_objext
94946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94947   (eval $ac_compile) 2>conftest.er1
94948   ac_status=$?
94949   grep -v '^ *+' conftest.er1 >conftest.err
94950   rm -f conftest.er1
94951   cat conftest.err >&5
94952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94953   (exit $ac_status); } &&
94954          { ac_try='test -z "$ac_cxx_werror_flag"
94955                          || test ! -s conftest.err'
94956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94957   (eval $ac_try) 2>&5
94958   ac_status=$?
94959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94960   (exit $ac_status); }; } &&
94961          { ac_try='test -s conftest.$ac_objext'
94962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94963   (eval $ac_try) 2>&5
94964   ac_status=$?
94965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94966   (exit $ac_status); }; }; then
94967   glibcxx_cv_func__modff_use=yes
94968 else
94969   echo "$as_me: failed program was:" >&5
94970 sed 's/^/| /' conftest.$ac_ext >&5
94971
94972 glibcxx_cv_func__modff_use=no
94973 fi
94974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94975       ac_ext=c
94976 ac_cpp='$CPP $CPPFLAGS'
94977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94980
94981
94982 fi
94983
94984   fi
94985   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
94986 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
94987
94988     if test x$glibcxx_cv_func__modff_use = x"yes"; then
94989
94990 for ac_func in _modff
94991 do
94992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94993 echo "$as_me:$LINENO: checking for $ac_func" >&5
94994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94995 if eval "test \"\${$as_ac_var+set}\" = set"; then
94996   echo $ECHO_N "(cached) $ECHO_C" >&6
94997 else
94998   if test x$gcc_no_link = xyes; then
94999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95001    { (exit 1); exit 1; }; }
95002 fi
95003 cat >conftest.$ac_ext <<_ACEOF
95004 /* confdefs.h.  */
95005 _ACEOF
95006 cat confdefs.h >>conftest.$ac_ext
95007 cat >>conftest.$ac_ext <<_ACEOF
95008 /* end confdefs.h.  */
95009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95011 #define $ac_func innocuous_$ac_func
95012
95013 /* System header to define __stub macros and hopefully few prototypes,
95014     which can conflict with char $ac_func (); below.
95015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95016     <limits.h> exists even on freestanding compilers.  */
95017
95018 #ifdef __STDC__
95019 # include <limits.h>
95020 #else
95021 # include <assert.h>
95022 #endif
95023
95024 #undef $ac_func
95025
95026 /* Override any gcc2 internal prototype to avoid an error.  */
95027 #ifdef __cplusplus
95028 extern "C"
95029 {
95030 #endif
95031 /* We use char because int might match the return type of a gcc2
95032    builtin and then its argument prototype would still apply.  */
95033 char $ac_func ();
95034 /* The GNU C library defines this for functions which it implements
95035     to always fail with ENOSYS.  Some functions are actually named
95036     something starting with __ and the normal name is an alias.  */
95037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95038 choke me
95039 #else
95040 char (*f) () = $ac_func;
95041 #endif
95042 #ifdef __cplusplus
95043 }
95044 #endif
95045
95046 int
95047 main ()
95048 {
95049 return f != $ac_func;
95050   ;
95051   return 0;
95052 }
95053 _ACEOF
95054 rm -f conftest.$ac_objext conftest$ac_exeext
95055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95056   (eval $ac_link) 2>conftest.er1
95057   ac_status=$?
95058   grep -v '^ *+' conftest.er1 >conftest.err
95059   rm -f conftest.er1
95060   cat conftest.err >&5
95061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95062   (exit $ac_status); } &&
95063          { ac_try='test -z "$ac_c_werror_flag"
95064                          || test ! -s conftest.err'
95065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95066   (eval $ac_try) 2>&5
95067   ac_status=$?
95068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95069   (exit $ac_status); }; } &&
95070          { ac_try='test -s conftest$ac_exeext'
95071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95072   (eval $ac_try) 2>&5
95073   ac_status=$?
95074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95075   (exit $ac_status); }; }; then
95076   eval "$as_ac_var=yes"
95077 else
95078   echo "$as_me: failed program was:" >&5
95079 sed 's/^/| /' conftest.$ac_ext >&5
95080
95081 eval "$as_ac_var=no"
95082 fi
95083 rm -f conftest.err conftest.$ac_objext \
95084       conftest$ac_exeext conftest.$ac_ext
95085 fi
95086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95088 if test `eval echo '${'$as_ac_var'}'` = yes; then
95089   cat >>confdefs.h <<_ACEOF
95090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95091 _ACEOF
95092
95093 fi
95094 done
95095
95096     fi
95097   fi
95098
95099
95100
95101
95102
95103
95104   echo "$as_me:$LINENO: checking for modf declaration" >&5
95105 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95106   if test x${glibcxx_cv_func_modf_use+set} != xset; then
95107     if test "${glibcxx_cv_func_modf_use+set}" = set; then
95108   echo $ECHO_N "(cached) $ECHO_C" >&6
95109 else
95110
95111
95112
95113       ac_ext=cc
95114 ac_cpp='$CXXCPP $CPPFLAGS'
95115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95118
95119       cat >conftest.$ac_ext <<_ACEOF
95120 /* confdefs.h.  */
95121 _ACEOF
95122 cat confdefs.h >>conftest.$ac_ext
95123 cat >>conftest.$ac_ext <<_ACEOF
95124 /* end confdefs.h.  */
95125 #include <math.h>
95126 int
95127 main ()
95128 {
95129  modf(0, 0);
95130   ;
95131   return 0;
95132 }
95133 _ACEOF
95134 rm -f conftest.$ac_objext
95135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95136   (eval $ac_compile) 2>conftest.er1
95137   ac_status=$?
95138   grep -v '^ *+' conftest.er1 >conftest.err
95139   rm -f conftest.er1
95140   cat conftest.err >&5
95141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95142   (exit $ac_status); } &&
95143          { ac_try='test -z "$ac_cxx_werror_flag"
95144                          || test ! -s conftest.err'
95145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95146   (eval $ac_try) 2>&5
95147   ac_status=$?
95148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95149   (exit $ac_status); }; } &&
95150          { ac_try='test -s conftest.$ac_objext'
95151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95152   (eval $ac_try) 2>&5
95153   ac_status=$?
95154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95155   (exit $ac_status); }; }; then
95156   glibcxx_cv_func_modf_use=yes
95157 else
95158   echo "$as_me: failed program was:" >&5
95159 sed 's/^/| /' conftest.$ac_ext >&5
95160
95161 glibcxx_cv_func_modf_use=no
95162 fi
95163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95164       ac_ext=c
95165 ac_cpp='$CPP $CPPFLAGS'
95166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95169
95170
95171 fi
95172
95173   fi
95174   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95175 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95176
95177   if test x$glibcxx_cv_func_modf_use = x"yes"; then
95178
95179 for ac_func in modf
95180 do
95181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95182 echo "$as_me:$LINENO: checking for $ac_func" >&5
95183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95184 if eval "test \"\${$as_ac_var+set}\" = set"; then
95185   echo $ECHO_N "(cached) $ECHO_C" >&6
95186 else
95187   if test x$gcc_no_link = xyes; then
95188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95190    { (exit 1); exit 1; }; }
95191 fi
95192 cat >conftest.$ac_ext <<_ACEOF
95193 /* confdefs.h.  */
95194 _ACEOF
95195 cat confdefs.h >>conftest.$ac_ext
95196 cat >>conftest.$ac_ext <<_ACEOF
95197 /* end confdefs.h.  */
95198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95200 #define $ac_func innocuous_$ac_func
95201
95202 /* System header to define __stub macros and hopefully few prototypes,
95203     which can conflict with char $ac_func (); below.
95204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95205     <limits.h> exists even on freestanding compilers.  */
95206
95207 #ifdef __STDC__
95208 # include <limits.h>
95209 #else
95210 # include <assert.h>
95211 #endif
95212
95213 #undef $ac_func
95214
95215 /* Override any gcc2 internal prototype to avoid an error.  */
95216 #ifdef __cplusplus
95217 extern "C"
95218 {
95219 #endif
95220 /* We use char because int might match the return type of a gcc2
95221    builtin and then its argument prototype would still apply.  */
95222 char $ac_func ();
95223 /* The GNU C library defines this for functions which it implements
95224     to always fail with ENOSYS.  Some functions are actually named
95225     something starting with __ and the normal name is an alias.  */
95226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95227 choke me
95228 #else
95229 char (*f) () = $ac_func;
95230 #endif
95231 #ifdef __cplusplus
95232 }
95233 #endif
95234
95235 int
95236 main ()
95237 {
95238 return f != $ac_func;
95239   ;
95240   return 0;
95241 }
95242 _ACEOF
95243 rm -f conftest.$ac_objext conftest$ac_exeext
95244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95245   (eval $ac_link) 2>conftest.er1
95246   ac_status=$?
95247   grep -v '^ *+' conftest.er1 >conftest.err
95248   rm -f conftest.er1
95249   cat conftest.err >&5
95250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95251   (exit $ac_status); } &&
95252          { ac_try='test -z "$ac_c_werror_flag"
95253                          || test ! -s conftest.err'
95254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95255   (eval $ac_try) 2>&5
95256   ac_status=$?
95257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95258   (exit $ac_status); }; } &&
95259          { ac_try='test -s conftest$ac_exeext'
95260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95261   (eval $ac_try) 2>&5
95262   ac_status=$?
95263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95264   (exit $ac_status); }; }; then
95265   eval "$as_ac_var=yes"
95266 else
95267   echo "$as_me: failed program was:" >&5
95268 sed 's/^/| /' conftest.$ac_ext >&5
95269
95270 eval "$as_ac_var=no"
95271 fi
95272 rm -f conftest.err conftest.$ac_objext \
95273       conftest$ac_exeext conftest.$ac_ext
95274 fi
95275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95277 if test `eval echo '${'$as_ac_var'}'` = yes; then
95278   cat >>confdefs.h <<_ACEOF
95279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95280 _ACEOF
95281
95282 fi
95283 done
95284
95285   else
95286
95287   echo "$as_me:$LINENO: checking for _modf declaration" >&5
95288 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
95289   if test x${glibcxx_cv_func__modf_use+set} != xset; then
95290     if test "${glibcxx_cv_func__modf_use+set}" = set; then
95291   echo $ECHO_N "(cached) $ECHO_C" >&6
95292 else
95293
95294
95295
95296       ac_ext=cc
95297 ac_cpp='$CXXCPP $CPPFLAGS'
95298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95301
95302       cat >conftest.$ac_ext <<_ACEOF
95303 /* confdefs.h.  */
95304 _ACEOF
95305 cat confdefs.h >>conftest.$ac_ext
95306 cat >>conftest.$ac_ext <<_ACEOF
95307 /* end confdefs.h.  */
95308 #include <math.h>
95309 int
95310 main ()
95311 {
95312  _modf(0, 0);
95313   ;
95314   return 0;
95315 }
95316 _ACEOF
95317 rm -f conftest.$ac_objext
95318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95319   (eval $ac_compile) 2>conftest.er1
95320   ac_status=$?
95321   grep -v '^ *+' conftest.er1 >conftest.err
95322   rm -f conftest.er1
95323   cat conftest.err >&5
95324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95325   (exit $ac_status); } &&
95326          { ac_try='test -z "$ac_cxx_werror_flag"
95327                          || test ! -s conftest.err'
95328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95329   (eval $ac_try) 2>&5
95330   ac_status=$?
95331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95332   (exit $ac_status); }; } &&
95333          { ac_try='test -s conftest.$ac_objext'
95334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95335   (eval $ac_try) 2>&5
95336   ac_status=$?
95337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95338   (exit $ac_status); }; }; then
95339   glibcxx_cv_func__modf_use=yes
95340 else
95341   echo "$as_me: failed program was:" >&5
95342 sed 's/^/| /' conftest.$ac_ext >&5
95343
95344 glibcxx_cv_func__modf_use=no
95345 fi
95346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95347       ac_ext=c
95348 ac_cpp='$CPP $CPPFLAGS'
95349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95352
95353
95354 fi
95355
95356   fi
95357   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
95358 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
95359
95360     if test x$glibcxx_cv_func__modf_use = x"yes"; then
95361
95362 for ac_func in _modf
95363 do
95364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95365 echo "$as_me:$LINENO: checking for $ac_func" >&5
95366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95367 if eval "test \"\${$as_ac_var+set}\" = set"; then
95368   echo $ECHO_N "(cached) $ECHO_C" >&6
95369 else
95370   if test x$gcc_no_link = xyes; then
95371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95373    { (exit 1); exit 1; }; }
95374 fi
95375 cat >conftest.$ac_ext <<_ACEOF
95376 /* confdefs.h.  */
95377 _ACEOF
95378 cat confdefs.h >>conftest.$ac_ext
95379 cat >>conftest.$ac_ext <<_ACEOF
95380 /* end confdefs.h.  */
95381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95383 #define $ac_func innocuous_$ac_func
95384
95385 /* System header to define __stub macros and hopefully few prototypes,
95386     which can conflict with char $ac_func (); below.
95387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95388     <limits.h> exists even on freestanding compilers.  */
95389
95390 #ifdef __STDC__
95391 # include <limits.h>
95392 #else
95393 # include <assert.h>
95394 #endif
95395
95396 #undef $ac_func
95397
95398 /* Override any gcc2 internal prototype to avoid an error.  */
95399 #ifdef __cplusplus
95400 extern "C"
95401 {
95402 #endif
95403 /* We use char because int might match the return type of a gcc2
95404    builtin and then its argument prototype would still apply.  */
95405 char $ac_func ();
95406 /* The GNU C library defines this for functions which it implements
95407     to always fail with ENOSYS.  Some functions are actually named
95408     something starting with __ and the normal name is an alias.  */
95409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95410 choke me
95411 #else
95412 char (*f) () = $ac_func;
95413 #endif
95414 #ifdef __cplusplus
95415 }
95416 #endif
95417
95418 int
95419 main ()
95420 {
95421 return f != $ac_func;
95422   ;
95423   return 0;
95424 }
95425 _ACEOF
95426 rm -f conftest.$ac_objext conftest$ac_exeext
95427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95428   (eval $ac_link) 2>conftest.er1
95429   ac_status=$?
95430   grep -v '^ *+' conftest.er1 >conftest.err
95431   rm -f conftest.er1
95432   cat conftest.err >&5
95433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434   (exit $ac_status); } &&
95435          { ac_try='test -z "$ac_c_werror_flag"
95436                          || test ! -s conftest.err'
95437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95438   (eval $ac_try) 2>&5
95439   ac_status=$?
95440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95441   (exit $ac_status); }; } &&
95442          { ac_try='test -s conftest$ac_exeext'
95443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95444   (eval $ac_try) 2>&5
95445   ac_status=$?
95446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95447   (exit $ac_status); }; }; then
95448   eval "$as_ac_var=yes"
95449 else
95450   echo "$as_me: failed program was:" >&5
95451 sed 's/^/| /' conftest.$ac_ext >&5
95452
95453 eval "$as_ac_var=no"
95454 fi
95455 rm -f conftest.err conftest.$ac_objext \
95456       conftest$ac_exeext conftest.$ac_ext
95457 fi
95458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95460 if test `eval echo '${'$as_ac_var'}'` = yes; then
95461   cat >>confdefs.h <<_ACEOF
95462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95463 _ACEOF
95464
95465 fi
95466 done
95467
95468     fi
95469   fi
95470
95471
95472
95473
95474
95475
95476   echo "$as_me:$LINENO: checking for powf declaration" >&5
95477 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
95478   if test x${glibcxx_cv_func_powf_use+set} != xset; then
95479     if test "${glibcxx_cv_func_powf_use+set}" = set; then
95480   echo $ECHO_N "(cached) $ECHO_C" >&6
95481 else
95482
95483
95484
95485       ac_ext=cc
95486 ac_cpp='$CXXCPP $CPPFLAGS'
95487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95490
95491       cat >conftest.$ac_ext <<_ACEOF
95492 /* confdefs.h.  */
95493 _ACEOF
95494 cat confdefs.h >>conftest.$ac_ext
95495 cat >>conftest.$ac_ext <<_ACEOF
95496 /* end confdefs.h.  */
95497 #include <math.h>
95498 int
95499 main ()
95500 {
95501  powf(0, 0);
95502   ;
95503   return 0;
95504 }
95505 _ACEOF
95506 rm -f conftest.$ac_objext
95507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95508   (eval $ac_compile) 2>conftest.er1
95509   ac_status=$?
95510   grep -v '^ *+' conftest.er1 >conftest.err
95511   rm -f conftest.er1
95512   cat conftest.err >&5
95513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95514   (exit $ac_status); } &&
95515          { ac_try='test -z "$ac_cxx_werror_flag"
95516                          || test ! -s conftest.err'
95517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95518   (eval $ac_try) 2>&5
95519   ac_status=$?
95520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95521   (exit $ac_status); }; } &&
95522          { ac_try='test -s conftest.$ac_objext'
95523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95524   (eval $ac_try) 2>&5
95525   ac_status=$?
95526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95527   (exit $ac_status); }; }; then
95528   glibcxx_cv_func_powf_use=yes
95529 else
95530   echo "$as_me: failed program was:" >&5
95531 sed 's/^/| /' conftest.$ac_ext >&5
95532
95533 glibcxx_cv_func_powf_use=no
95534 fi
95535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95536       ac_ext=c
95537 ac_cpp='$CPP $CPPFLAGS'
95538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95541
95542
95543 fi
95544
95545   fi
95546   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
95547 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
95548
95549   if test x$glibcxx_cv_func_powf_use = x"yes"; then
95550
95551 for ac_func in powf
95552 do
95553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95554 echo "$as_me:$LINENO: checking for $ac_func" >&5
95555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95556 if eval "test \"\${$as_ac_var+set}\" = set"; then
95557   echo $ECHO_N "(cached) $ECHO_C" >&6
95558 else
95559   if test x$gcc_no_link = xyes; then
95560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95562    { (exit 1); exit 1; }; }
95563 fi
95564 cat >conftest.$ac_ext <<_ACEOF
95565 /* confdefs.h.  */
95566 _ACEOF
95567 cat confdefs.h >>conftest.$ac_ext
95568 cat >>conftest.$ac_ext <<_ACEOF
95569 /* end confdefs.h.  */
95570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95572 #define $ac_func innocuous_$ac_func
95573
95574 /* System header to define __stub macros and hopefully few prototypes,
95575     which can conflict with char $ac_func (); below.
95576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95577     <limits.h> exists even on freestanding compilers.  */
95578
95579 #ifdef __STDC__
95580 # include <limits.h>
95581 #else
95582 # include <assert.h>
95583 #endif
95584
95585 #undef $ac_func
95586
95587 /* Override any gcc2 internal prototype to avoid an error.  */
95588 #ifdef __cplusplus
95589 extern "C"
95590 {
95591 #endif
95592 /* We use char because int might match the return type of a gcc2
95593    builtin and then its argument prototype would still apply.  */
95594 char $ac_func ();
95595 /* The GNU C library defines this for functions which it implements
95596     to always fail with ENOSYS.  Some functions are actually named
95597     something starting with __ and the normal name is an alias.  */
95598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95599 choke me
95600 #else
95601 char (*f) () = $ac_func;
95602 #endif
95603 #ifdef __cplusplus
95604 }
95605 #endif
95606
95607 int
95608 main ()
95609 {
95610 return f != $ac_func;
95611   ;
95612   return 0;
95613 }
95614 _ACEOF
95615 rm -f conftest.$ac_objext conftest$ac_exeext
95616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95617   (eval $ac_link) 2>conftest.er1
95618   ac_status=$?
95619   grep -v '^ *+' conftest.er1 >conftest.err
95620   rm -f conftest.er1
95621   cat conftest.err >&5
95622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95623   (exit $ac_status); } &&
95624          { ac_try='test -z "$ac_c_werror_flag"
95625                          || test ! -s conftest.err'
95626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95627   (eval $ac_try) 2>&5
95628   ac_status=$?
95629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95630   (exit $ac_status); }; } &&
95631          { ac_try='test -s conftest$ac_exeext'
95632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95633   (eval $ac_try) 2>&5
95634   ac_status=$?
95635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95636   (exit $ac_status); }; }; then
95637   eval "$as_ac_var=yes"
95638 else
95639   echo "$as_me: failed program was:" >&5
95640 sed 's/^/| /' conftest.$ac_ext >&5
95641
95642 eval "$as_ac_var=no"
95643 fi
95644 rm -f conftest.err conftest.$ac_objext \
95645       conftest$ac_exeext conftest.$ac_ext
95646 fi
95647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95649 if test `eval echo '${'$as_ac_var'}'` = yes; then
95650   cat >>confdefs.h <<_ACEOF
95651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95652 _ACEOF
95653
95654 fi
95655 done
95656
95657   else
95658
95659   echo "$as_me:$LINENO: checking for _powf declaration" >&5
95660 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
95661   if test x${glibcxx_cv_func__powf_use+set} != xset; then
95662     if test "${glibcxx_cv_func__powf_use+set}" = set; then
95663   echo $ECHO_N "(cached) $ECHO_C" >&6
95664 else
95665
95666
95667
95668       ac_ext=cc
95669 ac_cpp='$CXXCPP $CPPFLAGS'
95670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95673
95674       cat >conftest.$ac_ext <<_ACEOF
95675 /* confdefs.h.  */
95676 _ACEOF
95677 cat confdefs.h >>conftest.$ac_ext
95678 cat >>conftest.$ac_ext <<_ACEOF
95679 /* end confdefs.h.  */
95680 #include <math.h>
95681 int
95682 main ()
95683 {
95684  _powf(0, 0);
95685   ;
95686   return 0;
95687 }
95688 _ACEOF
95689 rm -f conftest.$ac_objext
95690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95691   (eval $ac_compile) 2>conftest.er1
95692   ac_status=$?
95693   grep -v '^ *+' conftest.er1 >conftest.err
95694   rm -f conftest.er1
95695   cat conftest.err >&5
95696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95697   (exit $ac_status); } &&
95698          { ac_try='test -z "$ac_cxx_werror_flag"
95699                          || test ! -s conftest.err'
95700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95701   (eval $ac_try) 2>&5
95702   ac_status=$?
95703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95704   (exit $ac_status); }; } &&
95705          { ac_try='test -s conftest.$ac_objext'
95706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95707   (eval $ac_try) 2>&5
95708   ac_status=$?
95709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95710   (exit $ac_status); }; }; then
95711   glibcxx_cv_func__powf_use=yes
95712 else
95713   echo "$as_me: failed program was:" >&5
95714 sed 's/^/| /' conftest.$ac_ext >&5
95715
95716 glibcxx_cv_func__powf_use=no
95717 fi
95718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95719       ac_ext=c
95720 ac_cpp='$CPP $CPPFLAGS'
95721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95724
95725
95726 fi
95727
95728   fi
95729   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
95730 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
95731
95732     if test x$glibcxx_cv_func__powf_use = x"yes"; then
95733
95734 for ac_func in _powf
95735 do
95736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95737 echo "$as_me:$LINENO: checking for $ac_func" >&5
95738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95739 if eval "test \"\${$as_ac_var+set}\" = set"; then
95740   echo $ECHO_N "(cached) $ECHO_C" >&6
95741 else
95742   if test x$gcc_no_link = xyes; then
95743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95745    { (exit 1); exit 1; }; }
95746 fi
95747 cat >conftest.$ac_ext <<_ACEOF
95748 /* confdefs.h.  */
95749 _ACEOF
95750 cat confdefs.h >>conftest.$ac_ext
95751 cat >>conftest.$ac_ext <<_ACEOF
95752 /* end confdefs.h.  */
95753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95755 #define $ac_func innocuous_$ac_func
95756
95757 /* System header to define __stub macros and hopefully few prototypes,
95758     which can conflict with char $ac_func (); below.
95759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95760     <limits.h> exists even on freestanding compilers.  */
95761
95762 #ifdef __STDC__
95763 # include <limits.h>
95764 #else
95765 # include <assert.h>
95766 #endif
95767
95768 #undef $ac_func
95769
95770 /* Override any gcc2 internal prototype to avoid an error.  */
95771 #ifdef __cplusplus
95772 extern "C"
95773 {
95774 #endif
95775 /* We use char because int might match the return type of a gcc2
95776    builtin and then its argument prototype would still apply.  */
95777 char $ac_func ();
95778 /* The GNU C library defines this for functions which it implements
95779     to always fail with ENOSYS.  Some functions are actually named
95780     something starting with __ and the normal name is an alias.  */
95781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95782 choke me
95783 #else
95784 char (*f) () = $ac_func;
95785 #endif
95786 #ifdef __cplusplus
95787 }
95788 #endif
95789
95790 int
95791 main ()
95792 {
95793 return f != $ac_func;
95794   ;
95795   return 0;
95796 }
95797 _ACEOF
95798 rm -f conftest.$ac_objext conftest$ac_exeext
95799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95800   (eval $ac_link) 2>conftest.er1
95801   ac_status=$?
95802   grep -v '^ *+' conftest.er1 >conftest.err
95803   rm -f conftest.er1
95804   cat conftest.err >&5
95805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95806   (exit $ac_status); } &&
95807          { ac_try='test -z "$ac_c_werror_flag"
95808                          || test ! -s conftest.err'
95809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95810   (eval $ac_try) 2>&5
95811   ac_status=$?
95812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95813   (exit $ac_status); }; } &&
95814          { ac_try='test -s conftest$ac_exeext'
95815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95816   (eval $ac_try) 2>&5
95817   ac_status=$?
95818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95819   (exit $ac_status); }; }; then
95820   eval "$as_ac_var=yes"
95821 else
95822   echo "$as_me: failed program was:" >&5
95823 sed 's/^/| /' conftest.$ac_ext >&5
95824
95825 eval "$as_ac_var=no"
95826 fi
95827 rm -f conftest.err conftest.$ac_objext \
95828       conftest$ac_exeext conftest.$ac_ext
95829 fi
95830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95832 if test `eval echo '${'$as_ac_var'}'` = yes; then
95833   cat >>confdefs.h <<_ACEOF
95834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95835 _ACEOF
95836
95837 fi
95838 done
95839
95840     fi
95841   fi
95842
95843
95844
95845
95846
95847
95848   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
95849 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
95850   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
95851     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
95852   echo $ECHO_N "(cached) $ECHO_C" >&6
95853 else
95854
95855
95856
95857       ac_ext=cc
95858 ac_cpp='$CXXCPP $CPPFLAGS'
95859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95862
95863       cat >conftest.$ac_ext <<_ACEOF
95864 /* confdefs.h.  */
95865 _ACEOF
95866 cat confdefs.h >>conftest.$ac_ext
95867 cat >>conftest.$ac_ext <<_ACEOF
95868 /* end confdefs.h.  */
95869 #include <math.h>
95870                       #ifdef HAVE_IEEEFP_H
95871                       #include <ieeefp.h>
95872                       #endif
95873
95874 int
95875 main ()
95876 {
95877  sqrtf(0);
95878   ;
95879   return 0;
95880 }
95881 _ACEOF
95882 rm -f conftest.$ac_objext
95883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95884   (eval $ac_compile) 2>conftest.er1
95885   ac_status=$?
95886   grep -v '^ *+' conftest.er1 >conftest.err
95887   rm -f conftest.er1
95888   cat conftest.err >&5
95889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95890   (exit $ac_status); } &&
95891          { ac_try='test -z "$ac_cxx_werror_flag"
95892                          || test ! -s conftest.err'
95893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95894   (eval $ac_try) 2>&5
95895   ac_status=$?
95896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95897   (exit $ac_status); }; } &&
95898          { ac_try='test -s conftest.$ac_objext'
95899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95900   (eval $ac_try) 2>&5
95901   ac_status=$?
95902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95903   (exit $ac_status); }; }; then
95904   glibcxx_cv_func_sqrtf_use=yes
95905 else
95906   echo "$as_me: failed program was:" >&5
95907 sed 's/^/| /' conftest.$ac_ext >&5
95908
95909 glibcxx_cv_func_sqrtf_use=no
95910 fi
95911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95912       ac_ext=c
95913 ac_cpp='$CPP $CPPFLAGS'
95914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95917
95918
95919 fi
95920
95921   fi
95922   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
95923 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
95924
95925   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
95926
95927 for ac_func in sqrtf
95928 do
95929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95930 echo "$as_me:$LINENO: checking for $ac_func" >&5
95931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95932 if eval "test \"\${$as_ac_var+set}\" = set"; then
95933   echo $ECHO_N "(cached) $ECHO_C" >&6
95934 else
95935   if test x$gcc_no_link = xyes; then
95936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95938    { (exit 1); exit 1; }; }
95939 fi
95940 cat >conftest.$ac_ext <<_ACEOF
95941 /* confdefs.h.  */
95942 _ACEOF
95943 cat confdefs.h >>conftest.$ac_ext
95944 cat >>conftest.$ac_ext <<_ACEOF
95945 /* end confdefs.h.  */
95946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95948 #define $ac_func innocuous_$ac_func
95949
95950 /* System header to define __stub macros and hopefully few prototypes,
95951     which can conflict with char $ac_func (); below.
95952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95953     <limits.h> exists even on freestanding compilers.  */
95954
95955 #ifdef __STDC__
95956 # include <limits.h>
95957 #else
95958 # include <assert.h>
95959 #endif
95960
95961 #undef $ac_func
95962
95963 /* Override any gcc2 internal prototype to avoid an error.  */
95964 #ifdef __cplusplus
95965 extern "C"
95966 {
95967 #endif
95968 /* We use char because int might match the return type of a gcc2
95969    builtin and then its argument prototype would still apply.  */
95970 char $ac_func ();
95971 /* The GNU C library defines this for functions which it implements
95972     to always fail with ENOSYS.  Some functions are actually named
95973     something starting with __ and the normal name is an alias.  */
95974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95975 choke me
95976 #else
95977 char (*f) () = $ac_func;
95978 #endif
95979 #ifdef __cplusplus
95980 }
95981 #endif
95982
95983 int
95984 main ()
95985 {
95986 return f != $ac_func;
95987   ;
95988   return 0;
95989 }
95990 _ACEOF
95991 rm -f conftest.$ac_objext conftest$ac_exeext
95992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95993   (eval $ac_link) 2>conftest.er1
95994   ac_status=$?
95995   grep -v '^ *+' conftest.er1 >conftest.err
95996   rm -f conftest.er1
95997   cat conftest.err >&5
95998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95999   (exit $ac_status); } &&
96000          { ac_try='test -z "$ac_c_werror_flag"
96001                          || test ! -s conftest.err'
96002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96003   (eval $ac_try) 2>&5
96004   ac_status=$?
96005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96006   (exit $ac_status); }; } &&
96007          { ac_try='test -s conftest$ac_exeext'
96008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96009   (eval $ac_try) 2>&5
96010   ac_status=$?
96011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96012   (exit $ac_status); }; }; then
96013   eval "$as_ac_var=yes"
96014 else
96015   echo "$as_me: failed program was:" >&5
96016 sed 's/^/| /' conftest.$ac_ext >&5
96017
96018 eval "$as_ac_var=no"
96019 fi
96020 rm -f conftest.err conftest.$ac_objext \
96021       conftest$ac_exeext conftest.$ac_ext
96022 fi
96023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96025 if test `eval echo '${'$as_ac_var'}'` = yes; then
96026   cat >>confdefs.h <<_ACEOF
96027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96028 _ACEOF
96029
96030 fi
96031 done
96032
96033   else
96034
96035   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96036 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96037   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96038     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96039   echo $ECHO_N "(cached) $ECHO_C" >&6
96040 else
96041
96042
96043
96044       ac_ext=cc
96045 ac_cpp='$CXXCPP $CPPFLAGS'
96046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96049
96050       cat >conftest.$ac_ext <<_ACEOF
96051 /* confdefs.h.  */
96052 _ACEOF
96053 cat confdefs.h >>conftest.$ac_ext
96054 cat >>conftest.$ac_ext <<_ACEOF
96055 /* end confdefs.h.  */
96056 #include <math.h>
96057                       #ifdef HAVE_IEEEFP_H
96058                       #include <ieeefp.h>
96059                       #endif
96060
96061 int
96062 main ()
96063 {
96064  _sqrtf(0);
96065   ;
96066   return 0;
96067 }
96068 _ACEOF
96069 rm -f conftest.$ac_objext
96070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96071   (eval $ac_compile) 2>conftest.er1
96072   ac_status=$?
96073   grep -v '^ *+' conftest.er1 >conftest.err
96074   rm -f conftest.er1
96075   cat conftest.err >&5
96076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96077   (exit $ac_status); } &&
96078          { ac_try='test -z "$ac_cxx_werror_flag"
96079                          || test ! -s conftest.err'
96080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96081   (eval $ac_try) 2>&5
96082   ac_status=$?
96083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96084   (exit $ac_status); }; } &&
96085          { ac_try='test -s conftest.$ac_objext'
96086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96087   (eval $ac_try) 2>&5
96088   ac_status=$?
96089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96090   (exit $ac_status); }; }; then
96091   glibcxx_cv_func__sqrtf_use=yes
96092 else
96093   echo "$as_me: failed program was:" >&5
96094 sed 's/^/| /' conftest.$ac_ext >&5
96095
96096 glibcxx_cv_func__sqrtf_use=no
96097 fi
96098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96099       ac_ext=c
96100 ac_cpp='$CPP $CPPFLAGS'
96101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96104
96105
96106 fi
96107
96108   fi
96109   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96110 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96111
96112     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96113
96114 for ac_func in _sqrtf
96115 do
96116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96117 echo "$as_me:$LINENO: checking for $ac_func" >&5
96118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96119 if eval "test \"\${$as_ac_var+set}\" = set"; then
96120   echo $ECHO_N "(cached) $ECHO_C" >&6
96121 else
96122   if test x$gcc_no_link = xyes; then
96123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96125    { (exit 1); exit 1; }; }
96126 fi
96127 cat >conftest.$ac_ext <<_ACEOF
96128 /* confdefs.h.  */
96129 _ACEOF
96130 cat confdefs.h >>conftest.$ac_ext
96131 cat >>conftest.$ac_ext <<_ACEOF
96132 /* end confdefs.h.  */
96133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96135 #define $ac_func innocuous_$ac_func
96136
96137 /* System header to define __stub macros and hopefully few prototypes,
96138     which can conflict with char $ac_func (); below.
96139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96140     <limits.h> exists even on freestanding compilers.  */
96141
96142 #ifdef __STDC__
96143 # include <limits.h>
96144 #else
96145 # include <assert.h>
96146 #endif
96147
96148 #undef $ac_func
96149
96150 /* Override any gcc2 internal prototype to avoid an error.  */
96151 #ifdef __cplusplus
96152 extern "C"
96153 {
96154 #endif
96155 /* We use char because int might match the return type of a gcc2
96156    builtin and then its argument prototype would still apply.  */
96157 char $ac_func ();
96158 /* The GNU C library defines this for functions which it implements
96159     to always fail with ENOSYS.  Some functions are actually named
96160     something starting with __ and the normal name is an alias.  */
96161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96162 choke me
96163 #else
96164 char (*f) () = $ac_func;
96165 #endif
96166 #ifdef __cplusplus
96167 }
96168 #endif
96169
96170 int
96171 main ()
96172 {
96173 return f != $ac_func;
96174   ;
96175   return 0;
96176 }
96177 _ACEOF
96178 rm -f conftest.$ac_objext conftest$ac_exeext
96179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96180   (eval $ac_link) 2>conftest.er1
96181   ac_status=$?
96182   grep -v '^ *+' conftest.er1 >conftest.err
96183   rm -f conftest.er1
96184   cat conftest.err >&5
96185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186   (exit $ac_status); } &&
96187          { ac_try='test -z "$ac_c_werror_flag"
96188                          || test ! -s conftest.err'
96189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190   (eval $ac_try) 2>&5
96191   ac_status=$?
96192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193   (exit $ac_status); }; } &&
96194          { ac_try='test -s conftest$ac_exeext'
96195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96196   (eval $ac_try) 2>&5
96197   ac_status=$?
96198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199   (exit $ac_status); }; }; then
96200   eval "$as_ac_var=yes"
96201 else
96202   echo "$as_me: failed program was:" >&5
96203 sed 's/^/| /' conftest.$ac_ext >&5
96204
96205 eval "$as_ac_var=no"
96206 fi
96207 rm -f conftest.err conftest.$ac_objext \
96208       conftest$ac_exeext conftest.$ac_ext
96209 fi
96210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96212 if test `eval echo '${'$as_ac_var'}'` = yes; then
96213   cat >>confdefs.h <<_ACEOF
96214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96215 _ACEOF
96216
96217 fi
96218 done
96219
96220     fi
96221   fi
96222
96223
96224
96225
96226
96227
96228   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96229 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96230   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96231     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96232   echo $ECHO_N "(cached) $ECHO_C" >&6
96233 else
96234
96235
96236
96237       ac_ext=cc
96238 ac_cpp='$CXXCPP $CPPFLAGS'
96239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96242
96243       cat >conftest.$ac_ext <<_ACEOF
96244 /* confdefs.h.  */
96245 _ACEOF
96246 cat confdefs.h >>conftest.$ac_ext
96247 cat >>conftest.$ac_ext <<_ACEOF
96248 /* end confdefs.h.  */
96249 #include <math.h>
96250 int
96251 main ()
96252 {
96253  sincosf(0, 0, 0);
96254   ;
96255   return 0;
96256 }
96257 _ACEOF
96258 rm -f conftest.$ac_objext
96259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96260   (eval $ac_compile) 2>conftest.er1
96261   ac_status=$?
96262   grep -v '^ *+' conftest.er1 >conftest.err
96263   rm -f conftest.er1
96264   cat conftest.err >&5
96265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96266   (exit $ac_status); } &&
96267          { ac_try='test -z "$ac_cxx_werror_flag"
96268                          || test ! -s conftest.err'
96269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96270   (eval $ac_try) 2>&5
96271   ac_status=$?
96272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96273   (exit $ac_status); }; } &&
96274          { ac_try='test -s conftest.$ac_objext'
96275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96276   (eval $ac_try) 2>&5
96277   ac_status=$?
96278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279   (exit $ac_status); }; }; then
96280   glibcxx_cv_func_sincosf_use=yes
96281 else
96282   echo "$as_me: failed program was:" >&5
96283 sed 's/^/| /' conftest.$ac_ext >&5
96284
96285 glibcxx_cv_func_sincosf_use=no
96286 fi
96287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96288       ac_ext=c
96289 ac_cpp='$CPP $CPPFLAGS'
96290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96293
96294
96295 fi
96296
96297   fi
96298   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
96299 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
96300
96301   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
96302
96303 for ac_func in sincosf
96304 do
96305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96306 echo "$as_me:$LINENO: checking for $ac_func" >&5
96307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96308 if eval "test \"\${$as_ac_var+set}\" = set"; then
96309   echo $ECHO_N "(cached) $ECHO_C" >&6
96310 else
96311   if test x$gcc_no_link = xyes; then
96312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96314    { (exit 1); exit 1; }; }
96315 fi
96316 cat >conftest.$ac_ext <<_ACEOF
96317 /* confdefs.h.  */
96318 _ACEOF
96319 cat confdefs.h >>conftest.$ac_ext
96320 cat >>conftest.$ac_ext <<_ACEOF
96321 /* end confdefs.h.  */
96322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96324 #define $ac_func innocuous_$ac_func
96325
96326 /* System header to define __stub macros and hopefully few prototypes,
96327     which can conflict with char $ac_func (); below.
96328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96329     <limits.h> exists even on freestanding compilers.  */
96330
96331 #ifdef __STDC__
96332 # include <limits.h>
96333 #else
96334 # include <assert.h>
96335 #endif
96336
96337 #undef $ac_func
96338
96339 /* Override any gcc2 internal prototype to avoid an error.  */
96340 #ifdef __cplusplus
96341 extern "C"
96342 {
96343 #endif
96344 /* We use char because int might match the return type of a gcc2
96345    builtin and then its argument prototype would still apply.  */
96346 char $ac_func ();
96347 /* The GNU C library defines this for functions which it implements
96348     to always fail with ENOSYS.  Some functions are actually named
96349     something starting with __ and the normal name is an alias.  */
96350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96351 choke me
96352 #else
96353 char (*f) () = $ac_func;
96354 #endif
96355 #ifdef __cplusplus
96356 }
96357 #endif
96358
96359 int
96360 main ()
96361 {
96362 return f != $ac_func;
96363   ;
96364   return 0;
96365 }
96366 _ACEOF
96367 rm -f conftest.$ac_objext conftest$ac_exeext
96368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96369   (eval $ac_link) 2>conftest.er1
96370   ac_status=$?
96371   grep -v '^ *+' conftest.er1 >conftest.err
96372   rm -f conftest.er1
96373   cat conftest.err >&5
96374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96375   (exit $ac_status); } &&
96376          { ac_try='test -z "$ac_c_werror_flag"
96377                          || test ! -s conftest.err'
96378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96379   (eval $ac_try) 2>&5
96380   ac_status=$?
96381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96382   (exit $ac_status); }; } &&
96383          { ac_try='test -s conftest$ac_exeext'
96384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96385   (eval $ac_try) 2>&5
96386   ac_status=$?
96387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96388   (exit $ac_status); }; }; then
96389   eval "$as_ac_var=yes"
96390 else
96391   echo "$as_me: failed program was:" >&5
96392 sed 's/^/| /' conftest.$ac_ext >&5
96393
96394 eval "$as_ac_var=no"
96395 fi
96396 rm -f conftest.err conftest.$ac_objext \
96397       conftest$ac_exeext conftest.$ac_ext
96398 fi
96399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96401 if test `eval echo '${'$as_ac_var'}'` = yes; then
96402   cat >>confdefs.h <<_ACEOF
96403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96404 _ACEOF
96405
96406 fi
96407 done
96408
96409   else
96410
96411   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
96412 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
96413   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
96414     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
96415   echo $ECHO_N "(cached) $ECHO_C" >&6
96416 else
96417
96418
96419
96420       ac_ext=cc
96421 ac_cpp='$CXXCPP $CPPFLAGS'
96422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96425
96426       cat >conftest.$ac_ext <<_ACEOF
96427 /* confdefs.h.  */
96428 _ACEOF
96429 cat confdefs.h >>conftest.$ac_ext
96430 cat >>conftest.$ac_ext <<_ACEOF
96431 /* end confdefs.h.  */
96432 #include <math.h>
96433 int
96434 main ()
96435 {
96436  _sincosf(0, 0, 0);
96437   ;
96438   return 0;
96439 }
96440 _ACEOF
96441 rm -f conftest.$ac_objext
96442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96443   (eval $ac_compile) 2>conftest.er1
96444   ac_status=$?
96445   grep -v '^ *+' conftest.er1 >conftest.err
96446   rm -f conftest.er1
96447   cat conftest.err >&5
96448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96449   (exit $ac_status); } &&
96450          { ac_try='test -z "$ac_cxx_werror_flag"
96451                          || test ! -s conftest.err'
96452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453   (eval $ac_try) 2>&5
96454   ac_status=$?
96455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456   (exit $ac_status); }; } &&
96457          { ac_try='test -s conftest.$ac_objext'
96458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96459   (eval $ac_try) 2>&5
96460   ac_status=$?
96461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462   (exit $ac_status); }; }; then
96463   glibcxx_cv_func__sincosf_use=yes
96464 else
96465   echo "$as_me: failed program was:" >&5
96466 sed 's/^/| /' conftest.$ac_ext >&5
96467
96468 glibcxx_cv_func__sincosf_use=no
96469 fi
96470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96471       ac_ext=c
96472 ac_cpp='$CPP $CPPFLAGS'
96473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96476
96477
96478 fi
96479
96480   fi
96481   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
96482 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
96483
96484     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
96485
96486 for ac_func in _sincosf
96487 do
96488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96489 echo "$as_me:$LINENO: checking for $ac_func" >&5
96490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96491 if eval "test \"\${$as_ac_var+set}\" = set"; then
96492   echo $ECHO_N "(cached) $ECHO_C" >&6
96493 else
96494   if test x$gcc_no_link = xyes; then
96495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96497    { (exit 1); exit 1; }; }
96498 fi
96499 cat >conftest.$ac_ext <<_ACEOF
96500 /* confdefs.h.  */
96501 _ACEOF
96502 cat confdefs.h >>conftest.$ac_ext
96503 cat >>conftest.$ac_ext <<_ACEOF
96504 /* end confdefs.h.  */
96505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96507 #define $ac_func innocuous_$ac_func
96508
96509 /* System header to define __stub macros and hopefully few prototypes,
96510     which can conflict with char $ac_func (); below.
96511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96512     <limits.h> exists even on freestanding compilers.  */
96513
96514 #ifdef __STDC__
96515 # include <limits.h>
96516 #else
96517 # include <assert.h>
96518 #endif
96519
96520 #undef $ac_func
96521
96522 /* Override any gcc2 internal prototype to avoid an error.  */
96523 #ifdef __cplusplus
96524 extern "C"
96525 {
96526 #endif
96527 /* We use char because int might match the return type of a gcc2
96528    builtin and then its argument prototype would still apply.  */
96529 char $ac_func ();
96530 /* The GNU C library defines this for functions which it implements
96531     to always fail with ENOSYS.  Some functions are actually named
96532     something starting with __ and the normal name is an alias.  */
96533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96534 choke me
96535 #else
96536 char (*f) () = $ac_func;
96537 #endif
96538 #ifdef __cplusplus
96539 }
96540 #endif
96541
96542 int
96543 main ()
96544 {
96545 return f != $ac_func;
96546   ;
96547   return 0;
96548 }
96549 _ACEOF
96550 rm -f conftest.$ac_objext conftest$ac_exeext
96551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96552   (eval $ac_link) 2>conftest.er1
96553   ac_status=$?
96554   grep -v '^ *+' conftest.er1 >conftest.err
96555   rm -f conftest.er1
96556   cat conftest.err >&5
96557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558   (exit $ac_status); } &&
96559          { ac_try='test -z "$ac_c_werror_flag"
96560                          || test ! -s conftest.err'
96561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96562   (eval $ac_try) 2>&5
96563   ac_status=$?
96564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96565   (exit $ac_status); }; } &&
96566          { ac_try='test -s conftest$ac_exeext'
96567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96568   (eval $ac_try) 2>&5
96569   ac_status=$?
96570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96571   (exit $ac_status); }; }; then
96572   eval "$as_ac_var=yes"
96573 else
96574   echo "$as_me: failed program was:" >&5
96575 sed 's/^/| /' conftest.$ac_ext >&5
96576
96577 eval "$as_ac_var=no"
96578 fi
96579 rm -f conftest.err conftest.$ac_objext \
96580       conftest$ac_exeext conftest.$ac_ext
96581 fi
96582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96584 if test `eval echo '${'$as_ac_var'}'` = yes; then
96585   cat >>confdefs.h <<_ACEOF
96586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96587 _ACEOF
96588
96589 fi
96590 done
96591
96592     fi
96593   fi
96594
96595
96596
96597
96598
96599
96600   echo "$as_me:$LINENO: checking for finitef declaration" >&5
96601 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
96602   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
96603     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
96604   echo $ECHO_N "(cached) $ECHO_C" >&6
96605 else
96606
96607
96608
96609       ac_ext=cc
96610 ac_cpp='$CXXCPP $CPPFLAGS'
96611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96614
96615       cat >conftest.$ac_ext <<_ACEOF
96616 /* confdefs.h.  */
96617 _ACEOF
96618 cat confdefs.h >>conftest.$ac_ext
96619 cat >>conftest.$ac_ext <<_ACEOF
96620 /* end confdefs.h.  */
96621 #include <math.h>
96622                       #ifdef HAVE_IEEEFP_H
96623                       #include <ieeefp.h>
96624                       #endif
96625
96626 int
96627 main ()
96628 {
96629  finitef(0);
96630   ;
96631   return 0;
96632 }
96633 _ACEOF
96634 rm -f conftest.$ac_objext
96635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96636   (eval $ac_compile) 2>conftest.er1
96637   ac_status=$?
96638   grep -v '^ *+' conftest.er1 >conftest.err
96639   rm -f conftest.er1
96640   cat conftest.err >&5
96641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96642   (exit $ac_status); } &&
96643          { ac_try='test -z "$ac_cxx_werror_flag"
96644                          || test ! -s conftest.err'
96645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96646   (eval $ac_try) 2>&5
96647   ac_status=$?
96648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96649   (exit $ac_status); }; } &&
96650          { ac_try='test -s conftest.$ac_objext'
96651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96652   (eval $ac_try) 2>&5
96653   ac_status=$?
96654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96655   (exit $ac_status); }; }; then
96656   glibcxx_cv_func_finitef_use=yes
96657 else
96658   echo "$as_me: failed program was:" >&5
96659 sed 's/^/| /' conftest.$ac_ext >&5
96660
96661 glibcxx_cv_func_finitef_use=no
96662 fi
96663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96664       ac_ext=c
96665 ac_cpp='$CPP $CPPFLAGS'
96666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96669
96670
96671 fi
96672
96673   fi
96674   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
96675 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
96676
96677   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
96678
96679 for ac_func in finitef
96680 do
96681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96682 echo "$as_me:$LINENO: checking for $ac_func" >&5
96683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96684 if eval "test \"\${$as_ac_var+set}\" = set"; then
96685   echo $ECHO_N "(cached) $ECHO_C" >&6
96686 else
96687   if test x$gcc_no_link = xyes; then
96688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96690    { (exit 1); exit 1; }; }
96691 fi
96692 cat >conftest.$ac_ext <<_ACEOF
96693 /* confdefs.h.  */
96694 _ACEOF
96695 cat confdefs.h >>conftest.$ac_ext
96696 cat >>conftest.$ac_ext <<_ACEOF
96697 /* end confdefs.h.  */
96698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96700 #define $ac_func innocuous_$ac_func
96701
96702 /* System header to define __stub macros and hopefully few prototypes,
96703     which can conflict with char $ac_func (); below.
96704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96705     <limits.h> exists even on freestanding compilers.  */
96706
96707 #ifdef __STDC__
96708 # include <limits.h>
96709 #else
96710 # include <assert.h>
96711 #endif
96712
96713 #undef $ac_func
96714
96715 /* Override any gcc2 internal prototype to avoid an error.  */
96716 #ifdef __cplusplus
96717 extern "C"
96718 {
96719 #endif
96720 /* We use char because int might match the return type of a gcc2
96721    builtin and then its argument prototype would still apply.  */
96722 char $ac_func ();
96723 /* The GNU C library defines this for functions which it implements
96724     to always fail with ENOSYS.  Some functions are actually named
96725     something starting with __ and the normal name is an alias.  */
96726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96727 choke me
96728 #else
96729 char (*f) () = $ac_func;
96730 #endif
96731 #ifdef __cplusplus
96732 }
96733 #endif
96734
96735 int
96736 main ()
96737 {
96738 return f != $ac_func;
96739   ;
96740   return 0;
96741 }
96742 _ACEOF
96743 rm -f conftest.$ac_objext conftest$ac_exeext
96744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96745   (eval $ac_link) 2>conftest.er1
96746   ac_status=$?
96747   grep -v '^ *+' conftest.er1 >conftest.err
96748   rm -f conftest.er1
96749   cat conftest.err >&5
96750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96751   (exit $ac_status); } &&
96752          { ac_try='test -z "$ac_c_werror_flag"
96753                          || test ! -s conftest.err'
96754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96755   (eval $ac_try) 2>&5
96756   ac_status=$?
96757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96758   (exit $ac_status); }; } &&
96759          { ac_try='test -s conftest$ac_exeext'
96760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96761   (eval $ac_try) 2>&5
96762   ac_status=$?
96763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96764   (exit $ac_status); }; }; then
96765   eval "$as_ac_var=yes"
96766 else
96767   echo "$as_me: failed program was:" >&5
96768 sed 's/^/| /' conftest.$ac_ext >&5
96769
96770 eval "$as_ac_var=no"
96771 fi
96772 rm -f conftest.err conftest.$ac_objext \
96773       conftest$ac_exeext conftest.$ac_ext
96774 fi
96775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96777 if test `eval echo '${'$as_ac_var'}'` = yes; then
96778   cat >>confdefs.h <<_ACEOF
96779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96780 _ACEOF
96781
96782 fi
96783 done
96784
96785   else
96786
96787   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
96788 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
96789   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
96790     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
96791   echo $ECHO_N "(cached) $ECHO_C" >&6
96792 else
96793
96794
96795
96796       ac_ext=cc
96797 ac_cpp='$CXXCPP $CPPFLAGS'
96798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96801
96802       cat >conftest.$ac_ext <<_ACEOF
96803 /* confdefs.h.  */
96804 _ACEOF
96805 cat confdefs.h >>conftest.$ac_ext
96806 cat >>conftest.$ac_ext <<_ACEOF
96807 /* end confdefs.h.  */
96808 #include <math.h>
96809                       #ifdef HAVE_IEEEFP_H
96810                       #include <ieeefp.h>
96811                       #endif
96812
96813 int
96814 main ()
96815 {
96816  _finitef(0);
96817   ;
96818   return 0;
96819 }
96820 _ACEOF
96821 rm -f conftest.$ac_objext
96822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96823   (eval $ac_compile) 2>conftest.er1
96824   ac_status=$?
96825   grep -v '^ *+' conftest.er1 >conftest.err
96826   rm -f conftest.er1
96827   cat conftest.err >&5
96828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96829   (exit $ac_status); } &&
96830          { ac_try='test -z "$ac_cxx_werror_flag"
96831                          || test ! -s conftest.err'
96832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96833   (eval $ac_try) 2>&5
96834   ac_status=$?
96835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96836   (exit $ac_status); }; } &&
96837          { ac_try='test -s conftest.$ac_objext'
96838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96839   (eval $ac_try) 2>&5
96840   ac_status=$?
96841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96842   (exit $ac_status); }; }; then
96843   glibcxx_cv_func__finitef_use=yes
96844 else
96845   echo "$as_me: failed program was:" >&5
96846 sed 's/^/| /' conftest.$ac_ext >&5
96847
96848 glibcxx_cv_func__finitef_use=no
96849 fi
96850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96851       ac_ext=c
96852 ac_cpp='$CPP $CPPFLAGS'
96853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96856
96857
96858 fi
96859
96860   fi
96861   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
96862 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
96863
96864     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
96865
96866 for ac_func in _finitef
96867 do
96868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96869 echo "$as_me:$LINENO: checking for $ac_func" >&5
96870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96871 if eval "test \"\${$as_ac_var+set}\" = set"; then
96872   echo $ECHO_N "(cached) $ECHO_C" >&6
96873 else
96874   if test x$gcc_no_link = xyes; then
96875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96877    { (exit 1); exit 1; }; }
96878 fi
96879 cat >conftest.$ac_ext <<_ACEOF
96880 /* confdefs.h.  */
96881 _ACEOF
96882 cat confdefs.h >>conftest.$ac_ext
96883 cat >>conftest.$ac_ext <<_ACEOF
96884 /* end confdefs.h.  */
96885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96887 #define $ac_func innocuous_$ac_func
96888
96889 /* System header to define __stub macros and hopefully few prototypes,
96890     which can conflict with char $ac_func (); below.
96891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96892     <limits.h> exists even on freestanding compilers.  */
96893
96894 #ifdef __STDC__
96895 # include <limits.h>
96896 #else
96897 # include <assert.h>
96898 #endif
96899
96900 #undef $ac_func
96901
96902 /* Override any gcc2 internal prototype to avoid an error.  */
96903 #ifdef __cplusplus
96904 extern "C"
96905 {
96906 #endif
96907 /* We use char because int might match the return type of a gcc2
96908    builtin and then its argument prototype would still apply.  */
96909 char $ac_func ();
96910 /* The GNU C library defines this for functions which it implements
96911     to always fail with ENOSYS.  Some functions are actually named
96912     something starting with __ and the normal name is an alias.  */
96913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96914 choke me
96915 #else
96916 char (*f) () = $ac_func;
96917 #endif
96918 #ifdef __cplusplus
96919 }
96920 #endif
96921
96922 int
96923 main ()
96924 {
96925 return f != $ac_func;
96926   ;
96927   return 0;
96928 }
96929 _ACEOF
96930 rm -f conftest.$ac_objext conftest$ac_exeext
96931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96932   (eval $ac_link) 2>conftest.er1
96933   ac_status=$?
96934   grep -v '^ *+' conftest.er1 >conftest.err
96935   rm -f conftest.er1
96936   cat conftest.err >&5
96937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96938   (exit $ac_status); } &&
96939          { ac_try='test -z "$ac_c_werror_flag"
96940                          || test ! -s conftest.err'
96941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96942   (eval $ac_try) 2>&5
96943   ac_status=$?
96944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96945   (exit $ac_status); }; } &&
96946          { ac_try='test -s conftest$ac_exeext'
96947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96948   (eval $ac_try) 2>&5
96949   ac_status=$?
96950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96951   (exit $ac_status); }; }; then
96952   eval "$as_ac_var=yes"
96953 else
96954   echo "$as_me: failed program was:" >&5
96955 sed 's/^/| /' conftest.$ac_ext >&5
96956
96957 eval "$as_ac_var=no"
96958 fi
96959 rm -f conftest.err conftest.$ac_objext \
96960       conftest$ac_exeext conftest.$ac_ext
96961 fi
96962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96964 if test `eval echo '${'$as_ac_var'}'` = yes; then
96965   cat >>confdefs.h <<_ACEOF
96966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96967 _ACEOF
96968
96969 fi
96970 done
96971
96972     fi
96973   fi
96974
96975
96976
96977
96978
96979
96980     echo "$as_me:$LINENO: checking for long double trig functions" >&5
96981 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
96982   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
96983   echo $ECHO_N "(cached) $ECHO_C" >&6
96984 else
96985
96986
96987
96988     ac_ext=cc
96989 ac_cpp='$CXXCPP $CPPFLAGS'
96990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96993
96994     cat >conftest.$ac_ext <<_ACEOF
96995 /* confdefs.h.  */
96996 _ACEOF
96997 cat confdefs.h >>conftest.$ac_ext
96998 cat >>conftest.$ac_ext <<_ACEOF
96999 /* end confdefs.h.  */
97000 #include <math.h>
97001 int
97002 main ()
97003 {
97004 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97005   ;
97006   return 0;
97007 }
97008 _ACEOF
97009 rm -f conftest.$ac_objext
97010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97011   (eval $ac_compile) 2>conftest.er1
97012   ac_status=$?
97013   grep -v '^ *+' conftest.er1 >conftest.err
97014   rm -f conftest.er1
97015   cat conftest.err >&5
97016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017   (exit $ac_status); } &&
97018          { ac_try='test -z "$ac_cxx_werror_flag"
97019                          || test ! -s conftest.err'
97020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021   (eval $ac_try) 2>&5
97022   ac_status=$?
97023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024   (exit $ac_status); }; } &&
97025          { ac_try='test -s conftest.$ac_objext'
97026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97027   (eval $ac_try) 2>&5
97028   ac_status=$?
97029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030   (exit $ac_status); }; }; then
97031   glibcxx_cv_func_long_double_trig_use=yes
97032 else
97033   echo "$as_me: failed program was:" >&5
97034 sed 's/^/| /' conftest.$ac_ext >&5
97035
97036 glibcxx_cv_func_long_double_trig_use=no
97037 fi
97038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97039     ac_ext=c
97040 ac_cpp='$CPP $CPPFLAGS'
97041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97044
97045 fi
97046
97047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97048 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97049   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97050
97051
97052
97053
97054
97055
97056
97057
97058
97059 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97060 do
97061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97062 echo "$as_me:$LINENO: checking for $ac_func" >&5
97063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97064 if eval "test \"\${$as_ac_var+set}\" = set"; then
97065   echo $ECHO_N "(cached) $ECHO_C" >&6
97066 else
97067   if test x$gcc_no_link = xyes; then
97068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97070    { (exit 1); exit 1; }; }
97071 fi
97072 cat >conftest.$ac_ext <<_ACEOF
97073 /* confdefs.h.  */
97074 _ACEOF
97075 cat confdefs.h >>conftest.$ac_ext
97076 cat >>conftest.$ac_ext <<_ACEOF
97077 /* end confdefs.h.  */
97078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97080 #define $ac_func innocuous_$ac_func
97081
97082 /* System header to define __stub macros and hopefully few prototypes,
97083     which can conflict with char $ac_func (); below.
97084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97085     <limits.h> exists even on freestanding compilers.  */
97086
97087 #ifdef __STDC__
97088 # include <limits.h>
97089 #else
97090 # include <assert.h>
97091 #endif
97092
97093 #undef $ac_func
97094
97095 /* Override any gcc2 internal prototype to avoid an error.  */
97096 #ifdef __cplusplus
97097 extern "C"
97098 {
97099 #endif
97100 /* We use char because int might match the return type of a gcc2
97101    builtin and then its argument prototype would still apply.  */
97102 char $ac_func ();
97103 /* The GNU C library defines this for functions which it implements
97104     to always fail with ENOSYS.  Some functions are actually named
97105     something starting with __ and the normal name is an alias.  */
97106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97107 choke me
97108 #else
97109 char (*f) () = $ac_func;
97110 #endif
97111 #ifdef __cplusplus
97112 }
97113 #endif
97114
97115 int
97116 main ()
97117 {
97118 return f != $ac_func;
97119   ;
97120   return 0;
97121 }
97122 _ACEOF
97123 rm -f conftest.$ac_objext conftest$ac_exeext
97124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97125   (eval $ac_link) 2>conftest.er1
97126   ac_status=$?
97127   grep -v '^ *+' conftest.er1 >conftest.err
97128   rm -f conftest.er1
97129   cat conftest.err >&5
97130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97131   (exit $ac_status); } &&
97132          { ac_try='test -z "$ac_c_werror_flag"
97133                          || test ! -s conftest.err'
97134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97135   (eval $ac_try) 2>&5
97136   ac_status=$?
97137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97138   (exit $ac_status); }; } &&
97139          { ac_try='test -s conftest$ac_exeext'
97140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97141   (eval $ac_try) 2>&5
97142   ac_status=$?
97143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97144   (exit $ac_status); }; }; then
97145   eval "$as_ac_var=yes"
97146 else
97147   echo "$as_me: failed program was:" >&5
97148 sed 's/^/| /' conftest.$ac_ext >&5
97149
97150 eval "$as_ac_var=no"
97151 fi
97152 rm -f conftest.err conftest.$ac_objext \
97153       conftest$ac_exeext conftest.$ac_ext
97154 fi
97155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97157 if test `eval echo '${'$as_ac_var'}'` = yes; then
97158   cat >>confdefs.h <<_ACEOF
97159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97160 _ACEOF
97161
97162 fi
97163 done
97164
97165   else
97166     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97167 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97168     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97169   echo $ECHO_N "(cached) $ECHO_C" >&6
97170 else
97171
97172
97173
97174       ac_ext=cc
97175 ac_cpp='$CXXCPP $CPPFLAGS'
97176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97179
97180       cat >conftest.$ac_ext <<_ACEOF
97181 /* confdefs.h.  */
97182 _ACEOF
97183 cat confdefs.h >>conftest.$ac_ext
97184 cat >>conftest.$ac_ext <<_ACEOF
97185 /* end confdefs.h.  */
97186 #include <math.h>
97187 int
97188 main ()
97189 {
97190 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97191   ;
97192   return 0;
97193 }
97194 _ACEOF
97195 rm -f conftest.$ac_objext
97196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97197   (eval $ac_compile) 2>conftest.er1
97198   ac_status=$?
97199   grep -v '^ *+' conftest.er1 >conftest.err
97200   rm -f conftest.er1
97201   cat conftest.err >&5
97202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97203   (exit $ac_status); } &&
97204          { ac_try='test -z "$ac_cxx_werror_flag"
97205                          || test ! -s conftest.err'
97206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97207   (eval $ac_try) 2>&5
97208   ac_status=$?
97209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97210   (exit $ac_status); }; } &&
97211          { ac_try='test -s conftest.$ac_objext'
97212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97213   (eval $ac_try) 2>&5
97214   ac_status=$?
97215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97216   (exit $ac_status); }; }; then
97217   glibcxx_cv_func__long_double_trig_use=yes
97218 else
97219   echo "$as_me: failed program was:" >&5
97220 sed 's/^/| /' conftest.$ac_ext >&5
97221
97222 glibcxx_cv_func__long_double_trig_use=no
97223 fi
97224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97225       ac_ext=c
97226 ac_cpp='$CPP $CPPFLAGS'
97227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97230
97231 fi
97232
97233     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97234 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97235     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
97236
97237
97238
97239
97240
97241
97242
97243
97244
97245 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
97246 do
97247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97248 echo "$as_me:$LINENO: checking for $ac_func" >&5
97249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97250 if eval "test \"\${$as_ac_var+set}\" = set"; then
97251   echo $ECHO_N "(cached) $ECHO_C" >&6
97252 else
97253   if test x$gcc_no_link = xyes; then
97254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97256    { (exit 1); exit 1; }; }
97257 fi
97258 cat >conftest.$ac_ext <<_ACEOF
97259 /* confdefs.h.  */
97260 _ACEOF
97261 cat confdefs.h >>conftest.$ac_ext
97262 cat >>conftest.$ac_ext <<_ACEOF
97263 /* end confdefs.h.  */
97264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97266 #define $ac_func innocuous_$ac_func
97267
97268 /* System header to define __stub macros and hopefully few prototypes,
97269     which can conflict with char $ac_func (); below.
97270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97271     <limits.h> exists even on freestanding compilers.  */
97272
97273 #ifdef __STDC__
97274 # include <limits.h>
97275 #else
97276 # include <assert.h>
97277 #endif
97278
97279 #undef $ac_func
97280
97281 /* Override any gcc2 internal prototype to avoid an error.  */
97282 #ifdef __cplusplus
97283 extern "C"
97284 {
97285 #endif
97286 /* We use char because int might match the return type of a gcc2
97287    builtin and then its argument prototype would still apply.  */
97288 char $ac_func ();
97289 /* The GNU C library defines this for functions which it implements
97290     to always fail with ENOSYS.  Some functions are actually named
97291     something starting with __ and the normal name is an alias.  */
97292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97293 choke me
97294 #else
97295 char (*f) () = $ac_func;
97296 #endif
97297 #ifdef __cplusplus
97298 }
97299 #endif
97300
97301 int
97302 main ()
97303 {
97304 return f != $ac_func;
97305   ;
97306   return 0;
97307 }
97308 _ACEOF
97309 rm -f conftest.$ac_objext conftest$ac_exeext
97310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97311   (eval $ac_link) 2>conftest.er1
97312   ac_status=$?
97313   grep -v '^ *+' conftest.er1 >conftest.err
97314   rm -f conftest.er1
97315   cat conftest.err >&5
97316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97317   (exit $ac_status); } &&
97318          { ac_try='test -z "$ac_c_werror_flag"
97319                          || test ! -s conftest.err'
97320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97321   (eval $ac_try) 2>&5
97322   ac_status=$?
97323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97324   (exit $ac_status); }; } &&
97325          { ac_try='test -s conftest$ac_exeext'
97326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97327   (eval $ac_try) 2>&5
97328   ac_status=$?
97329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330   (exit $ac_status); }; }; then
97331   eval "$as_ac_var=yes"
97332 else
97333   echo "$as_me: failed program was:" >&5
97334 sed 's/^/| /' conftest.$ac_ext >&5
97335
97336 eval "$as_ac_var=no"
97337 fi
97338 rm -f conftest.err conftest.$ac_objext \
97339       conftest$ac_exeext conftest.$ac_ext
97340 fi
97341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97343 if test `eval echo '${'$as_ac_var'}'` = yes; then
97344   cat >>confdefs.h <<_ACEOF
97345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97346 _ACEOF
97347
97348 fi
97349 done
97350
97351     fi
97352   fi
97353
97354
97355
97356
97357
97358
97359
97360
97361
97362
97363
97364
97365
97366
97367     echo "$as_me:$LINENO: checking for long double round functions" >&5
97368 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
97369   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
97370   echo $ECHO_N "(cached) $ECHO_C" >&6
97371 else
97372
97373
97374
97375     ac_ext=cc
97376 ac_cpp='$CXXCPP $CPPFLAGS'
97377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97380
97381     cat >conftest.$ac_ext <<_ACEOF
97382 /* confdefs.h.  */
97383 _ACEOF
97384 cat confdefs.h >>conftest.$ac_ext
97385 cat >>conftest.$ac_ext <<_ACEOF
97386 /* end confdefs.h.  */
97387 #include <math.h>
97388 int
97389 main ()
97390 {
97391 ceill (0); floorl (0);
97392   ;
97393   return 0;
97394 }
97395 _ACEOF
97396 rm -f conftest.$ac_objext
97397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97398   (eval $ac_compile) 2>conftest.er1
97399   ac_status=$?
97400   grep -v '^ *+' conftest.er1 >conftest.err
97401   rm -f conftest.er1
97402   cat conftest.err >&5
97403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97404   (exit $ac_status); } &&
97405          { ac_try='test -z "$ac_cxx_werror_flag"
97406                          || test ! -s conftest.err'
97407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97408   (eval $ac_try) 2>&5
97409   ac_status=$?
97410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97411   (exit $ac_status); }; } &&
97412          { ac_try='test -s conftest.$ac_objext'
97413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97414   (eval $ac_try) 2>&5
97415   ac_status=$?
97416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97417   (exit $ac_status); }; }; then
97418   glibcxx_cv_func_long_double_round_use=yes
97419 else
97420   echo "$as_me: failed program was:" >&5
97421 sed 's/^/| /' conftest.$ac_ext >&5
97422
97423 glibcxx_cv_func_long_double_round_use=no
97424 fi
97425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97426     ac_ext=c
97427 ac_cpp='$CPP $CPPFLAGS'
97428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97431
97432 fi
97433
97434   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
97435 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
97436   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
97437
97438
97439 for ac_func in ceill floorl
97440 do
97441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97442 echo "$as_me:$LINENO: checking for $ac_func" >&5
97443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97444 if eval "test \"\${$as_ac_var+set}\" = set"; then
97445   echo $ECHO_N "(cached) $ECHO_C" >&6
97446 else
97447   if test x$gcc_no_link = xyes; then
97448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97450    { (exit 1); exit 1; }; }
97451 fi
97452 cat >conftest.$ac_ext <<_ACEOF
97453 /* confdefs.h.  */
97454 _ACEOF
97455 cat confdefs.h >>conftest.$ac_ext
97456 cat >>conftest.$ac_ext <<_ACEOF
97457 /* end confdefs.h.  */
97458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97460 #define $ac_func innocuous_$ac_func
97461
97462 /* System header to define __stub macros and hopefully few prototypes,
97463     which can conflict with char $ac_func (); below.
97464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97465     <limits.h> exists even on freestanding compilers.  */
97466
97467 #ifdef __STDC__
97468 # include <limits.h>
97469 #else
97470 # include <assert.h>
97471 #endif
97472
97473 #undef $ac_func
97474
97475 /* Override any gcc2 internal prototype to avoid an error.  */
97476 #ifdef __cplusplus
97477 extern "C"
97478 {
97479 #endif
97480 /* We use char because int might match the return type of a gcc2
97481    builtin and then its argument prototype would still apply.  */
97482 char $ac_func ();
97483 /* The GNU C library defines this for functions which it implements
97484     to always fail with ENOSYS.  Some functions are actually named
97485     something starting with __ and the normal name is an alias.  */
97486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97487 choke me
97488 #else
97489 char (*f) () = $ac_func;
97490 #endif
97491 #ifdef __cplusplus
97492 }
97493 #endif
97494
97495 int
97496 main ()
97497 {
97498 return f != $ac_func;
97499   ;
97500   return 0;
97501 }
97502 _ACEOF
97503 rm -f conftest.$ac_objext conftest$ac_exeext
97504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97505   (eval $ac_link) 2>conftest.er1
97506   ac_status=$?
97507   grep -v '^ *+' conftest.er1 >conftest.err
97508   rm -f conftest.er1
97509   cat conftest.err >&5
97510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97511   (exit $ac_status); } &&
97512          { ac_try='test -z "$ac_c_werror_flag"
97513                          || test ! -s conftest.err'
97514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97515   (eval $ac_try) 2>&5
97516   ac_status=$?
97517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97518   (exit $ac_status); }; } &&
97519          { ac_try='test -s conftest$ac_exeext'
97520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97521   (eval $ac_try) 2>&5
97522   ac_status=$?
97523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97524   (exit $ac_status); }; }; then
97525   eval "$as_ac_var=yes"
97526 else
97527   echo "$as_me: failed program was:" >&5
97528 sed 's/^/| /' conftest.$ac_ext >&5
97529
97530 eval "$as_ac_var=no"
97531 fi
97532 rm -f conftest.err conftest.$ac_objext \
97533       conftest$ac_exeext conftest.$ac_ext
97534 fi
97535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97537 if test `eval echo '${'$as_ac_var'}'` = yes; then
97538   cat >>confdefs.h <<_ACEOF
97539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97540 _ACEOF
97541
97542 fi
97543 done
97544
97545   else
97546     echo "$as_me:$LINENO: checking for _long double round functions" >&5
97547 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
97548     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
97549   echo $ECHO_N "(cached) $ECHO_C" >&6
97550 else
97551
97552
97553
97554       ac_ext=cc
97555 ac_cpp='$CXXCPP $CPPFLAGS'
97556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97559
97560       cat >conftest.$ac_ext <<_ACEOF
97561 /* confdefs.h.  */
97562 _ACEOF
97563 cat confdefs.h >>conftest.$ac_ext
97564 cat >>conftest.$ac_ext <<_ACEOF
97565 /* end confdefs.h.  */
97566 #include <math.h>
97567 int
97568 main ()
97569 {
97570 _ceill (0); _floorl (0);
97571   ;
97572   return 0;
97573 }
97574 _ACEOF
97575 rm -f conftest.$ac_objext
97576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97577   (eval $ac_compile) 2>conftest.er1
97578   ac_status=$?
97579   grep -v '^ *+' conftest.er1 >conftest.err
97580   rm -f conftest.er1
97581   cat conftest.err >&5
97582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97583   (exit $ac_status); } &&
97584          { ac_try='test -z "$ac_cxx_werror_flag"
97585                          || test ! -s conftest.err'
97586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97587   (eval $ac_try) 2>&5
97588   ac_status=$?
97589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97590   (exit $ac_status); }; } &&
97591          { ac_try='test -s conftest.$ac_objext'
97592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97593   (eval $ac_try) 2>&5
97594   ac_status=$?
97595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97596   (exit $ac_status); }; }; then
97597   glibcxx_cv_func__long_double_round_use=yes
97598 else
97599   echo "$as_me: failed program was:" >&5
97600 sed 's/^/| /' conftest.$ac_ext >&5
97601
97602 glibcxx_cv_func__long_double_round_use=no
97603 fi
97604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97605       ac_ext=c
97606 ac_cpp='$CPP $CPPFLAGS'
97607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97610
97611 fi
97612
97613     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
97614 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
97615     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
97616
97617
97618 for ac_func in _ceill _floorl
97619 do
97620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97621 echo "$as_me:$LINENO: checking for $ac_func" >&5
97622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97623 if eval "test \"\${$as_ac_var+set}\" = set"; then
97624   echo $ECHO_N "(cached) $ECHO_C" >&6
97625 else
97626   if test x$gcc_no_link = xyes; then
97627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97629    { (exit 1); exit 1; }; }
97630 fi
97631 cat >conftest.$ac_ext <<_ACEOF
97632 /* confdefs.h.  */
97633 _ACEOF
97634 cat confdefs.h >>conftest.$ac_ext
97635 cat >>conftest.$ac_ext <<_ACEOF
97636 /* end confdefs.h.  */
97637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97639 #define $ac_func innocuous_$ac_func
97640
97641 /* System header to define __stub macros and hopefully few prototypes,
97642     which can conflict with char $ac_func (); below.
97643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97644     <limits.h> exists even on freestanding compilers.  */
97645
97646 #ifdef __STDC__
97647 # include <limits.h>
97648 #else
97649 # include <assert.h>
97650 #endif
97651
97652 #undef $ac_func
97653
97654 /* Override any gcc2 internal prototype to avoid an error.  */
97655 #ifdef __cplusplus
97656 extern "C"
97657 {
97658 #endif
97659 /* We use char because int might match the return type of a gcc2
97660    builtin and then its argument prototype would still apply.  */
97661 char $ac_func ();
97662 /* The GNU C library defines this for functions which it implements
97663     to always fail with ENOSYS.  Some functions are actually named
97664     something starting with __ and the normal name is an alias.  */
97665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97666 choke me
97667 #else
97668 char (*f) () = $ac_func;
97669 #endif
97670 #ifdef __cplusplus
97671 }
97672 #endif
97673
97674 int
97675 main ()
97676 {
97677 return f != $ac_func;
97678   ;
97679   return 0;
97680 }
97681 _ACEOF
97682 rm -f conftest.$ac_objext conftest$ac_exeext
97683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97684   (eval $ac_link) 2>conftest.er1
97685   ac_status=$?
97686   grep -v '^ *+' conftest.er1 >conftest.err
97687   rm -f conftest.er1
97688   cat conftest.err >&5
97689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97690   (exit $ac_status); } &&
97691          { ac_try='test -z "$ac_c_werror_flag"
97692                          || test ! -s conftest.err'
97693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97694   (eval $ac_try) 2>&5
97695   ac_status=$?
97696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97697   (exit $ac_status); }; } &&
97698          { ac_try='test -s conftest$ac_exeext'
97699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97700   (eval $ac_try) 2>&5
97701   ac_status=$?
97702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97703   (exit $ac_status); }; }; then
97704   eval "$as_ac_var=yes"
97705 else
97706   echo "$as_me: failed program was:" >&5
97707 sed 's/^/| /' conftest.$ac_ext >&5
97708
97709 eval "$as_ac_var=no"
97710 fi
97711 rm -f conftest.err conftest.$ac_objext \
97712       conftest$ac_exeext conftest.$ac_ext
97713 fi
97714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97716 if test `eval echo '${'$as_ac_var'}'` = yes; then
97717   cat >>confdefs.h <<_ACEOF
97718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97719 _ACEOF
97720
97721 fi
97722 done
97723
97724     fi
97725   fi
97726
97727
97728
97729
97730
97731
97732
97733
97734   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
97735 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
97736   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
97737     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
97738   echo $ECHO_N "(cached) $ECHO_C" >&6
97739 else
97740
97741
97742
97743       ac_ext=cc
97744 ac_cpp='$CXXCPP $CPPFLAGS'
97745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97748
97749       cat >conftest.$ac_ext <<_ACEOF
97750 /* confdefs.h.  */
97751 _ACEOF
97752 cat confdefs.h >>conftest.$ac_ext
97753 cat >>conftest.$ac_ext <<_ACEOF
97754 /* end confdefs.h.  */
97755 #include <math.h>
97756                       #ifdef HAVE_IEEEFP_H
97757                       #include <ieeefp.h>
97758                       #endif
97759
97760 int
97761 main ()
97762 {
97763  isnanl(0);
97764   ;
97765   return 0;
97766 }
97767 _ACEOF
97768 rm -f conftest.$ac_objext
97769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97770   (eval $ac_compile) 2>conftest.er1
97771   ac_status=$?
97772   grep -v '^ *+' conftest.er1 >conftest.err
97773   rm -f conftest.er1
97774   cat conftest.err >&5
97775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97776   (exit $ac_status); } &&
97777          { ac_try='test -z "$ac_cxx_werror_flag"
97778                          || test ! -s conftest.err'
97779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97780   (eval $ac_try) 2>&5
97781   ac_status=$?
97782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97783   (exit $ac_status); }; } &&
97784          { ac_try='test -s conftest.$ac_objext'
97785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97786   (eval $ac_try) 2>&5
97787   ac_status=$?
97788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97789   (exit $ac_status); }; }; then
97790   glibcxx_cv_func_isnanl_use=yes
97791 else
97792   echo "$as_me: failed program was:" >&5
97793 sed 's/^/| /' conftest.$ac_ext >&5
97794
97795 glibcxx_cv_func_isnanl_use=no
97796 fi
97797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97798       ac_ext=c
97799 ac_cpp='$CPP $CPPFLAGS'
97800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97803
97804
97805 fi
97806
97807   fi
97808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
97809 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
97810
97811   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
97812
97813 for ac_func in isnanl
97814 do
97815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97816 echo "$as_me:$LINENO: checking for $ac_func" >&5
97817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97818 if eval "test \"\${$as_ac_var+set}\" = set"; then
97819   echo $ECHO_N "(cached) $ECHO_C" >&6
97820 else
97821   if test x$gcc_no_link = xyes; then
97822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97824    { (exit 1); exit 1; }; }
97825 fi
97826 cat >conftest.$ac_ext <<_ACEOF
97827 /* confdefs.h.  */
97828 _ACEOF
97829 cat confdefs.h >>conftest.$ac_ext
97830 cat >>conftest.$ac_ext <<_ACEOF
97831 /* end confdefs.h.  */
97832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97834 #define $ac_func innocuous_$ac_func
97835
97836 /* System header to define __stub macros and hopefully few prototypes,
97837     which can conflict with char $ac_func (); below.
97838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97839     <limits.h> exists even on freestanding compilers.  */
97840
97841 #ifdef __STDC__
97842 # include <limits.h>
97843 #else
97844 # include <assert.h>
97845 #endif
97846
97847 #undef $ac_func
97848
97849 /* Override any gcc2 internal prototype to avoid an error.  */
97850 #ifdef __cplusplus
97851 extern "C"
97852 {
97853 #endif
97854 /* We use char because int might match the return type of a gcc2
97855    builtin and then its argument prototype would still apply.  */
97856 char $ac_func ();
97857 /* The GNU C library defines this for functions which it implements
97858     to always fail with ENOSYS.  Some functions are actually named
97859     something starting with __ and the normal name is an alias.  */
97860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97861 choke me
97862 #else
97863 char (*f) () = $ac_func;
97864 #endif
97865 #ifdef __cplusplus
97866 }
97867 #endif
97868
97869 int
97870 main ()
97871 {
97872 return f != $ac_func;
97873   ;
97874   return 0;
97875 }
97876 _ACEOF
97877 rm -f conftest.$ac_objext conftest$ac_exeext
97878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97879   (eval $ac_link) 2>conftest.er1
97880   ac_status=$?
97881   grep -v '^ *+' conftest.er1 >conftest.err
97882   rm -f conftest.er1
97883   cat conftest.err >&5
97884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97885   (exit $ac_status); } &&
97886          { ac_try='test -z "$ac_c_werror_flag"
97887                          || test ! -s conftest.err'
97888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97889   (eval $ac_try) 2>&5
97890   ac_status=$?
97891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97892   (exit $ac_status); }; } &&
97893          { ac_try='test -s conftest$ac_exeext'
97894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97895   (eval $ac_try) 2>&5
97896   ac_status=$?
97897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97898   (exit $ac_status); }; }; then
97899   eval "$as_ac_var=yes"
97900 else
97901   echo "$as_me: failed program was:" >&5
97902 sed 's/^/| /' conftest.$ac_ext >&5
97903
97904 eval "$as_ac_var=no"
97905 fi
97906 rm -f conftest.err conftest.$ac_objext \
97907       conftest$ac_exeext conftest.$ac_ext
97908 fi
97909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97911 if test `eval echo '${'$as_ac_var'}'` = yes; then
97912   cat >>confdefs.h <<_ACEOF
97913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97914 _ACEOF
97915
97916 fi
97917 done
97918
97919   else
97920
97921   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
97922 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
97923   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
97924     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
97925   echo $ECHO_N "(cached) $ECHO_C" >&6
97926 else
97927
97928
97929
97930       ac_ext=cc
97931 ac_cpp='$CXXCPP $CPPFLAGS'
97932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97935
97936       cat >conftest.$ac_ext <<_ACEOF
97937 /* confdefs.h.  */
97938 _ACEOF
97939 cat confdefs.h >>conftest.$ac_ext
97940 cat >>conftest.$ac_ext <<_ACEOF
97941 /* end confdefs.h.  */
97942 #include <math.h>
97943                       #ifdef HAVE_IEEEFP_H
97944                       #include <ieeefp.h>
97945                       #endif
97946
97947 int
97948 main ()
97949 {
97950  _isnanl(0);
97951   ;
97952   return 0;
97953 }
97954 _ACEOF
97955 rm -f conftest.$ac_objext
97956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97957   (eval $ac_compile) 2>conftest.er1
97958   ac_status=$?
97959   grep -v '^ *+' conftest.er1 >conftest.err
97960   rm -f conftest.er1
97961   cat conftest.err >&5
97962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97963   (exit $ac_status); } &&
97964          { ac_try='test -z "$ac_cxx_werror_flag"
97965                          || test ! -s conftest.err'
97966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97967   (eval $ac_try) 2>&5
97968   ac_status=$?
97969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97970   (exit $ac_status); }; } &&
97971          { ac_try='test -s conftest.$ac_objext'
97972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97973   (eval $ac_try) 2>&5
97974   ac_status=$?
97975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97976   (exit $ac_status); }; }; then
97977   glibcxx_cv_func__isnanl_use=yes
97978 else
97979   echo "$as_me: failed program was:" >&5
97980 sed 's/^/| /' conftest.$ac_ext >&5
97981
97982 glibcxx_cv_func__isnanl_use=no
97983 fi
97984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97985       ac_ext=c
97986 ac_cpp='$CPP $CPPFLAGS'
97987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97990
97991
97992 fi
97993
97994   fi
97995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
97996 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
97997
97998     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
97999
98000 for ac_func in _isnanl
98001 do
98002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98003 echo "$as_me:$LINENO: checking for $ac_func" >&5
98004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98005 if eval "test \"\${$as_ac_var+set}\" = set"; then
98006   echo $ECHO_N "(cached) $ECHO_C" >&6
98007 else
98008   if test x$gcc_no_link = xyes; then
98009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98011    { (exit 1); exit 1; }; }
98012 fi
98013 cat >conftest.$ac_ext <<_ACEOF
98014 /* confdefs.h.  */
98015 _ACEOF
98016 cat confdefs.h >>conftest.$ac_ext
98017 cat >>conftest.$ac_ext <<_ACEOF
98018 /* end confdefs.h.  */
98019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98021 #define $ac_func innocuous_$ac_func
98022
98023 /* System header to define __stub macros and hopefully few prototypes,
98024     which can conflict with char $ac_func (); below.
98025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98026     <limits.h> exists even on freestanding compilers.  */
98027
98028 #ifdef __STDC__
98029 # include <limits.h>
98030 #else
98031 # include <assert.h>
98032 #endif
98033
98034 #undef $ac_func
98035
98036 /* Override any gcc2 internal prototype to avoid an error.  */
98037 #ifdef __cplusplus
98038 extern "C"
98039 {
98040 #endif
98041 /* We use char because int might match the return type of a gcc2
98042    builtin and then its argument prototype would still apply.  */
98043 char $ac_func ();
98044 /* The GNU C library defines this for functions which it implements
98045     to always fail with ENOSYS.  Some functions are actually named
98046     something starting with __ and the normal name is an alias.  */
98047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98048 choke me
98049 #else
98050 char (*f) () = $ac_func;
98051 #endif
98052 #ifdef __cplusplus
98053 }
98054 #endif
98055
98056 int
98057 main ()
98058 {
98059 return f != $ac_func;
98060   ;
98061   return 0;
98062 }
98063 _ACEOF
98064 rm -f conftest.$ac_objext conftest$ac_exeext
98065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98066   (eval $ac_link) 2>conftest.er1
98067   ac_status=$?
98068   grep -v '^ *+' conftest.er1 >conftest.err
98069   rm -f conftest.er1
98070   cat conftest.err >&5
98071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98072   (exit $ac_status); } &&
98073          { ac_try='test -z "$ac_c_werror_flag"
98074                          || test ! -s conftest.err'
98075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98076   (eval $ac_try) 2>&5
98077   ac_status=$?
98078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98079   (exit $ac_status); }; } &&
98080          { ac_try='test -s conftest$ac_exeext'
98081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98082   (eval $ac_try) 2>&5
98083   ac_status=$?
98084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98085   (exit $ac_status); }; }; then
98086   eval "$as_ac_var=yes"
98087 else
98088   echo "$as_me: failed program was:" >&5
98089 sed 's/^/| /' conftest.$ac_ext >&5
98090
98091 eval "$as_ac_var=no"
98092 fi
98093 rm -f conftest.err conftest.$ac_objext \
98094       conftest$ac_exeext conftest.$ac_ext
98095 fi
98096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98098 if test `eval echo '${'$as_ac_var'}'` = yes; then
98099   cat >>confdefs.h <<_ACEOF
98100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98101 _ACEOF
98102
98103 fi
98104 done
98105
98106     fi
98107   fi
98108
98109
98110
98111
98112
98113
98114   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98115 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98116   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98117     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98118   echo $ECHO_N "(cached) $ECHO_C" >&6
98119 else
98120
98121
98122
98123       ac_ext=cc
98124 ac_cpp='$CXXCPP $CPPFLAGS'
98125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98128
98129       cat >conftest.$ac_ext <<_ACEOF
98130 /* confdefs.h.  */
98131 _ACEOF
98132 cat confdefs.h >>conftest.$ac_ext
98133 cat >>conftest.$ac_ext <<_ACEOF
98134 /* end confdefs.h.  */
98135 #include <math.h>
98136                       #ifdef HAVE_IEEEFP_H
98137                       #include <ieeefp.h>
98138                       #endif
98139
98140 int
98141 main ()
98142 {
98143  isinfl(0);
98144   ;
98145   return 0;
98146 }
98147 _ACEOF
98148 rm -f conftest.$ac_objext
98149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98150   (eval $ac_compile) 2>conftest.er1
98151   ac_status=$?
98152   grep -v '^ *+' conftest.er1 >conftest.err
98153   rm -f conftest.er1
98154   cat conftest.err >&5
98155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98156   (exit $ac_status); } &&
98157          { ac_try='test -z "$ac_cxx_werror_flag"
98158                          || test ! -s conftest.err'
98159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160   (eval $ac_try) 2>&5
98161   ac_status=$?
98162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163   (exit $ac_status); }; } &&
98164          { ac_try='test -s conftest.$ac_objext'
98165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98166   (eval $ac_try) 2>&5
98167   ac_status=$?
98168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98169   (exit $ac_status); }; }; then
98170   glibcxx_cv_func_isinfl_use=yes
98171 else
98172   echo "$as_me: failed program was:" >&5
98173 sed 's/^/| /' conftest.$ac_ext >&5
98174
98175 glibcxx_cv_func_isinfl_use=no
98176 fi
98177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98178       ac_ext=c
98179 ac_cpp='$CPP $CPPFLAGS'
98180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98183
98184
98185 fi
98186
98187   fi
98188   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98189 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98190
98191   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98192
98193 for ac_func in isinfl
98194 do
98195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98196 echo "$as_me:$LINENO: checking for $ac_func" >&5
98197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98198 if eval "test \"\${$as_ac_var+set}\" = set"; then
98199   echo $ECHO_N "(cached) $ECHO_C" >&6
98200 else
98201   if test x$gcc_no_link = xyes; then
98202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98204    { (exit 1); exit 1; }; }
98205 fi
98206 cat >conftest.$ac_ext <<_ACEOF
98207 /* confdefs.h.  */
98208 _ACEOF
98209 cat confdefs.h >>conftest.$ac_ext
98210 cat >>conftest.$ac_ext <<_ACEOF
98211 /* end confdefs.h.  */
98212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98214 #define $ac_func innocuous_$ac_func
98215
98216 /* System header to define __stub macros and hopefully few prototypes,
98217     which can conflict with char $ac_func (); below.
98218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98219     <limits.h> exists even on freestanding compilers.  */
98220
98221 #ifdef __STDC__
98222 # include <limits.h>
98223 #else
98224 # include <assert.h>
98225 #endif
98226
98227 #undef $ac_func
98228
98229 /* Override any gcc2 internal prototype to avoid an error.  */
98230 #ifdef __cplusplus
98231 extern "C"
98232 {
98233 #endif
98234 /* We use char because int might match the return type of a gcc2
98235    builtin and then its argument prototype would still apply.  */
98236 char $ac_func ();
98237 /* The GNU C library defines this for functions which it implements
98238     to always fail with ENOSYS.  Some functions are actually named
98239     something starting with __ and the normal name is an alias.  */
98240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98241 choke me
98242 #else
98243 char (*f) () = $ac_func;
98244 #endif
98245 #ifdef __cplusplus
98246 }
98247 #endif
98248
98249 int
98250 main ()
98251 {
98252 return f != $ac_func;
98253   ;
98254   return 0;
98255 }
98256 _ACEOF
98257 rm -f conftest.$ac_objext conftest$ac_exeext
98258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98259   (eval $ac_link) 2>conftest.er1
98260   ac_status=$?
98261   grep -v '^ *+' conftest.er1 >conftest.err
98262   rm -f conftest.er1
98263   cat conftest.err >&5
98264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98265   (exit $ac_status); } &&
98266          { ac_try='test -z "$ac_c_werror_flag"
98267                          || test ! -s conftest.err'
98268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98269   (eval $ac_try) 2>&5
98270   ac_status=$?
98271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98272   (exit $ac_status); }; } &&
98273          { ac_try='test -s conftest$ac_exeext'
98274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98275   (eval $ac_try) 2>&5
98276   ac_status=$?
98277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98278   (exit $ac_status); }; }; then
98279   eval "$as_ac_var=yes"
98280 else
98281   echo "$as_me: failed program was:" >&5
98282 sed 's/^/| /' conftest.$ac_ext >&5
98283
98284 eval "$as_ac_var=no"
98285 fi
98286 rm -f conftest.err conftest.$ac_objext \
98287       conftest$ac_exeext conftest.$ac_ext
98288 fi
98289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98291 if test `eval echo '${'$as_ac_var'}'` = yes; then
98292   cat >>confdefs.h <<_ACEOF
98293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98294 _ACEOF
98295
98296 fi
98297 done
98298
98299   else
98300
98301   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
98302 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
98303   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
98304     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
98305   echo $ECHO_N "(cached) $ECHO_C" >&6
98306 else
98307
98308
98309
98310       ac_ext=cc
98311 ac_cpp='$CXXCPP $CPPFLAGS'
98312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98315
98316       cat >conftest.$ac_ext <<_ACEOF
98317 /* confdefs.h.  */
98318 _ACEOF
98319 cat confdefs.h >>conftest.$ac_ext
98320 cat >>conftest.$ac_ext <<_ACEOF
98321 /* end confdefs.h.  */
98322 #include <math.h>
98323                       #ifdef HAVE_IEEEFP_H
98324                       #include <ieeefp.h>
98325                       #endif
98326
98327 int
98328 main ()
98329 {
98330  _isinfl(0);
98331   ;
98332   return 0;
98333 }
98334 _ACEOF
98335 rm -f conftest.$ac_objext
98336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98337   (eval $ac_compile) 2>conftest.er1
98338   ac_status=$?
98339   grep -v '^ *+' conftest.er1 >conftest.err
98340   rm -f conftest.er1
98341   cat conftest.err >&5
98342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98343   (exit $ac_status); } &&
98344          { ac_try='test -z "$ac_cxx_werror_flag"
98345                          || test ! -s conftest.err'
98346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98347   (eval $ac_try) 2>&5
98348   ac_status=$?
98349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98350   (exit $ac_status); }; } &&
98351          { ac_try='test -s conftest.$ac_objext'
98352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98353   (eval $ac_try) 2>&5
98354   ac_status=$?
98355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98356   (exit $ac_status); }; }; then
98357   glibcxx_cv_func__isinfl_use=yes
98358 else
98359   echo "$as_me: failed program was:" >&5
98360 sed 's/^/| /' conftest.$ac_ext >&5
98361
98362 glibcxx_cv_func__isinfl_use=no
98363 fi
98364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98365       ac_ext=c
98366 ac_cpp='$CPP $CPPFLAGS'
98367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98370
98371
98372 fi
98373
98374   fi
98375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
98376 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
98377
98378     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
98379
98380 for ac_func in _isinfl
98381 do
98382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98383 echo "$as_me:$LINENO: checking for $ac_func" >&5
98384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98385 if eval "test \"\${$as_ac_var+set}\" = set"; then
98386   echo $ECHO_N "(cached) $ECHO_C" >&6
98387 else
98388   if test x$gcc_no_link = xyes; then
98389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98391    { (exit 1); exit 1; }; }
98392 fi
98393 cat >conftest.$ac_ext <<_ACEOF
98394 /* confdefs.h.  */
98395 _ACEOF
98396 cat confdefs.h >>conftest.$ac_ext
98397 cat >>conftest.$ac_ext <<_ACEOF
98398 /* end confdefs.h.  */
98399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98401 #define $ac_func innocuous_$ac_func
98402
98403 /* System header to define __stub macros and hopefully few prototypes,
98404     which can conflict with char $ac_func (); below.
98405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98406     <limits.h> exists even on freestanding compilers.  */
98407
98408 #ifdef __STDC__
98409 # include <limits.h>
98410 #else
98411 # include <assert.h>
98412 #endif
98413
98414 #undef $ac_func
98415
98416 /* Override any gcc2 internal prototype to avoid an error.  */
98417 #ifdef __cplusplus
98418 extern "C"
98419 {
98420 #endif
98421 /* We use char because int might match the return type of a gcc2
98422    builtin and then its argument prototype would still apply.  */
98423 char $ac_func ();
98424 /* The GNU C library defines this for functions which it implements
98425     to always fail with ENOSYS.  Some functions are actually named
98426     something starting with __ and the normal name is an alias.  */
98427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98428 choke me
98429 #else
98430 char (*f) () = $ac_func;
98431 #endif
98432 #ifdef __cplusplus
98433 }
98434 #endif
98435
98436 int
98437 main ()
98438 {
98439 return f != $ac_func;
98440   ;
98441   return 0;
98442 }
98443 _ACEOF
98444 rm -f conftest.$ac_objext conftest$ac_exeext
98445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98446   (eval $ac_link) 2>conftest.er1
98447   ac_status=$?
98448   grep -v '^ *+' conftest.er1 >conftest.err
98449   rm -f conftest.er1
98450   cat conftest.err >&5
98451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98452   (exit $ac_status); } &&
98453          { ac_try='test -z "$ac_c_werror_flag"
98454                          || test ! -s conftest.err'
98455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98456   (eval $ac_try) 2>&5
98457   ac_status=$?
98458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98459   (exit $ac_status); }; } &&
98460          { ac_try='test -s conftest$ac_exeext'
98461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98462   (eval $ac_try) 2>&5
98463   ac_status=$?
98464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98465   (exit $ac_status); }; }; then
98466   eval "$as_ac_var=yes"
98467 else
98468   echo "$as_me: failed program was:" >&5
98469 sed 's/^/| /' conftest.$ac_ext >&5
98470
98471 eval "$as_ac_var=no"
98472 fi
98473 rm -f conftest.err conftest.$ac_objext \
98474       conftest$ac_exeext conftest.$ac_ext
98475 fi
98476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98478 if test `eval echo '${'$as_ac_var'}'` = yes; then
98479   cat >>confdefs.h <<_ACEOF
98480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98481 _ACEOF
98482
98483 fi
98484 done
98485
98486     fi
98487   fi
98488
98489
98490
98491
98492
98493
98494   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
98495 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
98496   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
98497     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
98498   echo $ECHO_N "(cached) $ECHO_C" >&6
98499 else
98500
98501
98502
98503       ac_ext=cc
98504 ac_cpp='$CXXCPP $CPPFLAGS'
98505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98508
98509       cat >conftest.$ac_ext <<_ACEOF
98510 /* confdefs.h.  */
98511 _ACEOF
98512 cat confdefs.h >>conftest.$ac_ext
98513 cat >>conftest.$ac_ext <<_ACEOF
98514 /* end confdefs.h.  */
98515 #include <math.h>
98516 int
98517 main ()
98518 {
98519  copysignl(0, 0);
98520   ;
98521   return 0;
98522 }
98523 _ACEOF
98524 rm -f conftest.$ac_objext
98525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98526   (eval $ac_compile) 2>conftest.er1
98527   ac_status=$?
98528   grep -v '^ *+' conftest.er1 >conftest.err
98529   rm -f conftest.er1
98530   cat conftest.err >&5
98531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98532   (exit $ac_status); } &&
98533          { ac_try='test -z "$ac_cxx_werror_flag"
98534                          || test ! -s conftest.err'
98535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98536   (eval $ac_try) 2>&5
98537   ac_status=$?
98538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98539   (exit $ac_status); }; } &&
98540          { ac_try='test -s conftest.$ac_objext'
98541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98542   (eval $ac_try) 2>&5
98543   ac_status=$?
98544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98545   (exit $ac_status); }; }; then
98546   glibcxx_cv_func_copysignl_use=yes
98547 else
98548   echo "$as_me: failed program was:" >&5
98549 sed 's/^/| /' conftest.$ac_ext >&5
98550
98551 glibcxx_cv_func_copysignl_use=no
98552 fi
98553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98554       ac_ext=c
98555 ac_cpp='$CPP $CPPFLAGS'
98556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98559
98560
98561 fi
98562
98563   fi
98564   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
98565 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
98566
98567   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
98568
98569 for ac_func in copysignl
98570 do
98571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98572 echo "$as_me:$LINENO: checking for $ac_func" >&5
98573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98574 if eval "test \"\${$as_ac_var+set}\" = set"; then
98575   echo $ECHO_N "(cached) $ECHO_C" >&6
98576 else
98577   if test x$gcc_no_link = xyes; then
98578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98580    { (exit 1); exit 1; }; }
98581 fi
98582 cat >conftest.$ac_ext <<_ACEOF
98583 /* confdefs.h.  */
98584 _ACEOF
98585 cat confdefs.h >>conftest.$ac_ext
98586 cat >>conftest.$ac_ext <<_ACEOF
98587 /* end confdefs.h.  */
98588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98590 #define $ac_func innocuous_$ac_func
98591
98592 /* System header to define __stub macros and hopefully few prototypes,
98593     which can conflict with char $ac_func (); below.
98594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98595     <limits.h> exists even on freestanding compilers.  */
98596
98597 #ifdef __STDC__
98598 # include <limits.h>
98599 #else
98600 # include <assert.h>
98601 #endif
98602
98603 #undef $ac_func
98604
98605 /* Override any gcc2 internal prototype to avoid an error.  */
98606 #ifdef __cplusplus
98607 extern "C"
98608 {
98609 #endif
98610 /* We use char because int might match the return type of a gcc2
98611    builtin and then its argument prototype would still apply.  */
98612 char $ac_func ();
98613 /* The GNU C library defines this for functions which it implements
98614     to always fail with ENOSYS.  Some functions are actually named
98615     something starting with __ and the normal name is an alias.  */
98616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98617 choke me
98618 #else
98619 char (*f) () = $ac_func;
98620 #endif
98621 #ifdef __cplusplus
98622 }
98623 #endif
98624
98625 int
98626 main ()
98627 {
98628 return f != $ac_func;
98629   ;
98630   return 0;
98631 }
98632 _ACEOF
98633 rm -f conftest.$ac_objext conftest$ac_exeext
98634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98635   (eval $ac_link) 2>conftest.er1
98636   ac_status=$?
98637   grep -v '^ *+' conftest.er1 >conftest.err
98638   rm -f conftest.er1
98639   cat conftest.err >&5
98640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98641   (exit $ac_status); } &&
98642          { ac_try='test -z "$ac_c_werror_flag"
98643                          || test ! -s conftest.err'
98644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98645   (eval $ac_try) 2>&5
98646   ac_status=$?
98647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98648   (exit $ac_status); }; } &&
98649          { ac_try='test -s conftest$ac_exeext'
98650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98651   (eval $ac_try) 2>&5
98652   ac_status=$?
98653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98654   (exit $ac_status); }; }; then
98655   eval "$as_ac_var=yes"
98656 else
98657   echo "$as_me: failed program was:" >&5
98658 sed 's/^/| /' conftest.$ac_ext >&5
98659
98660 eval "$as_ac_var=no"
98661 fi
98662 rm -f conftest.err conftest.$ac_objext \
98663       conftest$ac_exeext conftest.$ac_ext
98664 fi
98665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98667 if test `eval echo '${'$as_ac_var'}'` = yes; then
98668   cat >>confdefs.h <<_ACEOF
98669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98670 _ACEOF
98671
98672 fi
98673 done
98674
98675   else
98676
98677   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
98678 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
98679   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
98680     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
98681   echo $ECHO_N "(cached) $ECHO_C" >&6
98682 else
98683
98684
98685
98686       ac_ext=cc
98687 ac_cpp='$CXXCPP $CPPFLAGS'
98688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98691
98692       cat >conftest.$ac_ext <<_ACEOF
98693 /* confdefs.h.  */
98694 _ACEOF
98695 cat confdefs.h >>conftest.$ac_ext
98696 cat >>conftest.$ac_ext <<_ACEOF
98697 /* end confdefs.h.  */
98698 #include <math.h>
98699 int
98700 main ()
98701 {
98702  _copysignl(0, 0);
98703   ;
98704   return 0;
98705 }
98706 _ACEOF
98707 rm -f conftest.$ac_objext
98708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98709   (eval $ac_compile) 2>conftest.er1
98710   ac_status=$?
98711   grep -v '^ *+' conftest.er1 >conftest.err
98712   rm -f conftest.er1
98713   cat conftest.err >&5
98714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98715   (exit $ac_status); } &&
98716          { ac_try='test -z "$ac_cxx_werror_flag"
98717                          || test ! -s conftest.err'
98718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98719   (eval $ac_try) 2>&5
98720   ac_status=$?
98721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98722   (exit $ac_status); }; } &&
98723          { ac_try='test -s conftest.$ac_objext'
98724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98725   (eval $ac_try) 2>&5
98726   ac_status=$?
98727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98728   (exit $ac_status); }; }; then
98729   glibcxx_cv_func__copysignl_use=yes
98730 else
98731   echo "$as_me: failed program was:" >&5
98732 sed 's/^/| /' conftest.$ac_ext >&5
98733
98734 glibcxx_cv_func__copysignl_use=no
98735 fi
98736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98737       ac_ext=c
98738 ac_cpp='$CPP $CPPFLAGS'
98739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98742
98743
98744 fi
98745
98746   fi
98747   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
98748 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
98749
98750     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
98751
98752 for ac_func in _copysignl
98753 do
98754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98755 echo "$as_me:$LINENO: checking for $ac_func" >&5
98756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98757 if eval "test \"\${$as_ac_var+set}\" = set"; then
98758   echo $ECHO_N "(cached) $ECHO_C" >&6
98759 else
98760   if test x$gcc_no_link = xyes; then
98761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98763    { (exit 1); exit 1; }; }
98764 fi
98765 cat >conftest.$ac_ext <<_ACEOF
98766 /* confdefs.h.  */
98767 _ACEOF
98768 cat confdefs.h >>conftest.$ac_ext
98769 cat >>conftest.$ac_ext <<_ACEOF
98770 /* end confdefs.h.  */
98771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98773 #define $ac_func innocuous_$ac_func
98774
98775 /* System header to define __stub macros and hopefully few prototypes,
98776     which can conflict with char $ac_func (); below.
98777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98778     <limits.h> exists even on freestanding compilers.  */
98779
98780 #ifdef __STDC__
98781 # include <limits.h>
98782 #else
98783 # include <assert.h>
98784 #endif
98785
98786 #undef $ac_func
98787
98788 /* Override any gcc2 internal prototype to avoid an error.  */
98789 #ifdef __cplusplus
98790 extern "C"
98791 {
98792 #endif
98793 /* We use char because int might match the return type of a gcc2
98794    builtin and then its argument prototype would still apply.  */
98795 char $ac_func ();
98796 /* The GNU C library defines this for functions which it implements
98797     to always fail with ENOSYS.  Some functions are actually named
98798     something starting with __ and the normal name is an alias.  */
98799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98800 choke me
98801 #else
98802 char (*f) () = $ac_func;
98803 #endif
98804 #ifdef __cplusplus
98805 }
98806 #endif
98807
98808 int
98809 main ()
98810 {
98811 return f != $ac_func;
98812   ;
98813   return 0;
98814 }
98815 _ACEOF
98816 rm -f conftest.$ac_objext conftest$ac_exeext
98817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98818   (eval $ac_link) 2>conftest.er1
98819   ac_status=$?
98820   grep -v '^ *+' conftest.er1 >conftest.err
98821   rm -f conftest.er1
98822   cat conftest.err >&5
98823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98824   (exit $ac_status); } &&
98825          { ac_try='test -z "$ac_c_werror_flag"
98826                          || test ! -s conftest.err'
98827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98828   (eval $ac_try) 2>&5
98829   ac_status=$?
98830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98831   (exit $ac_status); }; } &&
98832          { ac_try='test -s conftest$ac_exeext'
98833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98834   (eval $ac_try) 2>&5
98835   ac_status=$?
98836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98837   (exit $ac_status); }; }; then
98838   eval "$as_ac_var=yes"
98839 else
98840   echo "$as_me: failed program was:" >&5
98841 sed 's/^/| /' conftest.$ac_ext >&5
98842
98843 eval "$as_ac_var=no"
98844 fi
98845 rm -f conftest.err conftest.$ac_objext \
98846       conftest$ac_exeext conftest.$ac_ext
98847 fi
98848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98850 if test `eval echo '${'$as_ac_var'}'` = yes; then
98851   cat >>confdefs.h <<_ACEOF
98852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98853 _ACEOF
98854
98855 fi
98856 done
98857
98858     fi
98859   fi
98860
98861
98862
98863
98864
98865
98866   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
98867 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
98868   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
98869     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
98870   echo $ECHO_N "(cached) $ECHO_C" >&6
98871 else
98872
98873
98874
98875       ac_ext=cc
98876 ac_cpp='$CXXCPP $CPPFLAGS'
98877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98880
98881       cat >conftest.$ac_ext <<_ACEOF
98882 /* confdefs.h.  */
98883 _ACEOF
98884 cat confdefs.h >>conftest.$ac_ext
98885 cat >>conftest.$ac_ext <<_ACEOF
98886 /* end confdefs.h.  */
98887 #include <math.h>
98888 int
98889 main ()
98890 {
98891  atan2l(0, 0);
98892   ;
98893   return 0;
98894 }
98895 _ACEOF
98896 rm -f conftest.$ac_objext
98897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98898   (eval $ac_compile) 2>conftest.er1
98899   ac_status=$?
98900   grep -v '^ *+' conftest.er1 >conftest.err
98901   rm -f conftest.er1
98902   cat conftest.err >&5
98903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98904   (exit $ac_status); } &&
98905          { ac_try='test -z "$ac_cxx_werror_flag"
98906                          || test ! -s conftest.err'
98907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98908   (eval $ac_try) 2>&5
98909   ac_status=$?
98910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98911   (exit $ac_status); }; } &&
98912          { ac_try='test -s conftest.$ac_objext'
98913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98914   (eval $ac_try) 2>&5
98915   ac_status=$?
98916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98917   (exit $ac_status); }; }; then
98918   glibcxx_cv_func_atan2l_use=yes
98919 else
98920   echo "$as_me: failed program was:" >&5
98921 sed 's/^/| /' conftest.$ac_ext >&5
98922
98923 glibcxx_cv_func_atan2l_use=no
98924 fi
98925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98926       ac_ext=c
98927 ac_cpp='$CPP $CPPFLAGS'
98928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98931
98932
98933 fi
98934
98935   fi
98936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
98937 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
98938
98939   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
98940
98941 for ac_func in atan2l
98942 do
98943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98944 echo "$as_me:$LINENO: checking for $ac_func" >&5
98945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98946 if eval "test \"\${$as_ac_var+set}\" = set"; then
98947   echo $ECHO_N "(cached) $ECHO_C" >&6
98948 else
98949   if test x$gcc_no_link = xyes; then
98950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98952    { (exit 1); exit 1; }; }
98953 fi
98954 cat >conftest.$ac_ext <<_ACEOF
98955 /* confdefs.h.  */
98956 _ACEOF
98957 cat confdefs.h >>conftest.$ac_ext
98958 cat >>conftest.$ac_ext <<_ACEOF
98959 /* end confdefs.h.  */
98960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98962 #define $ac_func innocuous_$ac_func
98963
98964 /* System header to define __stub macros and hopefully few prototypes,
98965     which can conflict with char $ac_func (); below.
98966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98967     <limits.h> exists even on freestanding compilers.  */
98968
98969 #ifdef __STDC__
98970 # include <limits.h>
98971 #else
98972 # include <assert.h>
98973 #endif
98974
98975 #undef $ac_func
98976
98977 /* Override any gcc2 internal prototype to avoid an error.  */
98978 #ifdef __cplusplus
98979 extern "C"
98980 {
98981 #endif
98982 /* We use char because int might match the return type of a gcc2
98983    builtin and then its argument prototype would still apply.  */
98984 char $ac_func ();
98985 /* The GNU C library defines this for functions which it implements
98986     to always fail with ENOSYS.  Some functions are actually named
98987     something starting with __ and the normal name is an alias.  */
98988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98989 choke me
98990 #else
98991 char (*f) () = $ac_func;
98992 #endif
98993 #ifdef __cplusplus
98994 }
98995 #endif
98996
98997 int
98998 main ()
98999 {
99000 return f != $ac_func;
99001   ;
99002   return 0;
99003 }
99004 _ACEOF
99005 rm -f conftest.$ac_objext conftest$ac_exeext
99006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99007   (eval $ac_link) 2>conftest.er1
99008   ac_status=$?
99009   grep -v '^ *+' conftest.er1 >conftest.err
99010   rm -f conftest.er1
99011   cat conftest.err >&5
99012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99013   (exit $ac_status); } &&
99014          { ac_try='test -z "$ac_c_werror_flag"
99015                          || test ! -s conftest.err'
99016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99017   (eval $ac_try) 2>&5
99018   ac_status=$?
99019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99020   (exit $ac_status); }; } &&
99021          { ac_try='test -s conftest$ac_exeext'
99022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99023   (eval $ac_try) 2>&5
99024   ac_status=$?
99025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99026   (exit $ac_status); }; }; then
99027   eval "$as_ac_var=yes"
99028 else
99029   echo "$as_me: failed program was:" >&5
99030 sed 's/^/| /' conftest.$ac_ext >&5
99031
99032 eval "$as_ac_var=no"
99033 fi
99034 rm -f conftest.err conftest.$ac_objext \
99035       conftest$ac_exeext conftest.$ac_ext
99036 fi
99037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99039 if test `eval echo '${'$as_ac_var'}'` = yes; then
99040   cat >>confdefs.h <<_ACEOF
99041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99042 _ACEOF
99043
99044 fi
99045 done
99046
99047   else
99048
99049   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99050 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99051   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99052     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99053   echo $ECHO_N "(cached) $ECHO_C" >&6
99054 else
99055
99056
99057
99058       ac_ext=cc
99059 ac_cpp='$CXXCPP $CPPFLAGS'
99060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99063
99064       cat >conftest.$ac_ext <<_ACEOF
99065 /* confdefs.h.  */
99066 _ACEOF
99067 cat confdefs.h >>conftest.$ac_ext
99068 cat >>conftest.$ac_ext <<_ACEOF
99069 /* end confdefs.h.  */
99070 #include <math.h>
99071 int
99072 main ()
99073 {
99074  _atan2l(0, 0);
99075   ;
99076   return 0;
99077 }
99078 _ACEOF
99079 rm -f conftest.$ac_objext
99080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99081   (eval $ac_compile) 2>conftest.er1
99082   ac_status=$?
99083   grep -v '^ *+' conftest.er1 >conftest.err
99084   rm -f conftest.er1
99085   cat conftest.err >&5
99086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99087   (exit $ac_status); } &&
99088          { ac_try='test -z "$ac_cxx_werror_flag"
99089                          || test ! -s conftest.err'
99090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99091   (eval $ac_try) 2>&5
99092   ac_status=$?
99093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99094   (exit $ac_status); }; } &&
99095          { ac_try='test -s conftest.$ac_objext'
99096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99097   (eval $ac_try) 2>&5
99098   ac_status=$?
99099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99100   (exit $ac_status); }; }; then
99101   glibcxx_cv_func__atan2l_use=yes
99102 else
99103   echo "$as_me: failed program was:" >&5
99104 sed 's/^/| /' conftest.$ac_ext >&5
99105
99106 glibcxx_cv_func__atan2l_use=no
99107 fi
99108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99109       ac_ext=c
99110 ac_cpp='$CPP $CPPFLAGS'
99111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99114
99115
99116 fi
99117
99118   fi
99119   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99120 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99121
99122     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99123
99124 for ac_func in _atan2l
99125 do
99126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99127 echo "$as_me:$LINENO: checking for $ac_func" >&5
99128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99129 if eval "test \"\${$as_ac_var+set}\" = set"; then
99130   echo $ECHO_N "(cached) $ECHO_C" >&6
99131 else
99132   if test x$gcc_no_link = xyes; then
99133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99135    { (exit 1); exit 1; }; }
99136 fi
99137 cat >conftest.$ac_ext <<_ACEOF
99138 /* confdefs.h.  */
99139 _ACEOF
99140 cat confdefs.h >>conftest.$ac_ext
99141 cat >>conftest.$ac_ext <<_ACEOF
99142 /* end confdefs.h.  */
99143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99145 #define $ac_func innocuous_$ac_func
99146
99147 /* System header to define __stub macros and hopefully few prototypes,
99148     which can conflict with char $ac_func (); below.
99149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99150     <limits.h> exists even on freestanding compilers.  */
99151
99152 #ifdef __STDC__
99153 # include <limits.h>
99154 #else
99155 # include <assert.h>
99156 #endif
99157
99158 #undef $ac_func
99159
99160 /* Override any gcc2 internal prototype to avoid an error.  */
99161 #ifdef __cplusplus
99162 extern "C"
99163 {
99164 #endif
99165 /* We use char because int might match the return type of a gcc2
99166    builtin and then its argument prototype would still apply.  */
99167 char $ac_func ();
99168 /* The GNU C library defines this for functions which it implements
99169     to always fail with ENOSYS.  Some functions are actually named
99170     something starting with __ and the normal name is an alias.  */
99171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99172 choke me
99173 #else
99174 char (*f) () = $ac_func;
99175 #endif
99176 #ifdef __cplusplus
99177 }
99178 #endif
99179
99180 int
99181 main ()
99182 {
99183 return f != $ac_func;
99184   ;
99185   return 0;
99186 }
99187 _ACEOF
99188 rm -f conftest.$ac_objext conftest$ac_exeext
99189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99190   (eval $ac_link) 2>conftest.er1
99191   ac_status=$?
99192   grep -v '^ *+' conftest.er1 >conftest.err
99193   rm -f conftest.er1
99194   cat conftest.err >&5
99195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99196   (exit $ac_status); } &&
99197          { ac_try='test -z "$ac_c_werror_flag"
99198                          || test ! -s conftest.err'
99199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99200   (eval $ac_try) 2>&5
99201   ac_status=$?
99202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99203   (exit $ac_status); }; } &&
99204          { ac_try='test -s conftest$ac_exeext'
99205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99206   (eval $ac_try) 2>&5
99207   ac_status=$?
99208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99209   (exit $ac_status); }; }; then
99210   eval "$as_ac_var=yes"
99211 else
99212   echo "$as_me: failed program was:" >&5
99213 sed 's/^/| /' conftest.$ac_ext >&5
99214
99215 eval "$as_ac_var=no"
99216 fi
99217 rm -f conftest.err conftest.$ac_objext \
99218       conftest$ac_exeext conftest.$ac_ext
99219 fi
99220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99222 if test `eval echo '${'$as_ac_var'}'` = yes; then
99223   cat >>confdefs.h <<_ACEOF
99224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99225 _ACEOF
99226
99227 fi
99228 done
99229
99230     fi
99231   fi
99232
99233
99234
99235
99236
99237
99238   echo "$as_me:$LINENO: checking for expl declaration" >&5
99239 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
99240   if test x${glibcxx_cv_func_expl_use+set} != xset; then
99241     if test "${glibcxx_cv_func_expl_use+set}" = set; then
99242   echo $ECHO_N "(cached) $ECHO_C" >&6
99243 else
99244
99245
99246
99247       ac_ext=cc
99248 ac_cpp='$CXXCPP $CPPFLAGS'
99249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99252
99253       cat >conftest.$ac_ext <<_ACEOF
99254 /* confdefs.h.  */
99255 _ACEOF
99256 cat confdefs.h >>conftest.$ac_ext
99257 cat >>conftest.$ac_ext <<_ACEOF
99258 /* end confdefs.h.  */
99259 #include <math.h>
99260                       #ifdef HAVE_IEEEFP_H
99261                       #include <ieeefp.h>
99262                       #endif
99263
99264 int
99265 main ()
99266 {
99267  expl(0);
99268   ;
99269   return 0;
99270 }
99271 _ACEOF
99272 rm -f conftest.$ac_objext
99273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99274   (eval $ac_compile) 2>conftest.er1
99275   ac_status=$?
99276   grep -v '^ *+' conftest.er1 >conftest.err
99277   rm -f conftest.er1
99278   cat conftest.err >&5
99279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99280   (exit $ac_status); } &&
99281          { ac_try='test -z "$ac_cxx_werror_flag"
99282                          || test ! -s conftest.err'
99283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99284   (eval $ac_try) 2>&5
99285   ac_status=$?
99286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99287   (exit $ac_status); }; } &&
99288          { ac_try='test -s conftest.$ac_objext'
99289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99290   (eval $ac_try) 2>&5
99291   ac_status=$?
99292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99293   (exit $ac_status); }; }; then
99294   glibcxx_cv_func_expl_use=yes
99295 else
99296   echo "$as_me: failed program was:" >&5
99297 sed 's/^/| /' conftest.$ac_ext >&5
99298
99299 glibcxx_cv_func_expl_use=no
99300 fi
99301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99302       ac_ext=c
99303 ac_cpp='$CPP $CPPFLAGS'
99304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99307
99308
99309 fi
99310
99311   fi
99312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
99313 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
99314
99315   if test x$glibcxx_cv_func_expl_use = x"yes"; then
99316
99317 for ac_func in expl
99318 do
99319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99320 echo "$as_me:$LINENO: checking for $ac_func" >&5
99321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99322 if eval "test \"\${$as_ac_var+set}\" = set"; then
99323   echo $ECHO_N "(cached) $ECHO_C" >&6
99324 else
99325   if test x$gcc_no_link = xyes; then
99326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99328    { (exit 1); exit 1; }; }
99329 fi
99330 cat >conftest.$ac_ext <<_ACEOF
99331 /* confdefs.h.  */
99332 _ACEOF
99333 cat confdefs.h >>conftest.$ac_ext
99334 cat >>conftest.$ac_ext <<_ACEOF
99335 /* end confdefs.h.  */
99336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99338 #define $ac_func innocuous_$ac_func
99339
99340 /* System header to define __stub macros and hopefully few prototypes,
99341     which can conflict with char $ac_func (); below.
99342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99343     <limits.h> exists even on freestanding compilers.  */
99344
99345 #ifdef __STDC__
99346 # include <limits.h>
99347 #else
99348 # include <assert.h>
99349 #endif
99350
99351 #undef $ac_func
99352
99353 /* Override any gcc2 internal prototype to avoid an error.  */
99354 #ifdef __cplusplus
99355 extern "C"
99356 {
99357 #endif
99358 /* We use char because int might match the return type of a gcc2
99359    builtin and then its argument prototype would still apply.  */
99360 char $ac_func ();
99361 /* The GNU C library defines this for functions which it implements
99362     to always fail with ENOSYS.  Some functions are actually named
99363     something starting with __ and the normal name is an alias.  */
99364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99365 choke me
99366 #else
99367 char (*f) () = $ac_func;
99368 #endif
99369 #ifdef __cplusplus
99370 }
99371 #endif
99372
99373 int
99374 main ()
99375 {
99376 return f != $ac_func;
99377   ;
99378   return 0;
99379 }
99380 _ACEOF
99381 rm -f conftest.$ac_objext conftest$ac_exeext
99382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99383   (eval $ac_link) 2>conftest.er1
99384   ac_status=$?
99385   grep -v '^ *+' conftest.er1 >conftest.err
99386   rm -f conftest.er1
99387   cat conftest.err >&5
99388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99389   (exit $ac_status); } &&
99390          { ac_try='test -z "$ac_c_werror_flag"
99391                          || test ! -s conftest.err'
99392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99393   (eval $ac_try) 2>&5
99394   ac_status=$?
99395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99396   (exit $ac_status); }; } &&
99397          { ac_try='test -s conftest$ac_exeext'
99398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99399   (eval $ac_try) 2>&5
99400   ac_status=$?
99401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99402   (exit $ac_status); }; }; then
99403   eval "$as_ac_var=yes"
99404 else
99405   echo "$as_me: failed program was:" >&5
99406 sed 's/^/| /' conftest.$ac_ext >&5
99407
99408 eval "$as_ac_var=no"
99409 fi
99410 rm -f conftest.err conftest.$ac_objext \
99411       conftest$ac_exeext conftest.$ac_ext
99412 fi
99413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99415 if test `eval echo '${'$as_ac_var'}'` = yes; then
99416   cat >>confdefs.h <<_ACEOF
99417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99418 _ACEOF
99419
99420 fi
99421 done
99422
99423   else
99424
99425   echo "$as_me:$LINENO: checking for _expl declaration" >&5
99426 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
99427   if test x${glibcxx_cv_func__expl_use+set} != xset; then
99428     if test "${glibcxx_cv_func__expl_use+set}" = set; then
99429   echo $ECHO_N "(cached) $ECHO_C" >&6
99430 else
99431
99432
99433
99434       ac_ext=cc
99435 ac_cpp='$CXXCPP $CPPFLAGS'
99436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99439
99440       cat >conftest.$ac_ext <<_ACEOF
99441 /* confdefs.h.  */
99442 _ACEOF
99443 cat confdefs.h >>conftest.$ac_ext
99444 cat >>conftest.$ac_ext <<_ACEOF
99445 /* end confdefs.h.  */
99446 #include <math.h>
99447                       #ifdef HAVE_IEEEFP_H
99448                       #include <ieeefp.h>
99449                       #endif
99450
99451 int
99452 main ()
99453 {
99454  _expl(0);
99455   ;
99456   return 0;
99457 }
99458 _ACEOF
99459 rm -f conftest.$ac_objext
99460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99461   (eval $ac_compile) 2>conftest.er1
99462   ac_status=$?
99463   grep -v '^ *+' conftest.er1 >conftest.err
99464   rm -f conftest.er1
99465   cat conftest.err >&5
99466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99467   (exit $ac_status); } &&
99468          { ac_try='test -z "$ac_cxx_werror_flag"
99469                          || test ! -s conftest.err'
99470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99471   (eval $ac_try) 2>&5
99472   ac_status=$?
99473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99474   (exit $ac_status); }; } &&
99475          { ac_try='test -s conftest.$ac_objext'
99476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99477   (eval $ac_try) 2>&5
99478   ac_status=$?
99479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99480   (exit $ac_status); }; }; then
99481   glibcxx_cv_func__expl_use=yes
99482 else
99483   echo "$as_me: failed program was:" >&5
99484 sed 's/^/| /' conftest.$ac_ext >&5
99485
99486 glibcxx_cv_func__expl_use=no
99487 fi
99488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99489       ac_ext=c
99490 ac_cpp='$CPP $CPPFLAGS'
99491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99494
99495
99496 fi
99497
99498   fi
99499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
99500 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
99501
99502     if test x$glibcxx_cv_func__expl_use = x"yes"; then
99503
99504 for ac_func in _expl
99505 do
99506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99507 echo "$as_me:$LINENO: checking for $ac_func" >&5
99508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99509 if eval "test \"\${$as_ac_var+set}\" = set"; then
99510   echo $ECHO_N "(cached) $ECHO_C" >&6
99511 else
99512   if test x$gcc_no_link = xyes; then
99513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99515    { (exit 1); exit 1; }; }
99516 fi
99517 cat >conftest.$ac_ext <<_ACEOF
99518 /* confdefs.h.  */
99519 _ACEOF
99520 cat confdefs.h >>conftest.$ac_ext
99521 cat >>conftest.$ac_ext <<_ACEOF
99522 /* end confdefs.h.  */
99523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99525 #define $ac_func innocuous_$ac_func
99526
99527 /* System header to define __stub macros and hopefully few prototypes,
99528     which can conflict with char $ac_func (); below.
99529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99530     <limits.h> exists even on freestanding compilers.  */
99531
99532 #ifdef __STDC__
99533 # include <limits.h>
99534 #else
99535 # include <assert.h>
99536 #endif
99537
99538 #undef $ac_func
99539
99540 /* Override any gcc2 internal prototype to avoid an error.  */
99541 #ifdef __cplusplus
99542 extern "C"
99543 {
99544 #endif
99545 /* We use char because int might match the return type of a gcc2
99546    builtin and then its argument prototype would still apply.  */
99547 char $ac_func ();
99548 /* The GNU C library defines this for functions which it implements
99549     to always fail with ENOSYS.  Some functions are actually named
99550     something starting with __ and the normal name is an alias.  */
99551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99552 choke me
99553 #else
99554 char (*f) () = $ac_func;
99555 #endif
99556 #ifdef __cplusplus
99557 }
99558 #endif
99559
99560 int
99561 main ()
99562 {
99563 return f != $ac_func;
99564   ;
99565   return 0;
99566 }
99567 _ACEOF
99568 rm -f conftest.$ac_objext conftest$ac_exeext
99569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99570   (eval $ac_link) 2>conftest.er1
99571   ac_status=$?
99572   grep -v '^ *+' conftest.er1 >conftest.err
99573   rm -f conftest.er1
99574   cat conftest.err >&5
99575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99576   (exit $ac_status); } &&
99577          { ac_try='test -z "$ac_c_werror_flag"
99578                          || test ! -s conftest.err'
99579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99580   (eval $ac_try) 2>&5
99581   ac_status=$?
99582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99583   (exit $ac_status); }; } &&
99584          { ac_try='test -s conftest$ac_exeext'
99585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99586   (eval $ac_try) 2>&5
99587   ac_status=$?
99588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99589   (exit $ac_status); }; }; then
99590   eval "$as_ac_var=yes"
99591 else
99592   echo "$as_me: failed program was:" >&5
99593 sed 's/^/| /' conftest.$ac_ext >&5
99594
99595 eval "$as_ac_var=no"
99596 fi
99597 rm -f conftest.err conftest.$ac_objext \
99598       conftest$ac_exeext conftest.$ac_ext
99599 fi
99600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99602 if test `eval echo '${'$as_ac_var'}'` = yes; then
99603   cat >>confdefs.h <<_ACEOF
99604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99605 _ACEOF
99606
99607 fi
99608 done
99609
99610     fi
99611   fi
99612
99613
99614
99615
99616
99617
99618   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
99619 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
99620   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
99621     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
99622   echo $ECHO_N "(cached) $ECHO_C" >&6
99623 else
99624
99625
99626
99627       ac_ext=cc
99628 ac_cpp='$CXXCPP $CPPFLAGS'
99629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99632
99633       cat >conftest.$ac_ext <<_ACEOF
99634 /* confdefs.h.  */
99635 _ACEOF
99636 cat confdefs.h >>conftest.$ac_ext
99637 cat >>conftest.$ac_ext <<_ACEOF
99638 /* end confdefs.h.  */
99639 #include <math.h>
99640                       #ifdef HAVE_IEEEFP_H
99641                       #include <ieeefp.h>
99642                       #endif
99643
99644 int
99645 main ()
99646 {
99647  fabsl(0);
99648   ;
99649   return 0;
99650 }
99651 _ACEOF
99652 rm -f conftest.$ac_objext
99653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99654   (eval $ac_compile) 2>conftest.er1
99655   ac_status=$?
99656   grep -v '^ *+' conftest.er1 >conftest.err
99657   rm -f conftest.er1
99658   cat conftest.err >&5
99659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99660   (exit $ac_status); } &&
99661          { ac_try='test -z "$ac_cxx_werror_flag"
99662                          || test ! -s conftest.err'
99663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99664   (eval $ac_try) 2>&5
99665   ac_status=$?
99666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99667   (exit $ac_status); }; } &&
99668          { ac_try='test -s conftest.$ac_objext'
99669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99670   (eval $ac_try) 2>&5
99671   ac_status=$?
99672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99673   (exit $ac_status); }; }; then
99674   glibcxx_cv_func_fabsl_use=yes
99675 else
99676   echo "$as_me: failed program was:" >&5
99677 sed 's/^/| /' conftest.$ac_ext >&5
99678
99679 glibcxx_cv_func_fabsl_use=no
99680 fi
99681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99682       ac_ext=c
99683 ac_cpp='$CPP $CPPFLAGS'
99684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99687
99688
99689 fi
99690
99691   fi
99692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
99693 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
99694
99695   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
99696
99697 for ac_func in fabsl
99698 do
99699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99700 echo "$as_me:$LINENO: checking for $ac_func" >&5
99701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99702 if eval "test \"\${$as_ac_var+set}\" = set"; then
99703   echo $ECHO_N "(cached) $ECHO_C" >&6
99704 else
99705   if test x$gcc_no_link = xyes; then
99706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99708    { (exit 1); exit 1; }; }
99709 fi
99710 cat >conftest.$ac_ext <<_ACEOF
99711 /* confdefs.h.  */
99712 _ACEOF
99713 cat confdefs.h >>conftest.$ac_ext
99714 cat >>conftest.$ac_ext <<_ACEOF
99715 /* end confdefs.h.  */
99716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99718 #define $ac_func innocuous_$ac_func
99719
99720 /* System header to define __stub macros and hopefully few prototypes,
99721     which can conflict with char $ac_func (); below.
99722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99723     <limits.h> exists even on freestanding compilers.  */
99724
99725 #ifdef __STDC__
99726 # include <limits.h>
99727 #else
99728 # include <assert.h>
99729 #endif
99730
99731 #undef $ac_func
99732
99733 /* Override any gcc2 internal prototype to avoid an error.  */
99734 #ifdef __cplusplus
99735 extern "C"
99736 {
99737 #endif
99738 /* We use char because int might match the return type of a gcc2
99739    builtin and then its argument prototype would still apply.  */
99740 char $ac_func ();
99741 /* The GNU C library defines this for functions which it implements
99742     to always fail with ENOSYS.  Some functions are actually named
99743     something starting with __ and the normal name is an alias.  */
99744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99745 choke me
99746 #else
99747 char (*f) () = $ac_func;
99748 #endif
99749 #ifdef __cplusplus
99750 }
99751 #endif
99752
99753 int
99754 main ()
99755 {
99756 return f != $ac_func;
99757   ;
99758   return 0;
99759 }
99760 _ACEOF
99761 rm -f conftest.$ac_objext conftest$ac_exeext
99762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99763   (eval $ac_link) 2>conftest.er1
99764   ac_status=$?
99765   grep -v '^ *+' conftest.er1 >conftest.err
99766   rm -f conftest.er1
99767   cat conftest.err >&5
99768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99769   (exit $ac_status); } &&
99770          { ac_try='test -z "$ac_c_werror_flag"
99771                          || test ! -s conftest.err'
99772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99773   (eval $ac_try) 2>&5
99774   ac_status=$?
99775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99776   (exit $ac_status); }; } &&
99777          { ac_try='test -s conftest$ac_exeext'
99778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99779   (eval $ac_try) 2>&5
99780   ac_status=$?
99781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99782   (exit $ac_status); }; }; then
99783   eval "$as_ac_var=yes"
99784 else
99785   echo "$as_me: failed program was:" >&5
99786 sed 's/^/| /' conftest.$ac_ext >&5
99787
99788 eval "$as_ac_var=no"
99789 fi
99790 rm -f conftest.err conftest.$ac_objext \
99791       conftest$ac_exeext conftest.$ac_ext
99792 fi
99793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99795 if test `eval echo '${'$as_ac_var'}'` = yes; then
99796   cat >>confdefs.h <<_ACEOF
99797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99798 _ACEOF
99799
99800 fi
99801 done
99802
99803   else
99804
99805   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
99806 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
99807   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
99808     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
99809   echo $ECHO_N "(cached) $ECHO_C" >&6
99810 else
99811
99812
99813
99814       ac_ext=cc
99815 ac_cpp='$CXXCPP $CPPFLAGS'
99816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99819
99820       cat >conftest.$ac_ext <<_ACEOF
99821 /* confdefs.h.  */
99822 _ACEOF
99823 cat confdefs.h >>conftest.$ac_ext
99824 cat >>conftest.$ac_ext <<_ACEOF
99825 /* end confdefs.h.  */
99826 #include <math.h>
99827                       #ifdef HAVE_IEEEFP_H
99828                       #include <ieeefp.h>
99829                       #endif
99830
99831 int
99832 main ()
99833 {
99834  _fabsl(0);
99835   ;
99836   return 0;
99837 }
99838 _ACEOF
99839 rm -f conftest.$ac_objext
99840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99841   (eval $ac_compile) 2>conftest.er1
99842   ac_status=$?
99843   grep -v '^ *+' conftest.er1 >conftest.err
99844   rm -f conftest.er1
99845   cat conftest.err >&5
99846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99847   (exit $ac_status); } &&
99848          { ac_try='test -z "$ac_cxx_werror_flag"
99849                          || test ! -s conftest.err'
99850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99851   (eval $ac_try) 2>&5
99852   ac_status=$?
99853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99854   (exit $ac_status); }; } &&
99855          { ac_try='test -s conftest.$ac_objext'
99856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99857   (eval $ac_try) 2>&5
99858   ac_status=$?
99859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99860   (exit $ac_status); }; }; then
99861   glibcxx_cv_func__fabsl_use=yes
99862 else
99863   echo "$as_me: failed program was:" >&5
99864 sed 's/^/| /' conftest.$ac_ext >&5
99865
99866 glibcxx_cv_func__fabsl_use=no
99867 fi
99868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99869       ac_ext=c
99870 ac_cpp='$CPP $CPPFLAGS'
99871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99874
99875
99876 fi
99877
99878   fi
99879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
99880 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
99881
99882     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
99883
99884 for ac_func in _fabsl
99885 do
99886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99887 echo "$as_me:$LINENO: checking for $ac_func" >&5
99888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99889 if eval "test \"\${$as_ac_var+set}\" = set"; then
99890   echo $ECHO_N "(cached) $ECHO_C" >&6
99891 else
99892   if test x$gcc_no_link = xyes; then
99893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99895    { (exit 1); exit 1; }; }
99896 fi
99897 cat >conftest.$ac_ext <<_ACEOF
99898 /* confdefs.h.  */
99899 _ACEOF
99900 cat confdefs.h >>conftest.$ac_ext
99901 cat >>conftest.$ac_ext <<_ACEOF
99902 /* end confdefs.h.  */
99903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99905 #define $ac_func innocuous_$ac_func
99906
99907 /* System header to define __stub macros and hopefully few prototypes,
99908     which can conflict with char $ac_func (); below.
99909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99910     <limits.h> exists even on freestanding compilers.  */
99911
99912 #ifdef __STDC__
99913 # include <limits.h>
99914 #else
99915 # include <assert.h>
99916 #endif
99917
99918 #undef $ac_func
99919
99920 /* Override any gcc2 internal prototype to avoid an error.  */
99921 #ifdef __cplusplus
99922 extern "C"
99923 {
99924 #endif
99925 /* We use char because int might match the return type of a gcc2
99926    builtin and then its argument prototype would still apply.  */
99927 char $ac_func ();
99928 /* The GNU C library defines this for functions which it implements
99929     to always fail with ENOSYS.  Some functions are actually named
99930     something starting with __ and the normal name is an alias.  */
99931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99932 choke me
99933 #else
99934 char (*f) () = $ac_func;
99935 #endif
99936 #ifdef __cplusplus
99937 }
99938 #endif
99939
99940 int
99941 main ()
99942 {
99943 return f != $ac_func;
99944   ;
99945   return 0;
99946 }
99947 _ACEOF
99948 rm -f conftest.$ac_objext conftest$ac_exeext
99949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99950   (eval $ac_link) 2>conftest.er1
99951   ac_status=$?
99952   grep -v '^ *+' conftest.er1 >conftest.err
99953   rm -f conftest.er1
99954   cat conftest.err >&5
99955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99956   (exit $ac_status); } &&
99957          { ac_try='test -z "$ac_c_werror_flag"
99958                          || test ! -s conftest.err'
99959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99960   (eval $ac_try) 2>&5
99961   ac_status=$?
99962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99963   (exit $ac_status); }; } &&
99964          { ac_try='test -s conftest$ac_exeext'
99965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99966   (eval $ac_try) 2>&5
99967   ac_status=$?
99968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99969   (exit $ac_status); }; }; then
99970   eval "$as_ac_var=yes"
99971 else
99972   echo "$as_me: failed program was:" >&5
99973 sed 's/^/| /' conftest.$ac_ext >&5
99974
99975 eval "$as_ac_var=no"
99976 fi
99977 rm -f conftest.err conftest.$ac_objext \
99978       conftest$ac_exeext conftest.$ac_ext
99979 fi
99980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99982 if test `eval echo '${'$as_ac_var'}'` = yes; then
99983   cat >>confdefs.h <<_ACEOF
99984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99985 _ACEOF
99986
99987 fi
99988 done
99989
99990     fi
99991   fi
99992
99993
99994
99995
99996
99997
99998   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
99999 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100000   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100001     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100002   echo $ECHO_N "(cached) $ECHO_C" >&6
100003 else
100004
100005
100006
100007       ac_ext=cc
100008 ac_cpp='$CXXCPP $CPPFLAGS'
100009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100012
100013       cat >conftest.$ac_ext <<_ACEOF
100014 /* confdefs.h.  */
100015 _ACEOF
100016 cat confdefs.h >>conftest.$ac_ext
100017 cat >>conftest.$ac_ext <<_ACEOF
100018 /* end confdefs.h.  */
100019 #include <math.h>
100020 int
100021 main ()
100022 {
100023  fmodl(0, 0);
100024   ;
100025   return 0;
100026 }
100027 _ACEOF
100028 rm -f conftest.$ac_objext
100029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100030   (eval $ac_compile) 2>conftest.er1
100031   ac_status=$?
100032   grep -v '^ *+' conftest.er1 >conftest.err
100033   rm -f conftest.er1
100034   cat conftest.err >&5
100035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100036   (exit $ac_status); } &&
100037          { ac_try='test -z "$ac_cxx_werror_flag"
100038                          || test ! -s conftest.err'
100039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100040   (eval $ac_try) 2>&5
100041   ac_status=$?
100042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100043   (exit $ac_status); }; } &&
100044          { ac_try='test -s conftest.$ac_objext'
100045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100046   (eval $ac_try) 2>&5
100047   ac_status=$?
100048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100049   (exit $ac_status); }; }; then
100050   glibcxx_cv_func_fmodl_use=yes
100051 else
100052   echo "$as_me: failed program was:" >&5
100053 sed 's/^/| /' conftest.$ac_ext >&5
100054
100055 glibcxx_cv_func_fmodl_use=no
100056 fi
100057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100058       ac_ext=c
100059 ac_cpp='$CPP $CPPFLAGS'
100060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100063
100064
100065 fi
100066
100067   fi
100068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100069 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100070
100071   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100072
100073 for ac_func in fmodl
100074 do
100075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100076 echo "$as_me:$LINENO: checking for $ac_func" >&5
100077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100078 if eval "test \"\${$as_ac_var+set}\" = set"; then
100079   echo $ECHO_N "(cached) $ECHO_C" >&6
100080 else
100081   if test x$gcc_no_link = xyes; then
100082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100084    { (exit 1); exit 1; }; }
100085 fi
100086 cat >conftest.$ac_ext <<_ACEOF
100087 /* confdefs.h.  */
100088 _ACEOF
100089 cat confdefs.h >>conftest.$ac_ext
100090 cat >>conftest.$ac_ext <<_ACEOF
100091 /* end confdefs.h.  */
100092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100094 #define $ac_func innocuous_$ac_func
100095
100096 /* System header to define __stub macros and hopefully few prototypes,
100097     which can conflict with char $ac_func (); below.
100098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100099     <limits.h> exists even on freestanding compilers.  */
100100
100101 #ifdef __STDC__
100102 # include <limits.h>
100103 #else
100104 # include <assert.h>
100105 #endif
100106
100107 #undef $ac_func
100108
100109 /* Override any gcc2 internal prototype to avoid an error.  */
100110 #ifdef __cplusplus
100111 extern "C"
100112 {
100113 #endif
100114 /* We use char because int might match the return type of a gcc2
100115    builtin and then its argument prototype would still apply.  */
100116 char $ac_func ();
100117 /* The GNU C library defines this for functions which it implements
100118     to always fail with ENOSYS.  Some functions are actually named
100119     something starting with __ and the normal name is an alias.  */
100120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100121 choke me
100122 #else
100123 char (*f) () = $ac_func;
100124 #endif
100125 #ifdef __cplusplus
100126 }
100127 #endif
100128
100129 int
100130 main ()
100131 {
100132 return f != $ac_func;
100133   ;
100134   return 0;
100135 }
100136 _ACEOF
100137 rm -f conftest.$ac_objext conftest$ac_exeext
100138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100139   (eval $ac_link) 2>conftest.er1
100140   ac_status=$?
100141   grep -v '^ *+' conftest.er1 >conftest.err
100142   rm -f conftest.er1
100143   cat conftest.err >&5
100144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100145   (exit $ac_status); } &&
100146          { ac_try='test -z "$ac_c_werror_flag"
100147                          || test ! -s conftest.err'
100148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100149   (eval $ac_try) 2>&5
100150   ac_status=$?
100151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100152   (exit $ac_status); }; } &&
100153          { ac_try='test -s conftest$ac_exeext'
100154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100155   (eval $ac_try) 2>&5
100156   ac_status=$?
100157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100158   (exit $ac_status); }; }; then
100159   eval "$as_ac_var=yes"
100160 else
100161   echo "$as_me: failed program was:" >&5
100162 sed 's/^/| /' conftest.$ac_ext >&5
100163
100164 eval "$as_ac_var=no"
100165 fi
100166 rm -f conftest.err conftest.$ac_objext \
100167       conftest$ac_exeext conftest.$ac_ext
100168 fi
100169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100171 if test `eval echo '${'$as_ac_var'}'` = yes; then
100172   cat >>confdefs.h <<_ACEOF
100173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100174 _ACEOF
100175
100176 fi
100177 done
100178
100179   else
100180
100181   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100182 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100183   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100184     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100185   echo $ECHO_N "(cached) $ECHO_C" >&6
100186 else
100187
100188
100189
100190       ac_ext=cc
100191 ac_cpp='$CXXCPP $CPPFLAGS'
100192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100195
100196       cat >conftest.$ac_ext <<_ACEOF
100197 /* confdefs.h.  */
100198 _ACEOF
100199 cat confdefs.h >>conftest.$ac_ext
100200 cat >>conftest.$ac_ext <<_ACEOF
100201 /* end confdefs.h.  */
100202 #include <math.h>
100203 int
100204 main ()
100205 {
100206  _fmodl(0, 0);
100207   ;
100208   return 0;
100209 }
100210 _ACEOF
100211 rm -f conftest.$ac_objext
100212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100213   (eval $ac_compile) 2>conftest.er1
100214   ac_status=$?
100215   grep -v '^ *+' conftest.er1 >conftest.err
100216   rm -f conftest.er1
100217   cat conftest.err >&5
100218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100219   (exit $ac_status); } &&
100220          { ac_try='test -z "$ac_cxx_werror_flag"
100221                          || test ! -s conftest.err'
100222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100223   (eval $ac_try) 2>&5
100224   ac_status=$?
100225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100226   (exit $ac_status); }; } &&
100227          { ac_try='test -s conftest.$ac_objext'
100228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100229   (eval $ac_try) 2>&5
100230   ac_status=$?
100231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100232   (exit $ac_status); }; }; then
100233   glibcxx_cv_func__fmodl_use=yes
100234 else
100235   echo "$as_me: failed program was:" >&5
100236 sed 's/^/| /' conftest.$ac_ext >&5
100237
100238 glibcxx_cv_func__fmodl_use=no
100239 fi
100240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100241       ac_ext=c
100242 ac_cpp='$CPP $CPPFLAGS'
100243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100246
100247
100248 fi
100249
100250   fi
100251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
100252 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
100253
100254     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
100255
100256 for ac_func in _fmodl
100257 do
100258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100259 echo "$as_me:$LINENO: checking for $ac_func" >&5
100260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100261 if eval "test \"\${$as_ac_var+set}\" = set"; then
100262   echo $ECHO_N "(cached) $ECHO_C" >&6
100263 else
100264   if test x$gcc_no_link = xyes; then
100265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100267    { (exit 1); exit 1; }; }
100268 fi
100269 cat >conftest.$ac_ext <<_ACEOF
100270 /* confdefs.h.  */
100271 _ACEOF
100272 cat confdefs.h >>conftest.$ac_ext
100273 cat >>conftest.$ac_ext <<_ACEOF
100274 /* end confdefs.h.  */
100275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100277 #define $ac_func innocuous_$ac_func
100278
100279 /* System header to define __stub macros and hopefully few prototypes,
100280     which can conflict with char $ac_func (); below.
100281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100282     <limits.h> exists even on freestanding compilers.  */
100283
100284 #ifdef __STDC__
100285 # include <limits.h>
100286 #else
100287 # include <assert.h>
100288 #endif
100289
100290 #undef $ac_func
100291
100292 /* Override any gcc2 internal prototype to avoid an error.  */
100293 #ifdef __cplusplus
100294 extern "C"
100295 {
100296 #endif
100297 /* We use char because int might match the return type of a gcc2
100298    builtin and then its argument prototype would still apply.  */
100299 char $ac_func ();
100300 /* The GNU C library defines this for functions which it implements
100301     to always fail with ENOSYS.  Some functions are actually named
100302     something starting with __ and the normal name is an alias.  */
100303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100304 choke me
100305 #else
100306 char (*f) () = $ac_func;
100307 #endif
100308 #ifdef __cplusplus
100309 }
100310 #endif
100311
100312 int
100313 main ()
100314 {
100315 return f != $ac_func;
100316   ;
100317   return 0;
100318 }
100319 _ACEOF
100320 rm -f conftest.$ac_objext conftest$ac_exeext
100321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100322   (eval $ac_link) 2>conftest.er1
100323   ac_status=$?
100324   grep -v '^ *+' conftest.er1 >conftest.err
100325   rm -f conftest.er1
100326   cat conftest.err >&5
100327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100328   (exit $ac_status); } &&
100329          { ac_try='test -z "$ac_c_werror_flag"
100330                          || test ! -s conftest.err'
100331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100332   (eval $ac_try) 2>&5
100333   ac_status=$?
100334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100335   (exit $ac_status); }; } &&
100336          { ac_try='test -s conftest$ac_exeext'
100337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100338   (eval $ac_try) 2>&5
100339   ac_status=$?
100340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100341   (exit $ac_status); }; }; then
100342   eval "$as_ac_var=yes"
100343 else
100344   echo "$as_me: failed program was:" >&5
100345 sed 's/^/| /' conftest.$ac_ext >&5
100346
100347 eval "$as_ac_var=no"
100348 fi
100349 rm -f conftest.err conftest.$ac_objext \
100350       conftest$ac_exeext conftest.$ac_ext
100351 fi
100352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100354 if test `eval echo '${'$as_ac_var'}'` = yes; then
100355   cat >>confdefs.h <<_ACEOF
100356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100357 _ACEOF
100358
100359 fi
100360 done
100361
100362     fi
100363   fi
100364
100365
100366
100367
100368
100369
100370   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
100371 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
100372   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
100373     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
100374   echo $ECHO_N "(cached) $ECHO_C" >&6
100375 else
100376
100377
100378
100379       ac_ext=cc
100380 ac_cpp='$CXXCPP $CPPFLAGS'
100381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100384
100385       cat >conftest.$ac_ext <<_ACEOF
100386 /* confdefs.h.  */
100387 _ACEOF
100388 cat confdefs.h >>conftest.$ac_ext
100389 cat >>conftest.$ac_ext <<_ACEOF
100390 /* end confdefs.h.  */
100391 #include <math.h>
100392 int
100393 main ()
100394 {
100395  frexpl(0, 0);
100396   ;
100397   return 0;
100398 }
100399 _ACEOF
100400 rm -f conftest.$ac_objext
100401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100402   (eval $ac_compile) 2>conftest.er1
100403   ac_status=$?
100404   grep -v '^ *+' conftest.er1 >conftest.err
100405   rm -f conftest.er1
100406   cat conftest.err >&5
100407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100408   (exit $ac_status); } &&
100409          { ac_try='test -z "$ac_cxx_werror_flag"
100410                          || test ! -s conftest.err'
100411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100412   (eval $ac_try) 2>&5
100413   ac_status=$?
100414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100415   (exit $ac_status); }; } &&
100416          { ac_try='test -s conftest.$ac_objext'
100417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100418   (eval $ac_try) 2>&5
100419   ac_status=$?
100420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100421   (exit $ac_status); }; }; then
100422   glibcxx_cv_func_frexpl_use=yes
100423 else
100424   echo "$as_me: failed program was:" >&5
100425 sed 's/^/| /' conftest.$ac_ext >&5
100426
100427 glibcxx_cv_func_frexpl_use=no
100428 fi
100429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100430       ac_ext=c
100431 ac_cpp='$CPP $CPPFLAGS'
100432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100435
100436
100437 fi
100438
100439   fi
100440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
100441 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
100442
100443   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
100444
100445 for ac_func in frexpl
100446 do
100447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100448 echo "$as_me:$LINENO: checking for $ac_func" >&5
100449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100450 if eval "test \"\${$as_ac_var+set}\" = set"; then
100451   echo $ECHO_N "(cached) $ECHO_C" >&6
100452 else
100453   if test x$gcc_no_link = xyes; then
100454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100456    { (exit 1); exit 1; }; }
100457 fi
100458 cat >conftest.$ac_ext <<_ACEOF
100459 /* confdefs.h.  */
100460 _ACEOF
100461 cat confdefs.h >>conftest.$ac_ext
100462 cat >>conftest.$ac_ext <<_ACEOF
100463 /* end confdefs.h.  */
100464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100466 #define $ac_func innocuous_$ac_func
100467
100468 /* System header to define __stub macros and hopefully few prototypes,
100469     which can conflict with char $ac_func (); below.
100470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100471     <limits.h> exists even on freestanding compilers.  */
100472
100473 #ifdef __STDC__
100474 # include <limits.h>
100475 #else
100476 # include <assert.h>
100477 #endif
100478
100479 #undef $ac_func
100480
100481 /* Override any gcc2 internal prototype to avoid an error.  */
100482 #ifdef __cplusplus
100483 extern "C"
100484 {
100485 #endif
100486 /* We use char because int might match the return type of a gcc2
100487    builtin and then its argument prototype would still apply.  */
100488 char $ac_func ();
100489 /* The GNU C library defines this for functions which it implements
100490     to always fail with ENOSYS.  Some functions are actually named
100491     something starting with __ and the normal name is an alias.  */
100492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100493 choke me
100494 #else
100495 char (*f) () = $ac_func;
100496 #endif
100497 #ifdef __cplusplus
100498 }
100499 #endif
100500
100501 int
100502 main ()
100503 {
100504 return f != $ac_func;
100505   ;
100506   return 0;
100507 }
100508 _ACEOF
100509 rm -f conftest.$ac_objext conftest$ac_exeext
100510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100511   (eval $ac_link) 2>conftest.er1
100512   ac_status=$?
100513   grep -v '^ *+' conftest.er1 >conftest.err
100514   rm -f conftest.er1
100515   cat conftest.err >&5
100516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100517   (exit $ac_status); } &&
100518          { ac_try='test -z "$ac_c_werror_flag"
100519                          || test ! -s conftest.err'
100520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100521   (eval $ac_try) 2>&5
100522   ac_status=$?
100523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100524   (exit $ac_status); }; } &&
100525          { ac_try='test -s conftest$ac_exeext'
100526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100527   (eval $ac_try) 2>&5
100528   ac_status=$?
100529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100530   (exit $ac_status); }; }; then
100531   eval "$as_ac_var=yes"
100532 else
100533   echo "$as_me: failed program was:" >&5
100534 sed 's/^/| /' conftest.$ac_ext >&5
100535
100536 eval "$as_ac_var=no"
100537 fi
100538 rm -f conftest.err conftest.$ac_objext \
100539       conftest$ac_exeext conftest.$ac_ext
100540 fi
100541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100543 if test `eval echo '${'$as_ac_var'}'` = yes; then
100544   cat >>confdefs.h <<_ACEOF
100545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100546 _ACEOF
100547
100548 fi
100549 done
100550
100551   else
100552
100553   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
100554 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
100555   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
100556     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
100557   echo $ECHO_N "(cached) $ECHO_C" >&6
100558 else
100559
100560
100561
100562       ac_ext=cc
100563 ac_cpp='$CXXCPP $CPPFLAGS'
100564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100567
100568       cat >conftest.$ac_ext <<_ACEOF
100569 /* confdefs.h.  */
100570 _ACEOF
100571 cat confdefs.h >>conftest.$ac_ext
100572 cat >>conftest.$ac_ext <<_ACEOF
100573 /* end confdefs.h.  */
100574 #include <math.h>
100575 int
100576 main ()
100577 {
100578  _frexpl(0, 0);
100579   ;
100580   return 0;
100581 }
100582 _ACEOF
100583 rm -f conftest.$ac_objext
100584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100585   (eval $ac_compile) 2>conftest.er1
100586   ac_status=$?
100587   grep -v '^ *+' conftest.er1 >conftest.err
100588   rm -f conftest.er1
100589   cat conftest.err >&5
100590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100591   (exit $ac_status); } &&
100592          { ac_try='test -z "$ac_cxx_werror_flag"
100593                          || test ! -s conftest.err'
100594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100595   (eval $ac_try) 2>&5
100596   ac_status=$?
100597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100598   (exit $ac_status); }; } &&
100599          { ac_try='test -s conftest.$ac_objext'
100600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100601   (eval $ac_try) 2>&5
100602   ac_status=$?
100603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100604   (exit $ac_status); }; }; then
100605   glibcxx_cv_func__frexpl_use=yes
100606 else
100607   echo "$as_me: failed program was:" >&5
100608 sed 's/^/| /' conftest.$ac_ext >&5
100609
100610 glibcxx_cv_func__frexpl_use=no
100611 fi
100612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100613       ac_ext=c
100614 ac_cpp='$CPP $CPPFLAGS'
100615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100618
100619
100620 fi
100621
100622   fi
100623   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
100624 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
100625
100626     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
100627
100628 for ac_func in _frexpl
100629 do
100630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100631 echo "$as_me:$LINENO: checking for $ac_func" >&5
100632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100633 if eval "test \"\${$as_ac_var+set}\" = set"; then
100634   echo $ECHO_N "(cached) $ECHO_C" >&6
100635 else
100636   if test x$gcc_no_link = xyes; then
100637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100639    { (exit 1); exit 1; }; }
100640 fi
100641 cat >conftest.$ac_ext <<_ACEOF
100642 /* confdefs.h.  */
100643 _ACEOF
100644 cat confdefs.h >>conftest.$ac_ext
100645 cat >>conftest.$ac_ext <<_ACEOF
100646 /* end confdefs.h.  */
100647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100649 #define $ac_func innocuous_$ac_func
100650
100651 /* System header to define __stub macros and hopefully few prototypes,
100652     which can conflict with char $ac_func (); below.
100653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100654     <limits.h> exists even on freestanding compilers.  */
100655
100656 #ifdef __STDC__
100657 # include <limits.h>
100658 #else
100659 # include <assert.h>
100660 #endif
100661
100662 #undef $ac_func
100663
100664 /* Override any gcc2 internal prototype to avoid an error.  */
100665 #ifdef __cplusplus
100666 extern "C"
100667 {
100668 #endif
100669 /* We use char because int might match the return type of a gcc2
100670    builtin and then its argument prototype would still apply.  */
100671 char $ac_func ();
100672 /* The GNU C library defines this for functions which it implements
100673     to always fail with ENOSYS.  Some functions are actually named
100674     something starting with __ and the normal name is an alias.  */
100675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100676 choke me
100677 #else
100678 char (*f) () = $ac_func;
100679 #endif
100680 #ifdef __cplusplus
100681 }
100682 #endif
100683
100684 int
100685 main ()
100686 {
100687 return f != $ac_func;
100688   ;
100689   return 0;
100690 }
100691 _ACEOF
100692 rm -f conftest.$ac_objext conftest$ac_exeext
100693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100694   (eval $ac_link) 2>conftest.er1
100695   ac_status=$?
100696   grep -v '^ *+' conftest.er1 >conftest.err
100697   rm -f conftest.er1
100698   cat conftest.err >&5
100699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100700   (exit $ac_status); } &&
100701          { ac_try='test -z "$ac_c_werror_flag"
100702                          || test ! -s conftest.err'
100703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100704   (eval $ac_try) 2>&5
100705   ac_status=$?
100706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100707   (exit $ac_status); }; } &&
100708          { ac_try='test -s conftest$ac_exeext'
100709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100710   (eval $ac_try) 2>&5
100711   ac_status=$?
100712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100713   (exit $ac_status); }; }; then
100714   eval "$as_ac_var=yes"
100715 else
100716   echo "$as_me: failed program was:" >&5
100717 sed 's/^/| /' conftest.$ac_ext >&5
100718
100719 eval "$as_ac_var=no"
100720 fi
100721 rm -f conftest.err conftest.$ac_objext \
100722       conftest$ac_exeext conftest.$ac_ext
100723 fi
100724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100726 if test `eval echo '${'$as_ac_var'}'` = yes; then
100727   cat >>confdefs.h <<_ACEOF
100728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100729 _ACEOF
100730
100731 fi
100732 done
100733
100734     fi
100735   fi
100736
100737
100738
100739
100740
100741
100742   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
100743 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
100744   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
100745     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
100746   echo $ECHO_N "(cached) $ECHO_C" >&6
100747 else
100748
100749
100750
100751       ac_ext=cc
100752 ac_cpp='$CXXCPP $CPPFLAGS'
100753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100756
100757       cat >conftest.$ac_ext <<_ACEOF
100758 /* confdefs.h.  */
100759 _ACEOF
100760 cat confdefs.h >>conftest.$ac_ext
100761 cat >>conftest.$ac_ext <<_ACEOF
100762 /* end confdefs.h.  */
100763 #include <math.h>
100764 int
100765 main ()
100766 {
100767  hypotl(0, 0);
100768   ;
100769   return 0;
100770 }
100771 _ACEOF
100772 rm -f conftest.$ac_objext
100773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100774   (eval $ac_compile) 2>conftest.er1
100775   ac_status=$?
100776   grep -v '^ *+' conftest.er1 >conftest.err
100777   rm -f conftest.er1
100778   cat conftest.err >&5
100779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100780   (exit $ac_status); } &&
100781          { ac_try='test -z "$ac_cxx_werror_flag"
100782                          || test ! -s conftest.err'
100783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100784   (eval $ac_try) 2>&5
100785   ac_status=$?
100786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100787   (exit $ac_status); }; } &&
100788          { ac_try='test -s conftest.$ac_objext'
100789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100790   (eval $ac_try) 2>&5
100791   ac_status=$?
100792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100793   (exit $ac_status); }; }; then
100794   glibcxx_cv_func_hypotl_use=yes
100795 else
100796   echo "$as_me: failed program was:" >&5
100797 sed 's/^/| /' conftest.$ac_ext >&5
100798
100799 glibcxx_cv_func_hypotl_use=no
100800 fi
100801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100802       ac_ext=c
100803 ac_cpp='$CPP $CPPFLAGS'
100804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100807
100808
100809 fi
100810
100811   fi
100812   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
100813 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
100814
100815   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
100816
100817 for ac_func in hypotl
100818 do
100819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100820 echo "$as_me:$LINENO: checking for $ac_func" >&5
100821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100822 if eval "test \"\${$as_ac_var+set}\" = set"; then
100823   echo $ECHO_N "(cached) $ECHO_C" >&6
100824 else
100825   if test x$gcc_no_link = xyes; then
100826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100828    { (exit 1); exit 1; }; }
100829 fi
100830 cat >conftest.$ac_ext <<_ACEOF
100831 /* confdefs.h.  */
100832 _ACEOF
100833 cat confdefs.h >>conftest.$ac_ext
100834 cat >>conftest.$ac_ext <<_ACEOF
100835 /* end confdefs.h.  */
100836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100838 #define $ac_func innocuous_$ac_func
100839
100840 /* System header to define __stub macros and hopefully few prototypes,
100841     which can conflict with char $ac_func (); below.
100842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100843     <limits.h> exists even on freestanding compilers.  */
100844
100845 #ifdef __STDC__
100846 # include <limits.h>
100847 #else
100848 # include <assert.h>
100849 #endif
100850
100851 #undef $ac_func
100852
100853 /* Override any gcc2 internal prototype to avoid an error.  */
100854 #ifdef __cplusplus
100855 extern "C"
100856 {
100857 #endif
100858 /* We use char because int might match the return type of a gcc2
100859    builtin and then its argument prototype would still apply.  */
100860 char $ac_func ();
100861 /* The GNU C library defines this for functions which it implements
100862     to always fail with ENOSYS.  Some functions are actually named
100863     something starting with __ and the normal name is an alias.  */
100864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100865 choke me
100866 #else
100867 char (*f) () = $ac_func;
100868 #endif
100869 #ifdef __cplusplus
100870 }
100871 #endif
100872
100873 int
100874 main ()
100875 {
100876 return f != $ac_func;
100877   ;
100878   return 0;
100879 }
100880 _ACEOF
100881 rm -f conftest.$ac_objext conftest$ac_exeext
100882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100883   (eval $ac_link) 2>conftest.er1
100884   ac_status=$?
100885   grep -v '^ *+' conftest.er1 >conftest.err
100886   rm -f conftest.er1
100887   cat conftest.err >&5
100888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100889   (exit $ac_status); } &&
100890          { ac_try='test -z "$ac_c_werror_flag"
100891                          || test ! -s conftest.err'
100892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100893   (eval $ac_try) 2>&5
100894   ac_status=$?
100895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100896   (exit $ac_status); }; } &&
100897          { ac_try='test -s conftest$ac_exeext'
100898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100899   (eval $ac_try) 2>&5
100900   ac_status=$?
100901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100902   (exit $ac_status); }; }; then
100903   eval "$as_ac_var=yes"
100904 else
100905   echo "$as_me: failed program was:" >&5
100906 sed 's/^/| /' conftest.$ac_ext >&5
100907
100908 eval "$as_ac_var=no"
100909 fi
100910 rm -f conftest.err conftest.$ac_objext \
100911       conftest$ac_exeext conftest.$ac_ext
100912 fi
100913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100915 if test `eval echo '${'$as_ac_var'}'` = yes; then
100916   cat >>confdefs.h <<_ACEOF
100917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100918 _ACEOF
100919
100920 fi
100921 done
100922
100923   else
100924
100925   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
100926 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
100927   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
100928     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
100929   echo $ECHO_N "(cached) $ECHO_C" >&6
100930 else
100931
100932
100933
100934       ac_ext=cc
100935 ac_cpp='$CXXCPP $CPPFLAGS'
100936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100939
100940       cat >conftest.$ac_ext <<_ACEOF
100941 /* confdefs.h.  */
100942 _ACEOF
100943 cat confdefs.h >>conftest.$ac_ext
100944 cat >>conftest.$ac_ext <<_ACEOF
100945 /* end confdefs.h.  */
100946 #include <math.h>
100947 int
100948 main ()
100949 {
100950  _hypotl(0, 0);
100951   ;
100952   return 0;
100953 }
100954 _ACEOF
100955 rm -f conftest.$ac_objext
100956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100957   (eval $ac_compile) 2>conftest.er1
100958   ac_status=$?
100959   grep -v '^ *+' conftest.er1 >conftest.err
100960   rm -f conftest.er1
100961   cat conftest.err >&5
100962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100963   (exit $ac_status); } &&
100964          { ac_try='test -z "$ac_cxx_werror_flag"
100965                          || test ! -s conftest.err'
100966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100967   (eval $ac_try) 2>&5
100968   ac_status=$?
100969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100970   (exit $ac_status); }; } &&
100971          { ac_try='test -s conftest.$ac_objext'
100972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100973   (eval $ac_try) 2>&5
100974   ac_status=$?
100975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100976   (exit $ac_status); }; }; then
100977   glibcxx_cv_func__hypotl_use=yes
100978 else
100979   echo "$as_me: failed program was:" >&5
100980 sed 's/^/| /' conftest.$ac_ext >&5
100981
100982 glibcxx_cv_func__hypotl_use=no
100983 fi
100984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100985       ac_ext=c
100986 ac_cpp='$CPP $CPPFLAGS'
100987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100990
100991
100992 fi
100993
100994   fi
100995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
100996 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
100997
100998     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
100999
101000 for ac_func in _hypotl
101001 do
101002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101003 echo "$as_me:$LINENO: checking for $ac_func" >&5
101004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101005 if eval "test \"\${$as_ac_var+set}\" = set"; then
101006   echo $ECHO_N "(cached) $ECHO_C" >&6
101007 else
101008   if test x$gcc_no_link = xyes; then
101009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101011    { (exit 1); exit 1; }; }
101012 fi
101013 cat >conftest.$ac_ext <<_ACEOF
101014 /* confdefs.h.  */
101015 _ACEOF
101016 cat confdefs.h >>conftest.$ac_ext
101017 cat >>conftest.$ac_ext <<_ACEOF
101018 /* end confdefs.h.  */
101019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101021 #define $ac_func innocuous_$ac_func
101022
101023 /* System header to define __stub macros and hopefully few prototypes,
101024     which can conflict with char $ac_func (); below.
101025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101026     <limits.h> exists even on freestanding compilers.  */
101027
101028 #ifdef __STDC__
101029 # include <limits.h>
101030 #else
101031 # include <assert.h>
101032 #endif
101033
101034 #undef $ac_func
101035
101036 /* Override any gcc2 internal prototype to avoid an error.  */
101037 #ifdef __cplusplus
101038 extern "C"
101039 {
101040 #endif
101041 /* We use char because int might match the return type of a gcc2
101042    builtin and then its argument prototype would still apply.  */
101043 char $ac_func ();
101044 /* The GNU C library defines this for functions which it implements
101045     to always fail with ENOSYS.  Some functions are actually named
101046     something starting with __ and the normal name is an alias.  */
101047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101048 choke me
101049 #else
101050 char (*f) () = $ac_func;
101051 #endif
101052 #ifdef __cplusplus
101053 }
101054 #endif
101055
101056 int
101057 main ()
101058 {
101059 return f != $ac_func;
101060   ;
101061   return 0;
101062 }
101063 _ACEOF
101064 rm -f conftest.$ac_objext conftest$ac_exeext
101065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101066   (eval $ac_link) 2>conftest.er1
101067   ac_status=$?
101068   grep -v '^ *+' conftest.er1 >conftest.err
101069   rm -f conftest.er1
101070   cat conftest.err >&5
101071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101072   (exit $ac_status); } &&
101073          { ac_try='test -z "$ac_c_werror_flag"
101074                          || test ! -s conftest.err'
101075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101076   (eval $ac_try) 2>&5
101077   ac_status=$?
101078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101079   (exit $ac_status); }; } &&
101080          { ac_try='test -s conftest$ac_exeext'
101081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101082   (eval $ac_try) 2>&5
101083   ac_status=$?
101084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101085   (exit $ac_status); }; }; then
101086   eval "$as_ac_var=yes"
101087 else
101088   echo "$as_me: failed program was:" >&5
101089 sed 's/^/| /' conftest.$ac_ext >&5
101090
101091 eval "$as_ac_var=no"
101092 fi
101093 rm -f conftest.err conftest.$ac_objext \
101094       conftest$ac_exeext conftest.$ac_ext
101095 fi
101096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101098 if test `eval echo '${'$as_ac_var'}'` = yes; then
101099   cat >>confdefs.h <<_ACEOF
101100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101101 _ACEOF
101102
101103 fi
101104 done
101105
101106     fi
101107   fi
101108
101109
101110
101111
101112
101113
101114   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101115 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101116   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101117     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101118   echo $ECHO_N "(cached) $ECHO_C" >&6
101119 else
101120
101121
101122
101123       ac_ext=cc
101124 ac_cpp='$CXXCPP $CPPFLAGS'
101125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101128
101129       cat >conftest.$ac_ext <<_ACEOF
101130 /* confdefs.h.  */
101131 _ACEOF
101132 cat confdefs.h >>conftest.$ac_ext
101133 cat >>conftest.$ac_ext <<_ACEOF
101134 /* end confdefs.h.  */
101135 #include <math.h>
101136 int
101137 main ()
101138 {
101139  ldexpl(0, 0);
101140   ;
101141   return 0;
101142 }
101143 _ACEOF
101144 rm -f conftest.$ac_objext
101145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101146   (eval $ac_compile) 2>conftest.er1
101147   ac_status=$?
101148   grep -v '^ *+' conftest.er1 >conftest.err
101149   rm -f conftest.er1
101150   cat conftest.err >&5
101151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101152   (exit $ac_status); } &&
101153          { ac_try='test -z "$ac_cxx_werror_flag"
101154                          || test ! -s conftest.err'
101155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101156   (eval $ac_try) 2>&5
101157   ac_status=$?
101158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101159   (exit $ac_status); }; } &&
101160          { ac_try='test -s conftest.$ac_objext'
101161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101162   (eval $ac_try) 2>&5
101163   ac_status=$?
101164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101165   (exit $ac_status); }; }; then
101166   glibcxx_cv_func_ldexpl_use=yes
101167 else
101168   echo "$as_me: failed program was:" >&5
101169 sed 's/^/| /' conftest.$ac_ext >&5
101170
101171 glibcxx_cv_func_ldexpl_use=no
101172 fi
101173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101174       ac_ext=c
101175 ac_cpp='$CPP $CPPFLAGS'
101176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101179
101180
101181 fi
101182
101183   fi
101184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101185 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101186
101187   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101188
101189 for ac_func in ldexpl
101190 do
101191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101192 echo "$as_me:$LINENO: checking for $ac_func" >&5
101193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101194 if eval "test \"\${$as_ac_var+set}\" = set"; then
101195   echo $ECHO_N "(cached) $ECHO_C" >&6
101196 else
101197   if test x$gcc_no_link = xyes; then
101198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101200    { (exit 1); exit 1; }; }
101201 fi
101202 cat >conftest.$ac_ext <<_ACEOF
101203 /* confdefs.h.  */
101204 _ACEOF
101205 cat confdefs.h >>conftest.$ac_ext
101206 cat >>conftest.$ac_ext <<_ACEOF
101207 /* end confdefs.h.  */
101208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101210 #define $ac_func innocuous_$ac_func
101211
101212 /* System header to define __stub macros and hopefully few prototypes,
101213     which can conflict with char $ac_func (); below.
101214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101215     <limits.h> exists even on freestanding compilers.  */
101216
101217 #ifdef __STDC__
101218 # include <limits.h>
101219 #else
101220 # include <assert.h>
101221 #endif
101222
101223 #undef $ac_func
101224
101225 /* Override any gcc2 internal prototype to avoid an error.  */
101226 #ifdef __cplusplus
101227 extern "C"
101228 {
101229 #endif
101230 /* We use char because int might match the return type of a gcc2
101231    builtin and then its argument prototype would still apply.  */
101232 char $ac_func ();
101233 /* The GNU C library defines this for functions which it implements
101234     to always fail with ENOSYS.  Some functions are actually named
101235     something starting with __ and the normal name is an alias.  */
101236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101237 choke me
101238 #else
101239 char (*f) () = $ac_func;
101240 #endif
101241 #ifdef __cplusplus
101242 }
101243 #endif
101244
101245 int
101246 main ()
101247 {
101248 return f != $ac_func;
101249   ;
101250   return 0;
101251 }
101252 _ACEOF
101253 rm -f conftest.$ac_objext conftest$ac_exeext
101254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101255   (eval $ac_link) 2>conftest.er1
101256   ac_status=$?
101257   grep -v '^ *+' conftest.er1 >conftest.err
101258   rm -f conftest.er1
101259   cat conftest.err >&5
101260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101261   (exit $ac_status); } &&
101262          { ac_try='test -z "$ac_c_werror_flag"
101263                          || test ! -s conftest.err'
101264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101265   (eval $ac_try) 2>&5
101266   ac_status=$?
101267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101268   (exit $ac_status); }; } &&
101269          { ac_try='test -s conftest$ac_exeext'
101270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101271   (eval $ac_try) 2>&5
101272   ac_status=$?
101273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101274   (exit $ac_status); }; }; then
101275   eval "$as_ac_var=yes"
101276 else
101277   echo "$as_me: failed program was:" >&5
101278 sed 's/^/| /' conftest.$ac_ext >&5
101279
101280 eval "$as_ac_var=no"
101281 fi
101282 rm -f conftest.err conftest.$ac_objext \
101283       conftest$ac_exeext conftest.$ac_ext
101284 fi
101285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101287 if test `eval echo '${'$as_ac_var'}'` = yes; then
101288   cat >>confdefs.h <<_ACEOF
101289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101290 _ACEOF
101291
101292 fi
101293 done
101294
101295   else
101296
101297   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
101298 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
101299   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
101300     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
101301   echo $ECHO_N "(cached) $ECHO_C" >&6
101302 else
101303
101304
101305
101306       ac_ext=cc
101307 ac_cpp='$CXXCPP $CPPFLAGS'
101308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101311
101312       cat >conftest.$ac_ext <<_ACEOF
101313 /* confdefs.h.  */
101314 _ACEOF
101315 cat confdefs.h >>conftest.$ac_ext
101316 cat >>conftest.$ac_ext <<_ACEOF
101317 /* end confdefs.h.  */
101318 #include <math.h>
101319 int
101320 main ()
101321 {
101322  _ldexpl(0, 0);
101323   ;
101324   return 0;
101325 }
101326 _ACEOF
101327 rm -f conftest.$ac_objext
101328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101329   (eval $ac_compile) 2>conftest.er1
101330   ac_status=$?
101331   grep -v '^ *+' conftest.er1 >conftest.err
101332   rm -f conftest.er1
101333   cat conftest.err >&5
101334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101335   (exit $ac_status); } &&
101336          { ac_try='test -z "$ac_cxx_werror_flag"
101337                          || test ! -s conftest.err'
101338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101339   (eval $ac_try) 2>&5
101340   ac_status=$?
101341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101342   (exit $ac_status); }; } &&
101343          { ac_try='test -s conftest.$ac_objext'
101344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101345   (eval $ac_try) 2>&5
101346   ac_status=$?
101347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101348   (exit $ac_status); }; }; then
101349   glibcxx_cv_func__ldexpl_use=yes
101350 else
101351   echo "$as_me: failed program was:" >&5
101352 sed 's/^/| /' conftest.$ac_ext >&5
101353
101354 glibcxx_cv_func__ldexpl_use=no
101355 fi
101356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101357       ac_ext=c
101358 ac_cpp='$CPP $CPPFLAGS'
101359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101362
101363
101364 fi
101365
101366   fi
101367   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
101368 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
101369
101370     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
101371
101372 for ac_func in _ldexpl
101373 do
101374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101375 echo "$as_me:$LINENO: checking for $ac_func" >&5
101376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101377 if eval "test \"\${$as_ac_var+set}\" = set"; then
101378   echo $ECHO_N "(cached) $ECHO_C" >&6
101379 else
101380   if test x$gcc_no_link = xyes; then
101381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101383    { (exit 1); exit 1; }; }
101384 fi
101385 cat >conftest.$ac_ext <<_ACEOF
101386 /* confdefs.h.  */
101387 _ACEOF
101388 cat confdefs.h >>conftest.$ac_ext
101389 cat >>conftest.$ac_ext <<_ACEOF
101390 /* end confdefs.h.  */
101391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101393 #define $ac_func innocuous_$ac_func
101394
101395 /* System header to define __stub macros and hopefully few prototypes,
101396     which can conflict with char $ac_func (); below.
101397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101398     <limits.h> exists even on freestanding compilers.  */
101399
101400 #ifdef __STDC__
101401 # include <limits.h>
101402 #else
101403 # include <assert.h>
101404 #endif
101405
101406 #undef $ac_func
101407
101408 /* Override any gcc2 internal prototype to avoid an error.  */
101409 #ifdef __cplusplus
101410 extern "C"
101411 {
101412 #endif
101413 /* We use char because int might match the return type of a gcc2
101414    builtin and then its argument prototype would still apply.  */
101415 char $ac_func ();
101416 /* The GNU C library defines this for functions which it implements
101417     to always fail with ENOSYS.  Some functions are actually named
101418     something starting with __ and the normal name is an alias.  */
101419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101420 choke me
101421 #else
101422 char (*f) () = $ac_func;
101423 #endif
101424 #ifdef __cplusplus
101425 }
101426 #endif
101427
101428 int
101429 main ()
101430 {
101431 return f != $ac_func;
101432   ;
101433   return 0;
101434 }
101435 _ACEOF
101436 rm -f conftest.$ac_objext conftest$ac_exeext
101437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101438   (eval $ac_link) 2>conftest.er1
101439   ac_status=$?
101440   grep -v '^ *+' conftest.er1 >conftest.err
101441   rm -f conftest.er1
101442   cat conftest.err >&5
101443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101444   (exit $ac_status); } &&
101445          { ac_try='test -z "$ac_c_werror_flag"
101446                          || test ! -s conftest.err'
101447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101448   (eval $ac_try) 2>&5
101449   ac_status=$?
101450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101451   (exit $ac_status); }; } &&
101452          { ac_try='test -s conftest$ac_exeext'
101453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101454   (eval $ac_try) 2>&5
101455   ac_status=$?
101456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101457   (exit $ac_status); }; }; then
101458   eval "$as_ac_var=yes"
101459 else
101460   echo "$as_me: failed program was:" >&5
101461 sed 's/^/| /' conftest.$ac_ext >&5
101462
101463 eval "$as_ac_var=no"
101464 fi
101465 rm -f conftest.err conftest.$ac_objext \
101466       conftest$ac_exeext conftest.$ac_ext
101467 fi
101468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101470 if test `eval echo '${'$as_ac_var'}'` = yes; then
101471   cat >>confdefs.h <<_ACEOF
101472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101473 _ACEOF
101474
101475 fi
101476 done
101477
101478     fi
101479   fi
101480
101481
101482
101483
101484
101485
101486   echo "$as_me:$LINENO: checking for logl declaration" >&5
101487 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
101488   if test x${glibcxx_cv_func_logl_use+set} != xset; then
101489     if test "${glibcxx_cv_func_logl_use+set}" = set; then
101490   echo $ECHO_N "(cached) $ECHO_C" >&6
101491 else
101492
101493
101494
101495       ac_ext=cc
101496 ac_cpp='$CXXCPP $CPPFLAGS'
101497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101500
101501       cat >conftest.$ac_ext <<_ACEOF
101502 /* confdefs.h.  */
101503 _ACEOF
101504 cat confdefs.h >>conftest.$ac_ext
101505 cat >>conftest.$ac_ext <<_ACEOF
101506 /* end confdefs.h.  */
101507 #include <math.h>
101508                       #ifdef HAVE_IEEEFP_H
101509                       #include <ieeefp.h>
101510                       #endif
101511
101512 int
101513 main ()
101514 {
101515  logl(0);
101516   ;
101517   return 0;
101518 }
101519 _ACEOF
101520 rm -f conftest.$ac_objext
101521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101522   (eval $ac_compile) 2>conftest.er1
101523   ac_status=$?
101524   grep -v '^ *+' conftest.er1 >conftest.err
101525   rm -f conftest.er1
101526   cat conftest.err >&5
101527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101528   (exit $ac_status); } &&
101529          { ac_try='test -z "$ac_cxx_werror_flag"
101530                          || test ! -s conftest.err'
101531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101532   (eval $ac_try) 2>&5
101533   ac_status=$?
101534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101535   (exit $ac_status); }; } &&
101536          { ac_try='test -s conftest.$ac_objext'
101537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101538   (eval $ac_try) 2>&5
101539   ac_status=$?
101540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101541   (exit $ac_status); }; }; then
101542   glibcxx_cv_func_logl_use=yes
101543 else
101544   echo "$as_me: failed program was:" >&5
101545 sed 's/^/| /' conftest.$ac_ext >&5
101546
101547 glibcxx_cv_func_logl_use=no
101548 fi
101549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101550       ac_ext=c
101551 ac_cpp='$CPP $CPPFLAGS'
101552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101555
101556
101557 fi
101558
101559   fi
101560   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
101561 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
101562
101563   if test x$glibcxx_cv_func_logl_use = x"yes"; then
101564
101565 for ac_func in logl
101566 do
101567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101568 echo "$as_me:$LINENO: checking for $ac_func" >&5
101569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101570 if eval "test \"\${$as_ac_var+set}\" = set"; then
101571   echo $ECHO_N "(cached) $ECHO_C" >&6
101572 else
101573   if test x$gcc_no_link = xyes; then
101574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101576    { (exit 1); exit 1; }; }
101577 fi
101578 cat >conftest.$ac_ext <<_ACEOF
101579 /* confdefs.h.  */
101580 _ACEOF
101581 cat confdefs.h >>conftest.$ac_ext
101582 cat >>conftest.$ac_ext <<_ACEOF
101583 /* end confdefs.h.  */
101584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101586 #define $ac_func innocuous_$ac_func
101587
101588 /* System header to define __stub macros and hopefully few prototypes,
101589     which can conflict with char $ac_func (); below.
101590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101591     <limits.h> exists even on freestanding compilers.  */
101592
101593 #ifdef __STDC__
101594 # include <limits.h>
101595 #else
101596 # include <assert.h>
101597 #endif
101598
101599 #undef $ac_func
101600
101601 /* Override any gcc2 internal prototype to avoid an error.  */
101602 #ifdef __cplusplus
101603 extern "C"
101604 {
101605 #endif
101606 /* We use char because int might match the return type of a gcc2
101607    builtin and then its argument prototype would still apply.  */
101608 char $ac_func ();
101609 /* The GNU C library defines this for functions which it implements
101610     to always fail with ENOSYS.  Some functions are actually named
101611     something starting with __ and the normal name is an alias.  */
101612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101613 choke me
101614 #else
101615 char (*f) () = $ac_func;
101616 #endif
101617 #ifdef __cplusplus
101618 }
101619 #endif
101620
101621 int
101622 main ()
101623 {
101624 return f != $ac_func;
101625   ;
101626   return 0;
101627 }
101628 _ACEOF
101629 rm -f conftest.$ac_objext conftest$ac_exeext
101630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101631   (eval $ac_link) 2>conftest.er1
101632   ac_status=$?
101633   grep -v '^ *+' conftest.er1 >conftest.err
101634   rm -f conftest.er1
101635   cat conftest.err >&5
101636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101637   (exit $ac_status); } &&
101638          { ac_try='test -z "$ac_c_werror_flag"
101639                          || test ! -s conftest.err'
101640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101641   (eval $ac_try) 2>&5
101642   ac_status=$?
101643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101644   (exit $ac_status); }; } &&
101645          { ac_try='test -s conftest$ac_exeext'
101646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101647   (eval $ac_try) 2>&5
101648   ac_status=$?
101649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101650   (exit $ac_status); }; }; then
101651   eval "$as_ac_var=yes"
101652 else
101653   echo "$as_me: failed program was:" >&5
101654 sed 's/^/| /' conftest.$ac_ext >&5
101655
101656 eval "$as_ac_var=no"
101657 fi
101658 rm -f conftest.err conftest.$ac_objext \
101659       conftest$ac_exeext conftest.$ac_ext
101660 fi
101661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101663 if test `eval echo '${'$as_ac_var'}'` = yes; then
101664   cat >>confdefs.h <<_ACEOF
101665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101666 _ACEOF
101667
101668 fi
101669 done
101670
101671   else
101672
101673   echo "$as_me:$LINENO: checking for _logl declaration" >&5
101674 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
101675   if test x${glibcxx_cv_func__logl_use+set} != xset; then
101676     if test "${glibcxx_cv_func__logl_use+set}" = set; then
101677   echo $ECHO_N "(cached) $ECHO_C" >&6
101678 else
101679
101680
101681
101682       ac_ext=cc
101683 ac_cpp='$CXXCPP $CPPFLAGS'
101684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101687
101688       cat >conftest.$ac_ext <<_ACEOF
101689 /* confdefs.h.  */
101690 _ACEOF
101691 cat confdefs.h >>conftest.$ac_ext
101692 cat >>conftest.$ac_ext <<_ACEOF
101693 /* end confdefs.h.  */
101694 #include <math.h>
101695                       #ifdef HAVE_IEEEFP_H
101696                       #include <ieeefp.h>
101697                       #endif
101698
101699 int
101700 main ()
101701 {
101702  _logl(0);
101703   ;
101704   return 0;
101705 }
101706 _ACEOF
101707 rm -f conftest.$ac_objext
101708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101709   (eval $ac_compile) 2>conftest.er1
101710   ac_status=$?
101711   grep -v '^ *+' conftest.er1 >conftest.err
101712   rm -f conftest.er1
101713   cat conftest.err >&5
101714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101715   (exit $ac_status); } &&
101716          { ac_try='test -z "$ac_cxx_werror_flag"
101717                          || test ! -s conftest.err'
101718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101719   (eval $ac_try) 2>&5
101720   ac_status=$?
101721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101722   (exit $ac_status); }; } &&
101723          { ac_try='test -s conftest.$ac_objext'
101724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101725   (eval $ac_try) 2>&5
101726   ac_status=$?
101727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101728   (exit $ac_status); }; }; then
101729   glibcxx_cv_func__logl_use=yes
101730 else
101731   echo "$as_me: failed program was:" >&5
101732 sed 's/^/| /' conftest.$ac_ext >&5
101733
101734 glibcxx_cv_func__logl_use=no
101735 fi
101736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101737       ac_ext=c
101738 ac_cpp='$CPP $CPPFLAGS'
101739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101742
101743
101744 fi
101745
101746   fi
101747   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
101748 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
101749
101750     if test x$glibcxx_cv_func__logl_use = x"yes"; then
101751
101752 for ac_func in _logl
101753 do
101754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101755 echo "$as_me:$LINENO: checking for $ac_func" >&5
101756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101757 if eval "test \"\${$as_ac_var+set}\" = set"; then
101758   echo $ECHO_N "(cached) $ECHO_C" >&6
101759 else
101760   if test x$gcc_no_link = xyes; then
101761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101763    { (exit 1); exit 1; }; }
101764 fi
101765 cat >conftest.$ac_ext <<_ACEOF
101766 /* confdefs.h.  */
101767 _ACEOF
101768 cat confdefs.h >>conftest.$ac_ext
101769 cat >>conftest.$ac_ext <<_ACEOF
101770 /* end confdefs.h.  */
101771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101773 #define $ac_func innocuous_$ac_func
101774
101775 /* System header to define __stub macros and hopefully few prototypes,
101776     which can conflict with char $ac_func (); below.
101777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101778     <limits.h> exists even on freestanding compilers.  */
101779
101780 #ifdef __STDC__
101781 # include <limits.h>
101782 #else
101783 # include <assert.h>
101784 #endif
101785
101786 #undef $ac_func
101787
101788 /* Override any gcc2 internal prototype to avoid an error.  */
101789 #ifdef __cplusplus
101790 extern "C"
101791 {
101792 #endif
101793 /* We use char because int might match the return type of a gcc2
101794    builtin and then its argument prototype would still apply.  */
101795 char $ac_func ();
101796 /* The GNU C library defines this for functions which it implements
101797     to always fail with ENOSYS.  Some functions are actually named
101798     something starting with __ and the normal name is an alias.  */
101799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101800 choke me
101801 #else
101802 char (*f) () = $ac_func;
101803 #endif
101804 #ifdef __cplusplus
101805 }
101806 #endif
101807
101808 int
101809 main ()
101810 {
101811 return f != $ac_func;
101812   ;
101813   return 0;
101814 }
101815 _ACEOF
101816 rm -f conftest.$ac_objext conftest$ac_exeext
101817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101818   (eval $ac_link) 2>conftest.er1
101819   ac_status=$?
101820   grep -v '^ *+' conftest.er1 >conftest.err
101821   rm -f conftest.er1
101822   cat conftest.err >&5
101823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101824   (exit $ac_status); } &&
101825          { ac_try='test -z "$ac_c_werror_flag"
101826                          || test ! -s conftest.err'
101827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101828   (eval $ac_try) 2>&5
101829   ac_status=$?
101830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101831   (exit $ac_status); }; } &&
101832          { ac_try='test -s conftest$ac_exeext'
101833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101834   (eval $ac_try) 2>&5
101835   ac_status=$?
101836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101837   (exit $ac_status); }; }; then
101838   eval "$as_ac_var=yes"
101839 else
101840   echo "$as_me: failed program was:" >&5
101841 sed 's/^/| /' conftest.$ac_ext >&5
101842
101843 eval "$as_ac_var=no"
101844 fi
101845 rm -f conftest.err conftest.$ac_objext \
101846       conftest$ac_exeext conftest.$ac_ext
101847 fi
101848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101850 if test `eval echo '${'$as_ac_var'}'` = yes; then
101851   cat >>confdefs.h <<_ACEOF
101852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101853 _ACEOF
101854
101855 fi
101856 done
101857
101858     fi
101859   fi
101860
101861
101862
101863
101864
101865
101866   echo "$as_me:$LINENO: checking for log10l declaration" >&5
101867 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
101868   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
101869     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
101870   echo $ECHO_N "(cached) $ECHO_C" >&6
101871 else
101872
101873
101874
101875       ac_ext=cc
101876 ac_cpp='$CXXCPP $CPPFLAGS'
101877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101880
101881       cat >conftest.$ac_ext <<_ACEOF
101882 /* confdefs.h.  */
101883 _ACEOF
101884 cat confdefs.h >>conftest.$ac_ext
101885 cat >>conftest.$ac_ext <<_ACEOF
101886 /* end confdefs.h.  */
101887 #include <math.h>
101888                       #ifdef HAVE_IEEEFP_H
101889                       #include <ieeefp.h>
101890                       #endif
101891
101892 int
101893 main ()
101894 {
101895  log10l(0);
101896   ;
101897   return 0;
101898 }
101899 _ACEOF
101900 rm -f conftest.$ac_objext
101901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101902   (eval $ac_compile) 2>conftest.er1
101903   ac_status=$?
101904   grep -v '^ *+' conftest.er1 >conftest.err
101905   rm -f conftest.er1
101906   cat conftest.err >&5
101907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101908   (exit $ac_status); } &&
101909          { ac_try='test -z "$ac_cxx_werror_flag"
101910                          || test ! -s conftest.err'
101911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101912   (eval $ac_try) 2>&5
101913   ac_status=$?
101914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101915   (exit $ac_status); }; } &&
101916          { ac_try='test -s conftest.$ac_objext'
101917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101918   (eval $ac_try) 2>&5
101919   ac_status=$?
101920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101921   (exit $ac_status); }; }; then
101922   glibcxx_cv_func_log10l_use=yes
101923 else
101924   echo "$as_me: failed program was:" >&5
101925 sed 's/^/| /' conftest.$ac_ext >&5
101926
101927 glibcxx_cv_func_log10l_use=no
101928 fi
101929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101930       ac_ext=c
101931 ac_cpp='$CPP $CPPFLAGS'
101932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101935
101936
101937 fi
101938
101939   fi
101940   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
101941 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
101942
101943   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
101944
101945 for ac_func in log10l
101946 do
101947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101948 echo "$as_me:$LINENO: checking for $ac_func" >&5
101949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101950 if eval "test \"\${$as_ac_var+set}\" = set"; then
101951   echo $ECHO_N "(cached) $ECHO_C" >&6
101952 else
101953   if test x$gcc_no_link = xyes; then
101954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101956    { (exit 1); exit 1; }; }
101957 fi
101958 cat >conftest.$ac_ext <<_ACEOF
101959 /* confdefs.h.  */
101960 _ACEOF
101961 cat confdefs.h >>conftest.$ac_ext
101962 cat >>conftest.$ac_ext <<_ACEOF
101963 /* end confdefs.h.  */
101964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101966 #define $ac_func innocuous_$ac_func
101967
101968 /* System header to define __stub macros and hopefully few prototypes,
101969     which can conflict with char $ac_func (); below.
101970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101971     <limits.h> exists even on freestanding compilers.  */
101972
101973 #ifdef __STDC__
101974 # include <limits.h>
101975 #else
101976 # include <assert.h>
101977 #endif
101978
101979 #undef $ac_func
101980
101981 /* Override any gcc2 internal prototype to avoid an error.  */
101982 #ifdef __cplusplus
101983 extern "C"
101984 {
101985 #endif
101986 /* We use char because int might match the return type of a gcc2
101987    builtin and then its argument prototype would still apply.  */
101988 char $ac_func ();
101989 /* The GNU C library defines this for functions which it implements
101990     to always fail with ENOSYS.  Some functions are actually named
101991     something starting with __ and the normal name is an alias.  */
101992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101993 choke me
101994 #else
101995 char (*f) () = $ac_func;
101996 #endif
101997 #ifdef __cplusplus
101998 }
101999 #endif
102000
102001 int
102002 main ()
102003 {
102004 return f != $ac_func;
102005   ;
102006   return 0;
102007 }
102008 _ACEOF
102009 rm -f conftest.$ac_objext conftest$ac_exeext
102010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102011   (eval $ac_link) 2>conftest.er1
102012   ac_status=$?
102013   grep -v '^ *+' conftest.er1 >conftest.err
102014   rm -f conftest.er1
102015   cat conftest.err >&5
102016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102017   (exit $ac_status); } &&
102018          { ac_try='test -z "$ac_c_werror_flag"
102019                          || test ! -s conftest.err'
102020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102021   (eval $ac_try) 2>&5
102022   ac_status=$?
102023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102024   (exit $ac_status); }; } &&
102025          { ac_try='test -s conftest$ac_exeext'
102026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102027   (eval $ac_try) 2>&5
102028   ac_status=$?
102029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102030   (exit $ac_status); }; }; then
102031   eval "$as_ac_var=yes"
102032 else
102033   echo "$as_me: failed program was:" >&5
102034 sed 's/^/| /' conftest.$ac_ext >&5
102035
102036 eval "$as_ac_var=no"
102037 fi
102038 rm -f conftest.err conftest.$ac_objext \
102039       conftest$ac_exeext conftest.$ac_ext
102040 fi
102041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102043 if test `eval echo '${'$as_ac_var'}'` = yes; then
102044   cat >>confdefs.h <<_ACEOF
102045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102046 _ACEOF
102047
102048 fi
102049 done
102050
102051   else
102052
102053   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102054 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102055   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102056     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102057   echo $ECHO_N "(cached) $ECHO_C" >&6
102058 else
102059
102060
102061
102062       ac_ext=cc
102063 ac_cpp='$CXXCPP $CPPFLAGS'
102064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102067
102068       cat >conftest.$ac_ext <<_ACEOF
102069 /* confdefs.h.  */
102070 _ACEOF
102071 cat confdefs.h >>conftest.$ac_ext
102072 cat >>conftest.$ac_ext <<_ACEOF
102073 /* end confdefs.h.  */
102074 #include <math.h>
102075                       #ifdef HAVE_IEEEFP_H
102076                       #include <ieeefp.h>
102077                       #endif
102078
102079 int
102080 main ()
102081 {
102082  _log10l(0);
102083   ;
102084   return 0;
102085 }
102086 _ACEOF
102087 rm -f conftest.$ac_objext
102088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102089   (eval $ac_compile) 2>conftest.er1
102090   ac_status=$?
102091   grep -v '^ *+' conftest.er1 >conftest.err
102092   rm -f conftest.er1
102093   cat conftest.err >&5
102094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102095   (exit $ac_status); } &&
102096          { ac_try='test -z "$ac_cxx_werror_flag"
102097                          || test ! -s conftest.err'
102098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102099   (eval $ac_try) 2>&5
102100   ac_status=$?
102101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102102   (exit $ac_status); }; } &&
102103          { ac_try='test -s conftest.$ac_objext'
102104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102105   (eval $ac_try) 2>&5
102106   ac_status=$?
102107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102108   (exit $ac_status); }; }; then
102109   glibcxx_cv_func__log10l_use=yes
102110 else
102111   echo "$as_me: failed program was:" >&5
102112 sed 's/^/| /' conftest.$ac_ext >&5
102113
102114 glibcxx_cv_func__log10l_use=no
102115 fi
102116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102117       ac_ext=c
102118 ac_cpp='$CPP $CPPFLAGS'
102119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102122
102123
102124 fi
102125
102126   fi
102127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102128 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102129
102130     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102131
102132 for ac_func in _log10l
102133 do
102134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102135 echo "$as_me:$LINENO: checking for $ac_func" >&5
102136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102137 if eval "test \"\${$as_ac_var+set}\" = set"; then
102138   echo $ECHO_N "(cached) $ECHO_C" >&6
102139 else
102140   if test x$gcc_no_link = xyes; then
102141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102143    { (exit 1); exit 1; }; }
102144 fi
102145 cat >conftest.$ac_ext <<_ACEOF
102146 /* confdefs.h.  */
102147 _ACEOF
102148 cat confdefs.h >>conftest.$ac_ext
102149 cat >>conftest.$ac_ext <<_ACEOF
102150 /* end confdefs.h.  */
102151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102153 #define $ac_func innocuous_$ac_func
102154
102155 /* System header to define __stub macros and hopefully few prototypes,
102156     which can conflict with char $ac_func (); below.
102157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102158     <limits.h> exists even on freestanding compilers.  */
102159
102160 #ifdef __STDC__
102161 # include <limits.h>
102162 #else
102163 # include <assert.h>
102164 #endif
102165
102166 #undef $ac_func
102167
102168 /* Override any gcc2 internal prototype to avoid an error.  */
102169 #ifdef __cplusplus
102170 extern "C"
102171 {
102172 #endif
102173 /* We use char because int might match the return type of a gcc2
102174    builtin and then its argument prototype would still apply.  */
102175 char $ac_func ();
102176 /* The GNU C library defines this for functions which it implements
102177     to always fail with ENOSYS.  Some functions are actually named
102178     something starting with __ and the normal name is an alias.  */
102179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102180 choke me
102181 #else
102182 char (*f) () = $ac_func;
102183 #endif
102184 #ifdef __cplusplus
102185 }
102186 #endif
102187
102188 int
102189 main ()
102190 {
102191 return f != $ac_func;
102192   ;
102193   return 0;
102194 }
102195 _ACEOF
102196 rm -f conftest.$ac_objext conftest$ac_exeext
102197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102198   (eval $ac_link) 2>conftest.er1
102199   ac_status=$?
102200   grep -v '^ *+' conftest.er1 >conftest.err
102201   rm -f conftest.er1
102202   cat conftest.err >&5
102203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102204   (exit $ac_status); } &&
102205          { ac_try='test -z "$ac_c_werror_flag"
102206                          || test ! -s conftest.err'
102207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102208   (eval $ac_try) 2>&5
102209   ac_status=$?
102210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102211   (exit $ac_status); }; } &&
102212          { ac_try='test -s conftest$ac_exeext'
102213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102214   (eval $ac_try) 2>&5
102215   ac_status=$?
102216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102217   (exit $ac_status); }; }; then
102218   eval "$as_ac_var=yes"
102219 else
102220   echo "$as_me: failed program was:" >&5
102221 sed 's/^/| /' conftest.$ac_ext >&5
102222
102223 eval "$as_ac_var=no"
102224 fi
102225 rm -f conftest.err conftest.$ac_objext \
102226       conftest$ac_exeext conftest.$ac_ext
102227 fi
102228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102230 if test `eval echo '${'$as_ac_var'}'` = yes; then
102231   cat >>confdefs.h <<_ACEOF
102232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102233 _ACEOF
102234
102235 fi
102236 done
102237
102238     fi
102239   fi
102240
102241
102242
102243
102244
102245
102246   echo "$as_me:$LINENO: checking for modfl declaration" >&5
102247 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
102248   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
102249     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
102250   echo $ECHO_N "(cached) $ECHO_C" >&6
102251 else
102252
102253
102254
102255       ac_ext=cc
102256 ac_cpp='$CXXCPP $CPPFLAGS'
102257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102260
102261       cat >conftest.$ac_ext <<_ACEOF
102262 /* confdefs.h.  */
102263 _ACEOF
102264 cat confdefs.h >>conftest.$ac_ext
102265 cat >>conftest.$ac_ext <<_ACEOF
102266 /* end confdefs.h.  */
102267 #include <math.h>
102268 int
102269 main ()
102270 {
102271  modfl(0, 0);
102272   ;
102273   return 0;
102274 }
102275 _ACEOF
102276 rm -f conftest.$ac_objext
102277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102278   (eval $ac_compile) 2>conftest.er1
102279   ac_status=$?
102280   grep -v '^ *+' conftest.er1 >conftest.err
102281   rm -f conftest.er1
102282   cat conftest.err >&5
102283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102284   (exit $ac_status); } &&
102285          { ac_try='test -z "$ac_cxx_werror_flag"
102286                          || test ! -s conftest.err'
102287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102288   (eval $ac_try) 2>&5
102289   ac_status=$?
102290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102291   (exit $ac_status); }; } &&
102292          { ac_try='test -s conftest.$ac_objext'
102293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102294   (eval $ac_try) 2>&5
102295   ac_status=$?
102296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102297   (exit $ac_status); }; }; then
102298   glibcxx_cv_func_modfl_use=yes
102299 else
102300   echo "$as_me: failed program was:" >&5
102301 sed 's/^/| /' conftest.$ac_ext >&5
102302
102303 glibcxx_cv_func_modfl_use=no
102304 fi
102305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102306       ac_ext=c
102307 ac_cpp='$CPP $CPPFLAGS'
102308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102311
102312
102313 fi
102314
102315   fi
102316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
102317 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
102318
102319   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
102320
102321 for ac_func in modfl
102322 do
102323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102324 echo "$as_me:$LINENO: checking for $ac_func" >&5
102325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102326 if eval "test \"\${$as_ac_var+set}\" = set"; then
102327   echo $ECHO_N "(cached) $ECHO_C" >&6
102328 else
102329   if test x$gcc_no_link = xyes; then
102330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102332    { (exit 1); exit 1; }; }
102333 fi
102334 cat >conftest.$ac_ext <<_ACEOF
102335 /* confdefs.h.  */
102336 _ACEOF
102337 cat confdefs.h >>conftest.$ac_ext
102338 cat >>conftest.$ac_ext <<_ACEOF
102339 /* end confdefs.h.  */
102340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102342 #define $ac_func innocuous_$ac_func
102343
102344 /* System header to define __stub macros and hopefully few prototypes,
102345     which can conflict with char $ac_func (); below.
102346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102347     <limits.h> exists even on freestanding compilers.  */
102348
102349 #ifdef __STDC__
102350 # include <limits.h>
102351 #else
102352 # include <assert.h>
102353 #endif
102354
102355 #undef $ac_func
102356
102357 /* Override any gcc2 internal prototype to avoid an error.  */
102358 #ifdef __cplusplus
102359 extern "C"
102360 {
102361 #endif
102362 /* We use char because int might match the return type of a gcc2
102363    builtin and then its argument prototype would still apply.  */
102364 char $ac_func ();
102365 /* The GNU C library defines this for functions which it implements
102366     to always fail with ENOSYS.  Some functions are actually named
102367     something starting with __ and the normal name is an alias.  */
102368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102369 choke me
102370 #else
102371 char (*f) () = $ac_func;
102372 #endif
102373 #ifdef __cplusplus
102374 }
102375 #endif
102376
102377 int
102378 main ()
102379 {
102380 return f != $ac_func;
102381   ;
102382   return 0;
102383 }
102384 _ACEOF
102385 rm -f conftest.$ac_objext conftest$ac_exeext
102386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102387   (eval $ac_link) 2>conftest.er1
102388   ac_status=$?
102389   grep -v '^ *+' conftest.er1 >conftest.err
102390   rm -f conftest.er1
102391   cat conftest.err >&5
102392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102393   (exit $ac_status); } &&
102394          { ac_try='test -z "$ac_c_werror_flag"
102395                          || test ! -s conftest.err'
102396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102397   (eval $ac_try) 2>&5
102398   ac_status=$?
102399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102400   (exit $ac_status); }; } &&
102401          { ac_try='test -s conftest$ac_exeext'
102402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102403   (eval $ac_try) 2>&5
102404   ac_status=$?
102405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102406   (exit $ac_status); }; }; then
102407   eval "$as_ac_var=yes"
102408 else
102409   echo "$as_me: failed program was:" >&5
102410 sed 's/^/| /' conftest.$ac_ext >&5
102411
102412 eval "$as_ac_var=no"
102413 fi
102414 rm -f conftest.err conftest.$ac_objext \
102415       conftest$ac_exeext conftest.$ac_ext
102416 fi
102417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102419 if test `eval echo '${'$as_ac_var'}'` = yes; then
102420   cat >>confdefs.h <<_ACEOF
102421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102422 _ACEOF
102423
102424 fi
102425 done
102426
102427   else
102428
102429   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
102430 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
102431   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
102432     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
102433   echo $ECHO_N "(cached) $ECHO_C" >&6
102434 else
102435
102436
102437
102438       ac_ext=cc
102439 ac_cpp='$CXXCPP $CPPFLAGS'
102440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102443
102444       cat >conftest.$ac_ext <<_ACEOF
102445 /* confdefs.h.  */
102446 _ACEOF
102447 cat confdefs.h >>conftest.$ac_ext
102448 cat >>conftest.$ac_ext <<_ACEOF
102449 /* end confdefs.h.  */
102450 #include <math.h>
102451 int
102452 main ()
102453 {
102454  _modfl(0, 0);
102455   ;
102456   return 0;
102457 }
102458 _ACEOF
102459 rm -f conftest.$ac_objext
102460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102461   (eval $ac_compile) 2>conftest.er1
102462   ac_status=$?
102463   grep -v '^ *+' conftest.er1 >conftest.err
102464   rm -f conftest.er1
102465   cat conftest.err >&5
102466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102467   (exit $ac_status); } &&
102468          { ac_try='test -z "$ac_cxx_werror_flag"
102469                          || test ! -s conftest.err'
102470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102471   (eval $ac_try) 2>&5
102472   ac_status=$?
102473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102474   (exit $ac_status); }; } &&
102475          { ac_try='test -s conftest.$ac_objext'
102476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102477   (eval $ac_try) 2>&5
102478   ac_status=$?
102479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102480   (exit $ac_status); }; }; then
102481   glibcxx_cv_func__modfl_use=yes
102482 else
102483   echo "$as_me: failed program was:" >&5
102484 sed 's/^/| /' conftest.$ac_ext >&5
102485
102486 glibcxx_cv_func__modfl_use=no
102487 fi
102488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102489       ac_ext=c
102490 ac_cpp='$CPP $CPPFLAGS'
102491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102494
102495
102496 fi
102497
102498   fi
102499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
102500 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
102501
102502     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
102503
102504 for ac_func in _modfl
102505 do
102506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102507 echo "$as_me:$LINENO: checking for $ac_func" >&5
102508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102509 if eval "test \"\${$as_ac_var+set}\" = set"; then
102510   echo $ECHO_N "(cached) $ECHO_C" >&6
102511 else
102512   if test x$gcc_no_link = xyes; then
102513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102515    { (exit 1); exit 1; }; }
102516 fi
102517 cat >conftest.$ac_ext <<_ACEOF
102518 /* confdefs.h.  */
102519 _ACEOF
102520 cat confdefs.h >>conftest.$ac_ext
102521 cat >>conftest.$ac_ext <<_ACEOF
102522 /* end confdefs.h.  */
102523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102525 #define $ac_func innocuous_$ac_func
102526
102527 /* System header to define __stub macros and hopefully few prototypes,
102528     which can conflict with char $ac_func (); below.
102529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102530     <limits.h> exists even on freestanding compilers.  */
102531
102532 #ifdef __STDC__
102533 # include <limits.h>
102534 #else
102535 # include <assert.h>
102536 #endif
102537
102538 #undef $ac_func
102539
102540 /* Override any gcc2 internal prototype to avoid an error.  */
102541 #ifdef __cplusplus
102542 extern "C"
102543 {
102544 #endif
102545 /* We use char because int might match the return type of a gcc2
102546    builtin and then its argument prototype would still apply.  */
102547 char $ac_func ();
102548 /* The GNU C library defines this for functions which it implements
102549     to always fail with ENOSYS.  Some functions are actually named
102550     something starting with __ and the normal name is an alias.  */
102551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102552 choke me
102553 #else
102554 char (*f) () = $ac_func;
102555 #endif
102556 #ifdef __cplusplus
102557 }
102558 #endif
102559
102560 int
102561 main ()
102562 {
102563 return f != $ac_func;
102564   ;
102565   return 0;
102566 }
102567 _ACEOF
102568 rm -f conftest.$ac_objext conftest$ac_exeext
102569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102570   (eval $ac_link) 2>conftest.er1
102571   ac_status=$?
102572   grep -v '^ *+' conftest.er1 >conftest.err
102573   rm -f conftest.er1
102574   cat conftest.err >&5
102575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102576   (exit $ac_status); } &&
102577          { ac_try='test -z "$ac_c_werror_flag"
102578                          || test ! -s conftest.err'
102579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102580   (eval $ac_try) 2>&5
102581   ac_status=$?
102582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102583   (exit $ac_status); }; } &&
102584          { ac_try='test -s conftest$ac_exeext'
102585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102586   (eval $ac_try) 2>&5
102587   ac_status=$?
102588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102589   (exit $ac_status); }; }; then
102590   eval "$as_ac_var=yes"
102591 else
102592   echo "$as_me: failed program was:" >&5
102593 sed 's/^/| /' conftest.$ac_ext >&5
102594
102595 eval "$as_ac_var=no"
102596 fi
102597 rm -f conftest.err conftest.$ac_objext \
102598       conftest$ac_exeext conftest.$ac_ext
102599 fi
102600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102602 if test `eval echo '${'$as_ac_var'}'` = yes; then
102603   cat >>confdefs.h <<_ACEOF
102604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102605 _ACEOF
102606
102607 fi
102608 done
102609
102610     fi
102611   fi
102612
102613
102614
102615
102616
102617
102618   echo "$as_me:$LINENO: checking for powl declaration" >&5
102619 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
102620   if test x${glibcxx_cv_func_powl_use+set} != xset; then
102621     if test "${glibcxx_cv_func_powl_use+set}" = set; then
102622   echo $ECHO_N "(cached) $ECHO_C" >&6
102623 else
102624
102625
102626
102627       ac_ext=cc
102628 ac_cpp='$CXXCPP $CPPFLAGS'
102629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102632
102633       cat >conftest.$ac_ext <<_ACEOF
102634 /* confdefs.h.  */
102635 _ACEOF
102636 cat confdefs.h >>conftest.$ac_ext
102637 cat >>conftest.$ac_ext <<_ACEOF
102638 /* end confdefs.h.  */
102639 #include <math.h>
102640 int
102641 main ()
102642 {
102643  powl(0, 0);
102644   ;
102645   return 0;
102646 }
102647 _ACEOF
102648 rm -f conftest.$ac_objext
102649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102650   (eval $ac_compile) 2>conftest.er1
102651   ac_status=$?
102652   grep -v '^ *+' conftest.er1 >conftest.err
102653   rm -f conftest.er1
102654   cat conftest.err >&5
102655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102656   (exit $ac_status); } &&
102657          { ac_try='test -z "$ac_cxx_werror_flag"
102658                          || test ! -s conftest.err'
102659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102660   (eval $ac_try) 2>&5
102661   ac_status=$?
102662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102663   (exit $ac_status); }; } &&
102664          { ac_try='test -s conftest.$ac_objext'
102665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102666   (eval $ac_try) 2>&5
102667   ac_status=$?
102668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102669   (exit $ac_status); }; }; then
102670   glibcxx_cv_func_powl_use=yes
102671 else
102672   echo "$as_me: failed program was:" >&5
102673 sed 's/^/| /' conftest.$ac_ext >&5
102674
102675 glibcxx_cv_func_powl_use=no
102676 fi
102677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102678       ac_ext=c
102679 ac_cpp='$CPP $CPPFLAGS'
102680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102683
102684
102685 fi
102686
102687   fi
102688   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
102689 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
102690
102691   if test x$glibcxx_cv_func_powl_use = x"yes"; then
102692
102693 for ac_func in powl
102694 do
102695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102696 echo "$as_me:$LINENO: checking for $ac_func" >&5
102697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102698 if eval "test \"\${$as_ac_var+set}\" = set"; then
102699   echo $ECHO_N "(cached) $ECHO_C" >&6
102700 else
102701   if test x$gcc_no_link = xyes; then
102702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102704    { (exit 1); exit 1; }; }
102705 fi
102706 cat >conftest.$ac_ext <<_ACEOF
102707 /* confdefs.h.  */
102708 _ACEOF
102709 cat confdefs.h >>conftest.$ac_ext
102710 cat >>conftest.$ac_ext <<_ACEOF
102711 /* end confdefs.h.  */
102712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102714 #define $ac_func innocuous_$ac_func
102715
102716 /* System header to define __stub macros and hopefully few prototypes,
102717     which can conflict with char $ac_func (); below.
102718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102719     <limits.h> exists even on freestanding compilers.  */
102720
102721 #ifdef __STDC__
102722 # include <limits.h>
102723 #else
102724 # include <assert.h>
102725 #endif
102726
102727 #undef $ac_func
102728
102729 /* Override any gcc2 internal prototype to avoid an error.  */
102730 #ifdef __cplusplus
102731 extern "C"
102732 {
102733 #endif
102734 /* We use char because int might match the return type of a gcc2
102735    builtin and then its argument prototype would still apply.  */
102736 char $ac_func ();
102737 /* The GNU C library defines this for functions which it implements
102738     to always fail with ENOSYS.  Some functions are actually named
102739     something starting with __ and the normal name is an alias.  */
102740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102741 choke me
102742 #else
102743 char (*f) () = $ac_func;
102744 #endif
102745 #ifdef __cplusplus
102746 }
102747 #endif
102748
102749 int
102750 main ()
102751 {
102752 return f != $ac_func;
102753   ;
102754   return 0;
102755 }
102756 _ACEOF
102757 rm -f conftest.$ac_objext conftest$ac_exeext
102758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102759   (eval $ac_link) 2>conftest.er1
102760   ac_status=$?
102761   grep -v '^ *+' conftest.er1 >conftest.err
102762   rm -f conftest.er1
102763   cat conftest.err >&5
102764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102765   (exit $ac_status); } &&
102766          { ac_try='test -z "$ac_c_werror_flag"
102767                          || test ! -s conftest.err'
102768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102769   (eval $ac_try) 2>&5
102770   ac_status=$?
102771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102772   (exit $ac_status); }; } &&
102773          { ac_try='test -s conftest$ac_exeext'
102774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102775   (eval $ac_try) 2>&5
102776   ac_status=$?
102777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102778   (exit $ac_status); }; }; then
102779   eval "$as_ac_var=yes"
102780 else
102781   echo "$as_me: failed program was:" >&5
102782 sed 's/^/| /' conftest.$ac_ext >&5
102783
102784 eval "$as_ac_var=no"
102785 fi
102786 rm -f conftest.err conftest.$ac_objext \
102787       conftest$ac_exeext conftest.$ac_ext
102788 fi
102789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102791 if test `eval echo '${'$as_ac_var'}'` = yes; then
102792   cat >>confdefs.h <<_ACEOF
102793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102794 _ACEOF
102795
102796 fi
102797 done
102798
102799   else
102800
102801   echo "$as_me:$LINENO: checking for _powl declaration" >&5
102802 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
102803   if test x${glibcxx_cv_func__powl_use+set} != xset; then
102804     if test "${glibcxx_cv_func__powl_use+set}" = set; then
102805   echo $ECHO_N "(cached) $ECHO_C" >&6
102806 else
102807
102808
102809
102810       ac_ext=cc
102811 ac_cpp='$CXXCPP $CPPFLAGS'
102812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102815
102816       cat >conftest.$ac_ext <<_ACEOF
102817 /* confdefs.h.  */
102818 _ACEOF
102819 cat confdefs.h >>conftest.$ac_ext
102820 cat >>conftest.$ac_ext <<_ACEOF
102821 /* end confdefs.h.  */
102822 #include <math.h>
102823 int
102824 main ()
102825 {
102826  _powl(0, 0);
102827   ;
102828   return 0;
102829 }
102830 _ACEOF
102831 rm -f conftest.$ac_objext
102832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102833   (eval $ac_compile) 2>conftest.er1
102834   ac_status=$?
102835   grep -v '^ *+' conftest.er1 >conftest.err
102836   rm -f conftest.er1
102837   cat conftest.err >&5
102838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102839   (exit $ac_status); } &&
102840          { ac_try='test -z "$ac_cxx_werror_flag"
102841                          || test ! -s conftest.err'
102842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102843   (eval $ac_try) 2>&5
102844   ac_status=$?
102845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102846   (exit $ac_status); }; } &&
102847          { ac_try='test -s conftest.$ac_objext'
102848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102849   (eval $ac_try) 2>&5
102850   ac_status=$?
102851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102852   (exit $ac_status); }; }; then
102853   glibcxx_cv_func__powl_use=yes
102854 else
102855   echo "$as_me: failed program was:" >&5
102856 sed 's/^/| /' conftest.$ac_ext >&5
102857
102858 glibcxx_cv_func__powl_use=no
102859 fi
102860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102861       ac_ext=c
102862 ac_cpp='$CPP $CPPFLAGS'
102863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102866
102867
102868 fi
102869
102870   fi
102871   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
102872 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
102873
102874     if test x$glibcxx_cv_func__powl_use = x"yes"; then
102875
102876 for ac_func in _powl
102877 do
102878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102879 echo "$as_me:$LINENO: checking for $ac_func" >&5
102880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102881 if eval "test \"\${$as_ac_var+set}\" = set"; then
102882   echo $ECHO_N "(cached) $ECHO_C" >&6
102883 else
102884   if test x$gcc_no_link = xyes; then
102885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102887    { (exit 1); exit 1; }; }
102888 fi
102889 cat >conftest.$ac_ext <<_ACEOF
102890 /* confdefs.h.  */
102891 _ACEOF
102892 cat confdefs.h >>conftest.$ac_ext
102893 cat >>conftest.$ac_ext <<_ACEOF
102894 /* end confdefs.h.  */
102895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102897 #define $ac_func innocuous_$ac_func
102898
102899 /* System header to define __stub macros and hopefully few prototypes,
102900     which can conflict with char $ac_func (); below.
102901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102902     <limits.h> exists even on freestanding compilers.  */
102903
102904 #ifdef __STDC__
102905 # include <limits.h>
102906 #else
102907 # include <assert.h>
102908 #endif
102909
102910 #undef $ac_func
102911
102912 /* Override any gcc2 internal prototype to avoid an error.  */
102913 #ifdef __cplusplus
102914 extern "C"
102915 {
102916 #endif
102917 /* We use char because int might match the return type of a gcc2
102918    builtin and then its argument prototype would still apply.  */
102919 char $ac_func ();
102920 /* The GNU C library defines this for functions which it implements
102921     to always fail with ENOSYS.  Some functions are actually named
102922     something starting with __ and the normal name is an alias.  */
102923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102924 choke me
102925 #else
102926 char (*f) () = $ac_func;
102927 #endif
102928 #ifdef __cplusplus
102929 }
102930 #endif
102931
102932 int
102933 main ()
102934 {
102935 return f != $ac_func;
102936   ;
102937   return 0;
102938 }
102939 _ACEOF
102940 rm -f conftest.$ac_objext conftest$ac_exeext
102941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102942   (eval $ac_link) 2>conftest.er1
102943   ac_status=$?
102944   grep -v '^ *+' conftest.er1 >conftest.err
102945   rm -f conftest.er1
102946   cat conftest.err >&5
102947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102948   (exit $ac_status); } &&
102949          { ac_try='test -z "$ac_c_werror_flag"
102950                          || test ! -s conftest.err'
102951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102952   (eval $ac_try) 2>&5
102953   ac_status=$?
102954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102955   (exit $ac_status); }; } &&
102956          { ac_try='test -s conftest$ac_exeext'
102957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102958   (eval $ac_try) 2>&5
102959   ac_status=$?
102960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102961   (exit $ac_status); }; }; then
102962   eval "$as_ac_var=yes"
102963 else
102964   echo "$as_me: failed program was:" >&5
102965 sed 's/^/| /' conftest.$ac_ext >&5
102966
102967 eval "$as_ac_var=no"
102968 fi
102969 rm -f conftest.err conftest.$ac_objext \
102970       conftest$ac_exeext conftest.$ac_ext
102971 fi
102972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102974 if test `eval echo '${'$as_ac_var'}'` = yes; then
102975   cat >>confdefs.h <<_ACEOF
102976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102977 _ACEOF
102978
102979 fi
102980 done
102981
102982     fi
102983   fi
102984
102985
102986
102987
102988
102989
102990   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
102991 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
102992   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
102993     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
102994   echo $ECHO_N "(cached) $ECHO_C" >&6
102995 else
102996
102997
102998
102999       ac_ext=cc
103000 ac_cpp='$CXXCPP $CPPFLAGS'
103001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103004
103005       cat >conftest.$ac_ext <<_ACEOF
103006 /* confdefs.h.  */
103007 _ACEOF
103008 cat confdefs.h >>conftest.$ac_ext
103009 cat >>conftest.$ac_ext <<_ACEOF
103010 /* end confdefs.h.  */
103011 #include <math.h>
103012                       #ifdef HAVE_IEEEFP_H
103013                       #include <ieeefp.h>
103014                       #endif
103015
103016 int
103017 main ()
103018 {
103019  sqrtl(0);
103020   ;
103021   return 0;
103022 }
103023 _ACEOF
103024 rm -f conftest.$ac_objext
103025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103026   (eval $ac_compile) 2>conftest.er1
103027   ac_status=$?
103028   grep -v '^ *+' conftest.er1 >conftest.err
103029   rm -f conftest.er1
103030   cat conftest.err >&5
103031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103032   (exit $ac_status); } &&
103033          { ac_try='test -z "$ac_cxx_werror_flag"
103034                          || test ! -s conftest.err'
103035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103036   (eval $ac_try) 2>&5
103037   ac_status=$?
103038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103039   (exit $ac_status); }; } &&
103040          { ac_try='test -s conftest.$ac_objext'
103041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103042   (eval $ac_try) 2>&5
103043   ac_status=$?
103044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103045   (exit $ac_status); }; }; then
103046   glibcxx_cv_func_sqrtl_use=yes
103047 else
103048   echo "$as_me: failed program was:" >&5
103049 sed 's/^/| /' conftest.$ac_ext >&5
103050
103051 glibcxx_cv_func_sqrtl_use=no
103052 fi
103053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103054       ac_ext=c
103055 ac_cpp='$CPP $CPPFLAGS'
103056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103059
103060
103061 fi
103062
103063   fi
103064   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103065 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103066
103067   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103068
103069 for ac_func in sqrtl
103070 do
103071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103072 echo "$as_me:$LINENO: checking for $ac_func" >&5
103073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103074 if eval "test \"\${$as_ac_var+set}\" = set"; then
103075   echo $ECHO_N "(cached) $ECHO_C" >&6
103076 else
103077   if test x$gcc_no_link = xyes; then
103078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103080    { (exit 1); exit 1; }; }
103081 fi
103082 cat >conftest.$ac_ext <<_ACEOF
103083 /* confdefs.h.  */
103084 _ACEOF
103085 cat confdefs.h >>conftest.$ac_ext
103086 cat >>conftest.$ac_ext <<_ACEOF
103087 /* end confdefs.h.  */
103088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103090 #define $ac_func innocuous_$ac_func
103091
103092 /* System header to define __stub macros and hopefully few prototypes,
103093     which can conflict with char $ac_func (); below.
103094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103095     <limits.h> exists even on freestanding compilers.  */
103096
103097 #ifdef __STDC__
103098 # include <limits.h>
103099 #else
103100 # include <assert.h>
103101 #endif
103102
103103 #undef $ac_func
103104
103105 /* Override any gcc2 internal prototype to avoid an error.  */
103106 #ifdef __cplusplus
103107 extern "C"
103108 {
103109 #endif
103110 /* We use char because int might match the return type of a gcc2
103111    builtin and then its argument prototype would still apply.  */
103112 char $ac_func ();
103113 /* The GNU C library defines this for functions which it implements
103114     to always fail with ENOSYS.  Some functions are actually named
103115     something starting with __ and the normal name is an alias.  */
103116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103117 choke me
103118 #else
103119 char (*f) () = $ac_func;
103120 #endif
103121 #ifdef __cplusplus
103122 }
103123 #endif
103124
103125 int
103126 main ()
103127 {
103128 return f != $ac_func;
103129   ;
103130   return 0;
103131 }
103132 _ACEOF
103133 rm -f conftest.$ac_objext conftest$ac_exeext
103134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103135   (eval $ac_link) 2>conftest.er1
103136   ac_status=$?
103137   grep -v '^ *+' conftest.er1 >conftest.err
103138   rm -f conftest.er1
103139   cat conftest.err >&5
103140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103141   (exit $ac_status); } &&
103142          { ac_try='test -z "$ac_c_werror_flag"
103143                          || test ! -s conftest.err'
103144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103145   (eval $ac_try) 2>&5
103146   ac_status=$?
103147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103148   (exit $ac_status); }; } &&
103149          { ac_try='test -s conftest$ac_exeext'
103150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103151   (eval $ac_try) 2>&5
103152   ac_status=$?
103153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103154   (exit $ac_status); }; }; then
103155   eval "$as_ac_var=yes"
103156 else
103157   echo "$as_me: failed program was:" >&5
103158 sed 's/^/| /' conftest.$ac_ext >&5
103159
103160 eval "$as_ac_var=no"
103161 fi
103162 rm -f conftest.err conftest.$ac_objext \
103163       conftest$ac_exeext conftest.$ac_ext
103164 fi
103165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103167 if test `eval echo '${'$as_ac_var'}'` = yes; then
103168   cat >>confdefs.h <<_ACEOF
103169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103170 _ACEOF
103171
103172 fi
103173 done
103174
103175   else
103176
103177   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103178 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103179   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103180     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103181   echo $ECHO_N "(cached) $ECHO_C" >&6
103182 else
103183
103184
103185
103186       ac_ext=cc
103187 ac_cpp='$CXXCPP $CPPFLAGS'
103188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103191
103192       cat >conftest.$ac_ext <<_ACEOF
103193 /* confdefs.h.  */
103194 _ACEOF
103195 cat confdefs.h >>conftest.$ac_ext
103196 cat >>conftest.$ac_ext <<_ACEOF
103197 /* end confdefs.h.  */
103198 #include <math.h>
103199                       #ifdef HAVE_IEEEFP_H
103200                       #include <ieeefp.h>
103201                       #endif
103202
103203 int
103204 main ()
103205 {
103206  _sqrtl(0);
103207   ;
103208   return 0;
103209 }
103210 _ACEOF
103211 rm -f conftest.$ac_objext
103212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103213   (eval $ac_compile) 2>conftest.er1
103214   ac_status=$?
103215   grep -v '^ *+' conftest.er1 >conftest.err
103216   rm -f conftest.er1
103217   cat conftest.err >&5
103218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103219   (exit $ac_status); } &&
103220          { ac_try='test -z "$ac_cxx_werror_flag"
103221                          || test ! -s conftest.err'
103222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103223   (eval $ac_try) 2>&5
103224   ac_status=$?
103225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103226   (exit $ac_status); }; } &&
103227          { ac_try='test -s conftest.$ac_objext'
103228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103229   (eval $ac_try) 2>&5
103230   ac_status=$?
103231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103232   (exit $ac_status); }; }; then
103233   glibcxx_cv_func__sqrtl_use=yes
103234 else
103235   echo "$as_me: failed program was:" >&5
103236 sed 's/^/| /' conftest.$ac_ext >&5
103237
103238 glibcxx_cv_func__sqrtl_use=no
103239 fi
103240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103241       ac_ext=c
103242 ac_cpp='$CPP $CPPFLAGS'
103243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103246
103247
103248 fi
103249
103250   fi
103251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
103252 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
103253
103254     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
103255
103256 for ac_func in _sqrtl
103257 do
103258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103259 echo "$as_me:$LINENO: checking for $ac_func" >&5
103260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103261 if eval "test \"\${$as_ac_var+set}\" = set"; then
103262   echo $ECHO_N "(cached) $ECHO_C" >&6
103263 else
103264   if test x$gcc_no_link = xyes; then
103265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103267    { (exit 1); exit 1; }; }
103268 fi
103269 cat >conftest.$ac_ext <<_ACEOF
103270 /* confdefs.h.  */
103271 _ACEOF
103272 cat confdefs.h >>conftest.$ac_ext
103273 cat >>conftest.$ac_ext <<_ACEOF
103274 /* end confdefs.h.  */
103275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103277 #define $ac_func innocuous_$ac_func
103278
103279 /* System header to define __stub macros and hopefully few prototypes,
103280     which can conflict with char $ac_func (); below.
103281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103282     <limits.h> exists even on freestanding compilers.  */
103283
103284 #ifdef __STDC__
103285 # include <limits.h>
103286 #else
103287 # include <assert.h>
103288 #endif
103289
103290 #undef $ac_func
103291
103292 /* Override any gcc2 internal prototype to avoid an error.  */
103293 #ifdef __cplusplus
103294 extern "C"
103295 {
103296 #endif
103297 /* We use char because int might match the return type of a gcc2
103298    builtin and then its argument prototype would still apply.  */
103299 char $ac_func ();
103300 /* The GNU C library defines this for functions which it implements
103301     to always fail with ENOSYS.  Some functions are actually named
103302     something starting with __ and the normal name is an alias.  */
103303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103304 choke me
103305 #else
103306 char (*f) () = $ac_func;
103307 #endif
103308 #ifdef __cplusplus
103309 }
103310 #endif
103311
103312 int
103313 main ()
103314 {
103315 return f != $ac_func;
103316   ;
103317   return 0;
103318 }
103319 _ACEOF
103320 rm -f conftest.$ac_objext conftest$ac_exeext
103321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103322   (eval $ac_link) 2>conftest.er1
103323   ac_status=$?
103324   grep -v '^ *+' conftest.er1 >conftest.err
103325   rm -f conftest.er1
103326   cat conftest.err >&5
103327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103328   (exit $ac_status); } &&
103329          { ac_try='test -z "$ac_c_werror_flag"
103330                          || test ! -s conftest.err'
103331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103332   (eval $ac_try) 2>&5
103333   ac_status=$?
103334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103335   (exit $ac_status); }; } &&
103336          { ac_try='test -s conftest$ac_exeext'
103337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103338   (eval $ac_try) 2>&5
103339   ac_status=$?
103340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103341   (exit $ac_status); }; }; then
103342   eval "$as_ac_var=yes"
103343 else
103344   echo "$as_me: failed program was:" >&5
103345 sed 's/^/| /' conftest.$ac_ext >&5
103346
103347 eval "$as_ac_var=no"
103348 fi
103349 rm -f conftest.err conftest.$ac_objext \
103350       conftest$ac_exeext conftest.$ac_ext
103351 fi
103352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103354 if test `eval echo '${'$as_ac_var'}'` = yes; then
103355   cat >>confdefs.h <<_ACEOF
103356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103357 _ACEOF
103358
103359 fi
103360 done
103361
103362     fi
103363   fi
103364
103365
103366
103367
103368
103369
103370   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
103371 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
103372   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
103373     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
103374   echo $ECHO_N "(cached) $ECHO_C" >&6
103375 else
103376
103377
103378
103379       ac_ext=cc
103380 ac_cpp='$CXXCPP $CPPFLAGS'
103381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103384
103385       cat >conftest.$ac_ext <<_ACEOF
103386 /* confdefs.h.  */
103387 _ACEOF
103388 cat confdefs.h >>conftest.$ac_ext
103389 cat >>conftest.$ac_ext <<_ACEOF
103390 /* end confdefs.h.  */
103391 #include <math.h>
103392 int
103393 main ()
103394 {
103395  sincosl(0, 0, 0);
103396   ;
103397   return 0;
103398 }
103399 _ACEOF
103400 rm -f conftest.$ac_objext
103401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103402   (eval $ac_compile) 2>conftest.er1
103403   ac_status=$?
103404   grep -v '^ *+' conftest.er1 >conftest.err
103405   rm -f conftest.er1
103406   cat conftest.err >&5
103407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103408   (exit $ac_status); } &&
103409          { ac_try='test -z "$ac_cxx_werror_flag"
103410                          || test ! -s conftest.err'
103411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103412   (eval $ac_try) 2>&5
103413   ac_status=$?
103414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103415   (exit $ac_status); }; } &&
103416          { ac_try='test -s conftest.$ac_objext'
103417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103418   (eval $ac_try) 2>&5
103419   ac_status=$?
103420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103421   (exit $ac_status); }; }; then
103422   glibcxx_cv_func_sincosl_use=yes
103423 else
103424   echo "$as_me: failed program was:" >&5
103425 sed 's/^/| /' conftest.$ac_ext >&5
103426
103427 glibcxx_cv_func_sincosl_use=no
103428 fi
103429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103430       ac_ext=c
103431 ac_cpp='$CPP $CPPFLAGS'
103432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103435
103436
103437 fi
103438
103439   fi
103440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
103441 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
103442
103443   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
103444
103445 for ac_func in sincosl
103446 do
103447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103448 echo "$as_me:$LINENO: checking for $ac_func" >&5
103449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103450 if eval "test \"\${$as_ac_var+set}\" = set"; then
103451   echo $ECHO_N "(cached) $ECHO_C" >&6
103452 else
103453   if test x$gcc_no_link = xyes; then
103454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103456    { (exit 1); exit 1; }; }
103457 fi
103458 cat >conftest.$ac_ext <<_ACEOF
103459 /* confdefs.h.  */
103460 _ACEOF
103461 cat confdefs.h >>conftest.$ac_ext
103462 cat >>conftest.$ac_ext <<_ACEOF
103463 /* end confdefs.h.  */
103464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103466 #define $ac_func innocuous_$ac_func
103467
103468 /* System header to define __stub macros and hopefully few prototypes,
103469     which can conflict with char $ac_func (); below.
103470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103471     <limits.h> exists even on freestanding compilers.  */
103472
103473 #ifdef __STDC__
103474 # include <limits.h>
103475 #else
103476 # include <assert.h>
103477 #endif
103478
103479 #undef $ac_func
103480
103481 /* Override any gcc2 internal prototype to avoid an error.  */
103482 #ifdef __cplusplus
103483 extern "C"
103484 {
103485 #endif
103486 /* We use char because int might match the return type of a gcc2
103487    builtin and then its argument prototype would still apply.  */
103488 char $ac_func ();
103489 /* The GNU C library defines this for functions which it implements
103490     to always fail with ENOSYS.  Some functions are actually named
103491     something starting with __ and the normal name is an alias.  */
103492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103493 choke me
103494 #else
103495 char (*f) () = $ac_func;
103496 #endif
103497 #ifdef __cplusplus
103498 }
103499 #endif
103500
103501 int
103502 main ()
103503 {
103504 return f != $ac_func;
103505   ;
103506   return 0;
103507 }
103508 _ACEOF
103509 rm -f conftest.$ac_objext conftest$ac_exeext
103510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103511   (eval $ac_link) 2>conftest.er1
103512   ac_status=$?
103513   grep -v '^ *+' conftest.er1 >conftest.err
103514   rm -f conftest.er1
103515   cat conftest.err >&5
103516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103517   (exit $ac_status); } &&
103518          { ac_try='test -z "$ac_c_werror_flag"
103519                          || test ! -s conftest.err'
103520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103521   (eval $ac_try) 2>&5
103522   ac_status=$?
103523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103524   (exit $ac_status); }; } &&
103525          { ac_try='test -s conftest$ac_exeext'
103526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103527   (eval $ac_try) 2>&5
103528   ac_status=$?
103529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103530   (exit $ac_status); }; }; then
103531   eval "$as_ac_var=yes"
103532 else
103533   echo "$as_me: failed program was:" >&5
103534 sed 's/^/| /' conftest.$ac_ext >&5
103535
103536 eval "$as_ac_var=no"
103537 fi
103538 rm -f conftest.err conftest.$ac_objext \
103539       conftest$ac_exeext conftest.$ac_ext
103540 fi
103541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103543 if test `eval echo '${'$as_ac_var'}'` = yes; then
103544   cat >>confdefs.h <<_ACEOF
103545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103546 _ACEOF
103547
103548 fi
103549 done
103550
103551   else
103552
103553   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
103554 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
103555   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
103556     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
103557   echo $ECHO_N "(cached) $ECHO_C" >&6
103558 else
103559
103560
103561
103562       ac_ext=cc
103563 ac_cpp='$CXXCPP $CPPFLAGS'
103564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103567
103568       cat >conftest.$ac_ext <<_ACEOF
103569 /* confdefs.h.  */
103570 _ACEOF
103571 cat confdefs.h >>conftest.$ac_ext
103572 cat >>conftest.$ac_ext <<_ACEOF
103573 /* end confdefs.h.  */
103574 #include <math.h>
103575 int
103576 main ()
103577 {
103578  _sincosl(0, 0, 0);
103579   ;
103580   return 0;
103581 }
103582 _ACEOF
103583 rm -f conftest.$ac_objext
103584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103585   (eval $ac_compile) 2>conftest.er1
103586   ac_status=$?
103587   grep -v '^ *+' conftest.er1 >conftest.err
103588   rm -f conftest.er1
103589   cat conftest.err >&5
103590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103591   (exit $ac_status); } &&
103592          { ac_try='test -z "$ac_cxx_werror_flag"
103593                          || test ! -s conftest.err'
103594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103595   (eval $ac_try) 2>&5
103596   ac_status=$?
103597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103598   (exit $ac_status); }; } &&
103599          { ac_try='test -s conftest.$ac_objext'
103600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103601   (eval $ac_try) 2>&5
103602   ac_status=$?
103603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103604   (exit $ac_status); }; }; then
103605   glibcxx_cv_func__sincosl_use=yes
103606 else
103607   echo "$as_me: failed program was:" >&5
103608 sed 's/^/| /' conftest.$ac_ext >&5
103609
103610 glibcxx_cv_func__sincosl_use=no
103611 fi
103612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103613       ac_ext=c
103614 ac_cpp='$CPP $CPPFLAGS'
103615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103618
103619
103620 fi
103621
103622   fi
103623   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
103624 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
103625
103626     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
103627
103628 for ac_func in _sincosl
103629 do
103630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103631 echo "$as_me:$LINENO: checking for $ac_func" >&5
103632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103633 if eval "test \"\${$as_ac_var+set}\" = set"; then
103634   echo $ECHO_N "(cached) $ECHO_C" >&6
103635 else
103636   if test x$gcc_no_link = xyes; then
103637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103639    { (exit 1); exit 1; }; }
103640 fi
103641 cat >conftest.$ac_ext <<_ACEOF
103642 /* confdefs.h.  */
103643 _ACEOF
103644 cat confdefs.h >>conftest.$ac_ext
103645 cat >>conftest.$ac_ext <<_ACEOF
103646 /* end confdefs.h.  */
103647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103649 #define $ac_func innocuous_$ac_func
103650
103651 /* System header to define __stub macros and hopefully few prototypes,
103652     which can conflict with char $ac_func (); below.
103653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103654     <limits.h> exists even on freestanding compilers.  */
103655
103656 #ifdef __STDC__
103657 # include <limits.h>
103658 #else
103659 # include <assert.h>
103660 #endif
103661
103662 #undef $ac_func
103663
103664 /* Override any gcc2 internal prototype to avoid an error.  */
103665 #ifdef __cplusplus
103666 extern "C"
103667 {
103668 #endif
103669 /* We use char because int might match the return type of a gcc2
103670    builtin and then its argument prototype would still apply.  */
103671 char $ac_func ();
103672 /* The GNU C library defines this for functions which it implements
103673     to always fail with ENOSYS.  Some functions are actually named
103674     something starting with __ and the normal name is an alias.  */
103675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103676 choke me
103677 #else
103678 char (*f) () = $ac_func;
103679 #endif
103680 #ifdef __cplusplus
103681 }
103682 #endif
103683
103684 int
103685 main ()
103686 {
103687 return f != $ac_func;
103688   ;
103689   return 0;
103690 }
103691 _ACEOF
103692 rm -f conftest.$ac_objext conftest$ac_exeext
103693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103694   (eval $ac_link) 2>conftest.er1
103695   ac_status=$?
103696   grep -v '^ *+' conftest.er1 >conftest.err
103697   rm -f conftest.er1
103698   cat conftest.err >&5
103699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103700   (exit $ac_status); } &&
103701          { ac_try='test -z "$ac_c_werror_flag"
103702                          || test ! -s conftest.err'
103703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103704   (eval $ac_try) 2>&5
103705   ac_status=$?
103706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103707   (exit $ac_status); }; } &&
103708          { ac_try='test -s conftest$ac_exeext'
103709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103710   (eval $ac_try) 2>&5
103711   ac_status=$?
103712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103713   (exit $ac_status); }; }; then
103714   eval "$as_ac_var=yes"
103715 else
103716   echo "$as_me: failed program was:" >&5
103717 sed 's/^/| /' conftest.$ac_ext >&5
103718
103719 eval "$as_ac_var=no"
103720 fi
103721 rm -f conftest.err conftest.$ac_objext \
103722       conftest$ac_exeext conftest.$ac_ext
103723 fi
103724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103726 if test `eval echo '${'$as_ac_var'}'` = yes; then
103727   cat >>confdefs.h <<_ACEOF
103728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103729 _ACEOF
103730
103731 fi
103732 done
103733
103734     fi
103735   fi
103736
103737
103738
103739
103740
103741
103742   echo "$as_me:$LINENO: checking for finitel declaration" >&5
103743 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
103744   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
103745     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
103746   echo $ECHO_N "(cached) $ECHO_C" >&6
103747 else
103748
103749
103750
103751       ac_ext=cc
103752 ac_cpp='$CXXCPP $CPPFLAGS'
103753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103756
103757       cat >conftest.$ac_ext <<_ACEOF
103758 /* confdefs.h.  */
103759 _ACEOF
103760 cat confdefs.h >>conftest.$ac_ext
103761 cat >>conftest.$ac_ext <<_ACEOF
103762 /* end confdefs.h.  */
103763 #include <math.h>
103764                       #ifdef HAVE_IEEEFP_H
103765                       #include <ieeefp.h>
103766                       #endif
103767
103768 int
103769 main ()
103770 {
103771  finitel(0);
103772   ;
103773   return 0;
103774 }
103775 _ACEOF
103776 rm -f conftest.$ac_objext
103777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103778   (eval $ac_compile) 2>conftest.er1
103779   ac_status=$?
103780   grep -v '^ *+' conftest.er1 >conftest.err
103781   rm -f conftest.er1
103782   cat conftest.err >&5
103783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103784   (exit $ac_status); } &&
103785          { ac_try='test -z "$ac_cxx_werror_flag"
103786                          || test ! -s conftest.err'
103787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103788   (eval $ac_try) 2>&5
103789   ac_status=$?
103790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103791   (exit $ac_status); }; } &&
103792          { ac_try='test -s conftest.$ac_objext'
103793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103794   (eval $ac_try) 2>&5
103795   ac_status=$?
103796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103797   (exit $ac_status); }; }; then
103798   glibcxx_cv_func_finitel_use=yes
103799 else
103800   echo "$as_me: failed program was:" >&5
103801 sed 's/^/| /' conftest.$ac_ext >&5
103802
103803 glibcxx_cv_func_finitel_use=no
103804 fi
103805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103806       ac_ext=c
103807 ac_cpp='$CPP $CPPFLAGS'
103808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103811
103812
103813 fi
103814
103815   fi
103816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
103817 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
103818
103819   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
103820
103821 for ac_func in finitel
103822 do
103823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103824 echo "$as_me:$LINENO: checking for $ac_func" >&5
103825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103826 if eval "test \"\${$as_ac_var+set}\" = set"; then
103827   echo $ECHO_N "(cached) $ECHO_C" >&6
103828 else
103829   if test x$gcc_no_link = xyes; then
103830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103832    { (exit 1); exit 1; }; }
103833 fi
103834 cat >conftest.$ac_ext <<_ACEOF
103835 /* confdefs.h.  */
103836 _ACEOF
103837 cat confdefs.h >>conftest.$ac_ext
103838 cat >>conftest.$ac_ext <<_ACEOF
103839 /* end confdefs.h.  */
103840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103842 #define $ac_func innocuous_$ac_func
103843
103844 /* System header to define __stub macros and hopefully few prototypes,
103845     which can conflict with char $ac_func (); below.
103846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103847     <limits.h> exists even on freestanding compilers.  */
103848
103849 #ifdef __STDC__
103850 # include <limits.h>
103851 #else
103852 # include <assert.h>
103853 #endif
103854
103855 #undef $ac_func
103856
103857 /* Override any gcc2 internal prototype to avoid an error.  */
103858 #ifdef __cplusplus
103859 extern "C"
103860 {
103861 #endif
103862 /* We use char because int might match the return type of a gcc2
103863    builtin and then its argument prototype would still apply.  */
103864 char $ac_func ();
103865 /* The GNU C library defines this for functions which it implements
103866     to always fail with ENOSYS.  Some functions are actually named
103867     something starting with __ and the normal name is an alias.  */
103868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103869 choke me
103870 #else
103871 char (*f) () = $ac_func;
103872 #endif
103873 #ifdef __cplusplus
103874 }
103875 #endif
103876
103877 int
103878 main ()
103879 {
103880 return f != $ac_func;
103881   ;
103882   return 0;
103883 }
103884 _ACEOF
103885 rm -f conftest.$ac_objext conftest$ac_exeext
103886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103887   (eval $ac_link) 2>conftest.er1
103888   ac_status=$?
103889   grep -v '^ *+' conftest.er1 >conftest.err
103890   rm -f conftest.er1
103891   cat conftest.err >&5
103892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103893   (exit $ac_status); } &&
103894          { ac_try='test -z "$ac_c_werror_flag"
103895                          || test ! -s conftest.err'
103896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103897   (eval $ac_try) 2>&5
103898   ac_status=$?
103899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103900   (exit $ac_status); }; } &&
103901          { ac_try='test -s conftest$ac_exeext'
103902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103903   (eval $ac_try) 2>&5
103904   ac_status=$?
103905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103906   (exit $ac_status); }; }; then
103907   eval "$as_ac_var=yes"
103908 else
103909   echo "$as_me: failed program was:" >&5
103910 sed 's/^/| /' conftest.$ac_ext >&5
103911
103912 eval "$as_ac_var=no"
103913 fi
103914 rm -f conftest.err conftest.$ac_objext \
103915       conftest$ac_exeext conftest.$ac_ext
103916 fi
103917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103919 if test `eval echo '${'$as_ac_var'}'` = yes; then
103920   cat >>confdefs.h <<_ACEOF
103921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103922 _ACEOF
103923
103924 fi
103925 done
103926
103927   else
103928
103929   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
103930 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
103931   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
103932     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
103933   echo $ECHO_N "(cached) $ECHO_C" >&6
103934 else
103935
103936
103937
103938       ac_ext=cc
103939 ac_cpp='$CXXCPP $CPPFLAGS'
103940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103943
103944       cat >conftest.$ac_ext <<_ACEOF
103945 /* confdefs.h.  */
103946 _ACEOF
103947 cat confdefs.h >>conftest.$ac_ext
103948 cat >>conftest.$ac_ext <<_ACEOF
103949 /* end confdefs.h.  */
103950 #include <math.h>
103951                       #ifdef HAVE_IEEEFP_H
103952                       #include <ieeefp.h>
103953                       #endif
103954
103955 int
103956 main ()
103957 {
103958  _finitel(0);
103959   ;
103960   return 0;
103961 }
103962 _ACEOF
103963 rm -f conftest.$ac_objext
103964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103965   (eval $ac_compile) 2>conftest.er1
103966   ac_status=$?
103967   grep -v '^ *+' conftest.er1 >conftest.err
103968   rm -f conftest.er1
103969   cat conftest.err >&5
103970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103971   (exit $ac_status); } &&
103972          { ac_try='test -z "$ac_cxx_werror_flag"
103973                          || test ! -s conftest.err'
103974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103975   (eval $ac_try) 2>&5
103976   ac_status=$?
103977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103978   (exit $ac_status); }; } &&
103979          { ac_try='test -s conftest.$ac_objext'
103980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103981   (eval $ac_try) 2>&5
103982   ac_status=$?
103983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103984   (exit $ac_status); }; }; then
103985   glibcxx_cv_func__finitel_use=yes
103986 else
103987   echo "$as_me: failed program was:" >&5
103988 sed 's/^/| /' conftest.$ac_ext >&5
103989
103990 glibcxx_cv_func__finitel_use=no
103991 fi
103992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103993       ac_ext=c
103994 ac_cpp='$CPP $CPPFLAGS'
103995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103998
103999
104000 fi
104001
104002   fi
104003   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104004 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104005
104006     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104007
104008 for ac_func in _finitel
104009 do
104010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104011 echo "$as_me:$LINENO: checking for $ac_func" >&5
104012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104013 if eval "test \"\${$as_ac_var+set}\" = set"; then
104014   echo $ECHO_N "(cached) $ECHO_C" >&6
104015 else
104016   if test x$gcc_no_link = xyes; then
104017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104019    { (exit 1); exit 1; }; }
104020 fi
104021 cat >conftest.$ac_ext <<_ACEOF
104022 /* confdefs.h.  */
104023 _ACEOF
104024 cat confdefs.h >>conftest.$ac_ext
104025 cat >>conftest.$ac_ext <<_ACEOF
104026 /* end confdefs.h.  */
104027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104029 #define $ac_func innocuous_$ac_func
104030
104031 /* System header to define __stub macros and hopefully few prototypes,
104032     which can conflict with char $ac_func (); below.
104033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104034     <limits.h> exists even on freestanding compilers.  */
104035
104036 #ifdef __STDC__
104037 # include <limits.h>
104038 #else
104039 # include <assert.h>
104040 #endif
104041
104042 #undef $ac_func
104043
104044 /* Override any gcc2 internal prototype to avoid an error.  */
104045 #ifdef __cplusplus
104046 extern "C"
104047 {
104048 #endif
104049 /* We use char because int might match the return type of a gcc2
104050    builtin and then its argument prototype would still apply.  */
104051 char $ac_func ();
104052 /* The GNU C library defines this for functions which it implements
104053     to always fail with ENOSYS.  Some functions are actually named
104054     something starting with __ and the normal name is an alias.  */
104055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104056 choke me
104057 #else
104058 char (*f) () = $ac_func;
104059 #endif
104060 #ifdef __cplusplus
104061 }
104062 #endif
104063
104064 int
104065 main ()
104066 {
104067 return f != $ac_func;
104068   ;
104069   return 0;
104070 }
104071 _ACEOF
104072 rm -f conftest.$ac_objext conftest$ac_exeext
104073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104074   (eval $ac_link) 2>conftest.er1
104075   ac_status=$?
104076   grep -v '^ *+' conftest.er1 >conftest.err
104077   rm -f conftest.er1
104078   cat conftest.err >&5
104079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104080   (exit $ac_status); } &&
104081          { ac_try='test -z "$ac_c_werror_flag"
104082                          || test ! -s conftest.err'
104083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104084   (eval $ac_try) 2>&5
104085   ac_status=$?
104086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104087   (exit $ac_status); }; } &&
104088          { ac_try='test -s conftest$ac_exeext'
104089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104090   (eval $ac_try) 2>&5
104091   ac_status=$?
104092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104093   (exit $ac_status); }; }; then
104094   eval "$as_ac_var=yes"
104095 else
104096   echo "$as_me: failed program was:" >&5
104097 sed 's/^/| /' conftest.$ac_ext >&5
104098
104099 eval "$as_ac_var=no"
104100 fi
104101 rm -f conftest.err conftest.$ac_objext \
104102       conftest$ac_exeext conftest.$ac_ext
104103 fi
104104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104106 if test `eval echo '${'$as_ac_var'}'` = yes; then
104107   cat >>confdefs.h <<_ACEOF
104108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104109 _ACEOF
104110
104111 fi
104112 done
104113
104114     fi
104115   fi
104116
104117
104118
104119
104120
104121   LIBS="$ac_save_LIBS"
104122   CXXFLAGS="$ac_save_CXXFLAGS"
104123
104124
104125
104126   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104127 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104128   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104129     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104130   echo $ECHO_N "(cached) $ECHO_C" >&6
104131 else
104132
104133
104134
104135       ac_ext=cc
104136 ac_cpp='$CXXCPP $CPPFLAGS'
104137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104140
104141       cat >conftest.$ac_ext <<_ACEOF
104142 /* confdefs.h.  */
104143 _ACEOF
104144 cat confdefs.h >>conftest.$ac_ext
104145 cat >>conftest.$ac_ext <<_ACEOF
104146 /* end confdefs.h.  */
104147 #include <math.h>
104148 int
104149 main ()
104150 {
104151  __builtin_abs(0);
104152   ;
104153   return 0;
104154 }
104155 _ACEOF
104156 rm -f conftest.$ac_objext
104157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104158   (eval $ac_compile) 2>conftest.er1
104159   ac_status=$?
104160   grep -v '^ *+' conftest.er1 >conftest.err
104161   rm -f conftest.er1
104162   cat conftest.err >&5
104163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104164   (exit $ac_status); } &&
104165          { ac_try='test -z "$ac_cxx_werror_flag"
104166                          || test ! -s conftest.err'
104167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104168   (eval $ac_try) 2>&5
104169   ac_status=$?
104170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104171   (exit $ac_status); }; } &&
104172          { ac_try='test -s conftest.$ac_objext'
104173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104174   (eval $ac_try) 2>&5
104175   ac_status=$?
104176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104177   (exit $ac_status); }; }; then
104178   glibcxx_cv_func___builtin_abs_use=yes
104179 else
104180   echo "$as_me: failed program was:" >&5
104181 sed 's/^/| /' conftest.$ac_ext >&5
104182
104183 glibcxx_cv_func___builtin_abs_use=no
104184 fi
104185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104186       ac_ext=c
104187 ac_cpp='$CPP $CPPFLAGS'
104188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104191
104192
104193 fi
104194
104195   fi
104196   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104197 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104198   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104199     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104200 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104201     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104202       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104203   echo $ECHO_N "(cached) $ECHO_C" >&6
104204 else
104205
104206         if test x$gcc_no_link = xyes; then
104207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104209    { (exit 1); exit 1; }; }
104210 fi
104211 cat >conftest.$ac_ext <<_ACEOF
104212 /* confdefs.h.  */
104213 _ACEOF
104214 cat confdefs.h >>conftest.$ac_ext
104215 cat >>conftest.$ac_ext <<_ACEOF
104216 /* end confdefs.h.  */
104217 #include <math.h>
104218 int
104219 main ()
104220 {
104221  __builtin_abs(0);
104222   ;
104223   return 0;
104224 }
104225 _ACEOF
104226 rm -f conftest.$ac_objext conftest$ac_exeext
104227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104228   (eval $ac_link) 2>conftest.er1
104229   ac_status=$?
104230   grep -v '^ *+' conftest.er1 >conftest.err
104231   rm -f conftest.er1
104232   cat conftest.err >&5
104233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104234   (exit $ac_status); } &&
104235          { ac_try='test -z "$ac_c_werror_flag"
104236                          || test ! -s conftest.err'
104237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104238   (eval $ac_try) 2>&5
104239   ac_status=$?
104240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104241   (exit $ac_status); }; } &&
104242          { ac_try='test -s conftest$ac_exeext'
104243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104244   (eval $ac_try) 2>&5
104245   ac_status=$?
104246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104247   (exit $ac_status); }; }; then
104248   glibcxx_cv_func___builtin_abs_link=yes
104249 else
104250   echo "$as_me: failed program was:" >&5
104251 sed 's/^/| /' conftest.$ac_ext >&5
104252
104253 glibcxx_cv_func___builtin_abs_link=no
104254 fi
104255 rm -f conftest.err conftest.$ac_objext \
104256       conftest$ac_exeext conftest.$ac_ext
104257
104258 fi
104259
104260     fi
104261     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
104262 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
104263
104264     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
104265
104266 cat >>confdefs.h <<\_ACEOF
104267 #define HAVE___BUILTIN_ABS 1
104268 _ACEOF
104269
104270     fi
104271
104272   fi
104273
104274
104275   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
104276 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
104277   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
104278     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
104279   echo $ECHO_N "(cached) $ECHO_C" >&6
104280 else
104281
104282
104283
104284       ac_ext=cc
104285 ac_cpp='$CXXCPP $CPPFLAGS'
104286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104289
104290       cat >conftest.$ac_ext <<_ACEOF
104291 /* confdefs.h.  */
104292 _ACEOF
104293 cat confdefs.h >>conftest.$ac_ext
104294 cat >>conftest.$ac_ext <<_ACEOF
104295 /* end confdefs.h.  */
104296 #include <math.h>
104297 int
104298 main ()
104299 {
104300  __builtin_fabsf(0);
104301   ;
104302   return 0;
104303 }
104304 _ACEOF
104305 rm -f conftest.$ac_objext
104306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104307   (eval $ac_compile) 2>conftest.er1
104308   ac_status=$?
104309   grep -v '^ *+' conftest.er1 >conftest.err
104310   rm -f conftest.er1
104311   cat conftest.err >&5
104312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104313   (exit $ac_status); } &&
104314          { ac_try='test -z "$ac_cxx_werror_flag"
104315                          || test ! -s conftest.err'
104316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104317   (eval $ac_try) 2>&5
104318   ac_status=$?
104319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104320   (exit $ac_status); }; } &&
104321          { ac_try='test -s conftest.$ac_objext'
104322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104323   (eval $ac_try) 2>&5
104324   ac_status=$?
104325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104326   (exit $ac_status); }; }; then
104327   glibcxx_cv_func___builtin_fabsf_use=yes
104328 else
104329   echo "$as_me: failed program was:" >&5
104330 sed 's/^/| /' conftest.$ac_ext >&5
104331
104332 glibcxx_cv_func___builtin_fabsf_use=no
104333 fi
104334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104335       ac_ext=c
104336 ac_cpp='$CPP $CPPFLAGS'
104337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104340
104341
104342 fi
104343
104344   fi
104345   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
104346 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
104347   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
104348     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
104349 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
104350     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
104351       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
104352   echo $ECHO_N "(cached) $ECHO_C" >&6
104353 else
104354
104355         if test x$gcc_no_link = xyes; then
104356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104358    { (exit 1); exit 1; }; }
104359 fi
104360 cat >conftest.$ac_ext <<_ACEOF
104361 /* confdefs.h.  */
104362 _ACEOF
104363 cat confdefs.h >>conftest.$ac_ext
104364 cat >>conftest.$ac_ext <<_ACEOF
104365 /* end confdefs.h.  */
104366 #include <math.h>
104367 int
104368 main ()
104369 {
104370  __builtin_fabsf(0);
104371   ;
104372   return 0;
104373 }
104374 _ACEOF
104375 rm -f conftest.$ac_objext conftest$ac_exeext
104376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104377   (eval $ac_link) 2>conftest.er1
104378   ac_status=$?
104379   grep -v '^ *+' conftest.er1 >conftest.err
104380   rm -f conftest.er1
104381   cat conftest.err >&5
104382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104383   (exit $ac_status); } &&
104384          { ac_try='test -z "$ac_c_werror_flag"
104385                          || test ! -s conftest.err'
104386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104387   (eval $ac_try) 2>&5
104388   ac_status=$?
104389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104390   (exit $ac_status); }; } &&
104391          { ac_try='test -s conftest$ac_exeext'
104392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104393   (eval $ac_try) 2>&5
104394   ac_status=$?
104395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104396   (exit $ac_status); }; }; then
104397   glibcxx_cv_func___builtin_fabsf_link=yes
104398 else
104399   echo "$as_me: failed program was:" >&5
104400 sed 's/^/| /' conftest.$ac_ext >&5
104401
104402 glibcxx_cv_func___builtin_fabsf_link=no
104403 fi
104404 rm -f conftest.err conftest.$ac_objext \
104405       conftest$ac_exeext conftest.$ac_ext
104406
104407 fi
104408
104409     fi
104410     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
104411 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
104412
104413     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
104414
104415 cat >>confdefs.h <<\_ACEOF
104416 #define HAVE___BUILTIN_FABSF 1
104417 _ACEOF
104418
104419     fi
104420
104421   fi
104422
104423
104424   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
104425 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
104426   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
104427     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
104428   echo $ECHO_N "(cached) $ECHO_C" >&6
104429 else
104430
104431
104432
104433       ac_ext=cc
104434 ac_cpp='$CXXCPP $CPPFLAGS'
104435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104438
104439       cat >conftest.$ac_ext <<_ACEOF
104440 /* confdefs.h.  */
104441 _ACEOF
104442 cat confdefs.h >>conftest.$ac_ext
104443 cat >>conftest.$ac_ext <<_ACEOF
104444 /* end confdefs.h.  */
104445 #include <math.h>
104446 int
104447 main ()
104448 {
104449  __builtin_fabs(0);
104450   ;
104451   return 0;
104452 }
104453 _ACEOF
104454 rm -f conftest.$ac_objext
104455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104456   (eval $ac_compile) 2>conftest.er1
104457   ac_status=$?
104458   grep -v '^ *+' conftest.er1 >conftest.err
104459   rm -f conftest.er1
104460   cat conftest.err >&5
104461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104462   (exit $ac_status); } &&
104463          { ac_try='test -z "$ac_cxx_werror_flag"
104464                          || test ! -s conftest.err'
104465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104466   (eval $ac_try) 2>&5
104467   ac_status=$?
104468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104469   (exit $ac_status); }; } &&
104470          { ac_try='test -s conftest.$ac_objext'
104471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104472   (eval $ac_try) 2>&5
104473   ac_status=$?
104474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104475   (exit $ac_status); }; }; then
104476   glibcxx_cv_func___builtin_fabs_use=yes
104477 else
104478   echo "$as_me: failed program was:" >&5
104479 sed 's/^/| /' conftest.$ac_ext >&5
104480
104481 glibcxx_cv_func___builtin_fabs_use=no
104482 fi
104483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104484       ac_ext=c
104485 ac_cpp='$CPP $CPPFLAGS'
104486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104489
104490
104491 fi
104492
104493   fi
104494   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
104495 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
104496   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
104497     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
104498 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
104499     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
104500       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
104501   echo $ECHO_N "(cached) $ECHO_C" >&6
104502 else
104503
104504         if test x$gcc_no_link = xyes; then
104505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104507    { (exit 1); exit 1; }; }
104508 fi
104509 cat >conftest.$ac_ext <<_ACEOF
104510 /* confdefs.h.  */
104511 _ACEOF
104512 cat confdefs.h >>conftest.$ac_ext
104513 cat >>conftest.$ac_ext <<_ACEOF
104514 /* end confdefs.h.  */
104515 #include <math.h>
104516 int
104517 main ()
104518 {
104519  __builtin_fabs(0);
104520   ;
104521   return 0;
104522 }
104523 _ACEOF
104524 rm -f conftest.$ac_objext conftest$ac_exeext
104525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104526   (eval $ac_link) 2>conftest.er1
104527   ac_status=$?
104528   grep -v '^ *+' conftest.er1 >conftest.err
104529   rm -f conftest.er1
104530   cat conftest.err >&5
104531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104532   (exit $ac_status); } &&
104533          { ac_try='test -z "$ac_c_werror_flag"
104534                          || test ! -s conftest.err'
104535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104536   (eval $ac_try) 2>&5
104537   ac_status=$?
104538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104539   (exit $ac_status); }; } &&
104540          { ac_try='test -s conftest$ac_exeext'
104541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104542   (eval $ac_try) 2>&5
104543   ac_status=$?
104544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104545   (exit $ac_status); }; }; then
104546   glibcxx_cv_func___builtin_fabs_link=yes
104547 else
104548   echo "$as_me: failed program was:" >&5
104549 sed 's/^/| /' conftest.$ac_ext >&5
104550
104551 glibcxx_cv_func___builtin_fabs_link=no
104552 fi
104553 rm -f conftest.err conftest.$ac_objext \
104554       conftest$ac_exeext conftest.$ac_ext
104555
104556 fi
104557
104558     fi
104559     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
104560 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
104561
104562     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
104563
104564 cat >>confdefs.h <<\_ACEOF
104565 #define HAVE___BUILTIN_FABS 1
104566 _ACEOF
104567
104568     fi
104569
104570   fi
104571
104572
104573   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
104574 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
104575   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
104576     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
104577   echo $ECHO_N "(cached) $ECHO_C" >&6
104578 else
104579
104580
104581
104582       ac_ext=cc
104583 ac_cpp='$CXXCPP $CPPFLAGS'
104584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104587
104588       cat >conftest.$ac_ext <<_ACEOF
104589 /* confdefs.h.  */
104590 _ACEOF
104591 cat confdefs.h >>conftest.$ac_ext
104592 cat >>conftest.$ac_ext <<_ACEOF
104593 /* end confdefs.h.  */
104594 #include <math.h>
104595 int
104596 main ()
104597 {
104598  __builtin_fabsl(0);
104599   ;
104600   return 0;
104601 }
104602 _ACEOF
104603 rm -f conftest.$ac_objext
104604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104605   (eval $ac_compile) 2>conftest.er1
104606   ac_status=$?
104607   grep -v '^ *+' conftest.er1 >conftest.err
104608   rm -f conftest.er1
104609   cat conftest.err >&5
104610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104611   (exit $ac_status); } &&
104612          { ac_try='test -z "$ac_cxx_werror_flag"
104613                          || test ! -s conftest.err'
104614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104615   (eval $ac_try) 2>&5
104616   ac_status=$?
104617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104618   (exit $ac_status); }; } &&
104619          { ac_try='test -s conftest.$ac_objext'
104620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104621   (eval $ac_try) 2>&5
104622   ac_status=$?
104623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104624   (exit $ac_status); }; }; then
104625   glibcxx_cv_func___builtin_fabsl_use=yes
104626 else
104627   echo "$as_me: failed program was:" >&5
104628 sed 's/^/| /' conftest.$ac_ext >&5
104629
104630 glibcxx_cv_func___builtin_fabsl_use=no
104631 fi
104632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104633       ac_ext=c
104634 ac_cpp='$CPP $CPPFLAGS'
104635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104638
104639
104640 fi
104641
104642   fi
104643   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
104644 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
104645   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
104646     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
104647 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
104648     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
104649       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
104650   echo $ECHO_N "(cached) $ECHO_C" >&6
104651 else
104652
104653         if test x$gcc_no_link = xyes; then
104654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104656    { (exit 1); exit 1; }; }
104657 fi
104658 cat >conftest.$ac_ext <<_ACEOF
104659 /* confdefs.h.  */
104660 _ACEOF
104661 cat confdefs.h >>conftest.$ac_ext
104662 cat >>conftest.$ac_ext <<_ACEOF
104663 /* end confdefs.h.  */
104664 #include <math.h>
104665 int
104666 main ()
104667 {
104668  __builtin_fabsl(0);
104669   ;
104670   return 0;
104671 }
104672 _ACEOF
104673 rm -f conftest.$ac_objext conftest$ac_exeext
104674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104675   (eval $ac_link) 2>conftest.er1
104676   ac_status=$?
104677   grep -v '^ *+' conftest.er1 >conftest.err
104678   rm -f conftest.er1
104679   cat conftest.err >&5
104680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104681   (exit $ac_status); } &&
104682          { ac_try='test -z "$ac_c_werror_flag"
104683                          || test ! -s conftest.err'
104684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104685   (eval $ac_try) 2>&5
104686   ac_status=$?
104687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104688   (exit $ac_status); }; } &&
104689          { ac_try='test -s conftest$ac_exeext'
104690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104691   (eval $ac_try) 2>&5
104692   ac_status=$?
104693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104694   (exit $ac_status); }; }; then
104695   glibcxx_cv_func___builtin_fabsl_link=yes
104696 else
104697   echo "$as_me: failed program was:" >&5
104698 sed 's/^/| /' conftest.$ac_ext >&5
104699
104700 glibcxx_cv_func___builtin_fabsl_link=no
104701 fi
104702 rm -f conftest.err conftest.$ac_objext \
104703       conftest$ac_exeext conftest.$ac_ext
104704
104705 fi
104706
104707     fi
104708     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
104709 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
104710
104711     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
104712
104713 cat >>confdefs.h <<\_ACEOF
104714 #define HAVE___BUILTIN_FABSL 1
104715 _ACEOF
104716
104717     fi
104718
104719   fi
104720
104721
104722   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
104723 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
104724   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
104725     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
104726   echo $ECHO_N "(cached) $ECHO_C" >&6
104727 else
104728
104729
104730
104731       ac_ext=cc
104732 ac_cpp='$CXXCPP $CPPFLAGS'
104733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104736
104737       cat >conftest.$ac_ext <<_ACEOF
104738 /* confdefs.h.  */
104739 _ACEOF
104740 cat confdefs.h >>conftest.$ac_ext
104741 cat >>conftest.$ac_ext <<_ACEOF
104742 /* end confdefs.h.  */
104743 #include <math.h>
104744 int
104745 main ()
104746 {
104747  __builtin_labs(0);
104748   ;
104749   return 0;
104750 }
104751 _ACEOF
104752 rm -f conftest.$ac_objext
104753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104754   (eval $ac_compile) 2>conftest.er1
104755   ac_status=$?
104756   grep -v '^ *+' conftest.er1 >conftest.err
104757   rm -f conftest.er1
104758   cat conftest.err >&5
104759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104760   (exit $ac_status); } &&
104761          { ac_try='test -z "$ac_cxx_werror_flag"
104762                          || test ! -s conftest.err'
104763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104764   (eval $ac_try) 2>&5
104765   ac_status=$?
104766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104767   (exit $ac_status); }; } &&
104768          { ac_try='test -s conftest.$ac_objext'
104769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104770   (eval $ac_try) 2>&5
104771   ac_status=$?
104772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104773   (exit $ac_status); }; }; then
104774   glibcxx_cv_func___builtin_labs_use=yes
104775 else
104776   echo "$as_me: failed program was:" >&5
104777 sed 's/^/| /' conftest.$ac_ext >&5
104778
104779 glibcxx_cv_func___builtin_labs_use=no
104780 fi
104781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104782       ac_ext=c
104783 ac_cpp='$CPP $CPPFLAGS'
104784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104787
104788
104789 fi
104790
104791   fi
104792   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
104793 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
104794   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
104795     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
104796 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
104797     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
104798       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
104799   echo $ECHO_N "(cached) $ECHO_C" >&6
104800 else
104801
104802         if test x$gcc_no_link = xyes; then
104803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104805    { (exit 1); exit 1; }; }
104806 fi
104807 cat >conftest.$ac_ext <<_ACEOF
104808 /* confdefs.h.  */
104809 _ACEOF
104810 cat confdefs.h >>conftest.$ac_ext
104811 cat >>conftest.$ac_ext <<_ACEOF
104812 /* end confdefs.h.  */
104813 #include <math.h>
104814 int
104815 main ()
104816 {
104817  __builtin_labs(0);
104818   ;
104819   return 0;
104820 }
104821 _ACEOF
104822 rm -f conftest.$ac_objext conftest$ac_exeext
104823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104824   (eval $ac_link) 2>conftest.er1
104825   ac_status=$?
104826   grep -v '^ *+' conftest.er1 >conftest.err
104827   rm -f conftest.er1
104828   cat conftest.err >&5
104829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104830   (exit $ac_status); } &&
104831          { ac_try='test -z "$ac_c_werror_flag"
104832                          || test ! -s conftest.err'
104833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104834   (eval $ac_try) 2>&5
104835   ac_status=$?
104836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104837   (exit $ac_status); }; } &&
104838          { ac_try='test -s conftest$ac_exeext'
104839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104840   (eval $ac_try) 2>&5
104841   ac_status=$?
104842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104843   (exit $ac_status); }; }; then
104844   glibcxx_cv_func___builtin_labs_link=yes
104845 else
104846   echo "$as_me: failed program was:" >&5
104847 sed 's/^/| /' conftest.$ac_ext >&5
104848
104849 glibcxx_cv_func___builtin_labs_link=no
104850 fi
104851 rm -f conftest.err conftest.$ac_objext \
104852       conftest$ac_exeext conftest.$ac_ext
104853
104854 fi
104855
104856     fi
104857     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
104858 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
104859
104860     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
104861
104862 cat >>confdefs.h <<\_ACEOF
104863 #define HAVE___BUILTIN_LABS 1
104864 _ACEOF
104865
104866     fi
104867
104868   fi
104869
104870
104871
104872   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
104873 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
104874   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
104875     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
104876   echo $ECHO_N "(cached) $ECHO_C" >&6
104877 else
104878
104879
104880
104881       ac_ext=cc
104882 ac_cpp='$CXXCPP $CPPFLAGS'
104883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104886
104887       cat >conftest.$ac_ext <<_ACEOF
104888 /* confdefs.h.  */
104889 _ACEOF
104890 cat confdefs.h >>conftest.$ac_ext
104891 cat >>conftest.$ac_ext <<_ACEOF
104892 /* end confdefs.h.  */
104893 #include <math.h>
104894 int
104895 main ()
104896 {
104897  __builtin_sqrtf(0);
104898   ;
104899   return 0;
104900 }
104901 _ACEOF
104902 rm -f conftest.$ac_objext
104903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104904   (eval $ac_compile) 2>conftest.er1
104905   ac_status=$?
104906   grep -v '^ *+' conftest.er1 >conftest.err
104907   rm -f conftest.er1
104908   cat conftest.err >&5
104909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104910   (exit $ac_status); } &&
104911          { ac_try='test -z "$ac_cxx_werror_flag"
104912                          || test ! -s conftest.err'
104913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104914   (eval $ac_try) 2>&5
104915   ac_status=$?
104916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104917   (exit $ac_status); }; } &&
104918          { ac_try='test -s conftest.$ac_objext'
104919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104920   (eval $ac_try) 2>&5
104921   ac_status=$?
104922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104923   (exit $ac_status); }; }; then
104924   glibcxx_cv_func___builtin_sqrtf_use=yes
104925 else
104926   echo "$as_me: failed program was:" >&5
104927 sed 's/^/| /' conftest.$ac_ext >&5
104928
104929 glibcxx_cv_func___builtin_sqrtf_use=no
104930 fi
104931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104932       ac_ext=c
104933 ac_cpp='$CPP $CPPFLAGS'
104934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104937
104938
104939 fi
104940
104941   fi
104942   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
104943 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
104944   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
104945     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
104946 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
104947     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
104948       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
104949   echo $ECHO_N "(cached) $ECHO_C" >&6
104950 else
104951
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 #include <math.h>
104964 int
104965 main ()
104966 {
104967  __builtin_sqrtf(0);
104968   ;
104969   return 0;
104970 }
104971 _ACEOF
104972 rm -f conftest.$ac_objext conftest$ac_exeext
104973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104974   (eval $ac_link) 2>conftest.er1
104975   ac_status=$?
104976   grep -v '^ *+' conftest.er1 >conftest.err
104977   rm -f conftest.er1
104978   cat conftest.err >&5
104979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104980   (exit $ac_status); } &&
104981          { ac_try='test -z "$ac_c_werror_flag"
104982                          || test ! -s conftest.err'
104983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104984   (eval $ac_try) 2>&5
104985   ac_status=$?
104986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104987   (exit $ac_status); }; } &&
104988          { ac_try='test -s conftest$ac_exeext'
104989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104990   (eval $ac_try) 2>&5
104991   ac_status=$?
104992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104993   (exit $ac_status); }; }; then
104994   glibcxx_cv_func___builtin_sqrtf_link=yes
104995 else
104996   echo "$as_me: failed program was:" >&5
104997 sed 's/^/| /' conftest.$ac_ext >&5
104998
104999 glibcxx_cv_func___builtin_sqrtf_link=no
105000 fi
105001 rm -f conftest.err conftest.$ac_objext \
105002       conftest$ac_exeext conftest.$ac_ext
105003
105004 fi
105005
105006     fi
105007     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105008 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105009
105010     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105011
105012 cat >>confdefs.h <<\_ACEOF
105013 #define HAVE___BUILTIN_SQRTF 1
105014 _ACEOF
105015
105016     fi
105017
105018   fi
105019
105020
105021   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105022 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105023   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105024     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105025   echo $ECHO_N "(cached) $ECHO_C" >&6
105026 else
105027
105028
105029
105030       ac_ext=cc
105031 ac_cpp='$CXXCPP $CPPFLAGS'
105032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105035
105036       cat >conftest.$ac_ext <<_ACEOF
105037 /* confdefs.h.  */
105038 _ACEOF
105039 cat confdefs.h >>conftest.$ac_ext
105040 cat >>conftest.$ac_ext <<_ACEOF
105041 /* end confdefs.h.  */
105042 #include <math.h>
105043 int
105044 main ()
105045 {
105046  __builtin_sqrt(0);
105047   ;
105048   return 0;
105049 }
105050 _ACEOF
105051 rm -f conftest.$ac_objext
105052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105053   (eval $ac_compile) 2>conftest.er1
105054   ac_status=$?
105055   grep -v '^ *+' conftest.er1 >conftest.err
105056   rm -f conftest.er1
105057   cat conftest.err >&5
105058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105059   (exit $ac_status); } &&
105060          { ac_try='test -z "$ac_cxx_werror_flag"
105061                          || test ! -s conftest.err'
105062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105063   (eval $ac_try) 2>&5
105064   ac_status=$?
105065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105066   (exit $ac_status); }; } &&
105067          { ac_try='test -s conftest.$ac_objext'
105068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105069   (eval $ac_try) 2>&5
105070   ac_status=$?
105071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105072   (exit $ac_status); }; }; then
105073   glibcxx_cv_func___builtin_sqrt_use=yes
105074 else
105075   echo "$as_me: failed program was:" >&5
105076 sed 's/^/| /' conftest.$ac_ext >&5
105077
105078 glibcxx_cv_func___builtin_sqrt_use=no
105079 fi
105080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105081       ac_ext=c
105082 ac_cpp='$CPP $CPPFLAGS'
105083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105086
105087
105088 fi
105089
105090   fi
105091   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105092 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105093   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105094     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105095 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105096     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105097       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105098   echo $ECHO_N "(cached) $ECHO_C" >&6
105099 else
105100
105101         if test x$gcc_no_link = xyes; then
105102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105104    { (exit 1); exit 1; }; }
105105 fi
105106 cat >conftest.$ac_ext <<_ACEOF
105107 /* confdefs.h.  */
105108 _ACEOF
105109 cat confdefs.h >>conftest.$ac_ext
105110 cat >>conftest.$ac_ext <<_ACEOF
105111 /* end confdefs.h.  */
105112 #include <math.h>
105113 int
105114 main ()
105115 {
105116  __builtin_sqrt(0);
105117   ;
105118   return 0;
105119 }
105120 _ACEOF
105121 rm -f conftest.$ac_objext conftest$ac_exeext
105122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105123   (eval $ac_link) 2>conftest.er1
105124   ac_status=$?
105125   grep -v '^ *+' conftest.er1 >conftest.err
105126   rm -f conftest.er1
105127   cat conftest.err >&5
105128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105129   (exit $ac_status); } &&
105130          { ac_try='test -z "$ac_c_werror_flag"
105131                          || test ! -s conftest.err'
105132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105133   (eval $ac_try) 2>&5
105134   ac_status=$?
105135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105136   (exit $ac_status); }; } &&
105137          { ac_try='test -s conftest$ac_exeext'
105138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105139   (eval $ac_try) 2>&5
105140   ac_status=$?
105141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105142   (exit $ac_status); }; }; then
105143   glibcxx_cv_func___builtin_sqrt_link=yes
105144 else
105145   echo "$as_me: failed program was:" >&5
105146 sed 's/^/| /' conftest.$ac_ext >&5
105147
105148 glibcxx_cv_func___builtin_sqrt_link=no
105149 fi
105150 rm -f conftest.err conftest.$ac_objext \
105151       conftest$ac_exeext conftest.$ac_ext
105152
105153 fi
105154
105155     fi
105156     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105157 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105158
105159     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105160
105161 cat >>confdefs.h <<\_ACEOF
105162 #define HAVE___BUILTIN_SQRT 1
105163 _ACEOF
105164
105165     fi
105166
105167   fi
105168
105169
105170   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105171 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105172   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105173     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105174   echo $ECHO_N "(cached) $ECHO_C" >&6
105175 else
105176
105177
105178
105179       ac_ext=cc
105180 ac_cpp='$CXXCPP $CPPFLAGS'
105181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105184
105185       cat >conftest.$ac_ext <<_ACEOF
105186 /* confdefs.h.  */
105187 _ACEOF
105188 cat confdefs.h >>conftest.$ac_ext
105189 cat >>conftest.$ac_ext <<_ACEOF
105190 /* end confdefs.h.  */
105191 #include <math.h>
105192 int
105193 main ()
105194 {
105195  __builtin_sqrtl(0);
105196   ;
105197   return 0;
105198 }
105199 _ACEOF
105200 rm -f conftest.$ac_objext
105201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105202   (eval $ac_compile) 2>conftest.er1
105203   ac_status=$?
105204   grep -v '^ *+' conftest.er1 >conftest.err
105205   rm -f conftest.er1
105206   cat conftest.err >&5
105207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105208   (exit $ac_status); } &&
105209          { ac_try='test -z "$ac_cxx_werror_flag"
105210                          || test ! -s conftest.err'
105211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105212   (eval $ac_try) 2>&5
105213   ac_status=$?
105214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105215   (exit $ac_status); }; } &&
105216          { ac_try='test -s conftest.$ac_objext'
105217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105218   (eval $ac_try) 2>&5
105219   ac_status=$?
105220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105221   (exit $ac_status); }; }; then
105222   glibcxx_cv_func___builtin_sqrtl_use=yes
105223 else
105224   echo "$as_me: failed program was:" >&5
105225 sed 's/^/| /' conftest.$ac_ext >&5
105226
105227 glibcxx_cv_func___builtin_sqrtl_use=no
105228 fi
105229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105230       ac_ext=c
105231 ac_cpp='$CPP $CPPFLAGS'
105232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105235
105236
105237 fi
105238
105239   fi
105240   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
105241 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
105242   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
105243     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
105244 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
105245     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
105246       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
105247   echo $ECHO_N "(cached) $ECHO_C" >&6
105248 else
105249
105250         if test x$gcc_no_link = xyes; then
105251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105253    { (exit 1); exit 1; }; }
105254 fi
105255 cat >conftest.$ac_ext <<_ACEOF
105256 /* confdefs.h.  */
105257 _ACEOF
105258 cat confdefs.h >>conftest.$ac_ext
105259 cat >>conftest.$ac_ext <<_ACEOF
105260 /* end confdefs.h.  */
105261 #include <math.h>
105262 int
105263 main ()
105264 {
105265  __builtin_sqrtl(0);
105266   ;
105267   return 0;
105268 }
105269 _ACEOF
105270 rm -f conftest.$ac_objext conftest$ac_exeext
105271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105272   (eval $ac_link) 2>conftest.er1
105273   ac_status=$?
105274   grep -v '^ *+' conftest.er1 >conftest.err
105275   rm -f conftest.er1
105276   cat conftest.err >&5
105277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105278   (exit $ac_status); } &&
105279          { ac_try='test -z "$ac_c_werror_flag"
105280                          || test ! -s conftest.err'
105281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105282   (eval $ac_try) 2>&5
105283   ac_status=$?
105284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105285   (exit $ac_status); }; } &&
105286          { ac_try='test -s conftest$ac_exeext'
105287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105288   (eval $ac_try) 2>&5
105289   ac_status=$?
105290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105291   (exit $ac_status); }; }; then
105292   glibcxx_cv_func___builtin_sqrtl_link=yes
105293 else
105294   echo "$as_me: failed program was:" >&5
105295 sed 's/^/| /' conftest.$ac_ext >&5
105296
105297 glibcxx_cv_func___builtin_sqrtl_link=no
105298 fi
105299 rm -f conftest.err conftest.$ac_objext \
105300       conftest$ac_exeext conftest.$ac_ext
105301
105302 fi
105303
105304     fi
105305     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
105306 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
105307
105308     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
105309
105310 cat >>confdefs.h <<\_ACEOF
105311 #define HAVE___BUILTIN_SQRTL 1
105312 _ACEOF
105313
105314     fi
105315
105316   fi
105317
105318
105319
105320   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
105321 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
105322   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
105323     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
105324   echo $ECHO_N "(cached) $ECHO_C" >&6
105325 else
105326
105327
105328
105329       ac_ext=cc
105330 ac_cpp='$CXXCPP $CPPFLAGS'
105331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105334
105335       cat >conftest.$ac_ext <<_ACEOF
105336 /* confdefs.h.  */
105337 _ACEOF
105338 cat confdefs.h >>conftest.$ac_ext
105339 cat >>conftest.$ac_ext <<_ACEOF
105340 /* end confdefs.h.  */
105341 #include <math.h>
105342 int
105343 main ()
105344 {
105345  __builtin_sinf(0);
105346   ;
105347   return 0;
105348 }
105349 _ACEOF
105350 rm -f conftest.$ac_objext
105351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105352   (eval $ac_compile) 2>conftest.er1
105353   ac_status=$?
105354   grep -v '^ *+' conftest.er1 >conftest.err
105355   rm -f conftest.er1
105356   cat conftest.err >&5
105357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105358   (exit $ac_status); } &&
105359          { ac_try='test -z "$ac_cxx_werror_flag"
105360                          || test ! -s conftest.err'
105361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105362   (eval $ac_try) 2>&5
105363   ac_status=$?
105364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105365   (exit $ac_status); }; } &&
105366          { ac_try='test -s conftest.$ac_objext'
105367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105368   (eval $ac_try) 2>&5
105369   ac_status=$?
105370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371   (exit $ac_status); }; }; then
105372   glibcxx_cv_func___builtin_sinf_use=yes
105373 else
105374   echo "$as_me: failed program was:" >&5
105375 sed 's/^/| /' conftest.$ac_ext >&5
105376
105377 glibcxx_cv_func___builtin_sinf_use=no
105378 fi
105379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105380       ac_ext=c
105381 ac_cpp='$CPP $CPPFLAGS'
105382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105385
105386
105387 fi
105388
105389   fi
105390   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
105391 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
105392   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
105393     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
105394 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
105395     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
105396       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
105397   echo $ECHO_N "(cached) $ECHO_C" >&6
105398 else
105399
105400         if test x$gcc_no_link = xyes; then
105401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105403    { (exit 1); exit 1; }; }
105404 fi
105405 cat >conftest.$ac_ext <<_ACEOF
105406 /* confdefs.h.  */
105407 _ACEOF
105408 cat confdefs.h >>conftest.$ac_ext
105409 cat >>conftest.$ac_ext <<_ACEOF
105410 /* end confdefs.h.  */
105411 #include <math.h>
105412 int
105413 main ()
105414 {
105415  __builtin_sinf(0);
105416   ;
105417   return 0;
105418 }
105419 _ACEOF
105420 rm -f conftest.$ac_objext conftest$ac_exeext
105421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105422   (eval $ac_link) 2>conftest.er1
105423   ac_status=$?
105424   grep -v '^ *+' conftest.er1 >conftest.err
105425   rm -f conftest.er1
105426   cat conftest.err >&5
105427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105428   (exit $ac_status); } &&
105429          { ac_try='test -z "$ac_c_werror_flag"
105430                          || test ! -s conftest.err'
105431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105432   (eval $ac_try) 2>&5
105433   ac_status=$?
105434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105435   (exit $ac_status); }; } &&
105436          { ac_try='test -s conftest$ac_exeext'
105437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105438   (eval $ac_try) 2>&5
105439   ac_status=$?
105440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105441   (exit $ac_status); }; }; then
105442   glibcxx_cv_func___builtin_sinf_link=yes
105443 else
105444   echo "$as_me: failed program was:" >&5
105445 sed 's/^/| /' conftest.$ac_ext >&5
105446
105447 glibcxx_cv_func___builtin_sinf_link=no
105448 fi
105449 rm -f conftest.err conftest.$ac_objext \
105450       conftest$ac_exeext conftest.$ac_ext
105451
105452 fi
105453
105454     fi
105455     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
105456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
105457
105458     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
105459
105460 cat >>confdefs.h <<\_ACEOF
105461 #define HAVE___BUILTIN_SINF 1
105462 _ACEOF
105463
105464     fi
105465
105466   fi
105467
105468
105469   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
105470 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
105471   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
105472     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
105473   echo $ECHO_N "(cached) $ECHO_C" >&6
105474 else
105475
105476
105477
105478       ac_ext=cc
105479 ac_cpp='$CXXCPP $CPPFLAGS'
105480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105483
105484       cat >conftest.$ac_ext <<_ACEOF
105485 /* confdefs.h.  */
105486 _ACEOF
105487 cat confdefs.h >>conftest.$ac_ext
105488 cat >>conftest.$ac_ext <<_ACEOF
105489 /* end confdefs.h.  */
105490 #include <math.h>
105491 int
105492 main ()
105493 {
105494  __builtin_sin(0);
105495   ;
105496   return 0;
105497 }
105498 _ACEOF
105499 rm -f conftest.$ac_objext
105500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105501   (eval $ac_compile) 2>conftest.er1
105502   ac_status=$?
105503   grep -v '^ *+' conftest.er1 >conftest.err
105504   rm -f conftest.er1
105505   cat conftest.err >&5
105506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105507   (exit $ac_status); } &&
105508          { ac_try='test -z "$ac_cxx_werror_flag"
105509                          || test ! -s conftest.err'
105510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105511   (eval $ac_try) 2>&5
105512   ac_status=$?
105513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105514   (exit $ac_status); }; } &&
105515          { ac_try='test -s conftest.$ac_objext'
105516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105517   (eval $ac_try) 2>&5
105518   ac_status=$?
105519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105520   (exit $ac_status); }; }; then
105521   glibcxx_cv_func___builtin_sin_use=yes
105522 else
105523   echo "$as_me: failed program was:" >&5
105524 sed 's/^/| /' conftest.$ac_ext >&5
105525
105526 glibcxx_cv_func___builtin_sin_use=no
105527 fi
105528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105529       ac_ext=c
105530 ac_cpp='$CPP $CPPFLAGS'
105531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105534
105535
105536 fi
105537
105538   fi
105539   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
105540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
105541   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
105542     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
105543 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
105544     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
105545       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
105546   echo $ECHO_N "(cached) $ECHO_C" >&6
105547 else
105548
105549         if test x$gcc_no_link = xyes; then
105550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105552    { (exit 1); exit 1; }; }
105553 fi
105554 cat >conftest.$ac_ext <<_ACEOF
105555 /* confdefs.h.  */
105556 _ACEOF
105557 cat confdefs.h >>conftest.$ac_ext
105558 cat >>conftest.$ac_ext <<_ACEOF
105559 /* end confdefs.h.  */
105560 #include <math.h>
105561 int
105562 main ()
105563 {
105564  __builtin_sin(0);
105565   ;
105566   return 0;
105567 }
105568 _ACEOF
105569 rm -f conftest.$ac_objext conftest$ac_exeext
105570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105571   (eval $ac_link) 2>conftest.er1
105572   ac_status=$?
105573   grep -v '^ *+' conftest.er1 >conftest.err
105574   rm -f conftest.er1
105575   cat conftest.err >&5
105576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105577   (exit $ac_status); } &&
105578          { ac_try='test -z "$ac_c_werror_flag"
105579                          || test ! -s conftest.err'
105580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105581   (eval $ac_try) 2>&5
105582   ac_status=$?
105583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105584   (exit $ac_status); }; } &&
105585          { ac_try='test -s conftest$ac_exeext'
105586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105587   (eval $ac_try) 2>&5
105588   ac_status=$?
105589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105590   (exit $ac_status); }; }; then
105591   glibcxx_cv_func___builtin_sin_link=yes
105592 else
105593   echo "$as_me: failed program was:" >&5
105594 sed 's/^/| /' conftest.$ac_ext >&5
105595
105596 glibcxx_cv_func___builtin_sin_link=no
105597 fi
105598 rm -f conftest.err conftest.$ac_objext \
105599       conftest$ac_exeext conftest.$ac_ext
105600
105601 fi
105602
105603     fi
105604     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
105605 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
105606
105607     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
105608
105609 cat >>confdefs.h <<\_ACEOF
105610 #define HAVE___BUILTIN_SIN 1
105611 _ACEOF
105612
105613     fi
105614
105615   fi
105616
105617
105618   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
105619 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
105620   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
105621     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
105622   echo $ECHO_N "(cached) $ECHO_C" >&6
105623 else
105624
105625
105626
105627       ac_ext=cc
105628 ac_cpp='$CXXCPP $CPPFLAGS'
105629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105632
105633       cat >conftest.$ac_ext <<_ACEOF
105634 /* confdefs.h.  */
105635 _ACEOF
105636 cat confdefs.h >>conftest.$ac_ext
105637 cat >>conftest.$ac_ext <<_ACEOF
105638 /* end confdefs.h.  */
105639 #include <math.h>
105640 int
105641 main ()
105642 {
105643  __builtin_sinl(0);
105644   ;
105645   return 0;
105646 }
105647 _ACEOF
105648 rm -f conftest.$ac_objext
105649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105650   (eval $ac_compile) 2>conftest.er1
105651   ac_status=$?
105652   grep -v '^ *+' conftest.er1 >conftest.err
105653   rm -f conftest.er1
105654   cat conftest.err >&5
105655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105656   (exit $ac_status); } &&
105657          { ac_try='test -z "$ac_cxx_werror_flag"
105658                          || test ! -s conftest.err'
105659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105660   (eval $ac_try) 2>&5
105661   ac_status=$?
105662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105663   (exit $ac_status); }; } &&
105664          { ac_try='test -s conftest.$ac_objext'
105665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105666   (eval $ac_try) 2>&5
105667   ac_status=$?
105668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105669   (exit $ac_status); }; }; then
105670   glibcxx_cv_func___builtin_sinl_use=yes
105671 else
105672   echo "$as_me: failed program was:" >&5
105673 sed 's/^/| /' conftest.$ac_ext >&5
105674
105675 glibcxx_cv_func___builtin_sinl_use=no
105676 fi
105677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105678       ac_ext=c
105679 ac_cpp='$CPP $CPPFLAGS'
105680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105683
105684
105685 fi
105686
105687   fi
105688   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
105689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
105690   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
105691     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
105692 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
105693     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
105694       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
105695   echo $ECHO_N "(cached) $ECHO_C" >&6
105696 else
105697
105698         if test x$gcc_no_link = xyes; then
105699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105701    { (exit 1); exit 1; }; }
105702 fi
105703 cat >conftest.$ac_ext <<_ACEOF
105704 /* confdefs.h.  */
105705 _ACEOF
105706 cat confdefs.h >>conftest.$ac_ext
105707 cat >>conftest.$ac_ext <<_ACEOF
105708 /* end confdefs.h.  */
105709 #include <math.h>
105710 int
105711 main ()
105712 {
105713  __builtin_sinl(0);
105714   ;
105715   return 0;
105716 }
105717 _ACEOF
105718 rm -f conftest.$ac_objext conftest$ac_exeext
105719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105720   (eval $ac_link) 2>conftest.er1
105721   ac_status=$?
105722   grep -v '^ *+' conftest.er1 >conftest.err
105723   rm -f conftest.er1
105724   cat conftest.err >&5
105725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105726   (exit $ac_status); } &&
105727          { ac_try='test -z "$ac_c_werror_flag"
105728                          || test ! -s conftest.err'
105729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105730   (eval $ac_try) 2>&5
105731   ac_status=$?
105732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105733   (exit $ac_status); }; } &&
105734          { ac_try='test -s conftest$ac_exeext'
105735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105736   (eval $ac_try) 2>&5
105737   ac_status=$?
105738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105739   (exit $ac_status); }; }; then
105740   glibcxx_cv_func___builtin_sinl_link=yes
105741 else
105742   echo "$as_me: failed program was:" >&5
105743 sed 's/^/| /' conftest.$ac_ext >&5
105744
105745 glibcxx_cv_func___builtin_sinl_link=no
105746 fi
105747 rm -f conftest.err conftest.$ac_objext \
105748       conftest$ac_exeext conftest.$ac_ext
105749
105750 fi
105751
105752     fi
105753     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
105754 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
105755
105756     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
105757
105758 cat >>confdefs.h <<\_ACEOF
105759 #define HAVE___BUILTIN_SINL 1
105760 _ACEOF
105761
105762     fi
105763
105764   fi
105765
105766
105767
105768   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
105769 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
105770   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
105771     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
105772   echo $ECHO_N "(cached) $ECHO_C" >&6
105773 else
105774
105775
105776
105777       ac_ext=cc
105778 ac_cpp='$CXXCPP $CPPFLAGS'
105779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105782
105783       cat >conftest.$ac_ext <<_ACEOF
105784 /* confdefs.h.  */
105785 _ACEOF
105786 cat confdefs.h >>conftest.$ac_ext
105787 cat >>conftest.$ac_ext <<_ACEOF
105788 /* end confdefs.h.  */
105789 #include <math.h>
105790 int
105791 main ()
105792 {
105793  __builtin_cosf(0);
105794   ;
105795   return 0;
105796 }
105797 _ACEOF
105798 rm -f conftest.$ac_objext
105799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105800   (eval $ac_compile) 2>conftest.er1
105801   ac_status=$?
105802   grep -v '^ *+' conftest.er1 >conftest.err
105803   rm -f conftest.er1
105804   cat conftest.err >&5
105805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105806   (exit $ac_status); } &&
105807          { ac_try='test -z "$ac_cxx_werror_flag"
105808                          || test ! -s conftest.err'
105809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105810   (eval $ac_try) 2>&5
105811   ac_status=$?
105812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105813   (exit $ac_status); }; } &&
105814          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
105820   glibcxx_cv_func___builtin_cosf_use=yes
105821 else
105822   echo "$as_me: failed program was:" >&5
105823 sed 's/^/| /' conftest.$ac_ext >&5
105824
105825 glibcxx_cv_func___builtin_cosf_use=no
105826 fi
105827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105828       ac_ext=c
105829 ac_cpp='$CPP $CPPFLAGS'
105830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105833
105834
105835 fi
105836
105837   fi
105838   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
105839 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
105840   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
105841     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
105842 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
105843     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
105844       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
105845   echo $ECHO_N "(cached) $ECHO_C" >&6
105846 else
105847
105848         if test x$gcc_no_link = xyes; then
105849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105851    { (exit 1); exit 1; }; }
105852 fi
105853 cat >conftest.$ac_ext <<_ACEOF
105854 /* confdefs.h.  */
105855 _ACEOF
105856 cat confdefs.h >>conftest.$ac_ext
105857 cat >>conftest.$ac_ext <<_ACEOF
105858 /* end confdefs.h.  */
105859 #include <math.h>
105860 int
105861 main ()
105862 {
105863  __builtin_cosf(0);
105864   ;
105865   return 0;
105866 }
105867 _ACEOF
105868 rm -f conftest.$ac_objext conftest$ac_exeext
105869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105870   (eval $ac_link) 2>conftest.er1
105871   ac_status=$?
105872   grep -v '^ *+' conftest.er1 >conftest.err
105873   rm -f conftest.er1
105874   cat conftest.err >&5
105875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105876   (exit $ac_status); } &&
105877          { ac_try='test -z "$ac_c_werror_flag"
105878                          || test ! -s conftest.err'
105879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105880   (eval $ac_try) 2>&5
105881   ac_status=$?
105882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105883   (exit $ac_status); }; } &&
105884          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
105890   glibcxx_cv_func___builtin_cosf_link=yes
105891 else
105892   echo "$as_me: failed program was:" >&5
105893 sed 's/^/| /' conftest.$ac_ext >&5
105894
105895 glibcxx_cv_func___builtin_cosf_link=no
105896 fi
105897 rm -f conftest.err conftest.$ac_objext \
105898       conftest$ac_exeext conftest.$ac_ext
105899
105900 fi
105901
105902     fi
105903     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
105904 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
105905
105906     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
105907
105908 cat >>confdefs.h <<\_ACEOF
105909 #define HAVE___BUILTIN_COSF 1
105910 _ACEOF
105911
105912     fi
105913
105914   fi
105915
105916
105917   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
105918 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
105919   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
105920     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
105921   echo $ECHO_N "(cached) $ECHO_C" >&6
105922 else
105923
105924
105925
105926       ac_ext=cc
105927 ac_cpp='$CXXCPP $CPPFLAGS'
105928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105931
105932       cat >conftest.$ac_ext <<_ACEOF
105933 /* confdefs.h.  */
105934 _ACEOF
105935 cat confdefs.h >>conftest.$ac_ext
105936 cat >>conftest.$ac_ext <<_ACEOF
105937 /* end confdefs.h.  */
105938 #include <math.h>
105939 int
105940 main ()
105941 {
105942  __builtin_cos(0);
105943   ;
105944   return 0;
105945 }
105946 _ACEOF
105947 rm -f conftest.$ac_objext
105948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105949   (eval $ac_compile) 2>conftest.er1
105950   ac_status=$?
105951   grep -v '^ *+' conftest.er1 >conftest.err
105952   rm -f conftest.er1
105953   cat conftest.err >&5
105954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105955   (exit $ac_status); } &&
105956          { ac_try='test -z "$ac_cxx_werror_flag"
105957                          || test ! -s conftest.err'
105958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105959   (eval $ac_try) 2>&5
105960   ac_status=$?
105961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105962   (exit $ac_status); }; } &&
105963          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
105969   glibcxx_cv_func___builtin_cos_use=yes
105970 else
105971   echo "$as_me: failed program was:" >&5
105972 sed 's/^/| /' conftest.$ac_ext >&5
105973
105974 glibcxx_cv_func___builtin_cos_use=no
105975 fi
105976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105977       ac_ext=c
105978 ac_cpp='$CPP $CPPFLAGS'
105979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105982
105983
105984 fi
105985
105986   fi
105987   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
105988 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
105989   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
105990     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
105991 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
105992     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
105993       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
105994   echo $ECHO_N "(cached) $ECHO_C" >&6
105995 else
105996
105997         if test x$gcc_no_link = xyes; then
105998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106000    { (exit 1); exit 1; }; }
106001 fi
106002 cat >conftest.$ac_ext <<_ACEOF
106003 /* confdefs.h.  */
106004 _ACEOF
106005 cat confdefs.h >>conftest.$ac_ext
106006 cat >>conftest.$ac_ext <<_ACEOF
106007 /* end confdefs.h.  */
106008 #include <math.h>
106009 int
106010 main ()
106011 {
106012  __builtin_cos(0);
106013   ;
106014   return 0;
106015 }
106016 _ACEOF
106017 rm -f conftest.$ac_objext conftest$ac_exeext
106018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106019   (eval $ac_link) 2>conftest.er1
106020   ac_status=$?
106021   grep -v '^ *+' conftest.er1 >conftest.err
106022   rm -f conftest.er1
106023   cat conftest.err >&5
106024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106025   (exit $ac_status); } &&
106026          { ac_try='test -z "$ac_c_werror_flag"
106027                          || test ! -s conftest.err'
106028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106029   (eval $ac_try) 2>&5
106030   ac_status=$?
106031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106032   (exit $ac_status); }; } &&
106033          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106039   glibcxx_cv_func___builtin_cos_link=yes
106040 else
106041   echo "$as_me: failed program was:" >&5
106042 sed 's/^/| /' conftest.$ac_ext >&5
106043
106044 glibcxx_cv_func___builtin_cos_link=no
106045 fi
106046 rm -f conftest.err conftest.$ac_objext \
106047       conftest$ac_exeext conftest.$ac_ext
106048
106049 fi
106050
106051     fi
106052     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106053 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106054
106055     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106056
106057 cat >>confdefs.h <<\_ACEOF
106058 #define HAVE___BUILTIN_COS 1
106059 _ACEOF
106060
106061     fi
106062
106063   fi
106064
106065
106066   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106067 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106068   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106069     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106070   echo $ECHO_N "(cached) $ECHO_C" >&6
106071 else
106072
106073
106074
106075       ac_ext=cc
106076 ac_cpp='$CXXCPP $CPPFLAGS'
106077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106080
106081       cat >conftest.$ac_ext <<_ACEOF
106082 /* confdefs.h.  */
106083 _ACEOF
106084 cat confdefs.h >>conftest.$ac_ext
106085 cat >>conftest.$ac_ext <<_ACEOF
106086 /* end confdefs.h.  */
106087 #include <math.h>
106088 int
106089 main ()
106090 {
106091  __builtin_cosl(0);
106092   ;
106093   return 0;
106094 }
106095 _ACEOF
106096 rm -f conftest.$ac_objext
106097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106098   (eval $ac_compile) 2>conftest.er1
106099   ac_status=$?
106100   grep -v '^ *+' conftest.er1 >conftest.err
106101   rm -f conftest.er1
106102   cat conftest.err >&5
106103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106104   (exit $ac_status); } &&
106105          { ac_try='test -z "$ac_cxx_werror_flag"
106106                          || test ! -s conftest.err'
106107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106108   (eval $ac_try) 2>&5
106109   ac_status=$?
106110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106111   (exit $ac_status); }; } &&
106112          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
106118   glibcxx_cv_func___builtin_cosl_use=yes
106119 else
106120   echo "$as_me: failed program was:" >&5
106121 sed 's/^/| /' conftest.$ac_ext >&5
106122
106123 glibcxx_cv_func___builtin_cosl_use=no
106124 fi
106125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106126       ac_ext=c
106127 ac_cpp='$CPP $CPPFLAGS'
106128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106131
106132
106133 fi
106134
106135   fi
106136   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106137 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106138   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106139     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106140 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106141     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106142       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106143   echo $ECHO_N "(cached) $ECHO_C" >&6
106144 else
106145
106146         if test x$gcc_no_link = xyes; then
106147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106149    { (exit 1); exit 1; }; }
106150 fi
106151 cat >conftest.$ac_ext <<_ACEOF
106152 /* confdefs.h.  */
106153 _ACEOF
106154 cat confdefs.h >>conftest.$ac_ext
106155 cat >>conftest.$ac_ext <<_ACEOF
106156 /* end confdefs.h.  */
106157 #include <math.h>
106158 int
106159 main ()
106160 {
106161  __builtin_cosl(0);
106162   ;
106163   return 0;
106164 }
106165 _ACEOF
106166 rm -f conftest.$ac_objext conftest$ac_exeext
106167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106168   (eval $ac_link) 2>conftest.er1
106169   ac_status=$?
106170   grep -v '^ *+' conftest.er1 >conftest.err
106171   rm -f conftest.er1
106172   cat conftest.err >&5
106173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106174   (exit $ac_status); } &&
106175          { ac_try='test -z "$ac_c_werror_flag"
106176                          || test ! -s conftest.err'
106177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106178   (eval $ac_try) 2>&5
106179   ac_status=$?
106180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106181   (exit $ac_status); }; } &&
106182          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106188   glibcxx_cv_func___builtin_cosl_link=yes
106189 else
106190   echo "$as_me: failed program was:" >&5
106191 sed 's/^/| /' conftest.$ac_ext >&5
106192
106193 glibcxx_cv_func___builtin_cosl_link=no
106194 fi
106195 rm -f conftest.err conftest.$ac_objext \
106196       conftest$ac_exeext conftest.$ac_ext
106197
106198 fi
106199
106200     fi
106201     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106202 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106203
106204     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106205
106206 cat >>confdefs.h <<\_ACEOF
106207 #define HAVE___BUILTIN_COSL 1
106208 _ACEOF
106209
106210     fi
106211
106212   fi
106213
106214
106215
106216
106217 echo "$as_me:$LINENO: checking for main in -lm" >&5
106218 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106219 if test "${ac_cv_lib_m_main+set}" = set; then
106220   echo $ECHO_N "(cached) $ECHO_C" >&6
106221 else
106222   ac_check_lib_save_LIBS=$LIBS
106223 LIBS="-lm  $LIBS"
106224 if test x$gcc_no_link = xyes; then
106225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106227    { (exit 1); exit 1; }; }
106228 fi
106229 cat >conftest.$ac_ext <<_ACEOF
106230 /* confdefs.h.  */
106231 _ACEOF
106232 cat confdefs.h >>conftest.$ac_ext
106233 cat >>conftest.$ac_ext <<_ACEOF
106234 /* end confdefs.h.  */
106235
106236
106237 int
106238 main ()
106239 {
106240 main ();
106241   ;
106242   return 0;
106243 }
106244 _ACEOF
106245 rm -f conftest.$ac_objext conftest$ac_exeext
106246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106247   (eval $ac_link) 2>conftest.er1
106248   ac_status=$?
106249   grep -v '^ *+' conftest.er1 >conftest.err
106250   rm -f conftest.er1
106251   cat conftest.err >&5
106252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106253   (exit $ac_status); } &&
106254          { ac_try='test -z "$ac_c_werror_flag"
106255                          || test ! -s conftest.err'
106256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106257   (eval $ac_try) 2>&5
106258   ac_status=$?
106259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260   (exit $ac_status); }; } &&
106261          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106267   ac_cv_lib_m_main=yes
106268 else
106269   echo "$as_me: failed program was:" >&5
106270 sed 's/^/| /' conftest.$ac_ext >&5
106271
106272 ac_cv_lib_m_main=no
106273 fi
106274 rm -f conftest.err conftest.$ac_objext \
106275       conftest$ac_exeext conftest.$ac_ext
106276 LIBS=$ac_check_lib_save_LIBS
106277 fi
106278 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106279 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106280 if test $ac_cv_lib_m_main = yes; then
106281   cat >>confdefs.h <<_ACEOF
106282 #define HAVE_LIBM 1
106283 _ACEOF
106284
106285   LIBS="-lm $LIBS"
106286
106287 fi
106288
106289
106290 for ac_func in copysignf
106291 do
106292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106293 echo "$as_me:$LINENO: checking for $ac_func" >&5
106294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106295 if eval "test \"\${$as_ac_var+set}\" = set"; then
106296   echo $ECHO_N "(cached) $ECHO_C" >&6
106297 else
106298   if test x$gcc_no_link = xyes; then
106299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106301    { (exit 1); exit 1; }; }
106302 fi
106303 cat >conftest.$ac_ext <<_ACEOF
106304 /* confdefs.h.  */
106305 _ACEOF
106306 cat confdefs.h >>conftest.$ac_ext
106307 cat >>conftest.$ac_ext <<_ACEOF
106308 /* end confdefs.h.  */
106309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106311 #define $ac_func innocuous_$ac_func
106312
106313 /* System header to define __stub macros and hopefully few prototypes,
106314     which can conflict with char $ac_func (); below.
106315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106316     <limits.h> exists even on freestanding compilers.  */
106317
106318 #ifdef __STDC__
106319 # include <limits.h>
106320 #else
106321 # include <assert.h>
106322 #endif
106323
106324 #undef $ac_func
106325
106326 /* Override any gcc2 internal prototype to avoid an error.  */
106327 #ifdef __cplusplus
106328 extern "C"
106329 {
106330 #endif
106331 /* We use char because int might match the return type of a gcc2
106332    builtin and then its argument prototype would still apply.  */
106333 char $ac_func ();
106334 /* The GNU C library defines this for functions which it implements
106335     to always fail with ENOSYS.  Some functions are actually named
106336     something starting with __ and the normal name is an alias.  */
106337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106338 choke me
106339 #else
106340 char (*f) () = $ac_func;
106341 #endif
106342 #ifdef __cplusplus
106343 }
106344 #endif
106345
106346 int
106347 main ()
106348 {
106349 return f != $ac_func;
106350   ;
106351   return 0;
106352 }
106353 _ACEOF
106354 rm -f conftest.$ac_objext conftest$ac_exeext
106355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106356   (eval $ac_link) 2>conftest.er1
106357   ac_status=$?
106358   grep -v '^ *+' conftest.er1 >conftest.err
106359   rm -f conftest.er1
106360   cat conftest.err >&5
106361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106362   (exit $ac_status); } &&
106363          { ac_try='test -z "$ac_c_werror_flag"
106364                          || test ! -s conftest.err'
106365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106366   (eval $ac_try) 2>&5
106367   ac_status=$?
106368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106369   (exit $ac_status); }; } &&
106370          { ac_try='test -s conftest$ac_exeext'
106371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106372   (eval $ac_try) 2>&5
106373   ac_status=$?
106374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106375   (exit $ac_status); }; }; then
106376   eval "$as_ac_var=yes"
106377 else
106378   echo "$as_me: failed program was:" >&5
106379 sed 's/^/| /' conftest.$ac_ext >&5
106380
106381 eval "$as_ac_var=no"
106382 fi
106383 rm -f conftest.err conftest.$ac_objext \
106384       conftest$ac_exeext conftest.$ac_ext
106385 fi
106386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106388 if test `eval echo '${'$as_ac_var'}'` = yes; then
106389   cat >>confdefs.h <<_ACEOF
106390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106391 _ACEOF
106392
106393 else
106394   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106395 fi
106396 done
106397
106398
106399
106400 for ac_func in __signbit
106401 do
106402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106403 echo "$as_me:$LINENO: checking for $ac_func" >&5
106404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106405 if eval "test \"\${$as_ac_var+set}\" = set"; then
106406   echo $ECHO_N "(cached) $ECHO_C" >&6
106407 else
106408   if test x$gcc_no_link = xyes; then
106409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106411    { (exit 1); exit 1; }; }
106412 fi
106413 cat >conftest.$ac_ext <<_ACEOF
106414 /* confdefs.h.  */
106415 _ACEOF
106416 cat confdefs.h >>conftest.$ac_ext
106417 cat >>conftest.$ac_ext <<_ACEOF
106418 /* end confdefs.h.  */
106419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106421 #define $ac_func innocuous_$ac_func
106422
106423 /* System header to define __stub macros and hopefully few prototypes,
106424     which can conflict with char $ac_func (); below.
106425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106426     <limits.h> exists even on freestanding compilers.  */
106427
106428 #ifdef __STDC__
106429 # include <limits.h>
106430 #else
106431 # include <assert.h>
106432 #endif
106433
106434 #undef $ac_func
106435
106436 /* Override any gcc2 internal prototype to avoid an error.  */
106437 #ifdef __cplusplus
106438 extern "C"
106439 {
106440 #endif
106441 /* We use char because int might match the return type of a gcc2
106442    builtin and then its argument prototype would still apply.  */
106443 char $ac_func ();
106444 /* The GNU C library defines this for functions which it implements
106445     to always fail with ENOSYS.  Some functions are actually named
106446     something starting with __ and the normal name is an alias.  */
106447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106448 choke me
106449 #else
106450 char (*f) () = $ac_func;
106451 #endif
106452 #ifdef __cplusplus
106453 }
106454 #endif
106455
106456 int
106457 main ()
106458 {
106459 return f != $ac_func;
106460   ;
106461   return 0;
106462 }
106463 _ACEOF
106464 rm -f conftest.$ac_objext conftest$ac_exeext
106465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106466   (eval $ac_link) 2>conftest.er1
106467   ac_status=$?
106468   grep -v '^ *+' conftest.er1 >conftest.err
106469   rm -f conftest.er1
106470   cat conftest.err >&5
106471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106472   (exit $ac_status); } &&
106473          { ac_try='test -z "$ac_c_werror_flag"
106474                          || test ! -s conftest.err'
106475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106476   (eval $ac_try) 2>&5
106477   ac_status=$?
106478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106479   (exit $ac_status); }; } &&
106480          { ac_try='test -s conftest$ac_exeext'
106481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106482   (eval $ac_try) 2>&5
106483   ac_status=$?
106484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106485   (exit $ac_status); }; }; then
106486   eval "$as_ac_var=yes"
106487 else
106488   echo "$as_me: failed program was:" >&5
106489 sed 's/^/| /' conftest.$ac_ext >&5
106490
106491 eval "$as_ac_var=no"
106492 fi
106493 rm -f conftest.err conftest.$ac_objext \
106494       conftest$ac_exeext conftest.$ac_ext
106495 fi
106496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106498 if test `eval echo '${'$as_ac_var'}'` = yes; then
106499   cat >>confdefs.h <<_ACEOF
106500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106501 _ACEOF
106502
106503 else
106504   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106505 fi
106506 done
106507
106508
106509
106510 for ac_func in __signbitf
106511 do
106512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106513 echo "$as_me:$LINENO: checking for $ac_func" >&5
106514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106515 if eval "test \"\${$as_ac_var+set}\" = set"; then
106516   echo $ECHO_N "(cached) $ECHO_C" >&6
106517 else
106518   if test x$gcc_no_link = xyes; then
106519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106521    { (exit 1); exit 1; }; }
106522 fi
106523 cat >conftest.$ac_ext <<_ACEOF
106524 /* confdefs.h.  */
106525 _ACEOF
106526 cat confdefs.h >>conftest.$ac_ext
106527 cat >>conftest.$ac_ext <<_ACEOF
106528 /* end confdefs.h.  */
106529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106531 #define $ac_func innocuous_$ac_func
106532
106533 /* System header to define __stub macros and hopefully few prototypes,
106534     which can conflict with char $ac_func (); below.
106535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106536     <limits.h> exists even on freestanding compilers.  */
106537
106538 #ifdef __STDC__
106539 # include <limits.h>
106540 #else
106541 # include <assert.h>
106542 #endif
106543
106544 #undef $ac_func
106545
106546 /* Override any gcc2 internal prototype to avoid an error.  */
106547 #ifdef __cplusplus
106548 extern "C"
106549 {
106550 #endif
106551 /* We use char because int might match the return type of a gcc2
106552    builtin and then its argument prototype would still apply.  */
106553 char $ac_func ();
106554 /* The GNU C library defines this for functions which it implements
106555     to always fail with ENOSYS.  Some functions are actually named
106556     something starting with __ and the normal name is an alias.  */
106557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106558 choke me
106559 #else
106560 char (*f) () = $ac_func;
106561 #endif
106562 #ifdef __cplusplus
106563 }
106564 #endif
106565
106566 int
106567 main ()
106568 {
106569 return f != $ac_func;
106570   ;
106571   return 0;
106572 }
106573 _ACEOF
106574 rm -f conftest.$ac_objext conftest$ac_exeext
106575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106576   (eval $ac_link) 2>conftest.er1
106577   ac_status=$?
106578   grep -v '^ *+' conftest.er1 >conftest.err
106579   rm -f conftest.er1
106580   cat conftest.err >&5
106581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106582   (exit $ac_status); } &&
106583          { ac_try='test -z "$ac_c_werror_flag"
106584                          || test ! -s conftest.err'
106585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106586   (eval $ac_try) 2>&5
106587   ac_status=$?
106588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106589   (exit $ac_status); }; } &&
106590          { ac_try='test -s conftest$ac_exeext'
106591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106592   (eval $ac_try) 2>&5
106593   ac_status=$?
106594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106595   (exit $ac_status); }; }; then
106596   eval "$as_ac_var=yes"
106597 else
106598   echo "$as_me: failed program was:" >&5
106599 sed 's/^/| /' conftest.$ac_ext >&5
106600
106601 eval "$as_ac_var=no"
106602 fi
106603 rm -f conftest.err conftest.$ac_objext \
106604       conftest$ac_exeext conftest.$ac_ext
106605 fi
106606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106608 if test `eval echo '${'$as_ac_var'}'` = yes; then
106609   cat >>confdefs.h <<_ACEOF
106610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106611 _ACEOF
106612
106613 else
106614   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106615 fi
106616 done
106617
106618
106619           if test x$ac_cv_func_copysignl = x"yes"; then
106620
106621 for ac_func in __signbitl
106622 do
106623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106624 echo "$as_me:$LINENO: checking for $ac_func" >&5
106625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106626 if eval "test \"\${$as_ac_var+set}\" = set"; then
106627   echo $ECHO_N "(cached) $ECHO_C" >&6
106628 else
106629   if test x$gcc_no_link = xyes; then
106630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106632    { (exit 1); exit 1; }; }
106633 fi
106634 cat >conftest.$ac_ext <<_ACEOF
106635 /* confdefs.h.  */
106636 _ACEOF
106637 cat confdefs.h >>conftest.$ac_ext
106638 cat >>conftest.$ac_ext <<_ACEOF
106639 /* end confdefs.h.  */
106640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106642 #define $ac_func innocuous_$ac_func
106643
106644 /* System header to define __stub macros and hopefully few prototypes,
106645     which can conflict with char $ac_func (); below.
106646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106647     <limits.h> exists even on freestanding compilers.  */
106648
106649 #ifdef __STDC__
106650 # include <limits.h>
106651 #else
106652 # include <assert.h>
106653 #endif
106654
106655 #undef $ac_func
106656
106657 /* Override any gcc2 internal prototype to avoid an error.  */
106658 #ifdef __cplusplus
106659 extern "C"
106660 {
106661 #endif
106662 /* We use char because int might match the return type of a gcc2
106663    builtin and then its argument prototype would still apply.  */
106664 char $ac_func ();
106665 /* The GNU C library defines this for functions which it implements
106666     to always fail with ENOSYS.  Some functions are actually named
106667     something starting with __ and the normal name is an alias.  */
106668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106669 choke me
106670 #else
106671 char (*f) () = $ac_func;
106672 #endif
106673 #ifdef __cplusplus
106674 }
106675 #endif
106676
106677 int
106678 main ()
106679 {
106680 return f != $ac_func;
106681   ;
106682   return 0;
106683 }
106684 _ACEOF
106685 rm -f conftest.$ac_objext conftest$ac_exeext
106686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106687   (eval $ac_link) 2>conftest.er1
106688   ac_status=$?
106689   grep -v '^ *+' conftest.er1 >conftest.err
106690   rm -f conftest.er1
106691   cat conftest.err >&5
106692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106693   (exit $ac_status); } &&
106694          { ac_try='test -z "$ac_c_werror_flag"
106695                          || test ! -s conftest.err'
106696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106697   (eval $ac_try) 2>&5
106698   ac_status=$?
106699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106700   (exit $ac_status); }; } &&
106701          { ac_try='test -s conftest$ac_exeext'
106702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106703   (eval $ac_try) 2>&5
106704   ac_status=$?
106705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706   (exit $ac_status); }; }; then
106707   eval "$as_ac_var=yes"
106708 else
106709   echo "$as_me: failed program was:" >&5
106710 sed 's/^/| /' conftest.$ac_ext >&5
106711
106712 eval "$as_ac_var=no"
106713 fi
106714 rm -f conftest.err conftest.$ac_objext \
106715       conftest$ac_exeext conftest.$ac_ext
106716 fi
106717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106719 if test `eval echo '${'$as_ac_var'}'` = yes; then
106720   cat >>confdefs.h <<_ACEOF
106721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106722 _ACEOF
106723
106724 else
106725   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106726 fi
106727 done
106728
106729   fi
106730
106731   # Used in libmath/Makefile.am.
106732   if test -n "$LIBMATHOBJS"; then
106733     need_libmath=yes
106734   fi
106735
106736
106737
106738   ac_test_CXXFLAGS="${CXXFLAGS+set}"
106739   ac_save_CXXFLAGS="$CXXFLAGS"
106740   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
106741
106742
106743   echo "$as_me:$LINENO: checking for strtold declaration" >&5
106744 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
106745   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
106746     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
106747   echo $ECHO_N "(cached) $ECHO_C" >&6
106748 else
106749
106750
106751
106752       ac_ext=cc
106753 ac_cpp='$CXXCPP $CPPFLAGS'
106754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106757
106758       cat >conftest.$ac_ext <<_ACEOF
106759 /* confdefs.h.  */
106760 _ACEOF
106761 cat confdefs.h >>conftest.$ac_ext
106762 cat >>conftest.$ac_ext <<_ACEOF
106763 /* end confdefs.h.  */
106764 #include <stdlib.h>
106765 int
106766 main ()
106767 {
106768  strtold(0, 0);
106769   ;
106770   return 0;
106771 }
106772 _ACEOF
106773 rm -f conftest.$ac_objext
106774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106775   (eval $ac_compile) 2>conftest.er1
106776   ac_status=$?
106777   grep -v '^ *+' conftest.er1 >conftest.err
106778   rm -f conftest.er1
106779   cat conftest.err >&5
106780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106781   (exit $ac_status); } &&
106782          { ac_try='test -z "$ac_cxx_werror_flag"
106783                          || test ! -s conftest.err'
106784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106785   (eval $ac_try) 2>&5
106786   ac_status=$?
106787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106788   (exit $ac_status); }; } &&
106789          { ac_try='test -s conftest.$ac_objext'
106790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106791   (eval $ac_try) 2>&5
106792   ac_status=$?
106793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106794   (exit $ac_status); }; }; then
106795   glibcxx_cv_func_strtold_use=yes
106796 else
106797   echo "$as_me: failed program was:" >&5
106798 sed 's/^/| /' conftest.$ac_ext >&5
106799
106800 glibcxx_cv_func_strtold_use=no
106801 fi
106802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106803       ac_ext=c
106804 ac_cpp='$CPP $CPPFLAGS'
106805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106808
106809
106810 fi
106811
106812   fi
106813   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
106814 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
106815   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
106816
106817 for ac_func in strtold
106818 do
106819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106820 echo "$as_me:$LINENO: checking for $ac_func" >&5
106821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106822 if eval "test \"\${$as_ac_var+set}\" = set"; then
106823   echo $ECHO_N "(cached) $ECHO_C" >&6
106824 else
106825   if test x$gcc_no_link = xyes; then
106826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106828    { (exit 1); exit 1; }; }
106829 fi
106830 cat >conftest.$ac_ext <<_ACEOF
106831 /* confdefs.h.  */
106832 _ACEOF
106833 cat confdefs.h >>conftest.$ac_ext
106834 cat >>conftest.$ac_ext <<_ACEOF
106835 /* end confdefs.h.  */
106836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106838 #define $ac_func innocuous_$ac_func
106839
106840 /* System header to define __stub macros and hopefully few prototypes,
106841     which can conflict with char $ac_func (); below.
106842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106843     <limits.h> exists even on freestanding compilers.  */
106844
106845 #ifdef __STDC__
106846 # include <limits.h>
106847 #else
106848 # include <assert.h>
106849 #endif
106850
106851 #undef $ac_func
106852
106853 /* Override any gcc2 internal prototype to avoid an error.  */
106854 #ifdef __cplusplus
106855 extern "C"
106856 {
106857 #endif
106858 /* We use char because int might match the return type of a gcc2
106859    builtin and then its argument prototype would still apply.  */
106860 char $ac_func ();
106861 /* The GNU C library defines this for functions which it implements
106862     to always fail with ENOSYS.  Some functions are actually named
106863     something starting with __ and the normal name is an alias.  */
106864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106865 choke me
106866 #else
106867 char (*f) () = $ac_func;
106868 #endif
106869 #ifdef __cplusplus
106870 }
106871 #endif
106872
106873 int
106874 main ()
106875 {
106876 return f != $ac_func;
106877   ;
106878   return 0;
106879 }
106880 _ACEOF
106881 rm -f conftest.$ac_objext conftest$ac_exeext
106882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106883   (eval $ac_link) 2>conftest.er1
106884   ac_status=$?
106885   grep -v '^ *+' conftest.er1 >conftest.err
106886   rm -f conftest.er1
106887   cat conftest.err >&5
106888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106889   (exit $ac_status); } &&
106890          { ac_try='test -z "$ac_c_werror_flag"
106891                          || test ! -s conftest.err'
106892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106893   (eval $ac_try) 2>&5
106894   ac_status=$?
106895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106896   (exit $ac_status); }; } &&
106897          { ac_try='test -s conftest$ac_exeext'
106898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106899   (eval $ac_try) 2>&5
106900   ac_status=$?
106901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106902   (exit $ac_status); }; }; then
106903   eval "$as_ac_var=yes"
106904 else
106905   echo "$as_me: failed program was:" >&5
106906 sed 's/^/| /' conftest.$ac_ext >&5
106907
106908 eval "$as_ac_var=no"
106909 fi
106910 rm -f conftest.err conftest.$ac_objext \
106911       conftest$ac_exeext conftest.$ac_ext
106912 fi
106913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106915 if test `eval echo '${'$as_ac_var'}'` = yes; then
106916   cat >>confdefs.h <<_ACEOF
106917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106918 _ACEOF
106919
106920 fi
106921 done
106922
106923   fi
106924
106925
106926
106927
106928
106929   echo "$as_me:$LINENO: checking for strtof declaration" >&5
106930 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
106931   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
106932     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
106933   echo $ECHO_N "(cached) $ECHO_C" >&6
106934 else
106935
106936
106937
106938       ac_ext=cc
106939 ac_cpp='$CXXCPP $CPPFLAGS'
106940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106943
106944       cat >conftest.$ac_ext <<_ACEOF
106945 /* confdefs.h.  */
106946 _ACEOF
106947 cat confdefs.h >>conftest.$ac_ext
106948 cat >>conftest.$ac_ext <<_ACEOF
106949 /* end confdefs.h.  */
106950 #include <stdlib.h>
106951 int
106952 main ()
106953 {
106954  strtof(0, 0);
106955   ;
106956   return 0;
106957 }
106958 _ACEOF
106959 rm -f conftest.$ac_objext
106960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106961   (eval $ac_compile) 2>conftest.er1
106962   ac_status=$?
106963   grep -v '^ *+' conftest.er1 >conftest.err
106964   rm -f conftest.er1
106965   cat conftest.err >&5
106966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106967   (exit $ac_status); } &&
106968          { ac_try='test -z "$ac_cxx_werror_flag"
106969                          || test ! -s conftest.err'
106970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106971   (eval $ac_try) 2>&5
106972   ac_status=$?
106973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106974   (exit $ac_status); }; } &&
106975          { ac_try='test -s conftest.$ac_objext'
106976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106977   (eval $ac_try) 2>&5
106978   ac_status=$?
106979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106980   (exit $ac_status); }; }; then
106981   glibcxx_cv_func_strtof_use=yes
106982 else
106983   echo "$as_me: failed program was:" >&5
106984 sed 's/^/| /' conftest.$ac_ext >&5
106985
106986 glibcxx_cv_func_strtof_use=no
106987 fi
106988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106989       ac_ext=c
106990 ac_cpp='$CPP $CPPFLAGS'
106991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106994
106995
106996 fi
106997
106998   fi
106999   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107000 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107001   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107002
107003 for ac_func in strtof
107004 do
107005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107006 echo "$as_me:$LINENO: checking for $ac_func" >&5
107007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107008 if eval "test \"\${$as_ac_var+set}\" = set"; then
107009   echo $ECHO_N "(cached) $ECHO_C" >&6
107010 else
107011   if test x$gcc_no_link = xyes; then
107012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107014    { (exit 1); exit 1; }; }
107015 fi
107016 cat >conftest.$ac_ext <<_ACEOF
107017 /* confdefs.h.  */
107018 _ACEOF
107019 cat confdefs.h >>conftest.$ac_ext
107020 cat >>conftest.$ac_ext <<_ACEOF
107021 /* end confdefs.h.  */
107022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107024 #define $ac_func innocuous_$ac_func
107025
107026 /* System header to define __stub macros and hopefully few prototypes,
107027     which can conflict with char $ac_func (); below.
107028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107029     <limits.h> exists even on freestanding compilers.  */
107030
107031 #ifdef __STDC__
107032 # include <limits.h>
107033 #else
107034 # include <assert.h>
107035 #endif
107036
107037 #undef $ac_func
107038
107039 /* Override any gcc2 internal prototype to avoid an error.  */
107040 #ifdef __cplusplus
107041 extern "C"
107042 {
107043 #endif
107044 /* We use char because int might match the return type of a gcc2
107045    builtin and then its argument prototype would still apply.  */
107046 char $ac_func ();
107047 /* The GNU C library defines this for functions which it implements
107048     to always fail with ENOSYS.  Some functions are actually named
107049     something starting with __ and the normal name is an alias.  */
107050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107051 choke me
107052 #else
107053 char (*f) () = $ac_func;
107054 #endif
107055 #ifdef __cplusplus
107056 }
107057 #endif
107058
107059 int
107060 main ()
107061 {
107062 return f != $ac_func;
107063   ;
107064   return 0;
107065 }
107066 _ACEOF
107067 rm -f conftest.$ac_objext conftest$ac_exeext
107068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107069   (eval $ac_link) 2>conftest.er1
107070   ac_status=$?
107071   grep -v '^ *+' conftest.er1 >conftest.err
107072   rm -f conftest.er1
107073   cat conftest.err >&5
107074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107075   (exit $ac_status); } &&
107076          { ac_try='test -z "$ac_c_werror_flag"
107077                          || test ! -s conftest.err'
107078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107079   (eval $ac_try) 2>&5
107080   ac_status=$?
107081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107082   (exit $ac_status); }; } &&
107083          { ac_try='test -s conftest$ac_exeext'
107084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107085   (eval $ac_try) 2>&5
107086   ac_status=$?
107087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107088   (exit $ac_status); }; }; then
107089   eval "$as_ac_var=yes"
107090 else
107091   echo "$as_me: failed program was:" >&5
107092 sed 's/^/| /' conftest.$ac_ext >&5
107093
107094 eval "$as_ac_var=no"
107095 fi
107096 rm -f conftest.err conftest.$ac_objext \
107097       conftest$ac_exeext conftest.$ac_ext
107098 fi
107099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107101 if test `eval echo '${'$as_ac_var'}'` = yes; then
107102   cat >>confdefs.h <<_ACEOF
107103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107104 _ACEOF
107105
107106 fi
107107 done
107108
107109   fi
107110
107111
107112
107113
107114
107115   CXXFLAGS="$ac_save_CXXFLAGS"
107116
107117
107118     # For LFS.
107119     cat >>confdefs.h <<\_ACEOF
107120 #define HAVE_INT64_T 1
107121 _ACEOF
107122
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   ac_save_CXXFLAGS="$CXXFLAGS"
107133   CXXFLAGS="$CXXFLAGS -fno-exceptions"
107134   echo "$as_me:$LINENO: checking for LFS support" >&5
107135 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107136   if test "${glibcxx_cv_LFS+set}" = set; then
107137   echo $ECHO_N "(cached) $ECHO_C" >&6
107138 else
107139
107140     if test x$gcc_no_link = xyes; then
107141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107143    { (exit 1); exit 1; }; }
107144 fi
107145 cat >conftest.$ac_ext <<_ACEOF
107146 /* confdefs.h.  */
107147 _ACEOF
107148 cat confdefs.h >>conftest.$ac_ext
107149 cat >>conftest.$ac_ext <<_ACEOF
107150 /* end confdefs.h.  */
107151 #include <unistd.h>
107152        #include <stdio.h>
107153        #include <sys/stat.h>
107154
107155 int
107156 main ()
107157 {
107158 FILE* fp;
107159        fopen64("t", "w");
107160        fseeko64(fp, 0, SEEK_CUR);
107161        ftello64(fp);
107162        lseek64(1, 0, SEEK_CUR);
107163        struct stat64 buf;
107164        fstat64(1, &buf);
107165   ;
107166   return 0;
107167 }
107168 _ACEOF
107169 rm -f conftest.$ac_objext conftest$ac_exeext
107170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107171   (eval $ac_link) 2>conftest.er1
107172   ac_status=$?
107173   grep -v '^ *+' conftest.er1 >conftest.err
107174   rm -f conftest.er1
107175   cat conftest.err >&5
107176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107177   (exit $ac_status); } &&
107178          { ac_try='test -z "$ac_cxx_werror_flag"
107179                          || test ! -s conftest.err'
107180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107181   (eval $ac_try) 2>&5
107182   ac_status=$?
107183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107184   (exit $ac_status); }; } &&
107185          { ac_try='test -s conftest$ac_exeext'
107186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107187   (eval $ac_try) 2>&5
107188   ac_status=$?
107189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107190   (exit $ac_status); }; }; then
107191   glibcxx_cv_LFS=yes
107192 else
107193   echo "$as_me: failed program was:" >&5
107194 sed 's/^/| /' conftest.$ac_ext >&5
107195
107196 glibcxx_cv_LFS=no
107197 fi
107198 rm -f conftest.err conftest.$ac_objext \
107199       conftest$ac_exeext conftest.$ac_ext
107200
107201 fi
107202
107203   if test $glibcxx_cv_LFS = yes; then
107204
107205 cat >>confdefs.h <<\_ACEOF
107206 #define _GLIBCXX_USE_LFS 1
107207 _ACEOF
107208
107209   fi
107210   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107211 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107212   CXXFLAGS="$ac_save_CXXFLAGS"
107213   ac_ext=c
107214 ac_cpp='$CPP $CPPFLAGS'
107215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107218
107219
107220
107221     # For showmanyc_helper().
107222
107223
107224 for ac_header in sys/ioctl.h sys/filio.h
107225 do
107226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107228   echo "$as_me:$LINENO: checking for $ac_header" >&5
107229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107231   echo $ECHO_N "(cached) $ECHO_C" >&6
107232 fi
107233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107235 else
107236   # Is the header compilable?
107237 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107239 cat >conftest.$ac_ext <<_ACEOF
107240 /* confdefs.h.  */
107241 _ACEOF
107242 cat confdefs.h >>conftest.$ac_ext
107243 cat >>conftest.$ac_ext <<_ACEOF
107244 /* end confdefs.h.  */
107245 $ac_includes_default
107246 #include <$ac_header>
107247 _ACEOF
107248 rm -f conftest.$ac_objext
107249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107250   (eval $ac_compile) 2>conftest.er1
107251   ac_status=$?
107252   grep -v '^ *+' conftest.er1 >conftest.err
107253   rm -f conftest.er1
107254   cat conftest.err >&5
107255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107256   (exit $ac_status); } &&
107257          { ac_try='test -z "$ac_c_werror_flag"
107258                          || test ! -s conftest.err'
107259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107260   (eval $ac_try) 2>&5
107261   ac_status=$?
107262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107263   (exit $ac_status); }; } &&
107264          { ac_try='test -s conftest.$ac_objext'
107265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107266   (eval $ac_try) 2>&5
107267   ac_status=$?
107268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107269   (exit $ac_status); }; }; then
107270   ac_header_compiler=yes
107271 else
107272   echo "$as_me: failed program was:" >&5
107273 sed 's/^/| /' conftest.$ac_ext >&5
107274
107275 ac_header_compiler=no
107276 fi
107277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107279 echo "${ECHO_T}$ac_header_compiler" >&6
107280
107281 # Is the header present?
107282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107284 cat >conftest.$ac_ext <<_ACEOF
107285 /* confdefs.h.  */
107286 _ACEOF
107287 cat confdefs.h >>conftest.$ac_ext
107288 cat >>conftest.$ac_ext <<_ACEOF
107289 /* end confdefs.h.  */
107290 #include <$ac_header>
107291 _ACEOF
107292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107293   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107294   ac_status=$?
107295   grep -v '^ *+' conftest.er1 >conftest.err
107296   rm -f conftest.er1
107297   cat conftest.err >&5
107298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107299   (exit $ac_status); } >/dev/null; then
107300   if test -s conftest.err; then
107301     ac_cpp_err=$ac_c_preproc_warn_flag
107302     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107303   else
107304     ac_cpp_err=
107305   fi
107306 else
107307   ac_cpp_err=yes
107308 fi
107309 if test -z "$ac_cpp_err"; then
107310   ac_header_preproc=yes
107311 else
107312   echo "$as_me: failed program was:" >&5
107313 sed 's/^/| /' conftest.$ac_ext >&5
107314
107315   ac_header_preproc=no
107316 fi
107317 rm -f conftest.err conftest.$ac_ext
107318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107319 echo "${ECHO_T}$ac_header_preproc" >&6
107320
107321 # So?  What about this header?
107322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107323   yes:no: )
107324     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107326     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107327 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107328     ac_header_preproc=yes
107329     ;;
107330   no:yes:* )
107331     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107332 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107333     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107334 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107335     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107336 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107337     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107338 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107339     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107341     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107342 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107343     (
107344       cat <<\_ASBOX
107345 ## ----------------------------------------- ##
107346 ## Report this to the package-unused lists.  ##
107347 ## ----------------------------------------- ##
107348 _ASBOX
107349     ) |
107350       sed "s/^/$as_me: WARNING:     /" >&2
107351     ;;
107352 esac
107353 echo "$as_me:$LINENO: checking for $ac_header" >&5
107354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107356   echo $ECHO_N "(cached) $ECHO_C" >&6
107357 else
107358   eval "$as_ac_Header=\$ac_header_preproc"
107359 fi
107360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107362
107363 fi
107364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107365   cat >>confdefs.h <<_ACEOF
107366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107367 _ACEOF
107368
107369 fi
107370
107371 done
107372
107373
107374   echo "$as_me:$LINENO: checking for poll" >&5
107375 echo $ECHO_N "checking for poll... $ECHO_C" >&6
107376   if test "${glibcxx_cv_POLL+set}" = set; then
107377   echo $ECHO_N "(cached) $ECHO_C" >&6
107378 else
107379
107380     if test x$gcc_no_link = xyes; then
107381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107383    { (exit 1); exit 1; }; }
107384 fi
107385 cat >conftest.$ac_ext <<_ACEOF
107386 /* confdefs.h.  */
107387 _ACEOF
107388 cat confdefs.h >>conftest.$ac_ext
107389 cat >>conftest.$ac_ext <<_ACEOF
107390 /* end confdefs.h.  */
107391 #include <poll.h>
107392 int
107393 main ()
107394 {
107395 struct pollfd pfd[1];
107396        pfd[0].events = POLLIN;
107397        poll(pfd, 1, 0);
107398   ;
107399   return 0;
107400 }
107401 _ACEOF
107402 rm -f conftest.$ac_objext conftest$ac_exeext
107403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107404   (eval $ac_link) 2>conftest.er1
107405   ac_status=$?
107406   grep -v '^ *+' conftest.er1 >conftest.err
107407   rm -f conftest.er1
107408   cat conftest.err >&5
107409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107410   (exit $ac_status); } &&
107411          { ac_try='test -z "$ac_c_werror_flag"
107412                          || test ! -s conftest.err'
107413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107414   (eval $ac_try) 2>&5
107415   ac_status=$?
107416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107417   (exit $ac_status); }; } &&
107418          { ac_try='test -s conftest$ac_exeext'
107419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107420   (eval $ac_try) 2>&5
107421   ac_status=$?
107422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107423   (exit $ac_status); }; }; then
107424   glibcxx_cv_POLL=yes
107425 else
107426   echo "$as_me: failed program was:" >&5
107427 sed 's/^/| /' conftest.$ac_ext >&5
107428
107429 glibcxx_cv_POLL=no
107430 fi
107431 rm -f conftest.err conftest.$ac_objext \
107432       conftest$ac_exeext conftest.$ac_ext
107433
107434 fi
107435
107436   if test $glibcxx_cv_POLL = yes; then
107437
107438 cat >>confdefs.h <<\_ACEOF
107439 #define HAVE_POLL 1
107440 _ACEOF
107441
107442   fi
107443   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
107444 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
107445
107446
107447   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
107448 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
107449   if test "${glibcxx_cv_S_ISREG+set}" = set; then
107450   echo $ECHO_N "(cached) $ECHO_C" >&6
107451 else
107452
107453     if test x$gcc_no_link = xyes; then
107454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107456    { (exit 1); exit 1; }; }
107457 fi
107458 cat >conftest.$ac_ext <<_ACEOF
107459 /* confdefs.h.  */
107460 _ACEOF
107461 cat confdefs.h >>conftest.$ac_ext
107462 cat >>conftest.$ac_ext <<_ACEOF
107463 /* end confdefs.h.  */
107464 #include <sys/stat.h>
107465 int
107466 main ()
107467 {
107468 struct stat buffer;
107469        fstat(0, &buffer);
107470        S_ISREG(buffer.st_mode);
107471   ;
107472   return 0;
107473 }
107474 _ACEOF
107475 rm -f conftest.$ac_objext conftest$ac_exeext
107476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107477   (eval $ac_link) 2>conftest.er1
107478   ac_status=$?
107479   grep -v '^ *+' conftest.er1 >conftest.err
107480   rm -f conftest.er1
107481   cat conftest.err >&5
107482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107483   (exit $ac_status); } &&
107484          { ac_try='test -z "$ac_c_werror_flag"
107485                          || test ! -s conftest.err'
107486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107487   (eval $ac_try) 2>&5
107488   ac_status=$?
107489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107490   (exit $ac_status); }; } &&
107491          { ac_try='test -s conftest$ac_exeext'
107492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107493   (eval $ac_try) 2>&5
107494   ac_status=$?
107495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107496   (exit $ac_status); }; }; then
107497   glibcxx_cv_S_ISREG=yes
107498 else
107499   echo "$as_me: failed program was:" >&5
107500 sed 's/^/| /' conftest.$ac_ext >&5
107501
107502 glibcxx_cv_S_ISREG=no
107503 fi
107504 rm -f conftest.err conftest.$ac_objext \
107505       conftest$ac_exeext conftest.$ac_ext
107506
107507 fi
107508
107509   if test "${glibcxx_cv_S_IFREG+set}" = set; then
107510   echo $ECHO_N "(cached) $ECHO_C" >&6
107511 else
107512
107513     if test x$gcc_no_link = xyes; then
107514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107516    { (exit 1); exit 1; }; }
107517 fi
107518 cat >conftest.$ac_ext <<_ACEOF
107519 /* confdefs.h.  */
107520 _ACEOF
107521 cat confdefs.h >>conftest.$ac_ext
107522 cat >>conftest.$ac_ext <<_ACEOF
107523 /* end confdefs.h.  */
107524 #include <sys/stat.h>
107525 int
107526 main ()
107527 {
107528 struct stat buffer;
107529        fstat(0, &buffer);
107530        S_IFREG & buffer.st_mode;
107531   ;
107532   return 0;
107533 }
107534 _ACEOF
107535 rm -f conftest.$ac_objext conftest$ac_exeext
107536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107537   (eval $ac_link) 2>conftest.er1
107538   ac_status=$?
107539   grep -v '^ *+' conftest.er1 >conftest.err
107540   rm -f conftest.er1
107541   cat conftest.err >&5
107542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107543   (exit $ac_status); } &&
107544          { ac_try='test -z "$ac_c_werror_flag"
107545                          || test ! -s conftest.err'
107546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107547   (eval $ac_try) 2>&5
107548   ac_status=$?
107549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107550   (exit $ac_status); }; } &&
107551          { ac_try='test -s conftest$ac_exeext'
107552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107553   (eval $ac_try) 2>&5
107554   ac_status=$?
107555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107556   (exit $ac_status); }; }; then
107557   glibcxx_cv_S_IFREG=yes
107558 else
107559   echo "$as_me: failed program was:" >&5
107560 sed 's/^/| /' conftest.$ac_ext >&5
107561
107562 glibcxx_cv_S_IFREG=no
107563 fi
107564 rm -f conftest.err conftest.$ac_objext \
107565       conftest$ac_exeext conftest.$ac_ext
107566
107567 fi
107568
107569   res=no
107570   if test $glibcxx_cv_S_ISREG = yes; then
107571
107572 cat >>confdefs.h <<\_ACEOF
107573 #define HAVE_S_ISREG 1
107574 _ACEOF
107575
107576     res=S_ISREG
107577   elif test $glibcxx_cv_S_IFREG = yes; then
107578
107579 cat >>confdefs.h <<\_ACEOF
107580 #define HAVE_S_IFREG 1
107581 _ACEOF
107582
107583     res=S_IFREG
107584   fi
107585   echo "$as_me:$LINENO: result: $res" >&5
107586 echo "${ECHO_T}$res" >&6
107587
107588
107589     # For xsputn_2().
107590
107591 for ac_header in sys/uio.h
107592 do
107593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107595   echo "$as_me:$LINENO: checking for $ac_header" >&5
107596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107598   echo $ECHO_N "(cached) $ECHO_C" >&6
107599 fi
107600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107602 else
107603   # Is the header compilable?
107604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107606 cat >conftest.$ac_ext <<_ACEOF
107607 /* confdefs.h.  */
107608 _ACEOF
107609 cat confdefs.h >>conftest.$ac_ext
107610 cat >>conftest.$ac_ext <<_ACEOF
107611 /* end confdefs.h.  */
107612 $ac_includes_default
107613 #include <$ac_header>
107614 _ACEOF
107615 rm -f conftest.$ac_objext
107616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107617   (eval $ac_compile) 2>conftest.er1
107618   ac_status=$?
107619   grep -v '^ *+' conftest.er1 >conftest.err
107620   rm -f conftest.er1
107621   cat conftest.err >&5
107622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107623   (exit $ac_status); } &&
107624          { ac_try='test -z "$ac_c_werror_flag"
107625                          || test ! -s conftest.err'
107626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107627   (eval $ac_try) 2>&5
107628   ac_status=$?
107629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107630   (exit $ac_status); }; } &&
107631          { ac_try='test -s conftest.$ac_objext'
107632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107633   (eval $ac_try) 2>&5
107634   ac_status=$?
107635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107636   (exit $ac_status); }; }; then
107637   ac_header_compiler=yes
107638 else
107639   echo "$as_me: failed program was:" >&5
107640 sed 's/^/| /' conftest.$ac_ext >&5
107641
107642 ac_header_compiler=no
107643 fi
107644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107646 echo "${ECHO_T}$ac_header_compiler" >&6
107647
107648 # Is the header present?
107649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107651 cat >conftest.$ac_ext <<_ACEOF
107652 /* confdefs.h.  */
107653 _ACEOF
107654 cat confdefs.h >>conftest.$ac_ext
107655 cat >>conftest.$ac_ext <<_ACEOF
107656 /* end confdefs.h.  */
107657 #include <$ac_header>
107658 _ACEOF
107659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107660   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107661   ac_status=$?
107662   grep -v '^ *+' conftest.er1 >conftest.err
107663   rm -f conftest.er1
107664   cat conftest.err >&5
107665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107666   (exit $ac_status); } >/dev/null; then
107667   if test -s conftest.err; then
107668     ac_cpp_err=$ac_c_preproc_warn_flag
107669     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107670   else
107671     ac_cpp_err=
107672   fi
107673 else
107674   ac_cpp_err=yes
107675 fi
107676 if test -z "$ac_cpp_err"; then
107677   ac_header_preproc=yes
107678 else
107679   echo "$as_me: failed program was:" >&5
107680 sed 's/^/| /' conftest.$ac_ext >&5
107681
107682   ac_header_preproc=no
107683 fi
107684 rm -f conftest.err conftest.$ac_ext
107685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107686 echo "${ECHO_T}$ac_header_preproc" >&6
107687
107688 # So?  What about this header?
107689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107690   yes:no: )
107691     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107693     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107695     ac_header_preproc=yes
107696     ;;
107697   no:yes:* )
107698     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107700     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107701 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107702     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107704     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107705 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107706     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107708     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107710     (
107711       cat <<\_ASBOX
107712 ## ----------------------------------------- ##
107713 ## Report this to the package-unused lists.  ##
107714 ## ----------------------------------------- ##
107715 _ASBOX
107716     ) |
107717       sed "s/^/$as_me: WARNING:     /" >&2
107718     ;;
107719 esac
107720 echo "$as_me:$LINENO: checking for $ac_header" >&5
107721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107723   echo $ECHO_N "(cached) $ECHO_C" >&6
107724 else
107725   eval "$as_ac_Header=\$ac_header_preproc"
107726 fi
107727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107729
107730 fi
107731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107732   cat >>confdefs.h <<_ACEOF
107733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107734 _ACEOF
107735
107736 fi
107737
107738 done
107739
107740
107741   echo "$as_me:$LINENO: checking for writev" >&5
107742 echo $ECHO_N "checking for writev... $ECHO_C" >&6
107743   if test "${glibcxx_cv_WRITEV+set}" = set; then
107744   echo $ECHO_N "(cached) $ECHO_C" >&6
107745 else
107746
107747     if test x$gcc_no_link = xyes; then
107748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107750    { (exit 1); exit 1; }; }
107751 fi
107752 cat >conftest.$ac_ext <<_ACEOF
107753 /* confdefs.h.  */
107754 _ACEOF
107755 cat confdefs.h >>conftest.$ac_ext
107756 cat >>conftest.$ac_ext <<_ACEOF
107757 /* end confdefs.h.  */
107758 #include <sys/uio.h>
107759 int
107760 main ()
107761 {
107762 struct iovec iov[2];
107763        writev(0, iov, 0);
107764   ;
107765   return 0;
107766 }
107767 _ACEOF
107768 rm -f conftest.$ac_objext conftest$ac_exeext
107769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107770   (eval $ac_link) 2>conftest.er1
107771   ac_status=$?
107772   grep -v '^ *+' conftest.er1 >conftest.err
107773   rm -f conftest.er1
107774   cat conftest.err >&5
107775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107776   (exit $ac_status); } &&
107777          { ac_try='test -z "$ac_c_werror_flag"
107778                          || test ! -s conftest.err'
107779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107780   (eval $ac_try) 2>&5
107781   ac_status=$?
107782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107783   (exit $ac_status); }; } &&
107784          { ac_try='test -s conftest$ac_exeext'
107785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107786   (eval $ac_try) 2>&5
107787   ac_status=$?
107788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107789   (exit $ac_status); }; }; then
107790   glibcxx_cv_WRITEV=yes
107791 else
107792   echo "$as_me: failed program was:" >&5
107793 sed 's/^/| /' conftest.$ac_ext >&5
107794
107795 glibcxx_cv_WRITEV=no
107796 fi
107797 rm -f conftest.err conftest.$ac_objext \
107798       conftest$ac_exeext conftest.$ac_ext
107799
107800 fi
107801
107802   if test $glibcxx_cv_WRITEV = yes; then
107803
107804 cat >>confdefs.h <<\_ACEOF
107805 #define HAVE_WRITEV 1
107806 _ACEOF
107807
107808   fi
107809   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
107810 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
107811
107812
107813     # For C99 support to TR1.
107814
107815
107816
107817
107818   ac_ext=cc
107819 ac_cpp='$CXXCPP $CPPFLAGS'
107820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107823
107824
107825   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
107826   # undefined and fake C99 facilities may be spuriously enabled.
107827   ac_save_CXXFLAGS="$CXXFLAGS"
107828   CXXFLAGS="$CXXFLAGS -std=c++98"
107829
107830   # Check for the existence of <complex.h> complex math functions used
107831   # by tr1/complex.
107832
107833 for ac_header in complex.h
107834 do
107835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107837   echo "$as_me:$LINENO: checking for $ac_header" >&5
107838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107840   echo $ECHO_N "(cached) $ECHO_C" >&6
107841 fi
107842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107844 else
107845   # Is the header compilable?
107846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107848 cat >conftest.$ac_ext <<_ACEOF
107849 /* confdefs.h.  */
107850 _ACEOF
107851 cat confdefs.h >>conftest.$ac_ext
107852 cat >>conftest.$ac_ext <<_ACEOF
107853 /* end confdefs.h.  */
107854 $ac_includes_default
107855 #include <$ac_header>
107856 _ACEOF
107857 rm -f conftest.$ac_objext
107858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107859   (eval $ac_compile) 2>conftest.er1
107860   ac_status=$?
107861   grep -v '^ *+' conftest.er1 >conftest.err
107862   rm -f conftest.er1
107863   cat conftest.err >&5
107864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107865   (exit $ac_status); } &&
107866          { ac_try='test -z "$ac_cxx_werror_flag"
107867                          || test ! -s conftest.err'
107868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107869   (eval $ac_try) 2>&5
107870   ac_status=$?
107871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107872   (exit $ac_status); }; } &&
107873          { ac_try='test -s conftest.$ac_objext'
107874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107875   (eval $ac_try) 2>&5
107876   ac_status=$?
107877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107878   (exit $ac_status); }; }; then
107879   ac_header_compiler=yes
107880 else
107881   echo "$as_me: failed program was:" >&5
107882 sed 's/^/| /' conftest.$ac_ext >&5
107883
107884 ac_header_compiler=no
107885 fi
107886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107888 echo "${ECHO_T}$ac_header_compiler" >&6
107889
107890 # Is the header present?
107891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107893 cat >conftest.$ac_ext <<_ACEOF
107894 /* confdefs.h.  */
107895 _ACEOF
107896 cat confdefs.h >>conftest.$ac_ext
107897 cat >>conftest.$ac_ext <<_ACEOF
107898 /* end confdefs.h.  */
107899 #include <$ac_header>
107900 _ACEOF
107901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107902   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107903   ac_status=$?
107904   grep -v '^ *+' conftest.er1 >conftest.err
107905   rm -f conftest.er1
107906   cat conftest.err >&5
107907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107908   (exit $ac_status); } >/dev/null; then
107909   if test -s conftest.err; then
107910     ac_cpp_err=$ac_cxx_preproc_warn_flag
107911     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
107912   else
107913     ac_cpp_err=
107914   fi
107915 else
107916   ac_cpp_err=yes
107917 fi
107918 if test -z "$ac_cpp_err"; then
107919   ac_header_preproc=yes
107920 else
107921   echo "$as_me: failed program was:" >&5
107922 sed 's/^/| /' conftest.$ac_ext >&5
107923
107924   ac_header_preproc=no
107925 fi
107926 rm -f conftest.err conftest.$ac_ext
107927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107928 echo "${ECHO_T}$ac_header_preproc" >&6
107929
107930 # So?  What about this header?
107931 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
107932   yes:no: )
107933     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107935     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107937     ac_header_preproc=yes
107938     ;;
107939   no:yes:* )
107940     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107942     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107943 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107944     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107946     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107947 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107948     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107950     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107952     (
107953       cat <<\_ASBOX
107954 ## ----------------------------------------- ##
107955 ## Report this to the package-unused lists.  ##
107956 ## ----------------------------------------- ##
107957 _ASBOX
107958     ) |
107959       sed "s/^/$as_me: WARNING:     /" >&2
107960     ;;
107961 esac
107962 echo "$as_me:$LINENO: checking for $ac_header" >&5
107963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107965   echo $ECHO_N "(cached) $ECHO_C" >&6
107966 else
107967   eval "$as_ac_Header=\$ac_header_preproc"
107968 fi
107969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107971
107972 fi
107973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107974   cat >>confdefs.h <<_ACEOF
107975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107976 _ACEOF
107977  ac_has_complex_h=yes
107978 else
107979   ac_has_complex_h=no
107980 fi
107981
107982 done
107983
107984   ac_c99_complex_tr1=no;
107985   if test x"$ac_has_complex_h" = x"yes"; then
107986     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
107987 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
107988     cat >conftest.$ac_ext <<_ACEOF
107989 /* confdefs.h.  */
107990 _ACEOF
107991 cat confdefs.h >>conftest.$ac_ext
107992 cat >>conftest.$ac_ext <<_ACEOF
107993 /* end confdefs.h.  */
107994 #include <complex.h>
107995 int
107996 main ()
107997 {
107998 typedef __complex__ float float_type; float_type tmpf;
107999                     cacosf(tmpf);
108000                     casinf(tmpf);
108001                     catanf(tmpf);
108002                     cacoshf(tmpf);
108003                     casinhf(tmpf);
108004                     catanhf(tmpf);
108005                     typedef __complex__ double double_type; double_type tmpd;
108006                     cacos(tmpd);
108007                     casin(tmpd);
108008                     catan(tmpd);
108009                     cacosh(tmpd);
108010                     casinh(tmpd);
108011                     catanh(tmpd);
108012                     typedef __complex__ long double ld_type; ld_type tmpld;
108013                     cacosl(tmpld);
108014                     casinl(tmpld);
108015                     catanl(tmpld);
108016                     cacoshl(tmpld);
108017                     casinhl(tmpld);
108018                     catanhl(tmpld);
108019
108020   ;
108021   return 0;
108022 }
108023 _ACEOF
108024 rm -f conftest.$ac_objext
108025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108026   (eval $ac_compile) 2>conftest.er1
108027   ac_status=$?
108028   grep -v '^ *+' conftest.er1 >conftest.err
108029   rm -f conftest.er1
108030   cat conftest.err >&5
108031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108032   (exit $ac_status); } &&
108033          { ac_try='test -z "$ac_cxx_werror_flag"
108034                          || test ! -s conftest.err'
108035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108036   (eval $ac_try) 2>&5
108037   ac_status=$?
108038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108039   (exit $ac_status); }; } &&
108040          { ac_try='test -s conftest.$ac_objext'
108041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108042   (eval $ac_try) 2>&5
108043   ac_status=$?
108044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108045   (exit $ac_status); }; }; then
108046   ac_c99_complex_tr1=yes
108047 else
108048   echo "$as_me: failed program was:" >&5
108049 sed 's/^/| /' conftest.$ac_ext >&5
108050
108051 ac_c99_complex_tr1=no
108052 fi
108053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108054   fi
108055   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
108056 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
108057   if test x"$ac_c99_complex_tr1" = x"yes"; then
108058
108059 cat >>confdefs.h <<\_ACEOF
108060 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
108061 _ACEOF
108062
108063   fi
108064
108065   # Check for the existence of <ctype.h> functions.
108066   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
108067 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
108068   if test "${ac_c99_ctype_tr1+set}" = set; then
108069   echo $ECHO_N "(cached) $ECHO_C" >&6
108070 else
108071
108072   cat >conftest.$ac_ext <<_ACEOF
108073 /* confdefs.h.  */
108074 _ACEOF
108075 cat confdefs.h >>conftest.$ac_ext
108076 cat >>conftest.$ac_ext <<_ACEOF
108077 /* end confdefs.h.  */
108078 #include <ctype.h>
108079 int
108080 main ()
108081 {
108082 int ch;
108083                   int ret;
108084                   ret = isblank(ch);
108085
108086   ;
108087   return 0;
108088 }
108089 _ACEOF
108090 rm -f conftest.$ac_objext
108091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108092   (eval $ac_compile) 2>conftest.er1
108093   ac_status=$?
108094   grep -v '^ *+' conftest.er1 >conftest.err
108095   rm -f conftest.er1
108096   cat conftest.err >&5
108097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108098   (exit $ac_status); } &&
108099          { ac_try='test -z "$ac_cxx_werror_flag"
108100                          || test ! -s conftest.err'
108101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108102   (eval $ac_try) 2>&5
108103   ac_status=$?
108104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108105   (exit $ac_status); }; } &&
108106          { ac_try='test -s conftest.$ac_objext'
108107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108108   (eval $ac_try) 2>&5
108109   ac_status=$?
108110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108111   (exit $ac_status); }; }; then
108112   ac_c99_ctype_tr1=yes
108113 else
108114   echo "$as_me: failed program was:" >&5
108115 sed 's/^/| /' conftest.$ac_ext >&5
108116
108117 ac_c99_ctype_tr1=no
108118 fi
108119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108120
108121 fi
108122
108123   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
108124 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
108125   if test x"$ac_c99_ctype_tr1" = x"yes"; then
108126
108127 cat >>confdefs.h <<\_ACEOF
108128 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
108129 _ACEOF
108130
108131   fi
108132
108133   # Check for the existence of <fenv.h> functions.
108134
108135 for ac_header in fenv.h
108136 do
108137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108139   echo "$as_me:$LINENO: checking for $ac_header" >&5
108140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108142   echo $ECHO_N "(cached) $ECHO_C" >&6
108143 fi
108144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108146 else
108147   # Is the header compilable?
108148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108150 cat >conftest.$ac_ext <<_ACEOF
108151 /* confdefs.h.  */
108152 _ACEOF
108153 cat confdefs.h >>conftest.$ac_ext
108154 cat >>conftest.$ac_ext <<_ACEOF
108155 /* end confdefs.h.  */
108156 $ac_includes_default
108157 #include <$ac_header>
108158 _ACEOF
108159 rm -f conftest.$ac_objext
108160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108161   (eval $ac_compile) 2>conftest.er1
108162   ac_status=$?
108163   grep -v '^ *+' conftest.er1 >conftest.err
108164   rm -f conftest.er1
108165   cat conftest.err >&5
108166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108167   (exit $ac_status); } &&
108168          { ac_try='test -z "$ac_cxx_werror_flag"
108169                          || test ! -s conftest.err'
108170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108171   (eval $ac_try) 2>&5
108172   ac_status=$?
108173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108174   (exit $ac_status); }; } &&
108175          { ac_try='test -s conftest.$ac_objext'
108176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108177   (eval $ac_try) 2>&5
108178   ac_status=$?
108179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108180   (exit $ac_status); }; }; then
108181   ac_header_compiler=yes
108182 else
108183   echo "$as_me: failed program was:" >&5
108184 sed 's/^/| /' conftest.$ac_ext >&5
108185
108186 ac_header_compiler=no
108187 fi
108188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108190 echo "${ECHO_T}$ac_header_compiler" >&6
108191
108192 # Is the header present?
108193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108195 cat >conftest.$ac_ext <<_ACEOF
108196 /* confdefs.h.  */
108197 _ACEOF
108198 cat confdefs.h >>conftest.$ac_ext
108199 cat >>conftest.$ac_ext <<_ACEOF
108200 /* end confdefs.h.  */
108201 #include <$ac_header>
108202 _ACEOF
108203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108204   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108205   ac_status=$?
108206   grep -v '^ *+' conftest.er1 >conftest.err
108207   rm -f conftest.er1
108208   cat conftest.err >&5
108209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108210   (exit $ac_status); } >/dev/null; then
108211   if test -s conftest.err; then
108212     ac_cpp_err=$ac_cxx_preproc_warn_flag
108213     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108214   else
108215     ac_cpp_err=
108216   fi
108217 else
108218   ac_cpp_err=yes
108219 fi
108220 if test -z "$ac_cpp_err"; then
108221   ac_header_preproc=yes
108222 else
108223   echo "$as_me: failed program was:" >&5
108224 sed 's/^/| /' conftest.$ac_ext >&5
108225
108226   ac_header_preproc=no
108227 fi
108228 rm -f conftest.err conftest.$ac_ext
108229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108230 echo "${ECHO_T}$ac_header_preproc" >&6
108231
108232 # So?  What about this header?
108233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108234   yes:no: )
108235     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108237     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108239     ac_header_preproc=yes
108240     ;;
108241   no:yes:* )
108242     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108244     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108245 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108246     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108248     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108249 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108250     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108252     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108254     (
108255       cat <<\_ASBOX
108256 ## ----------------------------------------- ##
108257 ## Report this to the package-unused lists.  ##
108258 ## ----------------------------------------- ##
108259 _ASBOX
108260     ) |
108261       sed "s/^/$as_me: WARNING:     /" >&2
108262     ;;
108263 esac
108264 echo "$as_me:$LINENO: checking for $ac_header" >&5
108265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108267   echo $ECHO_N "(cached) $ECHO_C" >&6
108268 else
108269   eval "$as_ac_Header=\$ac_header_preproc"
108270 fi
108271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108273
108274 fi
108275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108276   cat >>confdefs.h <<_ACEOF
108277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108278 _ACEOF
108279  ac_has_fenv_h=yes
108280 else
108281   ac_has_fenv_h=no
108282 fi
108283
108284 done
108285
108286   ac_c99_fenv_tr1=no;
108287   if test x"$ac_has_fenv_h" = x"yes"; then
108288     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
108289 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
108290     cat >conftest.$ac_ext <<_ACEOF
108291 /* confdefs.h.  */
108292 _ACEOF
108293 cat confdefs.h >>conftest.$ac_ext
108294 cat >>conftest.$ac_ext <<_ACEOF
108295 /* end confdefs.h.  */
108296 #include <fenv.h>
108297 int
108298 main ()
108299 {
108300 int except, mode;
108301                     fexcept_t* pflag;
108302                     fenv_t* penv;
108303                     int ret;
108304                     ret = feclearexcept(except);
108305                     ret = fegetexceptflag(pflag, except);
108306                     ret = feraiseexcept(except);
108307                     ret = fesetexceptflag(pflag, except);
108308                     ret = fetestexcept(except);
108309                     ret = fegetround();
108310                     ret = fesetround(mode);
108311                     ret = fegetenv(penv);
108312                     ret = feholdexcept(penv);
108313                     ret = fesetenv(penv);
108314                     ret = feupdateenv(penv);
108315
108316   ;
108317   return 0;
108318 }
108319 _ACEOF
108320 rm -f conftest.$ac_objext
108321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108322   (eval $ac_compile) 2>conftest.er1
108323   ac_status=$?
108324   grep -v '^ *+' conftest.er1 >conftest.err
108325   rm -f conftest.er1
108326   cat conftest.err >&5
108327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108328   (exit $ac_status); } &&
108329          { ac_try='test -z "$ac_cxx_werror_flag"
108330                          || test ! -s conftest.err'
108331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108332   (eval $ac_try) 2>&5
108333   ac_status=$?
108334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108335   (exit $ac_status); }; } &&
108336          { ac_try='test -s conftest.$ac_objext'
108337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108338   (eval $ac_try) 2>&5
108339   ac_status=$?
108340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108341   (exit $ac_status); }; }; then
108342   ac_c99_fenv_tr1=yes
108343 else
108344   echo "$as_me: failed program was:" >&5
108345 sed 's/^/| /' conftest.$ac_ext >&5
108346
108347 ac_c99_fenv_tr1=no
108348 fi
108349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108350   fi
108351   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
108352 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
108353   if test x"$ac_c99_fenv_tr1" = x"yes"; then
108354
108355 cat >>confdefs.h <<\_ACEOF
108356 #define _GLIBCXX_USE_C99_FENV_TR1 1
108357 _ACEOF
108358
108359   fi
108360
108361   # Check for the existence of <stdint.h> types.
108362   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
108363 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
108364   if test "${ac_c99_stdint_tr1+set}" = set; then
108365   echo $ECHO_N "(cached) $ECHO_C" >&6
108366 else
108367
108368   cat >conftest.$ac_ext <<_ACEOF
108369 /* confdefs.h.  */
108370 _ACEOF
108371 cat confdefs.h >>conftest.$ac_ext
108372 cat >>conftest.$ac_ext <<_ACEOF
108373 /* end confdefs.h.  */
108374 #include <stdint.h>
108375 int
108376 main ()
108377 {
108378 typedef int8_t          my_int8_t;
108379                   typedef int16_t         my_int16_t;
108380                   typedef int32_t         my_int32_t;
108381                   typedef int64_t         my_int64_t;
108382                   typedef int_fast8_t     my_int_fast8_t;
108383                   typedef int_fast16_t    my_int_fast16_t;
108384                   typedef int_fast32_t    my_int_fast32_t;
108385                   typedef int_fast64_t    my_int_fast64_t;
108386                   typedef int_least8_t    my_int_least8_t;
108387                   typedef int_least16_t   my_int_least16_t;
108388                   typedef int_least32_t   my_int_least32_t;
108389                   typedef int_least64_t   my_int_least64_t;
108390                   typedef intmax_t        my_intmax_t;
108391                   typedef intptr_t        my_intptr_t;
108392                   typedef uint8_t         my_uint8_t;
108393                   typedef uint16_t        my_uint16_t;
108394                   typedef uint32_t        my_uint32_t;
108395                   typedef uint64_t        my_uint64_t;
108396                   typedef uint_fast8_t    my_uint_fast8_t;
108397                   typedef uint_fast16_t   my_uint_fast16_t;
108398                   typedef uint_fast32_t   my_uint_fast32_t;
108399                   typedef uint_fast64_t   my_uint_fast64_t;
108400                   typedef uint_least8_t   my_uint_least8_t;
108401                   typedef uint_least16_t  my_uint_least16_t;
108402                   typedef uint_least32_t  my_uint_least32_t;
108403                   typedef uint_least64_t  my_uint_least64_t;
108404                   typedef uintmax_t       my_uintmax_t;
108405                   typedef uintptr_t       my_uintptr_t;
108406
108407   ;
108408   return 0;
108409 }
108410 _ACEOF
108411 rm -f conftest.$ac_objext
108412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108413   (eval $ac_compile) 2>conftest.er1
108414   ac_status=$?
108415   grep -v '^ *+' conftest.er1 >conftest.err
108416   rm -f conftest.er1
108417   cat conftest.err >&5
108418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108419   (exit $ac_status); } &&
108420          { ac_try='test -z "$ac_cxx_werror_flag"
108421                          || test ! -s conftest.err'
108422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108423   (eval $ac_try) 2>&5
108424   ac_status=$?
108425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108426   (exit $ac_status); }; } &&
108427          { ac_try='test -s conftest.$ac_objext'
108428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108429   (eval $ac_try) 2>&5
108430   ac_status=$?
108431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108432   (exit $ac_status); }; }; then
108433   ac_c99_stdint_tr1=yes
108434 else
108435   echo "$as_me: failed program was:" >&5
108436 sed 's/^/| /' conftest.$ac_ext >&5
108437
108438 ac_c99_stdint_tr1=no
108439 fi
108440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108441
108442 fi
108443
108444   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
108445 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
108446   if test x"$ac_c99_stdint_tr1" = x"yes"; then
108447
108448 cat >>confdefs.h <<\_ACEOF
108449 #define _GLIBCXX_USE_C99_STDINT_TR1 1
108450 _ACEOF
108451
108452   fi
108453
108454   # Check for the existence of <math.h> functions.
108455   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
108456 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
108457   if test "${ac_c99_math_tr1+set}" = set; then
108458   echo $ECHO_N "(cached) $ECHO_C" >&6
108459 else
108460
108461   cat >conftest.$ac_ext <<_ACEOF
108462 /* confdefs.h.  */
108463 _ACEOF
108464 cat confdefs.h >>conftest.$ac_ext
108465 cat >>conftest.$ac_ext <<_ACEOF
108466 /* end confdefs.h.  */
108467 #include <math.h>
108468 int
108469 main ()
108470 {
108471 typedef double_t  my_double_t;
108472                   typedef float_t   my_float_t;
108473                   acosh(0.0);
108474                   acoshf(0.0f);
108475                   acoshl(0.0l);
108476                   asinh(0.0);
108477                   asinhf(0.0f);
108478                   asinhl(0.0l);
108479                   atanh(0.0);
108480                   atanhf(0.0f);
108481                   atanhl(0.0l);
108482                   cbrt(0.0);
108483                   cbrtf(0.0f);
108484                   cbrtl(0.0l);
108485                   copysign(0.0, 0.0);
108486                   copysignf(0.0f, 0.0f);
108487                   copysignl(0.0l, 0.0l);
108488                   erf(0.0);
108489                   erff(0.0f);
108490                   erfl(0.0l);
108491                   erfc(0.0);
108492                   erfcf(0.0f);
108493                   erfcl(0.0l);
108494                   exp2(0.0);
108495                   exp2f(0.0f);
108496                   exp2l(0.0l);
108497                   expm1(0.0);
108498                   expm1f(0.0f);
108499                   expm1l(0.0l);
108500                   fdim(0.0, 0.0);
108501                   fdimf(0.0f, 0.0f);
108502                   fdiml(0.0l, 0.0l);
108503                   fma(0.0, 0.0, 0.0);
108504                   fmaf(0.0f, 0.0f, 0.0f);
108505                   fmal(0.0l, 0.0l, 0.0l);
108506                   fmax(0.0, 0.0);
108507                   fmaxf(0.0f, 0.0f);
108508                   fmaxl(0.0l, 0.0l);
108509                   fmin(0.0, 0.0);
108510                   fminf(0.0f, 0.0f);
108511                   fminl(0.0l, 0.0l);
108512                   hypot(0.0, 0.0);
108513                   hypotf(0.0f, 0.0f);
108514                   hypotl(0.0l, 0.0l);
108515                   ilogb(0.0);
108516                   ilogbf(0.0f);
108517                   ilogbl(0.0l);
108518                   lgamma(0.0);
108519                   lgammaf(0.0f);
108520                   lgammal(0.0l);
108521                   llrint(0.0);
108522                   llrintf(0.0f);
108523                   llrintl(0.0l);
108524                   llround(0.0);
108525                   llroundf(0.0f);
108526                   llroundl(0.0l);
108527                   log1p(0.0);
108528                   log1pf(0.0f);
108529                   log1pl(0.0l);
108530                   log2(0.0);
108531                   log2f(0.0f);
108532                   log2l(0.0l);
108533                   logb(0.0);
108534                   logbf(0.0f);
108535                   logbl(0.0l);
108536                   lrint(0.0);
108537                   lrintf(0.0f);
108538                   lrintl(0.0l);
108539                   lround(0.0);
108540                   lroundf(0.0f);
108541                   lroundl(0.0l);
108542                   nan(0);
108543                   nanf(0);
108544                   nanl(0);
108545                   nearbyint(0.0);
108546                   nearbyintf(0.0f);
108547                   nearbyintl(0.0l);
108548                   nextafter(0.0, 0.0);
108549                   nextafterf(0.0f, 0.0f);
108550                   nextafterl(0.0l, 0.0l);
108551                   nexttoward(0.0, 0.0);
108552                   nexttowardf(0.0f, 0.0f);
108553                   nexttowardl(0.0l, 0.0l);
108554                   remainder(0.0, 0.0);
108555                   remainderf(0.0f, 0.0f);
108556                   remainderl(0.0l, 0.0l);
108557                   remquo(0.0, 0.0, 0);
108558                   remquo(0.0f, 0.0f, 0);
108559                   remquo(0.0l, 0.0l, 0);
108560                   rint(0.0);
108561                   rintf(0.0f);
108562                   rintl(0.0l);
108563                   round(0.0);
108564                   roundf(0.0f);
108565                   roundl(0.0l);
108566                   scalbln(0.0, 0l);
108567                   scalblnf(0.0f, 0l);
108568                   scalblnl(0.0l, 0l);
108569                   scalbn(0.0, 0);
108570                   scalbnf(0.0f, 0);
108571                   scalbnl(0.0l, 0);
108572                   tgamma(0.0);
108573                   tgammaf(0.0f);
108574                   tgammal(0.0l);
108575                   trunc(0.0);
108576                   truncf(0.0f);
108577                   truncl(0.0l);
108578
108579   ;
108580   return 0;
108581 }
108582 _ACEOF
108583 rm -f conftest.$ac_objext
108584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108585   (eval $ac_compile) 2>conftest.er1
108586   ac_status=$?
108587   grep -v '^ *+' conftest.er1 >conftest.err
108588   rm -f conftest.er1
108589   cat conftest.err >&5
108590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108591   (exit $ac_status); } &&
108592          { ac_try='test -z "$ac_cxx_werror_flag"
108593                          || test ! -s conftest.err'
108594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108595   (eval $ac_try) 2>&5
108596   ac_status=$?
108597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108598   (exit $ac_status); }; } &&
108599          { ac_try='test -s conftest.$ac_objext'
108600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108601   (eval $ac_try) 2>&5
108602   ac_status=$?
108603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108604   (exit $ac_status); }; }; then
108605   ac_c99_math_tr1=yes
108606 else
108607   echo "$as_me: failed program was:" >&5
108608 sed 's/^/| /' conftest.$ac_ext >&5
108609
108610 ac_c99_math_tr1=no
108611 fi
108612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108613
108614 fi
108615
108616   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
108617 echo "${ECHO_T}$ac_c99_math_tr1" >&6
108618   if test x"$ac_c99_math_tr1" = x"yes"; then
108619
108620 cat >>confdefs.h <<\_ACEOF
108621 #define _GLIBCXX_USE_C99_MATH_TR1 1
108622 _ACEOF
108623
108624   fi
108625
108626   # Check for the existence of <inttypes.h> functions (NB: doesn't make
108627   # sense if the previous check fails, per C99, 7.8/1).
108628   ac_c99_inttypes_tr1=no;
108629   if test x"$ac_c99_stdint_tr1" = x"yes"; then
108630     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
108631 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
108632     cat >conftest.$ac_ext <<_ACEOF
108633 /* confdefs.h.  */
108634 _ACEOF
108635 cat confdefs.h >>conftest.$ac_ext
108636 cat >>conftest.$ac_ext <<_ACEOF
108637 /* end confdefs.h.  */
108638 #include <inttypes.h>
108639 int
108640 main ()
108641 {
108642 intmax_t i, numer, denom, base;
108643                     const char* s;
108644                     char** endptr;
108645                     intmax_t ret = imaxabs(i);
108646                     imaxdiv_t dret = imaxdiv(numer, denom);
108647                     ret = strtoimax(s, endptr, base);
108648                     uintmax_t uret = strtoumax(s, endptr, base);
108649
108650   ;
108651   return 0;
108652 }
108653 _ACEOF
108654 rm -f conftest.$ac_objext
108655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108656   (eval $ac_compile) 2>conftest.er1
108657   ac_status=$?
108658   grep -v '^ *+' conftest.er1 >conftest.err
108659   rm -f conftest.er1
108660   cat conftest.err >&5
108661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108662   (exit $ac_status); } &&
108663          { ac_try='test -z "$ac_cxx_werror_flag"
108664                          || test ! -s conftest.err'
108665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108666   (eval $ac_try) 2>&5
108667   ac_status=$?
108668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108669   (exit $ac_status); }; } &&
108670          { ac_try='test -s conftest.$ac_objext'
108671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108672   (eval $ac_try) 2>&5
108673   ac_status=$?
108674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108675   (exit $ac_status); }; }; then
108676   ac_c99_inttypes_tr1=yes
108677 else
108678   echo "$as_me: failed program was:" >&5
108679 sed 's/^/| /' conftest.$ac_ext >&5
108680
108681 ac_c99_inttypes_tr1=no
108682 fi
108683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108684   fi
108685   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
108686 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
108687   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
108688
108689 cat >>confdefs.h <<\_ACEOF
108690 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
108691 _ACEOF
108692
108693   fi
108694
108695   # Check for the existence of the <stdbool.h> header.
108696
108697 for ac_header in stdbool.h
108698 do
108699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108701   echo "$as_me:$LINENO: checking for $ac_header" >&5
108702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108704   echo $ECHO_N "(cached) $ECHO_C" >&6
108705 fi
108706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108708 else
108709   # Is the header compilable?
108710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108712 cat >conftest.$ac_ext <<_ACEOF
108713 /* confdefs.h.  */
108714 _ACEOF
108715 cat confdefs.h >>conftest.$ac_ext
108716 cat >>conftest.$ac_ext <<_ACEOF
108717 /* end confdefs.h.  */
108718 $ac_includes_default
108719 #include <$ac_header>
108720 _ACEOF
108721 rm -f conftest.$ac_objext
108722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108723   (eval $ac_compile) 2>conftest.er1
108724   ac_status=$?
108725   grep -v '^ *+' conftest.er1 >conftest.err
108726   rm -f conftest.er1
108727   cat conftest.err >&5
108728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108729   (exit $ac_status); } &&
108730          { ac_try='test -z "$ac_cxx_werror_flag"
108731                          || test ! -s conftest.err'
108732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108733   (eval $ac_try) 2>&5
108734   ac_status=$?
108735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108736   (exit $ac_status); }; } &&
108737          { ac_try='test -s conftest.$ac_objext'
108738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108739   (eval $ac_try) 2>&5
108740   ac_status=$?
108741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108742   (exit $ac_status); }; }; then
108743   ac_header_compiler=yes
108744 else
108745   echo "$as_me: failed program was:" >&5
108746 sed 's/^/| /' conftest.$ac_ext >&5
108747
108748 ac_header_compiler=no
108749 fi
108750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108752 echo "${ECHO_T}$ac_header_compiler" >&6
108753
108754 # Is the header present?
108755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108757 cat >conftest.$ac_ext <<_ACEOF
108758 /* confdefs.h.  */
108759 _ACEOF
108760 cat confdefs.h >>conftest.$ac_ext
108761 cat >>conftest.$ac_ext <<_ACEOF
108762 /* end confdefs.h.  */
108763 #include <$ac_header>
108764 _ACEOF
108765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108766   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108767   ac_status=$?
108768   grep -v '^ *+' conftest.er1 >conftest.err
108769   rm -f conftest.er1
108770   cat conftest.err >&5
108771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108772   (exit $ac_status); } >/dev/null; then
108773   if test -s conftest.err; then
108774     ac_cpp_err=$ac_cxx_preproc_warn_flag
108775     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108776   else
108777     ac_cpp_err=
108778   fi
108779 else
108780   ac_cpp_err=yes
108781 fi
108782 if test -z "$ac_cpp_err"; then
108783   ac_header_preproc=yes
108784 else
108785   echo "$as_me: failed program was:" >&5
108786 sed 's/^/| /' conftest.$ac_ext >&5
108787
108788   ac_header_preproc=no
108789 fi
108790 rm -f conftest.err conftest.$ac_ext
108791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108792 echo "${ECHO_T}$ac_header_preproc" >&6
108793
108794 # So?  What about this header?
108795 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108796   yes:no: )
108797     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108799     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108800 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108801     ac_header_preproc=yes
108802     ;;
108803   no:yes:* )
108804     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108806     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108807 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108808     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108809 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108810     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108811 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108812     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108814     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108815 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108816     (
108817       cat <<\_ASBOX
108818 ## ----------------------------------------- ##
108819 ## Report this to the package-unused lists.  ##
108820 ## ----------------------------------------- ##
108821 _ASBOX
108822     ) |
108823       sed "s/^/$as_me: WARNING:     /" >&2
108824     ;;
108825 esac
108826 echo "$as_me:$LINENO: checking for $ac_header" >&5
108827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108829   echo $ECHO_N "(cached) $ECHO_C" >&6
108830 else
108831   eval "$as_ac_Header=\$ac_header_preproc"
108832 fi
108833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108835
108836 fi
108837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108838   cat >>confdefs.h <<_ACEOF
108839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108840 _ACEOF
108841
108842 fi
108843
108844 done
108845
108846
108847   CXXFLAGS="$ac_save_CXXFLAGS"
108848   ac_ext=c
108849 ac_cpp='$CPP $CPPFLAGS'
108850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108853
108854
108855
108856     # Check for sigsetjmp
108857     cat >conftest.$ac_ext <<_ACEOF
108858 /* confdefs.h.  */
108859 _ACEOF
108860 cat confdefs.h >>conftest.$ac_ext
108861 cat >>conftest.$ac_ext <<_ACEOF
108862 /* end confdefs.h.  */
108863 #include <setjmp.h>
108864 int
108865 main ()
108866 {
108867 sigjmp_buf env;
108868        while (! sigsetjmp (env, 1))
108869          siglongjmp (env, 1);
108870
108871   ;
108872   return 0;
108873 }
108874 _ACEOF
108875 rm -f conftest.$ac_objext
108876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108877   (eval $ac_compile) 2>conftest.er1
108878   ac_status=$?
108879   grep -v '^ *+' conftest.er1 >conftest.err
108880   rm -f conftest.er1
108881   cat conftest.err >&5
108882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108883   (exit $ac_status); } &&
108884          { ac_try='test -z "$ac_c_werror_flag"
108885                          || test ! -s conftest.err'
108886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108887   (eval $ac_try) 2>&5
108888   ac_status=$?
108889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108890   (exit $ac_status); }; } &&
108891          { ac_try='test -s conftest.$ac_objext'
108892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108893   (eval $ac_try) 2>&5
108894   ac_status=$?
108895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108896   (exit $ac_status); }; }; then
108897
108898 cat >>confdefs.h <<\_ACEOF
108899 #define HAVE_SIGSETJMP 1
108900 _ACEOF
108901
108902 else
108903   echo "$as_me: failed program was:" >&5
108904 sed 's/^/| /' conftest.$ac_ext >&5
108905
108906 fi
108907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108908     ;;
108909   *-mingw32*)
108910
108911
108912
108913 for ac_header in sys/types.h locale.h float.h
108914 do
108915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108917   echo "$as_me:$LINENO: checking for $ac_header" >&5
108918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108920   echo $ECHO_N "(cached) $ECHO_C" >&6
108921 fi
108922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108924 else
108925   # Is the header compilable?
108926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108928 cat >conftest.$ac_ext <<_ACEOF
108929 /* confdefs.h.  */
108930 _ACEOF
108931 cat confdefs.h >>conftest.$ac_ext
108932 cat >>conftest.$ac_ext <<_ACEOF
108933 /* end confdefs.h.  */
108934 $ac_includes_default
108935 #include <$ac_header>
108936 _ACEOF
108937 rm -f conftest.$ac_objext
108938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108939   (eval $ac_compile) 2>conftest.er1
108940   ac_status=$?
108941   grep -v '^ *+' conftest.er1 >conftest.err
108942   rm -f conftest.er1
108943   cat conftest.err >&5
108944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108945   (exit $ac_status); } &&
108946          { ac_try='test -z "$ac_c_werror_flag"
108947                          || test ! -s conftest.err'
108948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108949   (eval $ac_try) 2>&5
108950   ac_status=$?
108951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108952   (exit $ac_status); }; } &&
108953          { ac_try='test -s conftest.$ac_objext'
108954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108955   (eval $ac_try) 2>&5
108956   ac_status=$?
108957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108958   (exit $ac_status); }; }; then
108959   ac_header_compiler=yes
108960 else
108961   echo "$as_me: failed program was:" >&5
108962 sed 's/^/| /' conftest.$ac_ext >&5
108963
108964 ac_header_compiler=no
108965 fi
108966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108968 echo "${ECHO_T}$ac_header_compiler" >&6
108969
108970 # Is the header present?
108971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108973 cat >conftest.$ac_ext <<_ACEOF
108974 /* confdefs.h.  */
108975 _ACEOF
108976 cat confdefs.h >>conftest.$ac_ext
108977 cat >>conftest.$ac_ext <<_ACEOF
108978 /* end confdefs.h.  */
108979 #include <$ac_header>
108980 _ACEOF
108981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108982   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108983   ac_status=$?
108984   grep -v '^ *+' conftest.er1 >conftest.err
108985   rm -f conftest.er1
108986   cat conftest.err >&5
108987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108988   (exit $ac_status); } >/dev/null; then
108989   if test -s conftest.err; then
108990     ac_cpp_err=$ac_c_preproc_warn_flag
108991     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108992   else
108993     ac_cpp_err=
108994   fi
108995 else
108996   ac_cpp_err=yes
108997 fi
108998 if test -z "$ac_cpp_err"; then
108999   ac_header_preproc=yes
109000 else
109001   echo "$as_me: failed program was:" >&5
109002 sed 's/^/| /' conftest.$ac_ext >&5
109003
109004   ac_header_preproc=no
109005 fi
109006 rm -f conftest.err conftest.$ac_ext
109007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109008 echo "${ECHO_T}$ac_header_preproc" >&6
109009
109010 # So?  What about this header?
109011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109012   yes:no: )
109013     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109015     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109017     ac_header_preproc=yes
109018     ;;
109019   no:yes:* )
109020     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109022     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109023 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109024     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109026     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109027 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109028     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109030     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109032     (
109033       cat <<\_ASBOX
109034 ## ----------------------------------------- ##
109035 ## Report this to the package-unused lists.  ##
109036 ## ----------------------------------------- ##
109037 _ASBOX
109038     ) |
109039       sed "s/^/$as_me: WARNING:     /" >&2
109040     ;;
109041 esac
109042 echo "$as_me:$LINENO: checking for $ac_header" >&5
109043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109045   echo $ECHO_N "(cached) $ECHO_C" >&6
109046 else
109047   eval "$as_ac_Header=\$ac_header_preproc"
109048 fi
109049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109051
109052 fi
109053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109054   cat >>confdefs.h <<_ACEOF
109055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109056 _ACEOF
109057
109058 fi
109059
109060 done
109061
109062
109063   # If we're not using GNU ld, then there's no point in even trying these
109064   # tests.  Check for that first.  We should have already tested for gld
109065   # by now (in libtool), but require it now just to be safe...
109066   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109067   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109068
109069
109070
109071   # The name set by libtool depends on the version of libtool.  Shame on us
109072   # for depending on an impl detail, but c'est la vie.  Older versions used
109073   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109074   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109075   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
109076   # set (hence we're using an older libtool), then set it.
109077   if test x${with_gnu_ld+set} != xset; then
109078     if test x${ac_cv_prog_gnu_ld+set} != xset; then
109079       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
109080       with_gnu_ld=no
109081     else
109082       with_gnu_ld=$ac_cv_prog_gnu_ld
109083     fi
109084   fi
109085
109086   # Start by getting the version number.  I think the libtool test already
109087   # does some of this, but throws away the result.
109088   if test x"$with_gnu_ld" = x"yes"; then
109089     echo "$as_me:$LINENO: checking for ld version" >&5
109090 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109091
109092     ldver=`$LD --version 2>/dev/null | head -1 | \
109093            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109094
109095     glibcxx_gnu_ld_version=`echo $ldver | \
109096            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109097     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109098 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109099   fi
109100
109101   # Set --gc-sections.
109102   glibcxx_gcsections_min_ld=21602
109103   if test x"$with_gnu_ld" = x"yes" &&
109104         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109105
109106     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
109107     # NB: This flag only works reliably after 2.16.1. Configure tests
109108     # for this are difficult, so hard wire a value that should work.
109109
109110     ac_test_CFLAGS="${CFLAGS+set}"
109111     ac_save_CFLAGS="$CFLAGS"
109112     CFLAGS='-Wl,--gc-sections'
109113
109114     # Check for -Wl,--gc-sections
109115     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109116 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109117     if test x$gcc_no_link = xyes; then
109118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109120    { (exit 1); exit 1; }; }
109121 fi
109122 cat >conftest.$ac_ext <<_ACEOF
109123 /* confdefs.h.  */
109124 _ACEOF
109125 cat confdefs.h >>conftest.$ac_ext
109126 cat >>conftest.$ac_ext <<_ACEOF
109127 /* end confdefs.h.  */
109128  int one(void) { return 1; }
109129      int two(void) { return 2; }
109130
109131 int
109132 main ()
109133 {
109134  two();
109135   ;
109136   return 0;
109137 }
109138 _ACEOF
109139 rm -f conftest.$ac_objext conftest$ac_exeext
109140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109141   (eval $ac_link) 2>conftest.er1
109142   ac_status=$?
109143   grep -v '^ *+' conftest.er1 >conftest.err
109144   rm -f conftest.er1
109145   cat conftest.err >&5
109146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109147   (exit $ac_status); } &&
109148          { ac_try='test -z "$ac_c_werror_flag"
109149                          || test ! -s conftest.err'
109150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109151   (eval $ac_try) 2>&5
109152   ac_status=$?
109153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109154   (exit $ac_status); }; } &&
109155          { ac_try='test -s conftest$ac_exeext'
109156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109157   (eval $ac_try) 2>&5
109158   ac_status=$?
109159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109160   (exit $ac_status); }; }; then
109161   ac_gcsections=yes
109162 else
109163   echo "$as_me: failed program was:" >&5
109164 sed 's/^/| /' conftest.$ac_ext >&5
109165
109166 ac_gcsections=no
109167 fi
109168 rm -f conftest.err conftest.$ac_objext \
109169       conftest$ac_exeext conftest.$ac_ext
109170     if test "$ac_gcsections" = "yes"; then
109171       rm -f conftest.c
109172       touch conftest.c
109173       if $CC -c conftest.c; then
109174         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109175            grep "Warning: gc-sections option ignored" > /dev/null; then
109176           ac_gcsections=no
109177         fi
109178       fi
109179       rm -f conftest.c conftest.o conftest
109180     fi
109181     if test "$ac_gcsections" = "yes"; then
109182       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109183     fi
109184     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109185 echo "${ECHO_T}$ac_gcsections" >&6
109186
109187     if test "$ac_test_CFLAGS" = set; then
109188       CFLAGS="$ac_save_CFLAGS"
109189     else
109190       # this is the suspicious part
109191       CFLAGS=''
109192     fi
109193   fi
109194
109195   # Set -z,relro.
109196   # Note this is only for shared objects.
109197   ac_ld_relro=no
109198   if test x"$with_gnu_ld" = x"yes"; then
109199     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109200 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109201     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109202     if test -n "$cxx_z_relo"; then
109203       OPT_LDFLAGS="-Wl,-z,relro"
109204       ac_ld_relro=yes
109205     fi
109206     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109207 echo "${ECHO_T}$ac_ld_relro" >&6
109208   fi
109209
109210   # Set linker optimization flags.
109211   if test x"$with_gnu_ld" = x"yes"; then
109212     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109213   fi
109214
109215
109216
109217
109218
109219
109220 echo "$as_me:$LINENO: checking for main in -lm" >&5
109221 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109222 if test "${ac_cv_lib_m_main+set}" = set; then
109223   echo $ECHO_N "(cached) $ECHO_C" >&6
109224 else
109225   ac_check_lib_save_LIBS=$LIBS
109226 LIBS="-lm  $LIBS"
109227 if test x$gcc_no_link = xyes; then
109228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109230    { (exit 1); exit 1; }; }
109231 fi
109232 cat >conftest.$ac_ext <<_ACEOF
109233 /* confdefs.h.  */
109234 _ACEOF
109235 cat confdefs.h >>conftest.$ac_ext
109236 cat >>conftest.$ac_ext <<_ACEOF
109237 /* end confdefs.h.  */
109238
109239
109240 int
109241 main ()
109242 {
109243 main ();
109244   ;
109245   return 0;
109246 }
109247 _ACEOF
109248 rm -f conftest.$ac_objext conftest$ac_exeext
109249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109250   (eval $ac_link) 2>conftest.er1
109251   ac_status=$?
109252   grep -v '^ *+' conftest.er1 >conftest.err
109253   rm -f conftest.er1
109254   cat conftest.err >&5
109255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109256   (exit $ac_status); } &&
109257          { ac_try='test -z "$ac_c_werror_flag"
109258                          || test ! -s conftest.err'
109259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109260   (eval $ac_try) 2>&5
109261   ac_status=$?
109262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109263   (exit $ac_status); }; } &&
109264          { ac_try='test -s conftest$ac_exeext'
109265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109266   (eval $ac_try) 2>&5
109267   ac_status=$?
109268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109269   (exit $ac_status); }; }; then
109270   ac_cv_lib_m_main=yes
109271 else
109272   echo "$as_me: failed program was:" >&5
109273 sed 's/^/| /' conftest.$ac_ext >&5
109274
109275 ac_cv_lib_m_main=no
109276 fi
109277 rm -f conftest.err conftest.$ac_objext \
109278       conftest$ac_exeext conftest.$ac_ext
109279 LIBS=$ac_check_lib_save_LIBS
109280 fi
109281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109282 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109283 if test $ac_cv_lib_m_main = yes; then
109284   cat >>confdefs.h <<_ACEOF
109285 #define HAVE_LIBM 1
109286 _ACEOF
109287
109288   LIBS="-lm $LIBS"
109289
109290 fi
109291
109292
109293 for ac_func in copysignf
109294 do
109295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109296 echo "$as_me:$LINENO: checking for $ac_func" >&5
109297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109298 if eval "test \"\${$as_ac_var+set}\" = set"; then
109299   echo $ECHO_N "(cached) $ECHO_C" >&6
109300 else
109301   if test x$gcc_no_link = xyes; then
109302   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109304    { (exit 1); exit 1; }; }
109305 fi
109306 cat >conftest.$ac_ext <<_ACEOF
109307 /* confdefs.h.  */
109308 _ACEOF
109309 cat confdefs.h >>conftest.$ac_ext
109310 cat >>conftest.$ac_ext <<_ACEOF
109311 /* end confdefs.h.  */
109312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109313    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109314 #define $ac_func innocuous_$ac_func
109315
109316 /* System header to define __stub macros and hopefully few prototypes,
109317     which can conflict with char $ac_func (); below.
109318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109319     <limits.h> exists even on freestanding compilers.  */
109320
109321 #ifdef __STDC__
109322 # include <limits.h>
109323 #else
109324 # include <assert.h>
109325 #endif
109326
109327 #undef $ac_func
109328
109329 /* Override any gcc2 internal prototype to avoid an error.  */
109330 #ifdef __cplusplus
109331 extern "C"
109332 {
109333 #endif
109334 /* We use char because int might match the return type of a gcc2
109335    builtin and then its argument prototype would still apply.  */
109336 char $ac_func ();
109337 /* The GNU C library defines this for functions which it implements
109338     to always fail with ENOSYS.  Some functions are actually named
109339     something starting with __ and the normal name is an alias.  */
109340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109341 choke me
109342 #else
109343 char (*f) () = $ac_func;
109344 #endif
109345 #ifdef __cplusplus
109346 }
109347 #endif
109348
109349 int
109350 main ()
109351 {
109352 return f != $ac_func;
109353   ;
109354   return 0;
109355 }
109356 _ACEOF
109357 rm -f conftest.$ac_objext conftest$ac_exeext
109358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109359   (eval $ac_link) 2>conftest.er1
109360   ac_status=$?
109361   grep -v '^ *+' conftest.er1 >conftest.err
109362   rm -f conftest.er1
109363   cat conftest.err >&5
109364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109365   (exit $ac_status); } &&
109366          { ac_try='test -z "$ac_c_werror_flag"
109367                          || test ! -s conftest.err'
109368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109369   (eval $ac_try) 2>&5
109370   ac_status=$?
109371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109372   (exit $ac_status); }; } &&
109373          { ac_try='test -s conftest$ac_exeext'
109374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109375   (eval $ac_try) 2>&5
109376   ac_status=$?
109377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109378   (exit $ac_status); }; }; then
109379   eval "$as_ac_var=yes"
109380 else
109381   echo "$as_me: failed program was:" >&5
109382 sed 's/^/| /' conftest.$ac_ext >&5
109383
109384 eval "$as_ac_var=no"
109385 fi
109386 rm -f conftest.err conftest.$ac_objext \
109387       conftest$ac_exeext conftest.$ac_ext
109388 fi
109389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109391 if test `eval echo '${'$as_ac_var'}'` = yes; then
109392   cat >>confdefs.h <<_ACEOF
109393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109394 _ACEOF
109395
109396 else
109397   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109398 fi
109399 done
109400
109401
109402
109403 for ac_func in __signbit
109404 do
109405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109406 echo "$as_me:$LINENO: checking for $ac_func" >&5
109407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109408 if eval "test \"\${$as_ac_var+set}\" = set"; then
109409   echo $ECHO_N "(cached) $ECHO_C" >&6
109410 else
109411   if test x$gcc_no_link = xyes; then
109412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109414    { (exit 1); exit 1; }; }
109415 fi
109416 cat >conftest.$ac_ext <<_ACEOF
109417 /* confdefs.h.  */
109418 _ACEOF
109419 cat confdefs.h >>conftest.$ac_ext
109420 cat >>conftest.$ac_ext <<_ACEOF
109421 /* end confdefs.h.  */
109422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109424 #define $ac_func innocuous_$ac_func
109425
109426 /* System header to define __stub macros and hopefully few prototypes,
109427     which can conflict with char $ac_func (); below.
109428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109429     <limits.h> exists even on freestanding compilers.  */
109430
109431 #ifdef __STDC__
109432 # include <limits.h>
109433 #else
109434 # include <assert.h>
109435 #endif
109436
109437 #undef $ac_func
109438
109439 /* Override any gcc2 internal prototype to avoid an error.  */
109440 #ifdef __cplusplus
109441 extern "C"
109442 {
109443 #endif
109444 /* We use char because int might match the return type of a gcc2
109445    builtin and then its argument prototype would still apply.  */
109446 char $ac_func ();
109447 /* The GNU C library defines this for functions which it implements
109448     to always fail with ENOSYS.  Some functions are actually named
109449     something starting with __ and the normal name is an alias.  */
109450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109451 choke me
109452 #else
109453 char (*f) () = $ac_func;
109454 #endif
109455 #ifdef __cplusplus
109456 }
109457 #endif
109458
109459 int
109460 main ()
109461 {
109462 return f != $ac_func;
109463   ;
109464   return 0;
109465 }
109466 _ACEOF
109467 rm -f conftest.$ac_objext conftest$ac_exeext
109468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109469   (eval $ac_link) 2>conftest.er1
109470   ac_status=$?
109471   grep -v '^ *+' conftest.er1 >conftest.err
109472   rm -f conftest.er1
109473   cat conftest.err >&5
109474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109475   (exit $ac_status); } &&
109476          { ac_try='test -z "$ac_c_werror_flag"
109477                          || test ! -s conftest.err'
109478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109479   (eval $ac_try) 2>&5
109480   ac_status=$?
109481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109482   (exit $ac_status); }; } &&
109483          { ac_try='test -s conftest$ac_exeext'
109484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109485   (eval $ac_try) 2>&5
109486   ac_status=$?
109487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109488   (exit $ac_status); }; }; then
109489   eval "$as_ac_var=yes"
109490 else
109491   echo "$as_me: failed program was:" >&5
109492 sed 's/^/| /' conftest.$ac_ext >&5
109493
109494 eval "$as_ac_var=no"
109495 fi
109496 rm -f conftest.err conftest.$ac_objext \
109497       conftest$ac_exeext conftest.$ac_ext
109498 fi
109499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109501 if test `eval echo '${'$as_ac_var'}'` = yes; then
109502   cat >>confdefs.h <<_ACEOF
109503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109504 _ACEOF
109505
109506 else
109507   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109508 fi
109509 done
109510
109511
109512
109513 for ac_func in __signbitf
109514 do
109515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109516 echo "$as_me:$LINENO: checking for $ac_func" >&5
109517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109518 if eval "test \"\${$as_ac_var+set}\" = set"; then
109519   echo $ECHO_N "(cached) $ECHO_C" >&6
109520 else
109521   if test x$gcc_no_link = xyes; then
109522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109524    { (exit 1); exit 1; }; }
109525 fi
109526 cat >conftest.$ac_ext <<_ACEOF
109527 /* confdefs.h.  */
109528 _ACEOF
109529 cat confdefs.h >>conftest.$ac_ext
109530 cat >>conftest.$ac_ext <<_ACEOF
109531 /* end confdefs.h.  */
109532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109534 #define $ac_func innocuous_$ac_func
109535
109536 /* System header to define __stub macros and hopefully few prototypes,
109537     which can conflict with char $ac_func (); below.
109538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109539     <limits.h> exists even on freestanding compilers.  */
109540
109541 #ifdef __STDC__
109542 # include <limits.h>
109543 #else
109544 # include <assert.h>
109545 #endif
109546
109547 #undef $ac_func
109548
109549 /* Override any gcc2 internal prototype to avoid an error.  */
109550 #ifdef __cplusplus
109551 extern "C"
109552 {
109553 #endif
109554 /* We use char because int might match the return type of a gcc2
109555    builtin and then its argument prototype would still apply.  */
109556 char $ac_func ();
109557 /* The GNU C library defines this for functions which it implements
109558     to always fail with ENOSYS.  Some functions are actually named
109559     something starting with __ and the normal name is an alias.  */
109560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109561 choke me
109562 #else
109563 char (*f) () = $ac_func;
109564 #endif
109565 #ifdef __cplusplus
109566 }
109567 #endif
109568
109569 int
109570 main ()
109571 {
109572 return f != $ac_func;
109573   ;
109574   return 0;
109575 }
109576 _ACEOF
109577 rm -f conftest.$ac_objext conftest$ac_exeext
109578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109579   (eval $ac_link) 2>conftest.er1
109580   ac_status=$?
109581   grep -v '^ *+' conftest.er1 >conftest.err
109582   rm -f conftest.er1
109583   cat conftest.err >&5
109584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109585   (exit $ac_status); } &&
109586          { ac_try='test -z "$ac_c_werror_flag"
109587                          || test ! -s conftest.err'
109588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109589   (eval $ac_try) 2>&5
109590   ac_status=$?
109591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109592   (exit $ac_status); }; } &&
109593          { ac_try='test -s conftest$ac_exeext'
109594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109595   (eval $ac_try) 2>&5
109596   ac_status=$?
109597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109598   (exit $ac_status); }; }; then
109599   eval "$as_ac_var=yes"
109600 else
109601   echo "$as_me: failed program was:" >&5
109602 sed 's/^/| /' conftest.$ac_ext >&5
109603
109604 eval "$as_ac_var=no"
109605 fi
109606 rm -f conftest.err conftest.$ac_objext \
109607       conftest$ac_exeext conftest.$ac_ext
109608 fi
109609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109611 if test `eval echo '${'$as_ac_var'}'` = yes; then
109612   cat >>confdefs.h <<_ACEOF
109613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109614 _ACEOF
109615
109616 else
109617   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109618 fi
109619 done
109620
109621
109622           if test x$ac_cv_func_copysignl = x"yes"; then
109623
109624 for ac_func in __signbitl
109625 do
109626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109627 echo "$as_me:$LINENO: checking for $ac_func" >&5
109628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109629 if eval "test \"\${$as_ac_var+set}\" = set"; then
109630   echo $ECHO_N "(cached) $ECHO_C" >&6
109631 else
109632   if test x$gcc_no_link = xyes; then
109633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109635    { (exit 1); exit 1; }; }
109636 fi
109637 cat >conftest.$ac_ext <<_ACEOF
109638 /* confdefs.h.  */
109639 _ACEOF
109640 cat confdefs.h >>conftest.$ac_ext
109641 cat >>conftest.$ac_ext <<_ACEOF
109642 /* end confdefs.h.  */
109643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109645 #define $ac_func innocuous_$ac_func
109646
109647 /* System header to define __stub macros and hopefully few prototypes,
109648     which can conflict with char $ac_func (); below.
109649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109650     <limits.h> exists even on freestanding compilers.  */
109651
109652 #ifdef __STDC__
109653 # include <limits.h>
109654 #else
109655 # include <assert.h>
109656 #endif
109657
109658 #undef $ac_func
109659
109660 /* Override any gcc2 internal prototype to avoid an error.  */
109661 #ifdef __cplusplus
109662 extern "C"
109663 {
109664 #endif
109665 /* We use char because int might match the return type of a gcc2
109666    builtin and then its argument prototype would still apply.  */
109667 char $ac_func ();
109668 /* The GNU C library defines this for functions which it implements
109669     to always fail with ENOSYS.  Some functions are actually named
109670     something starting with __ and the normal name is an alias.  */
109671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109672 choke me
109673 #else
109674 char (*f) () = $ac_func;
109675 #endif
109676 #ifdef __cplusplus
109677 }
109678 #endif
109679
109680 int
109681 main ()
109682 {
109683 return f != $ac_func;
109684   ;
109685   return 0;
109686 }
109687 _ACEOF
109688 rm -f conftest.$ac_objext conftest$ac_exeext
109689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109690   (eval $ac_link) 2>conftest.er1
109691   ac_status=$?
109692   grep -v '^ *+' conftest.er1 >conftest.err
109693   rm -f conftest.er1
109694   cat conftest.err >&5
109695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109696   (exit $ac_status); } &&
109697          { ac_try='test -z "$ac_c_werror_flag"
109698                          || test ! -s conftest.err'
109699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109700   (eval $ac_try) 2>&5
109701   ac_status=$?
109702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109703   (exit $ac_status); }; } &&
109704          { ac_try='test -s conftest$ac_exeext'
109705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109706   (eval $ac_try) 2>&5
109707   ac_status=$?
109708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109709   (exit $ac_status); }; }; then
109710   eval "$as_ac_var=yes"
109711 else
109712   echo "$as_me: failed program was:" >&5
109713 sed 's/^/| /' conftest.$ac_ext >&5
109714
109715 eval "$as_ac_var=no"
109716 fi
109717 rm -f conftest.err conftest.$ac_objext \
109718       conftest$ac_exeext conftest.$ac_ext
109719 fi
109720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109722 if test `eval echo '${'$as_ac_var'}'` = yes; then
109723   cat >>confdefs.h <<_ACEOF
109724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109725 _ACEOF
109726
109727 else
109728   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109729 fi
109730 done
109731
109732   fi
109733
109734   # Used in libmath/Makefile.am.
109735   if test -n "$LIBMATHOBJS"; then
109736     need_libmath=yes
109737   fi
109738
109739
109740     ;;
109741   *-netbsd*)
109742
109743
109744
109745
109746
109747
109748
109749
109750
109751
109752
109753
109754 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
109755       machine/endian.h machine/param.h sys/machine.h sys/types.h \
109756       fp.h locale.h float.h inttypes.h
109757 do
109758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109760   echo "$as_me:$LINENO: checking for $ac_header" >&5
109761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109763   echo $ECHO_N "(cached) $ECHO_C" >&6
109764 fi
109765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109767 else
109768   # Is the header compilable?
109769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109771 cat >conftest.$ac_ext <<_ACEOF
109772 /* confdefs.h.  */
109773 _ACEOF
109774 cat confdefs.h >>conftest.$ac_ext
109775 cat >>conftest.$ac_ext <<_ACEOF
109776 /* end confdefs.h.  */
109777 $ac_includes_default
109778 #include <$ac_header>
109779 _ACEOF
109780 rm -f conftest.$ac_objext
109781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109782   (eval $ac_compile) 2>conftest.er1
109783   ac_status=$?
109784   grep -v '^ *+' conftest.er1 >conftest.err
109785   rm -f conftest.er1
109786   cat conftest.err >&5
109787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109788   (exit $ac_status); } &&
109789          { ac_try='test -z "$ac_c_werror_flag"
109790                          || test ! -s conftest.err'
109791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109792   (eval $ac_try) 2>&5
109793   ac_status=$?
109794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109795   (exit $ac_status); }; } &&
109796          { ac_try='test -s conftest.$ac_objext'
109797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109798   (eval $ac_try) 2>&5
109799   ac_status=$?
109800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109801   (exit $ac_status); }; }; then
109802   ac_header_compiler=yes
109803 else
109804   echo "$as_me: failed program was:" >&5
109805 sed 's/^/| /' conftest.$ac_ext >&5
109806
109807 ac_header_compiler=no
109808 fi
109809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109811 echo "${ECHO_T}$ac_header_compiler" >&6
109812
109813 # Is the header present?
109814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109816 cat >conftest.$ac_ext <<_ACEOF
109817 /* confdefs.h.  */
109818 _ACEOF
109819 cat confdefs.h >>conftest.$ac_ext
109820 cat >>conftest.$ac_ext <<_ACEOF
109821 /* end confdefs.h.  */
109822 #include <$ac_header>
109823 _ACEOF
109824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109825   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109826   ac_status=$?
109827   grep -v '^ *+' conftest.er1 >conftest.err
109828   rm -f conftest.er1
109829   cat conftest.err >&5
109830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109831   (exit $ac_status); } >/dev/null; then
109832   if test -s conftest.err; then
109833     ac_cpp_err=$ac_c_preproc_warn_flag
109834     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109835   else
109836     ac_cpp_err=
109837   fi
109838 else
109839   ac_cpp_err=yes
109840 fi
109841 if test -z "$ac_cpp_err"; then
109842   ac_header_preproc=yes
109843 else
109844   echo "$as_me: failed program was:" >&5
109845 sed 's/^/| /' conftest.$ac_ext >&5
109846
109847   ac_header_preproc=no
109848 fi
109849 rm -f conftest.err conftest.$ac_ext
109850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109851 echo "${ECHO_T}$ac_header_preproc" >&6
109852
109853 # So?  What about this header?
109854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109855   yes:no: )
109856     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109858     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109860     ac_header_preproc=yes
109861     ;;
109862   no:yes:* )
109863     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109865     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109866 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109867     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109869     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109870 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109871     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109873     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109875     (
109876       cat <<\_ASBOX
109877 ## ----------------------------------------- ##
109878 ## Report this to the package-unused lists.  ##
109879 ## ----------------------------------------- ##
109880 _ASBOX
109881     ) |
109882       sed "s/^/$as_me: WARNING:     /" >&2
109883     ;;
109884 esac
109885 echo "$as_me:$LINENO: checking for $ac_header" >&5
109886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109888   echo $ECHO_N "(cached) $ECHO_C" >&6
109889 else
109890   eval "$as_ac_Header=\$ac_header_preproc"
109891 fi
109892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109894
109895 fi
109896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109897   cat >>confdefs.h <<_ACEOF
109898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109899 _ACEOF
109900
109901 fi
109902
109903 done
109904
109905     SECTION_FLAGS='-ffunction-sections -fdata-sections'
109906
109907
109908   # If we're not using GNU ld, then there's no point in even trying these
109909   # tests.  Check for that first.  We should have already tested for gld
109910   # by now (in libtool), but require it now just to be safe...
109911   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109912   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109913
109914
109915
109916   # The name set by libtool depends on the version of libtool.  Shame on us
109917   # for depending on an impl detail, but c'est la vie.  Older versions used
109918   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109919   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109920   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
109921   # set (hence we're using an older libtool), then set it.
109922   if test x${with_gnu_ld+set} != xset; then
109923     if test x${ac_cv_prog_gnu_ld+set} != xset; then
109924       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
109925       with_gnu_ld=no
109926     else
109927       with_gnu_ld=$ac_cv_prog_gnu_ld
109928     fi
109929   fi
109930
109931   # Start by getting the version number.  I think the libtool test already
109932   # does some of this, but throws away the result.
109933   if test x"$with_gnu_ld" = x"yes"; then
109934     echo "$as_me:$LINENO: checking for ld version" >&5
109935 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109936
109937     ldver=`$LD --version 2>/dev/null | head -1 | \
109938            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109939
109940     glibcxx_gnu_ld_version=`echo $ldver | \
109941            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109942     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109943 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109944   fi
109945
109946   # Set --gc-sections.
109947   glibcxx_gcsections_min_ld=21602
109948   if test x"$with_gnu_ld" = x"yes" &&
109949         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109950
109951     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
109952     # NB: This flag only works reliably after 2.16.1. Configure tests
109953     # for this are difficult, so hard wire a value that should work.
109954
109955     ac_test_CFLAGS="${CFLAGS+set}"
109956     ac_save_CFLAGS="$CFLAGS"
109957     CFLAGS='-Wl,--gc-sections'
109958
109959     # Check for -Wl,--gc-sections
109960     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109961 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109962     if test x$gcc_no_link = xyes; then
109963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109965    { (exit 1); exit 1; }; }
109966 fi
109967 cat >conftest.$ac_ext <<_ACEOF
109968 /* confdefs.h.  */
109969 _ACEOF
109970 cat confdefs.h >>conftest.$ac_ext
109971 cat >>conftest.$ac_ext <<_ACEOF
109972 /* end confdefs.h.  */
109973  int one(void) { return 1; }
109974      int two(void) { return 2; }
109975
109976 int
109977 main ()
109978 {
109979  two();
109980   ;
109981   return 0;
109982 }
109983 _ACEOF
109984 rm -f conftest.$ac_objext conftest$ac_exeext
109985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109986   (eval $ac_link) 2>conftest.er1
109987   ac_status=$?
109988   grep -v '^ *+' conftest.er1 >conftest.err
109989   rm -f conftest.er1
109990   cat conftest.err >&5
109991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109992   (exit $ac_status); } &&
109993          { ac_try='test -z "$ac_c_werror_flag"
109994                          || test ! -s conftest.err'
109995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109996   (eval $ac_try) 2>&5
109997   ac_status=$?
109998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109999   (exit $ac_status); }; } &&
110000          { ac_try='test -s conftest$ac_exeext'
110001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110002   (eval $ac_try) 2>&5
110003   ac_status=$?
110004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110005   (exit $ac_status); }; }; then
110006   ac_gcsections=yes
110007 else
110008   echo "$as_me: failed program was:" >&5
110009 sed 's/^/| /' conftest.$ac_ext >&5
110010
110011 ac_gcsections=no
110012 fi
110013 rm -f conftest.err conftest.$ac_objext \
110014       conftest$ac_exeext conftest.$ac_ext
110015     if test "$ac_gcsections" = "yes"; then
110016       rm -f conftest.c
110017       touch conftest.c
110018       if $CC -c conftest.c; then
110019         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110020            grep "Warning: gc-sections option ignored" > /dev/null; then
110021           ac_gcsections=no
110022         fi
110023       fi
110024       rm -f conftest.c conftest.o conftest
110025     fi
110026     if test "$ac_gcsections" = "yes"; then
110027       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110028     fi
110029     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110030 echo "${ECHO_T}$ac_gcsections" >&6
110031
110032     if test "$ac_test_CFLAGS" = set; then
110033       CFLAGS="$ac_save_CFLAGS"
110034     else
110035       # this is the suspicious part
110036       CFLAGS=''
110037     fi
110038   fi
110039
110040   # Set -z,relro.
110041   # Note this is only for shared objects.
110042   ac_ld_relro=no
110043   if test x"$with_gnu_ld" = x"yes"; then
110044     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110045 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110046     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110047     if test -n "$cxx_z_relo"; then
110048       OPT_LDFLAGS="-Wl,-z,relro"
110049       ac_ld_relro=yes
110050     fi
110051     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110052 echo "${ECHO_T}$ac_ld_relro" >&6
110053   fi
110054
110055   # Set linker optimization flags.
110056   if test x"$with_gnu_ld" = x"yes"; then
110057     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110058   fi
110059
110060
110061
110062
110063
110064
110065 echo "$as_me:$LINENO: checking for main in -lm" >&5
110066 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110067 if test "${ac_cv_lib_m_main+set}" = set; then
110068   echo $ECHO_N "(cached) $ECHO_C" >&6
110069 else
110070   ac_check_lib_save_LIBS=$LIBS
110071 LIBS="-lm  $LIBS"
110072 if test x$gcc_no_link = xyes; then
110073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110075    { (exit 1); exit 1; }; }
110076 fi
110077 cat >conftest.$ac_ext <<_ACEOF
110078 /* confdefs.h.  */
110079 _ACEOF
110080 cat confdefs.h >>conftest.$ac_ext
110081 cat >>conftest.$ac_ext <<_ACEOF
110082 /* end confdefs.h.  */
110083
110084
110085 int
110086 main ()
110087 {
110088 main ();
110089   ;
110090   return 0;
110091 }
110092 _ACEOF
110093 rm -f conftest.$ac_objext conftest$ac_exeext
110094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110095   (eval $ac_link) 2>conftest.er1
110096   ac_status=$?
110097   grep -v '^ *+' conftest.er1 >conftest.err
110098   rm -f conftest.er1
110099   cat conftest.err >&5
110100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110101   (exit $ac_status); } &&
110102          { ac_try='test -z "$ac_c_werror_flag"
110103                          || test ! -s conftest.err'
110104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110105   (eval $ac_try) 2>&5
110106   ac_status=$?
110107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110108   (exit $ac_status); }; } &&
110109          { ac_try='test -s conftest$ac_exeext'
110110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110111   (eval $ac_try) 2>&5
110112   ac_status=$?
110113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110114   (exit $ac_status); }; }; then
110115   ac_cv_lib_m_main=yes
110116 else
110117   echo "$as_me: failed program was:" >&5
110118 sed 's/^/| /' conftest.$ac_ext >&5
110119
110120 ac_cv_lib_m_main=no
110121 fi
110122 rm -f conftest.err conftest.$ac_objext \
110123       conftest$ac_exeext conftest.$ac_ext
110124 LIBS=$ac_check_lib_save_LIBS
110125 fi
110126 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110127 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110128 if test $ac_cv_lib_m_main = yes; then
110129   cat >>confdefs.h <<_ACEOF
110130 #define HAVE_LIBM 1
110131 _ACEOF
110132
110133   LIBS="-lm $LIBS"
110134
110135 fi
110136
110137
110138 for ac_func in copysignf
110139 do
110140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110141 echo "$as_me:$LINENO: checking for $ac_func" >&5
110142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110143 if eval "test \"\${$as_ac_var+set}\" = set"; then
110144   echo $ECHO_N "(cached) $ECHO_C" >&6
110145 else
110146   if test x$gcc_no_link = xyes; then
110147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110149    { (exit 1); exit 1; }; }
110150 fi
110151 cat >conftest.$ac_ext <<_ACEOF
110152 /* confdefs.h.  */
110153 _ACEOF
110154 cat confdefs.h >>conftest.$ac_ext
110155 cat >>conftest.$ac_ext <<_ACEOF
110156 /* end confdefs.h.  */
110157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110159 #define $ac_func innocuous_$ac_func
110160
110161 /* System header to define __stub macros and hopefully few prototypes,
110162     which can conflict with char $ac_func (); below.
110163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110164     <limits.h> exists even on freestanding compilers.  */
110165
110166 #ifdef __STDC__
110167 # include <limits.h>
110168 #else
110169 # include <assert.h>
110170 #endif
110171
110172 #undef $ac_func
110173
110174 /* Override any gcc2 internal prototype to avoid an error.  */
110175 #ifdef __cplusplus
110176 extern "C"
110177 {
110178 #endif
110179 /* We use char because int might match the return type of a gcc2
110180    builtin and then its argument prototype would still apply.  */
110181 char $ac_func ();
110182 /* The GNU C library defines this for functions which it implements
110183     to always fail with ENOSYS.  Some functions are actually named
110184     something starting with __ and the normal name is an alias.  */
110185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110186 choke me
110187 #else
110188 char (*f) () = $ac_func;
110189 #endif
110190 #ifdef __cplusplus
110191 }
110192 #endif
110193
110194 int
110195 main ()
110196 {
110197 return f != $ac_func;
110198   ;
110199   return 0;
110200 }
110201 _ACEOF
110202 rm -f conftest.$ac_objext conftest$ac_exeext
110203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110204   (eval $ac_link) 2>conftest.er1
110205   ac_status=$?
110206   grep -v '^ *+' conftest.er1 >conftest.err
110207   rm -f conftest.er1
110208   cat conftest.err >&5
110209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110210   (exit $ac_status); } &&
110211          { ac_try='test -z "$ac_c_werror_flag"
110212                          || test ! -s conftest.err'
110213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110214   (eval $ac_try) 2>&5
110215   ac_status=$?
110216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110217   (exit $ac_status); }; } &&
110218          { ac_try='test -s conftest$ac_exeext'
110219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110220   (eval $ac_try) 2>&5
110221   ac_status=$?
110222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110223   (exit $ac_status); }; }; then
110224   eval "$as_ac_var=yes"
110225 else
110226   echo "$as_me: failed program was:" >&5
110227 sed 's/^/| /' conftest.$ac_ext >&5
110228
110229 eval "$as_ac_var=no"
110230 fi
110231 rm -f conftest.err conftest.$ac_objext \
110232       conftest$ac_exeext conftest.$ac_ext
110233 fi
110234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110236 if test `eval echo '${'$as_ac_var'}'` = yes; then
110237   cat >>confdefs.h <<_ACEOF
110238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110239 _ACEOF
110240
110241 else
110242   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110243 fi
110244 done
110245
110246
110247
110248 for ac_func in __signbit
110249 do
110250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110251 echo "$as_me:$LINENO: checking for $ac_func" >&5
110252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110253 if eval "test \"\${$as_ac_var+set}\" = set"; then
110254   echo $ECHO_N "(cached) $ECHO_C" >&6
110255 else
110256   if test x$gcc_no_link = xyes; then
110257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110259    { (exit 1); exit 1; }; }
110260 fi
110261 cat >conftest.$ac_ext <<_ACEOF
110262 /* confdefs.h.  */
110263 _ACEOF
110264 cat confdefs.h >>conftest.$ac_ext
110265 cat >>conftest.$ac_ext <<_ACEOF
110266 /* end confdefs.h.  */
110267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110269 #define $ac_func innocuous_$ac_func
110270
110271 /* System header to define __stub macros and hopefully few prototypes,
110272     which can conflict with char $ac_func (); below.
110273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110274     <limits.h> exists even on freestanding compilers.  */
110275
110276 #ifdef __STDC__
110277 # include <limits.h>
110278 #else
110279 # include <assert.h>
110280 #endif
110281
110282 #undef $ac_func
110283
110284 /* Override any gcc2 internal prototype to avoid an error.  */
110285 #ifdef __cplusplus
110286 extern "C"
110287 {
110288 #endif
110289 /* We use char because int might match the return type of a gcc2
110290    builtin and then its argument prototype would still apply.  */
110291 char $ac_func ();
110292 /* The GNU C library defines this for functions which it implements
110293     to always fail with ENOSYS.  Some functions are actually named
110294     something starting with __ and the normal name is an alias.  */
110295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110296 choke me
110297 #else
110298 char (*f) () = $ac_func;
110299 #endif
110300 #ifdef __cplusplus
110301 }
110302 #endif
110303
110304 int
110305 main ()
110306 {
110307 return f != $ac_func;
110308   ;
110309   return 0;
110310 }
110311 _ACEOF
110312 rm -f conftest.$ac_objext conftest$ac_exeext
110313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110314   (eval $ac_link) 2>conftest.er1
110315   ac_status=$?
110316   grep -v '^ *+' conftest.er1 >conftest.err
110317   rm -f conftest.er1
110318   cat conftest.err >&5
110319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110320   (exit $ac_status); } &&
110321          { ac_try='test -z "$ac_c_werror_flag"
110322                          || test ! -s conftest.err'
110323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110324   (eval $ac_try) 2>&5
110325   ac_status=$?
110326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110327   (exit $ac_status); }; } &&
110328          { ac_try='test -s conftest$ac_exeext'
110329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110330   (eval $ac_try) 2>&5
110331   ac_status=$?
110332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110333   (exit $ac_status); }; }; then
110334   eval "$as_ac_var=yes"
110335 else
110336   echo "$as_me: failed program was:" >&5
110337 sed 's/^/| /' conftest.$ac_ext >&5
110338
110339 eval "$as_ac_var=no"
110340 fi
110341 rm -f conftest.err conftest.$ac_objext \
110342       conftest$ac_exeext conftest.$ac_ext
110343 fi
110344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110346 if test `eval echo '${'$as_ac_var'}'` = yes; then
110347   cat >>confdefs.h <<_ACEOF
110348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110349 _ACEOF
110350
110351 else
110352   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110353 fi
110354 done
110355
110356
110357
110358 for ac_func in __signbitf
110359 do
110360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110361 echo "$as_me:$LINENO: checking for $ac_func" >&5
110362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110363 if eval "test \"\${$as_ac_var+set}\" = set"; then
110364   echo $ECHO_N "(cached) $ECHO_C" >&6
110365 else
110366   if test x$gcc_no_link = xyes; then
110367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110369    { (exit 1); exit 1; }; }
110370 fi
110371 cat >conftest.$ac_ext <<_ACEOF
110372 /* confdefs.h.  */
110373 _ACEOF
110374 cat confdefs.h >>conftest.$ac_ext
110375 cat >>conftest.$ac_ext <<_ACEOF
110376 /* end confdefs.h.  */
110377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110379 #define $ac_func innocuous_$ac_func
110380
110381 /* System header to define __stub macros and hopefully few prototypes,
110382     which can conflict with char $ac_func (); below.
110383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110384     <limits.h> exists even on freestanding compilers.  */
110385
110386 #ifdef __STDC__
110387 # include <limits.h>
110388 #else
110389 # include <assert.h>
110390 #endif
110391
110392 #undef $ac_func
110393
110394 /* Override any gcc2 internal prototype to avoid an error.  */
110395 #ifdef __cplusplus
110396 extern "C"
110397 {
110398 #endif
110399 /* We use char because int might match the return type of a gcc2
110400    builtin and then its argument prototype would still apply.  */
110401 char $ac_func ();
110402 /* The GNU C library defines this for functions which it implements
110403     to always fail with ENOSYS.  Some functions are actually named
110404     something starting with __ and the normal name is an alias.  */
110405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110406 choke me
110407 #else
110408 char (*f) () = $ac_func;
110409 #endif
110410 #ifdef __cplusplus
110411 }
110412 #endif
110413
110414 int
110415 main ()
110416 {
110417 return f != $ac_func;
110418   ;
110419   return 0;
110420 }
110421 _ACEOF
110422 rm -f conftest.$ac_objext conftest$ac_exeext
110423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110424   (eval $ac_link) 2>conftest.er1
110425   ac_status=$?
110426   grep -v '^ *+' conftest.er1 >conftest.err
110427   rm -f conftest.er1
110428   cat conftest.err >&5
110429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110430   (exit $ac_status); } &&
110431          { ac_try='test -z "$ac_c_werror_flag"
110432                          || test ! -s conftest.err'
110433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110434   (eval $ac_try) 2>&5
110435   ac_status=$?
110436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110437   (exit $ac_status); }; } &&
110438          { ac_try='test -s conftest$ac_exeext'
110439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110440   (eval $ac_try) 2>&5
110441   ac_status=$?
110442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110443   (exit $ac_status); }; }; then
110444   eval "$as_ac_var=yes"
110445 else
110446   echo "$as_me: failed program was:" >&5
110447 sed 's/^/| /' conftest.$ac_ext >&5
110448
110449 eval "$as_ac_var=no"
110450 fi
110451 rm -f conftest.err conftest.$ac_objext \
110452       conftest$ac_exeext conftest.$ac_ext
110453 fi
110454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110456 if test `eval echo '${'$as_ac_var'}'` = yes; then
110457   cat >>confdefs.h <<_ACEOF
110458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110459 _ACEOF
110460
110461 else
110462   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110463 fi
110464 done
110465
110466
110467           if test x$ac_cv_func_copysignl = x"yes"; then
110468
110469 for ac_func in __signbitl
110470 do
110471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110472 echo "$as_me:$LINENO: checking for $ac_func" >&5
110473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110474 if eval "test \"\${$as_ac_var+set}\" = set"; then
110475   echo $ECHO_N "(cached) $ECHO_C" >&6
110476 else
110477   if test x$gcc_no_link = xyes; then
110478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110480    { (exit 1); exit 1; }; }
110481 fi
110482 cat >conftest.$ac_ext <<_ACEOF
110483 /* confdefs.h.  */
110484 _ACEOF
110485 cat confdefs.h >>conftest.$ac_ext
110486 cat >>conftest.$ac_ext <<_ACEOF
110487 /* end confdefs.h.  */
110488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110490 #define $ac_func innocuous_$ac_func
110491
110492 /* System header to define __stub macros and hopefully few prototypes,
110493     which can conflict with char $ac_func (); below.
110494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110495     <limits.h> exists even on freestanding compilers.  */
110496
110497 #ifdef __STDC__
110498 # include <limits.h>
110499 #else
110500 # include <assert.h>
110501 #endif
110502
110503 #undef $ac_func
110504
110505 /* Override any gcc2 internal prototype to avoid an error.  */
110506 #ifdef __cplusplus
110507 extern "C"
110508 {
110509 #endif
110510 /* We use char because int might match the return type of a gcc2
110511    builtin and then its argument prototype would still apply.  */
110512 char $ac_func ();
110513 /* The GNU C library defines this for functions which it implements
110514     to always fail with ENOSYS.  Some functions are actually named
110515     something starting with __ and the normal name is an alias.  */
110516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110517 choke me
110518 #else
110519 char (*f) () = $ac_func;
110520 #endif
110521 #ifdef __cplusplus
110522 }
110523 #endif
110524
110525 int
110526 main ()
110527 {
110528 return f != $ac_func;
110529   ;
110530   return 0;
110531 }
110532 _ACEOF
110533 rm -f conftest.$ac_objext conftest$ac_exeext
110534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110535   (eval $ac_link) 2>conftest.er1
110536   ac_status=$?
110537   grep -v '^ *+' conftest.er1 >conftest.err
110538   rm -f conftest.er1
110539   cat conftest.err >&5
110540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110541   (exit $ac_status); } &&
110542          { ac_try='test -z "$ac_c_werror_flag"
110543                          || test ! -s conftest.err'
110544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110545   (eval $ac_try) 2>&5
110546   ac_status=$?
110547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110548   (exit $ac_status); }; } &&
110549          { ac_try='test -s conftest$ac_exeext'
110550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110551   (eval $ac_try) 2>&5
110552   ac_status=$?
110553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110554   (exit $ac_status); }; }; then
110555   eval "$as_ac_var=yes"
110556 else
110557   echo "$as_me: failed program was:" >&5
110558 sed 's/^/| /' conftest.$ac_ext >&5
110559
110560 eval "$as_ac_var=no"
110561 fi
110562 rm -f conftest.err conftest.$ac_objext \
110563       conftest$ac_exeext conftest.$ac_ext
110564 fi
110565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110567 if test `eval echo '${'$as_ac_var'}'` = yes; then
110568   cat >>confdefs.h <<_ACEOF
110569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110570 _ACEOF
110571
110572 else
110573   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110574 fi
110575 done
110576
110577   fi
110578
110579   # Used in libmath/Makefile.am.
110580   if test -n "$LIBMATHOBJS"; then
110581     need_libmath=yes
110582   fi
110583
110584
110585     cat >>confdefs.h <<\_ACEOF
110586 #define HAVE_COPYSIGN 1
110587 _ACEOF
110588
110589     cat >>confdefs.h <<\_ACEOF
110590 #define HAVE_COPYSIGNF 1
110591 _ACEOF
110592
110593     cat >>confdefs.h <<\_ACEOF
110594 #define HAVE_FINITEF 1
110595 _ACEOF
110596
110597     cat >>confdefs.h <<\_ACEOF
110598 #define HAVE_FINITE 1
110599 _ACEOF
110600
110601     cat >>confdefs.h <<\_ACEOF
110602 #define HAVE_FREXPF 1
110603 _ACEOF
110604
110605     cat >>confdefs.h <<\_ACEOF
110606 #define HAVE_HYPOTF 1
110607 _ACEOF
110608
110609     cat >>confdefs.h <<\_ACEOF
110610 #define HAVE_ISINF 1
110611 _ACEOF
110612
110613     cat >>confdefs.h <<\_ACEOF
110614 #define HAVE_ISINFF 1
110615 _ACEOF
110616
110617     cat >>confdefs.h <<\_ACEOF
110618 #define HAVE_ISNAN 1
110619 _ACEOF
110620
110621     cat >>confdefs.h <<\_ACEOF
110622 #define HAVE_ISNANF 1
110623 _ACEOF
110624
110625     if test x"long_double_math_on_this_cpu" = x"yes"; then
110626       cat >>confdefs.h <<\_ACEOF
110627 #define HAVE_FINITEL 1
110628 _ACEOF
110629
110630       cat >>confdefs.h <<\_ACEOF
110631 #define HAVE_ISINFL 1
110632 _ACEOF
110633
110634       cat >>confdefs.h <<\_ACEOF
110635 #define HAVE_ISNANL 1
110636 _ACEOF
110637
110638     fi
110639     ;;
110640   *-netware)
110641
110642
110643
110644
110645
110646
110647
110648
110649 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
110650       sys/types.h locale.h float.h inttypes.h
110651 do
110652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110654   echo "$as_me:$LINENO: checking for $ac_header" >&5
110655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110657   echo $ECHO_N "(cached) $ECHO_C" >&6
110658 fi
110659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110661 else
110662   # Is the header compilable?
110663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110665 cat >conftest.$ac_ext <<_ACEOF
110666 /* confdefs.h.  */
110667 _ACEOF
110668 cat confdefs.h >>conftest.$ac_ext
110669 cat >>conftest.$ac_ext <<_ACEOF
110670 /* end confdefs.h.  */
110671 $ac_includes_default
110672 #include <$ac_header>
110673 _ACEOF
110674 rm -f conftest.$ac_objext
110675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110676   (eval $ac_compile) 2>conftest.er1
110677   ac_status=$?
110678   grep -v '^ *+' conftest.er1 >conftest.err
110679   rm -f conftest.er1
110680   cat conftest.err >&5
110681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110682   (exit $ac_status); } &&
110683          { ac_try='test -z "$ac_c_werror_flag"
110684                          || test ! -s conftest.err'
110685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110686   (eval $ac_try) 2>&5
110687   ac_status=$?
110688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110689   (exit $ac_status); }; } &&
110690          { ac_try='test -s conftest.$ac_objext'
110691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110692   (eval $ac_try) 2>&5
110693   ac_status=$?
110694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110695   (exit $ac_status); }; }; then
110696   ac_header_compiler=yes
110697 else
110698   echo "$as_me: failed program was:" >&5
110699 sed 's/^/| /' conftest.$ac_ext >&5
110700
110701 ac_header_compiler=no
110702 fi
110703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110705 echo "${ECHO_T}$ac_header_compiler" >&6
110706
110707 # Is the header present?
110708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110710 cat >conftest.$ac_ext <<_ACEOF
110711 /* confdefs.h.  */
110712 _ACEOF
110713 cat confdefs.h >>conftest.$ac_ext
110714 cat >>conftest.$ac_ext <<_ACEOF
110715 /* end confdefs.h.  */
110716 #include <$ac_header>
110717 _ACEOF
110718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110719   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110720   ac_status=$?
110721   grep -v '^ *+' conftest.er1 >conftest.err
110722   rm -f conftest.er1
110723   cat conftest.err >&5
110724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110725   (exit $ac_status); } >/dev/null; then
110726   if test -s conftest.err; then
110727     ac_cpp_err=$ac_c_preproc_warn_flag
110728     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110729   else
110730     ac_cpp_err=
110731   fi
110732 else
110733   ac_cpp_err=yes
110734 fi
110735 if test -z "$ac_cpp_err"; then
110736   ac_header_preproc=yes
110737 else
110738   echo "$as_me: failed program was:" >&5
110739 sed 's/^/| /' conftest.$ac_ext >&5
110740
110741   ac_header_preproc=no
110742 fi
110743 rm -f conftest.err conftest.$ac_ext
110744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110745 echo "${ECHO_T}$ac_header_preproc" >&6
110746
110747 # So?  What about this header?
110748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110749   yes:no: )
110750     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110752     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110754     ac_header_preproc=yes
110755     ;;
110756   no:yes:* )
110757     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110759     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110760 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110761     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110763     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110764 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110765     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110767     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110769     (
110770       cat <<\_ASBOX
110771 ## ----------------------------------------- ##
110772 ## Report this to the package-unused lists.  ##
110773 ## ----------------------------------------- ##
110774 _ASBOX
110775     ) |
110776       sed "s/^/$as_me: WARNING:     /" >&2
110777     ;;
110778 esac
110779 echo "$as_me:$LINENO: checking for $ac_header" >&5
110780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110782   echo $ECHO_N "(cached) $ECHO_C" >&6
110783 else
110784   eval "$as_ac_Header=\$ac_header_preproc"
110785 fi
110786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110788
110789 fi
110790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110791   cat >>confdefs.h <<_ACEOF
110792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110793 _ACEOF
110794
110795 fi
110796
110797 done
110798
110799     SECTION_FLAGS='-ffunction-sections -fdata-sections'
110800
110801
110802   # If we're not using GNU ld, then there's no point in even trying these
110803   # tests.  Check for that first.  We should have already tested for gld
110804   # by now (in libtool), but require it now just to be safe...
110805   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110806   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110807
110808
110809
110810   # The name set by libtool depends on the version of libtool.  Shame on us
110811   # for depending on an impl detail, but c'est la vie.  Older versions used
110812   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110813   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110814   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110815   # set (hence we're using an older libtool), then set it.
110816   if test x${with_gnu_ld+set} != xset; then
110817     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110818       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110819       with_gnu_ld=no
110820     else
110821       with_gnu_ld=$ac_cv_prog_gnu_ld
110822     fi
110823   fi
110824
110825   # Start by getting the version number.  I think the libtool test already
110826   # does some of this, but throws away the result.
110827   if test x"$with_gnu_ld" = x"yes"; then
110828     echo "$as_me:$LINENO: checking for ld version" >&5
110829 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110830
110831     ldver=`$LD --version 2>/dev/null | head -1 | \
110832            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110833
110834     glibcxx_gnu_ld_version=`echo $ldver | \
110835            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110836     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110837 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110838   fi
110839
110840   # Set --gc-sections.
110841   glibcxx_gcsections_min_ld=21602
110842   if test x"$with_gnu_ld" = x"yes" &&
110843         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110844
110845     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110846     # NB: This flag only works reliably after 2.16.1. Configure tests
110847     # for this are difficult, so hard wire a value that should work.
110848
110849     ac_test_CFLAGS="${CFLAGS+set}"
110850     ac_save_CFLAGS="$CFLAGS"
110851     CFLAGS='-Wl,--gc-sections'
110852
110853     # Check for -Wl,--gc-sections
110854     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110855 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110856     if test x$gcc_no_link = xyes; then
110857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110859    { (exit 1); exit 1; }; }
110860 fi
110861 cat >conftest.$ac_ext <<_ACEOF
110862 /* confdefs.h.  */
110863 _ACEOF
110864 cat confdefs.h >>conftest.$ac_ext
110865 cat >>conftest.$ac_ext <<_ACEOF
110866 /* end confdefs.h.  */
110867  int one(void) { return 1; }
110868      int two(void) { return 2; }
110869
110870 int
110871 main ()
110872 {
110873  two();
110874   ;
110875   return 0;
110876 }
110877 _ACEOF
110878 rm -f conftest.$ac_objext conftest$ac_exeext
110879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110880   (eval $ac_link) 2>conftest.er1
110881   ac_status=$?
110882   grep -v '^ *+' conftest.er1 >conftest.err
110883   rm -f conftest.er1
110884   cat conftest.err >&5
110885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110886   (exit $ac_status); } &&
110887          { ac_try='test -z "$ac_c_werror_flag"
110888                          || test ! -s conftest.err'
110889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110890   (eval $ac_try) 2>&5
110891   ac_status=$?
110892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110893   (exit $ac_status); }; } &&
110894          { ac_try='test -s conftest$ac_exeext'
110895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110896   (eval $ac_try) 2>&5
110897   ac_status=$?
110898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110899   (exit $ac_status); }; }; then
110900   ac_gcsections=yes
110901 else
110902   echo "$as_me: failed program was:" >&5
110903 sed 's/^/| /' conftest.$ac_ext >&5
110904
110905 ac_gcsections=no
110906 fi
110907 rm -f conftest.err conftest.$ac_objext \
110908       conftest$ac_exeext conftest.$ac_ext
110909     if test "$ac_gcsections" = "yes"; then
110910       rm -f conftest.c
110911       touch conftest.c
110912       if $CC -c conftest.c; then
110913         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110914            grep "Warning: gc-sections option ignored" > /dev/null; then
110915           ac_gcsections=no
110916         fi
110917       fi
110918       rm -f conftest.c conftest.o conftest
110919     fi
110920     if test "$ac_gcsections" = "yes"; then
110921       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110922     fi
110923     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110924 echo "${ECHO_T}$ac_gcsections" >&6
110925
110926     if test "$ac_test_CFLAGS" = set; then
110927       CFLAGS="$ac_save_CFLAGS"
110928     else
110929       # this is the suspicious part
110930       CFLAGS=''
110931     fi
110932   fi
110933
110934   # Set -z,relro.
110935   # Note this is only for shared objects.
110936   ac_ld_relro=no
110937   if test x"$with_gnu_ld" = x"yes"; then
110938     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110939 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110940     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110941     if test -n "$cxx_z_relo"; then
110942       OPT_LDFLAGS="-Wl,-z,relro"
110943       ac_ld_relro=yes
110944     fi
110945     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110946 echo "${ECHO_T}$ac_ld_relro" >&6
110947   fi
110948
110949   # Set linker optimization flags.
110950   if test x"$with_gnu_ld" = x"yes"; then
110951     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110952   fi
110953
110954
110955
110956
110957
110958
110959 echo "$as_me:$LINENO: checking for main in -lm" >&5
110960 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110961 if test "${ac_cv_lib_m_main+set}" = set; then
110962   echo $ECHO_N "(cached) $ECHO_C" >&6
110963 else
110964   ac_check_lib_save_LIBS=$LIBS
110965 LIBS="-lm  $LIBS"
110966 if test x$gcc_no_link = xyes; then
110967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110969    { (exit 1); exit 1; }; }
110970 fi
110971 cat >conftest.$ac_ext <<_ACEOF
110972 /* confdefs.h.  */
110973 _ACEOF
110974 cat confdefs.h >>conftest.$ac_ext
110975 cat >>conftest.$ac_ext <<_ACEOF
110976 /* end confdefs.h.  */
110977
110978
110979 int
110980 main ()
110981 {
110982 main ();
110983   ;
110984   return 0;
110985 }
110986 _ACEOF
110987 rm -f conftest.$ac_objext conftest$ac_exeext
110988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110989   (eval $ac_link) 2>conftest.er1
110990   ac_status=$?
110991   grep -v '^ *+' conftest.er1 >conftest.err
110992   rm -f conftest.er1
110993   cat conftest.err >&5
110994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110995   (exit $ac_status); } &&
110996          { ac_try='test -z "$ac_c_werror_flag"
110997                          || test ! -s conftest.err'
110998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110999   (eval $ac_try) 2>&5
111000   ac_status=$?
111001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111002   (exit $ac_status); }; } &&
111003          { ac_try='test -s conftest$ac_exeext'
111004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111005   (eval $ac_try) 2>&5
111006   ac_status=$?
111007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111008   (exit $ac_status); }; }; then
111009   ac_cv_lib_m_main=yes
111010 else
111011   echo "$as_me: failed program was:" >&5
111012 sed 's/^/| /' conftest.$ac_ext >&5
111013
111014 ac_cv_lib_m_main=no
111015 fi
111016 rm -f conftest.err conftest.$ac_objext \
111017       conftest$ac_exeext conftest.$ac_ext
111018 LIBS=$ac_check_lib_save_LIBS
111019 fi
111020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111021 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111022 if test $ac_cv_lib_m_main = yes; then
111023   cat >>confdefs.h <<_ACEOF
111024 #define HAVE_LIBM 1
111025 _ACEOF
111026
111027   LIBS="-lm $LIBS"
111028
111029 fi
111030
111031
111032 for ac_func in copysignf
111033 do
111034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111035 echo "$as_me:$LINENO: checking for $ac_func" >&5
111036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111037 if eval "test \"\${$as_ac_var+set}\" = set"; then
111038   echo $ECHO_N "(cached) $ECHO_C" >&6
111039 else
111040   if test x$gcc_no_link = xyes; then
111041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111043    { (exit 1); exit 1; }; }
111044 fi
111045 cat >conftest.$ac_ext <<_ACEOF
111046 /* confdefs.h.  */
111047 _ACEOF
111048 cat confdefs.h >>conftest.$ac_ext
111049 cat >>conftest.$ac_ext <<_ACEOF
111050 /* end confdefs.h.  */
111051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111053 #define $ac_func innocuous_$ac_func
111054
111055 /* System header to define __stub macros and hopefully few prototypes,
111056     which can conflict with char $ac_func (); below.
111057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111058     <limits.h> exists even on freestanding compilers.  */
111059
111060 #ifdef __STDC__
111061 # include <limits.h>
111062 #else
111063 # include <assert.h>
111064 #endif
111065
111066 #undef $ac_func
111067
111068 /* Override any gcc2 internal prototype to avoid an error.  */
111069 #ifdef __cplusplus
111070 extern "C"
111071 {
111072 #endif
111073 /* We use char because int might match the return type of a gcc2
111074    builtin and then its argument prototype would still apply.  */
111075 char $ac_func ();
111076 /* The GNU C library defines this for functions which it implements
111077     to always fail with ENOSYS.  Some functions are actually named
111078     something starting with __ and the normal name is an alias.  */
111079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111080 choke me
111081 #else
111082 char (*f) () = $ac_func;
111083 #endif
111084 #ifdef __cplusplus
111085 }
111086 #endif
111087
111088 int
111089 main ()
111090 {
111091 return f != $ac_func;
111092   ;
111093   return 0;
111094 }
111095 _ACEOF
111096 rm -f conftest.$ac_objext conftest$ac_exeext
111097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111098   (eval $ac_link) 2>conftest.er1
111099   ac_status=$?
111100   grep -v '^ *+' conftest.er1 >conftest.err
111101   rm -f conftest.er1
111102   cat conftest.err >&5
111103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111104   (exit $ac_status); } &&
111105          { ac_try='test -z "$ac_c_werror_flag"
111106                          || test ! -s conftest.err'
111107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111108   (eval $ac_try) 2>&5
111109   ac_status=$?
111110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111111   (exit $ac_status); }; } &&
111112          { ac_try='test -s conftest$ac_exeext'
111113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111114   (eval $ac_try) 2>&5
111115   ac_status=$?
111116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111117   (exit $ac_status); }; }; then
111118   eval "$as_ac_var=yes"
111119 else
111120   echo "$as_me: failed program was:" >&5
111121 sed 's/^/| /' conftest.$ac_ext >&5
111122
111123 eval "$as_ac_var=no"
111124 fi
111125 rm -f conftest.err conftest.$ac_objext \
111126       conftest$ac_exeext conftest.$ac_ext
111127 fi
111128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111130 if test `eval echo '${'$as_ac_var'}'` = yes; then
111131   cat >>confdefs.h <<_ACEOF
111132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111133 _ACEOF
111134
111135 else
111136   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111137 fi
111138 done
111139
111140
111141
111142 for ac_func in __signbit
111143 do
111144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111145 echo "$as_me:$LINENO: checking for $ac_func" >&5
111146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111147 if eval "test \"\${$as_ac_var+set}\" = set"; then
111148   echo $ECHO_N "(cached) $ECHO_C" >&6
111149 else
111150   if test x$gcc_no_link = xyes; then
111151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111153    { (exit 1); exit 1; }; }
111154 fi
111155 cat >conftest.$ac_ext <<_ACEOF
111156 /* confdefs.h.  */
111157 _ACEOF
111158 cat confdefs.h >>conftest.$ac_ext
111159 cat >>conftest.$ac_ext <<_ACEOF
111160 /* end confdefs.h.  */
111161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111163 #define $ac_func innocuous_$ac_func
111164
111165 /* System header to define __stub macros and hopefully few prototypes,
111166     which can conflict with char $ac_func (); below.
111167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111168     <limits.h> exists even on freestanding compilers.  */
111169
111170 #ifdef __STDC__
111171 # include <limits.h>
111172 #else
111173 # include <assert.h>
111174 #endif
111175
111176 #undef $ac_func
111177
111178 /* Override any gcc2 internal prototype to avoid an error.  */
111179 #ifdef __cplusplus
111180 extern "C"
111181 {
111182 #endif
111183 /* We use char because int might match the return type of a gcc2
111184    builtin and then its argument prototype would still apply.  */
111185 char $ac_func ();
111186 /* The GNU C library defines this for functions which it implements
111187     to always fail with ENOSYS.  Some functions are actually named
111188     something starting with __ and the normal name is an alias.  */
111189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111190 choke me
111191 #else
111192 char (*f) () = $ac_func;
111193 #endif
111194 #ifdef __cplusplus
111195 }
111196 #endif
111197
111198 int
111199 main ()
111200 {
111201 return f != $ac_func;
111202   ;
111203   return 0;
111204 }
111205 _ACEOF
111206 rm -f conftest.$ac_objext conftest$ac_exeext
111207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111208   (eval $ac_link) 2>conftest.er1
111209   ac_status=$?
111210   grep -v '^ *+' conftest.er1 >conftest.err
111211   rm -f conftest.er1
111212   cat conftest.err >&5
111213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111214   (exit $ac_status); } &&
111215          { ac_try='test -z "$ac_c_werror_flag"
111216                          || test ! -s conftest.err'
111217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111218   (eval $ac_try) 2>&5
111219   ac_status=$?
111220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111221   (exit $ac_status); }; } &&
111222          { ac_try='test -s conftest$ac_exeext'
111223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111224   (eval $ac_try) 2>&5
111225   ac_status=$?
111226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111227   (exit $ac_status); }; }; then
111228   eval "$as_ac_var=yes"
111229 else
111230   echo "$as_me: failed program was:" >&5
111231 sed 's/^/| /' conftest.$ac_ext >&5
111232
111233 eval "$as_ac_var=no"
111234 fi
111235 rm -f conftest.err conftest.$ac_objext \
111236       conftest$ac_exeext conftest.$ac_ext
111237 fi
111238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111240 if test `eval echo '${'$as_ac_var'}'` = yes; then
111241   cat >>confdefs.h <<_ACEOF
111242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111243 _ACEOF
111244
111245 else
111246   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111247 fi
111248 done
111249
111250
111251
111252 for ac_func in __signbitf
111253 do
111254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111255 echo "$as_me:$LINENO: checking for $ac_func" >&5
111256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111257 if eval "test \"\${$as_ac_var+set}\" = set"; then
111258   echo $ECHO_N "(cached) $ECHO_C" >&6
111259 else
111260   if test x$gcc_no_link = xyes; then
111261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111263    { (exit 1); exit 1; }; }
111264 fi
111265 cat >conftest.$ac_ext <<_ACEOF
111266 /* confdefs.h.  */
111267 _ACEOF
111268 cat confdefs.h >>conftest.$ac_ext
111269 cat >>conftest.$ac_ext <<_ACEOF
111270 /* end confdefs.h.  */
111271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111273 #define $ac_func innocuous_$ac_func
111274
111275 /* System header to define __stub macros and hopefully few prototypes,
111276     which can conflict with char $ac_func (); below.
111277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111278     <limits.h> exists even on freestanding compilers.  */
111279
111280 #ifdef __STDC__
111281 # include <limits.h>
111282 #else
111283 # include <assert.h>
111284 #endif
111285
111286 #undef $ac_func
111287
111288 /* Override any gcc2 internal prototype to avoid an error.  */
111289 #ifdef __cplusplus
111290 extern "C"
111291 {
111292 #endif
111293 /* We use char because int might match the return type of a gcc2
111294    builtin and then its argument prototype would still apply.  */
111295 char $ac_func ();
111296 /* The GNU C library defines this for functions which it implements
111297     to always fail with ENOSYS.  Some functions are actually named
111298     something starting with __ and the normal name is an alias.  */
111299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111300 choke me
111301 #else
111302 char (*f) () = $ac_func;
111303 #endif
111304 #ifdef __cplusplus
111305 }
111306 #endif
111307
111308 int
111309 main ()
111310 {
111311 return f != $ac_func;
111312   ;
111313   return 0;
111314 }
111315 _ACEOF
111316 rm -f conftest.$ac_objext conftest$ac_exeext
111317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111318   (eval $ac_link) 2>conftest.er1
111319   ac_status=$?
111320   grep -v '^ *+' conftest.er1 >conftest.err
111321   rm -f conftest.er1
111322   cat conftest.err >&5
111323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111324   (exit $ac_status); } &&
111325          { ac_try='test -z "$ac_c_werror_flag"
111326                          || test ! -s conftest.err'
111327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111328   (eval $ac_try) 2>&5
111329   ac_status=$?
111330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111331   (exit $ac_status); }; } &&
111332          { ac_try='test -s conftest$ac_exeext'
111333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111334   (eval $ac_try) 2>&5
111335   ac_status=$?
111336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111337   (exit $ac_status); }; }; then
111338   eval "$as_ac_var=yes"
111339 else
111340   echo "$as_me: failed program was:" >&5
111341 sed 's/^/| /' conftest.$ac_ext >&5
111342
111343 eval "$as_ac_var=no"
111344 fi
111345 rm -f conftest.err conftest.$ac_objext \
111346       conftest$ac_exeext conftest.$ac_ext
111347 fi
111348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111350 if test `eval echo '${'$as_ac_var'}'` = yes; then
111351   cat >>confdefs.h <<_ACEOF
111352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111353 _ACEOF
111354
111355 else
111356   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111357 fi
111358 done
111359
111360
111361           if test x$ac_cv_func_copysignl = x"yes"; then
111362
111363 for ac_func in __signbitl
111364 do
111365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111366 echo "$as_me:$LINENO: checking for $ac_func" >&5
111367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111368 if eval "test \"\${$as_ac_var+set}\" = set"; then
111369   echo $ECHO_N "(cached) $ECHO_C" >&6
111370 else
111371   if test x$gcc_no_link = xyes; then
111372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111374    { (exit 1); exit 1; }; }
111375 fi
111376 cat >conftest.$ac_ext <<_ACEOF
111377 /* confdefs.h.  */
111378 _ACEOF
111379 cat confdefs.h >>conftest.$ac_ext
111380 cat >>conftest.$ac_ext <<_ACEOF
111381 /* end confdefs.h.  */
111382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111384 #define $ac_func innocuous_$ac_func
111385
111386 /* System header to define __stub macros and hopefully few prototypes,
111387     which can conflict with char $ac_func (); below.
111388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111389     <limits.h> exists even on freestanding compilers.  */
111390
111391 #ifdef __STDC__
111392 # include <limits.h>
111393 #else
111394 # include <assert.h>
111395 #endif
111396
111397 #undef $ac_func
111398
111399 /* Override any gcc2 internal prototype to avoid an error.  */
111400 #ifdef __cplusplus
111401 extern "C"
111402 {
111403 #endif
111404 /* We use char because int might match the return type of a gcc2
111405    builtin and then its argument prototype would still apply.  */
111406 char $ac_func ();
111407 /* The GNU C library defines this for functions which it implements
111408     to always fail with ENOSYS.  Some functions are actually named
111409     something starting with __ and the normal name is an alias.  */
111410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111411 choke me
111412 #else
111413 char (*f) () = $ac_func;
111414 #endif
111415 #ifdef __cplusplus
111416 }
111417 #endif
111418
111419 int
111420 main ()
111421 {
111422 return f != $ac_func;
111423   ;
111424   return 0;
111425 }
111426 _ACEOF
111427 rm -f conftest.$ac_objext conftest$ac_exeext
111428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111429   (eval $ac_link) 2>conftest.er1
111430   ac_status=$?
111431   grep -v '^ *+' conftest.er1 >conftest.err
111432   rm -f conftest.er1
111433   cat conftest.err >&5
111434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111435   (exit $ac_status); } &&
111436          { ac_try='test -z "$ac_c_werror_flag"
111437                          || test ! -s conftest.err'
111438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111439   (eval $ac_try) 2>&5
111440   ac_status=$?
111441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111442   (exit $ac_status); }; } &&
111443          { ac_try='test -s conftest$ac_exeext'
111444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111445   (eval $ac_try) 2>&5
111446   ac_status=$?
111447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111448   (exit $ac_status); }; }; then
111449   eval "$as_ac_var=yes"
111450 else
111451   echo "$as_me: failed program was:" >&5
111452 sed 's/^/| /' conftest.$ac_ext >&5
111453
111454 eval "$as_ac_var=no"
111455 fi
111456 rm -f conftest.err conftest.$ac_objext \
111457       conftest$ac_exeext conftest.$ac_ext
111458 fi
111459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111461 if test `eval echo '${'$as_ac_var'}'` = yes; then
111462   cat >>confdefs.h <<_ACEOF
111463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111464 _ACEOF
111465
111466 else
111467   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111468 fi
111469 done
111470
111471   fi
111472
111473   # Used in libmath/Makefile.am.
111474   if test -n "$LIBMATHOBJS"; then
111475     need_libmath=yes
111476   fi
111477
111478
111479     cat >>confdefs.h <<\_ACEOF
111480 #define HAVE_HYPOT 1
111481 _ACEOF
111482
111483     cat >>confdefs.h <<\_ACEOF
111484 #define HAVE_ISINF 1
111485 _ACEOF
111486
111487     cat >>confdefs.h <<\_ACEOF
111488 #define HAVE_ISNAN 1
111489 _ACEOF
111490
111491
111492     # For showmanyc_helper().
111493
111494
111495 for ac_header in sys/ioctl.h sys/filio.h
111496 do
111497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111499   echo "$as_me:$LINENO: checking for $ac_header" >&5
111500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111502   echo $ECHO_N "(cached) $ECHO_C" >&6
111503 fi
111504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111506 else
111507   # Is the header compilable?
111508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111510 cat >conftest.$ac_ext <<_ACEOF
111511 /* confdefs.h.  */
111512 _ACEOF
111513 cat confdefs.h >>conftest.$ac_ext
111514 cat >>conftest.$ac_ext <<_ACEOF
111515 /* end confdefs.h.  */
111516 $ac_includes_default
111517 #include <$ac_header>
111518 _ACEOF
111519 rm -f conftest.$ac_objext
111520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111521   (eval $ac_compile) 2>conftest.er1
111522   ac_status=$?
111523   grep -v '^ *+' conftest.er1 >conftest.err
111524   rm -f conftest.er1
111525   cat conftest.err >&5
111526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111527   (exit $ac_status); } &&
111528          { ac_try='test -z "$ac_c_werror_flag"
111529                          || test ! -s conftest.err'
111530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111531   (eval $ac_try) 2>&5
111532   ac_status=$?
111533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111534   (exit $ac_status); }; } &&
111535          { ac_try='test -s conftest.$ac_objext'
111536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111537   (eval $ac_try) 2>&5
111538   ac_status=$?
111539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111540   (exit $ac_status); }; }; then
111541   ac_header_compiler=yes
111542 else
111543   echo "$as_me: failed program was:" >&5
111544 sed 's/^/| /' conftest.$ac_ext >&5
111545
111546 ac_header_compiler=no
111547 fi
111548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111550 echo "${ECHO_T}$ac_header_compiler" >&6
111551
111552 # Is the header present?
111553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111555 cat >conftest.$ac_ext <<_ACEOF
111556 /* confdefs.h.  */
111557 _ACEOF
111558 cat confdefs.h >>conftest.$ac_ext
111559 cat >>conftest.$ac_ext <<_ACEOF
111560 /* end confdefs.h.  */
111561 #include <$ac_header>
111562 _ACEOF
111563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111564   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111565   ac_status=$?
111566   grep -v '^ *+' conftest.er1 >conftest.err
111567   rm -f conftest.er1
111568   cat conftest.err >&5
111569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111570   (exit $ac_status); } >/dev/null; then
111571   if test -s conftest.err; then
111572     ac_cpp_err=$ac_c_preproc_warn_flag
111573     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111574   else
111575     ac_cpp_err=
111576   fi
111577 else
111578   ac_cpp_err=yes
111579 fi
111580 if test -z "$ac_cpp_err"; then
111581   ac_header_preproc=yes
111582 else
111583   echo "$as_me: failed program was:" >&5
111584 sed 's/^/| /' conftest.$ac_ext >&5
111585
111586   ac_header_preproc=no
111587 fi
111588 rm -f conftest.err conftest.$ac_ext
111589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111590 echo "${ECHO_T}$ac_header_preproc" >&6
111591
111592 # So?  What about this header?
111593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111594   yes:no: )
111595     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111597     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111599     ac_header_preproc=yes
111600     ;;
111601   no:yes:* )
111602     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111604     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111605 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111606     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111608     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111609 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111610     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111612     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111614     (
111615       cat <<\_ASBOX
111616 ## ----------------------------------------- ##
111617 ## Report this to the package-unused lists.  ##
111618 ## ----------------------------------------- ##
111619 _ASBOX
111620     ) |
111621       sed "s/^/$as_me: WARNING:     /" >&2
111622     ;;
111623 esac
111624 echo "$as_me:$LINENO: checking for $ac_header" >&5
111625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111627   echo $ECHO_N "(cached) $ECHO_C" >&6
111628 else
111629   eval "$as_ac_Header=\$ac_header_preproc"
111630 fi
111631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111633
111634 fi
111635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111636   cat >>confdefs.h <<_ACEOF
111637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111638 _ACEOF
111639
111640 fi
111641
111642 done
111643
111644
111645   echo "$as_me:$LINENO: checking for poll" >&5
111646 echo $ECHO_N "checking for poll... $ECHO_C" >&6
111647   if test "${glibcxx_cv_POLL+set}" = set; then
111648   echo $ECHO_N "(cached) $ECHO_C" >&6
111649 else
111650
111651     if test x$gcc_no_link = xyes; then
111652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111654    { (exit 1); exit 1; }; }
111655 fi
111656 cat >conftest.$ac_ext <<_ACEOF
111657 /* confdefs.h.  */
111658 _ACEOF
111659 cat confdefs.h >>conftest.$ac_ext
111660 cat >>conftest.$ac_ext <<_ACEOF
111661 /* end confdefs.h.  */
111662 #include <poll.h>
111663 int
111664 main ()
111665 {
111666 struct pollfd pfd[1];
111667        pfd[0].events = POLLIN;
111668        poll(pfd, 1, 0);
111669   ;
111670   return 0;
111671 }
111672 _ACEOF
111673 rm -f conftest.$ac_objext conftest$ac_exeext
111674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111675   (eval $ac_link) 2>conftest.er1
111676   ac_status=$?
111677   grep -v '^ *+' conftest.er1 >conftest.err
111678   rm -f conftest.er1
111679   cat conftest.err >&5
111680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111681   (exit $ac_status); } &&
111682          { ac_try='test -z "$ac_c_werror_flag"
111683                          || test ! -s conftest.err'
111684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111685   (eval $ac_try) 2>&5
111686   ac_status=$?
111687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111688   (exit $ac_status); }; } &&
111689          { ac_try='test -s conftest$ac_exeext'
111690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111691   (eval $ac_try) 2>&5
111692   ac_status=$?
111693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111694   (exit $ac_status); }; }; then
111695   glibcxx_cv_POLL=yes
111696 else
111697   echo "$as_me: failed program was:" >&5
111698 sed 's/^/| /' conftest.$ac_ext >&5
111699
111700 glibcxx_cv_POLL=no
111701 fi
111702 rm -f conftest.err conftest.$ac_objext \
111703       conftest$ac_exeext conftest.$ac_ext
111704
111705 fi
111706
111707   if test $glibcxx_cv_POLL = yes; then
111708
111709 cat >>confdefs.h <<\_ACEOF
111710 #define HAVE_POLL 1
111711 _ACEOF
111712
111713   fi
111714   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
111715 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
111716
111717
111718   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
111719 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
111720   if test "${glibcxx_cv_S_ISREG+set}" = set; then
111721   echo $ECHO_N "(cached) $ECHO_C" >&6
111722 else
111723
111724     if test x$gcc_no_link = xyes; then
111725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111727    { (exit 1); exit 1; }; }
111728 fi
111729 cat >conftest.$ac_ext <<_ACEOF
111730 /* confdefs.h.  */
111731 _ACEOF
111732 cat confdefs.h >>conftest.$ac_ext
111733 cat >>conftest.$ac_ext <<_ACEOF
111734 /* end confdefs.h.  */
111735 #include <sys/stat.h>
111736 int
111737 main ()
111738 {
111739 struct stat buffer;
111740        fstat(0, &buffer);
111741        S_ISREG(buffer.st_mode);
111742   ;
111743   return 0;
111744 }
111745 _ACEOF
111746 rm -f conftest.$ac_objext conftest$ac_exeext
111747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111748   (eval $ac_link) 2>conftest.er1
111749   ac_status=$?
111750   grep -v '^ *+' conftest.er1 >conftest.err
111751   rm -f conftest.er1
111752   cat conftest.err >&5
111753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111754   (exit $ac_status); } &&
111755          { ac_try='test -z "$ac_c_werror_flag"
111756                          || test ! -s conftest.err'
111757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111758   (eval $ac_try) 2>&5
111759   ac_status=$?
111760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111761   (exit $ac_status); }; } &&
111762          { ac_try='test -s conftest$ac_exeext'
111763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111764   (eval $ac_try) 2>&5
111765   ac_status=$?
111766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111767   (exit $ac_status); }; }; then
111768   glibcxx_cv_S_ISREG=yes
111769 else
111770   echo "$as_me: failed program was:" >&5
111771 sed 's/^/| /' conftest.$ac_ext >&5
111772
111773 glibcxx_cv_S_ISREG=no
111774 fi
111775 rm -f conftest.err conftest.$ac_objext \
111776       conftest$ac_exeext conftest.$ac_ext
111777
111778 fi
111779
111780   if test "${glibcxx_cv_S_IFREG+set}" = set; then
111781   echo $ECHO_N "(cached) $ECHO_C" >&6
111782 else
111783
111784     if test x$gcc_no_link = xyes; then
111785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111787    { (exit 1); exit 1; }; }
111788 fi
111789 cat >conftest.$ac_ext <<_ACEOF
111790 /* confdefs.h.  */
111791 _ACEOF
111792 cat confdefs.h >>conftest.$ac_ext
111793 cat >>conftest.$ac_ext <<_ACEOF
111794 /* end confdefs.h.  */
111795 #include <sys/stat.h>
111796 int
111797 main ()
111798 {
111799 struct stat buffer;
111800        fstat(0, &buffer);
111801        S_IFREG & buffer.st_mode;
111802   ;
111803   return 0;
111804 }
111805 _ACEOF
111806 rm -f conftest.$ac_objext conftest$ac_exeext
111807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111808   (eval $ac_link) 2>conftest.er1
111809   ac_status=$?
111810   grep -v '^ *+' conftest.er1 >conftest.err
111811   rm -f conftest.er1
111812   cat conftest.err >&5
111813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111814   (exit $ac_status); } &&
111815          { ac_try='test -z "$ac_c_werror_flag"
111816                          || test ! -s conftest.err'
111817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111818   (eval $ac_try) 2>&5
111819   ac_status=$?
111820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111821   (exit $ac_status); }; } &&
111822          { ac_try='test -s conftest$ac_exeext'
111823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111824   (eval $ac_try) 2>&5
111825   ac_status=$?
111826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111827   (exit $ac_status); }; }; then
111828   glibcxx_cv_S_IFREG=yes
111829 else
111830   echo "$as_me: failed program was:" >&5
111831 sed 's/^/| /' conftest.$ac_ext >&5
111832
111833 glibcxx_cv_S_IFREG=no
111834 fi
111835 rm -f conftest.err conftest.$ac_objext \
111836       conftest$ac_exeext conftest.$ac_ext
111837
111838 fi
111839
111840   res=no
111841   if test $glibcxx_cv_S_ISREG = yes; then
111842
111843 cat >>confdefs.h <<\_ACEOF
111844 #define HAVE_S_ISREG 1
111845 _ACEOF
111846
111847     res=S_ISREG
111848   elif test $glibcxx_cv_S_IFREG = yes; then
111849
111850 cat >>confdefs.h <<\_ACEOF
111851 #define HAVE_S_IFREG 1
111852 _ACEOF
111853
111854     res=S_IFREG
111855   fi
111856   echo "$as_me:$LINENO: result: $res" >&5
111857 echo "${ECHO_T}$res" >&6
111858
111859
111860     # For xsputn_2().
111861
111862 for ac_header in sys/uio.h
111863 do
111864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111866   echo "$as_me:$LINENO: checking for $ac_header" >&5
111867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111869   echo $ECHO_N "(cached) $ECHO_C" >&6
111870 fi
111871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111873 else
111874   # Is the header compilable?
111875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111877 cat >conftest.$ac_ext <<_ACEOF
111878 /* confdefs.h.  */
111879 _ACEOF
111880 cat confdefs.h >>conftest.$ac_ext
111881 cat >>conftest.$ac_ext <<_ACEOF
111882 /* end confdefs.h.  */
111883 $ac_includes_default
111884 #include <$ac_header>
111885 _ACEOF
111886 rm -f conftest.$ac_objext
111887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111888   (eval $ac_compile) 2>conftest.er1
111889   ac_status=$?
111890   grep -v '^ *+' conftest.er1 >conftest.err
111891   rm -f conftest.er1
111892   cat conftest.err >&5
111893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111894   (exit $ac_status); } &&
111895          { ac_try='test -z "$ac_c_werror_flag"
111896                          || test ! -s conftest.err'
111897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111898   (eval $ac_try) 2>&5
111899   ac_status=$?
111900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111901   (exit $ac_status); }; } &&
111902          { ac_try='test -s conftest.$ac_objext'
111903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111904   (eval $ac_try) 2>&5
111905   ac_status=$?
111906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111907   (exit $ac_status); }; }; then
111908   ac_header_compiler=yes
111909 else
111910   echo "$as_me: failed program was:" >&5
111911 sed 's/^/| /' conftest.$ac_ext >&5
111912
111913 ac_header_compiler=no
111914 fi
111915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111917 echo "${ECHO_T}$ac_header_compiler" >&6
111918
111919 # Is the header present?
111920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111922 cat >conftest.$ac_ext <<_ACEOF
111923 /* confdefs.h.  */
111924 _ACEOF
111925 cat confdefs.h >>conftest.$ac_ext
111926 cat >>conftest.$ac_ext <<_ACEOF
111927 /* end confdefs.h.  */
111928 #include <$ac_header>
111929 _ACEOF
111930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111931   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111932   ac_status=$?
111933   grep -v '^ *+' conftest.er1 >conftest.err
111934   rm -f conftest.er1
111935   cat conftest.err >&5
111936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111937   (exit $ac_status); } >/dev/null; then
111938   if test -s conftest.err; then
111939     ac_cpp_err=$ac_c_preproc_warn_flag
111940     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111941   else
111942     ac_cpp_err=
111943   fi
111944 else
111945   ac_cpp_err=yes
111946 fi
111947 if test -z "$ac_cpp_err"; then
111948   ac_header_preproc=yes
111949 else
111950   echo "$as_me: failed program was:" >&5
111951 sed 's/^/| /' conftest.$ac_ext >&5
111952
111953   ac_header_preproc=no
111954 fi
111955 rm -f conftest.err conftest.$ac_ext
111956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111957 echo "${ECHO_T}$ac_header_preproc" >&6
111958
111959 # So?  What about this header?
111960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111961   yes:no: )
111962     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111964     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111966     ac_header_preproc=yes
111967     ;;
111968   no:yes:* )
111969     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111971     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111972 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111973     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111975     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111976 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111977     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111979     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111981     (
111982       cat <<\_ASBOX
111983 ## ----------------------------------------- ##
111984 ## Report this to the package-unused lists.  ##
111985 ## ----------------------------------------- ##
111986 _ASBOX
111987     ) |
111988       sed "s/^/$as_me: WARNING:     /" >&2
111989     ;;
111990 esac
111991 echo "$as_me:$LINENO: checking for $ac_header" >&5
111992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111994   echo $ECHO_N "(cached) $ECHO_C" >&6
111995 else
111996   eval "$as_ac_Header=\$ac_header_preproc"
111997 fi
111998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112000
112001 fi
112002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112003   cat >>confdefs.h <<_ACEOF
112004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112005 _ACEOF
112006
112007 fi
112008
112009 done
112010
112011
112012   echo "$as_me:$LINENO: checking for writev" >&5
112013 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112014   if test "${glibcxx_cv_WRITEV+set}" = set; then
112015   echo $ECHO_N "(cached) $ECHO_C" >&6
112016 else
112017
112018     if test x$gcc_no_link = xyes; then
112019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112021    { (exit 1); exit 1; }; }
112022 fi
112023 cat >conftest.$ac_ext <<_ACEOF
112024 /* confdefs.h.  */
112025 _ACEOF
112026 cat confdefs.h >>conftest.$ac_ext
112027 cat >>conftest.$ac_ext <<_ACEOF
112028 /* end confdefs.h.  */
112029 #include <sys/uio.h>
112030 int
112031 main ()
112032 {
112033 struct iovec iov[2];
112034        writev(0, iov, 0);
112035   ;
112036   return 0;
112037 }
112038 _ACEOF
112039 rm -f conftest.$ac_objext conftest$ac_exeext
112040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112041   (eval $ac_link) 2>conftest.er1
112042   ac_status=$?
112043   grep -v '^ *+' conftest.er1 >conftest.err
112044   rm -f conftest.er1
112045   cat conftest.err >&5
112046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112047   (exit $ac_status); } &&
112048          { ac_try='test -z "$ac_c_werror_flag"
112049                          || test ! -s conftest.err'
112050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112051   (eval $ac_try) 2>&5
112052   ac_status=$?
112053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112054   (exit $ac_status); }; } &&
112055          { ac_try='test -s conftest$ac_exeext'
112056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112057   (eval $ac_try) 2>&5
112058   ac_status=$?
112059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112060   (exit $ac_status); }; }; then
112061   glibcxx_cv_WRITEV=yes
112062 else
112063   echo "$as_me: failed program was:" >&5
112064 sed 's/^/| /' conftest.$ac_ext >&5
112065
112066 glibcxx_cv_WRITEV=no
112067 fi
112068 rm -f conftest.err conftest.$ac_objext \
112069       conftest$ac_exeext conftest.$ac_ext
112070
112071 fi
112072
112073   if test $glibcxx_cv_WRITEV = yes; then
112074
112075 cat >>confdefs.h <<\_ACEOF
112076 #define HAVE_WRITEV 1
112077 _ACEOF
112078
112079   fi
112080   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
112081 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
112082
112083     ;;
112084   *-qnx6.1* | *-qnx6.2*)
112085     SECTION_FLAGS='-ffunction-sections -fdata-sections'
112086
112087
112088   # If we're not using GNU ld, then there's no point in even trying these
112089   # tests.  Check for that first.  We should have already tested for gld
112090   # by now (in libtool), but require it now just to be safe...
112091   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112092   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112093
112094
112095
112096   # The name set by libtool depends on the version of libtool.  Shame on us
112097   # for depending on an impl detail, but c'est la vie.  Older versions used
112098   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112099   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112100   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
112101   # set (hence we're using an older libtool), then set it.
112102   if test x${with_gnu_ld+set} != xset; then
112103     if test x${ac_cv_prog_gnu_ld+set} != xset; then
112104       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
112105       with_gnu_ld=no
112106     else
112107       with_gnu_ld=$ac_cv_prog_gnu_ld
112108     fi
112109   fi
112110
112111   # Start by getting the version number.  I think the libtool test already
112112   # does some of this, but throws away the result.
112113   if test x"$with_gnu_ld" = x"yes"; then
112114     echo "$as_me:$LINENO: checking for ld version" >&5
112115 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112116
112117     ldver=`$LD --version 2>/dev/null | head -1 | \
112118            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112119
112120     glibcxx_gnu_ld_version=`echo $ldver | \
112121            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112122     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112123 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112124   fi
112125
112126   # Set --gc-sections.
112127   glibcxx_gcsections_min_ld=21602
112128   if test x"$with_gnu_ld" = x"yes" &&
112129         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112130
112131     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112132     # NB: This flag only works reliably after 2.16.1. Configure tests
112133     # for this are difficult, so hard wire a value that should work.
112134
112135     ac_test_CFLAGS="${CFLAGS+set}"
112136     ac_save_CFLAGS="$CFLAGS"
112137     CFLAGS='-Wl,--gc-sections'
112138
112139     # Check for -Wl,--gc-sections
112140     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112141 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112142     if test x$gcc_no_link = xyes; then
112143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112145    { (exit 1); exit 1; }; }
112146 fi
112147 cat >conftest.$ac_ext <<_ACEOF
112148 /* confdefs.h.  */
112149 _ACEOF
112150 cat confdefs.h >>conftest.$ac_ext
112151 cat >>conftest.$ac_ext <<_ACEOF
112152 /* end confdefs.h.  */
112153  int one(void) { return 1; }
112154      int two(void) { return 2; }
112155
112156 int
112157 main ()
112158 {
112159  two();
112160   ;
112161   return 0;
112162 }
112163 _ACEOF
112164 rm -f conftest.$ac_objext conftest$ac_exeext
112165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112166   (eval $ac_link) 2>conftest.er1
112167   ac_status=$?
112168   grep -v '^ *+' conftest.er1 >conftest.err
112169   rm -f conftest.er1
112170   cat conftest.err >&5
112171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112172   (exit $ac_status); } &&
112173          { ac_try='test -z "$ac_c_werror_flag"
112174                          || test ! -s conftest.err'
112175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112176   (eval $ac_try) 2>&5
112177   ac_status=$?
112178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112179   (exit $ac_status); }; } &&
112180          { ac_try='test -s conftest$ac_exeext'
112181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112182   (eval $ac_try) 2>&5
112183   ac_status=$?
112184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112185   (exit $ac_status); }; }; then
112186   ac_gcsections=yes
112187 else
112188   echo "$as_me: failed program was:" >&5
112189 sed 's/^/| /' conftest.$ac_ext >&5
112190
112191 ac_gcsections=no
112192 fi
112193 rm -f conftest.err conftest.$ac_objext \
112194       conftest$ac_exeext conftest.$ac_ext
112195     if test "$ac_gcsections" = "yes"; then
112196       rm -f conftest.c
112197       touch conftest.c
112198       if $CC -c conftest.c; then
112199         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112200            grep "Warning: gc-sections option ignored" > /dev/null; then
112201           ac_gcsections=no
112202         fi
112203       fi
112204       rm -f conftest.c conftest.o conftest
112205     fi
112206     if test "$ac_gcsections" = "yes"; then
112207       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112208     fi
112209     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112210 echo "${ECHO_T}$ac_gcsections" >&6
112211
112212     if test "$ac_test_CFLAGS" = set; then
112213       CFLAGS="$ac_save_CFLAGS"
112214     else
112215       # this is the suspicious part
112216       CFLAGS=''
112217     fi
112218   fi
112219
112220   # Set -z,relro.
112221   # Note this is only for shared objects.
112222   ac_ld_relro=no
112223   if test x"$with_gnu_ld" = x"yes"; then
112224     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112225 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112226     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112227     if test -n "$cxx_z_relo"; then
112228       OPT_LDFLAGS="-Wl,-z,relro"
112229       ac_ld_relro=yes
112230     fi
112231     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112232 echo "${ECHO_T}$ac_ld_relro" >&6
112233   fi
112234
112235   # Set linker optimization flags.
112236   if test x"$with_gnu_ld" = x"yes"; then
112237     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112238   fi
112239
112240
112241
112242
112243
112244
112245 echo "$as_me:$LINENO: checking for main in -lm" >&5
112246 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112247 if test "${ac_cv_lib_m_main+set}" = set; then
112248   echo $ECHO_N "(cached) $ECHO_C" >&6
112249 else
112250   ac_check_lib_save_LIBS=$LIBS
112251 LIBS="-lm  $LIBS"
112252 if test x$gcc_no_link = xyes; then
112253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112255    { (exit 1); exit 1; }; }
112256 fi
112257 cat >conftest.$ac_ext <<_ACEOF
112258 /* confdefs.h.  */
112259 _ACEOF
112260 cat confdefs.h >>conftest.$ac_ext
112261 cat >>conftest.$ac_ext <<_ACEOF
112262 /* end confdefs.h.  */
112263
112264
112265 int
112266 main ()
112267 {
112268 main ();
112269   ;
112270   return 0;
112271 }
112272 _ACEOF
112273 rm -f conftest.$ac_objext conftest$ac_exeext
112274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112275   (eval $ac_link) 2>conftest.er1
112276   ac_status=$?
112277   grep -v '^ *+' conftest.er1 >conftest.err
112278   rm -f conftest.er1
112279   cat conftest.err >&5
112280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112281   (exit $ac_status); } &&
112282          { ac_try='test -z "$ac_c_werror_flag"
112283                          || test ! -s conftest.err'
112284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112285   (eval $ac_try) 2>&5
112286   ac_status=$?
112287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112288   (exit $ac_status); }; } &&
112289          { ac_try='test -s conftest$ac_exeext'
112290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112291   (eval $ac_try) 2>&5
112292   ac_status=$?
112293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112294   (exit $ac_status); }; }; then
112295   ac_cv_lib_m_main=yes
112296 else
112297   echo "$as_me: failed program was:" >&5
112298 sed 's/^/| /' conftest.$ac_ext >&5
112299
112300 ac_cv_lib_m_main=no
112301 fi
112302 rm -f conftest.err conftest.$ac_objext \
112303       conftest$ac_exeext conftest.$ac_ext
112304 LIBS=$ac_check_lib_save_LIBS
112305 fi
112306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112307 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112308 if test $ac_cv_lib_m_main = yes; then
112309   cat >>confdefs.h <<_ACEOF
112310 #define HAVE_LIBM 1
112311 _ACEOF
112312
112313   LIBS="-lm $LIBS"
112314
112315 fi
112316
112317
112318 for ac_func in copysignf
112319 do
112320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112321 echo "$as_me:$LINENO: checking for $ac_func" >&5
112322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112323 if eval "test \"\${$as_ac_var+set}\" = set"; then
112324   echo $ECHO_N "(cached) $ECHO_C" >&6
112325 else
112326   if test x$gcc_no_link = xyes; then
112327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112329    { (exit 1); exit 1; }; }
112330 fi
112331 cat >conftest.$ac_ext <<_ACEOF
112332 /* confdefs.h.  */
112333 _ACEOF
112334 cat confdefs.h >>conftest.$ac_ext
112335 cat >>conftest.$ac_ext <<_ACEOF
112336 /* end confdefs.h.  */
112337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112339 #define $ac_func innocuous_$ac_func
112340
112341 /* System header to define __stub macros and hopefully few prototypes,
112342     which can conflict with char $ac_func (); below.
112343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112344     <limits.h> exists even on freestanding compilers.  */
112345
112346 #ifdef __STDC__
112347 # include <limits.h>
112348 #else
112349 # include <assert.h>
112350 #endif
112351
112352 #undef $ac_func
112353
112354 /* Override any gcc2 internal prototype to avoid an error.  */
112355 #ifdef __cplusplus
112356 extern "C"
112357 {
112358 #endif
112359 /* We use char because int might match the return type of a gcc2
112360    builtin and then its argument prototype would still apply.  */
112361 char $ac_func ();
112362 /* The GNU C library defines this for functions which it implements
112363     to always fail with ENOSYS.  Some functions are actually named
112364     something starting with __ and the normal name is an alias.  */
112365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112366 choke me
112367 #else
112368 char (*f) () = $ac_func;
112369 #endif
112370 #ifdef __cplusplus
112371 }
112372 #endif
112373
112374 int
112375 main ()
112376 {
112377 return f != $ac_func;
112378   ;
112379   return 0;
112380 }
112381 _ACEOF
112382 rm -f conftest.$ac_objext conftest$ac_exeext
112383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112384   (eval $ac_link) 2>conftest.er1
112385   ac_status=$?
112386   grep -v '^ *+' conftest.er1 >conftest.err
112387   rm -f conftest.er1
112388   cat conftest.err >&5
112389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112390   (exit $ac_status); } &&
112391          { ac_try='test -z "$ac_c_werror_flag"
112392                          || test ! -s conftest.err'
112393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112394   (eval $ac_try) 2>&5
112395   ac_status=$?
112396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112397   (exit $ac_status); }; } &&
112398          { ac_try='test -s conftest$ac_exeext'
112399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112400   (eval $ac_try) 2>&5
112401   ac_status=$?
112402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112403   (exit $ac_status); }; }; then
112404   eval "$as_ac_var=yes"
112405 else
112406   echo "$as_me: failed program was:" >&5
112407 sed 's/^/| /' conftest.$ac_ext >&5
112408
112409 eval "$as_ac_var=no"
112410 fi
112411 rm -f conftest.err conftest.$ac_objext \
112412       conftest$ac_exeext conftest.$ac_ext
112413 fi
112414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112416 if test `eval echo '${'$as_ac_var'}'` = yes; then
112417   cat >>confdefs.h <<_ACEOF
112418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112419 _ACEOF
112420
112421 else
112422   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112423 fi
112424 done
112425
112426
112427
112428 for ac_func in __signbit
112429 do
112430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112431 echo "$as_me:$LINENO: checking for $ac_func" >&5
112432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112433 if eval "test \"\${$as_ac_var+set}\" = set"; then
112434   echo $ECHO_N "(cached) $ECHO_C" >&6
112435 else
112436   if test x$gcc_no_link = xyes; then
112437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112439    { (exit 1); exit 1; }; }
112440 fi
112441 cat >conftest.$ac_ext <<_ACEOF
112442 /* confdefs.h.  */
112443 _ACEOF
112444 cat confdefs.h >>conftest.$ac_ext
112445 cat >>conftest.$ac_ext <<_ACEOF
112446 /* end confdefs.h.  */
112447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112449 #define $ac_func innocuous_$ac_func
112450
112451 /* System header to define __stub macros and hopefully few prototypes,
112452     which can conflict with char $ac_func (); below.
112453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112454     <limits.h> exists even on freestanding compilers.  */
112455
112456 #ifdef __STDC__
112457 # include <limits.h>
112458 #else
112459 # include <assert.h>
112460 #endif
112461
112462 #undef $ac_func
112463
112464 /* Override any gcc2 internal prototype to avoid an error.  */
112465 #ifdef __cplusplus
112466 extern "C"
112467 {
112468 #endif
112469 /* We use char because int might match the return type of a gcc2
112470    builtin and then its argument prototype would still apply.  */
112471 char $ac_func ();
112472 /* The GNU C library defines this for functions which it implements
112473     to always fail with ENOSYS.  Some functions are actually named
112474     something starting with __ and the normal name is an alias.  */
112475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112476 choke me
112477 #else
112478 char (*f) () = $ac_func;
112479 #endif
112480 #ifdef __cplusplus
112481 }
112482 #endif
112483
112484 int
112485 main ()
112486 {
112487 return f != $ac_func;
112488   ;
112489   return 0;
112490 }
112491 _ACEOF
112492 rm -f conftest.$ac_objext conftest$ac_exeext
112493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112494   (eval $ac_link) 2>conftest.er1
112495   ac_status=$?
112496   grep -v '^ *+' conftest.er1 >conftest.err
112497   rm -f conftest.er1
112498   cat conftest.err >&5
112499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112500   (exit $ac_status); } &&
112501          { ac_try='test -z "$ac_c_werror_flag"
112502                          || test ! -s conftest.err'
112503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112504   (eval $ac_try) 2>&5
112505   ac_status=$?
112506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112507   (exit $ac_status); }; } &&
112508          { ac_try='test -s conftest$ac_exeext'
112509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112510   (eval $ac_try) 2>&5
112511   ac_status=$?
112512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112513   (exit $ac_status); }; }; then
112514   eval "$as_ac_var=yes"
112515 else
112516   echo "$as_me: failed program was:" >&5
112517 sed 's/^/| /' conftest.$ac_ext >&5
112518
112519 eval "$as_ac_var=no"
112520 fi
112521 rm -f conftest.err conftest.$ac_objext \
112522       conftest$ac_exeext conftest.$ac_ext
112523 fi
112524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112526 if test `eval echo '${'$as_ac_var'}'` = yes; then
112527   cat >>confdefs.h <<_ACEOF
112528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112529 _ACEOF
112530
112531 else
112532   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112533 fi
112534 done
112535
112536
112537
112538 for ac_func in __signbitf
112539 do
112540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112541 echo "$as_me:$LINENO: checking for $ac_func" >&5
112542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112543 if eval "test \"\${$as_ac_var+set}\" = set"; then
112544   echo $ECHO_N "(cached) $ECHO_C" >&6
112545 else
112546   if test x$gcc_no_link = xyes; then
112547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112549    { (exit 1); exit 1; }; }
112550 fi
112551 cat >conftest.$ac_ext <<_ACEOF
112552 /* confdefs.h.  */
112553 _ACEOF
112554 cat confdefs.h >>conftest.$ac_ext
112555 cat >>conftest.$ac_ext <<_ACEOF
112556 /* end confdefs.h.  */
112557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112559 #define $ac_func innocuous_$ac_func
112560
112561 /* System header to define __stub macros and hopefully few prototypes,
112562     which can conflict with char $ac_func (); below.
112563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112564     <limits.h> exists even on freestanding compilers.  */
112565
112566 #ifdef __STDC__
112567 # include <limits.h>
112568 #else
112569 # include <assert.h>
112570 #endif
112571
112572 #undef $ac_func
112573
112574 /* Override any gcc2 internal prototype to avoid an error.  */
112575 #ifdef __cplusplus
112576 extern "C"
112577 {
112578 #endif
112579 /* We use char because int might match the return type of a gcc2
112580    builtin and then its argument prototype would still apply.  */
112581 char $ac_func ();
112582 /* The GNU C library defines this for functions which it implements
112583     to always fail with ENOSYS.  Some functions are actually named
112584     something starting with __ and the normal name is an alias.  */
112585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112586 choke me
112587 #else
112588 char (*f) () = $ac_func;
112589 #endif
112590 #ifdef __cplusplus
112591 }
112592 #endif
112593
112594 int
112595 main ()
112596 {
112597 return f != $ac_func;
112598   ;
112599   return 0;
112600 }
112601 _ACEOF
112602 rm -f conftest.$ac_objext conftest$ac_exeext
112603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112604   (eval $ac_link) 2>conftest.er1
112605   ac_status=$?
112606   grep -v '^ *+' conftest.er1 >conftest.err
112607   rm -f conftest.er1
112608   cat conftest.err >&5
112609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112610   (exit $ac_status); } &&
112611          { ac_try='test -z "$ac_c_werror_flag"
112612                          || test ! -s conftest.err'
112613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112614   (eval $ac_try) 2>&5
112615   ac_status=$?
112616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112617   (exit $ac_status); }; } &&
112618          { ac_try='test -s conftest$ac_exeext'
112619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112620   (eval $ac_try) 2>&5
112621   ac_status=$?
112622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112623   (exit $ac_status); }; }; then
112624   eval "$as_ac_var=yes"
112625 else
112626   echo "$as_me: failed program was:" >&5
112627 sed 's/^/| /' conftest.$ac_ext >&5
112628
112629 eval "$as_ac_var=no"
112630 fi
112631 rm -f conftest.err conftest.$ac_objext \
112632       conftest$ac_exeext conftest.$ac_ext
112633 fi
112634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112636 if test `eval echo '${'$as_ac_var'}'` = yes; then
112637   cat >>confdefs.h <<_ACEOF
112638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112639 _ACEOF
112640
112641 else
112642   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112643 fi
112644 done
112645
112646
112647           if test x$ac_cv_func_copysignl = x"yes"; then
112648
112649 for ac_func in __signbitl
112650 do
112651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112652 echo "$as_me:$LINENO: checking for $ac_func" >&5
112653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112654 if eval "test \"\${$as_ac_var+set}\" = set"; then
112655   echo $ECHO_N "(cached) $ECHO_C" >&6
112656 else
112657   if test x$gcc_no_link = xyes; then
112658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112660    { (exit 1); exit 1; }; }
112661 fi
112662 cat >conftest.$ac_ext <<_ACEOF
112663 /* confdefs.h.  */
112664 _ACEOF
112665 cat confdefs.h >>conftest.$ac_ext
112666 cat >>conftest.$ac_ext <<_ACEOF
112667 /* end confdefs.h.  */
112668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112670 #define $ac_func innocuous_$ac_func
112671
112672 /* System header to define __stub macros and hopefully few prototypes,
112673     which can conflict with char $ac_func (); below.
112674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112675     <limits.h> exists even on freestanding compilers.  */
112676
112677 #ifdef __STDC__
112678 # include <limits.h>
112679 #else
112680 # include <assert.h>
112681 #endif
112682
112683 #undef $ac_func
112684
112685 /* Override any gcc2 internal prototype to avoid an error.  */
112686 #ifdef __cplusplus
112687 extern "C"
112688 {
112689 #endif
112690 /* We use char because int might match the return type of a gcc2
112691    builtin and then its argument prototype would still apply.  */
112692 char $ac_func ();
112693 /* The GNU C library defines this for functions which it implements
112694     to always fail with ENOSYS.  Some functions are actually named
112695     something starting with __ and the normal name is an alias.  */
112696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112697 choke me
112698 #else
112699 char (*f) () = $ac_func;
112700 #endif
112701 #ifdef __cplusplus
112702 }
112703 #endif
112704
112705 int
112706 main ()
112707 {
112708 return f != $ac_func;
112709   ;
112710   return 0;
112711 }
112712 _ACEOF
112713 rm -f conftest.$ac_objext conftest$ac_exeext
112714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112715   (eval $ac_link) 2>conftest.er1
112716   ac_status=$?
112717   grep -v '^ *+' conftest.er1 >conftest.err
112718   rm -f conftest.er1
112719   cat conftest.err >&5
112720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112721   (exit $ac_status); } &&
112722          { ac_try='test -z "$ac_c_werror_flag"
112723                          || test ! -s conftest.err'
112724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112725   (eval $ac_try) 2>&5
112726   ac_status=$?
112727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112728   (exit $ac_status); }; } &&
112729          { ac_try='test -s conftest$ac_exeext'
112730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112731   (eval $ac_try) 2>&5
112732   ac_status=$?
112733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112734   (exit $ac_status); }; }; then
112735   eval "$as_ac_var=yes"
112736 else
112737   echo "$as_me: failed program was:" >&5
112738 sed 's/^/| /' conftest.$ac_ext >&5
112739
112740 eval "$as_ac_var=no"
112741 fi
112742 rm -f conftest.err conftest.$ac_objext \
112743       conftest$ac_exeext conftest.$ac_ext
112744 fi
112745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112747 if test `eval echo '${'$as_ac_var'}'` = yes; then
112748   cat >>confdefs.h <<_ACEOF
112749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112750 _ACEOF
112751
112752 else
112753   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112754 fi
112755 done
112756
112757   fi
112758
112759   # Used in libmath/Makefile.am.
112760   if test -n "$LIBMATHOBJS"; then
112761     need_libmath=yes
112762   fi
112763
112764
112765     cat >>confdefs.h <<\_ACEOF
112766 #define HAVE_COSF 1
112767 _ACEOF
112768
112769     cat >>confdefs.h <<\_ACEOF
112770 #define HAVE_COSL 1
112771 _ACEOF
112772
112773     cat >>confdefs.h <<\_ACEOF
112774 #define HAVE_COSHF 1
112775 _ACEOF
112776
112777     cat >>confdefs.h <<\_ACEOF
112778 #define HAVE_COSHL 1
112779 _ACEOF
112780
112781     cat >>confdefs.h <<\_ACEOF
112782 #define HAVE_LOGF 1
112783 _ACEOF
112784
112785     cat >>confdefs.h <<\_ACEOF
112786 #define HAVE_LOGL 1
112787 _ACEOF
112788
112789     cat >>confdefs.h <<\_ACEOF
112790 #define HAVE_LOG10F 1
112791 _ACEOF
112792
112793     cat >>confdefs.h <<\_ACEOF
112794 #define HAVE_LOG10L 1
112795 _ACEOF
112796
112797     cat >>confdefs.h <<\_ACEOF
112798 #define HAVE_SINF 1
112799 _ACEOF
112800
112801     cat >>confdefs.h <<\_ACEOF
112802 #define HAVE_SINL 1
112803 _ACEOF
112804
112805     cat >>confdefs.h <<\_ACEOF
112806 #define HAVE_SINHF 1
112807 _ACEOF
112808
112809     cat >>confdefs.h <<\_ACEOF
112810 #define HAVE_SINHL 1
112811 _ACEOF
112812
112813     ;;
112814   *-solaris*)
112815     case "$target" in
112816     #  *-solaris2.5)
112817     #    os_include_dir="os/solaris/solaris2.5"
112818     #    ;;
112819     #  *-solaris2.6)
112820     #    os_include_dir="os/solaris/solaris2.6"
112821     #    ;;
112822       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112823
112824   # If we're not using GNU ld, then there's no point in even trying these
112825   # tests.  Check for that first.  We should have already tested for gld
112826   # by now (in libtool), but require it now just to be safe...
112827   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112828   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112829
112830
112831
112832   # The name set by libtool depends on the version of libtool.  Shame on us
112833   # for depending on an impl detail, but c'est la vie.  Older versions used
112834   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112835   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112836   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
112837   # set (hence we're using an older libtool), then set it.
112838   if test x${with_gnu_ld+set} != xset; then
112839     if test x${ac_cv_prog_gnu_ld+set} != xset; then
112840       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
112841       with_gnu_ld=no
112842     else
112843       with_gnu_ld=$ac_cv_prog_gnu_ld
112844     fi
112845   fi
112846
112847   # Start by getting the version number.  I think the libtool test already
112848   # does some of this, but throws away the result.
112849   if test x"$with_gnu_ld" = x"yes"; then
112850     echo "$as_me:$LINENO: checking for ld version" >&5
112851 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112852
112853     ldver=`$LD --version 2>/dev/null | head -1 | \
112854            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112855
112856     glibcxx_gnu_ld_version=`echo $ldver | \
112857            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112858     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112859 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112860   fi
112861
112862   # Set --gc-sections.
112863   glibcxx_gcsections_min_ld=21602
112864   if test x"$with_gnu_ld" = x"yes" &&
112865         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112866
112867     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112868     # NB: This flag only works reliably after 2.16.1. Configure tests
112869     # for this are difficult, so hard wire a value that should work.
112870
112871     ac_test_CFLAGS="${CFLAGS+set}"
112872     ac_save_CFLAGS="$CFLAGS"
112873     CFLAGS='-Wl,--gc-sections'
112874
112875     # Check for -Wl,--gc-sections
112876     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112877 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112878     if test x$gcc_no_link = xyes; then
112879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112881    { (exit 1); exit 1; }; }
112882 fi
112883 cat >conftest.$ac_ext <<_ACEOF
112884 /* confdefs.h.  */
112885 _ACEOF
112886 cat confdefs.h >>conftest.$ac_ext
112887 cat >>conftest.$ac_ext <<_ACEOF
112888 /* end confdefs.h.  */
112889  int one(void) { return 1; }
112890      int two(void) { return 2; }
112891
112892 int
112893 main ()
112894 {
112895  two();
112896   ;
112897   return 0;
112898 }
112899 _ACEOF
112900 rm -f conftest.$ac_objext conftest$ac_exeext
112901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112902   (eval $ac_link) 2>conftest.er1
112903   ac_status=$?
112904   grep -v '^ *+' conftest.er1 >conftest.err
112905   rm -f conftest.er1
112906   cat conftest.err >&5
112907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112908   (exit $ac_status); } &&
112909          { ac_try='test -z "$ac_c_werror_flag"
112910                          || test ! -s conftest.err'
112911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112912   (eval $ac_try) 2>&5
112913   ac_status=$?
112914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112915   (exit $ac_status); }; } &&
112916          { ac_try='test -s conftest$ac_exeext'
112917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112918   (eval $ac_try) 2>&5
112919   ac_status=$?
112920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112921   (exit $ac_status); }; }; then
112922   ac_gcsections=yes
112923 else
112924   echo "$as_me: failed program was:" >&5
112925 sed 's/^/| /' conftest.$ac_ext >&5
112926
112927 ac_gcsections=no
112928 fi
112929 rm -f conftest.err conftest.$ac_objext \
112930       conftest$ac_exeext conftest.$ac_ext
112931     if test "$ac_gcsections" = "yes"; then
112932       rm -f conftest.c
112933       touch conftest.c
112934       if $CC -c conftest.c; then
112935         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112936            grep "Warning: gc-sections option ignored" > /dev/null; then
112937           ac_gcsections=no
112938         fi
112939       fi
112940       rm -f conftest.c conftest.o conftest
112941     fi
112942     if test "$ac_gcsections" = "yes"; then
112943       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112944     fi
112945     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112946 echo "${ECHO_T}$ac_gcsections" >&6
112947
112948     if test "$ac_test_CFLAGS" = set; then
112949       CFLAGS="$ac_save_CFLAGS"
112950     else
112951       # this is the suspicious part
112952       CFLAGS=''
112953     fi
112954   fi
112955
112956   # Set -z,relro.
112957   # Note this is only for shared objects.
112958   ac_ld_relro=no
112959   if test x"$with_gnu_ld" = x"yes"; then
112960     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112961 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112962     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112963     if test -n "$cxx_z_relo"; then
112964       OPT_LDFLAGS="-Wl,-z,relro"
112965       ac_ld_relro=yes
112966     fi
112967     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112968 echo "${ECHO_T}$ac_ld_relro" >&6
112969   fi
112970
112971   # Set linker optimization flags.
112972   if test x"$with_gnu_ld" = x"yes"; then
112973     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112974   fi
112975
112976
112977
112978
112979          cat >>confdefs.h <<\_ACEOF
112980 #define HAVE_GETPAGESIZE 1
112981 _ACEOF
112982
112983          cat >>confdefs.h <<\_ACEOF
112984 #define HAVE_SIGSETJMP 1
112985 _ACEOF
112986
112987          cat >>confdefs.h <<\_ACEOF
112988 #define HAVE_MBSTATE_T 1
112989 _ACEOF
112990
112991          cat >>confdefs.h <<\_ACEOF
112992 #define HAVE_POLL 1
112993 _ACEOF
112994
112995          cat >>confdefs.h <<\_ACEOF
112996 #define HAVE_S_ISREG 1
112997 _ACEOF
112998
112999          cat >>confdefs.h <<\_ACEOF
113000 #define HAVE_LC_MESSAGES 1
113001 _ACEOF
113002
113003          cat >>confdefs.h <<\_ACEOF
113004 #define HAVE_FINITE 1
113005 _ACEOF
113006
113007          cat >>confdefs.h <<\_ACEOF
113008 #define HAVE_FPCLASS 1
113009 _ACEOF
113010
113011          cat >>confdefs.h <<\_ACEOF
113012 #define HAVE_GETPAGESIZE 1
113013 _ACEOF
113014
113015          # All of the dependencies for wide character support are here, so
113016          # turn it on.
113017          cat >>confdefs.h <<\_ACEOF
113018 #define _GLIBCXX_USE_WCHAR_T 1
113019 _ACEOF
113020
113021          # Are these tested for even when cross?
113022          cat >>confdefs.h <<\_ACEOF
113023 #define HAVE_FLOAT_H 1
113024 _ACEOF
113025
113026          cat >>confdefs.h <<\_ACEOF
113027 #define HAVE_IEEEFP_H 1
113028 _ACEOF
113029
113030          cat >>confdefs.h <<\_ACEOF
113031 #define HAVE_INTTYPES_H 1
113032 _ACEOF
113033
113034          cat >>confdefs.h <<\_ACEOF
113035 #define HAVE_LOCALE_H 1
113036 _ACEOF
113037
113038          cat >>confdefs.h <<\_ACEOF
113039 #define HAVE_NAN_H 1
113040 _ACEOF
113041
113042          cat >>confdefs.h <<\_ACEOF
113043 #define HAVE_SYS_FILIO_H 1
113044 _ACEOF
113045
113046          cat >>confdefs.h <<\_ACEOF
113047 #define HAVE_SYS_IOCTL_H 1
113048 _ACEOF
113049
113050          cat >>confdefs.h <<\_ACEOF
113051 #define HAVE_SYS_ISA_DEFS_H 1
113052 _ACEOF
113053
113054          cat >>confdefs.h <<\_ACEOF
113055 #define HAVE_SYS_RESOURCE_H 1
113056 _ACEOF
113057
113058          cat >>confdefs.h <<\_ACEOF
113059 #define HAVE_SYS_TIME_H 1
113060 _ACEOF
113061
113062          cat >>confdefs.h <<\_ACEOF
113063 #define HAVE_SYS_TYPES_H 1
113064 _ACEOF
113065
113066          cat >>confdefs.h <<\_ACEOF
113067 #define HAVE_UNISTD_H 1
113068 _ACEOF
113069
113070          cat >>confdefs.h <<\_ACEOF
113071 #define HAVE_WCHAR_H 1
113072 _ACEOF
113073
113074          cat >>confdefs.h <<\_ACEOF
113075 #define HAVE_WCTYPE_H 1
113076 _ACEOF
113077
113078          cat >>confdefs.h <<\_ACEOF
113079 #define HAVE_LIBM 1
113080 _ACEOF
113081
113082         ;;
113083     esac
113084     case "$target" in
113085       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
113086         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
113087         cat >>confdefs.h <<\_ACEOF
113088 #define HAVE___BUILTIN_ABS 1
113089 _ACEOF
113090
113091         cat >>confdefs.h <<\_ACEOF
113092 #define HAVE___BUILTIN_LABS 1
113093 _ACEOF
113094
113095         cat >>confdefs.h <<\_ACEOF
113096 #define HAVE___BUILTIN_FABS 1
113097 _ACEOF
113098
113099         cat >>confdefs.h <<\_ACEOF
113100 #define HAVE___BUILTIN_FABSF 1
113101 _ACEOF
113102
113103         cat >>confdefs.h <<\_ACEOF
113104 #define HAVE___BUILTIN_FABSL 1
113105 _ACEOF
113106
113107         cat >>confdefs.h <<\_ACEOF
113108 #define HAVE___BUILTIN_COS 1
113109 _ACEOF
113110
113111         cat >>confdefs.h <<\_ACEOF
113112 #define HAVE___BUILTIN_COSF 1
113113 _ACEOF
113114
113115         cat >>confdefs.h <<\_ACEOF
113116 #define HAVE___BUILTIN_SIN 1
113117 _ACEOF
113118
113119         cat >>confdefs.h <<\_ACEOF
113120 #define HAVE___BUILTIN_SINF 1
113121 _ACEOF
113122
113123        ;;
113124     esac
113125     case "$target" in
113126       *-*-solaris2.10)
113127       # These two C99 functions are present only in Solaris >= 10
113128       cat >>confdefs.h <<\_ACEOF
113129 #define HAVE_STRTOF 1
113130 _ACEOF
113131
113132       cat >>confdefs.h <<\_ACEOF
113133 #define HAVE_STRTOLD 1
113134 _ACEOF
113135
113136      ;;
113137     esac
113138     cat >>confdefs.h <<\_ACEOF
113139 #define HAVE_MMAP 1
113140 _ACEOF
113141
113142     cat >>confdefs.h <<\_ACEOF
113143 #define HAVE_COPYSIGN 1
113144 _ACEOF
113145
113146     cat >>confdefs.h <<\_ACEOF
113147 #define HAVE_ISNAN 1
113148 _ACEOF
113149
113150     cat >>confdefs.h <<\_ACEOF
113151 #define HAVE_ISNANF 1
113152 _ACEOF
113153
113154     cat >>confdefs.h <<\_ACEOF
113155 #define HAVE_MODFF 1
113156 _ACEOF
113157
113158     cat >>confdefs.h <<\_ACEOF
113159 #define HAVE_HYPOT 1
113160 _ACEOF
113161
113162     ;;
113163   *-tpf)
113164
113165
113166
113167
113168
113169
113170
113171
113172 for ac_header in nan.h endian.h machine/endian.h  \
113173       sys/param.h sys/types.h locale.h float.h inttypes.h
113174 do
113175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113177   echo "$as_me:$LINENO: checking for $ac_header" >&5
113178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113180   echo $ECHO_N "(cached) $ECHO_C" >&6
113181 fi
113182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113184 else
113185   # Is the header compilable?
113186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
113195 #include <$ac_header>
113196 _ACEOF
113197 rm -f conftest.$ac_objext
113198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113199   (eval $ac_compile) 2>conftest.er1
113200   ac_status=$?
113201   grep -v '^ *+' conftest.er1 >conftest.err
113202   rm -f conftest.er1
113203   cat conftest.err >&5
113204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113205   (exit $ac_status); } &&
113206          { ac_try='test -z "$ac_c_werror_flag"
113207                          || test ! -s conftest.err'
113208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113209   (eval $ac_try) 2>&5
113210   ac_status=$?
113211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113212   (exit $ac_status); }; } &&
113213          { ac_try='test -s conftest.$ac_objext'
113214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113215   (eval $ac_try) 2>&5
113216   ac_status=$?
113217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113218   (exit $ac_status); }; }; then
113219   ac_header_compiler=yes
113220 else
113221   echo "$as_me: failed program was:" >&5
113222 sed 's/^/| /' conftest.$ac_ext >&5
113223
113224 ac_header_compiler=no
113225 fi
113226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113228 echo "${ECHO_T}$ac_header_compiler" >&6
113229
113230 # Is the header present?
113231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113233 cat >conftest.$ac_ext <<_ACEOF
113234 /* confdefs.h.  */
113235 _ACEOF
113236 cat confdefs.h >>conftest.$ac_ext
113237 cat >>conftest.$ac_ext <<_ACEOF
113238 /* end confdefs.h.  */
113239 #include <$ac_header>
113240 _ACEOF
113241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113242   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113243   ac_status=$?
113244   grep -v '^ *+' conftest.er1 >conftest.err
113245   rm -f conftest.er1
113246   cat conftest.err >&5
113247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113248   (exit $ac_status); } >/dev/null; then
113249   if test -s conftest.err; then
113250     ac_cpp_err=$ac_c_preproc_warn_flag
113251     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113252   else
113253     ac_cpp_err=
113254   fi
113255 else
113256   ac_cpp_err=yes
113257 fi
113258 if test -z "$ac_cpp_err"; then
113259   ac_header_preproc=yes
113260 else
113261   echo "$as_me: failed program was:" >&5
113262 sed 's/^/| /' conftest.$ac_ext >&5
113263
113264   ac_header_preproc=no
113265 fi
113266 rm -f conftest.err conftest.$ac_ext
113267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113268 echo "${ECHO_T}$ac_header_preproc" >&6
113269
113270 # So?  What about this header?
113271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113272   yes:no: )
113273     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113275     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113277     ac_header_preproc=yes
113278     ;;
113279   no:yes:* )
113280     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113282     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113283 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113284     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113286     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113287 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113288     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113290     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113292     (
113293       cat <<\_ASBOX
113294 ## ----------------------------------------- ##
113295 ## Report this to the package-unused lists.  ##
113296 ## ----------------------------------------- ##
113297 _ASBOX
113298     ) |
113299       sed "s/^/$as_me: WARNING:     /" >&2
113300     ;;
113301 esac
113302 echo "$as_me:$LINENO: checking for $ac_header" >&5
113303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113305   echo $ECHO_N "(cached) $ECHO_C" >&6
113306 else
113307   eval "$as_ac_Header=\$ac_header_preproc"
113308 fi
113309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113311
113312 fi
113313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113314   cat >>confdefs.h <<_ACEOF
113315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113316 _ACEOF
113317
113318 fi
113319
113320 done
113321
113322     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113323
113324
113325   # If we're not using GNU ld, then there's no point in even trying these
113326   # tests.  Check for that first.  We should have already tested for gld
113327   # by now (in libtool), but require it now just to be safe...
113328   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113329   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113330
113331
113332
113333   # The name set by libtool depends on the version of libtool.  Shame on us
113334   # for depending on an impl detail, but c'est la vie.  Older versions used
113335   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113336   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113337   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113338   # set (hence we're using an older libtool), then set it.
113339   if test x${with_gnu_ld+set} != xset; then
113340     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113341       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113342       with_gnu_ld=no
113343     else
113344       with_gnu_ld=$ac_cv_prog_gnu_ld
113345     fi
113346   fi
113347
113348   # Start by getting the version number.  I think the libtool test already
113349   # does some of this, but throws away the result.
113350   if test x"$with_gnu_ld" = x"yes"; then
113351     echo "$as_me:$LINENO: checking for ld version" >&5
113352 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113353
113354     ldver=`$LD --version 2>/dev/null | head -1 | \
113355            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113356
113357     glibcxx_gnu_ld_version=`echo $ldver | \
113358            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113359     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113360 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113361   fi
113362
113363   # Set --gc-sections.
113364   glibcxx_gcsections_min_ld=21602
113365   if test x"$with_gnu_ld" = x"yes" &&
113366         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113367
113368     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113369     # NB: This flag only works reliably after 2.16.1. Configure tests
113370     # for this are difficult, so hard wire a value that should work.
113371
113372     ac_test_CFLAGS="${CFLAGS+set}"
113373     ac_save_CFLAGS="$CFLAGS"
113374     CFLAGS='-Wl,--gc-sections'
113375
113376     # Check for -Wl,--gc-sections
113377     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113378 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113379     if test x$gcc_no_link = xyes; then
113380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113382    { (exit 1); exit 1; }; }
113383 fi
113384 cat >conftest.$ac_ext <<_ACEOF
113385 /* confdefs.h.  */
113386 _ACEOF
113387 cat confdefs.h >>conftest.$ac_ext
113388 cat >>conftest.$ac_ext <<_ACEOF
113389 /* end confdefs.h.  */
113390  int one(void) { return 1; }
113391      int two(void) { return 2; }
113392
113393 int
113394 main ()
113395 {
113396  two();
113397   ;
113398   return 0;
113399 }
113400 _ACEOF
113401 rm -f conftest.$ac_objext conftest$ac_exeext
113402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113403   (eval $ac_link) 2>conftest.er1
113404   ac_status=$?
113405   grep -v '^ *+' conftest.er1 >conftest.err
113406   rm -f conftest.er1
113407   cat conftest.err >&5
113408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113409   (exit $ac_status); } &&
113410          { ac_try='test -z "$ac_c_werror_flag"
113411                          || test ! -s conftest.err'
113412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113413   (eval $ac_try) 2>&5
113414   ac_status=$?
113415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113416   (exit $ac_status); }; } &&
113417          { ac_try='test -s conftest$ac_exeext'
113418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113419   (eval $ac_try) 2>&5
113420   ac_status=$?
113421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113422   (exit $ac_status); }; }; then
113423   ac_gcsections=yes
113424 else
113425   echo "$as_me: failed program was:" >&5
113426 sed 's/^/| /' conftest.$ac_ext >&5
113427
113428 ac_gcsections=no
113429 fi
113430 rm -f conftest.err conftest.$ac_objext \
113431       conftest$ac_exeext conftest.$ac_ext
113432     if test "$ac_gcsections" = "yes"; then
113433       rm -f conftest.c
113434       touch conftest.c
113435       if $CC -c conftest.c; then
113436         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113437            grep "Warning: gc-sections option ignored" > /dev/null; then
113438           ac_gcsections=no
113439         fi
113440       fi
113441       rm -f conftest.c conftest.o conftest
113442     fi
113443     if test "$ac_gcsections" = "yes"; then
113444       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113445     fi
113446     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113447 echo "${ECHO_T}$ac_gcsections" >&6
113448
113449     if test "$ac_test_CFLAGS" = set; then
113450       CFLAGS="$ac_save_CFLAGS"
113451     else
113452       # this is the suspicious part
113453       CFLAGS=''
113454     fi
113455   fi
113456
113457   # Set -z,relro.
113458   # Note this is only for shared objects.
113459   ac_ld_relro=no
113460   if test x"$with_gnu_ld" = x"yes"; then
113461     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113462 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113463     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113464     if test -n "$cxx_z_relo"; then
113465       OPT_LDFLAGS="-Wl,-z,relro"
113466       ac_ld_relro=yes
113467     fi
113468     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113469 echo "${ECHO_T}$ac_ld_relro" >&6
113470   fi
113471
113472   # Set linker optimization flags.
113473   if test x"$with_gnu_ld" = x"yes"; then
113474     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113475   fi
113476
113477
113478
113479
113480
113481
113482 echo "$as_me:$LINENO: checking for main in -lm" >&5
113483 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113484 if test "${ac_cv_lib_m_main+set}" = set; then
113485   echo $ECHO_N "(cached) $ECHO_C" >&6
113486 else
113487   ac_check_lib_save_LIBS=$LIBS
113488 LIBS="-lm  $LIBS"
113489 if test x$gcc_no_link = xyes; then
113490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113492    { (exit 1); exit 1; }; }
113493 fi
113494 cat >conftest.$ac_ext <<_ACEOF
113495 /* confdefs.h.  */
113496 _ACEOF
113497 cat confdefs.h >>conftest.$ac_ext
113498 cat >>conftest.$ac_ext <<_ACEOF
113499 /* end confdefs.h.  */
113500
113501
113502 int
113503 main ()
113504 {
113505 main ();
113506   ;
113507   return 0;
113508 }
113509 _ACEOF
113510 rm -f conftest.$ac_objext conftest$ac_exeext
113511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113512   (eval $ac_link) 2>conftest.er1
113513   ac_status=$?
113514   grep -v '^ *+' conftest.er1 >conftest.err
113515   rm -f conftest.er1
113516   cat conftest.err >&5
113517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113518   (exit $ac_status); } &&
113519          { ac_try='test -z "$ac_c_werror_flag"
113520                          || test ! -s conftest.err'
113521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113522   (eval $ac_try) 2>&5
113523   ac_status=$?
113524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113525   (exit $ac_status); }; } &&
113526          { ac_try='test -s conftest$ac_exeext'
113527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113528   (eval $ac_try) 2>&5
113529   ac_status=$?
113530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113531   (exit $ac_status); }; }; then
113532   ac_cv_lib_m_main=yes
113533 else
113534   echo "$as_me: failed program was:" >&5
113535 sed 's/^/| /' conftest.$ac_ext >&5
113536
113537 ac_cv_lib_m_main=no
113538 fi
113539 rm -f conftest.err conftest.$ac_objext \
113540       conftest$ac_exeext conftest.$ac_ext
113541 LIBS=$ac_check_lib_save_LIBS
113542 fi
113543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113544 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113545 if test $ac_cv_lib_m_main = yes; then
113546   cat >>confdefs.h <<_ACEOF
113547 #define HAVE_LIBM 1
113548 _ACEOF
113549
113550   LIBS="-lm $LIBS"
113551
113552 fi
113553
113554
113555 for ac_func in copysignf
113556 do
113557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113558 echo "$as_me:$LINENO: checking for $ac_func" >&5
113559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113560 if eval "test \"\${$as_ac_var+set}\" = set"; then
113561   echo $ECHO_N "(cached) $ECHO_C" >&6
113562 else
113563   if test x$gcc_no_link = xyes; then
113564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113566    { (exit 1); exit 1; }; }
113567 fi
113568 cat >conftest.$ac_ext <<_ACEOF
113569 /* confdefs.h.  */
113570 _ACEOF
113571 cat confdefs.h >>conftest.$ac_ext
113572 cat >>conftest.$ac_ext <<_ACEOF
113573 /* end confdefs.h.  */
113574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113576 #define $ac_func innocuous_$ac_func
113577
113578 /* System header to define __stub macros and hopefully few prototypes,
113579     which can conflict with char $ac_func (); below.
113580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113581     <limits.h> exists even on freestanding compilers.  */
113582
113583 #ifdef __STDC__
113584 # include <limits.h>
113585 #else
113586 # include <assert.h>
113587 #endif
113588
113589 #undef $ac_func
113590
113591 /* Override any gcc2 internal prototype to avoid an error.  */
113592 #ifdef __cplusplus
113593 extern "C"
113594 {
113595 #endif
113596 /* We use char because int might match the return type of a gcc2
113597    builtin and then its argument prototype would still apply.  */
113598 char $ac_func ();
113599 /* The GNU C library defines this for functions which it implements
113600     to always fail with ENOSYS.  Some functions are actually named
113601     something starting with __ and the normal name is an alias.  */
113602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113603 choke me
113604 #else
113605 char (*f) () = $ac_func;
113606 #endif
113607 #ifdef __cplusplus
113608 }
113609 #endif
113610
113611 int
113612 main ()
113613 {
113614 return f != $ac_func;
113615   ;
113616   return 0;
113617 }
113618 _ACEOF
113619 rm -f conftest.$ac_objext conftest$ac_exeext
113620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113621   (eval $ac_link) 2>conftest.er1
113622   ac_status=$?
113623   grep -v '^ *+' conftest.er1 >conftest.err
113624   rm -f conftest.er1
113625   cat conftest.err >&5
113626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113627   (exit $ac_status); } &&
113628          { ac_try='test -z "$ac_c_werror_flag"
113629                          || test ! -s conftest.err'
113630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113631   (eval $ac_try) 2>&5
113632   ac_status=$?
113633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113634   (exit $ac_status); }; } &&
113635          { ac_try='test -s conftest$ac_exeext'
113636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113637   (eval $ac_try) 2>&5
113638   ac_status=$?
113639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113640   (exit $ac_status); }; }; then
113641   eval "$as_ac_var=yes"
113642 else
113643   echo "$as_me: failed program was:" >&5
113644 sed 's/^/| /' conftest.$ac_ext >&5
113645
113646 eval "$as_ac_var=no"
113647 fi
113648 rm -f conftest.err conftest.$ac_objext \
113649       conftest$ac_exeext conftest.$ac_ext
113650 fi
113651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113653 if test `eval echo '${'$as_ac_var'}'` = yes; then
113654   cat >>confdefs.h <<_ACEOF
113655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113656 _ACEOF
113657
113658 else
113659   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113660 fi
113661 done
113662
113663
113664
113665 for ac_func in __signbit
113666 do
113667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113668 echo "$as_me:$LINENO: checking for $ac_func" >&5
113669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113670 if eval "test \"\${$as_ac_var+set}\" = set"; then
113671   echo $ECHO_N "(cached) $ECHO_C" >&6
113672 else
113673   if test x$gcc_no_link = xyes; then
113674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113676    { (exit 1); exit 1; }; }
113677 fi
113678 cat >conftest.$ac_ext <<_ACEOF
113679 /* confdefs.h.  */
113680 _ACEOF
113681 cat confdefs.h >>conftest.$ac_ext
113682 cat >>conftest.$ac_ext <<_ACEOF
113683 /* end confdefs.h.  */
113684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113686 #define $ac_func innocuous_$ac_func
113687
113688 /* System header to define __stub macros and hopefully few prototypes,
113689     which can conflict with char $ac_func (); below.
113690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113691     <limits.h> exists even on freestanding compilers.  */
113692
113693 #ifdef __STDC__
113694 # include <limits.h>
113695 #else
113696 # include <assert.h>
113697 #endif
113698
113699 #undef $ac_func
113700
113701 /* Override any gcc2 internal prototype to avoid an error.  */
113702 #ifdef __cplusplus
113703 extern "C"
113704 {
113705 #endif
113706 /* We use char because int might match the return type of a gcc2
113707    builtin and then its argument prototype would still apply.  */
113708 char $ac_func ();
113709 /* The GNU C library defines this for functions which it implements
113710     to always fail with ENOSYS.  Some functions are actually named
113711     something starting with __ and the normal name is an alias.  */
113712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113713 choke me
113714 #else
113715 char (*f) () = $ac_func;
113716 #endif
113717 #ifdef __cplusplus
113718 }
113719 #endif
113720
113721 int
113722 main ()
113723 {
113724 return f != $ac_func;
113725   ;
113726   return 0;
113727 }
113728 _ACEOF
113729 rm -f conftest.$ac_objext conftest$ac_exeext
113730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113731   (eval $ac_link) 2>conftest.er1
113732   ac_status=$?
113733   grep -v '^ *+' conftest.er1 >conftest.err
113734   rm -f conftest.er1
113735   cat conftest.err >&5
113736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113737   (exit $ac_status); } &&
113738          { ac_try='test -z "$ac_c_werror_flag"
113739                          || test ! -s conftest.err'
113740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113741   (eval $ac_try) 2>&5
113742   ac_status=$?
113743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113744   (exit $ac_status); }; } &&
113745          { ac_try='test -s conftest$ac_exeext'
113746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113747   (eval $ac_try) 2>&5
113748   ac_status=$?
113749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113750   (exit $ac_status); }; }; then
113751   eval "$as_ac_var=yes"
113752 else
113753   echo "$as_me: failed program was:" >&5
113754 sed 's/^/| /' conftest.$ac_ext >&5
113755
113756 eval "$as_ac_var=no"
113757 fi
113758 rm -f conftest.err conftest.$ac_objext \
113759       conftest$ac_exeext conftest.$ac_ext
113760 fi
113761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113763 if test `eval echo '${'$as_ac_var'}'` = yes; then
113764   cat >>confdefs.h <<_ACEOF
113765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113766 _ACEOF
113767
113768 else
113769   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113770 fi
113771 done
113772
113773
113774
113775 for ac_func in __signbitf
113776 do
113777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113778 echo "$as_me:$LINENO: checking for $ac_func" >&5
113779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113780 if eval "test \"\${$as_ac_var+set}\" = set"; then
113781   echo $ECHO_N "(cached) $ECHO_C" >&6
113782 else
113783   if test x$gcc_no_link = xyes; then
113784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113786    { (exit 1); exit 1; }; }
113787 fi
113788 cat >conftest.$ac_ext <<_ACEOF
113789 /* confdefs.h.  */
113790 _ACEOF
113791 cat confdefs.h >>conftest.$ac_ext
113792 cat >>conftest.$ac_ext <<_ACEOF
113793 /* end confdefs.h.  */
113794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113796 #define $ac_func innocuous_$ac_func
113797
113798 /* System header to define __stub macros and hopefully few prototypes,
113799     which can conflict with char $ac_func (); below.
113800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113801     <limits.h> exists even on freestanding compilers.  */
113802
113803 #ifdef __STDC__
113804 # include <limits.h>
113805 #else
113806 # include <assert.h>
113807 #endif
113808
113809 #undef $ac_func
113810
113811 /* Override any gcc2 internal prototype to avoid an error.  */
113812 #ifdef __cplusplus
113813 extern "C"
113814 {
113815 #endif
113816 /* We use char because int might match the return type of a gcc2
113817    builtin and then its argument prototype would still apply.  */
113818 char $ac_func ();
113819 /* The GNU C library defines this for functions which it implements
113820     to always fail with ENOSYS.  Some functions are actually named
113821     something starting with __ and the normal name is an alias.  */
113822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113823 choke me
113824 #else
113825 char (*f) () = $ac_func;
113826 #endif
113827 #ifdef __cplusplus
113828 }
113829 #endif
113830
113831 int
113832 main ()
113833 {
113834 return f != $ac_func;
113835   ;
113836   return 0;
113837 }
113838 _ACEOF
113839 rm -f conftest.$ac_objext conftest$ac_exeext
113840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113841   (eval $ac_link) 2>conftest.er1
113842   ac_status=$?
113843   grep -v '^ *+' conftest.er1 >conftest.err
113844   rm -f conftest.er1
113845   cat conftest.err >&5
113846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113847   (exit $ac_status); } &&
113848          { ac_try='test -z "$ac_c_werror_flag"
113849                          || test ! -s conftest.err'
113850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113851   (eval $ac_try) 2>&5
113852   ac_status=$?
113853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113854   (exit $ac_status); }; } &&
113855          { ac_try='test -s conftest$ac_exeext'
113856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113857   (eval $ac_try) 2>&5
113858   ac_status=$?
113859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113860   (exit $ac_status); }; }; then
113861   eval "$as_ac_var=yes"
113862 else
113863   echo "$as_me: failed program was:" >&5
113864 sed 's/^/| /' conftest.$ac_ext >&5
113865
113866 eval "$as_ac_var=no"
113867 fi
113868 rm -f conftest.err conftest.$ac_objext \
113869       conftest$ac_exeext conftest.$ac_ext
113870 fi
113871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113873 if test `eval echo '${'$as_ac_var'}'` = yes; then
113874   cat >>confdefs.h <<_ACEOF
113875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113876 _ACEOF
113877
113878 else
113879   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113880 fi
113881 done
113882
113883
113884           if test x$ac_cv_func_copysignl = x"yes"; then
113885
113886 for ac_func in __signbitl
113887 do
113888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113889 echo "$as_me:$LINENO: checking for $ac_func" >&5
113890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113891 if eval "test \"\${$as_ac_var+set}\" = set"; then
113892   echo $ECHO_N "(cached) $ECHO_C" >&6
113893 else
113894   if test x$gcc_no_link = xyes; then
113895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113897    { (exit 1); exit 1; }; }
113898 fi
113899 cat >conftest.$ac_ext <<_ACEOF
113900 /* confdefs.h.  */
113901 _ACEOF
113902 cat confdefs.h >>conftest.$ac_ext
113903 cat >>conftest.$ac_ext <<_ACEOF
113904 /* end confdefs.h.  */
113905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113907 #define $ac_func innocuous_$ac_func
113908
113909 /* System header to define __stub macros and hopefully few prototypes,
113910     which can conflict with char $ac_func (); below.
113911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113912     <limits.h> exists even on freestanding compilers.  */
113913
113914 #ifdef __STDC__
113915 # include <limits.h>
113916 #else
113917 # include <assert.h>
113918 #endif
113919
113920 #undef $ac_func
113921
113922 /* Override any gcc2 internal prototype to avoid an error.  */
113923 #ifdef __cplusplus
113924 extern "C"
113925 {
113926 #endif
113927 /* We use char because int might match the return type of a gcc2
113928    builtin and then its argument prototype would still apply.  */
113929 char $ac_func ();
113930 /* The GNU C library defines this for functions which it implements
113931     to always fail with ENOSYS.  Some functions are actually named
113932     something starting with __ and the normal name is an alias.  */
113933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113934 choke me
113935 #else
113936 char (*f) () = $ac_func;
113937 #endif
113938 #ifdef __cplusplus
113939 }
113940 #endif
113941
113942 int
113943 main ()
113944 {
113945 return f != $ac_func;
113946   ;
113947   return 0;
113948 }
113949 _ACEOF
113950 rm -f conftest.$ac_objext conftest$ac_exeext
113951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113952   (eval $ac_link) 2>conftest.er1
113953   ac_status=$?
113954   grep -v '^ *+' conftest.er1 >conftest.err
113955   rm -f conftest.er1
113956   cat conftest.err >&5
113957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113958   (exit $ac_status); } &&
113959          { ac_try='test -z "$ac_c_werror_flag"
113960                          || test ! -s conftest.err'
113961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113962   (eval $ac_try) 2>&5
113963   ac_status=$?
113964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113965   (exit $ac_status); }; } &&
113966          { ac_try='test -s conftest$ac_exeext'
113967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113968   (eval $ac_try) 2>&5
113969   ac_status=$?
113970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113971   (exit $ac_status); }; }; then
113972   eval "$as_ac_var=yes"
113973 else
113974   echo "$as_me: failed program was:" >&5
113975 sed 's/^/| /' conftest.$ac_ext >&5
113976
113977 eval "$as_ac_var=no"
113978 fi
113979 rm -f conftest.err conftest.$ac_objext \
113980       conftest$ac_exeext conftest.$ac_ext
113981 fi
113982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113984 if test `eval echo '${'$as_ac_var'}'` = yes; then
113985   cat >>confdefs.h <<_ACEOF
113986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113987 _ACEOF
113988
113989 else
113990   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113991 fi
113992 done
113993
113994   fi
113995
113996   # Used in libmath/Makefile.am.
113997   if test -n "$LIBMATHOBJS"; then
113998     need_libmath=yes
113999   fi
114000
114001
114002     cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_COPYSIGN 1
114004 _ACEOF
114005
114006     cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_COPYSIGNF 1
114008 _ACEOF
114009
114010     cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_FINITE 1
114012 _ACEOF
114013
114014     cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_FINITEF 1
114016 _ACEOF
114017
114018     cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_FREXPF 1
114020 _ACEOF
114021
114022     cat >>confdefs.h <<\_ACEOF
114023 #define HAVE_HYPOTF 1
114024 _ACEOF
114025
114026     cat >>confdefs.h <<\_ACEOF
114027 #define HAVE_ISINF 1
114028 _ACEOF
114029
114030     cat >>confdefs.h <<\_ACEOF
114031 #define HAVE_ISINFF 1
114032 _ACEOF
114033
114034     cat >>confdefs.h <<\_ACEOF
114035 #define HAVE_ISNAN 1
114036 _ACEOF
114037
114038     cat >>confdefs.h <<\_ACEOF
114039 #define HAVE_ISNANF 1
114040 _ACEOF
114041
114042     cat >>confdefs.h <<\_ACEOF
114043 #define HAVE_SINCOS 1
114044 _ACEOF
114045
114046     cat >>confdefs.h <<\_ACEOF
114047 #define HAVE_SINCOSF 1
114048 _ACEOF
114049
114050     if test x"long_double_math_on_this_cpu" = x"yes"; then
114051       cat >>confdefs.h <<\_ACEOF
114052 #define HAVE_FINITEL 1
114053 _ACEOF
114054
114055       cat >>confdefs.h <<\_ACEOF
114056 #define HAVE_HYPOTL 1
114057 _ACEOF
114058
114059       cat >>confdefs.h <<\_ACEOF
114060 #define HAVE_ISINFL 1
114061 _ACEOF
114062
114063       cat >>confdefs.h <<\_ACEOF
114064 #define HAVE_ISNANL 1
114065 _ACEOF
114066
114067     fi
114068     ;;
114069   *-vxworks)
114070     cat >>confdefs.h <<\_ACEOF
114071 #define HAVE_MMAP 1
114072 _ACEOF
114073
114074     cat >>confdefs.h <<\_ACEOF
114075 #define HAVE_ACOSF 1
114076 _ACEOF
114077
114078     cat >>confdefs.h <<\_ACEOF
114079 #define HAVE_ASINF 1
114080 _ACEOF
114081
114082     cat >>confdefs.h <<\_ACEOF
114083 #define HAVE_ATAN2F 1
114084 _ACEOF
114085
114086     cat >>confdefs.h <<\_ACEOF
114087 #define HAVE_ATANF 1
114088 _ACEOF
114089
114090     cat >>confdefs.h <<\_ACEOF
114091 #define HAVE_CEILF 1
114092 _ACEOF
114093
114094     cat >>confdefs.h <<\_ACEOF
114095 #define HAVE_COSF 1
114096 _ACEOF
114097
114098     cat >>confdefs.h <<\_ACEOF
114099 #define HAVE_COSHF 1
114100 _ACEOF
114101
114102     cat >>confdefs.h <<\_ACEOF
114103 #define HAVE_EXPF 1
114104 _ACEOF
114105
114106     cat >>confdefs.h <<\_ACEOF
114107 #define HAVE_FABSF 1
114108 _ACEOF
114109
114110     cat >>confdefs.h <<\_ACEOF
114111 #define HAVE_FLOORF 1
114112 _ACEOF
114113
114114     cat >>confdefs.h <<\_ACEOF
114115 #define HAVE_FMODF 1
114116 _ACEOF
114117
114118     cat >>confdefs.h <<\_ACEOF
114119 #define HAVE_HYPOT 1
114120 _ACEOF
114121
114122     cat >>confdefs.h <<\_ACEOF
114123 #define HAVE_LOG10F 1
114124 _ACEOF
114125
114126     cat >>confdefs.h <<\_ACEOF
114127 #define HAVE_LOGF 1
114128 _ACEOF
114129
114130     cat >>confdefs.h <<\_ACEOF
114131 #define HAVE_POWF 1
114132 _ACEOF
114133
114134     cat >>confdefs.h <<\_ACEOF
114135 #define HAVE_SINF 1
114136 _ACEOF
114137
114138     cat >>confdefs.h <<\_ACEOF
114139 #define HAVE_SINHF 1
114140 _ACEOF
114141
114142     cat >>confdefs.h <<\_ACEOF
114143 #define HAVE_SQRTF 1
114144 _ACEOF
114145
114146     cat >>confdefs.h <<\_ACEOF
114147 #define HAVE_TANF 1
114148 _ACEOF
114149
114150     cat >>confdefs.h <<\_ACEOF
114151 #define HAVE_TANHF 1
114152 _ACEOF
114153
114154     ;;
114155   *-windiss*)
114156     cat >>confdefs.h <<\_ACEOF
114157 #define HAVE_ACOSF 1
114158 _ACEOF
114159
114160     cat >>confdefs.h <<\_ACEOF
114161 #define HAVE_ACOSL 1
114162 _ACEOF
114163
114164     cat >>confdefs.h <<\_ACEOF
114165 #define HAVE_ASINF 1
114166 _ACEOF
114167
114168     cat >>confdefs.h <<\_ACEOF
114169 #define HAVE_ASINL 1
114170 _ACEOF
114171
114172     cat >>confdefs.h <<\_ACEOF
114173 #define HAVE_ATAN2F 1
114174 _ACEOF
114175
114176     cat >>confdefs.h <<\_ACEOF
114177 #define HAVE_ATAN2L 1
114178 _ACEOF
114179
114180     cat >>confdefs.h <<\_ACEOF
114181 #define HAVE_ATANF 1
114182 _ACEOF
114183
114184     cat >>confdefs.h <<\_ACEOF
114185 #define HAVE_ATANL 1
114186 _ACEOF
114187
114188     cat >>confdefs.h <<\_ACEOF
114189 #define HAVE_CEILF 1
114190 _ACEOF
114191
114192     cat >>confdefs.h <<\_ACEOF
114193 #define HAVE_CEILL 1
114194 _ACEOF
114195
114196     cat >>confdefs.h <<\_ACEOF
114197 #define HAVE_COPYSIGN 1
114198 _ACEOF
114199
114200     cat >>confdefs.h <<\_ACEOF
114201 #define HAVE_COPYSIGNF 1
114202 _ACEOF
114203
114204     cat >>confdefs.h <<\_ACEOF
114205 #define HAVE_COSF 1
114206 _ACEOF
114207
114208     cat >>confdefs.h <<\_ACEOF
114209 #define HAVE_COSL 1
114210 _ACEOF
114211
114212     cat >>confdefs.h <<\_ACEOF
114213 #define HAVE_COSHF 1
114214 _ACEOF
114215
114216     cat >>confdefs.h <<\_ACEOF
114217 #define HAVE_COSHL 1
114218 _ACEOF
114219
114220     cat >>confdefs.h <<\_ACEOF
114221 #define HAVE_EXPF 1
114222 _ACEOF
114223
114224     cat >>confdefs.h <<\_ACEOF
114225 #define HAVE_EXPL 1
114226 _ACEOF
114227
114228     cat >>confdefs.h <<\_ACEOF
114229 #define HAVE_FABSF 1
114230 _ACEOF
114231
114232     cat >>confdefs.h <<\_ACEOF
114233 #define HAVE_FABSL 1
114234 _ACEOF
114235
114236     cat >>confdefs.h <<\_ACEOF
114237 #define HAVE_FLOORF 1
114238 _ACEOF
114239
114240     cat >>confdefs.h <<\_ACEOF
114241 #define HAVE_FLOORL 1
114242 _ACEOF
114243
114244     cat >>confdefs.h <<\_ACEOF
114245 #define HAVE_FMODF 1
114246 _ACEOF
114247
114248     cat >>confdefs.h <<\_ACEOF
114249 #define HAVE_FMODL 1
114250 _ACEOF
114251
114252     cat >>confdefs.h <<\_ACEOF
114253 #define HAVE_FREXPF 1
114254 _ACEOF
114255
114256     cat >>confdefs.h <<\_ACEOF
114257 #define HAVE_FREXPL 1
114258 _ACEOF
114259
114260     cat >>confdefs.h <<\_ACEOF
114261 #define HAVE_LDEXPF 1
114262 _ACEOF
114263
114264     cat >>confdefs.h <<\_ACEOF
114265 #define HAVE_LDEXPL 1
114266 _ACEOF
114267
114268     cat >>confdefs.h <<\_ACEOF
114269 #define HAVE_LOG10F 1
114270 _ACEOF
114271
114272     cat >>confdefs.h <<\_ACEOF
114273 #define HAVE_LOG10L 1
114274 _ACEOF
114275
114276     cat >>confdefs.h <<\_ACEOF
114277 #define HAVE_LOGF 1
114278 _ACEOF
114279
114280     cat >>confdefs.h <<\_ACEOF
114281 #define HAVE_MODFF 1
114282 _ACEOF
114283
114284     cat >>confdefs.h <<\_ACEOF
114285 #define HAVE_MODFL 1
114286 _ACEOF
114287
114288     cat >>confdefs.h <<\_ACEOF
114289 #define HAVE_POWF 1
114290 _ACEOF
114291
114292     cat >>confdefs.h <<\_ACEOF
114293 #define HAVE_POWL 1
114294 _ACEOF
114295
114296     cat >>confdefs.h <<\_ACEOF
114297 #define HAVE_SINF 1
114298 _ACEOF
114299
114300     cat >>confdefs.h <<\_ACEOF
114301 #define HAVE_SINL 1
114302 _ACEOF
114303
114304     cat >>confdefs.h <<\_ACEOF
114305 #define HAVE_SINHF 1
114306 _ACEOF
114307
114308     cat >>confdefs.h <<\_ACEOF
114309 #define HAVE_SINHL 1
114310 _ACEOF
114311
114312     cat >>confdefs.h <<\_ACEOF
114313 #define HAVE_SQRTF 1
114314 _ACEOF
114315
114316     cat >>confdefs.h <<\_ACEOF
114317 #define HAVE_SQRTL 1
114318 _ACEOF
114319
114320     cat >>confdefs.h <<\_ACEOF
114321 #define HAVE_TANF 1
114322 _ACEOF
114323
114324     cat >>confdefs.h <<\_ACEOF
114325 #define HAVE_TANL 1
114326 _ACEOF
114327
114328     cat >>confdefs.h <<\_ACEOF
114329 #define HAVE_TANHF 1
114330 _ACEOF
114331
114332     cat >>confdefs.h <<\_ACEOF
114333 #define HAVE_TANHL 1
114334 _ACEOF
114335
114336     ;;
114337   *)
114338     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
114339 echo "$as_me: error: No support for this host/target combination." >&2;}
114340    { (exit 1); exit 1; }; }
114341    ;;
114342 esac
114343
114344   fi
114345
114346   # At some point, we should differentiate between architectures
114347   # like x86, which have long double versions, and alpha/powerpc/etc.,
114348   # which don't. For the time being, punt.
114349   if test x"long_double_math_on_this_cpu" = x"yes"; then
114350     cat >>confdefs.h <<\_ACEOF
114351 #define HAVE_ACOSL 1
114352 _ACEOF
114353
114354     cat >>confdefs.h <<\_ACEOF
114355 #define HAVE_ASINL 1
114356 _ACEOF
114357
114358     cat >>confdefs.h <<\_ACEOF
114359 #define HAVE_ATAN2L 1
114360 _ACEOF
114361
114362     cat >>confdefs.h <<\_ACEOF
114363 #define HAVE_ATANL 1
114364 _ACEOF
114365
114366     cat >>confdefs.h <<\_ACEOF
114367 #define HAVE_CEILL 1
114368 _ACEOF
114369
114370     cat >>confdefs.h <<\_ACEOF
114371 #define HAVE_COPYSIGNL 1
114372 _ACEOF
114373
114374     cat >>confdefs.h <<\_ACEOF
114375 #define HAVE_COSL 1
114376 _ACEOF
114377
114378     cat >>confdefs.h <<\_ACEOF
114379 #define HAVE_COSHL 1
114380 _ACEOF
114381
114382     cat >>confdefs.h <<\_ACEOF
114383 #define HAVE_EXPL 1
114384 _ACEOF
114385
114386     cat >>confdefs.h <<\_ACEOF
114387 #define HAVE_FABSL 1
114388 _ACEOF
114389
114390     cat >>confdefs.h <<\_ACEOF
114391 #define HAVE_FLOORL 1
114392 _ACEOF
114393
114394     cat >>confdefs.h <<\_ACEOF
114395 #define HAVE_FMODL 1
114396 _ACEOF
114397
114398     cat >>confdefs.h <<\_ACEOF
114399 #define HAVE_FREXPL 1
114400 _ACEOF
114401
114402     cat >>confdefs.h <<\_ACEOF
114403 #define HAVE_LDEXPL 1
114404 _ACEOF
114405
114406     cat >>confdefs.h <<\_ACEOF
114407 #define HAVE_LOG10L 1
114408 _ACEOF
114409
114410     cat >>confdefs.h <<\_ACEOF
114411 #define HAVE_LOGL 1
114412 _ACEOF
114413
114414     cat >>confdefs.h <<\_ACEOF
114415 #define HAVE_MODFL 1
114416 _ACEOF
114417
114418     cat >>confdefs.h <<\_ACEOF
114419 #define HAVE_POWL 1
114420 _ACEOF
114421
114422     cat >>confdefs.h <<\_ACEOF
114423 #define HAVE_SINCOSL 1
114424 _ACEOF
114425
114426     cat >>confdefs.h <<\_ACEOF
114427 #define HAVE_SINL 1
114428 _ACEOF
114429
114430     cat >>confdefs.h <<\_ACEOF
114431 #define HAVE_SINHL 1
114432 _ACEOF
114433
114434     cat >>confdefs.h <<\_ACEOF
114435 #define HAVE_SQRTL 1
114436 _ACEOF
114437
114438     cat >>confdefs.h <<\_ACEOF
114439 #define HAVE_TANL 1
114440 _ACEOF
114441
114442     cat >>confdefs.h <<\_ACEOF
114443 #define HAVE_TANHL 1
114444 _ACEOF
114445
114446   fi
114447
114448   # Assume we have _Unwind_GetIPInfo for cross-compiles.
114449   cat >>confdefs.h <<\_ACEOF
114450 #define HAVE_GETIPINFO 1
114451 _ACEOF
114452
114453 fi
114454
114455  # Check whether --enable-linux-futex or --disable-linux-futex was given.
114456 if test "${enable_linux_futex+set}" = set; then
114457   enableval="$enable_linux_futex"
114458
114459       case "$enableval" in
114460        yes|no|default) ;;
114461        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
114462 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
114463    { (exit 1); exit 1; }; } ;;
114464                           esac
114465
114466 else
114467   enable_linux_futex=default
114468 fi;
114469
114470 case "$target" in
114471   *-linux*)
114472     case "$enable_linux_futex" in
114473       default)
114474         # If headers don't have gettid/futex syscalls definition, then
114475         # default to no, otherwise there will be compile time failures.
114476         # Otherwise, default to yes.  If we don't detect we are
114477         # compiled/linked against NPTL and not cross-compiling, check
114478         # if programs are run by default against NPTL and if not, issue
114479         # a warning.
114480         enable_linux_futex=no
114481         if test x$gcc_no_link = xyes; then
114482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114484    { (exit 1); exit 1; }; }
114485 fi
114486 cat >conftest.$ac_ext <<_ACEOF
114487 /* confdefs.h.  */
114488 _ACEOF
114489 cat confdefs.h >>conftest.$ac_ext
114490 cat >>conftest.$ac_ext <<_ACEOF
114491 /* end confdefs.h.  */
114492 #include <sys/syscall.h>
114493            int lk;
114494 int
114495 main ()
114496 {
114497 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
114498   ;
114499   return 0;
114500 }
114501 _ACEOF
114502 rm -f conftest.$ac_objext conftest$ac_exeext
114503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114504   (eval $ac_link) 2>conftest.er1
114505   ac_status=$?
114506   grep -v '^ *+' conftest.er1 >conftest.err
114507   rm -f conftest.er1
114508   cat conftest.err >&5
114509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114510   (exit $ac_status); } &&
114511          { ac_try='test -z "$ac_c_werror_flag"
114512                          || test ! -s conftest.err'
114513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114514   (eval $ac_try) 2>&5
114515   ac_status=$?
114516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114517   (exit $ac_status); }; } &&
114518          { ac_try='test -s conftest$ac_exeext'
114519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114520   (eval $ac_try) 2>&5
114521   ac_status=$?
114522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114523   (exit $ac_status); }; }; then
114524   save_LIBS="$LIBS"
114525            LIBS="-lpthread $LIBS"
114526            if test x$gcc_no_link = xyes; then
114527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114529    { (exit 1); exit 1; }; }
114530 fi
114531 cat >conftest.$ac_ext <<_ACEOF
114532 /* confdefs.h.  */
114533 _ACEOF
114534 cat confdefs.h >>conftest.$ac_ext
114535 cat >>conftest.$ac_ext <<_ACEOF
114536 /* end confdefs.h.  */
114537 #ifndef _GNU_SOURCE
114538              #define _GNU_SOURCE 1
114539              #endif
114540              #include <pthread.h>
114541              pthread_t th; void *status;
114542 int
114543 main ()
114544 {
114545 pthread_tryjoin_np (th, &status);
114546   ;
114547   return 0;
114548 }
114549 _ACEOF
114550 rm -f conftest.$ac_objext conftest$ac_exeext
114551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114552   (eval $ac_link) 2>conftest.er1
114553   ac_status=$?
114554   grep -v '^ *+' conftest.er1 >conftest.err
114555   rm -f conftest.er1
114556   cat conftest.err >&5
114557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114558   (exit $ac_status); } &&
114559          { ac_try='test -z "$ac_c_werror_flag"
114560                          || test ! -s conftest.err'
114561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114562   (eval $ac_try) 2>&5
114563   ac_status=$?
114564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114565   (exit $ac_status); }; } &&
114566          { ac_try='test -s conftest$ac_exeext'
114567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114568   (eval $ac_try) 2>&5
114569   ac_status=$?
114570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114571   (exit $ac_status); }; }; then
114572   enable_linux_futex=yes
114573 else
114574   echo "$as_me: failed program was:" >&5
114575 sed 's/^/| /' conftest.$ac_ext >&5
114576
114577 if test x$cross_compiling = xno; then
114578                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
114579                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
114580                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
114581 If so, please configure with --disable-linux-futex" >&5
114582 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
114583 If so, please configure with --disable-linux-futex" >&2;}
114584                fi
114585              fi
114586              enable_linux_futex=yes
114587 fi
114588 rm -f conftest.err conftest.$ac_objext \
114589       conftest$ac_exeext conftest.$ac_ext
114590            LIBS="$save_LIBS"
114591 else
114592   echo "$as_me: failed program was:" >&5
114593 sed 's/^/| /' conftest.$ac_ext >&5
114594
114595 fi
114596 rm -f conftest.err conftest.$ac_objext \
114597       conftest$ac_exeext conftest.$ac_ext
114598         ;;
114599       yes)
114600         if test x$gcc_no_link = xyes; then
114601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114603    { (exit 1); exit 1; }; }
114604 fi
114605 cat >conftest.$ac_ext <<_ACEOF
114606 /* confdefs.h.  */
114607 _ACEOF
114608 cat confdefs.h >>conftest.$ac_ext
114609 cat >>conftest.$ac_ext <<_ACEOF
114610 /* end confdefs.h.  */
114611 #include <sys/syscall.h>
114612            int lk;
114613 int
114614 main ()
114615 {
114616 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
114617   ;
114618   return 0;
114619 }
114620 _ACEOF
114621 rm -f conftest.$ac_objext conftest$ac_exeext
114622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114623   (eval $ac_link) 2>conftest.er1
114624   ac_status=$?
114625   grep -v '^ *+' conftest.er1 >conftest.err
114626   rm -f conftest.er1
114627   cat conftest.err >&5
114628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114629   (exit $ac_status); } &&
114630          { ac_try='test -z "$ac_c_werror_flag"
114631                          || test ! -s conftest.err'
114632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114633   (eval $ac_try) 2>&5
114634   ac_status=$?
114635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114636   (exit $ac_status); }; } &&
114637          { ac_try='test -s conftest$ac_exeext'
114638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114639   (eval $ac_try) 2>&5
114640   ac_status=$?
114641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114642   (exit $ac_status); }; }; then
114643   :
114644 else
114645   echo "$as_me: failed program was:" >&5
114646 sed 's/^/| /' conftest.$ac_ext >&5
114647
114648 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
114649 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
114650    { (exit 1); exit 1; }; }
114651 fi
114652 rm -f conftest.err conftest.$ac_objext \
114653       conftest$ac_exeext conftest.$ac_ext
114654         ;;
114655     esac
114656     ;;
114657   *)
114658     enable_linux_futex=no
114659     ;;
114660 esac
114661 if test x$enable_linux_futex = xyes; then
114662
114663 cat >>confdefs.h <<\_ACEOF
114664 #define HAVE_LINUX_FUTEX 1
114665 _ACEOF
114666
114667 fi
114668
114669
114670 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
114671
114672
114673  # Check whether --enable-symvers or --disable-symvers was given.
114674 if test "${enable_symvers+set}" = set; then
114675   enableval="$enable_symvers"
114676
114677       case "$enableval" in
114678        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
114679        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
114680 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
114681    { (exit 1); exit 1; }; } ;;
114682                           esac
114683
114684 else
114685   enable_symvers=yes
114686 fi;
114687
114688
114689 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
114690 # don't know enough about $LD to do tricks...
114691
114692
114693 # Turn a 'yes' into a suitable default.
114694 if test x$enable_symvers = xyes ; then
114695   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
114696     enable_symvers=no
114697   else
114698     if test $with_gnu_ld = yes ; then
114699       enable_symvers=gnu
114700     else
114701       case ${target_os} in
114702         darwin*)
114703           enable_symvers=darwin ;;
114704         *)
114705           enable_symvers=no ;;
114706       esac
114707     fi
114708   fi
114709 fi
114710
114711 # Check to see if 'darwin' or 'darwin-export' can win.
114712 if test x$enable_symvers = xdarwin-export ; then
114713     enable_symvers=darwin
114714 fi
114715
114716 # Check to see if 'gnu' can win.
114717 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
114718   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
114719   echo "$as_me:$LINENO: checking for shared libgcc" >&5
114720 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
114721   ac_save_CFLAGS="$CFLAGS"
114722   CFLAGS=' -lgcc_s'
114723   if test x$gcc_no_link = xyes; then
114724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114726    { (exit 1); exit 1; }; }
114727 fi
114728 cat >conftest.$ac_ext <<_ACEOF
114729 /* confdefs.h.  */
114730 _ACEOF
114731 cat confdefs.h >>conftest.$ac_ext
114732 cat >>conftest.$ac_ext <<_ACEOF
114733 /* end confdefs.h.  */
114734
114735 int
114736 main ()
114737 {
114738 return 0;
114739   ;
114740   return 0;
114741 }
114742 _ACEOF
114743 rm -f conftest.$ac_objext conftest$ac_exeext
114744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114745   (eval $ac_link) 2>conftest.er1
114746   ac_status=$?
114747   grep -v '^ *+' conftest.er1 >conftest.err
114748   rm -f conftest.er1
114749   cat conftest.err >&5
114750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114751   (exit $ac_status); } &&
114752          { ac_try='test -z "$ac_c_werror_flag"
114753                          || test ! -s conftest.err'
114754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114755   (eval $ac_try) 2>&5
114756   ac_status=$?
114757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114758   (exit $ac_status); }; } &&
114759          { ac_try='test -s conftest$ac_exeext'
114760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114761   (eval $ac_try) 2>&5
114762   ac_status=$?
114763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114764   (exit $ac_status); }; }; then
114765   glibcxx_shared_libgcc=yes
114766 else
114767   echo "$as_me: failed program was:" >&5
114768 sed 's/^/| /' conftest.$ac_ext >&5
114769
114770 glibcxx_shared_libgcc=no
114771 fi
114772 rm -f conftest.err conftest.$ac_objext \
114773       conftest$ac_exeext conftest.$ac_ext
114774   CFLAGS="$ac_save_CFLAGS"
114775   if test $glibcxx_shared_libgcc = no; then
114776     cat > conftest.c <<EOF
114777 int main (void) { return 0; }
114778 EOF
114779     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
114780                              -shared -shared-libgcc -o conftest.so \
114781                              conftest.c -v 2>&1 >/dev/null \
114782                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
114783     rm -f conftest.c conftest.so
114784     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
114785       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
114786       if test x$gcc_no_link = xyes; then
114787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114789    { (exit 1); exit 1; }; }
114790 fi
114791 cat >conftest.$ac_ext <<_ACEOF
114792 /* confdefs.h.  */
114793 _ACEOF
114794 cat confdefs.h >>conftest.$ac_ext
114795 cat >>conftest.$ac_ext <<_ACEOF
114796 /* end confdefs.h.  */
114797
114798 int
114799 main ()
114800 {
114801 return 0;
114802   ;
114803   return 0;
114804 }
114805 _ACEOF
114806 rm -f conftest.$ac_objext conftest$ac_exeext
114807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114808   (eval $ac_link) 2>conftest.er1
114809   ac_status=$?
114810   grep -v '^ *+' conftest.er1 >conftest.err
114811   rm -f conftest.er1
114812   cat conftest.err >&5
114813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114814   (exit $ac_status); } &&
114815          { ac_try='test -z "$ac_c_werror_flag"
114816                          || test ! -s conftest.err'
114817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114818   (eval $ac_try) 2>&5
114819   ac_status=$?
114820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114821   (exit $ac_status); }; } &&
114822          { ac_try='test -s conftest$ac_exeext'
114823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114824   (eval $ac_try) 2>&5
114825   ac_status=$?
114826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114827   (exit $ac_status); }; }; then
114828   glibcxx_shared_libgcc=yes
114829 else
114830   echo "$as_me: failed program was:" >&5
114831 sed 's/^/| /' conftest.$ac_ext >&5
114832
114833 fi
114834 rm -f conftest.err conftest.$ac_objext \
114835       conftest$ac_exeext conftest.$ac_ext
114836       CFLAGS="$ac_save_CFLAGS"
114837     fi
114838   fi
114839   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
114840 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
114841
114842   # For GNU ld, we need at least this version.  The format is described in
114843   # GLIBCXX_CHECK_LINKER_FEATURES above.
114844   glibcxx_min_gnu_ld_version=21400
114845
114846   # If no shared libgcc, can't win.
114847   if test $glibcxx_shared_libgcc != yes; then
114848       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114849 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114850       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
114851 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
114852       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114853 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114854       enable_symvers=no
114855   elif test $with_gnu_ld != yes ; then
114856     # just fail for now
114857     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114858 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114859     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
114860 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
114861     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114862 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114863     enable_symvers=no
114864   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
114865     # The right tools, the right setup, but too old.  Fallbacks?
114866     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
114867 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
114868     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
114869 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
114870     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
114871 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
114872     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
114873 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
114874     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114875 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114876     enable_symvers=no
114877   fi
114878 fi
114879
114880 # Everything parsed; figure out what file to use.
114881 case $enable_symvers in
114882   no)
114883     SYMVER_FILE=config/abi/pre/none.ver
114884     ;;
114885   gnu)
114886     SYMVER_FILE=config/abi/pre/gnu.ver
114887
114888 cat >>confdefs.h <<\_ACEOF
114889 #define _GLIBCXX_SYMVER_GNU 1
114890 _ACEOF
114891
114892     ;;
114893   gnu-versioned-namespace)
114894     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
114895
114896 cat >>confdefs.h <<\_ACEOF
114897 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
114898 _ACEOF
114899
114900     ;;
114901   darwin)
114902     SYMVER_FILE=config/abi/pre/gnu.ver
114903
114904 cat >>confdefs.h <<\_ACEOF
114905 #define _GLIBCXX_SYMVER_DARWIN 1
114906 _ACEOF
114907
114908     ;;
114909 esac
114910
114911 if test x$enable_symvers != xno ; then
114912
114913 cat >>confdefs.h <<\_ACEOF
114914 #define _GLIBCXX_SYMVER 1
114915 _ACEOF
114916
114917 fi
114918
114919
114920
114921
114922
114923
114924
114925 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
114926 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
114927
114928 # Now, set up compatibility support, if any.
114929 # In addition, need this to deal with std::size_t mangling in
114930 # src/compatibility.cc.  In a perfect world, could use
114931 # typeid(std::size_t).name()[0] to do direct substitution.
114932 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
114933 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
114934 ac_save_CFLAGS="$CFLAGS"
114935 CFLAGS="-Werror"
114936 cat >conftest.$ac_ext <<_ACEOF
114937 /* confdefs.h.  */
114938 _ACEOF
114939 cat confdefs.h >>conftest.$ac_ext
114940 cat >>conftest.$ac_ext <<_ACEOF
114941 /* end confdefs.h.  */
114942
114943 int
114944 main ()
114945 {
114946 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
114947   ;
114948   return 0;
114949 }
114950 _ACEOF
114951 rm -f conftest.$ac_objext
114952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114953   (eval $ac_compile) 2>conftest.er1
114954   ac_status=$?
114955   grep -v '^ *+' conftest.er1 >conftest.err
114956   rm -f conftest.er1
114957   cat conftest.err >&5
114958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114959   (exit $ac_status); } &&
114960          { ac_try='test -z "$ac_c_werror_flag"
114961                          || test ! -s conftest.err'
114962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114963   (eval $ac_try) 2>&5
114964   ac_status=$?
114965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114966   (exit $ac_status); }; } &&
114967          { ac_try='test -s conftest.$ac_objext'
114968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114969   (eval $ac_try) 2>&5
114970   ac_status=$?
114971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114972   (exit $ac_status); }; }; then
114973   glibcxx_size_t_is_i=yes
114974 else
114975   echo "$as_me: failed program was:" >&5
114976 sed 's/^/| /' conftest.$ac_ext >&5
114977
114978 glibcxx_size_t_is_i=no
114979 fi
114980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114981 CFLAGS=$ac_save_CFLAGS
114982 if test "$glibcxx_size_t_is_i" = yes; then
114983
114984 cat >>confdefs.h <<\_ACEOF
114985 #define _GLIBCXX_SIZE_T_IS_UINT 1
114986 _ACEOF
114987
114988 fi
114989 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
114990 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
114991
114992 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
114993 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
114994 ac_save_CFLAGS="$CFLAGS"
114995 CFLAGS="-Werror"
114996 cat >conftest.$ac_ext <<_ACEOF
114997 /* confdefs.h.  */
114998 _ACEOF
114999 cat confdefs.h >>conftest.$ac_ext
115000 cat >>conftest.$ac_ext <<_ACEOF
115001 /* end confdefs.h.  */
115002
115003 int
115004 main ()
115005 {
115006 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
115007   ;
115008   return 0;
115009 }
115010 _ACEOF
115011 rm -f conftest.$ac_objext
115012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115013   (eval $ac_compile) 2>conftest.er1
115014   ac_status=$?
115015   grep -v '^ *+' conftest.er1 >conftest.err
115016   rm -f conftest.er1
115017   cat conftest.err >&5
115018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115019   (exit $ac_status); } &&
115020          { ac_try='test -z "$ac_c_werror_flag"
115021                          || test ! -s conftest.err'
115022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115023   (eval $ac_try) 2>&5
115024   ac_status=$?
115025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115026   (exit $ac_status); }; } &&
115027          { ac_try='test -s conftest.$ac_objext'
115028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115029   (eval $ac_try) 2>&5
115030   ac_status=$?
115031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115032   (exit $ac_status); }; }; then
115033   glibcxx_ptrdiff_t_is_i=yes
115034 else
115035   echo "$as_me: failed program was:" >&5
115036 sed 's/^/| /' conftest.$ac_ext >&5
115037
115038 glibcxx_ptrdiff_t_is_i=no
115039 fi
115040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115041 CFLAGS=$ac_save_CFLAGS
115042 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
115043
115044 cat >>confdefs.h <<\_ACEOF
115045 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
115046 _ACEOF
115047
115048 fi
115049 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
115050 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
115051
115052
115053  # Check whether --enable-visibility or --disable-visibility was given.
115054 if test "${enable_visibility+set}" = set; then
115055   enableval="$enable_visibility"
115056
115057       case "$enableval" in
115058        yes|no) ;;
115059        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
115060 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
115061    { (exit 1); exit 1; }; } ;;
115062       esac
115063
115064 else
115065   enable_visibility=yes
115066 fi;
115067
115068
115069 if test x$enable_visibility = xyes ; then
115070       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
115071 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
115072 if test "${have_attribute_visibility+set}" = set; then
115073   echo $ECHO_N "(cached) $ECHO_C" >&6
115074 else
115075
115076   save_CFLAGS="$CFLAGS"
115077   CFLAGS="$CFLAGS -Werror"
115078   cat >conftest.$ac_ext <<_ACEOF
115079 /* confdefs.h.  */
115080 _ACEOF
115081 cat confdefs.h >>conftest.$ac_ext
115082 cat >>conftest.$ac_ext <<_ACEOF
115083 /* end confdefs.h.  */
115084 void __attribute__((visibility("hidden"))) foo(void) { }
115085 int
115086 main ()
115087 {
115088
115089   ;
115090   return 0;
115091 }
115092 _ACEOF
115093 rm -f conftest.$ac_objext
115094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115095   (eval $ac_compile) 2>conftest.er1
115096   ac_status=$?
115097   grep -v '^ *+' conftest.er1 >conftest.err
115098   rm -f conftest.er1
115099   cat conftest.err >&5
115100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115101   (exit $ac_status); } &&
115102          { ac_try='test -z "$ac_c_werror_flag"
115103                          || test ! -s conftest.err'
115104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115105   (eval $ac_try) 2>&5
115106   ac_status=$?
115107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115108   (exit $ac_status); }; } &&
115109          { ac_try='test -s conftest.$ac_objext'
115110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115111   (eval $ac_try) 2>&5
115112   ac_status=$?
115113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115114   (exit $ac_status); }; }; then
115115   have_attribute_visibility=yes
115116 else
115117   echo "$as_me: failed program was:" >&5
115118 sed 's/^/| /' conftest.$ac_ext >&5
115119
115120 have_attribute_visibility=no
115121 fi
115122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115123   CFLAGS="$save_CFLAGS"
115124 fi
115125 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
115126 echo "${ECHO_T}$have_attribute_visibility" >&6
115127   if test $have_attribute_visibility = no; then
115128     enable_visibility=no
115129   fi
115130 fi
115131
115132
115133 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
115134 echo "$as_me: visibility supported: $enable_visibility" >&6;}
115135
115136
115137 ac_ldbl_compat=no
115138 case "$target" in
115139   powerpc*-*-linux* | \
115140   powerpc*-*-gnu* | \
115141   sparc*-*-linux* | \
115142   s390*-*-linux* | \
115143   alpha*-*-linux*)
115144   cat >conftest.$ac_ext <<_ACEOF
115145 /* confdefs.h.  */
115146 _ACEOF
115147 cat confdefs.h >>conftest.$ac_ext
115148 cat >>conftest.$ac_ext <<_ACEOF
115149 /* end confdefs.h.  */
115150
115151 int
115152 main ()
115153 {
115154
115155 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
115156 #error no need for long double compatibility
115157 #endif
115158
115159   ;
115160   return 0;
115161 }
115162 _ACEOF
115163 rm -f conftest.$ac_objext
115164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115165   (eval $ac_compile) 2>conftest.er1
115166   ac_status=$?
115167   grep -v '^ *+' conftest.er1 >conftest.err
115168   rm -f conftest.er1
115169   cat conftest.err >&5
115170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115171   (exit $ac_status); } &&
115172          { ac_try='test -z "$ac_c_werror_flag"
115173                          || test ! -s conftest.err'
115174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115175   (eval $ac_try) 2>&5
115176   ac_status=$?
115177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115178   (exit $ac_status); }; } &&
115179          { ac_try='test -s conftest.$ac_objext'
115180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115181   (eval $ac_try) 2>&5
115182   ac_status=$?
115183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115184   (exit $ac_status); }; }; then
115185   ac_ldbl_compat=yes
115186 else
115187   echo "$as_me: failed program was:" >&5
115188 sed 's/^/| /' conftest.$ac_ext >&5
115189
115190 ac_ldbl_compat=no
115191 fi
115192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115193   if test "$ac_ldbl_compat" = yes; then
115194
115195 cat >>confdefs.h <<\_ACEOF
115196 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
115197 _ACEOF
115198
115199     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
115200   fi
115201 esac
115202
115203
115204 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
115205
115206   if $GLIBCXX_IS_NATIVE ; then
115207     # Do checks for resource limit functions.
115208
115209   setrlimit_have_headers=yes
115210
115211
115212
115213 for ac_header in unistd.h sys/time.h sys/resource.h
115214 do
115215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115217   echo "$as_me:$LINENO: checking for $ac_header" >&5
115218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115220   echo $ECHO_N "(cached) $ECHO_C" >&6
115221 fi
115222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115224 else
115225   # Is the header compilable?
115226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115228 cat >conftest.$ac_ext <<_ACEOF
115229 /* confdefs.h.  */
115230 _ACEOF
115231 cat confdefs.h >>conftest.$ac_ext
115232 cat >>conftest.$ac_ext <<_ACEOF
115233 /* end confdefs.h.  */
115234 $ac_includes_default
115235 #include <$ac_header>
115236 _ACEOF
115237 rm -f conftest.$ac_objext
115238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115239   (eval $ac_compile) 2>conftest.er1
115240   ac_status=$?
115241   grep -v '^ *+' conftest.er1 >conftest.err
115242   rm -f conftest.er1
115243   cat conftest.err >&5
115244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115245   (exit $ac_status); } &&
115246          { ac_try='test -z "$ac_c_werror_flag"
115247                          || test ! -s conftest.err'
115248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115249   (eval $ac_try) 2>&5
115250   ac_status=$?
115251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115252   (exit $ac_status); }; } &&
115253          { ac_try='test -s conftest.$ac_objext'
115254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115255   (eval $ac_try) 2>&5
115256   ac_status=$?
115257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115258   (exit $ac_status); }; }; then
115259   ac_header_compiler=yes
115260 else
115261   echo "$as_me: failed program was:" >&5
115262 sed 's/^/| /' conftest.$ac_ext >&5
115263
115264 ac_header_compiler=no
115265 fi
115266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115268 echo "${ECHO_T}$ac_header_compiler" >&6
115269
115270 # Is the header present?
115271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115273 cat >conftest.$ac_ext <<_ACEOF
115274 /* confdefs.h.  */
115275 _ACEOF
115276 cat confdefs.h >>conftest.$ac_ext
115277 cat >>conftest.$ac_ext <<_ACEOF
115278 /* end confdefs.h.  */
115279 #include <$ac_header>
115280 _ACEOF
115281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115282   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115283   ac_status=$?
115284   grep -v '^ *+' conftest.er1 >conftest.err
115285   rm -f conftest.er1
115286   cat conftest.err >&5
115287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115288   (exit $ac_status); } >/dev/null; then
115289   if test -s conftest.err; then
115290     ac_cpp_err=$ac_c_preproc_warn_flag
115291     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115292   else
115293     ac_cpp_err=
115294   fi
115295 else
115296   ac_cpp_err=yes
115297 fi
115298 if test -z "$ac_cpp_err"; then
115299   ac_header_preproc=yes
115300 else
115301   echo "$as_me: failed program was:" >&5
115302 sed 's/^/| /' conftest.$ac_ext >&5
115303
115304   ac_header_preproc=no
115305 fi
115306 rm -f conftest.err conftest.$ac_ext
115307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115308 echo "${ECHO_T}$ac_header_preproc" >&6
115309
115310 # So?  What about this header?
115311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115312   yes:no: )
115313     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115315     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115317     ac_header_preproc=yes
115318     ;;
115319   no:yes:* )
115320     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115322     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
115323 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
115324     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115326     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
115327 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
115328     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115330     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115332     (
115333       cat <<\_ASBOX
115334 ## ----------------------------------------- ##
115335 ## Report this to the package-unused lists.  ##
115336 ## ----------------------------------------- ##
115337 _ASBOX
115338     ) |
115339       sed "s/^/$as_me: WARNING:     /" >&2
115340     ;;
115341 esac
115342 echo "$as_me:$LINENO: checking for $ac_header" >&5
115343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115345   echo $ECHO_N "(cached) $ECHO_C" >&6
115346 else
115347   eval "$as_ac_Header=\$ac_header_preproc"
115348 fi
115349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115351
115352 fi
115353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115354   cat >>confdefs.h <<_ACEOF
115355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115356 _ACEOF
115357
115358 else
115359   setrlimit_have_headers=no
115360 fi
115361
115362 done
115363
115364   # If don't have the headers, then we can't run the tests now, and we
115365   # won't be seeing any of these during testsuite compilation.
115366   if test $setrlimit_have_headers = yes; then
115367     # Can't do these in a loop, else the resulting syntax is wrong.
115368
115369   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
115370 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
115371   cat >conftest.$ac_ext <<_ACEOF
115372 /* confdefs.h.  */
115373 _ACEOF
115374 cat confdefs.h >>conftest.$ac_ext
115375 cat >>conftest.$ac_ext <<_ACEOF
115376 /* end confdefs.h.  */
115377 #include <unistd.h>
115378      #include <sys/time.h>
115379      #include <sys/resource.h>
115380
115381 int
115382 main ()
115383 {
115384  int f = RLIMIT_DATA ;
115385   ;
115386   return 0;
115387 }
115388 _ACEOF
115389 rm -f conftest.$ac_objext
115390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115391   (eval $ac_compile) 2>conftest.er1
115392   ac_status=$?
115393   grep -v '^ *+' conftest.er1 >conftest.err
115394   rm -f conftest.er1
115395   cat conftest.err >&5
115396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115397   (exit $ac_status); } &&
115398          { ac_try='test -z "$ac_c_werror_flag"
115399                          || test ! -s conftest.err'
115400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115401   (eval $ac_try) 2>&5
115402   ac_status=$?
115403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115404   (exit $ac_status); }; } &&
115405          { ac_try='test -s conftest.$ac_objext'
115406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115407   (eval $ac_try) 2>&5
115408   ac_status=$?
115409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115410   (exit $ac_status); }; }; then
115411   glibcxx_mresult=1
115412 else
115413   echo "$as_me: failed program was:" >&5
115414 sed 's/^/| /' conftest.$ac_ext >&5
115415
115416 glibcxx_mresult=0
115417 fi
115418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115419
115420 cat >>confdefs.h <<_ACEOF
115421 #define HAVE_LIMIT_DATA $glibcxx_mresult
115422 _ACEOF
115423
115424   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115425   echo "$as_me:$LINENO: result: $res" >&5
115426 echo "${ECHO_T}$res" >&6
115427
115428
115429   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
115430 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
115431   cat >conftest.$ac_ext <<_ACEOF
115432 /* confdefs.h.  */
115433 _ACEOF
115434 cat confdefs.h >>conftest.$ac_ext
115435 cat >>conftest.$ac_ext <<_ACEOF
115436 /* end confdefs.h.  */
115437 #include <unistd.h>
115438      #include <sys/time.h>
115439      #include <sys/resource.h>
115440
115441 int
115442 main ()
115443 {
115444  int f = RLIMIT_RSS ;
115445   ;
115446   return 0;
115447 }
115448 _ACEOF
115449 rm -f conftest.$ac_objext
115450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115451   (eval $ac_compile) 2>conftest.er1
115452   ac_status=$?
115453   grep -v '^ *+' conftest.er1 >conftest.err
115454   rm -f conftest.er1
115455   cat conftest.err >&5
115456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115457   (exit $ac_status); } &&
115458          { ac_try='test -z "$ac_c_werror_flag"
115459                          || test ! -s conftest.err'
115460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115461   (eval $ac_try) 2>&5
115462   ac_status=$?
115463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115464   (exit $ac_status); }; } &&
115465          { ac_try='test -s conftest.$ac_objext'
115466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115467   (eval $ac_try) 2>&5
115468   ac_status=$?
115469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115470   (exit $ac_status); }; }; then
115471   glibcxx_mresult=1
115472 else
115473   echo "$as_me: failed program was:" >&5
115474 sed 's/^/| /' conftest.$ac_ext >&5
115475
115476 glibcxx_mresult=0
115477 fi
115478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115479
115480 cat >>confdefs.h <<_ACEOF
115481 #define HAVE_LIMIT_RSS $glibcxx_mresult
115482 _ACEOF
115483
115484   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115485   echo "$as_me:$LINENO: result: $res" >&5
115486 echo "${ECHO_T}$res" >&6
115487
115488
115489   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
115490 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
115491   cat >conftest.$ac_ext <<_ACEOF
115492 /* confdefs.h.  */
115493 _ACEOF
115494 cat confdefs.h >>conftest.$ac_ext
115495 cat >>conftest.$ac_ext <<_ACEOF
115496 /* end confdefs.h.  */
115497 #include <unistd.h>
115498      #include <sys/time.h>
115499      #include <sys/resource.h>
115500
115501 int
115502 main ()
115503 {
115504  int f = RLIMIT_VMEM ;
115505   ;
115506   return 0;
115507 }
115508 _ACEOF
115509 rm -f conftest.$ac_objext
115510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115511   (eval $ac_compile) 2>conftest.er1
115512   ac_status=$?
115513   grep -v '^ *+' conftest.er1 >conftest.err
115514   rm -f conftest.er1
115515   cat conftest.err >&5
115516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115517   (exit $ac_status); } &&
115518          { ac_try='test -z "$ac_c_werror_flag"
115519                          || test ! -s conftest.err'
115520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115521   (eval $ac_try) 2>&5
115522   ac_status=$?
115523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115524   (exit $ac_status); }; } &&
115525          { ac_try='test -s conftest.$ac_objext'
115526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115527   (eval $ac_try) 2>&5
115528   ac_status=$?
115529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115530   (exit $ac_status); }; }; then
115531   glibcxx_mresult=1
115532 else
115533   echo "$as_me: failed program was:" >&5
115534 sed 's/^/| /' conftest.$ac_ext >&5
115535
115536 glibcxx_mresult=0
115537 fi
115538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115539
115540 cat >>confdefs.h <<_ACEOF
115541 #define HAVE_LIMIT_VMEM $glibcxx_mresult
115542 _ACEOF
115543
115544   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115545   echo "$as_me:$LINENO: result: $res" >&5
115546 echo "${ECHO_T}$res" >&6
115547
115548
115549   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
115550 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
115551   cat >conftest.$ac_ext <<_ACEOF
115552 /* confdefs.h.  */
115553 _ACEOF
115554 cat confdefs.h >>conftest.$ac_ext
115555 cat >>conftest.$ac_ext <<_ACEOF
115556 /* end confdefs.h.  */
115557 #include <unistd.h>
115558      #include <sys/time.h>
115559      #include <sys/resource.h>
115560
115561 int
115562 main ()
115563 {
115564  int f = RLIMIT_AS ;
115565   ;
115566   return 0;
115567 }
115568 _ACEOF
115569 rm -f conftest.$ac_objext
115570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115571   (eval $ac_compile) 2>conftest.er1
115572   ac_status=$?
115573   grep -v '^ *+' conftest.er1 >conftest.err
115574   rm -f conftest.er1
115575   cat conftest.err >&5
115576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115577   (exit $ac_status); } &&
115578          { ac_try='test -z "$ac_c_werror_flag"
115579                          || test ! -s conftest.err'
115580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115581   (eval $ac_try) 2>&5
115582   ac_status=$?
115583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115584   (exit $ac_status); }; } &&
115585          { ac_try='test -s conftest.$ac_objext'
115586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115587   (eval $ac_try) 2>&5
115588   ac_status=$?
115589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115590   (exit $ac_status); }; }; then
115591   glibcxx_mresult=1
115592 else
115593   echo "$as_me: failed program was:" >&5
115594 sed 's/^/| /' conftest.$ac_ext >&5
115595
115596 glibcxx_mresult=0
115597 fi
115598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115599
115600 cat >>confdefs.h <<_ACEOF
115601 #define HAVE_LIMIT_AS $glibcxx_mresult
115602 _ACEOF
115603
115604   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115605   echo "$as_me:$LINENO: result: $res" >&5
115606 echo "${ECHO_T}$res" >&6
115607
115608
115609   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
115610 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
115611   cat >conftest.$ac_ext <<_ACEOF
115612 /* confdefs.h.  */
115613 _ACEOF
115614 cat confdefs.h >>conftest.$ac_ext
115615 cat >>conftest.$ac_ext <<_ACEOF
115616 /* end confdefs.h.  */
115617 #include <unistd.h>
115618      #include <sys/time.h>
115619      #include <sys/resource.h>
115620
115621 int
115622 main ()
115623 {
115624  int f = RLIMIT_FSIZE ;
115625   ;
115626   return 0;
115627 }
115628 _ACEOF
115629 rm -f conftest.$ac_objext
115630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115631   (eval $ac_compile) 2>conftest.er1
115632   ac_status=$?
115633   grep -v '^ *+' conftest.er1 >conftest.err
115634   rm -f conftest.er1
115635   cat conftest.err >&5
115636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115637   (exit $ac_status); } &&
115638          { ac_try='test -z "$ac_c_werror_flag"
115639                          || test ! -s conftest.err'
115640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115641   (eval $ac_try) 2>&5
115642   ac_status=$?
115643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115644   (exit $ac_status); }; } &&
115645          { ac_try='test -s conftest.$ac_objext'
115646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115647   (eval $ac_try) 2>&5
115648   ac_status=$?
115649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115650   (exit $ac_status); }; }; then
115651   glibcxx_mresult=1
115652 else
115653   echo "$as_me: failed program was:" >&5
115654 sed 's/^/| /' conftest.$ac_ext >&5
115655
115656 glibcxx_mresult=0
115657 fi
115658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115659
115660 cat >>confdefs.h <<_ACEOF
115661 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
115662 _ACEOF
115663
115664   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115665   echo "$as_me:$LINENO: result: $res" >&5
115666 echo "${ECHO_T}$res" >&6
115667
115668
115669     # Check for rlimit, setrlimit.
115670     if test "${ac_setrlimit+set}" = set; then
115671   echo $ECHO_N "(cached) $ECHO_C" >&6
115672 else
115673
115674       cat >conftest.$ac_ext <<_ACEOF
115675 /* confdefs.h.  */
115676 _ACEOF
115677 cat confdefs.h >>conftest.$ac_ext
115678 cat >>conftest.$ac_ext <<_ACEOF
115679 /* end confdefs.h.  */
115680 #include <unistd.h>
115681          #include <sys/time.h>
115682          #include <sys/resource.h>
115683
115684 int
115685 main ()
115686 {
115687 struct rlimit r;
115688          setrlimit(0, &r);
115689   ;
115690   return 0;
115691 }
115692 _ACEOF
115693 rm -f conftest.$ac_objext
115694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115695   (eval $ac_compile) 2>conftest.er1
115696   ac_status=$?
115697   grep -v '^ *+' conftest.er1 >conftest.err
115698   rm -f conftest.er1
115699   cat conftest.err >&5
115700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115701   (exit $ac_status); } &&
115702          { ac_try='test -z "$ac_c_werror_flag"
115703                          || test ! -s conftest.err'
115704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115705   (eval $ac_try) 2>&5
115706   ac_status=$?
115707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115708   (exit $ac_status); }; } &&
115709          { ac_try='test -s conftest.$ac_objext'
115710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115711   (eval $ac_try) 2>&5
115712   ac_status=$?
115713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115714   (exit $ac_status); }; }; then
115715   ac_setrlimit=yes
115716 else
115717   echo "$as_me: failed program was:" >&5
115718 sed 's/^/| /' conftest.$ac_ext >&5
115719
115720 ac_setrlimit=no
115721 fi
115722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115723
115724 fi
115725
115726   fi
115727
115728   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
115729 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
115730   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
115731     ac_res_limits=yes
115732
115733 cat >>confdefs.h <<\_ACEOF
115734 #define _GLIBCXX_RES_LIMITS 1
115735 _ACEOF
115736
115737   else
115738     ac_res_limits=no
115739   fi
115740   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
115741 echo "${ECHO_T}$ac_res_limits" >&6
115742
115743
115744     # Look for setenv, so that extended locale tests can be performed.
115745
115746   echo "$as_me:$LINENO: checking for setenv declaration" >&5
115747 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
115748   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
115749     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
115750   echo $ECHO_N "(cached) $ECHO_C" >&6
115751 else
115752
115753
115754
115755       ac_ext=cc
115756 ac_cpp='$CXXCPP $CPPFLAGS'
115757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115760
115761       cat >conftest.$ac_ext <<_ACEOF
115762 /* confdefs.h.  */
115763 _ACEOF
115764 cat confdefs.h >>conftest.$ac_ext
115765 cat >>conftest.$ac_ext <<_ACEOF
115766 /* end confdefs.h.  */
115767 #include <stdlib.h>
115768 int
115769 main ()
115770 {
115771  setenv(0, 0, 0);
115772   ;
115773   return 0;
115774 }
115775 _ACEOF
115776 rm -f conftest.$ac_objext
115777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115778   (eval $ac_compile) 2>conftest.er1
115779   ac_status=$?
115780   grep -v '^ *+' conftest.er1 >conftest.err
115781   rm -f conftest.er1
115782   cat conftest.err >&5
115783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115784   (exit $ac_status); } &&
115785          { ac_try='test -z "$ac_cxx_werror_flag"
115786                          || test ! -s conftest.err'
115787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115788   (eval $ac_try) 2>&5
115789   ac_status=$?
115790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115791   (exit $ac_status); }; } &&
115792          { ac_try='test -s conftest.$ac_objext'
115793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115794   (eval $ac_try) 2>&5
115795   ac_status=$?
115796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115797   (exit $ac_status); }; }; then
115798   glibcxx_cv_func_setenv_use=yes
115799 else
115800   echo "$as_me: failed program was:" >&5
115801 sed 's/^/| /' conftest.$ac_ext >&5
115802
115803 glibcxx_cv_func_setenv_use=no
115804 fi
115805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115806       ac_ext=c
115807 ac_cpp='$CPP $CPPFLAGS'
115808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115811
115812
115813 fi
115814
115815   fi
115816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
115817 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
115818   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
115819
115820 for ac_func in setenv
115821 do
115822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115823 echo "$as_me:$LINENO: checking for $ac_func" >&5
115824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115825 if eval "test \"\${$as_ac_var+set}\" = set"; then
115826   echo $ECHO_N "(cached) $ECHO_C" >&6
115827 else
115828   if test x$gcc_no_link = xyes; then
115829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115831    { (exit 1); exit 1; }; }
115832 fi
115833 cat >conftest.$ac_ext <<_ACEOF
115834 /* confdefs.h.  */
115835 _ACEOF
115836 cat confdefs.h >>conftest.$ac_ext
115837 cat >>conftest.$ac_ext <<_ACEOF
115838 /* end confdefs.h.  */
115839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115841 #define $ac_func innocuous_$ac_func
115842
115843 /* System header to define __stub macros and hopefully few prototypes,
115844     which can conflict with char $ac_func (); below.
115845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115846     <limits.h> exists even on freestanding compilers.  */
115847
115848 #ifdef __STDC__
115849 # include <limits.h>
115850 #else
115851 # include <assert.h>
115852 #endif
115853
115854 #undef $ac_func
115855
115856 /* Override any gcc2 internal prototype to avoid an error.  */
115857 #ifdef __cplusplus
115858 extern "C"
115859 {
115860 #endif
115861 /* We use char because int might match the return type of a gcc2
115862    builtin and then its argument prototype would still apply.  */
115863 char $ac_func ();
115864 /* The GNU C library defines this for functions which it implements
115865     to always fail with ENOSYS.  Some functions are actually named
115866     something starting with __ and the normal name is an alias.  */
115867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115868 choke me
115869 #else
115870 char (*f) () = $ac_func;
115871 #endif
115872 #ifdef __cplusplus
115873 }
115874 #endif
115875
115876 int
115877 main ()
115878 {
115879 return f != $ac_func;
115880   ;
115881   return 0;
115882 }
115883 _ACEOF
115884 rm -f conftest.$ac_objext conftest$ac_exeext
115885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115886   (eval $ac_link) 2>conftest.er1
115887   ac_status=$?
115888   grep -v '^ *+' conftest.er1 >conftest.err
115889   rm -f conftest.er1
115890   cat conftest.err >&5
115891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115892   (exit $ac_status); } &&
115893          { ac_try='test -z "$ac_c_werror_flag"
115894                          || test ! -s conftest.err'
115895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115896   (eval $ac_try) 2>&5
115897   ac_status=$?
115898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115899   (exit $ac_status); }; } &&
115900          { ac_try='test -s conftest$ac_exeext'
115901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115902   (eval $ac_try) 2>&5
115903   ac_status=$?
115904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115905   (exit $ac_status); }; }; then
115906   eval "$as_ac_var=yes"
115907 else
115908   echo "$as_me: failed program was:" >&5
115909 sed 's/^/| /' conftest.$ac_ext >&5
115910
115911 eval "$as_ac_var=no"
115912 fi
115913 rm -f conftest.err conftest.$ac_objext \
115914       conftest$ac_exeext conftest.$ac_ext
115915 fi
115916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115918 if test `eval echo '${'$as_ac_var'}'` = yes; then
115919   cat >>confdefs.h <<_ACEOF
115920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115921 _ACEOF
115922
115923 fi
115924 done
115925
115926   fi
115927
115928   fi
115929
115930   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
115931      test $enable_symvers != no; then
115932     case "$host" in
115933       *-*-cygwin*)
115934         enable_abi_check=no ;;
115935       *)
115936         enable_abi_check=yes ;;
115937     esac
115938   else
115939     # Only build this as native, since automake does not understand
115940     # CXX_FOR_BUILD.
115941     enable_abi_check=no
115942   fi
115943
115944   # Export file names for ABI checking.
115945   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
115946
115947
115948
115949 # Propagate the target-specific source directories through the build chain.
115950 ATOMICITY_SRCDIR=config/${atomicity_dir}
115951 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
115952 ATOMIC_FLAGS=${atomic_flags}
115953 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
115954 OS_INC_SRCDIR=config/${os_include_dir}
115955 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
115956 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
115957
115958
115959
115960
115961
115962
115963
115964
115965
115966 # Determine cross-compile flags and AM_CONDITIONALs.
115967 #AC_SUBST(GLIBCXX_IS_NATIVE)
115968 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
115969 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
115970 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
115971
115972
115973 if test $is_hosted = yes; then
115974   GLIBCXX_HOSTED_TRUE=
115975   GLIBCXX_HOSTED_FALSE='#'
115976 else
115977   GLIBCXX_HOSTED_TRUE='#'
115978   GLIBCXX_HOSTED_FALSE=
115979 fi
115980
115981
115982
115983
115984 if test $enable_libstdcxx_pch = yes; then
115985   GLIBCXX_BUILD_PCH_TRUE=
115986   GLIBCXX_BUILD_PCH_FALSE='#'
115987 else
115988   GLIBCXX_BUILD_PCH_TRUE='#'
115989   GLIBCXX_BUILD_PCH_FALSE=
115990 fi
115991
115992
115993
115994
115995 if test $enable_cheaders = c; then
115996   GLIBCXX_C_HEADERS_C_TRUE=
115997   GLIBCXX_C_HEADERS_C_FALSE='#'
115998 else
115999   GLIBCXX_C_HEADERS_C_TRUE='#'
116000   GLIBCXX_C_HEADERS_C_FALSE=
116001 fi
116002
116003
116004
116005
116006 if test $enable_cheaders = c_std; then
116007   GLIBCXX_C_HEADERS_C_STD_TRUE=
116008   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
116009 else
116010   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
116011   GLIBCXX_C_HEADERS_C_STD_FALSE=
116012 fi
116013
116014
116015
116016
116017 if test $enable_cheaders = c_global; then
116018   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
116019   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
116020 else
116021   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
116022   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
116023 fi
116024
116025
116026
116027
116028 if test $c_compatibility = yes; then
116029   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
116030   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
116031 else
116032   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
116033   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
116034 fi
116035
116036
116037
116038
116039 if test $c_extra = yes; then
116040   GLIBCXX_C_HEADERS_EXTRA_TRUE=
116041   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
116042 else
116043   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
116044   GLIBCXX_C_HEADERS_EXTRA_FALSE=
116045 fi
116046
116047
116048
116049
116050 if test $enable_libstdcxx_debug = yes; then
116051   GLIBCXX_BUILD_DEBUG_TRUE=
116052   GLIBCXX_BUILD_DEBUG_FALSE='#'
116053 else
116054   GLIBCXX_BUILD_DEBUG_TRUE='#'
116055   GLIBCXX_BUILD_DEBUG_FALSE=
116056 fi
116057
116058
116059
116060
116061 if test $enable_parallel = yes; then
116062   ENABLE_PARALLEL_TRUE=
116063   ENABLE_PARALLEL_FALSE='#'
116064 else
116065   ENABLE_PARALLEL_TRUE='#'
116066   ENABLE_PARALLEL_FALSE=
116067 fi
116068
116069
116070
116071
116072 if test $enable_symvers != no; then
116073   ENABLE_SYMVERS_TRUE=
116074   ENABLE_SYMVERS_FALSE='#'
116075 else
116076   ENABLE_SYMVERS_TRUE='#'
116077   ENABLE_SYMVERS_FALSE=
116078 fi
116079
116080
116081
116082
116083 if test $enable_symvers = gnu; then
116084   ENABLE_SYMVERS_GNU_TRUE=
116085   ENABLE_SYMVERS_GNU_FALSE='#'
116086 else
116087   ENABLE_SYMVERS_GNU_TRUE='#'
116088   ENABLE_SYMVERS_GNU_FALSE=
116089 fi
116090
116091
116092
116093
116094 if test $enable_symvers = gnu-versioned-namespace; then
116095   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
116096   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
116097 else
116098   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
116099   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
116100 fi
116101
116102
116103
116104
116105 if test $enable_symvers = darwin; then
116106   ENABLE_SYMVERS_DARWIN_TRUE=
116107   ENABLE_SYMVERS_DARWIN_FALSE='#'
116108 else
116109   ENABLE_SYMVERS_DARWIN_TRUE='#'
116110   ENABLE_SYMVERS_DARWIN_FALSE=
116111 fi
116112
116113
116114
116115
116116 if test $enable_visibility = yes; then
116117   ENABLE_VISIBILITY_TRUE=
116118   ENABLE_VISIBILITY_FALSE='#'
116119 else
116120   ENABLE_VISIBILITY_TRUE='#'
116121   ENABLE_VISIBILITY_FALSE=
116122 fi
116123
116124
116125
116126
116127 if test $ac_ldbl_compat = yes; then
116128   GLIBCXX_LDBL_COMPAT_TRUE=
116129   GLIBCXX_LDBL_COMPAT_FALSE='#'
116130 else
116131   GLIBCXX_LDBL_COMPAT_TRUE='#'
116132   GLIBCXX_LDBL_COMPAT_FALSE=
116133 fi
116134
116135
116136
116137
116138 cat >confcache <<\_ACEOF
116139 # This file is a shell script that caches the results of configure
116140 # tests run on this system so they can be shared between configure
116141 # scripts and configure runs, see configure's option --config-cache.
116142 # It is not useful on other systems.  If it contains results you don't
116143 # want to keep, you may remove or edit it.
116144 #
116145 # config.status only pays attention to the cache file if you give it
116146 # the --recheck option to rerun configure.
116147 #
116148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
116149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
116150 # following values.
116151
116152 _ACEOF
116153
116154 # The following way of writing the cache mishandles newlines in values,
116155 # but we know of no workaround that is simple, portable, and efficient.
116156 # So, don't put newlines in cache variables' values.
116157 # Ultrix sh set writes to stderr and can't be redirected directly,
116158 # and sets the high bit in the cache file unless we assign to the vars.
116159 {
116160   (set) 2>&1 |
116161     case `(ac_space=' '; set | grep ac_space) 2>&1` in
116162     *ac_space=\ *)
116163       # `set' does not quote correctly, so add quotes (double-quote
116164       # substitution turns \\\\ into \\, and sed turns \\ into \).
116165       sed -n \
116166         "s/'/'\\\\''/g;
116167           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
116168       ;;
116169     *)
116170       # `set' quotes correctly as required by POSIX, so do not add quotes.
116171       sed -n \
116172         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
116173       ;;
116174     esac;
116175 } |
116176   sed '
116177      t clear
116178      : clear
116179      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
116180      t end
116181      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
116182      : end' >>confcache
116183 if diff $cache_file confcache >/dev/null 2>&1; then :; else
116184   if test -w $cache_file; then
116185     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
116186     cat confcache >$cache_file
116187   else
116188     echo "not updating unwritable cache $cache_file"
116189   fi
116190 fi
116191 rm -f confcache
116192
116193 if test ${multilib} = yes; then
116194   multilib_arg="--enable-multilib"
116195 else
116196   multilib_arg=
116197 fi
116198
116199 # Export all the install information.
116200
116201   glibcxx_toolexecdir=no
116202   glibcxx_toolexeclibdir=no
116203   glibcxx_prefixdir=$prefix
116204
116205   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
116206 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
116207
116208 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
116209 if test "${with_gxx_include_dir+set}" = set; then
116210   withval="$with_gxx_include_dir"
116211   case "$withval" in
116212       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
116213 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
116214    { (exit 1); exit 1; }; } ;;
116215       no)  gxx_include_dir=no ;;
116216       *)   gxx_include_dir=$withval ;;
116217      esac
116218 else
116219   gxx_include_dir=no
116220 fi;
116221   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
116222 echo "${ECHO_T}$gxx_include_dir" >&6
116223
116224   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
116225 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
116226   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
116227 if test "${enable_version_specific_runtime_libs+set}" = set; then
116228   enableval="$enable_version_specific_runtime_libs"
116229   case "$enableval" in
116230       yes) version_specific_libs=yes ;;
116231       no)  version_specific_libs=no ;;
116232       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
116233 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
116234    { (exit 1); exit 1; }; };;
116235      esac
116236 else
116237   version_specific_libs=no
116238 fi;
116239   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
116240 echo "${ECHO_T}$version_specific_libs" >&6
116241
116242   # Default case for install directory for include files.
116243   if test $version_specific_libs = no && test $gxx_include_dir = no; then
116244     gxx_include_dir='include/c++/${gcc_version}'
116245     if test -n "$with_cross_host" &&
116246        test x"$with_cross_host" != x"no"; then
116247       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
116248     else
116249       gxx_include_dir='${prefix}/'"$gxx_include_dir"
116250     fi
116251   fi
116252
116253   # Version-specific runtime libs processing.
116254   if test $version_specific_libs = yes; then
116255     # Need the gcc compiler version to know where to install libraries
116256     # and header files if --enable-version-specific-runtime-libs option
116257     # is selected.  FIXME: these variables are misnamed, there are
116258     # no executables installed in _toolexecdir or _toolexeclibdir.
116259     if test x"$gxx_include_dir" = x"no"; then
116260       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
116261     fi
116262     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
116263     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
116264   fi
116265
116266   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
116267   # Install a library built with a cross compiler in tooldir, not libdir.
116268   if test x"$glibcxx_toolexecdir" = x"no"; then
116269     if test -n "$with_cross_host" &&
116270        test x"$with_cross_host" != x"no"; then
116271       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
116272       glibcxx_toolexeclibdir='${toolexecdir}/lib'
116273     else
116274       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
116275       glibcxx_toolexeclibdir='${libdir}'
116276     fi
116277     multi_os_directory=`$CXX -print-multi-os-directory`
116278     case $multi_os_directory in
116279       .) ;; # Avoid trailing /.
116280       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
116281     esac
116282   fi
116283
116284   echo "$as_me:$LINENO: checking for install location" >&5
116285 echo $ECHO_N "checking for install location... $ECHO_C" >&6
116286   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
116287 echo "${ECHO_T}$gxx_include_dir" >&6
116288
116289
116290
116291
116292
116293
116294
116295 # Export all the include and flag information to Makefiles.
116296
116297   # Used for every C++ compile we perform.
116298   GLIBCXX_INCLUDES="\
116299 -I$glibcxx_builddir/include/$host_alias \
116300 -I$glibcxx_builddir/include \
116301 -I$glibcxx_srcdir/libsupc++"
116302
116303   # For Canadian crosses, pick this up too.
116304   if test $CANADIAN = yes; then
116305     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
116306   fi
116307
116308   # Stuff in the actual top level.  Currently only used by libsupc++ to
116309   # get unwind* headers from the gcc dir.
116310   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
116311   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
116312
116313   # Now, export this to all the little Makefiles....
116314
116315
116316
116317
116318   # Optimization flags that are probably a good idea for thrill-seekers. Just
116319   # uncomment the lines below and make, everything else is ready to go...
116320   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
116321   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
116322
116323
116324   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
116325
116326
116327
116328 if test "$enable_shared" = yes; then
116329   LIBSUPCXX_PICFLAGS="-prefer-pic"
116330 else
116331   LIBSUPCXX_PICFLAGS=
116332 fi
116333
116334
116335                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
116336
116337           ac_config_files="$ac_config_files scripts/testsuite_flags"
116338
116339
116340           ac_config_commands="$ac_config_commands default"
116341
116342
116343 cat >confcache <<\_ACEOF
116344 # This file is a shell script that caches the results of configure
116345 # tests run on this system so they can be shared between configure
116346 # scripts and configure runs, see configure's option --config-cache.
116347 # It is not useful on other systems.  If it contains results you don't
116348 # want to keep, you may remove or edit it.
116349 #
116350 # config.status only pays attention to the cache file if you give it
116351 # the --recheck option to rerun configure.
116352 #
116353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
116354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
116355 # following values.
116356
116357 _ACEOF
116358
116359 # The following way of writing the cache mishandles newlines in values,
116360 # but we know of no workaround that is simple, portable, and efficient.
116361 # So, don't put newlines in cache variables' values.
116362 # Ultrix sh set writes to stderr and can't be redirected directly,
116363 # and sets the high bit in the cache file unless we assign to the vars.
116364 {
116365   (set) 2>&1 |
116366     case `(ac_space=' '; set | grep ac_space) 2>&1` in
116367     *ac_space=\ *)
116368       # `set' does not quote correctly, so add quotes (double-quote
116369       # substitution turns \\\\ into \\, and sed turns \\ into \).
116370       sed -n \
116371         "s/'/'\\\\''/g;
116372           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
116373       ;;
116374     *)
116375       # `set' quotes correctly as required by POSIX, so do not add quotes.
116376       sed -n \
116377         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
116378       ;;
116379     esac;
116380 } |
116381   sed '
116382      t clear
116383      : clear
116384      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
116385      t end
116386      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
116387      : end' >>confcache
116388 if diff $cache_file confcache >/dev/null 2>&1; then :; else
116389   if test -w $cache_file; then
116390     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
116391     cat confcache >$cache_file
116392   else
116393     echo "not updating unwritable cache $cache_file"
116394   fi
116395 fi
116396 rm -f confcache
116397
116398 test "x$prefix" = xNONE && prefix=$ac_default_prefix
116399 # Let make expand exec_prefix.
116400 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
116401
116402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
116403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
116404 # trailing colons and then remove the whole line if VPATH becomes empty
116405 # (actually we leave an empty line to preserve line numbers).
116406 if test "x$srcdir" = x.; then
116407   ac_vpsub='/^[  ]*VPATH[        ]*=/{
116408 s/:*\$(srcdir):*/:/;
116409 s/:*\${srcdir}:*/:/;
116410 s/:*@srcdir@:*/:/;
116411 s/^\([^=]*=[     ]*\):*/\1/;
116412 s/:*$//;
116413 s/^[^=]*=[       ]*$//;
116414 }'
116415 fi
116416
116417 DEFS=-DHAVE_CONFIG_H
116418
116419 ac_libobjs=
116420 ac_ltlibobjs=
116421 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
116422   # 1. Remove the extension, and $U if already installed.
116423   ac_i=`echo "$ac_i" |
116424          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
116425   # 2. Add them.
116426   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
116427   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
116428 done
116429 LIBOBJS=$ac_libobjs
116430
116431 LTLIBOBJS=$ac_ltlibobjs
116432
116433
116434 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
116435   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
116436 Usually this means the macro was only invoked conditionally." >&5
116437 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
116438 Usually this means the macro was only invoked conditionally." >&2;}
116439    { (exit 1); exit 1; }; }
116440 fi
116441 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
116442   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
116443 Usually this means the macro was only invoked conditionally." >&5
116444 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
116445 Usually this means the macro was only invoked conditionally." >&2;}
116446    { (exit 1); exit 1; }; }
116447 fi
116448 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
116449   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
116450 Usually this means the macro was only invoked conditionally." >&5
116451 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
116452 Usually this means the macro was only invoked conditionally." >&2;}
116453    { (exit 1); exit 1; }; }
116454 fi
116455 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
116456   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
116457 Usually this means the macro was only invoked conditionally." >&5
116458 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
116459 Usually this means the macro was only invoked conditionally." >&2;}
116460    { (exit 1); exit 1; }; }
116461 fi
116462 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
116463   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
116464 Usually this means the macro was only invoked conditionally." >&5
116465 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
116466 Usually this means the macro was only invoked conditionally." >&2;}
116467    { (exit 1); exit 1; }; }
116468 fi
116469 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
116470   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
116471 Usually this means the macro was only invoked conditionally." >&5
116472 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
116473 Usually this means the macro was only invoked conditionally." >&2;}
116474    { (exit 1); exit 1; }; }
116475 fi
116476 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
116477   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
116478 Usually this means the macro was only invoked conditionally." >&5
116479 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
116480 Usually this means the macro was only invoked conditionally." >&2;}
116481    { (exit 1); exit 1; }; }
116482 fi
116483 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
116484   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
116485 Usually this means the macro was only invoked conditionally." >&5
116486 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
116487 Usually this means the macro was only invoked conditionally." >&2;}
116488    { (exit 1); exit 1; }; }
116489 fi
116490 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
116491   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
116492 Usually this means the macro was only invoked conditionally." >&5
116493 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
116494 Usually this means the macro was only invoked conditionally." >&2;}
116495    { (exit 1); exit 1; }; }
116496 fi
116497 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
116498   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
116499 Usually this means the macro was only invoked conditionally." >&5
116500 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
116501 Usually this means the macro was only invoked conditionally." >&2;}
116502    { (exit 1); exit 1; }; }
116503 fi
116504 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
116505   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
116506 Usually this means the macro was only invoked conditionally." >&5
116507 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
116508 Usually this means the macro was only invoked conditionally." >&2;}
116509    { (exit 1); exit 1; }; }
116510 fi
116511 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
116512   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
116513 Usually this means the macro was only invoked conditionally." >&5
116514 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
116515 Usually this means the macro was only invoked conditionally." >&2;}
116516    { (exit 1); exit 1; }; }
116517 fi
116518 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
116519   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
116520 Usually this means the macro was only invoked conditionally." >&5
116521 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
116522 Usually this means the macro was only invoked conditionally." >&2;}
116523    { (exit 1); exit 1; }; }
116524 fi
116525 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
116526   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
116527 Usually this means the macro was only invoked conditionally." >&5
116528 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
116529 Usually this means the macro was only invoked conditionally." >&2;}
116530    { (exit 1); exit 1; }; }
116531 fi
116532 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
116533   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
116534 Usually this means the macro was only invoked conditionally." >&5
116535 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
116536 Usually this means the macro was only invoked conditionally." >&2;}
116537    { (exit 1); exit 1; }; }
116538 fi
116539 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
116540   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
116541 Usually this means the macro was only invoked conditionally." >&5
116542 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
116543 Usually this means the macro was only invoked conditionally." >&2;}
116544    { (exit 1); exit 1; }; }
116545 fi
116546
116547 : ${CONFIG_STATUS=./config.status}
116548 ac_clean_files_save=$ac_clean_files
116549 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
116550 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
116551 echo "$as_me: creating $CONFIG_STATUS" >&6;}
116552 cat >$CONFIG_STATUS <<_ACEOF
116553 #! $SHELL
116554 # Generated by $as_me.
116555 # Run this file to recreate the current configuration.
116556 # Compiler output produced by configure, useful for debugging
116557 # configure, is in config.log if it exists.
116558
116559 debug=false
116560 ac_cs_recheck=false
116561 ac_cs_silent=false
116562 SHELL=\${CONFIG_SHELL-$SHELL}
116563 _ACEOF
116564
116565 cat >>$CONFIG_STATUS <<\_ACEOF
116566 ## --------------------- ##
116567 ## M4sh Initialization.  ##
116568 ## --------------------- ##
116569
116570 # Be Bourne compatible
116571 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
116572   emulate sh
116573   NULLCMD=:
116574   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
116575   # is contrary to our usage.  Disable this feature.
116576   alias -g '${1+"$@"}'='"$@"'
116577 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
116578   set -o posix
116579 fi
116580 DUALCASE=1; export DUALCASE # for MKS sh
116581
116582 # Support unset when possible.
116583 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
116584   as_unset=unset
116585 else
116586   as_unset=false
116587 fi
116588
116589
116590 # Work around bugs in pre-3.0 UWIN ksh.
116591 $as_unset ENV MAIL MAILPATH
116592 PS1='$ '
116593 PS2='> '
116594 PS4='+ '
116595
116596 # NLS nuisances.
116597 for as_var in \
116598   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
116599   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
116600   LC_TELEPHONE LC_TIME
116601 do
116602   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
116603     eval $as_var=C; export $as_var
116604   else
116605     $as_unset $as_var
116606   fi
116607 done
116608
116609 # Required to use basename.
116610 if expr a : '\(a\)' >/dev/null 2>&1; then
116611   as_expr=expr
116612 else
116613   as_expr=false
116614 fi
116615
116616 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
116617   as_basename=basename
116618 else
116619   as_basename=false
116620 fi
116621
116622
116623 # Name of the executable.
116624 as_me=`$as_basename "$0" ||
116625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
116626          X"$0" : 'X\(//\)$' \| \
116627          X"$0" : 'X\(/\)$' \| \
116628          .     : '\(.\)' 2>/dev/null ||
116629 echo X/"$0" |
116630     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116631           /^X\/\(\/\/\)$/{ s//\1/; q; }
116632           /^X\/\(\/\).*/{ s//\1/; q; }
116633           s/.*/./; q'`
116634
116635
116636 # PATH needs CR, and LINENO needs CR and PATH.
116637 # Avoid depending upon Character Ranges.
116638 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
116639 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
116640 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
116641 as_cr_digits='0123456789'
116642 as_cr_alnum=$as_cr_Letters$as_cr_digits
116643
116644 # The user is always right.
116645 if test "${PATH_SEPARATOR+set}" != set; then
116646   echo "#! /bin/sh" >conf$$.sh
116647   echo  "exit 0"   >>conf$$.sh
116648   chmod +x conf$$.sh
116649   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
116650     PATH_SEPARATOR=';'
116651   else
116652     PATH_SEPARATOR=:
116653   fi
116654   rm -f conf$$.sh
116655 fi
116656
116657
116658   as_lineno_1=$LINENO
116659   as_lineno_2=$LINENO
116660   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116661   test "x$as_lineno_1" != "x$as_lineno_2" &&
116662   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
116663   # Find who we are.  Look in the path if we contain no path at all
116664   # relative or not.
116665   case $0 in
116666     *[\\/]* ) as_myself=$0 ;;
116667     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116668 for as_dir in $PATH
116669 do
116670   IFS=$as_save_IFS
116671   test -z "$as_dir" && as_dir=.
116672   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116673 done
116674
116675        ;;
116676   esac
116677   # We did not find ourselves, most probably we were run as `sh COMMAND'
116678   # in which case we are not to be found in the path.
116679   if test "x$as_myself" = x; then
116680     as_myself=$0
116681   fi
116682   if test ! -f "$as_myself"; then
116683     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116684 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
116685    { (exit 1); exit 1; }; }
116686   fi
116687   case $CONFIG_SHELL in
116688   '')
116689     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116690 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
116691 do
116692   IFS=$as_save_IFS
116693   test -z "$as_dir" && as_dir=.
116694   for as_base in sh bash ksh sh5; do
116695          case $as_dir in
116696          /*)
116697            if ("$as_dir/$as_base" -c '
116698   as_lineno_1=$LINENO
116699   as_lineno_2=$LINENO
116700   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116701   test "x$as_lineno_1" != "x$as_lineno_2" &&
116702   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
116703              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
116704              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
116705              CONFIG_SHELL=$as_dir/$as_base
116706              export CONFIG_SHELL
116707              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
116708            fi;;
116709          esac
116710        done
116711 done
116712 ;;
116713   esac
116714
116715   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
116716   # uniformly replaced by the line number.  The first 'sed' inserts a
116717   # line-number line before each line; the second 'sed' does the real
116718   # work.  The second script uses 'N' to pair each line-number line
116719   # with the numbered line, and appends trailing '-' during
116720   # substitution so that $LINENO is not a special case at line end.
116721   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
116722   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
116723   sed '=' <$as_myself |
116724     sed '
116725       N
116726       s,$,-,
116727       : loop
116728       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
116729       t loop
116730       s,-$,,
116731       s,^['$as_cr_digits']*\n,,
116732     ' >$as_me.lineno &&
116733   chmod +x $as_me.lineno ||
116734     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
116735 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
116736    { (exit 1); exit 1; }; }
116737
116738   # Don't try to exec as it changes $[0], causing all sort of problems
116739   # (the dirname of $[0] is not the place where we might find the
116740   # original and so on.  Autoconf is especially sensible to this).
116741   . ./$as_me.lineno
116742   # Exit status is that of the last command.
116743   exit
116744 }
116745
116746
116747 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
116748   *c*,-n*) ECHO_N= ECHO_C='
116749 ' ECHO_T='      ' ;;
116750   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
116751   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
116752 esac
116753
116754 if expr a : '\(a\)' >/dev/null 2>&1; then
116755   as_expr=expr
116756 else
116757   as_expr=false
116758 fi
116759
116760 rm -f conf$$ conf$$.exe conf$$.file
116761 echo >conf$$.file
116762 if ln -s conf$$.file conf$$ 2>/dev/null; then
116763   # We could just check for DJGPP; but this test a) works b) is more generic
116764   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
116765   if test -f conf$$.exe; then
116766     # Don't use ln at all; we don't have any links
116767     as_ln_s='cp -p'
116768   else
116769     as_ln_s='ln -s'
116770   fi
116771 elif ln conf$$.file conf$$ 2>/dev/null; then
116772   as_ln_s=ln
116773 else
116774   as_ln_s='cp -p'
116775 fi
116776 rm -f conf$$ conf$$.exe conf$$.file
116777
116778 if mkdir -p . 2>/dev/null; then
116779   as_mkdir_p=:
116780 else
116781   test -d ./-p && rmdir ./-p
116782   as_mkdir_p=false
116783 fi
116784
116785 as_executable_p="test -f"
116786
116787 # Sed expression to map a string onto a valid CPP name.
116788 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
116789
116790 # Sed expression to map a string onto a valid variable name.
116791 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
116792
116793
116794 # IFS
116795 # We need space, tab and new line, in precisely that order.
116796 as_nl='
116797 '
116798 IFS="   $as_nl"
116799
116800 # CDPATH.
116801 $as_unset CDPATH
116802
116803 exec 6>&1
116804
116805 # Open the log real soon, to keep \$[0] and so on meaningful, and to
116806 # report actual input values of CONFIG_FILES etc. instead of their
116807 # values after options handling.  Logging --version etc. is OK.
116808 exec 5>>config.log
116809 {
116810   echo
116811   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
116812 ## Running $as_me. ##
116813 _ASBOX
116814 } >&5
116815 cat >&5 <<_CSEOF
116816
116817 This file was extended by package-unused $as_me version-unused, which was
116818 generated by GNU Autoconf 2.59.  Invocation command line was
116819
116820   CONFIG_FILES    = $CONFIG_FILES
116821   CONFIG_HEADERS  = $CONFIG_HEADERS
116822   CONFIG_LINKS    = $CONFIG_LINKS
116823   CONFIG_COMMANDS = $CONFIG_COMMANDS
116824   $ $0 $@
116825
116826 _CSEOF
116827 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
116828 echo >&5
116829 _ACEOF
116830
116831 # Files that config.status was made for.
116832 if test -n "$ac_config_files"; then
116833   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
116834 fi
116835
116836 if test -n "$ac_config_headers"; then
116837   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
116838 fi
116839
116840 if test -n "$ac_config_links"; then
116841   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
116842 fi
116843
116844 if test -n "$ac_config_commands"; then
116845   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
116846 fi
116847
116848 cat >>$CONFIG_STATUS <<\_ACEOF
116849
116850 ac_cs_usage="\
116851 \`$as_me' instantiates files from templates according to the
116852 current configuration.
116853
116854 Usage: $0 [OPTIONS] [FILE]...
116855
116856   -h, --help       print this help, then exit
116857   -V, --version    print version number, then exit
116858   -q, --quiet      do not print progress messages
116859   -d, --debug      don't remove temporary files
116860       --recheck    update $as_me by reconfiguring in the same conditions
116861   --file=FILE[:TEMPLATE]
116862                    instantiate the configuration file FILE
116863   --header=FILE[:TEMPLATE]
116864                    instantiate the configuration header FILE
116865
116866 Configuration files:
116867 $config_files
116868
116869 Configuration headers:
116870 $config_headers
116871
116872 Configuration commands:
116873 $config_commands
116874
116875 Report bugs to <bug-autoconf@gnu.org>."
116876 _ACEOF
116877
116878 cat >>$CONFIG_STATUS <<_ACEOF
116879 ac_cs_version="\\
116880 package-unused config.status version-unused
116881 configured by $0, generated by GNU Autoconf 2.59,
116882   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
116883
116884 Copyright (C) 2003 Free Software Foundation, Inc.
116885 This config.status script is free software; the Free Software Foundation
116886 gives unlimited permission to copy, distribute and modify it."
116887 srcdir=$srcdir
116888 INSTALL="$INSTALL"
116889 _ACEOF
116890
116891 cat >>$CONFIG_STATUS <<\_ACEOF
116892 # If no file are specified by the user, then we need to provide default
116893 # value.  By we need to know if files were specified by the user.
116894 ac_need_defaults=:
116895 while test $# != 0
116896 do
116897   case $1 in
116898   --*=*)
116899     ac_option=`expr "x$1" : 'x\([^=]*\)='`
116900     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
116901     ac_shift=:
116902     ;;
116903   -*)
116904     ac_option=$1
116905     ac_optarg=$2
116906     ac_shift=shift
116907     ;;
116908   *) # This is not an option, so the user has probably given explicit
116909      # arguments.
116910      ac_option=$1
116911      ac_need_defaults=false;;
116912   esac
116913
116914   case $ac_option in
116915   # Handling of the options.
116916 _ACEOF
116917 cat >>$CONFIG_STATUS <<\_ACEOF
116918   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
116919     ac_cs_recheck=: ;;
116920   --version | --vers* | -V )
116921     echo "$ac_cs_version"; exit 0 ;;
116922   --he | --h)
116923     # Conflict between --help and --header
116924     { { echo "$as_me:$LINENO: error: ambiguous option: $1
116925 Try \`$0 --help' for more information." >&5
116926 echo "$as_me: error: ambiguous option: $1
116927 Try \`$0 --help' for more information." >&2;}
116928    { (exit 1); exit 1; }; };;
116929   --help | --hel | -h )
116930     echo "$ac_cs_usage"; exit 0 ;;
116931   --debug | --d* | -d )
116932     debug=: ;;
116933   --file | --fil | --fi | --f )
116934     $ac_shift
116935     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
116936     ac_need_defaults=false;;
116937   --header | --heade | --head | --hea )
116938     $ac_shift
116939     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
116940     ac_need_defaults=false;;
116941   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116942   | -silent | --silent | --silen | --sile | --sil | --si | --s)
116943     ac_cs_silent=: ;;
116944
116945   # This is an error.
116946   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
116947 Try \`$0 --help' for more information." >&5
116948 echo "$as_me: error: unrecognized option: $1
116949 Try \`$0 --help' for more information." >&2;}
116950    { (exit 1); exit 1; }; } ;;
116951
116952   *) ac_config_targets="$ac_config_targets $1" ;;
116953
116954   esac
116955   shift
116956 done
116957
116958 ac_configure_extra_args=
116959
116960 if $ac_cs_silent; then
116961   exec 6>/dev/null
116962   ac_configure_extra_args="$ac_configure_extra_args --silent"
116963 fi
116964
116965 _ACEOF
116966 cat >>$CONFIG_STATUS <<_ACEOF
116967 if \$ac_cs_recheck; then
116968   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
116969   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
116970 fi
116971
116972 _ACEOF
116973
116974 cat >>$CONFIG_STATUS <<_ACEOF
116975 #
116976 # INIT-COMMANDS section.
116977 #
116978
116979
116980 srcdir="$srcdir"
116981 host="$host"
116982 target="$target"
116983 with_multisubdir="$with_multisubdir"
116984 with_multisrctop="$with_multisrctop"
116985 with_target_subdir="$with_target_subdir"
116986 ac_configure_args="${multilib_arg} ${ac_configure_args}"
116987 multi_basedir="$multi_basedir"
116988 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
116989 CC="$CC"
116990
116991
116992 # The HP-UX ksh and POSIX shell print the target directory to stdout
116993 # if CDPATH is set.
116994 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
116995
116996 sed_quote_subst='$sed_quote_subst'
116997 double_quote_subst='$double_quote_subst'
116998 delay_variable_subst='$delay_variable_subst'
116999 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
117000 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
117001 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
117002 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
117003 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
117004 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
117005 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
117006 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
117007 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
117008 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
117009 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
117010 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
117011 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
117012 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
117013 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
117014 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
117015 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
117016 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
117017 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
117018 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
117019 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
117020 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
117021 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
117022 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
117023 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
117024 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
117025 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
117026 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117027 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
117028 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
117029 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
117030 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117031 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
117032 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
117033 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117034 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117035 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117036 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
117037 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117038 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
117039 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
117040 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
117041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
117042 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"`'
117043 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
117044 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
117045 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
117046 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
117047 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
117048 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
117049 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
117050 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
117051 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
117052 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
117053 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
117054 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117055 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117056 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
117057 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
117058 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117059 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117060 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
117061 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117062 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117063 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117064 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117065 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117066 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117067 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
117068 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117069 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117070 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117071 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
117072 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
117073 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
117074 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
117075 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
117076 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117077 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
117078 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
117079 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
117080 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
117081 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
117082 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117083 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117084 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117085 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117086 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
117087 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
117088 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
117089 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
117090 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
117091 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117092 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117093 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
117094 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117095 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
117096 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117097 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117098 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117099 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117100 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
117101 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
117102 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117103 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117104 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
117105 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
117106 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
117107 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
117108 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
117109 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
117110 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117111 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117112 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
117113 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
117114 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
117115 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117116 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117117 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117118 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117119 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117120 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117121 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117122 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117123 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117124 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117125 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117126 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117127 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117128 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117129 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117130 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117131 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117132 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117133 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117134 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117135 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117136 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117137 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117138 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117139 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117140 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117141 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117142 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117143 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117144 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117145 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117146 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117147 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117148 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117149 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117150 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117151 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117152 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117153 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117154 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117155 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117156 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117157 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117158 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117159 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117160 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117161
117162 LTCC='$LTCC'
117163 LTCFLAGS='$LTCFLAGS'
117164 compiler='$compiler_DEFAULT'
117165
117166 # Quote evaled strings.
117167 for var in SED \
117168 GREP \
117169 EGREP \
117170 FGREP \
117171 LD \
117172 NM \
117173 LN_S \
117174 lt_SP2NL \
117175 lt_NL2SP \
117176 reload_flag \
117177 deplibs_check_method \
117178 file_magic_cmd \
117179 AR \
117180 AR_FLAGS \
117181 STRIP \
117182 RANLIB \
117183 CC \
117184 CFLAGS \
117185 compiler \
117186 lt_cv_sys_global_symbol_pipe \
117187 lt_cv_sys_global_symbol_to_cdecl \
117188 lt_cv_sys_global_symbol_to_c_name_address \
117189 SHELL \
117190 ECHO \
117191 lt_prog_compiler_no_builtin_flag \
117192 lt_prog_compiler_wl \
117193 lt_prog_compiler_pic \
117194 lt_prog_compiler_static \
117195 lt_cv_prog_compiler_c_o \
117196 need_locks \
117197 shrext_cmds \
117198 export_dynamic_flag_spec \
117199 whole_archive_flag_spec \
117200 compiler_needs_object \
117201 with_gnu_ld \
117202 allow_undefined_flag \
117203 no_undefined_flag \
117204 hardcode_libdir_flag_spec \
117205 hardcode_libdir_flag_spec_ld \
117206 hardcode_libdir_separator \
117207 fix_srcfile_path \
117208 exclude_expsyms \
117209 include_expsyms \
117210 file_list_spec \
117211 variables_saved_for_relink \
117212 libname_spec \
117213 library_names_spec \
117214 soname_spec \
117215 finish_eval \
117216 old_striplib \
117217 striplib \
117218 predep_objects \
117219 postdep_objects \
117220 predeps \
117221 postdeps \
117222 compiler_lib_search_path \
117223 LD_CXX \
117224 compiler_CXX \
117225 lt_prog_compiler_no_builtin_flag_CXX \
117226 lt_prog_compiler_wl_CXX \
117227 lt_prog_compiler_pic_CXX \
117228 lt_prog_compiler_static_CXX \
117229 lt_cv_prog_compiler_c_o_CXX \
117230 export_dynamic_flag_spec_CXX \
117231 whole_archive_flag_spec_CXX \
117232 compiler_needs_object_CXX \
117233 with_gnu_ld_CXX \
117234 allow_undefined_flag_CXX \
117235 no_undefined_flag_CXX \
117236 hardcode_libdir_flag_spec_CXX \
117237 hardcode_libdir_flag_spec_ld_CXX \
117238 hardcode_libdir_separator_CXX \
117239 fix_srcfile_path_CXX \
117240 exclude_expsyms_CXX \
117241 include_expsyms_CXX \
117242 file_list_spec_CXX \
117243 predep_objects_CXX \
117244 postdep_objects_CXX \
117245 predeps_CXX \
117246 postdeps_CXX \
117247 compiler_lib_search_path_CXX; do
117248     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
117249     *[\\\\\\\`\\"\\\$]*)
117250       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
117251       ;;
117252     *)
117253       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
117254       ;;
117255     esac
117256 done
117257
117258 # Double-quote double-evaled strings.
117259 for var in reload_cmds \
117260 old_postinstall_cmds \
117261 old_postuninstall_cmds \
117262 old_archive_cmds \
117263 extract_expsyms_cmds \
117264 old_archive_from_new_cmds \
117265 old_archive_from_expsyms_cmds \
117266 archive_cmds \
117267 archive_expsym_cmds \
117268 module_cmds \
117269 module_expsym_cmds \
117270 export_symbols_cmds \
117271 prelink_cmds \
117272 postinstall_cmds \
117273 postuninstall_cmds \
117274 finish_cmds \
117275 sys_lib_search_path_spec \
117276 sys_lib_dlsearch_path_spec \
117277 old_archive_cmds_CXX \
117278 old_archive_from_new_cmds_CXX \
117279 old_archive_from_expsyms_cmds_CXX \
117280 archive_cmds_CXX \
117281 archive_expsym_cmds_CXX \
117282 module_cmds_CXX \
117283 module_expsym_cmds_CXX \
117284 export_symbols_cmds_CXX \
117285 prelink_cmds_CXX; do
117286     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
117287     *[\\\\\\\`\\"\\\$]*)
117288       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
117289       ;;
117290     *)
117291       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
117292       ;;
117293     esac
117294 done
117295
117296 # Fix-up fallback echo if it was mangled by the above quoting rules.
117297 case \$lt_ECHO in
117298 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
117299   ;;
117300 esac
117301
117302 ac_aux_dir='$ac_aux_dir'
117303 xsi_shell='$xsi_shell'
117304 lt_shell_append='$lt_shell_append'
117305
117306 # See if we are running on zsh, and set the options which allow our
117307 # commands through without removal of \ escapes INIT.
117308 if test -n "\${ZSH_VERSION+set}" ; then
117309    setopt NO_GLOB_SUBST
117310 fi
117311
117312
117313     PACKAGE='$PACKAGE'
117314     VERSION='$VERSION'
117315     TIMESTAMP='$TIMESTAMP'
117316     RM='$RM'
117317     ofile='$ofile'
117318
117319
117320
117321
117322
117323
117324 # Variables needed in config.status (file generation) which aren't already
117325 # passed by autoconf.
117326 SUBDIRS="$SUBDIRS"
117327
117328
117329 _ACEOF
117330
117331
117332
117333 cat >>$CONFIG_STATUS <<\_ACEOF
117334 for ac_config_target in $ac_config_targets
117335 do
117336   case "$ac_config_target" in
117337   # Handling of arguments.
117338   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
117339   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
117340   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
117341   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
117342   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
117343   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
117344   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
117345   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
117346   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
117347   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
117348   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
117349   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
117350   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
117351   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
117352 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
117353    { (exit 1); exit 1; }; };;
117354   esac
117355 done
117356
117357 # If the user did not use the arguments to specify the items to instantiate,
117358 # then the envvar interface is used.  Set only those that are not.
117359 # We use the long form for the default assignment because of an extremely
117360 # bizarre bug on SunOS 4.1.3.
117361 if $ac_need_defaults; then
117362   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
117363   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
117364   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
117365 fi
117366
117367 # Have a temporary directory for convenience.  Make it in the build tree
117368 # simply because there is no reason to put it here, and in addition,
117369 # creating and moving files from /tmp can sometimes cause problems.
117370 # Create a temporary directory, and hook for its removal unless debugging.
117371 $debug ||
117372 {
117373   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
117374   trap '{ (exit 1); exit 1; }' 1 2 13 15
117375 }
117376
117377 # Create a (secure) tmp directory for tmp files.
117378
117379 {
117380   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
117381   test -n "$tmp" && test -d "$tmp"
117382 }  ||
117383 {
117384   tmp=./confstat$$-$RANDOM
117385   (umask 077 && mkdir $tmp)
117386 } ||
117387 {
117388    echo "$me: cannot create a temporary directory in ." >&2
117389    { (exit 1); exit 1; }
117390 }
117391
117392 _ACEOF
117393
117394 cat >>$CONFIG_STATUS <<_ACEOF
117395
117396 #
117397 # CONFIG_FILES section.
117398 #
117399
117400 # No need to generate the scripts if there are no CONFIG_FILES.
117401 # This happens for instance when ./config.status config.h
117402 if test -n "\$CONFIG_FILES"; then
117403   # Protect against being on the right side of a sed subst in config.status.
117404   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
117405    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
117406 s,@SHELL@,$SHELL,;t t
117407 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
117408 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
117409 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
117410 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
117411 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
117412 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
117413 s,@exec_prefix@,$exec_prefix,;t t
117414 s,@prefix@,$prefix,;t t
117415 s,@program_transform_name@,$program_transform_name,;t t
117416 s,@bindir@,$bindir,;t t
117417 s,@sbindir@,$sbindir,;t t
117418 s,@libexecdir@,$libexecdir,;t t
117419 s,@datadir@,$datadir,;t t
117420 s,@sysconfdir@,$sysconfdir,;t t
117421 s,@sharedstatedir@,$sharedstatedir,;t t
117422 s,@localstatedir@,$localstatedir,;t t
117423 s,@libdir@,$libdir,;t t
117424 s,@includedir@,$includedir,;t t
117425 s,@oldincludedir@,$oldincludedir,;t t
117426 s,@infodir@,$infodir,;t t
117427 s,@mandir@,$mandir,;t t
117428 s,@build_alias@,$build_alias,;t t
117429 s,@host_alias@,$host_alias,;t t
117430 s,@target_alias@,$target_alias,;t t
117431 s,@DEFS@,$DEFS,;t t
117432 s,@ECHO_C@,$ECHO_C,;t t
117433 s,@ECHO_N@,$ECHO_N,;t t
117434 s,@ECHO_T@,$ECHO_T,;t t
117435 s,@LIBS@,$LIBS,;t t
117436 s,@libtool_VERSION@,$libtool_VERSION,;t t
117437 s,@multi_basedir@,$multi_basedir,;t t
117438 s,@build@,$build,;t t
117439 s,@build_cpu@,$build_cpu,;t t
117440 s,@build_vendor@,$build_vendor,;t t
117441 s,@build_os@,$build_os,;t t
117442 s,@host@,$host,;t t
117443 s,@host_cpu@,$host_cpu,;t t
117444 s,@host_vendor@,$host_vendor,;t t
117445 s,@host_os@,$host_os,;t t
117446 s,@target@,$target,;t t
117447 s,@target_cpu@,$target_cpu,;t t
117448 s,@target_vendor@,$target_vendor,;t t
117449 s,@target_os@,$target_os,;t t
117450 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
117451 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
117452 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
117453 s,@CYGPATH_W@,$CYGPATH_W,;t t
117454 s,@PACKAGE@,$PACKAGE,;t t
117455 s,@VERSION@,$VERSION,;t t
117456 s,@ACLOCAL@,$ACLOCAL,;t t
117457 s,@AUTOCONF@,$AUTOCONF,;t t
117458 s,@AUTOMAKE@,$AUTOMAKE,;t t
117459 s,@AUTOHEADER@,$AUTOHEADER,;t t
117460 s,@MAKEINFO@,$MAKEINFO,;t t
117461 s,@install_sh@,$install_sh,;t t
117462 s,@STRIP@,$STRIP,;t t
117463 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
117464 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
117465 s,@mkdir_p@,$mkdir_p,;t t
117466 s,@AWK@,$AWK,;t t
117467 s,@SET_MAKE@,$SET_MAKE,;t t
117468 s,@am__leading_dot@,$am__leading_dot,;t t
117469 s,@AMTAR@,$AMTAR,;t t
117470 s,@am__tar@,$am__tar,;t t
117471 s,@am__untar@,$am__untar,;t t
117472 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
117473 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
117474 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
117475 s,@CC@,$CC,;t t
117476 s,@ac_ct_CC@,$ac_ct_CC,;t t
117477 s,@EXEEXT@,$EXEEXT,;t t
117478 s,@OBJEXT@,$OBJEXT,;t t
117479 s,@CXX@,$CXX,;t t
117480 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
117481 s,@CFLAGS@,$CFLAGS,;t t
117482 s,@CXXFLAGS@,$CXXFLAGS,;t t
117483 s,@LN_S@,$LN_S,;t t
117484 s,@AS@,$AS,;t t
117485 s,@ac_ct_AS@,$ac_ct_AS,;t t
117486 s,@AR@,$AR,;t t
117487 s,@ac_ct_AR@,$ac_ct_AR,;t t
117488 s,@RANLIB@,$RANLIB,;t t
117489 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
117490 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
117491 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
117492 s,@MAINT@,$MAINT,;t t
117493 s,@CPP@,$CPP,;t t
117494 s,@CPPFLAGS@,$CPPFLAGS,;t t
117495 s,@EGREP@,$EGREP,;t t
117496 s,@LIBTOOL@,$LIBTOOL,;t t
117497 s,@SED@,$SED,;t t
117498 s,@FGREP@,$FGREP,;t t
117499 s,@GREP@,$GREP,;t t
117500 s,@LD@,$LD,;t t
117501 s,@DUMPBIN@,$DUMPBIN,;t t
117502 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
117503 s,@NM@,$NM,;t t
117504 s,@lt_ECHO@,$lt_ECHO,;t t
117505 s,@LDFLAGS@,$LDFLAGS,;t t
117506 s,@CXXCPP@,$CXXCPP,;t t
117507 s,@enable_shared@,$enable_shared,;t t
117508 s,@enable_static@,$enable_static,;t t
117509 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
117510 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
117511 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
117512 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
117513 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
117514 s,@CSTDIO_H@,$CSTDIO_H,;t t
117515 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
117516 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
117517 s,@check_msgfmt@,$check_msgfmt,;t t
117518 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
117519 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
117520 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
117521 s,@USE_NLS@,$USE_NLS,;t t
117522 s,@CLOCALE_H@,$CLOCALE_H,;t t
117523 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
117524 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
117525 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
117526 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
117527 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
117528 s,@CMONEY_CC@,$CMONEY_CC,;t t
117529 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
117530 s,@CTIME_H@,$CTIME_H,;t t
117531 s,@CTIME_CC@,$CTIME_CC,;t t
117532 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
117533 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
117534 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
117535 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
117536 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
117537 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
117538 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
117539 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
117540 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
117541 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
117542 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
117543 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
117544 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
117545 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
117546 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
117547 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
117548 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
117549 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
117550 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
117551 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
117552 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
117553 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
117554 s,@WERROR@,$WERROR,;t t
117555 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
117556 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
117557 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
117558 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
117559 s,@LIBICONV@,$LIBICONV,;t t
117560 s,@LTLIBICONV@,$LTLIBICONV,;t t
117561 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
117562 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
117563 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
117564 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
117565 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
117566 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
117567 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
117568 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
117569 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
117570 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
117571 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
117572 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
117573 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
117574 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
117575 s,@baseline_dir@,$baseline_dir,;t t
117576 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
117577 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
117578 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
117579 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
117580 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
117581 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
117582 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
117583 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
117584 s,@gxx_include_dir@,$gxx_include_dir,;t t
117585 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
117586 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
117587 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
117588 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
117589 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
117590 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
117591 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
117592 s,@LIBOBJS@,$LIBOBJS,;t t
117593 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
117594 CEOF
117595
117596 _ACEOF
117597
117598   cat >>$CONFIG_STATUS <<\_ACEOF
117599   # Split the substitutions into bite-sized pieces for seds with
117600   # small command number limits, like on Digital OSF/1 and HP-UX.
117601   ac_max_sed_lines=48
117602   ac_sed_frag=1 # Number of current file.
117603   ac_beg=1 # First line for current file.
117604   ac_end=$ac_max_sed_lines # Line after last line for current file.
117605   ac_more_lines=:
117606   ac_sed_cmds=
117607   while $ac_more_lines; do
117608     if test $ac_beg -gt 1; then
117609       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117610     else
117611       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117612     fi
117613     if test ! -s $tmp/subs.frag; then
117614       ac_more_lines=false
117615     else
117616       # The purpose of the label and of the branching condition is to
117617       # speed up the sed processing (if there are no `@' at all, there
117618       # is no need to browse any of the substitutions).
117619       # These are the two extra sed commands mentioned above.
117620       (echo ':t
117621   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
117622       if test -z "$ac_sed_cmds"; then
117623         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
117624       else
117625         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
117626       fi
117627       ac_sed_frag=`expr $ac_sed_frag + 1`
117628       ac_beg=$ac_end
117629       ac_end=`expr $ac_end + $ac_max_sed_lines`
117630     fi
117631   done
117632   if test -z "$ac_sed_cmds"; then
117633     ac_sed_cmds=cat
117634   fi
117635 fi # test -n "$CONFIG_FILES"
117636
117637 _ACEOF
117638 cat >>$CONFIG_STATUS <<\_ACEOF
117639 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
117640   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117641   case $ac_file in
117642   - | *:- | *:-:* ) # input from stdin
117643         cat >$tmp/stdin
117644         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117645         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117646   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117647         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117648   * )   ac_file_in=$ac_file.in ;;
117649   esac
117650
117651   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
117652   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117654          X"$ac_file" : 'X\(//\)[^/]' \| \
117655          X"$ac_file" : 'X\(//\)$' \| \
117656          X"$ac_file" : 'X\(/\)' \| \
117657          .     : '\(.\)' 2>/dev/null ||
117658 echo X"$ac_file" |
117659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117660           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117661           /^X\(\/\/\)$/{ s//\1/; q; }
117662           /^X\(\/\).*/{ s//\1/; q; }
117663           s/.*/./; q'`
117664   { if $as_mkdir_p; then
117665     mkdir -p "$ac_dir"
117666   else
117667     as_dir="$ac_dir"
117668     as_dirs=
117669     while test ! -d "$as_dir"; do
117670       as_dirs="$as_dir $as_dirs"
117671       as_dir=`(dirname "$as_dir") 2>/dev/null ||
117672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117673          X"$as_dir" : 'X\(//\)[^/]' \| \
117674          X"$as_dir" : 'X\(//\)$' \| \
117675          X"$as_dir" : 'X\(/\)' \| \
117676          .     : '\(.\)' 2>/dev/null ||
117677 echo X"$as_dir" |
117678     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117679           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117680           /^X\(\/\/\)$/{ s//\1/; q; }
117681           /^X\(\/\).*/{ s//\1/; q; }
117682           s/.*/./; q'`
117683     done
117684     test ! -n "$as_dirs" || mkdir $as_dirs
117685   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117687    { (exit 1); exit 1; }; }; }
117688
117689   ac_builddir=.
117690
117691 if test "$ac_dir" != .; then
117692   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117693   # A "../" for each directory in $ac_dir_suffix.
117694   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117695 else
117696   ac_dir_suffix= ac_top_builddir=
117697 fi
117698
117699 case $srcdir in
117700   .)  # No --srcdir option.  We are building in place.
117701     ac_srcdir=.
117702     if test -z "$ac_top_builddir"; then
117703        ac_top_srcdir=.
117704     else
117705        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117706     fi ;;
117707   [\\/]* | ?:[\\/]* )  # Absolute path.
117708     ac_srcdir=$srcdir$ac_dir_suffix;
117709     ac_top_srcdir=$srcdir ;;
117710   *) # Relative path.
117711     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117712     ac_top_srcdir=$ac_top_builddir$srcdir ;;
117713 esac
117714
117715 # Do not use `cd foo && pwd` to compute absolute paths, because
117716 # the directories may not exist.
117717 case `pwd` in
117718 .) ac_abs_builddir="$ac_dir";;
117719 *)
117720   case "$ac_dir" in
117721   .) ac_abs_builddir=`pwd`;;
117722   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117723   *) ac_abs_builddir=`pwd`/"$ac_dir";;
117724   esac;;
117725 esac
117726 case $ac_abs_builddir in
117727 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117728 *)
117729   case ${ac_top_builddir}. in
117730   .) ac_abs_top_builddir=$ac_abs_builddir;;
117731   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117732   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117733   esac;;
117734 esac
117735 case $ac_abs_builddir in
117736 .) ac_abs_srcdir=$ac_srcdir;;
117737 *)
117738   case $ac_srcdir in
117739   .) ac_abs_srcdir=$ac_abs_builddir;;
117740   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117741   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117742   esac;;
117743 esac
117744 case $ac_abs_builddir in
117745 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117746 *)
117747   case $ac_top_srcdir in
117748   .) ac_abs_top_srcdir=$ac_abs_builddir;;
117749   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117750   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117751   esac;;
117752 esac
117753
117754
117755   case $INSTALL in
117756   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
117757   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
117758   esac
117759
117760   if test x"$ac_file" != x-; then
117761     { echo "$as_me:$LINENO: creating $ac_file" >&5
117762 echo "$as_me: creating $ac_file" >&6;}
117763     rm -f "$ac_file"
117764   fi
117765   # Let's still pretend it is `configure' which instantiates (i.e., don't
117766   # use $as_me), people would be surprised to read:
117767   #    /* config.h.  Generated by config.status.  */
117768   if test x"$ac_file" = x-; then
117769     configure_input=
117770   else
117771     configure_input="$ac_file.  "
117772   fi
117773   configure_input=$configure_input"Generated from `echo $ac_file_in |
117774                                      sed 's,.*/,,'` by configure."
117775
117776   # First look for the input files in the build tree, otherwise in the
117777   # src tree.
117778   ac_file_inputs=`IFS=:
117779     for f in $ac_file_in; do
117780       case $f in
117781       -) echo $tmp/stdin ;;
117782       [\\/$]*)
117783          # Absolute (can't be DOS-style, as IFS=:)
117784          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117785 echo "$as_me: error: cannot find input file: $f" >&2;}
117786    { (exit 1); exit 1; }; }
117787          echo "$f";;
117788       *) # Relative
117789          if test -f "$f"; then
117790            # Build tree
117791            echo "$f"
117792          elif test -f "$srcdir/$f"; then
117793            # Source tree
117794            echo "$srcdir/$f"
117795          else
117796            # /dev/null tree
117797            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117798 echo "$as_me: error: cannot find input file: $f" >&2;}
117799    { (exit 1); exit 1; }; }
117800          fi;;
117801       esac
117802     done` || { (exit 1); exit 1; }
117803 _ACEOF
117804 cat >>$CONFIG_STATUS <<_ACEOF
117805   sed "$ac_vpsub
117806 $extrasub
117807 _ACEOF
117808 cat >>$CONFIG_STATUS <<\_ACEOF
117809 :t
117810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
117811 s,@configure_input@,$configure_input,;t t
117812 s,@srcdir@,$ac_srcdir,;t t
117813 s,@abs_srcdir@,$ac_abs_srcdir,;t t
117814 s,@top_srcdir@,$ac_top_srcdir,;t t
117815 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
117816 s,@builddir@,$ac_builddir,;t t
117817 s,@abs_builddir@,$ac_abs_builddir,;t t
117818 s,@top_builddir@,$ac_top_builddir,;t t
117819 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
117820 s,@INSTALL@,$ac_INSTALL,;t t
117821 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
117822   rm -f $tmp/stdin
117823   if test x"$ac_file" != x-; then
117824     mv $tmp/out $ac_file
117825   else
117826     cat $tmp/out
117827     rm -f $tmp/out
117828   fi
117829
117830   # Run the commands associated with the file.
117831   case $ac_file in
117832     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
117833   esac
117834 done
117835 _ACEOF
117836 cat >>$CONFIG_STATUS <<\_ACEOF
117837
117838 #
117839 # CONFIG_HEADER section.
117840 #
117841
117842 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
117843 # NAME is the cpp macro being defined and VALUE is the value it is being given.
117844 #
117845 # ac_d sets the value in "#define NAME VALUE" lines.
117846 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
117847 ac_dB='[         ].*$,\1#\2'
117848 ac_dC=' '
117849 ac_dD=',;t'
117850 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
117851 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
117852 ac_uB='$,\1#\2define\3'
117853 ac_uC=' '
117854 ac_uD=',;t'
117855
117856 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
117857   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117858   case $ac_file in
117859   - | *:- | *:-:* ) # input from stdin
117860         cat >$tmp/stdin
117861         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117862         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117863   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117864         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117865   * )   ac_file_in=$ac_file.in ;;
117866   esac
117867
117868   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
117869 echo "$as_me: creating $ac_file" >&6;}
117870
117871   # First look for the input files in the build tree, otherwise in the
117872   # src tree.
117873   ac_file_inputs=`IFS=:
117874     for f in $ac_file_in; do
117875       case $f in
117876       -) echo $tmp/stdin ;;
117877       [\\/$]*)
117878          # Absolute (can't be DOS-style, as IFS=:)
117879          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117880 echo "$as_me: error: cannot find input file: $f" >&2;}
117881    { (exit 1); exit 1; }; }
117882          # Do quote $f, to prevent DOS paths from being IFS'd.
117883          echo "$f";;
117884       *) # Relative
117885          if test -f "$f"; then
117886            # Build tree
117887            echo "$f"
117888          elif test -f "$srcdir/$f"; then
117889            # Source tree
117890            echo "$srcdir/$f"
117891          else
117892            # /dev/null tree
117893            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117894 echo "$as_me: error: cannot find input file: $f" >&2;}
117895    { (exit 1); exit 1; }; }
117896          fi;;
117897       esac
117898     done` || { (exit 1); exit 1; }
117899   # Remove the trailing spaces.
117900   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
117901
117902 _ACEOF
117903
117904 # Transform confdefs.h into two sed scripts, `conftest.defines' and
117905 # `conftest.undefs', that substitutes the proper values into
117906 # config.h.in to produce config.h.  The first handles `#define'
117907 # templates, and the second `#undef' templates.
117908 # And first: Protect against being on the right side of a sed subst in
117909 # config.status.  Protect against being in an unquoted here document
117910 # in config.status.
117911 rm -f conftest.defines conftest.undefs
117912 # Using a here document instead of a string reduces the quoting nightmare.
117913 # Putting comments in sed scripts is not portable.
117914 #
117915 # `end' is used to avoid that the second main sed command (meant for
117916 # 0-ary CPP macros) applies to n-ary macro definitions.
117917 # See the Autoconf documentation for `clear'.
117918 cat >confdef2sed.sed <<\_ACEOF
117919 s/[\\&,]/\\&/g
117920 s,[\\$`],\\&,g
117921 t clear
117922 : clear
117923 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
117924 t end
117925 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
117926 : end
117927 _ACEOF
117928 # If some macros were called several times there might be several times
117929 # the same #defines, which is useless.  Nevertheless, we may not want to
117930 # sort them, since we want the *last* AC-DEFINE to be honored.
117931 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
117932 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
117933 rm -f confdef2sed.sed
117934
117935 # This sed command replaces #undef with comments.  This is necessary, for
117936 # example, in the case of _POSIX_SOURCE, which is predefined and required
117937 # on some systems where configure will not decide to define it.
117938 cat >>conftest.undefs <<\_ACEOF
117939 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
117940 _ACEOF
117941
117942 # Break up conftest.defines because some shells have a limit on the size
117943 # of here documents, and old seds have small limits too (100 cmds).
117944 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
117945 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
117946 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
117947 echo '  :' >>$CONFIG_STATUS
117948 rm -f conftest.tail
117949 while grep . conftest.defines >/dev/null
117950 do
117951   # Write a limited-size here document to $tmp/defines.sed.
117952   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
117953   # Speed up: don't consider the non `#define' lines.
117954   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
117955   # Work around the forget-to-reset-the-flag bug.
117956   echo 't clr' >>$CONFIG_STATUS
117957   echo ': clr' >>$CONFIG_STATUS
117958   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
117959   echo 'CEOF
117960   sed -f $tmp/defines.sed $tmp/in >$tmp/out
117961   rm -f $tmp/in
117962   mv $tmp/out $tmp/in
117963 ' >>$CONFIG_STATUS
117964   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
117965   rm -f conftest.defines
117966   mv conftest.tail conftest.defines
117967 done
117968 rm -f conftest.defines
117969 echo '  fi # grep' >>$CONFIG_STATUS
117970 echo >>$CONFIG_STATUS
117971
117972 # Break up conftest.undefs because some shells have a limit on the size
117973 # of here documents, and old seds have small limits too (100 cmds).
117974 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
117975 rm -f conftest.tail
117976 while grep . conftest.undefs >/dev/null
117977 do
117978   # Write a limited-size here document to $tmp/undefs.sed.
117979   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
117980   # Speed up: don't consider the non `#undef'
117981   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
117982   # Work around the forget-to-reset-the-flag bug.
117983   echo 't clr' >>$CONFIG_STATUS
117984   echo ': clr' >>$CONFIG_STATUS
117985   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
117986   echo 'CEOF
117987   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
117988   rm -f $tmp/in
117989   mv $tmp/out $tmp/in
117990 ' >>$CONFIG_STATUS
117991   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
117992   rm -f conftest.undefs
117993   mv conftest.tail conftest.undefs
117994 done
117995 rm -f conftest.undefs
117996
117997 cat >>$CONFIG_STATUS <<\_ACEOF
117998   # Let's still pretend it is `configure' which instantiates (i.e., don't
117999   # use $as_me), people would be surprised to read:
118000   #    /* config.h.  Generated by config.status.  */
118001   if test x"$ac_file" = x-; then
118002     echo "/* Generated by configure.  */" >$tmp/config.h
118003   else
118004     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
118005   fi
118006   cat $tmp/in >>$tmp/config.h
118007   rm -f $tmp/in
118008   if test x"$ac_file" != x-; then
118009     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
118010       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
118011 echo "$as_me: $ac_file is unchanged" >&6;}
118012     else
118013       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118015          X"$ac_file" : 'X\(//\)[^/]' \| \
118016          X"$ac_file" : 'X\(//\)$' \| \
118017          X"$ac_file" : 'X\(/\)' \| \
118018          .     : '\(.\)' 2>/dev/null ||
118019 echo X"$ac_file" |
118020     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118021           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118022           /^X\(\/\/\)$/{ s//\1/; q; }
118023           /^X\(\/\).*/{ s//\1/; q; }
118024           s/.*/./; q'`
118025       { if $as_mkdir_p; then
118026     mkdir -p "$ac_dir"
118027   else
118028     as_dir="$ac_dir"
118029     as_dirs=
118030     while test ! -d "$as_dir"; do
118031       as_dirs="$as_dir $as_dirs"
118032       as_dir=`(dirname "$as_dir") 2>/dev/null ||
118033 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118034          X"$as_dir" : 'X\(//\)[^/]' \| \
118035          X"$as_dir" : 'X\(//\)$' \| \
118036          X"$as_dir" : 'X\(/\)' \| \
118037          .     : '\(.\)' 2>/dev/null ||
118038 echo X"$as_dir" |
118039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118040           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118041           /^X\(\/\/\)$/{ s//\1/; q; }
118042           /^X\(\/\).*/{ s//\1/; q; }
118043           s/.*/./; q'`
118044     done
118045     test ! -n "$as_dirs" || mkdir $as_dirs
118046   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118047 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118048    { (exit 1); exit 1; }; }; }
118049
118050       rm -f $ac_file
118051       mv $tmp/config.h $ac_file
118052     fi
118053   else
118054     cat $tmp/config.h
118055     rm -f $tmp/config.h
118056   fi
118057 # Compute $ac_file's index in $config_headers.
118058 _am_stamp_count=1
118059 for _am_header in $config_headers :; do
118060   case $_am_header in
118061     $ac_file | $ac_file:* )
118062       break ;;
118063     * )
118064       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
118065   esac
118066 done
118067 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
118068 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118069          X$ac_file : 'X\(//\)[^/]' \| \
118070          X$ac_file : 'X\(//\)$' \| \
118071          X$ac_file : 'X\(/\)' \| \
118072          .     : '\(.\)' 2>/dev/null ||
118073 echo X$ac_file |
118074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118075           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118076           /^X\(\/\/\)$/{ s//\1/; q; }
118077           /^X\(\/\).*/{ s//\1/; q; }
118078           s/.*/./; q'`/stamp-h$_am_stamp_count
118079 done
118080 _ACEOF
118081 cat >>$CONFIG_STATUS <<\_ACEOF
118082
118083 #
118084 # CONFIG_COMMANDS section.
118085 #
118086 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
118087   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
118088   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
118089   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
118090 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118091          X"$ac_dest" : 'X\(//\)[^/]' \| \
118092          X"$ac_dest" : 'X\(//\)$' \| \
118093          X"$ac_dest" : 'X\(/\)' \| \
118094          .     : '\(.\)' 2>/dev/null ||
118095 echo X"$ac_dest" |
118096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118097           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118098           /^X\(\/\/\)$/{ s//\1/; q; }
118099           /^X\(\/\).*/{ s//\1/; q; }
118100           s/.*/./; q'`
118101   { if $as_mkdir_p; then
118102     mkdir -p "$ac_dir"
118103   else
118104     as_dir="$ac_dir"
118105     as_dirs=
118106     while test ! -d "$as_dir"; do
118107       as_dirs="$as_dir $as_dirs"
118108       as_dir=`(dirname "$as_dir") 2>/dev/null ||
118109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118110          X"$as_dir" : 'X\(//\)[^/]' \| \
118111          X"$as_dir" : 'X\(//\)$' \| \
118112          X"$as_dir" : 'X\(/\)' \| \
118113          .     : '\(.\)' 2>/dev/null ||
118114 echo X"$as_dir" |
118115     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118116           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118117           /^X\(\/\/\)$/{ s//\1/; q; }
118118           /^X\(\/\).*/{ s//\1/; q; }
118119           s/.*/./; q'`
118120     done
118121     test ! -n "$as_dirs" || mkdir $as_dirs
118122   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118123 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118124    { (exit 1); exit 1; }; }; }
118125
118126   ac_builddir=.
118127
118128 if test "$ac_dir" != .; then
118129   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118130   # A "../" for each directory in $ac_dir_suffix.
118131   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118132 else
118133   ac_dir_suffix= ac_top_builddir=
118134 fi
118135
118136 case $srcdir in
118137   .)  # No --srcdir option.  We are building in place.
118138     ac_srcdir=.
118139     if test -z "$ac_top_builddir"; then
118140        ac_top_srcdir=.
118141     else
118142        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118143     fi ;;
118144   [\\/]* | ?:[\\/]* )  # Absolute path.
118145     ac_srcdir=$srcdir$ac_dir_suffix;
118146     ac_top_srcdir=$srcdir ;;
118147   *) # Relative path.
118148     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118149     ac_top_srcdir=$ac_top_builddir$srcdir ;;
118150 esac
118151
118152 # Do not use `cd foo && pwd` to compute absolute paths, because
118153 # the directories may not exist.
118154 case `pwd` in
118155 .) ac_abs_builddir="$ac_dir";;
118156 *)
118157   case "$ac_dir" in
118158   .) ac_abs_builddir=`pwd`;;
118159   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118160   *) ac_abs_builddir=`pwd`/"$ac_dir";;
118161   esac;;
118162 esac
118163 case $ac_abs_builddir in
118164 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118165 *)
118166   case ${ac_top_builddir}. in
118167   .) ac_abs_top_builddir=$ac_abs_builddir;;
118168   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118169   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118170   esac;;
118171 esac
118172 case $ac_abs_builddir in
118173 .) ac_abs_srcdir=$ac_srcdir;;
118174 *)
118175   case $ac_srcdir in
118176   .) ac_abs_srcdir=$ac_abs_builddir;;
118177   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118178   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118179   esac;;
118180 esac
118181 case $ac_abs_builddir in
118182 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118183 *)
118184   case $ac_top_srcdir in
118185   .) ac_abs_top_srcdir=$ac_abs_builddir;;
118186   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118187   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118188   esac;;
118189 esac
118190
118191
118192   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
118193 echo "$as_me: executing $ac_dest commands" >&6;}
118194   case $ac_dest in
118195     default-1 )
118196 # Only add multilib support code if we just rebuilt the top-level
118197 # Makefile.
118198 case " $CONFIG_FILES " in
118199  *" Makefile "*)
118200    ac_file=Makefile . ${multi_basedir}/config-ml.in
118201    ;;
118202 esac ;;
118203     libtool )
118204
118205     # See if we are running on zsh, and set the options which allow our
118206     # commands through without removal of \ escapes.
118207     if test -n "${ZSH_VERSION+set}" ; then
118208       setopt NO_GLOB_SUBST
118209     fi
118210
118211     cfgfile="${ofile}T"
118212     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
118213     $RM "$cfgfile"
118214
118215     cat <<_LT_EOF >> "$cfgfile"
118216 #! $SHELL
118217
118218 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
118219 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
118220 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
118221 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
118222 #
118223 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
118224 # 2006, 2007 Free Software Foundation, Inc.
118225 #
118226 # This file is part of GNU Libtool:
118227 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
118228 #
118229 # This program is free software; you can redistribute it and/or modify
118230 # it under the terms of the GNU General Public License as published by
118231 # the Free Software Foundation; either version 2 of the License, or
118232 # (at your option) any later version.
118233 #
118234 # This program is distributed in the hope that it will be useful, but
118235 # WITHOUT ANY WARRANTY; without even the implied warranty of
118236 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
118237 # General Public License for more details.
118238 #
118239 # You should have received a copy of the GNU General Public License
118240 # along with this program; if not, a copy can be downloaded from
118241 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
118242 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
118243 # MA 02110-1301, USA.
118244 #
118245 # As a special exception to the GNU General Public License, if you
118246 # distribute this file as part of a program that contains a
118247 # configuration script generated by Autoconf, you may include it under
118248 # the same distribution terms that you use for the rest of that program.
118249
118250
118251 # The names of the tagged configurations supported by this script.
118252 available_tags="CXX "
118253
118254 # ### BEGIN LIBTOOL CONFIG
118255
118256 # Which release of libtool.m4 was used?
118257 macro_version=$macro_version
118258 macro_revision=$macro_revision
118259
118260 # Whether or not to build shared libraries.
118261 build_libtool_libs=$enable_shared
118262
118263 # Whether or not to build static libraries.
118264 build_old_libs=$enable_static
118265
118266 # What type of objects to build.
118267 pic_mode=$pic_mode
118268
118269 # Whether or not to optimize for fast installation.
118270 fast_install=$enable_fast_install
118271
118272 # The host system.
118273 host_alias=$host_alias
118274 host=$host
118275 host_os=$host_os
118276
118277 # The build system.
118278 build_alias=$build_alias
118279 build=$build
118280 build_os=$build_os
118281
118282 # A sed program that does not truncate output.
118283 SED=$lt_SED
118284
118285 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
118286 Xsed="\$SED -e 1s/^X//"
118287
118288 # A grep program that handles long lines.
118289 GREP=$lt_GREP
118290
118291 # An ERE matcher.
118292 EGREP=$lt_EGREP
118293
118294 # A literal string matcher.
118295 FGREP=$lt_FGREP
118296
118297 # A BSD- or MS-compatible name lister.
118298 NM=$lt_NM
118299
118300 # Whether we need soft or hard links.
118301 LN_S=$lt_LN_S
118302
118303 # What is the maximum length of a command?
118304 max_cmd_len=$max_cmd_len
118305
118306 # Object file suffix (normally "o").
118307 objext=$ac_objext
118308
118309 # Executable file suffix (normally "").
118310 exeext=$exeext
118311
118312 # whether the shell understands "unset".
118313 lt_unset=$lt_unset
118314
118315 # turn spaces into newlines.
118316 SP2NL=$lt_lt_SP2NL
118317
118318 # turn newlines into spaces.
118319 NL2SP=$lt_lt_NL2SP
118320
118321 # How to create reloadable object files.
118322 reload_flag=$lt_reload_flag
118323 reload_cmds=$lt_reload_cmds
118324
118325 # Method to check whether dependent libraries are shared objects.
118326 deplibs_check_method=$lt_deplibs_check_method
118327
118328 # Command to use when deplibs_check_method == "file_magic".
118329 file_magic_cmd=$lt_file_magic_cmd
118330
118331 # The archiver.
118332 AR=$lt_AR
118333 AR_FLAGS=$lt_AR_FLAGS
118334
118335 # A symbol stripping program.
118336 STRIP=$lt_STRIP
118337
118338 # Commands used to install an old-style archive.
118339 RANLIB=$lt_RANLIB
118340 old_postinstall_cmds=$lt_old_postinstall_cmds
118341 old_postuninstall_cmds=$lt_old_postuninstall_cmds
118342
118343 # A C compiler.
118344 LTCC=$lt_CC
118345
118346 # LTCC compiler flags.
118347 LTCFLAGS=$lt_CFLAGS
118348
118349 # Take the output of nm and produce a listing of raw symbols and C names.
118350 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
118351
118352 # Transform the output of nm in a proper C declaration.
118353 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
118354
118355 # Transform the output of nm in a C name address pair.
118356 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
118357
118358 # The name of the directory that contains temporary libtool files.
118359 objdir=$objdir
118360
118361 # Shell to use when invoking shell scripts.
118362 SHELL=$lt_SHELL
118363
118364 # An echo program that does not interpret backslashes.
118365 ECHO=$lt_ECHO
118366
118367 # Used to examine libraries when file_magic_cmd begins with "file".
118368 MAGIC_CMD=$MAGIC_CMD
118369
118370 # Must we lock files when doing compilation?
118371 need_locks=$lt_need_locks
118372
118373 # Old archive suffix (normally "a").
118374 libext=$libext
118375
118376 # Shared library suffix (normally ".so").
118377 shrext_cmds=$lt_shrext_cmds
118378
118379 # The commands to extract the exported symbol list from a shared archive.
118380 extract_expsyms_cmds=$lt_extract_expsyms_cmds
118381
118382 # Variables whose values should be saved in libtool wrapper scripts and
118383 # restored at link time.
118384 variables_saved_for_relink=$lt_variables_saved_for_relink
118385
118386 # Do we need the "lib" prefix for modules?
118387 need_lib_prefix=$need_lib_prefix
118388
118389 # Do we need a version for libraries?
118390 need_version=$need_version
118391
118392 # Library versioning type.
118393 version_type=$version_type
118394
118395 # Shared library runtime path variable.
118396 runpath_var=$runpath_var
118397
118398 # Shared library path variable.
118399 shlibpath_var=$shlibpath_var
118400
118401 # Is shlibpath searched before the hard-coded library search path?
118402 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
118403
118404 # Format of library name prefix.
118405 libname_spec=$lt_libname_spec
118406
118407 # List of archive names.  First name is the real one, the rest are links.
118408 # The last name is the one that the linker finds with -lNAME
118409 library_names_spec=$lt_library_names_spec
118410
118411 # The coded name of the library, if different from the real name.
118412 soname_spec=$lt_soname_spec
118413
118414 # Command to use after installation of a shared archive.
118415 postinstall_cmds=$lt_postinstall_cmds
118416
118417 # Command to use after uninstallation of a shared archive.
118418 postuninstall_cmds=$lt_postuninstall_cmds
118419
118420 # Commands used to finish a libtool library installation in a directory.
118421 finish_cmds=$lt_finish_cmds
118422
118423 # As "finish_cmds", except a single script fragment to be evaled but
118424 # not shown.
118425 finish_eval=$lt_finish_eval
118426
118427 # Whether we should hardcode library paths into libraries.
118428 hardcode_into_libs=$hardcode_into_libs
118429
118430 # Compile-time system search path for libraries.
118431 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
118432
118433 # Run-time system search path for libraries.
118434 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
118435
118436 # Whether dlopen is supported.
118437 dlopen_support=$enable_dlopen
118438
118439 # Whether dlopen of programs is supported.
118440 dlopen_self=$enable_dlopen_self
118441
118442 # Whether dlopen of statically linked programs is supported.
118443 dlopen_self_static=$enable_dlopen_self_static
118444
118445 # Commands to strip libraries.
118446 old_striplib=$lt_old_striplib
118447 striplib=$lt_striplib
118448
118449
118450 # The linker used to build libraries.
118451 LD=$lt_LD
118452
118453 # Commands used to build an old-style archive.
118454 old_archive_cmds=$lt_old_archive_cmds
118455
118456 # A language specific compiler.
118457 CC=$lt_compiler
118458
118459 # Is the compiler the GNU compiler?
118460 with_gcc=$GCC
118461
118462 # Compiler flag to turn off builtin functions.
118463 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
118464
118465 # How to pass a linker flag through the compiler.
118466 wl=$lt_lt_prog_compiler_wl
118467
118468 # Additional compiler flags for building library objects.
118469 pic_flag=$lt_lt_prog_compiler_pic
118470
118471 # Compiler flag to prevent dynamic linking.
118472 link_static_flag=$lt_lt_prog_compiler_static
118473
118474 # Does compiler simultaneously support -c and -o options?
118475 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
118476
118477 # Whether or not to add -lc for building shared libraries.
118478 build_libtool_need_lc=$archive_cmds_need_lc
118479
118480 # Whether or not to disallow shared libs when runtime libs are static.
118481 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
118482
118483 # Compiler flag to allow reflexive dlopens.
118484 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
118485
118486 # Compiler flag to generate shared objects directly from archives.
118487 whole_archive_flag_spec=$lt_whole_archive_flag_spec
118488
118489 # Whether the compiler copes with passing no objects directly.
118490 compiler_needs_object=$lt_compiler_needs_object
118491
118492 # Create an old-style archive from a shared archive.
118493 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
118494
118495 # Create a temporary old-style archive to link instead of a shared archive.
118496 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
118497
118498 # Commands used to build a shared archive.
118499 archive_cmds=$lt_archive_cmds
118500 archive_expsym_cmds=$lt_archive_expsym_cmds
118501
118502 # Commands used to build a loadable module if different from building
118503 # a shared archive.
118504 module_cmds=$lt_module_cmds
118505 module_expsym_cmds=$lt_module_expsym_cmds
118506
118507 # Whether we are building with GNU ld or not.
118508 with_gnu_ld=$lt_with_gnu_ld
118509
118510 # Flag that allows shared libraries with undefined symbols to be built.
118511 allow_undefined_flag=$lt_allow_undefined_flag
118512
118513 # Flag that enforces no undefined symbols.
118514 no_undefined_flag=$lt_no_undefined_flag
118515
118516 # Flag to hardcode \$libdir into a binary during linking.
118517 # This must work even if \$libdir does not exist
118518 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
118519
118520 # If ld is used when linking, flag to hardcode \$libdir into a binary
118521 # during linking.  This must work even if \$libdir does not exist.
118522 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
118523
118524 # Whether we need a single "-rpath" flag with a separated argument.
118525 hardcode_libdir_separator=$lt_hardcode_libdir_separator
118526
118527 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118528 # DIR into the resulting binary.
118529 hardcode_direct=$hardcode_direct
118530
118531 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118532 # DIR into the resulting binary and the resulting library dependency is
118533 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118534 # library is relocated.
118535 hardcode_direct_absolute=$hardcode_direct_absolute
118536
118537 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118538 # into the resulting binary.
118539 hardcode_minus_L=$hardcode_minus_L
118540
118541 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118542 # into the resulting binary.
118543 hardcode_shlibpath_var=$hardcode_shlibpath_var
118544
118545 # Set to "yes" if building a shared library automatically hardcodes DIR
118546 # into the library and all subsequent libraries and executables linked
118547 # against it.
118548 hardcode_automatic=$hardcode_automatic
118549
118550 # Set to yes if linker adds runtime paths of dependent libraries
118551 # to runtime path list.
118552 inherit_rpath=$inherit_rpath
118553
118554 # Whether libtool must link a program against all its dependency libraries.
118555 link_all_deplibs=$link_all_deplibs
118556
118557 # Fix the shell variable \$srcfile for the compiler.
118558 fix_srcfile_path=$lt_fix_srcfile_path
118559
118560 # Set to "yes" if exported symbols are required.
118561 always_export_symbols=$always_export_symbols
118562
118563 # The commands to list exported symbols.
118564 export_symbols_cmds=$lt_export_symbols_cmds
118565
118566 # Symbols that should not be listed in the preloaded symbols.
118567 exclude_expsyms=$lt_exclude_expsyms
118568
118569 # Symbols that must always be exported.
118570 include_expsyms=$lt_include_expsyms
118571
118572 # Commands necessary for linking programs (against libraries) with templates.
118573 prelink_cmds=$lt_prelink_cmds
118574
118575 # Specify filename containing input files.
118576 file_list_spec=$lt_file_list_spec
118577
118578 # How to hardcode a shared library path into an executable.
118579 hardcode_action=$hardcode_action
118580
118581 # Dependencies to place before and after the objects being linked to
118582 # create a shared library.
118583 predep_objects=$lt_predep_objects
118584 postdep_objects=$lt_postdep_objects
118585 predeps=$lt_predeps
118586 postdeps=$lt_postdeps
118587
118588 # The library search path used internally by the compiler when linking
118589 # a shared library.
118590 compiler_lib_search_path=$lt_compiler_lib_search_path
118591
118592 # ### END LIBTOOL CONFIG
118593
118594 _LT_EOF
118595
118596   case $host_os in
118597   aix3*)
118598     cat <<\_LT_EOF >> "$cfgfile"
118599 # AIX sometimes has problems with the GCC collect2 program.  For some
118600 # reason, if we set the COLLECT_NAMES environment variable, the problems
118601 # vanish in a puff of smoke.
118602 if test "X${COLLECT_NAMES+set}" != Xset; then
118603   COLLECT_NAMES=
118604   export COLLECT_NAMES
118605 fi
118606 _LT_EOF
118607     ;;
118608   esac
118609
118610
118611 ltmain="$ac_aux_dir/ltmain.sh"
118612
118613
118614   # We use sed instead of cat because bash on DJGPP gets confused if
118615   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
118616   # text mode, it properly converts lines to CR/LF.  This bash problem
118617   # is reportedly fixed, but why not run on old versions too?
118618   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
118619     || (rm -f "$cfgfile"; exit 1)
118620
118621   case $xsi_shell in
118622   yes)
118623     cat << \_LT_EOF >> "$cfgfile"
118624 # func_dirname file append nondir_replacement
118625 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
118626 # otherwise set result to NONDIR_REPLACEMENT.
118627 func_dirname ()
118628 {
118629   case ${1} in
118630     */*) func_dirname_result="${1%/*}${2}" ;;
118631     *  ) func_dirname_result="${3}" ;;
118632   esac
118633 }
118634
118635 # func_basename file
118636 func_basename ()
118637 {
118638   func_basename_result="${1##*/}"
118639 }
118640
118641 # func_stripname prefix suffix name
118642 # strip PREFIX and SUFFIX off of NAME.
118643 # PREFIX and SUFFIX must not contain globbing or regex special
118644 # characters, hashes, percent signs, but SUFFIX may contain a leading
118645 # dot (in which case that matches only a dot).
118646 func_stripname ()
118647 {
118648   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
118649   # positional parameters, so assign one to ordinary parameter first.
118650   func_stripname_result=${3}
118651   func_stripname_result=${func_stripname_result#"${1}"}
118652   func_stripname_result=${func_stripname_result%"${2}"}
118653 }
118654
118655 # func_opt_split
118656 func_opt_split ()
118657 {
118658   func_opt_split_opt=${1%%=*}
118659   func_opt_split_arg=${1#*=}
118660 }
118661
118662 # func_lo2o object
118663 func_lo2o ()
118664 {
118665   case ${1} in
118666     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
118667     *)    func_lo2o_result=${1} ;;
118668   esac
118669 }
118670 _LT_EOF
118671     ;;
118672   *) # Bourne compatible functions.
118673     cat << \_LT_EOF >> "$cfgfile"
118674 # func_dirname file append nondir_replacement
118675 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
118676 # otherwise set result to NONDIR_REPLACEMENT.
118677 func_dirname ()
118678 {
118679   # Extract subdirectory from the argument.
118680   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
118681   if test "X$func_dirname_result" = "X${1}"; then
118682     func_dirname_result="${3}"
118683   else
118684     func_dirname_result="$func_dirname_result${2}"
118685   fi
118686 }
118687
118688 # func_basename file
118689 func_basename ()
118690 {
118691   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
118692 }
118693
118694 # func_stripname prefix suffix name
118695 # strip PREFIX and SUFFIX off of NAME.
118696 # PREFIX and SUFFIX must not contain globbing or regex special
118697 # characters, hashes, percent signs, but SUFFIX may contain a leading
118698 # dot (in which case that matches only a dot).
118699 # func_strip_suffix prefix name
118700 func_stripname ()
118701 {
118702   case ${2} in
118703     .*) func_stripname_result=`$ECHO "X${3}" \
118704            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
118705     *)  func_stripname_result=`$ECHO "X${3}" \
118706            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
118707   esac
118708 }
118709
118710 # sed scripts:
118711 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
118712 my_sed_long_arg='1s/^-[^=]*=//'
118713
118714 # func_opt_split
118715 func_opt_split ()
118716 {
118717   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
118718   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
118719 }
118720
118721 # func_lo2o object
118722 func_lo2o ()
118723 {
118724   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
118725 }
118726 _LT_EOF
118727 esac
118728
118729 case $lt_shell_append in
118730   yes)
118731     cat << \_LT_EOF >> "$cfgfile"
118732
118733 # func_append var value
118734 # Append VALUE to the end of shell variable VAR.
118735 func_append ()
118736 {
118737   eval "$1+=\$2"
118738 }
118739 _LT_EOF
118740     ;;
118741   *)
118742     cat << \_LT_EOF >> "$cfgfile"
118743
118744 # func_append var value
118745 # Append VALUE to the end of shell variable VAR.
118746 func_append ()
118747 {
118748   eval "$1=\$$1\$2"
118749 }
118750 _LT_EOF
118751     ;;
118752   esac
118753
118754
118755   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
118756     || (rm -f "$cfgfile"; exit 1)
118757
118758   mv -f "$cfgfile" "$ofile" ||
118759     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
118760   chmod +x "$ofile"
118761
118762
118763     cat <<_LT_EOF >> "$ofile"
118764
118765 # ### BEGIN LIBTOOL TAG CONFIG: CXX
118766
118767 # The linker used to build libraries.
118768 LD=$lt_LD_CXX
118769
118770 # Commands used to build an old-style archive.
118771 old_archive_cmds=$lt_old_archive_cmds_CXX
118772
118773 # A language specific compiler.
118774 CC=$lt_compiler_CXX
118775
118776 # Is the compiler the GNU compiler?
118777 with_gcc=$GCC_CXX
118778
118779 # Compiler flag to turn off builtin functions.
118780 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
118781
118782 # How to pass a linker flag through the compiler.
118783 wl=$lt_lt_prog_compiler_wl_CXX
118784
118785 # Additional compiler flags for building library objects.
118786 pic_flag=$lt_lt_prog_compiler_pic_CXX
118787
118788 # Compiler flag to prevent dynamic linking.
118789 link_static_flag=$lt_lt_prog_compiler_static_CXX
118790
118791 # Does compiler simultaneously support -c and -o options?
118792 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
118793
118794 # Whether or not to add -lc for building shared libraries.
118795 build_libtool_need_lc=$archive_cmds_need_lc_CXX
118796
118797 # Whether or not to disallow shared libs when runtime libs are static.
118798 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
118799
118800 # Compiler flag to allow reflexive dlopens.
118801 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
118802
118803 # Compiler flag to generate shared objects directly from archives.
118804 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
118805
118806 # Whether the compiler copes with passing no objects directly.
118807 compiler_needs_object=$lt_compiler_needs_object_CXX
118808
118809 # Create an old-style archive from a shared archive.
118810 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
118811
118812 # Create a temporary old-style archive to link instead of a shared archive.
118813 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
118814
118815 # Commands used to build a shared archive.
118816 archive_cmds=$lt_archive_cmds_CXX
118817 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
118818
118819 # Commands used to build a loadable module if different from building
118820 # a shared archive.
118821 module_cmds=$lt_module_cmds_CXX
118822 module_expsym_cmds=$lt_module_expsym_cmds_CXX
118823
118824 # Whether we are building with GNU ld or not.
118825 with_gnu_ld=$lt_with_gnu_ld_CXX
118826
118827 # Flag that allows shared libraries with undefined symbols to be built.
118828 allow_undefined_flag=$lt_allow_undefined_flag_CXX
118829
118830 # Flag that enforces no undefined symbols.
118831 no_undefined_flag=$lt_no_undefined_flag_CXX
118832
118833 # Flag to hardcode \$libdir into a binary during linking.
118834 # This must work even if \$libdir does not exist
118835 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
118836
118837 # If ld is used when linking, flag to hardcode \$libdir into a binary
118838 # during linking.  This must work even if \$libdir does not exist.
118839 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
118840
118841 # Whether we need a single "-rpath" flag with a separated argument.
118842 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
118843
118844 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118845 # DIR into the resulting binary.
118846 hardcode_direct=$hardcode_direct_CXX
118847
118848 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118849 # DIR into the resulting binary and the resulting library dependency is
118850 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118851 # library is relocated.
118852 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
118853
118854 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118855 # into the resulting binary.
118856 hardcode_minus_L=$hardcode_minus_L_CXX
118857
118858 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118859 # into the resulting binary.
118860 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
118861
118862 # Set to "yes" if building a shared library automatically hardcodes DIR
118863 # into the library and all subsequent libraries and executables linked
118864 # against it.
118865 hardcode_automatic=$hardcode_automatic_CXX
118866
118867 # Set to yes if linker adds runtime paths of dependent libraries
118868 # to runtime path list.
118869 inherit_rpath=$inherit_rpath_CXX
118870
118871 # Whether libtool must link a program against all its dependency libraries.
118872 link_all_deplibs=$link_all_deplibs_CXX
118873
118874 # Fix the shell variable \$srcfile for the compiler.
118875 fix_srcfile_path=$lt_fix_srcfile_path_CXX
118876
118877 # Set to "yes" if exported symbols are required.
118878 always_export_symbols=$always_export_symbols_CXX
118879
118880 # The commands to list exported symbols.
118881 export_symbols_cmds=$lt_export_symbols_cmds_CXX
118882
118883 # Symbols that should not be listed in the preloaded symbols.
118884 exclude_expsyms=$lt_exclude_expsyms_CXX
118885
118886 # Symbols that must always be exported.
118887 include_expsyms=$lt_include_expsyms_CXX
118888
118889 # Commands necessary for linking programs (against libraries) with templates.
118890 prelink_cmds=$lt_prelink_cmds_CXX
118891
118892 # Specify filename containing input files.
118893 file_list_spec=$lt_file_list_spec_CXX
118894
118895 # How to hardcode a shared library path into an executable.
118896 hardcode_action=$hardcode_action_CXX
118897
118898 # Dependencies to place before and after the objects being linked to
118899 # create a shared library.
118900 predep_objects=$lt_predep_objects_CXX
118901 postdep_objects=$lt_postdep_objects_CXX
118902 predeps=$lt_predeps_CXX
118903 postdeps=$lt_postdeps_CXX
118904
118905 # The library search path used internally by the compiler when linking
118906 # a shared library.
118907 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
118908
118909 # ### END LIBTOOL TAG CONFIG: CXX
118910 _LT_EOF
118911
118912  ;;
118913     default ) if test -n "$CONFIG_FILES"; then
118914    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
118915    # that multilib installs will end up installed in the correct place.
118916    # The testsuite needs it for multilib-aware ABI baseline files.
118917    # To work around this not being passed down from config-ml.in ->
118918    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
118919    # append it here.  Only modify Makefiles that have just been created.
118920    #
118921    # Also, get rid of this simulated-VPATH thing that automake does.
118922    cat > vpsed << \_EOF
118923 s!`test -f '$<' || echo '$(srcdir)/'`!!
118924 _EOF
118925    for i in $SUBDIRS; do
118926     case $CONFIG_FILES in
118927      *${i}/Makefile*)
118928        #echo "Adding MULTISUBDIR to $i/Makefile"
118929        sed -f vpsed $i/Makefile > tmp
118930        grep '^MULTISUBDIR =' Makefile >> tmp
118931        mv tmp $i/Makefile
118932        ;;
118933     esac
118934    done
118935    rm vpsed
118936  fi
118937  (cd include && ${MAKE-make})
118938  ;;
118939   esac
118940 done
118941 _ACEOF
118942
118943 cat >>$CONFIG_STATUS <<\_ACEOF
118944
118945 { (exit 0); exit 0; }
118946 _ACEOF
118947 chmod +x $CONFIG_STATUS
118948 ac_clean_files=$ac_clean_files_save
118949
118950
118951 # configure is writing to config.log, and then calls config.status.
118952 # config.status does its own redirection, appending to config.log.
118953 # Unfortunately, on DOS this fails, as config.log is still kept open
118954 # by configure, so config.status won't be able to write to it; its
118955 # output is simply discarded.  So we exec the FD to /dev/null,
118956 # effectively closing config.log, so it can be properly (re)opened and
118957 # appended to by config.status.  When coming back to configure, we
118958 # need to make the FD available again.
118959 if test "$no_create" != yes; then
118960   ac_cs_success=:
118961   ac_config_status_args=
118962   test "$silent" = yes &&
118963     ac_config_status_args="$ac_config_status_args --quiet"
118964   exec 5>/dev/null
118965   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
118966   exec 5>>config.log
118967   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
118968   # would make configure fail if this is the last instruction.
118969   $ac_cs_success || { (exit 1); exit 1; }
118970 fi
118971