OSDN Git Service

67070dd29c7618c561c4499d51885a7816a77996
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS GLIBCXX_LIBS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463 ac_pwd=`pwd`
464
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
484
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
502
503 ac_prev=
504 for ac_option
505 do
506   # If the previous option needs an argument, assign it.
507   if test -n "$ac_prev"; then
508     eval "$ac_prev=\$ac_option"
509     ac_prev=
510     continue
511   fi
512
513   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515   # Accept the important Cygnus configure options, so we can diagnose typos.
516
517   case $ac_option in
518
519   -bindir | --bindir | --bindi | --bind | --bin | --bi)
520     ac_prev=bindir ;;
521   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522     bindir=$ac_optarg ;;
523
524   -build | --build | --buil | --bui | --bu)
525     ac_prev=build_alias ;;
526   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527     build_alias=$ac_optarg ;;
528
529   -cache-file | --cache-file | --cache-fil | --cache-fi \
530   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531     ac_prev=cache_file ;;
532   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534     cache_file=$ac_optarg ;;
535
536   --config-cache | -C)
537     cache_file=config.cache ;;
538
539   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540     ac_prev=datadir ;;
541   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542   | --da=*)
543     datadir=$ac_optarg ;;
544
545   -disable-* | --disable-*)
546     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547     # Reject names that are not valid shell variable names.
548     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550    { (exit 1); exit 1; }; }
551     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552     eval "enable_$ac_feature=no" ;;
553
554   -enable-* | --enable-*)
555     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556     # Reject names that are not valid shell variable names.
557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559    { (exit 1); exit 1; }; }
560     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561     case $ac_option in
562       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563       *) ac_optarg=yes ;;
564     esac
565     eval "enable_$ac_feature='$ac_optarg'" ;;
566
567   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569   | --exec | --exe | --ex)
570     ac_prev=exec_prefix ;;
571   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573   | --exec=* | --exe=* | --ex=*)
574     exec_prefix=$ac_optarg ;;
575
576   -gas | --gas | --ga | --g)
577     # Obsolete; use --with-gas.
578     with_gas=yes ;;
579
580   -help | --help | --hel | --he | -h)
581     ac_init_help=long ;;
582   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583     ac_init_help=recursive ;;
584   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585     ac_init_help=short ;;
586
587   -host | --host | --hos | --ho)
588     ac_prev=host_alias ;;
589   -host=* | --host=* | --hos=* | --ho=*)
590     host_alias=$ac_optarg ;;
591
592   -includedir | --includedir | --includedi | --included | --include \
593   | --includ | --inclu | --incl | --inc)
594     ac_prev=includedir ;;
595   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596   | --includ=* | --inclu=* | --incl=* | --inc=*)
597     includedir=$ac_optarg ;;
598
599   -infodir | --infodir | --infodi | --infod | --info | --inf)
600     ac_prev=infodir ;;
601   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602     infodir=$ac_optarg ;;
603
604   -libdir | --libdir | --libdi | --libd)
605     ac_prev=libdir ;;
606   -libdir=* | --libdir=* | --libdi=* | --libd=*)
607     libdir=$ac_optarg ;;
608
609   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610   | --libexe | --libex | --libe)
611     ac_prev=libexecdir ;;
612   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613   | --libexe=* | --libex=* | --libe=*)
614     libexecdir=$ac_optarg ;;
615
616   -localstatedir | --localstatedir | --localstatedi | --localstated \
617   | --localstate | --localstat | --localsta | --localst \
618   | --locals | --local | --loca | --loc | --lo)
619     ac_prev=localstatedir ;;
620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623     localstatedir=$ac_optarg ;;
624
625   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626     ac_prev=mandir ;;
627   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628     mandir=$ac_optarg ;;
629
630   -nfp | --nfp | --nf)
631     # Obsolete; use --without-fp.
632     with_fp=no ;;
633
634   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635   | --no-cr | --no-c | -n)
636     no_create=yes ;;
637
638   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640     no_recursion=yes ;;
641
642   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644   | --oldin | --oldi | --old | --ol | --o)
645     ac_prev=oldincludedir ;;
646   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649     oldincludedir=$ac_optarg ;;
650
651   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652     ac_prev=prefix ;;
653   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654     prefix=$ac_optarg ;;
655
656   -program-prefix | --program-prefix | --program-prefi | --program-pref \
657   | --program-pre | --program-pr | --program-p)
658     ac_prev=program_prefix ;;
659   -program-prefix=* | --program-prefix=* | --program-prefi=* \
660   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661     program_prefix=$ac_optarg ;;
662
663   -program-suffix | --program-suffix | --program-suffi | --program-suff \
664   | --program-suf | --program-su | --program-s)
665     ac_prev=program_suffix ;;
666   -program-suffix=* | --program-suffix=* | --program-suffi=* \
667   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668     program_suffix=$ac_optarg ;;
669
670   -program-transform-name | --program-transform-name \
671   | --program-transform-nam | --program-transform-na \
672   | --program-transform-n | --program-transform- \
673   | --program-transform | --program-transfor \
674   | --program-transfo | --program-transf \
675   | --program-trans | --program-tran \
676   | --progr-tra | --program-tr | --program-t)
677     ac_prev=program_transform_name ;;
678   -program-transform-name=* | --program-transform-name=* \
679   | --program-transform-nam=* | --program-transform-na=* \
680   | --program-transform-n=* | --program-transform-=* \
681   | --program-transform=* | --program-transfor=* \
682   | --program-transfo=* | --program-transf=* \
683   | --program-trans=* | --program-tran=* \
684   | --progr-tra=* | --program-tr=* | --program-t=*)
685     program_transform_name=$ac_optarg ;;
686
687   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688   | -silent | --silent | --silen | --sile | --sil)
689     silent=yes ;;
690
691   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692     ac_prev=sbindir ;;
693   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694   | --sbi=* | --sb=*)
695     sbindir=$ac_optarg ;;
696
697   -sharedstatedir | --sharedstatedir | --sharedstatedi \
698   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699   | --sharedst | --shareds | --shared | --share | --shar \
700   | --sha | --sh)
701     ac_prev=sharedstatedir ;;
702   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705   | --sha=* | --sh=*)
706     sharedstatedir=$ac_optarg ;;
707
708   -site | --site | --sit)
709     ac_prev=site ;;
710   -site=* | --site=* | --sit=*)
711     site=$ac_optarg ;;
712
713   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714     ac_prev=srcdir ;;
715   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716     srcdir=$ac_optarg ;;
717
718   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719   | --syscon | --sysco | --sysc | --sys | --sy)
720     ac_prev=sysconfdir ;;
721   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723     sysconfdir=$ac_optarg ;;
724
725   -target | --target | --targe | --targ | --tar | --ta | --t)
726     ac_prev=target_alias ;;
727   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728     target_alias=$ac_optarg ;;
729
730   -v | -verbose | --verbose | --verbos | --verbo | --verb)
731     verbose=yes ;;
732
733   -version | --version | --versio | --versi | --vers | -V)
734     ac_init_version=: ;;
735
736   -with-* | --with-*)
737     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738     # Reject names that are not valid shell variable names.
739     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740       { echo "$as_me: error: invalid package name: $ac_package" >&2
741    { (exit 1); exit 1; }; }
742     ac_package=`echo $ac_package| sed 's/-/_/g'`
743     case $ac_option in
744       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745       *) ac_optarg=yes ;;
746     esac
747     eval "with_$ac_package='$ac_optarg'" ;;
748
749   -without-* | --without-*)
750     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753       { echo "$as_me: error: invalid package name: $ac_package" >&2
754    { (exit 1); exit 1; }; }
755     ac_package=`echo $ac_package | sed 's/-/_/g'`
756     eval "with_$ac_package=no" ;;
757
758   --x)
759     # Obsolete; use --with-x.
760     with_x=yes ;;
761
762   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763   | --x-incl | --x-inc | --x-in | --x-i)
764     ac_prev=x_includes ;;
765   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767     x_includes=$ac_optarg ;;
768
769   -x-libraries | --x-libraries | --x-librarie | --x-librari \
770   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771     ac_prev=x_libraries ;;
772   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774     x_libraries=$ac_optarg ;;
775
776   -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778    { (exit 1); exit 1; }; }
779     ;;
780
781   *=*)
782     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783     # Reject names that are not valid shell variable names.
784     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786    { (exit 1); exit 1; }; }
787     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788     eval "$ac_envvar='$ac_optarg'"
789     export $ac_envvar ;;
790
791   *)
792     # FIXME: should be removed in autoconf 3.0.
793     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797     ;;
798
799   esac
800 done
801
802 if test -n "$ac_prev"; then
803   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804   { echo "$as_me: error: missing argument to $ac_option" >&2
805    { (exit 1); exit 1; }; }
806 fi
807
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
810 do
811   eval ac_val=$`echo $ac_var`
812   case $ac_val in
813     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815    { (exit 1); exit 1; }; };;
816   esac
817 done
818
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821               localstatedir libdir includedir oldincludedir infodir mandir
822 do
823   eval ac_val=$`echo $ac_var`
824   case $ac_val in
825     [\\/$]* | ?:[\\/]* ) ;;
826     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827    { (exit 1); exit 1; }; };;
828   esac
829 done
830
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
837
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840   if test "x$build_alias" = x; then
841     cross_compiling=maybe
842     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843     If a cross compiler is detected then cross compile mode will be used." >&2
844   elif test "x$build_alias" != "x$host_alias"; then
845     cross_compiling=yes
846   fi
847 fi
848
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852 test "$silent" = yes && exec 6>/dev/null
853
854
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857   ac_srcdir_defaulted=yes
858   # Try the directory containing this script, then its parent.
859   ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861          X"$0" : 'X\(//\)[^/]' \| \
862          X"$0" : 'X\(//\)$' \| \
863          X"$0" : 'X\(/\)' \| \
864          .     : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868           /^X\(\/\/\)$/{ s//\1/; q; }
869           /^X\(\/\).*/{ s//\1/; q; }
870           s/.*/./; q'`
871   srcdir=$ac_confdir
872   if test ! -r $srcdir/$ac_unique_file; then
873     srcdir=..
874   fi
875 else
876   ac_srcdir_defaulted=no
877 fi
878 if test ! -r $srcdir/$ac_unique_file; then
879   if test "$ac_srcdir_defaulted" = yes; then
880     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881    { (exit 1); exit 1; }; }
882   else
883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884    { (exit 1); exit 1; }; }
885   fi
886 fi
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889    { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
927
928 #
929 # Report the --help message.
930 #
931 if test "$ac_init_help" = "long"; then
932   # Omit some internal or obsolete options to make the list less imposing.
933   # This message is too long to be a string in the A/UX 3.1 sh.
934   cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936
937 Usage: $0 [OPTION]... [VAR=VALUE]...
938
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE.  See below for descriptions of some of the useful variables.
941
942 Defaults for the options are specified in brackets.
943
944 Configuration:
945   -h, --help              display this help and exit
946       --help=short        display options specific to this package
947       --help=recursive    display the short help of all the included packages
948   -V, --version           display version information and exit
949   -q, --quiet, --silent   do not print \`checking...' messages
950       --cache-file=FILE   cache test results in FILE [disabled]
951   -C, --config-cache      alias for \`--cache-file=config.cache'
952   -n, --no-create         do not create output files
953       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
954
955 _ACEOF
956
957   cat <<_ACEOF
958 Installation directories:
959   --prefix=PREFIX         install architecture-independent files in PREFIX
960                           [$ac_default_prefix]
961   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
962                           [PREFIX]
963
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
968
969 For better control, use the options below.
970
971 Fine tuning of the installation directories:
972   --bindir=DIR           user executables [EPREFIX/bin]
973   --sbindir=DIR          system admin executables [EPREFIX/sbin]
974   --libexecdir=DIR       program executables [EPREFIX/libexec]
975   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
976   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
977   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
978   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
979   --libdir=DIR           object code libraries [EPREFIX/lib]
980   --includedir=DIR       C header files [PREFIX/include]
981   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
982   --infodir=DIR          info documentation [PREFIX/info]
983   --mandir=DIR           man documentation [PREFIX/man]
984 _ACEOF
985
986   cat <<\_ACEOF
987
988 Program names:
989   --program-prefix=PREFIX            prepend PREFIX to installed program names
990   --program-suffix=SUFFIX            append SUFFIX to installed program names
991   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
992
993 System types:
994   --build=BUILD     configure for building on BUILD [guessed]
995   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
996   --target=TARGET   configure for building compilers for TARGET [HOST]
997 _ACEOF
998 fi
999
1000 if test -n "$ac_init_help"; then
1001   case $ac_init_help in
1002      short | recursive ) echo "Configuration of package-unused version-unused:";;
1003    esac
1004   cat <<\_ACEOF
1005
1006 Optional Features:
1007   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1008   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1009   --enable-multilib       build many library versions (default)
1010   --enable-maintainer-mode  enable make rules and dependencies not useful
1011                           (and sometimes confusing) to the casual installer
1012   --enable-shared[=PKGS]
1013                           build shared libraries [default=yes]
1014   --enable-static[=PKGS]
1015                           build static libraries [default=yes]
1016   --enable-fast-install[=PKGS]
1017                           optimize for fast installation [default=yes]
1018   --disable-libtool-lock  avoid locking (might break parallel builds)
1019   --disable-hosted-libstdcxx
1020                           only build freestanding C++ runtime support
1021   --enable-sjlj-exceptions
1022                           force use of builtin_setjmp for exceptions
1023                           [default=auto]
1024   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1025                           [default=$is_hosted]
1026   --enable-cstdio=PACKAGE use target-specific I/O package
1027                           [default=stdio]
1028   --enable-clocale[=MODEL]
1029                           use MODEL for target locale package
1030                           [default=auto]
1031   --enable-nls            use Native Language Support (default)
1032   --enable-libstdcxx-allocator=KIND
1033                           use KIND for target std::allocator base
1034                           [default=auto]
1035   --enable-cheaders=KIND  construct "C" headers for g++
1036                           [default=$c_model]
1037   --enable-long-long      enable template specializations for 'long long'
1038                           [default=yes]
1039   --enable-wchar_t        enable template specializations for 'wchar_t'
1040                           [default=yes]
1041   --enable-c99            turns on ISO/IEC 9899:1999 support
1042                           [default=yes]
1043   --enable-concept-checks use Boost-derived template checks [default=no]
1044   --enable-libstdcxx-debug-flags=FLAGS
1045                           pass compiler FLAGS when building debug library
1046                           [default="-g3 -O0"]
1047   --enable-libstdcxx-debug
1048                           build extra debug library [default=no]
1049   --enable-cxx-flags=FLAGS
1050                           pass compiler FLAGS when building library
1051                           [default=]
1052   --enable-fully-dynamic-string
1053                           do not put empty strings in per-process static
1054                           memory [default=no]
1055   --enable-tls            Use thread-local storage [default=yes]
1056   --disable-rpath         do not hardcode runtime library paths
1057   --enable-linux-futex    use the Linux futex system call
1058                           [default=default]
1059   --enable-symvers=STYLE  enables symbol versioning of the shared library
1060                           [default=yes]
1061   --enable-visibility     enables visibility safe usage [default=yes]
1062   --enable-version-specific-runtime-libs
1063                           Specify that runtime libraries should be installed
1064                           in a compiler-specific directory
1065
1066 Optional Packages:
1067   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1068   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1069   --with-target-subdir=SUBDIR
1070                           configuring in a subdirectory
1071   --with-cross-host=HOST  configuring with a cross compiler
1072   --with-newlib           assume newlib as a system C library
1073   --with-pic              try to use only PIC/non-PIC objects [default=use
1074                           both]
1075   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1076   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1077   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1078   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1079   --with-gxx-include-dir=DIR
1080                           installation directory for include files
1081
1082 Some influential environment variables:
1083   CC          C compiler command
1084   CFLAGS      C compiler flags
1085   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1086               nonstandard directory <lib dir>
1087   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088               headers in a nonstandard directory <include dir>
1089   CXX         C++ compiler command
1090   CXXFLAGS    C++ compiler flags
1091   CPP         C preprocessor
1092   CXXCPP      C++ preprocessor
1093
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1096
1097 _ACEOF
1098 fi
1099
1100 if test "$ac_init_help" = "recursive"; then
1101   # If there are subdirs, report their specific --help.
1102   ac_popdir=`pwd`
1103   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104     test -d $ac_dir || continue
1105     ac_builddir=.
1106
1107 if test "$ac_dir" != .; then
1108   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109   # A "../" for each directory in $ac_dir_suffix.
1110   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 else
1112   ac_dir_suffix= ac_top_builddir=
1113 fi
1114
1115 case $srcdir in
1116   .)  # No --srcdir option.  We are building in place.
1117     ac_srcdir=.
1118     if test -z "$ac_top_builddir"; then
1119        ac_top_srcdir=.
1120     else
1121        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122     fi ;;
1123   [\\/]* | ?:[\\/]* )  # Absolute path.
1124     ac_srcdir=$srcdir$ac_dir_suffix;
1125     ac_top_srcdir=$srcdir ;;
1126   *) # Relative path.
1127     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129 esac
1130
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1133 case `pwd` in
1134 .) ac_abs_builddir="$ac_dir";;
1135 *)
1136   case "$ac_dir" in
1137   .) ac_abs_builddir=`pwd`;;
1138   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140   esac;;
1141 esac
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 *)
1145   case ${ac_top_builddir}. in
1146   .) ac_abs_top_builddir=$ac_abs_builddir;;
1147   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149   esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_srcdir=$ac_srcdir;;
1153 *)
1154   case $ac_srcdir in
1155   .) ac_abs_srcdir=$ac_abs_builddir;;
1156   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158   esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 *)
1163   case $ac_top_srcdir in
1164   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167   esac;;
1168 esac
1169
1170     cd $ac_dir
1171     # Check for guested configure; otherwise get Cygnus style configure.
1172     if test -f $ac_srcdir/configure.gnu; then
1173       echo
1174       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1175     elif test -f $ac_srcdir/configure; then
1176       echo
1177       $SHELL $ac_srcdir/configure  --help=recursive
1178     elif test -f $ac_srcdir/configure.ac ||
1179            test -f $ac_srcdir/configure.in; then
1180       echo
1181       $ac_configure --help
1182     else
1183       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184     fi
1185     cd $ac_popdir
1186   done
1187 fi
1188
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1191   cat <<\_ACEOF
1192 package-unused configure version-unused
1193 generated by GNU Autoconf 2.59
1194
1195 Copyright (C) 2003 Free Software Foundation, Inc.
1196 This configure script is free software; the Free Software Foundation
1197 gives unlimited permission to copy, distribute and modify it.
1198 _ACEOF
1199   exit 0
1200 fi
1201 exec 5>config.log
1202 cat >&5 <<_ACEOF
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1205
1206 It was created by package-unused $as_me version-unused, which was
1207 generated by GNU Autoconf 2.59.  Invocation command line was
1208
1209   $ $0 $@
1210
1211 _ACEOF
1212 {
1213 cat <<_ASUNAME
1214 ## --------- ##
1215 ## Platform. ##
1216 ## --------- ##
1217
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1226
1227 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1228 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1231 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1232 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1233 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1234
1235 _ASUNAME
1236
1237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 for as_dir in $PATH
1239 do
1240   IFS=$as_save_IFS
1241   test -z "$as_dir" && as_dir=.
1242   echo "PATH: $as_dir"
1243 done
1244
1245 } >&5
1246
1247 cat >&5 <<_ACEOF
1248
1249
1250 ## ----------- ##
1251 ## Core tests. ##
1252 ## ----------- ##
1253
1254 _ACEOF
1255
1256
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_configure_args=
1263 ac_configure_args0=
1264 ac_configure_args1=
1265 ac_sep=
1266 ac_must_keep_next=false
1267 for ac_pass in 1 2
1268 do
1269   for ac_arg
1270   do
1271     case $ac_arg in
1272     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274     | -silent | --silent | --silen | --sile | --sil)
1275       continue ;;
1276     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1278     esac
1279     case $ac_pass in
1280     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281     2)
1282       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283       if test $ac_must_keep_next = true; then
1284         ac_must_keep_next=false # Got value, back to normal.
1285       else
1286         case $ac_arg in
1287           *=* | --config-cache | -C | -disable-* | --disable-* \
1288           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290           | -with-* | --with-* | -without-* | --without-* | --x)
1291             case "$ac_configure_args0 " in
1292               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1293             esac
1294             ;;
1295           -* ) ac_must_keep_next=true ;;
1296         esac
1297       fi
1298       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299       # Get rid of the leading space.
1300       ac_sep=" "
1301       ;;
1302     esac
1303   done
1304 done
1305 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log.  We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314   # Save into config.log some information that might help in debugging.
1315   {
1316     echo
1317
1318     cat <<\_ASBOX
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1322 _ASBOX
1323     echo
1324     # The following way of writing the cache mishandles newlines in values,
1325 {
1326   (set) 2>&1 |
1327     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1328     *ac_space=\ *)
1329       sed -n \
1330         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1332       ;;
1333     *)
1334       sed -n \
1335         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336       ;;
1337     esac;
1338 }
1339     echo
1340
1341     cat <<\_ASBOX
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1345 _ASBOX
1346     echo
1347     for ac_var in $ac_subst_vars
1348     do
1349       eval ac_val=$`echo $ac_var`
1350       echo "$ac_var='"'"'$ac_val'"'"'"
1351     done | sort
1352     echo
1353
1354     if test -n "$ac_subst_files"; then
1355       cat <<\_ASBOX
1356 ## ------------- ##
1357 ## Output files. ##
1358 ## ------------- ##
1359 _ASBOX
1360       echo
1361       for ac_var in $ac_subst_files
1362       do
1363         eval ac_val=$`echo $ac_var`
1364         echo "$ac_var='"'"'$ac_val'"'"'"
1365       done | sort
1366       echo
1367     fi
1368
1369     if test -s confdefs.h; then
1370       cat <<\_ASBOX
1371 ## ----------- ##
1372 ## confdefs.h. ##
1373 ## ----------- ##
1374 _ASBOX
1375       echo
1376       sed "/^$/d" confdefs.h | sort
1377       echo
1378     fi
1379     test "$ac_signal" != 0 &&
1380       echo "$as_me: caught signal $ac_signal"
1381     echo "$as_me: exit $exit_status"
1382   } >&5
1383   rm -f core *.core &&
1384   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1385     exit $exit_status
1386      ' 0
1387 for ac_signal in 1 2 13 15; do
1388   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389 done
1390 ac_signal=0
1391
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1395 echo >confdefs.h
1396
1397 # Predefined preprocessor variables.
1398
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1401 _ACEOF
1402
1403
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406 _ACEOF
1407
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1416 _ACEOF
1417
1418
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421 _ACEOF
1422
1423
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427   if test "x$prefix" != xNONE; then
1428     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1429   else
1430     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1431   fi
1432 fi
1433 for ac_site_file in $CONFIG_SITE; do
1434   if test -r "$ac_site_file"; then
1435     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437     sed 's/^/| /' "$ac_site_file" >&5
1438     . "$ac_site_file"
1439   fi
1440 done
1441
1442 if test -r "$cache_file"; then
1443   # Some versions of bash will fail to source /dev/null (special
1444   # files actually), so we avoid doing that.
1445   if test -f "$cache_file"; then
1446     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1448     case $cache_file in
1449       [\\/]* | ?:[\\/]* ) . $cache_file;;
1450       *)                      . ./$cache_file;;
1451     esac
1452   fi
1453 else
1454   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1456   >$cache_file
1457 fi
1458
1459 # Check that the precious variables saved in the cache have kept the same
1460 # value.
1461 ac_cache_corrupted=false
1462 for ac_var in `(set) 2>&1 |
1463                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465   eval ac_new_set=\$ac_env_${ac_var}_set
1466   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467   eval ac_new_val="\$ac_env_${ac_var}_value"
1468   case $ac_old_set,$ac_new_set in
1469     set,)
1470       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472       ac_cache_corrupted=: ;;
1473     ,set)
1474       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476       ac_cache_corrupted=: ;;
1477     ,);;
1478     *)
1479       if test "x$ac_old_val" != "x$ac_new_val"; then
1480         # differences in whitespace do not lead to failure.
1481         ac_old_val_w=`echo x $ac_old_val`
1482         ac_new_val_w=`echo x $ac_new_val`
1483         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1484           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486           ac_cache_corrupted=:
1487         else
1488           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1489 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1490           eval $ac_var=\$ac_old_val
1491         fi
1492         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1493 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1494         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1495 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1496       fi;;
1497   esac
1498   # Pass precious variables to config.status.
1499   if test "$ac_new_set" = set; then
1500     case $ac_new_val in
1501     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503     *) ac_arg=$ac_var=$ac_new_val ;;
1504     esac
1505     case " $ac_configure_args " in
1506       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1507       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508     esac
1509   fi
1510 done
1511 if $ac_cache_corrupted; then
1512   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1513 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1514   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1515 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1516   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1517 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1518    { (exit 1); exit 1; }; }
1519 fi
1520
1521 ac_ext=c
1522 ac_cpp='$CPP $CPPFLAGS'
1523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557           ac_config_headers="$ac_config_headers config.h"
1558
1559
1560 # This works around the fact that libtool configuration may change LD
1561 # for this particular configuration, but some shells, instead of
1562 # keeping the changes in LD private, export them just because LD is
1563 # exported.  Only used at the end of this file.
1564 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1565
1566 # For libtool versioning info, format is CURRENT:REVISION:AGE
1567 libtool_VERSION=6:11:0
1568
1569
1570 # Find the rest of the source tree framework.
1571 # Default to --enable-multilib
1572 # Check whether --enable-multilib or --disable-multilib was given.
1573 if test "${enable_multilib+set}" = set; then
1574   enableval="$enable_multilib"
1575   case "$enableval" in
1576   yes) multilib=yes ;;
1577   no)  multilib=no ;;
1578   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1579 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1580    { (exit 1); exit 1; }; } ;;
1581  esac
1582 else
1583   multilib=yes
1584 fi;
1585
1586 # We may get other options which we leave undocumented:
1587 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1588 # See config-ml.in if you want the gory details.
1589
1590 if test "$srcdir" = "."; then
1591   if test "$with_target_subdir" != "."; then
1592     multi_basedir="$srcdir/$with_multisrctop../.."
1593   else
1594     multi_basedir="$srcdir/$with_multisrctop.."
1595   fi
1596 else
1597   multi_basedir="$srcdir/.."
1598 fi
1599
1600
1601 # Even if the default multilib is not a cross compilation,
1602 # it may be that some of the other multilibs are.
1603 if test $cross_compiling = no && test $multilib = yes \
1604    && test "x${with_multisubdir}" != x ; then
1605    cross_compiling=maybe
1606 fi
1607
1608           ac_config_commands="$ac_config_commands default-1"
1609
1610
1611 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1612 #
1613 # You will slowly go insane if you do not grok the following fact:  when
1614 # building v3 as part of the compiler, the top-level /target/ becomes the
1615 # library's /host/.  configure then causes --target to default to --host,
1616 # exactly like any other package using autoconf.  Therefore, 'target' and
1617 # 'host' will always be the same.  This makes sense both for native and
1618 # cross compilers, just think about it for a little while.  :-)
1619 #
1620 # Also, if v3 is being configured as part of a cross compiler, the top-level
1621 # configure script will pass the "real" host as $with_cross_host.
1622 #
1623 # Do not delete or change the following two lines.  For why, see
1624 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1625 ac_aux_dir=
1626 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1627   if test -f $ac_dir/install-sh; then
1628     ac_aux_dir=$ac_dir
1629     ac_install_sh="$ac_aux_dir/install-sh -c"
1630     break
1631   elif test -f $ac_dir/install.sh; then
1632     ac_aux_dir=$ac_dir
1633     ac_install_sh="$ac_aux_dir/install.sh -c"
1634     break
1635   elif test -f $ac_dir/shtool; then
1636     ac_aux_dir=$ac_dir
1637     ac_install_sh="$ac_aux_dir/shtool install -c"
1638     break
1639   fi
1640 done
1641 if test -z "$ac_aux_dir"; then
1642   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1643 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1644    { (exit 1); exit 1; }; }
1645 fi
1646 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1647 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1648 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1649
1650 # Make sure we can run config.sub.
1651 $ac_config_sub sun4 >/dev/null 2>&1 ||
1652   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1653 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1654    { (exit 1); exit 1; }; }
1655
1656 echo "$as_me:$LINENO: checking build system type" >&5
1657 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1658 if test "${ac_cv_build+set}" = set; then
1659   echo $ECHO_N "(cached) $ECHO_C" >&6
1660 else
1661   ac_cv_build_alias=$build_alias
1662 test -z "$ac_cv_build_alias" &&
1663   ac_cv_build_alias=`$ac_config_guess`
1664 test -z "$ac_cv_build_alias" &&
1665   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1667    { (exit 1); exit 1; }; }
1668 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1669   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1670 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1671    { (exit 1); exit 1; }; }
1672
1673 fi
1674 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1675 echo "${ECHO_T}$ac_cv_build" >&6
1676 build=$ac_cv_build
1677 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1678 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1679 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1680
1681
1682 echo "$as_me:$LINENO: checking host system type" >&5
1683 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1684 if test "${ac_cv_host+set}" = set; then
1685   echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687   ac_cv_host_alias=$host_alias
1688 test -z "$ac_cv_host_alias" &&
1689   ac_cv_host_alias=$ac_cv_build_alias
1690 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1691   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1692 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1693    { (exit 1); exit 1; }; }
1694
1695 fi
1696 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1697 echo "${ECHO_T}$ac_cv_host" >&6
1698 host=$ac_cv_host
1699 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1700 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1701 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1702
1703
1704 echo "$as_me:$LINENO: checking target system type" >&5
1705 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1706 if test "${ac_cv_target+set}" = set; then
1707   echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709   ac_cv_target_alias=$target_alias
1710 test "x$ac_cv_target_alias" = "x" &&
1711   ac_cv_target_alias=$ac_cv_host_alias
1712 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1713   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1714 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1715    { (exit 1); exit 1; }; }
1716
1717 fi
1718 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1719 echo "${ECHO_T}$ac_cv_target" >&6
1720 target=$ac_cv_target
1721 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1722 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1723 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1724
1725
1726 # The aliases save the names the user supplied, while $host etc.
1727 # will get canonicalized.
1728 test -n "$target_alias" &&
1729   test "$program_prefix$program_suffix$program_transform_name" = \
1730     NONENONEs,x,x, &&
1731   program_prefix=${target_alias}-
1732 target_alias=${target_alias-$host_alias}
1733
1734 # Handy for debugging:
1735 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1736
1737 if test "$build" != "$host"; then
1738   # We are being configured with some form of cross compiler.
1739   GLIBCXX_IS_NATIVE=false
1740   case "$host","$target" in
1741     # Darwin crosses can use the host system's libraries and headers,
1742     # because of the fat library support.  Of course, it must be the
1743     # same version of Darwin on both sides.  Allow the user to
1744     # just say --target=foo-darwin without a version number to mean
1745     # "the version on this system".
1746       *-*-darwin*,*-*-darwin*)
1747         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1748         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1749         if test $hostos = $targetos -o $targetos = darwin ; then
1750           GLIBCXX_IS_NATIVE=true
1751         fi
1752         ;;
1753
1754       *)
1755
1756         ;;
1757   esac
1758 else
1759   GLIBCXX_IS_NATIVE=true
1760 fi
1761
1762 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1763 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1764 #  1.x:  minimum required version
1765 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1766 #              of other PACKAGE_* variables will, however, and there's nothing
1767 #              we can do about that; they come from AC_INIT).
1768 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1769 #            file in the top srcdir, etc, etc), so stop complaining.
1770 #  no-dependencies:  turns off auto dependency generation (just for now)
1771 #  -Wall:  turns on all automake warnings...
1772 #  -Wno-portability:  ...except this one, since GNU make is now required.
1773 am__api_version="1.9"
1774 # Find a good install program.  We prefer a C program (faster),
1775 # so one script is as good as another.  But avoid the broken or
1776 # incompatible versions:
1777 # SysV /etc/install, /usr/sbin/install
1778 # SunOS /usr/etc/install
1779 # IRIX /sbin/install
1780 # AIX /bin/install
1781 # AmigaOS /C/install, which installs bootblocks on floppy discs
1782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785 # OS/2's system install, which has a completely different semantic
1786 # ./install, which can be erroneously created by make from ./install.sh.
1787 # Reject install programs that cannot install multiple files.
1788 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1789 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1790 if test -z "$INSTALL"; then
1791 if test "${ac_cv_path_install+set}" = set; then
1792   echo $ECHO_N "(cached) $ECHO_C" >&6
1793 else
1794   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 for as_dir in $PATH
1796 do
1797   IFS=$as_save_IFS
1798   test -z "$as_dir" && as_dir=.
1799   # Account for people who put trailing slashes in PATH elements.
1800 case $as_dir/ in
1801   ./ | .// | /cC/* | \
1802   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804   /usr/ucb/* ) ;;
1805   *)
1806     # OSF1 and SCO ODT 3.0 have their own names for install.
1807     # Don't use installbsd from OSF since it installs stuff as root
1808     # by default.
1809     for ac_prog in ginstall scoinst install; do
1810       for ac_exec_ext in '' $ac_executable_extensions; do
1811         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1812           if test $ac_prog = install &&
1813             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814             # AIX install.  It has an incompatible calling convention.
1815             :
1816           elif test $ac_prog = install &&
1817             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818             # program-specific install script used by HP pwplus--don't use.
1819             :
1820           else
1821             rm -rf conftest.one conftest.two conftest.dir
1822             echo one > conftest.one
1823             echo two > conftest.two
1824             mkdir conftest.dir
1825             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1826               test -s conftest.one && test -s conftest.two &&
1827               test -s conftest.dir/conftest.one &&
1828               test -s conftest.dir/conftest.two
1829             then
1830               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831               break 3
1832             fi
1833           fi
1834         fi
1835       done
1836     done
1837     ;;
1838 esac
1839 done
1840
1841 rm -rf conftest.one conftest.two conftest.dir
1842
1843 fi
1844   if test "${ac_cv_path_install+set}" = set; then
1845     INSTALL=$ac_cv_path_install
1846   else
1847     # As a last resort, use the slow shell script.  Don't cache a
1848     # value for INSTALL within a source directory, because that will
1849     # break other packages using the cache if that directory is
1850     # removed, or if the value is a relative name.
1851     INSTALL=$ac_install_sh
1852   fi
1853 fi
1854 echo "$as_me:$LINENO: result: $INSTALL" >&5
1855 echo "${ECHO_T}$INSTALL" >&6
1856
1857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1858 # It thinks the first close brace ends the variable substitution.
1859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1860
1861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1862
1863 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1864
1865 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1866 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1867 # Just in case
1868 sleep 1
1869 echo timestamp > conftest.file
1870 # Do `set' in a subshell so we don't clobber the current shell's
1871 # arguments.  Must try -L first in case configure is actually a
1872 # symlink; some systems play weird games with the mod time of symlinks
1873 # (eg FreeBSD returns the mod time of the symlink's containing
1874 # directory).
1875 if (
1876    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1877    if test "$*" = "X"; then
1878       # -L didn't work.
1879       set X `ls -t $srcdir/configure conftest.file`
1880    fi
1881    rm -f conftest.file
1882    if test "$*" != "X $srcdir/configure conftest.file" \
1883       && test "$*" != "X conftest.file $srcdir/configure"; then
1884
1885       # If neither matched, then we have a broken ls.  This can happen
1886       # if, for instance, CONFIG_SHELL is bash and it inherits a
1887       # broken ls alias from the environment.  This has actually
1888       # happened.  Such a system could not be considered "sane".
1889       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1890 alias in your environment" >&5
1891 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1892 alias in your environment" >&2;}
1893    { (exit 1); exit 1; }; }
1894    fi
1895
1896    test "$2" = conftest.file
1897    )
1898 then
1899    # Ok.
1900    :
1901 else
1902    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1903 Check your system clock" >&5
1904 echo "$as_me: error: newly created file is older than distributed files!
1905 Check your system clock" >&2;}
1906    { (exit 1); exit 1; }; }
1907 fi
1908 echo "$as_me:$LINENO: result: yes" >&5
1909 echo "${ECHO_T}yes" >&6
1910 test "$program_prefix" != NONE &&
1911   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1912 # Use a double $ so make ignores it.
1913 test "$program_suffix" != NONE &&
1914   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1915 # Double any \ or $.  echo might interpret backslashes.
1916 # By default was `s,x,x', remove it if useless.
1917 cat <<\_ACEOF >conftest.sed
1918 s/[\\$]/&&/g;s/;s,x,x,$//
1919 _ACEOF
1920 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1921 rm conftest.sed
1922
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir=`cd $ac_aux_dir && pwd`
1925
1926 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929   am_missing_run="$MISSING --run "
1930 else
1931   am_missing_run=
1932   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1934 fi
1935
1936 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1937   # We used to keeping the `.' as first argument, in order to
1938   # allow $(mkdir_p) to be used without argument.  As in
1939   #   $(mkdir_p) $(somedir)
1940   # where $(somedir) is conditionally defined.  However this is wrong
1941   # for two reasons:
1942   #  1. if the package is installed by a user who cannot write `.'
1943   #     make install will fail,
1944   #  2. the above comment should most certainly read
1945   #     $(mkdir_p) $(DESTDIR)$(somedir)
1946   #     so it does not work when $(somedir) is undefined and
1947   #     $(DESTDIR) is not.
1948   #  To support the latter case, we have to write
1949   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1950   #  so the `.' trick is pointless.
1951   mkdir_p='mkdir -p --'
1952 else
1953   # On NextStep and OpenStep, the `mkdir' command does not
1954   # recognize any option.  It will interpret all options as
1955   # directories to create, and then abort because `.' already
1956   # exists.
1957   for d in ./-p ./--version;
1958   do
1959     test -d $d && rmdir $d
1960   done
1961   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1962   if test -f "$ac_aux_dir/mkinstalldirs"; then
1963     mkdir_p='$(mkinstalldirs)'
1964   else
1965     mkdir_p='$(install_sh) -d'
1966   fi
1967 fi
1968
1969 for ac_prog in gawk mawk nawk awk
1970 do
1971   # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976   echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978   if test -n "$AWK"; then
1979   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1983 do
1984   IFS=$as_save_IFS
1985   test -z "$as_dir" && as_dir=.
1986   for ac_exec_ext in '' $ac_executable_extensions; do
1987   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988     ac_cv_prog_AWK="$ac_prog"
1989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990     break 2
1991   fi
1992 done
1993 done
1994
1995 fi
1996 fi
1997 AWK=$ac_cv_prog_AWK
1998 if test -n "$AWK"; then
1999   echo "$as_me:$LINENO: result: $AWK" >&5
2000 echo "${ECHO_T}$AWK" >&6
2001 else
2002   echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2004 fi
2005
2006   test -n "$AWK" && break
2007 done
2008
2009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2013   echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015   cat >conftest.make <<\_ACEOF
2016 all:
2017         @echo 'ac_maketemp="$(MAKE)"'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2021 if test -n "$ac_maketemp"; then
2022   eval ac_cv_prog_make_${ac_make}_set=yes
2023 else
2024   eval ac_cv_prog_make_${ac_make}_set=no
2025 fi
2026 rm -f conftest.make
2027 fi
2028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2029   echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2031   SET_MAKE=
2032 else
2033   echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2035   SET_MAKE="MAKE=${MAKE-make}"
2036 fi
2037
2038 rm -rf .tst 2>/dev/null
2039 mkdir .tst 2>/dev/null
2040 if test -d .tst; then
2041   am__leading_dot=.
2042 else
2043   am__leading_dot=_
2044 fi
2045 rmdir .tst 2>/dev/null
2046
2047 # test to see if srcdir already configured
2048 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2049    test -f $srcdir/config.status; then
2050   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052    { (exit 1); exit 1; }; }
2053 fi
2054
2055 # test whether we have cygpath
2056 if test -z "$CYGPATH_W"; then
2057   if (cygpath --version) >/dev/null 2>/dev/null; then
2058     CYGPATH_W='cygpath -w'
2059   else
2060     CYGPATH_W=echo
2061   fi
2062 fi
2063
2064
2065 # Define the identity of the package.
2066  PACKAGE='libstdc++'
2067  VERSION='version-unused'
2068
2069
2070 # Some tools Automake needs.
2071
2072 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2073
2074
2075 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2076
2077
2078 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2079
2080
2081 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2082
2083
2084 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2085
2086 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2087
2088 # Installed binaries are usually stripped using `strip' when the user
2089 # run `make install-strip'.  However `strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the `STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no; then
2093   if test -n "$ac_tool_prefix"; then
2094   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}strip; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_STRIP+set}" = set; then
2099   echo $ECHO_N "(cached) $ECHO_C" >&6
2100 else
2101   if test -n "$STRIP"; then
2102   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2103 else
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2106 do
2107   IFS=$as_save_IFS
2108   test -z "$as_dir" && as_dir=.
2109   for ac_exec_ext in '' $ac_executable_extensions; do
2110   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113     break 2
2114   fi
2115 done
2116 done
2117
2118 fi
2119 fi
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122   echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6
2124 else
2125   echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2127 fi
2128
2129 fi
2130 if test -z "$ac_cv_prog_STRIP"; then
2131   ac_ct_STRIP=$STRIP
2132   # Extract the first word of "strip", so it can be a program name with args.
2133 set dummy strip; ac_word=$2
2134 echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2137   echo $ECHO_N "(cached) $ECHO_C" >&6
2138 else
2139   if test -n "$ac_ct_STRIP"; then
2140   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2144 do
2145   IFS=$as_save_IFS
2146   test -z "$as_dir" && as_dir=.
2147   for ac_exec_ext in '' $ac_executable_extensions; do
2148   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149     ac_cv_prog_ac_ct_STRIP="strip"
2150     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151     break 2
2152   fi
2153 done
2154 done
2155
2156   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2157 fi
2158 fi
2159 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2160 if test -n "$ac_ct_STRIP"; then
2161   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2162 echo "${ECHO_T}$ac_ct_STRIP" >&6
2163 else
2164   echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2166 fi
2167
2168   STRIP=$ac_ct_STRIP
2169 else
2170   STRIP="$ac_cv_prog_STRIP"
2171 fi
2172
2173 fi
2174 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2175
2176 # We need awk for the "check" target.  The system "awk" is bad on
2177 # some platforms.
2178 # Always define AMTAR for backward compatibility.
2179
2180 AMTAR=${AMTAR-"${am_missing_run}tar"}
2181
2182 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2194 # up critical shell variables.
2195
2196 ac_ext=c
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2203 # On Suns, sometimes $CPP names a directory.
2204 if test -n "$CPP" && test -d "$CPP"; then
2205   CPP=
2206 fi
2207 if test -z "$CPP"; then
2208   if test "${ac_cv_prog_CPP+set}" = set; then
2209   echo $ECHO_N "(cached) $ECHO_C" >&6
2210 else
2211       # Double quotes because CPP needs to be expanded
2212     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2213     do
2214       ac_preproc_ok=false
2215 for ac_c_preproc_warn_flag in '' yes
2216 do
2217   # Use a header file that comes with gcc, so configuring glibc
2218   # with a fresh cross-compiler works.
2219   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2220   # <limits.h> exists even on freestanding compilers.
2221   # On the NeXT, cc -E runs the code through the compiler's parser,
2222   # not just through cpp. "Syntax error" is here to catch this case.
2223   cat >conftest.$ac_ext <<_ACEOF
2224 /* confdefs.h.  */
2225 _ACEOF
2226 cat confdefs.h >>conftest.$ac_ext
2227 cat >>conftest.$ac_ext <<_ACEOF
2228 /* end confdefs.h.  */
2229 #ifdef __STDC__
2230 # include <limits.h>
2231 #else
2232 # include <assert.h>
2233 #endif
2234                      Syntax error
2235 _ACEOF
2236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2237   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2238   ac_status=$?
2239   grep -v '^ *+' conftest.er1 >conftest.err
2240   rm -f conftest.er1
2241   cat conftest.err >&5
2242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243   (exit $ac_status); } >/dev/null; then
2244   if test -s conftest.err; then
2245     ac_cpp_err=$ac_c_preproc_warn_flag
2246     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2247   else
2248     ac_cpp_err=
2249   fi
2250 else
2251   ac_cpp_err=yes
2252 fi
2253 if test -z "$ac_cpp_err"; then
2254   :
2255 else
2256   echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2258
2259   # Broken: fails on valid input.
2260 continue
2261 fi
2262 rm -f conftest.err conftest.$ac_ext
2263
2264   # OK, works on sane cases.  Now check whether non-existent headers
2265   # can be detected and how.
2266   cat >conftest.$ac_ext <<_ACEOF
2267 /* confdefs.h.  */
2268 _ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h.  */
2272 #include <ac_nonexistent.h>
2273 _ACEOF
2274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2276   ac_status=$?
2277   grep -v '^ *+' conftest.er1 >conftest.err
2278   rm -f conftest.er1
2279   cat conftest.err >&5
2280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281   (exit $ac_status); } >/dev/null; then
2282   if test -s conftest.err; then
2283     ac_cpp_err=$ac_c_preproc_warn_flag
2284     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2285   else
2286     ac_cpp_err=
2287   fi
2288 else
2289   ac_cpp_err=yes
2290 fi
2291 if test -z "$ac_cpp_err"; then
2292   # Broken: success on invalid input.
2293 continue
2294 else
2295   echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2297
2298   # Passes both tests.
2299 ac_preproc_ok=:
2300 break
2301 fi
2302 rm -f conftest.err conftest.$ac_ext
2303
2304 done
2305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2306 rm -f conftest.err conftest.$ac_ext
2307 if $ac_preproc_ok; then
2308   break
2309 fi
2310
2311     done
2312     ac_cv_prog_CPP=$CPP
2313
2314 fi
2315   CPP=$ac_cv_prog_CPP
2316 else
2317   ac_cv_prog_CPP=$CPP
2318 fi
2319 echo "$as_me:$LINENO: result: $CPP" >&5
2320 echo "${ECHO_T}$CPP" >&6
2321 ac_preproc_ok=false
2322 for ac_c_preproc_warn_flag in '' yes
2323 do
2324   # Use a header file that comes with gcc, so configuring glibc
2325   # with a fresh cross-compiler works.
2326   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327   # <limits.h> exists even on freestanding compilers.
2328   # On the NeXT, cc -E runs the code through the compiler's parser,
2329   # not just through cpp. "Syntax error" is here to catch this case.
2330   cat >conftest.$ac_ext <<_ACEOF
2331 /* confdefs.h.  */
2332 _ACEOF
2333 cat confdefs.h >>conftest.$ac_ext
2334 cat >>conftest.$ac_ext <<_ACEOF
2335 /* end confdefs.h.  */
2336 #ifdef __STDC__
2337 # include <limits.h>
2338 #else
2339 # include <assert.h>
2340 #endif
2341                      Syntax error
2342 _ACEOF
2343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2344   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2345   ac_status=$?
2346   grep -v '^ *+' conftest.er1 >conftest.err
2347   rm -f conftest.er1
2348   cat conftest.err >&5
2349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350   (exit $ac_status); } >/dev/null; then
2351   if test -s conftest.err; then
2352     ac_cpp_err=$ac_c_preproc_warn_flag
2353     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2354   else
2355     ac_cpp_err=
2356   fi
2357 else
2358   ac_cpp_err=yes
2359 fi
2360 if test -z "$ac_cpp_err"; then
2361   :
2362 else
2363   echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2365
2366   # Broken: fails on valid input.
2367 continue
2368 fi
2369 rm -f conftest.err conftest.$ac_ext
2370
2371   # OK, works on sane cases.  Now check whether non-existent headers
2372   # can be detected and how.
2373   cat >conftest.$ac_ext <<_ACEOF
2374 /* confdefs.h.  */
2375 _ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h.  */
2379 #include <ac_nonexistent.h>
2380 _ACEOF
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2383   ac_status=$?
2384   grep -v '^ *+' conftest.er1 >conftest.err
2385   rm -f conftest.er1
2386   cat conftest.err >&5
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); } >/dev/null; then
2389   if test -s conftest.err; then
2390     ac_cpp_err=$ac_c_preproc_warn_flag
2391     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2392   else
2393     ac_cpp_err=
2394   fi
2395 else
2396   ac_cpp_err=yes
2397 fi
2398 if test -z "$ac_cpp_err"; then
2399   # Broken: success on invalid input.
2400 continue
2401 else
2402   echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2404
2405   # Passes both tests.
2406 ac_preproc_ok=:
2407 break
2408 fi
2409 rm -f conftest.err conftest.$ac_ext
2410
2411 done
2412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2413 rm -f conftest.err conftest.$ac_ext
2414 if $ac_preproc_ok; then
2415   :
2416 else
2417   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&2;}
2423    { (exit 1); exit 1; }; }; }
2424 fi
2425
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431
2432
2433 echo "$as_me:$LINENO: checking for egrep" >&5
2434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2435 if test "${ac_cv_prog_egrep+set}" = set; then
2436   echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2439     then ac_cv_prog_egrep='grep -E'
2440     else ac_cv_prog_egrep='egrep'
2441     fi
2442 fi
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2444 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2445  EGREP=$ac_cv_prog_egrep
2446
2447
2448
2449   # Keep these sync'd with the list in Makefile.am.  The first provides an
2450   # expandable list at autoconf time; the second provides an expandable list
2451   # (i.e., shell variable) at configure time.
2452
2453   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2454
2455   # These need to be absolute paths, yet at the same time need to
2456   # canonicalize only relative paths, because then amd will not unmount
2457   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2458   glibcxx_builddir=`${PWDCMD-pwd}`
2459   case $srcdir in
2460     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2461     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2462   esac
2463   toplevel_srcdir=${glibcxx_srcdir}/..
2464
2465
2466
2467
2468   # We use these options to decide which functions to include.  They are
2469   # set from the top level.
2470
2471 # Check whether --with-target-subdir or --without-target-subdir was given.
2472 if test "${with_target_subdir+set}" = set; then
2473   withval="$with_target_subdir"
2474
2475 fi;
2476
2477
2478 # Check whether --with-cross-host or --without-cross-host was given.
2479 if test "${with_cross_host+set}" = set; then
2480   withval="$with_cross_host"
2481
2482 fi;
2483
2484
2485 # Check whether --with-newlib or --without-newlib was given.
2486 if test "${with_newlib+set}" = set; then
2487   withval="$with_newlib"
2488
2489 fi;
2490
2491   # We're almost certainly being configured before anything else which uses
2492   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2493   # we not cache the value of CXX that we "discover" here, because it's set
2494   # to something unique for us and libjava.  Other target libraries need to
2495   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2496   # process by sneakily renaming the cache variable.  This also lets us debug
2497   # the value of "our" CXX in postmortems.
2498   #
2499   # We must also force CXX to /not/ be a precious variable, otherwise the
2500   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2501   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2502   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2503   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2504   #
2505   # -fno-builtin must be present here so that a non-conflicting form of
2506   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2507
2508
2509
2510
2511   save_CXXFLAGS="$CXXFLAGS"
2512   CXXFLAGS="$CXXFLAGS -fno-builtin"
2513   ac_ext=c
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2518 if test -n "$ac_tool_prefix"; then
2519   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2520 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524   echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526   if test -n "$CC"; then
2527   ac_cv_prog_CC="$CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532   IFS=$as_save_IFS
2533   test -z "$as_dir" && as_dir=.
2534   for ac_exec_ext in '' $ac_executable_extensions; do
2535   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2537     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538     break 2
2539   fi
2540 done
2541 done
2542
2543 fi
2544 fi
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547   echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6
2549 else
2550   echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2552 fi
2553
2554 fi
2555 if test -z "$ac_cv_prog_CC"; then
2556   ac_ct_CC=$CC
2557   # Extract the first word of "gcc", so it can be a program name with args.
2558 set dummy gcc; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562   echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564   if test -n "$ac_ct_CC"; then
2565   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570   IFS=$as_save_IFS
2571   test -z "$as_dir" && as_dir=.
2572   for ac_exec_ext in '' $ac_executable_extensions; do
2573   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574     ac_cv_prog_ac_ct_CC="gcc"
2575     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576     break 2
2577   fi
2578 done
2579 done
2580
2581 fi
2582 fi
2583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2584 if test -n "$ac_ct_CC"; then
2585   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2586 echo "${ECHO_T}$ac_ct_CC" >&6
2587 else
2588   echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2590 fi
2591
2592   CC=$ac_ct_CC
2593 else
2594   CC="$ac_cv_prog_CC"
2595 fi
2596
2597 if test -z "$CC"; then
2598   if test -n "$ac_tool_prefix"; then
2599   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}cc; ac_word=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604   echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606   if test -n "$CC"; then
2607   ac_cv_prog_CC="$CC" # Let the user override the test.
2608 else
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2611 do
2612   IFS=$as_save_IFS
2613   test -z "$as_dir" && as_dir=.
2614   for ac_exec_ext in '' $ac_executable_extensions; do
2615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616     ac_cv_prog_CC="${ac_tool_prefix}cc"
2617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618     break 2
2619   fi
2620 done
2621 done
2622
2623 fi
2624 fi
2625 CC=$ac_cv_prog_CC
2626 if test -n "$CC"; then
2627   echo "$as_me:$LINENO: result: $CC" >&5
2628 echo "${ECHO_T}$CC" >&6
2629 else
2630   echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2632 fi
2633
2634 fi
2635 if test -z "$ac_cv_prog_CC"; then
2636   ac_ct_CC=$CC
2637   # Extract the first word of "cc", so it can be a program name with args.
2638 set dummy cc; ac_word=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642   echo $ECHO_N "(cached) $ECHO_C" >&6
2643 else
2644   if test -n "$ac_ct_CC"; then
2645   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646 else
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2649 do
2650   IFS=$as_save_IFS
2651   test -z "$as_dir" && as_dir=.
2652   for ac_exec_ext in '' $ac_executable_extensions; do
2653   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654     ac_cv_prog_ac_ct_CC="cc"
2655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656     break 2
2657   fi
2658 done
2659 done
2660
2661 fi
2662 fi
2663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666 echo "${ECHO_T}$ac_ct_CC" >&6
2667 else
2668   echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2670 fi
2671
2672   CC=$ac_ct_CC
2673 else
2674   CC="$ac_cv_prog_CC"
2675 fi
2676
2677 fi
2678 if test -z "$CC"; then
2679   # Extract the first word of "cc", so it can be a program name with args.
2680 set dummy cc; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_CC+set}" = set; then
2684   echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686   if test -n "$CC"; then
2687   ac_cv_prog_CC="$CC" # Let the user override the test.
2688 else
2689   ac_prog_rejected=no
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693   IFS=$as_save_IFS
2694   test -z "$as_dir" && as_dir=.
2695   for ac_exec_ext in '' $ac_executable_extensions; do
2696   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2698        ac_prog_rejected=yes
2699        continue
2700      fi
2701     ac_cv_prog_CC="cc"
2702     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703     break 2
2704   fi
2705 done
2706 done
2707
2708 if test $ac_prog_rejected = yes; then
2709   # We found a bogon in the path, so make sure we never use it.
2710   set dummy $ac_cv_prog_CC
2711   shift
2712   if test $# != 0; then
2713     # We chose a different compiler from the bogus one.
2714     # However, it has the same basename, so the bogon will be chosen
2715     # first if we set CC to just the basename; use the full file name.
2716     shift
2717     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2718   fi
2719 fi
2720 fi
2721 fi
2722 CC=$ac_cv_prog_CC
2723 if test -n "$CC"; then
2724   echo "$as_me:$LINENO: result: $CC" >&5
2725 echo "${ECHO_T}$CC" >&6
2726 else
2727   echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2729 fi
2730
2731 fi
2732 if test -z "$CC"; then
2733   if test -n "$ac_tool_prefix"; then
2734   for ac_prog in cl
2735   do
2736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741   echo $ECHO_N "(cached) $ECHO_C" >&6
2742 else
2743   if test -n "$CC"; then
2744   ac_cv_prog_CC="$CC" # Let the user override the test.
2745 else
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH
2748 do
2749   IFS=$as_save_IFS
2750   test -z "$as_dir" && as_dir=.
2751   for ac_exec_ext in '' $ac_executable_extensions; do
2752   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2754     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755     break 2
2756   fi
2757 done
2758 done
2759
2760 fi
2761 fi
2762 CC=$ac_cv_prog_CC
2763 if test -n "$CC"; then
2764   echo "$as_me:$LINENO: result: $CC" >&5
2765 echo "${ECHO_T}$CC" >&6
2766 else
2767   echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2769 fi
2770
2771     test -n "$CC" && break
2772   done
2773 fi
2774 if test -z "$CC"; then
2775   ac_ct_CC=$CC
2776   for ac_prog in cl
2777 do
2778   # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783   echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785   if test -n "$ac_ct_CC"; then
2786   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2790 do
2791   IFS=$as_save_IFS
2792   test -z "$as_dir" && as_dir=.
2793   for ac_exec_ext in '' $ac_executable_extensions; do
2794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795     ac_cv_prog_ac_ct_CC="$ac_prog"
2796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797     break 2
2798   fi
2799 done
2800 done
2801
2802 fi
2803 fi
2804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2805 if test -n "$ac_ct_CC"; then
2806   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2807 echo "${ECHO_T}$ac_ct_CC" >&6
2808 else
2809   echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 fi
2812
2813   test -n "$ac_ct_CC" && break
2814 done
2815
2816   CC=$ac_ct_CC
2817 fi
2818
2819 fi
2820
2821
2822 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828    { (exit 1); exit 1; }; }; }
2829
2830 # Provide some information about the compiler.
2831 echo "$as_me:$LINENO:" \
2832      "checking for C compiler version" >&5
2833 ac_compiler=`set X $ac_compile; echo $2`
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2835   (eval $ac_compiler --version </dev/null >&5) 2>&5
2836   ac_status=$?
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); }
2839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2840   (eval $ac_compiler -v </dev/null >&5) 2>&5
2841   ac_status=$?
2842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843   (exit $ac_status); }
2844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2845   (eval $ac_compiler -V </dev/null >&5) 2>&5
2846   ac_status=$?
2847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848   (exit $ac_status); }
2849
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h.  */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h.  */
2856
2857 int
2858 main ()
2859 {
2860
2861   ;
2862   return 0;
2863 }
2864 _ACEOF
2865 # FIXME: Cleanup?
2866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2867   (eval $ac_link) 2>&5
2868   ac_status=$?
2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870   (exit $ac_status); }; then
2871   gcc_no_link=no
2872 else
2873   gcc_no_link=yes
2874 fi
2875
2876 if test x$gcc_no_link = xyes; then
2877   # Setting cross_compile will disable run tests; it will
2878   # also disable AC_CHECK_FILE but that's generally
2879   # correct if we can't link.
2880   cross_compiling=yes
2881   EXEEXT=
2882 else
2883   cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h.  */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h.  */
2889
2890 int
2891 main ()
2892 {
2893
2894   ;
2895   return 0;
2896 }
2897 _ACEOF
2898 ac_clean_files_save=$ac_clean_files
2899 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2900 # Try to create an executable without -o first, disregard a.out.
2901 # It will help us diagnose broken compilers, and finding out an intuition
2902 # of exeext.
2903 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2904 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2905 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2906 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2907   (eval $ac_link_default) 2>&5
2908   ac_status=$?
2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910   (exit $ac_status); }; then
2911   # Find the output, starting from the most likely.  This scheme is
2912 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2913 # resort.
2914
2915 # Be careful to initialize this variable, since it used to be cached.
2916 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2917 ac_cv_exeext=
2918 # b.out is created by i960 compilers.
2919 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2920 do
2921   test -f "$ac_file" || continue
2922   case $ac_file in
2923     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2924         ;;
2925     conftest.$ac_ext )
2926         # This is the source file.
2927         ;;
2928     [ab].out )
2929         # We found the default executable, but exeext='' is most
2930         # certainly right.
2931         break;;
2932     *.* )
2933         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934         # FIXME: I believe we export ac_cv_exeext for Libtool,
2935         # but it would be cool to find out if it's true.  Does anybody
2936         # maintain Libtool? --akim.
2937         export ac_cv_exeext
2938         break;;
2939     * )
2940         break;;
2941   esac
2942 done
2943 else
2944   echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2946
2947 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2948 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2950 See \`config.log' for more details." >&5
2951 echo "$as_me: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&2;}
2953    { (exit 77); exit 77; }; }; }
2954 fi
2955
2956 ac_exeext=$ac_cv_exeext
2957 echo "$as_me:$LINENO: result: $ac_file" >&5
2958 echo "${ECHO_T}$ac_file" >&6
2959
2960 # Check the compiler produces executables we can run.  If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2965 # If not cross compiling, check that we can run a simple program.
2966 if test "$cross_compiling" != yes; then
2967   if { ac_try='./$ac_file'
2968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969   (eval $ac_try) 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }; }; then
2973     cross_compiling=no
2974   else
2975     if test "$cross_compiling" = maybe; then
2976         cross_compiling=yes
2977     else
2978         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2979 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986    { (exit 1); exit 1; }; }; }
2987     fi
2988   fi
2989 fi
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2992
2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 # Check the compiler produces executables we can run.  If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3001
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005   (eval $ac_link) 2>&5
3006   ac_status=$?
3007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008   (exit $ac_status); }; then
3009   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3012 # `rm'.
3013 for ac_file in conftest.exe conftest conftest.*; do
3014   test -f "$ac_file" || continue
3015   case $ac_file in
3016     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3017     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018           export ac_cv_exeext
3019           break;;
3020     * ) break;;
3021   esac
3022 done
3023 else
3024   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&2;}
3030    { (exit 1); exit 1; }; }; }
3031 fi
3032
3033 rm -f conftest$ac_cv_exeext
3034 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3035 echo "${ECHO_T}$ac_cv_exeext" >&6
3036
3037 rm -f conftest.$ac_ext
3038 EXEEXT=$ac_cv_exeext
3039 ac_exeext=$EXEEXT
3040 fi
3041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3043 if test "${ac_cv_objext+set}" = set; then
3044   echo $ECHO_N "(cached) $ECHO_C" >&6
3045 else
3046   cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h.  */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h.  */
3052
3053 int
3054 main ()
3055 {
3056
3057   ;
3058   return 0;
3059 }
3060 _ACEOF
3061 rm -f conftest.o conftest.obj
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063   (eval $ac_compile) 2>&5
3064   ac_status=$?
3065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066   (exit $ac_status); }; then
3067   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3068   case $ac_file in
3069     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3070     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3071        break;;
3072   esac
3073 done
3074 else
3075   echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3077
3078 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3079 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3081 See \`config.log' for more details." >&5
3082 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&2;}
3084    { (exit 1); exit 1; }; }; }
3085 fi
3086
3087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3088 fi
3089 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090 echo "${ECHO_T}$ac_cv_objext" >&6
3091 OBJEXT=$ac_cv_objext
3092 ac_objext=$OBJEXT
3093 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3094 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3095 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3096   echo $ECHO_N "(cached) $ECHO_C" >&6
3097 else
3098   cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h.  */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h.  */
3104
3105 int
3106 main ()
3107 {
3108 #ifndef __GNUC__
3109        choke me
3110 #endif
3111
3112   ;
3113   return 0;
3114 }
3115 _ACEOF
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118   (eval $ac_compile) 2>conftest.er1
3119   ac_status=$?
3120   grep -v '^ *+' conftest.er1 >conftest.err
3121   rm -f conftest.er1
3122   cat conftest.err >&5
3123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124   (exit $ac_status); } &&
3125          { ac_try='test -z "$ac_c_werror_flag"
3126                          || test ! -s conftest.err'
3127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128   (eval $ac_try) 2>&5
3129   ac_status=$?
3130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131   (exit $ac_status); }; } &&
3132          { ac_try='test -s conftest.$ac_objext'
3133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134   (eval $ac_try) 2>&5
3135   ac_status=$?
3136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137   (exit $ac_status); }; }; then
3138   ac_compiler_gnu=yes
3139 else
3140   echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3142
3143 ac_compiler_gnu=no
3144 fi
3145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3147
3148 fi
3149 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3150 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3151 GCC=`test $ac_compiler_gnu = yes && echo yes`
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3154 CFLAGS="-g"
3155 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3157 if test "${ac_cv_prog_cc_g+set}" = set; then
3158   echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160   cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h.  */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h.  */
3166
3167 int
3168 main ()
3169 {
3170
3171   ;
3172   return 0;
3173 }
3174 _ACEOF
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177   (eval $ac_compile) 2>conftest.er1
3178   ac_status=$?
3179   grep -v '^ *+' conftest.er1 >conftest.err
3180   rm -f conftest.er1
3181   cat conftest.err >&5
3182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183   (exit $ac_status); } &&
3184          { ac_try='test -z "$ac_c_werror_flag"
3185                          || test ! -s conftest.err'
3186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187   (eval $ac_try) 2>&5
3188   ac_status=$?
3189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190   (exit $ac_status); }; } &&
3191          { ac_try='test -s conftest.$ac_objext'
3192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193   (eval $ac_try) 2>&5
3194   ac_status=$?
3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196   (exit $ac_status); }; }; then
3197   ac_cv_prog_cc_g=yes
3198 else
3199   echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3201
3202 ac_cv_prog_cc_g=no
3203 fi
3204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3205 fi
3206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3208 if test "$ac_test_CFLAGS" = set; then
3209   CFLAGS=$ac_save_CFLAGS
3210 elif test $ac_cv_prog_cc_g = yes; then
3211   if test "$GCC" = yes; then
3212     CFLAGS="-g -O2"
3213   else
3214     CFLAGS="-g"
3215   fi
3216 else
3217   if test "$GCC" = yes; then
3218     CFLAGS="-O2"
3219   else
3220     CFLAGS=
3221   fi
3222 fi
3223 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3224 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3225 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3226   echo $ECHO_N "(cached) $ECHO_C" >&6
3227 else
3228   ac_cv_prog_cc_stdc=no
3229 ac_save_CC=$CC
3230 cat >conftest.$ac_ext <<_ACEOF
3231 /* confdefs.h.  */
3232 _ACEOF
3233 cat confdefs.h >>conftest.$ac_ext
3234 cat >>conftest.$ac_ext <<_ACEOF
3235 /* end confdefs.h.  */
3236 #include <stdarg.h>
3237 #include <stdio.h>
3238 #include <sys/types.h>
3239 #include <sys/stat.h>
3240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3241 struct buf { int x; };
3242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3243 static char *e (p, i)
3244      char **p;
3245      int i;
3246 {
3247   return p[i];
3248 }
3249 static char *f (char * (*g) (char **, int), char **p, ...)
3250 {
3251   char *s;
3252   va_list v;
3253   va_start (v,p);
3254   s = g (p, va_arg (v,int));
3255   va_end (v);
3256   return s;
3257 }
3258
3259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3260    function prototypes and stuff, but not '\xHH' hex character constants.
3261    These don't provoke an error unfortunately, instead are silently treated
3262    as 'x'.  The following induces an error, until -std1 is added to get
3263    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3264    array size at least.  It's necessary to write '\x00'==0 to get something
3265    that's true only with -std1.  */
3266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3267
3268 int test (int i, double x);
3269 struct s1 {int (*f) (int a);};
3270 struct s2 {int (*f) (double a);};
3271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3272 int argc;
3273 char **argv;
3274 int
3275 main ()
3276 {
3277 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3278   ;
3279   return 0;
3280 }
3281 _ACEOF
3282 # Don't try gcc -ansi; that turns off useful extensions and
3283 # breaks some systems' header files.
3284 # AIX                   -qlanglvl=ansi
3285 # Ultrix and OSF/1      -std1
3286 # HP-UX 10.20 and later -Ae
3287 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3288 # SVR4                  -Xc -D__EXTENSIONS__
3289 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3290 do
3291   CC="$ac_save_CC $ac_arg"
3292   rm -f conftest.$ac_objext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294   (eval $ac_compile) 2>conftest.er1
3295   ac_status=$?
3296   grep -v '^ *+' conftest.er1 >conftest.err
3297   rm -f conftest.er1
3298   cat conftest.err >&5
3299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300   (exit $ac_status); } &&
3301          { ac_try='test -z "$ac_c_werror_flag"
3302                          || test ! -s conftest.err'
3303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304   (eval $ac_try) 2>&5
3305   ac_status=$?
3306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307   (exit $ac_status); }; } &&
3308          { ac_try='test -s conftest.$ac_objext'
3309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310   (eval $ac_try) 2>&5
3311   ac_status=$?
3312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313   (exit $ac_status); }; }; then
3314   ac_cv_prog_cc_stdc=$ac_arg
3315 break
3316 else
3317   echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3319
3320 fi
3321 rm -f conftest.err conftest.$ac_objext
3322 done
3323 rm -f conftest.$ac_ext conftest.$ac_objext
3324 CC=$ac_save_CC
3325
3326 fi
3327
3328 case "x$ac_cv_prog_cc_stdc" in
3329   x|xno)
3330     echo "$as_me:$LINENO: result: none needed" >&5
3331 echo "${ECHO_T}none needed" >&6 ;;
3332   *)
3333     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3334 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3335     CC="$CC $ac_cv_prog_cc_stdc" ;;
3336 esac
3337
3338 # Some people use a C++ compiler to compile C.  Since we use `exit',
3339 # in C++ we need to declare it.  In case someone uses the same compiler
3340 # for both compiling C and C++ we need to have the C++ compiler decide
3341 # the declaration of exit, since it's the most demanding environment.
3342 cat >conftest.$ac_ext <<_ACEOF
3343 #ifndef __cplusplus
3344   choke me
3345 #endif
3346 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349   (eval $ac_compile) 2>conftest.er1
3350   ac_status=$?
3351   grep -v '^ *+' conftest.er1 >conftest.err
3352   rm -f conftest.er1
3353   cat conftest.err >&5
3354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355   (exit $ac_status); } &&
3356          { ac_try='test -z "$ac_c_werror_flag"
3357                          || test ! -s conftest.err'
3358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359   (eval $ac_try) 2>&5
3360   ac_status=$?
3361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362   (exit $ac_status); }; } &&
3363          { ac_try='test -s conftest.$ac_objext'
3364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365   (eval $ac_try) 2>&5
3366   ac_status=$?
3367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368   (exit $ac_status); }; }; then
3369   for ac_declaration in \
3370    '' \
3371    'extern "C" void std::exit (int) throw (); using std::exit;' \
3372    'extern "C" void std::exit (int); using std::exit;' \
3373    'extern "C" void exit (int) throw ();' \
3374    'extern "C" void exit (int);' \
3375    'void exit (int);'
3376 do
3377   cat >conftest.$ac_ext <<_ACEOF
3378 /* confdefs.h.  */
3379 _ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h.  */
3383 $ac_declaration
3384 #include <stdlib.h>
3385 int
3386 main ()
3387 {
3388 exit (42);
3389   ;
3390   return 0;
3391 }
3392 _ACEOF
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395   (eval $ac_compile) 2>conftest.er1
3396   ac_status=$?
3397   grep -v '^ *+' conftest.er1 >conftest.err
3398   rm -f conftest.er1
3399   cat conftest.err >&5
3400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401   (exit $ac_status); } &&
3402          { ac_try='test -z "$ac_c_werror_flag"
3403                          || test ! -s conftest.err'
3404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405   (eval $ac_try) 2>&5
3406   ac_status=$?
3407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408   (exit $ac_status); }; } &&
3409          { ac_try='test -s conftest.$ac_objext'
3410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411   (eval $ac_try) 2>&5
3412   ac_status=$?
3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414   (exit $ac_status); }; }; then
3415   :
3416 else
3417   echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3419
3420 continue
3421 fi
3422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3423   cat >conftest.$ac_ext <<_ACEOF
3424 /* confdefs.h.  */
3425 _ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h.  */
3429 $ac_declaration
3430 int
3431 main ()
3432 {
3433 exit (42);
3434   ;
3435   return 0;
3436 }
3437 _ACEOF
3438 rm -f conftest.$ac_objext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440   (eval $ac_compile) 2>conftest.er1
3441   ac_status=$?
3442   grep -v '^ *+' conftest.er1 >conftest.err
3443   rm -f conftest.er1
3444   cat conftest.err >&5
3445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446   (exit $ac_status); } &&
3447          { ac_try='test -z "$ac_c_werror_flag"
3448                          || test ! -s conftest.err'
3449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450   (eval $ac_try) 2>&5
3451   ac_status=$?
3452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453   (exit $ac_status); }; } &&
3454          { ac_try='test -s conftest.$ac_objext'
3455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456   (eval $ac_try) 2>&5
3457   ac_status=$?
3458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459   (exit $ac_status); }; }; then
3460   break
3461 else
3462   echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3464
3465 fi
3466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3467 done
3468 rm -f conftest*
3469 if test -n "$ac_declaration"; then
3470   echo '#ifdef __cplusplus' >>confdefs.h
3471   echo $ac_declaration      >>confdefs.h
3472   echo '#endif'             >>confdefs.h
3473 fi
3474
3475 else
3476   echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3478
3479 fi
3480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3486
3487   ac_ext=cc
3488 ac_cpp='$CXXCPP $CPPFLAGS'
3489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3492 if test -n "$ac_tool_prefix"; then
3493   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3494   do
3495     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3499 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3500   echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502   if test -n "$CXX"; then
3503   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3507 do
3508   IFS=$as_save_IFS
3509   test -z "$as_dir" && as_dir=.
3510   for ac_exec_ext in '' $ac_executable_extensions; do
3511   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3513     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514     break 2
3515   fi
3516 done
3517 done
3518
3519 fi
3520 fi
3521 CXX=$glibcxx_cv_prog_CXX
3522 if test -n "$CXX"; then
3523   echo "$as_me:$LINENO: result: $CXX" >&5
3524 echo "${ECHO_T}$CXX" >&6
3525 else
3526   echo "$as_me:$LINENO: result: no" >&5
3527 echo "${ECHO_T}no" >&6
3528 fi
3529
3530     test -n "$CXX" && break
3531   done
3532 fi
3533 if test -z "$CXX"; then
3534   ac_ct_CXX=$CXX
3535   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3536 do
3537   # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3542   echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544   if test -n "$ac_ct_CXX"; then
3545   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550   IFS=$as_save_IFS
3551   test -z "$as_dir" && as_dir=.
3552   for ac_exec_ext in '' $ac_executable_extensions; do
3553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554     ac_cv_prog_ac_ct_CXX="$ac_prog"
3555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556     break 2
3557   fi
3558 done
3559 done
3560
3561 fi
3562 fi
3563 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3564 if test -n "$ac_ct_CXX"; then
3565   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3566 echo "${ECHO_T}$ac_ct_CXX" >&6
3567 else
3568   echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572   test -n "$ac_ct_CXX" && break
3573 done
3574 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3575
3576   CXX=$ac_ct_CXX
3577 fi
3578
3579
3580 # Provide some information about the compiler.
3581 echo "$as_me:$LINENO:" \
3582      "checking for C++ compiler version" >&5
3583 ac_compiler=`set X $ac_compile; echo $2`
3584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3585   (eval $ac_compiler --version </dev/null >&5) 2>&5
3586   ac_status=$?
3587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588   (exit $ac_status); }
3589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3590   (eval $ac_compiler -v </dev/null >&5) 2>&5
3591   ac_status=$?
3592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593   (exit $ac_status); }
3594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3595   (eval $ac_compiler -V </dev/null >&5) 2>&5
3596   ac_status=$?
3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598   (exit $ac_status); }
3599
3600 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3601 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3602 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3603   echo $ECHO_N "(cached) $ECHO_C" >&6
3604 else
3605   cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h.  */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615 #ifndef __GNUC__
3616        choke me
3617 #endif
3618
3619   ;
3620   return 0;
3621 }
3622 _ACEOF
3623 rm -f conftest.$ac_objext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3625   (eval $ac_compile) 2>conftest.er1
3626   ac_status=$?
3627   grep -v '^ *+' conftest.er1 >conftest.err
3628   rm -f conftest.er1
3629   cat conftest.err >&5
3630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631   (exit $ac_status); } &&
3632          { ac_try='test -z "$ac_cxx_werror_flag"
3633                          || test ! -s conftest.err'
3634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635   (eval $ac_try) 2>&5
3636   ac_status=$?
3637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638   (exit $ac_status); }; } &&
3639          { ac_try='test -s conftest.$ac_objext'
3640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641   (eval $ac_try) 2>&5
3642   ac_status=$?
3643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644   (exit $ac_status); }; }; then
3645   ac_compiler_gnu=yes
3646 else
3647   echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3649
3650 ac_compiler_gnu=no
3651 fi
3652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3654
3655 fi
3656 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3657 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3658 GXX=`test $ac_compiler_gnu = yes && echo yes`
3659 ac_test_CXXFLAGS=${CXXFLAGS+set}
3660 ac_save_CXXFLAGS=$CXXFLAGS
3661 CXXFLAGS="-g"
3662 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3663 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3664 if test "${ac_cv_prog_cxx_g+set}" = set; then
3665   echo $ECHO_N "(cached) $ECHO_C" >&6
3666 else
3667   cat >conftest.$ac_ext <<_ACEOF
3668 /* confdefs.h.  */
3669 _ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h.  */
3673
3674 int
3675 main ()
3676 {
3677
3678   ;
3679   return 0;
3680 }
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684   (eval $ac_compile) 2>conftest.er1
3685   ac_status=$?
3686   grep -v '^ *+' conftest.er1 >conftest.err
3687   rm -f conftest.er1
3688   cat conftest.err >&5
3689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690   (exit $ac_status); } &&
3691          { ac_try='test -z "$ac_cxx_werror_flag"
3692                          || test ! -s conftest.err'
3693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694   (eval $ac_try) 2>&5
3695   ac_status=$?
3696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697   (exit $ac_status); }; } &&
3698          { ac_try='test -s conftest.$ac_objext'
3699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700   (eval $ac_try) 2>&5
3701   ac_status=$?
3702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703   (exit $ac_status); }; }; then
3704   ac_cv_prog_cxx_g=yes
3705 else
3706   echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3708
3709 ac_cv_prog_cxx_g=no
3710 fi
3711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3712 fi
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3714 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3715 if test "$ac_test_CXXFLAGS" = set; then
3716   CXXFLAGS=$ac_save_CXXFLAGS
3717 elif test $ac_cv_prog_cxx_g = yes; then
3718   if test "$GXX" = yes; then
3719     CXXFLAGS="-g -O2"
3720   else
3721     CXXFLAGS="-g"
3722   fi
3723 else
3724   if test "$GXX" = yes; then
3725     CXXFLAGS="-O2"
3726   else
3727     CXXFLAGS=
3728   fi
3729 fi
3730 for ac_declaration in \
3731    '' \
3732    'extern "C" void std::exit (int) throw (); using std::exit;' \
3733    'extern "C" void std::exit (int); using std::exit;' \
3734    'extern "C" void exit (int) throw ();' \
3735    'extern "C" void exit (int);' \
3736    'void exit (int);'
3737 do
3738   cat >conftest.$ac_ext <<_ACEOF
3739 /* confdefs.h.  */
3740 _ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h.  */
3744 $ac_declaration
3745 #include <stdlib.h>
3746 int
3747 main ()
3748 {
3749 exit (42);
3750   ;
3751   return 0;
3752 }
3753 _ACEOF
3754 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756   (eval $ac_compile) 2>conftest.er1
3757   ac_status=$?
3758   grep -v '^ *+' conftest.er1 >conftest.err
3759   rm -f conftest.er1
3760   cat conftest.err >&5
3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762   (exit $ac_status); } &&
3763          { ac_try='test -z "$ac_cxx_werror_flag"
3764                          || test ! -s conftest.err'
3765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766   (eval $ac_try) 2>&5
3767   ac_status=$?
3768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769   (exit $ac_status); }; } &&
3770          { ac_try='test -s conftest.$ac_objext'
3771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772   (eval $ac_try) 2>&5
3773   ac_status=$?
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); }; }; then
3776   :
3777 else
3778   echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3780
3781 continue
3782 fi
3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784   cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h.  */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h.  */
3790 $ac_declaration
3791 int
3792 main ()
3793 {
3794 exit (42);
3795   ;
3796   return 0;
3797 }
3798 _ACEOF
3799 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801   (eval $ac_compile) 2>conftest.er1
3802   ac_status=$?
3803   grep -v '^ *+' conftest.er1 >conftest.err
3804   rm -f conftest.er1
3805   cat conftest.err >&5
3806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807   (exit $ac_status); } &&
3808          { ac_try='test -z "$ac_cxx_werror_flag"
3809                          || test ! -s conftest.err'
3810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811   (eval $ac_try) 2>&5
3812   ac_status=$?
3813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814   (exit $ac_status); }; } &&
3815          { ac_try='test -s conftest.$ac_objext'
3816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817   (eval $ac_try) 2>&5
3818   ac_status=$?
3819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820   (exit $ac_status); }; }; then
3821   break
3822 else
3823   echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3825
3826 fi
3827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3828 done
3829 rm -f conftest*
3830 if test -n "$ac_declaration"; then
3831   echo '#ifdef __cplusplus' >>confdefs.h
3832   echo $ac_declaration      >>confdefs.h
3833   echo '#endif'             >>confdefs.h
3834 fi
3835
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841
3842   CXXFLAGS="$save_CXXFLAGS"
3843
3844
3845
3846
3847   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3848   # available).  Uncomment the next line to force a particular method.
3849   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3851 LN_S=$as_ln_s
3852 if test "$LN_S" = "ln -s"; then
3853   echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3857 echo "${ECHO_T}no, using $LN_S" >&6
3858 fi
3859
3860   #LN_S='cp -p'
3861
3862   if test -n "$ac_tool_prefix"; then
3863   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3864 set dummy ${ac_tool_prefix}as; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_AS+set}" = set; then
3868   echo $ECHO_N "(cached) $ECHO_C" >&6
3869 else
3870   if test -n "$AS"; then
3871   ac_cv_prog_AS="$AS" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876   IFS=$as_save_IFS
3877   test -z "$as_dir" && as_dir=.
3878   for ac_exec_ext in '' $ac_executable_extensions; do
3879   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880     ac_cv_prog_AS="${ac_tool_prefix}as"
3881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882     break 2
3883   fi
3884 done
3885 done
3886
3887 fi
3888 fi
3889 AS=$ac_cv_prog_AS
3890 if test -n "$AS"; then
3891   echo "$as_me:$LINENO: result: $AS" >&5
3892 echo "${ECHO_T}$AS" >&6
3893 else
3894   echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3896 fi
3897
3898 fi
3899 if test -z "$ac_cv_prog_AS"; then
3900   ac_ct_AS=$AS
3901   # Extract the first word of "as", so it can be a program name with args.
3902 set dummy as; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3906   echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908   if test -n "$ac_ct_AS"; then
3909   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914   IFS=$as_save_IFS
3915   test -z "$as_dir" && as_dir=.
3916   for ac_exec_ext in '' $ac_executable_extensions; do
3917   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918     ac_cv_prog_ac_ct_AS="as"
3919     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920     break 2
3921   fi
3922 done
3923 done
3924
3925 fi
3926 fi
3927 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3928 if test -n "$ac_ct_AS"; then
3929   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3930 echo "${ECHO_T}$ac_ct_AS" >&6
3931 else
3932   echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3934 fi
3935
3936   AS=$ac_ct_AS
3937 else
3938   AS="$ac_cv_prog_AS"
3939 fi
3940
3941   if test -n "$ac_tool_prefix"; then
3942   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3943 set dummy ${ac_tool_prefix}ar; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_AR+set}" = set; then
3947   echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949   if test -n "$AR"; then
3950   ac_cv_prog_AR="$AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3954 do
3955   IFS=$as_save_IFS
3956   test -z "$as_dir" && as_dir=.
3957   for ac_exec_ext in '' $ac_executable_extensions; do
3958   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959     ac_cv_prog_AR="${ac_tool_prefix}ar"
3960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961     break 2
3962   fi
3963 done
3964 done
3965
3966 fi
3967 fi
3968 AR=$ac_cv_prog_AR
3969 if test -n "$AR"; then
3970   echo "$as_me:$LINENO: result: $AR" >&5
3971 echo "${ECHO_T}$AR" >&6
3972 else
3973   echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3975 fi
3976
3977 fi
3978 if test -z "$ac_cv_prog_AR"; then
3979   ac_ct_AR=$AR
3980   # Extract the first word of "ar", so it can be a program name with args.
3981 set dummy ar; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3985   echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987   if test -n "$ac_ct_AR"; then
3988   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3992 do
3993   IFS=$as_save_IFS
3994   test -z "$as_dir" && as_dir=.
3995   for ac_exec_ext in '' $ac_executable_extensions; do
3996   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997     ac_cv_prog_ac_ct_AR="ar"
3998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999     break 2
4000   fi
4001 done
4002 done
4003
4004 fi
4005 fi
4006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4007 if test -n "$ac_ct_AR"; then
4008   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4009 echo "${ECHO_T}$ac_ct_AR" >&6
4010 else
4011   echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4013 fi
4014
4015   AR=$ac_ct_AR
4016 else
4017   AR="$ac_cv_prog_AR"
4018 fi
4019
4020   if test -n "$ac_tool_prefix"; then
4021   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_RANLIB+set}" = set; then
4026   echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028   if test -n "$RANLIB"; then
4029   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4033 do
4034   IFS=$as_save_IFS
4035   test -z "$as_dir" && as_dir=.
4036   for ac_exec_ext in '' $ac_executable_extensions; do
4037   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4039     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040     break 2
4041   fi
4042 done
4043 done
4044
4045 fi
4046 fi
4047 RANLIB=$ac_cv_prog_RANLIB
4048 if test -n "$RANLIB"; then
4049   echo "$as_me:$LINENO: result: $RANLIB" >&5
4050 echo "${ECHO_T}$RANLIB" >&6
4051 else
4052   echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056 fi
4057 if test -z "$ac_cv_prog_RANLIB"; then
4058   ac_ct_RANLIB=$RANLIB
4059   # Extract the first word of "ranlib", so it can be a program name with args.
4060 set dummy ranlib; ac_word=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4064   echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4066   if test -n "$ac_ct_RANLIB"; then
4067   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4071 do
4072   IFS=$as_save_IFS
4073   test -z "$as_dir" && as_dir=.
4074   for ac_exec_ext in '' $ac_executable_extensions; do
4075   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076     ac_cv_prog_ac_ct_RANLIB="ranlib"
4077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4078     break 2
4079   fi
4080 done
4081 done
4082
4083   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4084 fi
4085 fi
4086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4087 if test -n "$ac_ct_RANLIB"; then
4088   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4089 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4090 else
4091   echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095   RANLIB=$ac_ct_RANLIB
4096 else
4097   RANLIB="$ac_cv_prog_RANLIB"
4098 fi
4099
4100
4101   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4102 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4103     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4104 if test "${enable_maintainer_mode+set}" = set; then
4105   enableval="$enable_maintainer_mode"
4106   USE_MAINTAINER_MODE=$enableval
4107 else
4108   USE_MAINTAINER_MODE=no
4109 fi;
4110   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4111 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4112
4113
4114 if test $USE_MAINTAINER_MODE = yes; then
4115   MAINTAINER_MODE_TRUE=
4116   MAINTAINER_MODE_FALSE='#'
4117 else
4118   MAINTAINER_MODE_TRUE='#'
4119   MAINTAINER_MODE_FALSE=
4120 fi
4121
4122   MAINT=$MAINTAINER_MODE_TRUE
4123
4124
4125
4126   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4127   # which are themselves conditionally expanded.
4128   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4129   ## other macros from doing the same.  This should be automated.)  -pme
4130   need_libmath=no
4131
4132   # Check for uClibc since Linux platforms use different configuration
4133   # directories depending on the C library in use.
4134   cat >conftest.$ac_ext <<_ACEOF
4135 /* confdefs.h.  */
4136 _ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h.  */
4140
4141   #include <stdio.h>
4142   #if __UCLIBC__
4143     _using_uclibc
4144   #endif
4145
4146 _ACEOF
4147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4148   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4149   uclibc=yes
4150 else
4151   uclibc=no
4152 fi
4153 rm -f conftest*
4154
4155
4156   # Find platform-specific directories containing configuration info.
4157   # Also possibly modify flags used elsewhere, as needed by the platform.
4158
4159   . $glibcxx_srcdir/configure.host
4160   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4161 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4162   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4163 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4164
4165
4166
4167 if test "x${with_newlib}" != "xyes"; then
4168   enable_dlopen=yes
4169
4170
4171
4172 fi
4173
4174
4175 macro_version='2.1a'
4176 macro_revision='1.2435'
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189 ltmain="$ac_aux_dir/ltmain.sh"
4190
4191 # Set options
4192
4193
4194 enable_win32_dll=no
4195
4196
4197 # Check whether --enable-shared or --disable-shared was given.
4198 if test "${enable_shared+set}" = set; then
4199   enableval="$enable_shared"
4200   p=${PACKAGE-default}
4201     case $enableval in
4202     yes) enable_shared=yes ;;
4203     no) enable_shared=no ;;
4204     *)
4205       enable_shared=no
4206       # Look at the argument we got.  We use all the common list separators.
4207       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4208       for pkg in $enableval; do
4209         IFS="$lt_save_ifs"
4210         if test "X$pkg" = "X$p"; then
4211           enable_shared=yes
4212         fi
4213       done
4214       IFS="$lt_save_ifs"
4215       ;;
4216     esac
4217 else
4218   enable_shared=yes
4219 fi;
4220
4221
4222
4223
4224
4225
4226
4227
4228 # Check whether --enable-static or --disable-static was given.
4229 if test "${enable_static+set}" = set; then
4230   enableval="$enable_static"
4231   p=${PACKAGE-default}
4232     case $enableval in
4233     yes) enable_static=yes ;;
4234     no) enable_static=no ;;
4235     *)
4236      enable_static=no
4237       # Look at the argument we got.  We use all the common list separators.
4238       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4239       for pkg in $enableval; do
4240         IFS="$lt_save_ifs"
4241         if test "X$pkg" = "X$p"; then
4242           enable_static=yes
4243         fi
4244       done
4245       IFS="$lt_save_ifs"
4246       ;;
4247     esac
4248 else
4249   enable_static=yes
4250 fi;
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260 # Check whether --with-pic or --without-pic was given.
4261 if test "${with_pic+set}" = set; then
4262   withval="$with_pic"
4263   pic_mode="$withval"
4264 else
4265   pic_mode=default
4266 fi;
4267
4268 test -z "$pic_mode" && pic_mode=default
4269
4270
4271
4272
4273
4274
4275
4276 # Check whether --enable-fast-install or --disable-fast-install was given.
4277 if test "${enable_fast_install+set}" = set; then
4278   enableval="$enable_fast_install"
4279   p=${PACKAGE-default}
4280     case $enableval in
4281     yes) enable_fast_install=yes ;;
4282     no) enable_fast_install=no ;;
4283     *)
4284       enable_fast_install=no
4285       # Look at the argument we got.  We use all the common list separators.
4286       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4287       for pkg in $enableval; do
4288         IFS="$lt_save_ifs"
4289         if test "X$pkg" = "X$p"; then
4290           enable_fast_install=yes
4291         fi
4292       done
4293       IFS="$lt_save_ifs"
4294       ;;
4295     esac
4296 else
4297   enable_fast_install=yes
4298 fi;
4299
4300
4301
4302
4303
4304
4305
4306
4307 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4308 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4309 if test "${lt_cv_path_SED+set}" = set; then
4310   echo $ECHO_N "(cached) $ECHO_C" >&6
4311 else
4312   # Loop through the user's path and test for sed and gsed.
4313 # Then use that list of sed's as ones to test for truncation.
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4316 do
4317   IFS=$as_save_IFS
4318   test -z "$as_dir" && as_dir=.
4319   for lt_ac_prog in sed gsed; do
4320     for ac_exec_ext in '' $ac_executable_extensions; do
4321       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4322         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4323       fi
4324     done
4325   done
4326 done
4327 IFS=$as_save_IFS
4328 lt_ac_max=0
4329 lt_ac_count=0
4330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4331 # along with /bin/sed that truncates output.
4332 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4333   test ! -f $lt_ac_sed && continue
4334   cat /dev/null > conftest.in
4335   lt_ac_count=0
4336   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4337   # Check for GNU sed and select it if it is found.
4338   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4339     lt_cv_path_SED=$lt_ac_sed
4340     break
4341   fi
4342   while true; do
4343     cat conftest.in conftest.in >conftest.tmp
4344     mv conftest.tmp conftest.in
4345     cp conftest.in conftest.nl
4346     echo >>conftest.nl
4347     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4348     cmp -s conftest.out conftest.nl || break
4349     # 10000 chars as input seems more than enough
4350     test $lt_ac_count -gt 10 && break
4351     lt_ac_count=`expr $lt_ac_count + 1`
4352     if test $lt_ac_count -gt $lt_ac_max; then
4353       lt_ac_max=$lt_ac_count
4354       lt_cv_path_SED=$lt_ac_sed
4355     fi
4356   done
4357 done
4358
4359 fi
4360
4361 SED=$lt_cv_path_SED
4362
4363 echo "$as_me:$LINENO: result: $SED" >&5
4364 echo "${ECHO_T}$SED" >&6
4365
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379 echo "$as_me:$LINENO: checking for fgrep" >&5
4380 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4381 if test "${ac_cv_prog_fgrep+set}" = set; then
4382   echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4384   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4385     then ac_cv_prog_fgrep='grep -F'
4386     else ac_cv_prog_fgrep='fgrep'
4387     fi
4388 fi
4389 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4390 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4391  FGREP=$ac_cv_prog_fgrep
4392
4393
4394 test -z "$GREP" && GREP=grep
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4415 if test "${with_gnu_ld+set}" = set; then
4416   withval="$with_gnu_ld"
4417   test "$withval" = no || with_gnu_ld=yes
4418 else
4419   with_gnu_ld=no
4420 fi;
4421 ac_prog=ld
4422 if test "$GCC" = yes; then
4423   # Check if gcc -print-prog-name=ld gives a path.
4424   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4425 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4426   case $host in
4427   *-*-mingw*)
4428     # gcc leaves a trailing carriage return which upsets mingw
4429     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4430   *)
4431     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4432   esac
4433   case $ac_prog in
4434     # Accept absolute paths.
4435     [\\/]* | ?:[\\/]*)
4436       re_direlt='/[^/][^/]*/\.\./'
4437       # Canonicalize the pathname of ld
4438       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4439       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4440         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4441       done
4442       test -z "$LD" && LD="$ac_prog"
4443       ;;
4444   "")
4445     # If it fails, then pretend we aren't using GCC.
4446     ac_prog=ld
4447     ;;
4448   *)
4449     # If it is relative, then search for the first ld in PATH.
4450     with_gnu_ld=unknown
4451     ;;
4452   esac
4453 elif test "$with_gnu_ld" = yes; then
4454   echo "$as_me:$LINENO: checking for GNU ld" >&5
4455 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4456 else
4457   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4458 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4459 fi
4460 if test "${lt_cv_path_LD+set}" = set; then
4461   echo $ECHO_N "(cached) $ECHO_C" >&6
4462 else
4463   if test -z "$LD"; then
4464   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4465   for ac_dir in $PATH; do
4466     IFS="$lt_save_ifs"
4467     test -z "$ac_dir" && ac_dir=.
4468     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4469       lt_cv_path_LD="$ac_dir/$ac_prog"
4470       # Check to see if the program is GNU ld.  I'd rather use --version,
4471       # but apparently some variants of GNU ld only accept -v.
4472       # Break only if it was the GNU/non-GNU ld that we prefer.
4473       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4474       *GNU* | *'with BFD'*)
4475         test "$with_gnu_ld" != no && break
4476         ;;
4477       *)
4478         test "$with_gnu_ld" != yes && break
4479         ;;
4480       esac
4481     fi
4482   done
4483   IFS="$lt_save_ifs"
4484 else
4485   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4486 fi
4487 fi
4488
4489 LD="$lt_cv_path_LD"
4490 if test -n "$LD"; then
4491   echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4493 else
4494   echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4496 fi
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499    { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503   echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4506 case `$LD -v 2>&1 </dev/null` in
4507 *GNU* | *'with BFD'*)
4508   lt_cv_prog_gnu_ld=yes
4509   ;;
4510 *)
4511   lt_cv_prog_gnu_ld=no
4512   ;;
4513 esac
4514 fi
4515 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4516 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4517 with_gnu_ld=$lt_cv_prog_gnu_ld
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4529 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4530 if test "${lt_cv_path_NM+set}" = set; then
4531   echo $ECHO_N "(cached) $ECHO_C" >&6
4532 else
4533   if test -n "$NM"; then
4534   # Let the user override the test.
4535   lt_cv_path_NM="$NM"
4536 else
4537   lt_nm_to_check="${ac_tool_prefix}nm"
4538   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4539     lt_nm_to_check="$lt_nm_to_check nm"
4540   fi
4541   for lt_tmp_nm in $lt_nm_to_check; do
4542     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4543     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4544       IFS="$lt_save_ifs"
4545       test -z "$ac_dir" && ac_dir=.
4546       tmp_nm="$ac_dir/$lt_tmp_nm"
4547       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4548         # Check to see if the nm accepts a BSD-compat flag.
4549         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4550         #   nm: unknown option "B" ignored
4551         # Tru64's nm complains that /dev/null is an invalid object file
4552         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4553         */dev/null* | *'Invalid file or object type'*)
4554           lt_cv_path_NM="$tmp_nm -B"
4555           break
4556           ;;
4557         *)
4558           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4559           */dev/null*)
4560             lt_cv_path_NM="$tmp_nm -p"
4561             break
4562             ;;
4563           *)
4564             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4565             continue # so that we can try to find one that supports BSD flags
4566             ;;
4567           esac
4568           ;;
4569         esac
4570       fi
4571     done
4572     IFS="$lt_save_ifs"
4573   done
4574   : ${lt_cv_path_NM=no}
4575 fi
4576 fi
4577 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4578 echo "${ECHO_T}$lt_cv_path_NM" >&6
4579 if test "$lt_cv_path_NM" != "no"; then
4580   NM="$lt_cv_path_NM"
4581 else
4582   # Didn't find any BSD compatible name lister, look for dumpbin.
4583   if test -n "$ac_tool_prefix"; then
4584   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4585   do
4586     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4591   echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593   if test -n "$DUMPBIN"; then
4594   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4598 do
4599   IFS=$as_save_IFS
4600   test -z "$as_dir" && as_dir=.
4601   for ac_exec_ext in '' $ac_executable_extensions; do
4602   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4604     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605     break 2
4606   fi
4607 done
4608 done
4609
4610 fi
4611 fi
4612 DUMPBIN=$ac_cv_prog_DUMPBIN
4613 if test -n "$DUMPBIN"; then
4614   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4615 echo "${ECHO_T}$DUMPBIN" >&6
4616 else
4617   echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621     test -n "$DUMPBIN" && break
4622   done
4623 fi
4624 if test -z "$DUMPBIN"; then
4625   ac_ct_DUMPBIN=$DUMPBIN
4626   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4627 do
4628   # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set dummy $ac_prog; ac_word=$2
4630 echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4632 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4633   echo $ECHO_N "(cached) $ECHO_C" >&6
4634 else
4635   if test -n "$ac_ct_DUMPBIN"; then
4636   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4640 do
4641   IFS=$as_save_IFS
4642   test -z "$as_dir" && as_dir=.
4643   for ac_exec_ext in '' $ac_executable_extensions; do
4644   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4646     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4647     break 2
4648   fi
4649 done
4650 done
4651
4652 fi
4653 fi
4654 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4655 if test -n "$ac_ct_DUMPBIN"; then
4656   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4657 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4658 else
4659   echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4661 fi
4662
4663   test -n "$ac_ct_DUMPBIN" && break
4664 done
4665 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4666
4667   DUMPBIN=$ac_ct_DUMPBIN
4668 fi
4669
4670
4671   if test "$DUMPBIN" != ":"; then
4672     NM="$DUMPBIN"
4673   fi
4674 fi
4675 test -z "$NM" && NM=nm
4676
4677
4678
4679
4680
4681
4682 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4683 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4684 if test "${lt_cv_nm_interface+set}" = set; then
4685   echo $ECHO_N "(cached) $ECHO_C" >&6
4686 else
4687   lt_cv_nm_interface="BSD nm"
4688   echo "int some_variable = 0;" > conftest.$ac_ext
4689   (eval echo "\"\$as_me:4689: $ac_compile\"" >&5)
4690   (eval "$ac_compile" 2>conftest.err)
4691   cat conftest.err >&5
4692   (eval echo "\"\$as_me:4692: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4693   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4694   cat conftest.err >&5
4695   (eval echo "\"\$as_me:4695: output\"" >&5)
4696   cat conftest.out >&5
4697   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4698     lt_cv_nm_interface="MS dumpbin"
4699   fi
4700   rm -f conftest*
4701 fi
4702 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4703 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4704
4705 # find the maximum length of command line arguments
4706 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4707 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4708 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4709   echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4711     i=0
4712   teststring="ABCD"
4713
4714   case $build_os in
4715   msdosdjgpp*)
4716     # On DJGPP, this test can blow up pretty badly due to problems in libc
4717     # (any single argument exceeding 2000 bytes causes a buffer overrun
4718     # during glob expansion).  Even if it were fixed, the result of this
4719     # check would be larger than it should be.
4720     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4721     ;;
4722
4723   gnu*)
4724     # Under GNU Hurd, this test is not required because there is
4725     # no limit to the length of command line arguments.
4726     # Libtool will interpret -1 as no limit whatsoever
4727     lt_cv_sys_max_cmd_len=-1;
4728     ;;
4729
4730   cygwin* | mingw*)
4731     # On Win9x/ME, this test blows up -- it succeeds, but takes
4732     # about 5 minutes as the teststring grows exponentially.
4733     # Worse, since 9x/ME are not pre-emptively multitasking,
4734     # you end up with a "frozen" computer, even though with patience
4735     # the test eventually succeeds (with a max line length of 256k).
4736     # Instead, let's just punt: use the minimum linelength reported by
4737     # all of the supported platforms: 8192 (on NT/2K/XP).
4738     lt_cv_sys_max_cmd_len=8192;
4739     ;;
4740
4741   amigaos*)
4742     # On AmigaOS with pdksh, this test takes hours, literally.
4743     # So we just punt and use a minimum line length of 8192.
4744     lt_cv_sys_max_cmd_len=8192;
4745     ;;
4746
4747   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748     # This has been around since 386BSD, at least.  Likely further.
4749     if test -x /sbin/sysctl; then
4750       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751     elif test -x /usr/sbin/sysctl; then
4752       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4753     else
4754       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4755     fi
4756     # And add a safety zone
4757     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4759     ;;
4760
4761   interix*)
4762     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763     lt_cv_sys_max_cmd_len=196608
4764     ;;
4765
4766   osf*)
4767     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4768     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4769     # nice to cause kernel panics so lets avoid the loop below.
4770     # First set a reasonable default.
4771     lt_cv_sys_max_cmd_len=16384
4772     #
4773     if test -x /sbin/sysconfig; then
4774       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4775         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4776       esac
4777     fi
4778     ;;
4779   sco3.2v5*)
4780     lt_cv_sys_max_cmd_len=102400
4781     ;;
4782   sysv5* | sco5v6* | sysv4.2uw2*)
4783     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4784     if test -n "$kargmax"; then
4785       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4786     else
4787       lt_cv_sys_max_cmd_len=32768
4788     fi
4789     ;;
4790   *)
4791     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4792     if test -n $lt_cv_sys_max_cmd_len; then
4793       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4794       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4795     else
4796       # Make teststring a little bigger before we do anything with it.
4797       # a 1K string should be a reasonable start.
4798       for i in 1 2 3 4 5 6 7 8 ; do
4799         teststring=$teststring$teststring
4800       done
4801       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4802       # If test is not a shell built-in, we'll probably end up computing a
4803       # maximum length that is only half of the actual maximum length, but
4804       # we can't tell.
4805       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4806                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4807               test $i != 17 # 1/2 MB should be enough
4808       do
4809         i=`expr $i + 1`
4810         teststring=$teststring$teststring
4811       done
4812       # Only check the string length outside the loop.
4813       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4814       teststring=
4815       # Add a significant safety factor because C++ compilers can tack on
4816       # massive amounts of additional arguments before passing them to the
4817       # linker.  It appears as though 1/2 is a usable value.
4818       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4819     fi
4820     ;;
4821   esac
4822
4823 fi
4824
4825 if test -n $lt_cv_sys_max_cmd_len ; then
4826   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4827 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4828 else
4829   echo "$as_me:$LINENO: result: none" >&5
4830 echo "${ECHO_T}none" >&6
4831 fi
4832 max_cmd_len=$lt_cv_sys_max_cmd_len
4833
4834
4835
4836
4837
4838
4839
4840 : ${CP="cp -f"}
4841 : ${MV="mv -f"}
4842 : ${RM="rm -f"}
4843
4844 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4845 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4846 # Try some XSI features
4847 xsi_shell=no
4848 ( _lt_dummy="a/b/c"
4849   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4850       = c,a/b,, ) >/dev/null 2>&1 \
4851   && xsi_shell=yes
4852 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4853 echo "${ECHO_T}$xsi_shell" >&6
4854
4855
4856 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4857 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4858 lt_shell_append=no
4859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4860     >/dev/null 2>&1 \
4861   && lt_shell_append=yes
4862 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4863 echo "${ECHO_T}$lt_shell_append" >&6
4864
4865
4866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4867   lt_unset=unset
4868 else
4869   lt_unset=false
4870 fi
4871
4872
4873
4874
4875
4876 # test EBCDIC or ASCII
4877 case `echo X|tr X '\101'` in
4878  A) # ASCII based system
4879     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4880   lt_SP2NL='tr \040 \012'
4881   lt_NL2SP='tr \015\012 \040\040'
4882   ;;
4883  *) # EBCDIC based system
4884   lt_SP2NL='tr \100 \n'
4885   lt_NL2SP='tr \r\n \100\100'
4886   ;;
4887 esac
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4898 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4899 if test "${lt_cv_ld_reload_flag+set}" = set; then
4900   echo $ECHO_N "(cached) $ECHO_C" >&6
4901 else
4902   lt_cv_ld_reload_flag='-r'
4903 fi
4904 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4905 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4906 reload_flag=$lt_cv_ld_reload_flag
4907 case $reload_flag in
4908 "" | " "*) ;;
4909 *) reload_flag=" $reload_flag" ;;
4910 esac
4911 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 case $host_os in
4913   darwin*)
4914     if test "$GCC" = yes; then
4915       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4916     else
4917       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4918     fi
4919     ;;
4920 esac
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4932 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4933 if test "${lt_cv_deplibs_check_method+set}" = set; then
4934   echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936   lt_cv_file_magic_cmd='$MAGIC_CMD'
4937 lt_cv_file_magic_test_file=
4938 lt_cv_deplibs_check_method='unknown'
4939 # Need to set the preceding variable on all platforms that support
4940 # interlibrary dependencies.
4941 # 'none' -- dependencies not supported.
4942 # `unknown' -- same as none, but documents that we really don't know.
4943 # 'pass_all' -- all dependencies passed with no checks.
4944 # 'test_compile' -- check by making test program.
4945 # 'file_magic [[regex]]' -- check by looking for files in library path
4946 # which responds to the $file_magic_cmd with a given extended regex.
4947 # If you have `file' or equivalent on your system and you're not sure
4948 # whether `pass_all' will *always* work, you probably want this one.
4949
4950 case $host_os in
4951 aix[4-9]*)
4952   lt_cv_deplibs_check_method=pass_all
4953   ;;
4954
4955 beos*)
4956   lt_cv_deplibs_check_method=pass_all
4957   ;;
4958
4959 bsdi[45]*)
4960   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4961   lt_cv_file_magic_cmd='/usr/bin/file -L'
4962   lt_cv_file_magic_test_file=/shlib/libc.so
4963   ;;
4964
4965 cygwin*)
4966   # func_win32_libid is a shell function defined in ltmain.sh
4967   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4968   lt_cv_file_magic_cmd='func_win32_libid'
4969   ;;
4970
4971 mingw* | pw32*)
4972   # Base MSYS/MinGW do not provide the 'file' command needed by
4973   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4974   # unless we find 'file', for example because we are cross-compiling.
4975   if ( file / ) >/dev/null 2>&1; then
4976     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977     lt_cv_file_magic_cmd='func_win32_libid'
4978   else
4979     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4980     lt_cv_file_magic_cmd='$OBJDUMP -f'
4981   fi
4982   ;;
4983
4984 darwin* | rhapsody*)
4985   lt_cv_deplibs_check_method=pass_all
4986   ;;
4987
4988 freebsd* | dragonfly*)
4989   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990     case $host_cpu in
4991     i*86 )
4992       # Not sure whether the presence of OpenBSD here was a mistake.
4993       # Let's accept both of them until this is cleared up.
4994       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4995       lt_cv_file_magic_cmd=/usr/bin/file
4996       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4997       ;;
4998     esac
4999   else
5000     lt_cv_deplibs_check_method=pass_all
5001   fi
5002   ;;
5003
5004 gnu*)
5005   lt_cv_deplibs_check_method=pass_all
5006   ;;
5007
5008 hpux10.20* | hpux11*)
5009   lt_cv_file_magic_cmd=/usr/bin/file
5010   case $host_cpu in
5011   ia64*)
5012     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5013     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5014     ;;
5015   hppa*64*)
5016     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5017     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5018     ;;
5019   *)
5020     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5021     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5022     ;;
5023   esac
5024   ;;
5025
5026 interix[3-9]*)
5027   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5028   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5029   ;;
5030
5031 irix5* | irix6* | nonstopux*)
5032   case $LD in
5033   *-32|*"-32 ") libmagic=32-bit;;
5034   *-n32|*"-n32 ") libmagic=N32;;
5035   *-64|*"-64 ") libmagic=64-bit;;
5036   *) libmagic=never-match;;
5037   esac
5038   lt_cv_deplibs_check_method=pass_all
5039   ;;
5040
5041 # This must be Linux ELF.
5042 linux* | k*bsd*-gnu)
5043   lt_cv_deplibs_check_method=pass_all
5044   ;;
5045
5046 netbsd*)
5047   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5048     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5049   else
5050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5051   fi
5052   ;;
5053
5054 newos6*)
5055   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5056   lt_cv_file_magic_cmd=/usr/bin/file
5057   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5058   ;;
5059
5060 *nto* | *qnx*)
5061   lt_cv_deplibs_check_method=pass_all
5062   ;;
5063
5064 openbsd*)
5065   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5066     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5067   else
5068     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5069   fi
5070   ;;
5071
5072 osf3* | osf4* | osf5*)
5073   lt_cv_deplibs_check_method=pass_all
5074   ;;
5075
5076 rdos*)
5077   lt_cv_deplibs_check_method=pass_all
5078   ;;
5079
5080 solaris*)
5081   lt_cv_deplibs_check_method=pass_all
5082   ;;
5083
5084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5085   lt_cv_deplibs_check_method=pass_all
5086   ;;
5087
5088 sysv4 | sysv4.3*)
5089   case $host_vendor in
5090   motorola)
5091     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5092     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5093     ;;
5094   ncr)
5095     lt_cv_deplibs_check_method=pass_all
5096     ;;
5097   sequent)
5098     lt_cv_file_magic_cmd='/bin/file'
5099     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5100     ;;
5101   sni)
5102     lt_cv_file_magic_cmd='/bin/file'
5103     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5104     lt_cv_file_magic_test_file=/lib/libc.so
5105     ;;
5106   siemens)
5107     lt_cv_deplibs_check_method=pass_all
5108     ;;
5109   pc)
5110     lt_cv_deplibs_check_method=pass_all
5111     ;;
5112   esac
5113   ;;
5114
5115 tpf*)
5116   lt_cv_deplibs_check_method=pass_all
5117   ;;
5118 esac
5119
5120 fi
5121 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5122 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5123 file_magic_cmd=$lt_cv_file_magic_cmd
5124 deplibs_check_method=$lt_cv_deplibs_check_method
5125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138 if test -n "$ac_tool_prefix"; then
5139   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ar; ac_word=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_prog_AR+set}" = set; then
5144   echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146   if test -n "$AR"; then
5147   ac_cv_prog_AR="$AR" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5151 do
5152   IFS=$as_save_IFS
5153   test -z "$as_dir" && as_dir=.
5154   for ac_exec_ext in '' $ac_executable_extensions; do
5155   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156     ac_cv_prog_AR="${ac_tool_prefix}ar"
5157     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158     break 2
5159   fi
5160 done
5161 done
5162
5163 fi
5164 fi
5165 AR=$ac_cv_prog_AR
5166 if test -n "$AR"; then
5167   echo "$as_me:$LINENO: result: $AR" >&5
5168 echo "${ECHO_T}$AR" >&6
5169 else
5170   echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5172 fi
5173
5174 fi
5175 if test -z "$ac_cv_prog_AR"; then
5176   ac_ct_AR=$AR
5177   # Extract the first word of "ar", so it can be a program name with args.
5178 set dummy ar; ac_word=$2
5179 echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5182   echo $ECHO_N "(cached) $ECHO_C" >&6
5183 else
5184   if test -n "$ac_ct_AR"; then
5185   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5189 do
5190   IFS=$as_save_IFS
5191   test -z "$as_dir" && as_dir=.
5192   for ac_exec_ext in '' $ac_executable_extensions; do
5193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194     ac_cv_prog_ac_ct_AR="ar"
5195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5196     break 2
5197   fi
5198 done
5199 done
5200
5201   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5202 fi
5203 fi
5204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5207 echo "${ECHO_T}$ac_ct_AR" >&6
5208 else
5209   echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213   AR=$ac_ct_AR
5214 else
5215   AR="$ac_cv_prog_AR"
5216 fi
5217
5218 test -z "$AR" && AR=ar
5219 test -z "$AR_FLAGS" && AR_FLAGS=cru
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231 if test -n "$ac_tool_prefix"; then
5232   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}strip; ac_word=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_STRIP+set}" = set; then
5237   echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239   if test -n "$STRIP"; then
5240   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5244 do
5245   IFS=$as_save_IFS
5246   test -z "$as_dir" && as_dir=.
5247   for ac_exec_ext in '' $ac_executable_extensions; do
5248   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5250     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251     break 2
5252   fi
5253 done
5254 done
5255
5256 fi
5257 fi
5258 STRIP=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260   echo "$as_me:$LINENO: result: $STRIP" >&5
5261 echo "${ECHO_T}$STRIP" >&6
5262 else
5263   echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5265 fi
5266
5267 fi
5268 if test -z "$ac_cv_prog_STRIP"; then
5269   ac_ct_STRIP=$STRIP
5270   # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5275   echo $ECHO_N "(cached) $ECHO_C" >&6
5276 else
5277   if test -n "$ac_ct_STRIP"; then
5278   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5282 do
5283   IFS=$as_save_IFS
5284   test -z "$as_dir" && as_dir=.
5285   for ac_exec_ext in '' $ac_executable_extensions; do
5286   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287     ac_cv_prog_ac_ct_STRIP="strip"
5288     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289     break 2
5290   fi
5291 done
5292 done
5293
5294   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5295 fi
5296 fi
5297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5300 echo "${ECHO_T}$ac_ct_STRIP" >&6
5301 else
5302   echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5304 fi
5305
5306   STRIP=$ac_ct_STRIP
5307 else
5308   STRIP="$ac_cv_prog_STRIP"
5309 fi
5310
5311 test -z "$STRIP" && STRIP=:
5312
5313
5314
5315
5316
5317
5318 if test -n "$ac_tool_prefix"; then
5319   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_RANLIB+set}" = set; then
5324   echo $ECHO_N "(cached) $ECHO_C" >&6
5325 else
5326   if test -n "$RANLIB"; then
5327   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5331 do
5332   IFS=$as_save_IFS
5333   test -z "$as_dir" && as_dir=.
5334   for ac_exec_ext in '' $ac_executable_extensions; do
5335   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5337     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338     break 2
5339   fi
5340 done
5341 done
5342
5343 fi
5344 fi
5345 RANLIB=$ac_cv_prog_RANLIB
5346 if test -n "$RANLIB"; then
5347   echo "$as_me:$LINENO: result: $RANLIB" >&5
5348 echo "${ECHO_T}$RANLIB" >&6
5349 else
5350   echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5352 fi
5353
5354 fi
5355 if test -z "$ac_cv_prog_RANLIB"; then
5356   ac_ct_RANLIB=$RANLIB
5357   # Extract the first word of "ranlib", so it can be a program name with args.
5358 set dummy ranlib; ac_word=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5362   echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364   if test -n "$ac_ct_RANLIB"; then
5365   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5369 do
5370   IFS=$as_save_IFS
5371   test -z "$as_dir" && as_dir=.
5372   for ac_exec_ext in '' $ac_executable_extensions; do
5373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374     ac_cv_prog_ac_ct_RANLIB="ranlib"
5375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376     break 2
5377   fi
5378 done
5379 done
5380
5381   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5382 fi
5383 fi
5384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5385 if test -n "$ac_ct_RANLIB"; then
5386   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5387 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5388 else
5389   echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6
5391 fi
5392
5393   RANLIB=$ac_ct_RANLIB
5394 else
5395   RANLIB="$ac_cv_prog_RANLIB"
5396 fi
5397
5398 test -z "$RANLIB" && RANLIB=:
5399
5400
5401
5402
5403
5404
5405 # Determine commands to create old-style static archives.
5406 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5407 old_postinstall_cmds='chmod 644 $oldlib'
5408 old_postuninstall_cmds=
5409
5410 if test -n "$RANLIB"; then
5411   case $host_os in
5412   openbsd*)
5413     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5414     ;;
5415   *)
5416     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5417     ;;
5418   esac
5419   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5420 fi
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455 # If no C compiler was specified, use CC.
5456 LTCC=${LTCC-"$CC"}
5457
5458 # If no C compiler flags were specified, use CFLAGS.
5459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5460
5461 # Allow CC to be a program name with arguments.
5462 compiler=$CC
5463
5464
5465 # Check for command to grab the raw symbol name followed by C symbol from nm.
5466 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5467 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5469   echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471
5472 # These are sane defaults that work on at least a few old systems.
5473 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5474
5475 # Character class describing NM global symbol codes.
5476 symcode='[BCDEGRST]'
5477
5478 # Regexp to match symbols that can be accessed directly from C.
5479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5480
5481 # Define system-specific variables.
5482 case $host_os in
5483 aix*)
5484   symcode='[BCDT]'
5485   ;;
5486 cygwin* | mingw* | pw32*)
5487   symcode='[ABCDGISTW]'
5488   ;;
5489 hpux*)
5490   if test "$host_cpu" = ia64; then
5491     symcode='[ABCDEGRST]'
5492   fi
5493   ;;
5494 irix* | nonstopux*)
5495   symcode='[BCDEGRST]'
5496   ;;
5497 osf*)
5498   symcode='[BCDEGQRST]'
5499   ;;
5500 solaris*)
5501   symcode='[BDRT]'
5502   ;;
5503 sco3.2v5*)
5504   symcode='[DT]'
5505   ;;
5506 sysv4.2uw2*)
5507   symcode='[DT]'
5508   ;;
5509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5510   symcode='[ABDT]'
5511   ;;
5512 sysv4)
5513   symcode='[DFNSTU]'
5514   ;;
5515 esac
5516
5517 # If we're using GNU nm, then use its standard symbol codes.
5518 case `$NM -V 2>&1` in
5519 *GNU* | *'with BFD'*)
5520   symcode='[ABCDGIRSTW]' ;;
5521 esac
5522
5523 # Transform an extracted symbol line into a proper C declaration.
5524 # Some systems (esp. on ia64) link data and code symbols differently,
5525 # so use this general approach.
5526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5527
5528 # Transform an extracted symbol line into symbol name and symbol address
5529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5530
5531 # Handle CRLF in mingw tool chain
5532 opt_cr=
5533 case $build_os in
5534 mingw*)
5535   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5536   ;;
5537 esac
5538
5539 # Try without a prefix underscore, then with it.
5540 for ac_symprfx in "" "_"; do
5541
5542   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5543   symxfrm="\\1 $ac_symprfx\\2 \\2"
5544
5545   # Write the raw and C identifiers.
5546   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5547     # Fake it for dumpbin and say T for any non-static function
5548     # and D for any global variable.
5549     # Also find C++ and __fastcall symbols from MSVC++,
5550     # which start with @ or ?.
5551     lt_cv_sys_global_symbol_pipe="$AWK '"\
5552 "     {last_section=section; section=\$ 3};"\
5553 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5554 "     \$ 0!~/External *\|/{next};"\
5555 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5556 "     {if(hide[section]) next};"\
5557 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5558 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5559 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5560 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5561 "     ' prfx=^$ac_symprfx"
5562   else
5563     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5564   fi
5565
5566   # Check to see that the pipe works correctly.
5567   pipe_works=no
5568
5569   rm -f conftest*
5570   cat > conftest.$ac_ext <<_LT_EOF
5571 #ifdef __cplusplus
5572 extern "C" {
5573 #endif
5574 char nm_test_var;
5575 void nm_test_func(void);
5576 void nm_test_func(void){}
5577 #ifdef __cplusplus
5578 }
5579 #endif
5580 int main(){nm_test_var='a';nm_test_func();return(0);}
5581 _LT_EOF
5582
5583   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584   (eval $ac_compile) 2>&5
5585   ac_status=$?
5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587   (exit $ac_status); }; then
5588     # Now try to grab the symbols.
5589     nlist=conftest.nm
5590     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5591   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5592   ac_status=$?
5593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594   (exit $ac_status); } && test -s "$nlist"; then
5595       # Try sorting and uniquifying the output.
5596       if sort "$nlist" | uniq > "$nlist"T; then
5597         mv -f "$nlist"T "$nlist"
5598       else
5599         rm -f "$nlist"T
5600       fi
5601
5602       # Make sure that we snagged all the symbols we need.
5603       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5604         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5605           cat <<_LT_EOF > conftest.$ac_ext
5606 #ifdef __cplusplus
5607 extern "C" {
5608 #endif
5609
5610 _LT_EOF
5611           # Now generate the symbol file.
5612           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5613
5614           cat <<_LT_EOF >> conftest.$ac_ext
5615
5616 /* The mapping between symbol names and symbols.  */
5617 const struct {
5618   const char *name;
5619   void       *address;
5620 }
5621 lt__PROGRAM__LTX_preloaded_symbols[] =
5622 {
5623   { "@PROGRAM@", (void *) 0 },
5624 _LT_EOF
5625           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5626           cat <<\_LT_EOF >> conftest.$ac_ext
5627   {0, (void *) 0}
5628 };
5629
5630 /* This works around a problem in FreeBSD linker */
5631 #ifdef FREEBSD_WORKAROUND
5632 static const void *lt_preloaded_setup() {
5633   return lt__PROGRAM__LTX_preloaded_symbols;
5634 }
5635 #endif
5636
5637 #ifdef __cplusplus
5638 }
5639 #endif
5640 _LT_EOF
5641           # Now try linking the two files.
5642           mv conftest.$ac_objext conftstm.$ac_objext
5643           lt_save_LIBS="$LIBS"
5644           lt_save_CFLAGS="$CFLAGS"
5645           LIBS="conftstm.$ac_objext"
5646           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5647           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648   (eval $ac_link) 2>&5
5649   ac_status=$?
5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5652             pipe_works=yes
5653           fi
5654           LIBS="$lt_save_LIBS"
5655           CFLAGS="$lt_save_CFLAGS"
5656         else
5657           echo "cannot find nm_test_func in $nlist" >&5
5658         fi
5659       else
5660         echo "cannot find nm_test_var in $nlist" >&5
5661       fi
5662     else
5663       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5664     fi
5665   else
5666     echo "$progname: failed program was:" >&5
5667     cat conftest.$ac_ext >&5
5668   fi
5669   rm -f conftest* conftst*
5670
5671   # Do not use the global_symbol_pipe unless it works.
5672   if test "$pipe_works" = yes; then
5673     break
5674   else
5675     lt_cv_sys_global_symbol_pipe=
5676   fi
5677 done
5678
5679 fi
5680
5681 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5682   lt_cv_sys_global_symbol_to_cdecl=
5683 fi
5684 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5685   echo "$as_me:$LINENO: result: failed" >&5
5686 echo "${ECHO_T}failed" >&6
5687 else
5688   echo "$as_me:$LINENO: result: ok" >&5
5689 echo "${ECHO_T}ok" >&6
5690 fi
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5709 if test "${enable_libtool_lock+set}" = set; then
5710   enableval="$enable_libtool_lock"
5711
5712 fi;
5713 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5714
5715 # Some flags need to be propagated to the compiler or linker for good
5716 # libtool support.
5717 case $host in
5718 ia64-*-hpux*)
5719   # Find out which ABI we are using.
5720   echo 'int i;' > conftest.$ac_ext
5721   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722   (eval $ac_compile) 2>&5
5723   ac_status=$?
5724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725   (exit $ac_status); }; then
5726     case `/usr/bin/file conftest.$ac_objext` in
5727       *ELF-32*)
5728         HPUX_IA64_MODE="32"
5729         ;;
5730       *ELF-64*)
5731         HPUX_IA64_MODE="64"
5732         ;;
5733     esac
5734   fi
5735   rm -rf conftest*
5736   ;;
5737 *-*-irix6*)
5738   # Find out which ABI we are using.
5739   echo '#line 5739 "configure"' > conftest.$ac_ext
5740   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741   (eval $ac_compile) 2>&5
5742   ac_status=$?
5743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744   (exit $ac_status); }; then
5745     if test "$lt_cv_prog_gnu_ld" = yes; then
5746       case `/usr/bin/file conftest.$ac_objext` in
5747         *32-bit*)
5748           LD="${LD-ld} -melf32bsmip"
5749           ;;
5750         *N32*)
5751           LD="${LD-ld} -melf32bmipn32"
5752           ;;
5753         *64-bit*)
5754           LD="${LD-ld} -melf64bmip"
5755         ;;
5756       esac
5757     else
5758       case `/usr/bin/file conftest.$ac_objext` in
5759         *32-bit*)
5760           LD="${LD-ld} -32"
5761           ;;
5762         *N32*)
5763           LD="${LD-ld} -n32"
5764           ;;
5765         *64-bit*)
5766           LD="${LD-ld} -64"
5767           ;;
5768       esac
5769     fi
5770   fi
5771   rm -rf conftest*
5772   ;;
5773
5774 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5775 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5776   # Find out which ABI we are using.
5777   echo 'int i;' > conftest.$ac_ext
5778   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779   (eval $ac_compile) 2>&5
5780   ac_status=$?
5781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782   (exit $ac_status); }; then
5783     case `/usr/bin/file conftest.o` in
5784       *32-bit*)
5785         case $host in
5786           x86_64-*kfreebsd*-gnu)
5787             LD="${LD-ld} -m elf_i386_fbsd"
5788             ;;
5789           x86_64-*linux*)
5790             LD="${LD-ld} -m elf_i386"
5791             ;;
5792           ppc64-*linux*|powerpc64-*linux*)
5793             LD="${LD-ld} -m elf32ppclinux"
5794             ;;
5795           s390x-*linux*)
5796             LD="${LD-ld} -m elf_s390"
5797             ;;
5798           sparc64-*linux*)
5799             LD="${LD-ld} -m elf32_sparc"
5800             ;;
5801         esac
5802         ;;
5803       *64-bit*)
5804         case $host in
5805           x86_64-*kfreebsd*-gnu)
5806             LD="${LD-ld} -m elf_x86_64_fbsd"
5807             ;;
5808           x86_64-*linux*)
5809             LD="${LD-ld} -m elf_x86_64"
5810             ;;
5811           ppc*-*linux*|powerpc*-*linux*)
5812             LD="${LD-ld} -m elf64ppc"
5813             ;;
5814           s390*-*linux*|s390*-*tpf*)
5815             LD="${LD-ld} -m elf64_s390"
5816             ;;
5817           sparc*-*linux*)
5818             LD="${LD-ld} -m elf64_sparc"
5819             ;;
5820         esac
5821         ;;
5822     esac
5823   fi
5824   rm -rf conftest*
5825   ;;
5826
5827 *-*-sco3.2v5*)
5828   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5829   SAVE_CFLAGS="$CFLAGS"
5830   CFLAGS="$CFLAGS -belf"
5831   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5833 if test "${lt_cv_cc_needs_belf+set}" = set; then
5834   echo $ECHO_N "(cached) $ECHO_C" >&6
5835 else
5836   ac_ext=c
5837 ac_cpp='$CPP $CPPFLAGS'
5838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5841
5842      if test x$gcc_no_link = xyes; then
5843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5845    { (exit 1); exit 1; }; }
5846 fi
5847 cat >conftest.$ac_ext <<_ACEOF
5848 /* confdefs.h.  */
5849 _ACEOF
5850 cat confdefs.h >>conftest.$ac_ext
5851 cat >>conftest.$ac_ext <<_ACEOF
5852 /* end confdefs.h.  */
5853
5854 int
5855 main ()
5856 {
5857
5858   ;
5859   return 0;
5860 }
5861 _ACEOF
5862 rm -f conftest.$ac_objext conftest$ac_exeext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5864   (eval $ac_link) 2>conftest.er1
5865   ac_status=$?
5866   grep -v '^ *+' conftest.er1 >conftest.err
5867   rm -f conftest.er1
5868   cat conftest.err >&5
5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870   (exit $ac_status); } &&
5871          { ac_try='test -z "$ac_c_werror_flag"
5872                          || test ! -s conftest.err'
5873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874   (eval $ac_try) 2>&5
5875   ac_status=$?
5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877   (exit $ac_status); }; } &&
5878          { ac_try='test -s conftest$ac_exeext'
5879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880   (eval $ac_try) 2>&5
5881   ac_status=$?
5882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883   (exit $ac_status); }; }; then
5884   lt_cv_cc_needs_belf=yes
5885 else
5886   echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5888
5889 lt_cv_cc_needs_belf=no
5890 fi
5891 rm -f conftest.err conftest.$ac_objext \
5892       conftest$ac_exeext conftest.$ac_ext
5893      ac_ext=c
5894 ac_cpp='$CPP $CPPFLAGS'
5895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5898
5899 fi
5900 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5902   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5903     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5904     CFLAGS="$SAVE_CFLAGS"
5905   fi
5906   ;;
5907 sparc*-*solaris*)
5908   # Find out which ABI we are using.
5909   echo 'int i;' > conftest.$ac_ext
5910   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5911   (eval $ac_compile) 2>&5
5912   ac_status=$?
5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914   (exit $ac_status); }; then
5915     case `/usr/bin/file conftest.o` in
5916     *64-bit*)
5917       case $lt_cv_prog_gnu_ld in
5918       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5919       *)    LD="${LD-ld} -64" ;;
5920       esac
5921       ;;
5922     esac
5923   fi
5924   rm -rf conftest*
5925   ;;
5926 esac
5927
5928 need_locks="$enable_libtool_lock"
5929
5930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5932 if test "${ac_cv_header_stdc+set}" = set; then
5933   echo $ECHO_N "(cached) $ECHO_C" >&6
5934 else
5935   cat >conftest.$ac_ext <<_ACEOF
5936 /* confdefs.h.  */
5937 _ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h.  */
5941 #include <stdlib.h>
5942 #include <stdarg.h>
5943 #include <string.h>
5944 #include <float.h>
5945
5946 int
5947 main ()
5948 {
5949
5950   ;
5951   return 0;
5952 }
5953 _ACEOF
5954 rm -f conftest.$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956   (eval $ac_compile) 2>conftest.er1
5957   ac_status=$?
5958   grep -v '^ *+' conftest.er1 >conftest.err
5959   rm -f conftest.er1
5960   cat conftest.err >&5
5961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962   (exit $ac_status); } &&
5963          { ac_try='test -z "$ac_c_werror_flag"
5964                          || test ! -s conftest.err'
5965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966   (eval $ac_try) 2>&5
5967   ac_status=$?
5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969   (exit $ac_status); }; } &&
5970          { ac_try='test -s conftest.$ac_objext'
5971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972   (eval $ac_try) 2>&5
5973   ac_status=$?
5974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975   (exit $ac_status); }; }; then
5976   ac_cv_header_stdc=yes
5977 else
5978   echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5980
5981 ac_cv_header_stdc=no
5982 fi
5983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5984
5985 if test $ac_cv_header_stdc = yes; then
5986   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5987   cat >conftest.$ac_ext <<_ACEOF
5988 /* confdefs.h.  */
5989 _ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h.  */
5993 #include <string.h>
5994
5995 _ACEOF
5996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5997   $EGREP "memchr" >/dev/null 2>&1; then
5998   :
5999 else
6000   ac_cv_header_stdc=no
6001 fi
6002 rm -f conftest*
6003
6004 fi
6005
6006 if test $ac_cv_header_stdc = yes; then
6007   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6008   cat >conftest.$ac_ext <<_ACEOF
6009 /* confdefs.h.  */
6010 _ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h.  */
6014 #include <stdlib.h>
6015
6016 _ACEOF
6017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6018   $EGREP "free" >/dev/null 2>&1; then
6019   :
6020 else
6021   ac_cv_header_stdc=no
6022 fi
6023 rm -f conftest*
6024
6025 fi
6026
6027 if test $ac_cv_header_stdc = yes; then
6028   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6029   if test "$cross_compiling" = yes; then
6030   :
6031 else
6032   cat >conftest.$ac_ext <<_ACEOF
6033 /* confdefs.h.  */
6034 _ACEOF
6035 cat confdefs.h >>conftest.$ac_ext
6036 cat >>conftest.$ac_ext <<_ACEOF
6037 /* end confdefs.h.  */
6038 #include <ctype.h>
6039 #if ((' ' & 0x0FF) == 0x020)
6040 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6042 #else
6043 # define ISLOWER(c) \
6044                    (('a' <= (c) && (c) <= 'i') \
6045                      || ('j' <= (c) && (c) <= 'r') \
6046                      || ('s' <= (c) && (c) <= 'z'))
6047 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6048 #endif
6049
6050 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6051 int
6052 main ()
6053 {
6054   int i;
6055   for (i = 0; i < 256; i++)
6056     if (XOR (islower (i), ISLOWER (i))
6057         || toupper (i) != TOUPPER (i))
6058       exit(2);
6059   exit (0);
6060 }
6061 _ACEOF
6062 rm -f conftest$ac_exeext
6063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064   (eval $ac_link) 2>&5
6065   ac_status=$?
6066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069   (eval $ac_try) 2>&5
6070   ac_status=$?
6071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072   (exit $ac_status); }; }; then
6073   :
6074 else
6075   echo "$as_me: program exited with status $ac_status" >&5
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.$ac_ext >&5
6078
6079 ( exit $ac_status )
6080 ac_cv_header_stdc=no
6081 fi
6082 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6083 fi
6084 fi
6085 fi
6086 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6088 if test $ac_cv_header_stdc = yes; then
6089
6090 cat >>confdefs.h <<\_ACEOF
6091 #define STDC_HEADERS 1
6092 _ACEOF
6093
6094 fi
6095
6096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6107                   inttypes.h stdint.h unistd.h
6108 do
6109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 echo "$as_me:$LINENO: checking for $ac_header" >&5
6111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6113   echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115   cat >conftest.$ac_ext <<_ACEOF
6116 /* confdefs.h.  */
6117 _ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h.  */
6121 $ac_includes_default
6122
6123 #include <$ac_header>
6124 _ACEOF
6125 rm -f conftest.$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127   (eval $ac_compile) 2>conftest.er1
6128   ac_status=$?
6129   grep -v '^ *+' conftest.er1 >conftest.err
6130   rm -f conftest.er1
6131   cat conftest.err >&5
6132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133   (exit $ac_status); } &&
6134          { ac_try='test -z "$ac_c_werror_flag"
6135                          || test ! -s conftest.err'
6136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137   (eval $ac_try) 2>&5
6138   ac_status=$?
6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140   (exit $ac_status); }; } &&
6141          { ac_try='test -s conftest.$ac_objext'
6142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143   (eval $ac_try) 2>&5
6144   ac_status=$?
6145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146   (exit $ac_status); }; }; then
6147   eval "$as_ac_Header=yes"
6148 else
6149   echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6151
6152 eval "$as_ac_Header=no"
6153 fi
6154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6155 fi
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159   cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 _ACEOF
6162
6163 fi
6164
6165 done
6166
6167
6168
6169 for ac_header in dlfcn.h
6170 do
6171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6172 echo "$as_me:$LINENO: checking for $ac_header" >&5
6173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175   echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177   cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h.  */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h.  */
6183 $ac_includes_default
6184
6185 #include <$ac_header>
6186 _ACEOF
6187 rm -f conftest.$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189   (eval $ac_compile) 2>conftest.er1
6190   ac_status=$?
6191   grep -v '^ *+' conftest.er1 >conftest.err
6192   rm -f conftest.er1
6193   cat conftest.err >&5
6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195   (exit $ac_status); } &&
6196          { ac_try='test -z "$ac_c_werror_flag"
6197                          || test ! -s conftest.err'
6198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199   (eval $ac_try) 2>&5
6200   ac_status=$?
6201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202   (exit $ac_status); }; } &&
6203          { ac_try='test -s conftest.$ac_objext'
6204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205   (eval $ac_try) 2>&5
6206   ac_status=$?
6207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208   (exit $ac_status); }; }; then
6209   eval "$as_ac_Header=yes"
6210 else
6211   echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.$ac_ext >&5
6213
6214 eval "$as_ac_Header=no"
6215 fi
6216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6217 fi
6218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6221   cat >>confdefs.h <<_ACEOF
6222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6223 _ACEOF
6224
6225 fi
6226
6227 done
6228
6229
6230
6231 ac_ext=cc
6232 ac_cpp='$CXXCPP $CPPFLAGS'
6233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236 if test -n "$ac_tool_prefix"; then
6237   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238   do
6239     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6241 echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6243 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6244   echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246   if test -n "$CXX"; then
6247   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6251 do
6252   IFS=$as_save_IFS
6253   test -z "$as_dir" && as_dir=.
6254   for ac_exec_ext in '' $ac_executable_extensions; do
6255   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6257     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258     break 2
6259   fi
6260 done
6261 done
6262
6263 fi
6264 fi
6265 CXX=$glibcxx_cv_prog_CXX
6266 if test -n "$CXX"; then
6267   echo "$as_me:$LINENO: result: $CXX" >&5
6268 echo "${ECHO_T}$CXX" >&6
6269 else
6270   echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6
6272 fi
6273
6274     test -n "$CXX" && break
6275   done
6276 fi
6277 if test -z "$CXX"; then
6278   ac_ct_CXX=$CXX
6279   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6280 do
6281   # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6286   echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288   if test -n "$ac_ct_CXX"; then
6289   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6293 do
6294   IFS=$as_save_IFS
6295   test -z "$as_dir" && as_dir=.
6296   for ac_exec_ext in '' $ac_executable_extensions; do
6297   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298     ac_cv_prog_ac_ct_CXX="$ac_prog"
6299     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300     break 2
6301   fi
6302 done
6303 done
6304
6305 fi
6306 fi
6307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6308 if test -n "$ac_ct_CXX"; then
6309   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6310 echo "${ECHO_T}$ac_ct_CXX" >&6
6311 else
6312   echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316   test -n "$ac_ct_CXX" && break
6317 done
6318 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6319
6320   CXX=$ac_ct_CXX
6321 fi
6322
6323
6324 # Provide some information about the compiler.
6325 echo "$as_me:$LINENO:" \
6326      "checking for C++ compiler version" >&5
6327 ac_compiler=`set X $ac_compile; echo $2`
6328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6329   (eval $ac_compiler --version </dev/null >&5) 2>&5
6330   ac_status=$?
6331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332   (exit $ac_status); }
6333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6334   (eval $ac_compiler -v </dev/null >&5) 2>&5
6335   ac_status=$?
6336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337   (exit $ac_status); }
6338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6339   (eval $ac_compiler -V </dev/null >&5) 2>&5
6340   ac_status=$?
6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342   (exit $ac_status); }
6343
6344 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6345 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6346 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6347   echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else
6349   cat >conftest.$ac_ext <<_ACEOF
6350 /* confdefs.h.  */
6351 _ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
6354 /* end confdefs.h.  */
6355
6356 int
6357 main ()
6358 {
6359 #ifndef __GNUC__
6360        choke me
6361 #endif
6362
6363   ;
6364   return 0;
6365 }
6366 _ACEOF
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369   (eval $ac_compile) 2>conftest.er1
6370   ac_status=$?
6371   grep -v '^ *+' conftest.er1 >conftest.err
6372   rm -f conftest.er1
6373   cat conftest.err >&5
6374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375   (exit $ac_status); } &&
6376          { ac_try='test -z "$ac_cxx_werror_flag"
6377                          || test ! -s conftest.err'
6378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379   (eval $ac_try) 2>&5
6380   ac_status=$?
6381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382   (exit $ac_status); }; } &&
6383          { ac_try='test -s conftest.$ac_objext'
6384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385   (eval $ac_try) 2>&5
6386   ac_status=$?
6387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388   (exit $ac_status); }; }; then
6389   ac_compiler_gnu=yes
6390 else
6391   echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6393
6394 ac_compiler_gnu=no
6395 fi
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6398
6399 fi
6400 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6401 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6402 GXX=`test $ac_compiler_gnu = yes && echo yes`
6403 ac_test_CXXFLAGS=${CXXFLAGS+set}
6404 ac_save_CXXFLAGS=$CXXFLAGS
6405 CXXFLAGS="-g"
6406 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6407 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6408 if test "${ac_cv_prog_cxx_g+set}" = set; then
6409   echo $ECHO_N "(cached) $ECHO_C" >&6
6410 else
6411   cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h.  */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h.  */
6417
6418 int
6419 main ()
6420 {
6421
6422   ;
6423   return 0;
6424 }
6425 _ACEOF
6426 rm -f conftest.$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428   (eval $ac_compile) 2>conftest.er1
6429   ac_status=$?
6430   grep -v '^ *+' conftest.er1 >conftest.err
6431   rm -f conftest.er1
6432   cat conftest.err >&5
6433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434   (exit $ac_status); } &&
6435          { ac_try='test -z "$ac_cxx_werror_flag"
6436                          || test ! -s conftest.err'
6437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438   (eval $ac_try) 2>&5
6439   ac_status=$?
6440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441   (exit $ac_status); }; } &&
6442          { ac_try='test -s conftest.$ac_objext'
6443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444   (eval $ac_try) 2>&5
6445   ac_status=$?
6446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447   (exit $ac_status); }; }; then
6448   ac_cv_prog_cxx_g=yes
6449 else
6450   echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6452
6453 ac_cv_prog_cxx_g=no
6454 fi
6455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6456 fi
6457 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6458 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6459 if test "$ac_test_CXXFLAGS" = set; then
6460   CXXFLAGS=$ac_save_CXXFLAGS
6461 elif test $ac_cv_prog_cxx_g = yes; then
6462   if test "$GXX" = yes; then
6463     CXXFLAGS="-g -O2"
6464   else
6465     CXXFLAGS="-g"
6466   fi
6467 else
6468   if test "$GXX" = yes; then
6469     CXXFLAGS="-O2"
6470   else
6471     CXXFLAGS=
6472   fi
6473 fi
6474 for ac_declaration in \
6475    '' \
6476    'extern "C" void std::exit (int) throw (); using std::exit;' \
6477    'extern "C" void std::exit (int); using std::exit;' \
6478    'extern "C" void exit (int) throw ();' \
6479    'extern "C" void exit (int);' \
6480    'void exit (int);'
6481 do
6482   cat >conftest.$ac_ext <<_ACEOF
6483 /* confdefs.h.  */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h.  */
6488 $ac_declaration
6489 #include <stdlib.h>
6490 int
6491 main ()
6492 {
6493 exit (42);
6494   ;
6495   return 0;
6496 }
6497 _ACEOF
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500   (eval $ac_compile) 2>conftest.er1
6501   ac_status=$?
6502   grep -v '^ *+' conftest.er1 >conftest.err
6503   rm -f conftest.er1
6504   cat conftest.err >&5
6505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506   (exit $ac_status); } &&
6507          { ac_try='test -z "$ac_cxx_werror_flag"
6508                          || test ! -s conftest.err'
6509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510   (eval $ac_try) 2>&5
6511   ac_status=$?
6512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513   (exit $ac_status); }; } &&
6514          { ac_try='test -s conftest.$ac_objext'
6515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516   (eval $ac_try) 2>&5
6517   ac_status=$?
6518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519   (exit $ac_status); }; }; then
6520   :
6521 else
6522   echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6524
6525 continue
6526 fi
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6528   cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h.  */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h.  */
6534 $ac_declaration
6535 int
6536 main ()
6537 {
6538 exit (42);
6539   ;
6540   return 0;
6541 }
6542 _ACEOF
6543 rm -f conftest.$ac_objext
6544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6545   (eval $ac_compile) 2>conftest.er1
6546   ac_status=$?
6547   grep -v '^ *+' conftest.er1 >conftest.err
6548   rm -f conftest.er1
6549   cat conftest.err >&5
6550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551   (exit $ac_status); } &&
6552          { ac_try='test -z "$ac_cxx_werror_flag"
6553                          || test ! -s conftest.err'
6554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555   (eval $ac_try) 2>&5
6556   ac_status=$?
6557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558   (exit $ac_status); }; } &&
6559          { ac_try='test -s conftest.$ac_objext'
6560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561   (eval $ac_try) 2>&5
6562   ac_status=$?
6563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564   (exit $ac_status); }; }; then
6565   break
6566 else
6567   echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6569
6570 fi
6571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6572 done
6573 rm -f conftest*
6574 if test -n "$ac_declaration"; then
6575   echo '#ifdef __cplusplus' >>confdefs.h
6576   echo $ac_declaration      >>confdefs.h
6577   echo '#endif'             >>confdefs.h
6578 fi
6579
6580 ac_ext=c
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6585
6586 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6587     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6588     (test "X$CXX" != "Xg++"))) ; then
6589   ac_ext=cc
6590 ac_cpp='$CXXCPP $CPPFLAGS'
6591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6594 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6595 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6596 if test -z "$CXXCPP"; then
6597   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6598   echo $ECHO_N "(cached) $ECHO_C" >&6
6599 else
6600       # Double quotes because CXXCPP needs to be expanded
6601     for CXXCPP in "$CXX -E" "/lib/cpp"
6602     do
6603       ac_preproc_ok=false
6604 for ac_cxx_preproc_warn_flag in '' yes
6605 do
6606   # Use a header file that comes with gcc, so configuring glibc
6607   # with a fresh cross-compiler works.
6608   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609   # <limits.h> exists even on freestanding compilers.
6610   # On the NeXT, cc -E runs the code through the compiler's parser,
6611   # not just through cpp. "Syntax error" is here to catch this case.
6612   cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h.  */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h.  */
6618 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623                      Syntax error
6624 _ACEOF
6625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6626   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6627   ac_status=$?
6628   grep -v '^ *+' conftest.er1 >conftest.err
6629   rm -f conftest.er1
6630   cat conftest.err >&5
6631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632   (exit $ac_status); } >/dev/null; then
6633   if test -s conftest.err; then
6634     ac_cpp_err=$ac_cxx_preproc_warn_flag
6635     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6636   else
6637     ac_cpp_err=
6638   fi
6639 else
6640   ac_cpp_err=yes
6641 fi
6642 if test -z "$ac_cpp_err"; then
6643   :
6644 else
6645   echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6647
6648   # Broken: fails on valid input.
6649 continue
6650 fi
6651 rm -f conftest.err conftest.$ac_ext
6652
6653   # OK, works on sane cases.  Now check whether non-existent headers
6654   # can be detected and how.
6655   cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h.  */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h.  */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6665   ac_status=$?
6666   grep -v '^ *+' conftest.er1 >conftest.err
6667   rm -f conftest.er1
6668   cat conftest.err >&5
6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670   (exit $ac_status); } >/dev/null; then
6671   if test -s conftest.err; then
6672     ac_cpp_err=$ac_cxx_preproc_warn_flag
6673     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6674   else
6675     ac_cpp_err=
6676   fi
6677 else
6678   ac_cpp_err=yes
6679 fi
6680 if test -z "$ac_cpp_err"; then
6681   # Broken: success on invalid input.
6682 continue
6683 else
6684   echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6686
6687   # Passes both tests.
6688 ac_preproc_ok=:
6689 break
6690 fi
6691 rm -f conftest.err conftest.$ac_ext
6692
6693 done
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.err conftest.$ac_ext
6696 if $ac_preproc_ok; then
6697   break
6698 fi
6699
6700     done
6701     ac_cv_prog_CXXCPP=$CXXCPP
6702
6703 fi
6704   CXXCPP=$ac_cv_prog_CXXCPP
6705 else
6706   ac_cv_prog_CXXCPP=$CXXCPP
6707 fi
6708 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6709 echo "${ECHO_T}$CXXCPP" >&6
6710 ac_preproc_ok=false
6711 for ac_cxx_preproc_warn_flag in '' yes
6712 do
6713   # Use a header file that comes with gcc, so configuring glibc
6714   # with a fresh cross-compiler works.
6715   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6716   # <limits.h> exists even on freestanding compilers.
6717   # On the NeXT, cc -E runs the code through the compiler's parser,
6718   # not just through cpp. "Syntax error" is here to catch this case.
6719   cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h.  */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h.  */
6725 #ifdef __STDC__
6726 # include <limits.h>
6727 #else
6728 # include <assert.h>
6729 #endif
6730                      Syntax error
6731 _ACEOF
6732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6733   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734   ac_status=$?
6735   grep -v '^ *+' conftest.er1 >conftest.err
6736   rm -f conftest.er1
6737   cat conftest.err >&5
6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739   (exit $ac_status); } >/dev/null; then
6740   if test -s conftest.err; then
6741     ac_cpp_err=$ac_cxx_preproc_warn_flag
6742     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6743   else
6744     ac_cpp_err=
6745   fi
6746 else
6747   ac_cpp_err=yes
6748 fi
6749 if test -z "$ac_cpp_err"; then
6750   :
6751 else
6752   echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6754
6755   # Broken: fails on valid input.
6756 continue
6757 fi
6758 rm -f conftest.err conftest.$ac_ext
6759
6760   # OK, works on sane cases.  Now check whether non-existent headers
6761   # can be detected and how.
6762   cat >conftest.$ac_ext <<_ACEOF
6763 /* confdefs.h.  */
6764 _ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h.  */
6768 #include <ac_nonexistent.h>
6769 _ACEOF
6770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6771   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6772   ac_status=$?
6773   grep -v '^ *+' conftest.er1 >conftest.err
6774   rm -f conftest.er1
6775   cat conftest.err >&5
6776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777   (exit $ac_status); } >/dev/null; then
6778   if test -s conftest.err; then
6779     ac_cpp_err=$ac_cxx_preproc_warn_flag
6780     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6781   else
6782     ac_cpp_err=
6783   fi
6784 else
6785   ac_cpp_err=yes
6786 fi
6787 if test -z "$ac_cpp_err"; then
6788   # Broken: success on invalid input.
6789 continue
6790 else
6791   echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6793
6794   # Passes both tests.
6795 ac_preproc_ok=:
6796 break
6797 fi
6798 rm -f conftest.err conftest.$ac_ext
6799
6800 done
6801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6802 rm -f conftest.err conftest.$ac_ext
6803 if $ac_preproc_ok; then
6804   :
6805 else
6806   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6807 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6808 _lt_caught_CXX_error=yes; }
6809 fi
6810
6811 ac_ext=c
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6816
6817 else
6818   _lt_caught_CXX_error=yes
6819 fi
6820
6821
6822
6823
6824
6825 # This can be used to rebuild libtool when needed
6826 LIBTOOL_DEPS="$ltmain"
6827
6828 # Always use our own libtool.
6829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855 test -z "$LN_S" && LN_S="ln -s"
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870 if test -n "${ZSH_VERSION+set}" ; then
6871    setopt NO_GLOB_SUBST
6872 fi
6873
6874 echo "$as_me:$LINENO: checking for objdir" >&5
6875 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6876 if test "${lt_cv_objdir+set}" = set; then
6877   echo $ECHO_N "(cached) $ECHO_C" >&6
6878 else
6879   rm -f .libs 2>/dev/null
6880 mkdir .libs 2>/dev/null
6881 if test -d .libs; then
6882   lt_cv_objdir=.libs
6883 else
6884   # MS-DOS does not allow filenames that begin with a dot.
6885   lt_cv_objdir=_libs
6886 fi
6887 rmdir .libs 2>/dev/null
6888 fi
6889 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6890 echo "${ECHO_T}$lt_cv_objdir" >&6
6891 objdir=$lt_cv_objdir
6892
6893
6894
6895
6896
6897 cat >>confdefs.h <<_ACEOF
6898 #define LT_OBJDIR "$lt_cv_objdir/"
6899 _ACEOF
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917 case $host_os in
6918 aix3*)
6919   # AIX sometimes has problems with the GCC collect2 program.  For some
6920   # reason, if we set the COLLECT_NAMES environment variable, the problems
6921   # vanish in a puff of smoke.
6922   if test "X${COLLECT_NAMES+set}" != Xset; then
6923     COLLECT_NAMES=
6924     export COLLECT_NAMES
6925   fi
6926   ;;
6927 esac
6928
6929 # Sed substitution that helps us do robust quoting.  It backslashifies
6930 # metacharacters that are still active within double-quoted strings.
6931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6932
6933 # Same as above, but do not quote variable references.
6934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6935
6936 # Sed substitution to delay expansion of an escaped shell variable in a
6937 # double_quote_subst'ed string.
6938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6939
6940 # Sed substitution to delay expansion of an escaped single quote.
6941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6942
6943 # Sed substitution to avoid accidental globbing in evaled expressions
6944 no_glob_subst='s/\*/\\\*/g'
6945
6946 # Global variables:
6947 ofile=libtool
6948 can_build_shared=yes
6949
6950 # All known linkers require a `.a' archive for static linking (except MSVC,
6951 # which needs '.lib').
6952 libext=a
6953
6954 with_gnu_ld="$lt_cv_prog_gnu_ld"
6955
6956 old_CC="$CC"
6957 old_CFLAGS="$CFLAGS"
6958
6959 # Set sane defaults for various variables
6960 test -z "$CC" && CC=cc
6961 test -z "$LTCC" && LTCC=$CC
6962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6963 test -z "$LD" && LD=ld
6964 test -z "$ac_objext" && ac_objext=o
6965
6966 for cc_temp in $compiler""; do
6967   case $cc_temp in
6968     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6969     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6970     \-*) ;;
6971     *) break;;
6972   esac
6973 done
6974 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6975
6976
6977 # Only perform the check for file, if the check method requires it
6978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6979 case $deplibs_check_method in
6980 file_magic*)
6981   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6982     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6983 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6985   echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else
6987   case $MAGIC_CMD in
6988 [\\/*] |  ?:[\\/]*)
6989   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6990   ;;
6991 *)
6992   lt_save_MAGIC_CMD="$MAGIC_CMD"
6993   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6994   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6995   for ac_dir in $ac_dummy; do
6996     IFS="$lt_save_ifs"
6997     test -z "$ac_dir" && ac_dir=.
6998     if test -f $ac_dir/${ac_tool_prefix}file; then
6999       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7000       if test -n "$file_magic_test_file"; then
7001         case $deplibs_check_method in
7002         "file_magic "*)
7003           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7004           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7005           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7006             $EGREP "$file_magic_regex" > /dev/null; then
7007             :
7008           else
7009             cat <<_LT_EOF 1>&2
7010
7011 *** Warning: the command libtool uses to detect shared libraries,
7012 *** $file_magic_cmd, produces output that libtool cannot recognize.
7013 *** The result is that libtool may fail to recognize shared libraries
7014 *** as such.  This will affect the creation of libtool libraries that
7015 *** depend on shared libraries, but programs linked with such libtool
7016 *** libraries will work regardless of this problem.  Nevertheless, you
7017 *** may want to report the problem to your system manager and/or to
7018 *** bug-libtool@gnu.org
7019
7020 _LT_EOF
7021           fi ;;
7022         esac
7023       fi
7024       break
7025     fi
7026   done
7027   IFS="$lt_save_ifs"
7028   MAGIC_CMD="$lt_save_MAGIC_CMD"
7029   ;;
7030 esac
7031 fi
7032
7033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7034 if test -n "$MAGIC_CMD"; then
7035   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7036 echo "${ECHO_T}$MAGIC_CMD" >&6
7037 else
7038   echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043
7044
7045
7046 if test -z "$lt_cv_path_MAGIC_CMD"; then
7047   if test -n "$ac_tool_prefix"; then
7048     echo "$as_me:$LINENO: checking for file" >&5
7049 echo $ECHO_N "checking for file... $ECHO_C" >&6
7050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7051   echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053   case $MAGIC_CMD in
7054 [\\/*] |  ?:[\\/]*)
7055   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7056   ;;
7057 *)
7058   lt_save_MAGIC_CMD="$MAGIC_CMD"
7059   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7060   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7061   for ac_dir in $ac_dummy; do
7062     IFS="$lt_save_ifs"
7063     test -z "$ac_dir" && ac_dir=.
7064     if test -f $ac_dir/file; then
7065       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7066       if test -n "$file_magic_test_file"; then
7067         case $deplibs_check_method in
7068         "file_magic "*)
7069           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7070           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7071           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7072             $EGREP "$file_magic_regex" > /dev/null; then
7073             :
7074           else
7075             cat <<_LT_EOF 1>&2
7076
7077 *** Warning: the command libtool uses to detect shared libraries,
7078 *** $file_magic_cmd, produces output that libtool cannot recognize.
7079 *** The result is that libtool may fail to recognize shared libraries
7080 *** as such.  This will affect the creation of libtool libraries that
7081 *** depend on shared libraries, but programs linked with such libtool
7082 *** libraries will work regardless of this problem.  Nevertheless, you
7083 *** may want to report the problem to your system manager and/or to
7084 *** bug-libtool@gnu.org
7085
7086 _LT_EOF
7087           fi ;;
7088         esac
7089       fi
7090       break
7091     fi
7092   done
7093   IFS="$lt_save_ifs"
7094   MAGIC_CMD="$lt_save_MAGIC_CMD"
7095   ;;
7096 esac
7097 fi
7098
7099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7100 if test -n "$MAGIC_CMD"; then
7101   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7102 echo "${ECHO_T}$MAGIC_CMD" >&6
7103 else
7104   echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7106 fi
7107
7108
7109   else
7110     MAGIC_CMD=:
7111   fi
7112 fi
7113
7114   fi
7115   ;;
7116 esac
7117
7118 # Use C for the default configuration in the libtool script
7119
7120 lt_save_CC="$CC"
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126
7127
7128 # Source file extension for C test sources.
7129 ac_ext=c
7130
7131 # Object file extension for compiled C test sources.
7132 objext=o
7133 objext=$objext
7134
7135 # Code to be used in simple compile tests
7136 lt_simple_compile_test_code="int some_variable = 0;"
7137
7138 # Code to be used in simple link tests
7139 lt_simple_link_test_code='int main(){return(0);}'
7140
7141
7142
7143
7144
7145
7146
7147 # If no C compiler was specified, use CC.
7148 LTCC=${LTCC-"$CC"}
7149
7150 # If no C compiler flags were specified, use CFLAGS.
7151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7152
7153 # Allow CC to be a program name with arguments.
7154 compiler=$CC
7155
7156 # Save the default compiler, since it gets overwritten when the other
7157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7158 compiler_DEFAULT=$CC
7159
7160 # save warnings/boilerplate of simple test code
7161 ac_outfile=conftest.$ac_objext
7162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7164 _lt_compiler_boilerplate=`cat conftest.err`
7165 $RM conftest*
7166
7167 ac_outfile=conftest.$ac_objext
7168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7170 _lt_linker_boilerplate=`cat conftest.err`
7171 $RM conftest*
7172
7173
7174 ## CAVEAT EMPTOR:
7175 ## There is no encapsulation within the following macros, do not change
7176 ## the running order or otherwise move them around unless you know exactly
7177 ## what you are doing...
7178 if test -n "$compiler"; then
7179
7180 lt_prog_compiler_no_builtin_flag=
7181
7182 if test "$GCC" = yes; then
7183   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7184
7185   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7186 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7187 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7188   echo $ECHO_N "(cached) $ECHO_C" >&6
7189 else
7190   lt_cv_prog_compiler_rtti_exceptions=no
7191    ac_outfile=conftest.$ac_objext
7192    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7193    lt_compiler_flag="-fno-rtti -fno-exceptions"
7194    # Insert the option either (1) after the last *FLAGS variable, or
7195    # (2) before a word containing "conftest.", or (3) at the end.
7196    # Note that $ac_compile itself does not contain backslashes and begins
7197    # with a dollar sign (not a hyphen), so the echo should work correctly.
7198    # The option is referenced via a variable to avoid confusing sed.
7199    lt_compile=`echo "$ac_compile" | $SED \
7200    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7201    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7202    -e 's:$: $lt_compiler_flag:'`
7203    (eval echo "\"\$as_me:7203: $lt_compile\"" >&5)
7204    (eval "$lt_compile" 2>conftest.err)
7205    ac_status=$?
7206    cat conftest.err >&5
7207    echo "$as_me:7207: \$? = $ac_status" >&5
7208    if (exit $ac_status) && test -s "$ac_outfile"; then
7209      # The compiler can only warn and ignore the option if not recognized
7210      # So say no if there are warnings other than the usual output.
7211      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7212      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7213      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7214        lt_cv_prog_compiler_rtti_exceptions=yes
7215      fi
7216    fi
7217    $RM conftest*
7218
7219 fi
7220 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7221 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7222
7223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7224     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7225 else
7226     :
7227 fi
7228
7229 fi
7230
7231
7232
7233
7234
7235
7236   lt_prog_compiler_wl=
7237 lt_prog_compiler_pic=
7238 lt_prog_compiler_static=
7239
7240 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7241 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7242
7243   if test "$GCC" = yes; then
7244     lt_prog_compiler_wl='-Wl,'
7245     lt_prog_compiler_static='-static'
7246
7247     case $host_os in
7248       aix*)
7249       # All AIX code is PIC.
7250       if test "$host_cpu" = ia64; then
7251         # AIX 5 now supports IA64 processor
7252         lt_prog_compiler_static='-Bstatic'
7253       fi
7254       ;;
7255
7256     amigaos*)
7257       if test "$host_cpu" = m68k; then
7258         # FIXME: we need at least 68020 code to build shared libraries, but
7259         # adding the `-m68020' flag to GCC prevents building anything better,
7260         # like `-m68040'.
7261         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7262       fi
7263       ;;
7264
7265     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7266       # PIC is the default for these OSes.
7267       ;;
7268
7269     mingw* | cygwin* | pw32* | os2*)
7270       # This hack is so that the source file can tell whether it is being
7271       # built for inclusion in a dll (and should export symbols for example).
7272       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7273       # (--disable-auto-import) libraries
7274       lt_prog_compiler_pic='-DDLL_EXPORT'
7275       ;;
7276
7277     darwin* | rhapsody*)
7278       # PIC is the default on this platform
7279       # Common symbols not allowed in MH_DYLIB files
7280       lt_prog_compiler_pic='-fno-common'
7281       ;;
7282
7283     hpux*)
7284       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7285       # not for PA HP-UX.
7286       case $host_cpu in
7287       hppa*64*|ia64*)
7288         # +Z the default
7289         ;;
7290       *)
7291         lt_prog_compiler_pic='-fPIC'
7292         ;;
7293       esac
7294       ;;
7295
7296     interix[3-9]*)
7297       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7298       # Instead, we relocate shared libraries at runtime.
7299       ;;
7300
7301     msdosdjgpp*)
7302       # Just because we use GCC doesn't mean we suddenly get shared libraries
7303       # on systems that don't support them.
7304       lt_prog_compiler_can_build_shared=no
7305       enable_shared=no
7306       ;;
7307
7308     *nto* | *qnx*)
7309       # QNX uses GNU C++, but need to define -shared option too, otherwise
7310       # it will coredump.
7311       lt_prog_compiler_pic='-fPIC -shared'
7312       ;;
7313
7314     sysv4*MP*)
7315       if test -d /usr/nec; then
7316         lt_prog_compiler_pic=-Kconform_pic
7317       fi
7318       ;;
7319
7320     *)
7321       lt_prog_compiler_pic='-fPIC'
7322       ;;
7323     esac
7324   else
7325     # PORTME Check for flag to pass linker flags through the system compiler.
7326     case $host_os in
7327     aix*)
7328       lt_prog_compiler_wl='-Wl,'
7329       if test "$host_cpu" = ia64; then
7330         # AIX 5 now supports IA64 processor
7331         lt_prog_compiler_static='-Bstatic'
7332       else
7333         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7334       fi
7335       ;;
7336     darwin*)
7337       # PIC is the default on this platform
7338       # Common symbols not allowed in MH_DYLIB files
7339       case $cc_basename in
7340       xlc*)
7341         lt_prog_compiler_pic='-qnocommon'
7342         lt_prog_compiler_wl='-Wl,'
7343         ;;
7344       esac
7345       ;;
7346
7347     mingw* | cygwin* | pw32* | os2*)
7348       # This hack is so that the source file can tell whether it is being
7349       # built for inclusion in a dll (and should export symbols for example).
7350       lt_prog_compiler_pic='-DDLL_EXPORT'
7351       ;;
7352
7353     hpux9* | hpux10* | hpux11*)
7354       lt_prog_compiler_wl='-Wl,'
7355       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7356       # not for PA HP-UX.
7357       case $host_cpu in
7358       hppa*64*|ia64*)
7359         # +Z the default
7360         ;;
7361       *)
7362         lt_prog_compiler_pic='+Z'
7363         ;;
7364       esac
7365       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7366       lt_prog_compiler_static='${wl}-a ${wl}archive'
7367       ;;
7368
7369     irix5* | irix6* | nonstopux*)
7370       lt_prog_compiler_wl='-Wl,'
7371       # PIC (with -KPIC) is the default.
7372       lt_prog_compiler_static='-non_shared'
7373       ;;
7374
7375     linux* | k*bsd*-gnu)
7376       case $cc_basename in
7377       icc* | ecc*)
7378         lt_prog_compiler_wl='-Wl,'
7379         lt_prog_compiler_pic='-KPIC'
7380         lt_prog_compiler_static='-static'
7381         ;;
7382       pgcc* | pgf77* | pgf90* | pgf95*)
7383         # Portland Group compilers (*not* the Pentium gcc compiler,
7384         # which looks to be a dead project)
7385         lt_prog_compiler_wl='-Wl,'
7386         lt_prog_compiler_pic='-fpic'
7387         lt_prog_compiler_static='-Bstatic'
7388         ;;
7389       ccc*)
7390         lt_prog_compiler_wl='-Wl,'
7391         # All Alpha code is PIC.
7392         lt_prog_compiler_static='-non_shared'
7393         ;;
7394       *)
7395         case `$CC -V 2>&1 | sed 5q` in
7396         *Sun\ C*)
7397           # Sun C 5.9
7398           lt_prog_compiler_pic='-KPIC'
7399           lt_prog_compiler_static='-Bstatic'
7400           lt_prog_compiler_wl='-Wl,'
7401           ;;
7402         *Sun\ F*)
7403           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7404           lt_prog_compiler_pic='-KPIC'
7405           lt_prog_compiler_static='-Bstatic'
7406           lt_prog_compiler_wl=''
7407           ;;
7408         esac
7409         ;;
7410       esac
7411       ;;
7412
7413     newsos6)
7414       lt_prog_compiler_pic='-KPIC'
7415       lt_prog_compiler_static='-Bstatic'
7416       ;;
7417
7418     *nto* | *qnx*)
7419       # QNX uses GNU C++, but need to define -shared option too, otherwise
7420       # it will coredump.
7421       lt_prog_compiler_pic='-fPIC -shared'
7422       ;;
7423
7424     osf3* | osf4* | osf5*)
7425       lt_prog_compiler_wl='-Wl,'
7426       # All OSF/1 code is PIC.
7427       lt_prog_compiler_static='-non_shared'
7428       ;;
7429
7430     rdos*)
7431       lt_prog_compiler_static='-non_shared'
7432       ;;
7433
7434     solaris*)
7435       lt_prog_compiler_pic='-KPIC'
7436       lt_prog_compiler_static='-Bstatic'
7437       case $cc_basename in
7438       f77* | f90* | f95*)
7439         lt_prog_compiler_wl='-Qoption ld ';;
7440       *)
7441         lt_prog_compiler_wl='-Wl,';;
7442       esac
7443       ;;
7444
7445     sunos4*)
7446       lt_prog_compiler_wl='-Qoption ld '
7447       lt_prog_compiler_pic='-PIC'
7448       lt_prog_compiler_static='-Bstatic'
7449       ;;
7450
7451     sysv4 | sysv4.2uw2* | sysv4.3*)
7452       lt_prog_compiler_wl='-Wl,'
7453       lt_prog_compiler_pic='-KPIC'
7454       lt_prog_compiler_static='-Bstatic'
7455       ;;
7456
7457     sysv4*MP*)
7458       if test -d /usr/nec ;then
7459         lt_prog_compiler_pic='-Kconform_pic'
7460         lt_prog_compiler_static='-Bstatic'
7461       fi
7462       ;;
7463
7464     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7465       lt_prog_compiler_wl='-Wl,'
7466       lt_prog_compiler_pic='-KPIC'
7467       lt_prog_compiler_static='-Bstatic'
7468       ;;
7469
7470     unicos*)
7471       lt_prog_compiler_wl='-Wl,'
7472       lt_prog_compiler_can_build_shared=no
7473       ;;
7474
7475     uts4*)
7476       lt_prog_compiler_pic='-pic'
7477       lt_prog_compiler_static='-Bstatic'
7478       ;;
7479
7480     *)
7481       lt_prog_compiler_can_build_shared=no
7482       ;;
7483     esac
7484   fi
7485
7486 case $host_os in
7487   # For platforms which do not support PIC, -DPIC is meaningless:
7488   *djgpp*)
7489     lt_prog_compiler_pic=
7490     ;;
7491   *)
7492     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7493     ;;
7494 esac
7495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7496 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7497
7498
7499
7500
7501
7502
7503 #
7504 # Check to make sure the PIC flag actually works.
7505 #
7506 if test -n "$lt_prog_compiler_pic"; then
7507   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7508 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7509 if test "${lt_prog_compiler_pic_works+set}" = set; then
7510   echo $ECHO_N "(cached) $ECHO_C" >&6
7511 else
7512   lt_prog_compiler_pic_works=no
7513    ac_outfile=conftest.$ac_objext
7514    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7515    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7516    # Insert the option either (1) after the last *FLAGS variable, or
7517    # (2) before a word containing "conftest.", or (3) at the end.
7518    # Note that $ac_compile itself does not contain backslashes and begins
7519    # with a dollar sign (not a hyphen), so the echo should work correctly.
7520    # The option is referenced via a variable to avoid confusing sed.
7521    lt_compile=`echo "$ac_compile" | $SED \
7522    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7523    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7524    -e 's:$: $lt_compiler_flag:'`
7525    (eval echo "\"\$as_me:7525: $lt_compile\"" >&5)
7526    (eval "$lt_compile" 2>conftest.err)
7527    ac_status=$?
7528    cat conftest.err >&5
7529    echo "$as_me:7529: \$? = $ac_status" >&5
7530    if (exit $ac_status) && test -s "$ac_outfile"; then
7531      # The compiler can only warn and ignore the option if not recognized
7532      # So say no if there are warnings other than the usual output.
7533      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7534      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7535      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7536        lt_prog_compiler_pic_works=yes
7537      fi
7538    fi
7539    $RM conftest*
7540
7541 fi
7542 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7543 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7544
7545 if test x"$lt_prog_compiler_pic_works" = xyes; then
7546     case $lt_prog_compiler_pic in
7547      "" | " "*) ;;
7548      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7549      esac
7550 else
7551     lt_prog_compiler_pic=
7552      lt_prog_compiler_can_build_shared=no
7553 fi
7554
7555 fi
7556
7557
7558
7559
7560
7561
7562 #
7563 # Check to make sure the static flag actually works.
7564 #
7565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7566 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7567 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7568 if test "${lt_prog_compiler_static_works+set}" = set; then
7569   echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571   lt_prog_compiler_static_works=no
7572    save_LDFLAGS="$LDFLAGS"
7573    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7574    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7575    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7576      # The linker can only warn and ignore the option if not recognized
7577      # So say no if there are warnings
7578      if test -s conftest.err; then
7579        # Append any errors to the config.log.
7580        cat conftest.err 1>&5
7581        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7582        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583        if diff conftest.exp conftest.er2 >/dev/null; then
7584          lt_prog_compiler_static_works=yes
7585        fi
7586      else
7587        lt_prog_compiler_static_works=yes
7588      fi
7589    fi
7590    $RM conftest*
7591    LDFLAGS="$save_LDFLAGS"
7592
7593 fi
7594 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7595 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7596
7597 if test x"$lt_prog_compiler_static_works" = xyes; then
7598     :
7599 else
7600     lt_prog_compiler_static=
7601 fi
7602
7603
7604
7605
7606
7607
7608
7609   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7611 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7612   echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614   lt_cv_prog_compiler_c_o=no
7615    $RM -r conftest 2>/dev/null
7616    mkdir conftest
7617    cd conftest
7618    mkdir out
7619    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7620
7621    lt_compiler_flag="-o out/conftest2.$ac_objext"
7622    # Insert the option either (1) after the last *FLAGS variable, or
7623    # (2) before a word containing "conftest.", or (3) at the end.
7624    # Note that $ac_compile itself does not contain backslashes and begins
7625    # with a dollar sign (not a hyphen), so the echo should work correctly.
7626    lt_compile=`echo "$ac_compile" | $SED \
7627    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7628    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7629    -e 's:$: $lt_compiler_flag:'`
7630    (eval echo "\"\$as_me:7630: $lt_compile\"" >&5)
7631    (eval "$lt_compile" 2>out/conftest.err)
7632    ac_status=$?
7633    cat out/conftest.err >&5
7634    echo "$as_me:7634: \$? = $ac_status" >&5
7635    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7636    then
7637      # The compiler can only warn and ignore the option if not recognized
7638      # So say no if there are warnings
7639      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7640      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7641      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7642        lt_cv_prog_compiler_c_o=yes
7643      fi
7644    fi
7645    chmod u+w . 2>&5
7646    $RM conftest*
7647    # SGI C++ compiler will create directory out/ii_files/ for
7648    # template instantiation
7649    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7650    $RM out/* && rmdir out
7651    cd ..
7652    $RM -r conftest
7653    $RM conftest*
7654
7655 fi
7656 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7658
7659
7660
7661
7662
7663
7664   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7667   echo $ECHO_N "(cached) $ECHO_C" >&6
7668 else
7669   lt_cv_prog_compiler_c_o=no
7670    $RM -r conftest 2>/dev/null
7671    mkdir conftest
7672    cd conftest
7673    mkdir out
7674    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7675
7676    lt_compiler_flag="-o out/conftest2.$ac_objext"
7677    # Insert the option either (1) after the last *FLAGS variable, or
7678    # (2) before a word containing "conftest.", or (3) at the end.
7679    # Note that $ac_compile itself does not contain backslashes and begins
7680    # with a dollar sign (not a hyphen), so the echo should work correctly.
7681    lt_compile=`echo "$ac_compile" | $SED \
7682    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684    -e 's:$: $lt_compiler_flag:'`
7685    (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686    (eval "$lt_compile" 2>out/conftest.err)
7687    ac_status=$?
7688    cat out/conftest.err >&5
7689    echo "$as_me:7689: \$? = $ac_status" >&5
7690    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7691    then
7692      # The compiler can only warn and ignore the option if not recognized
7693      # So say no if there are warnings
7694      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7695      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7696      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7697        lt_cv_prog_compiler_c_o=yes
7698      fi
7699    fi
7700    chmod u+w . 2>&5
7701    $RM conftest*
7702    # SGI C++ compiler will create directory out/ii_files/ for
7703    # template instantiation
7704    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7705    $RM out/* && rmdir out
7706    cd ..
7707    $RM -r conftest
7708    $RM conftest*
7709
7710 fi
7711 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7713
7714
7715
7716
7717 hard_links="nottested"
7718 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7719   # do not overwrite the value of need_locks provided by the user
7720   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7722   hard_links=yes
7723   $RM conftest*
7724   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7725   touch conftest.a
7726   ln conftest.a conftest.b 2>&5 || hard_links=no
7727   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7728   echo "$as_me:$LINENO: result: $hard_links" >&5
7729 echo "${ECHO_T}$hard_links" >&6
7730   if test "$hard_links" = no; then
7731     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7733     need_locks=warn
7734   fi
7735 else
7736   need_locks=no
7737 fi
7738
7739
7740
7741
7742
7743
7744   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7745 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7746
7747   runpath_var=
7748   allow_undefined_flag=
7749   always_export_symbols=no
7750   archive_cmds=
7751   archive_expsym_cmds=
7752   compiler_needs_object=no
7753   enable_shared_with_static_runtimes=no
7754   export_dynamic_flag_spec=
7755   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7756   hardcode_automatic=no
7757   hardcode_direct=no
7758   hardcode_direct_absolute=no
7759   hardcode_libdir_flag_spec=
7760   hardcode_libdir_flag_spec_ld=
7761   hardcode_libdir_separator=
7762   hardcode_minus_L=no
7763   hardcode_shlibpath_var=unsupported
7764   inherit_rpath=no
7765   link_all_deplibs=unknown
7766   module_cmds=
7767   module_expsym_cmds=
7768   old_archive_from_new_cmds=
7769   old_archive_from_expsyms_cmds=
7770   thread_safe_flag_spec=
7771   whole_archive_flag_spec=
7772   # include_expsyms should be a list of space-separated symbols to be *always*
7773   # included in the symbol list
7774   include_expsyms=
7775   # exclude_expsyms can be an extended regexp of symbols to exclude
7776   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7777   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7778   # as well as any symbol that contains `d'.
7779   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7780   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7781   # platforms (ab)use it in PIC code, but their linkers get confused if
7782   # the symbol is explicitly referenced.  Since portable code cannot
7783   # rely on this symbol name, it's probably fine to never include it in
7784   # preloaded symbol tables.
7785   extract_expsyms_cmds=
7786
7787   case $host_os in
7788   cygwin* | mingw* | pw32*)
7789     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7790     # When not using gcc, we currently assume that we are using
7791     # Microsoft Visual C++.
7792     if test "$GCC" != yes; then
7793       with_gnu_ld=no
7794     fi
7795     ;;
7796   interix*)
7797     # we just hope/assume this is gcc and not c89 (= MSVC++)
7798     with_gnu_ld=yes
7799     ;;
7800   openbsd*)
7801     with_gnu_ld=no
7802     ;;
7803   esac
7804
7805   ld_shlibs=yes
7806   if test "$with_gnu_ld" = yes; then
7807     # If archive_cmds runs LD, not CC, wlarc should be empty
7808     wlarc='${wl}'
7809
7810     # Set some defaults for GNU ld with shared library support. These
7811     # are reset later if shared libraries are not supported. Putting them
7812     # here allows them to be overridden if necessary.
7813     runpath_var=LD_RUN_PATH
7814     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7815     export_dynamic_flag_spec='${wl}--export-dynamic'
7816     # ancient GNU ld didn't support --whole-archive et. al.
7817     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7818       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7819     else
7820       whole_archive_flag_spec=
7821     fi
7822     supports_anon_versioning=no
7823     case `$LD -v 2>&1` in
7824       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7825       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7826       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7827       *\ 2.11.*) ;; # other 2.11 versions
7828       *) supports_anon_versioning=yes ;;
7829     esac
7830
7831     # See if GNU ld supports shared libraries.
7832     case $host_os in
7833     aix[3-9]*)
7834       # On AIX/PPC, the GNU linker is very broken
7835       if test "$host_cpu" != ia64; then
7836         ld_shlibs=no
7837         cat <<_LT_EOF 1>&2
7838
7839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7840 *** to be unable to reliably create shared libraries on AIX.
7841 *** Therefore, libtool is disabling shared libraries support.  If you
7842 *** really care for shared libraries, you may want to modify your PATH
7843 *** so that a non-GNU linker is found, and then restart.
7844
7845 _LT_EOF
7846       fi
7847       ;;
7848
7849     amigaos*)
7850       if test "$host_cpu" = m68k; then
7851         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7852         hardcode_libdir_flag_spec='-L$libdir'
7853         hardcode_minus_L=yes
7854       fi
7855
7856       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7857       # that the semantics of dynamic libraries on AmigaOS, at least up
7858       # to version 4, is to share data among multiple programs linked
7859       # with the same dynamic library.  Since this doesn't match the
7860       # behavior of shared libraries on other platforms, we can't use
7861       # them.
7862       ld_shlibs=no
7863       ;;
7864
7865     beos*)
7866       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7867         allow_undefined_flag=unsupported
7868         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7869         # support --undefined.  This deserves some investigation.  FIXME
7870         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7871       else
7872         ld_shlibs=no
7873       fi
7874       ;;
7875
7876     cygwin* | mingw* | pw32*)
7877       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7878       # as there is no search path for DLLs.
7879       hardcode_libdir_flag_spec='-L$libdir'
7880       allow_undefined_flag=unsupported
7881       always_export_symbols=no
7882       enable_shared_with_static_runtimes=yes
7883       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7884
7885       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7886         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7887         # If the export-symbols file already is a .def file (1st line
7888         # is EXPORTS), use it as is; otherwise, prepend...
7889         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7890           cp $export_symbols $output_objdir/$soname.def;
7891         else
7892           echo EXPORTS > $output_objdir/$soname.def;
7893           cat $export_symbols >> $output_objdir/$soname.def;
7894         fi~
7895         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7896       else
7897         ld_shlibs=no
7898       fi
7899       ;;
7900
7901     interix[3-9]*)
7902       hardcode_direct=no
7903       hardcode_shlibpath_var=no
7904       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7905       export_dynamic_flag_spec='${wl}-E'
7906       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7907       # Instead, shared libraries are loaded at an image base (0x10000000 by
7908       # default) and relocated if they conflict, which is a slow very memory
7909       # consuming and fragmenting process.  To avoid this, we pick a random,
7910       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7911       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7912       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7913       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7914       ;;
7915
7916     gnu* | linux* | tpf* | k*bsd*-gnu)
7917       tmp_diet=no
7918       if test "$host_os" = linux-dietlibc; then
7919         case $cc_basename in
7920           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7921         esac
7922       fi
7923       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7924          && test "$tmp_diet" = no
7925       then
7926         tmp_addflag=
7927         case $cc_basename,$host_cpu in
7928         pgcc*)                          # Portland Group C compiler
7929           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7930           tmp_addflag=' $pic_flag'
7931           ;;
7932         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7933           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7934           tmp_addflag=' $pic_flag -Mnomain' ;;
7935         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7936           tmp_addflag=' -i_dynamic' ;;
7937         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7938           tmp_addflag=' -i_dynamic -nofor_main' ;;
7939         ifc* | ifort*)                  # Intel Fortran compiler
7940           tmp_addflag=' -nofor_main' ;;
7941         esac
7942         case `$CC -V 2>&1 | sed 5q` in
7943         *Sun\ C*)                       # Sun C 5.9
7944           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7945           compiler_needs_object=yes
7946           tmp_sharedflag='-G' ;;
7947         *Sun\ F*)                       # Sun Fortran 8.3
7948           tmp_sharedflag='-G' ;;
7949         *)
7950           tmp_sharedflag='-shared' ;;
7951         esac
7952         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7953
7954         if test "x$supports_anon_versioning" = xyes; then
7955           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7956             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7957             echo "local: *; };" >> $output_objdir/$libname.ver~
7958             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7959         fi
7960       else
7961         ld_shlibs=no
7962       fi
7963       ;;
7964
7965     netbsd*)
7966       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7968         wlarc=
7969       else
7970         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7971         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7972       fi
7973       ;;
7974
7975     solaris*)
7976       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7977         ld_shlibs=no
7978         cat <<_LT_EOF 1>&2
7979
7980 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7981 *** create shared libraries on Solaris systems.  Therefore, libtool
7982 *** is disabling shared libraries support.  We urge you to upgrade GNU
7983 *** binutils to release 2.9.1 or newer.  Another option is to modify
7984 *** your PATH or compiler configuration so that the native linker is
7985 *** used, and then restart.
7986
7987 _LT_EOF
7988       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7989         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7990         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7991       else
7992         ld_shlibs=no
7993       fi
7994       ;;
7995
7996     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7997       case `$LD -v 2>&1` in
7998         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7999         ld_shlibs=no
8000         cat <<_LT_EOF 1>&2
8001
8002 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8003 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8004 *** is disabling shared libraries support.  We urge you to upgrade GNU
8005 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8006 *** your PATH or compiler configuration so that the native linker is
8007 *** used, and then restart.
8008
8009 _LT_EOF
8010         ;;
8011         *)
8012           # For security reasons, it is highly recommended that you always
8013           # use absolute paths for naming shared libraries, and exclude the
8014           # DT_RUNPATH tag from executables and libraries.  But doing so
8015           # requires that you compile everything twice, which is a pain.
8016           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8017             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8018             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8019             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8020           else
8021             ld_shlibs=no
8022           fi
8023         ;;
8024       esac
8025       ;;
8026
8027     sunos4*)
8028       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8029       wlarc=
8030       hardcode_direct=yes
8031       hardcode_shlibpath_var=no
8032       ;;
8033
8034     *)
8035       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8036         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8038       else
8039         ld_shlibs=no
8040       fi
8041       ;;
8042     esac
8043
8044     if test "$ld_shlibs" = no; then
8045       runpath_var=
8046       hardcode_libdir_flag_spec=
8047       export_dynamic_flag_spec=
8048       whole_archive_flag_spec=
8049     fi
8050   else
8051     # PORTME fill in a description of your system's linker (not GNU ld)
8052     case $host_os in
8053     aix3*)
8054       allow_undefined_flag=unsupported
8055       always_export_symbols=yes
8056       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8057       # Note: this linker hardcodes the directories in LIBPATH if there
8058       # are no directories specified by -L.
8059       hardcode_minus_L=yes
8060       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8061         # Neither direct hardcoding nor static linking is supported with a
8062         # broken collect2.
8063         hardcode_direct=unsupported
8064       fi
8065       ;;
8066
8067     aix[4-9]*)
8068       if test "$host_cpu" = ia64; then
8069         # On IA64, the linker does run time linking by default, so we don't
8070         # have to do anything special.
8071         aix_use_runtimelinking=no
8072         exp_sym_flag='-Bexport'
8073         no_entry_flag=""
8074       else
8075         # If we're using GNU nm, then we don't want the "-C" option.
8076         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8077         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8078           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8079         else
8080           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8081         fi
8082         aix_use_runtimelinking=no
8083
8084         # Test if we are trying to use run time linking or normal
8085         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8086         # need to do runtime linking.
8087         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8088           for ld_flag in $LDFLAGS; do
8089           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8090             aix_use_runtimelinking=yes
8091             break
8092           fi
8093           done
8094           ;;
8095         esac
8096
8097         exp_sym_flag='-bexport'
8098         no_entry_flag='-bnoentry'
8099       fi
8100
8101       # When large executables or shared objects are built, AIX ld can
8102       # have problems creating the table of contents.  If linking a library
8103       # or program results in "error TOC overflow" add -mminimal-toc to
8104       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8105       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8106
8107       archive_cmds=''
8108       hardcode_direct=yes
8109       hardcode_direct_absolute=yes
8110       hardcode_libdir_separator=':'
8111       link_all_deplibs=yes
8112       file_list_spec='${wl}-f,'
8113
8114       if test "$GCC" = yes; then
8115         case $host_os in aix4.[012]|aix4.[012].*)
8116         # We only want to do this on AIX 4.2 and lower, the check
8117         # below for broken collect2 doesn't work under 4.3+
8118           collect2name=`${CC} -print-prog-name=collect2`
8119           if test -f "$collect2name" &&
8120            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8121           then
8122           # We have reworked collect2
8123           :
8124           else
8125           # We have old collect2
8126           hardcode_direct=unsupported
8127           # It fails to find uninstalled libraries when the uninstalled
8128           # path is not listed in the libpath.  Setting hardcode_minus_L
8129           # to unsupported forces relinking
8130           hardcode_minus_L=yes
8131           hardcode_libdir_flag_spec='-L$libdir'
8132           hardcode_libdir_separator=
8133           fi
8134           ;;
8135         esac
8136         shared_flag='-shared'
8137         if test "$aix_use_runtimelinking" = yes; then
8138           shared_flag="$shared_flag "'${wl}-G'
8139         fi
8140       else
8141         # not using gcc
8142         if test "$host_cpu" = ia64; then
8143         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8144         # chokes on -Wl,-G. The following line is correct:
8145           shared_flag='-G'
8146         else
8147           if test "$aix_use_runtimelinking" = yes; then
8148             shared_flag='${wl}-G'
8149           else
8150             shared_flag='${wl}-bM:SRE'
8151           fi
8152         fi
8153       fi
8154
8155       # It seems that -bexpall does not export symbols beginning with
8156       # underscore (_), so it is better to generate a list of symbols to export.
8157       always_export_symbols=yes
8158       if test "$aix_use_runtimelinking" = yes; then
8159         # Warning - without using the other runtime loading flags (-brtl),
8160         # -berok will link without error, but may produce a broken library.
8161         allow_undefined_flag='-berok'
8162         # Determine the default libpath from the value encoded in an
8163         # empty executable.
8164         if test x$gcc_no_link = xyes; then
8165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8167    { (exit 1); exit 1; }; }
8168 fi
8169 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h.  */
8171 _ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h.  */
8175
8176 int
8177 main ()
8178 {
8179
8180   ;
8181   return 0;
8182 }
8183 _ACEOF
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186   (eval $ac_link) 2>conftest.er1
8187   ac_status=$?
8188   grep -v '^ *+' conftest.er1 >conftest.err
8189   rm -f conftest.er1
8190   cat conftest.err >&5
8191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192   (exit $ac_status); } &&
8193          { ac_try='test -z "$ac_c_werror_flag"
8194                          || test ! -s conftest.err'
8195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196   (eval $ac_try) 2>&5
8197   ac_status=$?
8198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199   (exit $ac_status); }; } &&
8200          { ac_try='test -s conftest$ac_exeext'
8201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202   (eval $ac_try) 2>&5
8203   ac_status=$?
8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205   (exit $ac_status); }; }; then
8206
8207 lt_aix_libpath_sed='
8208     /Import File Strings/,/^$/ {
8209         /^0/ {
8210             s/^0  *\(.*\)$/\1/
8211             p
8212         }
8213     }'
8214 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8215 # Check for a 64-bit object if we didn't find anything.
8216 if test -z "$aix_libpath"; then
8217   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8218 fi
8219 else
8220   echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8222
8223 fi
8224 rm -f conftest.err conftest.$ac_objext \
8225       conftest$ac_exeext conftest.$ac_ext
8226 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8227
8228         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8229         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8230       else
8231         if test "$host_cpu" = ia64; then
8232           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8233           allow_undefined_flag="-z nodefs"
8234           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8235         else
8236          # Determine the default libpath from the value encoded in an
8237          # empty executable.
8238          if test x$gcc_no_link = xyes; then
8239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8241    { (exit 1); exit 1; }; }
8242 fi
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h.  */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h.  */
8249
8250 int
8251 main ()
8252 {
8253
8254   ;
8255   return 0;
8256 }
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260   (eval $ac_link) 2>conftest.er1
8261   ac_status=$?
8262   grep -v '^ *+' conftest.er1 >conftest.err
8263   rm -f conftest.er1
8264   cat conftest.err >&5
8265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266   (exit $ac_status); } &&
8267          { ac_try='test -z "$ac_c_werror_flag"
8268                          || test ! -s conftest.err'
8269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270   (eval $ac_try) 2>&5
8271   ac_status=$?
8272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273   (exit $ac_status); }; } &&
8274          { ac_try='test -s conftest$ac_exeext'
8275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276   (eval $ac_try) 2>&5
8277   ac_status=$?
8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279   (exit $ac_status); }; }; then
8280
8281 lt_aix_libpath_sed='
8282     /Import File Strings/,/^$/ {
8283         /^0/ {
8284             s/^0  *\(.*\)$/\1/
8285             p
8286         }
8287     }'
8288 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8289 # Check for a 64-bit object if we didn't find anything.
8290 if test -z "$aix_libpath"; then
8291   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8292 fi
8293 else
8294   echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8296
8297 fi
8298 rm -f conftest.err conftest.$ac_objext \
8299       conftest$ac_exeext conftest.$ac_ext
8300 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8301
8302          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8303           # Warning - without using the other run time loading flags,
8304           # -berok will link without error, but may produce a broken library.
8305           no_undefined_flag=' ${wl}-bernotok'
8306           allow_undefined_flag=' ${wl}-berok'
8307           # Exported symbols can be pulled into shared objects from archives
8308           whole_archive_flag_spec='$convenience'
8309           archive_cmds_need_lc=yes
8310           # This is similar to how AIX traditionally builds its shared libraries.
8311           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8312         fi
8313       fi
8314       ;;
8315
8316     amigaos*)
8317       if test "$host_cpu" = m68k; then
8318         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8319         hardcode_libdir_flag_spec='-L$libdir'
8320         hardcode_minus_L=yes
8321       fi
8322       # see comment about different semantics on the GNU ld section
8323       ld_shlibs=no
8324       ;;
8325
8326     bsdi[45]*)
8327       export_dynamic_flag_spec=-rdynamic
8328       ;;
8329
8330     cygwin* | mingw* | pw32*)
8331       # When not using gcc, we currently assume that we are using
8332       # Microsoft Visual C++.
8333       # hardcode_libdir_flag_spec is actually meaningless, as there is
8334       # no search path for DLLs.
8335       hardcode_libdir_flag_spec=' '
8336       allow_undefined_flag=unsupported
8337       # Tell ltmain to make .lib files, not .a files.
8338       libext=lib
8339       # Tell ltmain to make .dll files, not .so files.
8340       shrext_cmds=".dll"
8341       # FIXME: Setting linknames here is a bad hack.
8342       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8343       # The linker will automatically build a .lib file if we build a DLL.
8344       old_archive_from_new_cmds='true'
8345       # FIXME: Should let the user specify the lib program.
8346       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8347       fix_srcfile_path='`cygpath -w "$srcfile"`'
8348       enable_shared_with_static_runtimes=yes
8349       ;;
8350
8351     darwin* | rhapsody*)
8352       case $host_os in
8353       rhapsody* | darwin1.[012])
8354         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8355         ;;
8356       *) # Darwin 1.3 on
8357         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8358         10.[012])
8359           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8360           ;;
8361         10.*)
8362           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8363           ;;
8364         esac
8365         ;;
8366       esac
8367       archive_cmds_need_lc=no
8368       hardcode_direct=no
8369       hardcode_automatic=yes
8370       hardcode_shlibpath_var=unsupported
8371       whole_archive_flag_spec=''
8372       link_all_deplibs=yes
8373       if test "$GCC" = yes ; then
8374         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8375   echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377   lt_cv_apple_cc_single_mod=no
8378         if test -z "${LT_MULTI_MODULE}"; then
8379           # By default we will add the -single_module flag. You can override
8380           # by either setting the environment variable LT_MULTI_MODULE
8381           # non-empty at configure time, or by adding -multi-module to the
8382           # link flags.
8383           echo "int foo(void){return 1;}" > conftest.c
8384           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8385               -dynamiclib ${wl}-single_module conftest.c
8386           if test -f libconftest.dylib; then
8387               lt_cv_apple_cc_single_mod=yes
8388               rm libconftest.dylib
8389           fi
8390           rm conftest.$ac_ext
8391         fi
8392 fi
8393
8394         output_verbose_link_cmd=echo
8395         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8396           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8397           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8398         else
8399           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8400           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8401         fi
8402         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8403         module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8404       else
8405         case $cc_basename in
8406         xlc*)
8407           output_verbose_link_cmd=echo
8408           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8409           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8410           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8411           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8412           module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8413           ;;
8414         *)
8415           ld_shlibs=no
8416           ;;
8417         esac
8418       fi
8419       ;;
8420
8421     dgux*)
8422       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423       hardcode_libdir_flag_spec='-L$libdir'
8424       hardcode_shlibpath_var=no
8425       ;;
8426
8427     freebsd1*)
8428       ld_shlibs=no
8429       ;;
8430
8431     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8432     # support.  Future versions do this automatically, but an explicit c++rt0.o
8433     # does not break anything, and helps significantly (at the cost of a little
8434     # extra space).
8435     freebsd2.2*)
8436       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8437       hardcode_libdir_flag_spec='-R$libdir'
8438       hardcode_direct=yes
8439       hardcode_shlibpath_var=no
8440       ;;
8441
8442     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8443     freebsd2*)
8444       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8445       hardcode_direct=yes
8446       hardcode_minus_L=yes
8447       hardcode_shlibpath_var=no
8448       ;;
8449
8450     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8451     freebsd* | dragonfly*)
8452       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8453       hardcode_libdir_flag_spec='-R$libdir'
8454       hardcode_direct=yes
8455       hardcode_shlibpath_var=no
8456       ;;
8457
8458     hpux9*)
8459       if test "$GCC" = yes; then
8460         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8461       else
8462         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8463       fi
8464       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8465       hardcode_libdir_separator=:
8466       hardcode_direct=yes
8467
8468       # hardcode_minus_L: Not really in the search PATH,
8469       # but as the default location of the library.
8470       hardcode_minus_L=yes
8471       export_dynamic_flag_spec='${wl}-E'
8472       ;;
8473
8474     hpux10*)
8475       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8476         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8477       else
8478         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8479       fi
8480       if test "$with_gnu_ld" = no; then
8481         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8482         hardcode_libdir_flag_spec_ld='+b $libdir'
8483         hardcode_libdir_separator=:
8484         hardcode_direct=yes
8485         hardcode_direct_absolute=yes
8486         export_dynamic_flag_spec='${wl}-E'
8487         # hardcode_minus_L: Not really in the search PATH,
8488         # but as the default location of the library.
8489         hardcode_minus_L=yes
8490       fi
8491       ;;
8492
8493     hpux11*)
8494       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8495         case $host_cpu in
8496         hppa*64*)
8497           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8498           ;;
8499         ia64*)
8500           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8501           ;;
8502         *)
8503           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8504           ;;
8505         esac
8506       else
8507         case $host_cpu in
8508         hppa*64*)
8509           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8510           ;;
8511         ia64*)
8512           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8513           ;;
8514         *)
8515           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8516           ;;
8517         esac
8518       fi
8519       if test "$with_gnu_ld" = no; then
8520         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8521         hardcode_libdir_separator=:
8522
8523         case $host_cpu in
8524         hppa*64*|ia64*)
8525           hardcode_direct=no
8526           hardcode_shlibpath_var=no
8527           ;;
8528         *)
8529           hardcode_direct=yes
8530           hardcode_direct_absolute=yes
8531           export_dynamic_flag_spec='${wl}-E'
8532
8533           # hardcode_minus_L: Not really in the search PATH,
8534           # but as the default location of the library.
8535           hardcode_minus_L=yes
8536           ;;
8537         esac
8538       fi
8539       ;;
8540
8541     irix5* | irix6* | nonstopux*)
8542       if test "$GCC" = yes; then
8543         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8544         # Try to use the -exported_symbol ld option, if it does not
8545         # work, assume that -exports_file does not work either and
8546         # implicitly export all symbols.
8547         save_LDFLAGS="$LDFLAGS"
8548         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8549         if test x$gcc_no_link = xyes; then
8550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8552    { (exit 1); exit 1; }; }
8553 fi
8554 cat >conftest.$ac_ext <<_ACEOF
8555 int foo(void) {}
8556 _ACEOF
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8559   (eval $ac_link) 2>conftest.er1
8560   ac_status=$?
8561   grep -v '^ *+' conftest.er1 >conftest.err
8562   rm -f conftest.er1
8563   cat conftest.err >&5
8564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565   (exit $ac_status); } &&
8566          { ac_try='test -z "$ac_c_werror_flag"
8567                          || test ! -s conftest.err'
8568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569   (eval $ac_try) 2>&5
8570   ac_status=$?
8571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572   (exit $ac_status); }; } &&
8573          { ac_try='test -s conftest$ac_exeext'
8574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575   (eval $ac_try) 2>&5
8576   ac_status=$?
8577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578   (exit $ac_status); }; }; then
8579   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8580
8581 else
8582   echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8584
8585 fi
8586 rm -f conftest.err conftest.$ac_objext \
8587       conftest$ac_exeext conftest.$ac_ext
8588         LDFLAGS="$save_LDFLAGS"
8589       else
8590         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8591         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8592       fi
8593       archive_cmds_need_lc='no'
8594       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595       hardcode_libdir_separator=:
8596       inherit_rpath=yes
8597       link_all_deplibs=yes
8598       ;;
8599
8600     netbsd*)
8601       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8602         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8603       else
8604         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8605       fi
8606       hardcode_libdir_flag_spec='-R$libdir'
8607       hardcode_direct=yes
8608       hardcode_shlibpath_var=no
8609       ;;
8610
8611     newsos6)
8612       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8613       hardcode_direct=yes
8614       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8615       hardcode_libdir_separator=:
8616       hardcode_shlibpath_var=no
8617       ;;
8618
8619     *nto* | *qnx*)
8620       ;;
8621
8622     openbsd*)
8623       hardcode_direct=yes
8624       hardcode_shlibpath_var=no
8625       hardcode_direct_absolute=yes
8626       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8627         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8628         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8629         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8630         export_dynamic_flag_spec='${wl}-E'
8631       else
8632         case $host_os in
8633         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8634           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8635           hardcode_libdir_flag_spec='-R$libdir'
8636           ;;
8637         *)
8638           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8639           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8640           ;;
8641         esac
8642       fi
8643       ;;
8644
8645     os2*)
8646       hardcode_libdir_flag_spec='-L$libdir'
8647       hardcode_minus_L=yes
8648       allow_undefined_flag=unsupported
8649       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8650       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8651       ;;
8652
8653     osf3*)
8654       if test "$GCC" = yes; then
8655         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8657       else
8658         allow_undefined_flag=' -expect_unresolved \*'
8659         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8660       fi
8661       archive_cmds_need_lc='no'
8662       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663       hardcode_libdir_separator=:
8664       ;;
8665
8666     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8667       if test "$GCC" = yes; then
8668         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8670         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671       else
8672         allow_undefined_flag=' -expect_unresolved \*'
8673         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8674         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8675         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8676
8677         # Both c and cxx compiler support -rpath directly
8678         hardcode_libdir_flag_spec='-rpath $libdir'
8679       fi
8680       archive_cmds_need_lc='no'
8681       hardcode_libdir_separator=:
8682       ;;
8683
8684     solaris*)
8685       no_undefined_flag=' -z defs'
8686       if test "$GCC" = yes; then
8687         wlarc='${wl}'
8688         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8691       else
8692         case `$CC -V 2>&1` in
8693         *"Compilers 5.0"*)
8694           wlarc=''
8695           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8698           ;;
8699         *)
8700           wlarc='${wl}'
8701           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8704           ;;
8705         esac
8706       fi
8707       hardcode_libdir_flag_spec='-R$libdir'
8708       hardcode_shlibpath_var=no
8709       case $host_os in
8710       solaris2.[0-5] | solaris2.[0-5].*) ;;
8711       *)
8712         # The compiler driver will combine and reorder linker options,
8713         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8714         # but is careful enough not to reorder.
8715         # Supported since Solaris 2.6 (maybe 2.5.1?)
8716         if test "$GCC" = yes; then
8717           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718         else
8719           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8720         fi
8721         ;;
8722       esac
8723       link_all_deplibs=yes
8724       ;;
8725
8726     sunos4*)
8727       if test "x$host_vendor" = xsequent; then
8728         # Use $CC to link under sequent, because it throws in some extra .o
8729         # files that make .init and .fini sections work.
8730         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731       else
8732         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8733       fi
8734       hardcode_libdir_flag_spec='-L$libdir'
8735       hardcode_direct=yes
8736       hardcode_minus_L=yes
8737       hardcode_shlibpath_var=no
8738       ;;
8739
8740     sysv4)
8741       case $host_vendor in
8742         sni)
8743           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744           hardcode_direct=yes # is this really true???
8745         ;;
8746         siemens)
8747           ## LD is ld it makes a PLAMLIB
8748           ## CC just makes a GrossModule.
8749           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750           reload_cmds='$CC -r -o $output$reload_objs'
8751           hardcode_direct=no
8752         ;;
8753         motorola)
8754           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8756         ;;
8757       esac
8758       runpath_var='LD_RUN_PATH'
8759       hardcode_shlibpath_var=no
8760       ;;
8761
8762     sysv4.3*)
8763       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764       hardcode_shlibpath_var=no
8765       export_dynamic_flag_spec='-Bexport'
8766       ;;
8767
8768     sysv4*MP*)
8769       if test -d /usr/nec; then
8770         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771         hardcode_shlibpath_var=no
8772         runpath_var=LD_RUN_PATH
8773         hardcode_runpath_var=yes
8774         ld_shlibs=yes
8775       fi
8776       ;;
8777
8778     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779       no_undefined_flag='${wl}-z,text'
8780       archive_cmds_need_lc=no
8781       hardcode_shlibpath_var=no
8782       runpath_var='LD_RUN_PATH'
8783
8784       if test "$GCC" = yes; then
8785         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787       else
8788         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8790       fi
8791       ;;
8792
8793     sysv5* | sco3.2v5* | sco5v6*)
8794       # Note: We can NOT use -z defs as we might desire, because we do not
8795       # link with -lc, and that would cause any symbols used from libc to
8796       # always be unresolved, which means just about no library would
8797       # ever link correctly.  If we're not using GNU ld we use -z text
8798       # though, which does catch some bad symbols but isn't as heavy-handed
8799       # as -z defs.
8800       no_undefined_flag='${wl}-z,text'
8801       allow_undefined_flag='${wl}-z,nodefs'
8802       archive_cmds_need_lc=no
8803       hardcode_shlibpath_var=no
8804       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805       hardcode_libdir_separator=':'
8806       link_all_deplibs=yes
8807       export_dynamic_flag_spec='${wl}-Bexport'
8808       runpath_var='LD_RUN_PATH'
8809
8810       if test "$GCC" = yes; then
8811         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8813       else
8814         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8816       fi
8817       ;;
8818
8819     uts4*)
8820       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821       hardcode_libdir_flag_spec='-L$libdir'
8822       hardcode_shlibpath_var=no
8823       ;;
8824
8825     *)
8826       ld_shlibs=no
8827       ;;
8828     esac
8829
8830     if test x$host_vendor = xsni; then
8831       case $host in
8832       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833         export_dynamic_flag_spec='${wl}-Blargedynsym'
8834         ;;
8835       esac
8836     fi
8837   fi
8838
8839 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8840 echo "${ECHO_T}$ld_shlibs" >&6
8841 test "$ld_shlibs" = no && can_build_shared=no
8842
8843 with_gnu_ld=$with_gnu_ld
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859 #
8860 # Do we need to explicitly link libc?
8861 #
8862 case "x$archive_cmds_need_lc" in
8863 x|xyes)
8864   # Assume -lc should be added
8865   archive_cmds_need_lc=yes
8866
8867   if test "$enable_shared" = yes && test "$GCC" = yes; then
8868     case $archive_cmds in
8869     *'~'*)
8870       # FIXME: we may have to deal with multi-command sequences.
8871       ;;
8872     '$CC '*)
8873       # Test whether the compiler implicitly links with -lc since on some
8874       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8875       # to ld, don't add -lc before -lgcc.
8876       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8877 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8878       $RM conftest*
8879       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8880
8881       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8882   (eval $ac_compile) 2>&5
8883   ac_status=$?
8884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885   (exit $ac_status); } 2>conftest.err; then
8886         soname=conftest
8887         lib=conftest
8888         libobjs=conftest.$ac_objext
8889         deplibs=
8890         wl=$lt_prog_compiler_wl
8891         pic_flag=$lt_prog_compiler_pic
8892         compiler_flags=-v
8893         linker_flags=-v
8894         verstring=
8895         output_objdir=.
8896         libname=conftest
8897         lt_save_allow_undefined_flag=$allow_undefined_flag
8898         allow_undefined_flag=
8899         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8900   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8901   ac_status=$?
8902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903   (exit $ac_status); }
8904         then
8905           archive_cmds_need_lc=no
8906         else
8907           archive_cmds_need_lc=yes
8908         fi
8909         allow_undefined_flag=$lt_save_allow_undefined_flag
8910       else
8911         cat conftest.err 1>&5
8912       fi
8913       $RM conftest*
8914       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8915 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8916       ;;
8917     esac
8918   fi
8919   ;;
8920 esac
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9079 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9080 withGCC=$GCC
9081 if test "$withGCC" = yes; then
9082   case $host_os in
9083     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084     *) lt_awk_arg="/^libraries:/" ;;
9085   esac
9086   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088     # if the path contains ";" then we assume it to be the separator
9089     # otherwise default to the standard path separator (i.e. ":") - it is
9090     # assumed that no part of a normal pathname contains ";" but that should
9091     # okay in the real world where ";" in dirpaths is itself problematic.
9092     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9093   else
9094     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9095   fi
9096   # Ok, now we have the path, separated by spaces, we can step through it
9097   # and add multilib dir if necessary.
9098   lt_tmp_lt_search_path_spec=
9099   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100   for lt_sys_path in $lt_search_path_spec; do
9101     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9103     else
9104       test -d "$lt_sys_path" && \
9105         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9106     fi
9107   done
9108   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109 BEGIN {RS=" "; FS="/|\n";} {
9110   lt_foo="";
9111   lt_count=0;
9112   for (lt_i = NF; lt_i > 0; lt_i--) {
9113     if ($lt_i != "" && $lt_i != ".") {
9114       if ($lt_i == "..") {
9115         lt_count++;
9116       } else {
9117         if (lt_count == 0) {
9118           lt_foo="/" $lt_i lt_foo;
9119         } else {
9120           lt_count--;
9121         }
9122       }
9123     }
9124   }
9125   if (lt_foo != "") { lt_freq[lt_foo]++; }
9126   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9127 }'`
9128   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9129 else
9130   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9131 fi
9132 library_names_spec=
9133 libname_spec='lib$name'
9134 soname_spec=
9135 shrext_cmds=".so"
9136 postinstall_cmds=
9137 postuninstall_cmds=
9138 finish_cmds=
9139 finish_eval=
9140 shlibpath_var=
9141 shlibpath_overrides_runpath=unknown
9142 version_type=none
9143 dynamic_linker="$host_os ld.so"
9144 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145 need_lib_prefix=unknown
9146 hardcode_into_libs=no
9147
9148 # when you set need_version to no, make sure it does not cause -set_version
9149 # flags to be left without arguments
9150 need_version=unknown
9151
9152 case $host_os in
9153 aix3*)
9154   version_type=linux
9155   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156   shlibpath_var=LIBPATH
9157
9158   # AIX 3 has no versioning support, so we append a major version to the name.
9159   soname_spec='${libname}${release}${shared_ext}$major'
9160   ;;
9161
9162 aix[4-9]*)
9163   version_type=linux
9164   need_lib_prefix=no
9165   need_version=no
9166   hardcode_into_libs=yes
9167   if test "$host_cpu" = ia64; then
9168     # AIX 5 supports IA64
9169     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170     shlibpath_var=LD_LIBRARY_PATH
9171   else
9172     # With GCC up to 2.95.x, collect2 would create an import file
9173     # for dependence libraries.  The import file would start with
9174     # the line `#! .'.  This would cause the generated library to
9175     # depend on `.', always an invalid library.  This was fixed in
9176     # development snapshots of GCC prior to 3.0.
9177     case $host_os in
9178       aix4 | aix4.[01] | aix4.[01].*)
9179       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9180            echo ' yes '
9181            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9182         :
9183       else
9184         can_build_shared=no
9185       fi
9186       ;;
9187     esac
9188     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189     # soname into executable. Probably we can add versioning support to
9190     # collect2, so additional links can be useful in future.
9191     if test "$aix_use_runtimelinking" = yes; then
9192       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193       # instead of lib<name>.a to let people know that these are not
9194       # typical AIX shared libraries.
9195       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196     else
9197       # We preserve .a as extension for shared libraries through AIX4.2
9198       # and later when we are not doing run time linking.
9199       library_names_spec='${libname}${release}.a $libname.a'
9200       soname_spec='${libname}${release}${shared_ext}$major'
9201     fi
9202     shlibpath_var=LIBPATH
9203   fi
9204   ;;
9205
9206 amigaos*)
9207   if test "$host_cpu" = m68k; then
9208     library_names_spec='$libname.ixlibrary $libname.a'
9209     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9210     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9211   else
9212     dynamic_linker=no
9213   fi
9214   ;;
9215
9216 beos*)
9217   library_names_spec='${libname}${shared_ext}'
9218   dynamic_linker="$host_os ld.so"
9219   shlibpath_var=LIBRARY_PATH
9220   ;;
9221
9222 bsdi[45]*)
9223   version_type=linux
9224   need_version=no
9225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226   soname_spec='${libname}${release}${shared_ext}$major'
9227   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9228   shlibpath_var=LD_LIBRARY_PATH
9229   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9230   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9231   # the default ld.so.conf also contains /usr/contrib/lib and
9232   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9233   # libtool to hard-code these into programs
9234   ;;
9235
9236 cygwin* | mingw* | pw32*)
9237   version_type=windows
9238   shrext_cmds=".dll"
9239   need_version=no
9240   need_lib_prefix=no
9241
9242   case $withGCC,$host_os in
9243   yes,cygwin* | yes,mingw* | yes,pw32*)
9244     library_names_spec='$libname.dll.a'
9245     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9246     postinstall_cmds='base_file=`basename \${file}`~
9247       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9248       dldir=$destdir/`dirname \$dlpath`~
9249       test -d \$dldir || mkdir -p \$dldir~
9250       $install_prog $dir/$dlname \$dldir/$dlname~
9251       chmod a+x \$dldir/$dlname~
9252       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9253         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9254       fi'
9255     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9256       dlpath=$dir/\$dldll~
9257        $RM \$dlpath'
9258     shlibpath_overrides_runpath=yes
9259
9260     case $host_os in
9261     cygwin*)
9262       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9263       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9264       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9265       ;;
9266     mingw*)
9267       # MinGW DLLs use traditional 'lib' prefix
9268       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9270       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9271         # It is most probably a Windows format PATH printed by
9272         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9273         # path with ; separators, and with drive letters. We can handle the
9274         # drive letters (cygwin fileutils understands them), so leave them,
9275         # especially as we might pass files found there to a mingw objdump,
9276         # which wouldn't understand a cygwinified path. Ahh.
9277         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9278       else
9279         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9280       fi
9281       ;;
9282     pw32*)
9283       # pw32 DLLs use 'pw' prefix rather than 'lib'
9284       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9285       ;;
9286     esac
9287     ;;
9288
9289   *)
9290     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9291     ;;
9292   esac
9293   dynamic_linker='Win32 ld.exe'
9294   # FIXME: first we should search . and the directory the executable is in
9295   shlibpath_var=PATH
9296   ;;
9297
9298 darwin* | rhapsody*)
9299   dynamic_linker="$host_os dyld"
9300   version_type=darwin
9301   need_lib_prefix=no
9302   need_version=no
9303   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9304   soname_spec='${libname}${release}${major}$shared_ext'
9305   shlibpath_overrides_runpath=yes
9306   shlibpath_var=DYLD_LIBRARY_PATH
9307   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9308
9309   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9310   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9311   ;;
9312
9313 dgux*)
9314   version_type=linux
9315   need_lib_prefix=no
9316   need_version=no
9317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9318   soname_spec='${libname}${release}${shared_ext}$major'
9319   shlibpath_var=LD_LIBRARY_PATH
9320   ;;
9321
9322 freebsd1*)
9323   dynamic_linker=no
9324   ;;
9325
9326 freebsd* | dragonfly*)
9327   # DragonFly does not have aout.  When/if they implement a new
9328   # versioning mechanism, adjust this.
9329   if test -x /usr/bin/objformat; then
9330     objformat=`/usr/bin/objformat`
9331   else
9332     case $host_os in
9333     freebsd[123]*) objformat=aout ;;
9334     *) objformat=elf ;;
9335     esac
9336   fi
9337   version_type=freebsd-$objformat
9338   case $version_type in
9339     freebsd-elf*)
9340       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9341       need_version=no
9342       need_lib_prefix=no
9343       ;;
9344     freebsd-*)
9345       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9346       need_version=yes
9347       ;;
9348   esac
9349   shlibpath_var=LD_LIBRARY_PATH
9350   case $host_os in
9351   freebsd2*)
9352     shlibpath_overrides_runpath=yes
9353     ;;
9354   freebsd3.[01]* | freebsdelf3.[01]*)
9355     shlibpath_overrides_runpath=yes
9356     hardcode_into_libs=yes
9357     ;;
9358   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9359   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9360     shlibpath_overrides_runpath=no
9361     hardcode_into_libs=yes
9362     ;;
9363   *) # from 4.6 on, and DragonFly
9364     shlibpath_overrides_runpath=yes
9365     hardcode_into_libs=yes
9366     ;;
9367   esac
9368   ;;
9369
9370 gnu*)
9371   version_type=linux
9372   need_lib_prefix=no
9373   need_version=no
9374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9375   soname_spec='${libname}${release}${shared_ext}$major'
9376   shlibpath_var=LD_LIBRARY_PATH
9377   hardcode_into_libs=yes
9378   ;;
9379
9380 hpux9* | hpux10* | hpux11*)
9381   # Give a soname corresponding to the major version so that dld.sl refuses to
9382   # link against other versions.
9383   version_type=sunos
9384   need_lib_prefix=no
9385   need_version=no
9386   case $host_cpu in
9387   ia64*)
9388     shrext_cmds='.so'
9389     hardcode_into_libs=yes
9390     dynamic_linker="$host_os dld.so"
9391     shlibpath_var=LD_LIBRARY_PATH
9392     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394     soname_spec='${libname}${release}${shared_ext}$major'
9395     if test "X$HPUX_IA64_MODE" = X32; then
9396       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9397     else
9398       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9399     fi
9400     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9401     ;;
9402   hppa*64*)
9403     shrext_cmds='.sl'
9404     hardcode_into_libs=yes
9405     dynamic_linker="$host_os dld.sl"
9406     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9407     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9408     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9409     soname_spec='${libname}${release}${shared_ext}$major'
9410     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9411     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9412     ;;
9413   *)
9414     shrext_cmds='.sl'
9415     dynamic_linker="$host_os dld.sl"
9416     shlibpath_var=SHLIB_PATH
9417     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9418     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9419     soname_spec='${libname}${release}${shared_ext}$major'
9420     ;;
9421   esac
9422   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9423   postinstall_cmds='chmod 555 $lib'
9424   ;;
9425
9426 interix[3-9]*)
9427   version_type=linux
9428   need_lib_prefix=no
9429   need_version=no
9430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9431   soname_spec='${libname}${release}${shared_ext}$major'
9432   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9433   shlibpath_var=LD_LIBRARY_PATH
9434   shlibpath_overrides_runpath=no
9435   hardcode_into_libs=yes
9436   ;;
9437
9438 irix5* | irix6* | nonstopux*)
9439   case $host_os in
9440     nonstopux*) version_type=nonstopux ;;
9441     *)
9442         if test "$lt_cv_prog_gnu_ld" = yes; then
9443                 version_type=linux
9444         else
9445                 version_type=irix
9446         fi ;;
9447   esac
9448   need_lib_prefix=no
9449   need_version=no
9450   soname_spec='${libname}${release}${shared_ext}$major'
9451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9452   case $host_os in
9453   irix5* | nonstopux*)
9454     libsuff= shlibsuff=
9455     ;;
9456   *)
9457     case $LD in # libtool.m4 will add one of these switches to LD
9458     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9459       libsuff= shlibsuff= libmagic=32-bit;;
9460     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9461       libsuff=32 shlibsuff=N32 libmagic=N32;;
9462     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9463       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9464     *) libsuff= shlibsuff= libmagic=never-match;;
9465     esac
9466     ;;
9467   esac
9468   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9469   shlibpath_overrides_runpath=no
9470   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9471   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9472   hardcode_into_libs=yes
9473   ;;
9474
9475 # No shared lib support for Linux oldld, aout, or coff.
9476 linux*oldld* | linux*aout* | linux*coff*)
9477   dynamic_linker=no
9478   ;;
9479
9480 # This must be Linux ELF.
9481 linux* | k*bsd*-gnu)
9482   version_type=linux
9483   need_lib_prefix=no
9484   need_version=no
9485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9486   soname_spec='${libname}${release}${shared_ext}$major'
9487   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9488   shlibpath_var=LD_LIBRARY_PATH
9489   shlibpath_overrides_runpath=no
9490   # Some binutils ld are patched to set DT_RUNPATH
9491   save_LDFLAGS=$LDFLAGS
9492   save_libdir=$libdir
9493   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9494        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9495   if test x$gcc_no_link = xyes; then
9496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498    { (exit 1); exit 1; }; }
9499 fi
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h.  */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h.  */
9506
9507 int
9508 main ()
9509 {
9510
9511   ;
9512   return 0;
9513 }
9514 _ACEOF
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517   (eval $ac_link) 2>conftest.er1
9518   ac_status=$?
9519   grep -v '^ *+' conftest.er1 >conftest.err
9520   rm -f conftest.er1
9521   cat conftest.err >&5
9522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523   (exit $ac_status); } &&
9524          { ac_try='test -z "$ac_c_werror_flag"
9525                          || test ! -s conftest.err'
9526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527   (eval $ac_try) 2>&5
9528   ac_status=$?
9529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530   (exit $ac_status); }; } &&
9531          { ac_try='test -s conftest$ac_exeext'
9532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533   (eval $ac_try) 2>&5
9534   ac_status=$?
9535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536   (exit $ac_status); }; }; then
9537   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9538   shlibpath_overrides_runpath=yes
9539 fi
9540
9541 else
9542   echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9544
9545 fi
9546 rm -f conftest.err conftest.$ac_objext \
9547       conftest$ac_exeext conftest.$ac_ext
9548   LDFLAGS=$save_LDFLAGS
9549   libdir=$save_libdir
9550
9551   # This implies no fast_install, which is unacceptable.
9552   # Some rework will be needed to allow for fast_install
9553   # before this can be enabled.
9554   hardcode_into_libs=yes
9555
9556   # Append ld.so.conf contents to the search path
9557   if test -f /etc/ld.so.conf; then
9558     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9559     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9560   fi
9561
9562   # We used to test for /lib/ld.so.1 and disable shared libraries on
9563   # powerpc, because MkLinux only supported shared libraries with the
9564   # GNU dynamic linker.  Since this was broken with cross compilers,
9565   # most powerpc-linux boxes support dynamic linking these days and
9566   # people can always --disable-shared, the test was removed, and we
9567   # assume the GNU/Linux dynamic linker is in use.
9568   dynamic_linker='GNU/Linux ld.so'
9569   ;;
9570
9571 netbsd*)
9572   version_type=sunos
9573   need_lib_prefix=no
9574   need_version=no
9575   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9577     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9578     dynamic_linker='NetBSD (a.out) ld.so'
9579   else
9580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9581     soname_spec='${libname}${release}${shared_ext}$major'
9582     dynamic_linker='NetBSD ld.elf_so'
9583   fi
9584   shlibpath_var=LD_LIBRARY_PATH
9585   shlibpath_overrides_runpath=yes
9586   hardcode_into_libs=yes
9587   ;;
9588
9589 newsos6)
9590   version_type=linux
9591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592   shlibpath_var=LD_LIBRARY_PATH
9593   shlibpath_overrides_runpath=yes
9594   ;;
9595
9596 *nto* | *qnx*)
9597   version_type=qnx
9598   need_lib_prefix=no
9599   need_version=no
9600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601   soname_spec='${libname}${release}${shared_ext}$major'
9602   shlibpath_var=LD_LIBRARY_PATH
9603   shlibpath_overrides_runpath=no
9604   hardcode_into_libs=yes
9605   dynamic_linker='ldqnx.so'
9606   ;;
9607
9608 openbsd*)
9609   version_type=sunos
9610   sys_lib_dlsearch_path_spec="/usr/lib"
9611   need_lib_prefix=no
9612   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9613   case $host_os in
9614     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9615     *)                          need_version=no  ;;
9616   esac
9617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9618   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9619   shlibpath_var=LD_LIBRARY_PATH
9620   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9621     case $host_os in
9622       openbsd2.[89] | openbsd2.[89].*)
9623         shlibpath_overrides_runpath=no
9624         ;;
9625       *)
9626         shlibpath_overrides_runpath=yes
9627         ;;
9628       esac
9629   else
9630     shlibpath_overrides_runpath=yes
9631   fi
9632   ;;
9633
9634 os2*)
9635   libname_spec='$name'
9636   shrext_cmds=".dll"
9637   need_lib_prefix=no
9638   library_names_spec='$libname${shared_ext} $libname.a'
9639   dynamic_linker='OS/2 ld.exe'
9640   shlibpath_var=LIBPATH
9641   ;;
9642
9643 osf3* | osf4* | osf5*)
9644   version_type=osf
9645   need_lib_prefix=no
9646   need_version=no
9647   soname_spec='${libname}${release}${shared_ext}$major'
9648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649   shlibpath_var=LD_LIBRARY_PATH
9650   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9651   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9652   ;;
9653
9654 rdos*)
9655   dynamic_linker=no
9656   ;;
9657
9658 solaris*)
9659   version_type=linux
9660   need_lib_prefix=no
9661   need_version=no
9662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663   soname_spec='${libname}${release}${shared_ext}$major'
9664   shlibpath_var=LD_LIBRARY_PATH
9665   shlibpath_overrides_runpath=yes
9666   hardcode_into_libs=yes
9667   # ldd complains unless libraries are executable
9668   postinstall_cmds='chmod +x $lib'
9669   ;;
9670
9671 sunos4*)
9672   version_type=sunos
9673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9674   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9675   shlibpath_var=LD_LIBRARY_PATH
9676   shlibpath_overrides_runpath=yes
9677   if test "$with_gnu_ld" = yes; then
9678     need_lib_prefix=no
9679   fi
9680   need_version=yes
9681   ;;
9682
9683 sysv4 | sysv4.3*)
9684   version_type=linux
9685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9686   soname_spec='${libname}${release}${shared_ext}$major'
9687   shlibpath_var=LD_LIBRARY_PATH
9688   case $host_vendor in
9689     sni)
9690       shlibpath_overrides_runpath=no
9691       need_lib_prefix=no
9692       runpath_var=LD_RUN_PATH
9693       ;;
9694     siemens)
9695       need_lib_prefix=no
9696       ;;
9697     motorola)
9698       need_lib_prefix=no
9699       need_version=no
9700       shlibpath_overrides_runpath=no
9701       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9702       ;;
9703   esac
9704   ;;
9705
9706 sysv4*MP*)
9707   if test -d /usr/nec ;then
9708     version_type=linux
9709     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9710     soname_spec='$libname${shared_ext}.$major'
9711     shlibpath_var=LD_LIBRARY_PATH
9712   fi
9713   ;;
9714
9715 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9716   version_type=freebsd-elf
9717   need_lib_prefix=no
9718   need_version=no
9719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9720   soname_spec='${libname}${release}${shared_ext}$major'
9721   shlibpath_var=LD_LIBRARY_PATH
9722   shlibpath_overrides_runpath=yes
9723   hardcode_into_libs=yes
9724   if test "$with_gnu_ld" = yes; then
9725     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9726   else
9727     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9728     case $host_os in
9729       sco3.2v5*)
9730         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9731         ;;
9732     esac
9733   fi
9734   sys_lib_dlsearch_path_spec='/usr/lib'
9735   ;;
9736
9737 tpf*)
9738   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9739   version_type=linux
9740   need_lib_prefix=no
9741   need_version=no
9742   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743   shlibpath_var=LD_LIBRARY_PATH
9744   shlibpath_overrides_runpath=no
9745   hardcode_into_libs=yes
9746   ;;
9747
9748 uts4*)
9749   version_type=linux
9750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751   soname_spec='${libname}${release}${shared_ext}$major'
9752   shlibpath_var=LD_LIBRARY_PATH
9753   ;;
9754
9755 *)
9756   dynamic_linker=no
9757   ;;
9758 esac
9759 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9760 echo "${ECHO_T}$dynamic_linker" >&6
9761 test "$dynamic_linker" = no && can_build_shared=no
9762
9763 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9764 if test "$GCC" = yes; then
9765   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9766 fi
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9855 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9856 hardcode_action=
9857 if test -n "$hardcode_libdir_flag_spec" ||
9858    test -n "$runpath_var" ||
9859    test "X$hardcode_automatic" = "Xyes" ; then
9860
9861   # We can hardcode non-existent directories.
9862   if test "$hardcode_direct" != no &&
9863      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9864      # have to relink, otherwise we might link with an installed library
9865      # when we should be linking with a yet-to-be-installed one
9866      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9867      test "$hardcode_minus_L" != no; then
9868     # Linking always hardcodes the temporary library directory.
9869     hardcode_action=relink
9870   else
9871     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9872     hardcode_action=immediate
9873   fi
9874 else
9875   # We cannot hardcode anything, or else we can only hardcode existing
9876   # directories.
9877   hardcode_action=unsupported
9878 fi
9879 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9880 echo "${ECHO_T}$hardcode_action" >&6
9881
9882 if test "$hardcode_action" = relink ||
9883    test "$inherit_rpath" = yes; then
9884   # Fast installation is not supported
9885   enable_fast_install=no
9886 elif test "$shlibpath_overrides_runpath" = yes ||
9887      test "$enable_shared" = no; then
9888   # Fast installation is not necessary
9889   enable_fast_install=needless
9890 fi
9891
9892
9893
9894
9895
9896
9897   if test "x$enable_dlopen" != xyes; then
9898   enable_dlopen=unknown
9899   enable_dlopen_self=unknown
9900   enable_dlopen_self_static=unknown
9901 else
9902   lt_cv_dlopen=no
9903   lt_cv_dlopen_libs=
9904
9905   case $host_os in
9906   beos*)
9907     lt_cv_dlopen="load_add_on"
9908     lt_cv_dlopen_libs=
9909     lt_cv_dlopen_self=yes
9910     ;;
9911
9912   mingw* | pw32*)
9913     lt_cv_dlopen="LoadLibrary"
9914     lt_cv_dlopen_libs=
9915     ;;
9916
9917   cygwin*)
9918     lt_cv_dlopen="dlopen"
9919     lt_cv_dlopen_libs=
9920     ;;
9921
9922   darwin*)
9923   # if libdl is installed we need to link against it
9924     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9925 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9926 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9927   echo $ECHO_N "(cached) $ECHO_C" >&6
9928 else
9929   ac_check_lib_save_LIBS=$LIBS
9930 LIBS="-ldl  $LIBS"
9931 if test x$gcc_no_link = xyes; then
9932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9934    { (exit 1); exit 1; }; }
9935 fi
9936 cat >conftest.$ac_ext <<_ACEOF
9937 /* confdefs.h.  */
9938 _ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h.  */
9942
9943 /* Override any gcc2 internal prototype to avoid an error.  */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 /* We use char because int might match the return type of a gcc2
9948    builtin and then its argument prototype would still apply.  */
9949 char dlopen ();
9950 int
9951 main ()
9952 {
9953 dlopen ();
9954   ;
9955   return 0;
9956 }
9957 _ACEOF
9958 rm -f conftest.$ac_objext conftest$ac_exeext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9960   (eval $ac_link) 2>conftest.er1
9961   ac_status=$?
9962   grep -v '^ *+' conftest.er1 >conftest.err
9963   rm -f conftest.er1
9964   cat conftest.err >&5
9965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966   (exit $ac_status); } &&
9967          { ac_try='test -z "$ac_c_werror_flag"
9968                          || test ! -s conftest.err'
9969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970   (eval $ac_try) 2>&5
9971   ac_status=$?
9972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973   (exit $ac_status); }; } &&
9974          { ac_try='test -s conftest$ac_exeext'
9975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976   (eval $ac_try) 2>&5
9977   ac_status=$?
9978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979   (exit $ac_status); }; }; then
9980   ac_cv_lib_dl_dlopen=yes
9981 else
9982   echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9984
9985 ac_cv_lib_dl_dlopen=no
9986 fi
9987 rm -f conftest.err conftest.$ac_objext \
9988       conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_lib_save_LIBS
9990 fi
9991 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9992 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9993 if test $ac_cv_lib_dl_dlopen = yes; then
9994   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9995 else
9996
9997     lt_cv_dlopen="dyld"
9998     lt_cv_dlopen_libs=
9999     lt_cv_dlopen_self=yes
10000
10001 fi
10002
10003     ;;
10004
10005   *)
10006     echo "$as_me:$LINENO: checking for shl_load" >&5
10007 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10008 if test "${ac_cv_func_shl_load+set}" = set; then
10009   echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011   if test x$gcc_no_link = xyes; then
10012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014    { (exit 1); exit 1; }; }
10015 fi
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h.  */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h.  */
10022 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10024 #define shl_load innocuous_shl_load
10025
10026 /* System header to define __stub macros and hopefully few prototypes,
10027     which can conflict with char shl_load (); below.
10028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029     <limits.h> exists even on freestanding compilers.  */
10030
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10036
10037 #undef shl_load
10038
10039 /* Override any gcc2 internal prototype to avoid an error.  */
10040 #ifdef __cplusplus
10041 extern "C"
10042 {
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045    builtin and then its argument prototype would still apply.  */
10046 char shl_load ();
10047 /* The GNU C library defines this for functions which it implements
10048     to always fail with ENOSYS.  Some functions are actually named
10049     something starting with __ and the normal name is an alias.  */
10050 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10051 choke me
10052 #else
10053 char (*f) () = shl_load;
10054 #endif
10055 #ifdef __cplusplus
10056 }
10057 #endif
10058
10059 int
10060 main ()
10061 {
10062 return f != shl_load;
10063   ;
10064   return 0;
10065 }
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069   (eval $ac_link) 2>conftest.er1
10070   ac_status=$?
10071   grep -v '^ *+' conftest.er1 >conftest.err
10072   rm -f conftest.er1
10073   cat conftest.err >&5
10074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075   (exit $ac_status); } &&
10076          { ac_try='test -z "$ac_c_werror_flag"
10077                          || test ! -s conftest.err'
10078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079   (eval $ac_try) 2>&5
10080   ac_status=$?
10081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082   (exit $ac_status); }; } &&
10083          { ac_try='test -s conftest$ac_exeext'
10084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085   (eval $ac_try) 2>&5
10086   ac_status=$?
10087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088   (exit $ac_status); }; }; then
10089   ac_cv_func_shl_load=yes
10090 else
10091   echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10093
10094 ac_cv_func_shl_load=no
10095 fi
10096 rm -f conftest.err conftest.$ac_objext \
10097       conftest$ac_exeext conftest.$ac_ext
10098 fi
10099 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10100 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10101 if test $ac_cv_func_shl_load = yes; then
10102   lt_cv_dlopen="shl_load"
10103 else
10104   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10105 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10106 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10107   echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109   ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-ldld  $LIBS"
10111 if test x$gcc_no_link = xyes; then
10112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10114    { (exit 1); exit 1; }; }
10115 fi
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h.  */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h.  */
10122
10123 /* Override any gcc2 internal prototype to avoid an error.  */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 /* We use char because int might match the return type of a gcc2
10128    builtin and then its argument prototype would still apply.  */
10129 char shl_load ();
10130 int
10131 main ()
10132 {
10133 shl_load ();
10134   ;
10135   return 0;
10136 }
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140   (eval $ac_link) 2>conftest.er1
10141   ac_status=$?
10142   grep -v '^ *+' conftest.er1 >conftest.err
10143   rm -f conftest.er1
10144   cat conftest.err >&5
10145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146   (exit $ac_status); } &&
10147          { ac_try='test -z "$ac_c_werror_flag"
10148                          || test ! -s conftest.err'
10149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150   (eval $ac_try) 2>&5
10151   ac_status=$?
10152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153   (exit $ac_status); }; } &&
10154          { ac_try='test -s conftest$ac_exeext'
10155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156   (eval $ac_try) 2>&5
10157   ac_status=$?
10158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159   (exit $ac_status); }; }; then
10160   ac_cv_lib_dld_shl_load=yes
10161 else
10162   echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10164
10165 ac_cv_lib_dld_shl_load=no
10166 fi
10167 rm -f conftest.err conftest.$ac_objext \
10168       conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10170 fi
10171 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10172 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10173 if test $ac_cv_lib_dld_shl_load = yes; then
10174   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10175 else
10176   echo "$as_me:$LINENO: checking for dlopen" >&5
10177 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10178 if test "${ac_cv_func_dlopen+set}" = set; then
10179   echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181   if test x$gcc_no_link = xyes; then
10182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184    { (exit 1); exit 1; }; }
10185 fi
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h.  */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h.  */
10192 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10194 #define dlopen innocuous_dlopen
10195
10196 /* System header to define __stub macros and hopefully few prototypes,
10197     which can conflict with char dlopen (); below.
10198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199     <limits.h> exists even on freestanding compilers.  */
10200
10201 #ifdef __STDC__
10202 # include <limits.h>
10203 #else
10204 # include <assert.h>
10205 #endif
10206
10207 #undef dlopen
10208
10209 /* Override any gcc2 internal prototype to avoid an error.  */
10210 #ifdef __cplusplus
10211 extern "C"
10212 {
10213 #endif
10214 /* We use char because int might match the return type of a gcc2
10215    builtin and then its argument prototype would still apply.  */
10216 char dlopen ();
10217 /* The GNU C library defines this for functions which it implements
10218     to always fail with ENOSYS.  Some functions are actually named
10219     something starting with __ and the normal name is an alias.  */
10220 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10221 choke me
10222 #else
10223 char (*f) () = dlopen;
10224 #endif
10225 #ifdef __cplusplus
10226 }
10227 #endif
10228
10229 int
10230 main ()
10231 {
10232 return f != dlopen;
10233   ;
10234   return 0;
10235 }
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10239   (eval $ac_link) 2>conftest.er1
10240   ac_status=$?
10241   grep -v '^ *+' conftest.er1 >conftest.err
10242   rm -f conftest.er1
10243   cat conftest.err >&5
10244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245   (exit $ac_status); } &&
10246          { ac_try='test -z "$ac_c_werror_flag"
10247                          || test ! -s conftest.err'
10248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249   (eval $ac_try) 2>&5
10250   ac_status=$?
10251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252   (exit $ac_status); }; } &&
10253          { ac_try='test -s conftest$ac_exeext'
10254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255   (eval $ac_try) 2>&5
10256   ac_status=$?
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   (exit $ac_status); }; }; then
10259   ac_cv_func_dlopen=yes
10260 else
10261   echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10263
10264 ac_cv_func_dlopen=no
10265 fi
10266 rm -f conftest.err conftest.$ac_objext \
10267       conftest$ac_exeext conftest.$ac_ext
10268 fi
10269 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10270 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10271 if test $ac_cv_func_dlopen = yes; then
10272   lt_cv_dlopen="dlopen"
10273 else
10274   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10277   echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279   ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-ldl  $LIBS"
10281 if test x$gcc_no_link = xyes; then
10282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284    { (exit 1); exit 1; }; }
10285 fi
10286 cat >conftest.$ac_ext <<_ACEOF
10287 /* confdefs.h.  */
10288 _ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h.  */
10292
10293 /* Override any gcc2 internal prototype to avoid an error.  */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 /* We use char because int might match the return type of a gcc2
10298    builtin and then its argument prototype would still apply.  */
10299 char dlopen ();
10300 int
10301 main ()
10302 {
10303 dlopen ();
10304   ;
10305   return 0;
10306 }
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310   (eval $ac_link) 2>conftest.er1
10311   ac_status=$?
10312   grep -v '^ *+' conftest.er1 >conftest.err
10313   rm -f conftest.er1
10314   cat conftest.err >&5
10315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316   (exit $ac_status); } &&
10317          { ac_try='test -z "$ac_c_werror_flag"
10318                          || test ! -s conftest.err'
10319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320   (eval $ac_try) 2>&5
10321   ac_status=$?
10322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323   (exit $ac_status); }; } &&
10324          { ac_try='test -s conftest$ac_exeext'
10325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326   (eval $ac_try) 2>&5
10327   ac_status=$?
10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329   (exit $ac_status); }; }; then
10330   ac_cv_lib_dl_dlopen=yes
10331 else
10332   echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10334
10335 ac_cv_lib_dl_dlopen=no
10336 fi
10337 rm -f conftest.err conftest.$ac_objext \
10338       conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10340 fi
10341 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10342 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10343 if test $ac_cv_lib_dl_dlopen = yes; then
10344   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10345 else
10346   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10347 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10349   echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351   ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lsvld  $LIBS"
10353 if test x$gcc_no_link = xyes; then
10354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10356    { (exit 1); exit 1; }; }
10357 fi
10358 cat >conftest.$ac_ext <<_ACEOF
10359 /* confdefs.h.  */
10360 _ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h.  */
10364
10365 /* Override any gcc2 internal prototype to avoid an error.  */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370    builtin and then its argument prototype would still apply.  */
10371 char dlopen ();
10372 int
10373 main ()
10374 {
10375 dlopen ();
10376   ;
10377   return 0;
10378 }
10379 _ACEOF
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382   (eval $ac_link) 2>conftest.er1
10383   ac_status=$?
10384   grep -v '^ *+' conftest.er1 >conftest.err
10385   rm -f conftest.er1
10386   cat conftest.err >&5
10387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388   (exit $ac_status); } &&
10389          { ac_try='test -z "$ac_c_werror_flag"
10390                          || test ! -s conftest.err'
10391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392   (eval $ac_try) 2>&5
10393   ac_status=$?
10394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395   (exit $ac_status); }; } &&
10396          { ac_try='test -s conftest$ac_exeext'
10397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398   (eval $ac_try) 2>&5
10399   ac_status=$?
10400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401   (exit $ac_status); }; }; then
10402   ac_cv_lib_svld_dlopen=yes
10403 else
10404   echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.$ac_ext >&5
10406
10407 ac_cv_lib_svld_dlopen=no
10408 fi
10409 rm -f conftest.err conftest.$ac_objext \
10410       conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_lib_save_LIBS
10412 fi
10413 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10414 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10415 if test $ac_cv_lib_svld_dlopen = yes; then
10416   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10417 else
10418   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10419 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10421   echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10423   ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-ldld  $LIBS"
10425 if test x$gcc_no_link = xyes; then
10426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10428    { (exit 1); exit 1; }; }
10429 fi
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h.  */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h.  */
10436
10437 /* Override any gcc2 internal prototype to avoid an error.  */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 /* We use char because int might match the return type of a gcc2
10442    builtin and then its argument prototype would still apply.  */
10443 char dld_link ();
10444 int
10445 main ()
10446 {
10447 dld_link ();
10448   ;
10449   return 0;
10450 }
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10454   (eval $ac_link) 2>conftest.er1
10455   ac_status=$?
10456   grep -v '^ *+' conftest.er1 >conftest.err
10457   rm -f conftest.er1
10458   cat conftest.err >&5
10459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460   (exit $ac_status); } &&
10461          { ac_try='test -z "$ac_c_werror_flag"
10462                          || test ! -s conftest.err'
10463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464   (eval $ac_try) 2>&5
10465   ac_status=$?
10466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467   (exit $ac_status); }; } &&
10468          { ac_try='test -s conftest$ac_exeext'
10469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470   (eval $ac_try) 2>&5
10471   ac_status=$?
10472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473   (exit $ac_status); }; }; then
10474   ac_cv_lib_dld_dld_link=yes
10475 else
10476   echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.$ac_ext >&5
10478
10479 ac_cv_lib_dld_dld_link=no
10480 fi
10481 rm -f conftest.err conftest.$ac_objext \
10482       conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10484 fi
10485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10486 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10487 if test $ac_cv_lib_dld_dld_link = yes; then
10488   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10489 fi
10490
10491
10492 fi
10493
10494
10495 fi
10496
10497
10498 fi
10499
10500
10501 fi
10502
10503
10504 fi
10505
10506     ;;
10507   esac
10508
10509   if test "x$lt_cv_dlopen" != xno; then
10510     enable_dlopen=yes
10511   else
10512     enable_dlopen=no
10513   fi
10514
10515   case $lt_cv_dlopen in
10516   dlopen)
10517     save_CPPFLAGS="$CPPFLAGS"
10518     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10519
10520     save_LDFLAGS="$LDFLAGS"
10521     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10522
10523     save_LIBS="$LIBS"
10524     LIBS="$lt_cv_dlopen_libs $LIBS"
10525
10526     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10527 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10528 if test "${lt_cv_dlopen_self+set}" = set; then
10529   echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531           if test "$cross_compiling" = yes; then :
10532   lt_cv_dlopen_self=cross
10533 else
10534   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10535   lt_status=$lt_dlunknown
10536   cat > conftest.$ac_ext <<_LT_EOF
10537 #line 10537 "configure"
10538 #include "confdefs.h"
10539
10540 #if HAVE_DLFCN_H
10541 #include <dlfcn.h>
10542 #endif
10543
10544 #include <stdio.h>
10545
10546 #ifdef RTLD_GLOBAL
10547 #  define LT_DLGLOBAL           RTLD_GLOBAL
10548 #else
10549 #  ifdef DL_GLOBAL
10550 #    define LT_DLGLOBAL         DL_GLOBAL
10551 #  else
10552 #    define LT_DLGLOBAL         0
10553 #  endif
10554 #endif
10555
10556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10557    find out it does not work in some platform. */
10558 #ifndef LT_DLLAZY_OR_NOW
10559 #  ifdef RTLD_LAZY
10560 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10561 #  else
10562 #    ifdef DL_LAZY
10563 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10564 #    else
10565 #      ifdef RTLD_NOW
10566 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10567 #      else
10568 #        ifdef DL_NOW
10569 #          define LT_DLLAZY_OR_NOW      DL_NOW
10570 #        else
10571 #          define LT_DLLAZY_OR_NOW      0
10572 #        endif
10573 #      endif
10574 #    endif
10575 #  endif
10576 #endif
10577
10578 #ifdef __cplusplus
10579 extern "C" void exit (int);
10580 #endif
10581
10582 void fnord() { int i=42;}
10583 int main ()
10584 {
10585   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10586   int status = $lt_dlunknown;
10587
10588   if (self)
10589     {
10590       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10591       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592       /* dlclose (self); */
10593     }
10594   else
10595     puts (dlerror ());
10596
10597     exit (status);
10598 }
10599 _LT_EOF
10600   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601   (eval $ac_link) 2>&5
10602   ac_status=$?
10603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10605     (./conftest; exit; ) >&5 2>/dev/null
10606     lt_status=$?
10607     case x$lt_status in
10608       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10609       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10610       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10611     esac
10612   else :
10613     # compilation failed
10614     lt_cv_dlopen_self=no
10615   fi
10616 fi
10617 rm -fr conftest*
10618
10619
10620 fi
10621 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10622 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10623
10624     if test "x$lt_cv_dlopen_self" = xyes; then
10625       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10626       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10627 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10628 if test "${lt_cv_dlopen_self_static+set}" = set; then
10629   echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631           if test "$cross_compiling" = yes; then :
10632   lt_cv_dlopen_self_static=cross
10633 else
10634   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10635   lt_status=$lt_dlunknown
10636   cat > conftest.$ac_ext <<_LT_EOF
10637 #line 10637 "configure"
10638 #include "confdefs.h"
10639
10640 #if HAVE_DLFCN_H
10641 #include <dlfcn.h>
10642 #endif
10643
10644 #include <stdio.h>
10645
10646 #ifdef RTLD_GLOBAL
10647 #  define LT_DLGLOBAL           RTLD_GLOBAL
10648 #else
10649 #  ifdef DL_GLOBAL
10650 #    define LT_DLGLOBAL         DL_GLOBAL
10651 #  else
10652 #    define LT_DLGLOBAL         0
10653 #  endif
10654 #endif
10655
10656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10657    find out it does not work in some platform. */
10658 #ifndef LT_DLLAZY_OR_NOW
10659 #  ifdef RTLD_LAZY
10660 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10661 #  else
10662 #    ifdef DL_LAZY
10663 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10664 #    else
10665 #      ifdef RTLD_NOW
10666 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10667 #      else
10668 #        ifdef DL_NOW
10669 #          define LT_DLLAZY_OR_NOW      DL_NOW
10670 #        else
10671 #          define LT_DLLAZY_OR_NOW      0
10672 #        endif
10673 #      endif
10674 #    endif
10675 #  endif
10676 #endif
10677
10678 #ifdef __cplusplus
10679 extern "C" void exit (int);
10680 #endif
10681
10682 void fnord() { int i=42;}
10683 int main ()
10684 {
10685   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10686   int status = $lt_dlunknown;
10687
10688   if (self)
10689     {
10690       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10691       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10692       /* dlclose (self); */
10693     }
10694   else
10695     puts (dlerror ());
10696
10697     exit (status);
10698 }
10699 _LT_EOF
10700   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10701   (eval $ac_link) 2>&5
10702   ac_status=$?
10703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10705     (./conftest; exit; ) >&5 2>/dev/null
10706     lt_status=$?
10707     case x$lt_status in
10708       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10709       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10710       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10711     esac
10712   else :
10713     # compilation failed
10714     lt_cv_dlopen_self_static=no
10715   fi
10716 fi
10717 rm -fr conftest*
10718
10719
10720 fi
10721 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10722 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10723     fi
10724
10725     CPPFLAGS="$save_CPPFLAGS"
10726     LDFLAGS="$save_LDFLAGS"
10727     LIBS="$save_LIBS"
10728     ;;
10729   esac
10730
10731   case $lt_cv_dlopen_self in
10732   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10733   *) enable_dlopen_self=unknown ;;
10734   esac
10735
10736   case $lt_cv_dlopen_self_static in
10737   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10738   *) enable_dlopen_self_static=unknown ;;
10739   esac
10740 fi
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758 striplib=
10759 old_striplib=
10760 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10761 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10762 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10763   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10764   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10765   echo "$as_me:$LINENO: result: yes" >&5
10766 echo "${ECHO_T}yes" >&6
10767 else
10768 # FIXME - insert some real tests, host_os isn't really good enough
10769   case $host_os in
10770   darwin*)
10771     if test -n "$STRIP" ; then
10772       striplib="$STRIP -x"
10773       old_striplib="$STRIP -S"
10774       echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10776     else
10777       echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10779     fi
10780     ;;
10781   *)
10782     echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10784     ;;
10785   esac
10786 fi
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799   # Report which library types will actually be built
10800   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10801 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10802   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10803 echo "${ECHO_T}$can_build_shared" >&6
10804
10805   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10806 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10807   test "$can_build_shared" = "no" && enable_shared=no
10808
10809   # On AIX, shared libraries and static libraries use the same namespace, and
10810   # are all built from PIC.
10811   case $host_os in
10812   aix3*)
10813     test "$enable_shared" = yes && enable_static=no
10814     if test -n "$RANLIB"; then
10815       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10816       postinstall_cmds='$RANLIB $lib'
10817     fi
10818     ;;
10819
10820   aix[4-9]*)
10821     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10822       test "$enable_shared" = yes && enable_static=no
10823     fi
10824     ;;
10825   esac
10826   echo "$as_me:$LINENO: result: $enable_shared" >&5
10827 echo "${ECHO_T}$enable_shared" >&6
10828
10829   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10830 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10831   # Make sure either enable_shared or enable_static is yes.
10832   test "$enable_shared" = yes || enable_static=yes
10833   echo "$as_me:$LINENO: result: $enable_static" >&5
10834 echo "${ECHO_T}$enable_static" >&6
10835
10836
10837
10838
10839 fi
10840 ac_ext=c
10841 ac_cpp='$CPP $CPPFLAGS'
10842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10845
10846 CC="$lt_save_CC"
10847
10848
10849 ac_ext=cc
10850 ac_cpp='$CXXCPP $CPPFLAGS'
10851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10854
10855 archive_cmds_need_lc_CXX=no
10856 allow_undefined_flag_CXX=
10857 always_export_symbols_CXX=no
10858 archive_expsym_cmds_CXX=
10859 compiler_needs_object_CXX=no
10860 export_dynamic_flag_spec_CXX=
10861 hardcode_direct_CXX=no
10862 hardcode_direct_absolute_CXX=no
10863 hardcode_libdir_flag_spec_CXX=
10864 hardcode_libdir_flag_spec_ld_CXX=
10865 hardcode_libdir_separator_CXX=
10866 hardcode_minus_L_CXX=no
10867 hardcode_shlibpath_var_CXX=unsupported
10868 hardcode_automatic_CXX=no
10869 inherit_rpath_CXX=no
10870 module_cmds_CXX=
10871 module_expsym_cmds_CXX=
10872 link_all_deplibs_CXX=unknown
10873 old_archive_cmds_CXX=$old_archive_cmds
10874 no_undefined_flag_CXX=
10875 whole_archive_flag_spec_CXX=
10876 enable_shared_with_static_runtimes_CXX=no
10877
10878 # Source file extension for C++ test sources.
10879 ac_ext=cpp
10880
10881 # Object file extension for compiled C++ test sources.
10882 objext=o
10883 objext_CXX=$objext
10884
10885 # No sense in running all these tests if we already determined that
10886 # the CXX compiler isn't working.  Some variables (like enable_shared)
10887 # are currently assumed to apply to all compilers on this platform,
10888 # and will be corrupted by setting them based on a non-working compiler.
10889 if test "$_lt_caught_CXX_error" != yes; then
10890   # Code to be used in simple compile tests
10891   lt_simple_compile_test_code="int some_variable = 0;"
10892
10893   # Code to be used in simple link tests
10894   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10895
10896   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10897
10898
10899
10900
10901
10902
10903 # If no C compiler was specified, use CC.
10904 LTCC=${LTCC-"$CC"}
10905
10906 # If no C compiler flags were specified, use CFLAGS.
10907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10908
10909 # Allow CC to be a program name with arguments.
10910 compiler=$CC
10911
10912
10913   # save warnings/boilerplate of simple test code
10914   ac_outfile=conftest.$ac_objext
10915 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10916 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10917 _lt_compiler_boilerplate=`cat conftest.err`
10918 $RM conftest*
10919
10920   ac_outfile=conftest.$ac_objext
10921 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10922 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10923 _lt_linker_boilerplate=`cat conftest.err`
10924 $RM conftest*
10925
10926
10927   # Allow CC to be a program name with arguments.
10928   lt_save_CC=$CC
10929   lt_save_LD=$LD
10930   lt_save_GCC=$GCC
10931   GCC=$GXX
10932   lt_save_with_gnu_ld=$with_gnu_ld
10933   lt_save_path_LD=$lt_cv_path_LD
10934   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10935     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10936   else
10937     $as_unset lt_cv_prog_gnu_ld
10938   fi
10939   if test -n "${lt_cv_path_LDCXX+set}"; then
10940     lt_cv_path_LD=$lt_cv_path_LDCXX
10941   else
10942     $as_unset lt_cv_path_LD
10943   fi
10944   test -z "${LDCXX+set}" || LD=$LDCXX
10945   CC=${CXX-"c++"}
10946   compiler=$CC
10947   compiler_CXX=$CC
10948   for cc_temp in $compiler""; do
10949   case $cc_temp in
10950     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10951     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10952     \-*) ;;
10953     *) break;;
10954   esac
10955 done
10956 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10957
10958
10959   if test -n "$compiler"; then
10960     # We don't want -fno-exception when compiling C++ code, so set the
10961     # no_builtin_flag separately
10962     if test "$GXX" = yes; then
10963       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10964     else
10965       lt_prog_compiler_no_builtin_flag_CXX=
10966     fi
10967
10968     if test "$GXX" = yes; then
10969       # Set up default GNU C++ configuration
10970
10971
10972
10973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10974 if test "${with_gnu_ld+set}" = set; then
10975   withval="$with_gnu_ld"
10976   test "$withval" = no || with_gnu_ld=yes
10977 else
10978   with_gnu_ld=no
10979 fi;
10980 ac_prog=ld
10981 if test "$GCC" = yes; then
10982   # Check if gcc -print-prog-name=ld gives a path.
10983   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10985   case $host in
10986   *-*-mingw*)
10987     # gcc leaves a trailing carriage return which upsets mingw
10988     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10989   *)
10990     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10991   esac
10992   case $ac_prog in
10993     # Accept absolute paths.
10994     [\\/]* | ?:[\\/]*)
10995       re_direlt='/[^/][^/]*/\.\./'
10996       # Canonicalize the pathname of ld
10997       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10998       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10999         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11000       done
11001       test -z "$LD" && LD="$ac_prog"
11002       ;;
11003   "")
11004     # If it fails, then pretend we aren't using GCC.
11005     ac_prog=ld
11006     ;;
11007   *)
11008     # If it is relative, then search for the first ld in PATH.
11009     with_gnu_ld=unknown
11010     ;;
11011   esac
11012 elif test "$with_gnu_ld" = yes; then
11013   echo "$as_me:$LINENO: checking for GNU ld" >&5
11014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11015 else
11016   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11018 fi
11019 if test "${lt_cv_path_LD+set}" = set; then
11020   echo $ECHO_N "(cached) $ECHO_C" >&6
11021 else
11022   if test -z "$LD"; then
11023   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11024   for ac_dir in $PATH; do
11025     IFS="$lt_save_ifs"
11026     test -z "$ac_dir" && ac_dir=.
11027     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11028       lt_cv_path_LD="$ac_dir/$ac_prog"
11029       # Check to see if the program is GNU ld.  I'd rather use --version,
11030       # but apparently some variants of GNU ld only accept -v.
11031       # Break only if it was the GNU/non-GNU ld that we prefer.
11032       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11033       *GNU* | *'with BFD'*)
11034         test "$with_gnu_ld" != no && break
11035         ;;
11036       *)
11037         test "$with_gnu_ld" != yes && break
11038         ;;
11039       esac
11040     fi
11041   done
11042   IFS="$lt_save_ifs"
11043 else
11044   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11045 fi
11046 fi
11047
11048 LD="$lt_cv_path_LD"
11049 if test -n "$LD"; then
11050   echo "$as_me:$LINENO: result: $LD" >&5
11051 echo "${ECHO_T}$LD" >&6
11052 else
11053   echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11055 fi
11056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11058    { (exit 1); exit 1; }; }
11059 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11062   echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11065 case `$LD -v 2>&1 </dev/null` in
11066 *GNU* | *'with BFD'*)
11067   lt_cv_prog_gnu_ld=yes
11068   ;;
11069 *)
11070   lt_cv_prog_gnu_ld=no
11071   ;;
11072 esac
11073 fi
11074 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11076 with_gnu_ld=$lt_cv_prog_gnu_ld
11077
11078
11079
11080
11081
11082
11083
11084       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11085       # archiving commands below assume that GNU ld is being used.
11086       if test "$with_gnu_ld" = yes; then
11087         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11089
11090         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11091         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11092
11093         # If archive_cmds runs LD, not CC, wlarc should be empty
11094         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11095         #     investigate it a little bit more. (MM)
11096         wlarc='${wl}'
11097
11098         # ancient GNU ld didn't support --whole-archive et. al.
11099         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11100           $GREP 'no-whole-archive' > /dev/null; then
11101           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11102         else
11103           whole_archive_flag_spec_CXX=
11104         fi
11105       else
11106         with_gnu_ld=no
11107         wlarc=
11108
11109         # A generic and very simple default shared library creation
11110         # command for GNU C++ for the case where it uses the native
11111         # linker, instead of GNU ld.  If possible, this setting should
11112         # overridden to take advantage of the native linker features on
11113         # the platform it is being used on.
11114         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11115       fi
11116
11117       # Commands to make compiler produce verbose output that lists
11118       # what "hidden" libraries, object files and flags are used when
11119       # linking a shared library.
11120       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11121
11122     else
11123       GXX=no
11124       with_gnu_ld=no
11125       wlarc=
11126     fi
11127
11128     # PORTME: fill in a description of your system's C++ link characteristics
11129     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11130 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11131     ld_shlibs_CXX=yes
11132     case $host_os in
11133       aix3*)
11134         # FIXME: insert proper C++ library support
11135         ld_shlibs_CXX=no
11136         ;;
11137       aix[4-9]*)
11138         if test "$host_cpu" = ia64; then
11139           # On IA64, the linker does run time linking by default, so we don't
11140           # have to do anything special.
11141           aix_use_runtimelinking=no
11142           exp_sym_flag='-Bexport'
11143           no_entry_flag=""
11144         else
11145           aix_use_runtimelinking=no
11146
11147           # Test if we are trying to use run time linking or normal
11148           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11149           # need to do runtime linking.
11150           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11151             for ld_flag in $LDFLAGS; do
11152               case $ld_flag in
11153               *-brtl*)
11154                 aix_use_runtimelinking=yes
11155                 break
11156                 ;;
11157               esac
11158             done
11159             ;;
11160           esac
11161
11162           exp_sym_flag='-bexport'
11163           no_entry_flag='-bnoentry'
11164         fi
11165
11166         # When large executables or shared objects are built, AIX ld can
11167         # have problems creating the table of contents.  If linking a library
11168         # or program results in "error TOC overflow" add -mminimal-toc to
11169         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11170         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11171
11172         archive_cmds_CXX=''
11173         hardcode_direct_CXX=yes
11174         hardcode_direct_absolute_CXX=yes
11175         hardcode_libdir_separator_CXX=':'
11176         link_all_deplibs_CXX=yes
11177         file_list_spec_CXX='${wl}-f,'
11178
11179         if test "$GXX" = yes; then
11180           case $host_os in aix4.[012]|aix4.[012].*)
11181           # We only want to do this on AIX 4.2 and lower, the check
11182           # below for broken collect2 doesn't work under 4.3+
11183           collect2name=`${CC} -print-prog-name=collect2`
11184           if test -f "$collect2name" &&
11185              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11186           then
11187             # We have reworked collect2
11188             :
11189           else
11190             # We have old collect2
11191             hardcode_direct_CXX=unsupported
11192             # It fails to find uninstalled libraries when the uninstalled
11193             # path is not listed in the libpath.  Setting hardcode_minus_L
11194             # to unsupported forces relinking
11195             hardcode_minus_L_CXX=yes
11196             hardcode_libdir_flag_spec_CXX='-L$libdir'
11197             hardcode_libdir_separator_CXX=
11198           fi
11199           esac
11200           shared_flag='-shared'
11201           if test "$aix_use_runtimelinking" = yes; then
11202             shared_flag="$shared_flag "'${wl}-G'
11203           fi
11204         else
11205           # not using gcc
11206           if test "$host_cpu" = ia64; then
11207           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11208           # chokes on -Wl,-G. The following line is correct:
11209           shared_flag='-G'
11210           else
11211             if test "$aix_use_runtimelinking" = yes; then
11212               shared_flag='${wl}-G'
11213             else
11214               shared_flag='${wl}-bM:SRE'
11215             fi
11216           fi
11217         fi
11218
11219         # It seems that -bexpall does not export symbols beginning with
11220         # underscore (_), so it is better to generate a list of symbols to
11221         # export.
11222         always_export_symbols_CXX=yes
11223         if test "$aix_use_runtimelinking" = yes; then
11224           # Warning - without using the other runtime loading flags (-brtl),
11225           # -berok will link without error, but may produce a broken library.
11226           allow_undefined_flag_CXX='-berok'
11227           # Determine the default libpath from the value encoded in an empty
11228           # executable.
11229           if test x$gcc_no_link = xyes; then
11230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232    { (exit 1); exit 1; }; }
11233 fi
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h.  */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h.  */
11240
11241 int
11242 main ()
11243 {
11244
11245   ;
11246   return 0;
11247 }
11248 _ACEOF
11249 rm -f conftest.$ac_objext conftest$ac_exeext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11251   (eval $ac_link) 2>conftest.er1
11252   ac_status=$?
11253   grep -v '^ *+' conftest.er1 >conftest.err
11254   rm -f conftest.er1
11255   cat conftest.err >&5
11256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257   (exit $ac_status); } &&
11258          { ac_try='test -z "$ac_cxx_werror_flag"
11259                          || test ! -s conftest.err'
11260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261   (eval $ac_try) 2>&5
11262   ac_status=$?
11263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264   (exit $ac_status); }; } &&
11265          { ac_try='test -s conftest$ac_exeext'
11266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267   (eval $ac_try) 2>&5
11268   ac_status=$?
11269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270   (exit $ac_status); }; }; then
11271
11272 lt_aix_libpath_sed='
11273     /Import File Strings/,/^$/ {
11274         /^0/ {
11275             s/^0  *\(.*\)$/\1/
11276             p
11277         }
11278     }'
11279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11280 # Check for a 64-bit object if we didn't find anything.
11281 if test -z "$aix_libpath"; then
11282   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11283 fi
11284 else
11285   echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11287
11288 fi
11289 rm -f conftest.err conftest.$ac_objext \
11290       conftest$ac_exeext conftest.$ac_ext
11291 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11292
11293           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11294
11295           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11296         else
11297           if test "$host_cpu" = ia64; then
11298             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11299             allow_undefined_flag_CXX="-z nodefs"
11300             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11301           else
11302             # Determine the default libpath from the value encoded in an
11303             # empty executable.
11304             if test x$gcc_no_link = xyes; then
11305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307    { (exit 1); exit 1; }; }
11308 fi
11309 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h.  */
11311 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h.  */
11315
11316 int
11317 main ()
11318 {
11319
11320   ;
11321   return 0;
11322 }
11323 _ACEOF
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326   (eval $ac_link) 2>conftest.er1
11327   ac_status=$?
11328   grep -v '^ *+' conftest.er1 >conftest.err
11329   rm -f conftest.er1
11330   cat conftest.err >&5
11331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332   (exit $ac_status); } &&
11333          { ac_try='test -z "$ac_cxx_werror_flag"
11334                          || test ! -s conftest.err'
11335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336   (eval $ac_try) 2>&5
11337   ac_status=$?
11338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339   (exit $ac_status); }; } &&
11340          { ac_try='test -s conftest$ac_exeext'
11341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342   (eval $ac_try) 2>&5
11343   ac_status=$?
11344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345   (exit $ac_status); }; }; then
11346
11347 lt_aix_libpath_sed='
11348     /Import File Strings/,/^$/ {
11349         /^0/ {
11350             s/^0  *\(.*\)$/\1/
11351             p
11352         }
11353     }'
11354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11355 # Check for a 64-bit object if we didn't find anything.
11356 if test -z "$aix_libpath"; then
11357   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11358 fi
11359 else
11360   echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11362
11363 fi
11364 rm -f conftest.err conftest.$ac_objext \
11365       conftest$ac_exeext conftest.$ac_ext
11366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11367
11368             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11369             # Warning - without using the other run time loading flags,
11370             # -berok will link without error, but may produce a broken library.
11371             no_undefined_flag_CXX=' ${wl}-bernotok'
11372             allow_undefined_flag_CXX=' ${wl}-berok'
11373             # Exported symbols can be pulled into shared objects from archives
11374             whole_archive_flag_spec_CXX='$convenience'
11375             archive_cmds_need_lc_CXX=yes
11376             # This is similar to how AIX traditionally builds its shared
11377             # libraries.
11378             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11379           fi
11380         fi
11381         ;;
11382
11383       beos*)
11384         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11385           allow_undefined_flag_CXX=unsupported
11386           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11387           # support --undefined.  This deserves some investigation.  FIXME
11388           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389         else
11390           ld_shlibs_CXX=no
11391         fi
11392         ;;
11393
11394       chorus*)
11395         case $cc_basename in
11396           *)
11397           # FIXME: insert proper C++ library support
11398           ld_shlibs_CXX=no
11399           ;;
11400         esac
11401         ;;
11402
11403       cygwin* | mingw* | pw32*)
11404         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11405         # as there is no search path for DLLs.
11406         hardcode_libdir_flag_spec_CXX='-L$libdir'
11407         allow_undefined_flag_CXX=unsupported
11408         always_export_symbols_CXX=no
11409         enable_shared_with_static_runtimes_CXX=yes
11410
11411         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11412           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11413           # If the export-symbols file already is a .def file (1st line
11414           # is EXPORTS), use it as is; otherwise, prepend...
11415           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11416             cp $export_symbols $output_objdir/$soname.def;
11417           else
11418             echo EXPORTS > $output_objdir/$soname.def;
11419             cat $export_symbols >> $output_objdir/$soname.def;
11420           fi~
11421           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11422         else
11423           ld_shlibs_CXX=no
11424         fi
11425         ;;
11426       darwin* | rhapsody*)
11427         case $host_os in
11428           rhapsody* | darwin1.[012])
11429             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11430             ;;
11431           *) # Darwin 1.3 on
11432             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11433               10.[012])
11434                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11435                 ;;
11436               10.*)
11437                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11438                 ;;
11439             esac
11440             ;;
11441         esac
11442         archive_cmds_need_lc_CXX=no
11443         hardcode_direct_CXX=no
11444         hardcode_automatic_CXX=yes
11445         hardcode_shlibpath_var_CXX=unsupported
11446         whole_archive_flag_spec_CXX=''
11447         link_all_deplibs_CXX=yes
11448
11449         if test "$GXX" = yes ; then
11450           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11451   echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453   lt_cv_apple_cc_single_mod=no
11454           if test -z "${LT_MULTI_MODULE}"; then
11455             # By default we will add the -single_module flag. You can override
11456             # by either setting the environment variable LT_MULTI_MODULE
11457             # non-empty at configure time, or by adding -multi-module to the
11458             # link flags.
11459             echo "int foo(void){return 1;}" > conftest.c
11460             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11461                 -dynamiclib ${wl}-single_module conftest.c
11462             if test -f libconftest.dylib; then
11463                 lt_cv_apple_cc_single_mod=yes
11464                 rm libconftest.dylib
11465             fi
11466             rm conftest.$ac_ext
11467           fi
11468 fi
11469
11470           output_verbose_link_cmd=echo
11471           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11472            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11473             archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11474           else
11475             archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11476             archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11477           fi
11478           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11479           module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11480         else
11481           case $cc_basename in
11482             xlc*)
11483               output_verbose_link_cmd=echo
11484               archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11485               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11486               # Don't fix this by using the ld -exported_symbols_list flag,
11487               # it doesn't exist in older darwin lds
11488               archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11489               module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11490               ;;
11491             *)
11492               ld_shlibs_CXX=no
11493               ;;
11494           esac
11495         fi
11496         ;;
11497
11498       dgux*)
11499         case $cc_basename in
11500           ec++*)
11501             # FIXME: insert proper C++ library support
11502             ld_shlibs_CXX=no
11503             ;;
11504           ghcx*)
11505             # Green Hills C++ Compiler
11506             # FIXME: insert proper C++ library support
11507             ld_shlibs_CXX=no
11508             ;;
11509           *)
11510             # FIXME: insert proper C++ library support
11511             ld_shlibs_CXX=no
11512             ;;
11513         esac
11514         ;;
11515
11516       freebsd[12]*)
11517         # C++ shared libraries reported to be fairly broken before
11518         # switch to ELF
11519         ld_shlibs_CXX=no
11520         ;;
11521
11522       freebsd-elf*)
11523         archive_cmds_need_lc_CXX=no
11524         ;;
11525
11526       freebsd* | dragonfly*)
11527         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11528         # conventions
11529         ld_shlibs_CXX=yes
11530         ;;
11531
11532       gnu*)
11533         ;;
11534
11535       hpux9*)
11536         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11537         hardcode_libdir_separator_CXX=:
11538         export_dynamic_flag_spec_CXX='${wl}-E'
11539         hardcode_direct_CXX=yes
11540         hardcode_minus_L_CXX=yes # Not in the search PATH,
11541                                              # but as the default
11542                                              # location of the library.
11543
11544         case $cc_basename in
11545           CC*)
11546             # FIXME: insert proper C++ library support
11547             ld_shlibs_CXX=no
11548             ;;
11549           aCC*)
11550             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11551             # Commands to make compiler produce verbose output that lists
11552             # what "hidden" libraries, object files and flags are used when
11553             # linking a shared library.
11554             #
11555             # There doesn't appear to be a way to prevent this compiler from
11556             # explicitly linking system object files so we need to strip them
11557             # from the output so that they don't get included in the library
11558             # dependencies.
11559             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11560             ;;
11561           *)
11562             if test "$GXX" = yes; then
11563               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11564             else
11565               # FIXME: insert proper C++ library support
11566               ld_shlibs_CXX=no
11567             fi
11568             ;;
11569         esac
11570         ;;
11571
11572       hpux10*|hpux11*)
11573         if test $with_gnu_ld = no; then
11574           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11575           hardcode_libdir_separator_CXX=:
11576
11577           case $host_cpu in
11578             hppa*64*|ia64*)
11579               ;;
11580             *)
11581               export_dynamic_flag_spec_CXX='${wl}-E'
11582               ;;
11583           esac
11584         fi
11585         case $host_cpu in
11586           hppa*64*|ia64*)
11587             hardcode_direct_CXX=no
11588             hardcode_shlibpath_var_CXX=no
11589             ;;
11590           *)
11591             hardcode_direct_CXX=yes
11592             hardcode_direct_absolute_CXX=yes
11593             hardcode_minus_L_CXX=yes # Not in the search PATH,
11594                                                  # but as the default
11595                                                  # location of the library.
11596             ;;
11597         esac
11598
11599         case $cc_basename in
11600           CC*)
11601             # FIXME: insert proper C++ library support
11602             ld_shlibs_CXX=no
11603             ;;
11604           aCC*)
11605             case $host_cpu in
11606               hppa*64*)
11607                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11608                 ;;
11609               ia64*)
11610                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11611                 ;;
11612               *)
11613                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11614                 ;;
11615             esac
11616             # Commands to make compiler produce verbose output that lists
11617             # what "hidden" libraries, object files and flags are used when
11618             # linking a shared library.
11619             #
11620             # There doesn't appear to be a way to prevent this compiler from
11621             # explicitly linking system object files so we need to strip them
11622             # from the output so that they don't get included in the library
11623             # dependencies.
11624             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11625             ;;
11626           *)
11627             if test "$GXX" = yes; then
11628               if test $with_gnu_ld = no; then
11629                 case $host_cpu in
11630                   hppa*64*)
11631                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11632                     ;;
11633                   ia64*)
11634                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11635                     ;;
11636                   *)
11637                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11638                     ;;
11639                 esac
11640               fi
11641             else
11642               # FIXME: insert proper C++ library support
11643               ld_shlibs_CXX=no
11644             fi
11645             ;;
11646         esac
11647         ;;
11648
11649       interix[3-9]*)
11650         hardcode_direct_CXX=no
11651         hardcode_shlibpath_var_CXX=no
11652         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11653         export_dynamic_flag_spec_CXX='${wl}-E'
11654         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11655         # Instead, shared libraries are loaded at an image base (0x10000000 by
11656         # default) and relocated if they conflict, which is a slow very memory
11657         # consuming and fragmenting process.  To avoid this, we pick a random,
11658         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11659         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11660         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11661         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11662         ;;
11663       irix5* | irix6*)
11664         case $cc_basename in
11665           CC*)
11666             # SGI C++
11667             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11668
11669             # Archives containing C++ object files must be created using
11670             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11671             # necessary to make sure instantiated templates are included
11672             # in the archive.
11673             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11674             ;;
11675           *)
11676             if test "$GXX" = yes; then
11677               if test "$with_gnu_ld" = no; then
11678                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11679               else
11680                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11681               fi
11682             fi
11683             link_all_deplibs_CXX=yes
11684             ;;
11685         esac
11686         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11687         hardcode_libdir_separator_CXX=:
11688         inherit_rpath_CXX=yes
11689         ;;
11690
11691       linux* | k*bsd*-gnu)
11692         case $cc_basename in
11693           KCC*)
11694             # Kuck and Associates, Inc. (KAI) C++ Compiler
11695
11696             # KCC will only create a shared library if the output file
11697             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11698             # to its proper name (with version) after linking.
11699             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11700             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11701             # Commands to make compiler produce verbose output that lists
11702             # what "hidden" libraries, object files and flags are used when
11703             # linking a shared library.
11704             #
11705             # There doesn't appear to be a way to prevent this compiler from
11706             # explicitly linking system object files so we need to strip them
11707             # from the output so that they don't get included in the library
11708             # dependencies.
11709             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11710
11711             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11712             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11713
11714             # Archives containing C++ object files must be created using
11715             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11716             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11717             ;;
11718           icpc* | ecpc* )
11719             # Intel C++
11720             with_gnu_ld=yes
11721             # version 8.0 and above of icpc choke on multiply defined symbols
11722             # if we add $predep_objects and $postdep_objects, however 7.1 and
11723             # earlier do not add the objects themselves.
11724             case `$CC -V 2>&1` in
11725               *"Version 7."*)
11726                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11728                 ;;
11729               *)  # Version 8.0 or newer
11730                 tmp_idyn=
11731                 case $host_cpu in
11732                   ia64*) tmp_idyn=' -i_dynamic';;
11733                 esac
11734                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11736                 ;;
11737             esac
11738             archive_cmds_need_lc_CXX=no
11739             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11740             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11741             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11742             ;;
11743           pgCC*)
11744             # Portland Group C++ compiler
11745             case `$CC -V` in
11746             *pgCC\ [1-5]*)
11747               prelink_cmds_CXX='tpldir=Template.dir~
11748                 rm -rf $tpldir~
11749                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11750                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11751               old_archive_cmds_CXX='tpldir=Template.dir~
11752                 rm -rf $tpldir~
11753                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11754                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11755                 $RANLIB $oldlib'
11756               archive_cmds_CXX='tpldir=Template.dir~
11757                 rm -rf $tpldir~
11758                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11759                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11760               archive_expsym_cmds_CXX='tpldir=Template.dir~
11761                 rm -rf $tpldir~
11762                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11763                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11764               ;;
11765             *) # Version 6 will use weak symbols
11766               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11767               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11768               ;;
11769             esac
11770
11771             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11772             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11773             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11774             ;;
11775           cxx*)
11776             # Compaq C++
11777             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11778             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11779
11780             runpath_var=LD_RUN_PATH
11781             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11782             hardcode_libdir_separator_CXX=:
11783
11784             # Commands to make compiler produce verbose output that lists
11785             # what "hidden" libraries, object files and flags are used when
11786             # linking a shared library.
11787             #
11788             # There doesn't appear to be a way to prevent this compiler from
11789             # explicitly linking system object files so we need to strip them
11790             # from the output so that they don't get included in the library
11791             # dependencies.
11792             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11793             ;;
11794           *)
11795             case `$CC -V 2>&1 | sed 5q` in
11796             *Sun\ C*)
11797               # Sun C++ 5.9
11798               no_undefined_flag_CXX=' -zdefs'
11799               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11800               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11801               hardcode_libdir_flag_spec_CXX='-R$libdir'
11802               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11803               compiler_needs_object_CXX=yes
11804
11805               # Not sure whether something based on
11806               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11807               # would be better.
11808               output_verbose_link_cmd='echo'
11809
11810               # Archives containing C++ object files must be created using
11811               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11812               # necessary to make sure instantiated templates are included
11813               # in the archive.
11814               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11815               ;;
11816             esac
11817             ;;
11818         esac
11819         ;;
11820
11821       lynxos*)
11822         # FIXME: insert proper C++ library support
11823         ld_shlibs_CXX=no
11824         ;;
11825
11826       m88k*)
11827         # FIXME: insert proper C++ library support
11828         ld_shlibs_CXX=no
11829         ;;
11830
11831       mvs*)
11832         case $cc_basename in
11833           cxx*)
11834             # FIXME: insert proper C++ library support
11835             ld_shlibs_CXX=no
11836             ;;
11837           *)
11838             # FIXME: insert proper C++ library support
11839             ld_shlibs_CXX=no
11840             ;;
11841         esac
11842         ;;
11843
11844       netbsd*)
11845         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11846           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11847           wlarc=
11848           hardcode_libdir_flag_spec_CXX='-R$libdir'
11849           hardcode_direct_CXX=yes
11850           hardcode_shlibpath_var_CXX=no
11851         fi
11852         # Workaround some broken pre-1.5 toolchains
11853         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11854         ;;
11855
11856       *nto* | *qnx*)
11857         ld_shlibs_CXX=yes
11858         ;;
11859
11860       openbsd2*)
11861         # C++ shared libraries are fairly broken
11862         ld_shlibs_CXX=no
11863         ;;
11864
11865       openbsd*)
11866         hardcode_direct_CXX=yes
11867         hardcode_shlibpath_var_CXX=no
11868         hardcode_direct_absolute_CXX=yes
11869         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11870         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11871         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11872           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11873           export_dynamic_flag_spec_CXX='${wl}-E'
11874           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11875         fi
11876         output_verbose_link_cmd=echo
11877         ;;
11878
11879       osf3* | osf4* | osf5*)
11880         case $cc_basename in
11881           KCC*)
11882             # Kuck and Associates, Inc. (KAI) C++ Compiler
11883
11884             # KCC will only create a shared library if the output file
11885             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11886             # to its proper name (with version) after linking.
11887             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11888
11889             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11890             hardcode_libdir_separator_CXX=:
11891
11892             # Archives containing C++ object files must be created using
11893             # the KAI C++ compiler.
11894             case $host in
11895               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11896               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11897             esac
11898             ;;
11899           RCC*)
11900             # Rational C++ 2.4.1
11901             # FIXME: insert proper C++ library support
11902             ld_shlibs_CXX=no
11903             ;;
11904           cxx*)
11905             case $host in
11906               osf3*)
11907                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11908                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11909                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11910                 ;;
11911               *)
11912                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11913                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11914                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11915                   echo "-hidden">> $lib.exp~
11916                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11917                   $RM $lib.exp'
11918                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11919                 ;;
11920             esac
11921
11922             hardcode_libdir_separator_CXX=:
11923
11924             # Commands to make compiler produce verbose output that lists
11925             # what "hidden" libraries, object files and flags are used when
11926             # linking a shared library.
11927             #
11928             # There doesn't appear to be a way to prevent this compiler from
11929             # explicitly linking system object files so we need to strip them
11930             # from the output so that they don't get included in the library
11931             # dependencies.
11932             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11933             ;;
11934           *)
11935             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11936               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11937               case $host in
11938                 osf3*)
11939                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11940                   ;;
11941                 *)
11942                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11943                   ;;
11944               esac
11945
11946               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11947               hardcode_libdir_separator_CXX=:
11948
11949               # Commands to make compiler produce verbose output that lists
11950               # what "hidden" libraries, object files and flags are used when
11951               # linking a shared library.
11952               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11953
11954             else
11955               # FIXME: insert proper C++ library support
11956               ld_shlibs_CXX=no
11957             fi
11958             ;;
11959         esac
11960         ;;
11961
11962       psos*)
11963         # FIXME: insert proper C++ library support
11964         ld_shlibs_CXX=no
11965         ;;
11966
11967       sunos4*)
11968         case $cc_basename in
11969           CC*)
11970             # Sun C++ 4.x
11971             # FIXME: insert proper C++ library support
11972             ld_shlibs_CXX=no
11973             ;;
11974           lcc*)
11975             # Lucid
11976             # FIXME: insert proper C++ library support
11977             ld_shlibs_CXX=no
11978             ;;
11979           *)
11980             # FIXME: insert proper C++ library support
11981             ld_shlibs_CXX=no
11982             ;;
11983         esac
11984         ;;
11985
11986       solaris*)
11987         case $cc_basename in
11988           CC*)
11989             # Sun C++ 4.2, 5.x and Centerline C++
11990             archive_cmds_need_lc_CXX=yes
11991             no_undefined_flag_CXX=' -zdefs'
11992             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11993             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11994               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11995
11996             hardcode_libdir_flag_spec_CXX='-R$libdir'
11997             hardcode_shlibpath_var_CXX=no
11998             case $host_os in
11999               solaris2.[0-5] | solaris2.[0-5].*) ;;
12000               *)
12001                 # The compiler driver will combine and reorder linker options,
12002                 # but understands `-z linker_flag'.
12003                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12004                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12005                 ;;
12006             esac
12007             link_all_deplibs_CXX=yes
12008
12009             output_verbose_link_cmd='echo'
12010
12011             # Archives containing C++ object files must be created using
12012             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12013             # necessary to make sure instantiated templates are included
12014             # in the archive.
12015             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12016             ;;
12017           gcx*)
12018             # Green Hills C++ Compiler
12019             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12020
12021             # The C++ compiler must be used to create the archive.
12022             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12023             ;;
12024           *)
12025             # GNU C++ compiler with Solaris linker
12026             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12027               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12028               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12029                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12030                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12031                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12032
12033                 # Commands to make compiler produce verbose output that lists
12034                 # what "hidden" libraries, object files and flags are used when
12035                 # linking a shared library.
12036                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12037               else
12038                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12039                 # platform.
12040                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12041                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12042                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12043
12044                 # Commands to make compiler produce verbose output that lists
12045                 # what "hidden" libraries, object files and flags are used when
12046                 # linking a shared library.
12047                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12048               fi
12049
12050               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12051               case $host_os in
12052                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12053                 *)
12054                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12055                   ;;
12056               esac
12057             fi
12058             ;;
12059         esac
12060         ;;
12061
12062     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12063       no_undefined_flag_CXX='${wl}-z,text'
12064       archive_cmds_need_lc_CXX=no
12065       hardcode_shlibpath_var_CXX=no
12066       runpath_var='LD_RUN_PATH'
12067
12068       case $cc_basename in
12069         CC*)
12070           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12072           ;;
12073         *)
12074           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12076           ;;
12077       esac
12078       ;;
12079
12080       sysv5* | sco3.2v5* | sco5v6*)
12081         # Note: We can NOT use -z defs as we might desire, because we do not
12082         # link with -lc, and that would cause any symbols used from libc to
12083         # always be unresolved, which means just about no library would
12084         # ever link correctly.  If we're not using GNU ld we use -z text
12085         # though, which does catch some bad symbols but isn't as heavy-handed
12086         # as -z defs.
12087         no_undefined_flag_CXX='${wl}-z,text'
12088         allow_undefined_flag_CXX='${wl}-z,nodefs'
12089         archive_cmds_need_lc_CXX=no
12090         hardcode_shlibpath_var_CXX=no
12091         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12092         hardcode_libdir_separator_CXX=':'
12093         link_all_deplibs_CXX=yes
12094         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12095         runpath_var='LD_RUN_PATH'
12096
12097         case $cc_basename in
12098           CC*)
12099             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12101             ;;
12102           *)
12103             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12105             ;;
12106         esac
12107       ;;
12108
12109       tandem*)
12110         case $cc_basename in
12111           NCC*)
12112             # NonStop-UX NCC 3.20
12113             # FIXME: insert proper C++ library support
12114             ld_shlibs_CXX=no
12115             ;;
12116           *)
12117             # FIXME: insert proper C++ library support
12118             ld_shlibs_CXX=no
12119             ;;
12120         esac
12121         ;;
12122
12123       vxworks*)
12124         # FIXME: insert proper C++ library support
12125         ld_shlibs_CXX=no
12126         ;;
12127
12128       *)
12129         # FIXME: insert proper C++ library support
12130         ld_shlibs_CXX=no
12131         ;;
12132     esac
12133
12134     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12135 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12136     test "$ld_shlibs_CXX" = no && can_build_shared=no
12137
12138     GCC_CXX="$GXX"
12139     LD_CXX="$LD"
12140
12141     ## CAVEAT EMPTOR:
12142     ## There is no encapsulation within the following macros, do not change
12143     ## the running order or otherwise move them around unless you know exactly
12144     ## what you are doing...
12145     # Dependencies to place before and after the object being linked:
12146 predep_objects_CXX=
12147 postdep_objects_CXX=
12148 predeps_CXX=
12149 postdeps_CXX=
12150 compiler_lib_search_path_CXX=
12151
12152 cat > conftest.$ac_ext <<_LT_EOF
12153 class Foo
12154 {
12155 public:
12156   Foo (void) { a = 0; }
12157 private:
12158   int a;
12159 };
12160 _LT_EOF
12161
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163   (eval $ac_compile) 2>&5
12164   ac_status=$?
12165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); }; then
12167   # Parse the compiler output and extract the necessary
12168   # objects, libraries and library flags.
12169
12170   # Sentinel used to keep track of whether or not we are before
12171   # the conftest object file.
12172   pre_test_object_deps_done=no
12173
12174   # The `*' in the case matches for architectures that use `case' in
12175   # $output_verbose_cmd can trigger glob expansion during the loop
12176   # eval without this substitution.
12177   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12178
12179   for p in `eval $output_verbose_link_cmd`; do
12180     case $p in
12181
12182     -L* | -R* | -l*)
12183        # Some compilers place space between "-{L,R}" and the path.
12184        # Remove the space.
12185        if test $p = "-L" ||
12186           test $p = "-R"; then
12187          prev=$p
12188          continue
12189        else
12190          prev=
12191        fi
12192
12193        if test "$pre_test_object_deps_done" = no; then
12194          case $p in
12195          -L* | -R*)
12196            # Internal compiler library paths should come after those
12197            # provided the user.  The postdeps already come after the
12198            # user supplied libs so there is no need to process them.
12199            if test -z "$compiler_lib_search_path_CXX"; then
12200              compiler_lib_search_path_CXX="${prev}${p}"
12201            else
12202              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12203            fi
12204            ;;
12205          # The "-l" case would never come before the object being
12206          # linked, so don't bother handling this case.
12207          esac
12208        else
12209          if test -z "$postdeps_CXX"; then
12210            postdeps_CXX="${prev}${p}"
12211          else
12212            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12213          fi
12214        fi
12215        ;;
12216
12217     *.$objext)
12218        # This assumes that the test object file only shows up
12219        # once in the compiler output.
12220        if test "$p" = "conftest.$objext"; then
12221          pre_test_object_deps_done=yes
12222          continue
12223        fi
12224
12225        if test "$pre_test_object_deps_done" = no; then
12226          if test -z "$predep_objects_CXX"; then
12227            predep_objects_CXX="$p"
12228          else
12229            predep_objects_CXX="$predep_objects_CXX $p"
12230          fi
12231        else
12232          if test -z "$postdep_objects_CXX"; then
12233            postdep_objects_CXX="$p"
12234          else
12235            postdep_objects_CXX="$postdep_objects_CXX $p"
12236          fi
12237        fi
12238        ;;
12239
12240     *) ;; # Ignore the rest.
12241
12242     esac
12243   done
12244
12245   # Clean up.
12246   rm -f a.out a.exe
12247 else
12248   echo "libtool.m4: error: problem compiling CXX test program"
12249 fi
12250
12251 $RM -f confest.$objext
12252
12253 # PORTME: override above test on systems where it is broken
12254 case $host_os in
12255 interix[3-9]*)
12256   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12257   # hack all around it, let's just trust "g++" to DTRT.
12258   predep_objects_CXX=
12259   postdep_objects_CXX=
12260   postdeps_CXX=
12261   ;;
12262
12263 linux*)
12264   case `$CC -V 2>&1 | sed 5q` in
12265   *Sun\ C*)
12266     # Sun C++ 5.9
12267
12268     # The more standards-conforming stlport4 library is
12269     # incompatible with the Cstd library. Avoid specifying
12270     # it if it's in CXXFLAGS. Ignore libCrun as
12271     # -library=stlport4 depends on it.
12272     case " $CXX $CXXFLAGS " in
12273     *" -library=stlport4 "*)
12274       solaris_use_stlport4=yes
12275       ;;
12276     esac
12277
12278     if test "$solaris_use_stlport4" != yes; then
12279       postdeps_CXX='-library=Cstd -library=Crun'
12280     fi
12281     ;;
12282   esac
12283   ;;
12284
12285 solaris*)
12286   case $cc_basename in
12287   CC*)
12288     # The more standards-conforming stlport4 library is
12289     # incompatible with the Cstd library. Avoid specifying
12290     # it if it's in CXXFLAGS. Ignore libCrun as
12291     # -library=stlport4 depends on it.
12292     case " $CXX $CXXFLAGS " in
12293     *" -library=stlport4 "*)
12294       solaris_use_stlport4=yes
12295       ;;
12296     esac
12297
12298     # Adding this requires a known-good setup of shared libraries for
12299     # Sun compiler versions before 5.6, else PIC objects from an old
12300     # archive will be linked into the output, leading to subtle bugs.
12301     if test "$solaris_use_stlport4" != yes; then
12302       postdeps_CXX='-library=Cstd -library=Crun'
12303     fi
12304     ;;
12305   esac
12306   ;;
12307 esac
12308
12309
12310 case " $postdeps_CXX " in
12311 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12312 esac
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339     lt_prog_compiler_wl_CXX=
12340 lt_prog_compiler_pic_CXX=
12341 lt_prog_compiler_static_CXX=
12342
12343 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12344 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12345
12346   # C++ specific cases for pic, static, wl, etc.
12347   if test "$GXX" = yes; then
12348     lt_prog_compiler_wl_CXX='-Wl,'
12349     lt_prog_compiler_static_CXX='-static'
12350
12351     case $host_os in
12352     aix*)
12353       # All AIX code is PIC.
12354       if test "$host_cpu" = ia64; then
12355         # AIX 5 now supports IA64 processor
12356         lt_prog_compiler_static_CXX='-Bstatic'
12357       fi
12358       ;;
12359     amigaos*)
12360       if test "$host_cpu" = m68k; then
12361         # FIXME: we need at least 68020 code to build shared libraries, but
12362         # adding the `-m68020' flag to GCC prevents building anything better,
12363         # like `-m68040'.
12364         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12365       fi
12366       ;;
12367     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12368       # PIC is the default for these OSes.
12369       ;;
12370     mingw* | cygwin* | os2* | pw32*)
12371       # This hack is so that the source file can tell whether it is being
12372       # built for inclusion in a dll (and should export symbols for example).
12373       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12374       # (--disable-auto-import) libraries
12375       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12376       ;;
12377     darwin* | rhapsody*)
12378       # PIC is the default on this platform
12379       # Common symbols not allowed in MH_DYLIB files
12380       lt_prog_compiler_pic_CXX='-fno-common'
12381       ;;
12382     *djgpp*)
12383       # DJGPP does not support shared libraries at all
12384       lt_prog_compiler_pic_CXX=
12385       ;;
12386     interix[3-9]*)
12387       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12388       # Instead, we relocate shared libraries at runtime.
12389       ;;
12390     sysv4*MP*)
12391       if test -d /usr/nec; then
12392         lt_prog_compiler_pic_CXX=-Kconform_pic
12393       fi
12394       ;;
12395     hpux*)
12396       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12397       # not for PA HP-UX.
12398       case $host_cpu in
12399       hppa*64*|ia64*)
12400         ;;
12401       *)
12402         lt_prog_compiler_pic_CXX='-fPIC'
12403         ;;
12404       esac
12405       ;;
12406     *qnx* | *nto*)
12407       # QNX uses GNU C++, but need to define -shared option too, otherwise
12408       # it will coredump.
12409       lt_prog_compiler_pic_CXX='-fPIC -shared'
12410       ;;
12411     *)
12412       lt_prog_compiler_pic_CXX='-fPIC'
12413       ;;
12414     esac
12415   else
12416     case $host_os in
12417       aix[4-9]*)
12418         # All AIX code is PIC.
12419         if test "$host_cpu" = ia64; then
12420           # AIX 5 now supports IA64 processor
12421           lt_prog_compiler_static_CXX='-Bstatic'
12422         else
12423           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12424         fi
12425         ;;
12426       chorus*)
12427         case $cc_basename in
12428         cxch68*)
12429           # Green Hills C++ Compiler
12430           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12431           ;;
12432         esac
12433         ;;
12434       darwin*)
12435         # PIC is the default on this platform
12436         # Common symbols not allowed in MH_DYLIB files
12437         case $cc_basename in
12438           xlc*)
12439           lt_prog_compiler_pic_CXX='-qnocommon'
12440           lt_prog_compiler_wl_CXX='-Wl,'
12441           ;;
12442         esac
12443         ;;
12444       dgux*)
12445         case $cc_basename in
12446           ec++*)
12447             lt_prog_compiler_pic_CXX='-KPIC'
12448             ;;
12449           ghcx*)
12450             # Green Hills C++ Compiler
12451             lt_prog_compiler_pic_CXX='-pic'
12452             ;;
12453           *)
12454             ;;
12455         esac
12456         ;;
12457       freebsd* | dragonfly*)
12458         # FreeBSD uses GNU C++
12459         ;;
12460       hpux9* | hpux10* | hpux11*)
12461         case $cc_basename in
12462           CC*)
12463             lt_prog_compiler_wl_CXX='-Wl,'
12464             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12465             if test "$host_cpu" != ia64; then
12466               lt_prog_compiler_pic_CXX='+Z'
12467             fi
12468             ;;
12469           aCC*)
12470             lt_prog_compiler_wl_CXX='-Wl,'
12471             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12472             case $host_cpu in
12473             hppa*64*|ia64*)
12474               # +Z the default
12475               ;;
12476             *)
12477               lt_prog_compiler_pic_CXX='+Z'
12478               ;;
12479             esac
12480             ;;
12481           *)
12482             ;;
12483         esac
12484         ;;
12485       interix*)
12486         # This is c89, which is MS Visual C++ (no shared libs)
12487         # Anyone wants to do a port?
12488         ;;
12489       irix5* | irix6* | nonstopux*)
12490         case $cc_basename in
12491           CC*)
12492             lt_prog_compiler_wl_CXX='-Wl,'
12493             lt_prog_compiler_static_CXX='-non_shared'
12494             # CC pic flag -KPIC is the default.
12495             ;;
12496           *)
12497             ;;
12498         esac
12499         ;;
12500       linux* | k*bsd*-gnu)
12501         case $cc_basename in
12502           KCC*)
12503             # KAI C++ Compiler
12504             lt_prog_compiler_wl_CXX='--backend -Wl,'
12505             lt_prog_compiler_pic_CXX='-fPIC'
12506             ;;
12507           icpc* | ecpc* )
12508             # Intel C++
12509             lt_prog_compiler_wl_CXX='-Wl,'
12510             lt_prog_compiler_pic_CXX='-KPIC'
12511             lt_prog_compiler_static_CXX='-static'
12512             ;;
12513           pgCC*)
12514             # Portland Group C++ compiler
12515             lt_prog_compiler_wl_CXX='-Wl,'
12516             lt_prog_compiler_pic_CXX='-fpic'
12517             lt_prog_compiler_static_CXX='-Bstatic'
12518             ;;
12519           cxx*)
12520             # Compaq C++
12521             # Make sure the PIC flag is empty.  It appears that all Alpha
12522             # Linux and Compaq Tru64 Unix objects are PIC.
12523             lt_prog_compiler_pic_CXX=
12524             lt_prog_compiler_static_CXX='-non_shared'
12525             ;;
12526           *)
12527             case `$CC -V 2>&1 | sed 5q` in
12528             *Sun\ C*)
12529               # Sun C++ 5.9
12530               lt_prog_compiler_pic_CXX='-KPIC'
12531               lt_prog_compiler_static_CXX='-Bstatic'
12532               lt_prog_compiler_wl_CXX='-Qoption ld '
12533               ;;
12534             esac
12535             ;;
12536         esac
12537         ;;
12538       lynxos*)
12539         ;;
12540       m88k*)
12541         ;;
12542       mvs*)
12543         case $cc_basename in
12544           cxx*)
12545             lt_prog_compiler_pic_CXX='-W c,exportall'
12546             ;;
12547           *)
12548             ;;
12549         esac
12550         ;;
12551       netbsd*)
12552         ;;
12553       *qnx* | *nto*)
12554         # QNX uses GNU C++, but need to define -shared option too, otherwise
12555         # it will coredump.
12556         lt_prog_compiler_pic_CXX='-fPIC -shared'
12557         ;;
12558       osf3* | osf4* | osf5*)
12559         case $cc_basename in
12560           KCC*)
12561             lt_prog_compiler_wl_CXX='--backend -Wl,'
12562             ;;
12563           RCC*)
12564             # Rational C++ 2.4.1
12565             lt_prog_compiler_pic_CXX='-pic'
12566             ;;
12567           cxx*)
12568             # Digital/Compaq C++
12569             lt_prog_compiler_wl_CXX='-Wl,'
12570             # Make sure the PIC flag is empty.  It appears that all Alpha
12571             # Linux and Compaq Tru64 Unix objects are PIC.
12572             lt_prog_compiler_pic_CXX=
12573             lt_prog_compiler_static_CXX='-non_shared'
12574             ;;
12575           *)
12576             ;;
12577         esac
12578         ;;
12579       psos*)
12580         ;;
12581       solaris*)
12582         case $cc_basename in
12583           CC*)
12584             # Sun C++ 4.2, 5.x and Centerline C++
12585             lt_prog_compiler_pic_CXX='-KPIC'
12586             lt_prog_compiler_static_CXX='-Bstatic'
12587             lt_prog_compiler_wl_CXX='-Qoption ld '
12588             ;;
12589           gcx*)
12590             # Green Hills C++ Compiler
12591             lt_prog_compiler_pic_CXX='-PIC'
12592             ;;
12593           *)
12594             ;;
12595         esac
12596         ;;
12597       sunos4*)
12598         case $cc_basename in
12599           CC*)
12600             # Sun C++ 4.x
12601             lt_prog_compiler_pic_CXX='-pic'
12602             lt_prog_compiler_static_CXX='-Bstatic'
12603             ;;
12604           lcc*)
12605             # Lucid
12606             lt_prog_compiler_pic_CXX='-pic'
12607             ;;
12608           *)
12609             ;;
12610         esac
12611         ;;
12612       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12613         case $cc_basename in
12614           CC*)
12615             lt_prog_compiler_wl_CXX='-Wl,'
12616             lt_prog_compiler_pic_CXX='-KPIC'
12617             lt_prog_compiler_static_CXX='-Bstatic'
12618             ;;
12619         esac
12620         ;;
12621       tandem*)
12622         case $cc_basename in
12623           NCC*)
12624             # NonStop-UX NCC 3.20
12625             lt_prog_compiler_pic_CXX='-KPIC'
12626             ;;
12627           *)
12628             ;;
12629         esac
12630         ;;
12631       vxworks*)
12632         ;;
12633       *)
12634         lt_prog_compiler_can_build_shared_CXX=no
12635         ;;
12636     esac
12637   fi
12638
12639 case $host_os in
12640   # For platforms which do not support PIC, -DPIC is meaningless:
12641   *djgpp*)
12642     lt_prog_compiler_pic_CXX=
12643     ;;
12644   *)
12645     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12646     ;;
12647 esac
12648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12649 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12650
12651
12652
12653 #
12654 # Check to make sure the PIC flag actually works.
12655 #
12656 if test -n "$lt_prog_compiler_pic_CXX"; then
12657   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12658 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12659 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12660   echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12662   lt_prog_compiler_pic_works_CXX=no
12663    ac_outfile=conftest.$ac_objext
12664    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12665    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12666    # Insert the option either (1) after the last *FLAGS variable, or
12667    # (2) before a word containing "conftest.", or (3) at the end.
12668    # Note that $ac_compile itself does not contain backslashes and begins
12669    # with a dollar sign (not a hyphen), so the echo should work correctly.
12670    # The option is referenced via a variable to avoid confusing sed.
12671    lt_compile=`echo "$ac_compile" | $SED \
12672    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12673    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12674    -e 's:$: $lt_compiler_flag:'`
12675    (eval echo "\"\$as_me:12675: $lt_compile\"" >&5)
12676    (eval "$lt_compile" 2>conftest.err)
12677    ac_status=$?
12678    cat conftest.err >&5
12679    echo "$as_me:12679: \$? = $ac_status" >&5
12680    if (exit $ac_status) && test -s "$ac_outfile"; then
12681      # The compiler can only warn and ignore the option if not recognized
12682      # So say no if there are warnings other than the usual output.
12683      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12684      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12686        lt_prog_compiler_pic_works_CXX=yes
12687      fi
12688    fi
12689    $RM conftest*
12690
12691 fi
12692 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12693 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12694
12695 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12696     case $lt_prog_compiler_pic_CXX in
12697      "" | " "*) ;;
12698      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12699      esac
12700 else
12701     lt_prog_compiler_pic_CXX=
12702      lt_prog_compiler_can_build_shared_CXX=no
12703 fi
12704
12705 fi
12706
12707
12708
12709 #
12710 # Check to make sure the static flag actually works.
12711 #
12712 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12713 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12714 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12715 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12716   echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718   lt_prog_compiler_static_works_CXX=no
12719    save_LDFLAGS="$LDFLAGS"
12720    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12721    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12722    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12723      # The linker can only warn and ignore the option if not recognized
12724      # So say no if there are warnings
12725      if test -s conftest.err; then
12726        # Append any errors to the config.log.
12727        cat conftest.err 1>&5
12728        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12729        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12730        if diff conftest.exp conftest.er2 >/dev/null; then
12731          lt_prog_compiler_static_works_CXX=yes
12732        fi
12733      else
12734        lt_prog_compiler_static_works_CXX=yes
12735      fi
12736    fi
12737    $RM conftest*
12738    LDFLAGS="$save_LDFLAGS"
12739
12740 fi
12741 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12742 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12743
12744 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12745     :
12746 else
12747     lt_prog_compiler_static_CXX=
12748 fi
12749
12750
12751
12752
12753     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12755 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12756   echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758   lt_cv_prog_compiler_c_o_CXX=no
12759    $RM -r conftest 2>/dev/null
12760    mkdir conftest
12761    cd conftest
12762    mkdir out
12763    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12764
12765    lt_compiler_flag="-o out/conftest2.$ac_objext"
12766    # Insert the option either (1) after the last *FLAGS variable, or
12767    # (2) before a word containing "conftest.", or (3) at the end.
12768    # Note that $ac_compile itself does not contain backslashes and begins
12769    # with a dollar sign (not a hyphen), so the echo should work correctly.
12770    lt_compile=`echo "$ac_compile" | $SED \
12771    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12772    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12773    -e 's:$: $lt_compiler_flag:'`
12774    (eval echo "\"\$as_me:12774: $lt_compile\"" >&5)
12775    (eval "$lt_compile" 2>out/conftest.err)
12776    ac_status=$?
12777    cat out/conftest.err >&5
12778    echo "$as_me:12778: \$? = $ac_status" >&5
12779    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12780    then
12781      # The compiler can only warn and ignore the option if not recognized
12782      # So say no if there are warnings
12783      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12784      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12785      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12786        lt_cv_prog_compiler_c_o_CXX=yes
12787      fi
12788    fi
12789    chmod u+w . 2>&5
12790    $RM conftest*
12791    # SGI C++ compiler will create directory out/ii_files/ for
12792    # template instantiation
12793    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12794    $RM out/* && rmdir out
12795    cd ..
12796    $RM -r conftest
12797    $RM conftest*
12798
12799 fi
12800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12802
12803
12804
12805     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12807 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12808   echo $ECHO_N "(cached) $ECHO_C" >&6
12809 else
12810   lt_cv_prog_compiler_c_o_CXX=no
12811    $RM -r conftest 2>/dev/null
12812    mkdir conftest
12813    cd conftest
12814    mkdir out
12815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12816
12817    lt_compiler_flag="-o out/conftest2.$ac_objext"
12818    # Insert the option either (1) after the last *FLAGS variable, or
12819    # (2) before a word containing "conftest.", or (3) at the end.
12820    # Note that $ac_compile itself does not contain backslashes and begins
12821    # with a dollar sign (not a hyphen), so the echo should work correctly.
12822    lt_compile=`echo "$ac_compile" | $SED \
12823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12825    -e 's:$: $lt_compiler_flag:'`
12826    (eval echo "\"\$as_me:12826: $lt_compile\"" >&5)
12827    (eval "$lt_compile" 2>out/conftest.err)
12828    ac_status=$?
12829    cat out/conftest.err >&5
12830    echo "$as_me:12830: \$? = $ac_status" >&5
12831    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12832    then
12833      # The compiler can only warn and ignore the option if not recognized
12834      # So say no if there are warnings
12835      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12836      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12837      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12838        lt_cv_prog_compiler_c_o_CXX=yes
12839      fi
12840    fi
12841    chmod u+w . 2>&5
12842    $RM conftest*
12843    # SGI C++ compiler will create directory out/ii_files/ for
12844    # template instantiation
12845    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12846    $RM out/* && rmdir out
12847    cd ..
12848    $RM -r conftest
12849    $RM conftest*
12850
12851 fi
12852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12854
12855
12856
12857
12858 hard_links="nottested"
12859 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12860   # do not overwrite the value of need_locks provided by the user
12861   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12863   hard_links=yes
12864   $RM conftest*
12865   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12866   touch conftest.a
12867   ln conftest.a conftest.b 2>&5 || hard_links=no
12868   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12869   echo "$as_me:$LINENO: result: $hard_links" >&5
12870 echo "${ECHO_T}$hard_links" >&6
12871   if test "$hard_links" = no; then
12872     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12874     need_locks=warn
12875   fi
12876 else
12877   need_locks=no
12878 fi
12879
12880
12881
12882     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12884
12885   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12886   case $host_os in
12887   aix[4-9]*)
12888     # If we're using GNU nm, then we don't want the "-C" option.
12889     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12890     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12891       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12892     else
12893       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12894     fi
12895     ;;
12896   pw32*)
12897     export_symbols_cmds_CXX="$ltdll_cmds"
12898   ;;
12899   cygwin* | mingw*)
12900     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12901   ;;
12902   *)
12903     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12904   ;;
12905   esac
12906
12907 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12908 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12909 test "$ld_shlibs_CXX" = no && can_build_shared=no
12910
12911 with_gnu_ld_CXX=$with_gnu_ld
12912
12913
12914
12915
12916
12917
12918 #
12919 # Do we need to explicitly link libc?
12920 #
12921 case "x$archive_cmds_need_lc_CXX" in
12922 x|xyes)
12923   # Assume -lc should be added
12924   archive_cmds_need_lc_CXX=yes
12925
12926   if test "$enable_shared" = yes && test "$GCC" = yes; then
12927     case $archive_cmds_CXX in
12928     *'~'*)
12929       # FIXME: we may have to deal with multi-command sequences.
12930       ;;
12931     '$CC '*)
12932       # Test whether the compiler implicitly links with -lc since on some
12933       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12934       # to ld, don't add -lc before -lgcc.
12935       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12936 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12937       $RM conftest*
12938       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12939
12940       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941   (eval $ac_compile) 2>&5
12942   ac_status=$?
12943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944   (exit $ac_status); } 2>conftest.err; then
12945         soname=conftest
12946         lib=conftest
12947         libobjs=conftest.$ac_objext
12948         deplibs=
12949         wl=$lt_prog_compiler_wl_CXX
12950         pic_flag=$lt_prog_compiler_pic_CXX
12951         compiler_flags=-v
12952         linker_flags=-v
12953         verstring=
12954         output_objdir=.
12955         libname=conftest
12956         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12957         allow_undefined_flag_CXX=
12958         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12959   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12960   ac_status=$?
12961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962   (exit $ac_status); }
12963         then
12964           archive_cmds_need_lc_CXX=no
12965         else
12966           archive_cmds_need_lc_CXX=yes
12967         fi
12968         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12969       else
12970         cat conftest.err 1>&5
12971       fi
12972       $RM conftest*
12973       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12974 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12975       ;;
12976     esac
12977   fi
12978   ;;
12979 esac
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13046 withGCC=$GXX
13047 library_names_spec=
13048 libname_spec='lib$name'
13049 soname_spec=
13050 shrext_cmds=".so"
13051 postinstall_cmds=
13052 postuninstall_cmds=
13053 finish_cmds=
13054 finish_eval=
13055 shlibpath_var=
13056 shlibpath_overrides_runpath=unknown
13057 version_type=none
13058 dynamic_linker="$host_os ld.so"
13059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13060 need_lib_prefix=unknown
13061 hardcode_into_libs=no
13062
13063 # when you set need_version to no, make sure it does not cause -set_version
13064 # flags to be left without arguments
13065 need_version=unknown
13066
13067 case $host_os in
13068 aix3*)
13069   version_type=linux
13070   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13071   shlibpath_var=LIBPATH
13072
13073   # AIX 3 has no versioning support, so we append a major version to the name.
13074   soname_spec='${libname}${release}${shared_ext}$major'
13075   ;;
13076
13077 aix[4-9]*)
13078   version_type=linux
13079   need_lib_prefix=no
13080   need_version=no
13081   hardcode_into_libs=yes
13082   if test "$host_cpu" = ia64; then
13083     # AIX 5 supports IA64
13084     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13085     shlibpath_var=LD_LIBRARY_PATH
13086   else
13087     # With GCC up to 2.95.x, collect2 would create an import file
13088     # for dependence libraries.  The import file would start with
13089     # the line `#! .'.  This would cause the generated library to
13090     # depend on `.', always an invalid library.  This was fixed in
13091     # development snapshots of GCC prior to 3.0.
13092     case $host_os in
13093       aix4 | aix4.[01] | aix4.[01].*)
13094       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13095            echo ' yes '
13096            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13097         :
13098       else
13099         can_build_shared=no
13100       fi
13101       ;;
13102     esac
13103     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13104     # soname into executable. Probably we can add versioning support to
13105     # collect2, so additional links can be useful in future.
13106     if test "$aix_use_runtimelinking" = yes; then
13107       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13108       # instead of lib<name>.a to let people know that these are not
13109       # typical AIX shared libraries.
13110       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111     else
13112       # We preserve .a as extension for shared libraries through AIX4.2
13113       # and later when we are not doing run time linking.
13114       library_names_spec='${libname}${release}.a $libname.a'
13115       soname_spec='${libname}${release}${shared_ext}$major'
13116     fi
13117     shlibpath_var=LIBPATH
13118   fi
13119   ;;
13120
13121 amigaos*)
13122   if test "$host_cpu" = m68k; then
13123     library_names_spec='$libname.ixlibrary $libname.a'
13124     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13125     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13126   else
13127     dynamic_linker=no
13128   fi
13129   ;;
13130
13131 beos*)
13132   library_names_spec='${libname}${shared_ext}'
13133   dynamic_linker="$host_os ld.so"
13134   shlibpath_var=LIBRARY_PATH
13135   ;;
13136
13137 bsdi[45]*)
13138   version_type=linux
13139   need_version=no
13140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13141   soname_spec='${libname}${release}${shared_ext}$major'
13142   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13143   shlibpath_var=LD_LIBRARY_PATH
13144   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13145   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13146   # the default ld.so.conf also contains /usr/contrib/lib and
13147   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13148   # libtool to hard-code these into programs
13149   ;;
13150
13151 cygwin* | mingw* | pw32*)
13152   version_type=windows
13153   shrext_cmds=".dll"
13154   need_version=no
13155   need_lib_prefix=no
13156
13157   case $withGCC,$host_os in
13158   yes,cygwin* | yes,mingw* | yes,pw32*)
13159     library_names_spec='$libname.dll.a'
13160     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13161     postinstall_cmds='base_file=`basename \${file}`~
13162       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13163       dldir=$destdir/`dirname \$dlpath`~
13164       test -d \$dldir || mkdir -p \$dldir~
13165       $install_prog $dir/$dlname \$dldir/$dlname~
13166       chmod a+x \$dldir/$dlname~
13167       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13168         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13169       fi'
13170     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13171       dlpath=$dir/\$dldll~
13172        $RM \$dlpath'
13173     shlibpath_overrides_runpath=yes
13174
13175     case $host_os in
13176     cygwin*)
13177       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13178       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13179       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13180       ;;
13181     mingw*)
13182       # MinGW DLLs use traditional 'lib' prefix
13183       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13184       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13185       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13186         # It is most probably a Windows format PATH printed by
13187         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13188         # path with ; separators, and with drive letters. We can handle the
13189         # drive letters (cygwin fileutils understands them), so leave them,
13190         # especially as we might pass files found there to a mingw objdump,
13191         # which wouldn't understand a cygwinified path. Ahh.
13192         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13193       else
13194         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13195       fi
13196       ;;
13197     pw32*)
13198       # pw32 DLLs use 'pw' prefix rather than 'lib'
13199       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13200       ;;
13201     esac
13202     ;;
13203
13204   *)
13205     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13206     ;;
13207   esac
13208   dynamic_linker='Win32 ld.exe'
13209   # FIXME: first we should search . and the directory the executable is in
13210   shlibpath_var=PATH
13211   ;;
13212
13213 darwin* | rhapsody*)
13214   dynamic_linker="$host_os dyld"
13215   version_type=darwin
13216   need_lib_prefix=no
13217   need_version=no
13218   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13219   soname_spec='${libname}${release}${major}$shared_ext'
13220   shlibpath_overrides_runpath=yes
13221   shlibpath_var=DYLD_LIBRARY_PATH
13222   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13223
13224   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13225   ;;
13226
13227 dgux*)
13228   version_type=linux
13229   need_lib_prefix=no
13230   need_version=no
13231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13232   soname_spec='${libname}${release}${shared_ext}$major'
13233   shlibpath_var=LD_LIBRARY_PATH
13234   ;;
13235
13236 freebsd1*)
13237   dynamic_linker=no
13238   ;;
13239
13240 freebsd* | dragonfly*)
13241   # DragonFly does not have aout.  When/if they implement a new
13242   # versioning mechanism, adjust this.
13243   if test -x /usr/bin/objformat; then
13244     objformat=`/usr/bin/objformat`
13245   else
13246     case $host_os in
13247     freebsd[123]*) objformat=aout ;;
13248     *) objformat=elf ;;
13249     esac
13250   fi
13251   version_type=freebsd-$objformat
13252   case $version_type in
13253     freebsd-elf*)
13254       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13255       need_version=no
13256       need_lib_prefix=no
13257       ;;
13258     freebsd-*)
13259       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13260       need_version=yes
13261       ;;
13262   esac
13263   shlibpath_var=LD_LIBRARY_PATH
13264   case $host_os in
13265   freebsd2*)
13266     shlibpath_overrides_runpath=yes
13267     ;;
13268   freebsd3.[01]* | freebsdelf3.[01]*)
13269     shlibpath_overrides_runpath=yes
13270     hardcode_into_libs=yes
13271     ;;
13272   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13273   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13274     shlibpath_overrides_runpath=no
13275     hardcode_into_libs=yes
13276     ;;
13277   *) # from 4.6 on, and DragonFly
13278     shlibpath_overrides_runpath=yes
13279     hardcode_into_libs=yes
13280     ;;
13281   esac
13282   ;;
13283
13284 gnu*)
13285   version_type=linux
13286   need_lib_prefix=no
13287   need_version=no
13288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13289   soname_spec='${libname}${release}${shared_ext}$major'
13290   shlibpath_var=LD_LIBRARY_PATH
13291   hardcode_into_libs=yes
13292   ;;
13293
13294 hpux9* | hpux10* | hpux11*)
13295   # Give a soname corresponding to the major version so that dld.sl refuses to
13296   # link against other versions.
13297   version_type=sunos
13298   need_lib_prefix=no
13299   need_version=no
13300   case $host_cpu in
13301   ia64*)
13302     shrext_cmds='.so'
13303     hardcode_into_libs=yes
13304     dynamic_linker="$host_os dld.so"
13305     shlibpath_var=LD_LIBRARY_PATH
13306     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13308     soname_spec='${libname}${release}${shared_ext}$major'
13309     if test "X$HPUX_IA64_MODE" = X32; then
13310       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13311     else
13312       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13313     fi
13314     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13315     ;;
13316   hppa*64*)
13317     shrext_cmds='.sl'
13318     hardcode_into_libs=yes
13319     dynamic_linker="$host_os dld.sl"
13320     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13321     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13322     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13323     soname_spec='${libname}${release}${shared_ext}$major'
13324     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13325     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13326     ;;
13327   *)
13328     shrext_cmds='.sl'
13329     dynamic_linker="$host_os dld.sl"
13330     shlibpath_var=SHLIB_PATH
13331     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333     soname_spec='${libname}${release}${shared_ext}$major'
13334     ;;
13335   esac
13336   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13337   postinstall_cmds='chmod 555 $lib'
13338   ;;
13339
13340 interix[3-9]*)
13341   version_type=linux
13342   need_lib_prefix=no
13343   need_version=no
13344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13345   soname_spec='${libname}${release}${shared_ext}$major'
13346   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13347   shlibpath_var=LD_LIBRARY_PATH
13348   shlibpath_overrides_runpath=no
13349   hardcode_into_libs=yes
13350   ;;
13351
13352 irix5* | irix6* | nonstopux*)
13353   case $host_os in
13354     nonstopux*) version_type=nonstopux ;;
13355     *)
13356         if test "$lt_cv_prog_gnu_ld" = yes; then
13357                 version_type=linux
13358         else
13359                 version_type=irix
13360         fi ;;
13361   esac
13362   need_lib_prefix=no
13363   need_version=no
13364   soname_spec='${libname}${release}${shared_ext}$major'
13365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13366   case $host_os in
13367   irix5* | nonstopux*)
13368     libsuff= shlibsuff=
13369     ;;
13370   *)
13371     case $LD in # libtool.m4 will add one of these switches to LD
13372     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13373       libsuff= shlibsuff= libmagic=32-bit;;
13374     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13375       libsuff=32 shlibsuff=N32 libmagic=N32;;
13376     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13377       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13378     *) libsuff= shlibsuff= libmagic=never-match;;
13379     esac
13380     ;;
13381   esac
13382   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13383   shlibpath_overrides_runpath=no
13384   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13385   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13386   hardcode_into_libs=yes
13387   ;;
13388
13389 # No shared lib support for Linux oldld, aout, or coff.
13390 linux*oldld* | linux*aout* | linux*coff*)
13391   dynamic_linker=no
13392   ;;
13393
13394 # This must be Linux ELF.
13395 linux* | k*bsd*-gnu)
13396   version_type=linux
13397   need_lib_prefix=no
13398   need_version=no
13399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13400   soname_spec='${libname}${release}${shared_ext}$major'
13401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13402   shlibpath_var=LD_LIBRARY_PATH
13403   shlibpath_overrides_runpath=no
13404   # Some binutils ld are patched to set DT_RUNPATH
13405   save_LDFLAGS=$LDFLAGS
13406   save_libdir=$libdir
13407   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13408        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13409   if test x$gcc_no_link = xyes; then
13410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412    { (exit 1); exit 1; }; }
13413 fi
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h.  */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h.  */
13420
13421 int
13422 main ()
13423 {
13424
13425   ;
13426   return 0;
13427 }
13428 _ACEOF
13429 rm -f conftest.$ac_objext conftest$ac_exeext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13431   (eval $ac_link) 2>conftest.er1
13432   ac_status=$?
13433   grep -v '^ *+' conftest.er1 >conftest.err
13434   rm -f conftest.er1
13435   cat conftest.err >&5
13436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437   (exit $ac_status); } &&
13438          { ac_try='test -z "$ac_cxx_werror_flag"
13439                          || test ! -s conftest.err'
13440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441   (eval $ac_try) 2>&5
13442   ac_status=$?
13443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444   (exit $ac_status); }; } &&
13445          { ac_try='test -s conftest$ac_exeext'
13446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447   (eval $ac_try) 2>&5
13448   ac_status=$?
13449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450   (exit $ac_status); }; }; then
13451   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13452   shlibpath_overrides_runpath=yes
13453 fi
13454
13455 else
13456   echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 fi
13460 rm -f conftest.err conftest.$ac_objext \
13461       conftest$ac_exeext conftest.$ac_ext
13462   LDFLAGS=$save_LDFLAGS
13463   libdir=$save_libdir
13464
13465   # This implies no fast_install, which is unacceptable.
13466   # Some rework will be needed to allow for fast_install
13467   # before this can be enabled.
13468   hardcode_into_libs=yes
13469
13470   # Append ld.so.conf contents to the search path
13471   if test -f /etc/ld.so.conf; then
13472     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13473     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13474   fi
13475
13476   # We used to test for /lib/ld.so.1 and disable shared libraries on
13477   # powerpc, because MkLinux only supported shared libraries with the
13478   # GNU dynamic linker.  Since this was broken with cross compilers,
13479   # most powerpc-linux boxes support dynamic linking these days and
13480   # people can always --disable-shared, the test was removed, and we
13481   # assume the GNU/Linux dynamic linker is in use.
13482   dynamic_linker='GNU/Linux ld.so'
13483   ;;
13484
13485 netbsd*)
13486   version_type=sunos
13487   need_lib_prefix=no
13488   need_version=no
13489   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492     dynamic_linker='NetBSD (a.out) ld.so'
13493   else
13494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13495     soname_spec='${libname}${release}${shared_ext}$major'
13496     dynamic_linker='NetBSD ld.elf_so'
13497   fi
13498   shlibpath_var=LD_LIBRARY_PATH
13499   shlibpath_overrides_runpath=yes
13500   hardcode_into_libs=yes
13501   ;;
13502
13503 newsos6)
13504   version_type=linux
13505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13506   shlibpath_var=LD_LIBRARY_PATH
13507   shlibpath_overrides_runpath=yes
13508   ;;
13509
13510 *nto* | *qnx*)
13511   version_type=qnx
13512   need_lib_prefix=no
13513   need_version=no
13514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515   soname_spec='${libname}${release}${shared_ext}$major'
13516   shlibpath_var=LD_LIBRARY_PATH
13517   shlibpath_overrides_runpath=no
13518   hardcode_into_libs=yes
13519   dynamic_linker='ldqnx.so'
13520   ;;
13521
13522 openbsd*)
13523   version_type=sunos
13524   sys_lib_dlsearch_path_spec="/usr/lib"
13525   need_lib_prefix=no
13526   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13527   case $host_os in
13528     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13529     *)                          need_version=no  ;;
13530   esac
13531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13532   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13533   shlibpath_var=LD_LIBRARY_PATH
13534   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13535     case $host_os in
13536       openbsd2.[89] | openbsd2.[89].*)
13537         shlibpath_overrides_runpath=no
13538         ;;
13539       *)
13540         shlibpath_overrides_runpath=yes
13541         ;;
13542       esac
13543   else
13544     shlibpath_overrides_runpath=yes
13545   fi
13546   ;;
13547
13548 os2*)
13549   libname_spec='$name'
13550   shrext_cmds=".dll"
13551   need_lib_prefix=no
13552   library_names_spec='$libname${shared_ext} $libname.a'
13553   dynamic_linker='OS/2 ld.exe'
13554   shlibpath_var=LIBPATH
13555   ;;
13556
13557 osf3* | osf4* | osf5*)
13558   version_type=osf
13559   need_lib_prefix=no
13560   need_version=no
13561   soname_spec='${libname}${release}${shared_ext}$major'
13562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563   shlibpath_var=LD_LIBRARY_PATH
13564   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13565   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13566   ;;
13567
13568 rdos*)
13569   dynamic_linker=no
13570   ;;
13571
13572 solaris*)
13573   version_type=linux
13574   need_lib_prefix=no
13575   need_version=no
13576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577   soname_spec='${libname}${release}${shared_ext}$major'
13578   shlibpath_var=LD_LIBRARY_PATH
13579   shlibpath_overrides_runpath=yes
13580   hardcode_into_libs=yes
13581   # ldd complains unless libraries are executable
13582   postinstall_cmds='chmod +x $lib'
13583   ;;
13584
13585 sunos4*)
13586   version_type=sunos
13587   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13588   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13589   shlibpath_var=LD_LIBRARY_PATH
13590   shlibpath_overrides_runpath=yes
13591   if test "$with_gnu_ld" = yes; then
13592     need_lib_prefix=no
13593   fi
13594   need_version=yes
13595   ;;
13596
13597 sysv4 | sysv4.3*)
13598   version_type=linux
13599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13600   soname_spec='${libname}${release}${shared_ext}$major'
13601   shlibpath_var=LD_LIBRARY_PATH
13602   case $host_vendor in
13603     sni)
13604       shlibpath_overrides_runpath=no
13605       need_lib_prefix=no
13606       runpath_var=LD_RUN_PATH
13607       ;;
13608     siemens)
13609       need_lib_prefix=no
13610       ;;
13611     motorola)
13612       need_lib_prefix=no
13613       need_version=no
13614       shlibpath_overrides_runpath=no
13615       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13616       ;;
13617   esac
13618   ;;
13619
13620 sysv4*MP*)
13621   if test -d /usr/nec ;then
13622     version_type=linux
13623     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13624     soname_spec='$libname${shared_ext}.$major'
13625     shlibpath_var=LD_LIBRARY_PATH
13626   fi
13627   ;;
13628
13629 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13630   version_type=freebsd-elf
13631   need_lib_prefix=no
13632   need_version=no
13633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13634   soname_spec='${libname}${release}${shared_ext}$major'
13635   shlibpath_var=LD_LIBRARY_PATH
13636   shlibpath_overrides_runpath=yes
13637   hardcode_into_libs=yes
13638   if test "$with_gnu_ld" = yes; then
13639     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13640   else
13641     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13642     case $host_os in
13643       sco3.2v5*)
13644         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13645         ;;
13646     esac
13647   fi
13648   sys_lib_dlsearch_path_spec='/usr/lib'
13649   ;;
13650
13651 tpf*)
13652   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13653   version_type=linux
13654   need_lib_prefix=no
13655   need_version=no
13656   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13657   shlibpath_var=LD_LIBRARY_PATH
13658   shlibpath_overrides_runpath=no
13659   hardcode_into_libs=yes
13660   ;;
13661
13662 uts4*)
13663   version_type=linux
13664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13665   soname_spec='${libname}${release}${shared_ext}$major'
13666   shlibpath_var=LD_LIBRARY_PATH
13667   ;;
13668
13669 *)
13670   dynamic_linker=no
13671   ;;
13672 esac
13673 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13674 echo "${ECHO_T}$dynamic_linker" >&6
13675 test "$dynamic_linker" = no && can_build_shared=no
13676
13677 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13678 if test "$GCC" = yes; then
13679   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13680 fi
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13718 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13719 hardcode_action_CXX=
13720 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13721    test -n "$runpath_var_CXX" ||
13722    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13723
13724   # We can hardcode non-existent directories.
13725   if test "$hardcode_direct_CXX" != no &&
13726      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13727      # have to relink, otherwise we might link with an installed library
13728      # when we should be linking with a yet-to-be-installed one
13729      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13730      test "$hardcode_minus_L_CXX" != no; then
13731     # Linking always hardcodes the temporary library directory.
13732     hardcode_action_CXX=relink
13733   else
13734     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13735     hardcode_action_CXX=immediate
13736   fi
13737 else
13738   # We cannot hardcode anything, or else we can only hardcode existing
13739   # directories.
13740   hardcode_action_CXX=unsupported
13741 fi
13742 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13743 echo "${ECHO_T}$hardcode_action_CXX" >&6
13744
13745 if test "$hardcode_action_CXX" = relink ||
13746    test "$inherit_rpath_CXX" = yes; then
13747   # Fast installation is not supported
13748   enable_fast_install=no
13749 elif test "$shlibpath_overrides_runpath" = yes ||
13750      test "$enable_shared" = no; then
13751   # Fast installation is not necessary
13752   enable_fast_install=needless
13753 fi
13754
13755
13756
13757
13758
13759
13760
13761   fi # test -n "$compiler"
13762
13763   CC=$lt_save_CC
13764   LDCXX=$LD
13765   LD=$lt_save_LD
13766   GCC=$lt_save_GCC
13767   with_gnu_ld=$lt_save_with_gnu_ld
13768   lt_cv_path_LDCXX=$lt_cv_path_LD
13769   lt_cv_path_LD=$lt_save_path_LD
13770   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13771   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13772 fi # test "$_lt_caught_CXX_error" != yes
13773
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792                   ac_config_commands="$ac_config_commands libtool"
13793
13794
13795
13796
13797 # Only expand once:
13798
13799
13800
13801
13802
13803 # Possibly disable most of the library.
13804 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13805 ## than just ignoring the results.  Faster /and/ more correct, win win.
13806
13807   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13808 if test "${enable_hosted_libstdcxx+set}" = set; then
13809   enableval="$enable_hosted_libstdcxx"
13810
13811 else
13812   case "$host" in
13813         arm*-*-symbianelf*)
13814             enable_hosted_libstdcxx=no
13815             ;;
13816         *)
13817             enable_hosted_libstdcxx=yes
13818             ;;
13819      esac
13820 fi;
13821   if test "$enable_hosted_libstdcxx" = no; then
13822     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13823 echo "$as_me: Only freestanding libraries will be built" >&6;}
13824     is_hosted=no
13825     hosted_define=0
13826     enable_abi_check=no
13827     enable_libstdcxx_pch=no
13828   else
13829     is_hosted=yes
13830     hosted_define=1
13831   fi
13832
13833
13834 cat >>confdefs.h <<_ACEOF
13835 #define _GLIBCXX_HOSTED $hosted_define
13836 _ACEOF
13837
13838
13839
13840 # Enable compiler support that doesn't require linking.
13841
13842   echo "$as_me:$LINENO: checking for exception model to use" >&5
13843 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13844
13845
13846   ac_ext=cc
13847 ac_cpp='$CXXCPP $CPPFLAGS'
13848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13851
13852    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13853 if test "${enable_sjlj_exceptions+set}" = set; then
13854   enableval="$enable_sjlj_exceptions"
13855
13856       case "$enableval" in
13857        yes|no|auto) ;;
13858        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13859 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13860    { (exit 1); exit 1; }; } ;;
13861                           esac
13862
13863 else
13864   enable_sjlj_exceptions=auto
13865 fi;
13866
13867
13868   if test $enable_sjlj_exceptions = auto; then
13869     # Botheration.  Now we've got to detect the exception model.  Link tests
13870     # against libgcc.a are problematic since we've not been given proper -L
13871     # bits for single-tree newlib and libgloss.
13872     #
13873     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13874     cat > conftest.$ac_ext << EOF
13875 #line 13875 "configure"
13876 struct S { ~S(); };
13877 void bar();
13878 void foo()
13879 {
13880   S s;
13881   bar();
13882 }
13883 EOF
13884     old_CXXFLAGS="$CXXFLAGS"
13885     CXXFLAGS=-S
13886     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887   (eval $ac_compile) 2>&5
13888   ac_status=$?
13889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890   (exit $ac_status); }; then
13891       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13892         enable_sjlj_exceptions=yes
13893       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13894         enable_sjlj_exceptions=no
13895       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13896         enable_sjlj_exceptions=no
13897       fi
13898     fi
13899     CXXFLAGS="$old_CXXFLAGS"
13900     rm -f conftest*
13901   fi
13902
13903   # This is a tad weird, for hysterical raisins.  We have to map
13904   # enable/disable to two different models.
13905   case $enable_sjlj_exceptions in
13906     yes)
13907
13908 cat >>confdefs.h <<\_ACEOF
13909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13910 _ACEOF
13911
13912       ac_exception_model_name=sjlj
13913       ;;
13914     no)
13915       ac_exception_model_name="call frame"
13916       ;;
13917     *)
13918       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13919 echo "$as_me: error: unable to detect exception model" >&2;}
13920    { (exit 1); exit 1; }; }
13921       ;;
13922   esac
13923  ac_ext=c
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13928
13929  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13930 echo "${ECHO_T}$ac_exception_model_name" >&6
13931
13932
13933    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13934 if test "${enable_libstdcxx_pch+set}" = set; then
13935   enableval="$enable_libstdcxx_pch"
13936
13937       case "$enableval" in
13938        yes|no) ;;
13939        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13940 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13941    { (exit 1); exit 1; }; } ;;
13942       esac
13943
13944 else
13945   enable_libstdcxx_pch=$is_hosted
13946 fi;
13947
13948   if test $enable_libstdcxx_pch = yes; then
13949     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13950 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13951 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13952   echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954   ac_save_CXXFLAGS="$CXXFLAGS"
13955        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13956
13957
13958        ac_ext=cc
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13963
13964        echo '#include <math.h>' > conftest.h
13965        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13966                           -o conftest.h.gch 1>&5 2>&1 &&
13967                 echo '#error "pch failed"' > conftest.h &&
13968           echo '#include "conftest.h"' > conftest.cc &&
13969                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13970        then
13971          glibcxx_cv_prog_CXX_pch=yes
13972        else
13973          glibcxx_cv_prog_CXX_pch=no
13974        fi
13975        rm -f conftest*
13976        CXXFLAGS=$ac_save_CXXFLAGS
13977        ac_ext=c
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13982
13983
13984 fi
13985 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13986 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13987     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13988   fi
13989
13990   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13991 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13992   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13993 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13994
13995
13996   if test $enable_libstdcxx_pch = yes; then
13997     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13998   else
13999     glibcxx_PCHFLAGS=""
14000   fi
14001
14002
14003
14004
14005
14006   ac_ext=cc
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14011
14012   old_CXXFLAGS="$CXXFLAGS"
14013
14014   # Compile unoptimized.
14015   CXXFLAGS='-O0 -S'
14016
14017   # Fake what AC_TRY_COMPILE does, without linking as this is
14018   # unnecessary for a builtins test.
14019
14020     cat > conftest.$ac_ext << EOF
14021 #line 14021 "configure"
14022 int main()
14023 {
14024   // NB: _Atomic_word not necessarily int.
14025   typedef int atomic_type;
14026   atomic_type c1;
14027   atomic_type c2;
14028   const atomic_type c3(0);
14029   __sync_fetch_and_add(&c1, c2);
14030   __sync_val_compare_and_swap(&c1, c3, c2);
14031   __sync_lock_test_and_set(&c1, c3);
14032   __sync_lock_release(&c1);
14033   __sync_synchronize();
14034   return 0;
14035 }
14036 EOF
14037
14038     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14039 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14040     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041   (eval $ac_compile) 2>&5
14042   ac_status=$?
14043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044   (exit $ac_status); }; then
14045       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14046         enable_atomic_builtinsi=no
14047       else
14048
14049 cat >>confdefs.h <<\_ACEOF
14050 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14051 _ACEOF
14052
14053         enable_atomic_builtinsi=yes
14054       fi
14055     fi
14056     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14057 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14058     rm -f conftest*
14059
14060     cat > conftest.$ac_ext << EOF
14061 #line 14061 "configure"
14062 int main()
14063 {
14064   typedef bool atomic_type;
14065   atomic_type c1;
14066   atomic_type c2;
14067   const atomic_type c3(0);
14068   __sync_fetch_and_add(&c1, c2);
14069   __sync_val_compare_and_swap(&c1, c3, c2);
14070   __sync_lock_test_and_set(&c1, c3);
14071   __sync_lock_release(&c1);
14072   __sync_synchronize();
14073   return 0;
14074 }
14075 EOF
14076
14077     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14078 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14079     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080   (eval $ac_compile) 2>&5
14081   ac_status=$?
14082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083   (exit $ac_status); }; then
14084       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14085         enable_atomic_builtinsb=no
14086       else
14087
14088 cat >>confdefs.h <<\_ACEOF
14089 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14090 _ACEOF
14091
14092         enable_atomic_builtinsb=yes
14093       fi
14094     fi
14095     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14096 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14097     rm -f conftest*
14098
14099   CXXFLAGS="$old_CXXFLAGS"
14100   ac_ext=c
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14105
14106
14107   # Set atomicity_dir to builtins if either of above tests pass.
14108   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14109     atomicity_dir=cpu/generic/atomicity_builtins
14110   fi
14111
14112   # If still generic, set to mutex.
14113   if test $atomicity_dir = "cpu/generic" ; then
14114     atomicity_dir=cpu/generic/atomicity_mutex
14115     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14116 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14117       if test $target_thread_file = single; then
14118         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14119 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14120         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14121 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14122       else
14123         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14124 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14125         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14126 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14127       fi
14128   fi
14129
14130
14131
14132   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14133 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14134   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14135   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14136 echo "${ECHO_T}$target_thread_file" >&6
14137
14138   if test $target_thread_file != single; then
14139
14140 cat >>confdefs.h <<\_ACEOF
14141 #define HAVE_GTHR_DEFAULT 1
14142 _ACEOF
14143
14144   fi
14145
14146   glibcxx_thread_h=gthr-$target_thread_file.h
14147
14148     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14149   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14150     enable_thread=yes
14151   else
14152    enable_thread=no
14153   fi
14154
14155
14156
14157
14158 # Checks for compiler support that don't require linking.
14159
14160   # All these tests are for C++; save the language and the compiler flags.
14161   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14162   # found in GLIBCXX_CONFIGURE.
14163
14164
14165   ac_ext=cc
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14170
14171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14172   ac_save_CXXFLAGS="$CXXFLAGS"
14173
14174   # Check for maintainer-mode bits.
14175   if test x"$USE_MAINTAINER_MODE" = xno; then
14176     WERROR=''
14177   else
14178     WERROR='-Werror'
14179   fi
14180
14181   # Check for -ffunction-sections -fdata-sections
14182   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14183 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14184   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14185   cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h.  */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h.  */
14191 int foo; void bar() { };
14192 int
14193 main ()
14194 {
14195
14196   ;
14197   return 0;
14198 }
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202   (eval $ac_compile) 2>conftest.er1
14203   ac_status=$?
14204   grep -v '^ *+' conftest.er1 >conftest.err
14205   rm -f conftest.er1
14206   cat conftest.err >&5
14207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208   (exit $ac_status); } &&
14209          { ac_try='test -z "$ac_cxx_werror_flag"
14210                          || test ! -s conftest.err'
14211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212   (eval $ac_try) 2>&5
14213   ac_status=$?
14214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215   (exit $ac_status); }; } &&
14216          { ac_try='test -s conftest.$ac_objext'
14217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218   (eval $ac_try) 2>&5
14219   ac_status=$?
14220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221   (exit $ac_status); }; }; then
14222   ac_fdsections=yes
14223 else
14224   echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14226
14227 ac_fdsections=no
14228 fi
14229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14230   if test "$ac_test_CXXFLAGS" = set; then
14231     CXXFLAGS="$ac_save_CXXFLAGS"
14232   else
14233     # this is the suspicious part
14234     CXXFLAGS=''
14235   fi
14236   if test x"$ac_fdsections" = x"yes"; then
14237     SECTION_FLAGS='-ffunction-sections -fdata-sections'
14238   fi
14239   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14240 echo "${ECHO_T}$ac_fdsections" >&6
14241
14242   ac_ext=c
14243 ac_cpp='$CPP $CPPFLAGS'
14244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14247
14248
14249
14250
14251
14252
14253   echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14254 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14255   if test "${ac_standard_layout+set}" = set; then
14256   echo $ECHO_N "(cached) $ECHO_C" >&6
14257 else
14258
14259
14260
14261   ac_ext=cc
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14266
14267   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14268   ac_save_CXXFLAGS="$CXXFLAGS"
14269   CXXFLAGS='-std=gnu++0x'
14270
14271   cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h.  */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h.  */
14277 struct b
14278                   {
14279                     bool t;
14280
14281                     // Need standard layout relaxation from POD
14282                     private:
14283                     b& operator=(const b&);
14284                     b(const b&);
14285                     };
14286
14287                     int main()
14288                     {
14289                       b tst1 = { false };
14290                        return 0;
14291                     }
14292 int
14293 main ()
14294 {
14295
14296   ;
14297   return 0;
14298 }
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302   (eval $ac_compile) 2>conftest.er1
14303   ac_status=$?
14304   grep -v '^ *+' conftest.er1 >conftest.err
14305   rm -f conftest.er1
14306   cat conftest.err >&5
14307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308   (exit $ac_status); } &&
14309          { ac_try='test -z "$ac_cxx_werror_flag"
14310                          || test ! -s conftest.err'
14311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312   (eval $ac_try) 2>&5
14313   ac_status=$?
14314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315   (exit $ac_status); }; } &&
14316          { ac_try='test -s conftest.$ac_objext'
14317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318   (eval $ac_try) 2>&5
14319   ac_status=$?
14320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321   (exit $ac_status); }; }; then
14322   ac_standard_layout=yes
14323 else
14324   echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14326
14327 ac_standard_layout=no
14328 fi
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14330
14331   CXXFLAGS="$ac_save_CXXFLAGS"
14332   ac_ext=c
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14337
14338
14339 fi
14340
14341   echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14342 echo "${ECHO_T}$ac_standard_layout" >&6
14343   if test x"$ac_standard_layout" = x"yes"; then
14344
14345 cat >>confdefs.h <<\_ACEOF
14346 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14347 _ACEOF
14348
14349   fi
14350
14351
14352 # Enable all the variable C++ runtime options that doesn't require linking.
14353
14354   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14355 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14356    # Check whether --enable-cstdio or --disable-cstdio was given.
14357 if test "${enable_cstdio+set}" = set; then
14358   enableval="$enable_cstdio"
14359
14360       case "$enableval" in
14361        stdio) ;;
14362        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14363 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14364    { (exit 1); exit 1; }; } ;;
14365                           esac
14366
14367 else
14368   enable_cstdio=stdio
14369 fi;
14370
14371
14372   # Now that libio has been removed, you can have any color you want as long
14373   # as it's black.  This is one big no-op until other packages are added, but
14374   # showing the framework never hurts.
14375   case ${enable_cstdio} in
14376     stdio)
14377       CSTDIO_H=config/io/c_io_stdio.h
14378       BASIC_FILE_H=config/io/basic_file_stdio.h
14379       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14380       echo "$as_me:$LINENO: result: stdio" >&5
14381 echo "${ECHO_T}stdio" >&6
14382       ;;
14383   esac
14384
14385
14386
14387
14388
14389
14390    # Check whether --enable-clocale or --disable-clocale was given.
14391 if test "${enable_clocale+set}" = set; then
14392   enableval="$enable_clocale"
14393
14394       case "$enableval" in
14395        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14396        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14397 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14398    { (exit 1); exit 1; }; } ;;
14399                           esac
14400
14401 else
14402   enable_clocale=auto
14403 fi;
14404
14405
14406   # Deal with gettext issues.  Default to not using it (=no) until we detect
14407   # support for it later.  Let the user turn it off via --e/d, but let that
14408   # default to on for easier handling.
14409   USE_NLS=no
14410   # Check whether --enable-nls or --disable-nls was given.
14411 if test "${enable_nls+set}" = set; then
14412   enableval="$enable_nls"
14413
14414 else
14415   enable_nls=yes
14416 fi;
14417
14418   # Either a known packaage, or "auto"
14419   if test $enable_clocale = no || test $enable_clocale = yes; then
14420      enable_clocale=auto
14421   fi
14422   enable_clocale_flag=$enable_clocale
14423
14424   # Probe for locale model to use if none specified.
14425   # Default to "generic".
14426   if test $enable_clocale_flag = auto; then
14427     case ${target_os} in
14428       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14429         enable_clocale_flag=gnu
14430         ;;
14431       darwin* | freebsd*)
14432         enable_clocale_flag=darwin
14433         ;;
14434       *)
14435         enable_clocale_flag=generic
14436         ;;
14437     esac
14438   fi
14439
14440   # Sanity check model, and test for special functionality.
14441   if test $enable_clocale_flag = gnu; then
14442     cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h.  */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h.  */
14448
14449     #include <features.h>
14450     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14451       _GLIBCXX_ok
14452     #endif
14453
14454 _ACEOF
14455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14456   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14457   enable_clocale_flag=gnu
14458 else
14459   enable_clocale_flag=generic
14460 fi
14461 rm -f conftest*
14462
14463
14464     if test $enable_clocale = auto; then
14465       # Test for bugs early in glibc-2.2.x series
14466       if test "$cross_compiling" = yes; then
14467   enable_clocale_flag=generic
14468 else
14469   cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h.  */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h.  */
14475
14476       #define _GNU_SOURCE 1
14477       #include <locale.h>
14478       #include <string.h>
14479       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14480       extern __typeof(newlocale) __newlocale;
14481       extern __typeof(duplocale) __duplocale;
14482       extern __typeof(strcoll_l) __strcoll_l;
14483       #endif
14484       int main()
14485       {
14486         const char __one[] = "Äuglein Augmen";
14487         const char __two[] = "Äuglein";
14488         int i;
14489         int j;
14490         __locale_t        loc;
14491         __locale_t        loc_dup;
14492         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14493         loc_dup = __duplocale(loc);
14494         i = __strcoll_l(__one, __two, loc);
14495         j = __strcoll_l(__one, __two, loc_dup);
14496         return 0;
14497       }
14498
14499 _ACEOF
14500 rm -f conftest$ac_exeext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502   (eval $ac_link) 2>&5
14503   ac_status=$?
14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507   (eval $ac_try) 2>&5
14508   ac_status=$?
14509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510   (exit $ac_status); }; }; then
14511   enable_clocale_flag=gnu
14512 else
14513   echo "$as_me: program exited with status $ac_status" >&5
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ( exit $ac_status )
14518 enable_clocale_flag=generic
14519 fi
14520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14521 fi
14522     fi
14523
14524     # Set it to scream when it hurts.
14525     ac_save_CFLAGS="$CFLAGS"
14526     CFLAGS="-Wimplicit-function-declaration -Werror"
14527
14528     # Use strxfrm_l if available.
14529     cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h.  */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h.  */
14535 #define _GNU_SOURCE 1
14536                     #include <string.h>
14537                     #include <locale.h>
14538 int
14539 main ()
14540 {
14541 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14542   ;
14543   return 0;
14544 }
14545 _ACEOF
14546 rm -f conftest.$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548   (eval $ac_compile) 2>conftest.er1
14549   ac_status=$?
14550   grep -v '^ *+' conftest.er1 >conftest.err
14551   rm -f conftest.er1
14552   cat conftest.err >&5
14553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554   (exit $ac_status); } &&
14555          { ac_try='test -z "$ac_c_werror_flag"
14556                          || test ! -s conftest.err'
14557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558   (eval $ac_try) 2>&5
14559   ac_status=$?
14560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561   (exit $ac_status); }; } &&
14562          { ac_try='test -s conftest.$ac_objext'
14563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564   (eval $ac_try) 2>&5
14565   ac_status=$?
14566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567   (exit $ac_status); }; }; then
14568
14569 cat >>confdefs.h <<\_ACEOF
14570 #define HAVE_STRXFRM_L 1
14571 _ACEOF
14572
14573 else
14574   echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14576
14577 fi
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579
14580     # Use strerror_l if available.
14581     cat >conftest.$ac_ext <<_ACEOF
14582 /* confdefs.h.  */
14583 _ACEOF
14584 cat confdefs.h >>conftest.$ac_ext
14585 cat >>conftest.$ac_ext <<_ACEOF
14586 /* end confdefs.h.  */
14587 #define _GNU_SOURCE 1
14588                     #include <string.h>
14589                     #include <locale.h>
14590 int
14591 main ()
14592 {
14593 __locale_t loc; strerror_l(5, loc);
14594   ;
14595   return 0;
14596 }
14597 _ACEOF
14598 rm -f conftest.$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600   (eval $ac_compile) 2>conftest.er1
14601   ac_status=$?
14602   grep -v '^ *+' conftest.er1 >conftest.err
14603   rm -f conftest.er1
14604   cat conftest.err >&5
14605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606   (exit $ac_status); } &&
14607          { ac_try='test -z "$ac_c_werror_flag"
14608                          || test ! -s conftest.err'
14609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610   (eval $ac_try) 2>&5
14611   ac_status=$?
14612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613   (exit $ac_status); }; } &&
14614          { ac_try='test -s conftest.$ac_objext'
14615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616   (eval $ac_try) 2>&5
14617   ac_status=$?
14618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619   (exit $ac_status); }; }; then
14620
14621 cat >>confdefs.h <<\_ACEOF
14622 #define HAVE_STRERROR_L 1
14623 _ACEOF
14624
14625 else
14626   echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.$ac_ext >&5
14628
14629 fi
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14631
14632     CFLAGS="$ac_save_CFLAGS"
14633   fi
14634
14635   # Perhaps use strerror_r if available, and strerror_l isn't.
14636   ac_save_CFLAGS="$CFLAGS"
14637   CFLAGS="-Wimplicit-function-declaration -Werror"
14638   cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h.  */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h.  */
14644 #define _GNU_SOURCE 1
14645                   #include <string.h>
14646                   #include <locale.h>
14647 int
14648 main ()
14649 {
14650 char s[128]; strerror_r(5, s, 128);
14651   ;
14652   return 0;
14653 }
14654 _ACEOF
14655 rm -f conftest.$ac_objext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14657   (eval $ac_compile) 2>conftest.er1
14658   ac_status=$?
14659   grep -v '^ *+' conftest.er1 >conftest.err
14660   rm -f conftest.er1
14661   cat conftest.err >&5
14662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663   (exit $ac_status); } &&
14664          { ac_try='test -z "$ac_c_werror_flag"
14665                          || test ! -s conftest.err'
14666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667   (eval $ac_try) 2>&5
14668   ac_status=$?
14669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670   (exit $ac_status); }; } &&
14671          { ac_try='test -s conftest.$ac_objext'
14672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673   (eval $ac_try) 2>&5
14674   ac_status=$?
14675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676   (exit $ac_status); }; }; then
14677
14678 cat >>confdefs.h <<\_ACEOF
14679 #define HAVE_STRERROR_R 1
14680 _ACEOF
14681
14682 else
14683   echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14685
14686 fi
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688   CFLAGS="$ac_save_CFLAGS"
14689
14690   # Set configure bits for specified locale package
14691   echo "$as_me:$LINENO: checking for C locale to use" >&5
14692 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14693   case ${enable_clocale_flag} in
14694     generic)
14695       echo "$as_me:$LINENO: result: generic" >&5
14696 echo "${ECHO_T}generic" >&6
14697
14698       CLOCALE_H=config/locale/generic/c_locale.h
14699       CLOCALE_CC=config/locale/generic/c_locale.cc
14700       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14701       CCOLLATE_CC=config/locale/generic/collate_members.cc
14702       CCTYPE_CC=config/locale/generic/ctype_members.cc
14703       CMESSAGES_H=config/locale/generic/messages_members.h
14704       CMESSAGES_CC=config/locale/generic/messages_members.cc
14705       CMONEY_CC=config/locale/generic/monetary_members.cc
14706       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14707       CTIME_H=config/locale/generic/time_members.h
14708       CTIME_CC=config/locale/generic/time_members.cc
14709       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14710       ;;
14711     darwin)
14712       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14713 echo "${ECHO_T}darwin or freebsd" >&6
14714
14715       CLOCALE_H=config/locale/generic/c_locale.h
14716       CLOCALE_CC=config/locale/generic/c_locale.cc
14717       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14718       CCOLLATE_CC=config/locale/generic/collate_members.cc
14719       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14720       CMESSAGES_H=config/locale/generic/messages_members.h
14721       CMESSAGES_CC=config/locale/generic/messages_members.cc
14722       CMONEY_CC=config/locale/generic/monetary_members.cc
14723       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14724       CTIME_H=config/locale/generic/time_members.h
14725       CTIME_CC=config/locale/generic/time_members.cc
14726       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14727       ;;
14728
14729     gnu)
14730       echo "$as_me:$LINENO: result: gnu" >&5
14731 echo "${ECHO_T}gnu" >&6
14732
14733       # Declare intention to use gettext, and add support for specific
14734       # languages.
14735       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14736       ALL_LINGUAS="de fr"
14737
14738       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14739       # Extract the first word of "msgfmt", so it can be a program name with args.
14740 set dummy msgfmt; ac_word=$2
14741 echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14743 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14744   echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746   if test -n "$check_msgfmt"; then
14747   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14748 else
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14751 do
14752   IFS=$as_save_IFS
14753   test -z "$as_dir" && as_dir=.
14754   for ac_exec_ext in '' $ac_executable_extensions; do
14755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756     ac_cv_prog_check_msgfmt="yes"
14757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758     break 2
14759   fi
14760 done
14761 done
14762
14763   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14764 fi
14765 fi
14766 check_msgfmt=$ac_cv_prog_check_msgfmt
14767 if test -n "$check_msgfmt"; then
14768   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14769 echo "${ECHO_T}$check_msgfmt" >&6
14770 else
14771   echo "$as_me:$LINENO: result: no" >&5
14772 echo "${ECHO_T}no" >&6
14773 fi
14774
14775       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14776         USE_NLS=yes
14777       fi
14778       # Export the build objects.
14779       for ling in $ALL_LINGUAS; do \
14780         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14781         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14782       done
14783
14784
14785
14786       CLOCALE_H=config/locale/gnu/c_locale.h
14787       CLOCALE_CC=config/locale/gnu/c_locale.cc
14788       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14789       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14790       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14791       CMESSAGES_H=config/locale/gnu/messages_members.h
14792       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14793       CMONEY_CC=config/locale/gnu/monetary_members.cc
14794       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14795       CTIME_H=config/locale/gnu/time_members.h
14796       CTIME_CC=config/locale/gnu/time_members.cc
14797       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14798       ;;
14799     ieee_1003.1-2001)
14800       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14801 echo "${ECHO_T}IEEE 1003.1" >&6
14802
14803       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14804       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14805       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14806       CCOLLATE_CC=config/locale/generic/collate_members.cc
14807       CCTYPE_CC=config/locale/generic/ctype_members.cc
14808       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14809       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14810       CMONEY_CC=config/locale/generic/monetary_members.cc
14811       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14812       CTIME_H=config/locale/generic/time_members.h
14813       CTIME_CC=config/locale/generic/time_members.cc
14814       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14815       ;;
14816   esac
14817
14818   # This is where the testsuite looks for locale catalogs, using the
14819   # -DLOCALEDIR define during testsuite compilation.
14820   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14821
14822
14823   # A standalone libintl (e.g., GNU libintl) may be in use.
14824   if test $USE_NLS = yes; then
14825
14826 for ac_header in libintl.h
14827 do
14828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14830   echo "$as_me:$LINENO: checking for $ac_header" >&5
14831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14833   echo $ECHO_N "(cached) $ECHO_C" >&6
14834 fi
14835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14837 else
14838   # Is the header compilable?
14839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h.  */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h.  */
14847 $ac_includes_default
14848 #include <$ac_header>
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852   (eval $ac_compile) 2>conftest.er1
14853   ac_status=$?
14854   grep -v '^ *+' conftest.er1 >conftest.err
14855   rm -f conftest.er1
14856   cat conftest.err >&5
14857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858   (exit $ac_status); } &&
14859          { ac_try='test -z "$ac_c_werror_flag"
14860                          || test ! -s conftest.err'
14861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862   (eval $ac_try) 2>&5
14863   ac_status=$?
14864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865   (exit $ac_status); }; } &&
14866          { ac_try='test -s conftest.$ac_objext'
14867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868   (eval $ac_try) 2>&5
14869   ac_status=$?
14870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871   (exit $ac_status); }; }; then
14872   ac_header_compiler=yes
14873 else
14874   echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 ac_header_compiler=no
14878 fi
14879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14881 echo "${ECHO_T}$ac_header_compiler" >&6
14882
14883 # Is the header present?
14884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14886 cat >conftest.$ac_ext <<_ACEOF
14887 /* confdefs.h.  */
14888 _ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h.  */
14892 #include <$ac_header>
14893 _ACEOF
14894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14895   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14896   ac_status=$?
14897   grep -v '^ *+' conftest.er1 >conftest.err
14898   rm -f conftest.er1
14899   cat conftest.err >&5
14900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901   (exit $ac_status); } >/dev/null; then
14902   if test -s conftest.err; then
14903     ac_cpp_err=$ac_c_preproc_warn_flag
14904     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14905   else
14906     ac_cpp_err=
14907   fi
14908 else
14909   ac_cpp_err=yes
14910 fi
14911 if test -z "$ac_cpp_err"; then
14912   ac_header_preproc=yes
14913 else
14914   echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14916
14917   ac_header_preproc=no
14918 fi
14919 rm -f conftest.err conftest.$ac_ext
14920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14921 echo "${ECHO_T}$ac_header_preproc" >&6
14922
14923 # So?  What about this header?
14924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14925   yes:no: )
14926     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14930     ac_header_preproc=yes
14931     ;;
14932   no:yes:* )
14933     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14935     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14936 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14937     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14939     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14940 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14943     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14945     (
14946       cat <<\_ASBOX
14947 ## ----------------------------------------- ##
14948 ## Report this to the package-unused lists.  ##
14949 ## ----------------------------------------- ##
14950 _ASBOX
14951     ) |
14952       sed "s/^/$as_me: WARNING:     /" >&2
14953     ;;
14954 esac
14955 echo "$as_me:$LINENO: checking for $ac_header" >&5
14956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14958   echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960   eval "$as_ac_Header=\$ac_header_preproc"
14961 fi
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14964
14965 fi
14966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14967   cat >>confdefs.h <<_ACEOF
14968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14969 _ACEOF
14970
14971 else
14972   USE_NLS=no
14973 fi
14974
14975 done
14976
14977     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14978 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14979 if test "${ac_cv_search_gettext+set}" = set; then
14980   echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982   ac_func_search_save_LIBS=$LIBS
14983 ac_cv_search_gettext=no
14984 if test x$gcc_no_link = xyes; then
14985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14987    { (exit 1); exit 1; }; }
14988 fi
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h.  */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h.  */
14995
14996 /* Override any gcc2 internal prototype to avoid an error.  */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 /* We use char because int might match the return type of a gcc2
15001    builtin and then its argument prototype would still apply.  */
15002 char gettext ();
15003 int
15004 main ()
15005 {
15006 gettext ();
15007   ;
15008   return 0;
15009 }
15010 _ACEOF
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15013   (eval $ac_link) 2>conftest.er1
15014   ac_status=$?
15015   grep -v '^ *+' conftest.er1 >conftest.err
15016   rm -f conftest.er1
15017   cat conftest.err >&5
15018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019   (exit $ac_status); } &&
15020          { ac_try='test -z "$ac_c_werror_flag"
15021                          || test ! -s conftest.err'
15022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023   (eval $ac_try) 2>&5
15024   ac_status=$?
15025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026   (exit $ac_status); }; } &&
15027          { ac_try='test -s conftest$ac_exeext'
15028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029   (eval $ac_try) 2>&5
15030   ac_status=$?
15031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032   (exit $ac_status); }; }; then
15033   ac_cv_search_gettext="none required"
15034 else
15035   echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15037
15038 fi
15039 rm -f conftest.err conftest.$ac_objext \
15040       conftest$ac_exeext conftest.$ac_ext
15041 if test "$ac_cv_search_gettext" = no; then
15042   for ac_lib in intl; do
15043     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15044     if test x$gcc_no_link = xyes; then
15045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15047    { (exit 1); exit 1; }; }
15048 fi
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h.  */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h.  */
15055
15056 /* Override any gcc2 internal prototype to avoid an error.  */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 /* We use char because int might match the return type of a gcc2
15061    builtin and then its argument prototype would still apply.  */
15062 char gettext ();
15063 int
15064 main ()
15065 {
15066 gettext ();
15067   ;
15068   return 0;
15069 }
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073   (eval $ac_link) 2>conftest.er1
15074   ac_status=$?
15075   grep -v '^ *+' conftest.er1 >conftest.err
15076   rm -f conftest.er1
15077   cat conftest.err >&5
15078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079   (exit $ac_status); } &&
15080          { ac_try='test -z "$ac_c_werror_flag"
15081                          || test ! -s conftest.err'
15082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083   (eval $ac_try) 2>&5
15084   ac_status=$?
15085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086   (exit $ac_status); }; } &&
15087          { ac_try='test -s conftest$ac_exeext'
15088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089   (eval $ac_try) 2>&5
15090   ac_status=$?
15091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092   (exit $ac_status); }; }; then
15093   ac_cv_search_gettext="-l$ac_lib"
15094 break
15095 else
15096   echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 fi
15100 rm -f conftest.err conftest.$ac_objext \
15101       conftest$ac_exeext conftest.$ac_ext
15102   done
15103 fi
15104 LIBS=$ac_func_search_save_LIBS
15105 fi
15106 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15107 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15108 if test "$ac_cv_search_gettext" != no; then
15109   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15110
15111 else
15112   USE_NLS=no
15113 fi
15114
15115   fi
15116   if test $USE_NLS = yes; then
15117
15118 cat >>confdefs.h <<\_ACEOF
15119 #define _GLIBCXX_USE_NLS 1
15120 _ACEOF
15121
15122   fi
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15140 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15141    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15142 if test "${enable_libstdcxx_allocator+set}" = set; then
15143   enableval="$enable_libstdcxx_allocator"
15144
15145       case "$enableval" in
15146        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15147        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15148 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15149    { (exit 1); exit 1; }; } ;;
15150                           esac
15151
15152 else
15153   enable_libstdcxx_allocator=auto
15154 fi;
15155
15156
15157   # If they didn't use this option switch, or if they specified --enable
15158   # with no specific model, we'll have to look for one.  If they
15159   # specified --disable (???), do likewise.
15160   if test $enable_libstdcxx_allocator = no ||
15161      test $enable_libstdcxx_allocator = yes;
15162   then
15163      enable_libstdcxx_allocator=auto
15164   fi
15165
15166   # Either a known package, or "auto". Auto implies the default choice
15167   # for a particular platform.
15168   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15169
15170   # Probe for host-specific support if no specific model is specified.
15171   # Default to "new".
15172   if test $enable_libstdcxx_allocator_flag = auto; then
15173     case ${target_os} in
15174       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15175         enable_libstdcxx_allocator_flag=new
15176         ;;
15177       *)
15178         enable_libstdcxx_allocator_flag=new
15179         ;;
15180     esac
15181   fi
15182   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15183 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15184
15185
15186   # Set configure bits for specified locale package
15187   case ${enable_libstdcxx_allocator_flag} in
15188     bitmap)
15189       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15190       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15191       ;;
15192     malloc)
15193       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15194       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15195       ;;
15196     mt)
15197       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15198       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15199       ;;
15200     new)
15201       ALLOCATOR_H=config/allocator/new_allocator_base.h
15202       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15203       ;;
15204     pool)
15205       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15206       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15207       ;;
15208   esac
15209
15210
15211
15212
15213
15214    # Check whether --enable-cheaders or --disable-cheaders was given.
15215 if test "${enable_cheaders+set}" = set; then
15216   enableval="$enable_cheaders"
15217
15218       case "$enableval" in
15219        c|c_std|c_global) ;;
15220        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15221 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15222    { (exit 1); exit 1; }; } ;;
15223                           esac
15224
15225 else
15226   enable_cheaders=$c_model
15227 fi;
15228
15229   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15230 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15231
15232   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15233
15234   # Allow overrides to configure.host here.
15235   if test $enable_cheaders = c_global; then
15236      c_compatibility=yes
15237   fi
15238
15239   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15240      c_extra=yes
15241   fi
15242
15243
15244
15245
15246
15247
15248
15249
15250    # Check whether --enable-long-long or --disable-long-long was given.
15251 if test "${enable_long_long+set}" = set; then
15252   enableval="$enable_long_long"
15253
15254       case "$enableval" in
15255        yes|no) ;;
15256        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15257 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15258    { (exit 1); exit 1; }; } ;;
15259       esac
15260
15261 else
15262   enable_long_long=yes
15263 fi;
15264
15265   if test $enable_long_long = yes; then
15266
15267 cat >>confdefs.h <<\_ACEOF
15268 #define _GLIBCXX_USE_LONG_LONG 1
15269 _ACEOF
15270
15271   fi
15272   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15273 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15274   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15275 echo "${ECHO_T}$enable_long_long" >&6
15276
15277
15278    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15279 if test "${enable_wchar_t+set}" = set; then
15280   enableval="$enable_wchar_t"
15281
15282       case "$enableval" in
15283        yes|no) ;;
15284        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15285 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15286    { (exit 1); exit 1; }; } ;;
15287       esac
15288
15289 else
15290   enable_wchar_t=yes
15291 fi;
15292
15293
15294   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15295
15296 for ac_header in wchar.h
15297 do
15298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15300   echo "$as_me:$LINENO: checking for $ac_header" >&5
15301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15303   echo $ECHO_N "(cached) $ECHO_C" >&6
15304 fi
15305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15307 else
15308   # Is the header compilable?
15309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h.  */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h.  */
15317 $ac_includes_default
15318 #include <$ac_header>
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322   (eval $ac_compile) 2>conftest.er1
15323   ac_status=$?
15324   grep -v '^ *+' conftest.er1 >conftest.err
15325   rm -f conftest.er1
15326   cat conftest.err >&5
15327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328   (exit $ac_status); } &&
15329          { ac_try='test -z "$ac_c_werror_flag"
15330                          || test ! -s conftest.err'
15331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332   (eval $ac_try) 2>&5
15333   ac_status=$?
15334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335   (exit $ac_status); }; } &&
15336          { ac_try='test -s conftest.$ac_objext'
15337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338   (eval $ac_try) 2>&5
15339   ac_status=$?
15340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341   (exit $ac_status); }; }; then
15342   ac_header_compiler=yes
15343 else
15344   echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15346
15347 ac_header_compiler=no
15348 fi
15349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15351 echo "${ECHO_T}$ac_header_compiler" >&6
15352
15353 # Is the header present?
15354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15356 cat >conftest.$ac_ext <<_ACEOF
15357 /* confdefs.h.  */
15358 _ACEOF
15359 cat confdefs.h >>conftest.$ac_ext
15360 cat >>conftest.$ac_ext <<_ACEOF
15361 /* end confdefs.h.  */
15362 #include <$ac_header>
15363 _ACEOF
15364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15365   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15366   ac_status=$?
15367   grep -v '^ *+' conftest.er1 >conftest.err
15368   rm -f conftest.er1
15369   cat conftest.err >&5
15370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371   (exit $ac_status); } >/dev/null; then
15372   if test -s conftest.err; then
15373     ac_cpp_err=$ac_c_preproc_warn_flag
15374     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15375   else
15376     ac_cpp_err=
15377   fi
15378 else
15379   ac_cpp_err=yes
15380 fi
15381 if test -z "$ac_cpp_err"; then
15382   ac_header_preproc=yes
15383 else
15384   echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15386
15387   ac_header_preproc=no
15388 fi
15389 rm -f conftest.err conftest.$ac_ext
15390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15391 echo "${ECHO_T}$ac_header_preproc" >&6
15392
15393 # So?  What about this header?
15394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15395   yes:no: )
15396     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15398     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15400     ac_header_preproc=yes
15401     ;;
15402   no:yes:* )
15403     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15405     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15406 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15407     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15409     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15410 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15411     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15413     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15415     (
15416       cat <<\_ASBOX
15417 ## ----------------------------------------- ##
15418 ## Report this to the package-unused lists.  ##
15419 ## ----------------------------------------- ##
15420 _ASBOX
15421     ) |
15422       sed "s/^/$as_me: WARNING:     /" >&2
15423     ;;
15424 esac
15425 echo "$as_me:$LINENO: checking for $ac_header" >&5
15426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15428   echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430   eval "$as_ac_Header=\$ac_header_preproc"
15431 fi
15432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15434
15435 fi
15436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15437   cat >>confdefs.h <<_ACEOF
15438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15439 _ACEOF
15440  ac_has_wchar_h=yes
15441 else
15442   ac_has_wchar_h=no
15443 fi
15444
15445 done
15446
15447   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15448 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15449   cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h.  */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h.  */
15455 #include <wchar.h>
15456 int
15457 main ()
15458 {
15459 mbstate_t teststate;
15460   ;
15461   return 0;
15462 }
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466   (eval $ac_compile) 2>conftest.er1
15467   ac_status=$?
15468   grep -v '^ *+' conftest.er1 >conftest.err
15469   rm -f conftest.er1
15470   cat conftest.err >&5
15471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472   (exit $ac_status); } &&
15473          { ac_try='test -z "$ac_c_werror_flag"
15474                          || test ! -s conftest.err'
15475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476   (eval $ac_try) 2>&5
15477   ac_status=$?
15478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479   (exit $ac_status); }; } &&
15480          { ac_try='test -s conftest.$ac_objext'
15481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482   (eval $ac_try) 2>&5
15483   ac_status=$?
15484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485   (exit $ac_status); }; }; then
15486   have_mbstate_t=yes
15487 else
15488   echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.$ac_ext >&5
15490
15491 have_mbstate_t=no
15492 fi
15493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15494   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15495 echo "${ECHO_T}$have_mbstate_t" >&6
15496   if test x"$have_mbstate_t" = xyes; then
15497
15498 cat >>confdefs.h <<\_ACEOF
15499 #define HAVE_MBSTATE_T 1
15500 _ACEOF
15501
15502   fi
15503
15504   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15505   # ac_has_wchar_h.
15506
15507 for ac_header in wctype.h
15508 do
15509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15511   echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514   echo $ECHO_N "(cached) $ECHO_C" >&6
15515 fi
15516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15518 else
15519   # Is the header compilable?
15520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h.  */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h.  */
15528 $ac_includes_default
15529 #include <$ac_header>
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533   (eval $ac_compile) 2>conftest.er1
15534   ac_status=$?
15535   grep -v '^ *+' conftest.er1 >conftest.err
15536   rm -f conftest.er1
15537   cat conftest.err >&5
15538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539   (exit $ac_status); } &&
15540          { ac_try='test -z "$ac_c_werror_flag"
15541                          || test ! -s conftest.err'
15542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543   (eval $ac_try) 2>&5
15544   ac_status=$?
15545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546   (exit $ac_status); }; } &&
15547          { ac_try='test -s conftest.$ac_objext'
15548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549   (eval $ac_try) 2>&5
15550   ac_status=$?
15551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552   (exit $ac_status); }; }; then
15553   ac_header_compiler=yes
15554 else
15555   echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15557
15558 ac_header_compiler=no
15559 fi
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15562 echo "${ECHO_T}$ac_header_compiler" >&6
15563
15564 # Is the header present?
15565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h.  */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h.  */
15573 #include <$ac_header>
15574 _ACEOF
15575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15576   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15577   ac_status=$?
15578   grep -v '^ *+' conftest.er1 >conftest.err
15579   rm -f conftest.er1
15580   cat conftest.err >&5
15581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582   (exit $ac_status); } >/dev/null; then
15583   if test -s conftest.err; then
15584     ac_cpp_err=$ac_c_preproc_warn_flag
15585     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15586   else
15587     ac_cpp_err=
15588   fi
15589 else
15590   ac_cpp_err=yes
15591 fi
15592 if test -z "$ac_cpp_err"; then
15593   ac_header_preproc=yes
15594 else
15595   echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598   ac_header_preproc=no
15599 fi
15600 rm -f conftest.err conftest.$ac_ext
15601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15602 echo "${ECHO_T}$ac_header_preproc" >&6
15603
15604 # So?  What about this header?
15605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606   yes:no: )
15607     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15609     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15611     ac_header_preproc=yes
15612     ;;
15613   no:yes:* )
15614     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15616     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15617 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15618     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15620     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15621 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15622     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15624     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15626     (
15627       cat <<\_ASBOX
15628 ## ----------------------------------------- ##
15629 ## Report this to the package-unused lists.  ##
15630 ## ----------------------------------------- ##
15631 _ASBOX
15632     ) |
15633       sed "s/^/$as_me: WARNING:     /" >&2
15634     ;;
15635 esac
15636 echo "$as_me:$LINENO: checking for $ac_header" >&5
15637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15639   echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641   eval "$as_ac_Header=\$ac_header_preproc"
15642 fi
15643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15645
15646 fi
15647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15648   cat >>confdefs.h <<_ACEOF
15649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15651  ac_has_wctype_h=yes
15652 else
15653   ac_has_wctype_h=no
15654 fi
15655
15656 done
15657
15658
15659   if test x"$enable_wchar_t" = x"yes"; then
15660
15661
15662
15663     ac_ext=cc
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15668
15669
15670     if test x"$ac_has_wchar_h" = xyes &&
15671        test x"$ac_has_wctype_h" = xyes; then
15672       cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h.  */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h.  */
15678 #include <wchar.h>
15679                       #include <stddef.h>
15680                       wint_t i;
15681                       long l = WEOF;
15682                       long j = WCHAR_MIN;
15683                       long k = WCHAR_MAX;
15684                       namespace test
15685                       {
15686                         using ::btowc;
15687                         using ::fgetwc;
15688                         using ::fgetws;
15689                         using ::fputwc;
15690                         using ::fputws;
15691                         using ::fwide;
15692                         using ::fwprintf;
15693                         using ::fwscanf;
15694                         using ::getwc;
15695                         using ::getwchar;
15696                         using ::mbrlen;
15697                         using ::mbrtowc;
15698                         using ::mbsinit;
15699                         using ::mbsrtowcs;
15700                         using ::putwc;
15701                         using ::putwchar;
15702                         using ::swprintf;
15703                         using ::swscanf;
15704                         using ::ungetwc;
15705                         using ::vfwprintf;
15706                         using ::vswprintf;
15707                         using ::vwprintf;
15708                         using ::wcrtomb;
15709                         using ::wcscat;
15710                         using ::wcschr;
15711                         using ::wcscmp;
15712                         using ::wcscoll;
15713                         using ::wcscpy;
15714                         using ::wcscspn;
15715                         using ::wcsftime;
15716                         using ::wcslen;
15717                         using ::wcsncat;
15718                         using ::wcsncmp;
15719                         using ::wcsncpy;
15720                         using ::wcspbrk;
15721                         using ::wcsrchr;
15722                         using ::wcsrtombs;
15723                         using ::wcsspn;
15724                         using ::wcsstr;
15725                         using ::wcstod;
15726                         using ::wcstok;
15727                         using ::wcstol;
15728                         using ::wcstoul;
15729                         using ::wcsxfrm;
15730                         using ::wctob;
15731                         using ::wmemchr;
15732                         using ::wmemcmp;
15733                         using ::wmemcpy;
15734                         using ::wmemmove;
15735                         using ::wmemset;
15736                         using ::wprintf;
15737                         using ::wscanf;
15738                       }
15739
15740 int
15741 main ()
15742 {
15743
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750   (eval $ac_compile) 2>conftest.er1
15751   ac_status=$?
15752   grep -v '^ *+' conftest.er1 >conftest.err
15753   rm -f conftest.er1
15754   cat conftest.err >&5
15755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756   (exit $ac_status); } &&
15757          { ac_try='test -z "$ac_cxx_werror_flag"
15758                          || test ! -s conftest.err'
15759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760   (eval $ac_try) 2>&5
15761   ac_status=$?
15762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763   (exit $ac_status); }; } &&
15764          { ac_try='test -s conftest.$ac_objext'
15765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766   (eval $ac_try) 2>&5
15767   ac_status=$?
15768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769   (exit $ac_status); }; }; then
15770   :
15771 else
15772   echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15774
15775 enable_wchar_t=no
15776 fi
15777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15778     else
15779       enable_wchar_t=no
15780     fi
15781
15782     ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15787
15788   fi
15789
15790   if test x"$enable_wchar_t" = x"yes"; then
15791
15792 cat >>confdefs.h <<\_ACEOF
15793 #define _GLIBCXX_USE_WCHAR_T 1
15794 _ACEOF
15795
15796   fi
15797
15798   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15799 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15800   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15801 echo "${ECHO_T}$enable_wchar_t" >&6
15802
15803
15804
15805    # Check whether --enable-c99 or --disable-c99 was given.
15806 if test "${enable_c99+set}" = set; then
15807   enableval="$enable_c99"
15808
15809       case "$enableval" in
15810        yes|no) ;;
15811        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15812 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15813    { (exit 1); exit 1; }; } ;;
15814       esac
15815
15816 else
15817   enable_c99=yes
15818 fi;
15819
15820
15821   if test x"$enable_c99" = x"yes"; then
15822
15823
15824
15825   ac_ext=cc
15826 ac_cpp='$CXXCPP $CPPFLAGS'
15827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15830
15831
15832   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15833   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15834   # spuriously enabled.
15835   # Long term, -std=c++0x could be even better, could manage to explicitely
15836   # request C99 facilities to the underlying C headers.
15837   ac_save_CXXFLAGS="$CXXFLAGS"
15838   CXXFLAGS="$CXXFLAGS -std=c++98"
15839   ac_save_LIBS="$LIBS"
15840   ac_save_gcc_no_link="$gcc_no_link"
15841
15842   if test x$gcc_no_link != xyes; then
15843     # Use -fno-exceptions to that the C driver can link these tests without
15844     # hitting undefined references to personality routines.
15845     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15847 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15848 if test "${ac_cv_lib_m_sin+set}" = set; then
15849   echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851   ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lm  $LIBS"
15853 if test x$gcc_no_link = xyes; then
15854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15856    { (exit 1); exit 1; }; }
15857 fi
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h.  */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h.  */
15864
15865 /* Override any gcc2 internal prototype to avoid an error.  */
15866 #ifdef __cplusplus
15867 extern "C"
15868 #endif
15869 /* We use char because int might match the return type of a gcc2
15870    builtin and then its argument prototype would still apply.  */
15871 char sin ();
15872 int
15873 main ()
15874 {
15875 sin ();
15876   ;
15877   return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882   (eval $ac_link) 2>conftest.er1
15883   ac_status=$?
15884   grep -v '^ *+' conftest.er1 >conftest.err
15885   rm -f conftest.er1
15886   cat conftest.err >&5
15887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888   (exit $ac_status); } &&
15889          { ac_try='test -z "$ac_cxx_werror_flag"
15890                          || test ! -s conftest.err'
15891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892   (eval $ac_try) 2>&5
15893   ac_status=$?
15894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895   (exit $ac_status); }; } &&
15896          { ac_try='test -s conftest$ac_exeext'
15897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898   (eval $ac_try) 2>&5
15899   ac_status=$?
15900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901   (exit $ac_status); }; }; then
15902   ac_cv_lib_m_sin=yes
15903 else
15904   echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15906
15907 ac_cv_lib_m_sin=no
15908 fi
15909 rm -f conftest.err conftest.$ac_objext \
15910       conftest$ac_exeext conftest.$ac_ext
15911 LIBS=$ac_check_lib_save_LIBS
15912 fi
15913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15914 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15915 if test $ac_cv_lib_m_sin = yes; then
15916
15917       LIBS="$LIBS -lm"
15918
15919 else
15920
15921       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15922       gcc_no_link=yes
15923
15924 fi
15925
15926   fi
15927
15928   # Check for the existence of <math.h> functions used if C99 is enabled.
15929   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15930 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15931   if test "${glibcxx_cv_c99_math+set}" = set; then
15932   echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15934
15935   if test x$gcc_no_link = xyes; then
15936   cat >conftest.$ac_ext <<_ACEOF
15937 /* confdefs.h.  */
15938 _ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h.  */
15942 #include <math.h>
15943       volatile double d1, d2;
15944       volatile int i;
15945 int
15946 main ()
15947 {
15948 i = fpclassify(d1);
15949       i = isfinite(d1);
15950       i = isinf(d1);
15951       i = isnan(d1);
15952       i = isnormal(d1);
15953       i = signbit(d1);
15954       i = isgreater(d1, d2);
15955       i = isgreaterequal(d1, d2);
15956       i = isless(d1, d2);
15957       i = islessequal(d1, d2);
15958       i = islessgreater(d1, d2);
15959       i = islessgreater(d1, d2);
15960       i = isunordered(d1, d2);
15961
15962   ;
15963   return 0;
15964 }
15965 _ACEOF
15966 rm -f conftest.$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968   (eval $ac_compile) 2>conftest.er1
15969   ac_status=$?
15970   grep -v '^ *+' conftest.er1 >conftest.err
15971   rm -f conftest.er1
15972   cat conftest.err >&5
15973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974   (exit $ac_status); } &&
15975          { ac_try='test -z "$ac_cxx_werror_flag"
15976                          || test ! -s conftest.err'
15977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978   (eval $ac_try) 2>&5
15979   ac_status=$?
15980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981   (exit $ac_status); }; } &&
15982          { ac_try='test -s conftest.$ac_objext'
15983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984   (eval $ac_try) 2>&5
15985   ac_status=$?
15986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987   (exit $ac_status); }; }; then
15988   glibcxx_cv_c99_math=yes
15989 else
15990   echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 glibcxx_cv_c99_math=no
15994 fi
15995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15996 else
15997   if test x$gcc_no_link = xyes; then
15998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16000    { (exit 1); exit 1; }; }
16001 fi
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h.  */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h.  */
16008 #include <math.h>
16009       volatile double d1, d2;
16010       volatile int i;
16011 int
16012 main ()
16013 {
16014 i = fpclassify(d1);
16015       i = isfinite(d1);
16016       i = isinf(d1);
16017       i = isnan(d1);
16018       i = isnormal(d1);
16019       i = signbit(d1);
16020       i = isgreater(d1, d2);
16021       i = isgreaterequal(d1, d2);
16022       i = isless(d1, d2);
16023       i = islessequal(d1, d2);
16024       i = islessgreater(d1, d2);
16025       i = islessgreater(d1, d2);
16026       i = isunordered(d1, d2);
16027
16028   ;
16029   return 0;
16030 }
16031 _ACEOF
16032 rm -f conftest.$ac_objext conftest$ac_exeext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16034   (eval $ac_link) 2>conftest.er1
16035   ac_status=$?
16036   grep -v '^ *+' conftest.er1 >conftest.err
16037   rm -f conftest.er1
16038   cat conftest.err >&5
16039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040   (exit $ac_status); } &&
16041          { ac_try='test -z "$ac_cxx_werror_flag"
16042                          || test ! -s conftest.err'
16043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044   (eval $ac_try) 2>&5
16045   ac_status=$?
16046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047   (exit $ac_status); }; } &&
16048          { ac_try='test -s conftest$ac_exeext'
16049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050   (eval $ac_try) 2>&5
16051   ac_status=$?
16052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053   (exit $ac_status); }; }; then
16054   glibcxx_cv_c99_math=yes
16055 else
16056   echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 glibcxx_cv_c99_math=no
16060 fi
16061 rm -f conftest.err conftest.$ac_objext \
16062       conftest$ac_exeext conftest.$ac_ext
16063 fi
16064
16065 fi
16066
16067   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16068 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16069   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16070
16071 cat >>confdefs.h <<\_ACEOF
16072 #define _GLIBCXX_USE_C99_MATH 1
16073 _ACEOF
16074
16075   fi
16076
16077   # Check for the existence of <complex.h> complex math functions.
16078   # This is necessary even though libstdc++ uses the builtin versions
16079   # of these functions, because if the builtin cannot be used, a reference
16080   # to the library function is emitted.
16081
16082 for ac_header in tgmath.h
16083 do
16084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16086   echo "$as_me:$LINENO: checking for $ac_header" >&5
16087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16089   echo $ECHO_N "(cached) $ECHO_C" >&6
16090 fi
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16093 else
16094   # Is the header compilable?
16095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h.  */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h.  */
16103 $ac_includes_default
16104 #include <$ac_header>
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16108   (eval $ac_compile) 2>conftest.er1
16109   ac_status=$?
16110   grep -v '^ *+' conftest.er1 >conftest.err
16111   rm -f conftest.er1
16112   cat conftest.err >&5
16113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114   (exit $ac_status); } &&
16115          { ac_try='test -z "$ac_cxx_werror_flag"
16116                          || test ! -s conftest.err'
16117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118   (eval $ac_try) 2>&5
16119   ac_status=$?
16120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121   (exit $ac_status); }; } &&
16122          { ac_try='test -s conftest.$ac_objext'
16123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124   (eval $ac_try) 2>&5
16125   ac_status=$?
16126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127   (exit $ac_status); }; }; then
16128   ac_header_compiler=yes
16129 else
16130   echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 ac_header_compiler=no
16134 fi
16135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16137 echo "${ECHO_T}$ac_header_compiler" >&6
16138
16139 # Is the header present?
16140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h.  */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h.  */
16148 #include <$ac_header>
16149 _ACEOF
16150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16151   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16152   ac_status=$?
16153   grep -v '^ *+' conftest.er1 >conftest.err
16154   rm -f conftest.er1
16155   cat conftest.err >&5
16156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157   (exit $ac_status); } >/dev/null; then
16158   if test -s conftest.err; then
16159     ac_cpp_err=$ac_cxx_preproc_warn_flag
16160     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16161   else
16162     ac_cpp_err=
16163   fi
16164 else
16165   ac_cpp_err=yes
16166 fi
16167 if test -z "$ac_cpp_err"; then
16168   ac_header_preproc=yes
16169 else
16170   echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16172
16173   ac_header_preproc=no
16174 fi
16175 rm -f conftest.err conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16177 echo "${ECHO_T}$ac_header_preproc" >&6
16178
16179 # So?  What about this header?
16180 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16181   yes:no: )
16182     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16186     ac_header_preproc=yes
16187     ;;
16188   no:yes:* )
16189     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16191     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16192 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16193     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16195     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16196 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16197     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16199     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16201     (
16202       cat <<\_ASBOX
16203 ## ----------------------------------------- ##
16204 ## Report this to the package-unused lists.  ##
16205 ## ----------------------------------------- ##
16206 _ASBOX
16207     ) |
16208       sed "s/^/$as_me: WARNING:     /" >&2
16209     ;;
16210 esac
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214   echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216   eval "$as_ac_Header=\$ac_header_preproc"
16217 fi
16218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16220
16221 fi
16222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16223   cat >>confdefs.h <<_ACEOF
16224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16225 _ACEOF
16226  ac_has_tgmath_h=yes
16227 else
16228   ac_has_tgmath_h=no
16229 fi
16230
16231 done
16232
16233
16234 for ac_header in complex.h
16235 do
16236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16238   echo "$as_me:$LINENO: checking for $ac_header" >&5
16239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16241   echo $ECHO_N "(cached) $ECHO_C" >&6
16242 fi
16243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16245 else
16246   # Is the header compilable?
16247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h.  */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h.  */
16255 $ac_includes_default
16256 #include <$ac_header>
16257 _ACEOF
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260   (eval $ac_compile) 2>conftest.er1
16261   ac_status=$?
16262   grep -v '^ *+' conftest.er1 >conftest.err
16263   rm -f conftest.er1
16264   cat conftest.err >&5
16265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266   (exit $ac_status); } &&
16267          { ac_try='test -z "$ac_cxx_werror_flag"
16268                          || test ! -s conftest.err'
16269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270   (eval $ac_try) 2>&5
16271   ac_status=$?
16272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273   (exit $ac_status); }; } &&
16274          { ac_try='test -s conftest.$ac_objext'
16275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276   (eval $ac_try) 2>&5
16277   ac_status=$?
16278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279   (exit $ac_status); }; }; then
16280   ac_header_compiler=yes
16281 else
16282   echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 ac_header_compiler=no
16286 fi
16287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16289 echo "${ECHO_T}$ac_header_compiler" >&6
16290
16291 # Is the header present?
16292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h.  */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h.  */
16300 #include <$ac_header>
16301 _ACEOF
16302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16303   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16304   ac_status=$?
16305   grep -v '^ *+' conftest.er1 >conftest.err
16306   rm -f conftest.er1
16307   cat conftest.err >&5
16308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309   (exit $ac_status); } >/dev/null; then
16310   if test -s conftest.err; then
16311     ac_cpp_err=$ac_cxx_preproc_warn_flag
16312     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16313   else
16314     ac_cpp_err=
16315   fi
16316 else
16317   ac_cpp_err=yes
16318 fi
16319 if test -z "$ac_cpp_err"; then
16320   ac_header_preproc=yes
16321 else
16322   echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16324
16325   ac_header_preproc=no
16326 fi
16327 rm -f conftest.err conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16329 echo "${ECHO_T}$ac_header_preproc" >&6
16330
16331 # So?  What about this header?
16332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16333   yes:no: )
16334     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16336     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16338     ac_header_preproc=yes
16339     ;;
16340   no:yes:* )
16341     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16343     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16344 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16345     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16347     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16348 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16349     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16351     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16353     (
16354       cat <<\_ASBOX
16355 ## ----------------------------------------- ##
16356 ## Report this to the package-unused lists.  ##
16357 ## ----------------------------------------- ##
16358 _ASBOX
16359     ) |
16360       sed "s/^/$as_me: WARNING:     /" >&2
16361     ;;
16362 esac
16363 echo "$as_me:$LINENO: checking for $ac_header" >&5
16364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16366   echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368   eval "$as_ac_Header=\$ac_header_preproc"
16369 fi
16370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16372
16373 fi
16374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16375   cat >>confdefs.h <<_ACEOF
16376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16377 _ACEOF
16378  ac_has_complex_h=yes
16379 else
16380   ac_has_complex_h=no
16381 fi
16382
16383 done
16384
16385   glibcxx_cv_c99_complex=no;
16386   if test x"$ac_has_complex_h" = x"yes"; then
16387     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16388 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16389     if test x$gcc_no_link = xyes; then
16390   cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h.  */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h.  */
16396 #include <complex.h>
16397         typedef __complex__ float float_type;
16398         typedef __complex__ double double_type;
16399         typedef __complex__ long double ld_type;
16400         volatile float_type tmpf;
16401         volatile double_type tmpd;
16402         volatile ld_type tmpld;
16403         volatile float f;
16404         volatile double d;
16405         volatile long double ld;
16406 int
16407 main ()
16408 {
16409 f = cabsf(tmpf);
16410         f = cargf(tmpf);
16411         tmpf = ccosf(tmpf);
16412         tmpf = ccoshf(tmpf);
16413         tmpf = cexpf(tmpf);
16414         tmpf = clogf(tmpf);
16415         tmpf = csinf(tmpf);
16416         tmpf = csinhf(tmpf);
16417         tmpf = csqrtf(tmpf);
16418         tmpf = ctanf(tmpf);
16419         tmpf = ctanhf(tmpf);
16420         tmpf = cpowf(tmpf, tmpf);
16421         tmpf = cprojf(tmpf);
16422         d = cabs(tmpd);
16423         d = carg(tmpd);
16424         tmpd = ccos(tmpd);
16425         tmpd = ccosh(tmpd);
16426         tmpd = cexp(tmpd);
16427         tmpd = clog(tmpd);
16428         tmpd = csin(tmpd);
16429         tmpd = csinh(tmpd);
16430         tmpd = csqrt(tmpd);
16431         tmpd = ctan(tmpd);
16432         tmpd = ctanh(tmpd);
16433         tmpd = cpow(tmpd, tmpd);
16434         tmpd = cproj(tmpd);
16435         ld = cabsl(tmpld);
16436         ld = cargl(tmpld);
16437         tmpld = ccosl(tmpld);
16438         tmpld = ccoshl(tmpld);
16439         tmpld = cexpl(tmpld);
16440         tmpld = clogl(tmpld);
16441         tmpld = csinl(tmpld);
16442         tmpld = csinhl(tmpld);
16443         tmpld = csqrtl(tmpld);
16444         tmpld = ctanl(tmpld);
16445         tmpld = ctanhl(tmpld);
16446         tmpld = cpowl(tmpld, tmpld);
16447         tmpld = cprojl(tmpld);
16448
16449   ;
16450   return 0;
16451 }
16452 _ACEOF
16453 rm -f conftest.$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455   (eval $ac_compile) 2>conftest.er1
16456   ac_status=$?
16457   grep -v '^ *+' conftest.er1 >conftest.err
16458   rm -f conftest.er1
16459   cat conftest.err >&5
16460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461   (exit $ac_status); } &&
16462          { ac_try='test -z "$ac_cxx_werror_flag"
16463                          || test ! -s conftest.err'
16464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465   (eval $ac_try) 2>&5
16466   ac_status=$?
16467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468   (exit $ac_status); }; } &&
16469          { ac_try='test -s conftest.$ac_objext'
16470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471   (eval $ac_try) 2>&5
16472   ac_status=$?
16473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474   (exit $ac_status); }; }; then
16475   glibcxx_cv_c99_complex=yes
16476 else
16477   echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16479
16480 glibcxx_cv_c99_complex=no
16481 fi
16482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16483 else
16484   if test x$gcc_no_link = xyes; then
16485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16487    { (exit 1); exit 1; }; }
16488 fi
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h.  */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h.  */
16495 #include <complex.h>
16496         typedef __complex__ float float_type;
16497         typedef __complex__ double double_type;
16498         typedef __complex__ long double ld_type;
16499         volatile float_type tmpf;
16500         volatile double_type tmpd;
16501         volatile ld_type tmpld;
16502         volatile float f;
16503         volatile double d;
16504         volatile long double ld;
16505 int
16506 main ()
16507 {
16508 f = cabsf(tmpf);
16509         f = cargf(tmpf);
16510         tmpf = ccosf(tmpf);
16511         tmpf = ccoshf(tmpf);
16512         tmpf = cexpf(tmpf);
16513         tmpf = clogf(tmpf);
16514         tmpf = csinf(tmpf);
16515         tmpf = csinhf(tmpf);
16516         tmpf = csqrtf(tmpf);
16517         tmpf = ctanf(tmpf);
16518         tmpf = ctanhf(tmpf);
16519         tmpf = cpowf(tmpf, tmpf);
16520         tmpf = cprojf(tmpf);
16521         d = cabs(tmpd);
16522         d = carg(tmpd);
16523         tmpd = ccos(tmpd);
16524         tmpd = ccosh(tmpd);
16525         tmpd = cexp(tmpd);
16526         tmpd = clog(tmpd);
16527         tmpd = csin(tmpd);
16528         tmpd = csinh(tmpd);
16529         tmpd = csqrt(tmpd);
16530         tmpd = ctan(tmpd);
16531         tmpd = ctanh(tmpd);
16532         tmpd = cpow(tmpd, tmpd);
16533         tmpd = cproj(tmpd);
16534         ld = cabsl(tmpld);
16535         ld = cargl(tmpld);
16536         tmpld = ccosl(tmpld);
16537         tmpld = ccoshl(tmpld);
16538         tmpld = cexpl(tmpld);
16539         tmpld = clogl(tmpld);
16540         tmpld = csinl(tmpld);
16541         tmpld = csinhl(tmpld);
16542         tmpld = csqrtl(tmpld);
16543         tmpld = ctanl(tmpld);
16544         tmpld = ctanhl(tmpld);
16545         tmpld = cpowl(tmpld, tmpld);
16546         tmpld = cprojl(tmpld);
16547
16548   ;
16549   return 0;
16550 }
16551 _ACEOF
16552 rm -f conftest.$ac_objext conftest$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554   (eval $ac_link) 2>conftest.er1
16555   ac_status=$?
16556   grep -v '^ *+' conftest.er1 >conftest.err
16557   rm -f conftest.er1
16558   cat conftest.err >&5
16559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560   (exit $ac_status); } &&
16561          { ac_try='test -z "$ac_cxx_werror_flag"
16562                          || test ! -s conftest.err'
16563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564   (eval $ac_try) 2>&5
16565   ac_status=$?
16566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567   (exit $ac_status); }; } &&
16568          { ac_try='test -s conftest$ac_exeext'
16569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570   (eval $ac_try) 2>&5
16571   ac_status=$?
16572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573   (exit $ac_status); }; }; then
16574   glibcxx_cv_c99_complex=yes
16575 else
16576   echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 glibcxx_cv_c99_complex=no
16580 fi
16581 rm -f conftest.err conftest.$ac_objext \
16582       conftest$ac_exeext conftest.$ac_ext
16583 fi
16584   fi
16585   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16586 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16587   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16588
16589 cat >>confdefs.h <<\_ACEOF
16590 #define _GLIBCXX_USE_C99_COMPLEX 1
16591 _ACEOF
16592
16593   fi
16594
16595   # Check for the existence in <stdio.h> of vscanf, et. al.
16596   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16597 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16598   if test "${glibcxx_cv_c99_stdio+set}" = set; then
16599   echo $ECHO_N "(cached) $ECHO_C" >&6
16600 else
16601
16602   if test x$gcc_no_link = xyes; then
16603   cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h.  */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h.  */
16609 #include <stdio.h>
16610       #include <stdarg.h>
16611       void foo(char* fmt, ...)
16612       {
16613         va_list args; va_start(args, fmt);
16614         vfscanf(stderr, "%i", args);
16615         vscanf("%i", args);
16616         vsnprintf(fmt, 0, "%i", args);
16617         vsscanf(fmt, "%i", args);
16618       }
16619 int
16620 main ()
16621 {
16622 snprintf("12", 0, "%i");
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629   (eval $ac_compile) 2>conftest.er1
16630   ac_status=$?
16631   grep -v '^ *+' conftest.er1 >conftest.err
16632   rm -f conftest.er1
16633   cat conftest.err >&5
16634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635   (exit $ac_status); } &&
16636          { ac_try='test -z "$ac_cxx_werror_flag"
16637                          || test ! -s conftest.err'
16638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639   (eval $ac_try) 2>&5
16640   ac_status=$?
16641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642   (exit $ac_status); }; } &&
16643          { ac_try='test -s conftest.$ac_objext'
16644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645   (eval $ac_try) 2>&5
16646   ac_status=$?
16647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648   (exit $ac_status); }; }; then
16649   glibcxx_cv_c99_stdio=yes
16650 else
16651   echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16653
16654 glibcxx_cv_c99_stdio=no
16655 fi
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658   if test x$gcc_no_link = xyes; then
16659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16661    { (exit 1); exit 1; }; }
16662 fi
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h.  */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h.  */
16669 #include <stdio.h>
16670       #include <stdarg.h>
16671       void foo(char* fmt, ...)
16672       {
16673         va_list args; va_start(args, fmt);
16674         vfscanf(stderr, "%i", args);
16675         vscanf("%i", args);
16676         vsnprintf(fmt, 0, "%i", args);
16677         vsscanf(fmt, "%i", args);
16678       }
16679 int
16680 main ()
16681 {
16682 snprintf("12", 0, "%i");
16683   ;
16684   return 0;
16685 }
16686 _ACEOF
16687 rm -f conftest.$ac_objext conftest$ac_exeext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16689   (eval $ac_link) 2>conftest.er1
16690   ac_status=$?
16691   grep -v '^ *+' conftest.er1 >conftest.err
16692   rm -f conftest.er1
16693   cat conftest.err >&5
16694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695   (exit $ac_status); } &&
16696          { ac_try='test -z "$ac_cxx_werror_flag"
16697                          || test ! -s conftest.err'
16698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699   (eval $ac_try) 2>&5
16700   ac_status=$?
16701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702   (exit $ac_status); }; } &&
16703          { ac_try='test -s conftest$ac_exeext'
16704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705   (eval $ac_try) 2>&5
16706   ac_status=$?
16707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708   (exit $ac_status); }; }; then
16709   glibcxx_cv_c99_stdio=yes
16710 else
16711   echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16713
16714 glibcxx_cv_c99_stdio=no
16715 fi
16716 rm -f conftest.err conftest.$ac_objext \
16717       conftest$ac_exeext conftest.$ac_ext
16718 fi
16719
16720 fi
16721
16722   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16723 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16724
16725   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16726   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16727 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16728   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16729   echo $ECHO_N "(cached) $ECHO_C" >&6
16730 else
16731
16732   if test x$gcc_no_link = xyes; then
16733   cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h.  */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h.  */
16739 #include <stdlib.h>
16740       volatile float f;
16741       volatile long double ld;
16742       volatile unsigned long long ll;
16743       lldiv_t mydivt;
16744 int
16745 main ()
16746 {
16747 char* tmp;
16748       f = strtof("gnu", &tmp);
16749       ld = strtold("gnu", &tmp);
16750       ll = strtoll("gnu", &tmp, 10);
16751       ll = strtoull("gnu", &tmp, 10);
16752       ll = llabs(10);
16753       mydivt = lldiv(10,1);
16754       ll = mydivt.quot;
16755       ll = mydivt.rem;
16756       ll = atoll("10");
16757       _Exit(0);
16758
16759   ;
16760   return 0;
16761 }
16762 _ACEOF
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765   (eval $ac_compile) 2>conftest.er1
16766   ac_status=$?
16767   grep -v '^ *+' conftest.er1 >conftest.err
16768   rm -f conftest.er1
16769   cat conftest.err >&5
16770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771   (exit $ac_status); } &&
16772          { ac_try='test -z "$ac_cxx_werror_flag"
16773                          || test ! -s conftest.err'
16774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775   (eval $ac_try) 2>&5
16776   ac_status=$?
16777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778   (exit $ac_status); }; } &&
16779          { ac_try='test -s conftest.$ac_objext'
16780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781   (eval $ac_try) 2>&5
16782   ac_status=$?
16783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784   (exit $ac_status); }; }; then
16785   glibcxx_cv_c99_stdlib=yes
16786 else
16787   echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 glibcxx_cv_c99_stdlib=no
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 else
16794   if test x$gcc_no_link = xyes; then
16795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797    { (exit 1); exit 1; }; }
16798 fi
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h.  */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h.  */
16805 #include <stdlib.h>
16806       volatile float f;
16807       volatile long double ld;
16808       volatile unsigned long long ll;
16809       lldiv_t mydivt;
16810 int
16811 main ()
16812 {
16813 char* tmp;
16814       f = strtof("gnu", &tmp);
16815       ld = strtold("gnu", &tmp);
16816       ll = strtoll("gnu", &tmp, 10);
16817       ll = strtoull("gnu", &tmp, 10);
16818       ll = llabs(10);
16819       mydivt = lldiv(10,1);
16820       ll = mydivt.quot;
16821       ll = mydivt.rem;
16822       ll = atoll("10");
16823       _Exit(0);
16824
16825   ;
16826   return 0;
16827 }
16828 _ACEOF
16829 rm -f conftest.$ac_objext conftest$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831   (eval $ac_link) 2>conftest.er1
16832   ac_status=$?
16833   grep -v '^ *+' conftest.er1 >conftest.err
16834   rm -f conftest.er1
16835   cat conftest.err >&5
16836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837   (exit $ac_status); } &&
16838          { ac_try='test -z "$ac_cxx_werror_flag"
16839                          || test ! -s conftest.err'
16840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841   (eval $ac_try) 2>&5
16842   ac_status=$?
16843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844   (exit $ac_status); }; } &&
16845          { ac_try='test -s conftest$ac_exeext'
16846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847   (eval $ac_try) 2>&5
16848   ac_status=$?
16849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850   (exit $ac_status); }; }; then
16851   glibcxx_cv_c99_stdlib=yes
16852 else
16853   echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 glibcxx_cv_c99_stdlib=no
16857 fi
16858 rm -f conftest.err conftest.$ac_objext \
16859       conftest$ac_exeext conftest.$ac_ext
16860 fi
16861
16862 fi
16863
16864   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16865 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16866
16867   # Check for the existence in <wchar.h> of wcstold, etc.
16868   glibcxx_cv_c99_wchar=no;
16869   if test x"$ac_has_wchar_h" = xyes &&
16870      test x"$ac_has_wctype_h" = xyes; then
16871     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16872 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16873     cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h.  */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h.  */
16879 #include <wchar.h>
16880                     namespace test
16881                     {
16882                       using ::wcstold;
16883                       using ::wcstoll;
16884                       using ::wcstoull;
16885                     }
16886
16887 int
16888 main ()
16889 {
16890
16891   ;
16892   return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897   (eval $ac_compile) 2>conftest.er1
16898   ac_status=$?
16899   grep -v '^ *+' conftest.er1 >conftest.err
16900   rm -f conftest.er1
16901   cat conftest.err >&5
16902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903   (exit $ac_status); } &&
16904          { ac_try='test -z "$ac_cxx_werror_flag"
16905                          || test ! -s conftest.err'
16906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907   (eval $ac_try) 2>&5
16908   ac_status=$?
16909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910   (exit $ac_status); }; } &&
16911          { ac_try='test -s conftest.$ac_objext'
16912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913   (eval $ac_try) 2>&5
16914   ac_status=$?
16915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916   (exit $ac_status); }; }; then
16917   glibcxx_cv_c99_wchar=yes
16918 else
16919   echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 glibcxx_cv_c99_wchar=no
16923 fi
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925
16926     # Checks for wide character functions that may not be present.
16927     # Injection of these is wrapped with guard macros.
16928     # NB: only put functions here, instead of immediately above, if
16929     # absolutely necessary.
16930     cat >conftest.$ac_ext <<_ACEOF
16931 /* confdefs.h.  */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h.  */
16936 #include <wchar.h>
16937                     namespace test { using ::vfwscanf; }
16938 int
16939 main ()
16940 {
16941
16942   ;
16943   return 0;
16944 }
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948   (eval $ac_compile) 2>conftest.er1
16949   ac_status=$?
16950   grep -v '^ *+' conftest.er1 >conftest.err
16951   rm -f conftest.er1
16952   cat conftest.err >&5
16953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954   (exit $ac_status); } &&
16955          { ac_try='test -z "$ac_cxx_werror_flag"
16956                          || test ! -s conftest.err'
16957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958   (eval $ac_try) 2>&5
16959   ac_status=$?
16960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961   (exit $ac_status); }; } &&
16962          { ac_try='test -s conftest.$ac_objext'
16963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964   (eval $ac_try) 2>&5
16965   ac_status=$?
16966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967   (exit $ac_status); }; }; then
16968
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_VFWSCANF 1
16971 _ACEOF
16972
16973 else
16974   echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16976
16977 fi
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16979
16980     cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h.  */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h.  */
16986 #include <wchar.h>
16987                     namespace test { using ::vswscanf; }
16988 int
16989 main ()
16990 {
16991
16992   ;
16993   return 0;
16994 }
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998   (eval $ac_compile) 2>conftest.er1
16999   ac_status=$?
17000   grep -v '^ *+' conftest.er1 >conftest.err
17001   rm -f conftest.er1
17002   cat conftest.err >&5
17003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004   (exit $ac_status); } &&
17005          { ac_try='test -z "$ac_cxx_werror_flag"
17006                          || test ! -s conftest.err'
17007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008   (eval $ac_try) 2>&5
17009   ac_status=$?
17010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011   (exit $ac_status); }; } &&
17012          { ac_try='test -s conftest.$ac_objext'
17013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014   (eval $ac_try) 2>&5
17015   ac_status=$?
17016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017   (exit $ac_status); }; }; then
17018
17019 cat >>confdefs.h <<\_ACEOF
17020 #define HAVE_VSWSCANF 1
17021 _ACEOF
17022
17023 else
17024   echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17026
17027 fi
17028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17029
17030     cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h.  */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h.  */
17036 #include <wchar.h>
17037                     namespace test { using ::vwscanf; }
17038 int
17039 main ()
17040 {
17041
17042   ;
17043   return 0;
17044 }
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048   (eval $ac_compile) 2>conftest.er1
17049   ac_status=$?
17050   grep -v '^ *+' conftest.er1 >conftest.err
17051   rm -f conftest.er1
17052   cat conftest.err >&5
17053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054   (exit $ac_status); } &&
17055          { ac_try='test -z "$ac_cxx_werror_flag"
17056                          || test ! -s conftest.err'
17057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058   (eval $ac_try) 2>&5
17059   ac_status=$?
17060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061   (exit $ac_status); }; } &&
17062          { ac_try='test -s conftest.$ac_objext'
17063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064   (eval $ac_try) 2>&5
17065   ac_status=$?
17066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067   (exit $ac_status); }; }; then
17068
17069 cat >>confdefs.h <<\_ACEOF
17070 #define HAVE_VWSCANF 1
17071 _ACEOF
17072
17073 else
17074   echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17076
17077 fi
17078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17079
17080     cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h.  */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h.  */
17086 #include <wchar.h>
17087                     namespace test { using ::wcstof; }
17088 int
17089 main ()
17090 {
17091
17092   ;
17093   return 0;
17094 }
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098   (eval $ac_compile) 2>conftest.er1
17099   ac_status=$?
17100   grep -v '^ *+' conftest.er1 >conftest.err
17101   rm -f conftest.er1
17102   cat conftest.err >&5
17103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104   (exit $ac_status); } &&
17105          { ac_try='test -z "$ac_cxx_werror_flag"
17106                          || test ! -s conftest.err'
17107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108   (eval $ac_try) 2>&5
17109   ac_status=$?
17110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111   (exit $ac_status); }; } &&
17112          { ac_try='test -s conftest.$ac_objext'
17113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114   (eval $ac_try) 2>&5
17115   ac_status=$?
17116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117   (exit $ac_status); }; }; then
17118
17119 cat >>confdefs.h <<\_ACEOF
17120 #define HAVE_WCSTOF 1
17121 _ACEOF
17122
17123 else
17124   echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 fi
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130     cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h.  */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h.  */
17136 #include <wctype.h>
17137 int
17138 main ()
17139 {
17140  wint_t t; int i = iswblank(t);
17141   ;
17142   return 0;
17143 }
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147   (eval $ac_compile) 2>conftest.er1
17148   ac_status=$?
17149   grep -v '^ *+' conftest.er1 >conftest.err
17150   rm -f conftest.er1
17151   cat conftest.err >&5
17152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153   (exit $ac_status); } &&
17154          { ac_try='test -z "$ac_cxx_werror_flag"
17155                          || test ! -s conftest.err'
17156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157   (eval $ac_try) 2>&5
17158   ac_status=$?
17159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160   (exit $ac_status); }; } &&
17161          { ac_try='test -s conftest.$ac_objext'
17162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163   (eval $ac_try) 2>&5
17164   ac_status=$?
17165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166   (exit $ac_status); }; }; then
17167
17168 cat >>confdefs.h <<\_ACEOF
17169 #define HAVE_ISWBLANK 1
17170 _ACEOF
17171
17172 else
17173   echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 fi
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178
17179     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17180 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17181   fi
17182
17183   # Option parsed, now set things appropriately.
17184   if test x"$glibcxx_cv_c99_math" = x"no" ||
17185      test x"$glibcxx_cv_c99_complex" = x"no" ||
17186      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17187      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17188      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17189     enable_c99=no;
17190   else
17191
17192 cat >>confdefs.h <<\_ACEOF
17193 #define _GLIBCXX_USE_C99 1
17194 _ACEOF
17195
17196   fi
17197
17198   gcc_no_link="$ac_save_gcc_no_link"
17199   LIBS="$ac_save_LIBS"
17200   CXXFLAGS="$ac_save_CXXFLAGS"
17201   ac_ext=c
17202 ac_cpp='$CPP $CPPFLAGS'
17203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17206
17207   fi
17208
17209   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17210 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17211   echo "$as_me:$LINENO: result: $enable_c99" >&5
17212 echo "${ECHO_T}$enable_c99" >&6
17213
17214
17215    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17216 if test "${enable_concept_checks+set}" = set; then
17217   enableval="$enable_concept_checks"
17218
17219       case "$enableval" in
17220        yes|no) ;;
17221        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17222 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17223    { (exit 1); exit 1; }; } ;;
17224       esac
17225
17226 else
17227   enable_concept_checks=no
17228 fi;
17229
17230   if test $enable_concept_checks = yes; then
17231
17232 cat >>confdefs.h <<\_ACEOF
17233 #define _GLIBCXX_CONCEPT_CHECKS 1
17234 _ACEOF
17235
17236   fi
17237
17238
17239    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17240 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17241   enableval="$enable_libstdcxx_debug_flags"
17242   case "x$enable_libstdcxx_debug_flags" in
17243       xno | x)    enable_libstdcxx_debug_flags= ;;
17244       x-*)        ;;
17245       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17246 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17247    { (exit 1); exit 1; }; } ;;
17248      esac
17249 else
17250   enable_libstdcxx_debug_flags="-g3 -O0"
17251 fi;
17252
17253
17254   # Option parsed, now set things appropriately
17255   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17256
17257
17258   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17259 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17260
17261
17262   echo "$as_me:$LINENO: checking for additional debug build" >&5
17263 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17264    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17265 if test "${enable_libstdcxx_debug+set}" = set; then
17266   enableval="$enable_libstdcxx_debug"
17267
17268       case "$enableval" in
17269        yes|no) ;;
17270        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17271 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17272    { (exit 1); exit 1; }; } ;;
17273       esac
17274
17275 else
17276   enable_libstdcxx_debug=no
17277 fi;
17278
17279   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17280 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17281
17282
17283
17284
17285   enable_parallel=no;
17286
17287   # See if configured libgomp/omp.h exists. (libgomp may be in
17288   # noconfigdirs but not explicitly disabled.)
17289   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17290     enable_parallel=yes;
17291   else
17292     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17293 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17294   fi
17295
17296   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17297 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17298   echo "$as_me:$LINENO: result: $enable_parallel" >&5
17299 echo "${ECHO_T}$enable_parallel" >&6
17300
17301
17302   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17303 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17304    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17305 if test "${enable_cxx_flags+set}" = set; then
17306   enableval="$enable_cxx_flags"
17307   case "x$enable_cxx_flags" in
17308       xno | x)   enable_cxx_flags= ;;
17309       x-*)       ;;
17310       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17311 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17312    { (exit 1); exit 1; }; } ;;
17313      esac
17314 else
17315   enable_cxx_flags=
17316 fi;
17317
17318
17319   # Run through flags (either default or command-line) and set anything
17320   # extra (e.g., #defines) that must accompany particular g++ options.
17321   if test -n "$enable_cxx_flags"; then
17322     for f in $enable_cxx_flags; do
17323       case "$f" in
17324         -fhonor-std)  ;;
17325         -*)  ;;
17326         *)   # and we're trying to pass /what/ exactly?
17327              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17328 echo "$as_me: error: compiler flags start with a -" >&2;}
17329    { (exit 1); exit 1; }; } ;;
17330       esac
17331     done
17332   fi
17333
17334   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17335   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17336 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17337
17338
17339
17340    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17341 if test "${enable_fully_dynamic_string+set}" = set; then
17342   enableval="$enable_fully_dynamic_string"
17343
17344       case "$enableval" in
17345        yes|no) ;;
17346        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17347 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17348    { (exit 1); exit 1; }; } ;;
17349       esac
17350
17351 else
17352   enable_fully_dynamic_string=no
17353 fi;
17354
17355   if test $enable_fully_dynamic_string = yes; then
17356
17357 cat >>confdefs.h <<\_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17359 _ACEOF
17360
17361   fi
17362
17363
17364 # Checks for operating systems support that don't require linking.
17365
17366
17367 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17368 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17369 if test "${glibcxx_cv_system_error1+set}" = set; then
17370   echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h.  */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h.  */
17379 #include <errno.h>
17380 int
17381 main ()
17382 {
17383 int i = EOWNERDEAD;
17384   ;
17385   return 0;
17386 }
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390   (eval $ac_compile) 2>conftest.er1
17391   ac_status=$?
17392   grep -v '^ *+' conftest.er1 >conftest.err
17393   rm -f conftest.er1
17394   cat conftest.err >&5
17395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396   (exit $ac_status); } &&
17397          { ac_try='test -z "$ac_c_werror_flag"
17398                          || test ! -s conftest.err'
17399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400   (eval $ac_try) 2>&5
17401   ac_status=$?
17402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403   (exit $ac_status); }; } &&
17404          { ac_try='test -s conftest.$ac_objext'
17405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406   (eval $ac_try) 2>&5
17407   ac_status=$?
17408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409   (exit $ac_status); }; }; then
17410   glibcxx_cv_system_error1=yes
17411 else
17412   echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 glibcxx_cv_system_error1=no
17416 fi
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17418
17419 fi
17420
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17422 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17423 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17424
17425 cat >>confdefs.h <<\_ACEOF
17426 #define HAVE_EOWNERDEAD 1
17427 _ACEOF
17428
17429 fi
17430 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17431 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17432 if test "${glibcxx_cv_system_error2+set}" = set; then
17433   echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h.  */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h.  */
17442 #include <errno.h>
17443 int
17444 main ()
17445 {
17446 int i = ENOTRECOVERABLE;
17447   ;
17448   return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453   (eval $ac_compile) 2>conftest.er1
17454   ac_status=$?
17455   grep -v '^ *+' conftest.er1 >conftest.err
17456   rm -f conftest.er1
17457   cat conftest.err >&5
17458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459   (exit $ac_status); } &&
17460          { ac_try='test -z "$ac_c_werror_flag"
17461                          || test ! -s conftest.err'
17462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463   (eval $ac_try) 2>&5
17464   ac_status=$?
17465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466   (exit $ac_status); }; } &&
17467          { ac_try='test -s conftest.$ac_objext'
17468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469   (eval $ac_try) 2>&5
17470   ac_status=$?
17471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472   (exit $ac_status); }; }; then
17473   glibcxx_cv_system_error2=yes
17474 else
17475   echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17477
17478 glibcxx_cv_system_error2=no
17479 fi
17480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17481
17482 fi
17483
17484 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17485 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17486 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17487
17488 cat >>confdefs.h <<\_ACEOF
17489 #define HAVE_ENOTRECOVERABLE 1
17490 _ACEOF
17491
17492 fi
17493 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17494 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17495 if test "${glibcxx_cv_system_error3+set}" = set; then
17496   echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h.  */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h.  */
17505 #include <errno.h>
17506 int
17507 main ()
17508 {
17509 int i = ENOLINK;
17510   ;
17511   return 0;
17512 }
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516   (eval $ac_compile) 2>conftest.er1
17517   ac_status=$?
17518   grep -v '^ *+' conftest.er1 >conftest.err
17519   rm -f conftest.er1
17520   cat conftest.err >&5
17521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522   (exit $ac_status); } &&
17523          { ac_try='test -z "$ac_c_werror_flag"
17524                          || test ! -s conftest.err'
17525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526   (eval $ac_try) 2>&5
17527   ac_status=$?
17528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529   (exit $ac_status); }; } &&
17530          { ac_try='test -s conftest.$ac_objext'
17531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532   (eval $ac_try) 2>&5
17533   ac_status=$?
17534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535   (exit $ac_status); }; }; then
17536   glibcxx_cv_system_error3=yes
17537 else
17538   echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 glibcxx_cv_system_error3=no
17542 fi
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545 fi
17546
17547 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17548 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17549 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17550
17551 cat >>confdefs.h <<\_ACEOF
17552 #define HAVE_ENOLINK 1
17553 _ACEOF
17554
17555 fi
17556 echo "$as_me:$LINENO: checking for EPROTO" >&5
17557 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17558 if test "${glibcxx_cv_system_error4+set}" = set; then
17559   echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h.  */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h.  */
17568 #include <errno.h>
17569 int
17570 main ()
17571 {
17572 int i = EPROTO;
17573   ;
17574   return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579   (eval $ac_compile) 2>conftest.er1
17580   ac_status=$?
17581   grep -v '^ *+' conftest.er1 >conftest.err
17582   rm -f conftest.er1
17583   cat conftest.err >&5
17584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585   (exit $ac_status); } &&
17586          { ac_try='test -z "$ac_c_werror_flag"
17587                          || test ! -s conftest.err'
17588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589   (eval $ac_try) 2>&5
17590   ac_status=$?
17591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592   (exit $ac_status); }; } &&
17593          { ac_try='test -s conftest.$ac_objext'
17594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595   (eval $ac_try) 2>&5
17596   ac_status=$?
17597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598   (exit $ac_status); }; }; then
17599   glibcxx_cv_system_error4=yes
17600 else
17601   echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17603
17604 glibcxx_cv_system_error4=no
17605 fi
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608 fi
17609
17610 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17611 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17612 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17613
17614 cat >>confdefs.h <<\_ACEOF
17615 #define HAVE_EPROTO 1
17616 _ACEOF
17617
17618 fi
17619 echo "$as_me:$LINENO: checking for ENODATA" >&5
17620 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17621 if test "${glibcxx_cv_system_error5+set}" = set; then
17622   echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h.  */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h.  */
17631 #include <errno.h>
17632 int
17633 main ()
17634 {
17635 int i = ENODATA;
17636   ;
17637   return 0;
17638 }
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642   (eval $ac_compile) 2>conftest.er1
17643   ac_status=$?
17644   grep -v '^ *+' conftest.er1 >conftest.err
17645   rm -f conftest.er1
17646   cat conftest.err >&5
17647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648   (exit $ac_status); } &&
17649          { ac_try='test -z "$ac_c_werror_flag"
17650                          || test ! -s conftest.err'
17651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652   (eval $ac_try) 2>&5
17653   ac_status=$?
17654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655   (exit $ac_status); }; } &&
17656          { ac_try='test -s conftest.$ac_objext'
17657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658   (eval $ac_try) 2>&5
17659   ac_status=$?
17660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661   (exit $ac_status); }; }; then
17662   glibcxx_cv_system_error5=yes
17663 else
17664   echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17666
17667 glibcxx_cv_system_error5=no
17668 fi
17669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672
17673 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17674 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17676
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_ENODATA 1
17679 _ACEOF
17680
17681 fi
17682 echo "$as_me:$LINENO: checking for ENOSR" >&5
17683 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17684 if test "${glibcxx_cv_system_error6+set}" = set; then
17685   echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17687
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h.  */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h.  */
17694 #include <errno.h>
17695 int
17696 main ()
17697 {
17698 int i = ENOSR;
17699   ;
17700   return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705   (eval $ac_compile) 2>conftest.er1
17706   ac_status=$?
17707   grep -v '^ *+' conftest.er1 >conftest.err
17708   rm -f conftest.er1
17709   cat conftest.err >&5
17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711   (exit $ac_status); } &&
17712          { ac_try='test -z "$ac_c_werror_flag"
17713                          || test ! -s conftest.err'
17714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715   (eval $ac_try) 2>&5
17716   ac_status=$?
17717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718   (exit $ac_status); }; } &&
17719          { ac_try='test -s conftest.$ac_objext'
17720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721   (eval $ac_try) 2>&5
17722   ac_status=$?
17723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724   (exit $ac_status); }; }; then
17725   glibcxx_cv_system_error6=yes
17726 else
17727   echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 glibcxx_cv_system_error6=no
17731 fi
17732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17733
17734 fi
17735
17736 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17737 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17738 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17739
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_ENOSR 1
17742 _ACEOF
17743
17744 fi
17745 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17746 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17747 if test "${glibcxx_cv_system_error7+set}" = set; then
17748   echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h.  */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h.  */
17757 #include <errno.h>
17758 int
17759 main ()
17760 {
17761 int i = ENOSTR;
17762   ;
17763   return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768   (eval $ac_compile) 2>conftest.er1
17769   ac_status=$?
17770   grep -v '^ *+' conftest.er1 >conftest.err
17771   rm -f conftest.er1
17772   cat conftest.err >&5
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); } &&
17775          { ac_try='test -z "$ac_c_werror_flag"
17776                          || test ! -s conftest.err'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; } &&
17782          { ac_try='test -s conftest.$ac_objext'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; }; then
17788   glibcxx_cv_system_error7=yes
17789 else
17790   echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 glibcxx_cv_system_error7=no
17794 fi
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17796
17797 fi
17798
17799 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17800 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17801 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17802
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOSTR 1
17805 _ACEOF
17806
17807 fi
17808 echo "$as_me:$LINENO: checking for ETIME" >&5
17809 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17810 if test "${glibcxx_cv_system_error8+set}" = set; then
17811   echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17813
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h.  */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h.  */
17820 #include <errno.h>
17821 int
17822 main ()
17823 {
17824 int i = ETIME;
17825   ;
17826   return 0;
17827 }
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831   (eval $ac_compile) 2>conftest.er1
17832   ac_status=$?
17833   grep -v '^ *+' conftest.er1 >conftest.err
17834   rm -f conftest.er1
17835   cat conftest.err >&5
17836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837   (exit $ac_status); } &&
17838          { ac_try='test -z "$ac_c_werror_flag"
17839                          || test ! -s conftest.err'
17840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841   (eval $ac_try) 2>&5
17842   ac_status=$?
17843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844   (exit $ac_status); }; } &&
17845          { ac_try='test -s conftest.$ac_objext'
17846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847   (eval $ac_try) 2>&5
17848   ac_status=$?
17849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850   (exit $ac_status); }; }; then
17851   glibcxx_cv_system_error8=yes
17852 else
17853   echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17855
17856 glibcxx_cv_system_error8=no
17857 fi
17858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17859
17860 fi
17861
17862 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17863 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17864 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17865
17866 cat >>confdefs.h <<\_ACEOF
17867 #define HAVE_ETIME 1
17868 _ACEOF
17869
17870 fi
17871 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17872 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17873 if test "${glibcxx_cv_system_error9+set}" = set; then
17874   echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17876
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h.  */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h.  */
17883 #include <errno.h>
17884 int
17885 main ()
17886 {
17887 int i = EBADMSG;
17888   ;
17889   return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894   (eval $ac_compile) 2>conftest.er1
17895   ac_status=$?
17896   grep -v '^ *+' conftest.er1 >conftest.err
17897   rm -f conftest.er1
17898   cat conftest.err >&5
17899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900   (exit $ac_status); } &&
17901          { ac_try='test -z "$ac_c_werror_flag"
17902                          || test ! -s conftest.err'
17903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904   (eval $ac_try) 2>&5
17905   ac_status=$?
17906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907   (exit $ac_status); }; } &&
17908          { ac_try='test -s conftest.$ac_objext'
17909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910   (eval $ac_try) 2>&5
17911   ac_status=$?
17912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913   (exit $ac_status); }; }; then
17914   glibcxx_cv_system_error9=yes
17915 else
17916   echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 glibcxx_cv_system_error9=no
17920 fi
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17922
17923 fi
17924
17925 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17926 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17927 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17928
17929 cat >>confdefs.h <<\_ACEOF
17930 #define HAVE_EBADMSG 1
17931 _ACEOF
17932
17933 fi
17934 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17935 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17936 if test "${glibcxx_cv_system_error10+set}" = set; then
17937   echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h.  */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h.  */
17946 #include <errno.h>
17947 int
17948 main ()
17949 {
17950 int i = ECANCELED;
17951   ;
17952   return 0;
17953 }
17954 _ACEOF
17955 rm -f conftest.$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957   (eval $ac_compile) 2>conftest.er1
17958   ac_status=$?
17959   grep -v '^ *+' conftest.er1 >conftest.err
17960   rm -f conftest.er1
17961   cat conftest.err >&5
17962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963   (exit $ac_status); } &&
17964          { ac_try='test -z "$ac_c_werror_flag"
17965                          || test ! -s conftest.err'
17966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967   (eval $ac_try) 2>&5
17968   ac_status=$?
17969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970   (exit $ac_status); }; } &&
17971          { ac_try='test -s conftest.$ac_objext'
17972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973   (eval $ac_try) 2>&5
17974   ac_status=$?
17975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976   (exit $ac_status); }; }; then
17977   glibcxx_cv_system_error10=yes
17978 else
17979   echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 glibcxx_cv_system_error10=no
17983 fi
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17985
17986 fi
17987
17988 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17989 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17990 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17991
17992 cat >>confdefs.h <<\_ACEOF
17993 #define HAVE_ECANCELED 1
17994 _ACEOF
17995
17996 fi
17997 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17998 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17999 if test "${glibcxx_cv_system_error11+set}" = set; then
18000   echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18002
18003 cat >conftest.$ac_ext <<_ACEOF
18004 /* confdefs.h.  */
18005 _ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h.  */
18009 #include <errno.h>
18010 int
18011 main ()
18012 {
18013 int i = EOVERFLOW;
18014   ;
18015   return 0;
18016 }
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020   (eval $ac_compile) 2>conftest.er1
18021   ac_status=$?
18022   grep -v '^ *+' conftest.er1 >conftest.err
18023   rm -f conftest.er1
18024   cat conftest.err >&5
18025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026   (exit $ac_status); } &&
18027          { ac_try='test -z "$ac_c_werror_flag"
18028                          || test ! -s conftest.err'
18029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030   (eval $ac_try) 2>&5
18031   ac_status=$?
18032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033   (exit $ac_status); }; } &&
18034          { ac_try='test -s conftest.$ac_objext'
18035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036   (eval $ac_try) 2>&5
18037   ac_status=$?
18038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039   (exit $ac_status); }; }; then
18040   glibcxx_cv_system_error11=yes
18041 else
18042   echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18044
18045 glibcxx_cv_system_error11=no
18046 fi
18047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18048
18049 fi
18050
18051 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18052 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18053 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18054
18055 cat >>confdefs.h <<\_ACEOF
18056 #define HAVE_EOVERFLOW 1
18057 _ACEOF
18058
18059 fi
18060 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18061 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18062 if test "${glibcxx_cv_system_error12+set}" = set; then
18063   echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h.  */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h.  */
18072 #include <errno.h>
18073 int
18074 main ()
18075 {
18076 int i = ENOTSUP;
18077   ;
18078   return 0;
18079 }
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083   (eval $ac_compile) 2>conftest.er1
18084   ac_status=$?
18085   grep -v '^ *+' conftest.er1 >conftest.err
18086   rm -f conftest.er1
18087   cat conftest.err >&5
18088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089   (exit $ac_status); } &&
18090          { ac_try='test -z "$ac_c_werror_flag"
18091                          || test ! -s conftest.err'
18092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093   (eval $ac_try) 2>&5
18094   ac_status=$?
18095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096   (exit $ac_status); }; } &&
18097          { ac_try='test -s conftest.$ac_objext'
18098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099   (eval $ac_try) 2>&5
18100   ac_status=$?
18101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102   (exit $ac_status); }; }; then
18103   glibcxx_cv_system_error12=yes
18104 else
18105   echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 glibcxx_cv_system_error12=no
18109 fi
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18111
18112 fi
18113
18114 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18115 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18116 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18117
18118 cat >>confdefs.h <<\_ACEOF
18119 #define HAVE_ENOTSUP 1
18120 _ACEOF
18121
18122 fi
18123 echo "$as_me:$LINENO: checking for EIDRM" >&5
18124 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18125 if test "${glibcxx_cv_system_error13+set}" = set; then
18126   echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h.  */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h.  */
18135 #include <errno.h>
18136 int
18137 main ()
18138 {
18139 int i = EIDRM;
18140   ;
18141   return 0;
18142 }
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146   (eval $ac_compile) 2>conftest.er1
18147   ac_status=$?
18148   grep -v '^ *+' conftest.er1 >conftest.err
18149   rm -f conftest.er1
18150   cat conftest.err >&5
18151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152   (exit $ac_status); } &&
18153          { ac_try='test -z "$ac_c_werror_flag"
18154                          || test ! -s conftest.err'
18155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156   (eval $ac_try) 2>&5
18157   ac_status=$?
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); }; } &&
18160          { ac_try='test -s conftest.$ac_objext'
18161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162   (eval $ac_try) 2>&5
18163   ac_status=$?
18164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165   (exit $ac_status); }; }; then
18166   glibcxx_cv_system_error13=yes
18167 else
18168   echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 glibcxx_cv_system_error13=no
18172 fi
18173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18178 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18179 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18180
18181 cat >>confdefs.h <<\_ACEOF
18182 #define HAVE_EIDRM 1
18183 _ACEOF
18184
18185 fi
18186 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18187 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18188 if test "${glibcxx_cv_system_error14+set}" = set; then
18189   echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h.  */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h.  */
18198 #include <errno.h>
18199 int
18200 main ()
18201 {
18202 int i = ETXTBSY;
18203   ;
18204   return 0;
18205 }
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209   (eval $ac_compile) 2>conftest.er1
18210   ac_status=$?
18211   grep -v '^ *+' conftest.er1 >conftest.err
18212   rm -f conftest.er1
18213   cat conftest.err >&5
18214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215   (exit $ac_status); } &&
18216          { ac_try='test -z "$ac_c_werror_flag"
18217                          || test ! -s conftest.err'
18218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219   (eval $ac_try) 2>&5
18220   ac_status=$?
18221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222   (exit $ac_status); }; } &&
18223          { ac_try='test -s conftest.$ac_objext'
18224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225   (eval $ac_try) 2>&5
18226   ac_status=$?
18227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228   (exit $ac_status); }; }; then
18229   glibcxx_cv_system_error14=yes
18230 else
18231   echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18233
18234 glibcxx_cv_system_error14=no
18235 fi
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18237
18238 fi
18239
18240 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18241 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18242 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18243
18244 cat >>confdefs.h <<\_ACEOF
18245 #define HAVE_ETXTBSY 1
18246 _ACEOF
18247
18248 fi
18249
18250
18251
18252 # For common values of EOF, SEEK_CUR, SEEK_END.
18253
18254
18255   echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18256 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
18257   if test "${glibcxx_cv_stdio_macros+set}" = set; then
18258   echo $ECHO_N "(cached) $ECHO_C" >&6
18259 else
18260
18261   cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h.  */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h.  */
18267 #include <stdio.h>
18268 int
18269 main ()
18270 {
18271 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18272                     unusual values...
18273                   #endif
18274
18275   ;
18276   return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281   (eval $ac_compile) 2>conftest.er1
18282   ac_status=$?
18283   grep -v '^ *+' conftest.er1 >conftest.err
18284   rm -f conftest.er1
18285   cat conftest.err >&5
18286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287   (exit $ac_status); } &&
18288          { ac_try='test -z "$ac_c_werror_flag"
18289                          || test ! -s conftest.err'
18290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291   (eval $ac_try) 2>&5
18292   ac_status=$?
18293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294   (exit $ac_status); }; } &&
18295          { ac_try='test -s conftest.$ac_objext'
18296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297   (eval $ac_try) 2>&5
18298   ac_status=$?
18299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300   (exit $ac_status); }; }; then
18301   glibcxx_cv_stdio_macros=yes
18302 else
18303   echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18305
18306 glibcxx_cv_stdio_macros=no
18307 fi
18308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18309
18310 fi
18311
18312   echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
18313 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
18314   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18315
18316 cat >>confdefs.h <<\_ACEOF
18317 #define _GLIBCXX_STDIO_MACROS 1
18318 _ACEOF
18319
18320   fi
18321
18322
18323
18324 # Only do link tests if native. Else, hardcode.
18325 if $GLIBCXX_IS_NATIVE; then
18326
18327   # We can do more elaborate tests that assume a working linker.
18328   CANADIAN=no
18329
18330   # Check for available headers.
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18346   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18347   sys/types.h sys/ipc.h sys/sem.h
18348 do
18349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18351   echo "$as_me:$LINENO: checking for $ac_header" >&5
18352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18354   echo $ECHO_N "(cached) $ECHO_C" >&6
18355 fi
18356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18358 else
18359   # Is the header compilable?
18360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h.  */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h.  */
18368 $ac_includes_default
18369 #include <$ac_header>
18370 _ACEOF
18371 rm -f conftest.$ac_objext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18373   (eval $ac_compile) 2>conftest.er1
18374   ac_status=$?
18375   grep -v '^ *+' conftest.er1 >conftest.err
18376   rm -f conftest.er1
18377   cat conftest.err >&5
18378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379   (exit $ac_status); } &&
18380          { ac_try='test -z "$ac_c_werror_flag"
18381                          || test ! -s conftest.err'
18382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383   (eval $ac_try) 2>&5
18384   ac_status=$?
18385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386   (exit $ac_status); }; } &&
18387          { ac_try='test -s conftest.$ac_objext'
18388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389   (eval $ac_try) 2>&5
18390   ac_status=$?
18391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392   (exit $ac_status); }; }; then
18393   ac_header_compiler=yes
18394 else
18395   echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398 ac_header_compiler=no
18399 fi
18400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18402 echo "${ECHO_T}$ac_header_compiler" >&6
18403
18404 # Is the header present?
18405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18407 cat >conftest.$ac_ext <<_ACEOF
18408 /* confdefs.h.  */
18409 _ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h.  */
18413 #include <$ac_header>
18414 _ACEOF
18415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18416   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18417   ac_status=$?
18418   grep -v '^ *+' conftest.er1 >conftest.err
18419   rm -f conftest.er1
18420   cat conftest.err >&5
18421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422   (exit $ac_status); } >/dev/null; then
18423   if test -s conftest.err; then
18424     ac_cpp_err=$ac_c_preproc_warn_flag
18425     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18426   else
18427     ac_cpp_err=
18428   fi
18429 else
18430   ac_cpp_err=yes
18431 fi
18432 if test -z "$ac_cpp_err"; then
18433   ac_header_preproc=yes
18434 else
18435   echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18437
18438   ac_header_preproc=no
18439 fi
18440 rm -f conftest.err conftest.$ac_ext
18441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18442 echo "${ECHO_T}$ac_header_preproc" >&6
18443
18444 # So?  What about this header?
18445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18446   yes:no: )
18447     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18449     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18451     ac_header_preproc=yes
18452     ;;
18453   no:yes:* )
18454     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18456     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18457 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18458     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18460     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18461 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18462     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18464     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18466     (
18467       cat <<\_ASBOX
18468 ## ----------------------------------------- ##
18469 ## Report this to the package-unused lists.  ##
18470 ## ----------------------------------------- ##
18471 _ASBOX
18472     ) |
18473       sed "s/^/$as_me: WARNING:     /" >&2
18474     ;;
18475 esac
18476 echo "$as_me:$LINENO: checking for $ac_header" >&5
18477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18479   echo $ECHO_N "(cached) $ECHO_C" >&6
18480 else
18481   eval "$as_ac_Header=\$ac_header_preproc"
18482 fi
18483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18485
18486 fi
18487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18488   cat >>confdefs.h <<_ACEOF
18489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18490 _ACEOF
18491
18492 fi
18493
18494 done
18495
18496
18497
18498
18499 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18500 if test "${with_gnu_ld+set}" = set; then
18501   withval="$with_gnu_ld"
18502   test "$withval" = no || with_gnu_ld=yes
18503 else
18504   with_gnu_ld=no
18505 fi;
18506 ac_prog=ld
18507 if test "$GCC" = yes; then
18508   # Check if gcc -print-prog-name=ld gives a path.
18509   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18510 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18511   case $host in
18512   *-*-mingw*)
18513     # gcc leaves a trailing carriage return which upsets mingw
18514     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18515   *)
18516     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18517   esac
18518   case $ac_prog in
18519     # Accept absolute paths.
18520     [\\/]* | ?:[\\/]*)
18521       re_direlt='/[^/][^/]*/\.\./'
18522       # Canonicalize the pathname of ld
18523       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18524       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18525         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18526       done
18527       test -z "$LD" && LD="$ac_prog"
18528       ;;
18529   "")
18530     # If it fails, then pretend we aren't using GCC.
18531     ac_prog=ld
18532     ;;
18533   *)
18534     # If it is relative, then search for the first ld in PATH.
18535     with_gnu_ld=unknown
18536     ;;
18537   esac
18538 elif test "$with_gnu_ld" = yes; then
18539   echo "$as_me:$LINENO: checking for GNU ld" >&5
18540 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18541 else
18542   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18543 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18544 fi
18545 if test "${lt_cv_path_LD+set}" = set; then
18546   echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548   if test -z "$LD"; then
18549   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18550   for ac_dir in $PATH; do
18551     IFS="$lt_save_ifs"
18552     test -z "$ac_dir" && ac_dir=.
18553     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18554       lt_cv_path_LD="$ac_dir/$ac_prog"
18555       # Check to see if the program is GNU ld.  I'd rather use --version,
18556       # but apparently some variants of GNU ld only accept -v.
18557       # Break only if it was the GNU/non-GNU ld that we prefer.
18558       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18559       *GNU* | *'with BFD'*)
18560         test "$with_gnu_ld" != no && break
18561         ;;
18562       *)
18563         test "$with_gnu_ld" != yes && break
18564         ;;
18565       esac
18566     fi
18567   done
18568   IFS="$lt_save_ifs"
18569 else
18570   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18571 fi
18572 fi
18573
18574 LD="$lt_cv_path_LD"
18575 if test -n "$LD"; then
18576   echo "$as_me:$LINENO: result: $LD" >&5
18577 echo "${ECHO_T}$LD" >&6
18578 else
18579   echo "$as_me:$LINENO: result: no" >&5
18580 echo "${ECHO_T}no" >&6
18581 fi
18582 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18583 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18584    { (exit 1); exit 1; }; }
18585 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18586 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18587 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18588   echo $ECHO_N "(cached) $ECHO_C" >&6
18589 else
18590   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18591 case `$LD -v 2>&1 </dev/null` in
18592 *GNU* | *'with BFD'*)
18593   lt_cv_prog_gnu_ld=yes
18594   ;;
18595 *)
18596   lt_cv_prog_gnu_ld=no
18597   ;;
18598 esac
18599 fi
18600 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18601 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18602 with_gnu_ld=$lt_cv_prog_gnu_ld
18603
18604
18605
18606
18607
18608
18609
18610   # If we're not using GNU ld, then there's no point in even trying these
18611   # tests.  Check for that first.  We should have already tested for gld
18612   # by now (in libtool), but require it now just to be safe...
18613   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18614   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18615
18616
18617
18618   # The name set by libtool depends on the version of libtool.  Shame on us
18619   # for depending on an impl detail, but c'est la vie.  Older versions used
18620   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18621   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18622   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18623   # set (hence we're using an older libtool), then set it.
18624   if test x${with_gnu_ld+set} != xset; then
18625     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18626       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18627       with_gnu_ld=no
18628     else
18629       with_gnu_ld=$ac_cv_prog_gnu_ld
18630     fi
18631   fi
18632
18633   # Start by getting the version number.  I think the libtool test already
18634   # does some of this, but throws away the result.
18635   glibcxx_ld_is_gold=no
18636   if test x"$with_gnu_ld" = x"yes"; then
18637     echo "$as_me:$LINENO: checking for ld version" >&5
18638 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18639
18640     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18641       glibcxx_ld_is_gold=yes
18642     fi
18643     ldver=`$LD --version 2>/dev/null | head -1 | \
18644            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18645
18646     glibcxx_gnu_ld_version=`echo $ldver | \
18647            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18648     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18649 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18650   fi
18651
18652   # Set --gc-sections.
18653   glibcxx_have_gc_sections=no
18654   if test "$glibcxx_ld_is_gold" = "yes"; then
18655     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18656       glibcxx_have_gc_sections=yes
18657     fi
18658   else
18659     glibcxx_gcsections_min_ld=21602
18660     if test x"$with_gnu_ld" = x"yes" &&
18661         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18662       glibcxx_have_gc_sections=yes
18663     fi
18664   fi
18665   if test "$glibcxx_have_gc_sections" = "yes"; then
18666     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18667     # NB: This flag only works reliably after 2.16.1. Configure tests
18668     # for this are difficult, so hard wire a value that should work.
18669
18670     ac_test_CFLAGS="${CFLAGS+set}"
18671     ac_save_CFLAGS="$CFLAGS"
18672     CFLAGS='-Wl,--gc-sections'
18673
18674     # Check for -Wl,--gc-sections
18675     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18676 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18677     if test x$gcc_no_link = xyes; then
18678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18680    { (exit 1); exit 1; }; }
18681 fi
18682 cat >conftest.$ac_ext <<_ACEOF
18683 /* confdefs.h.  */
18684 _ACEOF
18685 cat confdefs.h >>conftest.$ac_ext
18686 cat >>conftest.$ac_ext <<_ACEOF
18687 /* end confdefs.h.  */
18688  int one(void) { return 1; }
18689      int two(void) { return 2; }
18690
18691 int
18692 main ()
18693 {
18694  two();
18695   ;
18696   return 0;
18697 }
18698 _ACEOF
18699 rm -f conftest.$ac_objext conftest$ac_exeext
18700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18701   (eval $ac_link) 2>conftest.er1
18702   ac_status=$?
18703   grep -v '^ *+' conftest.er1 >conftest.err
18704   rm -f conftest.er1
18705   cat conftest.err >&5
18706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707   (exit $ac_status); } &&
18708          { ac_try='test -z "$ac_c_werror_flag"
18709                          || test ! -s conftest.err'
18710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711   (eval $ac_try) 2>&5
18712   ac_status=$?
18713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714   (exit $ac_status); }; } &&
18715          { ac_try='test -s conftest$ac_exeext'
18716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717   (eval $ac_try) 2>&5
18718   ac_status=$?
18719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720   (exit $ac_status); }; }; then
18721   ac_gcsections=yes
18722 else
18723   echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18725
18726 ac_gcsections=no
18727 fi
18728 rm -f conftest.err conftest.$ac_objext \
18729       conftest$ac_exeext conftest.$ac_ext
18730     if test "$ac_gcsections" = "yes"; then
18731       rm -f conftest.c
18732       touch conftest.c
18733       if $CC -c conftest.c; then
18734         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18735            grep "Warning: gc-sections option ignored" > /dev/null; then
18736           ac_gcsections=no
18737         fi
18738       fi
18739       rm -f conftest.c conftest.o conftest
18740     fi
18741     if test "$ac_gcsections" = "yes"; then
18742       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18743     fi
18744     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18745 echo "${ECHO_T}$ac_gcsections" >&6
18746
18747     if test "$ac_test_CFLAGS" = set; then
18748       CFLAGS="$ac_save_CFLAGS"
18749     else
18750       # this is the suspicious part
18751       CFLAGS=''
18752     fi
18753   fi
18754
18755   # Set -z,relro.
18756   # Note this is only for shared objects.
18757   ac_ld_relro=no
18758   if test x"$with_gnu_ld" = x"yes"; then
18759     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18760 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18761     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18762     if test -n "$cxx_z_relo"; then
18763       OPT_LDFLAGS="-Wl,-z,relro"
18764       ac_ld_relro=yes
18765     fi
18766     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18767 echo "${ECHO_T}$ac_ld_relro" >&6
18768   fi
18769
18770   # Set linker optimization flags.
18771   if test x"$with_gnu_ld" = x"yes"; then
18772     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18773   fi
18774
18775
18776
18777
18778
18779   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18780   ac_save_CXXFLAGS="$CXXFLAGS"
18781   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18782
18783     echo "$as_me:$LINENO: checking for sin in -lm" >&5
18784 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18785 if test "${ac_cv_lib_m_sin+set}" = set; then
18786   echo $ECHO_N "(cached) $ECHO_C" >&6
18787 else
18788   ac_check_lib_save_LIBS=$LIBS
18789 LIBS="-lm  $LIBS"
18790 if test x$gcc_no_link = xyes; then
18791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18793    { (exit 1); exit 1; }; }
18794 fi
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h.  */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h.  */
18801
18802 /* Override any gcc2 internal prototype to avoid an error.  */
18803 #ifdef __cplusplus
18804 extern "C"
18805 #endif
18806 /* We use char because int might match the return type of a gcc2
18807    builtin and then its argument prototype would still apply.  */
18808 char sin ();
18809 int
18810 main ()
18811 {
18812 sin ();
18813   ;
18814   return 0;
18815 }
18816 _ACEOF
18817 rm -f conftest.$ac_objext conftest$ac_exeext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18819   (eval $ac_link) 2>conftest.er1
18820   ac_status=$?
18821   grep -v '^ *+' conftest.er1 >conftest.err
18822   rm -f conftest.er1
18823   cat conftest.err >&5
18824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825   (exit $ac_status); } &&
18826          { ac_try='test -z "$ac_c_werror_flag"
18827                          || test ! -s conftest.err'
18828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829   (eval $ac_try) 2>&5
18830   ac_status=$?
18831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832   (exit $ac_status); }; } &&
18833          { ac_try='test -s conftest$ac_exeext'
18834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18835   (eval $ac_try) 2>&5
18836   ac_status=$?
18837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838   (exit $ac_status); }; }; then
18839   ac_cv_lib_m_sin=yes
18840 else
18841   echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.$ac_ext >&5
18843
18844 ac_cv_lib_m_sin=no
18845 fi
18846 rm -f conftest.err conftest.$ac_objext \
18847       conftest$ac_exeext conftest.$ac_ext
18848 LIBS=$ac_check_lib_save_LIBS
18849 fi
18850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18851 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18852 if test $ac_cv_lib_m_sin = yes; then
18853   libm="-lm"
18854 fi
18855
18856   ac_save_LIBS="$LIBS"
18857   LIBS="$LIBS $libm"
18858
18859
18860
18861   echo "$as_me:$LINENO: checking for isinf declaration" >&5
18862 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18863   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18864     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18865   echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18867
18868
18869
18870       ac_ext=cc
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18875
18876       cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h.  */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h.  */
18882 #include <math.h>
18883                       #ifdef HAVE_IEEEFP_H
18884                       #include <ieeefp.h>
18885                       #endif
18886
18887 int
18888 main ()
18889 {
18890  isinf(0);
18891   ;
18892   return 0;
18893 }
18894 _ACEOF
18895 rm -f conftest.$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897   (eval $ac_compile) 2>conftest.er1
18898   ac_status=$?
18899   grep -v '^ *+' conftest.er1 >conftest.err
18900   rm -f conftest.er1
18901   cat conftest.err >&5
18902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903   (exit $ac_status); } &&
18904          { ac_try='test -z "$ac_cxx_werror_flag"
18905                          || test ! -s conftest.err'
18906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907   (eval $ac_try) 2>&5
18908   ac_status=$?
18909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910   (exit $ac_status); }; } &&
18911          { ac_try='test -s conftest.$ac_objext'
18912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913   (eval $ac_try) 2>&5
18914   ac_status=$?
18915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916   (exit $ac_status); }; }; then
18917   glibcxx_cv_func_isinf_use=yes
18918 else
18919   echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 glibcxx_cv_func_isinf_use=no
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925       ac_ext=c
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930
18931
18932 fi
18933
18934   fi
18935   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18936 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18937
18938   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18939
18940 for ac_func in isinf
18941 do
18942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18943 echo "$as_me:$LINENO: checking for $ac_func" >&5
18944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18945 if eval "test \"\${$as_ac_var+set}\" = set"; then
18946   echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948   if test x$gcc_no_link = xyes; then
18949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18951    { (exit 1); exit 1; }; }
18952 fi
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h.  */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h.  */
18959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18960    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18961 #define $ac_func innocuous_$ac_func
18962
18963 /* System header to define __stub macros and hopefully few prototypes,
18964     which can conflict with char $ac_func (); below.
18965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18966     <limits.h> exists even on freestanding compilers.  */
18967
18968 #ifdef __STDC__
18969 # include <limits.h>
18970 #else
18971 # include <assert.h>
18972 #endif
18973
18974 #undef $ac_func
18975
18976 /* Override any gcc2 internal prototype to avoid an error.  */
18977 #ifdef __cplusplus
18978 extern "C"
18979 {
18980 #endif
18981 /* We use char because int might match the return type of a gcc2
18982    builtin and then its argument prototype would still apply.  */
18983 char $ac_func ();
18984 /* The GNU C library defines this for functions which it implements
18985     to always fail with ENOSYS.  Some functions are actually named
18986     something starting with __ and the normal name is an alias.  */
18987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18988 choke me
18989 #else
18990 char (*f) () = $ac_func;
18991 #endif
18992 #ifdef __cplusplus
18993 }
18994 #endif
18995
18996 int
18997 main ()
18998 {
18999 return f != $ac_func;
19000   ;
19001   return 0;
19002 }
19003 _ACEOF
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006   (eval $ac_link) 2>conftest.er1
19007   ac_status=$?
19008   grep -v '^ *+' conftest.er1 >conftest.err
19009   rm -f conftest.er1
19010   cat conftest.err >&5
19011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012   (exit $ac_status); } &&
19013          { ac_try='test -z "$ac_c_werror_flag"
19014                          || test ! -s conftest.err'
19015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016   (eval $ac_try) 2>&5
19017   ac_status=$?
19018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019   (exit $ac_status); }; } &&
19020          { ac_try='test -s conftest$ac_exeext'
19021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022   (eval $ac_try) 2>&5
19023   ac_status=$?
19024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025   (exit $ac_status); }; }; then
19026   eval "$as_ac_var=yes"
19027 else
19028   echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19030
19031 eval "$as_ac_var=no"
19032 fi
19033 rm -f conftest.err conftest.$ac_objext \
19034       conftest$ac_exeext conftest.$ac_ext
19035 fi
19036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19038 if test `eval echo '${'$as_ac_var'}'` = yes; then
19039   cat >>confdefs.h <<_ACEOF
19040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19041 _ACEOF
19042
19043 fi
19044 done
19045
19046   else
19047
19048   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
19049 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
19050   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19051     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
19052   echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054
19055
19056
19057       ac_ext=cc
19058 ac_cpp='$CXXCPP $CPPFLAGS'
19059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19062
19063       cat >conftest.$ac_ext <<_ACEOF
19064 /* confdefs.h.  */
19065 _ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h.  */
19069 #include <math.h>
19070                       #ifdef HAVE_IEEEFP_H
19071                       #include <ieeefp.h>
19072                       #endif
19073
19074 int
19075 main ()
19076 {
19077  _isinf(0);
19078   ;
19079   return 0;
19080 }
19081 _ACEOF
19082 rm -f conftest.$ac_objext
19083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19084   (eval $ac_compile) 2>conftest.er1
19085   ac_status=$?
19086   grep -v '^ *+' conftest.er1 >conftest.err
19087   rm -f conftest.er1
19088   cat conftest.err >&5
19089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090   (exit $ac_status); } &&
19091          { ac_try='test -z "$ac_cxx_werror_flag"
19092                          || test ! -s conftest.err'
19093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094   (eval $ac_try) 2>&5
19095   ac_status=$?
19096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097   (exit $ac_status); }; } &&
19098          { ac_try='test -s conftest.$ac_objext'
19099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100   (eval $ac_try) 2>&5
19101   ac_status=$?
19102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103   (exit $ac_status); }; }; then
19104   glibcxx_cv_func__isinf_use=yes
19105 else
19106   echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19108
19109 glibcxx_cv_func__isinf_use=no
19110 fi
19111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19112       ac_ext=c
19113 ac_cpp='$CPP $CPPFLAGS'
19114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19117
19118
19119 fi
19120
19121   fi
19122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19123 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19124
19125     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19126
19127 for ac_func in _isinf
19128 do
19129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19130 echo "$as_me:$LINENO: checking for $ac_func" >&5
19131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19132 if eval "test \"\${$as_ac_var+set}\" = set"; then
19133   echo $ECHO_N "(cached) $ECHO_C" >&6
19134 else
19135   if test x$gcc_no_link = xyes; then
19136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19138    { (exit 1); exit 1; }; }
19139 fi
19140 cat >conftest.$ac_ext <<_ACEOF
19141 /* confdefs.h.  */
19142 _ACEOF
19143 cat confdefs.h >>conftest.$ac_ext
19144 cat >>conftest.$ac_ext <<_ACEOF
19145 /* end confdefs.h.  */
19146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19148 #define $ac_func innocuous_$ac_func
19149
19150 /* System header to define __stub macros and hopefully few prototypes,
19151     which can conflict with char $ac_func (); below.
19152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19153     <limits.h> exists even on freestanding compilers.  */
19154
19155 #ifdef __STDC__
19156 # include <limits.h>
19157 #else
19158 # include <assert.h>
19159 #endif
19160
19161 #undef $ac_func
19162
19163 /* Override any gcc2 internal prototype to avoid an error.  */
19164 #ifdef __cplusplus
19165 extern "C"
19166 {
19167 #endif
19168 /* We use char because int might match the return type of a gcc2
19169    builtin and then its argument prototype would still apply.  */
19170 char $ac_func ();
19171 /* The GNU C library defines this for functions which it implements
19172     to always fail with ENOSYS.  Some functions are actually named
19173     something starting with __ and the normal name is an alias.  */
19174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19175 choke me
19176 #else
19177 char (*f) () = $ac_func;
19178 #endif
19179 #ifdef __cplusplus
19180 }
19181 #endif
19182
19183 int
19184 main ()
19185 {
19186 return f != $ac_func;
19187   ;
19188   return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext conftest$ac_exeext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19193   (eval $ac_link) 2>conftest.er1
19194   ac_status=$?
19195   grep -v '^ *+' conftest.er1 >conftest.err
19196   rm -f conftest.er1
19197   cat conftest.err >&5
19198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199   (exit $ac_status); } &&
19200          { ac_try='test -z "$ac_c_werror_flag"
19201                          || test ! -s conftest.err'
19202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203   (eval $ac_try) 2>&5
19204   ac_status=$?
19205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206   (exit $ac_status); }; } &&
19207          { ac_try='test -s conftest$ac_exeext'
19208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209   (eval $ac_try) 2>&5
19210   ac_status=$?
19211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212   (exit $ac_status); }; }; then
19213   eval "$as_ac_var=yes"
19214 else
19215   echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19217
19218 eval "$as_ac_var=no"
19219 fi
19220 rm -f conftest.err conftest.$ac_objext \
19221       conftest$ac_exeext conftest.$ac_ext
19222 fi
19223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19225 if test `eval echo '${'$as_ac_var'}'` = yes; then
19226   cat >>confdefs.h <<_ACEOF
19227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19228 _ACEOF
19229
19230 fi
19231 done
19232
19233     fi
19234   fi
19235
19236
19237
19238
19239
19240
19241   echo "$as_me:$LINENO: checking for isnan declaration" >&5
19242 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19243   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19244     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19245   echo $ECHO_N "(cached) $ECHO_C" >&6
19246 else
19247
19248
19249
19250       ac_ext=cc
19251 ac_cpp='$CXXCPP $CPPFLAGS'
19252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19255
19256       cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h.  */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h.  */
19262 #include <math.h>
19263                       #ifdef HAVE_IEEEFP_H
19264                       #include <ieeefp.h>
19265                       #endif
19266
19267 int
19268 main ()
19269 {
19270  isnan(0);
19271   ;
19272   return 0;
19273 }
19274 _ACEOF
19275 rm -f conftest.$ac_objext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277   (eval $ac_compile) 2>conftest.er1
19278   ac_status=$?
19279   grep -v '^ *+' conftest.er1 >conftest.err
19280   rm -f conftest.er1
19281   cat conftest.err >&5
19282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283   (exit $ac_status); } &&
19284          { ac_try='test -z "$ac_cxx_werror_flag"
19285                          || test ! -s conftest.err'
19286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287   (eval $ac_try) 2>&5
19288   ac_status=$?
19289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290   (exit $ac_status); }; } &&
19291          { ac_try='test -s conftest.$ac_objext'
19292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293   (eval $ac_try) 2>&5
19294   ac_status=$?
19295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296   (exit $ac_status); }; }; then
19297   glibcxx_cv_func_isnan_use=yes
19298 else
19299   echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 glibcxx_cv_func_isnan_use=no
19303 fi
19304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19305       ac_ext=c
19306 ac_cpp='$CPP $CPPFLAGS'
19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19310
19311
19312 fi
19313
19314   fi
19315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19316 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19317
19318   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19319
19320 for ac_func in isnan
19321 do
19322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19323 echo "$as_me:$LINENO: checking for $ac_func" >&5
19324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19325 if eval "test \"\${$as_ac_var+set}\" = set"; then
19326   echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328   if test x$gcc_no_link = xyes; then
19329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19331    { (exit 1); exit 1; }; }
19332 fi
19333 cat >conftest.$ac_ext <<_ACEOF
19334 /* confdefs.h.  */
19335 _ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h.  */
19339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19341 #define $ac_func innocuous_$ac_func
19342
19343 /* System header to define __stub macros and hopefully few prototypes,
19344     which can conflict with char $ac_func (); below.
19345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19346     <limits.h> exists even on freestanding compilers.  */
19347
19348 #ifdef __STDC__
19349 # include <limits.h>
19350 #else
19351 # include <assert.h>
19352 #endif
19353
19354 #undef $ac_func
19355
19356 /* Override any gcc2 internal prototype to avoid an error.  */
19357 #ifdef __cplusplus
19358 extern "C"
19359 {
19360 #endif
19361 /* We use char because int might match the return type of a gcc2
19362    builtin and then its argument prototype would still apply.  */
19363 char $ac_func ();
19364 /* The GNU C library defines this for functions which it implements
19365     to always fail with ENOSYS.  Some functions are actually named
19366     something starting with __ and the normal name is an alias.  */
19367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19368 choke me
19369 #else
19370 char (*f) () = $ac_func;
19371 #endif
19372 #ifdef __cplusplus
19373 }
19374 #endif
19375
19376 int
19377 main ()
19378 {
19379 return f != $ac_func;
19380   ;
19381   return 0;
19382 }
19383 _ACEOF
19384 rm -f conftest.$ac_objext conftest$ac_exeext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19386   (eval $ac_link) 2>conftest.er1
19387   ac_status=$?
19388   grep -v '^ *+' conftest.er1 >conftest.err
19389   rm -f conftest.er1
19390   cat conftest.err >&5
19391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392   (exit $ac_status); } &&
19393          { ac_try='test -z "$ac_c_werror_flag"
19394                          || test ! -s conftest.err'
19395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396   (eval $ac_try) 2>&5
19397   ac_status=$?
19398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399   (exit $ac_status); }; } &&
19400          { ac_try='test -s conftest$ac_exeext'
19401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402   (eval $ac_try) 2>&5
19403   ac_status=$?
19404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405   (exit $ac_status); }; }; then
19406   eval "$as_ac_var=yes"
19407 else
19408   echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411 eval "$as_ac_var=no"
19412 fi
19413 rm -f conftest.err conftest.$ac_objext \
19414       conftest$ac_exeext conftest.$ac_ext
19415 fi
19416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19418 if test `eval echo '${'$as_ac_var'}'` = yes; then
19419   cat >>confdefs.h <<_ACEOF
19420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19421 _ACEOF
19422
19423 fi
19424 done
19425
19426   else
19427
19428   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19429 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19430   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19431     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19432   echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434
19435
19436
19437       ac_ext=cc
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19442
19443       cat >conftest.$ac_ext <<_ACEOF
19444 /* confdefs.h.  */
19445 _ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h.  */
19449 #include <math.h>
19450                       #ifdef HAVE_IEEEFP_H
19451                       #include <ieeefp.h>
19452                       #endif
19453
19454 int
19455 main ()
19456 {
19457  _isnan(0);
19458   ;
19459   return 0;
19460 }
19461 _ACEOF
19462 rm -f conftest.$ac_objext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19464   (eval $ac_compile) 2>conftest.er1
19465   ac_status=$?
19466   grep -v '^ *+' conftest.er1 >conftest.err
19467   rm -f conftest.er1
19468   cat conftest.err >&5
19469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470   (exit $ac_status); } &&
19471          { ac_try='test -z "$ac_cxx_werror_flag"
19472                          || test ! -s conftest.err'
19473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474   (eval $ac_try) 2>&5
19475   ac_status=$?
19476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477   (exit $ac_status); }; } &&
19478          { ac_try='test -s conftest.$ac_objext'
19479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480   (eval $ac_try) 2>&5
19481   ac_status=$?
19482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483   (exit $ac_status); }; }; then
19484   glibcxx_cv_func__isnan_use=yes
19485 else
19486   echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 glibcxx_cv_func__isnan_use=no
19490 fi
19491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19492       ac_ext=c
19493 ac_cpp='$CPP $CPPFLAGS'
19494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19497
19498
19499 fi
19500
19501   fi
19502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19503 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19504
19505     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19506
19507 for ac_func in _isnan
19508 do
19509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19510 echo "$as_me:$LINENO: checking for $ac_func" >&5
19511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19512 if eval "test \"\${$as_ac_var+set}\" = set"; then
19513   echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515   if test x$gcc_no_link = xyes; then
19516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19518    { (exit 1); exit 1; }; }
19519 fi
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h.  */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h.  */
19526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19528 #define $ac_func innocuous_$ac_func
19529
19530 /* System header to define __stub macros and hopefully few prototypes,
19531     which can conflict with char $ac_func (); below.
19532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19533     <limits.h> exists even on freestanding compilers.  */
19534
19535 #ifdef __STDC__
19536 # include <limits.h>
19537 #else
19538 # include <assert.h>
19539 #endif
19540
19541 #undef $ac_func
19542
19543 /* Override any gcc2 internal prototype to avoid an error.  */
19544 #ifdef __cplusplus
19545 extern "C"
19546 {
19547 #endif
19548 /* We use char because int might match the return type of a gcc2
19549    builtin and then its argument prototype would still apply.  */
19550 char $ac_func ();
19551 /* The GNU C library defines this for functions which it implements
19552     to always fail with ENOSYS.  Some functions are actually named
19553     something starting with __ and the normal name is an alias.  */
19554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19555 choke me
19556 #else
19557 char (*f) () = $ac_func;
19558 #endif
19559 #ifdef __cplusplus
19560 }
19561 #endif
19562
19563 int
19564 main ()
19565 {
19566 return f != $ac_func;
19567   ;
19568   return 0;
19569 }
19570 _ACEOF
19571 rm -f conftest.$ac_objext conftest$ac_exeext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573   (eval $ac_link) 2>conftest.er1
19574   ac_status=$?
19575   grep -v '^ *+' conftest.er1 >conftest.err
19576   rm -f conftest.er1
19577   cat conftest.err >&5
19578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579   (exit $ac_status); } &&
19580          { ac_try='test -z "$ac_c_werror_flag"
19581                          || test ! -s conftest.err'
19582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583   (eval $ac_try) 2>&5
19584   ac_status=$?
19585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586   (exit $ac_status); }; } &&
19587          { ac_try='test -s conftest$ac_exeext'
19588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589   (eval $ac_try) 2>&5
19590   ac_status=$?
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); }; }; then
19593   eval "$as_ac_var=yes"
19594 else
19595   echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 eval "$as_ac_var=no"
19599 fi
19600 rm -f conftest.err conftest.$ac_objext \
19601       conftest$ac_exeext conftest.$ac_ext
19602 fi
19603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19605 if test `eval echo '${'$as_ac_var'}'` = yes; then
19606   cat >>confdefs.h <<_ACEOF
19607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19608 _ACEOF
19609
19610 fi
19611 done
19612
19613     fi
19614   fi
19615
19616
19617
19618
19619
19620
19621   echo "$as_me:$LINENO: checking for finite declaration" >&5
19622 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19623   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19624     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19625   echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627
19628
19629
19630       ac_ext=cc
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635
19636       cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h.  */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h.  */
19642 #include <math.h>
19643                       #ifdef HAVE_IEEEFP_H
19644                       #include <ieeefp.h>
19645                       #endif
19646
19647 int
19648 main ()
19649 {
19650  finite(0);
19651   ;
19652   return 0;
19653 }
19654 _ACEOF
19655 rm -f conftest.$ac_objext
19656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19657   (eval $ac_compile) 2>conftest.er1
19658   ac_status=$?
19659   grep -v '^ *+' conftest.er1 >conftest.err
19660   rm -f conftest.er1
19661   cat conftest.err >&5
19662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663   (exit $ac_status); } &&
19664          { ac_try='test -z "$ac_cxx_werror_flag"
19665                          || test ! -s conftest.err'
19666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667   (eval $ac_try) 2>&5
19668   ac_status=$?
19669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670   (exit $ac_status); }; } &&
19671          { ac_try='test -s conftest.$ac_objext'
19672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673   (eval $ac_try) 2>&5
19674   ac_status=$?
19675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676   (exit $ac_status); }; }; then
19677   glibcxx_cv_func_finite_use=yes
19678 else
19679   echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 glibcxx_cv_func_finite_use=no
19683 fi
19684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19685       ac_ext=c
19686 ac_cpp='$CPP $CPPFLAGS'
19687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19690
19691
19692 fi
19693
19694   fi
19695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19696 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19697
19698   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19699
19700 for ac_func in finite
19701 do
19702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19703 echo "$as_me:$LINENO: checking for $ac_func" >&5
19704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19705 if eval "test \"\${$as_ac_var+set}\" = set"; then
19706   echo $ECHO_N "(cached) $ECHO_C" >&6
19707 else
19708   if test x$gcc_no_link = xyes; then
19709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19711    { (exit 1); exit 1; }; }
19712 fi
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h.  */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h.  */
19719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19721 #define $ac_func innocuous_$ac_func
19722
19723 /* System header to define __stub macros and hopefully few prototypes,
19724     which can conflict with char $ac_func (); below.
19725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19726     <limits.h> exists even on freestanding compilers.  */
19727
19728 #ifdef __STDC__
19729 # include <limits.h>
19730 #else
19731 # include <assert.h>
19732 #endif
19733
19734 #undef $ac_func
19735
19736 /* Override any gcc2 internal prototype to avoid an error.  */
19737 #ifdef __cplusplus
19738 extern "C"
19739 {
19740 #endif
19741 /* We use char because int might match the return type of a gcc2
19742    builtin and then its argument prototype would still apply.  */
19743 char $ac_func ();
19744 /* The GNU C library defines this for functions which it implements
19745     to always fail with ENOSYS.  Some functions are actually named
19746     something starting with __ and the normal name is an alias.  */
19747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19748 choke me
19749 #else
19750 char (*f) () = $ac_func;
19751 #endif
19752 #ifdef __cplusplus
19753 }
19754 #endif
19755
19756 int
19757 main ()
19758 {
19759 return f != $ac_func;
19760   ;
19761   return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext conftest$ac_exeext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19766   (eval $ac_link) 2>conftest.er1
19767   ac_status=$?
19768   grep -v '^ *+' conftest.er1 >conftest.err
19769   rm -f conftest.er1
19770   cat conftest.err >&5
19771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772   (exit $ac_status); } &&
19773          { ac_try='test -z "$ac_c_werror_flag"
19774                          || test ! -s conftest.err'
19775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776   (eval $ac_try) 2>&5
19777   ac_status=$?
19778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779   (exit $ac_status); }; } &&
19780          { ac_try='test -s conftest$ac_exeext'
19781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782   (eval $ac_try) 2>&5
19783   ac_status=$?
19784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785   (exit $ac_status); }; }; then
19786   eval "$as_ac_var=yes"
19787 else
19788   echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19790
19791 eval "$as_ac_var=no"
19792 fi
19793 rm -f conftest.err conftest.$ac_objext \
19794       conftest$ac_exeext conftest.$ac_ext
19795 fi
19796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19798 if test `eval echo '${'$as_ac_var'}'` = yes; then
19799   cat >>confdefs.h <<_ACEOF
19800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19801 _ACEOF
19802
19803 fi
19804 done
19805
19806   else
19807
19808   echo "$as_me:$LINENO: checking for _finite declaration" >&5
19809 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19810   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19811     if test "${glibcxx_cv_func__finite_use+set}" = set; then
19812   echo $ECHO_N "(cached) $ECHO_C" >&6
19813 else
19814
19815
19816
19817       ac_ext=cc
19818 ac_cpp='$CXXCPP $CPPFLAGS'
19819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19822
19823       cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h.  */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h.  */
19829 #include <math.h>
19830                       #ifdef HAVE_IEEEFP_H
19831                       #include <ieeefp.h>
19832                       #endif
19833
19834 int
19835 main ()
19836 {
19837  _finite(0);
19838   ;
19839   return 0;
19840 }
19841 _ACEOF
19842 rm -f conftest.$ac_objext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19844   (eval $ac_compile) 2>conftest.er1
19845   ac_status=$?
19846   grep -v '^ *+' conftest.er1 >conftest.err
19847   rm -f conftest.er1
19848   cat conftest.err >&5
19849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850   (exit $ac_status); } &&
19851          { ac_try='test -z "$ac_cxx_werror_flag"
19852                          || test ! -s conftest.err'
19853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854   (eval $ac_try) 2>&5
19855   ac_status=$?
19856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857   (exit $ac_status); }; } &&
19858          { ac_try='test -s conftest.$ac_objext'
19859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860   (eval $ac_try) 2>&5
19861   ac_status=$?
19862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863   (exit $ac_status); }; }; then
19864   glibcxx_cv_func__finite_use=yes
19865 else
19866   echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.$ac_ext >&5
19868
19869 glibcxx_cv_func__finite_use=no
19870 fi
19871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19872       ac_ext=c
19873 ac_cpp='$CPP $CPPFLAGS'
19874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19877
19878
19879 fi
19880
19881   fi
19882   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19883 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19884
19885     if test x$glibcxx_cv_func__finite_use = x"yes"; then
19886
19887 for ac_func in _finite
19888 do
19889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19890 echo "$as_me:$LINENO: checking for $ac_func" >&5
19891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19892 if eval "test \"\${$as_ac_var+set}\" = set"; then
19893   echo $ECHO_N "(cached) $ECHO_C" >&6
19894 else
19895   if test x$gcc_no_link = xyes; then
19896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19898    { (exit 1); exit 1; }; }
19899 fi
19900 cat >conftest.$ac_ext <<_ACEOF
19901 /* confdefs.h.  */
19902 _ACEOF
19903 cat confdefs.h >>conftest.$ac_ext
19904 cat >>conftest.$ac_ext <<_ACEOF
19905 /* end confdefs.h.  */
19906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19908 #define $ac_func innocuous_$ac_func
19909
19910 /* System header to define __stub macros and hopefully few prototypes,
19911     which can conflict with char $ac_func (); below.
19912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19913     <limits.h> exists even on freestanding compilers.  */
19914
19915 #ifdef __STDC__
19916 # include <limits.h>
19917 #else
19918 # include <assert.h>
19919 #endif
19920
19921 #undef $ac_func
19922
19923 /* Override any gcc2 internal prototype to avoid an error.  */
19924 #ifdef __cplusplus
19925 extern "C"
19926 {
19927 #endif
19928 /* We use char because int might match the return type of a gcc2
19929    builtin and then its argument prototype would still apply.  */
19930 char $ac_func ();
19931 /* The GNU C library defines this for functions which it implements
19932     to always fail with ENOSYS.  Some functions are actually named
19933     something starting with __ and the normal name is an alias.  */
19934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19935 choke me
19936 #else
19937 char (*f) () = $ac_func;
19938 #endif
19939 #ifdef __cplusplus
19940 }
19941 #endif
19942
19943 int
19944 main ()
19945 {
19946 return f != $ac_func;
19947   ;
19948   return 0;
19949 }
19950 _ACEOF
19951 rm -f conftest.$ac_objext conftest$ac_exeext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19953   (eval $ac_link) 2>conftest.er1
19954   ac_status=$?
19955   grep -v '^ *+' conftest.er1 >conftest.err
19956   rm -f conftest.er1
19957   cat conftest.err >&5
19958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959   (exit $ac_status); } &&
19960          { ac_try='test -z "$ac_c_werror_flag"
19961                          || test ! -s conftest.err'
19962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963   (eval $ac_try) 2>&5
19964   ac_status=$?
19965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966   (exit $ac_status); }; } &&
19967          { ac_try='test -s conftest$ac_exeext'
19968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969   (eval $ac_try) 2>&5
19970   ac_status=$?
19971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972   (exit $ac_status); }; }; then
19973   eval "$as_ac_var=yes"
19974 else
19975   echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19977
19978 eval "$as_ac_var=no"
19979 fi
19980 rm -f conftest.err conftest.$ac_objext \
19981       conftest$ac_exeext conftest.$ac_ext
19982 fi
19983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19985 if test `eval echo '${'$as_ac_var'}'` = yes; then
19986   cat >>confdefs.h <<_ACEOF
19987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19988 _ACEOF
19989
19990 fi
19991 done
19992
19993     fi
19994   fi
19995
19996
19997
19998
19999
20000
20001   echo "$as_me:$LINENO: checking for copysign declaration" >&5
20002 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
20003   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
20004     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
20005   echo $ECHO_N "(cached) $ECHO_C" >&6
20006 else
20007
20008
20009
20010       ac_ext=cc
20011 ac_cpp='$CXXCPP $CPPFLAGS'
20012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20015
20016       cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h.  */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h.  */
20022 #include <math.h>
20023 int
20024 main ()
20025 {
20026  copysign(0, 0);
20027   ;
20028   return 0;
20029 }
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033   (eval $ac_compile) 2>conftest.er1
20034   ac_status=$?
20035   grep -v '^ *+' conftest.er1 >conftest.err
20036   rm -f conftest.er1
20037   cat conftest.err >&5
20038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039   (exit $ac_status); } &&
20040          { ac_try='test -z "$ac_cxx_werror_flag"
20041                          || test ! -s conftest.err'
20042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043   (eval $ac_try) 2>&5
20044   ac_status=$?
20045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046   (exit $ac_status); }; } &&
20047          { ac_try='test -s conftest.$ac_objext'
20048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049   (eval $ac_try) 2>&5
20050   ac_status=$?
20051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052   (exit $ac_status); }; }; then
20053   glibcxx_cv_func_copysign_use=yes
20054 else
20055   echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.$ac_ext >&5
20057
20058 glibcxx_cv_func_copysign_use=no
20059 fi
20060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20061       ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20066
20067
20068 fi
20069
20070   fi
20071   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20072 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20073
20074   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20075
20076 for ac_func in copysign
20077 do
20078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20079 echo "$as_me:$LINENO: checking for $ac_func" >&5
20080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20081 if eval "test \"\${$as_ac_var+set}\" = set"; then
20082   echo $ECHO_N "(cached) $ECHO_C" >&6
20083 else
20084   if test x$gcc_no_link = xyes; then
20085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20087    { (exit 1); exit 1; }; }
20088 fi
20089 cat >conftest.$ac_ext <<_ACEOF
20090 /* confdefs.h.  */
20091 _ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h.  */
20095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20097 #define $ac_func innocuous_$ac_func
20098
20099 /* System header to define __stub macros and hopefully few prototypes,
20100     which can conflict with char $ac_func (); below.
20101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20102     <limits.h> exists even on freestanding compilers.  */
20103
20104 #ifdef __STDC__
20105 # include <limits.h>
20106 #else
20107 # include <assert.h>
20108 #endif
20109
20110 #undef $ac_func
20111
20112 /* Override any gcc2 internal prototype to avoid an error.  */
20113 #ifdef __cplusplus
20114 extern "C"
20115 {
20116 #endif
20117 /* We use char because int might match the return type of a gcc2
20118    builtin and then its argument prototype would still apply.  */
20119 char $ac_func ();
20120 /* The GNU C library defines this for functions which it implements
20121     to always fail with ENOSYS.  Some functions are actually named
20122     something starting with __ and the normal name is an alias.  */
20123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20124 choke me
20125 #else
20126 char (*f) () = $ac_func;
20127 #endif
20128 #ifdef __cplusplus
20129 }
20130 #endif
20131
20132 int
20133 main ()
20134 {
20135 return f != $ac_func;
20136   ;
20137   return 0;
20138 }
20139 _ACEOF
20140 rm -f conftest.$ac_objext conftest$ac_exeext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20142   (eval $ac_link) 2>conftest.er1
20143   ac_status=$?
20144   grep -v '^ *+' conftest.er1 >conftest.err
20145   rm -f conftest.er1
20146   cat conftest.err >&5
20147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148   (exit $ac_status); } &&
20149          { ac_try='test -z "$ac_c_werror_flag"
20150                          || test ! -s conftest.err'
20151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152   (eval $ac_try) 2>&5
20153   ac_status=$?
20154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155   (exit $ac_status); }; } &&
20156          { ac_try='test -s conftest$ac_exeext'
20157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158   (eval $ac_try) 2>&5
20159   ac_status=$?
20160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161   (exit $ac_status); }; }; then
20162   eval "$as_ac_var=yes"
20163 else
20164   echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 eval "$as_ac_var=no"
20168 fi
20169 rm -f conftest.err conftest.$ac_objext \
20170       conftest$ac_exeext conftest.$ac_ext
20171 fi
20172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20174 if test `eval echo '${'$as_ac_var'}'` = yes; then
20175   cat >>confdefs.h <<_ACEOF
20176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20177 _ACEOF
20178
20179 fi
20180 done
20181
20182   else
20183
20184   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20185 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20186   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20187     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20188   echo $ECHO_N "(cached) $ECHO_C" >&6
20189 else
20190
20191
20192
20193       ac_ext=cc
20194 ac_cpp='$CXXCPP $CPPFLAGS'
20195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20198
20199       cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h.  */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h.  */
20205 #include <math.h>
20206 int
20207 main ()
20208 {
20209  _copysign(0, 0);
20210   ;
20211   return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20216   (eval $ac_compile) 2>conftest.er1
20217   ac_status=$?
20218   grep -v '^ *+' conftest.er1 >conftest.err
20219   rm -f conftest.er1
20220   cat conftest.err >&5
20221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222   (exit $ac_status); } &&
20223          { ac_try='test -z "$ac_cxx_werror_flag"
20224                          || test ! -s conftest.err'
20225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226   (eval $ac_try) 2>&5
20227   ac_status=$?
20228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229   (exit $ac_status); }; } &&
20230          { ac_try='test -s conftest.$ac_objext'
20231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232   (eval $ac_try) 2>&5
20233   ac_status=$?
20234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235   (exit $ac_status); }; }; then
20236   glibcxx_cv_func__copysign_use=yes
20237 else
20238   echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20240
20241 glibcxx_cv_func__copysign_use=no
20242 fi
20243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20244       ac_ext=c
20245 ac_cpp='$CPP $CPPFLAGS'
20246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20249
20250
20251 fi
20252
20253   fi
20254   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20255 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20256
20257     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20258
20259 for ac_func in _copysign
20260 do
20261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20262 echo "$as_me:$LINENO: checking for $ac_func" >&5
20263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20264 if eval "test \"\${$as_ac_var+set}\" = set"; then
20265   echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267   if test x$gcc_no_link = xyes; then
20268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20270    { (exit 1); exit 1; }; }
20271 fi
20272 cat >conftest.$ac_ext <<_ACEOF
20273 /* confdefs.h.  */
20274 _ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h.  */
20278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20280 #define $ac_func innocuous_$ac_func
20281
20282 /* System header to define __stub macros and hopefully few prototypes,
20283     which can conflict with char $ac_func (); below.
20284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20285     <limits.h> exists even on freestanding compilers.  */
20286
20287 #ifdef __STDC__
20288 # include <limits.h>
20289 #else
20290 # include <assert.h>
20291 #endif
20292
20293 #undef $ac_func
20294
20295 /* Override any gcc2 internal prototype to avoid an error.  */
20296 #ifdef __cplusplus
20297 extern "C"
20298 {
20299 #endif
20300 /* We use char because int might match the return type of a gcc2
20301    builtin and then its argument prototype would still apply.  */
20302 char $ac_func ();
20303 /* The GNU C library defines this for functions which it implements
20304     to always fail with ENOSYS.  Some functions are actually named
20305     something starting with __ and the normal name is an alias.  */
20306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20307 choke me
20308 #else
20309 char (*f) () = $ac_func;
20310 #endif
20311 #ifdef __cplusplus
20312 }
20313 #endif
20314
20315 int
20316 main ()
20317 {
20318 return f != $ac_func;
20319   ;
20320   return 0;
20321 }
20322 _ACEOF
20323 rm -f conftest.$ac_objext conftest$ac_exeext
20324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20325   (eval $ac_link) 2>conftest.er1
20326   ac_status=$?
20327   grep -v '^ *+' conftest.er1 >conftest.err
20328   rm -f conftest.er1
20329   cat conftest.err >&5
20330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331   (exit $ac_status); } &&
20332          { ac_try='test -z "$ac_c_werror_flag"
20333                          || test ! -s conftest.err'
20334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20335   (eval $ac_try) 2>&5
20336   ac_status=$?
20337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20338   (exit $ac_status); }; } &&
20339          { ac_try='test -s conftest$ac_exeext'
20340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341   (eval $ac_try) 2>&5
20342   ac_status=$?
20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344   (exit $ac_status); }; }; then
20345   eval "$as_ac_var=yes"
20346 else
20347   echo "$as_me: failed program was:" >&5
20348 sed 's/^/| /' conftest.$ac_ext >&5
20349
20350 eval "$as_ac_var=no"
20351 fi
20352 rm -f conftest.err conftest.$ac_objext \
20353       conftest$ac_exeext conftest.$ac_ext
20354 fi
20355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20357 if test `eval echo '${'$as_ac_var'}'` = yes; then
20358   cat >>confdefs.h <<_ACEOF
20359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20360 _ACEOF
20361
20362 fi
20363 done
20364
20365     fi
20366   fi
20367
20368
20369
20370
20371
20372
20373   echo "$as_me:$LINENO: checking for sincos declaration" >&5
20374 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20375   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20376     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20377   echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20379
20380
20381
20382       ac_ext=cc
20383 ac_cpp='$CXXCPP $CPPFLAGS'
20384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20387
20388       cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h.  */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h.  */
20394 #include <math.h>
20395 int
20396 main ()
20397 {
20398  sincos(0, 0, 0);
20399   ;
20400   return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405   (eval $ac_compile) 2>conftest.er1
20406   ac_status=$?
20407   grep -v '^ *+' conftest.er1 >conftest.err
20408   rm -f conftest.er1
20409   cat conftest.err >&5
20410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411   (exit $ac_status); } &&
20412          { ac_try='test -z "$ac_cxx_werror_flag"
20413                          || test ! -s conftest.err'
20414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415   (eval $ac_try) 2>&5
20416   ac_status=$?
20417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418   (exit $ac_status); }; } &&
20419          { ac_try='test -s conftest.$ac_objext'
20420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421   (eval $ac_try) 2>&5
20422   ac_status=$?
20423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424   (exit $ac_status); }; }; then
20425   glibcxx_cv_func_sincos_use=yes
20426 else
20427   echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 glibcxx_cv_func_sincos_use=no
20431 fi
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433       ac_ext=c
20434 ac_cpp='$CPP $CPPFLAGS'
20435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20438
20439
20440 fi
20441
20442   fi
20443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20444 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20445
20446   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20447
20448 for ac_func in sincos
20449 do
20450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20451 echo "$as_me:$LINENO: checking for $ac_func" >&5
20452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20453 if eval "test \"\${$as_ac_var+set}\" = set"; then
20454   echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20456   if test x$gcc_no_link = xyes; then
20457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20459    { (exit 1); exit 1; }; }
20460 fi
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h.  */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h.  */
20467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20469 #define $ac_func innocuous_$ac_func
20470
20471 /* System header to define __stub macros and hopefully few prototypes,
20472     which can conflict with char $ac_func (); below.
20473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20474     <limits.h> exists even on freestanding compilers.  */
20475
20476 #ifdef __STDC__
20477 # include <limits.h>
20478 #else
20479 # include <assert.h>
20480 #endif
20481
20482 #undef $ac_func
20483
20484 /* Override any gcc2 internal prototype to avoid an error.  */
20485 #ifdef __cplusplus
20486 extern "C"
20487 {
20488 #endif
20489 /* We use char because int might match the return type of a gcc2
20490    builtin and then its argument prototype would still apply.  */
20491 char $ac_func ();
20492 /* The GNU C library defines this for functions which it implements
20493     to always fail with ENOSYS.  Some functions are actually named
20494     something starting with __ and the normal name is an alias.  */
20495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20496 choke me
20497 #else
20498 char (*f) () = $ac_func;
20499 #endif
20500 #ifdef __cplusplus
20501 }
20502 #endif
20503
20504 int
20505 main ()
20506 {
20507 return f != $ac_func;
20508   ;
20509   return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest.$ac_objext conftest$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514   (eval $ac_link) 2>conftest.er1
20515   ac_status=$?
20516   grep -v '^ *+' conftest.er1 >conftest.err
20517   rm -f conftest.er1
20518   cat conftest.err >&5
20519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520   (exit $ac_status); } &&
20521          { ac_try='test -z "$ac_c_werror_flag"
20522                          || test ! -s conftest.err'
20523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524   (eval $ac_try) 2>&5
20525   ac_status=$?
20526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527   (exit $ac_status); }; } &&
20528          { ac_try='test -s conftest$ac_exeext'
20529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530   (eval $ac_try) 2>&5
20531   ac_status=$?
20532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533   (exit $ac_status); }; }; then
20534   eval "$as_ac_var=yes"
20535 else
20536   echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 eval "$as_ac_var=no"
20540 fi
20541 rm -f conftest.err conftest.$ac_objext \
20542       conftest$ac_exeext conftest.$ac_ext
20543 fi
20544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20546 if test `eval echo '${'$as_ac_var'}'` = yes; then
20547   cat >>confdefs.h <<_ACEOF
20548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20549 _ACEOF
20550
20551 fi
20552 done
20553
20554   else
20555
20556   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20557 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20558   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20559     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20560   echo $ECHO_N "(cached) $ECHO_C" >&6
20561 else
20562
20563
20564
20565       ac_ext=cc
20566 ac_cpp='$CXXCPP $CPPFLAGS'
20567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20570
20571       cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h.  */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h.  */
20577 #include <math.h>
20578 int
20579 main ()
20580 {
20581  _sincos(0, 0, 0);
20582   ;
20583   return 0;
20584 }
20585 _ACEOF
20586 rm -f conftest.$ac_objext
20587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20588   (eval $ac_compile) 2>conftest.er1
20589   ac_status=$?
20590   grep -v '^ *+' conftest.er1 >conftest.err
20591   rm -f conftest.er1
20592   cat conftest.err >&5
20593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594   (exit $ac_status); } &&
20595          { ac_try='test -z "$ac_cxx_werror_flag"
20596                          || test ! -s conftest.err'
20597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598   (eval $ac_try) 2>&5
20599   ac_status=$?
20600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601   (exit $ac_status); }; } &&
20602          { ac_try='test -s conftest.$ac_objext'
20603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604   (eval $ac_try) 2>&5
20605   ac_status=$?
20606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607   (exit $ac_status); }; }; then
20608   glibcxx_cv_func__sincos_use=yes
20609 else
20610   echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20612
20613 glibcxx_cv_func__sincos_use=no
20614 fi
20615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20616       ac_ext=c
20617 ac_cpp='$CPP $CPPFLAGS'
20618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20621
20622
20623 fi
20624
20625   fi
20626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20627 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20628
20629     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20630
20631 for ac_func in _sincos
20632 do
20633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20634 echo "$as_me:$LINENO: checking for $ac_func" >&5
20635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20636 if eval "test \"\${$as_ac_var+set}\" = set"; then
20637   echo $ECHO_N "(cached) $ECHO_C" >&6
20638 else
20639   if test x$gcc_no_link = xyes; then
20640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20642    { (exit 1); exit 1; }; }
20643 fi
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h.  */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h.  */
20650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20652 #define $ac_func innocuous_$ac_func
20653
20654 /* System header to define __stub macros and hopefully few prototypes,
20655     which can conflict with char $ac_func (); below.
20656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20657     <limits.h> exists even on freestanding compilers.  */
20658
20659 #ifdef __STDC__
20660 # include <limits.h>
20661 #else
20662 # include <assert.h>
20663 #endif
20664
20665 #undef $ac_func
20666
20667 /* Override any gcc2 internal prototype to avoid an error.  */
20668 #ifdef __cplusplus
20669 extern "C"
20670 {
20671 #endif
20672 /* We use char because int might match the return type of a gcc2
20673    builtin and then its argument prototype would still apply.  */
20674 char $ac_func ();
20675 /* The GNU C library defines this for functions which it implements
20676     to always fail with ENOSYS.  Some functions are actually named
20677     something starting with __ and the normal name is an alias.  */
20678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20679 choke me
20680 #else
20681 char (*f) () = $ac_func;
20682 #endif
20683 #ifdef __cplusplus
20684 }
20685 #endif
20686
20687 int
20688 main ()
20689 {
20690 return f != $ac_func;
20691   ;
20692   return 0;
20693 }
20694 _ACEOF
20695 rm -f conftest.$ac_objext conftest$ac_exeext
20696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20697   (eval $ac_link) 2>conftest.er1
20698   ac_status=$?
20699   grep -v '^ *+' conftest.er1 >conftest.err
20700   rm -f conftest.er1
20701   cat conftest.err >&5
20702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703   (exit $ac_status); } &&
20704          { ac_try='test -z "$ac_c_werror_flag"
20705                          || test ! -s conftest.err'
20706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707   (eval $ac_try) 2>&5
20708   ac_status=$?
20709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710   (exit $ac_status); }; } &&
20711          { ac_try='test -s conftest$ac_exeext'
20712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713   (eval $ac_try) 2>&5
20714   ac_status=$?
20715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716   (exit $ac_status); }; }; then
20717   eval "$as_ac_var=yes"
20718 else
20719   echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 eval "$as_ac_var=no"
20723 fi
20724 rm -f conftest.err conftest.$ac_objext \
20725       conftest$ac_exeext conftest.$ac_ext
20726 fi
20727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20729 if test `eval echo '${'$as_ac_var'}'` = yes; then
20730   cat >>confdefs.h <<_ACEOF
20731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20732 _ACEOF
20733
20734 fi
20735 done
20736
20737     fi
20738   fi
20739
20740
20741
20742
20743
20744
20745   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20746 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20747   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20748     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20749   echo $ECHO_N "(cached) $ECHO_C" >&6
20750 else
20751
20752
20753
20754       ac_ext=cc
20755 ac_cpp='$CXXCPP $CPPFLAGS'
20756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20759
20760       cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h.  */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h.  */
20766 #include <math.h>
20767                       #ifdef HAVE_IEEEFP_H
20768                       #include <ieeefp.h>
20769                       #endif
20770
20771 int
20772 main ()
20773 {
20774  fpclass(0);
20775   ;
20776   return 0;
20777 }
20778 _ACEOF
20779 rm -f conftest.$ac_objext
20780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20781   (eval $ac_compile) 2>conftest.er1
20782   ac_status=$?
20783   grep -v '^ *+' conftest.er1 >conftest.err
20784   rm -f conftest.er1
20785   cat conftest.err >&5
20786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787   (exit $ac_status); } &&
20788          { ac_try='test -z "$ac_cxx_werror_flag"
20789                          || test ! -s conftest.err'
20790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20791   (eval $ac_try) 2>&5
20792   ac_status=$?
20793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794   (exit $ac_status); }; } &&
20795          { ac_try='test -s conftest.$ac_objext'
20796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20797   (eval $ac_try) 2>&5
20798   ac_status=$?
20799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800   (exit $ac_status); }; }; then
20801   glibcxx_cv_func_fpclass_use=yes
20802 else
20803   echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20805
20806 glibcxx_cv_func_fpclass_use=no
20807 fi
20808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20809       ac_ext=c
20810 ac_cpp='$CPP $CPPFLAGS'
20811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20814
20815
20816 fi
20817
20818   fi
20819   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20820 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20821
20822   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20823
20824 for ac_func in fpclass
20825 do
20826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20827 echo "$as_me:$LINENO: checking for $ac_func" >&5
20828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20829 if eval "test \"\${$as_ac_var+set}\" = set"; then
20830   echo $ECHO_N "(cached) $ECHO_C" >&6
20831 else
20832   if test x$gcc_no_link = xyes; then
20833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20835    { (exit 1); exit 1; }; }
20836 fi
20837 cat >conftest.$ac_ext <<_ACEOF
20838 /* confdefs.h.  */
20839 _ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h.  */
20843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20845 #define $ac_func innocuous_$ac_func
20846
20847 /* System header to define __stub macros and hopefully few prototypes,
20848     which can conflict with char $ac_func (); below.
20849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20850     <limits.h> exists even on freestanding compilers.  */
20851
20852 #ifdef __STDC__
20853 # include <limits.h>
20854 #else
20855 # include <assert.h>
20856 #endif
20857
20858 #undef $ac_func
20859
20860 /* Override any gcc2 internal prototype to avoid an error.  */
20861 #ifdef __cplusplus
20862 extern "C"
20863 {
20864 #endif
20865 /* We use char because int might match the return type of a gcc2
20866    builtin and then its argument prototype would still apply.  */
20867 char $ac_func ();
20868 /* The GNU C library defines this for functions which it implements
20869     to always fail with ENOSYS.  Some functions are actually named
20870     something starting with __ and the normal name is an alias.  */
20871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20872 choke me
20873 #else
20874 char (*f) () = $ac_func;
20875 #endif
20876 #ifdef __cplusplus
20877 }
20878 #endif
20879
20880 int
20881 main ()
20882 {
20883 return f != $ac_func;
20884   ;
20885   return 0;
20886 }
20887 _ACEOF
20888 rm -f conftest.$ac_objext conftest$ac_exeext
20889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20890   (eval $ac_link) 2>conftest.er1
20891   ac_status=$?
20892   grep -v '^ *+' conftest.er1 >conftest.err
20893   rm -f conftest.er1
20894   cat conftest.err >&5
20895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896   (exit $ac_status); } &&
20897          { ac_try='test -z "$ac_c_werror_flag"
20898                          || test ! -s conftest.err'
20899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900   (eval $ac_try) 2>&5
20901   ac_status=$?
20902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903   (exit $ac_status); }; } &&
20904          { ac_try='test -s conftest$ac_exeext'
20905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906   (eval $ac_try) 2>&5
20907   ac_status=$?
20908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909   (exit $ac_status); }; }; then
20910   eval "$as_ac_var=yes"
20911 else
20912   echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5
20914
20915 eval "$as_ac_var=no"
20916 fi
20917 rm -f conftest.err conftest.$ac_objext \
20918       conftest$ac_exeext conftest.$ac_ext
20919 fi
20920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20922 if test `eval echo '${'$as_ac_var'}'` = yes; then
20923   cat >>confdefs.h <<_ACEOF
20924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20925 _ACEOF
20926
20927 fi
20928 done
20929
20930   else
20931
20932   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20933 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20934   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20935     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20936   echo $ECHO_N "(cached) $ECHO_C" >&6
20937 else
20938
20939
20940
20941       ac_ext=cc
20942 ac_cpp='$CXXCPP $CPPFLAGS'
20943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20946
20947       cat >conftest.$ac_ext <<_ACEOF
20948 /* confdefs.h.  */
20949 _ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h.  */
20953 #include <math.h>
20954                       #ifdef HAVE_IEEEFP_H
20955                       #include <ieeefp.h>
20956                       #endif
20957
20958 int
20959 main ()
20960 {
20961  _fpclass(0);
20962   ;
20963   return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20968   (eval $ac_compile) 2>conftest.er1
20969   ac_status=$?
20970   grep -v '^ *+' conftest.er1 >conftest.err
20971   rm -f conftest.er1
20972   cat conftest.err >&5
20973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974   (exit $ac_status); } &&
20975          { ac_try='test -z "$ac_cxx_werror_flag"
20976                          || test ! -s conftest.err'
20977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978   (eval $ac_try) 2>&5
20979   ac_status=$?
20980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981   (exit $ac_status); }; } &&
20982          { ac_try='test -s conftest.$ac_objext'
20983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984   (eval $ac_try) 2>&5
20985   ac_status=$?
20986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987   (exit $ac_status); }; }; then
20988   glibcxx_cv_func__fpclass_use=yes
20989 else
20990   echo "$as_me: failed program was:" >&5
20991 sed 's/^/| /' conftest.$ac_ext >&5
20992
20993 glibcxx_cv_func__fpclass_use=no
20994 fi
20995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20996       ac_ext=c
20997 ac_cpp='$CPP $CPPFLAGS'
20998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21001
21002
21003 fi
21004
21005   fi
21006   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
21007 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
21008
21009     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21010
21011 for ac_func in _fpclass
21012 do
21013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21014 echo "$as_me:$LINENO: checking for $ac_func" >&5
21015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21016 if eval "test \"\${$as_ac_var+set}\" = set"; then
21017   echo $ECHO_N "(cached) $ECHO_C" >&6
21018 else
21019   if test x$gcc_no_link = xyes; then
21020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21022    { (exit 1); exit 1; }; }
21023 fi
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h.  */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h.  */
21030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21032 #define $ac_func innocuous_$ac_func
21033
21034 /* System header to define __stub macros and hopefully few prototypes,
21035     which can conflict with char $ac_func (); below.
21036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21037     <limits.h> exists even on freestanding compilers.  */
21038
21039 #ifdef __STDC__
21040 # include <limits.h>
21041 #else
21042 # include <assert.h>
21043 #endif
21044
21045 #undef $ac_func
21046
21047 /* Override any gcc2 internal prototype to avoid an error.  */
21048 #ifdef __cplusplus
21049 extern "C"
21050 {
21051 #endif
21052 /* We use char because int might match the return type of a gcc2
21053    builtin and then its argument prototype would still apply.  */
21054 char $ac_func ();
21055 /* The GNU C library defines this for functions which it implements
21056     to always fail with ENOSYS.  Some functions are actually named
21057     something starting with __ and the normal name is an alias.  */
21058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21059 choke me
21060 #else
21061 char (*f) () = $ac_func;
21062 #endif
21063 #ifdef __cplusplus
21064 }
21065 #endif
21066
21067 int
21068 main ()
21069 {
21070 return f != $ac_func;
21071   ;
21072   return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest.$ac_objext conftest$ac_exeext
21076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21077   (eval $ac_link) 2>conftest.er1
21078   ac_status=$?
21079   grep -v '^ *+' conftest.er1 >conftest.err
21080   rm -f conftest.er1
21081   cat conftest.err >&5
21082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083   (exit $ac_status); } &&
21084          { ac_try='test -z "$ac_c_werror_flag"
21085                          || test ! -s conftest.err'
21086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087   (eval $ac_try) 2>&5
21088   ac_status=$?
21089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090   (exit $ac_status); }; } &&
21091          { ac_try='test -s conftest$ac_exeext'
21092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093   (eval $ac_try) 2>&5
21094   ac_status=$?
21095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096   (exit $ac_status); }; }; then
21097   eval "$as_ac_var=yes"
21098 else
21099   echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21101
21102 eval "$as_ac_var=no"
21103 fi
21104 rm -f conftest.err conftest.$ac_objext \
21105       conftest$ac_exeext conftest.$ac_ext
21106 fi
21107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21109 if test `eval echo '${'$as_ac_var'}'` = yes; then
21110   cat >>confdefs.h <<_ACEOF
21111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21112 _ACEOF
21113
21114 fi
21115 done
21116
21117     fi
21118   fi
21119
21120
21121
21122
21123
21124
21125   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21126 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21127   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21128     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21129   echo $ECHO_N "(cached) $ECHO_C" >&6
21130 else
21131
21132
21133
21134       ac_ext=cc
21135 ac_cpp='$CXXCPP $CPPFLAGS'
21136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21139
21140       cat >conftest.$ac_ext <<_ACEOF
21141 /* confdefs.h.  */
21142 _ACEOF
21143 cat confdefs.h >>conftest.$ac_ext
21144 cat >>conftest.$ac_ext <<_ACEOF
21145 /* end confdefs.h.  */
21146 #include <math.h>
21147                       #ifdef HAVE_IEEEFP_H
21148                       #include <ieeefp.h>
21149                       #endif
21150
21151 int
21152 main ()
21153 {
21154  qfpclass(0);
21155   ;
21156   return 0;
21157 }
21158 _ACEOF
21159 rm -f conftest.$ac_objext
21160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21161   (eval $ac_compile) 2>conftest.er1
21162   ac_status=$?
21163   grep -v '^ *+' conftest.er1 >conftest.err
21164   rm -f conftest.er1
21165   cat conftest.err >&5
21166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167   (exit $ac_status); } &&
21168          { ac_try='test -z "$ac_cxx_werror_flag"
21169                          || test ! -s conftest.err'
21170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171   (eval $ac_try) 2>&5
21172   ac_status=$?
21173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174   (exit $ac_status); }; } &&
21175          { ac_try='test -s conftest.$ac_objext'
21176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21177   (eval $ac_try) 2>&5
21178   ac_status=$?
21179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180   (exit $ac_status); }; }; then
21181   glibcxx_cv_func_qfpclass_use=yes
21182 else
21183   echo "$as_me: failed program was:" >&5
21184 sed 's/^/| /' conftest.$ac_ext >&5
21185
21186 glibcxx_cv_func_qfpclass_use=no
21187 fi
21188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21189       ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194
21195
21196 fi
21197
21198   fi
21199   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21200 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21201
21202   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21203
21204 for ac_func in qfpclass
21205 do
21206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21207 echo "$as_me:$LINENO: checking for $ac_func" >&5
21208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21209 if eval "test \"\${$as_ac_var+set}\" = set"; then
21210   echo $ECHO_N "(cached) $ECHO_C" >&6
21211 else
21212   if test x$gcc_no_link = xyes; then
21213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21215    { (exit 1); exit 1; }; }
21216 fi
21217 cat >conftest.$ac_ext <<_ACEOF
21218 /* confdefs.h.  */
21219 _ACEOF
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h.  */
21223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21225 #define $ac_func innocuous_$ac_func
21226
21227 /* System header to define __stub macros and hopefully few prototypes,
21228     which can conflict with char $ac_func (); below.
21229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21230     <limits.h> exists even on freestanding compilers.  */
21231
21232 #ifdef __STDC__
21233 # include <limits.h>
21234 #else
21235 # include <assert.h>
21236 #endif
21237
21238 #undef $ac_func
21239
21240 /* Override any gcc2 internal prototype to avoid an error.  */
21241 #ifdef __cplusplus
21242 extern "C"
21243 {
21244 #endif
21245 /* We use char because int might match the return type of a gcc2
21246    builtin and then its argument prototype would still apply.  */
21247 char $ac_func ();
21248 /* The GNU C library defines this for functions which it implements
21249     to always fail with ENOSYS.  Some functions are actually named
21250     something starting with __ and the normal name is an alias.  */
21251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21252 choke me
21253 #else
21254 char (*f) () = $ac_func;
21255 #endif
21256 #ifdef __cplusplus
21257 }
21258 #endif
21259
21260 int
21261 main ()
21262 {
21263 return f != $ac_func;
21264   ;
21265   return 0;
21266 }
21267 _ACEOF
21268 rm -f conftest.$ac_objext conftest$ac_exeext
21269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21270   (eval $ac_link) 2>conftest.er1
21271   ac_status=$?
21272   grep -v '^ *+' conftest.er1 >conftest.err
21273   rm -f conftest.er1
21274   cat conftest.err >&5
21275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276   (exit $ac_status); } &&
21277          { ac_try='test -z "$ac_c_werror_flag"
21278                          || test ! -s conftest.err'
21279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280   (eval $ac_try) 2>&5
21281   ac_status=$?
21282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283   (exit $ac_status); }; } &&
21284          { ac_try='test -s conftest$ac_exeext'
21285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286   (eval $ac_try) 2>&5
21287   ac_status=$?
21288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289   (exit $ac_status); }; }; then
21290   eval "$as_ac_var=yes"
21291 else
21292   echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.$ac_ext >&5
21294
21295 eval "$as_ac_var=no"
21296 fi
21297 rm -f conftest.err conftest.$ac_objext \
21298       conftest$ac_exeext conftest.$ac_ext
21299 fi
21300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21302 if test `eval echo '${'$as_ac_var'}'` = yes; then
21303   cat >>confdefs.h <<_ACEOF
21304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21305 _ACEOF
21306
21307 fi
21308 done
21309
21310   else
21311
21312   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21313 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21314   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21315     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21316   echo $ECHO_N "(cached) $ECHO_C" >&6
21317 else
21318
21319
21320
21321       ac_ext=cc
21322 ac_cpp='$CXXCPP $CPPFLAGS'
21323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21326
21327       cat >conftest.$ac_ext <<_ACEOF
21328 /* confdefs.h.  */
21329 _ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h.  */
21333 #include <math.h>
21334                       #ifdef HAVE_IEEEFP_H
21335                       #include <ieeefp.h>
21336                       #endif
21337
21338 int
21339 main ()
21340 {
21341  _qfpclass(0);
21342   ;
21343   return 0;
21344 }
21345 _ACEOF
21346 rm -f conftest.$ac_objext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21348   (eval $ac_compile) 2>conftest.er1
21349   ac_status=$?
21350   grep -v '^ *+' conftest.er1 >conftest.err
21351   rm -f conftest.er1
21352   cat conftest.err >&5
21353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354   (exit $ac_status); } &&
21355          { ac_try='test -z "$ac_cxx_werror_flag"
21356                          || test ! -s conftest.err'
21357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358   (eval $ac_try) 2>&5
21359   ac_status=$?
21360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361   (exit $ac_status); }; } &&
21362          { ac_try='test -s conftest.$ac_objext'
21363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364   (eval $ac_try) 2>&5
21365   ac_status=$?
21366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367   (exit $ac_status); }; }; then
21368   glibcxx_cv_func__qfpclass_use=yes
21369 else
21370   echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 glibcxx_cv_func__qfpclass_use=no
21374 fi
21375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21376       ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381
21382
21383 fi
21384
21385   fi
21386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21387 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21388
21389     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21390
21391 for ac_func in _qfpclass
21392 do
21393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21394 echo "$as_me:$LINENO: checking for $ac_func" >&5
21395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21396 if eval "test \"\${$as_ac_var+set}\" = set"; then
21397   echo $ECHO_N "(cached) $ECHO_C" >&6
21398 else
21399   if test x$gcc_no_link = xyes; then
21400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21402    { (exit 1); exit 1; }; }
21403 fi
21404 cat >conftest.$ac_ext <<_ACEOF
21405 /* confdefs.h.  */
21406 _ACEOF
21407 cat confdefs.h >>conftest.$ac_ext
21408 cat >>conftest.$ac_ext <<_ACEOF
21409 /* end confdefs.h.  */
21410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21412 #define $ac_func innocuous_$ac_func
21413
21414 /* System header to define __stub macros and hopefully few prototypes,
21415     which can conflict with char $ac_func (); below.
21416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21417     <limits.h> exists even on freestanding compilers.  */
21418
21419 #ifdef __STDC__
21420 # include <limits.h>
21421 #else
21422 # include <assert.h>
21423 #endif
21424
21425 #undef $ac_func
21426
21427 /* Override any gcc2 internal prototype to avoid an error.  */
21428 #ifdef __cplusplus
21429 extern "C"
21430 {
21431 #endif
21432 /* We use char because int might match the return type of a gcc2
21433    builtin and then its argument prototype would still apply.  */
21434 char $ac_func ();
21435 /* The GNU C library defines this for functions which it implements
21436     to always fail with ENOSYS.  Some functions are actually named
21437     something starting with __ and the normal name is an alias.  */
21438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21439 choke me
21440 #else
21441 char (*f) () = $ac_func;
21442 #endif
21443 #ifdef __cplusplus
21444 }
21445 #endif
21446
21447 int
21448 main ()
21449 {
21450 return f != $ac_func;
21451   ;
21452   return 0;
21453 }
21454 _ACEOF
21455 rm -f conftest.$ac_objext conftest$ac_exeext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21457   (eval $ac_link) 2>conftest.er1
21458   ac_status=$?
21459   grep -v '^ *+' conftest.er1 >conftest.err
21460   rm -f conftest.er1
21461   cat conftest.err >&5
21462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463   (exit $ac_status); } &&
21464          { ac_try='test -z "$ac_c_werror_flag"
21465                          || test ! -s conftest.err'
21466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21467   (eval $ac_try) 2>&5
21468   ac_status=$?
21469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470   (exit $ac_status); }; } &&
21471          { ac_try='test -s conftest$ac_exeext'
21472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473   (eval $ac_try) 2>&5
21474   ac_status=$?
21475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476   (exit $ac_status); }; }; then
21477   eval "$as_ac_var=yes"
21478 else
21479   echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.$ac_ext >&5
21481
21482 eval "$as_ac_var=no"
21483 fi
21484 rm -f conftest.err conftest.$ac_objext \
21485       conftest$ac_exeext conftest.$ac_ext
21486 fi
21487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21489 if test `eval echo '${'$as_ac_var'}'` = yes; then
21490   cat >>confdefs.h <<_ACEOF
21491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21492 _ACEOF
21493
21494 fi
21495 done
21496
21497     fi
21498   fi
21499
21500
21501
21502
21503
21504
21505   echo "$as_me:$LINENO: checking for hypot declaration" >&5
21506 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21507   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21508     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21509   echo $ECHO_N "(cached) $ECHO_C" >&6
21510 else
21511
21512
21513
21514       ac_ext=cc
21515 ac_cpp='$CXXCPP $CPPFLAGS'
21516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21519
21520       cat >conftest.$ac_ext <<_ACEOF
21521 /* confdefs.h.  */
21522 _ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h.  */
21526 #include <math.h>
21527 int
21528 main ()
21529 {
21530  hypot(0, 0);
21531   ;
21532   return 0;
21533 }
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21537   (eval $ac_compile) 2>conftest.er1
21538   ac_status=$?
21539   grep -v '^ *+' conftest.er1 >conftest.err
21540   rm -f conftest.er1
21541   cat conftest.err >&5
21542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543   (exit $ac_status); } &&
21544          { ac_try='test -z "$ac_cxx_werror_flag"
21545                          || test ! -s conftest.err'
21546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547   (eval $ac_try) 2>&5
21548   ac_status=$?
21549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550   (exit $ac_status); }; } &&
21551          { ac_try='test -s conftest.$ac_objext'
21552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553   (eval $ac_try) 2>&5
21554   ac_status=$?
21555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556   (exit $ac_status); }; }; then
21557   glibcxx_cv_func_hypot_use=yes
21558 else
21559   echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 glibcxx_cv_func_hypot_use=no
21563 fi
21564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21565       ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21570
21571
21572 fi
21573
21574   fi
21575   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21576 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21577
21578   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21579
21580 for ac_func in hypot
21581 do
21582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21583 echo "$as_me:$LINENO: checking for $ac_func" >&5
21584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21585 if eval "test \"\${$as_ac_var+set}\" = set"; then
21586   echo $ECHO_N "(cached) $ECHO_C" >&6
21587 else
21588   if test x$gcc_no_link = xyes; then
21589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21591    { (exit 1); exit 1; }; }
21592 fi
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h.  */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h.  */
21599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21601 #define $ac_func innocuous_$ac_func
21602
21603 /* System header to define __stub macros and hopefully few prototypes,
21604     which can conflict with char $ac_func (); below.
21605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21606     <limits.h> exists even on freestanding compilers.  */
21607
21608 #ifdef __STDC__
21609 # include <limits.h>
21610 #else
21611 # include <assert.h>
21612 #endif
21613
21614 #undef $ac_func
21615
21616 /* Override any gcc2 internal prototype to avoid an error.  */
21617 #ifdef __cplusplus
21618 extern "C"
21619 {
21620 #endif
21621 /* We use char because int might match the return type of a gcc2
21622    builtin and then its argument prototype would still apply.  */
21623 char $ac_func ();
21624 /* The GNU C library defines this for functions which it implements
21625     to always fail with ENOSYS.  Some functions are actually named
21626     something starting with __ and the normal name is an alias.  */
21627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21628 choke me
21629 #else
21630 char (*f) () = $ac_func;
21631 #endif
21632 #ifdef __cplusplus
21633 }
21634 #endif
21635
21636 int
21637 main ()
21638 {
21639 return f != $ac_func;
21640   ;
21641   return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext conftest$ac_exeext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21646   (eval $ac_link) 2>conftest.er1
21647   ac_status=$?
21648   grep -v '^ *+' conftest.er1 >conftest.err
21649   rm -f conftest.er1
21650   cat conftest.err >&5
21651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652   (exit $ac_status); } &&
21653          { ac_try='test -z "$ac_c_werror_flag"
21654                          || test ! -s conftest.err'
21655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656   (eval $ac_try) 2>&5
21657   ac_status=$?
21658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659   (exit $ac_status); }; } &&
21660          { ac_try='test -s conftest$ac_exeext'
21661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662   (eval $ac_try) 2>&5
21663   ac_status=$?
21664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665   (exit $ac_status); }; }; then
21666   eval "$as_ac_var=yes"
21667 else
21668   echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21670
21671 eval "$as_ac_var=no"
21672 fi
21673 rm -f conftest.err conftest.$ac_objext \
21674       conftest$ac_exeext conftest.$ac_ext
21675 fi
21676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21678 if test `eval echo '${'$as_ac_var'}'` = yes; then
21679   cat >>confdefs.h <<_ACEOF
21680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21681 _ACEOF
21682
21683 fi
21684 done
21685
21686   else
21687
21688   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21689 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21690   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21691     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21692   echo $ECHO_N "(cached) $ECHO_C" >&6
21693 else
21694
21695
21696
21697       ac_ext=cc
21698 ac_cpp='$CXXCPP $CPPFLAGS'
21699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21702
21703       cat >conftest.$ac_ext <<_ACEOF
21704 /* confdefs.h.  */
21705 _ACEOF
21706 cat confdefs.h >>conftest.$ac_ext
21707 cat >>conftest.$ac_ext <<_ACEOF
21708 /* end confdefs.h.  */
21709 #include <math.h>
21710 int
21711 main ()
21712 {
21713  _hypot(0, 0);
21714   ;
21715   return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext
21719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21720   (eval $ac_compile) 2>conftest.er1
21721   ac_status=$?
21722   grep -v '^ *+' conftest.er1 >conftest.err
21723   rm -f conftest.er1
21724   cat conftest.err >&5
21725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726   (exit $ac_status); } &&
21727          { ac_try='test -z "$ac_cxx_werror_flag"
21728                          || test ! -s conftest.err'
21729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21730   (eval $ac_try) 2>&5
21731   ac_status=$?
21732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733   (exit $ac_status); }; } &&
21734          { ac_try='test -s conftest.$ac_objext'
21735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736   (eval $ac_try) 2>&5
21737   ac_status=$?
21738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739   (exit $ac_status); }; }; then
21740   glibcxx_cv_func__hypot_use=yes
21741 else
21742   echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.$ac_ext >&5
21744
21745 glibcxx_cv_func__hypot_use=no
21746 fi
21747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21748       ac_ext=c
21749 ac_cpp='$CPP $CPPFLAGS'
21750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21753
21754
21755 fi
21756
21757   fi
21758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21759 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21760
21761     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21762
21763 for ac_func in _hypot
21764 do
21765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21766 echo "$as_me:$LINENO: checking for $ac_func" >&5
21767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21768 if eval "test \"\${$as_ac_var+set}\" = set"; then
21769   echo $ECHO_N "(cached) $ECHO_C" >&6
21770 else
21771   if test x$gcc_no_link = xyes; then
21772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21774    { (exit 1); exit 1; }; }
21775 fi
21776 cat >conftest.$ac_ext <<_ACEOF
21777 /* confdefs.h.  */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h.  */
21782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21784 #define $ac_func innocuous_$ac_func
21785
21786 /* System header to define __stub macros and hopefully few prototypes,
21787     which can conflict with char $ac_func (); below.
21788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21789     <limits.h> exists even on freestanding compilers.  */
21790
21791 #ifdef __STDC__
21792 # include <limits.h>
21793 #else
21794 # include <assert.h>
21795 #endif
21796
21797 #undef $ac_func
21798
21799 /* Override any gcc2 internal prototype to avoid an error.  */
21800 #ifdef __cplusplus
21801 extern "C"
21802 {
21803 #endif
21804 /* We use char because int might match the return type of a gcc2
21805    builtin and then its argument prototype would still apply.  */
21806 char $ac_func ();
21807 /* The GNU C library defines this for functions which it implements
21808     to always fail with ENOSYS.  Some functions are actually named
21809     something starting with __ and the normal name is an alias.  */
21810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21811 choke me
21812 #else
21813 char (*f) () = $ac_func;
21814 #endif
21815 #ifdef __cplusplus
21816 }
21817 #endif
21818
21819 int
21820 main ()
21821 {
21822 return f != $ac_func;
21823   ;
21824   return 0;
21825 }
21826 _ACEOF
21827 rm -f conftest.$ac_objext conftest$ac_exeext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21829   (eval $ac_link) 2>conftest.er1
21830   ac_status=$?
21831   grep -v '^ *+' conftest.er1 >conftest.err
21832   rm -f conftest.er1
21833   cat conftest.err >&5
21834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835   (exit $ac_status); } &&
21836          { ac_try='test -z "$ac_c_werror_flag"
21837                          || test ! -s conftest.err'
21838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839   (eval $ac_try) 2>&5
21840   ac_status=$?
21841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842   (exit $ac_status); }; } &&
21843          { ac_try='test -s conftest$ac_exeext'
21844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845   (eval $ac_try) 2>&5
21846   ac_status=$?
21847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848   (exit $ac_status); }; }; then
21849   eval "$as_ac_var=yes"
21850 else
21851   echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 eval "$as_ac_var=no"
21855 fi
21856 rm -f conftest.err conftest.$ac_objext \
21857       conftest$ac_exeext conftest.$ac_ext
21858 fi
21859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21861 if test `eval echo '${'$as_ac_var'}'` = yes; then
21862   cat >>confdefs.h <<_ACEOF
21863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21864 _ACEOF
21865
21866 fi
21867 done
21868
21869     fi
21870   fi
21871
21872
21873
21874
21875
21876
21877     echo "$as_me:$LINENO: checking for float trig functions" >&5
21878 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21879   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21880   echo $ECHO_N "(cached) $ECHO_C" >&6
21881 else
21882
21883
21884
21885     ac_ext=cc
21886 ac_cpp='$CXXCPP $CPPFLAGS'
21887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21890
21891     cat >conftest.$ac_ext <<_ACEOF
21892 /* confdefs.h.  */
21893 _ACEOF
21894 cat confdefs.h >>conftest.$ac_ext
21895 cat >>conftest.$ac_ext <<_ACEOF
21896 /* end confdefs.h.  */
21897 #include <math.h>
21898 int
21899 main ()
21900 {
21901 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21902   ;
21903   return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest.$ac_objext
21907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21908   (eval $ac_compile) 2>conftest.er1
21909   ac_status=$?
21910   grep -v '^ *+' conftest.er1 >conftest.err
21911   rm -f conftest.er1
21912   cat conftest.err >&5
21913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914   (exit $ac_status); } &&
21915          { ac_try='test -z "$ac_cxx_werror_flag"
21916                          || test ! -s conftest.err'
21917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918   (eval $ac_try) 2>&5
21919   ac_status=$?
21920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921   (exit $ac_status); }; } &&
21922          { ac_try='test -s conftest.$ac_objext'
21923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924   (eval $ac_try) 2>&5
21925   ac_status=$?
21926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927   (exit $ac_status); }; }; then
21928   glibcxx_cv_func_float_trig_use=yes
21929 else
21930   echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 glibcxx_cv_func_float_trig_use=no
21934 fi
21935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21936     ac_ext=c
21937 ac_cpp='$CPP $CPPFLAGS'
21938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21941
21942 fi
21943
21944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21945 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21946   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21957 do
21958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21959 echo "$as_me:$LINENO: checking for $ac_func" >&5
21960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21961 if eval "test \"\${$as_ac_var+set}\" = set"; then
21962   echo $ECHO_N "(cached) $ECHO_C" >&6
21963 else
21964   if test x$gcc_no_link = xyes; then
21965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21967    { (exit 1); exit 1; }; }
21968 fi
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h.  */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h.  */
21975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21977 #define $ac_func innocuous_$ac_func
21978
21979 /* System header to define __stub macros and hopefully few prototypes,
21980     which can conflict with char $ac_func (); below.
21981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21982     <limits.h> exists even on freestanding compilers.  */
21983
21984 #ifdef __STDC__
21985 # include <limits.h>
21986 #else
21987 # include <assert.h>
21988 #endif
21989
21990 #undef $ac_func
21991
21992 /* Override any gcc2 internal prototype to avoid an error.  */
21993 #ifdef __cplusplus
21994 extern "C"
21995 {
21996 #endif
21997 /* We use char because int might match the return type of a gcc2
21998    builtin and then its argument prototype would still apply.  */
21999 char $ac_func ();
22000 /* The GNU C library defines this for functions which it implements
22001     to always fail with ENOSYS.  Some functions are actually named
22002     something starting with __ and the normal name is an alias.  */
22003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22004 choke me
22005 #else
22006 char (*f) () = $ac_func;
22007 #endif
22008 #ifdef __cplusplus
22009 }
22010 #endif
22011
22012 int
22013 main ()
22014 {
22015 return f != $ac_func;
22016   ;
22017   return 0;
22018 }
22019 _ACEOF
22020 rm -f conftest.$ac_objext conftest$ac_exeext
22021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22022   (eval $ac_link) 2>conftest.er1
22023   ac_status=$?
22024   grep -v '^ *+' conftest.er1 >conftest.err
22025   rm -f conftest.er1
22026   cat conftest.err >&5
22027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028   (exit $ac_status); } &&
22029          { ac_try='test -z "$ac_c_werror_flag"
22030                          || test ! -s conftest.err'
22031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032   (eval $ac_try) 2>&5
22033   ac_status=$?
22034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035   (exit $ac_status); }; } &&
22036          { ac_try='test -s conftest$ac_exeext'
22037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22038   (eval $ac_try) 2>&5
22039   ac_status=$?
22040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041   (exit $ac_status); }; }; then
22042   eval "$as_ac_var=yes"
22043 else
22044   echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22046
22047 eval "$as_ac_var=no"
22048 fi
22049 rm -f conftest.err conftest.$ac_objext \
22050       conftest$ac_exeext conftest.$ac_ext
22051 fi
22052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22054 if test `eval echo '${'$as_ac_var'}'` = yes; then
22055   cat >>confdefs.h <<_ACEOF
22056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22057 _ACEOF
22058
22059 fi
22060 done
22061
22062   else
22063     echo "$as_me:$LINENO: checking for _float trig functions" >&5
22064 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
22065     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
22066   echo $ECHO_N "(cached) $ECHO_C" >&6
22067 else
22068
22069
22070
22071       ac_ext=cc
22072 ac_cpp='$CXXCPP $CPPFLAGS'
22073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22076
22077       cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h.  */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h.  */
22083 #include <math.h>
22084 int
22085 main ()
22086 {
22087 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22088   ;
22089   return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest.$ac_objext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22094   (eval $ac_compile) 2>conftest.er1
22095   ac_status=$?
22096   grep -v '^ *+' conftest.er1 >conftest.err
22097   rm -f conftest.er1
22098   cat conftest.err >&5
22099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100   (exit $ac_status); } &&
22101          { ac_try='test -z "$ac_cxx_werror_flag"
22102                          || test ! -s conftest.err'
22103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104   (eval $ac_try) 2>&5
22105   ac_status=$?
22106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107   (exit $ac_status); }; } &&
22108          { ac_try='test -s conftest.$ac_objext'
22109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110   (eval $ac_try) 2>&5
22111   ac_status=$?
22112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113   (exit $ac_status); }; }; then
22114   glibcxx_cv_func__float_trig_use=yes
22115 else
22116   echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22118
22119 glibcxx_cv_func__float_trig_use=no
22120 fi
22121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22122       ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128 fi
22129
22130     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22131 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22132     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22143 do
22144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22145 echo "$as_me:$LINENO: checking for $ac_func" >&5
22146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22147 if eval "test \"\${$as_ac_var+set}\" = set"; then
22148   echo $ECHO_N "(cached) $ECHO_C" >&6
22149 else
22150   if test x$gcc_no_link = xyes; then
22151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22153    { (exit 1); exit 1; }; }
22154 fi
22155 cat >conftest.$ac_ext <<_ACEOF
22156 /* confdefs.h.  */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h.  */
22161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22163 #define $ac_func innocuous_$ac_func
22164
22165 /* System header to define __stub macros and hopefully few prototypes,
22166     which can conflict with char $ac_func (); below.
22167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22168     <limits.h> exists even on freestanding compilers.  */
22169
22170 #ifdef __STDC__
22171 # include <limits.h>
22172 #else
22173 # include <assert.h>
22174 #endif
22175
22176 #undef $ac_func
22177
22178 /* Override any gcc2 internal prototype to avoid an error.  */
22179 #ifdef __cplusplus
22180 extern "C"
22181 {
22182 #endif
22183 /* We use char because int might match the return type of a gcc2
22184    builtin and then its argument prototype would still apply.  */
22185 char $ac_func ();
22186 /* The GNU C library defines this for functions which it implements
22187     to always fail with ENOSYS.  Some functions are actually named
22188     something starting with __ and the normal name is an alias.  */
22189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22190 choke me
22191 #else
22192 char (*f) () = $ac_func;
22193 #endif
22194 #ifdef __cplusplus
22195 }
22196 #endif
22197
22198 int
22199 main ()
22200 {
22201 return f != $ac_func;
22202   ;
22203   return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext conftest$ac_exeext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22208   (eval $ac_link) 2>conftest.er1
22209   ac_status=$?
22210   grep -v '^ *+' conftest.er1 >conftest.err
22211   rm -f conftest.er1
22212   cat conftest.err >&5
22213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214   (exit $ac_status); } &&
22215          { ac_try='test -z "$ac_c_werror_flag"
22216                          || test ! -s conftest.err'
22217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218   (eval $ac_try) 2>&5
22219   ac_status=$?
22220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221   (exit $ac_status); }; } &&
22222          { ac_try='test -s conftest$ac_exeext'
22223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224   (eval $ac_try) 2>&5
22225   ac_status=$?
22226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227   (exit $ac_status); }; }; then
22228   eval "$as_ac_var=yes"
22229 else
22230   echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22232
22233 eval "$as_ac_var=no"
22234 fi
22235 rm -f conftest.err conftest.$ac_objext \
22236       conftest$ac_exeext conftest.$ac_ext
22237 fi
22238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22240 if test `eval echo '${'$as_ac_var'}'` = yes; then
22241   cat >>confdefs.h <<_ACEOF
22242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22243 _ACEOF
22244
22245 fi
22246 done
22247
22248     fi
22249   fi
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264     echo "$as_me:$LINENO: checking for float round functions" >&5
22265 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22266   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22267   echo $ECHO_N "(cached) $ECHO_C" >&6
22268 else
22269
22270
22271
22272     ac_ext=cc
22273 ac_cpp='$CXXCPP $CPPFLAGS'
22274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22277
22278     cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h.  */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h.  */
22284 #include <math.h>
22285 int
22286 main ()
22287 {
22288 ceilf (0); floorf (0);
22289   ;
22290   return 0;
22291 }
22292 _ACEOF
22293 rm -f conftest.$ac_objext
22294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22295   (eval $ac_compile) 2>conftest.er1
22296   ac_status=$?
22297   grep -v '^ *+' conftest.er1 >conftest.err
22298   rm -f conftest.er1
22299   cat conftest.err >&5
22300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301   (exit $ac_status); } &&
22302          { ac_try='test -z "$ac_cxx_werror_flag"
22303                          || test ! -s conftest.err'
22304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305   (eval $ac_try) 2>&5
22306   ac_status=$?
22307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308   (exit $ac_status); }; } &&
22309          { ac_try='test -s conftest.$ac_objext'
22310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311   (eval $ac_try) 2>&5
22312   ac_status=$?
22313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314   (exit $ac_status); }; }; then
22315   glibcxx_cv_func_float_round_use=yes
22316 else
22317   echo "$as_me: failed program was:" >&5
22318 sed 's/^/| /' conftest.$ac_ext >&5
22319
22320 glibcxx_cv_func_float_round_use=no
22321 fi
22322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22323     ac_ext=c
22324 ac_cpp='$CPP $CPPFLAGS'
22325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22328
22329 fi
22330
22331   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22332 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22333   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22334
22335
22336 for ac_func in ceilf floorf
22337 do
22338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22339 echo "$as_me:$LINENO: checking for $ac_func" >&5
22340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22341 if eval "test \"\${$as_ac_var+set}\" = set"; then
22342   echo $ECHO_N "(cached) $ECHO_C" >&6
22343 else
22344   if test x$gcc_no_link = xyes; then
22345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22347    { (exit 1); exit 1; }; }
22348 fi
22349 cat >conftest.$ac_ext <<_ACEOF
22350 /* confdefs.h.  */
22351 _ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h.  */
22355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22357 #define $ac_func innocuous_$ac_func
22358
22359 /* System header to define __stub macros and hopefully few prototypes,
22360     which can conflict with char $ac_func (); below.
22361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22362     <limits.h> exists even on freestanding compilers.  */
22363
22364 #ifdef __STDC__
22365 # include <limits.h>
22366 #else
22367 # include <assert.h>
22368 #endif
22369
22370 #undef $ac_func
22371
22372 /* Override any gcc2 internal prototype to avoid an error.  */
22373 #ifdef __cplusplus
22374 extern "C"
22375 {
22376 #endif
22377 /* We use char because int might match the return type of a gcc2
22378    builtin and then its argument prototype would still apply.  */
22379 char $ac_func ();
22380 /* The GNU C library defines this for functions which it implements
22381     to always fail with ENOSYS.  Some functions are actually named
22382     something starting with __ and the normal name is an alias.  */
22383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22384 choke me
22385 #else
22386 char (*f) () = $ac_func;
22387 #endif
22388 #ifdef __cplusplus
22389 }
22390 #endif
22391
22392 int
22393 main ()
22394 {
22395 return f != $ac_func;
22396   ;
22397   return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest.$ac_objext conftest$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402   (eval $ac_link) 2>conftest.er1
22403   ac_status=$?
22404   grep -v '^ *+' conftest.er1 >conftest.err
22405   rm -f conftest.er1
22406   cat conftest.err >&5
22407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408   (exit $ac_status); } &&
22409          { ac_try='test -z "$ac_c_werror_flag"
22410                          || test ! -s conftest.err'
22411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412   (eval $ac_try) 2>&5
22413   ac_status=$?
22414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415   (exit $ac_status); }; } &&
22416          { ac_try='test -s conftest$ac_exeext'
22417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418   (eval $ac_try) 2>&5
22419   ac_status=$?
22420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421   (exit $ac_status); }; }; then
22422   eval "$as_ac_var=yes"
22423 else
22424   echo "$as_me: failed program was:" >&5
22425 sed 's/^/| /' conftest.$ac_ext >&5
22426
22427 eval "$as_ac_var=no"
22428 fi
22429 rm -f conftest.err conftest.$ac_objext \
22430       conftest$ac_exeext conftest.$ac_ext
22431 fi
22432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22434 if test `eval echo '${'$as_ac_var'}'` = yes; then
22435   cat >>confdefs.h <<_ACEOF
22436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22437 _ACEOF
22438
22439 fi
22440 done
22441
22442   else
22443     echo "$as_me:$LINENO: checking for _float round functions" >&5
22444 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22445     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22446   echo $ECHO_N "(cached) $ECHO_C" >&6
22447 else
22448
22449
22450
22451       ac_ext=cc
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22456
22457       cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h.  */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h.  */
22463 #include <math.h>
22464 int
22465 main ()
22466 {
22467 _ceilf (0); _floorf (0);
22468   ;
22469   return 0;
22470 }
22471 _ACEOF
22472 rm -f conftest.$ac_objext
22473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22474   (eval $ac_compile) 2>conftest.er1
22475   ac_status=$?
22476   grep -v '^ *+' conftest.er1 >conftest.err
22477   rm -f conftest.er1
22478   cat conftest.err >&5
22479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480   (exit $ac_status); } &&
22481          { ac_try='test -z "$ac_cxx_werror_flag"
22482                          || test ! -s conftest.err'
22483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484   (eval $ac_try) 2>&5
22485   ac_status=$?
22486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487   (exit $ac_status); }; } &&
22488          { ac_try='test -s conftest.$ac_objext'
22489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490   (eval $ac_try) 2>&5
22491   ac_status=$?
22492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493   (exit $ac_status); }; }; then
22494   glibcxx_cv_func__float_round_use=yes
22495 else
22496   echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.$ac_ext >&5
22498
22499 glibcxx_cv_func__float_round_use=no
22500 fi
22501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22502       ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507
22508 fi
22509
22510     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22511 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22512     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22513
22514
22515 for ac_func in _ceilf _floorf
22516 do
22517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22518 echo "$as_me:$LINENO: checking for $ac_func" >&5
22519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22520 if eval "test \"\${$as_ac_var+set}\" = set"; then
22521   echo $ECHO_N "(cached) $ECHO_C" >&6
22522 else
22523   if test x$gcc_no_link = xyes; then
22524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22526    { (exit 1); exit 1; }; }
22527 fi
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h.  */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h.  */
22534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22536 #define $ac_func innocuous_$ac_func
22537
22538 /* System header to define __stub macros and hopefully few prototypes,
22539     which can conflict with char $ac_func (); below.
22540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22541     <limits.h> exists even on freestanding compilers.  */
22542
22543 #ifdef __STDC__
22544 # include <limits.h>
22545 #else
22546 # include <assert.h>
22547 #endif
22548
22549 #undef $ac_func
22550
22551 /* Override any gcc2 internal prototype to avoid an error.  */
22552 #ifdef __cplusplus
22553 extern "C"
22554 {
22555 #endif
22556 /* We use char because int might match the return type of a gcc2
22557    builtin and then its argument prototype would still apply.  */
22558 char $ac_func ();
22559 /* The GNU C library defines this for functions which it implements
22560     to always fail with ENOSYS.  Some functions are actually named
22561     something starting with __ and the normal name is an alias.  */
22562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22563 choke me
22564 #else
22565 char (*f) () = $ac_func;
22566 #endif
22567 #ifdef __cplusplus
22568 }
22569 #endif
22570
22571 int
22572 main ()
22573 {
22574 return f != $ac_func;
22575   ;
22576   return 0;
22577 }
22578 _ACEOF
22579 rm -f conftest.$ac_objext conftest$ac_exeext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22581   (eval $ac_link) 2>conftest.er1
22582   ac_status=$?
22583   grep -v '^ *+' conftest.er1 >conftest.err
22584   rm -f conftest.er1
22585   cat conftest.err >&5
22586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587   (exit $ac_status); } &&
22588          { ac_try='test -z "$ac_c_werror_flag"
22589                          || test ! -s conftest.err'
22590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591   (eval $ac_try) 2>&5
22592   ac_status=$?
22593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594   (exit $ac_status); }; } &&
22595          { ac_try='test -s conftest$ac_exeext'
22596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597   (eval $ac_try) 2>&5
22598   ac_status=$?
22599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600   (exit $ac_status); }; }; then
22601   eval "$as_ac_var=yes"
22602 else
22603   echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 eval "$as_ac_var=no"
22607 fi
22608 rm -f conftest.err conftest.$ac_objext \
22609       conftest$ac_exeext conftest.$ac_ext
22610 fi
22611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22613 if test `eval echo '${'$as_ac_var'}'` = yes; then
22614   cat >>confdefs.h <<_ACEOF
22615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22616 _ACEOF
22617
22618 fi
22619 done
22620
22621     fi
22622   fi
22623
22624
22625
22626
22627
22628
22629
22630
22631   echo "$as_me:$LINENO: checking for expf declaration" >&5
22632 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22633   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22634     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22635   echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637
22638
22639
22640       ac_ext=cc
22641 ac_cpp='$CXXCPP $CPPFLAGS'
22642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22645
22646       cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h.  */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h.  */
22652 #include <math.h>
22653                       #ifdef HAVE_IEEEFP_H
22654                       #include <ieeefp.h>
22655                       #endif
22656
22657 int
22658 main ()
22659 {
22660  expf(0);
22661   ;
22662   return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22667   (eval $ac_compile) 2>conftest.er1
22668   ac_status=$?
22669   grep -v '^ *+' conftest.er1 >conftest.err
22670   rm -f conftest.er1
22671   cat conftest.err >&5
22672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673   (exit $ac_status); } &&
22674          { ac_try='test -z "$ac_cxx_werror_flag"
22675                          || test ! -s conftest.err'
22676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677   (eval $ac_try) 2>&5
22678   ac_status=$?
22679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680   (exit $ac_status); }; } &&
22681          { ac_try='test -s conftest.$ac_objext'
22682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683   (eval $ac_try) 2>&5
22684   ac_status=$?
22685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686   (exit $ac_status); }; }; then
22687   glibcxx_cv_func_expf_use=yes
22688 else
22689   echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22691
22692 glibcxx_cv_func_expf_use=no
22693 fi
22694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22695       ac_ext=c
22696 ac_cpp='$CPP $CPPFLAGS'
22697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22700
22701
22702 fi
22703
22704   fi
22705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22706 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22707
22708   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22709
22710 for ac_func in expf
22711 do
22712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22713 echo "$as_me:$LINENO: checking for $ac_func" >&5
22714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22715 if eval "test \"\${$as_ac_var+set}\" = set"; then
22716   echo $ECHO_N "(cached) $ECHO_C" >&6
22717 else
22718   if test x$gcc_no_link = xyes; then
22719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22721    { (exit 1); exit 1; }; }
22722 fi
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h.  */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h.  */
22729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22731 #define $ac_func innocuous_$ac_func
22732
22733 /* System header to define __stub macros and hopefully few prototypes,
22734     which can conflict with char $ac_func (); below.
22735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22736     <limits.h> exists even on freestanding compilers.  */
22737
22738 #ifdef __STDC__
22739 # include <limits.h>
22740 #else
22741 # include <assert.h>
22742 #endif
22743
22744 #undef $ac_func
22745
22746 /* Override any gcc2 internal prototype to avoid an error.  */
22747 #ifdef __cplusplus
22748 extern "C"
22749 {
22750 #endif
22751 /* We use char because int might match the return type of a gcc2
22752    builtin and then its argument prototype would still apply.  */
22753 char $ac_func ();
22754 /* The GNU C library defines this for functions which it implements
22755     to always fail with ENOSYS.  Some functions are actually named
22756     something starting with __ and the normal name is an alias.  */
22757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22758 choke me
22759 #else
22760 char (*f) () = $ac_func;
22761 #endif
22762 #ifdef __cplusplus
22763 }
22764 #endif
22765
22766 int
22767 main ()
22768 {
22769 return f != $ac_func;
22770   ;
22771   return 0;
22772 }
22773 _ACEOF
22774 rm -f conftest.$ac_objext conftest$ac_exeext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776   (eval $ac_link) 2>conftest.er1
22777   ac_status=$?
22778   grep -v '^ *+' conftest.er1 >conftest.err
22779   rm -f conftest.er1
22780   cat conftest.err >&5
22781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782   (exit $ac_status); } &&
22783          { ac_try='test -z "$ac_c_werror_flag"
22784                          || test ! -s conftest.err'
22785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786   (eval $ac_try) 2>&5
22787   ac_status=$?
22788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789   (exit $ac_status); }; } &&
22790          { ac_try='test -s conftest$ac_exeext'
22791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792   (eval $ac_try) 2>&5
22793   ac_status=$?
22794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795   (exit $ac_status); }; }; then
22796   eval "$as_ac_var=yes"
22797 else
22798   echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.$ac_ext >&5
22800
22801 eval "$as_ac_var=no"
22802 fi
22803 rm -f conftest.err conftest.$ac_objext \
22804       conftest$ac_exeext conftest.$ac_ext
22805 fi
22806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22808 if test `eval echo '${'$as_ac_var'}'` = yes; then
22809   cat >>confdefs.h <<_ACEOF
22810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22811 _ACEOF
22812
22813 fi
22814 done
22815
22816   else
22817
22818   echo "$as_me:$LINENO: checking for _expf declaration" >&5
22819 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22820   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22821     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22822   echo $ECHO_N "(cached) $ECHO_C" >&6
22823 else
22824
22825
22826
22827       ac_ext=cc
22828 ac_cpp='$CXXCPP $CPPFLAGS'
22829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22832
22833       cat >conftest.$ac_ext <<_ACEOF
22834 /* confdefs.h.  */
22835 _ACEOF
22836 cat confdefs.h >>conftest.$ac_ext
22837 cat >>conftest.$ac_ext <<_ACEOF
22838 /* end confdefs.h.  */
22839 #include <math.h>
22840                       #ifdef HAVE_IEEEFP_H
22841                       #include <ieeefp.h>
22842                       #endif
22843
22844 int
22845 main ()
22846 {
22847  _expf(0);
22848   ;
22849   return 0;
22850 }
22851 _ACEOF
22852 rm -f conftest.$ac_objext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22854   (eval $ac_compile) 2>conftest.er1
22855   ac_status=$?
22856   grep -v '^ *+' conftest.er1 >conftest.err
22857   rm -f conftest.er1
22858   cat conftest.err >&5
22859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860   (exit $ac_status); } &&
22861          { ac_try='test -z "$ac_cxx_werror_flag"
22862                          || test ! -s conftest.err'
22863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864   (eval $ac_try) 2>&5
22865   ac_status=$?
22866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867   (exit $ac_status); }; } &&
22868          { ac_try='test -s conftest.$ac_objext'
22869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870   (eval $ac_try) 2>&5
22871   ac_status=$?
22872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873   (exit $ac_status); }; }; then
22874   glibcxx_cv_func__expf_use=yes
22875 else
22876   echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 glibcxx_cv_func__expf_use=no
22880 fi
22881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22882       ac_ext=c
22883 ac_cpp='$CPP $CPPFLAGS'
22884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22887
22888
22889 fi
22890
22891   fi
22892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22893 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22894
22895     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22896
22897 for ac_func in _expf
22898 do
22899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22900 echo "$as_me:$LINENO: checking for $ac_func" >&5
22901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22902 if eval "test \"\${$as_ac_var+set}\" = set"; then
22903   echo $ECHO_N "(cached) $ECHO_C" >&6
22904 else
22905   if test x$gcc_no_link = xyes; then
22906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22908    { (exit 1); exit 1; }; }
22909 fi
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h.  */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h.  */
22916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22918 #define $ac_func innocuous_$ac_func
22919
22920 /* System header to define __stub macros and hopefully few prototypes,
22921     which can conflict with char $ac_func (); below.
22922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22923     <limits.h> exists even on freestanding compilers.  */
22924
22925 #ifdef __STDC__
22926 # include <limits.h>
22927 #else
22928 # include <assert.h>
22929 #endif
22930
22931 #undef $ac_func
22932
22933 /* Override any gcc2 internal prototype to avoid an error.  */
22934 #ifdef __cplusplus
22935 extern "C"
22936 {
22937 #endif
22938 /* We use char because int might match the return type of a gcc2
22939    builtin and then its argument prototype would still apply.  */
22940 char $ac_func ();
22941 /* The GNU C library defines this for functions which it implements
22942     to always fail with ENOSYS.  Some functions are actually named
22943     something starting with __ and the normal name is an alias.  */
22944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22945 choke me
22946 #else
22947 char (*f) () = $ac_func;
22948 #endif
22949 #ifdef __cplusplus
22950 }
22951 #endif
22952
22953 int
22954 main ()
22955 {
22956 return f != $ac_func;
22957   ;
22958   return 0;
22959 }
22960 _ACEOF
22961 rm -f conftest.$ac_objext conftest$ac_exeext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22963   (eval $ac_link) 2>conftest.er1
22964   ac_status=$?
22965   grep -v '^ *+' conftest.er1 >conftest.err
22966   rm -f conftest.er1
22967   cat conftest.err >&5
22968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969   (exit $ac_status); } &&
22970          { ac_try='test -z "$ac_c_werror_flag"
22971                          || test ! -s conftest.err'
22972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973   (eval $ac_try) 2>&5
22974   ac_status=$?
22975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976   (exit $ac_status); }; } &&
22977          { ac_try='test -s conftest$ac_exeext'
22978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22979   (eval $ac_try) 2>&5
22980   ac_status=$?
22981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982   (exit $ac_status); }; }; then
22983   eval "$as_ac_var=yes"
22984 else
22985   echo "$as_me: failed program was:" >&5
22986 sed 's/^/| /' conftest.$ac_ext >&5
22987
22988 eval "$as_ac_var=no"
22989 fi
22990 rm -f conftest.err conftest.$ac_objext \
22991       conftest$ac_exeext conftest.$ac_ext
22992 fi
22993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22995 if test `eval echo '${'$as_ac_var'}'` = yes; then
22996   cat >>confdefs.h <<_ACEOF
22997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22998 _ACEOF
22999
23000 fi
23001 done
23002
23003     fi
23004   fi
23005
23006
23007
23008
23009
23010
23011   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
23012 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
23013   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23014     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
23015   echo $ECHO_N "(cached) $ECHO_C" >&6
23016 else
23017
23018
23019
23020       ac_ext=cc
23021 ac_cpp='$CXXCPP $CPPFLAGS'
23022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23025
23026       cat >conftest.$ac_ext <<_ACEOF
23027 /* confdefs.h.  */
23028 _ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h.  */
23032 #include <math.h>
23033                       #ifdef HAVE_IEEEFP_H
23034                       #include <ieeefp.h>
23035                       #endif
23036
23037 int
23038 main ()
23039 {
23040  isnanf(0);
23041   ;
23042   return 0;
23043 }
23044 _ACEOF
23045 rm -f conftest.$ac_objext
23046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23047   (eval $ac_compile) 2>conftest.er1
23048   ac_status=$?
23049   grep -v '^ *+' conftest.er1 >conftest.err
23050   rm -f conftest.er1
23051   cat conftest.err >&5
23052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053   (exit $ac_status); } &&
23054          { ac_try='test -z "$ac_cxx_werror_flag"
23055                          || test ! -s conftest.err'
23056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23057   (eval $ac_try) 2>&5
23058   ac_status=$?
23059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060   (exit $ac_status); }; } &&
23061          { ac_try='test -s conftest.$ac_objext'
23062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23063   (eval $ac_try) 2>&5
23064   ac_status=$?
23065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066   (exit $ac_status); }; }; then
23067   glibcxx_cv_func_isnanf_use=yes
23068 else
23069   echo "$as_me: failed program was:" >&5
23070 sed 's/^/| /' conftest.$ac_ext >&5
23071
23072 glibcxx_cv_func_isnanf_use=no
23073 fi
23074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23075       ac_ext=c
23076 ac_cpp='$CPP $CPPFLAGS'
23077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23080
23081
23082 fi
23083
23084   fi
23085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23086 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23087
23088   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23089
23090 for ac_func in isnanf
23091 do
23092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23093 echo "$as_me:$LINENO: checking for $ac_func" >&5
23094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23095 if eval "test \"\${$as_ac_var+set}\" = set"; then
23096   echo $ECHO_N "(cached) $ECHO_C" >&6
23097 else
23098   if test x$gcc_no_link = xyes; then
23099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23101    { (exit 1); exit 1; }; }
23102 fi
23103 cat >conftest.$ac_ext <<_ACEOF
23104 /* confdefs.h.  */
23105 _ACEOF
23106 cat confdefs.h >>conftest.$ac_ext
23107 cat >>conftest.$ac_ext <<_ACEOF
23108 /* end confdefs.h.  */
23109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23111 #define $ac_func innocuous_$ac_func
23112
23113 /* System header to define __stub macros and hopefully few prototypes,
23114     which can conflict with char $ac_func (); below.
23115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23116     <limits.h> exists even on freestanding compilers.  */
23117
23118 #ifdef __STDC__
23119 # include <limits.h>
23120 #else
23121 # include <assert.h>
23122 #endif
23123
23124 #undef $ac_func
23125
23126 /* Override any gcc2 internal prototype to avoid an error.  */
23127 #ifdef __cplusplus
23128 extern "C"
23129 {
23130 #endif
23131 /* We use char because int might match the return type of a gcc2
23132    builtin and then its argument prototype would still apply.  */
23133 char $ac_func ();
23134 /* The GNU C library defines this for functions which it implements
23135     to always fail with ENOSYS.  Some functions are actually named
23136     something starting with __ and the normal name is an alias.  */
23137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23138 choke me
23139 #else
23140 char (*f) () = $ac_func;
23141 #endif
23142 #ifdef __cplusplus
23143 }
23144 #endif
23145
23146 int
23147 main ()
23148 {
23149 return f != $ac_func;
23150   ;
23151   return 0;
23152 }
23153 _ACEOF
23154 rm -f conftest.$ac_objext conftest$ac_exeext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23156   (eval $ac_link) 2>conftest.er1
23157   ac_status=$?
23158   grep -v '^ *+' conftest.er1 >conftest.err
23159   rm -f conftest.er1
23160   cat conftest.err >&5
23161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162   (exit $ac_status); } &&
23163          { ac_try='test -z "$ac_c_werror_flag"
23164                          || test ! -s conftest.err'
23165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23166   (eval $ac_try) 2>&5
23167   ac_status=$?
23168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169   (exit $ac_status); }; } &&
23170          { ac_try='test -s conftest$ac_exeext'
23171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172   (eval $ac_try) 2>&5
23173   ac_status=$?
23174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175   (exit $ac_status); }; }; then
23176   eval "$as_ac_var=yes"
23177 else
23178   echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 eval "$as_ac_var=no"
23182 fi
23183 rm -f conftest.err conftest.$ac_objext \
23184       conftest$ac_exeext conftest.$ac_ext
23185 fi
23186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23188 if test `eval echo '${'$as_ac_var'}'` = yes; then
23189   cat >>confdefs.h <<_ACEOF
23190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23191 _ACEOF
23192
23193 fi
23194 done
23195
23196   else
23197
23198   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23199 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23200   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23201     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23202   echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204
23205
23206
23207       ac_ext=cc
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213       cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h.  */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h.  */
23219 #include <math.h>
23220                       #ifdef HAVE_IEEEFP_H
23221                       #include <ieeefp.h>
23222                       #endif
23223
23224 int
23225 main ()
23226 {
23227  _isnanf(0);
23228   ;
23229   return 0;
23230 }
23231 _ACEOF
23232 rm -f conftest.$ac_objext
23233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23234   (eval $ac_compile) 2>conftest.er1
23235   ac_status=$?
23236   grep -v '^ *+' conftest.er1 >conftest.err
23237   rm -f conftest.er1
23238   cat conftest.err >&5
23239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240   (exit $ac_status); } &&
23241          { ac_try='test -z "$ac_cxx_werror_flag"
23242                          || test ! -s conftest.err'
23243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244   (eval $ac_try) 2>&5
23245   ac_status=$?
23246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247   (exit $ac_status); }; } &&
23248          { ac_try='test -s conftest.$ac_objext'
23249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250   (eval $ac_try) 2>&5
23251   ac_status=$?
23252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253   (exit $ac_status); }; }; then
23254   glibcxx_cv_func__isnanf_use=yes
23255 else
23256   echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23258
23259 glibcxx_cv_func__isnanf_use=no
23260 fi
23261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23262       ac_ext=c
23263 ac_cpp='$CPP $CPPFLAGS'
23264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23267
23268
23269 fi
23270
23271   fi
23272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23273 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23274
23275     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23276
23277 for ac_func in _isnanf
23278 do
23279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23280 echo "$as_me:$LINENO: checking for $ac_func" >&5
23281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23282 if eval "test \"\${$as_ac_var+set}\" = set"; then
23283   echo $ECHO_N "(cached) $ECHO_C" >&6
23284 else
23285   if test x$gcc_no_link = xyes; then
23286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23288    { (exit 1); exit 1; }; }
23289 fi
23290 cat >conftest.$ac_ext <<_ACEOF
23291 /* confdefs.h.  */
23292 _ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h.  */
23296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23298 #define $ac_func innocuous_$ac_func
23299
23300 /* System header to define __stub macros and hopefully few prototypes,
23301     which can conflict with char $ac_func (); below.
23302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23303     <limits.h> exists even on freestanding compilers.  */
23304
23305 #ifdef __STDC__
23306 # include <limits.h>
23307 #else
23308 # include <assert.h>
23309 #endif
23310
23311 #undef $ac_func
23312
23313 /* Override any gcc2 internal prototype to avoid an error.  */
23314 #ifdef __cplusplus
23315 extern "C"
23316 {
23317 #endif
23318 /* We use char because int might match the return type of a gcc2
23319    builtin and then its argument prototype would still apply.  */
23320 char $ac_func ();
23321 /* The GNU C library defines this for functions which it implements
23322     to always fail with ENOSYS.  Some functions are actually named
23323     something starting with __ and the normal name is an alias.  */
23324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23325 choke me
23326 #else
23327 char (*f) () = $ac_func;
23328 #endif
23329 #ifdef __cplusplus
23330 }
23331 #endif
23332
23333 int
23334 main ()
23335 {
23336 return f != $ac_func;
23337   ;
23338   return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343   (eval $ac_link) 2>conftest.er1
23344   ac_status=$?
23345   grep -v '^ *+' conftest.er1 >conftest.err
23346   rm -f conftest.er1
23347   cat conftest.err >&5
23348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349   (exit $ac_status); } &&
23350          { ac_try='test -z "$ac_c_werror_flag"
23351                          || test ! -s conftest.err'
23352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353   (eval $ac_try) 2>&5
23354   ac_status=$?
23355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356   (exit $ac_status); }; } &&
23357          { ac_try='test -s conftest$ac_exeext'
23358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359   (eval $ac_try) 2>&5
23360   ac_status=$?
23361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362   (exit $ac_status); }; }; then
23363   eval "$as_ac_var=yes"
23364 else
23365   echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 eval "$as_ac_var=no"
23369 fi
23370 rm -f conftest.err conftest.$ac_objext \
23371       conftest$ac_exeext conftest.$ac_ext
23372 fi
23373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23375 if test `eval echo '${'$as_ac_var'}'` = yes; then
23376   cat >>confdefs.h <<_ACEOF
23377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23378 _ACEOF
23379
23380 fi
23381 done
23382
23383     fi
23384   fi
23385
23386
23387
23388
23389
23390
23391   echo "$as_me:$LINENO: checking for isinff declaration" >&5
23392 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23393   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23394     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23395   echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397
23398
23399
23400       ac_ext=cc
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406       cat >conftest.$ac_ext <<_ACEOF
23407 /* confdefs.h.  */
23408 _ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h.  */
23412 #include <math.h>
23413                       #ifdef HAVE_IEEEFP_H
23414                       #include <ieeefp.h>
23415                       #endif
23416
23417 int
23418 main ()
23419 {
23420  isinff(0);
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23427   (eval $ac_compile) 2>conftest.er1
23428   ac_status=$?
23429   grep -v '^ *+' conftest.er1 >conftest.err
23430   rm -f conftest.er1
23431   cat conftest.err >&5
23432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433   (exit $ac_status); } &&
23434          { ac_try='test -z "$ac_cxx_werror_flag"
23435                          || test ! -s conftest.err'
23436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437   (eval $ac_try) 2>&5
23438   ac_status=$?
23439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440   (exit $ac_status); }; } &&
23441          { ac_try='test -s conftest.$ac_objext'
23442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443   (eval $ac_try) 2>&5
23444   ac_status=$?
23445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446   (exit $ac_status); }; }; then
23447   glibcxx_cv_func_isinff_use=yes
23448 else
23449   echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23451
23452 glibcxx_cv_func_isinff_use=no
23453 fi
23454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23455       ac_ext=c
23456 ac_cpp='$CPP $CPPFLAGS'
23457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460
23461
23462 fi
23463
23464   fi
23465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23466 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23467
23468   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23469
23470 for ac_func in isinff
23471 do
23472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23473 echo "$as_me:$LINENO: checking for $ac_func" >&5
23474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23475 if eval "test \"\${$as_ac_var+set}\" = set"; then
23476   echo $ECHO_N "(cached) $ECHO_C" >&6
23477 else
23478   if test x$gcc_no_link = xyes; then
23479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23481    { (exit 1); exit 1; }; }
23482 fi
23483 cat >conftest.$ac_ext <<_ACEOF
23484 /* confdefs.h.  */
23485 _ACEOF
23486 cat confdefs.h >>conftest.$ac_ext
23487 cat >>conftest.$ac_ext <<_ACEOF
23488 /* end confdefs.h.  */
23489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23491 #define $ac_func innocuous_$ac_func
23492
23493 /* System header to define __stub macros and hopefully few prototypes,
23494     which can conflict with char $ac_func (); below.
23495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23496     <limits.h> exists even on freestanding compilers.  */
23497
23498 #ifdef __STDC__
23499 # include <limits.h>
23500 #else
23501 # include <assert.h>
23502 #endif
23503
23504 #undef $ac_func
23505
23506 /* Override any gcc2 internal prototype to avoid an error.  */
23507 #ifdef __cplusplus
23508 extern "C"
23509 {
23510 #endif
23511 /* We use char because int might match the return type of a gcc2
23512    builtin and then its argument prototype would still apply.  */
23513 char $ac_func ();
23514 /* The GNU C library defines this for functions which it implements
23515     to always fail with ENOSYS.  Some functions are actually named
23516     something starting with __ and the normal name is an alias.  */
23517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23518 choke me
23519 #else
23520 char (*f) () = $ac_func;
23521 #endif
23522 #ifdef __cplusplus
23523 }
23524 #endif
23525
23526 int
23527 main ()
23528 {
23529 return f != $ac_func;
23530   ;
23531   return 0;
23532 }
23533 _ACEOF
23534 rm -f conftest.$ac_objext conftest$ac_exeext
23535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23536   (eval $ac_link) 2>conftest.er1
23537   ac_status=$?
23538   grep -v '^ *+' conftest.er1 >conftest.err
23539   rm -f conftest.er1
23540   cat conftest.err >&5
23541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542   (exit $ac_status); } &&
23543          { ac_try='test -z "$ac_c_werror_flag"
23544                          || test ! -s conftest.err'
23545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546   (eval $ac_try) 2>&5
23547   ac_status=$?
23548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549   (exit $ac_status); }; } &&
23550          { ac_try='test -s conftest$ac_exeext'
23551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552   (eval $ac_try) 2>&5
23553   ac_status=$?
23554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555   (exit $ac_status); }; }; then
23556   eval "$as_ac_var=yes"
23557 else
23558   echo "$as_me: failed program was:" >&5
23559 sed 's/^/| /' conftest.$ac_ext >&5
23560
23561 eval "$as_ac_var=no"
23562 fi
23563 rm -f conftest.err conftest.$ac_objext \
23564       conftest$ac_exeext conftest.$ac_ext
23565 fi
23566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23568 if test `eval echo '${'$as_ac_var'}'` = yes; then
23569   cat >>confdefs.h <<_ACEOF
23570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23571 _ACEOF
23572
23573 fi
23574 done
23575
23576   else
23577
23578   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23579 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23580   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23581     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23582   echo $ECHO_N "(cached) $ECHO_C" >&6
23583 else
23584
23585
23586
23587       ac_ext=cc
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23592
23593       cat >conftest.$ac_ext <<_ACEOF
23594 /* confdefs.h.  */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h.  */
23599 #include <math.h>
23600                       #ifdef HAVE_IEEEFP_H
23601                       #include <ieeefp.h>
23602                       #endif
23603
23604 int
23605 main ()
23606 {
23607  _isinff(0);
23608   ;
23609   return 0;
23610 }
23611 _ACEOF
23612 rm -f conftest.$ac_objext
23613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23614   (eval $ac_compile) 2>conftest.er1
23615   ac_status=$?
23616   grep -v '^ *+' conftest.er1 >conftest.err
23617   rm -f conftest.er1
23618   cat conftest.err >&5
23619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620   (exit $ac_status); } &&
23621          { ac_try='test -z "$ac_cxx_werror_flag"
23622                          || test ! -s conftest.err'
23623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624   (eval $ac_try) 2>&5
23625   ac_status=$?
23626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627   (exit $ac_status); }; } &&
23628          { ac_try='test -s conftest.$ac_objext'
23629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630   (eval $ac_try) 2>&5
23631   ac_status=$?
23632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633   (exit $ac_status); }; }; then
23634   glibcxx_cv_func__isinff_use=yes
23635 else
23636   echo "$as_me: failed program was:" >&5
23637 sed 's/^/| /' conftest.$ac_ext >&5
23638
23639 glibcxx_cv_func__isinff_use=no
23640 fi
23641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23642       ac_ext=c
23643 ac_cpp='$CPP $CPPFLAGS'
23644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23647
23648
23649 fi
23650
23651   fi
23652   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23653 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23654
23655     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23656
23657 for ac_func in _isinff
23658 do
23659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23660 echo "$as_me:$LINENO: checking for $ac_func" >&5
23661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23662 if eval "test \"\${$as_ac_var+set}\" = set"; then
23663   echo $ECHO_N "(cached) $ECHO_C" >&6
23664 else
23665   if test x$gcc_no_link = xyes; then
23666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23668    { (exit 1); exit 1; }; }
23669 fi
23670 cat >conftest.$ac_ext <<_ACEOF
23671 /* confdefs.h.  */
23672 _ACEOF
23673 cat confdefs.h >>conftest.$ac_ext
23674 cat >>conftest.$ac_ext <<_ACEOF
23675 /* end confdefs.h.  */
23676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23678 #define $ac_func innocuous_$ac_func
23679
23680 /* System header to define __stub macros and hopefully few prototypes,
23681     which can conflict with char $ac_func (); below.
23682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23683     <limits.h> exists even on freestanding compilers.  */
23684
23685 #ifdef __STDC__
23686 # include <limits.h>
23687 #else
23688 # include <assert.h>
23689 #endif
23690
23691 #undef $ac_func
23692
23693 /* Override any gcc2 internal prototype to avoid an error.  */
23694 #ifdef __cplusplus
23695 extern "C"
23696 {
23697 #endif
23698 /* We use char because int might match the return type of a gcc2
23699    builtin and then its argument prototype would still apply.  */
23700 char $ac_func ();
23701 /* The GNU C library defines this for functions which it implements
23702     to always fail with ENOSYS.  Some functions are actually named
23703     something starting with __ and the normal name is an alias.  */
23704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23705 choke me
23706 #else
23707 char (*f) () = $ac_func;
23708 #endif
23709 #ifdef __cplusplus
23710 }
23711 #endif
23712
23713 int
23714 main ()
23715 {
23716 return f != $ac_func;
23717   ;
23718   return 0;
23719 }
23720 _ACEOF
23721 rm -f conftest.$ac_objext conftest$ac_exeext
23722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23723   (eval $ac_link) 2>conftest.er1
23724   ac_status=$?
23725   grep -v '^ *+' conftest.er1 >conftest.err
23726   rm -f conftest.er1
23727   cat conftest.err >&5
23728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729   (exit $ac_status); } &&
23730          { ac_try='test -z "$ac_c_werror_flag"
23731                          || test ! -s conftest.err'
23732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733   (eval $ac_try) 2>&5
23734   ac_status=$?
23735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736   (exit $ac_status); }; } &&
23737          { ac_try='test -s conftest$ac_exeext'
23738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739   (eval $ac_try) 2>&5
23740   ac_status=$?
23741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742   (exit $ac_status); }; }; then
23743   eval "$as_ac_var=yes"
23744 else
23745   echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 eval "$as_ac_var=no"
23749 fi
23750 rm -f conftest.err conftest.$ac_objext \
23751       conftest$ac_exeext conftest.$ac_ext
23752 fi
23753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23755 if test `eval echo '${'$as_ac_var'}'` = yes; then
23756   cat >>confdefs.h <<_ACEOF
23757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23758 _ACEOF
23759
23760 fi
23761 done
23762
23763     fi
23764   fi
23765
23766
23767
23768
23769
23770
23771   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23772 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23773   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23774     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23775   echo $ECHO_N "(cached) $ECHO_C" >&6
23776 else
23777
23778
23779
23780       ac_ext=cc
23781 ac_cpp='$CXXCPP $CPPFLAGS'
23782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23785
23786       cat >conftest.$ac_ext <<_ACEOF
23787 /* confdefs.h.  */
23788 _ACEOF
23789 cat confdefs.h >>conftest.$ac_ext
23790 cat >>conftest.$ac_ext <<_ACEOF
23791 /* end confdefs.h.  */
23792 #include <math.h>
23793 int
23794 main ()
23795 {
23796  atan2f(0, 0);
23797   ;
23798   return 0;
23799 }
23800 _ACEOF
23801 rm -f conftest.$ac_objext
23802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23803   (eval $ac_compile) 2>conftest.er1
23804   ac_status=$?
23805   grep -v '^ *+' conftest.er1 >conftest.err
23806   rm -f conftest.er1
23807   cat conftest.err >&5
23808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809   (exit $ac_status); } &&
23810          { ac_try='test -z "$ac_cxx_werror_flag"
23811                          || test ! -s conftest.err'
23812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813   (eval $ac_try) 2>&5
23814   ac_status=$?
23815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816   (exit $ac_status); }; } &&
23817          { ac_try='test -s conftest.$ac_objext'
23818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819   (eval $ac_try) 2>&5
23820   ac_status=$?
23821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822   (exit $ac_status); }; }; then
23823   glibcxx_cv_func_atan2f_use=yes
23824 else
23825   echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 glibcxx_cv_func_atan2f_use=no
23829 fi
23830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23831       ac_ext=c
23832 ac_cpp='$CPP $CPPFLAGS'
23833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23836
23837
23838 fi
23839
23840   fi
23841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23842 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23843
23844   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23845
23846 for ac_func in atan2f
23847 do
23848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23849 echo "$as_me:$LINENO: checking for $ac_func" >&5
23850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23851 if eval "test \"\${$as_ac_var+set}\" = set"; then
23852   echo $ECHO_N "(cached) $ECHO_C" >&6
23853 else
23854   if test x$gcc_no_link = xyes; then
23855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23857    { (exit 1); exit 1; }; }
23858 fi
23859 cat >conftest.$ac_ext <<_ACEOF
23860 /* confdefs.h.  */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h.  */
23865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23867 #define $ac_func innocuous_$ac_func
23868
23869 /* System header to define __stub macros and hopefully few prototypes,
23870     which can conflict with char $ac_func (); below.
23871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23872     <limits.h> exists even on freestanding compilers.  */
23873
23874 #ifdef __STDC__
23875 # include <limits.h>
23876 #else
23877 # include <assert.h>
23878 #endif
23879
23880 #undef $ac_func
23881
23882 /* Override any gcc2 internal prototype to avoid an error.  */
23883 #ifdef __cplusplus
23884 extern "C"
23885 {
23886 #endif
23887 /* We use char because int might match the return type of a gcc2
23888    builtin and then its argument prototype would still apply.  */
23889 char $ac_func ();
23890 /* The GNU C library defines this for functions which it implements
23891     to always fail with ENOSYS.  Some functions are actually named
23892     something starting with __ and the normal name is an alias.  */
23893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23894 choke me
23895 #else
23896 char (*f) () = $ac_func;
23897 #endif
23898 #ifdef __cplusplus
23899 }
23900 #endif
23901
23902 int
23903 main ()
23904 {
23905 return f != $ac_func;
23906   ;
23907   return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext conftest$ac_exeext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23912   (eval $ac_link) 2>conftest.er1
23913   ac_status=$?
23914   grep -v '^ *+' conftest.er1 >conftest.err
23915   rm -f conftest.er1
23916   cat conftest.err >&5
23917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918   (exit $ac_status); } &&
23919          { ac_try='test -z "$ac_c_werror_flag"
23920                          || test ! -s conftest.err'
23921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922   (eval $ac_try) 2>&5
23923   ac_status=$?
23924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925   (exit $ac_status); }; } &&
23926          { ac_try='test -s conftest$ac_exeext'
23927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928   (eval $ac_try) 2>&5
23929   ac_status=$?
23930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931   (exit $ac_status); }; }; then
23932   eval "$as_ac_var=yes"
23933 else
23934   echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 eval "$as_ac_var=no"
23938 fi
23939 rm -f conftest.err conftest.$ac_objext \
23940       conftest$ac_exeext conftest.$ac_ext
23941 fi
23942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23944 if test `eval echo '${'$as_ac_var'}'` = yes; then
23945   cat >>confdefs.h <<_ACEOF
23946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23947 _ACEOF
23948
23949 fi
23950 done
23951
23952   else
23953
23954   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23955 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23956   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23957     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23958   echo $ECHO_N "(cached) $ECHO_C" >&6
23959 else
23960
23961
23962
23963       ac_ext=cc
23964 ac_cpp='$CXXCPP $CPPFLAGS'
23965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23968
23969       cat >conftest.$ac_ext <<_ACEOF
23970 /* confdefs.h.  */
23971 _ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h.  */
23975 #include <math.h>
23976 int
23977 main ()
23978 {
23979  _atan2f(0, 0);
23980   ;
23981   return 0;
23982 }
23983 _ACEOF
23984 rm -f conftest.$ac_objext
23985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23986   (eval $ac_compile) 2>conftest.er1
23987   ac_status=$?
23988   grep -v '^ *+' conftest.er1 >conftest.err
23989   rm -f conftest.er1
23990   cat conftest.err >&5
23991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992   (exit $ac_status); } &&
23993          { ac_try='test -z "$ac_cxx_werror_flag"
23994                          || test ! -s conftest.err'
23995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23996   (eval $ac_try) 2>&5
23997   ac_status=$?
23998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999   (exit $ac_status); }; } &&
24000          { ac_try='test -s conftest.$ac_objext'
24001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24002   (eval $ac_try) 2>&5
24003   ac_status=$?
24004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005   (exit $ac_status); }; }; then
24006   glibcxx_cv_func__atan2f_use=yes
24007 else
24008   echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011 glibcxx_cv_func__atan2f_use=no
24012 fi
24013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24014       ac_ext=c
24015 ac_cpp='$CPP $CPPFLAGS'
24016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019
24020
24021 fi
24022
24023   fi
24024   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
24025 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
24026
24027     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24028
24029 for ac_func in _atan2f
24030 do
24031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24032 echo "$as_me:$LINENO: checking for $ac_func" >&5
24033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24034 if eval "test \"\${$as_ac_var+set}\" = set"; then
24035   echo $ECHO_N "(cached) $ECHO_C" >&6
24036 else
24037   if test x$gcc_no_link = xyes; then
24038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24040    { (exit 1); exit 1; }; }
24041 fi
24042 cat >conftest.$ac_ext <<_ACEOF
24043 /* confdefs.h.  */
24044 _ACEOF
24045 cat confdefs.h >>conftest.$ac_ext
24046 cat >>conftest.$ac_ext <<_ACEOF
24047 /* end confdefs.h.  */
24048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24050 #define $ac_func innocuous_$ac_func
24051
24052 /* System header to define __stub macros and hopefully few prototypes,
24053     which can conflict with char $ac_func (); below.
24054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24055     <limits.h> exists even on freestanding compilers.  */
24056
24057 #ifdef __STDC__
24058 # include <limits.h>
24059 #else
24060 # include <assert.h>
24061 #endif
24062
24063 #undef $ac_func
24064
24065 /* Override any gcc2 internal prototype to avoid an error.  */
24066 #ifdef __cplusplus
24067 extern "C"
24068 {
24069 #endif
24070 /* We use char because int might match the return type of a gcc2
24071    builtin and then its argument prototype would still apply.  */
24072 char $ac_func ();
24073 /* The GNU C library defines this for functions which it implements
24074     to always fail with ENOSYS.  Some functions are actually named
24075     something starting with __ and the normal name is an alias.  */
24076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24077 choke me
24078 #else
24079 char (*f) () = $ac_func;
24080 #endif
24081 #ifdef __cplusplus
24082 }
24083 #endif
24084
24085 int
24086 main ()
24087 {
24088 return f != $ac_func;
24089   ;
24090   return 0;
24091 }
24092 _ACEOF
24093 rm -f conftest.$ac_objext conftest$ac_exeext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24095   (eval $ac_link) 2>conftest.er1
24096   ac_status=$?
24097   grep -v '^ *+' conftest.er1 >conftest.err
24098   rm -f conftest.er1
24099   cat conftest.err >&5
24100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101   (exit $ac_status); } &&
24102          { ac_try='test -z "$ac_c_werror_flag"
24103                          || test ! -s conftest.err'
24104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105   (eval $ac_try) 2>&5
24106   ac_status=$?
24107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108   (exit $ac_status); }; } &&
24109          { ac_try='test -s conftest$ac_exeext'
24110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111   (eval $ac_try) 2>&5
24112   ac_status=$?
24113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114   (exit $ac_status); }; }; then
24115   eval "$as_ac_var=yes"
24116 else
24117   echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.$ac_ext >&5
24119
24120 eval "$as_ac_var=no"
24121 fi
24122 rm -f conftest.err conftest.$ac_objext \
24123       conftest$ac_exeext conftest.$ac_ext
24124 fi
24125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24127 if test `eval echo '${'$as_ac_var'}'` = yes; then
24128   cat >>confdefs.h <<_ACEOF
24129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24130 _ACEOF
24131
24132 fi
24133 done
24134
24135     fi
24136   fi
24137
24138
24139
24140
24141
24142
24143   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24144 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24145   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24146     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24147   echo $ECHO_N "(cached) $ECHO_C" >&6
24148 else
24149
24150
24151
24152       ac_ext=cc
24153 ac_cpp='$CXXCPP $CPPFLAGS'
24154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24157
24158       cat >conftest.$ac_ext <<_ACEOF
24159 /* confdefs.h.  */
24160 _ACEOF
24161 cat confdefs.h >>conftest.$ac_ext
24162 cat >>conftest.$ac_ext <<_ACEOF
24163 /* end confdefs.h.  */
24164 #include <math.h>
24165                       #ifdef HAVE_IEEEFP_H
24166                       #include <ieeefp.h>
24167                       #endif
24168
24169 int
24170 main ()
24171 {
24172  fabsf(0);
24173   ;
24174   return 0;
24175 }
24176 _ACEOF
24177 rm -f conftest.$ac_objext
24178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24179   (eval $ac_compile) 2>conftest.er1
24180   ac_status=$?
24181   grep -v '^ *+' conftest.er1 >conftest.err
24182   rm -f conftest.er1
24183   cat conftest.err >&5
24184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185   (exit $ac_status); } &&
24186          { ac_try='test -z "$ac_cxx_werror_flag"
24187                          || test ! -s conftest.err'
24188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24189   (eval $ac_try) 2>&5
24190   ac_status=$?
24191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192   (exit $ac_status); }; } &&
24193          { ac_try='test -s conftest.$ac_objext'
24194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195   (eval $ac_try) 2>&5
24196   ac_status=$?
24197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198   (exit $ac_status); }; }; then
24199   glibcxx_cv_func_fabsf_use=yes
24200 else
24201   echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.$ac_ext >&5
24203
24204 glibcxx_cv_func_fabsf_use=no
24205 fi
24206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24207       ac_ext=c
24208 ac_cpp='$CPP $CPPFLAGS'
24209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24212
24213
24214 fi
24215
24216   fi
24217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24218 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24219
24220   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24221
24222 for ac_func in fabsf
24223 do
24224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24225 echo "$as_me:$LINENO: checking for $ac_func" >&5
24226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24227 if eval "test \"\${$as_ac_var+set}\" = set"; then
24228   echo $ECHO_N "(cached) $ECHO_C" >&6
24229 else
24230   if test x$gcc_no_link = xyes; then
24231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24233    { (exit 1); exit 1; }; }
24234 fi
24235 cat >conftest.$ac_ext <<_ACEOF
24236 /* confdefs.h.  */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h.  */
24241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24243 #define $ac_func innocuous_$ac_func
24244
24245 /* System header to define __stub macros and hopefully few prototypes,
24246     which can conflict with char $ac_func (); below.
24247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24248     <limits.h> exists even on freestanding compilers.  */
24249
24250 #ifdef __STDC__
24251 # include <limits.h>
24252 #else
24253 # include <assert.h>
24254 #endif
24255
24256 #undef $ac_func
24257
24258 /* Override any gcc2 internal prototype to avoid an error.  */
24259 #ifdef __cplusplus
24260 extern "C"
24261 {
24262 #endif
24263 /* We use char because int might match the return type of a gcc2
24264    builtin and then its argument prototype would still apply.  */
24265 char $ac_func ();
24266 /* The GNU C library defines this for functions which it implements
24267     to always fail with ENOSYS.  Some functions are actually named
24268     something starting with __ and the normal name is an alias.  */
24269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24270 choke me
24271 #else
24272 char (*f) () = $ac_func;
24273 #endif
24274 #ifdef __cplusplus
24275 }
24276 #endif
24277
24278 int
24279 main ()
24280 {
24281 return f != $ac_func;
24282   ;
24283   return 0;
24284 }
24285 _ACEOF
24286 rm -f conftest.$ac_objext conftest$ac_exeext
24287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24288   (eval $ac_link) 2>conftest.er1
24289   ac_status=$?
24290   grep -v '^ *+' conftest.er1 >conftest.err
24291   rm -f conftest.er1
24292   cat conftest.err >&5
24293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294   (exit $ac_status); } &&
24295          { ac_try='test -z "$ac_c_werror_flag"
24296                          || test ! -s conftest.err'
24297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24298   (eval $ac_try) 2>&5
24299   ac_status=$?
24300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301   (exit $ac_status); }; } &&
24302          { ac_try='test -s conftest$ac_exeext'
24303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24304   (eval $ac_try) 2>&5
24305   ac_status=$?
24306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307   (exit $ac_status); }; }; then
24308   eval "$as_ac_var=yes"
24309 else
24310   echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.$ac_ext >&5
24312
24313 eval "$as_ac_var=no"
24314 fi
24315 rm -f conftest.err conftest.$ac_objext \
24316       conftest$ac_exeext conftest.$ac_ext
24317 fi
24318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24320 if test `eval echo '${'$as_ac_var'}'` = yes; then
24321   cat >>confdefs.h <<_ACEOF
24322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24323 _ACEOF
24324
24325 fi
24326 done
24327
24328   else
24329
24330   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24331 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24332   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24333     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24334   echo $ECHO_N "(cached) $ECHO_C" >&6
24335 else
24336
24337
24338
24339       ac_ext=cc
24340 ac_cpp='$CXXCPP $CPPFLAGS'
24341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24344
24345       cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h.  */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h.  */
24351 #include <math.h>
24352                       #ifdef HAVE_IEEEFP_H
24353                       #include <ieeefp.h>
24354                       #endif
24355
24356 int
24357 main ()
24358 {
24359  _fabsf(0);
24360   ;
24361   return 0;
24362 }
24363 _ACEOF
24364 rm -f conftest.$ac_objext
24365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24366   (eval $ac_compile) 2>conftest.er1
24367   ac_status=$?
24368   grep -v '^ *+' conftest.er1 >conftest.err
24369   rm -f conftest.er1
24370   cat conftest.err >&5
24371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372   (exit $ac_status); } &&
24373          { ac_try='test -z "$ac_cxx_werror_flag"
24374                          || test ! -s conftest.err'
24375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24376   (eval $ac_try) 2>&5
24377   ac_status=$?
24378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379   (exit $ac_status); }; } &&
24380          { ac_try='test -s conftest.$ac_objext'
24381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382   (eval $ac_try) 2>&5
24383   ac_status=$?
24384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385   (exit $ac_status); }; }; then
24386   glibcxx_cv_func__fabsf_use=yes
24387 else
24388   echo "$as_me: failed program was:" >&5
24389 sed 's/^/| /' conftest.$ac_ext >&5
24390
24391 glibcxx_cv_func__fabsf_use=no
24392 fi
24393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24394       ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24399
24400
24401 fi
24402
24403   fi
24404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24405 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24406
24407     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24408
24409 for ac_func in _fabsf
24410 do
24411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24412 echo "$as_me:$LINENO: checking for $ac_func" >&5
24413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24414 if eval "test \"\${$as_ac_var+set}\" = set"; then
24415   echo $ECHO_N "(cached) $ECHO_C" >&6
24416 else
24417   if test x$gcc_no_link = xyes; then
24418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24420    { (exit 1); exit 1; }; }
24421 fi
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h.  */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h.  */
24428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24430 #define $ac_func innocuous_$ac_func
24431
24432 /* System header to define __stub macros and hopefully few prototypes,
24433     which can conflict with char $ac_func (); below.
24434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24435     <limits.h> exists even on freestanding compilers.  */
24436
24437 #ifdef __STDC__
24438 # include <limits.h>
24439 #else
24440 # include <assert.h>
24441 #endif
24442
24443 #undef $ac_func
24444
24445 /* Override any gcc2 internal prototype to avoid an error.  */
24446 #ifdef __cplusplus
24447 extern "C"
24448 {
24449 #endif
24450 /* We use char because int might match the return type of a gcc2
24451    builtin and then its argument prototype would still apply.  */
24452 char $ac_func ();
24453 /* The GNU C library defines this for functions which it implements
24454     to always fail with ENOSYS.  Some functions are actually named
24455     something starting with __ and the normal name is an alias.  */
24456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24457 choke me
24458 #else
24459 char (*f) () = $ac_func;
24460 #endif
24461 #ifdef __cplusplus
24462 }
24463 #endif
24464
24465 int
24466 main ()
24467 {
24468 return f != $ac_func;
24469   ;
24470   return 0;
24471 }
24472 _ACEOF
24473 rm -f conftest.$ac_objext conftest$ac_exeext
24474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24475   (eval $ac_link) 2>conftest.er1
24476   ac_status=$?
24477   grep -v '^ *+' conftest.er1 >conftest.err
24478   rm -f conftest.er1
24479   cat conftest.err >&5
24480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481   (exit $ac_status); } &&
24482          { ac_try='test -z "$ac_c_werror_flag"
24483                          || test ! -s conftest.err'
24484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24485   (eval $ac_try) 2>&5
24486   ac_status=$?
24487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24488   (exit $ac_status); }; } &&
24489          { ac_try='test -s conftest$ac_exeext'
24490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491   (eval $ac_try) 2>&5
24492   ac_status=$?
24493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494   (exit $ac_status); }; }; then
24495   eval "$as_ac_var=yes"
24496 else
24497   echo "$as_me: failed program was:" >&5
24498 sed 's/^/| /' conftest.$ac_ext >&5
24499
24500 eval "$as_ac_var=no"
24501 fi
24502 rm -f conftest.err conftest.$ac_objext \
24503       conftest$ac_exeext conftest.$ac_ext
24504 fi
24505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24507 if test `eval echo '${'$as_ac_var'}'` = yes; then
24508   cat >>confdefs.h <<_ACEOF
24509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24510 _ACEOF
24511
24512 fi
24513 done
24514
24515     fi
24516   fi
24517
24518
24519
24520
24521
24522
24523   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24524 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24525   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24526     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24527   echo $ECHO_N "(cached) $ECHO_C" >&6
24528 else
24529
24530
24531
24532       ac_ext=cc
24533 ac_cpp='$CXXCPP $CPPFLAGS'
24534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24537
24538       cat >conftest.$ac_ext <<_ACEOF
24539 /* confdefs.h.  */
24540 _ACEOF
24541 cat confdefs.h >>conftest.$ac_ext
24542 cat >>conftest.$ac_ext <<_ACEOF
24543 /* end confdefs.h.  */
24544 #include <math.h>
24545 int
24546 main ()
24547 {
24548  fmodf(0, 0);
24549   ;
24550   return 0;
24551 }
24552 _ACEOF
24553 rm -f conftest.$ac_objext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555   (eval $ac_compile) 2>conftest.er1
24556   ac_status=$?
24557   grep -v '^ *+' conftest.er1 >conftest.err
24558   rm -f conftest.er1
24559   cat conftest.err >&5
24560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561   (exit $ac_status); } &&
24562          { ac_try='test -z "$ac_cxx_werror_flag"
24563                          || test ! -s conftest.err'
24564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565   (eval $ac_try) 2>&5
24566   ac_status=$?
24567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568   (exit $ac_status); }; } &&
24569          { ac_try='test -s conftest.$ac_objext'
24570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571   (eval $ac_try) 2>&5
24572   ac_status=$?
24573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574   (exit $ac_status); }; }; then
24575   glibcxx_cv_func_fmodf_use=yes
24576 else
24577   echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.$ac_ext >&5
24579
24580 glibcxx_cv_func_fmodf_use=no
24581 fi
24582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24583       ac_ext=c
24584 ac_cpp='$CPP $CPPFLAGS'
24585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24588
24589
24590 fi
24591
24592   fi
24593   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24594 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24595
24596   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24597
24598 for ac_func in fmodf
24599 do
24600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24601 echo "$as_me:$LINENO: checking for $ac_func" >&5
24602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24603 if eval "test \"\${$as_ac_var+set}\" = set"; then
24604   echo $ECHO_N "(cached) $ECHO_C" >&6
24605 else
24606   if test x$gcc_no_link = xyes; then
24607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24609    { (exit 1); exit 1; }; }
24610 fi
24611 cat >conftest.$ac_ext <<_ACEOF
24612 /* confdefs.h.  */
24613 _ACEOF
24614 cat confdefs.h >>conftest.$ac_ext
24615 cat >>conftest.$ac_ext <<_ACEOF
24616 /* end confdefs.h.  */
24617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24619 #define $ac_func innocuous_$ac_func
24620
24621 /* System header to define __stub macros and hopefully few prototypes,
24622     which can conflict with char $ac_func (); below.
24623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24624     <limits.h> exists even on freestanding compilers.  */
24625
24626 #ifdef __STDC__
24627 # include <limits.h>
24628 #else
24629 # include <assert.h>
24630 #endif
24631
24632 #undef $ac_func
24633
24634 /* Override any gcc2 internal prototype to avoid an error.  */
24635 #ifdef __cplusplus
24636 extern "C"
24637 {
24638 #endif
24639 /* We use char because int might match the return type of a gcc2
24640    builtin and then its argument prototype would still apply.  */
24641 char $ac_func ();
24642 /* The GNU C library defines this for functions which it implements
24643     to always fail with ENOSYS.  Some functions are actually named
24644     something starting with __ and the normal name is an alias.  */
24645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24646 choke me
24647 #else
24648 char (*f) () = $ac_func;
24649 #endif
24650 #ifdef __cplusplus
24651 }
24652 #endif
24653
24654 int
24655 main ()
24656 {
24657 return f != $ac_func;
24658   ;
24659   return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext conftest$ac_exeext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24664   (eval $ac_link) 2>conftest.er1
24665   ac_status=$?
24666   grep -v '^ *+' conftest.er1 >conftest.err
24667   rm -f conftest.er1
24668   cat conftest.err >&5
24669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670   (exit $ac_status); } &&
24671          { ac_try='test -z "$ac_c_werror_flag"
24672                          || test ! -s conftest.err'
24673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674   (eval $ac_try) 2>&5
24675   ac_status=$?
24676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677   (exit $ac_status); }; } &&
24678          { ac_try='test -s conftest$ac_exeext'
24679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680   (eval $ac_try) 2>&5
24681   ac_status=$?
24682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683   (exit $ac_status); }; }; then
24684   eval "$as_ac_var=yes"
24685 else
24686   echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689 eval "$as_ac_var=no"
24690 fi
24691 rm -f conftest.err conftest.$ac_objext \
24692       conftest$ac_exeext conftest.$ac_ext
24693 fi
24694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24696 if test `eval echo '${'$as_ac_var'}'` = yes; then
24697   cat >>confdefs.h <<_ACEOF
24698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24699 _ACEOF
24700
24701 fi
24702 done
24703
24704   else
24705
24706   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24707 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24708   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24709     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24710   echo $ECHO_N "(cached) $ECHO_C" >&6
24711 else
24712
24713
24714
24715       ac_ext=cc
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24720
24721       cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h.  */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h.  */
24727 #include <math.h>
24728 int
24729 main ()
24730 {
24731  _fmodf(0, 0);
24732   ;
24733   return 0;
24734 }
24735 _ACEOF
24736 rm -f conftest.$ac_objext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24738   (eval $ac_compile) 2>conftest.er1
24739   ac_status=$?
24740   grep -v '^ *+' conftest.er1 >conftest.err
24741   rm -f conftest.er1
24742   cat conftest.err >&5
24743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744   (exit $ac_status); } &&
24745          { ac_try='test -z "$ac_cxx_werror_flag"
24746                          || test ! -s conftest.err'
24747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748   (eval $ac_try) 2>&5
24749   ac_status=$?
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); }; } &&
24752          { ac_try='test -s conftest.$ac_objext'
24753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754   (eval $ac_try) 2>&5
24755   ac_status=$?
24756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757   (exit $ac_status); }; }; then
24758   glibcxx_cv_func__fmodf_use=yes
24759 else
24760   echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 glibcxx_cv_func__fmodf_use=no
24764 fi
24765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24766       ac_ext=c
24767 ac_cpp='$CPP $CPPFLAGS'
24768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24771
24772
24773 fi
24774
24775   fi
24776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24777 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24778
24779     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24780
24781 for ac_func in _fmodf
24782 do
24783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24784 echo "$as_me:$LINENO: checking for $ac_func" >&5
24785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24786 if eval "test \"\${$as_ac_var+set}\" = set"; then
24787   echo $ECHO_N "(cached) $ECHO_C" >&6
24788 else
24789   if test x$gcc_no_link = xyes; then
24790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24792    { (exit 1); exit 1; }; }
24793 fi
24794 cat >conftest.$ac_ext <<_ACEOF
24795 /* confdefs.h.  */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h.  */
24800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24802 #define $ac_func innocuous_$ac_func
24803
24804 /* System header to define __stub macros and hopefully few prototypes,
24805     which can conflict with char $ac_func (); below.
24806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24807     <limits.h> exists even on freestanding compilers.  */
24808
24809 #ifdef __STDC__
24810 # include <limits.h>
24811 #else
24812 # include <assert.h>
24813 #endif
24814
24815 #undef $ac_func
24816
24817 /* Override any gcc2 internal prototype to avoid an error.  */
24818 #ifdef __cplusplus
24819 extern "C"
24820 {
24821 #endif
24822 /* We use char because int might match the return type of a gcc2
24823    builtin and then its argument prototype would still apply.  */
24824 char $ac_func ();
24825 /* The GNU C library defines this for functions which it implements
24826     to always fail with ENOSYS.  Some functions are actually named
24827     something starting with __ and the normal name is an alias.  */
24828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24829 choke me
24830 #else
24831 char (*f) () = $ac_func;
24832 #endif
24833 #ifdef __cplusplus
24834 }
24835 #endif
24836
24837 int
24838 main ()
24839 {
24840 return f != $ac_func;
24841   ;
24842   return 0;
24843 }
24844 _ACEOF
24845 rm -f conftest.$ac_objext conftest$ac_exeext
24846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24847   (eval $ac_link) 2>conftest.er1
24848   ac_status=$?
24849   grep -v '^ *+' conftest.er1 >conftest.err
24850   rm -f conftest.er1
24851   cat conftest.err >&5
24852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853   (exit $ac_status); } &&
24854          { ac_try='test -z "$ac_c_werror_flag"
24855                          || test ! -s conftest.err'
24856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857   (eval $ac_try) 2>&5
24858   ac_status=$?
24859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860   (exit $ac_status); }; } &&
24861          { ac_try='test -s conftest$ac_exeext'
24862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863   (eval $ac_try) 2>&5
24864   ac_status=$?
24865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866   (exit $ac_status); }; }; then
24867   eval "$as_ac_var=yes"
24868 else
24869   echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 eval "$as_ac_var=no"
24873 fi
24874 rm -f conftest.err conftest.$ac_objext \
24875       conftest$ac_exeext conftest.$ac_ext
24876 fi
24877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24879 if test `eval echo '${'$as_ac_var'}'` = yes; then
24880   cat >>confdefs.h <<_ACEOF
24881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24882 _ACEOF
24883
24884 fi
24885 done
24886
24887     fi
24888   fi
24889
24890
24891
24892
24893
24894
24895   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24896 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24897   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24898     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24899   echo $ECHO_N "(cached) $ECHO_C" >&6
24900 else
24901
24902
24903
24904       ac_ext=cc
24905 ac_cpp='$CXXCPP $CPPFLAGS'
24906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24909
24910       cat >conftest.$ac_ext <<_ACEOF
24911 /* confdefs.h.  */
24912 _ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h.  */
24916 #include <math.h>
24917 int
24918 main ()
24919 {
24920  frexpf(0, 0);
24921   ;
24922   return 0;
24923 }
24924 _ACEOF
24925 rm -f conftest.$ac_objext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24927   (eval $ac_compile) 2>conftest.er1
24928   ac_status=$?
24929   grep -v '^ *+' conftest.er1 >conftest.err
24930   rm -f conftest.er1
24931   cat conftest.err >&5
24932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933   (exit $ac_status); } &&
24934          { ac_try='test -z "$ac_cxx_werror_flag"
24935                          || test ! -s conftest.err'
24936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937   (eval $ac_try) 2>&5
24938   ac_status=$?
24939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940   (exit $ac_status); }; } &&
24941          { ac_try='test -s conftest.$ac_objext'
24942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943   (eval $ac_try) 2>&5
24944   ac_status=$?
24945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946   (exit $ac_status); }; }; then
24947   glibcxx_cv_func_frexpf_use=yes
24948 else
24949   echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 glibcxx_cv_func_frexpf_use=no
24953 fi
24954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24955       ac_ext=c
24956 ac_cpp='$CPP $CPPFLAGS'
24957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24960
24961
24962 fi
24963
24964   fi
24965   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24966 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24967
24968   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24969
24970 for ac_func in frexpf
24971 do
24972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24973 echo "$as_me:$LINENO: checking for $ac_func" >&5
24974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24975 if eval "test \"\${$as_ac_var+set}\" = set"; then
24976   echo $ECHO_N "(cached) $ECHO_C" >&6
24977 else
24978   if test x$gcc_no_link = xyes; then
24979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24981    { (exit 1); exit 1; }; }
24982 fi
24983 cat >conftest.$ac_ext <<_ACEOF
24984 /* confdefs.h.  */
24985 _ACEOF
24986 cat confdefs.h >>conftest.$ac_ext
24987 cat >>conftest.$ac_ext <<_ACEOF
24988 /* end confdefs.h.  */
24989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24991 #define $ac_func innocuous_$ac_func
24992
24993 /* System header to define __stub macros and hopefully few prototypes,
24994     which can conflict with char $ac_func (); below.
24995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24996     <limits.h> exists even on freestanding compilers.  */
24997
24998 #ifdef __STDC__
24999 # include <limits.h>
25000 #else
25001 # include <assert.h>
25002 #endif
25003
25004 #undef $ac_func
25005
25006 /* Override any gcc2 internal prototype to avoid an error.  */
25007 #ifdef __cplusplus
25008 extern "C"
25009 {
25010 #endif
25011 /* We use char because int might match the return type of a gcc2
25012    builtin and then its argument prototype would still apply.  */
25013 char $ac_func ();
25014 /* The GNU C library defines this for functions which it implements
25015     to always fail with ENOSYS.  Some functions are actually named
25016     something starting with __ and the normal name is an alias.  */
25017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25018 choke me
25019 #else
25020 char (*f) () = $ac_func;
25021 #endif
25022 #ifdef __cplusplus
25023 }
25024 #endif
25025
25026 int
25027 main ()
25028 {
25029 return f != $ac_func;
25030   ;
25031   return 0;
25032 }
25033 _ACEOF
25034 rm -f conftest.$ac_objext conftest$ac_exeext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25036   (eval $ac_link) 2>conftest.er1
25037   ac_status=$?
25038   grep -v '^ *+' conftest.er1 >conftest.err
25039   rm -f conftest.er1
25040   cat conftest.err >&5
25041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042   (exit $ac_status); } &&
25043          { ac_try='test -z "$ac_c_werror_flag"
25044                          || test ! -s conftest.err'
25045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25046   (eval $ac_try) 2>&5
25047   ac_status=$?
25048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049   (exit $ac_status); }; } &&
25050          { ac_try='test -s conftest$ac_exeext'
25051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052   (eval $ac_try) 2>&5
25053   ac_status=$?
25054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055   (exit $ac_status); }; }; then
25056   eval "$as_ac_var=yes"
25057 else
25058   echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25060
25061 eval "$as_ac_var=no"
25062 fi
25063 rm -f conftest.err conftest.$ac_objext \
25064       conftest$ac_exeext conftest.$ac_ext
25065 fi
25066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25068 if test `eval echo '${'$as_ac_var'}'` = yes; then
25069   cat >>confdefs.h <<_ACEOF
25070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25071 _ACEOF
25072
25073 fi
25074 done
25075
25076   else
25077
25078   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25079 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25080   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25081     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25082   echo $ECHO_N "(cached) $ECHO_C" >&6
25083 else
25084
25085
25086
25087       ac_ext=cc
25088 ac_cpp='$CXXCPP $CPPFLAGS'
25089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092
25093       cat >conftest.$ac_ext <<_ACEOF
25094 /* confdefs.h.  */
25095 _ACEOF
25096 cat confdefs.h >>conftest.$ac_ext
25097 cat >>conftest.$ac_ext <<_ACEOF
25098 /* end confdefs.h.  */
25099 #include <math.h>
25100 int
25101 main ()
25102 {
25103  _frexpf(0, 0);
25104   ;
25105   return 0;
25106 }
25107 _ACEOF
25108 rm -f conftest.$ac_objext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25110   (eval $ac_compile) 2>conftest.er1
25111   ac_status=$?
25112   grep -v '^ *+' conftest.er1 >conftest.err
25113   rm -f conftest.er1
25114   cat conftest.err >&5
25115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116   (exit $ac_status); } &&
25117          { ac_try='test -z "$ac_cxx_werror_flag"
25118                          || test ! -s conftest.err'
25119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120   (eval $ac_try) 2>&5
25121   ac_status=$?
25122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123   (exit $ac_status); }; } &&
25124          { ac_try='test -s conftest.$ac_objext'
25125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126   (eval $ac_try) 2>&5
25127   ac_status=$?
25128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129   (exit $ac_status); }; }; then
25130   glibcxx_cv_func__frexpf_use=yes
25131 else
25132   echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25134
25135 glibcxx_cv_func__frexpf_use=no
25136 fi
25137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25138       ac_ext=c
25139 ac_cpp='$CPP $CPPFLAGS'
25140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25143
25144
25145 fi
25146
25147   fi
25148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25149 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25150
25151     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25152
25153 for ac_func in _frexpf
25154 do
25155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25156 echo "$as_me:$LINENO: checking for $ac_func" >&5
25157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25158 if eval "test \"\${$as_ac_var+set}\" = set"; then
25159   echo $ECHO_N "(cached) $ECHO_C" >&6
25160 else
25161   if test x$gcc_no_link = xyes; then
25162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25164    { (exit 1); exit 1; }; }
25165 fi
25166 cat >conftest.$ac_ext <<_ACEOF
25167 /* confdefs.h.  */
25168 _ACEOF
25169 cat confdefs.h >>conftest.$ac_ext
25170 cat >>conftest.$ac_ext <<_ACEOF
25171 /* end confdefs.h.  */
25172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25174 #define $ac_func innocuous_$ac_func
25175
25176 /* System header to define __stub macros and hopefully few prototypes,
25177     which can conflict with char $ac_func (); below.
25178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25179     <limits.h> exists even on freestanding compilers.  */
25180
25181 #ifdef __STDC__
25182 # include <limits.h>
25183 #else
25184 # include <assert.h>
25185 #endif
25186
25187 #undef $ac_func
25188
25189 /* Override any gcc2 internal prototype to avoid an error.  */
25190 #ifdef __cplusplus
25191 extern "C"
25192 {
25193 #endif
25194 /* We use char because int might match the return type of a gcc2
25195    builtin and then its argument prototype would still apply.  */
25196 char $ac_func ();
25197 /* The GNU C library defines this for functions which it implements
25198     to always fail with ENOSYS.  Some functions are actually named
25199     something starting with __ and the normal name is an alias.  */
25200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25201 choke me
25202 #else
25203 char (*f) () = $ac_func;
25204 #endif
25205 #ifdef __cplusplus
25206 }
25207 #endif
25208
25209 int
25210 main ()
25211 {
25212 return f != $ac_func;
25213   ;
25214   return 0;
25215 }
25216 _ACEOF
25217 rm -f conftest.$ac_objext conftest$ac_exeext
25218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25219   (eval $ac_link) 2>conftest.er1
25220   ac_status=$?
25221   grep -v '^ *+' conftest.er1 >conftest.err
25222   rm -f conftest.er1
25223   cat conftest.err >&5
25224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225   (exit $ac_status); } &&
25226          { ac_try='test -z "$ac_c_werror_flag"
25227                          || test ! -s conftest.err'
25228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229   (eval $ac_try) 2>&5
25230   ac_status=$?
25231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232   (exit $ac_status); }; } &&
25233          { ac_try='test -s conftest$ac_exeext'
25234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235   (eval $ac_try) 2>&5
25236   ac_status=$?
25237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238   (exit $ac_status); }; }; then
25239   eval "$as_ac_var=yes"
25240 else
25241   echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25243
25244 eval "$as_ac_var=no"
25245 fi
25246 rm -f conftest.err conftest.$ac_objext \
25247       conftest$ac_exeext conftest.$ac_ext
25248 fi
25249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25251 if test `eval echo '${'$as_ac_var'}'` = yes; then
25252   cat >>confdefs.h <<_ACEOF
25253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25254 _ACEOF
25255
25256 fi
25257 done
25258
25259     fi
25260   fi
25261
25262
25263
25264
25265
25266
25267   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25268 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25269   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25270     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25271   echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273
25274
25275
25276       ac_ext=cc
25277 ac_cpp='$CXXCPP $CPPFLAGS'
25278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25281
25282       cat >conftest.$ac_ext <<_ACEOF
25283 /* confdefs.h.  */
25284 _ACEOF
25285 cat confdefs.h >>conftest.$ac_ext
25286 cat >>conftest.$ac_ext <<_ACEOF
25287 /* end confdefs.h.  */
25288 #include <math.h>
25289 int
25290 main ()
25291 {
25292  hypotf(0, 0);
25293   ;
25294   return 0;
25295 }
25296 _ACEOF
25297 rm -f conftest.$ac_objext
25298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25299   (eval $ac_compile) 2>conftest.er1
25300   ac_status=$?
25301   grep -v '^ *+' conftest.er1 >conftest.err
25302   rm -f conftest.er1
25303   cat conftest.err >&5
25304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305   (exit $ac_status); } &&
25306          { ac_try='test -z "$ac_cxx_werror_flag"
25307                          || test ! -s conftest.err'
25308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309   (eval $ac_try) 2>&5
25310   ac_status=$?
25311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312   (exit $ac_status); }; } &&
25313          { ac_try='test -s conftest.$ac_objext'
25314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315   (eval $ac_try) 2>&5
25316   ac_status=$?
25317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318   (exit $ac_status); }; }; then
25319   glibcxx_cv_func_hypotf_use=yes
25320 else
25321   echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324 glibcxx_cv_func_hypotf_use=no
25325 fi
25326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25327       ac_ext=c
25328 ac_cpp='$CPP $CPPFLAGS'
25329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25332
25333
25334 fi
25335
25336   fi
25337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25338 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25339
25340   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25341
25342 for ac_func in hypotf
25343 do
25344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25345 echo "$as_me:$LINENO: checking for $ac_func" >&5
25346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25347 if eval "test \"\${$as_ac_var+set}\" = set"; then
25348   echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350   if test x$gcc_no_link = xyes; then
25351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25353    { (exit 1); exit 1; }; }
25354 fi
25355 cat >conftest.$ac_ext <<_ACEOF
25356 /* confdefs.h.  */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h.  */
25361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25363 #define $ac_func innocuous_$ac_func
25364
25365 /* System header to define __stub macros and hopefully few prototypes,
25366     which can conflict with char $ac_func (); below.
25367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25368     <limits.h> exists even on freestanding compilers.  */
25369
25370 #ifdef __STDC__
25371 # include <limits.h>
25372 #else
25373 # include <assert.h>
25374 #endif
25375
25376 #undef $ac_func
25377
25378 /* Override any gcc2 internal prototype to avoid an error.  */
25379 #ifdef __cplusplus
25380 extern "C"
25381 {
25382 #endif
25383 /* We use char because int might match the return type of a gcc2
25384    builtin and then its argument prototype would still apply.  */
25385 char $ac_func ();
25386 /* The GNU C library defines this for functions which it implements
25387     to always fail with ENOSYS.  Some functions are actually named
25388     something starting with __ and the normal name is an alias.  */
25389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25390 choke me
25391 #else
25392 char (*f) () = $ac_func;
25393 #endif
25394 #ifdef __cplusplus
25395 }
25396 #endif
25397
25398 int
25399 main ()
25400 {
25401 return f != $ac_func;
25402   ;
25403   return 0;
25404 }
25405 _ACEOF
25406 rm -f conftest.$ac_objext conftest$ac_exeext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25408   (eval $ac_link) 2>conftest.er1
25409   ac_status=$?
25410   grep -v '^ *+' conftest.er1 >conftest.err
25411   rm -f conftest.er1
25412   cat conftest.err >&5
25413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414   (exit $ac_status); } &&
25415          { ac_try='test -z "$ac_c_werror_flag"
25416                          || test ! -s conftest.err'
25417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418   (eval $ac_try) 2>&5
25419   ac_status=$?
25420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421   (exit $ac_status); }; } &&
25422          { ac_try='test -s conftest$ac_exeext'
25423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424   (eval $ac_try) 2>&5
25425   ac_status=$?
25426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427   (exit $ac_status); }; }; then
25428   eval "$as_ac_var=yes"
25429 else
25430   echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25432
25433 eval "$as_ac_var=no"
25434 fi
25435 rm -f conftest.err conftest.$ac_objext \
25436       conftest$ac_exeext conftest.$ac_ext
25437 fi
25438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25440 if test `eval echo '${'$as_ac_var'}'` = yes; then
25441   cat >>confdefs.h <<_ACEOF
25442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25443 _ACEOF
25444
25445 fi
25446 done
25447
25448   else
25449
25450   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25451 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25452   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25453     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25454   echo $ECHO_N "(cached) $ECHO_C" >&6
25455 else
25456
25457
25458
25459       ac_ext=cc
25460 ac_cpp='$CXXCPP $CPPFLAGS'
25461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25464
25465       cat >conftest.$ac_ext <<_ACEOF
25466 /* confdefs.h.  */
25467 _ACEOF
25468 cat confdefs.h >>conftest.$ac_ext
25469 cat >>conftest.$ac_ext <<_ACEOF
25470 /* end confdefs.h.  */
25471 #include <math.h>
25472 int
25473 main ()
25474 {
25475  _hypotf(0, 0);
25476   ;
25477   return 0;
25478 }
25479 _ACEOF
25480 rm -f conftest.$ac_objext
25481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25482   (eval $ac_compile) 2>conftest.er1
25483   ac_status=$?
25484   grep -v '^ *+' conftest.er1 >conftest.err
25485   rm -f conftest.er1
25486   cat conftest.err >&5
25487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488   (exit $ac_status); } &&
25489          { ac_try='test -z "$ac_cxx_werror_flag"
25490                          || test ! -s conftest.err'
25491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492   (eval $ac_try) 2>&5
25493   ac_status=$?
25494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495   (exit $ac_status); }; } &&
25496          { ac_try='test -s conftest.$ac_objext'
25497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25498   (eval $ac_try) 2>&5
25499   ac_status=$?
25500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501   (exit $ac_status); }; }; then
25502   glibcxx_cv_func__hypotf_use=yes
25503 else
25504   echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 glibcxx_cv_func__hypotf_use=no
25508 fi
25509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25510       ac_ext=c
25511 ac_cpp='$CPP $CPPFLAGS'
25512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25515
25516
25517 fi
25518
25519   fi
25520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25521 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25522
25523     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25524
25525 for ac_func in _hypotf
25526 do
25527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25528 echo "$as_me:$LINENO: checking for $ac_func" >&5
25529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25530 if eval "test \"\${$as_ac_var+set}\" = set"; then
25531   echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533   if test x$gcc_no_link = xyes; then
25534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25536    { (exit 1); exit 1; }; }
25537 fi
25538 cat >conftest.$ac_ext <<_ACEOF
25539 /* confdefs.h.  */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h.  */
25544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25546 #define $ac_func innocuous_$ac_func
25547
25548 /* System header to define __stub macros and hopefully few prototypes,
25549     which can conflict with char $ac_func (); below.
25550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25551     <limits.h> exists even on freestanding compilers.  */
25552
25553 #ifdef __STDC__
25554 # include <limits.h>
25555 #else
25556 # include <assert.h>
25557 #endif
25558
25559 #undef $ac_func
25560
25561 /* Override any gcc2 internal prototype to avoid an error.  */
25562 #ifdef __cplusplus
25563 extern "C"
25564 {
25565 #endif
25566 /* We use char because int might match the return type of a gcc2
25567    builtin and then its argument prototype would still apply.  */
25568 char $ac_func ();
25569 /* The GNU C library defines this for functions which it implements
25570     to always fail with ENOSYS.  Some functions are actually named
25571     something starting with __ and the normal name is an alias.  */
25572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25573 choke me
25574 #else
25575 char (*f) () = $ac_func;
25576 #endif
25577 #ifdef __cplusplus
25578 }
25579 #endif
25580
25581 int
25582 main ()
25583 {
25584 return f != $ac_func;
25585   ;
25586   return 0;
25587 }
25588 _ACEOF
25589 rm -f conftest.$ac_objext conftest$ac_exeext
25590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25591   (eval $ac_link) 2>conftest.er1
25592   ac_status=$?
25593   grep -v '^ *+' conftest.er1 >conftest.err
25594   rm -f conftest.er1
25595   cat conftest.err >&5
25596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597   (exit $ac_status); } &&
25598          { ac_try='test -z "$ac_c_werror_flag"
25599                          || test ! -s conftest.err'
25600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25601   (eval $ac_try) 2>&5
25602   ac_status=$?
25603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604   (exit $ac_status); }; } &&
25605          { ac_try='test -s conftest$ac_exeext'
25606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607   (eval $ac_try) 2>&5
25608   ac_status=$?
25609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610   (exit $ac_status); }; }; then
25611   eval "$as_ac_var=yes"
25612 else
25613   echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25615
25616 eval "$as_ac_var=no"
25617 fi
25618 rm -f conftest.err conftest.$ac_objext \
25619       conftest$ac_exeext conftest.$ac_ext
25620 fi
25621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25623 if test `eval echo '${'$as_ac_var'}'` = yes; then
25624   cat >>confdefs.h <<_ACEOF
25625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25626 _ACEOF
25627
25628 fi
25629 done
25630
25631     fi
25632   fi
25633
25634
25635
25636
25637
25638
25639   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25640 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25641   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25642     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25643   echo $ECHO_N "(cached) $ECHO_C" >&6
25644 else
25645
25646
25647
25648       ac_ext=cc
25649 ac_cpp='$CXXCPP $CPPFLAGS'
25650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25653
25654       cat >conftest.$ac_ext <<_ACEOF
25655 /* confdefs.h.  */
25656 _ACEOF
25657 cat confdefs.h >>conftest.$ac_ext
25658 cat >>conftest.$ac_ext <<_ACEOF
25659 /* end confdefs.h.  */
25660 #include <math.h>
25661 int
25662 main ()
25663 {
25664  ldexpf(0, 0);
25665   ;
25666   return 0;
25667 }
25668 _ACEOF
25669 rm -f conftest.$ac_objext
25670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25671   (eval $ac_compile) 2>conftest.er1
25672   ac_status=$?
25673   grep -v '^ *+' conftest.er1 >conftest.err
25674   rm -f conftest.er1
25675   cat conftest.err >&5
25676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677   (exit $ac_status); } &&
25678          { ac_try='test -z "$ac_cxx_werror_flag"
25679                          || test ! -s conftest.err'
25680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25681   (eval $ac_try) 2>&5
25682   ac_status=$?
25683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684   (exit $ac_status); }; } &&
25685          { ac_try='test -s conftest.$ac_objext'
25686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25687   (eval $ac_try) 2>&5
25688   ac_status=$?
25689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690   (exit $ac_status); }; }; then
25691   glibcxx_cv_func_ldexpf_use=yes
25692 else
25693   echo "$as_me: failed program was:" >&5
25694 sed 's/^/| /' conftest.$ac_ext >&5
25695
25696 glibcxx_cv_func_ldexpf_use=no
25697 fi
25698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25699       ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25704
25705
25706 fi
25707
25708   fi
25709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25710 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25711
25712   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25713
25714 for ac_func in ldexpf
25715 do
25716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25717 echo "$as_me:$LINENO: checking for $ac_func" >&5
25718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25719 if eval "test \"\${$as_ac_var+set}\" = set"; then
25720   echo $ECHO_N "(cached) $ECHO_C" >&6
25721 else
25722   if test x$gcc_no_link = xyes; then
25723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25725    { (exit 1); exit 1; }; }
25726 fi
25727 cat >conftest.$ac_ext <<_ACEOF
25728 /* confdefs.h.  */
25729 _ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h.  */
25733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25735 #define $ac_func innocuous_$ac_func
25736
25737 /* System header to define __stub macros and hopefully few prototypes,
25738     which can conflict with char $ac_func (); below.
25739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25740     <limits.h> exists even on freestanding compilers.  */
25741
25742 #ifdef __STDC__
25743 # include <limits.h>
25744 #else
25745 # include <assert.h>
25746 #endif
25747
25748 #undef $ac_func
25749
25750 /* Override any gcc2 internal prototype to avoid an error.  */
25751 #ifdef __cplusplus
25752 extern "C"
25753 {
25754 #endif
25755 /* We use char because int might match the return type of a gcc2
25756    builtin and then its argument prototype would still apply.  */
25757 char $ac_func ();
25758 /* The GNU C library defines this for functions which it implements
25759     to always fail with ENOSYS.  Some functions are actually named
25760     something starting with __ and the normal name is an alias.  */
25761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25762 choke me
25763 #else
25764 char (*f) () = $ac_func;
25765 #endif
25766 #ifdef __cplusplus
25767 }
25768 #endif
25769
25770 int
25771 main ()
25772 {
25773 return f != $ac_func;
25774   ;
25775   return 0;
25776 }
25777 _ACEOF
25778 rm -f conftest.$ac_objext conftest$ac_exeext
25779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25780   (eval $ac_link) 2>conftest.er1
25781   ac_status=$?
25782   grep -v '^ *+' conftest.er1 >conftest.err
25783   rm -f conftest.er1
25784   cat conftest.err >&5
25785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786   (exit $ac_status); } &&
25787          { ac_try='test -z "$ac_c_werror_flag"
25788                          || test ! -s conftest.err'
25789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790   (eval $ac_try) 2>&5
25791   ac_status=$?
25792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793   (exit $ac_status); }; } &&
25794          { ac_try='test -s conftest$ac_exeext'
25795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796   (eval $ac_try) 2>&5
25797   ac_status=$?
25798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799   (exit $ac_status); }; }; then
25800   eval "$as_ac_var=yes"
25801 else
25802   echo "$as_me: failed program was:" >&5
25803 sed 's/^/| /' conftest.$ac_ext >&5
25804
25805 eval "$as_ac_var=no"
25806 fi
25807 rm -f conftest.err conftest.$ac_objext \
25808       conftest$ac_exeext conftest.$ac_ext
25809 fi
25810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25812 if test `eval echo '${'$as_ac_var'}'` = yes; then
25813   cat >>confdefs.h <<_ACEOF
25814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25815 _ACEOF
25816
25817 fi
25818 done
25819
25820   else
25821
25822   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25823 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25824   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25825     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25826   echo $ECHO_N "(cached) $ECHO_C" >&6
25827 else
25828
25829
25830
25831       ac_ext=cc
25832 ac_cpp='$CXXCPP $CPPFLAGS'
25833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25836
25837       cat >conftest.$ac_ext <<_ACEOF
25838 /* confdefs.h.  */
25839 _ACEOF
25840 cat confdefs.h >>conftest.$ac_ext
25841 cat >>conftest.$ac_ext <<_ACEOF
25842 /* end confdefs.h.  */
25843 #include <math.h>
25844 int
25845 main ()
25846 {
25847  _ldexpf(0, 0);
25848   ;
25849   return 0;
25850 }
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25854   (eval $ac_compile) 2>conftest.er1
25855   ac_status=$?
25856   grep -v '^ *+' conftest.er1 >conftest.err
25857   rm -f conftest.er1
25858   cat conftest.err >&5
25859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860   (exit $ac_status); } &&
25861          { ac_try='test -z "$ac_cxx_werror_flag"
25862                          || test ! -s conftest.err'
25863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864   (eval $ac_try) 2>&5
25865   ac_status=$?
25866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867   (exit $ac_status); }; } &&
25868          { ac_try='test -s conftest.$ac_objext'
25869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870   (eval $ac_try) 2>&5
25871   ac_status=$?
25872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873   (exit $ac_status); }; }; then
25874   glibcxx_cv_func__ldexpf_use=yes
25875 else
25876   echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25878
25879 glibcxx_cv_func__ldexpf_use=no
25880 fi
25881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25882       ac_ext=c
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25887
25888
25889 fi
25890
25891   fi
25892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25893 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25894
25895     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25896
25897 for ac_func in _ldexpf
25898 do
25899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25900 echo "$as_me:$LINENO: checking for $ac_func" >&5
25901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25902 if eval "test \"\${$as_ac_var+set}\" = set"; then
25903   echo $ECHO_N "(cached) $ECHO_C" >&6
25904 else
25905   if test x$gcc_no_link = xyes; then
25906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25908    { (exit 1); exit 1; }; }
25909 fi
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h.  */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h.  */
25916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25918 #define $ac_func innocuous_$ac_func
25919
25920 /* System header to define __stub macros and hopefully few prototypes,
25921     which can conflict with char $ac_func (); below.
25922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25923     <limits.h> exists even on freestanding compilers.  */
25924
25925 #ifdef __STDC__
25926 # include <limits.h>
25927 #else
25928 # include <assert.h>
25929 #endif
25930
25931 #undef $ac_func
25932
25933 /* Override any gcc2 internal prototype to avoid an error.  */
25934 #ifdef __cplusplus
25935 extern "C"
25936 {
25937 #endif
25938 /* We use char because int might match the return type of a gcc2
25939    builtin and then its argument prototype would still apply.  */
25940 char $ac_func ();
25941 /* The GNU C library defines this for functions which it implements
25942     to always fail with ENOSYS.  Some functions are actually named
25943     something starting with __ and the normal name is an alias.  */
25944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25945 choke me
25946 #else
25947 char (*f) () = $ac_func;
25948 #endif
25949 #ifdef __cplusplus
25950 }
25951 #endif
25952
25953 int
25954 main ()
25955 {
25956 return f != $ac_func;
25957   ;
25958   return 0;
25959 }
25960 _ACEOF
25961 rm -f conftest.$ac_objext conftest$ac_exeext
25962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25963   (eval $ac_link) 2>conftest.er1
25964   ac_status=$?
25965   grep -v '^ *+' conftest.er1 >conftest.err
25966   rm -f conftest.er1
25967   cat conftest.err >&5
25968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969   (exit $ac_status); } &&
25970          { ac_try='test -z "$ac_c_werror_flag"
25971                          || test ! -s conftest.err'
25972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973   (eval $ac_try) 2>&5
25974   ac_status=$?
25975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976   (exit $ac_status); }; } &&
25977          { ac_try='test -s conftest$ac_exeext'
25978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979   (eval $ac_try) 2>&5
25980   ac_status=$?
25981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982   (exit $ac_status); }; }; then
25983   eval "$as_ac_var=yes"
25984 else
25985   echo "$as_me: failed program was:" >&5
25986 sed 's/^/| /' conftest.$ac_ext >&5
25987
25988 eval "$as_ac_var=no"
25989 fi
25990 rm -f conftest.err conftest.$ac_objext \
25991       conftest$ac_exeext conftest.$ac_ext
25992 fi
25993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25995 if test `eval echo '${'$as_ac_var'}'` = yes; then
25996   cat >>confdefs.h <<_ACEOF
25997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25998 _ACEOF
25999
26000 fi
26001 done
26002
26003     fi
26004   fi
26005
26006
26007
26008
26009
26010
26011   echo "$as_me:$LINENO: checking for logf declaration" >&5
26012 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
26013   if test x${glibcxx_cv_func_logf_use+set} != xset; then
26014     if test "${glibcxx_cv_func_logf_use+set}" = set; then
26015   echo $ECHO_N "(cached) $ECHO_C" >&6
26016 else
26017
26018
26019
26020       ac_ext=cc
26021 ac_cpp='$CXXCPP $CPPFLAGS'
26022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26025
26026       cat >conftest.$ac_ext <<_ACEOF
26027 /* confdefs.h.  */
26028 _ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h.  */
26032 #include <math.h>
26033                       #ifdef HAVE_IEEEFP_H
26034                       #include <ieeefp.h>
26035                       #endif
26036
26037 int
26038 main ()
26039 {
26040  logf(0);
26041   ;
26042   return 0;
26043 }
26044 _ACEOF
26045 rm -f conftest.$ac_objext
26046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26047   (eval $ac_compile) 2>conftest.er1
26048   ac_status=$?
26049   grep -v '^ *+' conftest.er1 >conftest.err
26050   rm -f conftest.er1
26051   cat conftest.err >&5
26052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053   (exit $ac_status); } &&
26054          { ac_try='test -z "$ac_cxx_werror_flag"
26055                          || test ! -s conftest.err'
26056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057   (eval $ac_try) 2>&5
26058   ac_status=$?
26059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060   (exit $ac_status); }; } &&
26061          { ac_try='test -s conftest.$ac_objext'
26062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063   (eval $ac_try) 2>&5
26064   ac_status=$?
26065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066   (exit $ac_status); }; }; then
26067   glibcxx_cv_func_logf_use=yes
26068 else
26069   echo "$as_me: failed program was:" >&5
26070 sed 's/^/| /' conftest.$ac_ext >&5
26071
26072 glibcxx_cv_func_logf_use=no
26073 fi
26074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26075       ac_ext=c
26076 ac_cpp='$CPP $CPPFLAGS'
26077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26080
26081
26082 fi
26083
26084   fi
26085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26086 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26087
26088   if test x$glibcxx_cv_func_logf_use = x"yes"; then
26089
26090 for ac_func in logf
26091 do
26092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26093 echo "$as_me:$LINENO: checking for $ac_func" >&5
26094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26095 if eval "test \"\${$as_ac_var+set}\" = set"; then
26096   echo $ECHO_N "(cached) $ECHO_C" >&6
26097 else
26098   if test x$gcc_no_link = xyes; then
26099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26101    { (exit 1); exit 1; }; }
26102 fi
26103 cat >conftest.$ac_ext <<_ACEOF
26104 /* confdefs.h.  */
26105 _ACEOF
26106 cat confdefs.h >>conftest.$ac_ext
26107 cat >>conftest.$ac_ext <<_ACEOF
26108 /* end confdefs.h.  */
26109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26111 #define $ac_func innocuous_$ac_func
26112
26113 /* System header to define __stub macros and hopefully few prototypes,
26114     which can conflict with char $ac_func (); below.
26115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26116     <limits.h> exists even on freestanding compilers.  */
26117
26118 #ifdef __STDC__
26119 # include <limits.h>
26120 #else
26121 # include <assert.h>
26122 #endif
26123
26124 #undef $ac_func
26125
26126 /* Override any gcc2 internal prototype to avoid an error.  */
26127 #ifdef __cplusplus
26128 extern "C"
26129 {
26130 #endif
26131 /* We use char because int might match the return type of a gcc2
26132    builtin and then its argument prototype would still apply.  */
26133 char $ac_func ();
26134 /* The GNU C library defines this for functions which it implements
26135     to always fail with ENOSYS.  Some functions are actually named
26136     something starting with __ and the normal name is an alias.  */
26137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26138 choke me
26139 #else
26140 char (*f) () = $ac_func;
26141 #endif
26142 #ifdef __cplusplus
26143 }
26144 #endif
26145
26146 int
26147 main ()
26148 {
26149 return f != $ac_func;
26150   ;
26151   return 0;
26152 }
26153 _ACEOF
26154 rm -f conftest.$ac_objext conftest$ac_exeext
26155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26156   (eval $ac_link) 2>conftest.er1
26157   ac_status=$?
26158   grep -v '^ *+' conftest.er1 >conftest.err
26159   rm -f conftest.er1
26160   cat conftest.err >&5
26161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162   (exit $ac_status); } &&
26163          { ac_try='test -z "$ac_c_werror_flag"
26164                          || test ! -s conftest.err'
26165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166   (eval $ac_try) 2>&5
26167   ac_status=$?
26168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169   (exit $ac_status); }; } &&
26170          { ac_try='test -s conftest$ac_exeext'
26171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26172   (eval $ac_try) 2>&5
26173   ac_status=$?
26174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175   (exit $ac_status); }; }; then
26176   eval "$as_ac_var=yes"
26177 else
26178   echo "$as_me: failed program was:" >&5
26179 sed 's/^/| /' conftest.$ac_ext >&5
26180
26181 eval "$as_ac_var=no"
26182 fi
26183 rm -f conftest.err conftest.$ac_objext \
26184       conftest$ac_exeext conftest.$ac_ext
26185 fi
26186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26188 if test `eval echo '${'$as_ac_var'}'` = yes; then
26189   cat >>confdefs.h <<_ACEOF
26190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26191 _ACEOF
26192
26193 fi
26194 done
26195
26196   else
26197
26198   echo "$as_me:$LINENO: checking for _logf declaration" >&5
26199 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26200   if test x${glibcxx_cv_func__logf_use+set} != xset; then
26201     if test "${glibcxx_cv_func__logf_use+set}" = set; then
26202   echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204
26205
26206
26207       ac_ext=cc
26208 ac_cpp='$CXXCPP $CPPFLAGS'
26209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26212
26213       cat >conftest.$ac_ext <<_ACEOF
26214 /* confdefs.h.  */
26215 _ACEOF
26216 cat confdefs.h >>conftest.$ac_ext
26217 cat >>conftest.$ac_ext <<_ACEOF
26218 /* end confdefs.h.  */
26219 #include <math.h>
26220                       #ifdef HAVE_IEEEFP_H
26221                       #include <ieeefp.h>
26222                       #endif
26223
26224 int
26225 main ()
26226 {
26227  _logf(0);
26228   ;
26229   return 0;
26230 }
26231 _ACEOF
26232 rm -f conftest.$ac_objext
26233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26234   (eval $ac_compile) 2>conftest.er1
26235   ac_status=$?
26236   grep -v '^ *+' conftest.er1 >conftest.err
26237   rm -f conftest.er1
26238   cat conftest.err >&5
26239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26240   (exit $ac_status); } &&
26241          { ac_try='test -z "$ac_cxx_werror_flag"
26242                          || test ! -s conftest.err'
26243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244   (eval $ac_try) 2>&5
26245   ac_status=$?
26246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247   (exit $ac_status); }; } &&
26248          { ac_try='test -s conftest.$ac_objext'
26249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250   (eval $ac_try) 2>&5
26251   ac_status=$?
26252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253   (exit $ac_status); }; }; then
26254   glibcxx_cv_func__logf_use=yes
26255 else
26256   echo "$as_me: failed program was:" >&5
26257 sed 's/^/| /' conftest.$ac_ext >&5
26258
26259 glibcxx_cv_func__logf_use=no
26260 fi
26261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26262       ac_ext=c
26263 ac_cpp='$CPP $CPPFLAGS'
26264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26267
26268
26269 fi
26270
26271   fi
26272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26273 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26274
26275     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26276
26277 for ac_func in _logf
26278 do
26279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26280 echo "$as_me:$LINENO: checking for $ac_func" >&5
26281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26282 if eval "test \"\${$as_ac_var+set}\" = set"; then
26283   echo $ECHO_N "(cached) $ECHO_C" >&6
26284 else
26285   if test x$gcc_no_link = xyes; then
26286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26288    { (exit 1); exit 1; }; }
26289 fi
26290 cat >conftest.$ac_ext <<_ACEOF
26291 /* confdefs.h.  */
26292 _ACEOF
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h.  */
26296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26298 #define $ac_func innocuous_$ac_func
26299
26300 /* System header to define __stub macros and hopefully few prototypes,
26301     which can conflict with char $ac_func (); below.
26302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26303     <limits.h> exists even on freestanding compilers.  */
26304
26305 #ifdef __STDC__
26306 # include <limits.h>
26307 #else
26308 # include <assert.h>
26309 #endif
26310
26311 #undef $ac_func
26312
26313 /* Override any gcc2 internal prototype to avoid an error.  */
26314 #ifdef __cplusplus
26315 extern "C"
26316 {
26317 #endif
26318 /* We use char because int might match the return type of a gcc2
26319    builtin and then its argument prototype would still apply.  */
26320 char $ac_func ();
26321 /* The GNU C library defines this for functions which it implements
26322     to always fail with ENOSYS.  Some functions are actually named
26323     something starting with __ and the normal name is an alias.  */
26324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26325 choke me
26326 #else
26327 char (*f) () = $ac_func;
26328 #endif
26329 #ifdef __cplusplus
26330 }
26331 #endif
26332
26333 int
26334 main ()
26335 {
26336 return f != $ac_func;
26337   ;
26338   return 0;
26339 }
26340 _ACEOF
26341 rm -f conftest.$ac_objext conftest$ac_exeext
26342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26343   (eval $ac_link) 2>conftest.er1
26344   ac_status=$?
26345   grep -v '^ *+' conftest.er1 >conftest.err
26346   rm -f conftest.er1
26347   cat conftest.err >&5
26348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349   (exit $ac_status); } &&
26350          { ac_try='test -z "$ac_c_werror_flag"
26351                          || test ! -s conftest.err'
26352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353   (eval $ac_try) 2>&5
26354   ac_status=$?
26355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356   (exit $ac_status); }; } &&
26357          { ac_try='test -s conftest$ac_exeext'
26358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26359   (eval $ac_try) 2>&5
26360   ac_status=$?
26361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362   (exit $ac_status); }; }; then
26363   eval "$as_ac_var=yes"
26364 else
26365   echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26367
26368 eval "$as_ac_var=no"
26369 fi
26370 rm -f conftest.err conftest.$ac_objext \
26371       conftest$ac_exeext conftest.$ac_ext
26372 fi
26373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26375 if test `eval echo '${'$as_ac_var'}'` = yes; then
26376   cat >>confdefs.h <<_ACEOF
26377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26378 _ACEOF
26379
26380 fi
26381 done
26382
26383     fi
26384   fi
26385
26386
26387
26388
26389
26390
26391   echo "$as_me:$LINENO: checking for log10f declaration" >&5
26392 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26393   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26394     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26395   echo $ECHO_N "(cached) $ECHO_C" >&6
26396 else
26397
26398
26399
26400       ac_ext=cc
26401 ac_cpp='$CXXCPP $CPPFLAGS'
26402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26405
26406       cat >conftest.$ac_ext <<_ACEOF
26407 /* confdefs.h.  */
26408 _ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h.  */
26412 #include <math.h>
26413                       #ifdef HAVE_IEEEFP_H
26414                       #include <ieeefp.h>
26415                       #endif
26416
26417 int
26418 main ()
26419 {
26420  log10f(0);
26421   ;
26422   return 0;
26423 }
26424 _ACEOF
26425 rm -f conftest.$ac_objext
26426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26427   (eval $ac_compile) 2>conftest.er1
26428   ac_status=$?
26429   grep -v '^ *+' conftest.er1 >conftest.err
26430   rm -f conftest.er1
26431   cat conftest.err >&5
26432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433   (exit $ac_status); } &&
26434          { ac_try='test -z "$ac_cxx_werror_flag"
26435                          || test ! -s conftest.err'
26436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437   (eval $ac_try) 2>&5
26438   ac_status=$?
26439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440   (exit $ac_status); }; } &&
26441          { ac_try='test -s conftest.$ac_objext'
26442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26443   (eval $ac_try) 2>&5
26444   ac_status=$?
26445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446   (exit $ac_status); }; }; then
26447   glibcxx_cv_func_log10f_use=yes
26448 else
26449   echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26451
26452 glibcxx_cv_func_log10f_use=no
26453 fi
26454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26455       ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460
26461
26462 fi
26463
26464   fi
26465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26466 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26467
26468   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26469
26470 for ac_func in log10f
26471 do
26472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26473 echo "$as_me:$LINENO: checking for $ac_func" >&5
26474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26475 if eval "test \"\${$as_ac_var+set}\" = set"; then
26476   echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478   if test x$gcc_no_link = xyes; then
26479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26481    { (exit 1); exit 1; }; }
26482 fi
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h.  */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h.  */
26489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26491 #define $ac_func innocuous_$ac_func
26492
26493 /* System header to define __stub macros and hopefully few prototypes,
26494     which can conflict with char $ac_func (); below.
26495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26496     <limits.h> exists even on freestanding compilers.  */
26497
26498 #ifdef __STDC__
26499 # include <limits.h>
26500 #else
26501 # include <assert.h>
26502 #endif
26503
26504 #undef $ac_func
26505
26506 /* Override any gcc2 internal prototype to avoid an error.  */
26507 #ifdef __cplusplus
26508 extern "C"
26509 {
26510 #endif
26511 /* We use char because int might match the return type of a gcc2
26512    builtin and then its argument prototype would still apply.  */
26513 char $ac_func ();
26514 /* The GNU C library defines this for functions which it implements
26515     to always fail with ENOSYS.  Some functions are actually named
26516     something starting with __ and the normal name is an alias.  */
26517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26518 choke me
26519 #else
26520 char (*f) () = $ac_func;
26521 #endif
26522 #ifdef __cplusplus
26523 }
26524 #endif
26525
26526 int
26527 main ()
26528 {
26529 return f != $ac_func;
26530   ;
26531   return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536   (eval $ac_link) 2>conftest.er1
26537   ac_status=$?
26538   grep -v '^ *+' conftest.er1 >conftest.err
26539   rm -f conftest.er1
26540   cat conftest.err >&5
26541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542   (exit $ac_status); } &&
26543          { ac_try='test -z "$ac_c_werror_flag"
26544                          || test ! -s conftest.err'
26545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546   (eval $ac_try) 2>&5
26547   ac_status=$?
26548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549   (exit $ac_status); }; } &&
26550          { ac_try='test -s conftest$ac_exeext'
26551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552   (eval $ac_try) 2>&5
26553   ac_status=$?
26554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555   (exit $ac_status); }; }; then
26556   eval "$as_ac_var=yes"
26557 else
26558   echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26560
26561 eval "$as_ac_var=no"
26562 fi
26563 rm -f conftest.err conftest.$ac_objext \
26564       conftest$ac_exeext conftest.$ac_ext
26565 fi
26566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26568 if test `eval echo '${'$as_ac_var'}'` = yes; then
26569   cat >>confdefs.h <<_ACEOF
26570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26571 _ACEOF
26572
26573 fi
26574 done
26575
26576   else
26577
26578   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26579 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26580   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26581     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26582   echo $ECHO_N "(cached) $ECHO_C" >&6
26583 else
26584
26585
26586
26587       ac_ext=cc
26588 ac_cpp='$CXXCPP $CPPFLAGS'
26589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26592
26593       cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h.  */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h.  */
26599 #include <math.h>
26600                       #ifdef HAVE_IEEEFP_H
26601                       #include <ieeefp.h>
26602                       #endif
26603
26604 int
26605 main ()
26606 {
26607  _log10f(0);
26608   ;
26609   return 0;
26610 }
26611 _ACEOF
26612 rm -f conftest.$ac_objext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26614   (eval $ac_compile) 2>conftest.er1
26615   ac_status=$?
26616   grep -v '^ *+' conftest.er1 >conftest.err
26617   rm -f conftest.er1
26618   cat conftest.err >&5
26619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620   (exit $ac_status); } &&
26621          { ac_try='test -z "$ac_cxx_werror_flag"
26622                          || test ! -s conftest.err'
26623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624   (eval $ac_try) 2>&5
26625   ac_status=$?
26626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627   (exit $ac_status); }; } &&
26628          { ac_try='test -s conftest.$ac_objext'
26629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630   (eval $ac_try) 2>&5
26631   ac_status=$?
26632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633   (exit $ac_status); }; }; then
26634   glibcxx_cv_func__log10f_use=yes
26635 else
26636   echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 glibcxx_cv_func__log10f_use=no
26640 fi
26641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26642       ac_ext=c
26643 ac_cpp='$CPP $CPPFLAGS'
26644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26647
26648
26649 fi
26650
26651   fi
26652   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26653 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26654
26655     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26656
26657 for ac_func in _log10f
26658 do
26659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26660 echo "$as_me:$LINENO: checking for $ac_func" >&5
26661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26662 if eval "test \"\${$as_ac_var+set}\" = set"; then
26663   echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665   if test x$gcc_no_link = xyes; then
26666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26668    { (exit 1); exit 1; }; }
26669 fi
26670 cat >conftest.$ac_ext <<_ACEOF
26671 /* confdefs.h.  */
26672 _ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h.  */
26676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26678 #define $ac_func innocuous_$ac_func
26679
26680 /* System header to define __stub macros and hopefully few prototypes,
26681     which can conflict with char $ac_func (); below.
26682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26683     <limits.h> exists even on freestanding compilers.  */
26684
26685 #ifdef __STDC__
26686 # include <limits.h>
26687 #else
26688 # include <assert.h>
26689 #endif
26690
26691 #undef $ac_func
26692
26693 /* Override any gcc2 internal prototype to avoid an error.  */
26694 #ifdef __cplusplus
26695 extern "C"
26696 {
26697 #endif
26698 /* We use char because int might match the return type of a gcc2
26699    builtin and then its argument prototype would still apply.  */
26700 char $ac_func ();
26701 /* The GNU C library defines this for functions which it implements
26702     to always fail with ENOSYS.  Some functions are actually named
26703     something starting with __ and the normal name is an alias.  */
26704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26705 choke me
26706 #else
26707 char (*f) () = $ac_func;
26708 #endif
26709 #ifdef __cplusplus
26710 }
26711 #endif
26712
26713 int
26714 main ()
26715 {
26716 return f != $ac_func;
26717   ;
26718   return 0;
26719 }
26720 _ACEOF
26721 rm -f conftest.$ac_objext conftest$ac_exeext
26722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26723   (eval $ac_link) 2>conftest.er1
26724   ac_status=$?
26725   grep -v '^ *+' conftest.er1 >conftest.err
26726   rm -f conftest.er1
26727   cat conftest.err >&5
26728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729   (exit $ac_status); } &&
26730          { ac_try='test -z "$ac_c_werror_flag"
26731                          || test ! -s conftest.err'
26732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733   (eval $ac_try) 2>&5
26734   ac_status=$?
26735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736   (exit $ac_status); }; } &&
26737          { ac_try='test -s conftest$ac_exeext'
26738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739   (eval $ac_try) 2>&5
26740   ac_status=$?
26741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742   (exit $ac_status); }; }; then
26743   eval "$as_ac_var=yes"
26744 else
26745   echo "$as_me: failed program was:" >&5
26746 sed 's/^/| /' conftest.$ac_ext >&5
26747
26748 eval "$as_ac_var=no"
26749 fi
26750 rm -f conftest.err conftest.$ac_objext \
26751       conftest$ac_exeext conftest.$ac_ext
26752 fi
26753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26755 if test `eval echo '${'$as_ac_var'}'` = yes; then
26756   cat >>confdefs.h <<_ACEOF
26757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26758 _ACEOF
26759
26760 fi
26761 done
26762
26763     fi
26764   fi
26765
26766
26767
26768
26769
26770
26771   echo "$as_me:$LINENO: checking for modff declaration" >&5
26772 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26773   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26774     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26775   echo $ECHO_N "(cached) $ECHO_C" >&6
26776 else
26777
26778
26779
26780       ac_ext=cc
26781 ac_cpp='$CXXCPP $CPPFLAGS'
26782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26785
26786       cat >conftest.$ac_ext <<_ACEOF
26787 /* confdefs.h.  */
26788 _ACEOF
26789 cat confdefs.h >>conftest.$ac_ext
26790 cat >>conftest.$ac_ext <<_ACEOF
26791 /* end confdefs.h.  */
26792 #include <math.h>
26793 int
26794 main ()
26795 {
26796  modff(0, 0);
26797   ;
26798   return 0;
26799 }
26800 _ACEOF
26801 rm -f conftest.$ac_objext
26802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26803   (eval $ac_compile) 2>conftest.er1
26804   ac_status=$?
26805   grep -v '^ *+' conftest.er1 >conftest.err
26806   rm -f conftest.er1
26807   cat conftest.err >&5
26808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809   (exit $ac_status); } &&
26810          { ac_try='test -z "$ac_cxx_werror_flag"
26811                          || test ! -s conftest.err'
26812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813   (eval $ac_try) 2>&5
26814   ac_status=$?
26815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816   (exit $ac_status); }; } &&
26817          { ac_try='test -s conftest.$ac_objext'
26818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819   (eval $ac_try) 2>&5
26820   ac_status=$?
26821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822   (exit $ac_status); }; }; then
26823   glibcxx_cv_func_modff_use=yes
26824 else
26825   echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 glibcxx_cv_func_modff_use=no
26829 fi
26830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26831       ac_ext=c
26832 ac_cpp='$CPP $CPPFLAGS'
26833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836
26837
26838 fi
26839
26840   fi
26841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26842 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26843
26844   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26845
26846 for ac_func in modff
26847 do
26848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26849 echo "$as_me:$LINENO: checking for $ac_func" >&5
26850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26851 if eval "test \"\${$as_ac_var+set}\" = set"; then
26852   echo $ECHO_N "(cached) $ECHO_C" >&6
26853 else
26854   if test x$gcc_no_link = xyes; then
26855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26857    { (exit 1); exit 1; }; }
26858 fi
26859 cat >conftest.$ac_ext <<_ACEOF
26860 /* confdefs.h.  */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h.  */
26865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26867 #define $ac_func innocuous_$ac_func
26868
26869 /* System header to define __stub macros and hopefully few prototypes,
26870     which can conflict with char $ac_func (); below.
26871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26872     <limits.h> exists even on freestanding compilers.  */
26873
26874 #ifdef __STDC__
26875 # include <limits.h>
26876 #else
26877 # include <assert.h>
26878 #endif
26879
26880 #undef $ac_func
26881
26882 /* Override any gcc2 internal prototype to avoid an error.  */
26883 #ifdef __cplusplus
26884 extern "C"
26885 {
26886 #endif
26887 /* We use char because int might match the return type of a gcc2
26888    builtin and then its argument prototype would still apply.  */
26889 char $ac_func ();
26890 /* The GNU C library defines this for functions which it implements
26891     to always fail with ENOSYS.  Some functions are actually named
26892     something starting with __ and the normal name is an alias.  */
26893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26894 choke me
26895 #else
26896 char (*f) () = $ac_func;
26897 #endif
26898 #ifdef __cplusplus
26899 }
26900 #endif
26901
26902 int
26903 main ()
26904 {
26905 return f != $ac_func;
26906   ;
26907   return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext conftest$ac_exeext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26912   (eval $ac_link) 2>conftest.er1
26913   ac_status=$?
26914   grep -v '^ *+' conftest.er1 >conftest.err
26915   rm -f conftest.er1
26916   cat conftest.err >&5
26917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918   (exit $ac_status); } &&
26919          { ac_try='test -z "$ac_c_werror_flag"
26920                          || test ! -s conftest.err'
26921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922   (eval $ac_try) 2>&5
26923   ac_status=$?
26924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925   (exit $ac_status); }; } &&
26926          { ac_try='test -s conftest$ac_exeext'
26927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928   (eval $ac_try) 2>&5
26929   ac_status=$?
26930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931   (exit $ac_status); }; }; then
26932   eval "$as_ac_var=yes"
26933 else
26934   echo "$as_me: failed program was:" >&5
26935 sed 's/^/| /' conftest.$ac_ext >&5
26936
26937 eval "$as_ac_var=no"
26938 fi
26939 rm -f conftest.err conftest.$ac_objext \
26940       conftest$ac_exeext conftest.$ac_ext
26941 fi
26942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26944 if test `eval echo '${'$as_ac_var'}'` = yes; then
26945   cat >>confdefs.h <<_ACEOF
26946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26947 _ACEOF
26948
26949 fi
26950 done
26951
26952   else
26953
26954   echo "$as_me:$LINENO: checking for _modff declaration" >&5
26955 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26956   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26957     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26958   echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26960
26961
26962
26963       ac_ext=cc
26964 ac_cpp='$CXXCPP $CPPFLAGS'
26965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26968
26969       cat >conftest.$ac_ext <<_ACEOF
26970 /* confdefs.h.  */
26971 _ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h.  */
26975 #include <math.h>
26976 int
26977 main ()
26978 {
26979  _modff(0, 0);
26980   ;
26981   return 0;
26982 }
26983 _ACEOF
26984 rm -f conftest.$ac_objext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26986   (eval $ac_compile) 2>conftest.er1
26987   ac_status=$?
26988   grep -v '^ *+' conftest.er1 >conftest.err
26989   rm -f conftest.er1
26990   cat conftest.err >&5
26991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992   (exit $ac_status); } &&
26993          { ac_try='test -z "$ac_cxx_werror_flag"
26994                          || test ! -s conftest.err'
26995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996   (eval $ac_try) 2>&5
26997   ac_status=$?
26998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999   (exit $ac_status); }; } &&
27000          { ac_try='test -s conftest.$ac_objext'
27001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002   (eval $ac_try) 2>&5
27003   ac_status=$?
27004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005   (exit $ac_status); }; }; then
27006   glibcxx_cv_func__modff_use=yes
27007 else
27008   echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 glibcxx_cv_func__modff_use=no
27012 fi
27013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27014       ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27019
27020
27021 fi
27022
27023   fi
27024   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
27025 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
27026
27027     if test x$glibcxx_cv_func__modff_use = x"yes"; then
27028
27029 for ac_func in _modff
27030 do
27031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27032 echo "$as_me:$LINENO: checking for $ac_func" >&5
27033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27034 if eval "test \"\${$as_ac_var+set}\" = set"; then
27035   echo $ECHO_N "(cached) $ECHO_C" >&6
27036 else
27037   if test x$gcc_no_link = xyes; then
27038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27040    { (exit 1); exit 1; }; }
27041 fi
27042 cat >conftest.$ac_ext <<_ACEOF
27043 /* confdefs.h.  */
27044 _ACEOF
27045 cat confdefs.h >>conftest.$ac_ext
27046 cat >>conftest.$ac_ext <<_ACEOF
27047 /* end confdefs.h.  */
27048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27050 #define $ac_func innocuous_$ac_func
27051
27052 /* System header to define __stub macros and hopefully few prototypes,
27053     which can conflict with char $ac_func (); below.
27054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27055     <limits.h> exists even on freestanding compilers.  */
27056
27057 #ifdef __STDC__
27058 # include <limits.h>
27059 #else
27060 # include <assert.h>
27061 #endif
27062
27063 #undef $ac_func
27064
27065 /* Override any gcc2 internal prototype to avoid an error.  */
27066 #ifdef __cplusplus
27067 extern "C"
27068 {
27069 #endif
27070 /* We use char because int might match the return type of a gcc2
27071    builtin and then its argument prototype would still apply.  */
27072 char $ac_func ();
27073 /* The GNU C library defines this for functions which it implements
27074     to always fail with ENOSYS.  Some functions are actually named
27075     something starting with __ and the normal name is an alias.  */
27076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27077 choke me
27078 #else
27079 char (*f) () = $ac_func;
27080 #endif
27081 #ifdef __cplusplus
27082 }
27083 #endif
27084
27085 int
27086 main ()
27087 {
27088 return f != $ac_func;
27089   ;
27090   return 0;
27091 }
27092 _ACEOF
27093 rm -f conftest.$ac_objext conftest$ac_exeext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27095   (eval $ac_link) 2>conftest.er1
27096   ac_status=$?
27097   grep -v '^ *+' conftest.er1 >conftest.err
27098   rm -f conftest.er1
27099   cat conftest.err >&5
27100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101   (exit $ac_status); } &&
27102          { ac_try='test -z "$ac_c_werror_flag"
27103                          || test ! -s conftest.err'
27104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105   (eval $ac_try) 2>&5
27106   ac_status=$?
27107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108   (exit $ac_status); }; } &&
27109          { ac_try='test -s conftest$ac_exeext'
27110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111   (eval $ac_try) 2>&5
27112   ac_status=$?
27113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114   (exit $ac_status); }; }; then
27115   eval "$as_ac_var=yes"
27116 else
27117   echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27119
27120 eval "$as_ac_var=no"
27121 fi
27122 rm -f conftest.err conftest.$ac_objext \
27123       conftest$ac_exeext conftest.$ac_ext
27124 fi
27125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27127 if test `eval echo '${'$as_ac_var'}'` = yes; then
27128   cat >>confdefs.h <<_ACEOF
27129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27130 _ACEOF
27131
27132 fi
27133 done
27134
27135     fi
27136   fi
27137
27138
27139
27140
27141
27142
27143   echo "$as_me:$LINENO: checking for modf declaration" >&5
27144 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27145   if test x${glibcxx_cv_func_modf_use+set} != xset; then
27146     if test "${glibcxx_cv_func_modf_use+set}" = set; then
27147   echo $ECHO_N "(cached) $ECHO_C" >&6
27148 else
27149
27150
27151
27152       ac_ext=cc
27153 ac_cpp='$CXXCPP $CPPFLAGS'
27154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27157
27158       cat >conftest.$ac_ext <<_ACEOF
27159 /* confdefs.h.  */
27160 _ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h.  */
27164 #include <math.h>
27165 int
27166 main ()
27167 {
27168  modf(0, 0);
27169   ;
27170   return 0;
27171 }
27172 _ACEOF
27173 rm -f conftest.$ac_objext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27175   (eval $ac_compile) 2>conftest.er1
27176   ac_status=$?
27177   grep -v '^ *+' conftest.er1 >conftest.err
27178   rm -f conftest.er1
27179   cat conftest.err >&5
27180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181   (exit $ac_status); } &&
27182          { ac_try='test -z "$ac_cxx_werror_flag"
27183                          || test ! -s conftest.err'
27184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185   (eval $ac_try) 2>&5
27186   ac_status=$?
27187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188   (exit $ac_status); }; } &&
27189          { ac_try='test -s conftest.$ac_objext'
27190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27191   (eval $ac_try) 2>&5
27192   ac_status=$?
27193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194   (exit $ac_status); }; }; then
27195   glibcxx_cv_func_modf_use=yes
27196 else
27197   echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.$ac_ext >&5
27199
27200 glibcxx_cv_func_modf_use=no
27201 fi
27202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27203       ac_ext=c
27204 ac_cpp='$CPP $CPPFLAGS'
27205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27208
27209
27210 fi
27211
27212   fi
27213   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27214 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27215
27216   if test x$glibcxx_cv_func_modf_use = x"yes"; then
27217
27218 for ac_func in modf
27219 do
27220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27221 echo "$as_me:$LINENO: checking for $ac_func" >&5
27222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27223 if eval "test \"\${$as_ac_var+set}\" = set"; then
27224   echo $ECHO_N "(cached) $ECHO_C" >&6
27225 else
27226   if test x$gcc_no_link = xyes; then
27227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27229    { (exit 1); exit 1; }; }
27230 fi
27231 cat >conftest.$ac_ext <<_ACEOF
27232 /* confdefs.h.  */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h.  */
27237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27239 #define $ac_func innocuous_$ac_func
27240
27241 /* System header to define __stub macros and hopefully few prototypes,
27242     which can conflict with char $ac_func (); below.
27243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27244     <limits.h> exists even on freestanding compilers.  */
27245
27246 #ifdef __STDC__
27247 # include <limits.h>
27248 #else
27249 # include <assert.h>
27250 #endif
27251
27252 #undef $ac_func
27253
27254 /* Override any gcc2 internal prototype to avoid an error.  */
27255 #ifdef __cplusplus
27256 extern "C"
27257 {
27258 #endif
27259 /* We use char because int might match the return type of a gcc2
27260    builtin and then its argument prototype would still apply.  */
27261 char $ac_func ();
27262 /* The GNU C library defines this for functions which it implements
27263     to always fail with ENOSYS.  Some functions are actually named
27264     something starting with __ and the normal name is an alias.  */
27265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27266 choke me
27267 #else
27268 char (*f) () = $ac_func;
27269 #endif
27270 #ifdef __cplusplus
27271 }
27272 #endif
27273
27274 int
27275 main ()
27276 {
27277 return f != $ac_func;
27278   ;
27279   return 0;
27280 }
27281 _ACEOF
27282 rm -f conftest.$ac_objext conftest$ac_exeext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27284   (eval $ac_link) 2>conftest.er1
27285   ac_status=$?
27286   grep -v '^ *+' conftest.er1 >conftest.err
27287   rm -f conftest.er1
27288   cat conftest.err >&5
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); } &&
27291          { ac_try='test -z "$ac_c_werror_flag"
27292                          || test ! -s conftest.err'
27293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294   (eval $ac_try) 2>&5
27295   ac_status=$?
27296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297   (exit $ac_status); }; } &&
27298          { ac_try='test -s conftest$ac_exeext'
27299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300   (eval $ac_try) 2>&5
27301   ac_status=$?
27302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303   (exit $ac_status); }; }; then
27304   eval "$as_ac_var=yes"
27305 else
27306   echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27308
27309 eval "$as_ac_var=no"
27310 fi
27311 rm -f conftest.err conftest.$ac_objext \
27312       conftest$ac_exeext conftest.$ac_ext
27313 fi
27314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27316 if test `eval echo '${'$as_ac_var'}'` = yes; then
27317   cat >>confdefs.h <<_ACEOF
27318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27319 _ACEOF
27320
27321 fi
27322 done
27323
27324   else
27325
27326   echo "$as_me:$LINENO: checking for _modf declaration" >&5
27327 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27328   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27329     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27330   echo $ECHO_N "(cached) $ECHO_C" >&6
27331 else
27332
27333
27334
27335       ac_ext=cc
27336 ac_cpp='$CXXCPP $CPPFLAGS'
27337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27340
27341       cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h.  */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h.  */
27347 #include <math.h>
27348 int
27349 main ()
27350 {
27351  _modf(0, 0);
27352   ;
27353   return 0;
27354 }
27355 _ACEOF
27356 rm -f conftest.$ac_objext
27357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27358   (eval $ac_compile) 2>conftest.er1
27359   ac_status=$?
27360   grep -v '^ *+' conftest.er1 >conftest.err
27361   rm -f conftest.er1
27362   cat conftest.err >&5
27363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364   (exit $ac_status); } &&
27365          { ac_try='test -z "$ac_cxx_werror_flag"
27366                          || test ! -s conftest.err'
27367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368   (eval $ac_try) 2>&5
27369   ac_status=$?
27370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371   (exit $ac_status); }; } &&
27372          { ac_try='test -s conftest.$ac_objext'
27373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374   (eval $ac_try) 2>&5
27375   ac_status=$?
27376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377   (exit $ac_status); }; }; then
27378   glibcxx_cv_func__modf_use=yes
27379 else
27380   echo "$as_me: failed program was:" >&5
27381 sed 's/^/| /' conftest.$ac_ext >&5
27382
27383 glibcxx_cv_func__modf_use=no
27384 fi
27385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27386       ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27391
27392
27393 fi
27394
27395   fi
27396   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27397 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27398
27399     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27400
27401 for ac_func in _modf
27402 do
27403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27404 echo "$as_me:$LINENO: checking for $ac_func" >&5
27405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27406 if eval "test \"\${$as_ac_var+set}\" = set"; then
27407   echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409   if test x$gcc_no_link = xyes; then
27410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27412    { (exit 1); exit 1; }; }
27413 fi
27414 cat >conftest.$ac_ext <<_ACEOF
27415 /* confdefs.h.  */
27416 _ACEOF
27417 cat confdefs.h >>conftest.$ac_ext
27418 cat >>conftest.$ac_ext <<_ACEOF
27419 /* end confdefs.h.  */
27420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27422 #define $ac_func innocuous_$ac_func
27423
27424 /* System header to define __stub macros and hopefully few prototypes,
27425     which can conflict with char $ac_func (); below.
27426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27427     <limits.h> exists even on freestanding compilers.  */
27428
27429 #ifdef __STDC__
27430 # include <limits.h>
27431 #else
27432 # include <assert.h>
27433 #endif
27434
27435 #undef $ac_func
27436
27437 /* Override any gcc2 internal prototype to avoid an error.  */
27438 #ifdef __cplusplus
27439 extern "C"
27440 {
27441 #endif
27442 /* We use char because int might match the return type of a gcc2
27443    builtin and then its argument prototype would still apply.  */
27444 char $ac_func ();
27445 /* The GNU C library defines this for functions which it implements
27446     to always fail with ENOSYS.  Some functions are actually named
27447     something starting with __ and the normal name is an alias.  */
27448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27449 choke me
27450 #else
27451 char (*f) () = $ac_func;
27452 #endif
27453 #ifdef __cplusplus
27454 }
27455 #endif
27456
27457 int
27458 main ()
27459 {
27460 return f != $ac_func;
27461   ;
27462   return 0;
27463 }
27464 _ACEOF
27465 rm -f conftest.$ac_objext conftest$ac_exeext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27467   (eval $ac_link) 2>conftest.er1
27468   ac_status=$?
27469   grep -v '^ *+' conftest.er1 >conftest.err
27470   rm -f conftest.er1
27471   cat conftest.err >&5
27472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473   (exit $ac_status); } &&
27474          { ac_try='test -z "$ac_c_werror_flag"
27475                          || test ! -s conftest.err'
27476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477   (eval $ac_try) 2>&5
27478   ac_status=$?
27479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480   (exit $ac_status); }; } &&
27481          { ac_try='test -s conftest$ac_exeext'
27482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483   (eval $ac_try) 2>&5
27484   ac_status=$?
27485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486   (exit $ac_status); }; }; then
27487   eval "$as_ac_var=yes"
27488 else
27489   echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 eval "$as_ac_var=no"
27493 fi
27494 rm -f conftest.err conftest.$ac_objext \
27495       conftest$ac_exeext conftest.$ac_ext
27496 fi
27497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27499 if test `eval echo '${'$as_ac_var'}'` = yes; then
27500   cat >>confdefs.h <<_ACEOF
27501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27502 _ACEOF
27503
27504 fi
27505 done
27506
27507     fi
27508   fi
27509
27510
27511
27512
27513
27514
27515   echo "$as_me:$LINENO: checking for powf declaration" >&5
27516 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27517   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27518     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27519   echo $ECHO_N "(cached) $ECHO_C" >&6
27520 else
27521
27522
27523
27524       ac_ext=cc
27525 ac_cpp='$CXXCPP $CPPFLAGS'
27526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27529
27530       cat >conftest.$ac_ext <<_ACEOF
27531 /* confdefs.h.  */
27532 _ACEOF
27533 cat confdefs.h >>conftest.$ac_ext
27534 cat >>conftest.$ac_ext <<_ACEOF
27535 /* end confdefs.h.  */
27536 #include <math.h>
27537 int
27538 main ()
27539 {
27540  powf(0, 0);
27541   ;
27542   return 0;
27543 }
27544 _ACEOF
27545 rm -f conftest.$ac_objext
27546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27547   (eval $ac_compile) 2>conftest.er1
27548   ac_status=$?
27549   grep -v '^ *+' conftest.er1 >conftest.err
27550   rm -f conftest.er1
27551   cat conftest.err >&5
27552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553   (exit $ac_status); } &&
27554          { ac_try='test -z "$ac_cxx_werror_flag"
27555                          || test ! -s conftest.err'
27556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557   (eval $ac_try) 2>&5
27558   ac_status=$?
27559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560   (exit $ac_status); }; } &&
27561          { ac_try='test -s conftest.$ac_objext'
27562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563   (eval $ac_try) 2>&5
27564   ac_status=$?
27565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566   (exit $ac_status); }; }; then
27567   glibcxx_cv_func_powf_use=yes
27568 else
27569   echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27571
27572 glibcxx_cv_func_powf_use=no
27573 fi
27574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27575       ac_ext=c
27576 ac_cpp='$CPP $CPPFLAGS'
27577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27580
27581
27582 fi
27583
27584   fi
27585   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27586 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27587
27588   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27589
27590 for ac_func in powf
27591 do
27592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27593 echo "$as_me:$LINENO: checking for $ac_func" >&5
27594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27595 if eval "test \"\${$as_ac_var+set}\" = set"; then
27596   echo $ECHO_N "(cached) $ECHO_C" >&6
27597 else
27598   if test x$gcc_no_link = xyes; then
27599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27601    { (exit 1); exit 1; }; }
27602 fi
27603 cat >conftest.$ac_ext <<_ACEOF
27604 /* confdefs.h.  */
27605 _ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h.  */
27609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27611 #define $ac_func innocuous_$ac_func
27612
27613 /* System header to define __stub macros and hopefully few prototypes,
27614     which can conflict with char $ac_func (); below.
27615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27616     <limits.h> exists even on freestanding compilers.  */
27617
27618 #ifdef __STDC__
27619 # include <limits.h>
27620 #else
27621 # include <assert.h>
27622 #endif
27623
27624 #undef $ac_func
27625
27626 /* Override any gcc2 internal prototype to avoid an error.  */
27627 #ifdef __cplusplus
27628 extern "C"
27629 {
27630 #endif
27631 /* We use char because int might match the return type of a gcc2
27632    builtin and then its argument prototype would still apply.  */
27633 char $ac_func ();
27634 /* The GNU C library defines this for functions which it implements
27635     to always fail with ENOSYS.  Some functions are actually named
27636     something starting with __ and the normal name is an alias.  */
27637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27638 choke me
27639 #else
27640 char (*f) () = $ac_func;
27641 #endif
27642 #ifdef __cplusplus
27643 }
27644 #endif
27645
27646 int
27647 main ()
27648 {
27649 return f != $ac_func;
27650   ;
27651   return 0;
27652 }
27653 _ACEOF
27654 rm -f conftest.$ac_objext conftest$ac_exeext
27655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27656   (eval $ac_link) 2>conftest.er1
27657   ac_status=$?
27658   grep -v '^ *+' conftest.er1 >conftest.err
27659   rm -f conftest.er1
27660   cat conftest.err >&5
27661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662   (exit $ac_status); } &&
27663          { ac_try='test -z "$ac_c_werror_flag"
27664                          || test ! -s conftest.err'
27665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666   (eval $ac_try) 2>&5
27667   ac_status=$?
27668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669   (exit $ac_status); }; } &&
27670          { ac_try='test -s conftest$ac_exeext'
27671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672   (eval $ac_try) 2>&5
27673   ac_status=$?
27674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675   (exit $ac_status); }; }; then
27676   eval "$as_ac_var=yes"
27677 else
27678   echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27680
27681 eval "$as_ac_var=no"
27682 fi
27683 rm -f conftest.err conftest.$ac_objext \
27684       conftest$ac_exeext conftest.$ac_ext
27685 fi
27686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27688 if test `eval echo '${'$as_ac_var'}'` = yes; then
27689   cat >>confdefs.h <<_ACEOF
27690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27691 _ACEOF
27692
27693 fi
27694 done
27695
27696   else
27697
27698   echo "$as_me:$LINENO: checking for _powf declaration" >&5
27699 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27700   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27701     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27702   echo $ECHO_N "(cached) $ECHO_C" >&6
27703 else
27704
27705
27706
27707       ac_ext=cc
27708 ac_cpp='$CXXCPP $CPPFLAGS'
27709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27712
27713       cat >conftest.$ac_ext <<_ACEOF
27714 /* confdefs.h.  */
27715 _ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h.  */
27719 #include <math.h>
27720 int
27721 main ()
27722 {
27723  _powf(0, 0);
27724   ;
27725   return 0;
27726 }
27727 _ACEOF
27728 rm -f conftest.$ac_objext
27729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27730   (eval $ac_compile) 2>conftest.er1
27731   ac_status=$?
27732   grep -v '^ *+' conftest.er1 >conftest.err
27733   rm -f conftest.er1
27734   cat conftest.err >&5
27735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736   (exit $ac_status); } &&
27737          { ac_try='test -z "$ac_cxx_werror_flag"
27738                          || test ! -s conftest.err'
27739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740   (eval $ac_try) 2>&5
27741   ac_status=$?
27742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743   (exit $ac_status); }; } &&
27744          { ac_try='test -s conftest.$ac_objext'
27745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746   (eval $ac_try) 2>&5
27747   ac_status=$?
27748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749   (exit $ac_status); }; }; then
27750   glibcxx_cv_func__powf_use=yes
27751 else
27752   echo "$as_me: failed program was:" >&5
27753 sed 's/^/| /' conftest.$ac_ext >&5
27754
27755 glibcxx_cv_func__powf_use=no
27756 fi
27757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27758       ac_ext=c
27759 ac_cpp='$CPP $CPPFLAGS'
27760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27763
27764
27765 fi
27766
27767   fi
27768   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27769 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27770
27771     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27772
27773 for ac_func in _powf
27774 do
27775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27776 echo "$as_me:$LINENO: checking for $ac_func" >&5
27777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27778 if eval "test \"\${$as_ac_var+set}\" = set"; then
27779   echo $ECHO_N "(cached) $ECHO_C" >&6
27780 else
27781   if test x$gcc_no_link = xyes; then
27782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27784    { (exit 1); exit 1; }; }
27785 fi
27786 cat >conftest.$ac_ext <<_ACEOF
27787 /* confdefs.h.  */
27788 _ACEOF
27789 cat confdefs.h >>conftest.$ac_ext
27790 cat >>conftest.$ac_ext <<_ACEOF
27791 /* end confdefs.h.  */
27792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27794 #define $ac_func innocuous_$ac_func
27795
27796 /* System header to define __stub macros and hopefully few prototypes,
27797     which can conflict with char $ac_func (); below.
27798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27799     <limits.h> exists even on freestanding compilers.  */
27800
27801 #ifdef __STDC__
27802 # include <limits.h>
27803 #else
27804 # include <assert.h>
27805 #endif
27806
27807 #undef $ac_func
27808
27809 /* Override any gcc2 internal prototype to avoid an error.  */
27810 #ifdef __cplusplus
27811 extern "C"
27812 {
27813 #endif
27814 /* We use char because int might match the return type of a gcc2
27815    builtin and then its argument prototype would still apply.  */
27816 char $ac_func ();
27817 /* The GNU C library defines this for functions which it implements
27818     to always fail with ENOSYS.  Some functions are actually named
27819     something starting with __ and the normal name is an alias.  */
27820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27821 choke me
27822 #else
27823 char (*f) () = $ac_func;
27824 #endif
27825 #ifdef __cplusplus
27826 }
27827 #endif
27828
27829 int
27830 main ()
27831 {
27832 return f != $ac_func;
27833   ;
27834   return 0;
27835 }
27836 _ACEOF
27837 rm -f conftest.$ac_objext conftest$ac_exeext
27838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27839   (eval $ac_link) 2>conftest.er1
27840   ac_status=$?
27841   grep -v '^ *+' conftest.er1 >conftest.err
27842   rm -f conftest.er1
27843   cat conftest.err >&5
27844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845   (exit $ac_status); } &&
27846          { ac_try='test -z "$ac_c_werror_flag"
27847                          || test ! -s conftest.err'
27848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849   (eval $ac_try) 2>&5
27850   ac_status=$?
27851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852   (exit $ac_status); }; } &&
27853          { ac_try='test -s conftest$ac_exeext'
27854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855   (eval $ac_try) 2>&5
27856   ac_status=$?
27857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858   (exit $ac_status); }; }; then
27859   eval "$as_ac_var=yes"
27860 else
27861   echo "$as_me: failed program was:" >&5
27862 sed 's/^/| /' conftest.$ac_ext >&5
27863
27864 eval "$as_ac_var=no"
27865 fi
27866 rm -f conftest.err conftest.$ac_objext \
27867       conftest$ac_exeext conftest.$ac_ext
27868 fi
27869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27871 if test `eval echo '${'$as_ac_var'}'` = yes; then
27872   cat >>confdefs.h <<_ACEOF
27873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27874 _ACEOF
27875
27876 fi
27877 done
27878
27879     fi
27880   fi
27881
27882
27883
27884
27885
27886
27887   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27888 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27889   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27890     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27891   echo $ECHO_N "(cached) $ECHO_C" >&6
27892 else
27893
27894
27895
27896       ac_ext=cc
27897 ac_cpp='$CXXCPP $CPPFLAGS'
27898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27901
27902       cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h.  */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h.  */
27908 #include <math.h>
27909                       #ifdef HAVE_IEEEFP_H
27910                       #include <ieeefp.h>
27911                       #endif
27912
27913 int
27914 main ()
27915 {
27916  sqrtf(0);
27917   ;
27918   return 0;
27919 }
27920 _ACEOF
27921 rm -f conftest.$ac_objext
27922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27923   (eval $ac_compile) 2>conftest.er1
27924   ac_status=$?
27925   grep -v '^ *+' conftest.er1 >conftest.err
27926   rm -f conftest.er1
27927   cat conftest.err >&5
27928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27929   (exit $ac_status); } &&
27930          { ac_try='test -z "$ac_cxx_werror_flag"
27931                          || test ! -s conftest.err'
27932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933   (eval $ac_try) 2>&5
27934   ac_status=$?
27935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936   (exit $ac_status); }; } &&
27937          { ac_try='test -s conftest.$ac_objext'
27938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939   (eval $ac_try) 2>&5
27940   ac_status=$?
27941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942   (exit $ac_status); }; }; then
27943   glibcxx_cv_func_sqrtf_use=yes
27944 else
27945   echo "$as_me: failed program was:" >&5
27946 sed 's/^/| /' conftest.$ac_ext >&5
27947
27948 glibcxx_cv_func_sqrtf_use=no
27949 fi
27950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27951       ac_ext=c
27952 ac_cpp='$CPP $CPPFLAGS'
27953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956
27957
27958 fi
27959
27960   fi
27961   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27962 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27963
27964   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27965
27966 for ac_func in sqrtf
27967 do
27968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27969 echo "$as_me:$LINENO: checking for $ac_func" >&5
27970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27971 if eval "test \"\${$as_ac_var+set}\" = set"; then
27972   echo $ECHO_N "(cached) $ECHO_C" >&6
27973 else
27974   if test x$gcc_no_link = xyes; then
27975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27977    { (exit 1); exit 1; }; }
27978 fi
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h.  */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h.  */
27985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27987 #define $ac_func innocuous_$ac_func
27988
27989 /* System header to define __stub macros and hopefully few prototypes,
27990     which can conflict with char $ac_func (); below.
27991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27992     <limits.h> exists even on freestanding compilers.  */
27993
27994 #ifdef __STDC__
27995 # include <limits.h>
27996 #else
27997 # include <assert.h>
27998 #endif
27999
28000 #undef $ac_func
28001
28002 /* Override any gcc2 internal prototype to avoid an error.  */
28003 #ifdef __cplusplus
28004 extern "C"
28005 {
28006 #endif
28007 /* We use char because int might match the return type of a gcc2
28008    builtin and then its argument prototype would still apply.  */
28009 char $ac_func ();
28010 /* The GNU C library defines this for functions which it implements
28011     to always fail with ENOSYS.  Some functions are actually named
28012     something starting with __ and the normal name is an alias.  */
28013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28014 choke me
28015 #else
28016 char (*f) () = $ac_func;
28017 #endif
28018 #ifdef __cplusplus
28019 }
28020 #endif
28021
28022 int
28023 main ()
28024 {
28025 return f != $ac_func;
28026   ;
28027   return 0;
28028 }
28029 _ACEOF
28030 rm -f conftest.$ac_objext conftest$ac_exeext
28031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28032   (eval $ac_link) 2>conftest.er1
28033   ac_status=$?
28034   grep -v '^ *+' conftest.er1 >conftest.err
28035   rm -f conftest.er1
28036   cat conftest.err >&5
28037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038   (exit $ac_status); } &&
28039          { ac_try='test -z "$ac_c_werror_flag"
28040                          || test ! -s conftest.err'
28041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28042   (eval $ac_try) 2>&5
28043   ac_status=$?
28044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045   (exit $ac_status); }; } &&
28046          { ac_try='test -s conftest$ac_exeext'
28047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048   (eval $ac_try) 2>&5
28049   ac_status=$?
28050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051   (exit $ac_status); }; }; then
28052   eval "$as_ac_var=yes"
28053 else
28054   echo "$as_me: failed program was:" >&5
28055 sed 's/^/| /' conftest.$ac_ext >&5
28056
28057 eval "$as_ac_var=no"
28058 fi
28059 rm -f conftest.err conftest.$ac_objext \
28060       conftest$ac_exeext conftest.$ac_ext
28061 fi
28062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28064 if test `eval echo '${'$as_ac_var'}'` = yes; then
28065   cat >>confdefs.h <<_ACEOF
28066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28067 _ACEOF
28068
28069 fi
28070 done
28071
28072   else
28073
28074   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28075 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28076   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28077     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28078   echo $ECHO_N "(cached) $ECHO_C" >&6
28079 else
28080
28081
28082
28083       ac_ext=cc
28084 ac_cpp='$CXXCPP $CPPFLAGS'
28085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28088
28089       cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h.  */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h.  */
28095 #include <math.h>
28096                       #ifdef HAVE_IEEEFP_H
28097                       #include <ieeefp.h>
28098                       #endif
28099
28100 int
28101 main ()
28102 {
28103  _sqrtf(0);
28104   ;
28105   return 0;
28106 }
28107 _ACEOF
28108 rm -f conftest.$ac_objext
28109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28110   (eval $ac_compile) 2>conftest.er1
28111   ac_status=$?
28112   grep -v '^ *+' conftest.er1 >conftest.err
28113   rm -f conftest.er1
28114   cat conftest.err >&5
28115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116   (exit $ac_status); } &&
28117          { ac_try='test -z "$ac_cxx_werror_flag"
28118                          || test ! -s conftest.err'
28119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120   (eval $ac_try) 2>&5
28121   ac_status=$?
28122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123   (exit $ac_status); }; } &&
28124          { ac_try='test -s conftest.$ac_objext'
28125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126   (eval $ac_try) 2>&5
28127   ac_status=$?
28128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129   (exit $ac_status); }; }; then
28130   glibcxx_cv_func__sqrtf_use=yes
28131 else
28132   echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28134
28135 glibcxx_cv_func__sqrtf_use=no
28136 fi
28137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28138       ac_ext=c
28139 ac_cpp='$CPP $CPPFLAGS'
28140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28143
28144
28145 fi
28146
28147   fi
28148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28149 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28150
28151     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28152
28153 for ac_func in _sqrtf
28154 do
28155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156 echo "$as_me:$LINENO: checking for $ac_func" >&5
28157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158 if eval "test \"\${$as_ac_var+set}\" = set"; then
28159   echo $ECHO_N "(cached) $ECHO_C" >&6
28160 else
28161   if test x$gcc_no_link = xyes; then
28162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164    { (exit 1); exit 1; }; }
28165 fi
28166 cat >conftest.$ac_ext <<_ACEOF
28167 /* confdefs.h.  */
28168 _ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h.  */
28172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28174 #define $ac_func innocuous_$ac_func
28175
28176 /* System header to define __stub macros and hopefully few prototypes,
28177     which can conflict with char $ac_func (); below.
28178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28179     <limits.h> exists even on freestanding compilers.  */
28180
28181 #ifdef __STDC__
28182 # include <limits.h>
28183 #else
28184 # include <assert.h>
28185 #endif
28186
28187 #undef $ac_func
28188
28189 /* Override any gcc2 internal prototype to avoid an error.  */
28190 #ifdef __cplusplus
28191 extern "C"
28192 {
28193 #endif
28194 /* We use char because int might match the return type of a gcc2
28195    builtin and then its argument prototype would still apply.  */
28196 char $ac_func ();
28197 /* The GNU C library defines this for functions which it implements
28198     to always fail with ENOSYS.  Some functions are actually named
28199     something starting with __ and the normal name is an alias.  */
28200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28201 choke me
28202 #else
28203 char (*f) () = $ac_func;
28204 #endif
28205 #ifdef __cplusplus
28206 }
28207 #endif
28208
28209 int
28210 main ()
28211 {
28212 return f != $ac_func;
28213   ;
28214   return 0;
28215 }
28216 _ACEOF
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28219   (eval $ac_link) 2>conftest.er1
28220   ac_status=$?
28221   grep -v '^ *+' conftest.er1 >conftest.err
28222   rm -f conftest.er1
28223   cat conftest.err >&5
28224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225   (exit $ac_status); } &&
28226          { ac_try='test -z "$ac_c_werror_flag"
28227                          || test ! -s conftest.err'
28228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229   (eval $ac_try) 2>&5
28230   ac_status=$?
28231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232   (exit $ac_status); }; } &&
28233          { ac_try='test -s conftest$ac_exeext'
28234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235   (eval $ac_try) 2>&5
28236   ac_status=$?
28237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238   (exit $ac_status); }; }; then
28239   eval "$as_ac_var=yes"
28240 else
28241   echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 eval "$as_ac_var=no"
28245 fi
28246 rm -f conftest.err conftest.$ac_objext \
28247       conftest$ac_exeext conftest.$ac_ext
28248 fi
28249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28251 if test `eval echo '${'$as_ac_var'}'` = yes; then
28252   cat >>confdefs.h <<_ACEOF
28253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28254 _ACEOF
28255
28256 fi
28257 done
28258
28259     fi
28260   fi
28261
28262
28263
28264
28265
28266
28267   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28268 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28269   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28270     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28271   echo $ECHO_N "(cached) $ECHO_C" >&6
28272 else
28273
28274
28275
28276       ac_ext=cc
28277 ac_cpp='$CXXCPP $CPPFLAGS'
28278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28281
28282       cat >conftest.$ac_ext <<_ACEOF
28283 /* confdefs.h.  */
28284 _ACEOF
28285 cat confdefs.h >>conftest.$ac_ext
28286 cat >>conftest.$ac_ext <<_ACEOF
28287 /* end confdefs.h.  */
28288 #include <math.h>
28289 int
28290 main ()
28291 {
28292  sincosf(0, 0, 0);
28293   ;
28294   return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299   (eval $ac_compile) 2>conftest.er1
28300   ac_status=$?
28301   grep -v '^ *+' conftest.er1 >conftest.err
28302   rm -f conftest.er1
28303   cat conftest.err >&5
28304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305   (exit $ac_status); } &&
28306          { ac_try='test -z "$ac_cxx_werror_flag"
28307                          || test ! -s conftest.err'
28308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309   (eval $ac_try) 2>&5
28310   ac_status=$?
28311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312   (exit $ac_status); }; } &&
28313          { ac_try='test -s conftest.$ac_objext'
28314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315   (eval $ac_try) 2>&5
28316   ac_status=$?
28317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318   (exit $ac_status); }; }; then
28319   glibcxx_cv_func_sincosf_use=yes
28320 else
28321   echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28323
28324 glibcxx_cv_func_sincosf_use=no
28325 fi
28326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28327       ac_ext=c
28328 ac_cpp='$CPP $CPPFLAGS'
28329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28332
28333
28334 fi
28335
28336   fi
28337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28338 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28339
28340   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28341
28342 for ac_func in sincosf
28343 do
28344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28345 echo "$as_me:$LINENO: checking for $ac_func" >&5
28346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28347 if eval "test \"\${$as_ac_var+set}\" = set"; then
28348   echo $ECHO_N "(cached) $ECHO_C" >&6
28349 else
28350   if test x$gcc_no_link = xyes; then
28351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28353    { (exit 1); exit 1; }; }
28354 fi
28355 cat >conftest.$ac_ext <<_ACEOF
28356 /* confdefs.h.  */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h.  */
28361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28363 #define $ac_func innocuous_$ac_func
28364
28365 /* System header to define __stub macros and hopefully few prototypes,
28366     which can conflict with char $ac_func (); below.
28367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368     <limits.h> exists even on freestanding compilers.  */
28369
28370 #ifdef __STDC__
28371 # include <limits.h>
28372 #else
28373 # include <assert.h>
28374 #endif
28375
28376 #undef $ac_func
28377
28378 /* Override any gcc2 internal prototype to avoid an error.  */
28379 #ifdef __cplusplus
28380 extern "C"
28381 {
28382 #endif
28383 /* We use char because int might match the return type of a gcc2
28384    builtin and then its argument prototype would still apply.  */
28385 char $ac_func ();
28386 /* The GNU C library defines this for functions which it implements
28387     to always fail with ENOSYS.  Some functions are actually named
28388     something starting with __ and the normal name is an alias.  */
28389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28390 choke me
28391 #else
28392 char (*f) () = $ac_func;
28393 #endif
28394 #ifdef __cplusplus
28395 }
28396 #endif
28397
28398 int
28399 main ()
28400 {
28401 return f != $ac_func;
28402   ;
28403   return 0;
28404 }
28405 _ACEOF
28406 rm -f conftest.$ac_objext conftest$ac_exeext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28408   (eval $ac_link) 2>conftest.er1
28409   ac_status=$?
28410   grep -v '^ *+' conftest.er1 >conftest.err
28411   rm -f conftest.er1
28412   cat conftest.err >&5
28413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414   (exit $ac_status); } &&
28415          { ac_try='test -z "$ac_c_werror_flag"
28416                          || test ! -s conftest.err'
28417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418   (eval $ac_try) 2>&5
28419   ac_status=$?
28420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421   (exit $ac_status); }; } &&
28422          { ac_try='test -s conftest$ac_exeext'
28423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424   (eval $ac_try) 2>&5
28425   ac_status=$?
28426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427   (exit $ac_status); }; }; then
28428   eval "$as_ac_var=yes"
28429 else
28430   echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28432
28433 eval "$as_ac_var=no"
28434 fi
28435 rm -f conftest.err conftest.$ac_objext \
28436       conftest$ac_exeext conftest.$ac_ext
28437 fi
28438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28440 if test `eval echo '${'$as_ac_var'}'` = yes; then
28441   cat >>confdefs.h <<_ACEOF
28442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448   else
28449
28450   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28451 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28452   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28453     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28454   echo $ECHO_N "(cached) $ECHO_C" >&6
28455 else
28456
28457
28458
28459       ac_ext=cc
28460 ac_cpp='$CXXCPP $CPPFLAGS'
28461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28464
28465       cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h.  */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h.  */
28471 #include <math.h>
28472 int
28473 main ()
28474 {
28475  _sincosf(0, 0, 0);
28476   ;
28477   return 0;
28478 }
28479 _ACEOF
28480 rm -f conftest.$ac_objext
28481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28482   (eval $ac_compile) 2>conftest.er1
28483   ac_status=$?
28484   grep -v '^ *+' conftest.er1 >conftest.err
28485   rm -f conftest.er1
28486   cat conftest.err >&5
28487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488   (exit $ac_status); } &&
28489          { ac_try='test -z "$ac_cxx_werror_flag"
28490                          || test ! -s conftest.err'
28491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492   (eval $ac_try) 2>&5
28493   ac_status=$?
28494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495   (exit $ac_status); }; } &&
28496          { ac_try='test -s conftest.$ac_objext'
28497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498   (eval $ac_try) 2>&5
28499   ac_status=$?
28500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501   (exit $ac_status); }; }; then
28502   glibcxx_cv_func__sincosf_use=yes
28503 else
28504   echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507 glibcxx_cv_func__sincosf_use=no
28508 fi
28509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28510       ac_ext=c
28511 ac_cpp='$CPP $CPPFLAGS'
28512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28515
28516
28517 fi
28518
28519   fi
28520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28521 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28522
28523     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28524
28525 for ac_func in _sincosf
28526 do
28527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28528 echo "$as_me:$LINENO: checking for $ac_func" >&5
28529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28530 if eval "test \"\${$as_ac_var+set}\" = set"; then
28531   echo $ECHO_N "(cached) $ECHO_C" >&6
28532 else
28533   if test x$gcc_no_link = xyes; then
28534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28536    { (exit 1); exit 1; }; }
28537 fi
28538 cat >conftest.$ac_ext <<_ACEOF
28539 /* confdefs.h.  */
28540 _ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h.  */
28544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28546 #define $ac_func innocuous_$ac_func
28547
28548 /* System header to define __stub macros and hopefully few prototypes,
28549     which can conflict with char $ac_func (); below.
28550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28551     <limits.h> exists even on freestanding compilers.  */
28552
28553 #ifdef __STDC__
28554 # include <limits.h>
28555 #else
28556 # include <assert.h>
28557 #endif
28558
28559 #undef $ac_func
28560
28561 /* Override any gcc2 internal prototype to avoid an error.  */
28562 #ifdef __cplusplus
28563 extern "C"
28564 {
28565 #endif
28566 /* We use char because int might match the return type of a gcc2
28567    builtin and then its argument prototype would still apply.  */
28568 char $ac_func ();
28569 /* The GNU C library defines this for functions which it implements
28570     to always fail with ENOSYS.  Some functions are actually named
28571     something starting with __ and the normal name is an alias.  */
28572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28573 choke me
28574 #else
28575 char (*f) () = $ac_func;
28576 #endif
28577 #ifdef __cplusplus
28578 }
28579 #endif
28580
28581 int
28582 main ()
28583 {
28584 return f != $ac_func;
28585   ;
28586   return 0;
28587 }
28588 _ACEOF
28589 rm -f conftest.$ac_objext conftest$ac_exeext
28590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28591   (eval $ac_link) 2>conftest.er1
28592   ac_status=$?
28593   grep -v '^ *+' conftest.er1 >conftest.err
28594   rm -f conftest.er1
28595   cat conftest.err >&5
28596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597   (exit $ac_status); } &&
28598          { ac_try='test -z "$ac_c_werror_flag"
28599                          || test ! -s conftest.err'
28600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601   (eval $ac_try) 2>&5
28602   ac_status=$?
28603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604   (exit $ac_status); }; } &&
28605          { ac_try='test -s conftest$ac_exeext'
28606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607   (eval $ac_try) 2>&5
28608   ac_status=$?
28609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610   (exit $ac_status); }; }; then
28611   eval "$as_ac_var=yes"
28612 else
28613   echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 eval "$as_ac_var=no"
28617 fi
28618 rm -f conftest.err conftest.$ac_objext \
28619       conftest$ac_exeext conftest.$ac_ext
28620 fi
28621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28623 if test `eval echo '${'$as_ac_var'}'` = yes; then
28624   cat >>confdefs.h <<_ACEOF
28625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28626 _ACEOF
28627
28628 fi
28629 done
28630
28631     fi
28632   fi
28633
28634
28635
28636
28637
28638
28639   echo "$as_me:$LINENO: checking for finitef declaration" >&5
28640 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28641   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28642     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28643   echo $ECHO_N "(cached) $ECHO_C" >&6
28644 else
28645
28646
28647
28648       ac_ext=cc
28649 ac_cpp='$CXXCPP $CPPFLAGS'
28650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28653
28654       cat >conftest.$ac_ext <<_ACEOF
28655 /* confdefs.h.  */
28656 _ACEOF
28657 cat confdefs.h >>conftest.$ac_ext
28658 cat >>conftest.$ac_ext <<_ACEOF
28659 /* end confdefs.h.  */
28660 #include <math.h>
28661                       #ifdef HAVE_IEEEFP_H
28662                       #include <ieeefp.h>
28663                       #endif
28664
28665 int
28666 main ()
28667 {
28668  finitef(0);
28669   ;
28670   return 0;
28671 }
28672 _ACEOF
28673 rm -f conftest.$ac_objext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675   (eval $ac_compile) 2>conftest.er1
28676   ac_status=$?
28677   grep -v '^ *+' conftest.er1 >conftest.err
28678   rm -f conftest.er1
28679   cat conftest.err >&5
28680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681   (exit $ac_status); } &&
28682          { ac_try='test -z "$ac_cxx_werror_flag"
28683                          || test ! -s conftest.err'
28684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685   (eval $ac_try) 2>&5
28686   ac_status=$?
28687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688   (exit $ac_status); }; } &&
28689          { ac_try='test -s conftest.$ac_objext'
28690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691   (eval $ac_try) 2>&5
28692   ac_status=$?
28693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694   (exit $ac_status); }; }; then
28695   glibcxx_cv_func_finitef_use=yes
28696 else
28697   echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.$ac_ext >&5
28699
28700 glibcxx_cv_func_finitef_use=no
28701 fi
28702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28703       ac_ext=c
28704 ac_cpp='$CPP $CPPFLAGS'
28705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28708
28709
28710 fi
28711
28712   fi
28713   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28714 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28715
28716   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28717
28718 for ac_func in finitef
28719 do
28720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28721 echo "$as_me:$LINENO: checking for $ac_func" >&5
28722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28723 if eval "test \"\${$as_ac_var+set}\" = set"; then
28724   echo $ECHO_N "(cached) $ECHO_C" >&6
28725 else
28726   if test x$gcc_no_link = xyes; then
28727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28729    { (exit 1); exit 1; }; }
28730 fi
28731 cat >conftest.$ac_ext <<_ACEOF
28732 /* confdefs.h.  */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h.  */
28737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28739 #define $ac_func innocuous_$ac_func
28740
28741 /* System header to define __stub macros and hopefully few prototypes,
28742     which can conflict with char $ac_func (); below.
28743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28744     <limits.h> exists even on freestanding compilers.  */
28745
28746 #ifdef __STDC__
28747 # include <limits.h>
28748 #else
28749 # include <assert.h>
28750 #endif
28751
28752 #undef $ac_func
28753
28754 /* Override any gcc2 internal prototype to avoid an error.  */
28755 #ifdef __cplusplus
28756 extern "C"
28757 {
28758 #endif
28759 /* We use char because int might match the return type of a gcc2
28760    builtin and then its argument prototype would still apply.  */
28761 char $ac_func ();
28762 /* The GNU C library defines this for functions which it implements
28763     to always fail with ENOSYS.  Some functions are actually named
28764     something starting with __ and the normal name is an alias.  */
28765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28766 choke me
28767 #else
28768 char (*f) () = $ac_func;
28769 #endif
28770 #ifdef __cplusplus
28771 }
28772 #endif
28773
28774 int
28775 main ()
28776 {
28777 return f != $ac_func;
28778   ;
28779   return 0;
28780 }
28781 _ACEOF
28782 rm -f conftest.$ac_objext conftest$ac_exeext
28783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28784   (eval $ac_link) 2>conftest.er1
28785   ac_status=$?
28786   grep -v '^ *+' conftest.er1 >conftest.err
28787   rm -f conftest.er1
28788   cat conftest.err >&5
28789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28790   (exit $ac_status); } &&
28791          { ac_try='test -z "$ac_c_werror_flag"
28792                          || test ! -s conftest.err'
28793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794   (eval $ac_try) 2>&5
28795   ac_status=$?
28796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797   (exit $ac_status); }; } &&
28798          { ac_try='test -s conftest$ac_exeext'
28799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800   (eval $ac_try) 2>&5
28801   ac_status=$?
28802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803   (exit $ac_status); }; }; then
28804   eval "$as_ac_var=yes"
28805 else
28806   echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.$ac_ext >&5
28808
28809 eval "$as_ac_var=no"
28810 fi
28811 rm -f conftest.err conftest.$ac_objext \
28812       conftest$ac_exeext conftest.$ac_ext
28813 fi
28814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28816 if test `eval echo '${'$as_ac_var'}'` = yes; then
28817   cat >>confdefs.h <<_ACEOF
28818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28819 _ACEOF
28820
28821 fi
28822 done
28823
28824   else
28825
28826   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28827 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28828   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28829     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28830   echo $ECHO_N "(cached) $ECHO_C" >&6
28831 else
28832
28833
28834
28835       ac_ext=cc
28836 ac_cpp='$CXXCPP $CPPFLAGS'
28837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28840
28841       cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h.  */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h.  */
28847 #include <math.h>
28848                       #ifdef HAVE_IEEEFP_H
28849                       #include <ieeefp.h>
28850                       #endif
28851
28852 int
28853 main ()
28854 {
28855  _finitef(0);
28856   ;
28857   return 0;
28858 }
28859 _ACEOF
28860 rm -f conftest.$ac_objext
28861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28862   (eval $ac_compile) 2>conftest.er1
28863   ac_status=$?
28864   grep -v '^ *+' conftest.er1 >conftest.err
28865   rm -f conftest.er1
28866   cat conftest.err >&5
28867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868   (exit $ac_status); } &&
28869          { ac_try='test -z "$ac_cxx_werror_flag"
28870                          || test ! -s conftest.err'
28871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872   (eval $ac_try) 2>&5
28873   ac_status=$?
28874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875   (exit $ac_status); }; } &&
28876          { ac_try='test -s conftest.$ac_objext'
28877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28878   (eval $ac_try) 2>&5
28879   ac_status=$?
28880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881   (exit $ac_status); }; }; then
28882   glibcxx_cv_func__finitef_use=yes
28883 else
28884   echo "$as_me: failed program was:" >&5
28885 sed 's/^/| /' conftest.$ac_ext >&5
28886
28887 glibcxx_cv_func__finitef_use=no
28888 fi
28889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28890       ac_ext=c
28891 ac_cpp='$CPP $CPPFLAGS'
28892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28895
28896
28897 fi
28898
28899   fi
28900   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28901 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28902
28903     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28904
28905 for ac_func in _finitef
28906 do
28907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28908 echo "$as_me:$LINENO: checking for $ac_func" >&5
28909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28910 if eval "test \"\${$as_ac_var+set}\" = set"; then
28911   echo $ECHO_N "(cached) $ECHO_C" >&6
28912 else
28913   if test x$gcc_no_link = xyes; then
28914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28916    { (exit 1); exit 1; }; }
28917 fi
28918 cat >conftest.$ac_ext <<_ACEOF
28919 /* confdefs.h.  */
28920 _ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h.  */
28924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28926 #define $ac_func innocuous_$ac_func
28927
28928 /* System header to define __stub macros and hopefully few prototypes,
28929     which can conflict with char $ac_func (); below.
28930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28931     <limits.h> exists even on freestanding compilers.  */
28932
28933 #ifdef __STDC__
28934 # include <limits.h>
28935 #else
28936 # include <assert.h>
28937 #endif
28938
28939 #undef $ac_func
28940
28941 /* Override any gcc2 internal prototype to avoid an error.  */
28942 #ifdef __cplusplus
28943 extern "C"
28944 {
28945 #endif
28946 /* We use char because int might match the return type of a gcc2
28947    builtin and then its argument prototype would still apply.  */
28948 char $ac_func ();
28949 /* The GNU C library defines this for functions which it implements
28950     to always fail with ENOSYS.  Some functions are actually named
28951     something starting with __ and the normal name is an alias.  */
28952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28953 choke me
28954 #else
28955 char (*f) () = $ac_func;
28956 #endif
28957 #ifdef __cplusplus
28958 }
28959 #endif
28960
28961 int
28962 main ()
28963 {
28964 return f != $ac_func;
28965   ;
28966   return 0;
28967 }
28968 _ACEOF
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28971   (eval $ac_link) 2>conftest.er1
28972   ac_status=$?
28973   grep -v '^ *+' conftest.er1 >conftest.err
28974   rm -f conftest.er1
28975   cat conftest.err >&5
28976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977   (exit $ac_status); } &&
28978          { ac_try='test -z "$ac_c_werror_flag"
28979                          || test ! -s conftest.err'
28980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981   (eval $ac_try) 2>&5
28982   ac_status=$?
28983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984   (exit $ac_status); }; } &&
28985          { ac_try='test -s conftest$ac_exeext'
28986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987   (eval $ac_try) 2>&5
28988   ac_status=$?
28989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990   (exit $ac_status); }; }; then
28991   eval "$as_ac_var=yes"
28992 else
28993   echo "$as_me: failed program was:" >&5
28994 sed 's/^/| /' conftest.$ac_ext >&5
28995
28996 eval "$as_ac_var=no"
28997 fi
28998 rm -f conftest.err conftest.$ac_objext \
28999       conftest$ac_exeext conftest.$ac_ext
29000 fi
29001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29003 if test `eval echo '${'$as_ac_var'}'` = yes; then
29004   cat >>confdefs.h <<_ACEOF
29005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29006 _ACEOF
29007
29008 fi
29009 done
29010
29011     fi
29012   fi
29013
29014
29015
29016
29017
29018
29019     echo "$as_me:$LINENO: checking for long double trig functions" >&5
29020 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
29021   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
29022   echo $ECHO_N "(cached) $ECHO_C" >&6
29023 else
29024
29025
29026
29027     ac_ext=cc
29028 ac_cpp='$CXXCPP $CPPFLAGS'
29029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29032
29033     cat >conftest.$ac_ext <<_ACEOF
29034 /* confdefs.h.  */
29035 _ACEOF
29036 cat confdefs.h >>conftest.$ac_ext
29037 cat >>conftest.$ac_ext <<_ACEOF
29038 /* end confdefs.h.  */
29039 #include <math.h>
29040 int
29041 main ()
29042 {
29043 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29044   ;
29045   return 0;
29046 }
29047 _ACEOF
29048 rm -f conftest.$ac_objext
29049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29050   (eval $ac_compile) 2>conftest.er1
29051   ac_status=$?
29052   grep -v '^ *+' conftest.er1 >conftest.err
29053   rm -f conftest.er1
29054   cat conftest.err >&5
29055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056   (exit $ac_status); } &&
29057          { ac_try='test -z "$ac_cxx_werror_flag"
29058                          || test ! -s conftest.err'
29059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060   (eval $ac_try) 2>&5
29061   ac_status=$?
29062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063   (exit $ac_status); }; } &&
29064          { ac_try='test -s conftest.$ac_objext'
29065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066   (eval $ac_try) 2>&5
29067   ac_status=$?
29068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069   (exit $ac_status); }; }; then
29070   glibcxx_cv_func_long_double_trig_use=yes
29071 else
29072   echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.$ac_ext >&5
29074
29075 glibcxx_cv_func_long_double_trig_use=no
29076 fi
29077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29078     ac_ext=c
29079 ac_cpp='$CPP $CPPFLAGS'
29080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29083
29084 fi
29085
29086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29087 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29088   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29099 do
29100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29101 echo "$as_me:$LINENO: checking for $ac_func" >&5
29102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29103 if eval "test \"\${$as_ac_var+set}\" = set"; then
29104   echo $ECHO_N "(cached) $ECHO_C" >&6
29105 else
29106   if test x$gcc_no_link = xyes; then
29107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29109    { (exit 1); exit 1; }; }
29110 fi
29111 cat >conftest.$ac_ext <<_ACEOF
29112 /* confdefs.h.  */
29113 _ACEOF
29114 cat confdefs.h >>conftest.$ac_ext
29115 cat >>conftest.$ac_ext <<_ACEOF
29116 /* end confdefs.h.  */
29117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29119 #define $ac_func innocuous_$ac_func
29120
29121 /* System header to define __stub macros and hopefully few prototypes,
29122     which can conflict with char $ac_func (); below.
29123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29124     <limits.h> exists even on freestanding compilers.  */
29125
29126 #ifdef __STDC__
29127 # include <limits.h>
29128 #else
29129 # include <assert.h>
29130 #endif
29131
29132 #undef $ac_func
29133
29134 /* Override any gcc2 internal prototype to avoid an error.  */
29135 #ifdef __cplusplus
29136 extern "C"
29137 {
29138 #endif
29139 /* We use char because int might match the return type of a gcc2
29140    builtin and then its argument prototype would still apply.  */
29141 char $ac_func ();
29142 /* The GNU C library defines this for functions which it implements
29143     to always fail with ENOSYS.  Some functions are actually named
29144     something starting with __ and the normal name is an alias.  */
29145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29146 choke me
29147 #else
29148 char (*f) () = $ac_func;
29149 #endif
29150 #ifdef __cplusplus
29151 }
29152 #endif
29153
29154 int
29155 main ()
29156 {
29157 return f != $ac_func;
29158   ;
29159   return 0;
29160 }
29161 _ACEOF
29162 rm -f conftest.$ac_objext conftest$ac_exeext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29164   (eval $ac_link) 2>conftest.er1
29165   ac_status=$?
29166   grep -v '^ *+' conftest.er1 >conftest.err
29167   rm -f conftest.er1
29168   cat conftest.err >&5
29169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170   (exit $ac_status); } &&
29171          { ac_try='test -z "$ac_c_werror_flag"
29172                          || test ! -s conftest.err'
29173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29174   (eval $ac_try) 2>&5
29175   ac_status=$?
29176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177   (exit $ac_status); }; } &&
29178          { ac_try='test -s conftest$ac_exeext'
29179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29180   (eval $ac_try) 2>&5
29181   ac_status=$?
29182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183   (exit $ac_status); }; }; then
29184   eval "$as_ac_var=yes"
29185 else
29186   echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 eval "$as_ac_var=no"
29190 fi
29191 rm -f conftest.err conftest.$ac_objext \
29192       conftest$ac_exeext conftest.$ac_ext
29193 fi
29194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29196 if test `eval echo '${'$as_ac_var'}'` = yes; then
29197   cat >>confdefs.h <<_ACEOF
29198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29199 _ACEOF
29200
29201 fi
29202 done
29203
29204   else
29205     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29206 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29207     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29208   echo $ECHO_N "(cached) $ECHO_C" >&6
29209 else
29210
29211
29212
29213       ac_ext=cc
29214 ac_cpp='$CXXCPP $CPPFLAGS'
29215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29218
29219       cat >conftest.$ac_ext <<_ACEOF
29220 /* confdefs.h.  */
29221 _ACEOF
29222 cat confdefs.h >>conftest.$ac_ext
29223 cat >>conftest.$ac_ext <<_ACEOF
29224 /* end confdefs.h.  */
29225 #include <math.h>
29226 int
29227 main ()
29228 {
29229 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29230   ;
29231   return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29236   (eval $ac_compile) 2>conftest.er1
29237   ac_status=$?
29238   grep -v '^ *+' conftest.er1 >conftest.err
29239   rm -f conftest.er1
29240   cat conftest.err >&5
29241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242   (exit $ac_status); } &&
29243          { ac_try='test -z "$ac_cxx_werror_flag"
29244                          || test ! -s conftest.err'
29245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246   (eval $ac_try) 2>&5
29247   ac_status=$?
29248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249   (exit $ac_status); }; } &&
29250          { ac_try='test -s conftest.$ac_objext'
29251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252   (eval $ac_try) 2>&5
29253   ac_status=$?
29254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255   (exit $ac_status); }; }; then
29256   glibcxx_cv_func__long_double_trig_use=yes
29257 else
29258   echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29260
29261 glibcxx_cv_func__long_double_trig_use=no
29262 fi
29263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29264       ac_ext=c
29265 ac_cpp='$CPP $CPPFLAGS'
29266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269
29270 fi
29271
29272     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29273 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29274     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29285 do
29286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29287 echo "$as_me:$LINENO: checking for $ac_func" >&5
29288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29289 if eval "test \"\${$as_ac_var+set}\" = set"; then
29290   echo $ECHO_N "(cached) $ECHO_C" >&6
29291 else
29292   if test x$gcc_no_link = xyes; then
29293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29295    { (exit 1); exit 1; }; }
29296 fi
29297 cat >conftest.$ac_ext <<_ACEOF
29298 /* confdefs.h.  */
29299 _ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h.  */
29303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29305 #define $ac_func innocuous_$ac_func
29306
29307 /* System header to define __stub macros and hopefully few prototypes,
29308     which can conflict with char $ac_func (); below.
29309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29310     <limits.h> exists even on freestanding compilers.  */
29311
29312 #ifdef __STDC__
29313 # include <limits.h>
29314 #else
29315 # include <assert.h>
29316 #endif
29317
29318 #undef $ac_func
29319
29320 /* Override any gcc2 internal prototype to avoid an error.  */
29321 #ifdef __cplusplus
29322 extern "C"
29323 {
29324 #endif
29325 /* We use char because int might match the return type of a gcc2
29326    builtin and then its argument prototype would still apply.  */
29327 char $ac_func ();
29328 /* The GNU C library defines this for functions which it implements
29329     to always fail with ENOSYS.  Some functions are actually named
29330     something starting with __ and the normal name is an alias.  */
29331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29332 choke me
29333 #else
29334 char (*f) () = $ac_func;
29335 #endif
29336 #ifdef __cplusplus
29337 }
29338 #endif
29339
29340 int
29341 main ()
29342 {
29343 return f != $ac_func;
29344   ;
29345   return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29350   (eval $ac_link) 2>conftest.er1
29351   ac_status=$?
29352   grep -v '^ *+' conftest.er1 >conftest.err
29353   rm -f conftest.er1
29354   cat conftest.err >&5
29355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356   (exit $ac_status); } &&
29357          { ac_try='test -z "$ac_c_werror_flag"
29358                          || test ! -s conftest.err'
29359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360   (eval $ac_try) 2>&5
29361   ac_status=$?
29362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363   (exit $ac_status); }; } &&
29364          { ac_try='test -s conftest$ac_exeext'
29365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366   (eval $ac_try) 2>&5
29367   ac_status=$?
29368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369   (exit $ac_status); }; }; then
29370   eval "$as_ac_var=yes"
29371 else
29372   echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.$ac_ext >&5
29374
29375 eval "$as_ac_var=no"
29376 fi
29377 rm -f conftest.err conftest.$ac_objext \
29378       conftest$ac_exeext conftest.$ac_ext
29379 fi
29380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29382 if test `eval echo '${'$as_ac_var'}'` = yes; then
29383   cat >>confdefs.h <<_ACEOF
29384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29385 _ACEOF
29386
29387 fi
29388 done
29389
29390     fi
29391   fi
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406     echo "$as_me:$LINENO: checking for long double round functions" >&5
29407 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29408   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29409   echo $ECHO_N "(cached) $ECHO_C" >&6
29410 else
29411
29412
29413
29414     ac_ext=cc
29415 ac_cpp='$CXXCPP $CPPFLAGS'
29416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29419
29420     cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h.  */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h.  */
29426 #include <math.h>
29427 int
29428 main ()
29429 {
29430 ceill (0); floorl (0);
29431   ;
29432   return 0;
29433 }
29434 _ACEOF
29435 rm -f conftest.$ac_objext
29436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29437   (eval $ac_compile) 2>conftest.er1
29438   ac_status=$?
29439   grep -v '^ *+' conftest.er1 >conftest.err
29440   rm -f conftest.er1
29441   cat conftest.err >&5
29442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443   (exit $ac_status); } &&
29444          { ac_try='test -z "$ac_cxx_werror_flag"
29445                          || test ! -s conftest.err'
29446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29447   (eval $ac_try) 2>&5
29448   ac_status=$?
29449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450   (exit $ac_status); }; } &&
29451          { ac_try='test -s conftest.$ac_objext'
29452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29453   (eval $ac_try) 2>&5
29454   ac_status=$?
29455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456   (exit $ac_status); }; }; then
29457   glibcxx_cv_func_long_double_round_use=yes
29458 else
29459   echo "$as_me: failed program was:" >&5
29460 sed 's/^/| /' conftest.$ac_ext >&5
29461
29462 glibcxx_cv_func_long_double_round_use=no
29463 fi
29464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29465     ac_ext=c
29466 ac_cpp='$CPP $CPPFLAGS'
29467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29470
29471 fi
29472
29473   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29474 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29475   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29476
29477
29478 for ac_func in ceill floorl
29479 do
29480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29481 echo "$as_me:$LINENO: checking for $ac_func" >&5
29482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29483 if eval "test \"\${$as_ac_var+set}\" = set"; then
29484   echo $ECHO_N "(cached) $ECHO_C" >&6
29485 else
29486   if test x$gcc_no_link = xyes; then
29487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29489    { (exit 1); exit 1; }; }
29490 fi
29491 cat >conftest.$ac_ext <<_ACEOF
29492 /* confdefs.h.  */
29493 _ACEOF
29494 cat confdefs.h >>conftest.$ac_ext
29495 cat >>conftest.$ac_ext <<_ACEOF
29496 /* end confdefs.h.  */
29497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29499 #define $ac_func innocuous_$ac_func
29500
29501 /* System header to define __stub macros and hopefully few prototypes,
29502     which can conflict with char $ac_func (); below.
29503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29504     <limits.h> exists even on freestanding compilers.  */
29505
29506 #ifdef __STDC__
29507 # include <limits.h>
29508 #else
29509 # include <assert.h>
29510 #endif
29511
29512 #undef $ac_func
29513
29514 /* Override any gcc2 internal prototype to avoid an error.  */
29515 #ifdef __cplusplus
29516 extern "C"
29517 {
29518 #endif
29519 /* We use char because int might match the return type of a gcc2
29520    builtin and then its argument prototype would still apply.  */
29521 char $ac_func ();
29522 /* The GNU C library defines this for functions which it implements
29523     to always fail with ENOSYS.  Some functions are actually named
29524     something starting with __ and the normal name is an alias.  */
29525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29526 choke me
29527 #else
29528 char (*f) () = $ac_func;
29529 #endif
29530 #ifdef __cplusplus
29531 }
29532 #endif
29533
29534 int
29535 main ()
29536 {
29537 return f != $ac_func;
29538   ;
29539   return 0;
29540 }
29541 _ACEOF
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29544   (eval $ac_link) 2>conftest.er1
29545   ac_status=$?
29546   grep -v '^ *+' conftest.er1 >conftest.err
29547   rm -f conftest.er1
29548   cat conftest.err >&5
29549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550   (exit $ac_status); } &&
29551          { ac_try='test -z "$ac_c_werror_flag"
29552                          || test ! -s conftest.err'
29553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554   (eval $ac_try) 2>&5
29555   ac_status=$?
29556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557   (exit $ac_status); }; } &&
29558          { ac_try='test -s conftest$ac_exeext'
29559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560   (eval $ac_try) 2>&5
29561   ac_status=$?
29562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563   (exit $ac_status); }; }; then
29564   eval "$as_ac_var=yes"
29565 else
29566   echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29568
29569 eval "$as_ac_var=no"
29570 fi
29571 rm -f conftest.err conftest.$ac_objext \
29572       conftest$ac_exeext conftest.$ac_ext
29573 fi
29574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29576 if test `eval echo '${'$as_ac_var'}'` = yes; then
29577   cat >>confdefs.h <<_ACEOF
29578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29579 _ACEOF
29580
29581 fi
29582 done
29583
29584   else
29585     echo "$as_me:$LINENO: checking for _long double round functions" >&5
29586 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29587     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29588   echo $ECHO_N "(cached) $ECHO_C" >&6
29589 else
29590
29591
29592
29593       ac_ext=cc
29594 ac_cpp='$CXXCPP $CPPFLAGS'
29595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29598
29599       cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h.  */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h.  */
29605 #include <math.h>
29606 int
29607 main ()
29608 {
29609 _ceill (0); _floorl (0);
29610   ;
29611   return 0;
29612 }
29613 _ACEOF
29614 rm -f conftest.$ac_objext
29615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29616   (eval $ac_compile) 2>conftest.er1
29617   ac_status=$?
29618   grep -v '^ *+' conftest.er1 >conftest.err
29619   rm -f conftest.er1
29620   cat conftest.err >&5
29621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622   (exit $ac_status); } &&
29623          { ac_try='test -z "$ac_cxx_werror_flag"
29624                          || test ! -s conftest.err'
29625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626   (eval $ac_try) 2>&5
29627   ac_status=$?
29628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629   (exit $ac_status); }; } &&
29630          { ac_try='test -s conftest.$ac_objext'
29631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29632   (eval $ac_try) 2>&5
29633   ac_status=$?
29634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635   (exit $ac_status); }; }; then
29636   glibcxx_cv_func__long_double_round_use=yes
29637 else
29638   echo "$as_me: failed program was:" >&5
29639 sed 's/^/| /' conftest.$ac_ext >&5
29640
29641 glibcxx_cv_func__long_double_round_use=no
29642 fi
29643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29644       ac_ext=c
29645 ac_cpp='$CPP $CPPFLAGS'
29646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29649
29650 fi
29651
29652     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29653 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29654     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29655
29656
29657 for ac_func in _ceill _floorl
29658 do
29659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29660 echo "$as_me:$LINENO: checking for $ac_func" >&5
29661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29662 if eval "test \"\${$as_ac_var+set}\" = set"; then
29663   echo $ECHO_N "(cached) $ECHO_C" >&6
29664 else
29665   if test x$gcc_no_link = xyes; then
29666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29668    { (exit 1); exit 1; }; }
29669 fi
29670 cat >conftest.$ac_ext <<_ACEOF
29671 /* confdefs.h.  */
29672 _ACEOF
29673 cat confdefs.h >>conftest.$ac_ext
29674 cat >>conftest.$ac_ext <<_ACEOF
29675 /* end confdefs.h.  */
29676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29678 #define $ac_func innocuous_$ac_func
29679
29680 /* System header to define __stub macros and hopefully few prototypes,
29681     which can conflict with char $ac_func (); below.
29682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29683     <limits.h> exists even on freestanding compilers.  */
29684
29685 #ifdef __STDC__
29686 # include <limits.h>
29687 #else
29688 # include <assert.h>
29689 #endif
29690
29691 #undef $ac_func
29692
29693 /* Override any gcc2 internal prototype to avoid an error.  */
29694 #ifdef __cplusplus
29695 extern "C"
29696 {
29697 #endif
29698 /* We use char because int might match the return type of a gcc2
29699    builtin and then its argument prototype would still apply.  */
29700 char $ac_func ();
29701 /* The GNU C library defines this for functions which it implements
29702     to always fail with ENOSYS.  Some functions are actually named
29703     something starting with __ and the normal name is an alias.  */
29704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29705 choke me
29706 #else
29707 char (*f) () = $ac_func;
29708 #endif
29709 #ifdef __cplusplus
29710 }
29711 #endif
29712
29713 int
29714 main ()
29715 {
29716 return f != $ac_func;
29717   ;
29718   return 0;
29719 }
29720 _ACEOF
29721 rm -f conftest.$ac_objext conftest$ac_exeext
29722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29723   (eval $ac_link) 2>conftest.er1
29724   ac_status=$?
29725   grep -v '^ *+' conftest.er1 >conftest.err
29726   rm -f conftest.er1
29727   cat conftest.err >&5
29728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729   (exit $ac_status); } &&
29730          { ac_try='test -z "$ac_c_werror_flag"
29731                          || test ! -s conftest.err'
29732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29733   (eval $ac_try) 2>&5
29734   ac_status=$?
29735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736   (exit $ac_status); }; } &&
29737          { ac_try='test -s conftest$ac_exeext'
29738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739   (eval $ac_try) 2>&5
29740   ac_status=$?
29741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742   (exit $ac_status); }; }; then
29743   eval "$as_ac_var=yes"
29744 else
29745   echo "$as_me: failed program was:" >&5
29746 sed 's/^/| /' conftest.$ac_ext >&5
29747
29748 eval "$as_ac_var=no"
29749 fi
29750 rm -f conftest.err conftest.$ac_objext \
29751       conftest$ac_exeext conftest.$ac_ext
29752 fi
29753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29755 if test `eval echo '${'$as_ac_var'}'` = yes; then
29756   cat >>confdefs.h <<_ACEOF
29757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29758 _ACEOF
29759
29760 fi
29761 done
29762
29763     fi
29764   fi
29765
29766
29767
29768
29769
29770
29771
29772
29773   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29774 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29775   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29776     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29777   echo $ECHO_N "(cached) $ECHO_C" >&6
29778 else
29779
29780
29781
29782       ac_ext=cc
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29787
29788       cat >conftest.$ac_ext <<_ACEOF
29789 /* confdefs.h.  */
29790 _ACEOF
29791 cat confdefs.h >>conftest.$ac_ext
29792 cat >>conftest.$ac_ext <<_ACEOF
29793 /* end confdefs.h.  */
29794 #include <math.h>
29795                       #ifdef HAVE_IEEEFP_H
29796                       #include <ieeefp.h>
29797                       #endif
29798
29799 int
29800 main ()
29801 {
29802  isnanl(0);
29803   ;
29804   return 0;
29805 }
29806 _ACEOF
29807 rm -f conftest.$ac_objext
29808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29809   (eval $ac_compile) 2>conftest.er1
29810   ac_status=$?
29811   grep -v '^ *+' conftest.er1 >conftest.err
29812   rm -f conftest.er1
29813   cat conftest.err >&5
29814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815   (exit $ac_status); } &&
29816          { ac_try='test -z "$ac_cxx_werror_flag"
29817                          || test ! -s conftest.err'
29818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29819   (eval $ac_try) 2>&5
29820   ac_status=$?
29821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822   (exit $ac_status); }; } &&
29823          { ac_try='test -s conftest.$ac_objext'
29824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29825   (eval $ac_try) 2>&5
29826   ac_status=$?
29827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828   (exit $ac_status); }; }; then
29829   glibcxx_cv_func_isnanl_use=yes
29830 else
29831   echo "$as_me: failed program was:" >&5
29832 sed 's/^/| /' conftest.$ac_ext >&5
29833
29834 glibcxx_cv_func_isnanl_use=no
29835 fi
29836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29837       ac_ext=c
29838 ac_cpp='$CPP $CPPFLAGS'
29839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29842
29843
29844 fi
29845
29846   fi
29847   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29848 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29849
29850   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29851
29852 for ac_func in isnanl
29853 do
29854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29855 echo "$as_me:$LINENO: checking for $ac_func" >&5
29856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29857 if eval "test \"\${$as_ac_var+set}\" = set"; then
29858   echo $ECHO_N "(cached) $ECHO_C" >&6
29859 else
29860   if test x$gcc_no_link = xyes; then
29861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29863    { (exit 1); exit 1; }; }
29864 fi
29865 cat >conftest.$ac_ext <<_ACEOF
29866 /* confdefs.h.  */
29867 _ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h.  */
29871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29873 #define $ac_func innocuous_$ac_func
29874
29875 /* System header to define __stub macros and hopefully few prototypes,
29876     which can conflict with char $ac_func (); below.
29877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29878     <limits.h> exists even on freestanding compilers.  */
29879
29880 #ifdef __STDC__
29881 # include <limits.h>
29882 #else
29883 # include <assert.h>
29884 #endif
29885
29886 #undef $ac_func
29887
29888 /* Override any gcc2 internal prototype to avoid an error.  */
29889 #ifdef __cplusplus
29890 extern "C"
29891 {
29892 #endif
29893 /* We use char because int might match the return type of a gcc2
29894    builtin and then its argument prototype would still apply.  */
29895 char $ac_func ();
29896 /* The GNU C library defines this for functions which it implements
29897     to always fail with ENOSYS.  Some functions are actually named
29898     something starting with __ and the normal name is an alias.  */
29899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29900 choke me
29901 #else
29902 char (*f) () = $ac_func;
29903 #endif
29904 #ifdef __cplusplus
29905 }
29906 #endif
29907
29908 int
29909 main ()
29910 {
29911 return f != $ac_func;
29912   ;
29913   return 0;
29914 }
29915 _ACEOF
29916 rm -f conftest.$ac_objext conftest$ac_exeext
29917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29918   (eval $ac_link) 2>conftest.er1
29919   ac_status=$?
29920   grep -v '^ *+' conftest.er1 >conftest.err
29921   rm -f conftest.er1
29922   cat conftest.err >&5
29923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924   (exit $ac_status); } &&
29925          { ac_try='test -z "$ac_c_werror_flag"
29926                          || test ! -s conftest.err'
29927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928   (eval $ac_try) 2>&5
29929   ac_status=$?
29930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931   (exit $ac_status); }; } &&
29932          { ac_try='test -s conftest$ac_exeext'
29933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934   (eval $ac_try) 2>&5
29935   ac_status=$?
29936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937   (exit $ac_status); }; }; then
29938   eval "$as_ac_var=yes"
29939 else
29940   echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29942
29943 eval "$as_ac_var=no"
29944 fi
29945 rm -f conftest.err conftest.$ac_objext \
29946       conftest$ac_exeext conftest.$ac_ext
29947 fi
29948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951   cat >>confdefs.h <<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29953 _ACEOF
29954
29955 fi
29956 done
29957
29958   else
29959
29960   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29961 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29962   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29963     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29964   echo $ECHO_N "(cached) $ECHO_C" >&6
29965 else
29966
29967
29968
29969       ac_ext=cc
29970 ac_cpp='$CXXCPP $CPPFLAGS'
29971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29974
29975       cat >conftest.$ac_ext <<_ACEOF
29976 /* confdefs.h.  */
29977 _ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h.  */
29981 #include <math.h>
29982                       #ifdef HAVE_IEEEFP_H
29983                       #include <ieeefp.h>
29984                       #endif
29985
29986 int
29987 main ()
29988 {
29989  _isnanl(0);
29990   ;
29991   return 0;
29992 }
29993 _ACEOF
29994 rm -f conftest.$ac_objext
29995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996   (eval $ac_compile) 2>conftest.er1
29997   ac_status=$?
29998   grep -v '^ *+' conftest.er1 >conftest.err
29999   rm -f conftest.er1
30000   cat conftest.err >&5
30001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002   (exit $ac_status); } &&
30003          { ac_try='test -z "$ac_cxx_werror_flag"
30004                          || test ! -s conftest.err'
30005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006   (eval $ac_try) 2>&5
30007   ac_status=$?
30008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009   (exit $ac_status); }; } &&
30010          { ac_try='test -s conftest.$ac_objext'
30011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012   (eval $ac_try) 2>&5
30013   ac_status=$?
30014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015   (exit $ac_status); }; }; then
30016   glibcxx_cv_func__isnanl_use=yes
30017 else
30018   echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30020
30021 glibcxx_cv_func__isnanl_use=no
30022 fi
30023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30024       ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029
30030
30031 fi
30032
30033   fi
30034   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
30035 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
30036
30037     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30038
30039 for ac_func in _isnanl
30040 do
30041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30042 echo "$as_me:$LINENO: checking for $ac_func" >&5
30043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30044 if eval "test \"\${$as_ac_var+set}\" = set"; then
30045   echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047   if test x$gcc_no_link = xyes; then
30048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30050    { (exit 1); exit 1; }; }
30051 fi
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h.  */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h.  */
30058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30060 #define $ac_func innocuous_$ac_func
30061
30062 /* System header to define __stub macros and hopefully few prototypes,
30063     which can conflict with char $ac_func (); below.
30064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30065     <limits.h> exists even on freestanding compilers.  */
30066
30067 #ifdef __STDC__
30068 # include <limits.h>
30069 #else
30070 # include <assert.h>
30071 #endif
30072
30073 #undef $ac_func
30074
30075 /* Override any gcc2 internal prototype to avoid an error.  */
30076 #ifdef __cplusplus
30077 extern "C"
30078 {
30079 #endif
30080 /* We use char because int might match the return type of a gcc2
30081    builtin and then its argument prototype would still apply.  */
30082 char $ac_func ();
30083 /* The GNU C library defines this for functions which it implements
30084     to always fail with ENOSYS.  Some functions are actually named
30085     something starting with __ and the normal name is an alias.  */
30086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30087 choke me
30088 #else
30089 char (*f) () = $ac_func;
30090 #endif
30091 #ifdef __cplusplus
30092 }
30093 #endif
30094
30095 int
30096 main ()
30097 {
30098 return f != $ac_func;
30099   ;
30100   return 0;
30101 }
30102 _ACEOF
30103 rm -f conftest.$ac_objext conftest$ac_exeext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105   (eval $ac_link) 2>conftest.er1
30106   ac_status=$?
30107   grep -v '^ *+' conftest.er1 >conftest.err
30108   rm -f conftest.er1
30109   cat conftest.err >&5
30110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111   (exit $ac_status); } &&
30112          { ac_try='test -z "$ac_c_werror_flag"
30113                          || test ! -s conftest.err'
30114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115   (eval $ac_try) 2>&5
30116   ac_status=$?
30117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118   (exit $ac_status); }; } &&
30119          { ac_try='test -s conftest$ac_exeext'
30120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121   (eval $ac_try) 2>&5
30122   ac_status=$?
30123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124   (exit $ac_status); }; }; then
30125   eval "$as_ac_var=yes"
30126 else
30127   echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 eval "$as_ac_var=no"
30131 fi
30132 rm -f conftest.err conftest.$ac_objext \
30133       conftest$ac_exeext conftest.$ac_ext
30134 fi
30135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30137 if test `eval echo '${'$as_ac_var'}'` = yes; then
30138   cat >>confdefs.h <<_ACEOF
30139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30140 _ACEOF
30141
30142 fi
30143 done
30144
30145     fi
30146   fi
30147
30148
30149
30150
30151
30152
30153   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30154 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30155   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30156     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30157   echo $ECHO_N "(cached) $ECHO_C" >&6
30158 else
30159
30160
30161
30162       ac_ext=cc
30163 ac_cpp='$CXXCPP $CPPFLAGS'
30164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30167
30168       cat >conftest.$ac_ext <<_ACEOF
30169 /* confdefs.h.  */
30170 _ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h.  */
30174 #include <math.h>
30175                       #ifdef HAVE_IEEEFP_H
30176                       #include <ieeefp.h>
30177                       #endif
30178
30179 int
30180 main ()
30181 {
30182  isinfl(0);
30183   ;
30184   return 0;
30185 }
30186 _ACEOF
30187 rm -f conftest.$ac_objext
30188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30189   (eval $ac_compile) 2>conftest.er1
30190   ac_status=$?
30191   grep -v '^ *+' conftest.er1 >conftest.err
30192   rm -f conftest.er1
30193   cat conftest.err >&5
30194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195   (exit $ac_status); } &&
30196          { ac_try='test -z "$ac_cxx_werror_flag"
30197                          || test ! -s conftest.err'
30198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199   (eval $ac_try) 2>&5
30200   ac_status=$?
30201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202   (exit $ac_status); }; } &&
30203          { ac_try='test -s conftest.$ac_objext'
30204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30205   (eval $ac_try) 2>&5
30206   ac_status=$?
30207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208   (exit $ac_status); }; }; then
30209   glibcxx_cv_func_isinfl_use=yes
30210 else
30211   echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.$ac_ext >&5
30213
30214 glibcxx_cv_func_isinfl_use=no
30215 fi
30216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30217       ac_ext=c
30218 ac_cpp='$CPP $CPPFLAGS'
30219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30222
30223
30224 fi
30225
30226   fi
30227   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30228 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30229
30230   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30231
30232 for ac_func in isinfl
30233 do
30234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30235 echo "$as_me:$LINENO: checking for $ac_func" >&5
30236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30237 if eval "test \"\${$as_ac_var+set}\" = set"; then
30238   echo $ECHO_N "(cached) $ECHO_C" >&6
30239 else
30240   if test x$gcc_no_link = xyes; then
30241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30243    { (exit 1); exit 1; }; }
30244 fi
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h.  */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h.  */
30251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30253 #define $ac_func innocuous_$ac_func
30254
30255 /* System header to define __stub macros and hopefully few prototypes,
30256     which can conflict with char $ac_func (); below.
30257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30258     <limits.h> exists even on freestanding compilers.  */
30259
30260 #ifdef __STDC__
30261 # include <limits.h>
30262 #else
30263 # include <assert.h>
30264 #endif
30265
30266 #undef $ac_func
30267
30268 /* Override any gcc2 internal prototype to avoid an error.  */
30269 #ifdef __cplusplus
30270 extern "C"
30271 {
30272 #endif
30273 /* We use char because int might match the return type of a gcc2
30274    builtin and then its argument prototype would still apply.  */
30275 char $ac_func ();
30276 /* The GNU C library defines this for functions which it implements
30277     to always fail with ENOSYS.  Some functions are actually named
30278     something starting with __ and the normal name is an alias.  */
30279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30280 choke me
30281 #else
30282 char (*f) () = $ac_func;
30283 #endif
30284 #ifdef __cplusplus
30285 }
30286 #endif
30287
30288 int
30289 main ()
30290 {
30291 return f != $ac_func;
30292   ;
30293   return 0;
30294 }
30295 _ACEOF
30296 rm -f conftest.$ac_objext conftest$ac_exeext
30297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30298   (eval $ac_link) 2>conftest.er1
30299   ac_status=$?
30300   grep -v '^ *+' conftest.er1 >conftest.err
30301   rm -f conftest.er1
30302   cat conftest.err >&5
30303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304   (exit $ac_status); } &&
30305          { ac_try='test -z "$ac_c_werror_flag"
30306                          || test ! -s conftest.err'
30307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30308   (eval $ac_try) 2>&5
30309   ac_status=$?
30310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311   (exit $ac_status); }; } &&
30312          { ac_try='test -s conftest$ac_exeext'
30313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30314   (eval $ac_try) 2>&5
30315   ac_status=$?
30316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317   (exit $ac_status); }; }; then
30318   eval "$as_ac_var=yes"
30319 else
30320   echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 eval "$as_ac_var=no"
30324 fi
30325 rm -f conftest.err conftest.$ac_objext \
30326       conftest$ac_exeext conftest.$ac_ext
30327 fi
30328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30330 if test `eval echo '${'$as_ac_var'}'` = yes; then
30331   cat >>confdefs.h <<_ACEOF
30332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30333 _ACEOF
30334
30335 fi
30336 done
30337
30338   else
30339
30340   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30341 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30342   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30343     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30344   echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346
30347
30348
30349       ac_ext=cc
30350 ac_cpp='$CXXCPP $CPPFLAGS'
30351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30354
30355       cat >conftest.$ac_ext <<_ACEOF
30356 /* confdefs.h.  */
30357 _ACEOF
30358 cat confdefs.h >>conftest.$ac_ext
30359 cat >>conftest.$ac_ext <<_ACEOF
30360 /* end confdefs.h.  */
30361 #include <math.h>
30362                       #ifdef HAVE_IEEEFP_H
30363                       #include <ieeefp.h>
30364                       #endif
30365
30366 int
30367 main ()
30368 {
30369  _isinfl(0);
30370   ;
30371   return 0;
30372 }
30373 _ACEOF
30374 rm -f conftest.$ac_objext
30375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30376   (eval $ac_compile) 2>conftest.er1
30377   ac_status=$?
30378   grep -v '^ *+' conftest.er1 >conftest.err
30379   rm -f conftest.er1
30380   cat conftest.err >&5
30381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382   (exit $ac_status); } &&
30383          { ac_try='test -z "$ac_cxx_werror_flag"
30384                          || test ! -s conftest.err'
30385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30386   (eval $ac_try) 2>&5
30387   ac_status=$?
30388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389   (exit $ac_status); }; } &&
30390          { ac_try='test -s conftest.$ac_objext'
30391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30392   (eval $ac_try) 2>&5
30393   ac_status=$?
30394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395   (exit $ac_status); }; }; then
30396   glibcxx_cv_func__isinfl_use=yes
30397 else
30398   echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30400
30401 glibcxx_cv_func__isinfl_use=no
30402 fi
30403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30404       ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30409
30410
30411 fi
30412
30413   fi
30414   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30415 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30416
30417     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30418
30419 for ac_func in _isinfl
30420 do
30421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30422 echo "$as_me:$LINENO: checking for $ac_func" >&5
30423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30424 if eval "test \"\${$as_ac_var+set}\" = set"; then
30425   echo $ECHO_N "(cached) $ECHO_C" >&6
30426 else
30427   if test x$gcc_no_link = xyes; then
30428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30430    { (exit 1); exit 1; }; }
30431 fi
30432 cat >conftest.$ac_ext <<_ACEOF
30433 /* confdefs.h.  */
30434 _ACEOF
30435 cat confdefs.h >>conftest.$ac_ext
30436 cat >>conftest.$ac_ext <<_ACEOF
30437 /* end confdefs.h.  */
30438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30440 #define $ac_func innocuous_$ac_func
30441
30442 /* System header to define __stub macros and hopefully few prototypes,
30443     which can conflict with char $ac_func (); below.
30444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30445     <limits.h> exists even on freestanding compilers.  */
30446
30447 #ifdef __STDC__
30448 # include <limits.h>
30449 #else
30450 # include <assert.h>
30451 #endif
30452
30453 #undef $ac_func
30454
30455 /* Override any gcc2 internal prototype to avoid an error.  */
30456 #ifdef __cplusplus
30457 extern "C"
30458 {
30459 #endif
30460 /* We use char because int might match the return type of a gcc2
30461    builtin and then its argument prototype would still apply.  */
30462 char $ac_func ();
30463 /* The GNU C library defines this for functions which it implements
30464     to always fail with ENOSYS.  Some functions are actually named
30465     something starting with __ and the normal name is an alias.  */
30466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30467 choke me
30468 #else
30469 char (*f) () = $ac_func;
30470 #endif
30471 #ifdef __cplusplus
30472 }
30473 #endif
30474
30475 int
30476 main ()
30477 {
30478 return f != $ac_func;
30479   ;
30480   return 0;
30481 }
30482 _ACEOF
30483 rm -f conftest.$ac_objext conftest$ac_exeext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30485   (eval $ac_link) 2>conftest.er1
30486   ac_status=$?
30487   grep -v '^ *+' conftest.er1 >conftest.err
30488   rm -f conftest.er1
30489   cat conftest.err >&5
30490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491   (exit $ac_status); } &&
30492          { ac_try='test -z "$ac_c_werror_flag"
30493                          || test ! -s conftest.err'
30494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30495   (eval $ac_try) 2>&5
30496   ac_status=$?
30497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498   (exit $ac_status); }; } &&
30499          { ac_try='test -s conftest$ac_exeext'
30500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501   (eval $ac_try) 2>&5
30502   ac_status=$?
30503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504   (exit $ac_status); }; }; then
30505   eval "$as_ac_var=yes"
30506 else
30507   echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 eval "$as_ac_var=no"
30511 fi
30512 rm -f conftest.err conftest.$ac_objext \
30513       conftest$ac_exeext conftest.$ac_ext
30514 fi
30515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30517 if test `eval echo '${'$as_ac_var'}'` = yes; then
30518   cat >>confdefs.h <<_ACEOF
30519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30520 _ACEOF
30521
30522 fi
30523 done
30524
30525     fi
30526   fi
30527
30528
30529
30530
30531
30532
30533   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30534 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30535   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30536     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30537   echo $ECHO_N "(cached) $ECHO_C" >&6
30538 else
30539
30540
30541
30542       ac_ext=cc
30543 ac_cpp='$CXXCPP $CPPFLAGS'
30544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30547
30548       cat >conftest.$ac_ext <<_ACEOF
30549 /* confdefs.h.  */
30550 _ACEOF
30551 cat confdefs.h >>conftest.$ac_ext
30552 cat >>conftest.$ac_ext <<_ACEOF
30553 /* end confdefs.h.  */
30554 #include <math.h>
30555 int
30556 main ()
30557 {
30558  copysignl(0, 0);
30559   ;
30560   return 0;
30561 }
30562 _ACEOF
30563 rm -f conftest.$ac_objext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30565   (eval $ac_compile) 2>conftest.er1
30566   ac_status=$?
30567   grep -v '^ *+' conftest.er1 >conftest.err
30568   rm -f conftest.er1
30569   cat conftest.err >&5
30570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571   (exit $ac_status); } &&
30572          { ac_try='test -z "$ac_cxx_werror_flag"
30573                          || test ! -s conftest.err'
30574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575   (eval $ac_try) 2>&5
30576   ac_status=$?
30577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578   (exit $ac_status); }; } &&
30579          { ac_try='test -s conftest.$ac_objext'
30580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581   (eval $ac_try) 2>&5
30582   ac_status=$?
30583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584   (exit $ac_status); }; }; then
30585   glibcxx_cv_func_copysignl_use=yes
30586 else
30587   echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30589
30590 glibcxx_cv_func_copysignl_use=no
30591 fi
30592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30593       ac_ext=c
30594 ac_cpp='$CPP $CPPFLAGS'
30595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30598
30599
30600 fi
30601
30602   fi
30603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30604 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30605
30606   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30607
30608 for ac_func in copysignl
30609 do
30610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30611 echo "$as_me:$LINENO: checking for $ac_func" >&5
30612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30613 if eval "test \"\${$as_ac_var+set}\" = set"; then
30614   echo $ECHO_N "(cached) $ECHO_C" >&6
30615 else
30616   if test x$gcc_no_link = xyes; then
30617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30619    { (exit 1); exit 1; }; }
30620 fi
30621 cat >conftest.$ac_ext <<_ACEOF
30622 /* confdefs.h.  */
30623 _ACEOF
30624 cat confdefs.h >>conftest.$ac_ext
30625 cat >>conftest.$ac_ext <<_ACEOF
30626 /* end confdefs.h.  */
30627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30629 #define $ac_func innocuous_$ac_func
30630
30631 /* System header to define __stub macros and hopefully few prototypes,
30632     which can conflict with char $ac_func (); below.
30633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30634     <limits.h> exists even on freestanding compilers.  */
30635
30636 #ifdef __STDC__
30637 # include <limits.h>
30638 #else
30639 # include <assert.h>
30640 #endif
30641
30642 #undef $ac_func
30643
30644 /* Override any gcc2 internal prototype to avoid an error.  */
30645 #ifdef __cplusplus
30646 extern "C"
30647 {
30648 #endif
30649 /* We use char because int might match the return type of a gcc2
30650    builtin and then its argument prototype would still apply.  */
30651 char $ac_func ();
30652 /* The GNU C library defines this for functions which it implements
30653     to always fail with ENOSYS.  Some functions are actually named
30654     something starting with __ and the normal name is an alias.  */
30655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30656 choke me
30657 #else
30658 char (*f) () = $ac_func;
30659 #endif
30660 #ifdef __cplusplus
30661 }
30662 #endif
30663
30664 int
30665 main ()
30666 {
30667 return f != $ac_func;
30668   ;
30669   return 0;
30670 }
30671 _ACEOF
30672 rm -f conftest.$ac_objext conftest$ac_exeext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30674   (eval $ac_link) 2>conftest.er1
30675   ac_status=$?
30676   grep -v '^ *+' conftest.er1 >conftest.err
30677   rm -f conftest.er1
30678   cat conftest.err >&5
30679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680   (exit $ac_status); } &&
30681          { ac_try='test -z "$ac_c_werror_flag"
30682                          || test ! -s conftest.err'
30683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684   (eval $ac_try) 2>&5
30685   ac_status=$?
30686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687   (exit $ac_status); }; } &&
30688          { ac_try='test -s conftest$ac_exeext'
30689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690   (eval $ac_try) 2>&5
30691   ac_status=$?
30692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693   (exit $ac_status); }; }; then
30694   eval "$as_ac_var=yes"
30695 else
30696   echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30698
30699 eval "$as_ac_var=no"
30700 fi
30701 rm -f conftest.err conftest.$ac_objext \
30702       conftest$ac_exeext conftest.$ac_ext
30703 fi
30704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30706 if test `eval echo '${'$as_ac_var'}'` = yes; then
30707   cat >>confdefs.h <<_ACEOF
30708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30709 _ACEOF
30710
30711 fi
30712 done
30713
30714   else
30715
30716   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30717 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30718   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30719     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30720   echo $ECHO_N "(cached) $ECHO_C" >&6
30721 else
30722
30723
30724
30725       ac_ext=cc
30726 ac_cpp='$CXXCPP $CPPFLAGS'
30727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30730
30731       cat >conftest.$ac_ext <<_ACEOF
30732 /* confdefs.h.  */
30733 _ACEOF
30734 cat confdefs.h >>conftest.$ac_ext
30735 cat >>conftest.$ac_ext <<_ACEOF
30736 /* end confdefs.h.  */
30737 #include <math.h>
30738 int
30739 main ()
30740 {
30741  _copysignl(0, 0);
30742   ;
30743   return 0;
30744 }
30745 _ACEOF
30746 rm -f conftest.$ac_objext
30747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30748   (eval $ac_compile) 2>conftest.er1
30749   ac_status=$?
30750   grep -v '^ *+' conftest.er1 >conftest.err
30751   rm -f conftest.er1
30752   cat conftest.err >&5
30753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754   (exit $ac_status); } &&
30755          { ac_try='test -z "$ac_cxx_werror_flag"
30756                          || test ! -s conftest.err'
30757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758   (eval $ac_try) 2>&5
30759   ac_status=$?
30760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761   (exit $ac_status); }; } &&
30762          { ac_try='test -s conftest.$ac_objext'
30763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764   (eval $ac_try) 2>&5
30765   ac_status=$?
30766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767   (exit $ac_status); }; }; then
30768   glibcxx_cv_func__copysignl_use=yes
30769 else
30770   echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30772
30773 glibcxx_cv_func__copysignl_use=no
30774 fi
30775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30776       ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30781
30782
30783 fi
30784
30785   fi
30786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30787 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30788
30789     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30790
30791 for ac_func in _copysignl
30792 do
30793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30794 echo "$as_me:$LINENO: checking for $ac_func" >&5
30795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30796 if eval "test \"\${$as_ac_var+set}\" = set"; then
30797   echo $ECHO_N "(cached) $ECHO_C" >&6
30798 else
30799   if test x$gcc_no_link = xyes; then
30800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30802    { (exit 1); exit 1; }; }
30803 fi
30804 cat >conftest.$ac_ext <<_ACEOF
30805 /* confdefs.h.  */
30806 _ACEOF
30807 cat confdefs.h >>conftest.$ac_ext
30808 cat >>conftest.$ac_ext <<_ACEOF
30809 /* end confdefs.h.  */
30810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30812 #define $ac_func innocuous_$ac_func
30813
30814 /* System header to define __stub macros and hopefully few prototypes,
30815     which can conflict with char $ac_func (); below.
30816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30817     <limits.h> exists even on freestanding compilers.  */
30818
30819 #ifdef __STDC__
30820 # include <limits.h>
30821 #else
30822 # include <assert.h>
30823 #endif
30824
30825 #undef $ac_func
30826
30827 /* Override any gcc2 internal prototype to avoid an error.  */
30828 #ifdef __cplusplus
30829 extern "C"
30830 {
30831 #endif
30832 /* We use char because int might match the return type of a gcc2
30833    builtin and then its argument prototype would still apply.  */
30834 char $ac_func ();
30835 /* The GNU C library defines this for functions which it implements
30836     to always fail with ENOSYS.  Some functions are actually named
30837     something starting with __ and the normal name is an alias.  */
30838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30839 choke me
30840 #else
30841 char (*f) () = $ac_func;
30842 #endif
30843 #ifdef __cplusplus
30844 }
30845 #endif
30846
30847 int
30848 main ()
30849 {
30850 return f != $ac_func;
30851   ;
30852   return 0;
30853 }
30854 _ACEOF
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30857   (eval $ac_link) 2>conftest.er1
30858   ac_status=$?
30859   grep -v '^ *+' conftest.er1 >conftest.err
30860   rm -f conftest.er1
30861   cat conftest.err >&5
30862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863   (exit $ac_status); } &&
30864          { ac_try='test -z "$ac_c_werror_flag"
30865                          || test ! -s conftest.err'
30866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867   (eval $ac_try) 2>&5
30868   ac_status=$?
30869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870   (exit $ac_status); }; } &&
30871          { ac_try='test -s conftest$ac_exeext'
30872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873   (eval $ac_try) 2>&5
30874   ac_status=$?
30875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876   (exit $ac_status); }; }; then
30877   eval "$as_ac_var=yes"
30878 else
30879   echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 eval "$as_ac_var=no"
30883 fi
30884 rm -f conftest.err conftest.$ac_objext \
30885       conftest$ac_exeext conftest.$ac_ext
30886 fi
30887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30889 if test `eval echo '${'$as_ac_var'}'` = yes; then
30890   cat >>confdefs.h <<_ACEOF
30891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30892 _ACEOF
30893
30894 fi
30895 done
30896
30897     fi
30898   fi
30899
30900
30901
30902
30903
30904
30905   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30906 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30907   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30908     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30909   echo $ECHO_N "(cached) $ECHO_C" >&6
30910 else
30911
30912
30913
30914       ac_ext=cc
30915 ac_cpp='$CXXCPP $CPPFLAGS'
30916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30919
30920       cat >conftest.$ac_ext <<_ACEOF
30921 /* confdefs.h.  */
30922 _ACEOF
30923 cat confdefs.h >>conftest.$ac_ext
30924 cat >>conftest.$ac_ext <<_ACEOF
30925 /* end confdefs.h.  */
30926 #include <math.h>
30927 int
30928 main ()
30929 {
30930  atan2l(0, 0);
30931   ;
30932   return 0;
30933 }
30934 _ACEOF
30935 rm -f conftest.$ac_objext
30936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30937   (eval $ac_compile) 2>conftest.er1
30938   ac_status=$?
30939   grep -v '^ *+' conftest.er1 >conftest.err
30940   rm -f conftest.er1
30941   cat conftest.err >&5
30942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943   (exit $ac_status); } &&
30944          { ac_try='test -z "$ac_cxx_werror_flag"
30945                          || test ! -s conftest.err'
30946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947   (eval $ac_try) 2>&5
30948   ac_status=$?
30949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950   (exit $ac_status); }; } &&
30951          { ac_try='test -s conftest.$ac_objext'
30952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30953   (eval $ac_try) 2>&5
30954   ac_status=$?
30955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956   (exit $ac_status); }; }; then
30957   glibcxx_cv_func_atan2l_use=yes
30958 else
30959   echo "$as_me: failed program was:" >&5
30960 sed 's/^/| /' conftest.$ac_ext >&5
30961
30962 glibcxx_cv_func_atan2l_use=no
30963 fi
30964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30965       ac_ext=c
30966 ac_cpp='$CPP $CPPFLAGS'
30967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30970
30971
30972 fi
30973
30974   fi
30975   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30976 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30977
30978   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30979
30980 for ac_func in atan2l
30981 do
30982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30983 echo "$as_me:$LINENO: checking for $ac_func" >&5
30984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30985 if eval "test \"\${$as_ac_var+set}\" = set"; then
30986   echo $ECHO_N "(cached) $ECHO_C" >&6
30987 else
30988   if test x$gcc_no_link = xyes; then
30989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30991    { (exit 1); exit 1; }; }
30992 fi
30993 cat >conftest.$ac_ext <<_ACEOF
30994 /* confdefs.h.  */
30995 _ACEOF
30996 cat confdefs.h >>conftest.$ac_ext
30997 cat >>conftest.$ac_ext <<_ACEOF
30998 /* end confdefs.h.  */
30999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31001 #define $ac_func innocuous_$ac_func
31002
31003 /* System header to define __stub macros and hopefully few prototypes,
31004     which can conflict with char $ac_func (); below.
31005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31006     <limits.h> exists even on freestanding compilers.  */
31007
31008 #ifdef __STDC__
31009 # include <limits.h>
31010 #else
31011 # include <assert.h>
31012 #endif
31013
31014 #undef $ac_func
31015
31016 /* Override any gcc2 internal prototype to avoid an error.  */
31017 #ifdef __cplusplus
31018 extern "C"
31019 {
31020 #endif
31021 /* We use char because int might match the return type of a gcc2
31022    builtin and then its argument prototype would still apply.  */
31023 char $ac_func ();
31024 /* The GNU C library defines this for functions which it implements
31025     to always fail with ENOSYS.  Some functions are actually named
31026     something starting with __ and the normal name is an alias.  */
31027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31028 choke me
31029 #else
31030 char (*f) () = $ac_func;
31031 #endif
31032 #ifdef __cplusplus
31033 }
31034 #endif
31035
31036 int
31037 main ()
31038 {
31039 return f != $ac_func;
31040   ;
31041   return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext conftest$ac_exeext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31046   (eval $ac_link) 2>conftest.er1
31047   ac_status=$?
31048   grep -v '^ *+' conftest.er1 >conftest.err
31049   rm -f conftest.er1
31050   cat conftest.err >&5
31051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052   (exit $ac_status); } &&
31053          { ac_try='test -z "$ac_c_werror_flag"
31054                          || test ! -s conftest.err'
31055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056   (eval $ac_try) 2>&5
31057   ac_status=$?
31058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059   (exit $ac_status); }; } &&
31060          { ac_try='test -s conftest$ac_exeext'
31061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062   (eval $ac_try) 2>&5
31063   ac_status=$?
31064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065   (exit $ac_status); }; }; then
31066   eval "$as_ac_var=yes"
31067 else
31068   echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 eval "$as_ac_var=no"
31072 fi
31073 rm -f conftest.err conftest.$ac_objext \
31074       conftest$ac_exeext conftest.$ac_ext
31075 fi
31076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078 if test `eval echo '${'$as_ac_var'}'` = yes; then
31079   cat >>confdefs.h <<_ACEOF
31080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31081 _ACEOF
31082
31083 fi
31084 done
31085
31086   else
31087
31088   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31089 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31090   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31091     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31092   echo $ECHO_N "(cached) $ECHO_C" >&6
31093 else
31094
31095
31096
31097       ac_ext=cc
31098 ac_cpp='$CXXCPP $CPPFLAGS'
31099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31102
31103       cat >conftest.$ac_ext <<_ACEOF
31104 /* confdefs.h.  */
31105 _ACEOF
31106 cat confdefs.h >>conftest.$ac_ext
31107 cat >>conftest.$ac_ext <<_ACEOF
31108 /* end confdefs.h.  */
31109 #include <math.h>
31110 int
31111 main ()
31112 {
31113  _atan2l(0, 0);
31114   ;
31115   return 0;
31116 }
31117 _ACEOF
31118 rm -f conftest.$ac_objext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31120   (eval $ac_compile) 2>conftest.er1
31121   ac_status=$?
31122   grep -v '^ *+' conftest.er1 >conftest.err
31123   rm -f conftest.er1
31124   cat conftest.err >&5
31125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126   (exit $ac_status); } &&
31127          { ac_try='test -z "$ac_cxx_werror_flag"
31128                          || test ! -s conftest.err'
31129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130   (eval $ac_try) 2>&5
31131   ac_status=$?
31132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133   (exit $ac_status); }; } &&
31134          { ac_try='test -s conftest.$ac_objext'
31135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31136   (eval $ac_try) 2>&5
31137   ac_status=$?
31138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139   (exit $ac_status); }; }; then
31140   glibcxx_cv_func__atan2l_use=yes
31141 else
31142   echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31144
31145 glibcxx_cv_func__atan2l_use=no
31146 fi
31147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31148       ac_ext=c
31149 ac_cpp='$CPP $CPPFLAGS'
31150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31153
31154
31155 fi
31156
31157   fi
31158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31159 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31160
31161     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31162
31163 for ac_func in _atan2l
31164 do
31165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31166 echo "$as_me:$LINENO: checking for $ac_func" >&5
31167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31168 if eval "test \"\${$as_ac_var+set}\" = set"; then
31169   echo $ECHO_N "(cached) $ECHO_C" >&6
31170 else
31171   if test x$gcc_no_link = xyes; then
31172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31174    { (exit 1); exit 1; }; }
31175 fi
31176 cat >conftest.$ac_ext <<_ACEOF
31177 /* confdefs.h.  */
31178 _ACEOF
31179 cat confdefs.h >>conftest.$ac_ext
31180 cat >>conftest.$ac_ext <<_ACEOF
31181 /* end confdefs.h.  */
31182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31184 #define $ac_func innocuous_$ac_func
31185
31186 /* System header to define __stub macros and hopefully few prototypes,
31187     which can conflict with char $ac_func (); below.
31188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31189     <limits.h> exists even on freestanding compilers.  */
31190
31191 #ifdef __STDC__
31192 # include <limits.h>
31193 #else
31194 # include <assert.h>
31195 #endif
31196
31197 #undef $ac_func
31198
31199 /* Override any gcc2 internal prototype to avoid an error.  */
31200 #ifdef __cplusplus
31201 extern "C"
31202 {
31203 #endif
31204 /* We use char because int might match the return type of a gcc2
31205    builtin and then its argument prototype would still apply.  */
31206 char $ac_func ();
31207 /* The GNU C library defines this for functions which it implements
31208     to always fail with ENOSYS.  Some functions are actually named
31209     something starting with __ and the normal name is an alias.  */
31210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31211 choke me
31212 #else
31213 char (*f) () = $ac_func;
31214 #endif
31215 #ifdef __cplusplus
31216 }
31217 #endif
31218
31219 int
31220 main ()
31221 {
31222 return f != $ac_func;
31223   ;
31224   return 0;
31225 }
31226 _ACEOF
31227 rm -f conftest.$ac_objext conftest$ac_exeext
31228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31229   (eval $ac_link) 2>conftest.er1
31230   ac_status=$?
31231   grep -v '^ *+' conftest.er1 >conftest.err
31232   rm -f conftest.er1
31233   cat conftest.err >&5
31234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235   (exit $ac_status); } &&
31236          { ac_try='test -z "$ac_c_werror_flag"
31237                          || test ! -s conftest.err'
31238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239   (eval $ac_try) 2>&5
31240   ac_status=$?
31241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242   (exit $ac_status); }; } &&
31243          { ac_try='test -s conftest$ac_exeext'
31244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245   (eval $ac_try) 2>&5
31246   ac_status=$?
31247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248   (exit $ac_status); }; }; then
31249   eval "$as_ac_var=yes"
31250 else
31251   echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31253
31254 eval "$as_ac_var=no"
31255 fi
31256 rm -f conftest.err conftest.$ac_objext \
31257       conftest$ac_exeext conftest.$ac_ext
31258 fi
31259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31261 if test `eval echo '${'$as_ac_var'}'` = yes; then
31262   cat >>confdefs.h <<_ACEOF
31263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31264 _ACEOF
31265
31266 fi
31267 done
31268
31269     fi
31270   fi
31271
31272
31273
31274
31275
31276
31277   echo "$as_me:$LINENO: checking for expl declaration" >&5
31278 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31279   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31280     if test "${glibcxx_cv_func_expl_use+set}" = set; then
31281   echo $ECHO_N "(cached) $ECHO_C" >&6
31282 else
31283
31284
31285
31286       ac_ext=cc
31287 ac_cpp='$CXXCPP $CPPFLAGS'
31288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31291
31292       cat >conftest.$ac_ext <<_ACEOF
31293 /* confdefs.h.  */
31294 _ACEOF
31295 cat confdefs.h >>conftest.$ac_ext
31296 cat >>conftest.$ac_ext <<_ACEOF
31297 /* end confdefs.h.  */
31298 #include <math.h>
31299                       #ifdef HAVE_IEEEFP_H
31300                       #include <ieeefp.h>
31301                       #endif
31302
31303 int
31304 main ()
31305 {
31306  expl(0);
31307   ;
31308   return 0;
31309 }
31310 _ACEOF
31311 rm -f conftest.$ac_objext
31312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31313   (eval $ac_compile) 2>conftest.er1
31314   ac_status=$?
31315   grep -v '^ *+' conftest.er1 >conftest.err
31316   rm -f conftest.er1
31317   cat conftest.err >&5
31318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319   (exit $ac_status); } &&
31320          { ac_try='test -z "$ac_cxx_werror_flag"
31321                          || test ! -s conftest.err'
31322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323   (eval $ac_try) 2>&5
31324   ac_status=$?
31325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326   (exit $ac_status); }; } &&
31327          { ac_try='test -s conftest.$ac_objext'
31328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31329   (eval $ac_try) 2>&5
31330   ac_status=$?
31331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332   (exit $ac_status); }; }; then
31333   glibcxx_cv_func_expl_use=yes
31334 else
31335   echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.$ac_ext >&5
31337
31338 glibcxx_cv_func_expl_use=no
31339 fi
31340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31341       ac_ext=c
31342 ac_cpp='$CPP $CPPFLAGS'
31343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31346
31347
31348 fi
31349
31350   fi
31351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31352 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31353
31354   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31355
31356 for ac_func in expl
31357 do
31358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31359 echo "$as_me:$LINENO: checking for $ac_func" >&5
31360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31361 if eval "test \"\${$as_ac_var+set}\" = set"; then
31362   echo $ECHO_N "(cached) $ECHO_C" >&6
31363 else
31364   if test x$gcc_no_link = xyes; then
31365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31367    { (exit 1); exit 1; }; }
31368 fi
31369 cat >conftest.$ac_ext <<_ACEOF
31370 /* confdefs.h.  */
31371 _ACEOF
31372 cat confdefs.h >>conftest.$ac_ext
31373 cat >>conftest.$ac_ext <<_ACEOF
31374 /* end confdefs.h.  */
31375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31377 #define $ac_func innocuous_$ac_func
31378
31379 /* System header to define __stub macros and hopefully few prototypes,
31380     which can conflict with char $ac_func (); below.
31381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31382     <limits.h> exists even on freestanding compilers.  */
31383
31384 #ifdef __STDC__
31385 # include <limits.h>
31386 #else
31387 # include <assert.h>
31388 #endif
31389
31390 #undef $ac_func
31391
31392 /* Override any gcc2 internal prototype to avoid an error.  */
31393 #ifdef __cplusplus
31394 extern "C"
31395 {
31396 #endif
31397 /* We use char because int might match the return type of a gcc2
31398    builtin and then its argument prototype would still apply.  */
31399 char $ac_func ();
31400 /* The GNU C library defines this for functions which it implements
31401     to always fail with ENOSYS.  Some functions are actually named
31402     something starting with __ and the normal name is an alias.  */
31403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31404 choke me
31405 #else
31406 char (*f) () = $ac_func;
31407 #endif
31408 #ifdef __cplusplus
31409 }
31410 #endif
31411
31412 int
31413 main ()
31414 {
31415 return f != $ac_func;
31416   ;
31417   return 0;
31418 }
31419 _ACEOF
31420 rm -f conftest.$ac_objext conftest$ac_exeext
31421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31422   (eval $ac_link) 2>conftest.er1
31423   ac_status=$?
31424   grep -v '^ *+' conftest.er1 >conftest.err
31425   rm -f conftest.er1
31426   cat conftest.err >&5
31427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428   (exit $ac_status); } &&
31429          { ac_try='test -z "$ac_c_werror_flag"
31430                          || test ! -s conftest.err'
31431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432   (eval $ac_try) 2>&5
31433   ac_status=$?
31434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435   (exit $ac_status); }; } &&
31436          { ac_try='test -s conftest$ac_exeext'
31437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31438   (eval $ac_try) 2>&5
31439   ac_status=$?
31440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441   (exit $ac_status); }; }; then
31442   eval "$as_ac_var=yes"
31443 else
31444   echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31446
31447 eval "$as_ac_var=no"
31448 fi
31449 rm -f conftest.err conftest.$ac_objext \
31450       conftest$ac_exeext conftest.$ac_ext
31451 fi
31452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31454 if test `eval echo '${'$as_ac_var'}'` = yes; then
31455   cat >>confdefs.h <<_ACEOF
31456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31457 _ACEOF
31458
31459 fi
31460 done
31461
31462   else
31463
31464   echo "$as_me:$LINENO: checking for _expl declaration" >&5
31465 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31466   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31467     if test "${glibcxx_cv_func__expl_use+set}" = set; then
31468   echo $ECHO_N "(cached) $ECHO_C" >&6
31469 else
31470
31471
31472
31473       ac_ext=cc
31474 ac_cpp='$CXXCPP $CPPFLAGS'
31475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31478
31479       cat >conftest.$ac_ext <<_ACEOF
31480 /* confdefs.h.  */
31481 _ACEOF
31482 cat confdefs.h >>conftest.$ac_ext
31483 cat >>conftest.$ac_ext <<_ACEOF
31484 /* end confdefs.h.  */
31485 #include <math.h>
31486                       #ifdef HAVE_IEEEFP_H
31487                       #include <ieeefp.h>
31488                       #endif
31489
31490 int
31491 main ()
31492 {
31493  _expl(0);
31494   ;
31495   return 0;
31496 }
31497 _ACEOF
31498 rm -f conftest.$ac_objext
31499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31500   (eval $ac_compile) 2>conftest.er1
31501   ac_status=$?
31502   grep -v '^ *+' conftest.er1 >conftest.err
31503   rm -f conftest.er1
31504   cat conftest.err >&5
31505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506   (exit $ac_status); } &&
31507          { ac_try='test -z "$ac_cxx_werror_flag"
31508                          || test ! -s conftest.err'
31509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510   (eval $ac_try) 2>&5
31511   ac_status=$?
31512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513   (exit $ac_status); }; } &&
31514          { ac_try='test -s conftest.$ac_objext'
31515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31516   (eval $ac_try) 2>&5
31517   ac_status=$?
31518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519   (exit $ac_status); }; }; then
31520   glibcxx_cv_func__expl_use=yes
31521 else
31522   echo "$as_me: failed program was:" >&5
31523 sed 's/^/| /' conftest.$ac_ext >&5
31524
31525 glibcxx_cv_func__expl_use=no
31526 fi
31527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31528       ac_ext=c
31529 ac_cpp='$CPP $CPPFLAGS'
31530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31533
31534
31535 fi
31536
31537   fi
31538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31539 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31540
31541     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31542
31543 for ac_func in _expl
31544 do
31545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31546 echo "$as_me:$LINENO: checking for $ac_func" >&5
31547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31548 if eval "test \"\${$as_ac_var+set}\" = set"; then
31549   echo $ECHO_N "(cached) $ECHO_C" >&6
31550 else
31551   if test x$gcc_no_link = xyes; then
31552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31554    { (exit 1); exit 1; }; }
31555 fi
31556 cat >conftest.$ac_ext <<_ACEOF
31557 /* confdefs.h.  */
31558 _ACEOF
31559 cat confdefs.h >>conftest.$ac_ext
31560 cat >>conftest.$ac_ext <<_ACEOF
31561 /* end confdefs.h.  */
31562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31564 #define $ac_func innocuous_$ac_func
31565
31566 /* System header to define __stub macros and hopefully few prototypes,
31567     which can conflict with char $ac_func (); below.
31568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31569     <limits.h> exists even on freestanding compilers.  */
31570
31571 #ifdef __STDC__
31572 # include <limits.h>
31573 #else
31574 # include <assert.h>
31575 #endif
31576
31577 #undef $ac_func
31578
31579 /* Override any gcc2 internal prototype to avoid an error.  */
31580 #ifdef __cplusplus
31581 extern "C"
31582 {
31583 #endif
31584 /* We use char because int might match the return type of a gcc2
31585    builtin and then its argument prototype would still apply.  */
31586 char $ac_func ();
31587 /* The GNU C library defines this for functions which it implements
31588     to always fail with ENOSYS.  Some functions are actually named
31589     something starting with __ and the normal name is an alias.  */
31590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31591 choke me
31592 #else
31593 char (*f) () = $ac_func;
31594 #endif
31595 #ifdef __cplusplus
31596 }
31597 #endif
31598
31599 int
31600 main ()
31601 {
31602 return f != $ac_func;
31603   ;
31604   return 0;
31605 }
31606 _ACEOF
31607 rm -f conftest.$ac_objext conftest$ac_exeext
31608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31609   (eval $ac_link) 2>conftest.er1
31610   ac_status=$?
31611   grep -v '^ *+' conftest.er1 >conftest.err
31612   rm -f conftest.er1
31613   cat conftest.err >&5
31614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615   (exit $ac_status); } &&
31616          { ac_try='test -z "$ac_c_werror_flag"
31617                          || test ! -s conftest.err'
31618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619   (eval $ac_try) 2>&5
31620   ac_status=$?
31621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622   (exit $ac_status); }; } &&
31623          { ac_try='test -s conftest$ac_exeext'
31624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625   (eval $ac_try) 2>&5
31626   ac_status=$?
31627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628   (exit $ac_status); }; }; then
31629   eval "$as_ac_var=yes"
31630 else
31631   echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31633
31634 eval "$as_ac_var=no"
31635 fi
31636 rm -f conftest.err conftest.$ac_objext \
31637       conftest$ac_exeext conftest.$ac_ext
31638 fi
31639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31641 if test `eval echo '${'$as_ac_var'}'` = yes; then
31642   cat >>confdefs.h <<_ACEOF
31643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31644 _ACEOF
31645
31646 fi
31647 done
31648
31649     fi
31650   fi
31651
31652
31653
31654
31655
31656
31657   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31658 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31659   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31660     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31661   echo $ECHO_N "(cached) $ECHO_C" >&6
31662 else
31663
31664
31665
31666       ac_ext=cc
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671
31672       cat >conftest.$ac_ext <<_ACEOF
31673 /* confdefs.h.  */
31674 _ACEOF
31675 cat confdefs.h >>conftest.$ac_ext
31676 cat >>conftest.$ac_ext <<_ACEOF
31677 /* end confdefs.h.  */
31678 #include <math.h>
31679                       #ifdef HAVE_IEEEFP_H
31680                       #include <ieeefp.h>
31681                       #endif
31682
31683 int
31684 main ()
31685 {
31686  fabsl(0);
31687   ;
31688   return 0;
31689 }
31690 _ACEOF
31691 rm -f conftest.$ac_objext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31693   (eval $ac_compile) 2>conftest.er1
31694   ac_status=$?
31695   grep -v '^ *+' conftest.er1 >conftest.err
31696   rm -f conftest.er1
31697   cat conftest.err >&5
31698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699   (exit $ac_status); } &&
31700          { ac_try='test -z "$ac_cxx_werror_flag"
31701                          || test ! -s conftest.err'
31702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703   (eval $ac_try) 2>&5
31704   ac_status=$?
31705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706   (exit $ac_status); }; } &&
31707          { ac_try='test -s conftest.$ac_objext'
31708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31709   (eval $ac_try) 2>&5
31710   ac_status=$?
31711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712   (exit $ac_status); }; }; then
31713   glibcxx_cv_func_fabsl_use=yes
31714 else
31715   echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.$ac_ext >&5
31717
31718 glibcxx_cv_func_fabsl_use=no
31719 fi
31720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31721       ac_ext=c
31722 ac_cpp='$CPP $CPPFLAGS'
31723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31726
31727
31728 fi
31729
31730   fi
31731   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31732 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31733
31734   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31735
31736 for ac_func in fabsl
31737 do
31738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31739 echo "$as_me:$LINENO: checking for $ac_func" >&5
31740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31741 if eval "test \"\${$as_ac_var+set}\" = set"; then
31742   echo $ECHO_N "(cached) $ECHO_C" >&6
31743 else
31744   if test x$gcc_no_link = xyes; then
31745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31747    { (exit 1); exit 1; }; }
31748 fi
31749 cat >conftest.$ac_ext <<_ACEOF
31750 /* confdefs.h.  */
31751 _ACEOF
31752 cat confdefs.h >>conftest.$ac_ext
31753 cat >>conftest.$ac_ext <<_ACEOF
31754 /* end confdefs.h.  */
31755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31757 #define $ac_func innocuous_$ac_func
31758
31759 /* System header to define __stub macros and hopefully few prototypes,
31760     which can conflict with char $ac_func (); below.
31761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31762     <limits.h> exists even on freestanding compilers.  */
31763
31764 #ifdef __STDC__
31765 # include <limits.h>
31766 #else
31767 # include <assert.h>
31768 #endif
31769
31770 #undef $ac_func
31771
31772 /* Override any gcc2 internal prototype to avoid an error.  */
31773 #ifdef __cplusplus
31774 extern "C"
31775 {
31776 #endif
31777 /* We use char because int might match the return type of a gcc2
31778    builtin and then its argument prototype would still apply.  */
31779 char $ac_func ();
31780 /* The GNU C library defines this for functions which it implements
31781     to always fail with ENOSYS.  Some functions are actually named
31782     something starting with __ and the normal name is an alias.  */
31783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31784 choke me
31785 #else
31786 char (*f) () = $ac_func;
31787 #endif
31788 #ifdef __cplusplus
31789 }
31790 #endif
31791
31792 int
31793 main ()
31794 {
31795 return f != $ac_func;
31796   ;
31797   return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext conftest$ac_exeext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31802   (eval $ac_link) 2>conftest.er1
31803   ac_status=$?
31804   grep -v '^ *+' conftest.er1 >conftest.err
31805   rm -f conftest.er1
31806   cat conftest.err >&5
31807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808   (exit $ac_status); } &&
31809          { ac_try='test -z "$ac_c_werror_flag"
31810                          || test ! -s conftest.err'
31811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812   (eval $ac_try) 2>&5
31813   ac_status=$?
31814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815   (exit $ac_status); }; } &&
31816          { ac_try='test -s conftest$ac_exeext'
31817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31818   (eval $ac_try) 2>&5
31819   ac_status=$?
31820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821   (exit $ac_status); }; }; then
31822   eval "$as_ac_var=yes"
31823 else
31824   echo "$as_me: failed program was:" >&5
31825 sed 's/^/| /' conftest.$ac_ext >&5
31826
31827 eval "$as_ac_var=no"
31828 fi
31829 rm -f conftest.err conftest.$ac_objext \
31830       conftest$ac_exeext conftest.$ac_ext
31831 fi
31832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31834 if test `eval echo '${'$as_ac_var'}'` = yes; then
31835   cat >>confdefs.h <<_ACEOF
31836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31837 _ACEOF
31838
31839 fi
31840 done
31841
31842   else
31843
31844   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31845 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31846   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31847     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31848   echo $ECHO_N "(cached) $ECHO_C" >&6
31849 else
31850
31851
31852
31853       ac_ext=cc
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858
31859       cat >conftest.$ac_ext <<_ACEOF
31860 /* confdefs.h.  */
31861 _ACEOF
31862 cat confdefs.h >>conftest.$ac_ext
31863 cat >>conftest.$ac_ext <<_ACEOF
31864 /* end confdefs.h.  */
31865 #include <math.h>
31866                       #ifdef HAVE_IEEEFP_H
31867                       #include <ieeefp.h>
31868                       #endif
31869
31870 int
31871 main ()
31872 {
31873  _fabsl(0);
31874   ;
31875   return 0;
31876 }
31877 _ACEOF
31878 rm -f conftest.$ac_objext
31879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31880   (eval $ac_compile) 2>conftest.er1
31881   ac_status=$?
31882   grep -v '^ *+' conftest.er1 >conftest.err
31883   rm -f conftest.er1
31884   cat conftest.err >&5
31885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886   (exit $ac_status); } &&
31887          { ac_try='test -z "$ac_cxx_werror_flag"
31888                          || test ! -s conftest.err'
31889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890   (eval $ac_try) 2>&5
31891   ac_status=$?
31892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893   (exit $ac_status); }; } &&
31894          { ac_try='test -s conftest.$ac_objext'
31895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896   (eval $ac_try) 2>&5
31897   ac_status=$?
31898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899   (exit $ac_status); }; }; then
31900   glibcxx_cv_func__fabsl_use=yes
31901 else
31902   echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31904
31905 glibcxx_cv_func__fabsl_use=no
31906 fi
31907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31908       ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913
31914
31915 fi
31916
31917   fi
31918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31919 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31920
31921     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31922
31923 for ac_func in _fabsl
31924 do
31925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31926 echo "$as_me:$LINENO: checking for $ac_func" >&5
31927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31928 if eval "test \"\${$as_ac_var+set}\" = set"; then
31929   echo $ECHO_N "(cached) $ECHO_C" >&6
31930 else
31931   if test x$gcc_no_link = xyes; then
31932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31934    { (exit 1); exit 1; }; }
31935 fi
31936 cat >conftest.$ac_ext <<_ACEOF
31937 /* confdefs.h.  */
31938 _ACEOF
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h.  */
31942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31944 #define $ac_func innocuous_$ac_func
31945
31946 /* System header to define __stub macros and hopefully few prototypes,
31947     which can conflict with char $ac_func (); below.
31948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31949     <limits.h> exists even on freestanding compilers.  */
31950
31951 #ifdef __STDC__
31952 # include <limits.h>
31953 #else
31954 # include <assert.h>
31955 #endif
31956
31957 #undef $ac_func
31958
31959 /* Override any gcc2 internal prototype to avoid an error.  */
31960 #ifdef __cplusplus
31961 extern "C"
31962 {
31963 #endif
31964 /* We use char because int might match the return type of a gcc2
31965    builtin and then its argument prototype would still apply.  */
31966 char $ac_func ();
31967 /* The GNU C library defines this for functions which it implements
31968     to always fail with ENOSYS.  Some functions are actually named
31969     something starting with __ and the normal name is an alias.  */
31970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31971 choke me
31972 #else
31973 char (*f) () = $ac_func;
31974 #endif
31975 #ifdef __cplusplus
31976 }
31977 #endif
31978
31979 int
31980 main ()
31981 {
31982 return f != $ac_func;
31983   ;
31984   return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31989   (eval $ac_link) 2>conftest.er1
31990   ac_status=$?
31991   grep -v '^ *+' conftest.er1 >conftest.err
31992   rm -f conftest.er1
31993   cat conftest.err >&5
31994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995   (exit $ac_status); } &&
31996          { ac_try='test -z "$ac_c_werror_flag"
31997                          || test ! -s conftest.err'
31998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999   (eval $ac_try) 2>&5
32000   ac_status=$?
32001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002   (exit $ac_status); }; } &&
32003          { ac_try='test -s conftest$ac_exeext'
32004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005   (eval $ac_try) 2>&5
32006   ac_status=$?
32007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008   (exit $ac_status); }; }; then
32009   eval "$as_ac_var=yes"
32010 else
32011   echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014 eval "$as_ac_var=no"
32015 fi
32016 rm -f conftest.err conftest.$ac_objext \
32017       conftest$ac_exeext conftest.$ac_ext
32018 fi
32019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32021 if test `eval echo '${'$as_ac_var'}'` = yes; then
32022   cat >>confdefs.h <<_ACEOF
32023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32024 _ACEOF
32025
32026 fi
32027 done
32028
32029     fi
32030   fi
32031
32032
32033
32034
32035
32036
32037   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
32038 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
32039   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32040     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
32041   echo $ECHO_N "(cached) $ECHO_C" >&6
32042 else
32043
32044
32045
32046       ac_ext=cc
32047 ac_cpp='$CXXCPP $CPPFLAGS'
32048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32051
32052       cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h.  */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h.  */
32058 #include <math.h>
32059 int
32060 main ()
32061 {
32062  fmodl(0, 0);
32063   ;
32064   return 0;
32065 }
32066 _ACEOF
32067 rm -f conftest.$ac_objext
32068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32069   (eval $ac_compile) 2>conftest.er1
32070   ac_status=$?
32071   grep -v '^ *+' conftest.er1 >conftest.err
32072   rm -f conftest.er1
32073   cat conftest.err >&5
32074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075   (exit $ac_status); } &&
32076          { ac_try='test -z "$ac_cxx_werror_flag"
32077                          || test ! -s conftest.err'
32078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32079   (eval $ac_try) 2>&5
32080   ac_status=$?
32081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082   (exit $ac_status); }; } &&
32083          { ac_try='test -s conftest.$ac_objext'
32084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32085   (eval $ac_try) 2>&5
32086   ac_status=$?
32087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32088   (exit $ac_status); }; }; then
32089   glibcxx_cv_func_fmodl_use=yes
32090 else
32091   echo "$as_me: failed program was:" >&5
32092 sed 's/^/| /' conftest.$ac_ext >&5
32093
32094 glibcxx_cv_func_fmodl_use=no
32095 fi
32096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32097       ac_ext=c
32098 ac_cpp='$CPP $CPPFLAGS'
32099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32102
32103
32104 fi
32105
32106   fi
32107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32108 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32109
32110   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32111
32112 for ac_func in fmodl
32113 do
32114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32115 echo "$as_me:$LINENO: checking for $ac_func" >&5
32116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32117 if eval "test \"\${$as_ac_var+set}\" = set"; then
32118   echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120   if test x$gcc_no_link = xyes; then
32121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32123    { (exit 1); exit 1; }; }
32124 fi
32125 cat >conftest.$ac_ext <<_ACEOF
32126 /* confdefs.h.  */
32127 _ACEOF
32128 cat confdefs.h >>conftest.$ac_ext
32129 cat >>conftest.$ac_ext <<_ACEOF
32130 /* end confdefs.h.  */
32131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32133 #define $ac_func innocuous_$ac_func
32134
32135 /* System header to define __stub macros and hopefully few prototypes,
32136     which can conflict with char $ac_func (); below.
32137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32138     <limits.h> exists even on freestanding compilers.  */
32139
32140 #ifdef __STDC__
32141 # include <limits.h>
32142 #else
32143 # include <assert.h>
32144 #endif
32145
32146 #undef $ac_func
32147
32148 /* Override any gcc2 internal prototype to avoid an error.  */
32149 #ifdef __cplusplus
32150 extern "C"
32151 {
32152 #endif
32153 /* We use char because int might match the return type of a gcc2
32154    builtin and then its argument prototype would still apply.  */
32155 char $ac_func ();
32156 /* The GNU C library defines this for functions which it implements
32157     to always fail with ENOSYS.  Some functions are actually named
32158     something starting with __ and the normal name is an alias.  */
32159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32160 choke me
32161 #else
32162 char (*f) () = $ac_func;
32163 #endif
32164 #ifdef __cplusplus
32165 }
32166 #endif
32167
32168 int
32169 main ()
32170 {
32171 return f != $ac_func;
32172   ;
32173   return 0;
32174 }
32175 _ACEOF
32176 rm -f conftest.$ac_objext conftest$ac_exeext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32178   (eval $ac_link) 2>conftest.er1
32179   ac_status=$?
32180   grep -v '^ *+' conftest.er1 >conftest.err
32181   rm -f conftest.er1
32182   cat conftest.err >&5
32183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184   (exit $ac_status); } &&
32185          { ac_try='test -z "$ac_c_werror_flag"
32186                          || test ! -s conftest.err'
32187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188   (eval $ac_try) 2>&5
32189   ac_status=$?
32190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191   (exit $ac_status); }; } &&
32192          { ac_try='test -s conftest$ac_exeext'
32193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194   (eval $ac_try) 2>&5
32195   ac_status=$?
32196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197   (exit $ac_status); }; }; then
32198   eval "$as_ac_var=yes"
32199 else
32200   echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.$ac_ext >&5
32202
32203 eval "$as_ac_var=no"
32204 fi
32205 rm -f conftest.err conftest.$ac_objext \
32206       conftest$ac_exeext conftest.$ac_ext
32207 fi
32208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32210 if test `eval echo '${'$as_ac_var'}'` = yes; then
32211   cat >>confdefs.h <<_ACEOF
32212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32213 _ACEOF
32214
32215 fi
32216 done
32217
32218   else
32219
32220   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32221 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32222   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32223     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32224   echo $ECHO_N "(cached) $ECHO_C" >&6
32225 else
32226
32227
32228
32229       ac_ext=cc
32230 ac_cpp='$CXXCPP $CPPFLAGS'
32231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32234
32235       cat >conftest.$ac_ext <<_ACEOF
32236 /* confdefs.h.  */
32237 _ACEOF
32238 cat confdefs.h >>conftest.$ac_ext
32239 cat >>conftest.$ac_ext <<_ACEOF
32240 /* end confdefs.h.  */
32241 #include <math.h>
32242 int
32243 main ()
32244 {
32245  _fmodl(0, 0);
32246   ;
32247   return 0;
32248 }
32249 _ACEOF
32250 rm -f conftest.$ac_objext
32251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32252   (eval $ac_compile) 2>conftest.er1
32253   ac_status=$?
32254   grep -v '^ *+' conftest.er1 >conftest.err
32255   rm -f conftest.er1
32256   cat conftest.err >&5
32257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258   (exit $ac_status); } &&
32259          { ac_try='test -z "$ac_cxx_werror_flag"
32260                          || test ! -s conftest.err'
32261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32262   (eval $ac_try) 2>&5
32263   ac_status=$?
32264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265   (exit $ac_status); }; } &&
32266          { ac_try='test -s conftest.$ac_objext'
32267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32268   (eval $ac_try) 2>&5
32269   ac_status=$?
32270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271   (exit $ac_status); }; }; then
32272   glibcxx_cv_func__fmodl_use=yes
32273 else
32274   echo "$as_me: failed program was:" >&5
32275 sed 's/^/| /' conftest.$ac_ext >&5
32276
32277 glibcxx_cv_func__fmodl_use=no
32278 fi
32279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32280       ac_ext=c
32281 ac_cpp='$CPP $CPPFLAGS'
32282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32285
32286
32287 fi
32288
32289   fi
32290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32291 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32292
32293     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32294
32295 for ac_func in _fmodl
32296 do
32297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32298 echo "$as_me:$LINENO: checking for $ac_func" >&5
32299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32300 if eval "test \"\${$as_ac_var+set}\" = set"; then
32301   echo $ECHO_N "(cached) $ECHO_C" >&6
32302 else
32303   if test x$gcc_no_link = xyes; then
32304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32306    { (exit 1); exit 1; }; }
32307 fi
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h.  */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h.  */
32314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32316 #define $ac_func innocuous_$ac_func
32317
32318 /* System header to define __stub macros and hopefully few prototypes,
32319     which can conflict with char $ac_func (); below.
32320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32321     <limits.h> exists even on freestanding compilers.  */
32322
32323 #ifdef __STDC__
32324 # include <limits.h>
32325 #else
32326 # include <assert.h>
32327 #endif
32328
32329 #undef $ac_func
32330
32331 /* Override any gcc2 internal prototype to avoid an error.  */
32332 #ifdef __cplusplus
32333 extern "C"
32334 {
32335 #endif
32336 /* We use char because int might match the return type of a gcc2
32337    builtin and then its argument prototype would still apply.  */
32338 char $ac_func ();
32339 /* The GNU C library defines this for functions which it implements
32340     to always fail with ENOSYS.  Some functions are actually named
32341     something starting with __ and the normal name is an alias.  */
32342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32343 choke me
32344 #else
32345 char (*f) () = $ac_func;
32346 #endif
32347 #ifdef __cplusplus
32348 }
32349 #endif
32350
32351 int
32352 main ()
32353 {
32354 return f != $ac_func;
32355   ;
32356   return 0;
32357 }
32358 _ACEOF
32359 rm -f conftest.$ac_objext conftest$ac_exeext
32360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32361   (eval $ac_link) 2>conftest.er1
32362   ac_status=$?
32363   grep -v '^ *+' conftest.er1 >conftest.err
32364   rm -f conftest.er1
32365   cat conftest.err >&5
32366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367   (exit $ac_status); } &&
32368          { ac_try='test -z "$ac_c_werror_flag"
32369                          || test ! -s conftest.err'
32370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371   (eval $ac_try) 2>&5
32372   ac_status=$?
32373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374   (exit $ac_status); }; } &&
32375          { ac_try='test -s conftest$ac_exeext'
32376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377   (eval $ac_try) 2>&5
32378   ac_status=$?
32379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380   (exit $ac_status); }; }; then
32381   eval "$as_ac_var=yes"
32382 else
32383   echo "$as_me: failed program was:" >&5
32384 sed 's/^/| /' conftest.$ac_ext >&5
32385
32386 eval "$as_ac_var=no"
32387 fi
32388 rm -f conftest.err conftest.$ac_objext \
32389       conftest$ac_exeext conftest.$ac_ext
32390 fi
32391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32393 if test `eval echo '${'$as_ac_var'}'` = yes; then
32394   cat >>confdefs.h <<_ACEOF
32395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32396 _ACEOF
32397
32398 fi
32399 done
32400
32401     fi
32402   fi
32403
32404
32405
32406
32407
32408
32409   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32410 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32411   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32412     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32413   echo $ECHO_N "(cached) $ECHO_C" >&6
32414 else
32415
32416
32417
32418       ac_ext=cc
32419 ac_cpp='$CXXCPP $CPPFLAGS'
32420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32423
32424       cat >conftest.$ac_ext <<_ACEOF
32425 /* confdefs.h.  */
32426 _ACEOF
32427 cat confdefs.h >>conftest.$ac_ext
32428 cat >>conftest.$ac_ext <<_ACEOF
32429 /* end confdefs.h.  */
32430 #include <math.h>
32431 int
32432 main ()
32433 {
32434  frexpl(0, 0);
32435   ;
32436   return 0;
32437 }
32438 _ACEOF
32439 rm -f conftest.$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441   (eval $ac_compile) 2>conftest.er1
32442   ac_status=$?
32443   grep -v '^ *+' conftest.er1 >conftest.err
32444   rm -f conftest.er1
32445   cat conftest.err >&5
32446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447   (exit $ac_status); } &&
32448          { ac_try='test -z "$ac_cxx_werror_flag"
32449                          || test ! -s conftest.err'
32450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451   (eval $ac_try) 2>&5
32452   ac_status=$?
32453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454   (exit $ac_status); }; } &&
32455          { ac_try='test -s conftest.$ac_objext'
32456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457   (eval $ac_try) 2>&5
32458   ac_status=$?
32459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460   (exit $ac_status); }; }; then
32461   glibcxx_cv_func_frexpl_use=yes
32462 else
32463   echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32465
32466 glibcxx_cv_func_frexpl_use=no
32467 fi
32468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32469       ac_ext=c
32470 ac_cpp='$CPP $CPPFLAGS'
32471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32474
32475
32476 fi
32477
32478   fi
32479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32480 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32481
32482   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32483
32484 for ac_func in frexpl
32485 do
32486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32487 echo "$as_me:$LINENO: checking for $ac_func" >&5
32488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32489 if eval "test \"\${$as_ac_var+set}\" = set"; then
32490   echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32492   if test x$gcc_no_link = xyes; then
32493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32495    { (exit 1); exit 1; }; }
32496 fi
32497 cat >conftest.$ac_ext <<_ACEOF
32498 /* confdefs.h.  */
32499 _ACEOF
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h.  */
32503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32505 #define $ac_func innocuous_$ac_func
32506
32507 /* System header to define __stub macros and hopefully few prototypes,
32508     which can conflict with char $ac_func (); below.
32509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32510     <limits.h> exists even on freestanding compilers.  */
32511
32512 #ifdef __STDC__
32513 # include <limits.h>
32514 #else
32515 # include <assert.h>
32516 #endif
32517
32518 #undef $ac_func
32519
32520 /* Override any gcc2 internal prototype to avoid an error.  */
32521 #ifdef __cplusplus
32522 extern "C"
32523 {
32524 #endif
32525 /* We use char because int might match the return type of a gcc2
32526    builtin and then its argument prototype would still apply.  */
32527 char $ac_func ();
32528 /* The GNU C library defines this for functions which it implements
32529     to always fail with ENOSYS.  Some functions are actually named
32530     something starting with __ and the normal name is an alias.  */
32531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32532 choke me
32533 #else
32534 char (*f) () = $ac_func;
32535 #endif
32536 #ifdef __cplusplus
32537 }
32538 #endif
32539
32540 int
32541 main ()
32542 {
32543 return f != $ac_func;
32544   ;
32545   return 0;
32546 }
32547 _ACEOF
32548 rm -f conftest.$ac_objext conftest$ac_exeext
32549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32550   (eval $ac_link) 2>conftest.er1
32551   ac_status=$?
32552   grep -v '^ *+' conftest.er1 >conftest.err
32553   rm -f conftest.er1
32554   cat conftest.err >&5
32555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556   (exit $ac_status); } &&
32557          { ac_try='test -z "$ac_c_werror_flag"
32558                          || test ! -s conftest.err'
32559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560   (eval $ac_try) 2>&5
32561   ac_status=$?
32562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563   (exit $ac_status); }; } &&
32564          { ac_try='test -s conftest$ac_exeext'
32565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566   (eval $ac_try) 2>&5
32567   ac_status=$?
32568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569   (exit $ac_status); }; }; then
32570   eval "$as_ac_var=yes"
32571 else
32572   echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575 eval "$as_ac_var=no"
32576 fi
32577 rm -f conftest.err conftest.$ac_objext \
32578       conftest$ac_exeext conftest.$ac_ext
32579 fi
32580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32582 if test `eval echo '${'$as_ac_var'}'` = yes; then
32583   cat >>confdefs.h <<_ACEOF
32584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32585 _ACEOF
32586
32587 fi
32588 done
32589
32590   else
32591
32592   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32593 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32594   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32595     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32596   echo $ECHO_N "(cached) $ECHO_C" >&6
32597 else
32598
32599
32600
32601       ac_ext=cc
32602 ac_cpp='$CXXCPP $CPPFLAGS'
32603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32606
32607       cat >conftest.$ac_ext <<_ACEOF
32608 /* confdefs.h.  */
32609 _ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h.  */
32613 #include <math.h>
32614 int
32615 main ()
32616 {
32617  _frexpl(0, 0);
32618   ;
32619   return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext
32623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32624   (eval $ac_compile) 2>conftest.er1
32625   ac_status=$?
32626   grep -v '^ *+' conftest.er1 >conftest.err
32627   rm -f conftest.er1
32628   cat conftest.err >&5
32629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630   (exit $ac_status); } &&
32631          { ac_try='test -z "$ac_cxx_werror_flag"
32632                          || test ! -s conftest.err'
32633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634   (eval $ac_try) 2>&5
32635   ac_status=$?
32636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637   (exit $ac_status); }; } &&
32638          { ac_try='test -s conftest.$ac_objext'
32639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32640   (eval $ac_try) 2>&5
32641   ac_status=$?
32642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643   (exit $ac_status); }; }; then
32644   glibcxx_cv_func__frexpl_use=yes
32645 else
32646   echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32648
32649 glibcxx_cv_func__frexpl_use=no
32650 fi
32651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32652       ac_ext=c
32653 ac_cpp='$CPP $CPPFLAGS'
32654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32657
32658
32659 fi
32660
32661   fi
32662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32663 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32664
32665     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32666
32667 for ac_func in _frexpl
32668 do
32669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32670 echo "$as_me:$LINENO: checking for $ac_func" >&5
32671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32672 if eval "test \"\${$as_ac_var+set}\" = set"; then
32673   echo $ECHO_N "(cached) $ECHO_C" >&6
32674 else
32675   if test x$gcc_no_link = xyes; then
32676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32678    { (exit 1); exit 1; }; }
32679 fi
32680 cat >conftest.$ac_ext <<_ACEOF
32681 /* confdefs.h.  */
32682 _ACEOF
32683 cat confdefs.h >>conftest.$ac_ext
32684 cat >>conftest.$ac_ext <<_ACEOF
32685 /* end confdefs.h.  */
32686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32688 #define $ac_func innocuous_$ac_func
32689
32690 /* System header to define __stub macros and hopefully few prototypes,
32691     which can conflict with char $ac_func (); below.
32692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32693     <limits.h> exists even on freestanding compilers.  */
32694
32695 #ifdef __STDC__
32696 # include <limits.h>
32697 #else
32698 # include <assert.h>
32699 #endif
32700
32701 #undef $ac_func
32702
32703 /* Override any gcc2 internal prototype to avoid an error.  */
32704 #ifdef __cplusplus
32705 extern "C"
32706 {
32707 #endif
32708 /* We use char because int might match the return type of a gcc2
32709    builtin and then its argument prototype would still apply.  */
32710 char $ac_func ();
32711 /* The GNU C library defines this for functions which it implements
32712     to always fail with ENOSYS.  Some functions are actually named
32713     something starting with __ and the normal name is an alias.  */
32714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32715 choke me
32716 #else
32717 char (*f) () = $ac_func;
32718 #endif
32719 #ifdef __cplusplus
32720 }
32721 #endif
32722
32723 int
32724 main ()
32725 {
32726 return f != $ac_func;
32727   ;
32728   return 0;
32729 }
32730 _ACEOF
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32733   (eval $ac_link) 2>conftest.er1
32734   ac_status=$?
32735   grep -v '^ *+' conftest.er1 >conftest.err
32736   rm -f conftest.er1
32737   cat conftest.err >&5
32738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739   (exit $ac_status); } &&
32740          { ac_try='test -z "$ac_c_werror_flag"
32741                          || test ! -s conftest.err'
32742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743   (eval $ac_try) 2>&5
32744   ac_status=$?
32745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746   (exit $ac_status); }; } &&
32747          { ac_try='test -s conftest$ac_exeext'
32748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749   (eval $ac_try) 2>&5
32750   ac_status=$?
32751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752   (exit $ac_status); }; }; then
32753   eval "$as_ac_var=yes"
32754 else
32755   echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32757
32758 eval "$as_ac_var=no"
32759 fi
32760 rm -f conftest.err conftest.$ac_objext \
32761       conftest$ac_exeext conftest.$ac_ext
32762 fi
32763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32765 if test `eval echo '${'$as_ac_var'}'` = yes; then
32766   cat >>confdefs.h <<_ACEOF
32767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32768 _ACEOF
32769
32770 fi
32771 done
32772
32773     fi
32774   fi
32775
32776
32777
32778
32779
32780
32781   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32782 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32783   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32784     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32785   echo $ECHO_N "(cached) $ECHO_C" >&6
32786 else
32787
32788
32789
32790       ac_ext=cc
32791 ac_cpp='$CXXCPP $CPPFLAGS'
32792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32795
32796       cat >conftest.$ac_ext <<_ACEOF
32797 /* confdefs.h.  */
32798 _ACEOF
32799 cat confdefs.h >>conftest.$ac_ext
32800 cat >>conftest.$ac_ext <<_ACEOF
32801 /* end confdefs.h.  */
32802 #include <math.h>
32803 int
32804 main ()
32805 {
32806  hypotl(0, 0);
32807   ;
32808   return 0;
32809 }
32810 _ACEOF
32811 rm -f conftest.$ac_objext
32812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32813   (eval $ac_compile) 2>conftest.er1
32814   ac_status=$?
32815   grep -v '^ *+' conftest.er1 >conftest.err
32816   rm -f conftest.er1
32817   cat conftest.err >&5
32818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819   (exit $ac_status); } &&
32820          { ac_try='test -z "$ac_cxx_werror_flag"
32821                          || test ! -s conftest.err'
32822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32823   (eval $ac_try) 2>&5
32824   ac_status=$?
32825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826   (exit $ac_status); }; } &&
32827          { ac_try='test -s conftest.$ac_objext'
32828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32829   (eval $ac_try) 2>&5
32830   ac_status=$?
32831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832   (exit $ac_status); }; }; then
32833   glibcxx_cv_func_hypotl_use=yes
32834 else
32835   echo "$as_me: failed program was:" >&5
32836 sed 's/^/| /' conftest.$ac_ext >&5
32837
32838 glibcxx_cv_func_hypotl_use=no
32839 fi
32840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32841       ac_ext=c
32842 ac_cpp='$CPP $CPPFLAGS'
32843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846
32847
32848 fi
32849
32850   fi
32851   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32852 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32853
32854   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32855
32856 for ac_func in hypotl
32857 do
32858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32859 echo "$as_me:$LINENO: checking for $ac_func" >&5
32860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32861 if eval "test \"\${$as_ac_var+set}\" = set"; then
32862   echo $ECHO_N "(cached) $ECHO_C" >&6
32863 else
32864   if test x$gcc_no_link = xyes; then
32865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32867    { (exit 1); exit 1; }; }
32868 fi
32869 cat >conftest.$ac_ext <<_ACEOF
32870 /* confdefs.h.  */
32871 _ACEOF
32872 cat confdefs.h >>conftest.$ac_ext
32873 cat >>conftest.$ac_ext <<_ACEOF
32874 /* end confdefs.h.  */
32875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32877 #define $ac_func innocuous_$ac_func
32878
32879 /* System header to define __stub macros and hopefully few prototypes,
32880     which can conflict with char $ac_func (); below.
32881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32882     <limits.h> exists even on freestanding compilers.  */
32883
32884 #ifdef __STDC__
32885 # include <limits.h>
32886 #else
32887 # include <assert.h>
32888 #endif
32889
32890 #undef $ac_func
32891
32892 /* Override any gcc2 internal prototype to avoid an error.  */
32893 #ifdef __cplusplus
32894 extern "C"
32895 {
32896 #endif
32897 /* We use char because int might match the return type of a gcc2
32898    builtin and then its argument prototype would still apply.  */
32899 char $ac_func ();
32900 /* The GNU C library defines this for functions which it implements
32901     to always fail with ENOSYS.  Some functions are actually named
32902     something starting with __ and the normal name is an alias.  */
32903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32904 choke me
32905 #else
32906 char (*f) () = $ac_func;
32907 #endif
32908 #ifdef __cplusplus
32909 }
32910 #endif
32911
32912 int
32913 main ()
32914 {
32915 return f != $ac_func;
32916   ;
32917   return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext conftest$ac_exeext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32922   (eval $ac_link) 2>conftest.er1
32923   ac_status=$?
32924   grep -v '^ *+' conftest.er1 >conftest.err
32925   rm -f conftest.er1
32926   cat conftest.err >&5
32927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928   (exit $ac_status); } &&
32929          { ac_try='test -z "$ac_c_werror_flag"
32930                          || test ! -s conftest.err'
32931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932   (eval $ac_try) 2>&5
32933   ac_status=$?
32934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935   (exit $ac_status); }; } &&
32936          { ac_try='test -s conftest$ac_exeext'
32937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938   (eval $ac_try) 2>&5
32939   ac_status=$?
32940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941   (exit $ac_status); }; }; then
32942   eval "$as_ac_var=yes"
32943 else
32944   echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 eval "$as_ac_var=no"
32948 fi
32949 rm -f conftest.err conftest.$ac_objext \
32950       conftest$ac_exeext conftest.$ac_ext
32951 fi
32952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32954 if test `eval echo '${'$as_ac_var'}'` = yes; then
32955   cat >>confdefs.h <<_ACEOF
32956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32957 _ACEOF
32958
32959 fi
32960 done
32961
32962   else
32963
32964   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32965 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32966   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32967     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32968   echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32970
32971
32972
32973       ac_ext=cc
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978
32979       cat >conftest.$ac_ext <<_ACEOF
32980 /* confdefs.h.  */
32981 _ACEOF
32982 cat confdefs.h >>conftest.$ac_ext
32983 cat >>conftest.$ac_ext <<_ACEOF
32984 /* end confdefs.h.  */
32985 #include <math.h>
32986 int
32987 main ()
32988 {
32989  _hypotl(0, 0);
32990   ;
32991   return 0;
32992 }
32993 _ACEOF
32994 rm -f conftest.$ac_objext
32995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32996   (eval $ac_compile) 2>conftest.er1
32997   ac_status=$?
32998   grep -v '^ *+' conftest.er1 >conftest.err
32999   rm -f conftest.er1
33000   cat conftest.err >&5
33001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002   (exit $ac_status); } &&
33003          { ac_try='test -z "$ac_cxx_werror_flag"
33004                          || test ! -s conftest.err'
33005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006   (eval $ac_try) 2>&5
33007   ac_status=$?
33008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009   (exit $ac_status); }; } &&
33010          { ac_try='test -s conftest.$ac_objext'
33011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012   (eval $ac_try) 2>&5
33013   ac_status=$?
33014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015   (exit $ac_status); }; }; then
33016   glibcxx_cv_func__hypotl_use=yes
33017 else
33018   echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33020
33021 glibcxx_cv_func__hypotl_use=no
33022 fi
33023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33024       ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33029
33030
33031 fi
33032
33033   fi
33034   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
33035 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
33036
33037     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33038
33039 for ac_func in _hypotl
33040 do
33041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33042 echo "$as_me:$LINENO: checking for $ac_func" >&5
33043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33044 if eval "test \"\${$as_ac_var+set}\" = set"; then
33045   echo $ECHO_N "(cached) $ECHO_C" >&6
33046 else
33047   if test x$gcc_no_link = xyes; then
33048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33050    { (exit 1); exit 1; }; }
33051 fi
33052 cat >conftest.$ac_ext <<_ACEOF
33053 /* confdefs.h.  */
33054 _ACEOF
33055 cat confdefs.h >>conftest.$ac_ext
33056 cat >>conftest.$ac_ext <<_ACEOF
33057 /* end confdefs.h.  */
33058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33060 #define $ac_func innocuous_$ac_func
33061
33062 /* System header to define __stub macros and hopefully few prototypes,
33063     which can conflict with char $ac_func (); below.
33064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33065     <limits.h> exists even on freestanding compilers.  */
33066
33067 #ifdef __STDC__
33068 # include <limits.h>
33069 #else
33070 # include <assert.h>
33071 #endif
33072
33073 #undef $ac_func
33074
33075 /* Override any gcc2 internal prototype to avoid an error.  */
33076 #ifdef __cplusplus
33077 extern "C"
33078 {
33079 #endif
33080 /* We use char because int might match the return type of a gcc2
33081    builtin and then its argument prototype would still apply.  */
33082 char $ac_func ();
33083 /* The GNU C library defines this for functions which it implements
33084     to always fail with ENOSYS.  Some functions are actually named
33085     something starting with __ and the normal name is an alias.  */
33086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33087 choke me
33088 #else
33089 char (*f) () = $ac_func;
33090 #endif
33091 #ifdef __cplusplus
33092 }
33093 #endif
33094
33095 int
33096 main ()
33097 {
33098 return f != $ac_func;
33099   ;
33100   return 0;
33101 }
33102 _ACEOF
33103 rm -f conftest.$ac_objext conftest$ac_exeext
33104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33105   (eval $ac_link) 2>conftest.er1
33106   ac_status=$?
33107   grep -v '^ *+' conftest.er1 >conftest.err
33108   rm -f conftest.er1
33109   cat conftest.err >&5
33110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111   (exit $ac_status); } &&
33112          { ac_try='test -z "$ac_c_werror_flag"
33113                          || test ! -s conftest.err'
33114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115   (eval $ac_try) 2>&5
33116   ac_status=$?
33117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118   (exit $ac_status); }; } &&
33119          { ac_try='test -s conftest$ac_exeext'
33120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121   (eval $ac_try) 2>&5
33122   ac_status=$?
33123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124   (exit $ac_status); }; }; then
33125   eval "$as_ac_var=yes"
33126 else
33127   echo "$as_me: failed program was:" >&5
33128 sed 's/^/| /' conftest.$ac_ext >&5
33129
33130 eval "$as_ac_var=no"
33131 fi
33132 rm -f conftest.err conftest.$ac_objext \
33133       conftest$ac_exeext conftest.$ac_ext
33134 fi
33135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33137 if test `eval echo '${'$as_ac_var'}'` = yes; then
33138   cat >>confdefs.h <<_ACEOF
33139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33140 _ACEOF
33141
33142 fi
33143 done
33144
33145     fi
33146   fi
33147
33148
33149
33150
33151
33152
33153   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33154 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33155   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33156     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33157   echo $ECHO_N "(cached) $ECHO_C" >&6
33158 else
33159
33160
33161
33162       ac_ext=cc
33163 ac_cpp='$CXXCPP $CPPFLAGS'
33164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33167
33168       cat >conftest.$ac_ext <<_ACEOF
33169 /* confdefs.h.  */
33170 _ACEOF
33171 cat confdefs.h >>conftest.$ac_ext
33172 cat >>conftest.$ac_ext <<_ACEOF
33173 /* end confdefs.h.  */
33174 #include <math.h>
33175 int
33176 main ()
33177 {
33178  ldexpl(0, 0);
33179   ;
33180   return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext
33184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33185   (eval $ac_compile) 2>conftest.er1
33186   ac_status=$?
33187   grep -v '^ *+' conftest.er1 >conftest.err
33188   rm -f conftest.er1
33189   cat conftest.err >&5
33190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191   (exit $ac_status); } &&
33192          { ac_try='test -z "$ac_cxx_werror_flag"
33193                          || test ! -s conftest.err'
33194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33195   (eval $ac_try) 2>&5
33196   ac_status=$?
33197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198   (exit $ac_status); }; } &&
33199          { ac_try='test -s conftest.$ac_objext'
33200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33201   (eval $ac_try) 2>&5
33202   ac_status=$?
33203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204   (exit $ac_status); }; }; then
33205   glibcxx_cv_func_ldexpl_use=yes
33206 else
33207   echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33209
33210 glibcxx_cv_func_ldexpl_use=no
33211 fi
33212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33213       ac_ext=c
33214 ac_cpp='$CPP $CPPFLAGS'
33215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33218
33219
33220 fi
33221
33222   fi
33223   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33224 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33225
33226   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33227
33228 for ac_func in ldexpl
33229 do
33230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33231 echo "$as_me:$LINENO: checking for $ac_func" >&5
33232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33233 if eval "test \"\${$as_ac_var+set}\" = set"; then
33234   echo $ECHO_N "(cached) $ECHO_C" >&6
33235 else
33236   if test x$gcc_no_link = xyes; then
33237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33239    { (exit 1); exit 1; }; }
33240 fi
33241 cat >conftest.$ac_ext <<_ACEOF
33242 /* confdefs.h.  */
33243 _ACEOF
33244 cat confdefs.h >>conftest.$ac_ext
33245 cat >>conftest.$ac_ext <<_ACEOF
33246 /* end confdefs.h.  */
33247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33249 #define $ac_func innocuous_$ac_func
33250
33251 /* System header to define __stub macros and hopefully few prototypes,
33252     which can conflict with char $ac_func (); below.
33253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33254     <limits.h> exists even on freestanding compilers.  */
33255
33256 #ifdef __STDC__
33257 # include <limits.h>
33258 #else
33259 # include <assert.h>
33260 #endif
33261
33262 #undef $ac_func
33263
33264 /* Override any gcc2 internal prototype to avoid an error.  */
33265 #ifdef __cplusplus
33266 extern "C"
33267 {
33268 #endif
33269 /* We use char because int might match the return type of a gcc2
33270    builtin and then its argument prototype would still apply.  */
33271 char $ac_func ();
33272 /* The GNU C library defines this for functions which it implements
33273     to always fail with ENOSYS.  Some functions are actually named
33274     something starting with __ and the normal name is an alias.  */
33275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33276 choke me
33277 #else
33278 char (*f) () = $ac_func;
33279 #endif
33280 #ifdef __cplusplus
33281 }
33282 #endif
33283
33284 int
33285 main ()
33286 {
33287 return f != $ac_func;
33288   ;
33289   return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext conftest$ac_exeext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33294   (eval $ac_link) 2>conftest.er1
33295   ac_status=$?
33296   grep -v '^ *+' conftest.er1 >conftest.err
33297   rm -f conftest.er1
33298   cat conftest.err >&5
33299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300   (exit $ac_status); } &&
33301          { ac_try='test -z "$ac_c_werror_flag"
33302                          || test ! -s conftest.err'
33303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304   (eval $ac_try) 2>&5
33305   ac_status=$?
33306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307   (exit $ac_status); }; } &&
33308          { ac_try='test -s conftest$ac_exeext'
33309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310   (eval $ac_try) 2>&5
33311   ac_status=$?
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); }; }; then
33314   eval "$as_ac_var=yes"
33315 else
33316   echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33318
33319 eval "$as_ac_var=no"
33320 fi
33321 rm -f conftest.err conftest.$ac_objext \
33322       conftest$ac_exeext conftest.$ac_ext
33323 fi
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327   cat >>confdefs.h <<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33329 _ACEOF
33330
33331 fi
33332 done
33333
33334   else
33335
33336   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33337 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33338   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33339     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33340   echo $ECHO_N "(cached) $ECHO_C" >&6
33341 else
33342
33343
33344
33345       ac_ext=cc
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350
33351       cat >conftest.$ac_ext <<_ACEOF
33352 /* confdefs.h.  */
33353 _ACEOF
33354 cat confdefs.h >>conftest.$ac_ext
33355 cat >>conftest.$ac_ext <<_ACEOF
33356 /* end confdefs.h.  */
33357 #include <math.h>
33358 int
33359 main ()
33360 {
33361  _ldexpl(0, 0);
33362   ;
33363   return 0;
33364 }
33365 _ACEOF
33366 rm -f conftest.$ac_objext
33367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33368   (eval $ac_compile) 2>conftest.er1
33369   ac_status=$?
33370   grep -v '^ *+' conftest.er1 >conftest.err
33371   rm -f conftest.er1
33372   cat conftest.err >&5
33373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374   (exit $ac_status); } &&
33375          { ac_try='test -z "$ac_cxx_werror_flag"
33376                          || test ! -s conftest.err'
33377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378   (eval $ac_try) 2>&5
33379   ac_status=$?
33380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381   (exit $ac_status); }; } &&
33382          { ac_try='test -s conftest.$ac_objext'
33383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384   (eval $ac_try) 2>&5
33385   ac_status=$?
33386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387   (exit $ac_status); }; }; then
33388   glibcxx_cv_func__ldexpl_use=yes
33389 else
33390   echo "$as_me: failed program was:" >&5
33391 sed 's/^/| /' conftest.$ac_ext >&5
33392
33393 glibcxx_cv_func__ldexpl_use=no
33394 fi
33395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33396       ac_ext=c
33397 ac_cpp='$CPP $CPPFLAGS'
33398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33401
33402
33403 fi
33404
33405   fi
33406   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33407 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33408
33409     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33410
33411 for ac_func in _ldexpl
33412 do
33413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33414 echo "$as_me:$LINENO: checking for $ac_func" >&5
33415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33416 if eval "test \"\${$as_ac_var+set}\" = set"; then
33417   echo $ECHO_N "(cached) $ECHO_C" >&6
33418 else
33419   if test x$gcc_no_link = xyes; then
33420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33422    { (exit 1); exit 1; }; }
33423 fi
33424 cat >conftest.$ac_ext <<_ACEOF
33425 /* confdefs.h.  */
33426 _ACEOF
33427 cat confdefs.h >>conftest.$ac_ext
33428 cat >>conftest.$ac_ext <<_ACEOF
33429 /* end confdefs.h.  */
33430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33432 #define $ac_func innocuous_$ac_func
33433
33434 /* System header to define __stub macros and hopefully few prototypes,
33435     which can conflict with char $ac_func (); below.
33436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33437     <limits.h> exists even on freestanding compilers.  */
33438
33439 #ifdef __STDC__
33440 # include <limits.h>
33441 #else
33442 # include <assert.h>
33443 #endif
33444
33445 #undef $ac_func
33446
33447 /* Override any gcc2 internal prototype to avoid an error.  */
33448 #ifdef __cplusplus
33449 extern "C"
33450 {
33451 #endif
33452 /* We use char because int might match the return type of a gcc2
33453    builtin and then its argument prototype would still apply.  */
33454 char $ac_func ();
33455 /* The GNU C library defines this for functions which it implements
33456     to always fail with ENOSYS.  Some functions are actually named
33457     something starting with __ and the normal name is an alias.  */
33458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33459 choke me
33460 #else
33461 char (*f) () = $ac_func;
33462 #endif
33463 #ifdef __cplusplus
33464 }
33465 #endif
33466
33467 int
33468 main ()
33469 {
33470 return f != $ac_func;
33471   ;
33472   return 0;
33473 }
33474 _ACEOF
33475 rm -f conftest.$ac_objext conftest$ac_exeext
33476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33477   (eval $ac_link) 2>conftest.er1
33478   ac_status=$?
33479   grep -v '^ *+' conftest.er1 >conftest.err
33480   rm -f conftest.er1
33481   cat conftest.err >&5
33482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483   (exit $ac_status); } &&
33484          { ac_try='test -z "$ac_c_werror_flag"
33485                          || test ! -s conftest.err'
33486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487   (eval $ac_try) 2>&5
33488   ac_status=$?
33489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490   (exit $ac_status); }; } &&
33491          { ac_try='test -s conftest$ac_exeext'
33492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33493   (eval $ac_try) 2>&5
33494   ac_status=$?
33495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496   (exit $ac_status); }; }; then
33497   eval "$as_ac_var=yes"
33498 else
33499   echo "$as_me: failed program was:" >&5
33500 sed 's/^/| /' conftest.$ac_ext >&5
33501
33502 eval "$as_ac_var=no"
33503 fi
33504 rm -f conftest.err conftest.$ac_objext \
33505       conftest$ac_exeext conftest.$ac_ext
33506 fi
33507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33509 if test `eval echo '${'$as_ac_var'}'` = yes; then
33510   cat >>confdefs.h <<_ACEOF
33511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33512 _ACEOF
33513
33514 fi
33515 done
33516
33517     fi
33518   fi
33519
33520
33521
33522
33523
33524
33525   echo "$as_me:$LINENO: checking for logl declaration" >&5
33526 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33527   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33528     if test "${glibcxx_cv_func_logl_use+set}" = set; then
33529   echo $ECHO_N "(cached) $ECHO_C" >&6
33530 else
33531
33532
33533
33534       ac_ext=cc
33535 ac_cpp='$CXXCPP $CPPFLAGS'
33536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539
33540       cat >conftest.$ac_ext <<_ACEOF
33541 /* confdefs.h.  */
33542 _ACEOF
33543 cat confdefs.h >>conftest.$ac_ext
33544 cat >>conftest.$ac_ext <<_ACEOF
33545 /* end confdefs.h.  */
33546 #include <math.h>
33547                       #ifdef HAVE_IEEEFP_H
33548                       #include <ieeefp.h>
33549                       #endif
33550
33551 int
33552 main ()
33553 {
33554  logl(0);
33555   ;
33556   return 0;
33557 }
33558 _ACEOF
33559 rm -f conftest.$ac_objext
33560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33561   (eval $ac_compile) 2>conftest.er1
33562   ac_status=$?
33563   grep -v '^ *+' conftest.er1 >conftest.err
33564   rm -f conftest.er1
33565   cat conftest.err >&5
33566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567   (exit $ac_status); } &&
33568          { ac_try='test -z "$ac_cxx_werror_flag"
33569                          || test ! -s conftest.err'
33570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33571   (eval $ac_try) 2>&5
33572   ac_status=$?
33573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574   (exit $ac_status); }; } &&
33575          { ac_try='test -s conftest.$ac_objext'
33576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577   (eval $ac_try) 2>&5
33578   ac_status=$?
33579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580   (exit $ac_status); }; }; then
33581   glibcxx_cv_func_logl_use=yes
33582 else
33583   echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33585
33586 glibcxx_cv_func_logl_use=no
33587 fi
33588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33589       ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595
33596 fi
33597
33598   fi
33599   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33600 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33601
33602   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33603
33604 for ac_func in logl
33605 do
33606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33607 echo "$as_me:$LINENO: checking for $ac_func" >&5
33608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33609 if eval "test \"\${$as_ac_var+set}\" = set"; then
33610   echo $ECHO_N "(cached) $ECHO_C" >&6
33611 else
33612   if test x$gcc_no_link = xyes; then
33613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33615    { (exit 1); exit 1; }; }
33616 fi
33617 cat >conftest.$ac_ext <<_ACEOF
33618 /* confdefs.h.  */
33619 _ACEOF
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h.  */
33623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33625 #define $ac_func innocuous_$ac_func
33626
33627 /* System header to define __stub macros and hopefully few prototypes,
33628     which can conflict with char $ac_func (); below.
33629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33630     <limits.h> exists even on freestanding compilers.  */
33631
33632 #ifdef __STDC__
33633 # include <limits.h>
33634 #else
33635 # include <assert.h>
33636 #endif
33637
33638 #undef $ac_func
33639
33640 /* Override any gcc2 internal prototype to avoid an error.  */
33641 #ifdef __cplusplus
33642 extern "C"
33643 {
33644 #endif
33645 /* We use char because int might match the return type of a gcc2
33646    builtin and then its argument prototype would still apply.  */
33647 char $ac_func ();
33648 /* The GNU C library defines this for functions which it implements
33649     to always fail with ENOSYS.  Some functions are actually named
33650     something starting with __ and the normal name is an alias.  */
33651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33652 choke me
33653 #else
33654 char (*f) () = $ac_func;
33655 #endif
33656 #ifdef __cplusplus
33657 }
33658 #endif
33659
33660 int
33661 main ()
33662 {
33663 return f != $ac_func;
33664   ;
33665   return 0;
33666 }
33667 _ACEOF
33668 rm -f conftest.$ac_objext conftest$ac_exeext
33669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33670   (eval $ac_link) 2>conftest.er1
33671   ac_status=$?
33672   grep -v '^ *+' conftest.er1 >conftest.err
33673   rm -f conftest.er1
33674   cat conftest.err >&5
33675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676   (exit $ac_status); } &&
33677          { ac_try='test -z "$ac_c_werror_flag"
33678                          || test ! -s conftest.err'
33679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680   (eval $ac_try) 2>&5
33681   ac_status=$?
33682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683   (exit $ac_status); }; } &&
33684          { ac_try='test -s conftest$ac_exeext'
33685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33686   (eval $ac_try) 2>&5
33687   ac_status=$?
33688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689   (exit $ac_status); }; }; then
33690   eval "$as_ac_var=yes"
33691 else
33692   echo "$as_me: failed program was:" >&5
33693 sed 's/^/| /' conftest.$ac_ext >&5
33694
33695 eval "$as_ac_var=no"
33696 fi
33697 rm -f conftest.err conftest.$ac_objext \
33698       conftest$ac_exeext conftest.$ac_ext
33699 fi
33700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33702 if test `eval echo '${'$as_ac_var'}'` = yes; then
33703   cat >>confdefs.h <<_ACEOF
33704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33705 _ACEOF
33706
33707 fi
33708 done
33709
33710   else
33711
33712   echo "$as_me:$LINENO: checking for _logl declaration" >&5
33713 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33714   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33715     if test "${glibcxx_cv_func__logl_use+set}" = set; then
33716   echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718
33719
33720
33721       ac_ext=cc
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33726
33727       cat >conftest.$ac_ext <<_ACEOF
33728 /* confdefs.h.  */
33729 _ACEOF
33730 cat confdefs.h >>conftest.$ac_ext
33731 cat >>conftest.$ac_ext <<_ACEOF
33732 /* end confdefs.h.  */
33733 #include <math.h>
33734                       #ifdef HAVE_IEEEFP_H
33735                       #include <ieeefp.h>
33736                       #endif
33737
33738 int
33739 main ()
33740 {
33741  _logl(0);
33742   ;
33743   return 0;
33744 }
33745 _ACEOF
33746 rm -f conftest.$ac_objext
33747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33748   (eval $ac_compile) 2>conftest.er1
33749   ac_status=$?
33750   grep -v '^ *+' conftest.er1 >conftest.err
33751   rm -f conftest.er1
33752   cat conftest.err >&5
33753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754   (exit $ac_status); } &&
33755          { ac_try='test -z "$ac_cxx_werror_flag"
33756                          || test ! -s conftest.err'
33757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758   (eval $ac_try) 2>&5
33759   ac_status=$?
33760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761   (exit $ac_status); }; } &&
33762          { ac_try='test -s conftest.$ac_objext'
33763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764   (eval $ac_try) 2>&5
33765   ac_status=$?
33766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767   (exit $ac_status); }; }; then
33768   glibcxx_cv_func__logl_use=yes
33769 else
33770   echo "$as_me: failed program was:" >&5
33771 sed 's/^/| /' conftest.$ac_ext >&5
33772
33773 glibcxx_cv_func__logl_use=no
33774 fi
33775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33776       ac_ext=c
33777 ac_cpp='$CPP $CPPFLAGS'
33778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33781
33782
33783 fi
33784
33785   fi
33786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33787 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33788
33789     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33790
33791 for ac_func in _logl
33792 do
33793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33794 echo "$as_me:$LINENO: checking for $ac_func" >&5
33795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33796 if eval "test \"\${$as_ac_var+set}\" = set"; then
33797   echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799   if test x$gcc_no_link = xyes; then
33800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33802    { (exit 1); exit 1; }; }
33803 fi
33804 cat >conftest.$ac_ext <<_ACEOF
33805 /* confdefs.h.  */
33806 _ACEOF
33807 cat confdefs.h >>conftest.$ac_ext
33808 cat >>conftest.$ac_ext <<_ACEOF
33809 /* end confdefs.h.  */
33810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33812 #define $ac_func innocuous_$ac_func
33813
33814 /* System header to define __stub macros and hopefully few prototypes,
33815     which can conflict with char $ac_func (); below.
33816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33817     <limits.h> exists even on freestanding compilers.  */
33818
33819 #ifdef __STDC__
33820 # include <limits.h>
33821 #else
33822 # include <assert.h>
33823 #endif
33824
33825 #undef $ac_func
33826
33827 /* Override any gcc2 internal prototype to avoid an error.  */
33828 #ifdef __cplusplus
33829 extern "C"
33830 {
33831 #endif
33832 /* We use char because int might match the return type of a gcc2
33833    builtin and then its argument prototype would still apply.  */
33834 char $ac_func ();
33835 /* The GNU C library defines this for functions which it implements
33836     to always fail with ENOSYS.  Some functions are actually named
33837     something starting with __ and the normal name is an alias.  */
33838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33839 choke me
33840 #else
33841 char (*f) () = $ac_func;
33842 #endif
33843 #ifdef __cplusplus
33844 }
33845 #endif
33846
33847 int
33848 main ()
33849 {
33850 return f != $ac_func;
33851   ;
33852   return 0;
33853 }
33854 _ACEOF
33855 rm -f conftest.$ac_objext conftest$ac_exeext
33856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33857   (eval $ac_link) 2>conftest.er1
33858   ac_status=$?
33859   grep -v '^ *+' conftest.er1 >conftest.err
33860   rm -f conftest.er1
33861   cat conftest.err >&5
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); } &&
33864          { ac_try='test -z "$ac_c_werror_flag"
33865                          || test ! -s conftest.err'
33866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867   (eval $ac_try) 2>&5
33868   ac_status=$?
33869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870   (exit $ac_status); }; } &&
33871          { ac_try='test -s conftest$ac_exeext'
33872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33873   (eval $ac_try) 2>&5
33874   ac_status=$?
33875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876   (exit $ac_status); }; }; then
33877   eval "$as_ac_var=yes"
33878 else
33879   echo "$as_me: failed program was:" >&5
33880 sed 's/^/| /' conftest.$ac_ext >&5
33881
33882 eval "$as_ac_var=no"
33883 fi
33884 rm -f conftest.err conftest.$ac_objext \
33885       conftest$ac_exeext conftest.$ac_ext
33886 fi
33887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33889 if test `eval echo '${'$as_ac_var'}'` = yes; then
33890   cat >>confdefs.h <<_ACEOF
33891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33892 _ACEOF
33893
33894 fi
33895 done
33896
33897     fi
33898   fi
33899
33900
33901
33902
33903
33904
33905   echo "$as_me:$LINENO: checking for log10l declaration" >&5
33906 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33907   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33908     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33909   echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911
33912
33913
33914       ac_ext=cc
33915 ac_cpp='$CXXCPP $CPPFLAGS'
33916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33919
33920       cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h.  */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h.  */
33926 #include <math.h>
33927                       #ifdef HAVE_IEEEFP_H
33928                       #include <ieeefp.h>
33929                       #endif
33930
33931 int
33932 main ()
33933 {
33934  log10l(0);
33935   ;
33936   return 0;
33937 }
33938 _ACEOF
33939 rm -f conftest.$ac_objext
33940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33941   (eval $ac_compile) 2>conftest.er1
33942   ac_status=$?
33943   grep -v '^ *+' conftest.er1 >conftest.err
33944   rm -f conftest.er1
33945   cat conftest.err >&5
33946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947   (exit $ac_status); } &&
33948          { ac_try='test -z "$ac_cxx_werror_flag"
33949                          || test ! -s conftest.err'
33950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951   (eval $ac_try) 2>&5
33952   ac_status=$?
33953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954   (exit $ac_status); }; } &&
33955          { ac_try='test -s conftest.$ac_objext'
33956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957   (eval $ac_try) 2>&5
33958   ac_status=$?
33959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960   (exit $ac_status); }; }; then
33961   glibcxx_cv_func_log10l_use=yes
33962 else
33963   echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33965
33966 glibcxx_cv_func_log10l_use=no
33967 fi
33968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33969       ac_ext=c
33970 ac_cpp='$CPP $CPPFLAGS'
33971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33974
33975
33976 fi
33977
33978   fi
33979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33980 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33981
33982   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33983
33984 for ac_func in log10l
33985 do
33986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33987 echo "$as_me:$LINENO: checking for $ac_func" >&5
33988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33989 if eval "test \"\${$as_ac_var+set}\" = set"; then
33990   echo $ECHO_N "(cached) $ECHO_C" >&6
33991 else
33992   if test x$gcc_no_link = xyes; then
33993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33995    { (exit 1); exit 1; }; }
33996 fi
33997 cat >conftest.$ac_ext <<_ACEOF
33998 /* confdefs.h.  */
33999 _ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h.  */
34003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34005 #define $ac_func innocuous_$ac_func
34006
34007 /* System header to define __stub macros and hopefully few prototypes,
34008     which can conflict with char $ac_func (); below.
34009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34010     <limits.h> exists even on freestanding compilers.  */
34011
34012 #ifdef __STDC__
34013 # include <limits.h>
34014 #else
34015 # include <assert.h>
34016 #endif
34017
34018 #undef $ac_func
34019
34020 /* Override any gcc2 internal prototype to avoid an error.  */
34021 #ifdef __cplusplus
34022 extern "C"
34023 {
34024 #endif
34025 /* We use char because int might match the return type of a gcc2
34026    builtin and then its argument prototype would still apply.  */
34027 char $ac_func ();
34028 /* The GNU C library defines this for functions which it implements
34029     to always fail with ENOSYS.  Some functions are actually named
34030     something starting with __ and the normal name is an alias.  */
34031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34032 choke me
34033 #else
34034 char (*f) () = $ac_func;
34035 #endif
34036 #ifdef __cplusplus
34037 }
34038 #endif
34039
34040 int
34041 main ()
34042 {
34043 return f != $ac_func;
34044   ;
34045   return 0;
34046 }
34047 _ACEOF
34048 rm -f conftest.$ac_objext conftest$ac_exeext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34050   (eval $ac_link) 2>conftest.er1
34051   ac_status=$?
34052   grep -v '^ *+' conftest.er1 >conftest.err
34053   rm -f conftest.er1
34054   cat conftest.err >&5
34055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056   (exit $ac_status); } &&
34057          { ac_try='test -z "$ac_c_werror_flag"
34058                          || test ! -s conftest.err'
34059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060   (eval $ac_try) 2>&5
34061   ac_status=$?
34062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063   (exit $ac_status); }; } &&
34064          { ac_try='test -s conftest$ac_exeext'
34065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066   (eval $ac_try) 2>&5
34067   ac_status=$?
34068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069   (exit $ac_status); }; }; then
34070   eval "$as_ac_var=yes"
34071 else
34072   echo "$as_me: failed program was:" >&5
34073 sed 's/^/| /' conftest.$ac_ext >&5
34074
34075 eval "$as_ac_var=no"
34076 fi
34077 rm -f conftest.err conftest.$ac_objext \
34078       conftest$ac_exeext conftest.$ac_ext
34079 fi
34080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34082 if test `eval echo '${'$as_ac_var'}'` = yes; then
34083   cat >>confdefs.h <<_ACEOF
34084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34085 _ACEOF
34086
34087 fi
34088 done
34089
34090   else
34091
34092   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34093 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34094   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34095     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34096   echo $ECHO_N "(cached) $ECHO_C" >&6
34097 else
34098
34099
34100
34101       ac_ext=cc
34102 ac_cpp='$CXXCPP $CPPFLAGS'
34103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34106
34107       cat >conftest.$ac_ext <<_ACEOF
34108 /* confdefs.h.  */
34109 _ACEOF
34110 cat confdefs.h >>conftest.$ac_ext
34111 cat >>conftest.$ac_ext <<_ACEOF
34112 /* end confdefs.h.  */
34113 #include <math.h>
34114                       #ifdef HAVE_IEEEFP_H
34115                       #include <ieeefp.h>
34116                       #endif
34117
34118 int
34119 main ()
34120 {
34121  _log10l(0);
34122   ;
34123   return 0;
34124 }
34125 _ACEOF
34126 rm -f conftest.$ac_objext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34128   (eval $ac_compile) 2>conftest.er1
34129   ac_status=$?
34130   grep -v '^ *+' conftest.er1 >conftest.err
34131   rm -f conftest.er1
34132   cat conftest.err >&5
34133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134   (exit $ac_status); } &&
34135          { ac_try='test -z "$ac_cxx_werror_flag"
34136                          || test ! -s conftest.err'
34137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138   (eval $ac_try) 2>&5
34139   ac_status=$?
34140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141   (exit $ac_status); }; } &&
34142          { ac_try='test -s conftest.$ac_objext'
34143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144   (eval $ac_try) 2>&5
34145   ac_status=$?
34146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147   (exit $ac_status); }; }; then
34148   glibcxx_cv_func__log10l_use=yes
34149 else
34150   echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 glibcxx_cv_func__log10l_use=no
34154 fi
34155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34156       ac_ext=c
34157 ac_cpp='$CPP $CPPFLAGS'
34158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34161
34162
34163 fi
34164
34165   fi
34166   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34167 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34168
34169     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34170
34171 for ac_func in _log10l
34172 do
34173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34174 echo "$as_me:$LINENO: checking for $ac_func" >&5
34175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34176 if eval "test \"\${$as_ac_var+set}\" = set"; then
34177   echo $ECHO_N "(cached) $ECHO_C" >&6
34178 else
34179   if test x$gcc_no_link = xyes; then
34180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34182    { (exit 1); exit 1; }; }
34183 fi
34184 cat >conftest.$ac_ext <<_ACEOF
34185 /* confdefs.h.  */
34186 _ACEOF
34187 cat confdefs.h >>conftest.$ac_ext
34188 cat >>conftest.$ac_ext <<_ACEOF
34189 /* end confdefs.h.  */
34190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34192 #define $ac_func innocuous_$ac_func
34193
34194 /* System header to define __stub macros and hopefully few prototypes,
34195     which can conflict with char $ac_func (); below.
34196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34197     <limits.h> exists even on freestanding compilers.  */
34198
34199 #ifdef __STDC__
34200 # include <limits.h>
34201 #else
34202 # include <assert.h>
34203 #endif
34204
34205 #undef $ac_func
34206
34207 /* Override any gcc2 internal prototype to avoid an error.  */
34208 #ifdef __cplusplus
34209 extern "C"
34210 {
34211 #endif
34212 /* We use char because int might match the return type of a gcc2
34213    builtin and then its argument prototype would still apply.  */
34214 char $ac_func ();
34215 /* The GNU C library defines this for functions which it implements
34216     to always fail with ENOSYS.  Some functions are actually named
34217     something starting with __ and the normal name is an alias.  */
34218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34219 choke me
34220 #else
34221 char (*f) () = $ac_func;
34222 #endif
34223 #ifdef __cplusplus
34224 }
34225 #endif
34226
34227 int
34228 main ()
34229 {
34230 return f != $ac_func;
34231   ;
34232   return 0;
34233 }
34234 _ACEOF
34235 rm -f conftest.$ac_objext conftest$ac_exeext
34236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34237   (eval $ac_link) 2>conftest.er1
34238   ac_status=$?
34239   grep -v '^ *+' conftest.er1 >conftest.err
34240   rm -f conftest.er1
34241   cat conftest.err >&5
34242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243   (exit $ac_status); } &&
34244          { ac_try='test -z "$ac_c_werror_flag"
34245                          || test ! -s conftest.err'
34246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247   (eval $ac_try) 2>&5
34248   ac_status=$?
34249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250   (exit $ac_status); }; } &&
34251          { ac_try='test -s conftest$ac_exeext'
34252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253   (eval $ac_try) 2>&5
34254   ac_status=$?
34255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256   (exit $ac_status); }; }; then
34257   eval "$as_ac_var=yes"
34258 else
34259   echo "$as_me: failed program was:" >&5
34260 sed 's/^/| /' conftest.$ac_ext >&5
34261
34262 eval "$as_ac_var=no"
34263 fi
34264 rm -f conftest.err conftest.$ac_objext \
34265       conftest$ac_exeext conftest.$ac_ext
34266 fi
34267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34269 if test `eval echo '${'$as_ac_var'}'` = yes; then
34270   cat >>confdefs.h <<_ACEOF
34271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34272 _ACEOF
34273
34274 fi
34275 done
34276
34277     fi
34278   fi
34279
34280
34281
34282
34283
34284
34285   echo "$as_me:$LINENO: checking for modfl declaration" >&5
34286 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34287   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34288     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34289   echo $ECHO_N "(cached) $ECHO_C" >&6
34290 else
34291
34292
34293
34294       ac_ext=cc
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34299
34300       cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h.  */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h.  */
34306 #include <math.h>
34307 int
34308 main ()
34309 {
34310  modfl(0, 0);
34311   ;
34312   return 0;
34313 }
34314 _ACEOF
34315 rm -f conftest.$ac_objext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34317   (eval $ac_compile) 2>conftest.er1
34318   ac_status=$?
34319   grep -v '^ *+' conftest.er1 >conftest.err
34320   rm -f conftest.er1
34321   cat conftest.err >&5
34322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323   (exit $ac_status); } &&
34324          { ac_try='test -z "$ac_cxx_werror_flag"
34325                          || test ! -s conftest.err'
34326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327   (eval $ac_try) 2>&5
34328   ac_status=$?
34329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330   (exit $ac_status); }; } &&
34331          { ac_try='test -s conftest.$ac_objext'
34332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333   (eval $ac_try) 2>&5
34334   ac_status=$?
34335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336   (exit $ac_status); }; }; then
34337   glibcxx_cv_func_modfl_use=yes
34338 else
34339   echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 glibcxx_cv_func_modfl_use=no
34343 fi
34344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34345       ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350
34351
34352 fi
34353
34354   fi
34355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34356 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34357
34358   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34359
34360 for ac_func in modfl
34361 do
34362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34363 echo "$as_me:$LINENO: checking for $ac_func" >&5
34364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34365 if eval "test \"\${$as_ac_var+set}\" = set"; then
34366   echo $ECHO_N "(cached) $ECHO_C" >&6
34367 else
34368   if test x$gcc_no_link = xyes; then
34369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34371    { (exit 1); exit 1; }; }
34372 fi
34373 cat >conftest.$ac_ext <<_ACEOF
34374 /* confdefs.h.  */
34375 _ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h.  */
34379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34381 #define $ac_func innocuous_$ac_func
34382
34383 /* System header to define __stub macros and hopefully few prototypes,
34384     which can conflict with char $ac_func (); below.
34385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34386     <limits.h> exists even on freestanding compilers.  */
34387
34388 #ifdef __STDC__
34389 # include <limits.h>
34390 #else
34391 # include <assert.h>
34392 #endif
34393
34394 #undef $ac_func
34395
34396 /* Override any gcc2 internal prototype to avoid an error.  */
34397 #ifdef __cplusplus
34398 extern "C"
34399 {
34400 #endif
34401 /* We use char because int might match the return type of a gcc2
34402    builtin and then its argument prototype would still apply.  */
34403 char $ac_func ();
34404 /* The GNU C library defines this for functions which it implements
34405     to always fail with ENOSYS.  Some functions are actually named
34406     something starting with __ and the normal name is an alias.  */
34407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34408 choke me
34409 #else
34410 char (*f) () = $ac_func;
34411 #endif
34412 #ifdef __cplusplus
34413 }
34414 #endif
34415
34416 int
34417 main ()
34418 {
34419 return f != $ac_func;
34420   ;
34421   return 0;
34422 }
34423 _ACEOF
34424 rm -f conftest.$ac_objext conftest$ac_exeext
34425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34426   (eval $ac_link) 2>conftest.er1
34427   ac_status=$?
34428   grep -v '^ *+' conftest.er1 >conftest.err
34429   rm -f conftest.er1
34430   cat conftest.err >&5
34431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432   (exit $ac_status); } &&
34433          { ac_try='test -z "$ac_c_werror_flag"
34434                          || test ! -s conftest.err'
34435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436   (eval $ac_try) 2>&5
34437   ac_status=$?
34438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439   (exit $ac_status); }; } &&
34440          { ac_try='test -s conftest$ac_exeext'
34441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442   (eval $ac_try) 2>&5
34443   ac_status=$?
34444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445   (exit $ac_status); }; }; then
34446   eval "$as_ac_var=yes"
34447 else
34448   echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34450
34451 eval "$as_ac_var=no"
34452 fi
34453 rm -f conftest.err conftest.$ac_objext \
34454       conftest$ac_exeext conftest.$ac_ext
34455 fi
34456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34458 if test `eval echo '${'$as_ac_var'}'` = yes; then
34459   cat >>confdefs.h <<_ACEOF
34460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34461 _ACEOF
34462
34463 fi
34464 done
34465
34466   else
34467
34468   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34469 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34470   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34471     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34472   echo $ECHO_N "(cached) $ECHO_C" >&6
34473 else
34474
34475
34476
34477       ac_ext=cc
34478 ac_cpp='$CXXCPP $CPPFLAGS'
34479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34482
34483       cat >conftest.$ac_ext <<_ACEOF
34484 /* confdefs.h.  */
34485 _ACEOF
34486 cat confdefs.h >>conftest.$ac_ext
34487 cat >>conftest.$ac_ext <<_ACEOF
34488 /* end confdefs.h.  */
34489 #include <math.h>
34490 int
34491 main ()
34492 {
34493  _modfl(0, 0);
34494   ;
34495   return 0;
34496 }
34497 _ACEOF
34498 rm -f conftest.$ac_objext
34499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34500   (eval $ac_compile) 2>conftest.er1
34501   ac_status=$?
34502   grep -v '^ *+' conftest.er1 >conftest.err
34503   rm -f conftest.er1
34504   cat conftest.err >&5
34505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506   (exit $ac_status); } &&
34507          { ac_try='test -z "$ac_cxx_werror_flag"
34508                          || test ! -s conftest.err'
34509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510   (eval $ac_try) 2>&5
34511   ac_status=$?
34512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513   (exit $ac_status); }; } &&
34514          { ac_try='test -s conftest.$ac_objext'
34515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34516   (eval $ac_try) 2>&5
34517   ac_status=$?
34518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519   (exit $ac_status); }; }; then
34520   glibcxx_cv_func__modfl_use=yes
34521 else
34522   echo "$as_me: failed program was:" >&5
34523 sed 's/^/| /' conftest.$ac_ext >&5
34524
34525 glibcxx_cv_func__modfl_use=no
34526 fi
34527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34528       ac_ext=c
34529 ac_cpp='$CPP $CPPFLAGS'
34530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34533
34534
34535 fi
34536
34537   fi
34538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34539 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34540
34541     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34542
34543 for ac_func in _modfl
34544 do
34545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34548 if eval "test \"\${$as_ac_var+set}\" = set"; then
34549   echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551   if test x$gcc_no_link = xyes; then
34552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34554    { (exit 1); exit 1; }; }
34555 fi
34556 cat >conftest.$ac_ext <<_ACEOF
34557 /* confdefs.h.  */
34558 _ACEOF
34559 cat confdefs.h >>conftest.$ac_ext
34560 cat >>conftest.$ac_ext <<_ACEOF
34561 /* end confdefs.h.  */
34562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34564 #define $ac_func innocuous_$ac_func
34565
34566 /* System header to define __stub macros and hopefully few prototypes,
34567     which can conflict with char $ac_func (); below.
34568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34569     <limits.h> exists even on freestanding compilers.  */
34570
34571 #ifdef __STDC__
34572 # include <limits.h>
34573 #else
34574 # include <assert.h>
34575 #endif
34576
34577 #undef $ac_func
34578
34579 /* Override any gcc2 internal prototype to avoid an error.  */
34580 #ifdef __cplusplus
34581 extern "C"
34582 {
34583 #endif
34584 /* We use char because int might match the return type of a gcc2
34585    builtin and then its argument prototype would still apply.  */
34586 char $ac_func ();
34587 /* The GNU C library defines this for functions which it implements
34588     to always fail with ENOSYS.  Some functions are actually named
34589     something starting with __ and the normal name is an alias.  */
34590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34591 choke me
34592 #else
34593 char (*f) () = $ac_func;
34594 #endif
34595 #ifdef __cplusplus
34596 }
34597 #endif
34598
34599 int
34600 main ()
34601 {
34602 return f != $ac_func;
34603   ;
34604   return 0;
34605 }
34606 _ACEOF
34607 rm -f conftest.$ac_objext conftest$ac_exeext
34608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34609   (eval $ac_link) 2>conftest.er1
34610   ac_status=$?
34611   grep -v '^ *+' conftest.er1 >conftest.err
34612   rm -f conftest.er1
34613   cat conftest.err >&5
34614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615   (exit $ac_status); } &&
34616          { ac_try='test -z "$ac_c_werror_flag"
34617                          || test ! -s conftest.err'
34618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619   (eval $ac_try) 2>&5
34620   ac_status=$?
34621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622   (exit $ac_status); }; } &&
34623          { ac_try='test -s conftest$ac_exeext'
34624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625   (eval $ac_try) 2>&5
34626   ac_status=$?
34627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628   (exit $ac_status); }; }; then
34629   eval "$as_ac_var=yes"
34630 else
34631   echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.$ac_ext >&5
34633
34634 eval "$as_ac_var=no"
34635 fi
34636 rm -f conftest.err conftest.$ac_objext \
34637       conftest$ac_exeext conftest.$ac_ext
34638 fi
34639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34641 if test `eval echo '${'$as_ac_var'}'` = yes; then
34642   cat >>confdefs.h <<_ACEOF
34643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34644 _ACEOF
34645
34646 fi
34647 done
34648
34649     fi
34650   fi
34651
34652
34653
34654
34655
34656
34657   echo "$as_me:$LINENO: checking for powl declaration" >&5
34658 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34659   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34660     if test "${glibcxx_cv_func_powl_use+set}" = set; then
34661   echo $ECHO_N "(cached) $ECHO_C" >&6
34662 else
34663
34664
34665
34666       ac_ext=cc
34667 ac_cpp='$CXXCPP $CPPFLAGS'
34668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34671
34672       cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h.  */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h.  */
34678 #include <math.h>
34679 int
34680 main ()
34681 {
34682  powl(0, 0);
34683   ;
34684   return 0;
34685 }
34686 _ACEOF
34687 rm -f conftest.$ac_objext
34688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34689   (eval $ac_compile) 2>conftest.er1
34690   ac_status=$?
34691   grep -v '^ *+' conftest.er1 >conftest.err
34692   rm -f conftest.er1
34693   cat conftest.err >&5
34694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695   (exit $ac_status); } &&
34696          { ac_try='test -z "$ac_cxx_werror_flag"
34697                          || test ! -s conftest.err'
34698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699   (eval $ac_try) 2>&5
34700   ac_status=$?
34701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702   (exit $ac_status); }; } &&
34703          { ac_try='test -s conftest.$ac_objext'
34704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705   (eval $ac_try) 2>&5
34706   ac_status=$?
34707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708   (exit $ac_status); }; }; then
34709   glibcxx_cv_func_powl_use=yes
34710 else
34711   echo "$as_me: failed program was:" >&5
34712 sed 's/^/| /' conftest.$ac_ext >&5
34713
34714 glibcxx_cv_func_powl_use=no
34715 fi
34716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34717       ac_ext=c
34718 ac_cpp='$CPP $CPPFLAGS'
34719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34722
34723
34724 fi
34725
34726   fi
34727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34728 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34729
34730   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34731
34732 for ac_func in powl
34733 do
34734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34735 echo "$as_me:$LINENO: checking for $ac_func" >&5
34736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34737 if eval "test \"\${$as_ac_var+set}\" = set"; then
34738   echo $ECHO_N "(cached) $ECHO_C" >&6
34739 else
34740   if test x$gcc_no_link = xyes; then
34741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34743    { (exit 1); exit 1; }; }
34744 fi
34745 cat >conftest.$ac_ext <<_ACEOF
34746 /* confdefs.h.  */
34747 _ACEOF
34748 cat confdefs.h >>conftest.$ac_ext
34749 cat >>conftest.$ac_ext <<_ACEOF
34750 /* end confdefs.h.  */
34751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34753 #define $ac_func innocuous_$ac_func
34754
34755 /* System header to define __stub macros and hopefully few prototypes,
34756     which can conflict with char $ac_func (); below.
34757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34758     <limits.h> exists even on freestanding compilers.  */
34759
34760 #ifdef __STDC__
34761 # include <limits.h>
34762 #else
34763 # include <assert.h>
34764 #endif
34765
34766 #undef $ac_func
34767
34768 /* Override any gcc2 internal prototype to avoid an error.  */
34769 #ifdef __cplusplus
34770 extern "C"
34771 {
34772 #endif
34773 /* We use char because int might match the return type of a gcc2
34774    builtin and then its argument prototype would still apply.  */
34775 char $ac_func ();
34776 /* The GNU C library defines this for functions which it implements
34777     to always fail with ENOSYS.  Some functions are actually named
34778     something starting with __ and the normal name is an alias.  */
34779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34780 choke me
34781 #else
34782 char (*f) () = $ac_func;
34783 #endif
34784 #ifdef __cplusplus
34785 }
34786 #endif
34787
34788 int
34789 main ()
34790 {
34791 return f != $ac_func;
34792   ;
34793   return 0;
34794 }
34795 _ACEOF
34796 rm -f conftest.$ac_objext conftest$ac_exeext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34798   (eval $ac_link) 2>conftest.er1
34799   ac_status=$?
34800   grep -v '^ *+' conftest.er1 >conftest.err
34801   rm -f conftest.er1
34802   cat conftest.err >&5
34803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804   (exit $ac_status); } &&
34805          { ac_try='test -z "$ac_c_werror_flag"
34806                          || test ! -s conftest.err'
34807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808   (eval $ac_try) 2>&5
34809   ac_status=$?
34810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811   (exit $ac_status); }; } &&
34812          { ac_try='test -s conftest$ac_exeext'
34813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814   (eval $ac_try) 2>&5
34815   ac_status=$?
34816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817   (exit $ac_status); }; }; then
34818   eval "$as_ac_var=yes"
34819 else
34820   echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 eval "$as_ac_var=no"
34824 fi
34825 rm -f conftest.err conftest.$ac_objext \
34826       conftest$ac_exeext conftest.$ac_ext
34827 fi
34828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34830 if test `eval echo '${'$as_ac_var'}'` = yes; then
34831   cat >>confdefs.h <<_ACEOF
34832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34833 _ACEOF
34834
34835 fi
34836 done
34837
34838   else
34839
34840   echo "$as_me:$LINENO: checking for _powl declaration" >&5
34841 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34842   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34843     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34844   echo $ECHO_N "(cached) $ECHO_C" >&6
34845 else
34846
34847
34848
34849       ac_ext=cc
34850 ac_cpp='$CXXCPP $CPPFLAGS'
34851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34854
34855       cat >conftest.$ac_ext <<_ACEOF
34856 /* confdefs.h.  */
34857 _ACEOF
34858 cat confdefs.h >>conftest.$ac_ext
34859 cat >>conftest.$ac_ext <<_ACEOF
34860 /* end confdefs.h.  */
34861 #include <math.h>
34862 int
34863 main ()
34864 {
34865  _powl(0, 0);
34866   ;
34867   return 0;
34868 }
34869 _ACEOF
34870 rm -f conftest.$ac_objext
34871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34872   (eval $ac_compile) 2>conftest.er1
34873   ac_status=$?
34874   grep -v '^ *+' conftest.er1 >conftest.err
34875   rm -f conftest.er1
34876   cat conftest.err >&5
34877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878   (exit $ac_status); } &&
34879          { ac_try='test -z "$ac_cxx_werror_flag"
34880                          || test ! -s conftest.err'
34881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882   (eval $ac_try) 2>&5
34883   ac_status=$?
34884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885   (exit $ac_status); }; } &&
34886          { ac_try='test -s conftest.$ac_objext'
34887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34888   (eval $ac_try) 2>&5
34889   ac_status=$?
34890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891   (exit $ac_status); }; }; then
34892   glibcxx_cv_func__powl_use=yes
34893 else
34894   echo "$as_me: failed program was:" >&5
34895 sed 's/^/| /' conftest.$ac_ext >&5
34896
34897 glibcxx_cv_func__powl_use=no
34898 fi
34899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34900       ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906
34907 fi
34908
34909   fi
34910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34911 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34912
34913     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34914
34915 for ac_func in _powl
34916 do
34917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34918 echo "$as_me:$LINENO: checking for $ac_func" >&5
34919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34920 if eval "test \"\${$as_ac_var+set}\" = set"; then
34921   echo $ECHO_N "(cached) $ECHO_C" >&6
34922 else
34923   if test x$gcc_no_link = xyes; then
34924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34926    { (exit 1); exit 1; }; }
34927 fi
34928 cat >conftest.$ac_ext <<_ACEOF
34929 /* confdefs.h.  */
34930 _ACEOF
34931 cat confdefs.h >>conftest.$ac_ext
34932 cat >>conftest.$ac_ext <<_ACEOF
34933 /* end confdefs.h.  */
34934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34936 #define $ac_func innocuous_$ac_func
34937
34938 /* System header to define __stub macros and hopefully few prototypes,
34939     which can conflict with char $ac_func (); below.
34940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34941     <limits.h> exists even on freestanding compilers.  */
34942
34943 #ifdef __STDC__
34944 # include <limits.h>
34945 #else
34946 # include <assert.h>
34947 #endif
34948
34949 #undef $ac_func
34950
34951 /* Override any gcc2 internal prototype to avoid an error.  */
34952 #ifdef __cplusplus
34953 extern "C"
34954 {
34955 #endif
34956 /* We use char because int might match the return type of a gcc2
34957    builtin and then its argument prototype would still apply.  */
34958 char $ac_func ();
34959 /* The GNU C library defines this for functions which it implements
34960     to always fail with ENOSYS.  Some functions are actually named
34961     something starting with __ and the normal name is an alias.  */
34962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34963 choke me
34964 #else
34965 char (*f) () = $ac_func;
34966 #endif
34967 #ifdef __cplusplus
34968 }
34969 #endif
34970
34971 int
34972 main ()
34973 {
34974 return f != $ac_func;
34975   ;
34976   return 0;
34977 }
34978 _ACEOF
34979 rm -f conftest.$ac_objext conftest$ac_exeext
34980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34981   (eval $ac_link) 2>conftest.er1
34982   ac_status=$?
34983   grep -v '^ *+' conftest.er1 >conftest.err
34984   rm -f conftest.er1
34985   cat conftest.err >&5
34986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987   (exit $ac_status); } &&
34988          { ac_try='test -z "$ac_c_werror_flag"
34989                          || test ! -s conftest.err'
34990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991   (eval $ac_try) 2>&5
34992   ac_status=$?
34993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994   (exit $ac_status); }; } &&
34995          { ac_try='test -s conftest$ac_exeext'
34996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997   (eval $ac_try) 2>&5
34998   ac_status=$?
34999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000   (exit $ac_status); }; }; then
35001   eval "$as_ac_var=yes"
35002 else
35003   echo "$as_me: failed program was:" >&5
35004 sed 's/^/| /' conftest.$ac_ext >&5
35005
35006 eval "$as_ac_var=no"
35007 fi
35008 rm -f conftest.err conftest.$ac_objext \
35009       conftest$ac_exeext conftest.$ac_ext
35010 fi
35011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35013 if test `eval echo '${'$as_ac_var'}'` = yes; then
35014   cat >>confdefs.h <<_ACEOF
35015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35016 _ACEOF
35017
35018 fi
35019 done
35020
35021     fi
35022   fi
35023
35024
35025
35026
35027
35028
35029   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
35030 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
35031   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35032     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
35033   echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035
35036
35037
35038       ac_ext=cc
35039 ac_cpp='$CXXCPP $CPPFLAGS'
35040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35043
35044       cat >conftest.$ac_ext <<_ACEOF
35045 /* confdefs.h.  */
35046 _ACEOF
35047 cat confdefs.h >>conftest.$ac_ext
35048 cat >>conftest.$ac_ext <<_ACEOF
35049 /* end confdefs.h.  */
35050 #include <math.h>
35051                       #ifdef HAVE_IEEEFP_H
35052                       #include <ieeefp.h>
35053                       #endif
35054
35055 int
35056 main ()
35057 {
35058  sqrtl(0);
35059   ;
35060   return 0;
35061 }
35062 _ACEOF
35063 rm -f conftest.$ac_objext
35064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35065   (eval $ac_compile) 2>conftest.er1
35066   ac_status=$?
35067   grep -v '^ *+' conftest.er1 >conftest.err
35068   rm -f conftest.er1
35069   cat conftest.err >&5
35070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071   (exit $ac_status); } &&
35072          { ac_try='test -z "$ac_cxx_werror_flag"
35073                          || test ! -s conftest.err'
35074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35075   (eval $ac_try) 2>&5
35076   ac_status=$?
35077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078   (exit $ac_status); }; } &&
35079          { ac_try='test -s conftest.$ac_objext'
35080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35081   (eval $ac_try) 2>&5
35082   ac_status=$?
35083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084   (exit $ac_status); }; }; then
35085   glibcxx_cv_func_sqrtl_use=yes
35086 else
35087   echo "$as_me: failed program was:" >&5
35088 sed 's/^/| /' conftest.$ac_ext >&5
35089
35090 glibcxx_cv_func_sqrtl_use=no
35091 fi
35092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35093       ac_ext=c
35094 ac_cpp='$CPP $CPPFLAGS'
35095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35098
35099
35100 fi
35101
35102   fi
35103   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35104 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35105
35106   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35107
35108 for ac_func in sqrtl
35109 do
35110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35111 echo "$as_me:$LINENO: checking for $ac_func" >&5
35112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35113 if eval "test \"\${$as_ac_var+set}\" = set"; then
35114   echo $ECHO_N "(cached) $ECHO_C" >&6
35115 else
35116   if test x$gcc_no_link = xyes; then
35117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35119    { (exit 1); exit 1; }; }
35120 fi
35121 cat >conftest.$ac_ext <<_ACEOF
35122 /* confdefs.h.  */
35123 _ACEOF
35124 cat confdefs.h >>conftest.$ac_ext
35125 cat >>conftest.$ac_ext <<_ACEOF
35126 /* end confdefs.h.  */
35127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35129 #define $ac_func innocuous_$ac_func
35130
35131 /* System header to define __stub macros and hopefully few prototypes,
35132     which can conflict with char $ac_func (); below.
35133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35134     <limits.h> exists even on freestanding compilers.  */
35135
35136 #ifdef __STDC__
35137 # include <limits.h>
35138 #else
35139 # include <assert.h>
35140 #endif
35141
35142 #undef $ac_func
35143
35144 /* Override any gcc2 internal prototype to avoid an error.  */
35145 #ifdef __cplusplus
35146 extern "C"
35147 {
35148 #endif
35149 /* We use char because int might match the return type of a gcc2
35150    builtin and then its argument prototype would still apply.  */
35151 char $ac_func ();
35152 /* The GNU C library defines this for functions which it implements
35153     to always fail with ENOSYS.  Some functions are actually named
35154     something starting with __ and the normal name is an alias.  */
35155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35156 choke me
35157 #else
35158 char (*f) () = $ac_func;
35159 #endif
35160 #ifdef __cplusplus
35161 }
35162 #endif
35163
35164 int
35165 main ()
35166 {
35167 return f != $ac_func;
35168   ;
35169   return 0;
35170 }
35171 _ACEOF
35172 rm -f conftest.$ac_objext conftest$ac_exeext
35173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35174   (eval $ac_link) 2>conftest.er1
35175   ac_status=$?
35176   grep -v '^ *+' conftest.er1 >conftest.err
35177   rm -f conftest.er1
35178   cat conftest.err >&5
35179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180   (exit $ac_status); } &&
35181          { ac_try='test -z "$ac_c_werror_flag"
35182                          || test ! -s conftest.err'
35183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184   (eval $ac_try) 2>&5
35185   ac_status=$?
35186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187   (exit $ac_status); }; } &&
35188          { ac_try='test -s conftest$ac_exeext'
35189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35190   (eval $ac_try) 2>&5
35191   ac_status=$?
35192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193   (exit $ac_status); }; }; then
35194   eval "$as_ac_var=yes"
35195 else
35196   echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.$ac_ext >&5
35198
35199 eval "$as_ac_var=no"
35200 fi
35201 rm -f conftest.err conftest.$ac_objext \
35202       conftest$ac_exeext conftest.$ac_ext
35203 fi
35204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35206 if test `eval echo '${'$as_ac_var'}'` = yes; then
35207   cat >>confdefs.h <<_ACEOF
35208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35209 _ACEOF
35210
35211 fi
35212 done
35213
35214   else
35215
35216   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35217 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35218   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35219     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35220   echo $ECHO_N "(cached) $ECHO_C" >&6
35221 else
35222
35223
35224
35225       ac_ext=cc
35226 ac_cpp='$CXXCPP $CPPFLAGS'
35227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35230
35231       cat >conftest.$ac_ext <<_ACEOF
35232 /* confdefs.h.  */
35233 _ACEOF
35234 cat confdefs.h >>conftest.$ac_ext
35235 cat >>conftest.$ac_ext <<_ACEOF
35236 /* end confdefs.h.  */
35237 #include <math.h>
35238                       #ifdef HAVE_IEEEFP_H
35239                       #include <ieeefp.h>
35240                       #endif
35241
35242 int
35243 main ()
35244 {
35245  _sqrtl(0);
35246   ;
35247   return 0;
35248 }
35249 _ACEOF
35250 rm -f conftest.$ac_objext
35251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35252   (eval $ac_compile) 2>conftest.er1
35253   ac_status=$?
35254   grep -v '^ *+' conftest.er1 >conftest.err
35255   rm -f conftest.er1
35256   cat conftest.err >&5
35257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258   (exit $ac_status); } &&
35259          { ac_try='test -z "$ac_cxx_werror_flag"
35260                          || test ! -s conftest.err'
35261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262   (eval $ac_try) 2>&5
35263   ac_status=$?
35264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265   (exit $ac_status); }; } &&
35266          { ac_try='test -s conftest.$ac_objext'
35267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268   (eval $ac_try) 2>&5
35269   ac_status=$?
35270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271   (exit $ac_status); }; }; then
35272   glibcxx_cv_func__sqrtl_use=yes
35273 else
35274   echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277 glibcxx_cv_func__sqrtl_use=no
35278 fi
35279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35280       ac_ext=c
35281 ac_cpp='$CPP $CPPFLAGS'
35282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35285
35286
35287 fi
35288
35289   fi
35290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35291 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35292
35293     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35294
35295 for ac_func in _sqrtl
35296 do
35297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35298 echo "$as_me:$LINENO: checking for $ac_func" >&5
35299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35300 if eval "test \"\${$as_ac_var+set}\" = set"; then
35301   echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303   if test x$gcc_no_link = xyes; then
35304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35306    { (exit 1); exit 1; }; }
35307 fi
35308 cat >conftest.$ac_ext <<_ACEOF
35309 /* confdefs.h.  */
35310 _ACEOF
35311 cat confdefs.h >>conftest.$ac_ext
35312 cat >>conftest.$ac_ext <<_ACEOF
35313 /* end confdefs.h.  */
35314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35316 #define $ac_func innocuous_$ac_func
35317
35318 /* System header to define __stub macros and hopefully few prototypes,
35319     which can conflict with char $ac_func (); below.
35320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35321     <limits.h> exists even on freestanding compilers.  */
35322
35323 #ifdef __STDC__
35324 # include <limits.h>
35325 #else
35326 # include <assert.h>
35327 #endif
35328
35329 #undef $ac_func
35330
35331 /* Override any gcc2 internal prototype to avoid an error.  */
35332 #ifdef __cplusplus
35333 extern "C"
35334 {
35335 #endif
35336 /* We use char because int might match the return type of a gcc2
35337    builtin and then its argument prototype would still apply.  */
35338 char $ac_func ();
35339 /* The GNU C library defines this for functions which it implements
35340     to always fail with ENOSYS.  Some functions are actually named
35341     something starting with __ and the normal name is an alias.  */
35342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35343 choke me
35344 #else
35345 char (*f) () = $ac_func;
35346 #endif
35347 #ifdef __cplusplus
35348 }
35349 #endif
35350
35351 int
35352 main ()
35353 {
35354 return f != $ac_func;
35355   ;
35356   return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext conftest$ac_exeext
35360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35361   (eval $ac_link) 2>conftest.er1
35362   ac_status=$?
35363   grep -v '^ *+' conftest.er1 >conftest.err
35364   rm -f conftest.er1
35365   cat conftest.err >&5
35366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367   (exit $ac_status); } &&
35368          { ac_try='test -z "$ac_c_werror_flag"
35369                          || test ! -s conftest.err'
35370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371   (eval $ac_try) 2>&5
35372   ac_status=$?
35373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374   (exit $ac_status); }; } &&
35375          { ac_try='test -s conftest$ac_exeext'
35376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377   (eval $ac_try) 2>&5
35378   ac_status=$?
35379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380   (exit $ac_status); }; }; then
35381   eval "$as_ac_var=yes"
35382 else
35383   echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 eval "$as_ac_var=no"
35387 fi
35388 rm -f conftest.err conftest.$ac_objext \
35389       conftest$ac_exeext conftest.$ac_ext
35390 fi
35391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35393 if test `eval echo '${'$as_ac_var'}'` = yes; then
35394   cat >>confdefs.h <<_ACEOF
35395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35396 _ACEOF
35397
35398 fi
35399 done
35400
35401     fi
35402   fi
35403
35404
35405
35406
35407
35408
35409   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35410 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35411   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35412     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35413   echo $ECHO_N "(cached) $ECHO_C" >&6
35414 else
35415
35416
35417
35418       ac_ext=cc
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423
35424       cat >conftest.$ac_ext <<_ACEOF
35425 /* confdefs.h.  */
35426 _ACEOF
35427 cat confdefs.h >>conftest.$ac_ext
35428 cat >>conftest.$ac_ext <<_ACEOF
35429 /* end confdefs.h.  */
35430 #include <math.h>
35431 int
35432 main ()
35433 {
35434  sincosl(0, 0, 0);
35435   ;
35436   return 0;
35437 }
35438 _ACEOF
35439 rm -f conftest.$ac_objext
35440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35441   (eval $ac_compile) 2>conftest.er1
35442   ac_status=$?
35443   grep -v '^ *+' conftest.er1 >conftest.err
35444   rm -f conftest.er1
35445   cat conftest.err >&5
35446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447   (exit $ac_status); } &&
35448          { ac_try='test -z "$ac_cxx_werror_flag"
35449                          || test ! -s conftest.err'
35450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451   (eval $ac_try) 2>&5
35452   ac_status=$?
35453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454   (exit $ac_status); }; } &&
35455          { ac_try='test -s conftest.$ac_objext'
35456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457   (eval $ac_try) 2>&5
35458   ac_status=$?
35459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460   (exit $ac_status); }; }; then
35461   glibcxx_cv_func_sincosl_use=yes
35462 else
35463   echo "$as_me: failed program was:" >&5
35464 sed 's/^/| /' conftest.$ac_ext >&5
35465
35466 glibcxx_cv_func_sincosl_use=no
35467 fi
35468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35469       ac_ext=c
35470 ac_cpp='$CPP $CPPFLAGS'
35471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35474
35475
35476 fi
35477
35478   fi
35479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35480 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35481
35482   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35483
35484 for ac_func in sincosl
35485 do
35486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35487 echo "$as_me:$LINENO: checking for $ac_func" >&5
35488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35489 if eval "test \"\${$as_ac_var+set}\" = set"; then
35490   echo $ECHO_N "(cached) $ECHO_C" >&6
35491 else
35492   if test x$gcc_no_link = xyes; then
35493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35495    { (exit 1); exit 1; }; }
35496 fi
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h.  */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h.  */
35503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35505 #define $ac_func innocuous_$ac_func
35506
35507 /* System header to define __stub macros and hopefully few prototypes,
35508     which can conflict with char $ac_func (); below.
35509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35510     <limits.h> exists even on freestanding compilers.  */
35511
35512 #ifdef __STDC__
35513 # include <limits.h>
35514 #else
35515 # include <assert.h>
35516 #endif
35517
35518 #undef $ac_func
35519
35520 /* Override any gcc2 internal prototype to avoid an error.  */
35521 #ifdef __cplusplus
35522 extern "C"
35523 {
35524 #endif
35525 /* We use char because int might match the return type of a gcc2
35526    builtin and then its argument prototype would still apply.  */
35527 char $ac_func ();
35528 /* The GNU C library defines this for functions which it implements
35529     to always fail with ENOSYS.  Some functions are actually named
35530     something starting with __ and the normal name is an alias.  */
35531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35532 choke me
35533 #else
35534 char (*f) () = $ac_func;
35535 #endif
35536 #ifdef __cplusplus
35537 }
35538 #endif
35539
35540 int
35541 main ()
35542 {
35543 return f != $ac_func;
35544   ;
35545   return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35550   (eval $ac_link) 2>conftest.er1
35551   ac_status=$?
35552   grep -v '^ *+' conftest.er1 >conftest.err
35553   rm -f conftest.er1
35554   cat conftest.err >&5
35555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556   (exit $ac_status); } &&
35557          { ac_try='test -z "$ac_c_werror_flag"
35558                          || test ! -s conftest.err'
35559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560   (eval $ac_try) 2>&5
35561   ac_status=$?
35562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563   (exit $ac_status); }; } &&
35564          { ac_try='test -s conftest$ac_exeext'
35565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566   (eval $ac_try) 2>&5
35567   ac_status=$?
35568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569   (exit $ac_status); }; }; then
35570   eval "$as_ac_var=yes"
35571 else
35572   echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575 eval "$as_ac_var=no"
35576 fi
35577 rm -f conftest.err conftest.$ac_objext \
35578       conftest$ac_exeext conftest.$ac_ext
35579 fi
35580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35582 if test `eval echo '${'$as_ac_var'}'` = yes; then
35583   cat >>confdefs.h <<_ACEOF
35584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35585 _ACEOF
35586
35587 fi
35588 done
35589
35590   else
35591
35592   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35593 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35594   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35595     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35596   echo $ECHO_N "(cached) $ECHO_C" >&6
35597 else
35598
35599
35600
35601       ac_ext=cc
35602 ac_cpp='$CXXCPP $CPPFLAGS'
35603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35606
35607       cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h.  */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h.  */
35613 #include <math.h>
35614 int
35615 main ()
35616 {
35617  _sincosl(0, 0, 0);
35618   ;
35619   return 0;
35620 }
35621 _ACEOF
35622 rm -f conftest.$ac_objext
35623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35624   (eval $ac_compile) 2>conftest.er1
35625   ac_status=$?
35626   grep -v '^ *+' conftest.er1 >conftest.err
35627   rm -f conftest.er1
35628   cat conftest.err >&5
35629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630   (exit $ac_status); } &&
35631          { ac_try='test -z "$ac_cxx_werror_flag"
35632                          || test ! -s conftest.err'
35633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634   (eval $ac_try) 2>&5
35635   ac_status=$?
35636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637   (exit $ac_status); }; } &&
35638          { ac_try='test -s conftest.$ac_objext'
35639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640   (eval $ac_try) 2>&5
35641   ac_status=$?
35642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643   (exit $ac_status); }; }; then
35644   glibcxx_cv_func__sincosl_use=yes
35645 else
35646   echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.$ac_ext >&5
35648
35649 glibcxx_cv_func__sincosl_use=no
35650 fi
35651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35652       ac_ext=c
35653 ac_cpp='$CPP $CPPFLAGS'
35654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35657
35658
35659 fi
35660
35661   fi
35662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35663 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35664
35665     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35666
35667 for ac_func in _sincosl
35668 do
35669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35670 echo "$as_me:$LINENO: checking for $ac_func" >&5
35671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35672 if eval "test \"\${$as_ac_var+set}\" = set"; then
35673   echo $ECHO_N "(cached) $ECHO_C" >&6
35674 else
35675   if test x$gcc_no_link = xyes; then
35676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35678    { (exit 1); exit 1; }; }
35679 fi
35680 cat >conftest.$ac_ext <<_ACEOF
35681 /* confdefs.h.  */
35682 _ACEOF
35683 cat confdefs.h >>conftest.$ac_ext
35684 cat >>conftest.$ac_ext <<_ACEOF
35685 /* end confdefs.h.  */
35686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35688 #define $ac_func innocuous_$ac_func
35689
35690 /* System header to define __stub macros and hopefully few prototypes,
35691     which can conflict with char $ac_func (); below.
35692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35693     <limits.h> exists even on freestanding compilers.  */
35694
35695 #ifdef __STDC__
35696 # include <limits.h>
35697 #else
35698 # include <assert.h>
35699 #endif
35700
35701 #undef $ac_func
35702
35703 /* Override any gcc2 internal prototype to avoid an error.  */
35704 #ifdef __cplusplus
35705 extern "C"
35706 {
35707 #endif
35708 /* We use char because int might match the return type of a gcc2
35709    builtin and then its argument prototype would still apply.  */
35710 char $ac_func ();
35711 /* The GNU C library defines this for functions which it implements
35712     to always fail with ENOSYS.  Some functions are actually named
35713     something starting with __ and the normal name is an alias.  */
35714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35715 choke me
35716 #else
35717 char (*f) () = $ac_func;
35718 #endif
35719 #ifdef __cplusplus
35720 }
35721 #endif
35722
35723 int
35724 main ()
35725 {
35726 return f != $ac_func;
35727   ;
35728   return 0;
35729 }
35730 _ACEOF
35731 rm -f conftest.$ac_objext conftest$ac_exeext
35732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35733   (eval $ac_link) 2>conftest.er1
35734   ac_status=$?
35735   grep -v '^ *+' conftest.er1 >conftest.err
35736   rm -f conftest.er1
35737   cat conftest.err >&5
35738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739   (exit $ac_status); } &&
35740          { ac_try='test -z "$ac_c_werror_flag"
35741                          || test ! -s conftest.err'
35742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743   (eval $ac_try) 2>&5
35744   ac_status=$?
35745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746   (exit $ac_status); }; } &&
35747          { ac_try='test -s conftest$ac_exeext'
35748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35749   (eval $ac_try) 2>&5
35750   ac_status=$?
35751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752   (exit $ac_status); }; }; then
35753   eval "$as_ac_var=yes"
35754 else
35755   echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 eval "$as_ac_var=no"
35759 fi
35760 rm -f conftest.err conftest.$ac_objext \
35761       conftest$ac_exeext conftest.$ac_ext
35762 fi
35763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35765 if test `eval echo '${'$as_ac_var'}'` = yes; then
35766   cat >>confdefs.h <<_ACEOF
35767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35768 _ACEOF
35769
35770 fi
35771 done
35772
35773     fi
35774   fi
35775
35776
35777
35778
35779
35780
35781   echo "$as_me:$LINENO: checking for finitel declaration" >&5
35782 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35783   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35784     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35785   echo $ECHO_N "(cached) $ECHO_C" >&6
35786 else
35787
35788
35789
35790       ac_ext=cc
35791 ac_cpp='$CXXCPP $CPPFLAGS'
35792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35795
35796       cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h.  */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h.  */
35802 #include <math.h>
35803                       #ifdef HAVE_IEEEFP_H
35804                       #include <ieeefp.h>
35805                       #endif
35806
35807 int
35808 main ()
35809 {
35810  finitel(0);
35811   ;
35812   return 0;
35813 }
35814 _ACEOF
35815 rm -f conftest.$ac_objext
35816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35817   (eval $ac_compile) 2>conftest.er1
35818   ac_status=$?
35819   grep -v '^ *+' conftest.er1 >conftest.err
35820   rm -f conftest.er1
35821   cat conftest.err >&5
35822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823   (exit $ac_status); } &&
35824          { ac_try='test -z "$ac_cxx_werror_flag"
35825                          || test ! -s conftest.err'
35826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35827   (eval $ac_try) 2>&5
35828   ac_status=$?
35829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830   (exit $ac_status); }; } &&
35831          { ac_try='test -s conftest.$ac_objext'
35832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833   (eval $ac_try) 2>&5
35834   ac_status=$?
35835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836   (exit $ac_status); }; }; then
35837   glibcxx_cv_func_finitel_use=yes
35838 else
35839   echo "$as_me: failed program was:" >&5
35840 sed 's/^/| /' conftest.$ac_ext >&5
35841
35842 glibcxx_cv_func_finitel_use=no
35843 fi
35844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35845       ac_ext=c
35846 ac_cpp='$CPP $CPPFLAGS'
35847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35850
35851
35852 fi
35853
35854   fi
35855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35856 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35857
35858   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35859
35860 for ac_func in finitel
35861 do
35862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35863 echo "$as_me:$LINENO: checking for $ac_func" >&5
35864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35865 if eval "test \"\${$as_ac_var+set}\" = set"; then
35866   echo $ECHO_N "(cached) $ECHO_C" >&6
35867 else
35868   if test x$gcc_no_link = xyes; then
35869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35871    { (exit 1); exit 1; }; }
35872 fi
35873 cat >conftest.$ac_ext <<_ACEOF
35874 /* confdefs.h.  */
35875 _ACEOF
35876 cat confdefs.h >>conftest.$ac_ext
35877 cat >>conftest.$ac_ext <<_ACEOF
35878 /* end confdefs.h.  */
35879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35881 #define $ac_func innocuous_$ac_func
35882
35883 /* System header to define __stub macros and hopefully few prototypes,
35884     which can conflict with char $ac_func (); below.
35885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35886     <limits.h> exists even on freestanding compilers.  */
35887
35888 #ifdef __STDC__
35889 # include <limits.h>
35890 #else
35891 # include <assert.h>
35892 #endif
35893
35894 #undef $ac_func
35895
35896 /* Override any gcc2 internal prototype to avoid an error.  */
35897 #ifdef __cplusplus
35898 extern "C"
35899 {
35900 #endif
35901 /* We use char because int might match the return type of a gcc2
35902    builtin and then its argument prototype would still apply.  */
35903 char $ac_func ();
35904 /* The GNU C library defines this for functions which it implements
35905     to always fail with ENOSYS.  Some functions are actually named
35906     something starting with __ and the normal name is an alias.  */
35907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35908 choke me
35909 #else
35910 char (*f) () = $ac_func;
35911 #endif
35912 #ifdef __cplusplus
35913 }
35914 #endif
35915
35916 int
35917 main ()
35918 {
35919 return f != $ac_func;
35920   ;
35921   return 0;
35922 }
35923 _ACEOF
35924 rm -f conftest.$ac_objext conftest$ac_exeext
35925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35926   (eval $ac_link) 2>conftest.er1
35927   ac_status=$?
35928   grep -v '^ *+' conftest.er1 >conftest.err
35929   rm -f conftest.er1
35930   cat conftest.err >&5
35931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35932   (exit $ac_status); } &&
35933          { ac_try='test -z "$ac_c_werror_flag"
35934                          || test ! -s conftest.err'
35935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35936   (eval $ac_try) 2>&5
35937   ac_status=$?
35938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939   (exit $ac_status); }; } &&
35940          { ac_try='test -s conftest$ac_exeext'
35941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35942   (eval $ac_try) 2>&5
35943   ac_status=$?
35944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945   (exit $ac_status); }; }; then
35946   eval "$as_ac_var=yes"
35947 else
35948   echo "$as_me: failed program was:" >&5
35949 sed 's/^/| /' conftest.$ac_ext >&5
35950
35951 eval "$as_ac_var=no"
35952 fi
35953 rm -f conftest.err conftest.$ac_objext \
35954       conftest$ac_exeext conftest.$ac_ext
35955 fi
35956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35958 if test `eval echo '${'$as_ac_var'}'` = yes; then
35959   cat >>confdefs.h <<_ACEOF
35960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35961 _ACEOF
35962
35963 fi
35964 done
35965
35966   else
35967
35968   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35969 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35970   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35971     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35972   echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974
35975
35976
35977       ac_ext=cc
35978 ac_cpp='$CXXCPP $CPPFLAGS'
35979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35982
35983       cat >conftest.$ac_ext <<_ACEOF
35984 /* confdefs.h.  */
35985 _ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h.  */
35989 #include <math.h>
35990                       #ifdef HAVE_IEEEFP_H
35991                       #include <ieeefp.h>
35992                       #endif
35993
35994 int
35995 main ()
35996 {
35997  _finitel(0);
35998   ;
35999   return 0;
36000 }
36001 _ACEOF
36002 rm -f conftest.$ac_objext
36003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36004   (eval $ac_compile) 2>conftest.er1
36005   ac_status=$?
36006   grep -v '^ *+' conftest.er1 >conftest.err
36007   rm -f conftest.er1
36008   cat conftest.err >&5
36009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010   (exit $ac_status); } &&
36011          { ac_try='test -z "$ac_cxx_werror_flag"
36012                          || test ! -s conftest.err'
36013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014   (eval $ac_try) 2>&5
36015   ac_status=$?
36016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017   (exit $ac_status); }; } &&
36018          { ac_try='test -s conftest.$ac_objext'
36019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020   (eval $ac_try) 2>&5
36021   ac_status=$?
36022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023   (exit $ac_status); }; }; then
36024   glibcxx_cv_func__finitel_use=yes
36025 else
36026   echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36028
36029 glibcxx_cv_func__finitel_use=no
36030 fi
36031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36032       ac_ext=c
36033 ac_cpp='$CPP $CPPFLAGS'
36034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36037
36038
36039 fi
36040
36041   fi
36042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
36043 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
36044
36045     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
36046
36047 for ac_func in _finitel
36048 do
36049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36050 echo "$as_me:$LINENO: checking for $ac_func" >&5
36051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36052 if eval "test \"\${$as_ac_var+set}\" = set"; then
36053   echo $ECHO_N "(cached) $ECHO_C" >&6
36054 else
36055   if test x$gcc_no_link = xyes; then
36056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36058    { (exit 1); exit 1; }; }
36059 fi
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h.  */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h.  */
36066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36068 #define $ac_func innocuous_$ac_func
36069
36070 /* System header to define __stub macros and hopefully few prototypes,
36071     which can conflict with char $ac_func (); below.
36072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36073     <limits.h> exists even on freestanding compilers.  */
36074
36075 #ifdef __STDC__
36076 # include <limits.h>
36077 #else
36078 # include <assert.h>
36079 #endif
36080
36081 #undef $ac_func
36082
36083 /* Override any gcc2 internal prototype to avoid an error.  */
36084 #ifdef __cplusplus
36085 extern "C"
36086 {
36087 #endif
36088 /* We use char because int might match the return type of a gcc2
36089    builtin and then its argument prototype would still apply.  */
36090 char $ac_func ();
36091 /* The GNU C library defines this for functions which it implements
36092     to always fail with ENOSYS.  Some functions are actually named
36093     something starting with __ and the normal name is an alias.  */
36094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36095 choke me
36096 #else
36097 char (*f) () = $ac_func;
36098 #endif
36099 #ifdef __cplusplus
36100 }
36101 #endif
36102
36103 int
36104 main ()
36105 {
36106 return f != $ac_func;
36107   ;
36108   return 0;
36109 }
36110 _ACEOF
36111 rm -f conftest.$ac_objext conftest$ac_exeext
36112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36113   (eval $ac_link) 2>conftest.er1
36114   ac_status=$?
36115   grep -v '^ *+' conftest.er1 >conftest.err
36116   rm -f conftest.er1
36117   cat conftest.err >&5
36118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119   (exit $ac_status); } &&
36120          { ac_try='test -z "$ac_c_werror_flag"
36121                          || test ! -s conftest.err'
36122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123   (eval $ac_try) 2>&5
36124   ac_status=$?
36125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126   (exit $ac_status); }; } &&
36127          { ac_try='test -s conftest$ac_exeext'
36128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129   (eval $ac_try) 2>&5
36130   ac_status=$?
36131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132   (exit $ac_status); }; }; then
36133   eval "$as_ac_var=yes"
36134 else
36135   echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.$ac_ext >&5
36137
36138 eval "$as_ac_var=no"
36139 fi
36140 rm -f conftest.err conftest.$ac_objext \
36141       conftest$ac_exeext conftest.$ac_ext
36142 fi
36143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36145 if test `eval echo '${'$as_ac_var'}'` = yes; then
36146   cat >>confdefs.h <<_ACEOF
36147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36148 _ACEOF
36149
36150 fi
36151 done
36152
36153     fi
36154   fi
36155
36156
36157
36158
36159
36160   LIBS="$ac_save_LIBS"
36161   CXXFLAGS="$ac_save_CXXFLAGS"
36162
36163
36164
36165   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36166 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36167   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36168     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36169   echo $ECHO_N "(cached) $ECHO_C" >&6
36170 else
36171
36172
36173
36174       ac_ext=cc
36175 ac_cpp='$CXXCPP $CPPFLAGS'
36176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179
36180       cat >conftest.$ac_ext <<_ACEOF
36181 /* confdefs.h.  */
36182 _ACEOF
36183 cat confdefs.h >>conftest.$ac_ext
36184 cat >>conftest.$ac_ext <<_ACEOF
36185 /* end confdefs.h.  */
36186 #include <math.h>
36187 int
36188 main ()
36189 {
36190  __builtin_abs(0);
36191   ;
36192   return 0;
36193 }
36194 _ACEOF
36195 rm -f conftest.$ac_objext
36196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36197   (eval $ac_compile) 2>conftest.er1
36198   ac_status=$?
36199   grep -v '^ *+' conftest.er1 >conftest.err
36200   rm -f conftest.er1
36201   cat conftest.err >&5
36202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203   (exit $ac_status); } &&
36204          { ac_try='test -z "$ac_cxx_werror_flag"
36205                          || test ! -s conftest.err'
36206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36207   (eval $ac_try) 2>&5
36208   ac_status=$?
36209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210   (exit $ac_status); }; } &&
36211          { ac_try='test -s conftest.$ac_objext'
36212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36213   (eval $ac_try) 2>&5
36214   ac_status=$?
36215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216   (exit $ac_status); }; }; then
36217   glibcxx_cv_func___builtin_abs_use=yes
36218 else
36219   echo "$as_me: failed program was:" >&5
36220 sed 's/^/| /' conftest.$ac_ext >&5
36221
36222 glibcxx_cv_func___builtin_abs_use=no
36223 fi
36224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36225       ac_ext=c
36226 ac_cpp='$CPP $CPPFLAGS'
36227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36230
36231
36232 fi
36233
36234   fi
36235   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36236 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36237   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36238     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36239 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36240     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36241       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36242   echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244
36245         if test x$gcc_no_link = xyes; then
36246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36248    { (exit 1); exit 1; }; }
36249 fi
36250 cat >conftest.$ac_ext <<_ACEOF
36251 /* confdefs.h.  */
36252 _ACEOF
36253 cat confdefs.h >>conftest.$ac_ext
36254 cat >>conftest.$ac_ext <<_ACEOF
36255 /* end confdefs.h.  */
36256 #include <math.h>
36257 int
36258 main ()
36259 {
36260  __builtin_abs(0);
36261   ;
36262   return 0;
36263 }
36264 _ACEOF
36265 rm -f conftest.$ac_objext conftest$ac_exeext
36266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36267   (eval $ac_link) 2>conftest.er1
36268   ac_status=$?
36269   grep -v '^ *+' conftest.er1 >conftest.err
36270   rm -f conftest.er1
36271   cat conftest.err >&5
36272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273   (exit $ac_status); } &&
36274          { ac_try='test -z "$ac_c_werror_flag"
36275                          || test ! -s conftest.err'
36276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36277   (eval $ac_try) 2>&5
36278   ac_status=$?
36279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280   (exit $ac_status); }; } &&
36281          { ac_try='test -s conftest$ac_exeext'
36282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36283   (eval $ac_try) 2>&5
36284   ac_status=$?
36285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286   (exit $ac_status); }; }; then
36287   glibcxx_cv_func___builtin_abs_link=yes
36288 else
36289   echo "$as_me: failed program was:" >&5
36290 sed 's/^/| /' conftest.$ac_ext >&5
36291
36292 glibcxx_cv_func___builtin_abs_link=no
36293 fi
36294 rm -f conftest.err conftest.$ac_objext \
36295       conftest$ac_exeext conftest.$ac_ext
36296
36297 fi
36298
36299     fi
36300     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36301 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36302
36303     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36304
36305 cat >>confdefs.h <<\_ACEOF
36306 #define HAVE___BUILTIN_ABS 1
36307 _ACEOF
36308
36309     fi
36310
36311   fi
36312
36313
36314   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36315 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36316   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36317     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36318   echo $ECHO_N "(cached) $ECHO_C" >&6
36319 else
36320
36321
36322
36323       ac_ext=cc
36324 ac_cpp='$CXXCPP $CPPFLAGS'
36325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36328
36329       cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h.  */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h.  */
36335 #include <math.h>
36336 int
36337 main ()
36338 {
36339  __builtin_fabsf(0);
36340   ;
36341   return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36346   (eval $ac_compile) 2>conftest.er1
36347   ac_status=$?
36348   grep -v '^ *+' conftest.er1 >conftest.err
36349   rm -f conftest.er1
36350   cat conftest.err >&5
36351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352   (exit $ac_status); } &&
36353          { ac_try='test -z "$ac_cxx_werror_flag"
36354                          || test ! -s conftest.err'
36355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356   (eval $ac_try) 2>&5
36357   ac_status=$?
36358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359   (exit $ac_status); }; } &&
36360          { ac_try='test -s conftest.$ac_objext'
36361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362   (eval $ac_try) 2>&5
36363   ac_status=$?
36364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365   (exit $ac_status); }; }; then
36366   glibcxx_cv_func___builtin_fabsf_use=yes
36367 else
36368   echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36370
36371 glibcxx_cv_func___builtin_fabsf_use=no
36372 fi
36373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36374       ac_ext=c
36375 ac_cpp='$CPP $CPPFLAGS'
36376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36379
36380
36381 fi
36382
36383   fi
36384   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36385 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36386   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36387     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36388 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36389     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36390       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36391   echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393
36394         if test x$gcc_no_link = xyes; then
36395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36397    { (exit 1); exit 1; }; }
36398 fi
36399 cat >conftest.$ac_ext <<_ACEOF
36400 /* confdefs.h.  */
36401 _ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h.  */
36405 #include <math.h>
36406 int
36407 main ()
36408 {
36409  __builtin_fabsf(0);
36410   ;
36411   return 0;
36412 }
36413 _ACEOF
36414 rm -f conftest.$ac_objext conftest$ac_exeext
36415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36416   (eval $ac_link) 2>conftest.er1
36417   ac_status=$?
36418   grep -v '^ *+' conftest.er1 >conftest.err
36419   rm -f conftest.er1
36420   cat conftest.err >&5
36421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422   (exit $ac_status); } &&
36423          { ac_try='test -z "$ac_c_werror_flag"
36424                          || test ! -s conftest.err'
36425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426   (eval $ac_try) 2>&5
36427   ac_status=$?
36428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429   (exit $ac_status); }; } &&
36430          { ac_try='test -s conftest$ac_exeext'
36431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432   (eval $ac_try) 2>&5
36433   ac_status=$?
36434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435   (exit $ac_status); }; }; then
36436   glibcxx_cv_func___builtin_fabsf_link=yes
36437 else
36438   echo "$as_me: failed program was:" >&5
36439 sed 's/^/| /' conftest.$ac_ext >&5
36440
36441 glibcxx_cv_func___builtin_fabsf_link=no
36442 fi
36443 rm -f conftest.err conftest.$ac_objext \
36444       conftest$ac_exeext conftest.$ac_ext
36445
36446 fi
36447
36448     fi
36449     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36450 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36451
36452     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36453
36454 cat >>confdefs.h <<\_ACEOF
36455 #define HAVE___BUILTIN_FABSF 1
36456 _ACEOF
36457
36458     fi
36459
36460   fi
36461
36462
36463   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36464 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36465   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36466     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36467   echo $ECHO_N "(cached) $ECHO_C" >&6
36468 else
36469
36470
36471
36472       ac_ext=cc
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36477
36478       cat >conftest.$ac_ext <<_ACEOF
36479 /* confdefs.h.  */
36480 _ACEOF
36481 cat confdefs.h >>conftest.$ac_ext
36482 cat >>conftest.$ac_ext <<_ACEOF
36483 /* end confdefs.h.  */
36484 #include <math.h>
36485 int
36486 main ()
36487 {
36488  __builtin_fabs(0);
36489   ;
36490   return 0;
36491 }
36492 _ACEOF
36493 rm -f conftest.$ac_objext
36494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36495   (eval $ac_compile) 2>conftest.er1
36496   ac_status=$?
36497   grep -v '^ *+' conftest.er1 >conftest.err
36498   rm -f conftest.er1
36499   cat conftest.err >&5
36500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501   (exit $ac_status); } &&
36502          { ac_try='test -z "$ac_cxx_werror_flag"
36503                          || test ! -s conftest.err'
36504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36505   (eval $ac_try) 2>&5
36506   ac_status=$?
36507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508   (exit $ac_status); }; } &&
36509          { ac_try='test -s conftest.$ac_objext'
36510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511   (eval $ac_try) 2>&5
36512   ac_status=$?
36513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514   (exit $ac_status); }; }; then
36515   glibcxx_cv_func___builtin_fabs_use=yes
36516 else
36517   echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.$ac_ext >&5
36519
36520 glibcxx_cv_func___builtin_fabs_use=no
36521 fi
36522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36523       ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528
36529
36530 fi
36531
36532   fi
36533   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36534 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36535   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36536     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36537 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36538     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36539       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36540   echo $ECHO_N "(cached) $ECHO_C" >&6
36541 else
36542
36543         if test x$gcc_no_link = xyes; then
36544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36546    { (exit 1); exit 1; }; }
36547 fi
36548 cat >conftest.$ac_ext <<_ACEOF
36549 /* confdefs.h.  */
36550 _ACEOF
36551 cat confdefs.h >>conftest.$ac_ext
36552 cat >>conftest.$ac_ext <<_ACEOF
36553 /* end confdefs.h.  */
36554 #include <math.h>
36555 int
36556 main ()
36557 {
36558  __builtin_fabs(0);
36559   ;
36560   return 0;
36561 }
36562 _ACEOF
36563 rm -f conftest.$ac_objext conftest$ac_exeext
36564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36565   (eval $ac_link) 2>conftest.er1
36566   ac_status=$?
36567   grep -v '^ *+' conftest.er1 >conftest.err
36568   rm -f conftest.er1
36569   cat conftest.err >&5
36570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36571   (exit $ac_status); } &&
36572          { ac_try='test -z "$ac_c_werror_flag"
36573                          || test ! -s conftest.err'
36574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575   (eval $ac_try) 2>&5
36576   ac_status=$?
36577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578   (exit $ac_status); }; } &&
36579          { ac_try='test -s conftest$ac_exeext'
36580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36581   (eval $ac_try) 2>&5
36582   ac_status=$?
36583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584   (exit $ac_status); }; }; then
36585   glibcxx_cv_func___builtin_fabs_link=yes
36586 else
36587   echo "$as_me: failed program was:" >&5
36588 sed 's/^/| /' conftest.$ac_ext >&5
36589
36590 glibcxx_cv_func___builtin_fabs_link=no
36591 fi
36592 rm -f conftest.err conftest.$ac_objext \
36593       conftest$ac_exeext conftest.$ac_ext
36594
36595 fi
36596
36597     fi
36598     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36599 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36600
36601     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36602
36603 cat >>confdefs.h <<\_ACEOF
36604 #define HAVE___BUILTIN_FABS 1
36605 _ACEOF
36606
36607     fi
36608
36609   fi
36610
36611
36612   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36613 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36614   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36615     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36616   echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618
36619
36620
36621       ac_ext=cc
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36626
36627       cat >conftest.$ac_ext <<_ACEOF
36628 /* confdefs.h.  */
36629 _ACEOF
36630 cat confdefs.h >>conftest.$ac_ext
36631 cat >>conftest.$ac_ext <<_ACEOF
36632 /* end confdefs.h.  */
36633 #include <math.h>
36634 int
36635 main ()
36636 {
36637  __builtin_fabsl(0);
36638   ;
36639   return 0;
36640 }
36641 _ACEOF
36642 rm -f conftest.$ac_objext
36643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36644   (eval $ac_compile) 2>conftest.er1
36645   ac_status=$?
36646   grep -v '^ *+' conftest.er1 >conftest.err
36647   rm -f conftest.er1
36648   cat conftest.err >&5
36649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650   (exit $ac_status); } &&
36651          { ac_try='test -z "$ac_cxx_werror_flag"
36652                          || test ! -s conftest.err'
36653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36654   (eval $ac_try) 2>&5
36655   ac_status=$?
36656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657   (exit $ac_status); }; } &&
36658          { ac_try='test -s conftest.$ac_objext'
36659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660   (eval $ac_try) 2>&5
36661   ac_status=$?
36662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663   (exit $ac_status); }; }; then
36664   glibcxx_cv_func___builtin_fabsl_use=yes
36665 else
36666   echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 glibcxx_cv_func___builtin_fabsl_use=no
36670 fi
36671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36672       ac_ext=c
36673 ac_cpp='$CPP $CPPFLAGS'
36674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36677
36678
36679 fi
36680
36681   fi
36682   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36683 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36684   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36685     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36686 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36687     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36688       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36689   echo $ECHO_N "(cached) $ECHO_C" >&6
36690 else
36691
36692         if test x$gcc_no_link = xyes; then
36693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36695    { (exit 1); exit 1; }; }
36696 fi
36697 cat >conftest.$ac_ext <<_ACEOF
36698 /* confdefs.h.  */
36699 _ACEOF
36700 cat confdefs.h >>conftest.$ac_ext
36701 cat >>conftest.$ac_ext <<_ACEOF
36702 /* end confdefs.h.  */
36703 #include <math.h>
36704 int
36705 main ()
36706 {
36707  __builtin_fabsl(0);
36708   ;
36709   return 0;
36710 }
36711 _ACEOF
36712 rm -f conftest.$ac_objext conftest$ac_exeext
36713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36714   (eval $ac_link) 2>conftest.er1
36715   ac_status=$?
36716   grep -v '^ *+' conftest.er1 >conftest.err
36717   rm -f conftest.er1
36718   cat conftest.err >&5
36719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720   (exit $ac_status); } &&
36721          { ac_try='test -z "$ac_c_werror_flag"
36722                          || test ! -s conftest.err'
36723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724   (eval $ac_try) 2>&5
36725   ac_status=$?
36726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727   (exit $ac_status); }; } &&
36728          { ac_try='test -s conftest$ac_exeext'
36729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730   (eval $ac_try) 2>&5
36731   ac_status=$?
36732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733   (exit $ac_status); }; }; then
36734   glibcxx_cv_func___builtin_fabsl_link=yes
36735 else
36736   echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.$ac_ext >&5
36738
36739 glibcxx_cv_func___builtin_fabsl_link=no
36740 fi
36741 rm -f conftest.err conftest.$ac_objext \
36742       conftest$ac_exeext conftest.$ac_ext
36743
36744 fi
36745
36746     fi
36747     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36748 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36749
36750     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36751
36752 cat >>confdefs.h <<\_ACEOF
36753 #define HAVE___BUILTIN_FABSL 1
36754 _ACEOF
36755
36756     fi
36757
36758   fi
36759
36760
36761   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36762 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36763   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36764     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36765   echo $ECHO_N "(cached) $ECHO_C" >&6
36766 else
36767
36768
36769
36770       ac_ext=cc
36771 ac_cpp='$CXXCPP $CPPFLAGS'
36772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36775
36776       cat >conftest.$ac_ext <<_ACEOF
36777 /* confdefs.h.  */
36778 _ACEOF
36779 cat confdefs.h >>conftest.$ac_ext
36780 cat >>conftest.$ac_ext <<_ACEOF
36781 /* end confdefs.h.  */
36782 #include <math.h>
36783 int
36784 main ()
36785 {
36786  __builtin_labs(0);
36787   ;
36788   return 0;
36789 }
36790 _ACEOF
36791 rm -f conftest.$ac_objext
36792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36793   (eval $ac_compile) 2>conftest.er1
36794   ac_status=$?
36795   grep -v '^ *+' conftest.er1 >conftest.err
36796   rm -f conftest.er1
36797   cat conftest.err >&5
36798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799   (exit $ac_status); } &&
36800          { ac_try='test -z "$ac_cxx_werror_flag"
36801                          || test ! -s conftest.err'
36802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36803   (eval $ac_try) 2>&5
36804   ac_status=$?
36805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806   (exit $ac_status); }; } &&
36807          { ac_try='test -s conftest.$ac_objext'
36808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36809   (eval $ac_try) 2>&5
36810   ac_status=$?
36811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812   (exit $ac_status); }; }; then
36813   glibcxx_cv_func___builtin_labs_use=yes
36814 else
36815   echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.$ac_ext >&5
36817
36818 glibcxx_cv_func___builtin_labs_use=no
36819 fi
36820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36821       ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36826
36827
36828 fi
36829
36830   fi
36831   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36832 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36833   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36834     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36835 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36836     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36837       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36838   echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36840
36841         if test x$gcc_no_link = xyes; then
36842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36844    { (exit 1); exit 1; }; }
36845 fi
36846 cat >conftest.$ac_ext <<_ACEOF
36847 /* confdefs.h.  */
36848 _ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h.  */
36852 #include <math.h>
36853 int
36854 main ()
36855 {
36856  __builtin_labs(0);
36857   ;
36858   return 0;
36859 }
36860 _ACEOF
36861 rm -f conftest.$ac_objext conftest$ac_exeext
36862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36863   (eval $ac_link) 2>conftest.er1
36864   ac_status=$?
36865   grep -v '^ *+' conftest.er1 >conftest.err
36866   rm -f conftest.er1
36867   cat conftest.err >&5
36868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869   (exit $ac_status); } &&
36870          { ac_try='test -z "$ac_c_werror_flag"
36871                          || test ! -s conftest.err'
36872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36873   (eval $ac_try) 2>&5
36874   ac_status=$?
36875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876   (exit $ac_status); }; } &&
36877          { ac_try='test -s conftest$ac_exeext'
36878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879   (eval $ac_try) 2>&5
36880   ac_status=$?
36881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882   (exit $ac_status); }; }; then
36883   glibcxx_cv_func___builtin_labs_link=yes
36884 else
36885   echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 glibcxx_cv_func___builtin_labs_link=no
36889 fi
36890 rm -f conftest.err conftest.$ac_objext \
36891       conftest$ac_exeext conftest.$ac_ext
36892
36893 fi
36894
36895     fi
36896     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36897 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36898
36899     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36900
36901 cat >>confdefs.h <<\_ACEOF
36902 #define HAVE___BUILTIN_LABS 1
36903 _ACEOF
36904
36905     fi
36906
36907   fi
36908
36909
36910
36911   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36912 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36913   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36914     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36915   echo $ECHO_N "(cached) $ECHO_C" >&6
36916 else
36917
36918
36919
36920       ac_ext=cc
36921 ac_cpp='$CXXCPP $CPPFLAGS'
36922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925
36926       cat >conftest.$ac_ext <<_ACEOF
36927 /* confdefs.h.  */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h.  */
36932 #include <math.h>
36933 int
36934 main ()
36935 {
36936  __builtin_sqrtf(0);
36937   ;
36938   return 0;
36939 }
36940 _ACEOF
36941 rm -f conftest.$ac_objext
36942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36943   (eval $ac_compile) 2>conftest.er1
36944   ac_status=$?
36945   grep -v '^ *+' conftest.er1 >conftest.err
36946   rm -f conftest.er1
36947   cat conftest.err >&5
36948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949   (exit $ac_status); } &&
36950          { ac_try='test -z "$ac_cxx_werror_flag"
36951                          || test ! -s conftest.err'
36952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953   (eval $ac_try) 2>&5
36954   ac_status=$?
36955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956   (exit $ac_status); }; } &&
36957          { ac_try='test -s conftest.$ac_objext'
36958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36959   (eval $ac_try) 2>&5
36960   ac_status=$?
36961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962   (exit $ac_status); }; }; then
36963   glibcxx_cv_func___builtin_sqrtf_use=yes
36964 else
36965   echo "$as_me: failed program was:" >&5
36966 sed 's/^/| /' conftest.$ac_ext >&5
36967
36968 glibcxx_cv_func___builtin_sqrtf_use=no
36969 fi
36970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36971       ac_ext=c
36972 ac_cpp='$CPP $CPPFLAGS'
36973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36976
36977
36978 fi
36979
36980   fi
36981   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36982 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36983   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36984     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36985 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36986     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36987       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36988   echo $ECHO_N "(cached) $ECHO_C" >&6
36989 else
36990
36991         if test x$gcc_no_link = xyes; then
36992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36994    { (exit 1); exit 1; }; }
36995 fi
36996 cat >conftest.$ac_ext <<_ACEOF
36997 /* confdefs.h.  */
36998 _ACEOF
36999 cat confdefs.h >>conftest.$ac_ext
37000 cat >>conftest.$ac_ext <<_ACEOF
37001 /* end confdefs.h.  */
37002 #include <math.h>
37003 int
37004 main ()
37005 {
37006  __builtin_sqrtf(0);
37007   ;
37008   return 0;
37009 }
37010 _ACEOF
37011 rm -f conftest.$ac_objext conftest$ac_exeext
37012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37013   (eval $ac_link) 2>conftest.er1
37014   ac_status=$?
37015   grep -v '^ *+' conftest.er1 >conftest.err
37016   rm -f conftest.er1
37017   cat conftest.err >&5
37018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019   (exit $ac_status); } &&
37020          { ac_try='test -z "$ac_c_werror_flag"
37021                          || test ! -s conftest.err'
37022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023   (eval $ac_try) 2>&5
37024   ac_status=$?
37025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026   (exit $ac_status); }; } &&
37027          { ac_try='test -s conftest$ac_exeext'
37028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029   (eval $ac_try) 2>&5
37030   ac_status=$?
37031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032   (exit $ac_status); }; }; then
37033   glibcxx_cv_func___builtin_sqrtf_link=yes
37034 else
37035   echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.$ac_ext >&5
37037
37038 glibcxx_cv_func___builtin_sqrtf_link=no
37039 fi
37040 rm -f conftest.err conftest.$ac_objext \
37041       conftest$ac_exeext conftest.$ac_ext
37042
37043 fi
37044
37045     fi
37046     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
37047 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
37048
37049     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
37050
37051 cat >>confdefs.h <<\_ACEOF
37052 #define HAVE___BUILTIN_SQRTF 1
37053 _ACEOF
37054
37055     fi
37056
37057   fi
37058
37059
37060   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
37061 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
37062   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
37063     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
37064   echo $ECHO_N "(cached) $ECHO_C" >&6
37065 else
37066
37067
37068
37069       ac_ext=cc
37070 ac_cpp='$CXXCPP $CPPFLAGS'
37071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37074
37075       cat >conftest.$ac_ext <<_ACEOF
37076 /* confdefs.h.  */
37077 _ACEOF
37078 cat confdefs.h >>conftest.$ac_ext
37079 cat >>conftest.$ac_ext <<_ACEOF
37080 /* end confdefs.h.  */
37081 #include <math.h>
37082 int
37083 main ()
37084 {
37085  __builtin_sqrt(0);
37086   ;
37087   return 0;
37088 }
37089 _ACEOF
37090 rm -f conftest.$ac_objext
37091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37092   (eval $ac_compile) 2>conftest.er1
37093   ac_status=$?
37094   grep -v '^ *+' conftest.er1 >conftest.err
37095   rm -f conftest.er1
37096   cat conftest.err >&5
37097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098   (exit $ac_status); } &&
37099          { ac_try='test -z "$ac_cxx_werror_flag"
37100                          || test ! -s conftest.err'
37101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102   (eval $ac_try) 2>&5
37103   ac_status=$?
37104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105   (exit $ac_status); }; } &&
37106          { ac_try='test -s conftest.$ac_objext'
37107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108   (eval $ac_try) 2>&5
37109   ac_status=$?
37110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111   (exit $ac_status); }; }; then
37112   glibcxx_cv_func___builtin_sqrt_use=yes
37113 else
37114   echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 glibcxx_cv_func___builtin_sqrt_use=no
37118 fi
37119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37120       ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37125
37126
37127 fi
37128
37129   fi
37130   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37131 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37132   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37133     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37134 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37135     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37136       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37137   echo $ECHO_N "(cached) $ECHO_C" >&6
37138 else
37139
37140         if test x$gcc_no_link = xyes; then
37141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37143    { (exit 1); exit 1; }; }
37144 fi
37145 cat >conftest.$ac_ext <<_ACEOF
37146 /* confdefs.h.  */
37147 _ACEOF
37148 cat confdefs.h >>conftest.$ac_ext
37149 cat >>conftest.$ac_ext <<_ACEOF
37150 /* end confdefs.h.  */
37151 #include <math.h>
37152 int
37153 main ()
37154 {
37155  __builtin_sqrt(0);
37156   ;
37157   return 0;
37158 }
37159 _ACEOF
37160 rm -f conftest.$ac_objext conftest$ac_exeext
37161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37162   (eval $ac_link) 2>conftest.er1
37163   ac_status=$?
37164   grep -v '^ *+' conftest.er1 >conftest.err
37165   rm -f conftest.er1
37166   cat conftest.err >&5
37167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168   (exit $ac_status); } &&
37169          { ac_try='test -z "$ac_c_werror_flag"
37170                          || test ! -s conftest.err'
37171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172   (eval $ac_try) 2>&5
37173   ac_status=$?
37174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175   (exit $ac_status); }; } &&
37176          { ac_try='test -s conftest$ac_exeext'
37177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37178   (eval $ac_try) 2>&5
37179   ac_status=$?
37180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181   (exit $ac_status); }; }; then
37182   glibcxx_cv_func___builtin_sqrt_link=yes
37183 else
37184   echo "$as_me: failed program was:" >&5
37185 sed 's/^/| /' conftest.$ac_ext >&5
37186
37187 glibcxx_cv_func___builtin_sqrt_link=no
37188 fi
37189 rm -f conftest.err conftest.$ac_objext \
37190       conftest$ac_exeext conftest.$ac_ext
37191
37192 fi
37193
37194     fi
37195     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37196 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37197
37198     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37199
37200 cat >>confdefs.h <<\_ACEOF
37201 #define HAVE___BUILTIN_SQRT 1
37202 _ACEOF
37203
37204     fi
37205
37206   fi
37207
37208
37209   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37210 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37211   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37212     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37213   echo $ECHO_N "(cached) $ECHO_C" >&6
37214 else
37215
37216
37217
37218       ac_ext=cc
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37223
37224       cat >conftest.$ac_ext <<_ACEOF
37225 /* confdefs.h.  */
37226 _ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h.  */
37230 #include <math.h>
37231 int
37232 main ()
37233 {
37234  __builtin_sqrtl(0);
37235   ;
37236   return 0;
37237 }
37238 _ACEOF
37239 rm -f conftest.$ac_objext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37241   (eval $ac_compile) 2>conftest.er1
37242   ac_status=$?
37243   grep -v '^ *+' conftest.er1 >conftest.err
37244   rm -f conftest.er1
37245   cat conftest.err >&5
37246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247   (exit $ac_status); } &&
37248          { ac_try='test -z "$ac_cxx_werror_flag"
37249                          || test ! -s conftest.err'
37250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37251   (eval $ac_try) 2>&5
37252   ac_status=$?
37253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254   (exit $ac_status); }; } &&
37255          { ac_try='test -s conftest.$ac_objext'
37256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257   (eval $ac_try) 2>&5
37258   ac_status=$?
37259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260   (exit $ac_status); }; }; then
37261   glibcxx_cv_func___builtin_sqrtl_use=yes
37262 else
37263   echo "$as_me: failed program was:" >&5
37264 sed 's/^/| /' conftest.$ac_ext >&5
37265
37266 glibcxx_cv_func___builtin_sqrtl_use=no
37267 fi
37268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37269       ac_ext=c
37270 ac_cpp='$CPP $CPPFLAGS'
37271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37274
37275
37276 fi
37277
37278   fi
37279   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37280 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37281   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37282     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37283 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37284     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37285       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37286   echo $ECHO_N "(cached) $ECHO_C" >&6
37287 else
37288
37289         if test x$gcc_no_link = xyes; then
37290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37292    { (exit 1); exit 1; }; }
37293 fi
37294 cat >conftest.$ac_ext <<_ACEOF
37295 /* confdefs.h.  */
37296 _ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h.  */
37300 #include <math.h>
37301 int
37302 main ()
37303 {
37304  __builtin_sqrtl(0);
37305   ;
37306   return 0;
37307 }
37308 _ACEOF
37309 rm -f conftest.$ac_objext conftest$ac_exeext
37310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37311   (eval $ac_link) 2>conftest.er1
37312   ac_status=$?
37313   grep -v '^ *+' conftest.er1 >conftest.err
37314   rm -f conftest.er1
37315   cat conftest.err >&5
37316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317   (exit $ac_status); } &&
37318          { ac_try='test -z "$ac_c_werror_flag"
37319                          || test ! -s conftest.err'
37320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321   (eval $ac_try) 2>&5
37322   ac_status=$?
37323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324   (exit $ac_status); }; } &&
37325          { ac_try='test -s conftest$ac_exeext'
37326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327   (eval $ac_try) 2>&5
37328   ac_status=$?
37329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330   (exit $ac_status); }; }; then
37331   glibcxx_cv_func___builtin_sqrtl_link=yes
37332 else
37333   echo "$as_me: failed program was:" >&5
37334 sed 's/^/| /' conftest.$ac_ext >&5
37335
37336 glibcxx_cv_func___builtin_sqrtl_link=no
37337 fi
37338 rm -f conftest.err conftest.$ac_objext \
37339       conftest$ac_exeext conftest.$ac_ext
37340
37341 fi
37342
37343     fi
37344     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37345 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37346
37347     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37348
37349 cat >>confdefs.h <<\_ACEOF
37350 #define HAVE___BUILTIN_SQRTL 1
37351 _ACEOF
37352
37353     fi
37354
37355   fi
37356
37357
37358
37359   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37360 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37361   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37362     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37363   echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365
37366
37367
37368       ac_ext=cc
37369 ac_cpp='$CXXCPP $CPPFLAGS'
37370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37373
37374       cat >conftest.$ac_ext <<_ACEOF
37375 /* confdefs.h.  */
37376 _ACEOF
37377 cat confdefs.h >>conftest.$ac_ext
37378 cat >>conftest.$ac_ext <<_ACEOF
37379 /* end confdefs.h.  */
37380 #include <math.h>
37381 int
37382 main ()
37383 {
37384  __builtin_sinf(0);
37385   ;
37386   return 0;
37387 }
37388 _ACEOF
37389 rm -f conftest.$ac_objext
37390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37391   (eval $ac_compile) 2>conftest.er1
37392   ac_status=$?
37393   grep -v '^ *+' conftest.er1 >conftest.err
37394   rm -f conftest.er1
37395   cat conftest.err >&5
37396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397   (exit $ac_status); } &&
37398          { ac_try='test -z "$ac_cxx_werror_flag"
37399                          || test ! -s conftest.err'
37400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401   (eval $ac_try) 2>&5
37402   ac_status=$?
37403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404   (exit $ac_status); }; } &&
37405          { ac_try='test -s conftest.$ac_objext'
37406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407   (eval $ac_try) 2>&5
37408   ac_status=$?
37409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410   (exit $ac_status); }; }; then
37411   glibcxx_cv_func___builtin_sinf_use=yes
37412 else
37413   echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.$ac_ext >&5
37415
37416 glibcxx_cv_func___builtin_sinf_use=no
37417 fi
37418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37419       ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428   fi
37429   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37430 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37431   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37432     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37433 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37434     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37435       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37436   echo $ECHO_N "(cached) $ECHO_C" >&6
37437 else
37438
37439         if test x$gcc_no_link = xyes; then
37440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37442    { (exit 1); exit 1; }; }
37443 fi
37444 cat >conftest.$ac_ext <<_ACEOF
37445 /* confdefs.h.  */
37446 _ACEOF
37447 cat confdefs.h >>conftest.$ac_ext
37448 cat >>conftest.$ac_ext <<_ACEOF
37449 /* end confdefs.h.  */
37450 #include <math.h>
37451 int
37452 main ()
37453 {
37454  __builtin_sinf(0);
37455   ;
37456   return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461   (eval $ac_link) 2>conftest.er1
37462   ac_status=$?
37463   grep -v '^ *+' conftest.er1 >conftest.err
37464   rm -f conftest.er1
37465   cat conftest.err >&5
37466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467   (exit $ac_status); } &&
37468          { ac_try='test -z "$ac_c_werror_flag"
37469                          || test ! -s conftest.err'
37470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471   (eval $ac_try) 2>&5
37472   ac_status=$?
37473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474   (exit $ac_status); }; } &&
37475          { ac_try='test -s conftest$ac_exeext'
37476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477   (eval $ac_try) 2>&5
37478   ac_status=$?
37479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480   (exit $ac_status); }; }; then
37481   glibcxx_cv_func___builtin_sinf_link=yes
37482 else
37483   echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 glibcxx_cv_func___builtin_sinf_link=no
37487 fi
37488 rm -f conftest.err conftest.$ac_objext \
37489       conftest$ac_exeext conftest.$ac_ext
37490
37491 fi
37492
37493     fi
37494     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37495 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37496
37497     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37498
37499 cat >>confdefs.h <<\_ACEOF
37500 #define HAVE___BUILTIN_SINF 1
37501 _ACEOF
37502
37503     fi
37504
37505   fi
37506
37507
37508   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37509 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37510   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37511     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37512   echo $ECHO_N "(cached) $ECHO_C" >&6
37513 else
37514
37515
37516
37517       ac_ext=cc
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522
37523       cat >conftest.$ac_ext <<_ACEOF
37524 /* confdefs.h.  */
37525 _ACEOF
37526 cat confdefs.h >>conftest.$ac_ext
37527 cat >>conftest.$ac_ext <<_ACEOF
37528 /* end confdefs.h.  */
37529 #include <math.h>
37530 int
37531 main ()
37532 {
37533  __builtin_sin(0);
37534   ;
37535   return 0;
37536 }
37537 _ACEOF
37538 rm -f conftest.$ac_objext
37539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37540   (eval $ac_compile) 2>conftest.er1
37541   ac_status=$?
37542   grep -v '^ *+' conftest.er1 >conftest.err
37543   rm -f conftest.er1
37544   cat conftest.err >&5
37545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546   (exit $ac_status); } &&
37547          { ac_try='test -z "$ac_cxx_werror_flag"
37548                          || test ! -s conftest.err'
37549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37550   (eval $ac_try) 2>&5
37551   ac_status=$?
37552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553   (exit $ac_status); }; } &&
37554          { ac_try='test -s conftest.$ac_objext'
37555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556   (eval $ac_try) 2>&5
37557   ac_status=$?
37558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559   (exit $ac_status); }; }; then
37560   glibcxx_cv_func___builtin_sin_use=yes
37561 else
37562   echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37564
37565 glibcxx_cv_func___builtin_sin_use=no
37566 fi
37567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37568       ac_ext=c
37569 ac_cpp='$CPP $CPPFLAGS'
37570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37573
37574
37575 fi
37576
37577   fi
37578   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37579 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37580   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37581     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37582 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37583     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37584       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37585   echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588         if test x$gcc_no_link = xyes; then
37589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37591    { (exit 1); exit 1; }; }
37592 fi
37593 cat >conftest.$ac_ext <<_ACEOF
37594 /* confdefs.h.  */
37595 _ACEOF
37596 cat confdefs.h >>conftest.$ac_ext
37597 cat >>conftest.$ac_ext <<_ACEOF
37598 /* end confdefs.h.  */
37599 #include <math.h>
37600 int
37601 main ()
37602 {
37603  __builtin_sin(0);
37604   ;
37605   return 0;
37606 }
37607 _ACEOF
37608 rm -f conftest.$ac_objext conftest$ac_exeext
37609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37610   (eval $ac_link) 2>conftest.er1
37611   ac_status=$?
37612   grep -v '^ *+' conftest.er1 >conftest.err
37613   rm -f conftest.er1
37614   cat conftest.err >&5
37615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616   (exit $ac_status); } &&
37617          { ac_try='test -z "$ac_c_werror_flag"
37618                          || test ! -s conftest.err'
37619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37620   (eval $ac_try) 2>&5
37621   ac_status=$?
37622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623   (exit $ac_status); }; } &&
37624          { ac_try='test -s conftest$ac_exeext'
37625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626   (eval $ac_try) 2>&5
37627   ac_status=$?
37628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629   (exit $ac_status); }; }; then
37630   glibcxx_cv_func___builtin_sin_link=yes
37631 else
37632   echo "$as_me: failed program was:" >&5
37633 sed 's/^/| /' conftest.$ac_ext >&5
37634
37635 glibcxx_cv_func___builtin_sin_link=no
37636 fi
37637 rm -f conftest.err conftest.$ac_objext \
37638       conftest$ac_exeext conftest.$ac_ext
37639
37640 fi
37641
37642     fi
37643     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37644 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37645
37646     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37647
37648 cat >>confdefs.h <<\_ACEOF
37649 #define HAVE___BUILTIN_SIN 1
37650 _ACEOF
37651
37652     fi
37653
37654   fi
37655
37656
37657   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37658 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37659   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37660     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37661   echo $ECHO_N "(cached) $ECHO_C" >&6
37662 else
37663
37664
37665
37666       ac_ext=cc
37667 ac_cpp='$CXXCPP $CPPFLAGS'
37668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671
37672       cat >conftest.$ac_ext <<_ACEOF
37673 /* confdefs.h.  */
37674 _ACEOF
37675 cat confdefs.h >>conftest.$ac_ext
37676 cat >>conftest.$ac_ext <<_ACEOF
37677 /* end confdefs.h.  */
37678 #include <math.h>
37679 int
37680 main ()
37681 {
37682  __builtin_sinl(0);
37683   ;
37684   return 0;
37685 }
37686 _ACEOF
37687 rm -f conftest.$ac_objext
37688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37689   (eval $ac_compile) 2>conftest.er1
37690   ac_status=$?
37691   grep -v '^ *+' conftest.er1 >conftest.err
37692   rm -f conftest.er1
37693   cat conftest.err >&5
37694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695   (exit $ac_status); } &&
37696          { ac_try='test -z "$ac_cxx_werror_flag"
37697                          || test ! -s conftest.err'
37698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699   (eval $ac_try) 2>&5
37700   ac_status=$?
37701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702   (exit $ac_status); }; } &&
37703          { ac_try='test -s conftest.$ac_objext'
37704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37705   (eval $ac_try) 2>&5
37706   ac_status=$?
37707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37708   (exit $ac_status); }; }; then
37709   glibcxx_cv_func___builtin_sinl_use=yes
37710 else
37711   echo "$as_me: failed program was:" >&5
37712 sed 's/^/| /' conftest.$ac_ext >&5
37713
37714 glibcxx_cv_func___builtin_sinl_use=no
37715 fi
37716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37717       ac_ext=c
37718 ac_cpp='$CPP $CPPFLAGS'
37719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37722
37723
37724 fi
37725
37726   fi
37727   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37729   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37730     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37731 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37732     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37733       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37734   echo $ECHO_N "(cached) $ECHO_C" >&6
37735 else
37736
37737         if test x$gcc_no_link = xyes; then
37738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37740    { (exit 1); exit 1; }; }
37741 fi
37742 cat >conftest.$ac_ext <<_ACEOF
37743 /* confdefs.h.  */
37744 _ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h.  */
37748 #include <math.h>
37749 int
37750 main ()
37751 {
37752  __builtin_sinl(0);
37753   ;
37754   return 0;
37755 }
37756 _ACEOF
37757 rm -f conftest.$ac_objext conftest$ac_exeext
37758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37759   (eval $ac_link) 2>conftest.er1
37760   ac_status=$?
37761   grep -v '^ *+' conftest.er1 >conftest.err
37762   rm -f conftest.er1
37763   cat conftest.err >&5
37764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765   (exit $ac_status); } &&
37766          { ac_try='test -z "$ac_c_werror_flag"
37767                          || test ! -s conftest.err'
37768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37769   (eval $ac_try) 2>&5
37770   ac_status=$?
37771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772   (exit $ac_status); }; } &&
37773          { ac_try='test -s conftest$ac_exeext'
37774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775   (eval $ac_try) 2>&5
37776   ac_status=$?
37777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778   (exit $ac_status); }; }; then
37779   glibcxx_cv_func___builtin_sinl_link=yes
37780 else
37781   echo "$as_me: failed program was:" >&5
37782 sed 's/^/| /' conftest.$ac_ext >&5
37783
37784 glibcxx_cv_func___builtin_sinl_link=no
37785 fi
37786 rm -f conftest.err conftest.$ac_objext \
37787       conftest$ac_exeext conftest.$ac_ext
37788
37789 fi
37790
37791     fi
37792     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37793 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37794
37795     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37796
37797 cat >>confdefs.h <<\_ACEOF
37798 #define HAVE___BUILTIN_SINL 1
37799 _ACEOF
37800
37801     fi
37802
37803   fi
37804
37805
37806
37807   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37808 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37809   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37810     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37811   echo $ECHO_N "(cached) $ECHO_C" >&6
37812 else
37813
37814
37815
37816       ac_ext=cc
37817 ac_cpp='$CXXCPP $CPPFLAGS'
37818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37821
37822       cat >conftest.$ac_ext <<_ACEOF
37823 /* confdefs.h.  */
37824 _ACEOF
37825 cat confdefs.h >>conftest.$ac_ext
37826 cat >>conftest.$ac_ext <<_ACEOF
37827 /* end confdefs.h.  */
37828 #include <math.h>
37829 int
37830 main ()
37831 {
37832  __builtin_cosf(0);
37833   ;
37834   return 0;
37835 }
37836 _ACEOF
37837 rm -f conftest.$ac_objext
37838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37839   (eval $ac_compile) 2>conftest.er1
37840   ac_status=$?
37841   grep -v '^ *+' conftest.er1 >conftest.err
37842   rm -f conftest.er1
37843   cat conftest.err >&5
37844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37845   (exit $ac_status); } &&
37846          { ac_try='test -z "$ac_cxx_werror_flag"
37847                          || test ! -s conftest.err'
37848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37849   (eval $ac_try) 2>&5
37850   ac_status=$?
37851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852   (exit $ac_status); }; } &&
37853          { ac_try='test -s conftest.$ac_objext'
37854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37855   (eval $ac_try) 2>&5
37856   ac_status=$?
37857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858   (exit $ac_status); }; }; then
37859   glibcxx_cv_func___builtin_cosf_use=yes
37860 else
37861   echo "$as_me: failed program was:" >&5
37862 sed 's/^/| /' conftest.$ac_ext >&5
37863
37864 glibcxx_cv_func___builtin_cosf_use=no
37865 fi
37866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37867       ac_ext=c
37868 ac_cpp='$CPP $CPPFLAGS'
37869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37872
37873
37874 fi
37875
37876   fi
37877   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37878 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37879   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37880     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37881 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37882     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37883       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37884   echo $ECHO_N "(cached) $ECHO_C" >&6
37885 else
37886
37887         if test x$gcc_no_link = xyes; then
37888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37890    { (exit 1); exit 1; }; }
37891 fi
37892 cat >conftest.$ac_ext <<_ACEOF
37893 /* confdefs.h.  */
37894 _ACEOF
37895 cat confdefs.h >>conftest.$ac_ext
37896 cat >>conftest.$ac_ext <<_ACEOF
37897 /* end confdefs.h.  */
37898 #include <math.h>
37899 int
37900 main ()
37901 {
37902  __builtin_cosf(0);
37903   ;
37904   return 0;
37905 }
37906 _ACEOF
37907 rm -f conftest.$ac_objext conftest$ac_exeext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37909   (eval $ac_link) 2>conftest.er1
37910   ac_status=$?
37911   grep -v '^ *+' conftest.er1 >conftest.err
37912   rm -f conftest.er1
37913   cat conftest.err >&5
37914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915   (exit $ac_status); } &&
37916          { ac_try='test -z "$ac_c_werror_flag"
37917                          || test ! -s conftest.err'
37918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37919   (eval $ac_try) 2>&5
37920   ac_status=$?
37921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922   (exit $ac_status); }; } &&
37923          { ac_try='test -s conftest$ac_exeext'
37924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925   (eval $ac_try) 2>&5
37926   ac_status=$?
37927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928   (exit $ac_status); }; }; then
37929   glibcxx_cv_func___builtin_cosf_link=yes
37930 else
37931   echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.$ac_ext >&5
37933
37934 glibcxx_cv_func___builtin_cosf_link=no
37935 fi
37936 rm -f conftest.err conftest.$ac_objext \
37937       conftest$ac_exeext conftest.$ac_ext
37938
37939 fi
37940
37941     fi
37942     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37943 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37944
37945     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37946
37947 cat >>confdefs.h <<\_ACEOF
37948 #define HAVE___BUILTIN_COSF 1
37949 _ACEOF
37950
37951     fi
37952
37953   fi
37954
37955
37956   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37957 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37958   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37959     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37960   echo $ECHO_N "(cached) $ECHO_C" >&6
37961 else
37962
37963
37964
37965       ac_ext=cc
37966 ac_cpp='$CXXCPP $CPPFLAGS'
37967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37970
37971       cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h.  */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h.  */
37977 #include <math.h>
37978 int
37979 main ()
37980 {
37981  __builtin_cos(0);
37982   ;
37983   return 0;
37984 }
37985 _ACEOF
37986 rm -f conftest.$ac_objext
37987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37988   (eval $ac_compile) 2>conftest.er1
37989   ac_status=$?
37990   grep -v '^ *+' conftest.er1 >conftest.err
37991   rm -f conftest.er1
37992   cat conftest.err >&5
37993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994   (exit $ac_status); } &&
37995          { ac_try='test -z "$ac_cxx_werror_flag"
37996                          || test ! -s conftest.err'
37997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998   (eval $ac_try) 2>&5
37999   ac_status=$?
38000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001   (exit $ac_status); }; } &&
38002          { ac_try='test -s conftest.$ac_objext'
38003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004   (eval $ac_try) 2>&5
38005   ac_status=$?
38006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007   (exit $ac_status); }; }; then
38008   glibcxx_cv_func___builtin_cos_use=yes
38009 else
38010   echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 glibcxx_cv_func___builtin_cos_use=no
38014 fi
38015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38016       ac_ext=c
38017 ac_cpp='$CPP $CPPFLAGS'
38018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38021
38022
38023 fi
38024
38025   fi
38026   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
38027 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
38028   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
38029     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
38030 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
38031     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
38032       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
38033   echo $ECHO_N "(cached) $ECHO_C" >&6
38034 else
38035
38036         if test x$gcc_no_link = xyes; then
38037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38039    { (exit 1); exit 1; }; }
38040 fi
38041 cat >conftest.$ac_ext <<_ACEOF
38042 /* confdefs.h.  */
38043 _ACEOF
38044 cat confdefs.h >>conftest.$ac_ext
38045 cat >>conftest.$ac_ext <<_ACEOF
38046 /* end confdefs.h.  */
38047 #include <math.h>
38048 int
38049 main ()
38050 {
38051  __builtin_cos(0);
38052   ;
38053   return 0;
38054 }
38055 _ACEOF
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38058   (eval $ac_link) 2>conftest.er1
38059   ac_status=$?
38060   grep -v '^ *+' conftest.er1 >conftest.err
38061   rm -f conftest.er1
38062   cat conftest.err >&5
38063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064   (exit $ac_status); } &&
38065          { ac_try='test -z "$ac_c_werror_flag"
38066                          || test ! -s conftest.err'
38067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38068   (eval $ac_try) 2>&5
38069   ac_status=$?
38070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071   (exit $ac_status); }; } &&
38072          { ac_try='test -s conftest$ac_exeext'
38073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38074   (eval $ac_try) 2>&5
38075   ac_status=$?
38076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077   (exit $ac_status); }; }; then
38078   glibcxx_cv_func___builtin_cos_link=yes
38079 else
38080   echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38082
38083 glibcxx_cv_func___builtin_cos_link=no
38084 fi
38085 rm -f conftest.err conftest.$ac_objext \
38086       conftest$ac_exeext conftest.$ac_ext
38087
38088 fi
38089
38090     fi
38091     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38092 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38093
38094     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38095
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE___BUILTIN_COS 1
38098 _ACEOF
38099
38100     fi
38101
38102   fi
38103
38104
38105   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38106 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38107   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38108     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38109   echo $ECHO_N "(cached) $ECHO_C" >&6
38110 else
38111
38112
38113
38114       ac_ext=cc
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38119
38120       cat >conftest.$ac_ext <<_ACEOF
38121 /* confdefs.h.  */
38122 _ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h.  */
38126 #include <math.h>
38127 int
38128 main ()
38129 {
38130  __builtin_cosl(0);
38131   ;
38132   return 0;
38133 }
38134 _ACEOF
38135 rm -f conftest.$ac_objext
38136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38137   (eval $ac_compile) 2>conftest.er1
38138   ac_status=$?
38139   grep -v '^ *+' conftest.er1 >conftest.err
38140   rm -f conftest.er1
38141   cat conftest.err >&5
38142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143   (exit $ac_status); } &&
38144          { ac_try='test -z "$ac_cxx_werror_flag"
38145                          || test ! -s conftest.err'
38146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38147   (eval $ac_try) 2>&5
38148   ac_status=$?
38149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150   (exit $ac_status); }; } &&
38151          { ac_try='test -s conftest.$ac_objext'
38152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38153   (eval $ac_try) 2>&5
38154   ac_status=$?
38155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156   (exit $ac_status); }; }; then
38157   glibcxx_cv_func___builtin_cosl_use=yes
38158 else
38159   echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38161
38162 glibcxx_cv_func___builtin_cosl_use=no
38163 fi
38164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38165       ac_ext=c
38166 ac_cpp='$CPP $CPPFLAGS'
38167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38170
38171
38172 fi
38173
38174   fi
38175   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38176 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38177   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38178     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38179 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38180     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38181       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38182   echo $ECHO_N "(cached) $ECHO_C" >&6
38183 else
38184
38185         if test x$gcc_no_link = xyes; then
38186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38188    { (exit 1); exit 1; }; }
38189 fi
38190 cat >conftest.$ac_ext <<_ACEOF
38191 /* confdefs.h.  */
38192 _ACEOF
38193 cat confdefs.h >>conftest.$ac_ext
38194 cat >>conftest.$ac_ext <<_ACEOF
38195 /* end confdefs.h.  */
38196 #include <math.h>
38197 int
38198 main ()
38199 {
38200  __builtin_cosl(0);
38201   ;
38202   return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext conftest$ac_exeext
38206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38207   (eval $ac_link) 2>conftest.er1
38208   ac_status=$?
38209   grep -v '^ *+' conftest.er1 >conftest.err
38210   rm -f conftest.er1
38211   cat conftest.err >&5
38212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213   (exit $ac_status); } &&
38214          { ac_try='test -z "$ac_c_werror_flag"
38215                          || test ! -s conftest.err'
38216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217   (eval $ac_try) 2>&5
38218   ac_status=$?
38219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220   (exit $ac_status); }; } &&
38221          { ac_try='test -s conftest$ac_exeext'
38222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223   (eval $ac_try) 2>&5
38224   ac_status=$?
38225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226   (exit $ac_status); }; }; then
38227   glibcxx_cv_func___builtin_cosl_link=yes
38228 else
38229   echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 glibcxx_cv_func___builtin_cosl_link=no
38233 fi
38234 rm -f conftest.err conftest.$ac_objext \
38235       conftest$ac_exeext conftest.$ac_ext
38236
38237 fi
38238
38239     fi
38240     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38241 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38242
38243     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38244
38245 cat >>confdefs.h <<\_ACEOF
38246 #define HAVE___BUILTIN_COSL 1
38247 _ACEOF
38248
38249     fi
38250
38251   fi
38252
38253
38254
38255
38256 echo "$as_me:$LINENO: checking for main in -lm" >&5
38257 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38258 if test "${ac_cv_lib_m_main+set}" = set; then
38259   echo $ECHO_N "(cached) $ECHO_C" >&6
38260 else
38261   ac_check_lib_save_LIBS=$LIBS
38262 LIBS="-lm  $LIBS"
38263 if test x$gcc_no_link = xyes; then
38264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38266    { (exit 1); exit 1; }; }
38267 fi
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h.  */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h.  */
38274
38275
38276 int
38277 main ()
38278 {
38279 main ();
38280   ;
38281   return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286   (eval $ac_link) 2>conftest.er1
38287   ac_status=$?
38288   grep -v '^ *+' conftest.er1 >conftest.err
38289   rm -f conftest.er1
38290   cat conftest.err >&5
38291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292   (exit $ac_status); } &&
38293          { ac_try='test -z "$ac_c_werror_flag"
38294                          || test ! -s conftest.err'
38295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296   (eval $ac_try) 2>&5
38297   ac_status=$?
38298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299   (exit $ac_status); }; } &&
38300          { ac_try='test -s conftest$ac_exeext'
38301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302   (eval $ac_try) 2>&5
38303   ac_status=$?
38304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305   (exit $ac_status); }; }; then
38306   ac_cv_lib_m_main=yes
38307 else
38308   echo "$as_me: failed program was:" >&5
38309 sed 's/^/| /' conftest.$ac_ext >&5
38310
38311 ac_cv_lib_m_main=no
38312 fi
38313 rm -f conftest.err conftest.$ac_objext \
38314       conftest$ac_exeext conftest.$ac_ext
38315 LIBS=$ac_check_lib_save_LIBS
38316 fi
38317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38318 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38319 if test $ac_cv_lib_m_main = yes; then
38320   cat >>confdefs.h <<_ACEOF
38321 #define HAVE_LIBM 1
38322 _ACEOF
38323
38324   LIBS="-lm $LIBS"
38325
38326 fi
38327
38328
38329 for ac_func in copysignf
38330 do
38331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38332 echo "$as_me:$LINENO: checking for $ac_func" >&5
38333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38334 if eval "test \"\${$as_ac_var+set}\" = set"; then
38335   echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337   if test x$gcc_no_link = xyes; then
38338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38340    { (exit 1); exit 1; }; }
38341 fi
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h.  */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h.  */
38348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38350 #define $ac_func innocuous_$ac_func
38351
38352 /* System header to define __stub macros and hopefully few prototypes,
38353     which can conflict with char $ac_func (); below.
38354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38355     <limits.h> exists even on freestanding compilers.  */
38356
38357 #ifdef __STDC__
38358 # include <limits.h>
38359 #else
38360 # include <assert.h>
38361 #endif
38362
38363 #undef $ac_func
38364
38365 /* Override any gcc2 internal prototype to avoid an error.  */
38366 #ifdef __cplusplus
38367 extern "C"
38368 {
38369 #endif
38370 /* We use char because int might match the return type of a gcc2
38371    builtin and then its argument prototype would still apply.  */
38372 char $ac_func ();
38373 /* The GNU C library defines this for functions which it implements
38374     to always fail with ENOSYS.  Some functions are actually named
38375     something starting with __ and the normal name is an alias.  */
38376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38377 choke me
38378 #else
38379 char (*f) () = $ac_func;
38380 #endif
38381 #ifdef __cplusplus
38382 }
38383 #endif
38384
38385 int
38386 main ()
38387 {
38388 return f != $ac_func;
38389   ;
38390   return 0;
38391 }
38392 _ACEOF
38393 rm -f conftest.$ac_objext conftest$ac_exeext
38394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38395   (eval $ac_link) 2>conftest.er1
38396   ac_status=$?
38397   grep -v '^ *+' conftest.er1 >conftest.err
38398   rm -f conftest.er1
38399   cat conftest.err >&5
38400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401   (exit $ac_status); } &&
38402          { ac_try='test -z "$ac_c_werror_flag"
38403                          || test ! -s conftest.err'
38404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38405   (eval $ac_try) 2>&5
38406   ac_status=$?
38407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408   (exit $ac_status); }; } &&
38409          { ac_try='test -s conftest$ac_exeext'
38410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38411   (eval $ac_try) 2>&5
38412   ac_status=$?
38413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414   (exit $ac_status); }; }; then
38415   eval "$as_ac_var=yes"
38416 else
38417   echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38419
38420 eval "$as_ac_var=no"
38421 fi
38422 rm -f conftest.err conftest.$ac_objext \
38423       conftest$ac_exeext conftest.$ac_ext
38424 fi
38425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38427 if test `eval echo '${'$as_ac_var'}'` = yes; then
38428   cat >>confdefs.h <<_ACEOF
38429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38430 _ACEOF
38431
38432 else
38433   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38434 fi
38435 done
38436
38437
38438
38439 for ac_func in __signbit
38440 do
38441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38442 echo "$as_me:$LINENO: checking for $ac_func" >&5
38443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38444 if eval "test \"\${$as_ac_var+set}\" = set"; then
38445   echo $ECHO_N "(cached) $ECHO_C" >&6
38446 else
38447   if test x$gcc_no_link = xyes; then
38448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38450    { (exit 1); exit 1; }; }
38451 fi
38452 cat >conftest.$ac_ext <<_ACEOF
38453 /* confdefs.h.  */
38454 _ACEOF
38455 cat confdefs.h >>conftest.$ac_ext
38456 cat >>conftest.$ac_ext <<_ACEOF
38457 /* end confdefs.h.  */
38458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38460 #define $ac_func innocuous_$ac_func
38461
38462 /* System header to define __stub macros and hopefully few prototypes,
38463     which can conflict with char $ac_func (); below.
38464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38465     <limits.h> exists even on freestanding compilers.  */
38466
38467 #ifdef __STDC__
38468 # include <limits.h>
38469 #else
38470 # include <assert.h>
38471 #endif
38472
38473 #undef $ac_func
38474
38475 /* Override any gcc2 internal prototype to avoid an error.  */
38476 #ifdef __cplusplus
38477 extern "C"
38478 {
38479 #endif
38480 /* We use char because int might match the return type of a gcc2
38481    builtin and then its argument prototype would still apply.  */
38482 char $ac_func ();
38483 /* The GNU C library defines this for functions which it implements
38484     to always fail with ENOSYS.  Some functions are actually named
38485     something starting with __ and the normal name is an alias.  */
38486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38487 choke me
38488 #else
38489 char (*f) () = $ac_func;
38490 #endif
38491 #ifdef __cplusplus
38492 }
38493 #endif
38494
38495 int
38496 main ()
38497 {
38498 return f != $ac_func;
38499   ;
38500   return 0;
38501 }
38502 _ACEOF
38503 rm -f conftest.$ac_objext conftest$ac_exeext
38504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38505   (eval $ac_link) 2>conftest.er1
38506   ac_status=$?
38507   grep -v '^ *+' conftest.er1 >conftest.err
38508   rm -f conftest.er1
38509   cat conftest.err >&5
38510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511   (exit $ac_status); } &&
38512          { ac_try='test -z "$ac_c_werror_flag"
38513                          || test ! -s conftest.err'
38514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515   (eval $ac_try) 2>&5
38516   ac_status=$?
38517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518   (exit $ac_status); }; } &&
38519          { ac_try='test -s conftest$ac_exeext'
38520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521   (eval $ac_try) 2>&5
38522   ac_status=$?
38523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524   (exit $ac_status); }; }; then
38525   eval "$as_ac_var=yes"
38526 else
38527   echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.$ac_ext >&5
38529
38530 eval "$as_ac_var=no"
38531 fi
38532 rm -f conftest.err conftest.$ac_objext \
38533       conftest$ac_exeext conftest.$ac_ext
38534 fi
38535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538   cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38540 _ACEOF
38541
38542 else
38543   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38544 fi
38545 done
38546
38547
38548
38549 for ac_func in __signbitf
38550 do
38551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38552 echo "$as_me:$LINENO: checking for $ac_func" >&5
38553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38554 if eval "test \"\${$as_ac_var+set}\" = set"; then
38555   echo $ECHO_N "(cached) $ECHO_C" >&6
38556 else
38557   if test x$gcc_no_link = xyes; then
38558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38560    { (exit 1); exit 1; }; }
38561 fi
38562 cat >conftest.$ac_ext <<_ACEOF
38563 /* confdefs.h.  */
38564 _ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h.  */
38568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38570 #define $ac_func innocuous_$ac_func
38571
38572 /* System header to define __stub macros and hopefully few prototypes,
38573     which can conflict with char $ac_func (); below.
38574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38575     <limits.h> exists even on freestanding compilers.  */
38576
38577 #ifdef __STDC__
38578 # include <limits.h>
38579 #else
38580 # include <assert.h>
38581 #endif
38582
38583 #undef $ac_func
38584
38585 /* Override any gcc2 internal prototype to avoid an error.  */
38586 #ifdef __cplusplus
38587 extern "C"
38588 {
38589 #endif
38590 /* We use char because int might match the return type of a gcc2
38591    builtin and then its argument prototype would still apply.  */
38592 char $ac_func ();
38593 /* The GNU C library defines this for functions which it implements
38594     to always fail with ENOSYS.  Some functions are actually named
38595     something starting with __ and the normal name is an alias.  */
38596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38597 choke me
38598 #else
38599 char (*f) () = $ac_func;
38600 #endif
38601 #ifdef __cplusplus
38602 }
38603 #endif
38604
38605 int
38606 main ()
38607 {
38608 return f != $ac_func;
38609   ;
38610   return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext conftest$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615   (eval $ac_link) 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_exeext'
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   eval "$as_ac_var=yes"
38636 else
38637   echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 eval "$as_ac_var=no"
38641 fi
38642 rm -f conftest.err conftest.$ac_objext \
38643       conftest$ac_exeext conftest.$ac_ext
38644 fi
38645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38647 if test `eval echo '${'$as_ac_var'}'` = yes; then
38648   cat >>confdefs.h <<_ACEOF
38649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38650 _ACEOF
38651
38652 else
38653   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38654 fi
38655 done
38656
38657
38658           if test x$ac_cv_func_copysignl = x"yes"; then
38659
38660 for ac_func in __signbitl
38661 do
38662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38663 echo "$as_me:$LINENO: checking for $ac_func" >&5
38664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38665 if eval "test \"\${$as_ac_var+set}\" = set"; then
38666   echo $ECHO_N "(cached) $ECHO_C" >&6
38667 else
38668   if test x$gcc_no_link = xyes; then
38669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38671    { (exit 1); exit 1; }; }
38672 fi
38673 cat >conftest.$ac_ext <<_ACEOF
38674 /* confdefs.h.  */
38675 _ACEOF
38676 cat confdefs.h >>conftest.$ac_ext
38677 cat >>conftest.$ac_ext <<_ACEOF
38678 /* end confdefs.h.  */
38679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38681 #define $ac_func innocuous_$ac_func
38682
38683 /* System header to define __stub macros and hopefully few prototypes,
38684     which can conflict with char $ac_func (); below.
38685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38686     <limits.h> exists even on freestanding compilers.  */
38687
38688 #ifdef __STDC__
38689 # include <limits.h>
38690 #else
38691 # include <assert.h>
38692 #endif
38693
38694 #undef $ac_func
38695
38696 /* Override any gcc2 internal prototype to avoid an error.  */
38697 #ifdef __cplusplus
38698 extern "C"
38699 {
38700 #endif
38701 /* We use char because int might match the return type of a gcc2
38702    builtin and then its argument prototype would still apply.  */
38703 char $ac_func ();
38704 /* The GNU C library defines this for functions which it implements
38705     to always fail with ENOSYS.  Some functions are actually named
38706     something starting with __ and the normal name is an alias.  */
38707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38708 choke me
38709 #else
38710 char (*f) () = $ac_func;
38711 #endif
38712 #ifdef __cplusplus
38713 }
38714 #endif
38715
38716 int
38717 main ()
38718 {
38719 return f != $ac_func;
38720   ;
38721   return 0;
38722 }
38723 _ACEOF
38724 rm -f conftest.$ac_objext conftest$ac_exeext
38725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38726   (eval $ac_link) 2>conftest.er1
38727   ac_status=$?
38728   grep -v '^ *+' conftest.er1 >conftest.err
38729   rm -f conftest.er1
38730   cat conftest.err >&5
38731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732   (exit $ac_status); } &&
38733          { ac_try='test -z "$ac_c_werror_flag"
38734                          || test ! -s conftest.err'
38735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38736   (eval $ac_try) 2>&5
38737   ac_status=$?
38738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739   (exit $ac_status); }; } &&
38740          { ac_try='test -s conftest$ac_exeext'
38741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38742   (eval $ac_try) 2>&5
38743   ac_status=$?
38744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745   (exit $ac_status); }; }; then
38746   eval "$as_ac_var=yes"
38747 else
38748   echo "$as_me: failed program was:" >&5
38749 sed 's/^/| /' conftest.$ac_ext >&5
38750
38751 eval "$as_ac_var=no"
38752 fi
38753 rm -f conftest.err conftest.$ac_objext \
38754       conftest$ac_exeext conftest.$ac_ext
38755 fi
38756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38758 if test `eval echo '${'$as_ac_var'}'` = yes; then
38759   cat >>confdefs.h <<_ACEOF
38760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38761 _ACEOF
38762
38763 else
38764   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38765 fi
38766 done
38767
38768   fi
38769
38770   # Used in libmath/Makefile.am.
38771   if test -n "$LIBMATHOBJS"; then
38772     need_libmath=yes
38773   fi
38774
38775
38776
38777   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38778   ac_save_CXXFLAGS="$CXXFLAGS"
38779   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38780
38781
38782   echo "$as_me:$LINENO: checking for strtold declaration" >&5
38783 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38784   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38785     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38786   echo $ECHO_N "(cached) $ECHO_C" >&6
38787 else
38788
38789
38790
38791       ac_ext=cc
38792 ac_cpp='$CXXCPP $CPPFLAGS'
38793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38796
38797       cat >conftest.$ac_ext <<_ACEOF
38798 /* confdefs.h.  */
38799 _ACEOF
38800 cat confdefs.h >>conftest.$ac_ext
38801 cat >>conftest.$ac_ext <<_ACEOF
38802 /* end confdefs.h.  */
38803 #include <stdlib.h>
38804 int
38805 main ()
38806 {
38807  strtold(0, 0);
38808   ;
38809   return 0;
38810 }
38811 _ACEOF
38812 rm -f conftest.$ac_objext
38813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38814   (eval $ac_compile) 2>conftest.er1
38815   ac_status=$?
38816   grep -v '^ *+' conftest.er1 >conftest.err
38817   rm -f conftest.er1
38818   cat conftest.err >&5
38819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820   (exit $ac_status); } &&
38821          { ac_try='test -z "$ac_cxx_werror_flag"
38822                          || test ! -s conftest.err'
38823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824   (eval $ac_try) 2>&5
38825   ac_status=$?
38826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827   (exit $ac_status); }; } &&
38828          { ac_try='test -s conftest.$ac_objext'
38829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830   (eval $ac_try) 2>&5
38831   ac_status=$?
38832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833   (exit $ac_status); }; }; then
38834   glibcxx_cv_func_strtold_use=yes
38835 else
38836   echo "$as_me: failed program was:" >&5
38837 sed 's/^/| /' conftest.$ac_ext >&5
38838
38839 glibcxx_cv_func_strtold_use=no
38840 fi
38841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38842       ac_ext=c
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38847
38848
38849 fi
38850
38851   fi
38852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38853 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38854   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38855
38856 for ac_func in strtold
38857 do
38858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38859 echo "$as_me:$LINENO: checking for $ac_func" >&5
38860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38861 if eval "test \"\${$as_ac_var+set}\" = set"; then
38862   echo $ECHO_N "(cached) $ECHO_C" >&6
38863 else
38864   if test x$gcc_no_link = xyes; then
38865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38867    { (exit 1); exit 1; }; }
38868 fi
38869 cat >conftest.$ac_ext <<_ACEOF
38870 /* confdefs.h.  */
38871 _ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h.  */
38875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38877 #define $ac_func innocuous_$ac_func
38878
38879 /* System header to define __stub macros and hopefully few prototypes,
38880     which can conflict with char $ac_func (); below.
38881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38882     <limits.h> exists even on freestanding compilers.  */
38883
38884 #ifdef __STDC__
38885 # include <limits.h>
38886 #else
38887 # include <assert.h>
38888 #endif
38889
38890 #undef $ac_func
38891
38892 /* Override any gcc2 internal prototype to avoid an error.  */
38893 #ifdef __cplusplus
38894 extern "C"
38895 {
38896 #endif
38897 /* We use char because int might match the return type of a gcc2
38898    builtin and then its argument prototype would still apply.  */
38899 char $ac_func ();
38900 /* The GNU C library defines this for functions which it implements
38901     to always fail with ENOSYS.  Some functions are actually named
38902     something starting with __ and the normal name is an alias.  */
38903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38904 choke me
38905 #else
38906 char (*f) () = $ac_func;
38907 #endif
38908 #ifdef __cplusplus
38909 }
38910 #endif
38911
38912 int
38913 main ()
38914 {
38915 return f != $ac_func;
38916   ;
38917   return 0;
38918 }
38919 _ACEOF
38920 rm -f conftest.$ac_objext conftest$ac_exeext
38921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38922   (eval $ac_link) 2>conftest.er1
38923   ac_status=$?
38924   grep -v '^ *+' conftest.er1 >conftest.err
38925   rm -f conftest.er1
38926   cat conftest.err >&5
38927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928   (exit $ac_status); } &&
38929          { ac_try='test -z "$ac_c_werror_flag"
38930                          || test ! -s conftest.err'
38931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38932   (eval $ac_try) 2>&5
38933   ac_status=$?
38934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935   (exit $ac_status); }; } &&
38936          { ac_try='test -s conftest$ac_exeext'
38937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38938   (eval $ac_try) 2>&5
38939   ac_status=$?
38940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941   (exit $ac_status); }; }; then
38942   eval "$as_ac_var=yes"
38943 else
38944   echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.$ac_ext >&5
38946
38947 eval "$as_ac_var=no"
38948 fi
38949 rm -f conftest.err conftest.$ac_objext \
38950       conftest$ac_exeext conftest.$ac_ext
38951 fi
38952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38954 if test `eval echo '${'$as_ac_var'}'` = yes; then
38955   cat >>confdefs.h <<_ACEOF
38956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38957 _ACEOF
38958
38959 fi
38960 done
38961
38962   fi
38963
38964
38965
38966
38967
38968   echo "$as_me:$LINENO: checking for strtof declaration" >&5
38969 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38970   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38971     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38972   echo $ECHO_N "(cached) $ECHO_C" >&6
38973 else
38974
38975
38976
38977       ac_ext=cc
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38982
38983       cat >conftest.$ac_ext <<_ACEOF
38984 /* confdefs.h.  */
38985 _ACEOF
38986 cat confdefs.h >>conftest.$ac_ext
38987 cat >>conftest.$ac_ext <<_ACEOF
38988 /* end confdefs.h.  */
38989 #include <stdlib.h>
38990 int
38991 main ()
38992 {
38993  strtof(0, 0);
38994   ;
38995   return 0;
38996 }
38997 _ACEOF
38998 rm -f conftest.$ac_objext
38999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39000   (eval $ac_compile) 2>conftest.er1
39001   ac_status=$?
39002   grep -v '^ *+' conftest.er1 >conftest.err
39003   rm -f conftest.er1
39004   cat conftest.err >&5
39005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006   (exit $ac_status); } &&
39007          { ac_try='test -z "$ac_cxx_werror_flag"
39008                          || test ! -s conftest.err'
39009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39010   (eval $ac_try) 2>&5
39011   ac_status=$?
39012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013   (exit $ac_status); }; } &&
39014          { ac_try='test -s conftest.$ac_objext'
39015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39016   (eval $ac_try) 2>&5
39017   ac_status=$?
39018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019   (exit $ac_status); }; }; then
39020   glibcxx_cv_func_strtof_use=yes
39021 else
39022   echo "$as_me: failed program was:" >&5
39023 sed 's/^/| /' conftest.$ac_ext >&5
39024
39025 glibcxx_cv_func_strtof_use=no
39026 fi
39027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39028       ac_ext=c
39029 ac_cpp='$CPP $CPPFLAGS'
39030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39033
39034
39035 fi
39036
39037   fi
39038   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
39039 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
39040   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39041
39042 for ac_func in strtof
39043 do
39044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39045 echo "$as_me:$LINENO: checking for $ac_func" >&5
39046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39047 if eval "test \"\${$as_ac_var+set}\" = set"; then
39048   echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050   if test x$gcc_no_link = xyes; then
39051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39053    { (exit 1); exit 1; }; }
39054 fi
39055 cat >conftest.$ac_ext <<_ACEOF
39056 /* confdefs.h.  */
39057 _ACEOF
39058 cat confdefs.h >>conftest.$ac_ext
39059 cat >>conftest.$ac_ext <<_ACEOF
39060 /* end confdefs.h.  */
39061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39063 #define $ac_func innocuous_$ac_func
39064
39065 /* System header to define __stub macros and hopefully few prototypes,
39066     which can conflict with char $ac_func (); below.
39067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39068     <limits.h> exists even on freestanding compilers.  */
39069
39070 #ifdef __STDC__
39071 # include <limits.h>
39072 #else
39073 # include <assert.h>
39074 #endif
39075
39076 #undef $ac_func
39077
39078 /* Override any gcc2 internal prototype to avoid an error.  */
39079 #ifdef __cplusplus
39080 extern "C"
39081 {
39082 #endif
39083 /* We use char because int might match the return type of a gcc2
39084    builtin and then its argument prototype would still apply.  */
39085 char $ac_func ();
39086 /* The GNU C library defines this for functions which it implements
39087     to always fail with ENOSYS.  Some functions are actually named
39088     something starting with __ and the normal name is an alias.  */
39089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39090 choke me
39091 #else
39092 char (*f) () = $ac_func;
39093 #endif
39094 #ifdef __cplusplus
39095 }
39096 #endif
39097
39098 int
39099 main ()
39100 {
39101 return f != $ac_func;
39102   ;
39103   return 0;
39104 }
39105 _ACEOF
39106 rm -f conftest.$ac_objext conftest$ac_exeext
39107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39108   (eval $ac_link) 2>conftest.er1
39109   ac_status=$?
39110   grep -v '^ *+' conftest.er1 >conftest.err
39111   rm -f conftest.er1
39112   cat conftest.err >&5
39113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114   (exit $ac_status); } &&
39115          { ac_try='test -z "$ac_c_werror_flag"
39116                          || test ! -s conftest.err'
39117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39118   (eval $ac_try) 2>&5
39119   ac_status=$?
39120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121   (exit $ac_status); }; } &&
39122          { ac_try='test -s conftest$ac_exeext'
39123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39124   (eval $ac_try) 2>&5
39125   ac_status=$?
39126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127   (exit $ac_status); }; }; then
39128   eval "$as_ac_var=yes"
39129 else
39130   echo "$as_me: failed program was:" >&5
39131 sed 's/^/| /' conftest.$ac_ext >&5
39132
39133 eval "$as_ac_var=no"
39134 fi
39135 rm -f conftest.err conftest.$ac_objext \
39136       conftest$ac_exeext conftest.$ac_ext
39137 fi
39138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39140 if test `eval echo '${'$as_ac_var'}'` = yes; then
39141   cat >>confdefs.h <<_ACEOF
39142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39143 _ACEOF
39144
39145 fi
39146 done
39147
39148   fi
39149
39150
39151
39152
39153
39154   CXXFLAGS="$ac_save_CXXFLAGS"
39155
39156
39157   # For showmanyc_helper().
39158
39159
39160 for ac_header in sys/ioctl.h sys/filio.h
39161 do
39162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39164   echo "$as_me:$LINENO: checking for $ac_header" >&5
39165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39167   echo $ECHO_N "(cached) $ECHO_C" >&6
39168 fi
39169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39171 else
39172   # Is the header compilable?
39173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39175 cat >conftest.$ac_ext <<_ACEOF
39176 /* confdefs.h.  */
39177 _ACEOF
39178 cat confdefs.h >>conftest.$ac_ext
39179 cat >>conftest.$ac_ext <<_ACEOF
39180 /* end confdefs.h.  */
39181 $ac_includes_default
39182 #include <$ac_header>
39183 _ACEOF
39184 rm -f conftest.$ac_objext
39185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39186   (eval $ac_compile) 2>conftest.er1
39187   ac_status=$?
39188   grep -v '^ *+' conftest.er1 >conftest.err
39189   rm -f conftest.er1
39190   cat conftest.err >&5
39191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39192   (exit $ac_status); } &&
39193          { ac_try='test -z "$ac_c_werror_flag"
39194                          || test ! -s conftest.err'
39195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39196   (eval $ac_try) 2>&5
39197   ac_status=$?
39198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199   (exit $ac_status); }; } &&
39200          { ac_try='test -s conftest.$ac_objext'
39201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202   (eval $ac_try) 2>&5
39203   ac_status=$?
39204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205   (exit $ac_status); }; }; then
39206   ac_header_compiler=yes
39207 else
39208   echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.$ac_ext >&5
39210
39211 ac_header_compiler=no
39212 fi
39213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39215 echo "${ECHO_T}$ac_header_compiler" >&6
39216
39217 # Is the header present?
39218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39220 cat >conftest.$ac_ext <<_ACEOF
39221 /* confdefs.h.  */
39222 _ACEOF
39223 cat confdefs.h >>conftest.$ac_ext
39224 cat >>conftest.$ac_ext <<_ACEOF
39225 /* end confdefs.h.  */
39226 #include <$ac_header>
39227 _ACEOF
39228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39230   ac_status=$?
39231   grep -v '^ *+' conftest.er1 >conftest.err
39232   rm -f conftest.er1
39233   cat conftest.err >&5
39234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235   (exit $ac_status); } >/dev/null; then
39236   if test -s conftest.err; then
39237     ac_cpp_err=$ac_c_preproc_warn_flag
39238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39239   else
39240     ac_cpp_err=
39241   fi
39242 else
39243   ac_cpp_err=yes
39244 fi
39245 if test -z "$ac_cpp_err"; then
39246   ac_header_preproc=yes
39247 else
39248   echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251   ac_header_preproc=no
39252 fi
39253 rm -f conftest.err conftest.$ac_ext
39254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39255 echo "${ECHO_T}$ac_header_preproc" >&6
39256
39257 # So?  What about this header?
39258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39259   yes:no: )
39260     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39262     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39264     ac_header_preproc=yes
39265     ;;
39266   no:yes:* )
39267     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39269     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39270 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39271     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39273     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39274 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39275     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39277     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39279     (
39280       cat <<\_ASBOX
39281 ## ----------------------------------------- ##
39282 ## Report this to the package-unused lists.  ##
39283 ## ----------------------------------------- ##
39284 _ASBOX
39285     ) |
39286       sed "s/^/$as_me: WARNING:     /" >&2
39287     ;;
39288 esac
39289 echo "$as_me:$LINENO: checking for $ac_header" >&5
39290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39292   echo $ECHO_N "(cached) $ECHO_C" >&6
39293 else
39294   eval "$as_ac_Header=\$ac_header_preproc"
39295 fi
39296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39298
39299 fi
39300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39301   cat >>confdefs.h <<_ACEOF
39302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39303 _ACEOF
39304
39305 fi
39306
39307 done
39308
39309
39310   echo "$as_me:$LINENO: checking for poll" >&5
39311 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39312   if test "${glibcxx_cv_POLL+set}" = set; then
39313   echo $ECHO_N "(cached) $ECHO_C" >&6
39314 else
39315
39316     if test x$gcc_no_link = xyes; then
39317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39319    { (exit 1); exit 1; }; }
39320 fi
39321 cat >conftest.$ac_ext <<_ACEOF
39322 /* confdefs.h.  */
39323 _ACEOF
39324 cat confdefs.h >>conftest.$ac_ext
39325 cat >>conftest.$ac_ext <<_ACEOF
39326 /* end confdefs.h.  */
39327 #include <poll.h>
39328 int
39329 main ()
39330 {
39331 struct pollfd pfd[1];
39332        pfd[0].events = POLLIN;
39333        poll(pfd, 1, 0);
39334   ;
39335   return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext conftest$ac_exeext
39339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39340   (eval $ac_link) 2>conftest.er1
39341   ac_status=$?
39342   grep -v '^ *+' conftest.er1 >conftest.err
39343   rm -f conftest.er1
39344   cat conftest.err >&5
39345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346   (exit $ac_status); } &&
39347          { ac_try='test -z "$ac_c_werror_flag"
39348                          || test ! -s conftest.err'
39349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39350   (eval $ac_try) 2>&5
39351   ac_status=$?
39352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353   (exit $ac_status); }; } &&
39354          { ac_try='test -s conftest$ac_exeext'
39355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39356   (eval $ac_try) 2>&5
39357   ac_status=$?
39358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359   (exit $ac_status); }; }; then
39360   glibcxx_cv_POLL=yes
39361 else
39362   echo "$as_me: failed program was:" >&5
39363 sed 's/^/| /' conftest.$ac_ext >&5
39364
39365 glibcxx_cv_POLL=no
39366 fi
39367 rm -f conftest.err conftest.$ac_objext \
39368       conftest$ac_exeext conftest.$ac_ext
39369
39370 fi
39371
39372   if test $glibcxx_cv_POLL = yes; then
39373
39374 cat >>confdefs.h <<\_ACEOF
39375 #define HAVE_POLL 1
39376 _ACEOF
39377
39378   fi
39379   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39380 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39381
39382
39383   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39384 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39385   if test "${glibcxx_cv_S_ISREG+set}" = set; then
39386   echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388
39389     if test x$gcc_no_link = xyes; then
39390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39392    { (exit 1); exit 1; }; }
39393 fi
39394 cat >conftest.$ac_ext <<_ACEOF
39395 /* confdefs.h.  */
39396 _ACEOF
39397 cat confdefs.h >>conftest.$ac_ext
39398 cat >>conftest.$ac_ext <<_ACEOF
39399 /* end confdefs.h.  */
39400 #include <sys/stat.h>
39401 int
39402 main ()
39403 {
39404 struct stat buffer;
39405        fstat(0, &buffer);
39406        S_ISREG(buffer.st_mode);
39407   ;
39408   return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext conftest$ac_exeext
39412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39413   (eval $ac_link) 2>conftest.er1
39414   ac_status=$?
39415   grep -v '^ *+' conftest.er1 >conftest.err
39416   rm -f conftest.er1
39417   cat conftest.err >&5
39418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419   (exit $ac_status); } &&
39420          { ac_try='test -z "$ac_c_werror_flag"
39421                          || test ! -s conftest.err'
39422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39423   (eval $ac_try) 2>&5
39424   ac_status=$?
39425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426   (exit $ac_status); }; } &&
39427          { ac_try='test -s conftest$ac_exeext'
39428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39429   (eval $ac_try) 2>&5
39430   ac_status=$?
39431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432   (exit $ac_status); }; }; then
39433   glibcxx_cv_S_ISREG=yes
39434 else
39435   echo "$as_me: failed program was:" >&5
39436 sed 's/^/| /' conftest.$ac_ext >&5
39437
39438 glibcxx_cv_S_ISREG=no
39439 fi
39440 rm -f conftest.err conftest.$ac_objext \
39441       conftest$ac_exeext conftest.$ac_ext
39442
39443 fi
39444
39445   if test "${glibcxx_cv_S_IFREG+set}" = set; then
39446   echo $ECHO_N "(cached) $ECHO_C" >&6
39447 else
39448
39449     if test x$gcc_no_link = xyes; then
39450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39452    { (exit 1); exit 1; }; }
39453 fi
39454 cat >conftest.$ac_ext <<_ACEOF
39455 /* confdefs.h.  */
39456 _ACEOF
39457 cat confdefs.h >>conftest.$ac_ext
39458 cat >>conftest.$ac_ext <<_ACEOF
39459 /* end confdefs.h.  */
39460 #include <sys/stat.h>
39461 int
39462 main ()
39463 {
39464 struct stat buffer;
39465        fstat(0, &buffer);
39466        S_IFREG & buffer.st_mode;
39467   ;
39468   return 0;
39469 }
39470 _ACEOF
39471 rm -f conftest.$ac_objext conftest$ac_exeext
39472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39473   (eval $ac_link) 2>conftest.er1
39474   ac_status=$?
39475   grep -v '^ *+' conftest.er1 >conftest.err
39476   rm -f conftest.er1
39477   cat conftest.err >&5
39478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479   (exit $ac_status); } &&
39480          { ac_try='test -z "$ac_c_werror_flag"
39481                          || test ! -s conftest.err'
39482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39483   (eval $ac_try) 2>&5
39484   ac_status=$?
39485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486   (exit $ac_status); }; } &&
39487          { ac_try='test -s conftest$ac_exeext'
39488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489   (eval $ac_try) 2>&5
39490   ac_status=$?
39491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492   (exit $ac_status); }; }; then
39493   glibcxx_cv_S_IFREG=yes
39494 else
39495   echo "$as_me: failed program was:" >&5
39496 sed 's/^/| /' conftest.$ac_ext >&5
39497
39498 glibcxx_cv_S_IFREG=no
39499 fi
39500 rm -f conftest.err conftest.$ac_objext \
39501       conftest$ac_exeext conftest.$ac_ext
39502
39503 fi
39504
39505   res=no
39506   if test $glibcxx_cv_S_ISREG = yes; then
39507
39508 cat >>confdefs.h <<\_ACEOF
39509 #define HAVE_S_ISREG 1
39510 _ACEOF
39511
39512     res=S_ISREG
39513   elif test $glibcxx_cv_S_IFREG = yes; then
39514
39515 cat >>confdefs.h <<\_ACEOF
39516 #define HAVE_S_IFREG 1
39517 _ACEOF
39518
39519     res=S_IFREG
39520   fi
39521   echo "$as_me:$LINENO: result: $res" >&5
39522 echo "${ECHO_T}$res" >&6
39523
39524
39525   # For xsputn_2().
39526
39527 for ac_header in sys/uio.h
39528 do
39529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39531   echo "$as_me:$LINENO: checking for $ac_header" >&5
39532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39534   echo $ECHO_N "(cached) $ECHO_C" >&6
39535 fi
39536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39538 else
39539   # Is the header compilable?
39540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39542 cat >conftest.$ac_ext <<_ACEOF
39543 /* confdefs.h.  */
39544 _ACEOF
39545 cat confdefs.h >>conftest.$ac_ext
39546 cat >>conftest.$ac_ext <<_ACEOF
39547 /* end confdefs.h.  */
39548 $ac_includes_default
39549 #include <$ac_header>
39550 _ACEOF
39551 rm -f conftest.$ac_objext
39552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39553   (eval $ac_compile) 2>conftest.er1
39554   ac_status=$?
39555   grep -v '^ *+' conftest.er1 >conftest.err
39556   rm -f conftest.er1
39557   cat conftest.err >&5
39558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559   (exit $ac_status); } &&
39560          { ac_try='test -z "$ac_c_werror_flag"
39561                          || test ! -s conftest.err'
39562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39563   (eval $ac_try) 2>&5
39564   ac_status=$?
39565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566   (exit $ac_status); }; } &&
39567          { ac_try='test -s conftest.$ac_objext'
39568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569   (eval $ac_try) 2>&5
39570   ac_status=$?
39571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572   (exit $ac_status); }; }; then
39573   ac_header_compiler=yes
39574 else
39575   echo "$as_me: failed program was:" >&5
39576 sed 's/^/| /' conftest.$ac_ext >&5
39577
39578 ac_header_compiler=no
39579 fi
39580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39582 echo "${ECHO_T}$ac_header_compiler" >&6
39583
39584 # Is the header present?
39585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39587 cat >conftest.$ac_ext <<_ACEOF
39588 /* confdefs.h.  */
39589 _ACEOF
39590 cat confdefs.h >>conftest.$ac_ext
39591 cat >>conftest.$ac_ext <<_ACEOF
39592 /* end confdefs.h.  */
39593 #include <$ac_header>
39594 _ACEOF
39595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39596   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39597   ac_status=$?
39598   grep -v '^ *+' conftest.er1 >conftest.err
39599   rm -f conftest.er1
39600   cat conftest.err >&5
39601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602   (exit $ac_status); } >/dev/null; then
39603   if test -s conftest.err; then
39604     ac_cpp_err=$ac_c_preproc_warn_flag
39605     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39606   else
39607     ac_cpp_err=
39608   fi
39609 else
39610   ac_cpp_err=yes
39611 fi
39612 if test -z "$ac_cpp_err"; then
39613   ac_header_preproc=yes
39614 else
39615   echo "$as_me: failed program was:" >&5
39616 sed 's/^/| /' conftest.$ac_ext >&5
39617
39618   ac_header_preproc=no
39619 fi
39620 rm -f conftest.err conftest.$ac_ext
39621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39622 echo "${ECHO_T}$ac_header_preproc" >&6
39623
39624 # So?  What about this header?
39625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39626   yes:no: )
39627     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39629     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39631     ac_header_preproc=yes
39632     ;;
39633   no:yes:* )
39634     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39636     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39637 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39638     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39640     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39641 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39644     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39646     (
39647       cat <<\_ASBOX
39648 ## ----------------------------------------- ##
39649 ## Report this to the package-unused lists.  ##
39650 ## ----------------------------------------- ##
39651 _ASBOX
39652     ) |
39653       sed "s/^/$as_me: WARNING:     /" >&2
39654     ;;
39655 esac
39656 echo "$as_me:$LINENO: checking for $ac_header" >&5
39657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39659   echo $ECHO_N "(cached) $ECHO_C" >&6
39660 else
39661   eval "$as_ac_Header=\$ac_header_preproc"
39662 fi
39663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39665
39666 fi
39667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39668   cat >>confdefs.h <<_ACEOF
39669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39670 _ACEOF
39671
39672 fi
39673
39674 done
39675
39676
39677   echo "$as_me:$LINENO: checking for writev" >&5
39678 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39679   if test "${glibcxx_cv_WRITEV+set}" = set; then
39680   echo $ECHO_N "(cached) $ECHO_C" >&6
39681 else
39682
39683     if test x$gcc_no_link = xyes; then
39684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39686    { (exit 1); exit 1; }; }
39687 fi
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h.  */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h.  */
39694 #include <sys/uio.h>
39695 int
39696 main ()
39697 {
39698 struct iovec iov[2];
39699        writev(0, iov, 0);
39700   ;
39701   return 0;
39702 }
39703 _ACEOF
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39706   (eval $ac_link) 2>conftest.er1
39707   ac_status=$?
39708   grep -v '^ *+' conftest.er1 >conftest.err
39709   rm -f conftest.er1
39710   cat conftest.err >&5
39711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712   (exit $ac_status); } &&
39713          { ac_try='test -z "$ac_c_werror_flag"
39714                          || test ! -s conftest.err'
39715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716   (eval $ac_try) 2>&5
39717   ac_status=$?
39718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719   (exit $ac_status); }; } &&
39720          { ac_try='test -s conftest$ac_exeext'
39721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39722   (eval $ac_try) 2>&5
39723   ac_status=$?
39724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725   (exit $ac_status); }; }; then
39726   glibcxx_cv_WRITEV=yes
39727 else
39728   echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39730
39731 glibcxx_cv_WRITEV=no
39732 fi
39733 rm -f conftest.err conftest.$ac_objext \
39734       conftest$ac_exeext conftest.$ac_ext
39735
39736 fi
39737
39738   if test $glibcxx_cv_WRITEV = yes; then
39739
39740 cat >>confdefs.h <<\_ACEOF
39741 #define HAVE_WRITEV 1
39742 _ACEOF
39743
39744   fi
39745   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39746 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39747
39748
39749   # For the __streamoff_base_type typedef.
39750
39751
39752
39753
39754   ac_ext=cc
39755 ac_cpp='$CXXCPP $CPPFLAGS'
39756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39759
39760
39761   echo "$as_me:$LINENO: checking for int64_t" >&5
39762 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39763   if test "${glibcxx_cv_INT64_T+set}" = set; then
39764   echo $ECHO_N "(cached) $ECHO_C" >&6
39765 else
39766
39767     cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h.  */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h.  */
39773 #include <stdint.h>
39774 int
39775 main ()
39776 {
39777 int64_t var;
39778   ;
39779   return 0;
39780 }
39781 _ACEOF
39782 rm -f conftest.$ac_objext
39783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39784   (eval $ac_compile) 2>conftest.er1
39785   ac_status=$?
39786   grep -v '^ *+' conftest.er1 >conftest.err
39787   rm -f conftest.er1
39788   cat conftest.err >&5
39789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790   (exit $ac_status); } &&
39791          { ac_try='test -z "$ac_cxx_werror_flag"
39792                          || test ! -s conftest.err'
39793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39794   (eval $ac_try) 2>&5
39795   ac_status=$?
39796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797   (exit $ac_status); }; } &&
39798          { ac_try='test -s conftest.$ac_objext'
39799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39800   (eval $ac_try) 2>&5
39801   ac_status=$?
39802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803   (exit $ac_status); }; }; then
39804   glibcxx_cv_INT64_T=yes
39805 else
39806   echo "$as_me: failed program was:" >&5
39807 sed 's/^/| /' conftest.$ac_ext >&5
39808
39809 glibcxx_cv_INT64_T=no
39810 fi
39811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39812
39813 fi
39814
39815
39816   if test $glibcxx_cv_INT64_T = yes; then
39817
39818 cat >>confdefs.h <<\_ACEOF
39819 #define HAVE_INT64_T 1
39820 _ACEOF
39821
39822     echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39823 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39824
39825     echo "$as_me:$LINENO: checking for int64_t as long" >&5
39826 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
39827     if test "${glibcxx_cv_int64_t_long+set}" = set; then
39828   echo $ECHO_N "(cached) $ECHO_C" >&6
39829 else
39830
39831       cat >conftest.$ac_ext <<_ACEOF
39832 /* confdefs.h.  */
39833 _ACEOF
39834 cat confdefs.h >>conftest.$ac_ext
39835 cat >>conftest.$ac_ext <<_ACEOF
39836 /* end confdefs.h.  */
39837 #include <stdint.h>
39838         template<typename, typename> struct same { enum { value = -1 }; };
39839         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
39840         int array[same<int64_t, long>::value];
39841 int
39842 main ()
39843 {
39844
39845   ;
39846   return 0;
39847 }
39848 _ACEOF
39849 rm -f conftest.$ac_objext
39850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39851   (eval $ac_compile) 2>conftest.er1
39852   ac_status=$?
39853   grep -v '^ *+' conftest.er1 >conftest.err
39854   rm -f conftest.er1
39855   cat conftest.err >&5
39856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857   (exit $ac_status); } &&
39858          { ac_try='test -z "$ac_cxx_werror_flag"
39859                          || test ! -s conftest.err'
39860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39861   (eval $ac_try) 2>&5
39862   ac_status=$?
39863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864   (exit $ac_status); }; } &&
39865          { ac_try='test -s conftest.$ac_objext'
39866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39867   (eval $ac_try) 2>&5
39868   ac_status=$?
39869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870   (exit $ac_status); }; }; then
39871   glibcxx_cv_int64_t_long=yes
39872 else
39873   echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.$ac_ext >&5
39875
39876 glibcxx_cv_int64_t_long=no
39877 fi
39878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39879
39880 fi
39881
39882
39883     if test $glibcxx_cv_int64_t_long = yes; then
39884
39885 cat >>confdefs.h <<\_ACEOF
39886 #define HAVE_INT64_T_LONG 1
39887 _ACEOF
39888
39889       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
39890 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
39891     fi
39892
39893     echo "$as_me:$LINENO: checking for int64_t as long long" >&5
39894 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
39895     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
39896   echo $ECHO_N "(cached) $ECHO_C" >&6
39897 else
39898
39899       cat >conftest.$ac_ext <<_ACEOF
39900 /* confdefs.h.  */
39901 _ACEOF
39902 cat confdefs.h >>conftest.$ac_ext
39903 cat >>conftest.$ac_ext <<_ACEOF
39904 /* end confdefs.h.  */
39905 #include <stdint.h>
39906         template<typename, typename> struct same { enum { value = -1 }; };
39907         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
39908         int array[same<int64_t, long long>::value];
39909 int
39910 main ()
39911 {
39912
39913   ;
39914   return 0;
39915 }
39916 _ACEOF
39917 rm -f conftest.$ac_objext
39918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39919   (eval $ac_compile) 2>conftest.er1
39920   ac_status=$?
39921   grep -v '^ *+' conftest.er1 >conftest.err
39922   rm -f conftest.er1
39923   cat conftest.err >&5
39924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925   (exit $ac_status); } &&
39926          { ac_try='test -z "$ac_cxx_werror_flag"
39927                          || test ! -s conftest.err'
39928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39929   (eval $ac_try) 2>&5
39930   ac_status=$?
39931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932   (exit $ac_status); }; } &&
39933          { ac_try='test -s conftest.$ac_objext'
39934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935   (eval $ac_try) 2>&5
39936   ac_status=$?
39937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938   (exit $ac_status); }; }; then
39939   glibcxx_cv_int64_t_long_long=yes
39940 else
39941   echo "$as_me: failed program was:" >&5
39942 sed 's/^/| /' conftest.$ac_ext >&5
39943
39944 glibcxx_cv_int64_t_long_long=no
39945 fi
39946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39947
39948 fi
39949
39950
39951     if test $glibcxx_cv_int64_t_long_long = yes; then
39952
39953 cat >>confdefs.h <<\_ACEOF
39954 #define HAVE_INT64_T_LONG_LONG 1
39955 _ACEOF
39956
39957       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
39958 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
39959     fi
39960   fi
39961
39962   ac_ext=c
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967
39968
39969
39970   # For LFS support.
39971
39972
39973
39974   ac_ext=cc
39975 ac_cpp='$CXXCPP $CPPFLAGS'
39976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39979
39980   ac_save_CXXFLAGS="$CXXFLAGS"
39981   CXXFLAGS="$CXXFLAGS -fno-exceptions"
39982   echo "$as_me:$LINENO: checking for LFS support" >&5
39983 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39984   if test "${glibcxx_cv_LFS+set}" = set; then
39985   echo $ECHO_N "(cached) $ECHO_C" >&6
39986 else
39987
39988     if test x$gcc_no_link = xyes; then
39989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39991    { (exit 1); exit 1; }; }
39992 fi
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h.  */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h.  */
39999 #include <unistd.h>
40000        #include <stdio.h>
40001        #include <sys/stat.h>
40002
40003 int
40004 main ()
40005 {
40006 FILE* fp;
40007        fopen64("t", "w");
40008        fseeko64(fp, 0, SEEK_CUR);
40009        ftello64(fp);
40010        lseek64(1, 0, SEEK_CUR);
40011        struct stat64 buf;
40012        fstat64(1, &buf);
40013   ;
40014   return 0;
40015 }
40016 _ACEOF
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40019   (eval $ac_link) 2>conftest.er1
40020   ac_status=$?
40021   grep -v '^ *+' conftest.er1 >conftest.err
40022   rm -f conftest.er1
40023   cat conftest.err >&5
40024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025   (exit $ac_status); } &&
40026          { ac_try='test -z "$ac_cxx_werror_flag"
40027                          || test ! -s conftest.err'
40028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40029   (eval $ac_try) 2>&5
40030   ac_status=$?
40031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032   (exit $ac_status); }; } &&
40033          { ac_try='test -s conftest$ac_exeext'
40034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40035   (eval $ac_try) 2>&5
40036   ac_status=$?
40037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40038   (exit $ac_status); }; }; then
40039   glibcxx_cv_LFS=yes
40040 else
40041   echo "$as_me: failed program was:" >&5
40042 sed 's/^/| /' conftest.$ac_ext >&5
40043
40044 glibcxx_cv_LFS=no
40045 fi
40046 rm -f conftest.err conftest.$ac_objext \
40047       conftest$ac_exeext conftest.$ac_ext
40048
40049 fi
40050
40051   if test $glibcxx_cv_LFS = yes; then
40052
40053 cat >>confdefs.h <<\_ACEOF
40054 #define _GLIBCXX_USE_LFS 1
40055 _ACEOF
40056
40057   fi
40058   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
40059 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
40060   CXXFLAGS="$ac_save_CXXFLAGS"
40061   ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067
40068
40069   # For C99 support to TR1.
40070
40071
40072
40073
40074   ac_ext=cc
40075 ac_cpp='$CXXCPP $CPPFLAGS'
40076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40079
40080
40081   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
40082   # undefined and fake C99 facilities may be spuriously enabled.
40083   ac_save_CXXFLAGS="$CXXFLAGS"
40084   CXXFLAGS="$CXXFLAGS -std=c++98"
40085
40086   # Check for the existence of <complex.h> complex math functions used
40087   # by tr1/complex.
40088
40089 for ac_header in complex.h
40090 do
40091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40093   echo "$as_me:$LINENO: checking for $ac_header" >&5
40094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40096   echo $ECHO_N "(cached) $ECHO_C" >&6
40097 fi
40098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40100 else
40101   # Is the header compilable?
40102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40104 cat >conftest.$ac_ext <<_ACEOF
40105 /* confdefs.h.  */
40106 _ACEOF
40107 cat confdefs.h >>conftest.$ac_ext
40108 cat >>conftest.$ac_ext <<_ACEOF
40109 /* end confdefs.h.  */
40110 $ac_includes_default
40111 #include <$ac_header>
40112 _ACEOF
40113 rm -f conftest.$ac_objext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40115   (eval $ac_compile) 2>conftest.er1
40116   ac_status=$?
40117   grep -v '^ *+' conftest.er1 >conftest.err
40118   rm -f conftest.er1
40119   cat conftest.err >&5
40120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121   (exit $ac_status); } &&
40122          { ac_try='test -z "$ac_cxx_werror_flag"
40123                          || test ! -s conftest.err'
40124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125   (eval $ac_try) 2>&5
40126   ac_status=$?
40127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128   (exit $ac_status); }; } &&
40129          { ac_try='test -s conftest.$ac_objext'
40130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131   (eval $ac_try) 2>&5
40132   ac_status=$?
40133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134   (exit $ac_status); }; }; then
40135   ac_header_compiler=yes
40136 else
40137   echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.$ac_ext >&5
40139
40140 ac_header_compiler=no
40141 fi
40142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40144 echo "${ECHO_T}$ac_header_compiler" >&6
40145
40146 # Is the header present?
40147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40149 cat >conftest.$ac_ext <<_ACEOF
40150 /* confdefs.h.  */
40151 _ACEOF
40152 cat confdefs.h >>conftest.$ac_ext
40153 cat >>conftest.$ac_ext <<_ACEOF
40154 /* end confdefs.h.  */
40155 #include <$ac_header>
40156 _ACEOF
40157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40158   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40159   ac_status=$?
40160   grep -v '^ *+' conftest.er1 >conftest.err
40161   rm -f conftest.er1
40162   cat conftest.err >&5
40163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164   (exit $ac_status); } >/dev/null; then
40165   if test -s conftest.err; then
40166     ac_cpp_err=$ac_cxx_preproc_warn_flag
40167     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40168   else
40169     ac_cpp_err=
40170   fi
40171 else
40172   ac_cpp_err=yes
40173 fi
40174 if test -z "$ac_cpp_err"; then
40175   ac_header_preproc=yes
40176 else
40177   echo "$as_me: failed program was:" >&5
40178 sed 's/^/| /' conftest.$ac_ext >&5
40179
40180   ac_header_preproc=no
40181 fi
40182 rm -f conftest.err conftest.$ac_ext
40183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40184 echo "${ECHO_T}$ac_header_preproc" >&6
40185
40186 # So?  What about this header?
40187 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40188   yes:no: )
40189     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40191     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40193     ac_header_preproc=yes
40194     ;;
40195   no:yes:* )
40196     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40198     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40199 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40200     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40202     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40203 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40204     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40206     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40208     (
40209       cat <<\_ASBOX
40210 ## ----------------------------------------- ##
40211 ## Report this to the package-unused lists.  ##
40212 ## ----------------------------------------- ##
40213 _ASBOX
40214     ) |
40215       sed "s/^/$as_me: WARNING:     /" >&2
40216     ;;
40217 esac
40218 echo "$as_me:$LINENO: checking for $ac_header" >&5
40219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40221   echo $ECHO_N "(cached) $ECHO_C" >&6
40222 else
40223   eval "$as_ac_Header=\$ac_header_preproc"
40224 fi
40225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40227
40228 fi
40229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40230   cat >>confdefs.h <<_ACEOF
40231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40232 _ACEOF
40233  ac_has_complex_h=yes
40234 else
40235   ac_has_complex_h=no
40236 fi
40237
40238 done
40239
40240   ac_c99_complex_tr1=no;
40241   if test x"$ac_has_complex_h" = x"yes"; then
40242     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40243 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40244     cat >conftest.$ac_ext <<_ACEOF
40245 /* confdefs.h.  */
40246 _ACEOF
40247 cat confdefs.h >>conftest.$ac_ext
40248 cat >>conftest.$ac_ext <<_ACEOF
40249 /* end confdefs.h.  */
40250 #include <complex.h>
40251 int
40252 main ()
40253 {
40254 typedef __complex__ float float_type; float_type tmpf;
40255                     cacosf(tmpf);
40256                     casinf(tmpf);
40257                     catanf(tmpf);
40258                     cacoshf(tmpf);
40259                     casinhf(tmpf);
40260                     catanhf(tmpf);
40261                     typedef __complex__ double double_type; double_type tmpd;
40262                     cacos(tmpd);
40263                     casin(tmpd);
40264                     catan(tmpd);
40265                     cacosh(tmpd);
40266                     casinh(tmpd);
40267                     catanh(tmpd);
40268                     typedef __complex__ long double ld_type; ld_type tmpld;
40269                     cacosl(tmpld);
40270                     casinl(tmpld);
40271                     catanl(tmpld);
40272                     cacoshl(tmpld);
40273                     casinhl(tmpld);
40274                     catanhl(tmpld);
40275
40276   ;
40277   return 0;
40278 }
40279 _ACEOF
40280 rm -f conftest.$ac_objext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40282   (eval $ac_compile) 2>conftest.er1
40283   ac_status=$?
40284   grep -v '^ *+' conftest.er1 >conftest.err
40285   rm -f conftest.er1
40286   cat conftest.err >&5
40287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288   (exit $ac_status); } &&
40289          { ac_try='test -z "$ac_cxx_werror_flag"
40290                          || test ! -s conftest.err'
40291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292   (eval $ac_try) 2>&5
40293   ac_status=$?
40294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295   (exit $ac_status); }; } &&
40296          { ac_try='test -s conftest.$ac_objext'
40297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298   (eval $ac_try) 2>&5
40299   ac_status=$?
40300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301   (exit $ac_status); }; }; then
40302   ac_c99_complex_tr1=yes
40303 else
40304   echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.$ac_ext >&5
40306
40307 ac_c99_complex_tr1=no
40308 fi
40309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40310   fi
40311   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40312 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40313   if test x"$ac_c99_complex_tr1" = x"yes"; then
40314
40315 cat >>confdefs.h <<\_ACEOF
40316 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40317 _ACEOF
40318
40319   fi
40320
40321   # Check for the existence of <ctype.h> functions.
40322   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40323 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40324   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40325   echo $ECHO_N "(cached) $ECHO_C" >&6
40326 else
40327
40328   cat >conftest.$ac_ext <<_ACEOF
40329 /* confdefs.h.  */
40330 _ACEOF
40331 cat confdefs.h >>conftest.$ac_ext
40332 cat >>conftest.$ac_ext <<_ACEOF
40333 /* end confdefs.h.  */
40334 #include <ctype.h>
40335 int
40336 main ()
40337 {
40338 int ch;
40339                   int ret;
40340                   ret = isblank(ch);
40341
40342   ;
40343   return 0;
40344 }
40345 _ACEOF
40346 rm -f conftest.$ac_objext
40347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40348   (eval $ac_compile) 2>conftest.er1
40349   ac_status=$?
40350   grep -v '^ *+' conftest.er1 >conftest.err
40351   rm -f conftest.er1
40352   cat conftest.err >&5
40353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354   (exit $ac_status); } &&
40355          { ac_try='test -z "$ac_cxx_werror_flag"
40356                          || test ! -s conftest.err'
40357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40358   (eval $ac_try) 2>&5
40359   ac_status=$?
40360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361   (exit $ac_status); }; } &&
40362          { ac_try='test -s conftest.$ac_objext'
40363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364   (eval $ac_try) 2>&5
40365   ac_status=$?
40366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367   (exit $ac_status); }; }; then
40368   glibcxx_cv_c99_ctype_tr1=yes
40369 else
40370   echo "$as_me: failed program was:" >&5
40371 sed 's/^/| /' conftest.$ac_ext >&5
40372
40373 glibcxx_cv_c99_ctype_tr1=no
40374 fi
40375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40376
40377 fi
40378
40379   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40380 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40381   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40382
40383 cat >>confdefs.h <<\_ACEOF
40384 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40385 _ACEOF
40386
40387   fi
40388
40389   # Check for the existence of <fenv.h> functions.
40390
40391 for ac_header in fenv.h
40392 do
40393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40395   echo "$as_me:$LINENO: checking for $ac_header" >&5
40396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40398   echo $ECHO_N "(cached) $ECHO_C" >&6
40399 fi
40400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40402 else
40403   # Is the header compilable?
40404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40406 cat >conftest.$ac_ext <<_ACEOF
40407 /* confdefs.h.  */
40408 _ACEOF
40409 cat confdefs.h >>conftest.$ac_ext
40410 cat >>conftest.$ac_ext <<_ACEOF
40411 /* end confdefs.h.  */
40412 $ac_includes_default
40413 #include <$ac_header>
40414 _ACEOF
40415 rm -f conftest.$ac_objext
40416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40417   (eval $ac_compile) 2>conftest.er1
40418   ac_status=$?
40419   grep -v '^ *+' conftest.er1 >conftest.err
40420   rm -f conftest.er1
40421   cat conftest.err >&5
40422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40423   (exit $ac_status); } &&
40424          { ac_try='test -z "$ac_cxx_werror_flag"
40425                          || test ! -s conftest.err'
40426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427   (eval $ac_try) 2>&5
40428   ac_status=$?
40429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430   (exit $ac_status); }; } &&
40431          { ac_try='test -s conftest.$ac_objext'
40432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40433   (eval $ac_try) 2>&5
40434   ac_status=$?
40435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436   (exit $ac_status); }; }; then
40437   ac_header_compiler=yes
40438 else
40439   echo "$as_me: failed program was:" >&5
40440 sed 's/^/| /' conftest.$ac_ext >&5
40441
40442 ac_header_compiler=no
40443 fi
40444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40446 echo "${ECHO_T}$ac_header_compiler" >&6
40447
40448 # Is the header present?
40449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40451 cat >conftest.$ac_ext <<_ACEOF
40452 /* confdefs.h.  */
40453 _ACEOF
40454 cat confdefs.h >>conftest.$ac_ext
40455 cat >>conftest.$ac_ext <<_ACEOF
40456 /* end confdefs.h.  */
40457 #include <$ac_header>
40458 _ACEOF
40459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40460   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40461   ac_status=$?
40462   grep -v '^ *+' conftest.er1 >conftest.err
40463   rm -f conftest.er1
40464   cat conftest.err >&5
40465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466   (exit $ac_status); } >/dev/null; then
40467   if test -s conftest.err; then
40468     ac_cpp_err=$ac_cxx_preproc_warn_flag
40469     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40470   else
40471     ac_cpp_err=
40472   fi
40473 else
40474   ac_cpp_err=yes
40475 fi
40476 if test -z "$ac_cpp_err"; then
40477   ac_header_preproc=yes
40478 else
40479   echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40481
40482   ac_header_preproc=no
40483 fi
40484 rm -f conftest.err conftest.$ac_ext
40485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40486 echo "${ECHO_T}$ac_header_preproc" >&6
40487
40488 # So?  What about this header?
40489 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40490   yes:no: )
40491     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40493     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40495     ac_header_preproc=yes
40496     ;;
40497   no:yes:* )
40498     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40500     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40501 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40502     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40504     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40505 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40506     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40508     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40510     (
40511       cat <<\_ASBOX
40512 ## ----------------------------------------- ##
40513 ## Report this to the package-unused lists.  ##
40514 ## ----------------------------------------- ##
40515 _ASBOX
40516     ) |
40517       sed "s/^/$as_me: WARNING:     /" >&2
40518     ;;
40519 esac
40520 echo "$as_me:$LINENO: checking for $ac_header" >&5
40521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40523   echo $ECHO_N "(cached) $ECHO_C" >&6
40524 else
40525   eval "$as_ac_Header=\$ac_header_preproc"
40526 fi
40527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40529
40530 fi
40531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40532   cat >>confdefs.h <<_ACEOF
40533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40534 _ACEOF
40535  ac_has_fenv_h=yes
40536 else
40537   ac_has_fenv_h=no
40538 fi
40539
40540 done
40541
40542   ac_c99_fenv_tr1=no;
40543   if test x"$ac_has_fenv_h" = x"yes"; then
40544     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40545 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40546     cat >conftest.$ac_ext <<_ACEOF
40547 /* confdefs.h.  */
40548 _ACEOF
40549 cat confdefs.h >>conftest.$ac_ext
40550 cat >>conftest.$ac_ext <<_ACEOF
40551 /* end confdefs.h.  */
40552 #include <fenv.h>
40553 int
40554 main ()
40555 {
40556 int except, mode;
40557                     fexcept_t* pflag;
40558                     fenv_t* penv;
40559                     int ret;
40560                     ret = feclearexcept(except);
40561                     ret = fegetexceptflag(pflag, except);
40562                     ret = feraiseexcept(except);
40563                     ret = fesetexceptflag(pflag, except);
40564                     ret = fetestexcept(except);
40565                     ret = fegetround();
40566                     ret = fesetround(mode);
40567                     ret = fegetenv(penv);
40568                     ret = feholdexcept(penv);
40569                     ret = fesetenv(penv);
40570                     ret = feupdateenv(penv);
40571
40572   ;
40573   return 0;
40574 }
40575 _ACEOF
40576 rm -f conftest.$ac_objext
40577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40578   (eval $ac_compile) 2>conftest.er1
40579   ac_status=$?
40580   grep -v '^ *+' conftest.er1 >conftest.err
40581   rm -f conftest.er1
40582   cat conftest.err >&5
40583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584   (exit $ac_status); } &&
40585          { ac_try='test -z "$ac_cxx_werror_flag"
40586                          || test ! -s conftest.err'
40587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40588   (eval $ac_try) 2>&5
40589   ac_status=$?
40590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591   (exit $ac_status); }; } &&
40592          { ac_try='test -s conftest.$ac_objext'
40593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40594   (eval $ac_try) 2>&5
40595   ac_status=$?
40596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40597   (exit $ac_status); }; }; then
40598   ac_c99_fenv_tr1=yes
40599 else
40600   echo "$as_me: failed program was:" >&5
40601 sed 's/^/| /' conftest.$ac_ext >&5
40602
40603 ac_c99_fenv_tr1=no
40604 fi
40605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40606   fi
40607   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40608 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40609   if test x"$ac_c99_fenv_tr1" = x"yes"; then
40610
40611 cat >>confdefs.h <<\_ACEOF
40612 #define _GLIBCXX_USE_C99_FENV_TR1 1
40613 _ACEOF
40614
40615   fi
40616
40617   # Check for the existence of <stdint.h> types.
40618   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40619 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40620   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40621   echo $ECHO_N "(cached) $ECHO_C" >&6
40622 else
40623
40624   cat >conftest.$ac_ext <<_ACEOF
40625 /* confdefs.h.  */
40626 _ACEOF
40627 cat confdefs.h >>conftest.$ac_ext
40628 cat >>conftest.$ac_ext <<_ACEOF
40629 /* end confdefs.h.  */
40630 #include <stdint.h>
40631 int
40632 main ()
40633 {
40634 typedef int8_t          my_int8_t;
40635                   typedef int16_t         my_int16_t;
40636                   typedef int32_t         my_int32_t;
40637                   typedef int64_t         my_int64_t;
40638                   typedef int_fast8_t     my_int_fast8_t;
40639                   typedef int_fast16_t    my_int_fast16_t;
40640                   typedef int_fast32_t    my_int_fast32_t;
40641                   typedef int_fast64_t    my_int_fast64_t;
40642                   typedef int_least8_t    my_int_least8_t;
40643                   typedef int_least16_t   my_int_least16_t;
40644                   typedef int_least32_t   my_int_least32_t;
40645                   typedef int_least64_t   my_int_least64_t;
40646                   typedef intmax_t        my_intmax_t;
40647                   typedef intptr_t        my_intptr_t;
40648                   typedef uint8_t         my_uint8_t;
40649                   typedef uint16_t        my_uint16_t;
40650                   typedef uint32_t        my_uint32_t;
40651                   typedef uint64_t        my_uint64_t;
40652                   typedef uint_fast8_t    my_uint_fast8_t;
40653                   typedef uint_fast16_t   my_uint_fast16_t;
40654                   typedef uint_fast32_t   my_uint_fast32_t;
40655                   typedef uint_fast64_t   my_uint_fast64_t;
40656                   typedef uint_least8_t   my_uint_least8_t;
40657                   typedef uint_least16_t  my_uint_least16_t;
40658                   typedef uint_least32_t  my_uint_least32_t;
40659                   typedef uint_least64_t  my_uint_least64_t;
40660                   typedef uintmax_t       my_uintmax_t;
40661                   typedef uintptr_t       my_uintptr_t;
40662
40663   ;
40664   return 0;
40665 }
40666 _ACEOF
40667 rm -f conftest.$ac_objext
40668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40669   (eval $ac_compile) 2>conftest.er1
40670   ac_status=$?
40671   grep -v '^ *+' conftest.er1 >conftest.err
40672   rm -f conftest.er1
40673   cat conftest.err >&5
40674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675   (exit $ac_status); } &&
40676          { ac_try='test -z "$ac_cxx_werror_flag"
40677                          || test ! -s conftest.err'
40678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679   (eval $ac_try) 2>&5
40680   ac_status=$?
40681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682   (exit $ac_status); }; } &&
40683          { ac_try='test -s conftest.$ac_objext'
40684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40685   (eval $ac_try) 2>&5
40686   ac_status=$?
40687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688   (exit $ac_status); }; }; then
40689   glibcxx_cv_c99_stdint_tr1=yes
40690 else
40691   echo "$as_me: failed program was:" >&5
40692 sed 's/^/| /' conftest.$ac_ext >&5
40693
40694 glibcxx_cv_c99_stdint_tr1=no
40695 fi
40696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40697
40698 fi
40699
40700   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40701 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40702   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40703
40704 cat >>confdefs.h <<\_ACEOF
40705 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40706 _ACEOF
40707
40708   fi
40709
40710   # Check for the existence of <math.h> functions.
40711   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40712 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40713   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40714   echo $ECHO_N "(cached) $ECHO_C" >&6
40715 else
40716
40717   cat >conftest.$ac_ext <<_ACEOF
40718 /* confdefs.h.  */
40719 _ACEOF
40720 cat confdefs.h >>conftest.$ac_ext
40721 cat >>conftest.$ac_ext <<_ACEOF
40722 /* end confdefs.h.  */
40723 #include <math.h>
40724 int
40725 main ()
40726 {
40727 typedef double_t  my_double_t;
40728                   typedef float_t   my_float_t;
40729                   acosh(0.0);
40730                   acoshf(0.0f);
40731                   acoshl(0.0l);
40732                   asinh(0.0);
40733                   asinhf(0.0f);
40734                   asinhl(0.0l);
40735                   atanh(0.0);
40736                   atanhf(0.0f);
40737                   atanhl(0.0l);
40738                   cbrt(0.0);
40739                   cbrtf(0.0f);
40740                   cbrtl(0.0l);
40741                   copysign(0.0, 0.0);
40742                   copysignf(0.0f, 0.0f);
40743                   copysignl(0.0l, 0.0l);
40744                   erf(0.0);
40745                   erff(0.0f);
40746                   erfl(0.0l);
40747                   erfc(0.0);
40748                   erfcf(0.0f);
40749                   erfcl(0.0l);
40750                   exp2(0.0);
40751                   exp2f(0.0f);
40752                   exp2l(0.0l);
40753                   expm1(0.0);
40754                   expm1f(0.0f);
40755                   expm1l(0.0l);
40756                   fdim(0.0, 0.0);
40757                   fdimf(0.0f, 0.0f);
40758                   fdiml(0.0l, 0.0l);
40759                   fma(0.0, 0.0, 0.0);
40760                   fmaf(0.0f, 0.0f, 0.0f);
40761                   fmal(0.0l, 0.0l, 0.0l);
40762                   fmax(0.0, 0.0);
40763                   fmaxf(0.0f, 0.0f);
40764                   fmaxl(0.0l, 0.0l);
40765                   fmin(0.0, 0.0);
40766                   fminf(0.0f, 0.0f);
40767                   fminl(0.0l, 0.0l);
40768                   hypot(0.0, 0.0);
40769                   hypotf(0.0f, 0.0f);
40770                   hypotl(0.0l, 0.0l);
40771                   ilogb(0.0);
40772                   ilogbf(0.0f);
40773                   ilogbl(0.0l);
40774                   lgamma(0.0);
40775                   lgammaf(0.0f);
40776                   lgammal(0.0l);
40777                   llrint(0.0);
40778                   llrintf(0.0f);
40779                   llrintl(0.0l);
40780                   llround(0.0);
40781                   llroundf(0.0f);
40782                   llroundl(0.0l);
40783                   log1p(0.0);
40784                   log1pf(0.0f);
40785                   log1pl(0.0l);
40786                   log2(0.0);
40787                   log2f(0.0f);
40788                   log2l(0.0l);
40789                   logb(0.0);
40790                   logbf(0.0f);
40791                   logbl(0.0l);
40792                   lrint(0.0);
40793                   lrintf(0.0f);
40794                   lrintl(0.0l);
40795                   lround(0.0);
40796                   lroundf(0.0f);
40797                   lroundl(0.0l);
40798                   nan(0);
40799                   nanf(0);
40800                   nanl(0);
40801                   nearbyint(0.0);
40802                   nearbyintf(0.0f);
40803                   nearbyintl(0.0l);
40804                   nextafter(0.0, 0.0);
40805                   nextafterf(0.0f, 0.0f);
40806                   nextafterl(0.0l, 0.0l);
40807                   nexttoward(0.0, 0.0);
40808                   nexttowardf(0.0f, 0.0f);
40809                   nexttowardl(0.0l, 0.0l);
40810                   remainder(0.0, 0.0);
40811                   remainderf(0.0f, 0.0f);
40812                   remainderl(0.0l, 0.0l);
40813                   remquo(0.0, 0.0, 0);
40814                   remquo(0.0f, 0.0f, 0);
40815                   remquo(0.0l, 0.0l, 0);
40816                   rint(0.0);
40817                   rintf(0.0f);
40818                   rintl(0.0l);
40819                   round(0.0);
40820                   roundf(0.0f);
40821                   roundl(0.0l);
40822                   scalbln(0.0, 0l);
40823                   scalblnf(0.0f, 0l);
40824                   scalblnl(0.0l, 0l);
40825                   scalbn(0.0, 0);
40826                   scalbnf(0.0f, 0);
40827                   scalbnl(0.0l, 0);
40828                   tgamma(0.0);
40829                   tgammaf(0.0f);
40830                   tgammal(0.0l);
40831                   trunc(0.0);
40832                   truncf(0.0f);
40833                   truncl(0.0l);
40834
40835   ;
40836   return 0;
40837 }
40838 _ACEOF
40839 rm -f conftest.$ac_objext
40840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40841   (eval $ac_compile) 2>conftest.er1
40842   ac_status=$?
40843   grep -v '^ *+' conftest.er1 >conftest.err
40844   rm -f conftest.er1
40845   cat conftest.err >&5
40846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847   (exit $ac_status); } &&
40848          { ac_try='test -z "$ac_cxx_werror_flag"
40849                          || test ! -s conftest.err'
40850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851   (eval $ac_try) 2>&5
40852   ac_status=$?
40853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854   (exit $ac_status); }; } &&
40855          { ac_try='test -s conftest.$ac_objext'
40856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40857   (eval $ac_try) 2>&5
40858   ac_status=$?
40859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860   (exit $ac_status); }; }; then
40861   glibcxx_cv_c99_math_tr1=yes
40862 else
40863   echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 glibcxx_cv_c99_math_tr1=no
40867 fi
40868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40869
40870 fi
40871
40872   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40873 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40874   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40875
40876 cat >>confdefs.h <<\_ACEOF
40877 #define _GLIBCXX_USE_C99_MATH_TR1 1
40878 _ACEOF
40879
40880   fi
40881
40882   # Check for the existence of <inttypes.h> functions (NB: doesn't make
40883   # sense if the previous check fails, per C99, 7.8/1).
40884   ac_c99_inttypes_tr1=no;
40885   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40886     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40887 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40888     cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h.  */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h.  */
40894 #include <inttypes.h>
40895 int
40896 main ()
40897 {
40898 intmax_t i, numer, denom, base;
40899                     const char* s;
40900                     char** endptr;
40901                     intmax_t ret = imaxabs(i);
40902                     imaxdiv_t dret = imaxdiv(numer, denom);
40903                     ret = strtoimax(s, endptr, base);
40904                     uintmax_t uret = strtoumax(s, endptr, base);
40905
40906   ;
40907   return 0;
40908 }
40909 _ACEOF
40910 rm -f conftest.$ac_objext
40911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40912   (eval $ac_compile) 2>conftest.er1
40913   ac_status=$?
40914   grep -v '^ *+' conftest.er1 >conftest.err
40915   rm -f conftest.er1
40916   cat conftest.err >&5
40917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918   (exit $ac_status); } &&
40919          { ac_try='test -z "$ac_cxx_werror_flag"
40920                          || test ! -s conftest.err'
40921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40922   (eval $ac_try) 2>&5
40923   ac_status=$?
40924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40925   (exit $ac_status); }; } &&
40926          { ac_try='test -s conftest.$ac_objext'
40927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40928   (eval $ac_try) 2>&5
40929   ac_status=$?
40930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931   (exit $ac_status); }; }; then
40932   ac_c99_inttypes_tr1=yes
40933 else
40934   echo "$as_me: failed program was:" >&5
40935 sed 's/^/| /' conftest.$ac_ext >&5
40936
40937 ac_c99_inttypes_tr1=no
40938 fi
40939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40940   fi
40941   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40942 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40943   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40944
40945 cat >>confdefs.h <<\_ACEOF
40946 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40947 _ACEOF
40948
40949   fi
40950
40951   # Check for the existence of the <stdbool.h> header.
40952
40953 for ac_header in stdbool.h
40954 do
40955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40957   echo "$as_me:$LINENO: checking for $ac_header" >&5
40958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40960   echo $ECHO_N "(cached) $ECHO_C" >&6
40961 fi
40962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40964 else
40965   # Is the header compilable?
40966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40968 cat >conftest.$ac_ext <<_ACEOF
40969 /* confdefs.h.  */
40970 _ACEOF
40971 cat confdefs.h >>conftest.$ac_ext
40972 cat >>conftest.$ac_ext <<_ACEOF
40973 /* end confdefs.h.  */
40974 $ac_includes_default
40975 #include <$ac_header>
40976 _ACEOF
40977 rm -f conftest.$ac_objext
40978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40979   (eval $ac_compile) 2>conftest.er1
40980   ac_status=$?
40981   grep -v '^ *+' conftest.er1 >conftest.err
40982   rm -f conftest.er1
40983   cat conftest.err >&5
40984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40985   (exit $ac_status); } &&
40986          { ac_try='test -z "$ac_cxx_werror_flag"
40987                          || test ! -s conftest.err'
40988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989   (eval $ac_try) 2>&5
40990   ac_status=$?
40991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992   (exit $ac_status); }; } &&
40993          { ac_try='test -s conftest.$ac_objext'
40994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40995   (eval $ac_try) 2>&5
40996   ac_status=$?
40997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998   (exit $ac_status); }; }; then
40999   ac_header_compiler=yes
41000 else
41001   echo "$as_me: failed program was:" >&5
41002 sed 's/^/| /' conftest.$ac_ext >&5
41003
41004 ac_header_compiler=no
41005 fi
41006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41008 echo "${ECHO_T}$ac_header_compiler" >&6
41009
41010 # Is the header present?
41011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41013 cat >conftest.$ac_ext <<_ACEOF
41014 /* confdefs.h.  */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h.  */
41019 #include <$ac_header>
41020 _ACEOF
41021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41022   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41023   ac_status=$?
41024   grep -v '^ *+' conftest.er1 >conftest.err
41025   rm -f conftest.er1
41026   cat conftest.err >&5
41027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028   (exit $ac_status); } >/dev/null; then
41029   if test -s conftest.err; then
41030     ac_cpp_err=$ac_cxx_preproc_warn_flag
41031     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41032   else
41033     ac_cpp_err=
41034   fi
41035 else
41036   ac_cpp_err=yes
41037 fi
41038 if test -z "$ac_cpp_err"; then
41039   ac_header_preproc=yes
41040 else
41041   echo "$as_me: failed program was:" >&5
41042 sed 's/^/| /' conftest.$ac_ext >&5
41043
41044   ac_header_preproc=no
41045 fi
41046 rm -f conftest.err conftest.$ac_ext
41047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41048 echo "${ECHO_T}$ac_header_preproc" >&6
41049
41050 # So?  What about this header?
41051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41052   yes:no: )
41053     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41055     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41057     ac_header_preproc=yes
41058     ;;
41059   no:yes:* )
41060     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41062     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41063 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41064     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41066     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41067 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41068     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41070     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41072     (
41073       cat <<\_ASBOX
41074 ## ----------------------------------------- ##
41075 ## Report this to the package-unused lists.  ##
41076 ## ----------------------------------------- ##
41077 _ASBOX
41078     ) |
41079       sed "s/^/$as_me: WARNING:     /" >&2
41080     ;;
41081 esac
41082 echo "$as_me:$LINENO: checking for $ac_header" >&5
41083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41085   echo $ECHO_N "(cached) $ECHO_C" >&6
41086 else
41087   eval "$as_ac_Header=\$ac_header_preproc"
41088 fi
41089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41091
41092 fi
41093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41094   cat >>confdefs.h <<_ACEOF
41095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41096 _ACEOF
41097
41098 fi
41099
41100 done
41101
41102
41103   CXXFLAGS="$ac_save_CXXFLAGS"
41104   ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41109
41110
41111
41112   # For dev/random and dev/urandom for TR1.
41113
41114
41115   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
41116 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41117   if test "${glibcxx_cv_random_tr1+set}" = set; then
41118   echo $ECHO_N "(cached) $ECHO_C" >&6
41119 else
41120
41121   if test "$cross_compiling" = yes; then
41122   glibcxx_cv_random_tr1=no
41123 else
41124   cat >conftest.$ac_ext <<_ACEOF
41125 /* confdefs.h.  */
41126 _ACEOF
41127 cat confdefs.h >>conftest.$ac_ext
41128 cat >>conftest.$ac_ext <<_ACEOF
41129 /* end confdefs.h.  */
41130 #include <stdio.h>
41131               int main()
41132               {
41133                 return !(fopen("/dev/random", "r")
41134                          && fopen("/dev/urandom", "r"));
41135               }
41136
41137 _ACEOF
41138 rm -f conftest$ac_exeext
41139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41140   (eval $ac_link) 2>&5
41141   ac_status=$?
41142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41145   (eval $ac_try) 2>&5
41146   ac_status=$?
41147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148   (exit $ac_status); }; }; then
41149   glibcxx_cv_random_tr1=yes
41150 else
41151   echo "$as_me: program exited with status $ac_status" >&5
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.$ac_ext >&5
41154
41155 ( exit $ac_status )
41156 glibcxx_cv_random_tr1=no
41157 fi
41158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41159 fi
41160
41161 fi
41162
41163   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41164 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41165   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41166
41167 cat >>confdefs.h <<\_ACEOF
41168 #define _GLIBCXX_USE_RANDOM_TR1 1
41169 _ACEOF
41170
41171   fi
41172
41173
41174
41175   # For clock_gettime support.
41176
41177
41178
41179
41180   ac_ext=cc
41181 ac_cpp='$CXXCPP $CPPFLAGS'
41182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41185
41186   ac_save_CXXFLAGS="$CXXFLAGS"
41187   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41188   ac_save_LIBS="$LIBS"
41189
41190   echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
41191 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
41192 if test "${ac_cv_search_clock_gettime+set}" = set; then
41193   echo $ECHO_N "(cached) $ECHO_C" >&6
41194 else
41195   ac_func_search_save_LIBS=$LIBS
41196 ac_cv_search_clock_gettime=no
41197 if test x$gcc_no_link = xyes; then
41198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41200    { (exit 1); exit 1; }; }
41201 fi
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h.  */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h.  */
41208
41209 /* Override any gcc2 internal prototype to avoid an error.  */
41210 #ifdef __cplusplus
41211 extern "C"
41212 #endif
41213 /* We use char because int might match the return type of a gcc2
41214    builtin and then its argument prototype would still apply.  */
41215 char clock_gettime ();
41216 int
41217 main ()
41218 {
41219 clock_gettime ();
41220   ;
41221   return 0;
41222 }
41223 _ACEOF
41224 rm -f conftest.$ac_objext conftest$ac_exeext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41226   (eval $ac_link) 2>conftest.er1
41227   ac_status=$?
41228   grep -v '^ *+' conftest.er1 >conftest.err
41229   rm -f conftest.er1
41230   cat conftest.err >&5
41231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232   (exit $ac_status); } &&
41233          { ac_try='test -z "$ac_cxx_werror_flag"
41234                          || test ! -s conftest.err'
41235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41236   (eval $ac_try) 2>&5
41237   ac_status=$?
41238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239   (exit $ac_status); }; } &&
41240          { ac_try='test -s conftest$ac_exeext'
41241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41242   (eval $ac_try) 2>&5
41243   ac_status=$?
41244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245   (exit $ac_status); }; }; then
41246   ac_cv_search_clock_gettime="none required"
41247 else
41248   echo "$as_me: failed program was:" >&5
41249 sed 's/^/| /' conftest.$ac_ext >&5
41250
41251 fi
41252 rm -f conftest.err conftest.$ac_objext \
41253       conftest$ac_exeext conftest.$ac_ext
41254 if test "$ac_cv_search_clock_gettime" = no; then
41255   for ac_lib in posix4; do
41256     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
41257     if test x$gcc_no_link = xyes; then
41258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41260    { (exit 1); exit 1; }; }
41261 fi
41262 cat >conftest.$ac_ext <<_ACEOF
41263 /* confdefs.h.  */
41264 _ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h.  */
41268
41269 /* Override any gcc2 internal prototype to avoid an error.  */
41270 #ifdef __cplusplus
41271 extern "C"
41272 #endif
41273 /* We use char because int might match the return type of a gcc2
41274    builtin and then its argument prototype would still apply.  */
41275 char clock_gettime ();
41276 int
41277 main ()
41278 {
41279 clock_gettime ();
41280   ;
41281   return 0;
41282 }
41283 _ACEOF
41284 rm -f conftest.$ac_objext conftest$ac_exeext
41285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41286   (eval $ac_link) 2>conftest.er1
41287   ac_status=$?
41288   grep -v '^ *+' conftest.er1 >conftest.err
41289   rm -f conftest.er1
41290   cat conftest.err >&5
41291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292   (exit $ac_status); } &&
41293          { ac_try='test -z "$ac_cxx_werror_flag"
41294                          || test ! -s conftest.err'
41295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296   (eval $ac_try) 2>&5
41297   ac_status=$?
41298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299   (exit $ac_status); }; } &&
41300          { ac_try='test -s conftest$ac_exeext'
41301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302   (eval $ac_try) 2>&5
41303   ac_status=$?
41304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305   (exit $ac_status); }; }; then
41306   ac_cv_search_clock_gettime="-l$ac_lib"
41307 break
41308 else
41309   echo "$as_me: failed program was:" >&5
41310 sed 's/^/| /' conftest.$ac_ext >&5
41311
41312 fi
41313 rm -f conftest.err conftest.$ac_objext \
41314       conftest$ac_exeext conftest.$ac_ext
41315   done
41316 fi
41317 LIBS=$ac_func_search_save_LIBS
41318 fi
41319 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
41320 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
41321 if test "$ac_cv_search_clock_gettime" != no; then
41322   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
41323
41324 fi
41325
41326
41327   # Link to -lposix4.
41328   case "$ac_cv_search_clock_gettime" in
41329     -lposix4*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
41330   esac
41331
41332
41333 for ac_header in unistd.h
41334 do
41335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41337   echo "$as_me:$LINENO: checking for $ac_header" >&5
41338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41340   echo $ECHO_N "(cached) $ECHO_C" >&6
41341 fi
41342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41344 else
41345   # Is the header compilable?
41346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41348 cat >conftest.$ac_ext <<_ACEOF
41349 /* confdefs.h.  */
41350 _ACEOF
41351 cat confdefs.h >>conftest.$ac_ext
41352 cat >>conftest.$ac_ext <<_ACEOF
41353 /* end confdefs.h.  */
41354 $ac_includes_default
41355 #include <$ac_header>
41356 _ACEOF
41357 rm -f conftest.$ac_objext
41358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41359   (eval $ac_compile) 2>conftest.er1
41360   ac_status=$?
41361   grep -v '^ *+' conftest.er1 >conftest.err
41362   rm -f conftest.er1
41363   cat conftest.err >&5
41364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365   (exit $ac_status); } &&
41366          { ac_try='test -z "$ac_cxx_werror_flag"
41367                          || test ! -s conftest.err'
41368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41369   (eval $ac_try) 2>&5
41370   ac_status=$?
41371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41372   (exit $ac_status); }; } &&
41373          { ac_try='test -s conftest.$ac_objext'
41374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41375   (eval $ac_try) 2>&5
41376   ac_status=$?
41377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378   (exit $ac_status); }; }; then
41379   ac_header_compiler=yes
41380 else
41381   echo "$as_me: failed program was:" >&5
41382 sed 's/^/| /' conftest.$ac_ext >&5
41383
41384 ac_header_compiler=no
41385 fi
41386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41388 echo "${ECHO_T}$ac_header_compiler" >&6
41389
41390 # Is the header present?
41391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41393 cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h.  */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h.  */
41399 #include <$ac_header>
41400 _ACEOF
41401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41402   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41403   ac_status=$?
41404   grep -v '^ *+' conftest.er1 >conftest.err
41405   rm -f conftest.er1
41406   cat conftest.err >&5
41407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408   (exit $ac_status); } >/dev/null; then
41409   if test -s conftest.err; then
41410     ac_cpp_err=$ac_cxx_preproc_warn_flag
41411     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41412   else
41413     ac_cpp_err=
41414   fi
41415 else
41416   ac_cpp_err=yes
41417 fi
41418 if test -z "$ac_cpp_err"; then
41419   ac_header_preproc=yes
41420 else
41421   echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41423
41424   ac_header_preproc=no
41425 fi
41426 rm -f conftest.err conftest.$ac_ext
41427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41428 echo "${ECHO_T}$ac_header_preproc" >&6
41429
41430 # So?  What about this header?
41431 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41432   yes:no: )
41433     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41435     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41437     ac_header_preproc=yes
41438     ;;
41439   no:yes:* )
41440     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41442     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41443 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41444     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41446     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41447 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41448     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41450     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41452     (
41453       cat <<\_ASBOX
41454 ## ----------------------------------------- ##
41455 ## Report this to the package-unused lists.  ##
41456 ## ----------------------------------------- ##
41457 _ASBOX
41458     ) |
41459       sed "s/^/$as_me: WARNING:     /" >&2
41460     ;;
41461 esac
41462 echo "$as_me:$LINENO: checking for $ac_header" >&5
41463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41465   echo $ECHO_N "(cached) $ECHO_C" >&6
41466 else
41467   eval "$as_ac_Header=\$ac_header_preproc"
41468 fi
41469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41471
41472 fi
41473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41474   cat >>confdefs.h <<_ACEOF
41475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41476 _ACEOF
41477  ac_has_unistd_h=yes
41478 else
41479   ac_has_unistd_h=no
41480 fi
41481
41482 done
41483
41484
41485   ac_has_clock_monotonic=no;
41486   ac_has_clock_realtime=no;
41487   if test x"$ac_has_unistd_h" = x"yes"; then
41488     echo "$as_me:$LINENO: checking for monotonic clock" >&5
41489 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
41490     if test x$gcc_no_link = xyes; then
41491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41493    { (exit 1); exit 1; }; }
41494 fi
41495 cat >conftest.$ac_ext <<_ACEOF
41496 /* confdefs.h.  */
41497 _ACEOF
41498 cat confdefs.h >>conftest.$ac_ext
41499 cat >>conftest.$ac_ext <<_ACEOF
41500 /* end confdefs.h.  */
41501 #include <unistd.h>
41502        #include <time.h>
41503
41504 int
41505 main ()
41506 {
41507 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
41508         timespec tp;
41509        #endif
41510         clock_gettime(CLOCK_MONOTONIC, &tp);
41511
41512   ;
41513   return 0;
41514 }
41515 _ACEOF
41516 rm -f conftest.$ac_objext conftest$ac_exeext
41517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41518   (eval $ac_link) 2>conftest.er1
41519   ac_status=$?
41520   grep -v '^ *+' conftest.er1 >conftest.err
41521   rm -f conftest.er1
41522   cat conftest.err >&5
41523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524   (exit $ac_status); } &&
41525          { ac_try='test -z "$ac_cxx_werror_flag"
41526                          || test ! -s conftest.err'
41527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41528   (eval $ac_try) 2>&5
41529   ac_status=$?
41530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531   (exit $ac_status); }; } &&
41532          { ac_try='test -s conftest$ac_exeext'
41533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41534   (eval $ac_try) 2>&5
41535   ac_status=$?
41536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537   (exit $ac_status); }; }; then
41538   ac_has_clock_monotonic=yes
41539 else
41540   echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41542
41543 ac_has_clock_monotonic=no
41544 fi
41545 rm -f conftest.err conftest.$ac_objext \
41546       conftest$ac_exeext conftest.$ac_ext
41547
41548     echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
41549 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
41550
41551     echo "$as_me:$LINENO: checking for realtime clock" >&5
41552 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
41553     if test x$gcc_no_link = xyes; then
41554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41556    { (exit 1); exit 1; }; }
41557 fi
41558 cat >conftest.$ac_ext <<_ACEOF
41559 /* confdefs.h.  */
41560 _ACEOF
41561 cat confdefs.h >>conftest.$ac_ext
41562 cat >>conftest.$ac_ext <<_ACEOF
41563 /* end confdefs.h.  */
41564 #include <unistd.h>
41565        #include <time.h>
41566
41567 int
41568 main ()
41569 {
41570 #if _POSIX_TIMERS > 0
41571         timespec tp;
41572        #endif
41573         clock_gettime(CLOCK_REALTIME, &tp);
41574
41575   ;
41576   return 0;
41577 }
41578 _ACEOF
41579 rm -f conftest.$ac_objext conftest$ac_exeext
41580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41581   (eval $ac_link) 2>conftest.er1
41582   ac_status=$?
41583   grep -v '^ *+' conftest.er1 >conftest.err
41584   rm -f conftest.er1
41585   cat conftest.err >&5
41586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587   (exit $ac_status); } &&
41588          { ac_try='test -z "$ac_cxx_werror_flag"
41589                          || test ! -s conftest.err'
41590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591   (eval $ac_try) 2>&5
41592   ac_status=$?
41593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594   (exit $ac_status); }; } &&
41595          { ac_try='test -s conftest$ac_exeext'
41596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41597   (eval $ac_try) 2>&5
41598   ac_status=$?
41599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600   (exit $ac_status); }; }; then
41601   ac_has_clock_realtime=yes
41602 else
41603   echo "$as_me: failed program was:" >&5
41604 sed 's/^/| /' conftest.$ac_ext >&5
41605
41606 ac_has_clock_realtime=no
41607 fi
41608 rm -f conftest.err conftest.$ac_objext \
41609       conftest$ac_exeext conftest.$ac_ext
41610
41611     echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
41612 echo "${ECHO_T}$ac_has_clock_realtime" >&6
41613   fi
41614
41615   if test x"$ac_has_clock_monotonic" = x"yes"; then
41616
41617 cat >>confdefs.h <<\_ACEOF
41618 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
41619 _ACEOF
41620
41621   fi
41622
41623   if test x"$ac_has_clock_realtime" = x"yes"; then
41624
41625 cat >>confdefs.h <<\_ACEOF
41626 #define _GLIBCXX_USE_CLOCK_REALTIME 1
41627 _ACEOF
41628
41629   fi
41630
41631
41632
41633   CXXFLAGS="$ac_save_CXXFLAGS"
41634   LIBS="$ac_save_LIBS"
41635   ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642
41643   # For gettimeofday support.
41644
41645
41646
41647
41648   ac_ext=cc
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654   ac_save_CXXFLAGS="$CXXFLAGS"
41655   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41656
41657   ac_has_gettimeofday=no;
41658
41659 for ac_header in sys/time.h
41660 do
41661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41663   echo "$as_me:$LINENO: checking for $ac_header" >&5
41664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41666   echo $ECHO_N "(cached) $ECHO_C" >&6
41667 fi
41668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41670 else
41671   # Is the header compilable?
41672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41674 cat >conftest.$ac_ext <<_ACEOF
41675 /* confdefs.h.  */
41676 _ACEOF
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h.  */
41680 $ac_includes_default
41681 #include <$ac_header>
41682 _ACEOF
41683 rm -f conftest.$ac_objext
41684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41685   (eval $ac_compile) 2>conftest.er1
41686   ac_status=$?
41687   grep -v '^ *+' conftest.er1 >conftest.err
41688   rm -f conftest.er1
41689   cat conftest.err >&5
41690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691   (exit $ac_status); } &&
41692          { ac_try='test -z "$ac_cxx_werror_flag"
41693                          || test ! -s conftest.err'
41694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41695   (eval $ac_try) 2>&5
41696   ac_status=$?
41697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698   (exit $ac_status); }; } &&
41699          { ac_try='test -s conftest.$ac_objext'
41700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41701   (eval $ac_try) 2>&5
41702   ac_status=$?
41703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704   (exit $ac_status); }; }; then
41705   ac_header_compiler=yes
41706 else
41707   echo "$as_me: failed program was:" >&5
41708 sed 's/^/| /' conftest.$ac_ext >&5
41709
41710 ac_header_compiler=no
41711 fi
41712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41714 echo "${ECHO_T}$ac_header_compiler" >&6
41715
41716 # Is the header present?
41717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h.  */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h.  */
41725 #include <$ac_header>
41726 _ACEOF
41727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41728   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41729   ac_status=$?
41730   grep -v '^ *+' conftest.er1 >conftest.err
41731   rm -f conftest.er1
41732   cat conftest.err >&5
41733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41734   (exit $ac_status); } >/dev/null; then
41735   if test -s conftest.err; then
41736     ac_cpp_err=$ac_cxx_preproc_warn_flag
41737     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41738   else
41739     ac_cpp_err=
41740   fi
41741 else
41742   ac_cpp_err=yes
41743 fi
41744 if test -z "$ac_cpp_err"; then
41745   ac_header_preproc=yes
41746 else
41747   echo "$as_me: failed program was:" >&5
41748 sed 's/^/| /' conftest.$ac_ext >&5
41749
41750   ac_header_preproc=no
41751 fi
41752 rm -f conftest.err conftest.$ac_ext
41753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41754 echo "${ECHO_T}$ac_header_preproc" >&6
41755
41756 # So?  What about this header?
41757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41758   yes:no: )
41759     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41761     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41763     ac_header_preproc=yes
41764     ;;
41765   no:yes:* )
41766     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41768     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41769 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41770     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41772     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41773 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41774     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41776     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41778     (
41779       cat <<\_ASBOX
41780 ## ----------------------------------------- ##
41781 ## Report this to the package-unused lists.  ##
41782 ## ----------------------------------------- ##
41783 _ASBOX
41784     ) |
41785       sed "s/^/$as_me: WARNING:     /" >&2
41786     ;;
41787 esac
41788 echo "$as_me:$LINENO: checking for $ac_header" >&5
41789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41791   echo $ECHO_N "(cached) $ECHO_C" >&6
41792 else
41793   eval "$as_ac_Header=\$ac_header_preproc"
41794 fi
41795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41797
41798 fi
41799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41800   cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41802 _ACEOF
41803  ac_has_sys_time_h=yes
41804 else
41805   ac_has_sys_time_h=no
41806 fi
41807
41808 done
41809
41810   if test x"$ac_has_sys_time_h" = x"yes"; then
41811     echo "$as_me:$LINENO: checking for gettimeofday" >&5
41812 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
41813     if test x$gcc_no_link = xyes; then
41814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41816    { (exit 1); exit 1; }; }
41817 fi
41818 cat >conftest.$ac_ext <<_ACEOF
41819 /* confdefs.h.  */
41820 _ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h.  */
41824 #include <sys/time.h>
41825 int
41826 main ()
41827 {
41828 timeval tv; gettimeofday(&tv, 0);
41829   ;
41830   return 0;
41831 }
41832 _ACEOF
41833 rm -f conftest.$ac_objext conftest$ac_exeext
41834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41835   (eval $ac_link) 2>conftest.er1
41836   ac_status=$?
41837   grep -v '^ *+' conftest.er1 >conftest.err
41838   rm -f conftest.er1
41839   cat conftest.err >&5
41840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841   (exit $ac_status); } &&
41842          { ac_try='test -z "$ac_cxx_werror_flag"
41843                          || test ! -s conftest.err'
41844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41845   (eval $ac_try) 2>&5
41846   ac_status=$?
41847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848   (exit $ac_status); }; } &&
41849          { ac_try='test -s conftest$ac_exeext'
41850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851   (eval $ac_try) 2>&5
41852   ac_status=$?
41853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854   (exit $ac_status); }; }; then
41855   ac_has_gettimeofday=yes
41856 else
41857   echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41859
41860 ac_has_gettimeofday=no
41861 fi
41862 rm -f conftest.err conftest.$ac_objext \
41863       conftest$ac_exeext conftest.$ac_ext
41864
41865     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
41866 echo "${ECHO_T}$ac_has_gettimeofday" >&6
41867   fi
41868
41869   if test x"$ac_has_gettimeofday" = x"yes"; then
41870
41871 cat >>confdefs.h <<\_ACEOF
41872 #define _GLIBCXX_USE_GETTIMEOFDAY 1
41873 _ACEOF
41874
41875   fi
41876
41877   CXXFLAGS="$ac_save_CXXFLAGS"
41878   ac_ext=c
41879 ac_cpp='$CPP $CPPFLAGS'
41880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41883
41884
41885
41886   # For TLS support.
41887
41888    # Check whether --enable-tls or --disable-tls was given.
41889 if test "${enable_tls+set}" = set; then
41890   enableval="$enable_tls"
41891
41892       case "$enableval" in
41893        yes|no) ;;
41894        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41895 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41896    { (exit 1); exit 1; }; } ;;
41897       esac
41898
41899 else
41900   enable_tls=yes
41901 fi;
41902
41903   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41904 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41905 if test "${gcc_cv_have_tls+set}" = set; then
41906   echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908
41909     if test "$cross_compiling" = yes; then
41910                 if test x$gcc_no_link = xyes; then
41911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41913    { (exit 1); exit 1; }; }
41914 fi
41915 cat >conftest.$ac_ext <<_ACEOF
41916 __thread int a; int b; int main() { return a = b; }
41917 _ACEOF
41918 rm -f conftest.$ac_objext conftest$ac_exeext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41920   (eval $ac_link) 2>conftest.er1
41921   ac_status=$?
41922   grep -v '^ *+' conftest.er1 >conftest.err
41923   rm -f conftest.er1
41924   cat conftest.err >&5
41925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926   (exit $ac_status); } &&
41927          { ac_try='test -z "$ac_c_werror_flag"
41928                          || test ! -s conftest.err'
41929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41930   (eval $ac_try) 2>&5
41931   ac_status=$?
41932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933   (exit $ac_status); }; } &&
41934          { ac_try='test -s conftest$ac_exeext'
41935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41936   (eval $ac_try) 2>&5
41937   ac_status=$?
41938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939   (exit $ac_status); }; }; then
41940   gcc_cv_have_tls=yes
41941 else
41942   echo "$as_me: failed program was:" >&5
41943 sed 's/^/| /' conftest.$ac_ext >&5
41944
41945 gcc_cv_have_tls=no
41946 fi
41947 rm -f conftest.err conftest.$ac_objext \
41948       conftest$ac_exeext conftest.$ac_ext
41949
41950
41951 else
41952   cat >conftest.$ac_ext <<_ACEOF
41953 __thread int a; int b; int main() { return a = b; }
41954 _ACEOF
41955 rm -f conftest$ac_exeext
41956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41957   (eval $ac_link) 2>&5
41958   ac_status=$?
41959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41962   (eval $ac_try) 2>&5
41963   ac_status=$?
41964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965   (exit $ac_status); }; }; then
41966                       chktls_save_LDFLAGS="$LDFLAGS"
41967       LDFLAGS="-static $LDFLAGS"
41968       if test x$gcc_no_link = xyes; then
41969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41971    { (exit 1); exit 1; }; }
41972 fi
41973 cat >conftest.$ac_ext <<_ACEOF
41974 int main() { return 0; }
41975 _ACEOF
41976 rm -f conftest.$ac_objext conftest$ac_exeext
41977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41978   (eval $ac_link) 2>conftest.er1
41979   ac_status=$?
41980   grep -v '^ *+' conftest.er1 >conftest.err
41981   rm -f conftest.er1
41982   cat conftest.err >&5
41983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984   (exit $ac_status); } &&
41985          { ac_try='test -z "$ac_c_werror_flag"
41986                          || test ! -s conftest.err'
41987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41988   (eval $ac_try) 2>&5
41989   ac_status=$?
41990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991   (exit $ac_status); }; } &&
41992          { ac_try='test -s conftest$ac_exeext'
41993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41994   (eval $ac_try) 2>&5
41995   ac_status=$?
41996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997   (exit $ac_status); }; }; then
41998   if test "$cross_compiling" = yes; then
41999   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
42000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
42001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42002 See \`config.log' for more details." >&5
42003 echo "$as_me: error: cannot run test program while cross compiling
42004 See \`config.log' for more details." >&2;}
42005    { (exit 1); exit 1; }; }; }
42006 else
42007   cat >conftest.$ac_ext <<_ACEOF
42008 __thread int a; int b; int main() { return a = b; }
42009 _ACEOF
42010 rm -f conftest$ac_exeext
42011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42012   (eval $ac_link) 2>&5
42013   ac_status=$?
42014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42017   (eval $ac_try) 2>&5
42018   ac_status=$?
42019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42020   (exit $ac_status); }; }; then
42021   gcc_cv_have_tls=yes
42022 else
42023   echo "$as_me: program exited with status $ac_status" >&5
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42026
42027 ( exit $ac_status )
42028 gcc_cv_have_tls=no
42029 fi
42030 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42031 fi
42032 else
42033   echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42035
42036 gcc_cv_have_tls=yes
42037 fi
42038 rm -f conftest.err conftest.$ac_objext \
42039       conftest$ac_exeext conftest.$ac_ext
42040       LDFLAGS="$chktls_save_LDFLAGS"
42041       if test $gcc_cv_have_tls = yes; then
42042                                                 chktls_save_CFLAGS="$CFLAGS"
42043         thread_CFLAGS=failed
42044         for flag in '' '-pthread' '-lpthread'; do
42045           CFLAGS="$flag $chktls_save_CFLAGS"
42046           if test x$gcc_no_link = xyes; then
42047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42049    { (exit 1); exit 1; }; }
42050 fi
42051 cat >conftest.$ac_ext <<_ACEOF
42052 /* confdefs.h.  */
42053 _ACEOF
42054 cat confdefs.h >>conftest.$ac_ext
42055 cat >>conftest.$ac_ext <<_ACEOF
42056 /* end confdefs.h.  */
42057 #include <pthread.h>
42058                 void *g(void *d) { return NULL; }
42059 int
42060 main ()
42061 {
42062 pthread_t t; pthread_create(&t,NULL,g,NULL);
42063   ;
42064   return 0;
42065 }
42066 _ACEOF
42067 rm -f conftest.$ac_objext conftest$ac_exeext
42068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42069   (eval $ac_link) 2>conftest.er1
42070   ac_status=$?
42071   grep -v '^ *+' conftest.er1 >conftest.err
42072   rm -f conftest.er1
42073   cat conftest.err >&5
42074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075   (exit $ac_status); } &&
42076          { ac_try='test -z "$ac_c_werror_flag"
42077                          || test ! -s conftest.err'
42078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42079   (eval $ac_try) 2>&5
42080   ac_status=$?
42081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082   (exit $ac_status); }; } &&
42083          { ac_try='test -s conftest$ac_exeext'
42084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42085   (eval $ac_try) 2>&5
42086   ac_status=$?
42087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088   (exit $ac_status); }; }; then
42089   thread_CFLAGS="$flag"
42090 else
42091   echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.$ac_ext >&5
42093
42094 fi
42095 rm -f conftest.err conftest.$ac_objext \
42096       conftest$ac_exeext conftest.$ac_ext
42097           if test "X$thread_CFLAGS" != Xfailed; then
42098             break
42099           fi
42100         done
42101         CFLAGS="$chktls_save_CFLAGS"
42102         if test "X$thread_CFLAGS" != Xfailed; then
42103           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
42104           if test "$cross_compiling" = yes; then
42105   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
42106 echo "$as_me: error: in \`$ac_pwd':" >&2;}
42107 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42108 See \`config.log' for more details." >&5
42109 echo "$as_me: error: cannot run test program while cross compiling
42110 See \`config.log' for more details." >&2;}
42111    { (exit 1); exit 1; }; }; }
42112 else
42113   cat >conftest.$ac_ext <<_ACEOF
42114 /* confdefs.h.  */
42115 _ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h.  */
42119 #include <pthread.h>
42120                 __thread int a;
42121                 static int *a_in_other_thread;
42122                 static void *
42123                 thread_func (void *arg)
42124                 {
42125                   a_in_other_thread = &a;
42126                   return (void *)0;
42127                 }
42128 int
42129 main ()
42130 {
42131 pthread_t thread;
42132                 void *thread_retval;
42133                 int *a_in_main_thread;
42134                 if (pthread_create (&thread, (pthread_attr_t *)0,
42135                                     thread_func, (void *)0))
42136                   return 0;
42137                 a_in_main_thread = &a;
42138                 if (pthread_join (thread, &thread_retval))
42139                   return 0;
42140                 return (a_in_other_thread == a_in_main_thread);
42141   ;
42142   return 0;
42143 }
42144 _ACEOF
42145 rm -f conftest$ac_exeext
42146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42147   (eval $ac_link) 2>&5
42148   ac_status=$?
42149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42152   (eval $ac_try) 2>&5
42153   ac_status=$?
42154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155   (exit $ac_status); }; }; then
42156   gcc_cv_have_tls=yes
42157 else
42158   echo "$as_me: program exited with status $ac_status" >&5
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.$ac_ext >&5
42161
42162 ( exit $ac_status )
42163 gcc_cv_have_tls=no
42164 fi
42165 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42166 fi
42167           CFLAGS="$chktls_save_CFLAGS"
42168         fi
42169       fi
42170 else
42171   echo "$as_me: program exited with status $ac_status" >&5
42172 echo "$as_me: failed program was:" >&5
42173 sed 's/^/| /' conftest.$ac_ext >&5
42174
42175 ( exit $ac_status )
42176 gcc_cv_have_tls=no
42177 fi
42178 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42179 fi
42180 fi
42181 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
42182 echo "${ECHO_T}$gcc_cv_have_tls" >&6
42183   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
42184
42185 cat >>confdefs.h <<\_ACEOF
42186 #define HAVE_TLS 1
42187 _ACEOF
42188
42189   fi
42190
42191   # For _Unwind_GetIPInfo.
42192
42193
42194
42195   ac_ext=cc
42196 ac_cpp='$CXXCPP $CPPFLAGS'
42197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42200
42201   ac_save_CXXFLAGS="$CXXFLAGS"
42202   CXXFLAGS="$CXXFLAGS -fno-exceptions"
42203   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
42204 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
42205   if test "${gcc_cv_getipinfo+set}" = set; then
42206   echo $ECHO_N "(cached) $ECHO_C" >&6
42207 else
42208
42209   if test x$gcc_no_link = xyes; then
42210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42212    { (exit 1); exit 1; }; }
42213 fi
42214 cat >conftest.$ac_ext <<_ACEOF
42215 /* confdefs.h.  */
42216 _ACEOF
42217 cat confdefs.h >>conftest.$ac_ext
42218 cat >>conftest.$ac_ext <<_ACEOF
42219 /* end confdefs.h.  */
42220 extern "C" { extern void _Unwind_GetIPInfo(); }
42221 int
42222 main ()
42223 {
42224 _Unwind_GetIPInfo();
42225   ;
42226   return 0;
42227 }
42228 _ACEOF
42229 rm -f conftest.$ac_objext conftest$ac_exeext
42230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42231   (eval $ac_link) 2>conftest.er1
42232   ac_status=$?
42233   grep -v '^ *+' conftest.er1 >conftest.err
42234   rm -f conftest.er1
42235   cat conftest.err >&5
42236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237   (exit $ac_status); } &&
42238          { ac_try='test -z "$ac_cxx_werror_flag"
42239                          || test ! -s conftest.err'
42240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241   (eval $ac_try) 2>&5
42242   ac_status=$?
42243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244   (exit $ac_status); }; } &&
42245          { ac_try='test -s conftest$ac_exeext'
42246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42247   (eval $ac_try) 2>&5
42248   ac_status=$?
42249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250   (exit $ac_status); }; }; then
42251   gcc_cv_getipinfo=yes
42252 else
42253   echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.$ac_ext >&5
42255
42256 gcc_cv_getipinfo=no
42257 fi
42258 rm -f conftest.err conftest.$ac_objext \
42259       conftest$ac_exeext conftest.$ac_ext
42260
42261 fi
42262
42263   if test $gcc_cv_getipinfo = yes; then
42264
42265 cat >>confdefs.h <<\_ACEOF
42266 #define HAVE_GETIPINFO 1
42267 _ACEOF
42268
42269   fi
42270   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
42271 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
42272   CXXFLAGS="$ac_save_CXXFLAGS"
42273   ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280
42281
42282   if test "${ac_cv_header_locale_h+set}" = set; then
42283   echo "$as_me:$LINENO: checking for locale.h" >&5
42284 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42285 if test "${ac_cv_header_locale_h+set}" = set; then
42286   echo $ECHO_N "(cached) $ECHO_C" >&6
42287 fi
42288 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42289 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42290 else
42291   # Is the header compilable?
42292 echo "$as_me:$LINENO: checking locale.h usability" >&5
42293 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
42294 cat >conftest.$ac_ext <<_ACEOF
42295 /* confdefs.h.  */
42296 _ACEOF
42297 cat confdefs.h >>conftest.$ac_ext
42298 cat >>conftest.$ac_ext <<_ACEOF
42299 /* end confdefs.h.  */
42300 $ac_includes_default
42301 #include <locale.h>
42302 _ACEOF
42303 rm -f conftest.$ac_objext
42304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42305   (eval $ac_compile) 2>conftest.er1
42306   ac_status=$?
42307   grep -v '^ *+' conftest.er1 >conftest.err
42308   rm -f conftest.er1
42309   cat conftest.err >&5
42310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311   (exit $ac_status); } &&
42312          { ac_try='test -z "$ac_c_werror_flag"
42313                          || test ! -s conftest.err'
42314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42315   (eval $ac_try) 2>&5
42316   ac_status=$?
42317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318   (exit $ac_status); }; } &&
42319          { ac_try='test -s conftest.$ac_objext'
42320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42321   (eval $ac_try) 2>&5
42322   ac_status=$?
42323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42324   (exit $ac_status); }; }; then
42325   ac_header_compiler=yes
42326 else
42327   echo "$as_me: failed program was:" >&5
42328 sed 's/^/| /' conftest.$ac_ext >&5
42329
42330 ac_header_compiler=no
42331 fi
42332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42334 echo "${ECHO_T}$ac_header_compiler" >&6
42335
42336 # Is the header present?
42337 echo "$as_me:$LINENO: checking locale.h presence" >&5
42338 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
42339 cat >conftest.$ac_ext <<_ACEOF
42340 /* confdefs.h.  */
42341 _ACEOF
42342 cat confdefs.h >>conftest.$ac_ext
42343 cat >>conftest.$ac_ext <<_ACEOF
42344 /* end confdefs.h.  */
42345 #include <locale.h>
42346 _ACEOF
42347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42348   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42349   ac_status=$?
42350   grep -v '^ *+' conftest.er1 >conftest.err
42351   rm -f conftest.er1
42352   cat conftest.err >&5
42353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354   (exit $ac_status); } >/dev/null; then
42355   if test -s conftest.err; then
42356     ac_cpp_err=$ac_c_preproc_warn_flag
42357     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42358   else
42359     ac_cpp_err=
42360   fi
42361 else
42362   ac_cpp_err=yes
42363 fi
42364 if test -z "$ac_cpp_err"; then
42365   ac_header_preproc=yes
42366 else
42367   echo "$as_me: failed program was:" >&5
42368 sed 's/^/| /' conftest.$ac_ext >&5
42369
42370   ac_header_preproc=no
42371 fi
42372 rm -f conftest.err conftest.$ac_ext
42373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42374 echo "${ECHO_T}$ac_header_preproc" >&6
42375
42376 # So?  What about this header?
42377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42378   yes:no: )
42379     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
42380 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42381     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
42382 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
42383     ac_header_preproc=yes
42384     ;;
42385   no:yes:* )
42386     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
42387 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
42388     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
42389 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
42390     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
42391 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
42392     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
42393 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
42394     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
42395 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
42396     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
42397 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
42398     (
42399       cat <<\_ASBOX
42400 ## ----------------------------------------- ##
42401 ## Report this to the package-unused lists.  ##
42402 ## ----------------------------------------- ##
42403 _ASBOX
42404     ) |
42405       sed "s/^/$as_me: WARNING:     /" >&2
42406     ;;
42407 esac
42408 echo "$as_me:$LINENO: checking for locale.h" >&5
42409 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42410 if test "${ac_cv_header_locale_h+set}" = set; then
42411   echo $ECHO_N "(cached) $ECHO_C" >&6
42412 else
42413   ac_cv_header_locale_h=$ac_header_preproc
42414 fi
42415 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42416 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42417
42418 fi
42419 if test $ac_cv_header_locale_h = yes; then
42420
42421     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
42422 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
42423 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
42424   echo $ECHO_N "(cached) $ECHO_C" >&6
42425 else
42426   if test x$gcc_no_link = xyes; then
42427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42429    { (exit 1); exit 1; }; }
42430 fi
42431 cat >conftest.$ac_ext <<_ACEOF
42432 /* confdefs.h.  */
42433 _ACEOF
42434 cat confdefs.h >>conftest.$ac_ext
42435 cat >>conftest.$ac_ext <<_ACEOF
42436 /* end confdefs.h.  */
42437 #include <locale.h>
42438 int
42439 main ()
42440 {
42441 return LC_MESSAGES
42442   ;
42443   return 0;
42444 }
42445 _ACEOF
42446 rm -f conftest.$ac_objext conftest$ac_exeext
42447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42448   (eval $ac_link) 2>conftest.er1
42449   ac_status=$?
42450   grep -v '^ *+' conftest.er1 >conftest.err
42451   rm -f conftest.er1
42452   cat conftest.err >&5
42453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454   (exit $ac_status); } &&
42455          { ac_try='test -z "$ac_c_werror_flag"
42456                          || test ! -s conftest.err'
42457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42458   (eval $ac_try) 2>&5
42459   ac_status=$?
42460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461   (exit $ac_status); }; } &&
42462          { ac_try='test -s conftest$ac_exeext'
42463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42464   (eval $ac_try) 2>&5
42465   ac_status=$?
42466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467   (exit $ac_status); }; }; then
42468   ac_cv_val_LC_MESSAGES=yes
42469 else
42470   echo "$as_me: failed program was:" >&5
42471 sed 's/^/| /' conftest.$ac_ext >&5
42472
42473 ac_cv_val_LC_MESSAGES=no
42474 fi
42475 rm -f conftest.err conftest.$ac_objext \
42476       conftest$ac_exeext conftest.$ac_ext
42477 fi
42478 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
42479 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
42480     if test $ac_cv_val_LC_MESSAGES = yes; then
42481
42482 cat >>confdefs.h <<\_ACEOF
42483 #define HAVE_LC_MESSAGES 1
42484 _ACEOF
42485
42486     fi
42487
42488 fi
42489
42490
42491
42492
42493   cat >conftest.$ac_ext <<_ACEOF
42494 /* confdefs.h.  */
42495 _ACEOF
42496 cat confdefs.h >>conftest.$ac_ext
42497 cat >>conftest.$ac_ext <<_ACEOF
42498 /* end confdefs.h.  */
42499 #include <setjmp.h>
42500 int
42501 main ()
42502 {
42503 sigjmp_buf env;
42504      while (! sigsetjmp (env, 1))
42505        siglongjmp (env, 1);
42506
42507   ;
42508   return 0;
42509 }
42510 _ACEOF
42511 rm -f conftest.$ac_objext
42512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42513   (eval $ac_compile) 2>conftest.er1
42514   ac_status=$?
42515   grep -v '^ *+' conftest.er1 >conftest.err
42516   rm -f conftest.er1
42517   cat conftest.err >&5
42518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519   (exit $ac_status); } &&
42520          { ac_try='test -z "$ac_c_werror_flag"
42521                          || test ! -s conftest.err'
42522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523   (eval $ac_try) 2>&5
42524   ac_status=$?
42525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526   (exit $ac_status); }; } &&
42527          { ac_try='test -s conftest.$ac_objext'
42528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529   (eval $ac_try) 2>&5
42530   ac_status=$?
42531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532   (exit $ac_status); }; }; then
42533
42534 cat >>confdefs.h <<\_ACEOF
42535 #define HAVE_SIGSETJMP 1
42536 _ACEOF
42537
42538 else
42539   echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42541
42542 fi
42543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42544
42545   if test x$gcc_no_link = xyes; then
42546   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
42547     ac_cv_func_mmap_fixed_mapped=no
42548   fi
42549 fi
42550 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
42551
42552
42553 for ac_header in stdlib.h unistd.h
42554 do
42555 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42557   echo "$as_me:$LINENO: checking for $ac_header" >&5
42558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42560   echo $ECHO_N "(cached) $ECHO_C" >&6
42561 fi
42562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42564 else
42565   # Is the header compilable?
42566 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42567 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42568 cat >conftest.$ac_ext <<_ACEOF
42569 /* confdefs.h.  */
42570 _ACEOF
42571 cat confdefs.h >>conftest.$ac_ext
42572 cat >>conftest.$ac_ext <<_ACEOF
42573 /* end confdefs.h.  */
42574 $ac_includes_default
42575 #include <$ac_header>
42576 _ACEOF
42577 rm -f conftest.$ac_objext
42578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42579   (eval $ac_compile) 2>conftest.er1
42580   ac_status=$?
42581   grep -v '^ *+' conftest.er1 >conftest.err
42582   rm -f conftest.er1
42583   cat conftest.err >&5
42584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585   (exit $ac_status); } &&
42586          { ac_try='test -z "$ac_c_werror_flag"
42587                          || test ! -s conftest.err'
42588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42589   (eval $ac_try) 2>&5
42590   ac_status=$?
42591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592   (exit $ac_status); }; } &&
42593          { ac_try='test -s conftest.$ac_objext'
42594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42595   (eval $ac_try) 2>&5
42596   ac_status=$?
42597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598   (exit $ac_status); }; }; then
42599   ac_header_compiler=yes
42600 else
42601   echo "$as_me: failed program was:" >&5
42602 sed 's/^/| /' conftest.$ac_ext >&5
42603
42604 ac_header_compiler=no
42605 fi
42606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42608 echo "${ECHO_T}$ac_header_compiler" >&6
42609
42610 # Is the header present?
42611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42613 cat >conftest.$ac_ext <<_ACEOF
42614 /* confdefs.h.  */
42615 _ACEOF
42616 cat confdefs.h >>conftest.$ac_ext
42617 cat >>conftest.$ac_ext <<_ACEOF
42618 /* end confdefs.h.  */
42619 #include <$ac_header>
42620 _ACEOF
42621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42622   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42623   ac_status=$?
42624   grep -v '^ *+' conftest.er1 >conftest.err
42625   rm -f conftest.er1
42626   cat conftest.err >&5
42627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628   (exit $ac_status); } >/dev/null; then
42629   if test -s conftest.err; then
42630     ac_cpp_err=$ac_c_preproc_warn_flag
42631     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42632   else
42633     ac_cpp_err=
42634   fi
42635 else
42636   ac_cpp_err=yes
42637 fi
42638 if test -z "$ac_cpp_err"; then
42639   ac_header_preproc=yes
42640 else
42641   echo "$as_me: failed program was:" >&5
42642 sed 's/^/| /' conftest.$ac_ext >&5
42643
42644   ac_header_preproc=no
42645 fi
42646 rm -f conftest.err conftest.$ac_ext
42647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42648 echo "${ECHO_T}$ac_header_preproc" >&6
42649
42650 # So?  What about this header?
42651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42652   yes:no: )
42653     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42655     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42657     ac_header_preproc=yes
42658     ;;
42659   no:yes:* )
42660     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42662     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
42663 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
42664     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42666     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
42667 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
42668     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42670     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42672     (
42673       cat <<\_ASBOX
42674 ## ----------------------------------------- ##
42675 ## Report this to the package-unused lists.  ##
42676 ## ----------------------------------------- ##
42677 _ASBOX
42678     ) |
42679       sed "s/^/$as_me: WARNING:     /" >&2
42680     ;;
42681 esac
42682 echo "$as_me:$LINENO: checking for $ac_header" >&5
42683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42685   echo $ECHO_N "(cached) $ECHO_C" >&6
42686 else
42687   eval "$as_ac_Header=\$ac_header_preproc"
42688 fi
42689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42691
42692 fi
42693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42694   cat >>confdefs.h <<_ACEOF
42695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42696 _ACEOF
42697
42698 fi
42699
42700 done
42701
42702
42703 for ac_func in getpagesize
42704 do
42705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42706 echo "$as_me:$LINENO: checking for $ac_func" >&5
42707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42708 if eval "test \"\${$as_ac_var+set}\" = set"; then
42709   echo $ECHO_N "(cached) $ECHO_C" >&6
42710 else
42711   if test x$gcc_no_link = xyes; then
42712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42714    { (exit 1); exit 1; }; }
42715 fi
42716 cat >conftest.$ac_ext <<_ACEOF
42717 /* confdefs.h.  */
42718 _ACEOF
42719 cat confdefs.h >>conftest.$ac_ext
42720 cat >>conftest.$ac_ext <<_ACEOF
42721 /* end confdefs.h.  */
42722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42724 #define $ac_func innocuous_$ac_func
42725
42726 /* System header to define __stub macros and hopefully few prototypes,
42727     which can conflict with char $ac_func (); below.
42728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42729     <limits.h> exists even on freestanding compilers.  */
42730
42731 #ifdef __STDC__
42732 # include <limits.h>
42733 #else
42734 # include <assert.h>
42735 #endif
42736
42737 #undef $ac_func
42738
42739 /* Override any gcc2 internal prototype to avoid an error.  */
42740 #ifdef __cplusplus
42741 extern "C"
42742 {
42743 #endif
42744 /* We use char because int might match the return type of a gcc2
42745    builtin and then its argument prototype would still apply.  */
42746 char $ac_func ();
42747 /* The GNU C library defines this for functions which it implements
42748     to always fail with ENOSYS.  Some functions are actually named
42749     something starting with __ and the normal name is an alias.  */
42750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42751 choke me
42752 #else
42753 char (*f) () = $ac_func;
42754 #endif
42755 #ifdef __cplusplus
42756 }
42757 #endif
42758
42759 int
42760 main ()
42761 {
42762 return f != $ac_func;
42763   ;
42764   return 0;
42765 }
42766 _ACEOF
42767 rm -f conftest.$ac_objext conftest$ac_exeext
42768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42769   (eval $ac_link) 2>conftest.er1
42770   ac_status=$?
42771   grep -v '^ *+' conftest.er1 >conftest.err
42772   rm -f conftest.er1
42773   cat conftest.err >&5
42774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42775   (exit $ac_status); } &&
42776          { ac_try='test -z "$ac_c_werror_flag"
42777                          || test ! -s conftest.err'
42778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42779   (eval $ac_try) 2>&5
42780   ac_status=$?
42781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782   (exit $ac_status); }; } &&
42783          { ac_try='test -s conftest$ac_exeext'
42784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785   (eval $ac_try) 2>&5
42786   ac_status=$?
42787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788   (exit $ac_status); }; }; then
42789   eval "$as_ac_var=yes"
42790 else
42791   echo "$as_me: failed program was:" >&5
42792 sed 's/^/| /' conftest.$ac_ext >&5
42793
42794 eval "$as_ac_var=no"
42795 fi
42796 rm -f conftest.err conftest.$ac_objext \
42797       conftest$ac_exeext conftest.$ac_ext
42798 fi
42799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42801 if test `eval echo '${'$as_ac_var'}'` = yes; then
42802   cat >>confdefs.h <<_ACEOF
42803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42804 _ACEOF
42805
42806 fi
42807 done
42808
42809 echo "$as_me:$LINENO: checking for working mmap" >&5
42810 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
42811 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
42812   echo $ECHO_N "(cached) $ECHO_C" >&6
42813 else
42814   if test "$cross_compiling" = yes; then
42815   ac_cv_func_mmap_fixed_mapped=no
42816 else
42817   cat >conftest.$ac_ext <<_ACEOF
42818 /* confdefs.h.  */
42819 _ACEOF
42820 cat confdefs.h >>conftest.$ac_ext
42821 cat >>conftest.$ac_ext <<_ACEOF
42822 /* end confdefs.h.  */
42823 $ac_includes_default
42824 /* malloc might have been renamed as rpl_malloc. */
42825 #undef malloc
42826
42827 /* Thanks to Mike Haertel and Jim Avera for this test.
42828    Here is a matrix of mmap possibilities:
42829         mmap private not fixed
42830         mmap private fixed at somewhere currently unmapped
42831         mmap private fixed at somewhere already mapped
42832         mmap shared not fixed
42833         mmap shared fixed at somewhere currently unmapped
42834         mmap shared fixed at somewhere already mapped
42835    For private mappings, we should verify that changes cannot be read()
42836    back from the file, nor mmap's back from the file at a different
42837    address.  (There have been systems where private was not correctly
42838    implemented like the infamous i386 svr4.0, and systems where the
42839    VM page cache was not coherent with the file system buffer cache
42840    like early versions of FreeBSD and possibly contemporary NetBSD.)
42841    For shared mappings, we should conversely verify that changes get
42842    propagated back to all the places they're supposed to be.
42843
42844    Grep wants private fixed already mapped.
42845    The main things grep needs to know about mmap are:
42846    * does it exist and is it safe to write into the mmap'd area
42847    * how to use it (BSD variants)  */
42848
42849 #include <fcntl.h>
42850 #include <sys/mman.h>
42851
42852 #if !STDC_HEADERS && !HAVE_STDLIB_H
42853 char *malloc ();
42854 #endif
42855
42856 /* This mess was copied from the GNU getpagesize.h.  */
42857 #if !HAVE_GETPAGESIZE
42858 /* Assume that all systems that can run configure have sys/param.h.  */
42859 # if !HAVE_SYS_PARAM_H
42860 #  define HAVE_SYS_PARAM_H 1
42861 # endif
42862
42863 # ifdef _SC_PAGESIZE
42864 #  define getpagesize() sysconf(_SC_PAGESIZE)
42865 # else /* no _SC_PAGESIZE */
42866 #  if HAVE_SYS_PARAM_H
42867 #   include <sys/param.h>
42868 #   ifdef EXEC_PAGESIZE
42869 #    define getpagesize() EXEC_PAGESIZE
42870 #   else /* no EXEC_PAGESIZE */
42871 #    ifdef NBPG
42872 #     define getpagesize() NBPG * CLSIZE
42873 #     ifndef CLSIZE
42874 #      define CLSIZE 1
42875 #     endif /* no CLSIZE */
42876 #    else /* no NBPG */
42877 #     ifdef NBPC
42878 #      define getpagesize() NBPC
42879 #     else /* no NBPC */
42880 #      ifdef PAGESIZE
42881 #       define getpagesize() PAGESIZE
42882 #      endif /* PAGESIZE */
42883 #     endif /* no NBPC */
42884 #    endif /* no NBPG */
42885 #   endif /* no EXEC_PAGESIZE */
42886 #  else /* no HAVE_SYS_PARAM_H */
42887 #   define getpagesize() 8192   /* punt totally */
42888 #  endif /* no HAVE_SYS_PARAM_H */
42889 # endif /* no _SC_PAGESIZE */
42890
42891 #endif /* no HAVE_GETPAGESIZE */
42892
42893 int
42894 main ()
42895 {
42896   char *data, *data2, *data3;
42897   int i, pagesize;
42898   int fd;
42899
42900   pagesize = getpagesize ();
42901
42902   /* First, make a file with some known garbage in it. */
42903   data = (char *) malloc (pagesize);
42904   if (!data)
42905     exit (1);
42906   for (i = 0; i < pagesize; ++i)
42907     *(data + i) = rand ();
42908   umask (0);
42909   fd = creat ("conftest.mmap", 0600);
42910   if (fd < 0)
42911     exit (1);
42912   if (write (fd, data, pagesize) != pagesize)
42913     exit (1);
42914   close (fd);
42915
42916   /* Next, try to mmap the file at a fixed address which already has
42917      something else allocated at it.  If we can, also make sure that
42918      we see the same garbage.  */
42919   fd = open ("conftest.mmap", O_RDWR);
42920   if (fd < 0)
42921     exit (1);
42922   data2 = (char *) malloc (2 * pagesize);
42923   if (!data2)
42924     exit (1);
42925   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
42926   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
42927                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
42928     exit (1);
42929   for (i = 0; i < pagesize; ++i)
42930     if (*(data + i) != *(data2 + i))
42931       exit (1);
42932
42933   /* Finally, make sure that changes to the mapped area do not
42934      percolate back to the file as seen by read().  (This is a bug on
42935      some variants of i386 svr4.0.)  */
42936   for (i = 0; i < pagesize; ++i)
42937     *(data2 + i) = *(data2 + i) + 1;
42938   data3 = (char *) malloc (pagesize);
42939   if (!data3)
42940     exit (1);
42941   if (read (fd, data3, pagesize) != pagesize)
42942     exit (1);
42943   for (i = 0; i < pagesize; ++i)
42944     if (*(data + i) != *(data3 + i))
42945       exit (1);
42946   close (fd);
42947   exit (0);
42948 }
42949 _ACEOF
42950 rm -f conftest$ac_exeext
42951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42952   (eval $ac_link) 2>&5
42953   ac_status=$?
42954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42957   (eval $ac_try) 2>&5
42958   ac_status=$?
42959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960   (exit $ac_status); }; }; then
42961   ac_cv_func_mmap_fixed_mapped=yes
42962 else
42963   echo "$as_me: program exited with status $ac_status" >&5
42964 echo "$as_me: failed program was:" >&5
42965 sed 's/^/| /' conftest.$ac_ext >&5
42966
42967 ( exit $ac_status )
42968 ac_cv_func_mmap_fixed_mapped=no
42969 fi
42970 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42971 fi
42972 fi
42973 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42974 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42975 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42976
42977 cat >>confdefs.h <<\_ACEOF
42978 #define HAVE_MMAP 1
42979 _ACEOF
42980
42981 fi
42982 rm -f conftest.mmap
42983
42984 fi
42985
42986   # For iconv support.
42987
42988       if test "X$prefix" = "XNONE"; then
42989     acl_final_prefix="$ac_default_prefix"
42990   else
42991     acl_final_prefix="$prefix"
42992   fi
42993   if test "X$exec_prefix" = "XNONE"; then
42994     acl_final_exec_prefix='${prefix}'
42995   else
42996     acl_final_exec_prefix="$exec_prefix"
42997   fi
42998   acl_save_prefix="$prefix"
42999   prefix="$acl_final_prefix"
43000   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
43001   prefix="$acl_save_prefix"
43002
43003
43004 # Check whether --with-gnu-ld or --without-gnu-ld was given.
43005 if test "${with_gnu_ld+set}" = set; then
43006   withval="$with_gnu_ld"
43007   test "$withval" = no || with_gnu_ld=yes
43008 else
43009   with_gnu_ld=no
43010 fi;
43011 # Prepare PATH_SEPARATOR.
43012 # The user is always right.
43013 if test "${PATH_SEPARATOR+set}" != set; then
43014   echo "#! /bin/sh" >conf$$.sh
43015   echo  "exit 0"   >>conf$$.sh
43016   chmod +x conf$$.sh
43017   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43018     PATH_SEPARATOR=';'
43019   else
43020     PATH_SEPARATOR=:
43021   fi
43022   rm -f conf$$.sh
43023 fi
43024 ac_prog=ld
43025 if test "$GCC" = yes; then
43026   # Check if gcc -print-prog-name=ld gives a path.
43027   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
43028 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
43029   case $host in
43030   *-*-mingw*)
43031     # gcc leaves a trailing carriage return which upsets mingw
43032     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
43033   *)
43034     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
43035   esac
43036   case $ac_prog in
43037     # Accept absolute paths.
43038     [\\/]* | [A-Za-z]:[\\/]*)
43039       re_direlt='/[^/][^/]*/\.\./'
43040       # Canonicalize the path of ld
43041       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
43042       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
43043         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
43044       done
43045       test -z "$LD" && LD="$ac_prog"
43046       ;;
43047   "")
43048     # If it fails, then pretend we aren't using GCC.
43049     ac_prog=ld
43050     ;;
43051   *)
43052     # If it is relative, then search for the first ld in PATH.
43053     with_gnu_ld=unknown
43054     ;;
43055   esac
43056 elif test "$with_gnu_ld" = yes; then
43057   echo "$as_me:$LINENO: checking for GNU ld" >&5
43058 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
43059 else
43060   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
43061 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
43062 fi
43063 if test "${acl_cv_path_LD+set}" = set; then
43064   echo $ECHO_N "(cached) $ECHO_C" >&6
43065 else
43066   if test -z "$LD"; then
43067   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
43068   for ac_dir in $PATH; do
43069     test -z "$ac_dir" && ac_dir=.
43070     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
43071       acl_cv_path_LD="$ac_dir/$ac_prog"
43072       # Check to see if the program is GNU ld.  I'd rather use --version,
43073       # but apparently some GNU ld's only accept -v.
43074       # Break only if it was the GNU/non-GNU ld that we prefer.
43075       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
43076         test "$with_gnu_ld" != no && break
43077       else
43078         test "$with_gnu_ld" != yes && break
43079       fi
43080     fi
43081   done
43082   IFS="$ac_save_ifs"
43083 else
43084   acl_cv_path_LD="$LD" # Let the user override the test with a path.
43085 fi
43086 fi
43087
43088 LD="$acl_cv_path_LD"
43089 if test -n "$LD"; then
43090   echo "$as_me:$LINENO: result: $LD" >&5
43091 echo "${ECHO_T}$LD" >&6
43092 else
43093   echo "$as_me:$LINENO: result: no" >&5
43094 echo "${ECHO_T}no" >&6
43095 fi
43096 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
43097 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
43098    { (exit 1); exit 1; }; }
43099 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
43100 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
43101 if test "${acl_cv_prog_gnu_ld+set}" = set; then
43102   echo $ECHO_N "(cached) $ECHO_C" >&6
43103 else
43104   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
43105 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
43106   acl_cv_prog_gnu_ld=yes
43107 else
43108   acl_cv_prog_gnu_ld=no
43109 fi
43110 fi
43111 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
43112 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
43113 with_gnu_ld=$acl_cv_prog_gnu_ld
43114
43115
43116
43117                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
43118 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
43119 if test "${acl_cv_rpath+set}" = set; then
43120   echo $ECHO_N "(cached) $ECHO_C" >&6
43121 else
43122
43123     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
43124     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
43125     . ./conftest.sh
43126     rm -f ./conftest.sh
43127     acl_cv_rpath=done
43128
43129 fi
43130 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
43131 echo "${ECHO_T}$acl_cv_rpath" >&6
43132   wl="$acl_cv_wl"
43133   libext="$acl_cv_libext"
43134   shlibext="$acl_cv_shlibext"
43135   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
43136   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
43137   hardcode_direct="$acl_cv_hardcode_direct"
43138   hardcode_minus_L="$acl_cv_hardcode_minus_L"
43139     # Check whether --enable-rpath or --disable-rpath was given.
43140 if test "${enable_rpath+set}" = set; then
43141   enableval="$enable_rpath"
43142   :
43143 else
43144   enable_rpath=yes
43145 fi;
43146
43147
43148
43149
43150
43151
43152
43153     use_additional=yes
43154
43155   acl_save_prefix="$prefix"
43156   prefix="$acl_final_prefix"
43157   acl_save_exec_prefix="$exec_prefix"
43158   exec_prefix="$acl_final_exec_prefix"
43159
43160     eval additional_includedir=\"$includedir\"
43161     eval additional_libdir=\"$libdir\"
43162
43163   exec_prefix="$acl_save_exec_prefix"
43164   prefix="$acl_save_prefix"
43165
43166
43167 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
43168 if test "${with_libiconv_prefix+set}" = set; then
43169   withval="$with_libiconv_prefix"
43170
43171     if test "X$withval" = "Xno"; then
43172       use_additional=no
43173     else
43174       if test "X$withval" = "X"; then
43175
43176   acl_save_prefix="$prefix"
43177   prefix="$acl_final_prefix"
43178   acl_save_exec_prefix="$exec_prefix"
43179   exec_prefix="$acl_final_exec_prefix"
43180
43181           eval additional_includedir=\"$includedir\"
43182           eval additional_libdir=\"$libdir\"
43183
43184   exec_prefix="$acl_save_exec_prefix"
43185   prefix="$acl_save_prefix"
43186
43187       else
43188         additional_includedir="$withval/include"
43189         additional_libdir="$withval/lib"
43190       fi
43191     fi
43192
43193 fi;
43194       LIBICONV=
43195   LTLIBICONV=
43196   INCICONV=
43197   rpathdirs=
43198   ltrpathdirs=
43199   names_already_handled=
43200   names_next_round='iconv '
43201   while test -n "$names_next_round"; do
43202     names_this_round="$names_next_round"
43203     names_next_round=
43204     for name in $names_this_round; do
43205       already_handled=
43206       for n in $names_already_handled; do
43207         if test "$n" = "$name"; then
43208           already_handled=yes
43209           break
43210         fi
43211       done
43212       if test -z "$already_handled"; then
43213         names_already_handled="$names_already_handled $name"
43214                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
43215         eval value=\"\$HAVE_LIB$uppername\"
43216         if test -n "$value"; then
43217           if test "$value" = yes; then
43218             eval value=\"\$LIB$uppername\"
43219             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
43220             eval value=\"\$LTLIB$uppername\"
43221             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
43222           else
43223                                     :
43224           fi
43225         else
43226                               found_dir=
43227           found_la=
43228           found_so=
43229           found_a=
43230           if test $use_additional = yes; then
43231             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
43232               found_dir="$additional_libdir"
43233               found_so="$additional_libdir/lib$name.$shlibext"
43234               if test -f "$additional_libdir/lib$name.la"; then
43235                 found_la="$additional_libdir/lib$name.la"
43236               fi
43237             else
43238               if test -f "$additional_libdir/lib$name.$libext"; then
43239                 found_dir="$additional_libdir"
43240                 found_a="$additional_libdir/lib$name.$libext"
43241                 if test -f "$additional_libdir/lib$name.la"; then
43242                   found_la="$additional_libdir/lib$name.la"
43243                 fi
43244               fi
43245             fi
43246           fi
43247           if test "X$found_dir" = "X"; then
43248             for x in $LDFLAGS $LTLIBICONV; do
43249
43250   acl_save_prefix="$prefix"
43251   prefix="$acl_final_prefix"
43252   acl_save_exec_prefix="$exec_prefix"
43253   exec_prefix="$acl_final_exec_prefix"
43254   eval x=\"$x\"
43255   exec_prefix="$acl_save_exec_prefix"
43256   prefix="$acl_save_prefix"
43257
43258               case "$x" in
43259                 -L*)
43260                   dir=`echo "X$x" | sed -e 's/^X-L//'`
43261                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
43262                     found_dir="$dir"
43263                     found_so="$dir/lib$name.$shlibext"
43264                     if test -f "$dir/lib$name.la"; then
43265                       found_la="$dir/lib$name.la"
43266                     fi
43267                   else
43268                     if test -f "$dir/lib$name.$libext"; then
43269                       found_dir="$dir"
43270                       found_a="$dir/lib$name.$libext"
43271                       if test -f "$dir/lib$name.la"; then
43272                         found_la="$dir/lib$name.la"
43273                       fi
43274                     fi
43275                   fi
43276                   ;;
43277               esac
43278               if test "X$found_dir" != "X"; then
43279                 break
43280               fi
43281             done
43282           fi
43283           if test "X$found_dir" != "X"; then
43284                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
43285             if test "X$found_so" != "X"; then
43286                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
43287                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43288               else
43289                                                                                 haveit=
43290                 for x in $ltrpathdirs; do
43291                   if test "X$x" = "X$found_dir"; then
43292                     haveit=yes
43293                     break
43294                   fi
43295                 done
43296                 if test -z "$haveit"; then
43297                   ltrpathdirs="$ltrpathdirs $found_dir"
43298                 fi
43299                                 if test "$hardcode_direct" = yes; then
43300                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43301                 else
43302                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
43303                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43304                                                             haveit=
43305                     for x in $rpathdirs; do
43306                       if test "X$x" = "X$found_dir"; then
43307                         haveit=yes
43308                         break
43309                       fi
43310                     done
43311                     if test -z "$haveit"; then
43312                       rpathdirs="$rpathdirs $found_dir"
43313                     fi
43314                   else
43315                                                                                 haveit=
43316                     for x in $LDFLAGS $LIBICONV; do
43317
43318   acl_save_prefix="$prefix"
43319   prefix="$acl_final_prefix"
43320   acl_save_exec_prefix="$exec_prefix"
43321   exec_prefix="$acl_final_exec_prefix"
43322   eval x=\"$x\"
43323   exec_prefix="$acl_save_exec_prefix"
43324   prefix="$acl_save_prefix"
43325
43326                       if test "X$x" = "X-L$found_dir"; then
43327                         haveit=yes
43328                         break
43329                       fi
43330                     done
43331                     if test -z "$haveit"; then
43332                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
43333                     fi
43334                     if test "$hardcode_minus_L" != no; then
43335                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43336                     else
43337                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43338                     fi
43339                   fi
43340                 fi
43341               fi
43342             else
43343               if test "X$found_a" != "X"; then
43344                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
43345               else
43346                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
43347               fi
43348             fi
43349                         additional_includedir=
43350             case "$found_dir" in
43351               */lib | */lib/)
43352                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
43353                 additional_includedir="$basedir/include"
43354                 ;;
43355             esac
43356             if test "X$additional_includedir" != "X"; then
43357                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
43358                 haveit=
43359                 if test "X$additional_includedir" = "X/usr/local/include"; then
43360                   if test -n "$GCC"; then
43361                     case $host_os in
43362                       linux*) haveit=yes;;
43363                     esac
43364                   fi
43365                 fi
43366                 if test -z "$haveit"; then
43367                   for x in $CPPFLAGS $INCICONV; do
43368
43369   acl_save_prefix="$prefix"
43370   prefix="$acl_final_prefix"
43371   acl_save_exec_prefix="$exec_prefix"
43372   exec_prefix="$acl_final_exec_prefix"
43373   eval x=\"$x\"
43374   exec_prefix="$acl_save_exec_prefix"
43375   prefix="$acl_save_prefix"
43376
43377                     if test "X$x" = "X-I$additional_includedir"; then
43378                       haveit=yes
43379                       break
43380                     fi
43381                   done
43382                   if test -z "$haveit"; then
43383                     if test -d "$additional_includedir"; then
43384                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
43385                     fi
43386                   fi
43387                 fi
43388               fi
43389             fi
43390                         if test -n "$found_la"; then
43391                                                         save_libdir="$libdir"
43392               case "$found_la" in
43393                 */* | *\\*) . "$found_la" ;;
43394                 *) . "./$found_la" ;;
43395               esac
43396               libdir="$save_libdir"
43397                             for dep in $dependency_libs; do
43398                 case "$dep" in
43399                   -L*)
43400                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
43401                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
43402                       haveit=
43403                       if test "X$additional_libdir" = "X/usr/local/lib"; then
43404                         if test -n "$GCC"; then
43405                           case $host_os in
43406                             linux*) haveit=yes;;
43407                           esac
43408                         fi
43409                       fi
43410                       if test -z "$haveit"; then
43411                         haveit=
43412                         for x in $LDFLAGS $LIBICONV; do
43413
43414   acl_save_prefix="$prefix"
43415   prefix="$acl_final_prefix"
43416   acl_save_exec_prefix="$exec_prefix"
43417   exec_prefix="$acl_final_exec_prefix"
43418   eval x=\"$x\"
43419   exec_prefix="$acl_save_exec_prefix"
43420   prefix="$acl_save_prefix"
43421
43422                           if test "X$x" = "X-L$additional_libdir"; then
43423                             haveit=yes
43424                             break
43425                           fi
43426                         done
43427                         if test -z "$haveit"; then
43428                           if test -d "$additional_libdir"; then
43429                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
43430                           fi
43431                         fi
43432                         haveit=
43433                         for x in $LDFLAGS $LTLIBICONV; do
43434
43435   acl_save_prefix="$prefix"
43436   prefix="$acl_final_prefix"
43437   acl_save_exec_prefix="$exec_prefix"
43438   exec_prefix="$acl_final_exec_prefix"
43439   eval x=\"$x\"
43440   exec_prefix="$acl_save_exec_prefix"
43441   prefix="$acl_save_prefix"
43442
43443                           if test "X$x" = "X-L$additional_libdir"; then
43444                             haveit=yes
43445                             break
43446                           fi
43447                         done
43448                         if test -z "$haveit"; then
43449                           if test -d "$additional_libdir"; then
43450                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
43451                           fi
43452                         fi
43453                       fi
43454                     fi
43455                     ;;
43456                   -R*)
43457                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
43458                     if test "$enable_rpath" != no; then
43459                                                                   haveit=
43460                       for x in $rpathdirs; do
43461                         if test "X$x" = "X$dir"; then
43462                           haveit=yes
43463                           break
43464                         fi
43465                       done
43466                       if test -z "$haveit"; then
43467                         rpathdirs="$rpathdirs $dir"
43468                       fi
43469                                                                   haveit=
43470                       for x in $ltrpathdirs; do
43471                         if test "X$x" = "X$dir"; then
43472                           haveit=yes
43473                           break
43474                         fi
43475                       done
43476                       if test -z "$haveit"; then
43477                         ltrpathdirs="$ltrpathdirs $dir"
43478                       fi
43479                     fi
43480                     ;;
43481                   -l*)
43482                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
43483                     ;;
43484                   *.la)
43485                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
43486                     ;;
43487                   *)
43488                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
43489                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
43490                     ;;
43491                 esac
43492               done
43493             fi
43494           else
43495                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43496             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
43497           fi
43498         fi
43499       fi
43500     done
43501   done
43502   if test "X$rpathdirs" != "X"; then
43503     if test -n "$hardcode_libdir_separator"; then
43504                         alldirs=
43505       for found_dir in $rpathdirs; do
43506         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
43507       done
43508             acl_save_libdir="$libdir"
43509       libdir="$alldirs"
43510       eval flag=\"$hardcode_libdir_flag_spec\"
43511       libdir="$acl_save_libdir"
43512       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43513     else
43514             for found_dir in $rpathdirs; do
43515         acl_save_libdir="$libdir"
43516         libdir="$found_dir"
43517         eval flag=\"$hardcode_libdir_flag_spec\"
43518         libdir="$acl_save_libdir"
43519         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43520       done
43521     fi
43522   fi
43523   if test "X$ltrpathdirs" != "X"; then
43524             for found_dir in $ltrpathdirs; do
43525       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
43526     done
43527   fi
43528
43529
43530
43531
43532
43533
43534
43535           am_save_CPPFLAGS="$CPPFLAGS"
43536
43537   for element in $INCICONV; do
43538     haveit=
43539     for x in $CPPFLAGS; do
43540
43541   acl_save_prefix="$prefix"
43542   prefix="$acl_final_prefix"
43543   acl_save_exec_prefix="$exec_prefix"
43544   exec_prefix="$acl_final_exec_prefix"
43545   eval x=\"$x\"
43546   exec_prefix="$acl_save_exec_prefix"
43547   prefix="$acl_save_prefix"
43548
43549       if test "X$x" = "X$element"; then
43550         haveit=yes
43551         break
43552       fi
43553     done
43554     if test -z "$haveit"; then
43555       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43556     fi
43557   done
43558
43559
43560   echo "$as_me:$LINENO: checking for iconv" >&5
43561 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
43562 if test "${am_cv_func_iconv+set}" = set; then
43563   echo $ECHO_N "(cached) $ECHO_C" >&6
43564 else
43565
43566     am_cv_func_iconv="no, consider installing GNU libiconv"
43567     am_cv_lib_iconv=no
43568     if test x$gcc_no_link = xyes; then
43569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43571    { (exit 1); exit 1; }; }
43572 fi
43573 cat >conftest.$ac_ext <<_ACEOF
43574 /* confdefs.h.  */
43575 _ACEOF
43576 cat confdefs.h >>conftest.$ac_ext
43577 cat >>conftest.$ac_ext <<_ACEOF
43578 /* end confdefs.h.  */
43579 #include <stdlib.h>
43580 #include <iconv.h>
43581 int
43582 main ()
43583 {
43584 iconv_t cd = iconv_open("","");
43585        iconv(cd,NULL,NULL,NULL,NULL);
43586        iconv_close(cd);
43587   ;
43588   return 0;
43589 }
43590 _ACEOF
43591 rm -f conftest.$ac_objext conftest$ac_exeext
43592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43593   (eval $ac_link) 2>conftest.er1
43594   ac_status=$?
43595   grep -v '^ *+' conftest.er1 >conftest.err
43596   rm -f conftest.er1
43597   cat conftest.err >&5
43598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599   (exit $ac_status); } &&
43600          { ac_try='test -z "$ac_c_werror_flag"
43601                          || test ! -s conftest.err'
43602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43603   (eval $ac_try) 2>&5
43604   ac_status=$?
43605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43606   (exit $ac_status); }; } &&
43607          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
43613   am_cv_func_iconv=yes
43614 else
43615   echo "$as_me: failed program was:" >&5
43616 sed 's/^/| /' conftest.$ac_ext >&5
43617
43618 fi
43619 rm -f conftest.err conftest.$ac_objext \
43620       conftest$ac_exeext conftest.$ac_ext
43621     if test "$am_cv_func_iconv" != yes; then
43622       am_save_LIBS="$LIBS"
43623       LIBS="$LIBS $LIBICONV"
43624       if test x$gcc_no_link = xyes; then
43625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43627    { (exit 1); exit 1; }; }
43628 fi
43629 cat >conftest.$ac_ext <<_ACEOF
43630 /* confdefs.h.  */
43631 _ACEOF
43632 cat confdefs.h >>conftest.$ac_ext
43633 cat >>conftest.$ac_ext <<_ACEOF
43634 /* end confdefs.h.  */
43635 #include <stdlib.h>
43636 #include <iconv.h>
43637 int
43638 main ()
43639 {
43640 iconv_t cd = iconv_open("","");
43641          iconv(cd,NULL,NULL,NULL,NULL);
43642          iconv_close(cd);
43643   ;
43644   return 0;
43645 }
43646 _ACEOF
43647 rm -f conftest.$ac_objext conftest$ac_exeext
43648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43649   (eval $ac_link) 2>conftest.er1
43650   ac_status=$?
43651   grep -v '^ *+' conftest.er1 >conftest.err
43652   rm -f conftest.er1
43653   cat conftest.err >&5
43654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655   (exit $ac_status); } &&
43656          { ac_try='test -z "$ac_c_werror_flag"
43657                          || test ! -s conftest.err'
43658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43659   (eval $ac_try) 2>&5
43660   ac_status=$?
43661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662   (exit $ac_status); }; } &&
43663          { ac_try='test -s conftest$ac_exeext'
43664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665   (eval $ac_try) 2>&5
43666   ac_status=$?
43667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668   (exit $ac_status); }; }; then
43669   am_cv_lib_iconv=yes
43670         am_cv_func_iconv=yes
43671 else
43672   echo "$as_me: failed program was:" >&5
43673 sed 's/^/| /' conftest.$ac_ext >&5
43674
43675 fi
43676 rm -f conftest.err conftest.$ac_objext \
43677       conftest$ac_exeext conftest.$ac_ext
43678       LIBS="$am_save_LIBS"
43679     fi
43680
43681 fi
43682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
43683 echo "${ECHO_T}$am_cv_func_iconv" >&6
43684   if test "$am_cv_func_iconv" = yes; then
43685
43686 cat >>confdefs.h <<\_ACEOF
43687 #define HAVE_ICONV 1
43688 _ACEOF
43689
43690   fi
43691   if test "$am_cv_lib_iconv" = yes; then
43692     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
43693 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
43694     echo "$as_me:$LINENO: result: $LIBICONV" >&5
43695 echo "${ECHO_T}$LIBICONV" >&6
43696   else
43697             CPPFLAGS="$am_save_CPPFLAGS"
43698     LIBICONV=
43699     LTLIBICONV=
43700   fi
43701
43702
43703
43704   if test "$am_cv_func_iconv" = yes; then
43705     echo "$as_me:$LINENO: checking for iconv declaration" >&5
43706 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
43707     if test "${am_cv_proto_iconv+set}" = set; then
43708   echo $ECHO_N "(cached) $ECHO_C" >&6
43709 else
43710
43711       cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h.  */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h.  */
43717
43718 #include <stdlib.h>
43719 #include <iconv.h>
43720 extern
43721 #ifdef __cplusplus
43722 "C"
43723 #endif
43724 #if defined(__STDC__) || defined(__cplusplus)
43725 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43726 #else
43727 size_t iconv();
43728 #endif
43729
43730 int
43731 main ()
43732 {
43733
43734   ;
43735   return 0;
43736 }
43737 _ACEOF
43738 rm -f conftest.$ac_objext
43739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43740   (eval $ac_compile) 2>conftest.er1
43741   ac_status=$?
43742   grep -v '^ *+' conftest.er1 >conftest.err
43743   rm -f conftest.er1
43744   cat conftest.err >&5
43745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746   (exit $ac_status); } &&
43747          { ac_try='test -z "$ac_c_werror_flag"
43748                          || test ! -s conftest.err'
43749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43750   (eval $ac_try) 2>&5
43751   ac_status=$?
43752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753   (exit $ac_status); }; } &&
43754          { ac_try='test -s conftest.$ac_objext'
43755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756   (eval $ac_try) 2>&5
43757   ac_status=$?
43758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759   (exit $ac_status); }; }; then
43760   am_cv_proto_iconv_arg1=""
43761 else
43762   echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43764
43765 am_cv_proto_iconv_arg1="const"
43766 fi
43767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43768       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);"
43769 fi
43770
43771     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43772     echo "$as_me:$LINENO: result: ${ac_t:-
43773          }$am_cv_proto_iconv" >&5
43774 echo "${ECHO_T}${ac_t:-
43775          }$am_cv_proto_iconv" >&6
43776
43777 cat >>confdefs.h <<_ACEOF
43778 #define ICONV_CONST $am_cv_proto_iconv_arg1
43779 _ACEOF
43780
43781   fi
43782
43783
43784 else
43785
43786   # This lets us hard-code the functionality we know we'll have in the cross
43787   # target environment.  "Let" is a sugar-coated word placed on an especially
43788   # dull and tedious hack, actually.
43789   #
43790   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
43791   # that involve linking, can't be used:
43792   #    "cannot open sim-crt0.o"
43793   #    "cannot open crt0.o"
43794   # etc.  All this is because there currently exists no unified, consistent
43795   # way for top level CC information to be passed down to target directories:
43796   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
43797   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
43798   # crosses can be removed.
43799
43800   # If Canadian cross, then don't pick up tools from the build directory.
43801   # Used only in GLIBCXX_EXPORT_INCLUDES.
43802   if test -n "$with_cross_host" &&
43803      test x"$build_alias" != x"$with_cross_host" &&
43804      test x"$build" != x"$target";
43805   then
43806     CANADIAN=yes
43807   else
43808     CANADIAN=no
43809   fi
43810
43811   # Construct crosses by hand, eliminating bits that need ld...
43812   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
43813   # GLIBCXX_CHECK_MATH_SUPPORT
43814
43815   # First, test for "known" system libraries.  We may be using newlib even
43816   # on a hosted environment.
43817   if test "x${with_newlib}" = "xyes"; then
43818     os_include_dir="os/newlib"
43819     cat >>confdefs.h <<\_ACEOF
43820 #define HAVE_HYPOT 1
43821 _ACEOF
43822
43823
43824     # GLIBCXX_CHECK_STDLIB_SUPPORT
43825     cat >>confdefs.h <<\_ACEOF
43826 #define HAVE_STRTOF 1
43827 _ACEOF
43828
43829     # AC_FUNC_MMAP
43830     cat >>confdefs.h <<\_ACEOF
43831 #define HAVE_MMAP 1
43832 _ACEOF
43833
43834
43835     cat >>confdefs.h <<\_ACEOF
43836 #define HAVE_ACOSF 1
43837 _ACEOF
43838
43839     cat >>confdefs.h <<\_ACEOF
43840 #define HAVE_ASINF 1
43841 _ACEOF
43842
43843     cat >>confdefs.h <<\_ACEOF
43844 #define HAVE_ATAN2F 1
43845 _ACEOF
43846
43847     cat >>confdefs.h <<\_ACEOF
43848 #define HAVE_ATANF 1
43849 _ACEOF
43850
43851     cat >>confdefs.h <<\_ACEOF
43852 #define HAVE_CEILF 1
43853 _ACEOF
43854
43855     cat >>confdefs.h <<\_ACEOF
43856 #define HAVE_COPYSIGN 1
43857 _ACEOF
43858
43859     cat >>confdefs.h <<\_ACEOF
43860 #define HAVE_COPYSIGNF 1
43861 _ACEOF
43862
43863     cat >>confdefs.h <<\_ACEOF
43864 #define HAVE_COSF 1
43865 _ACEOF
43866
43867     cat >>confdefs.h <<\_ACEOF
43868 #define HAVE_COSHF 1
43869 _ACEOF
43870
43871     cat >>confdefs.h <<\_ACEOF
43872 #define HAVE_EXPF 1
43873 _ACEOF
43874
43875     cat >>confdefs.h <<\_ACEOF
43876 #define HAVE_FABSF 1
43877 _ACEOF
43878
43879     cat >>confdefs.h <<\_ACEOF
43880 #define HAVE_FLOORF 1
43881 _ACEOF
43882
43883     cat >>confdefs.h <<\_ACEOF
43884 #define HAVE_FMODF 1
43885 _ACEOF
43886
43887     cat >>confdefs.h <<\_ACEOF
43888 #define HAVE_FREXPF 1
43889 _ACEOF
43890
43891     cat >>confdefs.h <<\_ACEOF
43892 #define HAVE_LDEXPF 1
43893 _ACEOF
43894
43895     cat >>confdefs.h <<\_ACEOF
43896 #define HAVE_LOG10F 1
43897 _ACEOF
43898
43899     cat >>confdefs.h <<\_ACEOF
43900 #define HAVE_LOGF 1
43901 _ACEOF
43902
43903     cat >>confdefs.h <<\_ACEOF
43904 #define HAVE_MODFF 1
43905 _ACEOF
43906
43907     cat >>confdefs.h <<\_ACEOF
43908 #define HAVE_POWF 1
43909 _ACEOF
43910
43911     cat >>confdefs.h <<\_ACEOF
43912 #define HAVE_SINF 1
43913 _ACEOF
43914
43915     cat >>confdefs.h <<\_ACEOF
43916 #define HAVE_SINHF 1
43917 _ACEOF
43918
43919     cat >>confdefs.h <<\_ACEOF
43920 #define HAVE_SQRTF 1
43921 _ACEOF
43922
43923     cat >>confdefs.h <<\_ACEOF
43924 #define HAVE_TANF 1
43925 _ACEOF
43926
43927     cat >>confdefs.h <<\_ACEOF
43928 #define HAVE_TANHF 1
43929 _ACEOF
43930
43931
43932     cat >>confdefs.h <<\_ACEOF
43933 #define HAVE_S_ISREG 1
43934 _ACEOF
43935
43936     cat >>confdefs.h <<\_ACEOF
43937 #define HAVE_S_IFREG 1
43938 _ACEOF
43939
43940
43941     cat >>confdefs.h <<\_ACEOF
43942 #define HAVE_ICONV 1
43943 _ACEOF
43944
43945   else
43946
43947 # Base decisions on target environment.
43948 case "${host}" in
43949   arm*-*-symbianelf*)
43950     # This is a freestanding configuration; there is nothing to do here.
43951     ;;
43952
43953   mips*-sde-elf*)
43954     # These definitions are for the SDE C library rather than newlib.
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970 for ac_header in float.h inttypes.h locale.h \
43971       stdint.h stdlib.h string.h unistd.h wchar.h \
43972       machine/endian.h sys/ioctl.h sys/resource.h \
43973       sys/stat.h sys/time.h sys/types.h sys/uio.h
43974 do
43975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43977   echo "$as_me:$LINENO: checking for $ac_header" >&5
43978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43980   echo $ECHO_N "(cached) $ECHO_C" >&6
43981 fi
43982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43984 else
43985   # Is the header compilable?
43986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43988 cat >conftest.$ac_ext <<_ACEOF
43989 /* confdefs.h.  */
43990 _ACEOF
43991 cat confdefs.h >>conftest.$ac_ext
43992 cat >>conftest.$ac_ext <<_ACEOF
43993 /* end confdefs.h.  */
43994 $ac_includes_default
43995 #include <$ac_header>
43996 _ACEOF
43997 rm -f conftest.$ac_objext
43998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43999   (eval $ac_compile) 2>conftest.er1
44000   ac_status=$?
44001   grep -v '^ *+' conftest.er1 >conftest.err
44002   rm -f conftest.er1
44003   cat conftest.err >&5
44004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005   (exit $ac_status); } &&
44006          { ac_try='test -z "$ac_c_werror_flag"
44007                          || test ! -s conftest.err'
44008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009   (eval $ac_try) 2>&5
44010   ac_status=$?
44011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012   (exit $ac_status); }; } &&
44013          { ac_try='test -s conftest.$ac_objext'
44014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44015   (eval $ac_try) 2>&5
44016   ac_status=$?
44017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018   (exit $ac_status); }; }; then
44019   ac_header_compiler=yes
44020 else
44021   echo "$as_me: failed program was:" >&5
44022 sed 's/^/| /' conftest.$ac_ext >&5
44023
44024 ac_header_compiler=no
44025 fi
44026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44028 echo "${ECHO_T}$ac_header_compiler" >&6
44029
44030 # Is the header present?
44031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h.  */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h.  */
44039 #include <$ac_header>
44040 _ACEOF
44041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44042   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44043   ac_status=$?
44044   grep -v '^ *+' conftest.er1 >conftest.err
44045   rm -f conftest.er1
44046   cat conftest.err >&5
44047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048   (exit $ac_status); } >/dev/null; then
44049   if test -s conftest.err; then
44050     ac_cpp_err=$ac_c_preproc_warn_flag
44051     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
44052   else
44053     ac_cpp_err=
44054   fi
44055 else
44056   ac_cpp_err=yes
44057 fi
44058 if test -z "$ac_cpp_err"; then
44059   ac_header_preproc=yes
44060 else
44061   echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.$ac_ext >&5
44063
44064   ac_header_preproc=no
44065 fi
44066 rm -f conftest.err conftest.$ac_ext
44067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44068 echo "${ECHO_T}$ac_header_preproc" >&6
44069
44070 # So?  What about this header?
44071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44072   yes:no: )
44073     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44075     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44077     ac_header_preproc=yes
44078     ;;
44079   no:yes:* )
44080     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44082     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
44083 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
44084     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44086     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
44087 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
44088     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44090     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44092     (
44093       cat <<\_ASBOX
44094 ## ----------------------------------------- ##
44095 ## Report this to the package-unused lists.  ##
44096 ## ----------------------------------------- ##
44097 _ASBOX
44098     ) |
44099       sed "s/^/$as_me: WARNING:     /" >&2
44100     ;;
44101 esac
44102 echo "$as_me:$LINENO: checking for $ac_header" >&5
44103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44105   echo $ECHO_N "(cached) $ECHO_C" >&6
44106 else
44107   eval "$as_ac_Header=\$ac_header_preproc"
44108 fi
44109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44111
44112 fi
44113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44114   cat >>confdefs.h <<_ACEOF
44115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44116 _ACEOF
44117
44118 fi
44119
44120 done
44121
44122     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44123
44124
44125   # All these tests are for C++; save the language and the compiler flags.
44126   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44127   # found in GLIBCXX_CONFIGURE.
44128
44129
44130   ac_ext=cc
44131 ac_cpp='$CXXCPP $CPPFLAGS'
44132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44135
44136   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44137   ac_save_CXXFLAGS="$CXXFLAGS"
44138
44139   # Check for maintainer-mode bits.
44140   if test x"$USE_MAINTAINER_MODE" = xno; then
44141     WERROR=''
44142   else
44143     WERROR='-Werror'
44144   fi
44145
44146   # Check for -ffunction-sections -fdata-sections
44147   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44148 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
44149   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44150   cat >conftest.$ac_ext <<_ACEOF
44151 /* confdefs.h.  */
44152 _ACEOF
44153 cat confdefs.h >>conftest.$ac_ext
44154 cat >>conftest.$ac_ext <<_ACEOF
44155 /* end confdefs.h.  */
44156 int foo; void bar() { };
44157 int
44158 main ()
44159 {
44160
44161   ;
44162   return 0;
44163 }
44164 _ACEOF
44165 rm -f conftest.$ac_objext
44166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44167   (eval $ac_compile) 2>conftest.er1
44168   ac_status=$?
44169   grep -v '^ *+' conftest.er1 >conftest.err
44170   rm -f conftest.er1
44171   cat conftest.err >&5
44172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173   (exit $ac_status); } &&
44174          { ac_try='test -z "$ac_cxx_werror_flag"
44175                          || test ! -s conftest.err'
44176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44177   (eval $ac_try) 2>&5
44178   ac_status=$?
44179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180   (exit $ac_status); }; } &&
44181          { ac_try='test -s conftest.$ac_objext'
44182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44183   (eval $ac_try) 2>&5
44184   ac_status=$?
44185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186   (exit $ac_status); }; }; then
44187   ac_fdsections=yes
44188 else
44189   echo "$as_me: failed program was:" >&5
44190 sed 's/^/| /' conftest.$ac_ext >&5
44191
44192 ac_fdsections=no
44193 fi
44194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44195   if test "$ac_test_CXXFLAGS" = set; then
44196     CXXFLAGS="$ac_save_CXXFLAGS"
44197   else
44198     # this is the suspicious part
44199     CXXFLAGS=''
44200   fi
44201   if test x"$ac_fdsections" = x"yes"; then
44202     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44203   fi
44204   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
44205 echo "${ECHO_T}$ac_fdsections" >&6
44206
44207   ac_ext=c
44208 ac_cpp='$CPP $CPPFLAGS'
44209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44212
44213
44214
44215
44216
44217   # If we're not using GNU ld, then there's no point in even trying these
44218   # tests.  Check for that first.  We should have already tested for gld
44219   # by now (in libtool), but require it now just to be safe...
44220   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44221   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44222
44223
44224
44225   # The name set by libtool depends on the version of libtool.  Shame on us
44226   # for depending on an impl detail, but c'est la vie.  Older versions used
44227   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44228   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44229   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44230   # set (hence we're using an older libtool), then set it.
44231   if test x${with_gnu_ld+set} != xset; then
44232     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44233       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44234       with_gnu_ld=no
44235     else
44236       with_gnu_ld=$ac_cv_prog_gnu_ld
44237     fi
44238   fi
44239
44240   # Start by getting the version number.  I think the libtool test already
44241   # does some of this, but throws away the result.
44242   glibcxx_ld_is_gold=no
44243   if test x"$with_gnu_ld" = x"yes"; then
44244     echo "$as_me:$LINENO: checking for ld version" >&5
44245 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
44246
44247     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44248       glibcxx_ld_is_gold=yes
44249     fi
44250     ldver=`$LD --version 2>/dev/null | head -1 | \
44251            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44252
44253     glibcxx_gnu_ld_version=`echo $ldver | \
44254            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44255     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
44256 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
44257   fi
44258
44259   # Set --gc-sections.
44260   glibcxx_have_gc_sections=no
44261   if test "$glibcxx_ld_is_gold" = "yes"; then
44262     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44263       glibcxx_have_gc_sections=yes
44264     fi
44265   else
44266     glibcxx_gcsections_min_ld=21602
44267     if test x"$with_gnu_ld" = x"yes" &&
44268         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44269       glibcxx_have_gc_sections=yes
44270     fi
44271   fi
44272   if test "$glibcxx_have_gc_sections" = "yes"; then
44273     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44274     # NB: This flag only works reliably after 2.16.1. Configure tests
44275     # for this are difficult, so hard wire a value that should work.
44276
44277     ac_test_CFLAGS="${CFLAGS+set}"
44278     ac_save_CFLAGS="$CFLAGS"
44279     CFLAGS='-Wl,--gc-sections'
44280
44281     # Check for -Wl,--gc-sections
44282     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
44283 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
44284     if test x$gcc_no_link = xyes; then
44285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44287    { (exit 1); exit 1; }; }
44288 fi
44289 cat >conftest.$ac_ext <<_ACEOF
44290 /* confdefs.h.  */
44291 _ACEOF
44292 cat confdefs.h >>conftest.$ac_ext
44293 cat >>conftest.$ac_ext <<_ACEOF
44294 /* end confdefs.h.  */
44295  int one(void) { return 1; }
44296      int two(void) { return 2; }
44297
44298 int
44299 main ()
44300 {
44301  two();
44302   ;
44303   return 0;
44304 }
44305 _ACEOF
44306 rm -f conftest.$ac_objext conftest$ac_exeext
44307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44308   (eval $ac_link) 2>conftest.er1
44309   ac_status=$?
44310   grep -v '^ *+' conftest.er1 >conftest.err
44311   rm -f conftest.er1
44312   cat conftest.err >&5
44313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314   (exit $ac_status); } &&
44315          { ac_try='test -z "$ac_c_werror_flag"
44316                          || test ! -s conftest.err'
44317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318   (eval $ac_try) 2>&5
44319   ac_status=$?
44320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321   (exit $ac_status); }; } &&
44322          { ac_try='test -s conftest$ac_exeext'
44323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44324   (eval $ac_try) 2>&5
44325   ac_status=$?
44326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327   (exit $ac_status); }; }; then
44328   ac_gcsections=yes
44329 else
44330   echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44332
44333 ac_gcsections=no
44334 fi
44335 rm -f conftest.err conftest.$ac_objext \
44336       conftest$ac_exeext conftest.$ac_ext
44337     if test "$ac_gcsections" = "yes"; then
44338       rm -f conftest.c
44339       touch conftest.c
44340       if $CC -c conftest.c; then
44341         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44342            grep "Warning: gc-sections option ignored" > /dev/null; then
44343           ac_gcsections=no
44344         fi
44345       fi
44346       rm -f conftest.c conftest.o conftest
44347     fi
44348     if test "$ac_gcsections" = "yes"; then
44349       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44350     fi
44351     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
44352 echo "${ECHO_T}$ac_gcsections" >&6
44353
44354     if test "$ac_test_CFLAGS" = set; then
44355       CFLAGS="$ac_save_CFLAGS"
44356     else
44357       # this is the suspicious part
44358       CFLAGS=''
44359     fi
44360   fi
44361
44362   # Set -z,relro.
44363   # Note this is only for shared objects.
44364   ac_ld_relro=no
44365   if test x"$with_gnu_ld" = x"yes"; then
44366     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
44367 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
44368     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44369     if test -n "$cxx_z_relo"; then
44370       OPT_LDFLAGS="-Wl,-z,relro"
44371       ac_ld_relro=yes
44372     fi
44373     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
44374 echo "${ECHO_T}$ac_ld_relro" >&6
44375   fi
44376
44377   # Set linker optimization flags.
44378   if test x"$with_gnu_ld" = x"yes"; then
44379     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44380   fi
44381
44382
44383
44384
44385
44386   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44387   ac_save_CXXFLAGS="$CXXFLAGS"
44388   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44389
44390     echo "$as_me:$LINENO: checking for sin in -lm" >&5
44391 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
44392 if test "${ac_cv_lib_m_sin+set}" = set; then
44393   echo $ECHO_N "(cached) $ECHO_C" >&6
44394 else
44395   ac_check_lib_save_LIBS=$LIBS
44396 LIBS="-lm  $LIBS"
44397 if test x$gcc_no_link = xyes; then
44398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44400    { (exit 1); exit 1; }; }
44401 fi
44402 cat >conftest.$ac_ext <<_ACEOF
44403 /* confdefs.h.  */
44404 _ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h.  */
44408
44409 /* Override any gcc2 internal prototype to avoid an error.  */
44410 #ifdef __cplusplus
44411 extern "C"
44412 #endif
44413 /* We use char because int might match the return type of a gcc2
44414    builtin and then its argument prototype would still apply.  */
44415 char sin ();
44416 int
44417 main ()
44418 {
44419 sin ();
44420   ;
44421   return 0;
44422 }
44423 _ACEOF
44424 rm -f conftest.$ac_objext conftest$ac_exeext
44425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44426   (eval $ac_link) 2>conftest.er1
44427   ac_status=$?
44428   grep -v '^ *+' conftest.er1 >conftest.err
44429   rm -f conftest.er1
44430   cat conftest.err >&5
44431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432   (exit $ac_status); } &&
44433          { ac_try='test -z "$ac_c_werror_flag"
44434                          || test ! -s conftest.err'
44435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44436   (eval $ac_try) 2>&5
44437   ac_status=$?
44438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439   (exit $ac_status); }; } &&
44440          { ac_try='test -s conftest$ac_exeext'
44441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442   (eval $ac_try) 2>&5
44443   ac_status=$?
44444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445   (exit $ac_status); }; }; then
44446   ac_cv_lib_m_sin=yes
44447 else
44448   echo "$as_me: failed program was:" >&5
44449 sed 's/^/| /' conftest.$ac_ext >&5
44450
44451 ac_cv_lib_m_sin=no
44452 fi
44453 rm -f conftest.err conftest.$ac_objext \
44454       conftest$ac_exeext conftest.$ac_ext
44455 LIBS=$ac_check_lib_save_LIBS
44456 fi
44457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
44458 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
44459 if test $ac_cv_lib_m_sin = yes; then
44460   libm="-lm"
44461 fi
44462
44463   ac_save_LIBS="$LIBS"
44464   LIBS="$LIBS $libm"
44465
44466
44467
44468   echo "$as_me:$LINENO: checking for isinf declaration" >&5
44469 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
44470   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44471     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
44472   echo $ECHO_N "(cached) $ECHO_C" >&6
44473 else
44474
44475
44476
44477       ac_ext=cc
44478 ac_cpp='$CXXCPP $CPPFLAGS'
44479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44482
44483       cat >conftest.$ac_ext <<_ACEOF
44484 /* confdefs.h.  */
44485 _ACEOF
44486 cat confdefs.h >>conftest.$ac_ext
44487 cat >>conftest.$ac_ext <<_ACEOF
44488 /* end confdefs.h.  */
44489 #include <math.h>
44490                       #ifdef HAVE_IEEEFP_H
44491                       #include <ieeefp.h>
44492                       #endif
44493
44494 int
44495 main ()
44496 {
44497  isinf(0);
44498   ;
44499   return 0;
44500 }
44501 _ACEOF
44502 rm -f conftest.$ac_objext
44503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44504   (eval $ac_compile) 2>conftest.er1
44505   ac_status=$?
44506   grep -v '^ *+' conftest.er1 >conftest.err
44507   rm -f conftest.er1
44508   cat conftest.err >&5
44509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510   (exit $ac_status); } &&
44511          { ac_try='test -z "$ac_cxx_werror_flag"
44512                          || test ! -s conftest.err'
44513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44514   (eval $ac_try) 2>&5
44515   ac_status=$?
44516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517   (exit $ac_status); }; } &&
44518          { ac_try='test -s conftest.$ac_objext'
44519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44520   (eval $ac_try) 2>&5
44521   ac_status=$?
44522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523   (exit $ac_status); }; }; then
44524   glibcxx_cv_func_isinf_use=yes
44525 else
44526   echo "$as_me: failed program was:" >&5
44527 sed 's/^/| /' conftest.$ac_ext >&5
44528
44529 glibcxx_cv_func_isinf_use=no
44530 fi
44531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44532       ac_ext=c
44533 ac_cpp='$CPP $CPPFLAGS'
44534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537
44538
44539 fi
44540
44541   fi
44542   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
44543 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
44544
44545   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44546
44547 for ac_func in isinf
44548 do
44549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44550 echo "$as_me:$LINENO: checking for $ac_func" >&5
44551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44552 if eval "test \"\${$as_ac_var+set}\" = set"; then
44553   echo $ECHO_N "(cached) $ECHO_C" >&6
44554 else
44555   if test x$gcc_no_link = xyes; then
44556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44558    { (exit 1); exit 1; }; }
44559 fi
44560 cat >conftest.$ac_ext <<_ACEOF
44561 /* confdefs.h.  */
44562 _ACEOF
44563 cat confdefs.h >>conftest.$ac_ext
44564 cat >>conftest.$ac_ext <<_ACEOF
44565 /* end confdefs.h.  */
44566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44568 #define $ac_func innocuous_$ac_func
44569
44570 /* System header to define __stub macros and hopefully few prototypes,
44571     which can conflict with char $ac_func (); below.
44572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44573     <limits.h> exists even on freestanding compilers.  */
44574
44575 #ifdef __STDC__
44576 # include <limits.h>
44577 #else
44578 # include <assert.h>
44579 #endif
44580
44581 #undef $ac_func
44582
44583 /* Override any gcc2 internal prototype to avoid an error.  */
44584 #ifdef __cplusplus
44585 extern "C"
44586 {
44587 #endif
44588 /* We use char because int might match the return type of a gcc2
44589    builtin and then its argument prototype would still apply.  */
44590 char $ac_func ();
44591 /* The GNU C library defines this for functions which it implements
44592     to always fail with ENOSYS.  Some functions are actually named
44593     something starting with __ and the normal name is an alias.  */
44594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44595 choke me
44596 #else
44597 char (*f) () = $ac_func;
44598 #endif
44599 #ifdef __cplusplus
44600 }
44601 #endif
44602
44603 int
44604 main ()
44605 {
44606 return f != $ac_func;
44607   ;
44608   return 0;
44609 }
44610 _ACEOF
44611 rm -f conftest.$ac_objext conftest$ac_exeext
44612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44613   (eval $ac_link) 2>conftest.er1
44614   ac_status=$?
44615   grep -v '^ *+' conftest.er1 >conftest.err
44616   rm -f conftest.er1
44617   cat conftest.err >&5
44618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619   (exit $ac_status); } &&
44620          { ac_try='test -z "$ac_c_werror_flag"
44621                          || test ! -s conftest.err'
44622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44623   (eval $ac_try) 2>&5
44624   ac_status=$?
44625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626   (exit $ac_status); }; } &&
44627          { ac_try='test -s conftest$ac_exeext'
44628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44629   (eval $ac_try) 2>&5
44630   ac_status=$?
44631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632   (exit $ac_status); }; }; then
44633   eval "$as_ac_var=yes"
44634 else
44635   echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.$ac_ext >&5
44637
44638 eval "$as_ac_var=no"
44639 fi
44640 rm -f conftest.err conftest.$ac_objext \
44641       conftest$ac_exeext conftest.$ac_ext
44642 fi
44643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44645 if test `eval echo '${'$as_ac_var'}'` = yes; then
44646   cat >>confdefs.h <<_ACEOF
44647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44648 _ACEOF
44649
44650 fi
44651 done
44652
44653   else
44654
44655   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
44656 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
44657   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44658     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
44659   echo $ECHO_N "(cached) $ECHO_C" >&6
44660 else
44661
44662
44663
44664       ac_ext=cc
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44669
44670       cat >conftest.$ac_ext <<_ACEOF
44671 /* confdefs.h.  */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h.  */
44676 #include <math.h>
44677                       #ifdef HAVE_IEEEFP_H
44678                       #include <ieeefp.h>
44679                       #endif
44680
44681 int
44682 main ()
44683 {
44684  _isinf(0);
44685   ;
44686   return 0;
44687 }
44688 _ACEOF
44689 rm -f conftest.$ac_objext
44690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44691   (eval $ac_compile) 2>conftest.er1
44692   ac_status=$?
44693   grep -v '^ *+' conftest.er1 >conftest.err
44694   rm -f conftest.er1
44695   cat conftest.err >&5
44696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697   (exit $ac_status); } &&
44698          { ac_try='test -z "$ac_cxx_werror_flag"
44699                          || test ! -s conftest.err'
44700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701   (eval $ac_try) 2>&5
44702   ac_status=$?
44703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704   (exit $ac_status); }; } &&
44705          { ac_try='test -s conftest.$ac_objext'
44706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707   (eval $ac_try) 2>&5
44708   ac_status=$?
44709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710   (exit $ac_status); }; }; then
44711   glibcxx_cv_func__isinf_use=yes
44712 else
44713   echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716 glibcxx_cv_func__isinf_use=no
44717 fi
44718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44719       ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44724
44725
44726 fi
44727
44728   fi
44729   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
44730 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
44731
44732     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44733
44734 for ac_func in _isinf
44735 do
44736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44737 echo "$as_me:$LINENO: checking for $ac_func" >&5
44738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44739 if eval "test \"\${$as_ac_var+set}\" = set"; then
44740   echo $ECHO_N "(cached) $ECHO_C" >&6
44741 else
44742   if test x$gcc_no_link = xyes; then
44743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44745    { (exit 1); exit 1; }; }
44746 fi
44747 cat >conftest.$ac_ext <<_ACEOF
44748 /* confdefs.h.  */
44749 _ACEOF
44750 cat confdefs.h >>conftest.$ac_ext
44751 cat >>conftest.$ac_ext <<_ACEOF
44752 /* end confdefs.h.  */
44753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44755 #define $ac_func innocuous_$ac_func
44756
44757 /* System header to define __stub macros and hopefully few prototypes,
44758     which can conflict with char $ac_func (); below.
44759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44760     <limits.h> exists even on freestanding compilers.  */
44761
44762 #ifdef __STDC__
44763 # include <limits.h>
44764 #else
44765 # include <assert.h>
44766 #endif
44767
44768 #undef $ac_func
44769
44770 /* Override any gcc2 internal prototype to avoid an error.  */
44771 #ifdef __cplusplus
44772 extern "C"
44773 {
44774 #endif
44775 /* We use char because int might match the return type of a gcc2
44776    builtin and then its argument prototype would still apply.  */
44777 char $ac_func ();
44778 /* The GNU C library defines this for functions which it implements
44779     to always fail with ENOSYS.  Some functions are actually named
44780     something starting with __ and the normal name is an alias.  */
44781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44782 choke me
44783 #else
44784 char (*f) () = $ac_func;
44785 #endif
44786 #ifdef __cplusplus
44787 }
44788 #endif
44789
44790 int
44791 main ()
44792 {
44793 return f != $ac_func;
44794   ;
44795   return 0;
44796 }
44797 _ACEOF
44798 rm -f conftest.$ac_objext conftest$ac_exeext
44799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44800   (eval $ac_link) 2>conftest.er1
44801   ac_status=$?
44802   grep -v '^ *+' conftest.er1 >conftest.err
44803   rm -f conftest.er1
44804   cat conftest.err >&5
44805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806   (exit $ac_status); } &&
44807          { ac_try='test -z "$ac_c_werror_flag"
44808                          || test ! -s conftest.err'
44809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44810   (eval $ac_try) 2>&5
44811   ac_status=$?
44812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813   (exit $ac_status); }; } &&
44814          { ac_try='test -s conftest$ac_exeext'
44815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44816   (eval $ac_try) 2>&5
44817   ac_status=$?
44818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819   (exit $ac_status); }; }; then
44820   eval "$as_ac_var=yes"
44821 else
44822   echo "$as_me: failed program was:" >&5
44823 sed 's/^/| /' conftest.$ac_ext >&5
44824
44825 eval "$as_ac_var=no"
44826 fi
44827 rm -f conftest.err conftest.$ac_objext \
44828       conftest$ac_exeext conftest.$ac_ext
44829 fi
44830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44832 if test `eval echo '${'$as_ac_var'}'` = yes; then
44833   cat >>confdefs.h <<_ACEOF
44834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44835 _ACEOF
44836
44837 fi
44838 done
44839
44840     fi
44841   fi
44842
44843
44844
44845
44846
44847
44848   echo "$as_me:$LINENO: checking for isnan declaration" >&5
44849 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
44850   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44851     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
44852   echo $ECHO_N "(cached) $ECHO_C" >&6
44853 else
44854
44855
44856
44857       ac_ext=cc
44858 ac_cpp='$CXXCPP $CPPFLAGS'
44859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44862
44863       cat >conftest.$ac_ext <<_ACEOF
44864 /* confdefs.h.  */
44865 _ACEOF
44866 cat confdefs.h >>conftest.$ac_ext
44867 cat >>conftest.$ac_ext <<_ACEOF
44868 /* end confdefs.h.  */
44869 #include <math.h>
44870                       #ifdef HAVE_IEEEFP_H
44871                       #include <ieeefp.h>
44872                       #endif
44873
44874 int
44875 main ()
44876 {
44877  isnan(0);
44878   ;
44879   return 0;
44880 }
44881 _ACEOF
44882 rm -f conftest.$ac_objext
44883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44884   (eval $ac_compile) 2>conftest.er1
44885   ac_status=$?
44886   grep -v '^ *+' conftest.er1 >conftest.err
44887   rm -f conftest.er1
44888   cat conftest.err >&5
44889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890   (exit $ac_status); } &&
44891          { ac_try='test -z "$ac_cxx_werror_flag"
44892                          || test ! -s conftest.err'
44893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44894   (eval $ac_try) 2>&5
44895   ac_status=$?
44896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897   (exit $ac_status); }; } &&
44898          { ac_try='test -s conftest.$ac_objext'
44899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44900   (eval $ac_try) 2>&5
44901   ac_status=$?
44902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903   (exit $ac_status); }; }; then
44904   glibcxx_cv_func_isnan_use=yes
44905 else
44906   echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.$ac_ext >&5
44908
44909 glibcxx_cv_func_isnan_use=no
44910 fi
44911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44912       ac_ext=c
44913 ac_cpp='$CPP $CPPFLAGS'
44914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44917
44918
44919 fi
44920
44921   fi
44922   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44923 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44924
44925   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44926
44927 for ac_func in isnan
44928 do
44929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44930 echo "$as_me:$LINENO: checking for $ac_func" >&5
44931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44932 if eval "test \"\${$as_ac_var+set}\" = set"; then
44933   echo $ECHO_N "(cached) $ECHO_C" >&6
44934 else
44935   if test x$gcc_no_link = xyes; then
44936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44938    { (exit 1); exit 1; }; }
44939 fi
44940 cat >conftest.$ac_ext <<_ACEOF
44941 /* confdefs.h.  */
44942 _ACEOF
44943 cat confdefs.h >>conftest.$ac_ext
44944 cat >>conftest.$ac_ext <<_ACEOF
44945 /* end confdefs.h.  */
44946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44948 #define $ac_func innocuous_$ac_func
44949
44950 /* System header to define __stub macros and hopefully few prototypes,
44951     which can conflict with char $ac_func (); below.
44952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44953     <limits.h> exists even on freestanding compilers.  */
44954
44955 #ifdef __STDC__
44956 # include <limits.h>
44957 #else
44958 # include <assert.h>
44959 #endif
44960
44961 #undef $ac_func
44962
44963 /* Override any gcc2 internal prototype to avoid an error.  */
44964 #ifdef __cplusplus
44965 extern "C"
44966 {
44967 #endif
44968 /* We use char because int might match the return type of a gcc2
44969    builtin and then its argument prototype would still apply.  */
44970 char $ac_func ();
44971 /* The GNU C library defines this for functions which it implements
44972     to always fail with ENOSYS.  Some functions are actually named
44973     something starting with __ and the normal name is an alias.  */
44974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44975 choke me
44976 #else
44977 char (*f) () = $ac_func;
44978 #endif
44979 #ifdef __cplusplus
44980 }
44981 #endif
44982
44983 int
44984 main ()
44985 {
44986 return f != $ac_func;
44987   ;
44988   return 0;
44989 }
44990 _ACEOF
44991 rm -f conftest.$ac_objext conftest$ac_exeext
44992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44993   (eval $ac_link) 2>conftest.er1
44994   ac_status=$?
44995   grep -v '^ *+' conftest.er1 >conftest.err
44996   rm -f conftest.er1
44997   cat conftest.err >&5
44998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999   (exit $ac_status); } &&
45000          { ac_try='test -z "$ac_c_werror_flag"
45001                          || test ! -s conftest.err'
45002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45003   (eval $ac_try) 2>&5
45004   ac_status=$?
45005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006   (exit $ac_status); }; } &&
45007          { ac_try='test -s conftest$ac_exeext'
45008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45009   (eval $ac_try) 2>&5
45010   ac_status=$?
45011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012   (exit $ac_status); }; }; then
45013   eval "$as_ac_var=yes"
45014 else
45015   echo "$as_me: failed program was:" >&5
45016 sed 's/^/| /' conftest.$ac_ext >&5
45017
45018 eval "$as_ac_var=no"
45019 fi
45020 rm -f conftest.err conftest.$ac_objext \
45021       conftest$ac_exeext conftest.$ac_ext
45022 fi
45023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45025 if test `eval echo '${'$as_ac_var'}'` = yes; then
45026   cat >>confdefs.h <<_ACEOF
45027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45028 _ACEOF
45029
45030 fi
45031 done
45032
45033   else
45034
45035   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
45036 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
45037   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45038     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
45039   echo $ECHO_N "(cached) $ECHO_C" >&6
45040 else
45041
45042
45043
45044       ac_ext=cc
45045 ac_cpp='$CXXCPP $CPPFLAGS'
45046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45049
45050       cat >conftest.$ac_ext <<_ACEOF
45051 /* confdefs.h.  */
45052 _ACEOF
45053 cat confdefs.h >>conftest.$ac_ext
45054 cat >>conftest.$ac_ext <<_ACEOF
45055 /* end confdefs.h.  */
45056 #include <math.h>
45057                       #ifdef HAVE_IEEEFP_H
45058                       #include <ieeefp.h>
45059                       #endif
45060
45061 int
45062 main ()
45063 {
45064  _isnan(0);
45065   ;
45066   return 0;
45067 }
45068 _ACEOF
45069 rm -f conftest.$ac_objext
45070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45071   (eval $ac_compile) 2>conftest.er1
45072   ac_status=$?
45073   grep -v '^ *+' conftest.er1 >conftest.err
45074   rm -f conftest.er1
45075   cat conftest.err >&5
45076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45077   (exit $ac_status); } &&
45078          { ac_try='test -z "$ac_cxx_werror_flag"
45079                          || test ! -s conftest.err'
45080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45081   (eval $ac_try) 2>&5
45082   ac_status=$?
45083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084   (exit $ac_status); }; } &&
45085          { ac_try='test -s conftest.$ac_objext'
45086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45087   (eval $ac_try) 2>&5
45088   ac_status=$?
45089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090   (exit $ac_status); }; }; then
45091   glibcxx_cv_func__isnan_use=yes
45092 else
45093   echo "$as_me: failed program was:" >&5
45094 sed 's/^/| /' conftest.$ac_ext >&5
45095
45096 glibcxx_cv_func__isnan_use=no
45097 fi
45098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45099       ac_ext=c
45100 ac_cpp='$CPP $CPPFLAGS'
45101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45104
45105
45106 fi
45107
45108   fi
45109   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
45110 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
45111
45112     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45113
45114 for ac_func in _isnan
45115 do
45116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45117 echo "$as_me:$LINENO: checking for $ac_func" >&5
45118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45119 if eval "test \"\${$as_ac_var+set}\" = set"; then
45120   echo $ECHO_N "(cached) $ECHO_C" >&6
45121 else
45122   if test x$gcc_no_link = xyes; then
45123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45125    { (exit 1); exit 1; }; }
45126 fi
45127 cat >conftest.$ac_ext <<_ACEOF
45128 /* confdefs.h.  */
45129 _ACEOF
45130 cat confdefs.h >>conftest.$ac_ext
45131 cat >>conftest.$ac_ext <<_ACEOF
45132 /* end confdefs.h.  */
45133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45135 #define $ac_func innocuous_$ac_func
45136
45137 /* System header to define __stub macros and hopefully few prototypes,
45138     which can conflict with char $ac_func (); below.
45139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45140     <limits.h> exists even on freestanding compilers.  */
45141
45142 #ifdef __STDC__
45143 # include <limits.h>
45144 #else
45145 # include <assert.h>
45146 #endif
45147
45148 #undef $ac_func
45149
45150 /* Override any gcc2 internal prototype to avoid an error.  */
45151 #ifdef __cplusplus
45152 extern "C"
45153 {
45154 #endif
45155 /* We use char because int might match the return type of a gcc2
45156    builtin and then its argument prototype would still apply.  */
45157 char $ac_func ();
45158 /* The GNU C library defines this for functions which it implements
45159     to always fail with ENOSYS.  Some functions are actually named
45160     something starting with __ and the normal name is an alias.  */
45161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45162 choke me
45163 #else
45164 char (*f) () = $ac_func;
45165 #endif
45166 #ifdef __cplusplus
45167 }
45168 #endif
45169
45170 int
45171 main ()
45172 {
45173 return f != $ac_func;
45174   ;
45175   return 0;
45176 }
45177 _ACEOF
45178 rm -f conftest.$ac_objext conftest$ac_exeext
45179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45180   (eval $ac_link) 2>conftest.er1
45181   ac_status=$?
45182   grep -v '^ *+' conftest.er1 >conftest.err
45183   rm -f conftest.er1
45184   cat conftest.err >&5
45185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45186   (exit $ac_status); } &&
45187          { ac_try='test -z "$ac_c_werror_flag"
45188                          || test ! -s conftest.err'
45189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45190   (eval $ac_try) 2>&5
45191   ac_status=$?
45192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45193   (exit $ac_status); }; } &&
45194          { ac_try='test -s conftest$ac_exeext'
45195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45196   (eval $ac_try) 2>&5
45197   ac_status=$?
45198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45199   (exit $ac_status); }; }; then
45200   eval "$as_ac_var=yes"
45201 else
45202   echo "$as_me: failed program was:" >&5
45203 sed 's/^/| /' conftest.$ac_ext >&5
45204
45205 eval "$as_ac_var=no"
45206 fi
45207 rm -f conftest.err conftest.$ac_objext \
45208       conftest$ac_exeext conftest.$ac_ext
45209 fi
45210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45212 if test `eval echo '${'$as_ac_var'}'` = yes; then
45213   cat >>confdefs.h <<_ACEOF
45214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45215 _ACEOF
45216
45217 fi
45218 done
45219
45220     fi
45221   fi
45222
45223
45224
45225
45226
45227
45228   echo "$as_me:$LINENO: checking for finite declaration" >&5
45229 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
45230   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45231     if test "${glibcxx_cv_func_finite_use+set}" = set; then
45232   echo $ECHO_N "(cached) $ECHO_C" >&6
45233 else
45234
45235
45236
45237       ac_ext=cc
45238 ac_cpp='$CXXCPP $CPPFLAGS'
45239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45242
45243       cat >conftest.$ac_ext <<_ACEOF
45244 /* confdefs.h.  */
45245 _ACEOF
45246 cat confdefs.h >>conftest.$ac_ext
45247 cat >>conftest.$ac_ext <<_ACEOF
45248 /* end confdefs.h.  */
45249 #include <math.h>
45250                       #ifdef HAVE_IEEEFP_H
45251                       #include <ieeefp.h>
45252                       #endif
45253
45254 int
45255 main ()
45256 {
45257  finite(0);
45258   ;
45259   return 0;
45260 }
45261 _ACEOF
45262 rm -f conftest.$ac_objext
45263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45264   (eval $ac_compile) 2>conftest.er1
45265   ac_status=$?
45266   grep -v '^ *+' conftest.er1 >conftest.err
45267   rm -f conftest.er1
45268   cat conftest.err >&5
45269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270   (exit $ac_status); } &&
45271          { ac_try='test -z "$ac_cxx_werror_flag"
45272                          || test ! -s conftest.err'
45273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45274   (eval $ac_try) 2>&5
45275   ac_status=$?
45276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45277   (exit $ac_status); }; } &&
45278          { ac_try='test -s conftest.$ac_objext'
45279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45280   (eval $ac_try) 2>&5
45281   ac_status=$?
45282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283   (exit $ac_status); }; }; then
45284   glibcxx_cv_func_finite_use=yes
45285 else
45286   echo "$as_me: failed program was:" >&5
45287 sed 's/^/| /' conftest.$ac_ext >&5
45288
45289 glibcxx_cv_func_finite_use=no
45290 fi
45291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45292       ac_ext=c
45293 ac_cpp='$CPP $CPPFLAGS'
45294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297
45298
45299 fi
45300
45301   fi
45302   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
45303 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
45304
45305   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45306
45307 for ac_func in finite
45308 do
45309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45310 echo "$as_me:$LINENO: checking for $ac_func" >&5
45311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45312 if eval "test \"\${$as_ac_var+set}\" = set"; then
45313   echo $ECHO_N "(cached) $ECHO_C" >&6
45314 else
45315   if test x$gcc_no_link = xyes; then
45316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45318    { (exit 1); exit 1; }; }
45319 fi
45320 cat >conftest.$ac_ext <<_ACEOF
45321 /* confdefs.h.  */
45322 _ACEOF
45323 cat confdefs.h >>conftest.$ac_ext
45324 cat >>conftest.$ac_ext <<_ACEOF
45325 /* end confdefs.h.  */
45326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45328 #define $ac_func innocuous_$ac_func
45329
45330 /* System header to define __stub macros and hopefully few prototypes,
45331     which can conflict with char $ac_func (); below.
45332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45333     <limits.h> exists even on freestanding compilers.  */
45334
45335 #ifdef __STDC__
45336 # include <limits.h>
45337 #else
45338 # include <assert.h>
45339 #endif
45340
45341 #undef $ac_func
45342
45343 /* Override any gcc2 internal prototype to avoid an error.  */
45344 #ifdef __cplusplus
45345 extern "C"
45346 {
45347 #endif
45348 /* We use char because int might match the return type of a gcc2
45349    builtin and then its argument prototype would still apply.  */
45350 char $ac_func ();
45351 /* The GNU C library defines this for functions which it implements
45352     to always fail with ENOSYS.  Some functions are actually named
45353     something starting with __ and the normal name is an alias.  */
45354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45355 choke me
45356 #else
45357 char (*f) () = $ac_func;
45358 #endif
45359 #ifdef __cplusplus
45360 }
45361 #endif
45362
45363 int
45364 main ()
45365 {
45366 return f != $ac_func;
45367   ;
45368   return 0;
45369 }
45370 _ACEOF
45371 rm -f conftest.$ac_objext conftest$ac_exeext
45372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45373   (eval $ac_link) 2>conftest.er1
45374   ac_status=$?
45375   grep -v '^ *+' conftest.er1 >conftest.err
45376   rm -f conftest.er1
45377   cat conftest.err >&5
45378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45379   (exit $ac_status); } &&
45380          { ac_try='test -z "$ac_c_werror_flag"
45381                          || test ! -s conftest.err'
45382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45383   (eval $ac_try) 2>&5
45384   ac_status=$?
45385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45386   (exit $ac_status); }; } &&
45387          { ac_try='test -s conftest$ac_exeext'
45388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45389   (eval $ac_try) 2>&5
45390   ac_status=$?
45391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392   (exit $ac_status); }; }; then
45393   eval "$as_ac_var=yes"
45394 else
45395   echo "$as_me: failed program was:" >&5
45396 sed 's/^/| /' conftest.$ac_ext >&5
45397
45398 eval "$as_ac_var=no"
45399 fi
45400 rm -f conftest.err conftest.$ac_objext \
45401       conftest$ac_exeext conftest.$ac_ext
45402 fi
45403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45405 if test `eval echo '${'$as_ac_var'}'` = yes; then
45406   cat >>confdefs.h <<_ACEOF
45407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45408 _ACEOF
45409
45410 fi
45411 done
45412
45413   else
45414
45415   echo "$as_me:$LINENO: checking for _finite declaration" >&5
45416 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
45417   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45418     if test "${glibcxx_cv_func__finite_use+set}" = set; then
45419   echo $ECHO_N "(cached) $ECHO_C" >&6
45420 else
45421
45422
45423
45424       ac_ext=cc
45425 ac_cpp='$CXXCPP $CPPFLAGS'
45426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45429
45430       cat >conftest.$ac_ext <<_ACEOF
45431 /* confdefs.h.  */
45432 _ACEOF
45433 cat confdefs.h >>conftest.$ac_ext
45434 cat >>conftest.$ac_ext <<_ACEOF
45435 /* end confdefs.h.  */
45436 #include <math.h>
45437                       #ifdef HAVE_IEEEFP_H
45438                       #include <ieeefp.h>
45439                       #endif
45440
45441 int
45442 main ()
45443 {
45444  _finite(0);
45445   ;
45446   return 0;
45447 }
45448 _ACEOF
45449 rm -f conftest.$ac_objext
45450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45451   (eval $ac_compile) 2>conftest.er1
45452   ac_status=$?
45453   grep -v '^ *+' conftest.er1 >conftest.err
45454   rm -f conftest.er1
45455   cat conftest.err >&5
45456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45457   (exit $ac_status); } &&
45458          { ac_try='test -z "$ac_cxx_werror_flag"
45459                          || test ! -s conftest.err'
45460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461   (eval $ac_try) 2>&5
45462   ac_status=$?
45463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464   (exit $ac_status); }; } &&
45465          { ac_try='test -s conftest.$ac_objext'
45466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45467   (eval $ac_try) 2>&5
45468   ac_status=$?
45469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470   (exit $ac_status); }; }; then
45471   glibcxx_cv_func__finite_use=yes
45472 else
45473   echo "$as_me: failed program was:" >&5
45474 sed 's/^/| /' conftest.$ac_ext >&5
45475
45476 glibcxx_cv_func__finite_use=no
45477 fi
45478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45479       ac_ext=c
45480 ac_cpp='$CPP $CPPFLAGS'
45481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45484
45485
45486 fi
45487
45488   fi
45489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
45490 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
45491
45492     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45493
45494 for ac_func in _finite
45495 do
45496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45497 echo "$as_me:$LINENO: checking for $ac_func" >&5
45498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45499 if eval "test \"\${$as_ac_var+set}\" = set"; then
45500   echo $ECHO_N "(cached) $ECHO_C" >&6
45501 else
45502   if test x$gcc_no_link = xyes; then
45503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45505    { (exit 1); exit 1; }; }
45506 fi
45507 cat >conftest.$ac_ext <<_ACEOF
45508 /* confdefs.h.  */
45509 _ACEOF
45510 cat confdefs.h >>conftest.$ac_ext
45511 cat >>conftest.$ac_ext <<_ACEOF
45512 /* end confdefs.h.  */
45513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45515 #define $ac_func innocuous_$ac_func
45516
45517 /* System header to define __stub macros and hopefully few prototypes,
45518     which can conflict with char $ac_func (); below.
45519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45520     <limits.h> exists even on freestanding compilers.  */
45521
45522 #ifdef __STDC__
45523 # include <limits.h>
45524 #else
45525 # include <assert.h>
45526 #endif
45527
45528 #undef $ac_func
45529
45530 /* Override any gcc2 internal prototype to avoid an error.  */
45531 #ifdef __cplusplus
45532 extern "C"
45533 {
45534 #endif
45535 /* We use char because int might match the return type of a gcc2
45536    builtin and then its argument prototype would still apply.  */
45537 char $ac_func ();
45538 /* The GNU C library defines this for functions which it implements
45539     to always fail with ENOSYS.  Some functions are actually named
45540     something starting with __ and the normal name is an alias.  */
45541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45542 choke me
45543 #else
45544 char (*f) () = $ac_func;
45545 #endif
45546 #ifdef __cplusplus
45547 }
45548 #endif
45549
45550 int
45551 main ()
45552 {
45553 return f != $ac_func;
45554   ;
45555   return 0;
45556 }
45557 _ACEOF
45558 rm -f conftest.$ac_objext conftest$ac_exeext
45559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45560   (eval $ac_link) 2>conftest.er1
45561   ac_status=$?
45562   grep -v '^ *+' conftest.er1 >conftest.err
45563   rm -f conftest.er1
45564   cat conftest.err >&5
45565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45566   (exit $ac_status); } &&
45567          { ac_try='test -z "$ac_c_werror_flag"
45568                          || test ! -s conftest.err'
45569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45570   (eval $ac_try) 2>&5
45571   ac_status=$?
45572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45573   (exit $ac_status); }; } &&
45574          { ac_try='test -s conftest$ac_exeext'
45575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45576   (eval $ac_try) 2>&5
45577   ac_status=$?
45578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579   (exit $ac_status); }; }; then
45580   eval "$as_ac_var=yes"
45581 else
45582   echo "$as_me: failed program was:" >&5
45583 sed 's/^/| /' conftest.$ac_ext >&5
45584
45585 eval "$as_ac_var=no"
45586 fi
45587 rm -f conftest.err conftest.$ac_objext \
45588       conftest$ac_exeext conftest.$ac_ext
45589 fi
45590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45592 if test `eval echo '${'$as_ac_var'}'` = yes; then
45593   cat >>confdefs.h <<_ACEOF
45594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45595 _ACEOF
45596
45597 fi
45598 done
45599
45600     fi
45601   fi
45602
45603
45604
45605
45606
45607
45608   echo "$as_me:$LINENO: checking for copysign declaration" >&5
45609 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
45610   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
45611     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
45612   echo $ECHO_N "(cached) $ECHO_C" >&6
45613 else
45614
45615
45616
45617       ac_ext=cc
45618 ac_cpp='$CXXCPP $CPPFLAGS'
45619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45622
45623       cat >conftest.$ac_ext <<_ACEOF
45624 /* confdefs.h.  */
45625 _ACEOF
45626 cat confdefs.h >>conftest.$ac_ext
45627 cat >>conftest.$ac_ext <<_ACEOF
45628 /* end confdefs.h.  */
45629 #include <math.h>
45630 int
45631 main ()
45632 {
45633  copysign(0, 0);
45634   ;
45635   return 0;
45636 }
45637 _ACEOF
45638 rm -f conftest.$ac_objext
45639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45640   (eval $ac_compile) 2>conftest.er1
45641   ac_status=$?
45642   grep -v '^ *+' conftest.er1 >conftest.err
45643   rm -f conftest.er1
45644   cat conftest.err >&5
45645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646   (exit $ac_status); } &&
45647          { ac_try='test -z "$ac_cxx_werror_flag"
45648                          || test ! -s conftest.err'
45649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45650   (eval $ac_try) 2>&5
45651   ac_status=$?
45652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45653   (exit $ac_status); }; } &&
45654          { ac_try='test -s conftest.$ac_objext'
45655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45656   (eval $ac_try) 2>&5
45657   ac_status=$?
45658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45659   (exit $ac_status); }; }; then
45660   glibcxx_cv_func_copysign_use=yes
45661 else
45662   echo "$as_me: failed program was:" >&5
45663 sed 's/^/| /' conftest.$ac_ext >&5
45664
45665 glibcxx_cv_func_copysign_use=no
45666 fi
45667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45668       ac_ext=c
45669 ac_cpp='$CPP $CPPFLAGS'
45670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45673
45674
45675 fi
45676
45677   fi
45678   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
45679 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
45680
45681   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
45682
45683 for ac_func in copysign
45684 do
45685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45686 echo "$as_me:$LINENO: checking for $ac_func" >&5
45687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45688 if eval "test \"\${$as_ac_var+set}\" = set"; then
45689   echo $ECHO_N "(cached) $ECHO_C" >&6
45690 else
45691   if test x$gcc_no_link = xyes; then
45692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45694    { (exit 1); exit 1; }; }
45695 fi
45696 cat >conftest.$ac_ext <<_ACEOF
45697 /* confdefs.h.  */
45698 _ACEOF
45699 cat confdefs.h >>conftest.$ac_ext
45700 cat >>conftest.$ac_ext <<_ACEOF
45701 /* end confdefs.h.  */
45702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45704 #define $ac_func innocuous_$ac_func
45705
45706 /* System header to define __stub macros and hopefully few prototypes,
45707     which can conflict with char $ac_func (); below.
45708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45709     <limits.h> exists even on freestanding compilers.  */
45710
45711 #ifdef __STDC__
45712 # include <limits.h>
45713 #else
45714 # include <assert.h>
45715 #endif
45716
45717 #undef $ac_func
45718
45719 /* Override any gcc2 internal prototype to avoid an error.  */
45720 #ifdef __cplusplus
45721 extern "C"
45722 {
45723 #endif
45724 /* We use char because int might match the return type of a gcc2
45725    builtin and then its argument prototype would still apply.  */
45726 char $ac_func ();
45727 /* The GNU C library defines this for functions which it implements
45728     to always fail with ENOSYS.  Some functions are actually named
45729     something starting with __ and the normal name is an alias.  */
45730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45731 choke me
45732 #else
45733 char (*f) () = $ac_func;
45734 #endif
45735 #ifdef __cplusplus
45736 }
45737 #endif
45738
45739 int
45740 main ()
45741 {
45742 return f != $ac_func;
45743   ;
45744   return 0;
45745 }
45746 _ACEOF
45747 rm -f conftest.$ac_objext conftest$ac_exeext
45748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45749   (eval $ac_link) 2>conftest.er1
45750   ac_status=$?
45751   grep -v '^ *+' conftest.er1 >conftest.err
45752   rm -f conftest.er1
45753   cat conftest.err >&5
45754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45755   (exit $ac_status); } &&
45756          { ac_try='test -z "$ac_c_werror_flag"
45757                          || test ! -s conftest.err'
45758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45759   (eval $ac_try) 2>&5
45760   ac_status=$?
45761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45762   (exit $ac_status); }; } &&
45763          { ac_try='test -s conftest$ac_exeext'
45764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45765   (eval $ac_try) 2>&5
45766   ac_status=$?
45767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768   (exit $ac_status); }; }; then
45769   eval "$as_ac_var=yes"
45770 else
45771   echo "$as_me: failed program was:" >&5
45772 sed 's/^/| /' conftest.$ac_ext >&5
45773
45774 eval "$as_ac_var=no"
45775 fi
45776 rm -f conftest.err conftest.$ac_objext \
45777       conftest$ac_exeext conftest.$ac_ext
45778 fi
45779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45781 if test `eval echo '${'$as_ac_var'}'` = yes; then
45782   cat >>confdefs.h <<_ACEOF
45783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45784 _ACEOF
45785
45786 fi
45787 done
45788
45789   else
45790
45791   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
45792 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
45793   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
45794     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
45795   echo $ECHO_N "(cached) $ECHO_C" >&6
45796 else
45797
45798
45799
45800       ac_ext=cc
45801 ac_cpp='$CXXCPP $CPPFLAGS'
45802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45805
45806       cat >conftest.$ac_ext <<_ACEOF
45807 /* confdefs.h.  */
45808 _ACEOF
45809 cat confdefs.h >>conftest.$ac_ext
45810 cat >>conftest.$ac_ext <<_ACEOF
45811 /* end confdefs.h.  */
45812 #include <math.h>
45813 int
45814 main ()
45815 {
45816  _copysign(0, 0);
45817   ;
45818   return 0;
45819 }
45820 _ACEOF
45821 rm -f conftest.$ac_objext
45822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45823   (eval $ac_compile) 2>conftest.er1
45824   ac_status=$?
45825   grep -v '^ *+' conftest.er1 >conftest.err
45826   rm -f conftest.er1
45827   cat conftest.err >&5
45828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829   (exit $ac_status); } &&
45830          { ac_try='test -z "$ac_cxx_werror_flag"
45831                          || test ! -s conftest.err'
45832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45833   (eval $ac_try) 2>&5
45834   ac_status=$?
45835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836   (exit $ac_status); }; } &&
45837          { ac_try='test -s conftest.$ac_objext'
45838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45839   (eval $ac_try) 2>&5
45840   ac_status=$?
45841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842   (exit $ac_status); }; }; then
45843   glibcxx_cv_func__copysign_use=yes
45844 else
45845   echo "$as_me: failed program was:" >&5
45846 sed 's/^/| /' conftest.$ac_ext >&5
45847
45848 glibcxx_cv_func__copysign_use=no
45849 fi
45850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45851       ac_ext=c
45852 ac_cpp='$CPP $CPPFLAGS'
45853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45856
45857
45858 fi
45859
45860   fi
45861   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
45862 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
45863
45864     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
45865
45866 for ac_func in _copysign
45867 do
45868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45869 echo "$as_me:$LINENO: checking for $ac_func" >&5
45870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45871 if eval "test \"\${$as_ac_var+set}\" = set"; then
45872   echo $ECHO_N "(cached) $ECHO_C" >&6
45873 else
45874   if test x$gcc_no_link = xyes; then
45875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45877    { (exit 1); exit 1; }; }
45878 fi
45879 cat >conftest.$ac_ext <<_ACEOF
45880 /* confdefs.h.  */
45881 _ACEOF
45882 cat confdefs.h >>conftest.$ac_ext
45883 cat >>conftest.$ac_ext <<_ACEOF
45884 /* end confdefs.h.  */
45885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45887 #define $ac_func innocuous_$ac_func
45888
45889 /* System header to define __stub macros and hopefully few prototypes,
45890     which can conflict with char $ac_func (); below.
45891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45892     <limits.h> exists even on freestanding compilers.  */
45893
45894 #ifdef __STDC__
45895 # include <limits.h>
45896 #else
45897 # include <assert.h>
45898 #endif
45899
45900 #undef $ac_func
45901
45902 /* Override any gcc2 internal prototype to avoid an error.  */
45903 #ifdef __cplusplus
45904 extern "C"
45905 {
45906 #endif
45907 /* We use char because int might match the return type of a gcc2
45908    builtin and then its argument prototype would still apply.  */
45909 char $ac_func ();
45910 /* The GNU C library defines this for functions which it implements
45911     to always fail with ENOSYS.  Some functions are actually named
45912     something starting with __ and the normal name is an alias.  */
45913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45914 choke me
45915 #else
45916 char (*f) () = $ac_func;
45917 #endif
45918 #ifdef __cplusplus
45919 }
45920 #endif
45921
45922 int
45923 main ()
45924 {
45925 return f != $ac_func;
45926   ;
45927   return 0;
45928 }
45929 _ACEOF
45930 rm -f conftest.$ac_objext conftest$ac_exeext
45931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45932   (eval $ac_link) 2>conftest.er1
45933   ac_status=$?
45934   grep -v '^ *+' conftest.er1 >conftest.err
45935   rm -f conftest.er1
45936   cat conftest.err >&5
45937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45938   (exit $ac_status); } &&
45939          { ac_try='test -z "$ac_c_werror_flag"
45940                          || test ! -s conftest.err'
45941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45942   (eval $ac_try) 2>&5
45943   ac_status=$?
45944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45945   (exit $ac_status); }; } &&
45946          { ac_try='test -s conftest$ac_exeext'
45947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45948   (eval $ac_try) 2>&5
45949   ac_status=$?
45950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45951   (exit $ac_status); }; }; then
45952   eval "$as_ac_var=yes"
45953 else
45954   echo "$as_me: failed program was:" >&5
45955 sed 's/^/| /' conftest.$ac_ext >&5
45956
45957 eval "$as_ac_var=no"
45958 fi
45959 rm -f conftest.err conftest.$ac_objext \
45960       conftest$ac_exeext conftest.$ac_ext
45961 fi
45962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45964 if test `eval echo '${'$as_ac_var'}'` = yes; then
45965   cat >>confdefs.h <<_ACEOF
45966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45967 _ACEOF
45968
45969 fi
45970 done
45971
45972     fi
45973   fi
45974
45975
45976
45977
45978
45979
45980   echo "$as_me:$LINENO: checking for sincos declaration" >&5
45981 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45982   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45983     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45984   echo $ECHO_N "(cached) $ECHO_C" >&6
45985 else
45986
45987
45988
45989       ac_ext=cc
45990 ac_cpp='$CXXCPP $CPPFLAGS'
45991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45994
45995       cat >conftest.$ac_ext <<_ACEOF
45996 /* confdefs.h.  */
45997 _ACEOF
45998 cat confdefs.h >>conftest.$ac_ext
45999 cat >>conftest.$ac_ext <<_ACEOF
46000 /* end confdefs.h.  */
46001 #include <math.h>
46002 int
46003 main ()
46004 {
46005  sincos(0, 0, 0);
46006   ;
46007   return 0;
46008 }
46009 _ACEOF
46010 rm -f conftest.$ac_objext
46011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46012   (eval $ac_compile) 2>conftest.er1
46013   ac_status=$?
46014   grep -v '^ *+' conftest.er1 >conftest.err
46015   rm -f conftest.er1
46016   cat conftest.err >&5
46017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018   (exit $ac_status); } &&
46019          { ac_try='test -z "$ac_cxx_werror_flag"
46020                          || test ! -s conftest.err'
46021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46022   (eval $ac_try) 2>&5
46023   ac_status=$?
46024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025   (exit $ac_status); }; } &&
46026          { ac_try='test -s conftest.$ac_objext'
46027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46028   (eval $ac_try) 2>&5
46029   ac_status=$?
46030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031   (exit $ac_status); }; }; then
46032   glibcxx_cv_func_sincos_use=yes
46033 else
46034   echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.$ac_ext >&5
46036
46037 glibcxx_cv_func_sincos_use=no
46038 fi
46039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46040       ac_ext=c
46041 ac_cpp='$CPP $CPPFLAGS'
46042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46045
46046
46047 fi
46048
46049   fi
46050   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
46051 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
46052
46053   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46054
46055 for ac_func in sincos
46056 do
46057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46058 echo "$as_me:$LINENO: checking for $ac_func" >&5
46059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46060 if eval "test \"\${$as_ac_var+set}\" = set"; then
46061   echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063   if test x$gcc_no_link = xyes; then
46064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46066    { (exit 1); exit 1; }; }
46067 fi
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h.  */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h.  */
46074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46076 #define $ac_func innocuous_$ac_func
46077
46078 /* System header to define __stub macros and hopefully few prototypes,
46079     which can conflict with char $ac_func (); below.
46080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46081     <limits.h> exists even on freestanding compilers.  */
46082
46083 #ifdef __STDC__
46084 # include <limits.h>
46085 #else
46086 # include <assert.h>
46087 #endif
46088
46089 #undef $ac_func
46090
46091 /* Override any gcc2 internal prototype to avoid an error.  */
46092 #ifdef __cplusplus
46093 extern "C"
46094 {
46095 #endif
46096 /* We use char because int might match the return type of a gcc2
46097    builtin and then its argument prototype would still apply.  */
46098 char $ac_func ();
46099 /* The GNU C library defines this for functions which it implements
46100     to always fail with ENOSYS.  Some functions are actually named
46101     something starting with __ and the normal name is an alias.  */
46102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46103 choke me
46104 #else
46105 char (*f) () = $ac_func;
46106 #endif
46107 #ifdef __cplusplus
46108 }
46109 #endif
46110
46111 int
46112 main ()
46113 {
46114 return f != $ac_func;
46115   ;
46116   return 0;
46117 }
46118 _ACEOF
46119 rm -f conftest.$ac_objext conftest$ac_exeext
46120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46121   (eval $ac_link) 2>conftest.er1
46122   ac_status=$?
46123   grep -v '^ *+' conftest.er1 >conftest.err
46124   rm -f conftest.er1
46125   cat conftest.err >&5
46126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46127   (exit $ac_status); } &&
46128          { ac_try='test -z "$ac_c_werror_flag"
46129                          || test ! -s conftest.err'
46130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46131   (eval $ac_try) 2>&5
46132   ac_status=$?
46133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134   (exit $ac_status); }; } &&
46135          { ac_try='test -s conftest$ac_exeext'
46136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46137   (eval $ac_try) 2>&5
46138   ac_status=$?
46139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140   (exit $ac_status); }; }; then
46141   eval "$as_ac_var=yes"
46142 else
46143   echo "$as_me: failed program was:" >&5
46144 sed 's/^/| /' conftest.$ac_ext >&5
46145
46146 eval "$as_ac_var=no"
46147 fi
46148 rm -f conftest.err conftest.$ac_objext \
46149       conftest$ac_exeext conftest.$ac_ext
46150 fi
46151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46153 if test `eval echo '${'$as_ac_var'}'` = yes; then
46154   cat >>confdefs.h <<_ACEOF
46155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46156 _ACEOF
46157
46158 fi
46159 done
46160
46161   else
46162
46163   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
46164 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
46165   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46166     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
46167   echo $ECHO_N "(cached) $ECHO_C" >&6
46168 else
46169
46170
46171
46172       ac_ext=cc
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177
46178       cat >conftest.$ac_ext <<_ACEOF
46179 /* confdefs.h.  */
46180 _ACEOF
46181 cat confdefs.h >>conftest.$ac_ext
46182 cat >>conftest.$ac_ext <<_ACEOF
46183 /* end confdefs.h.  */
46184 #include <math.h>
46185 int
46186 main ()
46187 {
46188  _sincos(0, 0, 0);
46189   ;
46190   return 0;
46191 }
46192 _ACEOF
46193 rm -f conftest.$ac_objext
46194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46195   (eval $ac_compile) 2>conftest.er1
46196   ac_status=$?
46197   grep -v '^ *+' conftest.er1 >conftest.err
46198   rm -f conftest.er1
46199   cat conftest.err >&5
46200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46201   (exit $ac_status); } &&
46202          { ac_try='test -z "$ac_cxx_werror_flag"
46203                          || test ! -s conftest.err'
46204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46205   (eval $ac_try) 2>&5
46206   ac_status=$?
46207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46208   (exit $ac_status); }; } &&
46209          { ac_try='test -s conftest.$ac_objext'
46210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211   (eval $ac_try) 2>&5
46212   ac_status=$?
46213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214   (exit $ac_status); }; }; then
46215   glibcxx_cv_func__sincos_use=yes
46216 else
46217   echo "$as_me: failed program was:" >&5
46218 sed 's/^/| /' conftest.$ac_ext >&5
46219
46220 glibcxx_cv_func__sincos_use=no
46221 fi
46222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46223       ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46228
46229
46230 fi
46231
46232   fi
46233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
46234 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
46235
46236     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46237
46238 for ac_func in _sincos
46239 do
46240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46241 echo "$as_me:$LINENO: checking for $ac_func" >&5
46242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46243 if eval "test \"\${$as_ac_var+set}\" = set"; then
46244   echo $ECHO_N "(cached) $ECHO_C" >&6
46245 else
46246   if test x$gcc_no_link = xyes; then
46247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46249    { (exit 1); exit 1; }; }
46250 fi
46251 cat >conftest.$ac_ext <<_ACEOF
46252 /* confdefs.h.  */
46253 _ACEOF
46254 cat confdefs.h >>conftest.$ac_ext
46255 cat >>conftest.$ac_ext <<_ACEOF
46256 /* end confdefs.h.  */
46257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46259 #define $ac_func innocuous_$ac_func
46260
46261 /* System header to define __stub macros and hopefully few prototypes,
46262     which can conflict with char $ac_func (); below.
46263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46264     <limits.h> exists even on freestanding compilers.  */
46265
46266 #ifdef __STDC__
46267 # include <limits.h>
46268 #else
46269 # include <assert.h>
46270 #endif
46271
46272 #undef $ac_func
46273
46274 /* Override any gcc2 internal prototype to avoid an error.  */
46275 #ifdef __cplusplus
46276 extern "C"
46277 {
46278 #endif
46279 /* We use char because int might match the return type of a gcc2
46280    builtin and then its argument prototype would still apply.  */
46281 char $ac_func ();
46282 /* The GNU C library defines this for functions which it implements
46283     to always fail with ENOSYS.  Some functions are actually named
46284     something starting with __ and the normal name is an alias.  */
46285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46286 choke me
46287 #else
46288 char (*f) () = $ac_func;
46289 #endif
46290 #ifdef __cplusplus
46291 }
46292 #endif
46293
46294 int
46295 main ()
46296 {
46297 return f != $ac_func;
46298   ;
46299   return 0;
46300 }
46301 _ACEOF
46302 rm -f conftest.$ac_objext conftest$ac_exeext
46303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46304   (eval $ac_link) 2>conftest.er1
46305   ac_status=$?
46306   grep -v '^ *+' conftest.er1 >conftest.err
46307   rm -f conftest.er1
46308   cat conftest.err >&5
46309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46310   (exit $ac_status); } &&
46311          { ac_try='test -z "$ac_c_werror_flag"
46312                          || test ! -s conftest.err'
46313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46314   (eval $ac_try) 2>&5
46315   ac_status=$?
46316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317   (exit $ac_status); }; } &&
46318          { ac_try='test -s conftest$ac_exeext'
46319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46320   (eval $ac_try) 2>&5
46321   ac_status=$?
46322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323   (exit $ac_status); }; }; then
46324   eval "$as_ac_var=yes"
46325 else
46326   echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.$ac_ext >&5
46328
46329 eval "$as_ac_var=no"
46330 fi
46331 rm -f conftest.err conftest.$ac_objext \
46332       conftest$ac_exeext conftest.$ac_ext
46333 fi
46334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46336 if test `eval echo '${'$as_ac_var'}'` = yes; then
46337   cat >>confdefs.h <<_ACEOF
46338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46339 _ACEOF
46340
46341 fi
46342 done
46343
46344     fi
46345   fi
46346
46347
46348
46349
46350
46351
46352   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
46353 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
46354   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46355     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
46356   echo $ECHO_N "(cached) $ECHO_C" >&6
46357 else
46358
46359
46360
46361       ac_ext=cc
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46366
46367       cat >conftest.$ac_ext <<_ACEOF
46368 /* confdefs.h.  */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h.  */
46373 #include <math.h>
46374                       #ifdef HAVE_IEEEFP_H
46375                       #include <ieeefp.h>
46376                       #endif
46377
46378 int
46379 main ()
46380 {
46381  fpclass(0);
46382   ;
46383   return 0;
46384 }
46385 _ACEOF
46386 rm -f conftest.$ac_objext
46387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46388   (eval $ac_compile) 2>conftest.er1
46389   ac_status=$?
46390   grep -v '^ *+' conftest.er1 >conftest.err
46391   rm -f conftest.er1
46392   cat conftest.err >&5
46393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394   (exit $ac_status); } &&
46395          { ac_try='test -z "$ac_cxx_werror_flag"
46396                          || test ! -s conftest.err'
46397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46398   (eval $ac_try) 2>&5
46399   ac_status=$?
46400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401   (exit $ac_status); }; } &&
46402          { ac_try='test -s conftest.$ac_objext'
46403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404   (eval $ac_try) 2>&5
46405   ac_status=$?
46406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407   (exit $ac_status); }; }; then
46408   glibcxx_cv_func_fpclass_use=yes
46409 else
46410   echo "$as_me: failed program was:" >&5
46411 sed 's/^/| /' conftest.$ac_ext >&5
46412
46413 glibcxx_cv_func_fpclass_use=no
46414 fi
46415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46416       ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46421
46422
46423 fi
46424
46425   fi
46426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
46427 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
46428
46429   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46430
46431 for ac_func in fpclass
46432 do
46433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46434 echo "$as_me:$LINENO: checking for $ac_func" >&5
46435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46436 if eval "test \"\${$as_ac_var+set}\" = set"; then
46437   echo $ECHO_N "(cached) $ECHO_C" >&6
46438 else
46439   if test x$gcc_no_link = xyes; then
46440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46442    { (exit 1); exit 1; }; }
46443 fi
46444 cat >conftest.$ac_ext <<_ACEOF
46445 /* confdefs.h.  */
46446 _ACEOF
46447 cat confdefs.h >>conftest.$ac_ext
46448 cat >>conftest.$ac_ext <<_ACEOF
46449 /* end confdefs.h.  */
46450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46452 #define $ac_func innocuous_$ac_func
46453
46454 /* System header to define __stub macros and hopefully few prototypes,
46455     which can conflict with char $ac_func (); below.
46456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46457     <limits.h> exists even on freestanding compilers.  */
46458
46459 #ifdef __STDC__
46460 # include <limits.h>
46461 #else
46462 # include <assert.h>
46463 #endif
46464
46465 #undef $ac_func
46466
46467 /* Override any gcc2 internal prototype to avoid an error.  */
46468 #ifdef __cplusplus
46469 extern "C"
46470 {
46471 #endif
46472 /* We use char because int might match the return type of a gcc2
46473    builtin and then its argument prototype would still apply.  */
46474 char $ac_func ();
46475 /* The GNU C library defines this for functions which it implements
46476     to always fail with ENOSYS.  Some functions are actually named
46477     something starting with __ and the normal name is an alias.  */
46478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46479 choke me
46480 #else
46481 char (*f) () = $ac_func;
46482 #endif
46483 #ifdef __cplusplus
46484 }
46485 #endif
46486
46487 int
46488 main ()
46489 {
46490 return f != $ac_func;
46491   ;
46492   return 0;
46493 }
46494 _ACEOF
46495 rm -f conftest.$ac_objext conftest$ac_exeext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46497   (eval $ac_link) 2>conftest.er1
46498   ac_status=$?
46499   grep -v '^ *+' conftest.er1 >conftest.err
46500   rm -f conftest.er1
46501   cat conftest.err >&5
46502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503   (exit $ac_status); } &&
46504          { ac_try='test -z "$ac_c_werror_flag"
46505                          || test ! -s conftest.err'
46506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46507   (eval $ac_try) 2>&5
46508   ac_status=$?
46509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510   (exit $ac_status); }; } &&
46511          { ac_try='test -s conftest$ac_exeext'
46512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513   (eval $ac_try) 2>&5
46514   ac_status=$?
46515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516   (exit $ac_status); }; }; then
46517   eval "$as_ac_var=yes"
46518 else
46519   echo "$as_me: failed program was:" >&5
46520 sed 's/^/| /' conftest.$ac_ext >&5
46521
46522 eval "$as_ac_var=no"
46523 fi
46524 rm -f conftest.err conftest.$ac_objext \
46525       conftest$ac_exeext conftest.$ac_ext
46526 fi
46527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46529 if test `eval echo '${'$as_ac_var'}'` = yes; then
46530   cat >>confdefs.h <<_ACEOF
46531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46532 _ACEOF
46533
46534 fi
46535 done
46536
46537   else
46538
46539   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
46540 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
46541   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46542     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
46543   echo $ECHO_N "(cached) $ECHO_C" >&6
46544 else
46545
46546
46547
46548       ac_ext=cc
46549 ac_cpp='$CXXCPP $CPPFLAGS'
46550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46553
46554       cat >conftest.$ac_ext <<_ACEOF
46555 /* confdefs.h.  */
46556 _ACEOF
46557 cat confdefs.h >>conftest.$ac_ext
46558 cat >>conftest.$ac_ext <<_ACEOF
46559 /* end confdefs.h.  */
46560 #include <math.h>
46561                       #ifdef HAVE_IEEEFP_H
46562                       #include <ieeefp.h>
46563                       #endif
46564
46565 int
46566 main ()
46567 {
46568  _fpclass(0);
46569   ;
46570   return 0;
46571 }
46572 _ACEOF
46573 rm -f conftest.$ac_objext
46574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46575   (eval $ac_compile) 2>conftest.er1
46576   ac_status=$?
46577   grep -v '^ *+' conftest.er1 >conftest.err
46578   rm -f conftest.er1
46579   cat conftest.err >&5
46580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581   (exit $ac_status); } &&
46582          { ac_try='test -z "$ac_cxx_werror_flag"
46583                          || test ! -s conftest.err'
46584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46585   (eval $ac_try) 2>&5
46586   ac_status=$?
46587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46588   (exit $ac_status); }; } &&
46589          { ac_try='test -s conftest.$ac_objext'
46590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46591   (eval $ac_try) 2>&5
46592   ac_status=$?
46593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46594   (exit $ac_status); }; }; then
46595   glibcxx_cv_func__fpclass_use=yes
46596 else
46597   echo "$as_me: failed program was:" >&5
46598 sed 's/^/| /' conftest.$ac_ext >&5
46599
46600 glibcxx_cv_func__fpclass_use=no
46601 fi
46602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46603       ac_ext=c
46604 ac_cpp='$CPP $CPPFLAGS'
46605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46608
46609
46610 fi
46611
46612   fi
46613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
46614 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
46615
46616     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46617
46618 for ac_func in _fpclass
46619 do
46620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46621 echo "$as_me:$LINENO: checking for $ac_func" >&5
46622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46623 if eval "test \"\${$as_ac_var+set}\" = set"; then
46624   echo $ECHO_N "(cached) $ECHO_C" >&6
46625 else
46626   if test x$gcc_no_link = xyes; then
46627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46629    { (exit 1); exit 1; }; }
46630 fi
46631 cat >conftest.$ac_ext <<_ACEOF
46632 /* confdefs.h.  */
46633 _ACEOF
46634 cat confdefs.h >>conftest.$ac_ext
46635 cat >>conftest.$ac_ext <<_ACEOF
46636 /* end confdefs.h.  */
46637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46639 #define $ac_func innocuous_$ac_func
46640
46641 /* System header to define __stub macros and hopefully few prototypes,
46642     which can conflict with char $ac_func (); below.
46643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46644     <limits.h> exists even on freestanding compilers.  */
46645
46646 #ifdef __STDC__
46647 # include <limits.h>
46648 #else
46649 # include <assert.h>
46650 #endif
46651
46652 #undef $ac_func
46653
46654 /* Override any gcc2 internal prototype to avoid an error.  */
46655 #ifdef __cplusplus
46656 extern "C"
46657 {
46658 #endif
46659 /* We use char because int might match the return type of a gcc2
46660    builtin and then its argument prototype would still apply.  */
46661 char $ac_func ();
46662 /* The GNU C library defines this for functions which it implements
46663     to always fail with ENOSYS.  Some functions are actually named
46664     something starting with __ and the normal name is an alias.  */
46665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46666 choke me
46667 #else
46668 char (*f) () = $ac_func;
46669 #endif
46670 #ifdef __cplusplus
46671 }
46672 #endif
46673
46674 int
46675 main ()
46676 {
46677 return f != $ac_func;
46678   ;
46679   return 0;
46680 }
46681 _ACEOF
46682 rm -f conftest.$ac_objext conftest$ac_exeext
46683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46684   (eval $ac_link) 2>conftest.er1
46685   ac_status=$?
46686   grep -v '^ *+' conftest.er1 >conftest.err
46687   rm -f conftest.er1
46688   cat conftest.err >&5
46689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46690   (exit $ac_status); } &&
46691          { ac_try='test -z "$ac_c_werror_flag"
46692                          || test ! -s conftest.err'
46693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46694   (eval $ac_try) 2>&5
46695   ac_status=$?
46696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46697   (exit $ac_status); }; } &&
46698          { ac_try='test -s conftest$ac_exeext'
46699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46700   (eval $ac_try) 2>&5
46701   ac_status=$?
46702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46703   (exit $ac_status); }; }; then
46704   eval "$as_ac_var=yes"
46705 else
46706   echo "$as_me: failed program was:" >&5
46707 sed 's/^/| /' conftest.$ac_ext >&5
46708
46709 eval "$as_ac_var=no"
46710 fi
46711 rm -f conftest.err conftest.$ac_objext \
46712       conftest$ac_exeext conftest.$ac_ext
46713 fi
46714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46716 if test `eval echo '${'$as_ac_var'}'` = yes; then
46717   cat >>confdefs.h <<_ACEOF
46718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46719 _ACEOF
46720
46721 fi
46722 done
46723
46724     fi
46725   fi
46726
46727
46728
46729
46730
46731
46732   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
46733 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
46734   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46735     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
46736   echo $ECHO_N "(cached) $ECHO_C" >&6
46737 else
46738
46739
46740
46741       ac_ext=cc
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746
46747       cat >conftest.$ac_ext <<_ACEOF
46748 /* confdefs.h.  */
46749 _ACEOF
46750 cat confdefs.h >>conftest.$ac_ext
46751 cat >>conftest.$ac_ext <<_ACEOF
46752 /* end confdefs.h.  */
46753 #include <math.h>
46754                       #ifdef HAVE_IEEEFP_H
46755                       #include <ieeefp.h>
46756                       #endif
46757
46758 int
46759 main ()
46760 {
46761  qfpclass(0);
46762   ;
46763   return 0;
46764 }
46765 _ACEOF
46766 rm -f conftest.$ac_objext
46767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46768   (eval $ac_compile) 2>conftest.er1
46769   ac_status=$?
46770   grep -v '^ *+' conftest.er1 >conftest.err
46771   rm -f conftest.er1
46772   cat conftest.err >&5
46773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46774   (exit $ac_status); } &&
46775          { ac_try='test -z "$ac_cxx_werror_flag"
46776                          || test ! -s conftest.err'
46777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46778   (eval $ac_try) 2>&5
46779   ac_status=$?
46780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46781   (exit $ac_status); }; } &&
46782          { ac_try='test -s conftest.$ac_objext'
46783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46784   (eval $ac_try) 2>&5
46785   ac_status=$?
46786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787   (exit $ac_status); }; }; then
46788   glibcxx_cv_func_qfpclass_use=yes
46789 else
46790   echo "$as_me: failed program was:" >&5
46791 sed 's/^/| /' conftest.$ac_ext >&5
46792
46793 glibcxx_cv_func_qfpclass_use=no
46794 fi
46795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46796       ac_ext=c
46797 ac_cpp='$CPP $CPPFLAGS'
46798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46801
46802
46803 fi
46804
46805   fi
46806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
46807 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
46808
46809   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46810
46811 for ac_func in qfpclass
46812 do
46813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46814 echo "$as_me:$LINENO: checking for $ac_func" >&5
46815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46816 if eval "test \"\${$as_ac_var+set}\" = set"; then
46817   echo $ECHO_N "(cached) $ECHO_C" >&6
46818 else
46819   if test x$gcc_no_link = xyes; then
46820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46822    { (exit 1); exit 1; }; }
46823 fi
46824 cat >conftest.$ac_ext <<_ACEOF
46825 /* confdefs.h.  */
46826 _ACEOF
46827 cat confdefs.h >>conftest.$ac_ext
46828 cat >>conftest.$ac_ext <<_ACEOF
46829 /* end confdefs.h.  */
46830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46832 #define $ac_func innocuous_$ac_func
46833
46834 /* System header to define __stub macros and hopefully few prototypes,
46835     which can conflict with char $ac_func (); below.
46836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46837     <limits.h> exists even on freestanding compilers.  */
46838
46839 #ifdef __STDC__
46840 # include <limits.h>
46841 #else
46842 # include <assert.h>
46843 #endif
46844
46845 #undef $ac_func
46846
46847 /* Override any gcc2 internal prototype to avoid an error.  */
46848 #ifdef __cplusplus
46849 extern "C"
46850 {
46851 #endif
46852 /* We use char because int might match the return type of a gcc2
46853    builtin and then its argument prototype would still apply.  */
46854 char $ac_func ();
46855 /* The GNU C library defines this for functions which it implements
46856     to always fail with ENOSYS.  Some functions are actually named
46857     something starting with __ and the normal name is an alias.  */
46858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46859 choke me
46860 #else
46861 char (*f) () = $ac_func;
46862 #endif
46863 #ifdef __cplusplus
46864 }
46865 #endif
46866
46867 int
46868 main ()
46869 {
46870 return f != $ac_func;
46871   ;
46872   return 0;
46873 }
46874 _ACEOF
46875 rm -f conftest.$ac_objext conftest$ac_exeext
46876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46877   (eval $ac_link) 2>conftest.er1
46878   ac_status=$?
46879   grep -v '^ *+' conftest.er1 >conftest.err
46880   rm -f conftest.er1
46881   cat conftest.err >&5
46882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46883   (exit $ac_status); } &&
46884          { ac_try='test -z "$ac_c_werror_flag"
46885                          || test ! -s conftest.err'
46886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46887   (eval $ac_try) 2>&5
46888   ac_status=$?
46889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46890   (exit $ac_status); }; } &&
46891          { ac_try='test -s conftest$ac_exeext'
46892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46893   (eval $ac_try) 2>&5
46894   ac_status=$?
46895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46896   (exit $ac_status); }; }; then
46897   eval "$as_ac_var=yes"
46898 else
46899   echo "$as_me: failed program was:" >&5
46900 sed 's/^/| /' conftest.$ac_ext >&5
46901
46902 eval "$as_ac_var=no"
46903 fi
46904 rm -f conftest.err conftest.$ac_objext \
46905       conftest$ac_exeext conftest.$ac_ext
46906 fi
46907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46909 if test `eval echo '${'$as_ac_var'}'` = yes; then
46910   cat >>confdefs.h <<_ACEOF
46911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46912 _ACEOF
46913
46914 fi
46915 done
46916
46917   else
46918
46919   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46920 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46921   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46922     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46923   echo $ECHO_N "(cached) $ECHO_C" >&6
46924 else
46925
46926
46927
46928       ac_ext=cc
46929 ac_cpp='$CXXCPP $CPPFLAGS'
46930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46933
46934       cat >conftest.$ac_ext <<_ACEOF
46935 /* confdefs.h.  */
46936 _ACEOF
46937 cat confdefs.h >>conftest.$ac_ext
46938 cat >>conftest.$ac_ext <<_ACEOF
46939 /* end confdefs.h.  */
46940 #include <math.h>
46941                       #ifdef HAVE_IEEEFP_H
46942                       #include <ieeefp.h>
46943                       #endif
46944
46945 int
46946 main ()
46947 {
46948  _qfpclass(0);
46949   ;
46950   return 0;
46951 }
46952 _ACEOF
46953 rm -f conftest.$ac_objext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46955   (eval $ac_compile) 2>conftest.er1
46956   ac_status=$?
46957   grep -v '^ *+' conftest.er1 >conftest.err
46958   rm -f conftest.er1
46959   cat conftest.err >&5
46960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961   (exit $ac_status); } &&
46962          { ac_try='test -z "$ac_cxx_werror_flag"
46963                          || test ! -s conftest.err'
46964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965   (eval $ac_try) 2>&5
46966   ac_status=$?
46967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968   (exit $ac_status); }; } &&
46969          { ac_try='test -s conftest.$ac_objext'
46970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971   (eval $ac_try) 2>&5
46972   ac_status=$?
46973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974   (exit $ac_status); }; }; then
46975   glibcxx_cv_func__qfpclass_use=yes
46976 else
46977   echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46979
46980 glibcxx_cv_func__qfpclass_use=no
46981 fi
46982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46983       ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992   fi
46993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46994 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46995
46996     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46997
46998 for ac_func in _qfpclass
46999 do
47000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47001 echo "$as_me:$LINENO: checking for $ac_func" >&5
47002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47003 if eval "test \"\${$as_ac_var+set}\" = set"; then
47004   echo $ECHO_N "(cached) $ECHO_C" >&6
47005 else
47006   if test x$gcc_no_link = xyes; then
47007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47009    { (exit 1); exit 1; }; }
47010 fi
47011 cat >conftest.$ac_ext <<_ACEOF
47012 /* confdefs.h.  */
47013 _ACEOF
47014 cat confdefs.h >>conftest.$ac_ext
47015 cat >>conftest.$ac_ext <<_ACEOF
47016 /* end confdefs.h.  */
47017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47019 #define $ac_func innocuous_$ac_func
47020
47021 /* System header to define __stub macros and hopefully few prototypes,
47022     which can conflict with char $ac_func (); below.
47023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47024     <limits.h> exists even on freestanding compilers.  */
47025
47026 #ifdef __STDC__
47027 # include <limits.h>
47028 #else
47029 # include <assert.h>
47030 #endif
47031
47032 #undef $ac_func
47033
47034 /* Override any gcc2 internal prototype to avoid an error.  */
47035 #ifdef __cplusplus
47036 extern "C"
47037 {
47038 #endif
47039 /* We use char because int might match the return type of a gcc2
47040    builtin and then its argument prototype would still apply.  */
47041 char $ac_func ();
47042 /* The GNU C library defines this for functions which it implements
47043     to always fail with ENOSYS.  Some functions are actually named
47044     something starting with __ and the normal name is an alias.  */
47045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47046 choke me
47047 #else
47048 char (*f) () = $ac_func;
47049 #endif
47050 #ifdef __cplusplus
47051 }
47052 #endif
47053
47054 int
47055 main ()
47056 {
47057 return f != $ac_func;
47058   ;
47059   return 0;
47060 }
47061 _ACEOF
47062 rm -f conftest.$ac_objext conftest$ac_exeext
47063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47064   (eval $ac_link) 2>conftest.er1
47065   ac_status=$?
47066   grep -v '^ *+' conftest.er1 >conftest.err
47067   rm -f conftest.er1
47068   cat conftest.err >&5
47069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47070   (exit $ac_status); } &&
47071          { ac_try='test -z "$ac_c_werror_flag"
47072                          || test ! -s conftest.err'
47073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47074   (eval $ac_try) 2>&5
47075   ac_status=$?
47076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47077   (exit $ac_status); }; } &&
47078          { ac_try='test -s conftest$ac_exeext'
47079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47080   (eval $ac_try) 2>&5
47081   ac_status=$?
47082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083   (exit $ac_status); }; }; then
47084   eval "$as_ac_var=yes"
47085 else
47086   echo "$as_me: failed program was:" >&5
47087 sed 's/^/| /' conftest.$ac_ext >&5
47088
47089 eval "$as_ac_var=no"
47090 fi
47091 rm -f conftest.err conftest.$ac_objext \
47092       conftest$ac_exeext conftest.$ac_ext
47093 fi
47094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47096 if test `eval echo '${'$as_ac_var'}'` = yes; then
47097   cat >>confdefs.h <<_ACEOF
47098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47099 _ACEOF
47100
47101 fi
47102 done
47103
47104     fi
47105   fi
47106
47107
47108
47109
47110
47111
47112   echo "$as_me:$LINENO: checking for hypot declaration" >&5
47113 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
47114   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47115     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
47116   echo $ECHO_N "(cached) $ECHO_C" >&6
47117 else
47118
47119
47120
47121       ac_ext=cc
47122 ac_cpp='$CXXCPP $CPPFLAGS'
47123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47126
47127       cat >conftest.$ac_ext <<_ACEOF
47128 /* confdefs.h.  */
47129 _ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h.  */
47133 #include <math.h>
47134 int
47135 main ()
47136 {
47137  hypot(0, 0);
47138   ;
47139   return 0;
47140 }
47141 _ACEOF
47142 rm -f conftest.$ac_objext
47143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47144   (eval $ac_compile) 2>conftest.er1
47145   ac_status=$?
47146   grep -v '^ *+' conftest.er1 >conftest.err
47147   rm -f conftest.er1
47148   cat conftest.err >&5
47149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150   (exit $ac_status); } &&
47151          { ac_try='test -z "$ac_cxx_werror_flag"
47152                          || test ! -s conftest.err'
47153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154   (eval $ac_try) 2>&5
47155   ac_status=$?
47156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157   (exit $ac_status); }; } &&
47158          { ac_try='test -s conftest.$ac_objext'
47159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47160   (eval $ac_try) 2>&5
47161   ac_status=$?
47162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163   (exit $ac_status); }; }; then
47164   glibcxx_cv_func_hypot_use=yes
47165 else
47166   echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47168
47169 glibcxx_cv_func_hypot_use=no
47170 fi
47171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47172       ac_ext=c
47173 ac_cpp='$CPP $CPPFLAGS'
47174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47177
47178
47179 fi
47180
47181   fi
47182   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
47183 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
47184
47185   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47186
47187 for ac_func in hypot
47188 do
47189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47190 echo "$as_me:$LINENO: checking for $ac_func" >&5
47191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47192 if eval "test \"\${$as_ac_var+set}\" = set"; then
47193   echo $ECHO_N "(cached) $ECHO_C" >&6
47194 else
47195   if test x$gcc_no_link = xyes; then
47196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47198    { (exit 1); exit 1; }; }
47199 fi
47200 cat >conftest.$ac_ext <<_ACEOF
47201 /* confdefs.h.  */
47202 _ACEOF
47203 cat confdefs.h >>conftest.$ac_ext
47204 cat >>conftest.$ac_ext <<_ACEOF
47205 /* end confdefs.h.  */
47206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47208 #define $ac_func innocuous_$ac_func
47209
47210 /* System header to define __stub macros and hopefully few prototypes,
47211     which can conflict with char $ac_func (); below.
47212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47213     <limits.h> exists even on freestanding compilers.  */
47214
47215 #ifdef __STDC__
47216 # include <limits.h>
47217 #else
47218 # include <assert.h>
47219 #endif
47220
47221 #undef $ac_func
47222
47223 /* Override any gcc2 internal prototype to avoid an error.  */
47224 #ifdef __cplusplus
47225 extern "C"
47226 {
47227 #endif
47228 /* We use char because int might match the return type of a gcc2
47229    builtin and then its argument prototype would still apply.  */
47230 char $ac_func ();
47231 /* The GNU C library defines this for functions which it implements
47232     to always fail with ENOSYS.  Some functions are actually named
47233     something starting with __ and the normal name is an alias.  */
47234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47235 choke me
47236 #else
47237 char (*f) () = $ac_func;
47238 #endif
47239 #ifdef __cplusplus
47240 }
47241 #endif
47242
47243 int
47244 main ()
47245 {
47246 return f != $ac_func;
47247   ;
47248   return 0;
47249 }
47250 _ACEOF
47251 rm -f conftest.$ac_objext conftest$ac_exeext
47252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47253   (eval $ac_link) 2>conftest.er1
47254   ac_status=$?
47255   grep -v '^ *+' conftest.er1 >conftest.err
47256   rm -f conftest.er1
47257   cat conftest.err >&5
47258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259   (exit $ac_status); } &&
47260          { ac_try='test -z "$ac_c_werror_flag"
47261                          || test ! -s conftest.err'
47262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47263   (eval $ac_try) 2>&5
47264   ac_status=$?
47265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266   (exit $ac_status); }; } &&
47267          { ac_try='test -s conftest$ac_exeext'
47268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47269   (eval $ac_try) 2>&5
47270   ac_status=$?
47271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47272   (exit $ac_status); }; }; then
47273   eval "$as_ac_var=yes"
47274 else
47275   echo "$as_me: failed program was:" >&5
47276 sed 's/^/| /' conftest.$ac_ext >&5
47277
47278 eval "$as_ac_var=no"
47279 fi
47280 rm -f conftest.err conftest.$ac_objext \
47281       conftest$ac_exeext conftest.$ac_ext
47282 fi
47283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47285 if test `eval echo '${'$as_ac_var'}'` = yes; then
47286   cat >>confdefs.h <<_ACEOF
47287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47288 _ACEOF
47289
47290 fi
47291 done
47292
47293   else
47294
47295   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
47296 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
47297   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47298     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
47299   echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47301
47302
47303
47304       ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47309
47310       cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h.  */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h.  */
47316 #include <math.h>
47317 int
47318 main ()
47319 {
47320  _hypot(0, 0);
47321   ;
47322   return 0;
47323 }
47324 _ACEOF
47325 rm -f conftest.$ac_objext
47326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47327   (eval $ac_compile) 2>conftest.er1
47328   ac_status=$?
47329   grep -v '^ *+' conftest.er1 >conftest.err
47330   rm -f conftest.er1
47331   cat conftest.err >&5
47332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333   (exit $ac_status); } &&
47334          { ac_try='test -z "$ac_cxx_werror_flag"
47335                          || test ! -s conftest.err'
47336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47337   (eval $ac_try) 2>&5
47338   ac_status=$?
47339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47340   (exit $ac_status); }; } &&
47341          { ac_try='test -s conftest.$ac_objext'
47342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47343   (eval $ac_try) 2>&5
47344   ac_status=$?
47345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346   (exit $ac_status); }; }; then
47347   glibcxx_cv_func__hypot_use=yes
47348 else
47349   echo "$as_me: failed program was:" >&5
47350 sed 's/^/| /' conftest.$ac_ext >&5
47351
47352 glibcxx_cv_func__hypot_use=no
47353 fi
47354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47355       ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47360
47361
47362 fi
47363
47364   fi
47365   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
47366 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
47367
47368     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47369
47370 for ac_func in _hypot
47371 do
47372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47373 echo "$as_me:$LINENO: checking for $ac_func" >&5
47374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47375 if eval "test \"\${$as_ac_var+set}\" = set"; then
47376   echo $ECHO_N "(cached) $ECHO_C" >&6
47377 else
47378   if test x$gcc_no_link = xyes; then
47379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47381    { (exit 1); exit 1; }; }
47382 fi
47383 cat >conftest.$ac_ext <<_ACEOF
47384 /* confdefs.h.  */
47385 _ACEOF
47386 cat confdefs.h >>conftest.$ac_ext
47387 cat >>conftest.$ac_ext <<_ACEOF
47388 /* end confdefs.h.  */
47389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47391 #define $ac_func innocuous_$ac_func
47392
47393 /* System header to define __stub macros and hopefully few prototypes,
47394     which can conflict with char $ac_func (); below.
47395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47396     <limits.h> exists even on freestanding compilers.  */
47397
47398 #ifdef __STDC__
47399 # include <limits.h>
47400 #else
47401 # include <assert.h>
47402 #endif
47403
47404 #undef $ac_func
47405
47406 /* Override any gcc2 internal prototype to avoid an error.  */
47407 #ifdef __cplusplus
47408 extern "C"
47409 {
47410 #endif
47411 /* We use char because int might match the return type of a gcc2
47412    builtin and then its argument prototype would still apply.  */
47413 char $ac_func ();
47414 /* The GNU C library defines this for functions which it implements
47415     to always fail with ENOSYS.  Some functions are actually named
47416     something starting with __ and the normal name is an alias.  */
47417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47418 choke me
47419 #else
47420 char (*f) () = $ac_func;
47421 #endif
47422 #ifdef __cplusplus
47423 }
47424 #endif
47425
47426 int
47427 main ()
47428 {
47429 return f != $ac_func;
47430   ;
47431   return 0;
47432 }
47433 _ACEOF
47434 rm -f conftest.$ac_objext conftest$ac_exeext
47435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47436   (eval $ac_link) 2>conftest.er1
47437   ac_status=$?
47438   grep -v '^ *+' conftest.er1 >conftest.err
47439   rm -f conftest.er1
47440   cat conftest.err >&5
47441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442   (exit $ac_status); } &&
47443          { ac_try='test -z "$ac_c_werror_flag"
47444                          || test ! -s conftest.err'
47445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47446   (eval $ac_try) 2>&5
47447   ac_status=$?
47448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47449   (exit $ac_status); }; } &&
47450          { ac_try='test -s conftest$ac_exeext'
47451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47452   (eval $ac_try) 2>&5
47453   ac_status=$?
47454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47455   (exit $ac_status); }; }; then
47456   eval "$as_ac_var=yes"
47457 else
47458   echo "$as_me: failed program was:" >&5
47459 sed 's/^/| /' conftest.$ac_ext >&5
47460
47461 eval "$as_ac_var=no"
47462 fi
47463 rm -f conftest.err conftest.$ac_objext \
47464       conftest$ac_exeext conftest.$ac_ext
47465 fi
47466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47468 if test `eval echo '${'$as_ac_var'}'` = yes; then
47469   cat >>confdefs.h <<_ACEOF
47470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47471 _ACEOF
47472
47473 fi
47474 done
47475
47476     fi
47477   fi
47478
47479
47480
47481
47482
47483
47484     echo "$as_me:$LINENO: checking for float trig functions" >&5
47485 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
47486   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
47487   echo $ECHO_N "(cached) $ECHO_C" >&6
47488 else
47489
47490
47491
47492     ac_ext=cc
47493 ac_cpp='$CXXCPP $CPPFLAGS'
47494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47497
47498     cat >conftest.$ac_ext <<_ACEOF
47499 /* confdefs.h.  */
47500 _ACEOF
47501 cat confdefs.h >>conftest.$ac_ext
47502 cat >>conftest.$ac_ext <<_ACEOF
47503 /* end confdefs.h.  */
47504 #include <math.h>
47505 int
47506 main ()
47507 {
47508 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47509   ;
47510   return 0;
47511 }
47512 _ACEOF
47513 rm -f conftest.$ac_objext
47514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47515   (eval $ac_compile) 2>conftest.er1
47516   ac_status=$?
47517   grep -v '^ *+' conftest.er1 >conftest.err
47518   rm -f conftest.er1
47519   cat conftest.err >&5
47520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521   (exit $ac_status); } &&
47522          { ac_try='test -z "$ac_cxx_werror_flag"
47523                          || test ! -s conftest.err'
47524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47525   (eval $ac_try) 2>&5
47526   ac_status=$?
47527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47528   (exit $ac_status); }; } &&
47529          { ac_try='test -s conftest.$ac_objext'
47530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47531   (eval $ac_try) 2>&5
47532   ac_status=$?
47533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47534   (exit $ac_status); }; }; then
47535   glibcxx_cv_func_float_trig_use=yes
47536 else
47537   echo "$as_me: failed program was:" >&5
47538 sed 's/^/| /' conftest.$ac_ext >&5
47539
47540 glibcxx_cv_func_float_trig_use=no
47541 fi
47542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47543     ac_ext=c
47544 ac_cpp='$CPP $CPPFLAGS'
47545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47548
47549 fi
47550
47551   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
47552 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
47553   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47564 do
47565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47566 echo "$as_me:$LINENO: checking for $ac_func" >&5
47567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47568 if eval "test \"\${$as_ac_var+set}\" = set"; then
47569   echo $ECHO_N "(cached) $ECHO_C" >&6
47570 else
47571   if test x$gcc_no_link = xyes; then
47572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47574    { (exit 1); exit 1; }; }
47575 fi
47576 cat >conftest.$ac_ext <<_ACEOF
47577 /* confdefs.h.  */
47578 _ACEOF
47579 cat confdefs.h >>conftest.$ac_ext
47580 cat >>conftest.$ac_ext <<_ACEOF
47581 /* end confdefs.h.  */
47582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47584 #define $ac_func innocuous_$ac_func
47585
47586 /* System header to define __stub macros and hopefully few prototypes,
47587     which can conflict with char $ac_func (); below.
47588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47589     <limits.h> exists even on freestanding compilers.  */
47590
47591 #ifdef __STDC__
47592 # include <limits.h>
47593 #else
47594 # include <assert.h>
47595 #endif
47596
47597 #undef $ac_func
47598
47599 /* Override any gcc2 internal prototype to avoid an error.  */
47600 #ifdef __cplusplus
47601 extern "C"
47602 {
47603 #endif
47604 /* We use char because int might match the return type of a gcc2
47605    builtin and then its argument prototype would still apply.  */
47606 char $ac_func ();
47607 /* The GNU C library defines this for functions which it implements
47608     to always fail with ENOSYS.  Some functions are actually named
47609     something starting with __ and the normal name is an alias.  */
47610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47611 choke me
47612 #else
47613 char (*f) () = $ac_func;
47614 #endif
47615 #ifdef __cplusplus
47616 }
47617 #endif
47618
47619 int
47620 main ()
47621 {
47622 return f != $ac_func;
47623   ;
47624   return 0;
47625 }
47626 _ACEOF
47627 rm -f conftest.$ac_objext conftest$ac_exeext
47628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47629   (eval $ac_link) 2>conftest.er1
47630   ac_status=$?
47631   grep -v '^ *+' conftest.er1 >conftest.err
47632   rm -f conftest.er1
47633   cat conftest.err >&5
47634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47635   (exit $ac_status); } &&
47636          { ac_try='test -z "$ac_c_werror_flag"
47637                          || test ! -s conftest.err'
47638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47639   (eval $ac_try) 2>&5
47640   ac_status=$?
47641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642   (exit $ac_status); }; } &&
47643          { ac_try='test -s conftest$ac_exeext'
47644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47645   (eval $ac_try) 2>&5
47646   ac_status=$?
47647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47648   (exit $ac_status); }; }; then
47649   eval "$as_ac_var=yes"
47650 else
47651   echo "$as_me: failed program was:" >&5
47652 sed 's/^/| /' conftest.$ac_ext >&5
47653
47654 eval "$as_ac_var=no"
47655 fi
47656 rm -f conftest.err conftest.$ac_objext \
47657       conftest$ac_exeext conftest.$ac_ext
47658 fi
47659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47661 if test `eval echo '${'$as_ac_var'}'` = yes; then
47662   cat >>confdefs.h <<_ACEOF
47663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47664 _ACEOF
47665
47666 fi
47667 done
47668
47669   else
47670     echo "$as_me:$LINENO: checking for _float trig functions" >&5
47671 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47672     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47673   echo $ECHO_N "(cached) $ECHO_C" >&6
47674 else
47675
47676
47677
47678       ac_ext=cc
47679 ac_cpp='$CXXCPP $CPPFLAGS'
47680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47683
47684       cat >conftest.$ac_ext <<_ACEOF
47685 /* confdefs.h.  */
47686 _ACEOF
47687 cat confdefs.h >>conftest.$ac_ext
47688 cat >>conftest.$ac_ext <<_ACEOF
47689 /* end confdefs.h.  */
47690 #include <math.h>
47691 int
47692 main ()
47693 {
47694 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47695   ;
47696   return 0;
47697 }
47698 _ACEOF
47699 rm -f conftest.$ac_objext
47700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47701   (eval $ac_compile) 2>conftest.er1
47702   ac_status=$?
47703   grep -v '^ *+' conftest.er1 >conftest.err
47704   rm -f conftest.er1
47705   cat conftest.err >&5
47706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707   (exit $ac_status); } &&
47708          { ac_try='test -z "$ac_cxx_werror_flag"
47709                          || test ! -s conftest.err'
47710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47711   (eval $ac_try) 2>&5
47712   ac_status=$?
47713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47714   (exit $ac_status); }; } &&
47715          { ac_try='test -s conftest.$ac_objext'
47716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717   (eval $ac_try) 2>&5
47718   ac_status=$?
47719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720   (exit $ac_status); }; }; then
47721   glibcxx_cv_func__float_trig_use=yes
47722 else
47723   echo "$as_me: failed program was:" >&5
47724 sed 's/^/| /' conftest.$ac_ext >&5
47725
47726 glibcxx_cv_func__float_trig_use=no
47727 fi
47728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47729       ac_ext=c
47730 ac_cpp='$CPP $CPPFLAGS'
47731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47734
47735 fi
47736
47737     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47738 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47739     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47750 do
47751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47752 echo "$as_me:$LINENO: checking for $ac_func" >&5
47753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47754 if eval "test \"\${$as_ac_var+set}\" = set"; then
47755   echo $ECHO_N "(cached) $ECHO_C" >&6
47756 else
47757   if test x$gcc_no_link = xyes; then
47758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47760    { (exit 1); exit 1; }; }
47761 fi
47762 cat >conftest.$ac_ext <<_ACEOF
47763 /* confdefs.h.  */
47764 _ACEOF
47765 cat confdefs.h >>conftest.$ac_ext
47766 cat >>conftest.$ac_ext <<_ACEOF
47767 /* end confdefs.h.  */
47768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47770 #define $ac_func innocuous_$ac_func
47771
47772 /* System header to define __stub macros and hopefully few prototypes,
47773     which can conflict with char $ac_func (); below.
47774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47775     <limits.h> exists even on freestanding compilers.  */
47776
47777 #ifdef __STDC__
47778 # include <limits.h>
47779 #else
47780 # include <assert.h>
47781 #endif
47782
47783 #undef $ac_func
47784
47785 /* Override any gcc2 internal prototype to avoid an error.  */
47786 #ifdef __cplusplus
47787 extern "C"
47788 {
47789 #endif
47790 /* We use char because int might match the return type of a gcc2
47791    builtin and then its argument prototype would still apply.  */
47792 char $ac_func ();
47793 /* The GNU C library defines this for functions which it implements
47794     to always fail with ENOSYS.  Some functions are actually named
47795     something starting with __ and the normal name is an alias.  */
47796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47797 choke me
47798 #else
47799 char (*f) () = $ac_func;
47800 #endif
47801 #ifdef __cplusplus
47802 }
47803 #endif
47804
47805 int
47806 main ()
47807 {
47808 return f != $ac_func;
47809   ;
47810   return 0;
47811 }
47812 _ACEOF
47813 rm -f conftest.$ac_objext conftest$ac_exeext
47814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47815   (eval $ac_link) 2>conftest.er1
47816   ac_status=$?
47817   grep -v '^ *+' conftest.er1 >conftest.err
47818   rm -f conftest.er1
47819   cat conftest.err >&5
47820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47821   (exit $ac_status); } &&
47822          { ac_try='test -z "$ac_c_werror_flag"
47823                          || test ! -s conftest.err'
47824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47825   (eval $ac_try) 2>&5
47826   ac_status=$?
47827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47828   (exit $ac_status); }; } &&
47829          { ac_try='test -s conftest$ac_exeext'
47830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47831   (eval $ac_try) 2>&5
47832   ac_status=$?
47833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47834   (exit $ac_status); }; }; then
47835   eval "$as_ac_var=yes"
47836 else
47837   echo "$as_me: failed program was:" >&5
47838 sed 's/^/| /' conftest.$ac_ext >&5
47839
47840 eval "$as_ac_var=no"
47841 fi
47842 rm -f conftest.err conftest.$ac_objext \
47843       conftest$ac_exeext conftest.$ac_ext
47844 fi
47845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47847 if test `eval echo '${'$as_ac_var'}'` = yes; then
47848   cat >>confdefs.h <<_ACEOF
47849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47850 _ACEOF
47851
47852 fi
47853 done
47854
47855     fi
47856   fi
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871     echo "$as_me:$LINENO: checking for float round functions" >&5
47872 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
47873   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
47874   echo $ECHO_N "(cached) $ECHO_C" >&6
47875 else
47876
47877
47878
47879     ac_ext=cc
47880 ac_cpp='$CXXCPP $CPPFLAGS'
47881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47884
47885     cat >conftest.$ac_ext <<_ACEOF
47886 /* confdefs.h.  */
47887 _ACEOF
47888 cat confdefs.h >>conftest.$ac_ext
47889 cat >>conftest.$ac_ext <<_ACEOF
47890 /* end confdefs.h.  */
47891 #include <math.h>
47892 int
47893 main ()
47894 {
47895 ceilf (0); floorf (0);
47896   ;
47897   return 0;
47898 }
47899 _ACEOF
47900 rm -f conftest.$ac_objext
47901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47902   (eval $ac_compile) 2>conftest.er1
47903   ac_status=$?
47904   grep -v '^ *+' conftest.er1 >conftest.err
47905   rm -f conftest.er1
47906   cat conftest.err >&5
47907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47908   (exit $ac_status); } &&
47909          { ac_try='test -z "$ac_cxx_werror_flag"
47910                          || test ! -s conftest.err'
47911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47912   (eval $ac_try) 2>&5
47913   ac_status=$?
47914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47915   (exit $ac_status); }; } &&
47916          { ac_try='test -s conftest.$ac_objext'
47917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47918   (eval $ac_try) 2>&5
47919   ac_status=$?
47920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47921   (exit $ac_status); }; }; then
47922   glibcxx_cv_func_float_round_use=yes
47923 else
47924   echo "$as_me: failed program was:" >&5
47925 sed 's/^/| /' conftest.$ac_ext >&5
47926
47927 glibcxx_cv_func_float_round_use=no
47928 fi
47929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47930     ac_ext=c
47931 ac_cpp='$CPP $CPPFLAGS'
47932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935
47936 fi
47937
47938   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47939 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47940   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47941
47942
47943 for ac_func in ceilf floorf
47944 do
47945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47946 echo "$as_me:$LINENO: checking for $ac_func" >&5
47947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47948 if eval "test \"\${$as_ac_var+set}\" = set"; then
47949   echo $ECHO_N "(cached) $ECHO_C" >&6
47950 else
47951   if test x$gcc_no_link = xyes; then
47952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47954    { (exit 1); exit 1; }; }
47955 fi
47956 cat >conftest.$ac_ext <<_ACEOF
47957 /* confdefs.h.  */
47958 _ACEOF
47959 cat confdefs.h >>conftest.$ac_ext
47960 cat >>conftest.$ac_ext <<_ACEOF
47961 /* end confdefs.h.  */
47962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47964 #define $ac_func innocuous_$ac_func
47965
47966 /* System header to define __stub macros and hopefully few prototypes,
47967     which can conflict with char $ac_func (); below.
47968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47969     <limits.h> exists even on freestanding compilers.  */
47970
47971 #ifdef __STDC__
47972 # include <limits.h>
47973 #else
47974 # include <assert.h>
47975 #endif
47976
47977 #undef $ac_func
47978
47979 /* Override any gcc2 internal prototype to avoid an error.  */
47980 #ifdef __cplusplus
47981 extern "C"
47982 {
47983 #endif
47984 /* We use char because int might match the return type of a gcc2
47985    builtin and then its argument prototype would still apply.  */
47986 char $ac_func ();
47987 /* The GNU C library defines this for functions which it implements
47988     to always fail with ENOSYS.  Some functions are actually named
47989     something starting with __ and the normal name is an alias.  */
47990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47991 choke me
47992 #else
47993 char (*f) () = $ac_func;
47994 #endif
47995 #ifdef __cplusplus
47996 }
47997 #endif
47998
47999 int
48000 main ()
48001 {
48002 return f != $ac_func;
48003   ;
48004   return 0;
48005 }
48006 _ACEOF
48007 rm -f conftest.$ac_objext conftest$ac_exeext
48008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48009   (eval $ac_link) 2>conftest.er1
48010   ac_status=$?
48011   grep -v '^ *+' conftest.er1 >conftest.err
48012   rm -f conftest.er1
48013   cat conftest.err >&5
48014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48015   (exit $ac_status); } &&
48016          { ac_try='test -z "$ac_c_werror_flag"
48017                          || test ! -s conftest.err'
48018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48019   (eval $ac_try) 2>&5
48020   ac_status=$?
48021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48022   (exit $ac_status); }; } &&
48023          { ac_try='test -s conftest$ac_exeext'
48024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48025   (eval $ac_try) 2>&5
48026   ac_status=$?
48027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028   (exit $ac_status); }; }; then
48029   eval "$as_ac_var=yes"
48030 else
48031   echo "$as_me: failed program was:" >&5
48032 sed 's/^/| /' conftest.$ac_ext >&5
48033
48034 eval "$as_ac_var=no"
48035 fi
48036 rm -f conftest.err conftest.$ac_objext \
48037       conftest$ac_exeext conftest.$ac_ext
48038 fi
48039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48041 if test `eval echo '${'$as_ac_var'}'` = yes; then
48042   cat >>confdefs.h <<_ACEOF
48043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48044 _ACEOF
48045
48046 fi
48047 done
48048
48049   else
48050     echo "$as_me:$LINENO: checking for _float round functions" >&5
48051 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
48052     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
48053   echo $ECHO_N "(cached) $ECHO_C" >&6
48054 else
48055
48056
48057
48058       ac_ext=cc
48059 ac_cpp='$CXXCPP $CPPFLAGS'
48060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48063
48064       cat >conftest.$ac_ext <<_ACEOF
48065 /* confdefs.h.  */
48066 _ACEOF
48067 cat confdefs.h >>conftest.$ac_ext
48068 cat >>conftest.$ac_ext <<_ACEOF
48069 /* end confdefs.h.  */
48070 #include <math.h>
48071 int
48072 main ()
48073 {
48074 _ceilf (0); _floorf (0);
48075   ;
48076   return 0;
48077 }
48078 _ACEOF
48079 rm -f conftest.$ac_objext
48080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48081   (eval $ac_compile) 2>conftest.er1
48082   ac_status=$?
48083   grep -v '^ *+' conftest.er1 >conftest.err
48084   rm -f conftest.er1
48085   cat conftest.err >&5
48086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087   (exit $ac_status); } &&
48088          { ac_try='test -z "$ac_cxx_werror_flag"
48089                          || test ! -s conftest.err'
48090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48091   (eval $ac_try) 2>&5
48092   ac_status=$?
48093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094   (exit $ac_status); }; } &&
48095          { ac_try='test -s conftest.$ac_objext'
48096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48097   (eval $ac_try) 2>&5
48098   ac_status=$?
48099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48100   (exit $ac_status); }; }; then
48101   glibcxx_cv_func__float_round_use=yes
48102 else
48103   echo "$as_me: failed program was:" >&5
48104 sed 's/^/| /' conftest.$ac_ext >&5
48105
48106 glibcxx_cv_func__float_round_use=no
48107 fi
48108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48109       ac_ext=c
48110 ac_cpp='$CPP $CPPFLAGS'
48111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114
48115 fi
48116
48117     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
48118 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
48119     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48120
48121
48122 for ac_func in _ceilf _floorf
48123 do
48124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48125 echo "$as_me:$LINENO: checking for $ac_func" >&5
48126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48127 if eval "test \"\${$as_ac_var+set}\" = set"; then
48128   echo $ECHO_N "(cached) $ECHO_C" >&6
48129 else
48130   if test x$gcc_no_link = xyes; then
48131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48133    { (exit 1); exit 1; }; }
48134 fi
48135 cat >conftest.$ac_ext <<_ACEOF
48136 /* confdefs.h.  */
48137 _ACEOF
48138 cat confdefs.h >>conftest.$ac_ext
48139 cat >>conftest.$ac_ext <<_ACEOF
48140 /* end confdefs.h.  */
48141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48143 #define $ac_func innocuous_$ac_func
48144
48145 /* System header to define __stub macros and hopefully few prototypes,
48146     which can conflict with char $ac_func (); below.
48147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48148     <limits.h> exists even on freestanding compilers.  */
48149
48150 #ifdef __STDC__
48151 # include <limits.h>
48152 #else
48153 # include <assert.h>
48154 #endif
48155
48156 #undef $ac_func
48157
48158 /* Override any gcc2 internal prototype to avoid an error.  */
48159 #ifdef __cplusplus
48160 extern "C"
48161 {
48162 #endif
48163 /* We use char because int might match the return type of a gcc2
48164    builtin and then its argument prototype would still apply.  */
48165 char $ac_func ();
48166 /* The GNU C library defines this for functions which it implements
48167     to always fail with ENOSYS.  Some functions are actually named
48168     something starting with __ and the normal name is an alias.  */
48169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48170 choke me
48171 #else
48172 char (*f) () = $ac_func;
48173 #endif
48174 #ifdef __cplusplus
48175 }
48176 #endif
48177
48178 int
48179 main ()
48180 {
48181 return f != $ac_func;
48182   ;
48183   return 0;
48184 }
48185 _ACEOF
48186 rm -f conftest.$ac_objext conftest$ac_exeext
48187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48188   (eval $ac_link) 2>conftest.er1
48189   ac_status=$?
48190   grep -v '^ *+' conftest.er1 >conftest.err
48191   rm -f conftest.er1
48192   cat conftest.err >&5
48193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48194   (exit $ac_status); } &&
48195          { ac_try='test -z "$ac_c_werror_flag"
48196                          || test ! -s conftest.err'
48197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48198   (eval $ac_try) 2>&5
48199   ac_status=$?
48200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48201   (exit $ac_status); }; } &&
48202          { ac_try='test -s conftest$ac_exeext'
48203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48204   (eval $ac_try) 2>&5
48205   ac_status=$?
48206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207   (exit $ac_status); }; }; then
48208   eval "$as_ac_var=yes"
48209 else
48210   echo "$as_me: failed program was:" >&5
48211 sed 's/^/| /' conftest.$ac_ext >&5
48212
48213 eval "$as_ac_var=no"
48214 fi
48215 rm -f conftest.err conftest.$ac_objext \
48216       conftest$ac_exeext conftest.$ac_ext
48217 fi
48218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48220 if test `eval echo '${'$as_ac_var'}'` = yes; then
48221   cat >>confdefs.h <<_ACEOF
48222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48223 _ACEOF
48224
48225 fi
48226 done
48227
48228     fi
48229   fi
48230
48231
48232
48233
48234
48235
48236
48237
48238   echo "$as_me:$LINENO: checking for expf declaration" >&5
48239 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
48240   if test x${glibcxx_cv_func_expf_use+set} != xset; then
48241     if test "${glibcxx_cv_func_expf_use+set}" = set; then
48242   echo $ECHO_N "(cached) $ECHO_C" >&6
48243 else
48244
48245
48246
48247       ac_ext=cc
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252
48253       cat >conftest.$ac_ext <<_ACEOF
48254 /* confdefs.h.  */
48255 _ACEOF
48256 cat confdefs.h >>conftest.$ac_ext
48257 cat >>conftest.$ac_ext <<_ACEOF
48258 /* end confdefs.h.  */
48259 #include <math.h>
48260                       #ifdef HAVE_IEEEFP_H
48261                       #include <ieeefp.h>
48262                       #endif
48263
48264 int
48265 main ()
48266 {
48267  expf(0);
48268   ;
48269   return 0;
48270 }
48271 _ACEOF
48272 rm -f conftest.$ac_objext
48273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48274   (eval $ac_compile) 2>conftest.er1
48275   ac_status=$?
48276   grep -v '^ *+' conftest.er1 >conftest.err
48277   rm -f conftest.er1
48278   cat conftest.err >&5
48279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48280   (exit $ac_status); } &&
48281          { ac_try='test -z "$ac_cxx_werror_flag"
48282                          || test ! -s conftest.err'
48283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48284   (eval $ac_try) 2>&5
48285   ac_status=$?
48286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48287   (exit $ac_status); }; } &&
48288          { ac_try='test -s conftest.$ac_objext'
48289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48290   (eval $ac_try) 2>&5
48291   ac_status=$?
48292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48293   (exit $ac_status); }; }; then
48294   glibcxx_cv_func_expf_use=yes
48295 else
48296   echo "$as_me: failed program was:" >&5
48297 sed 's/^/| /' conftest.$ac_ext >&5
48298
48299 glibcxx_cv_func_expf_use=no
48300 fi
48301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48302       ac_ext=c
48303 ac_cpp='$CPP $CPPFLAGS'
48304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48307
48308
48309 fi
48310
48311   fi
48312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
48313 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
48314
48315   if test x$glibcxx_cv_func_expf_use = x"yes"; then
48316
48317 for ac_func in expf
48318 do
48319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48320 echo "$as_me:$LINENO: checking for $ac_func" >&5
48321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48322 if eval "test \"\${$as_ac_var+set}\" = set"; then
48323   echo $ECHO_N "(cached) $ECHO_C" >&6
48324 else
48325   if test x$gcc_no_link = xyes; then
48326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48328    { (exit 1); exit 1; }; }
48329 fi
48330 cat >conftest.$ac_ext <<_ACEOF
48331 /* confdefs.h.  */
48332 _ACEOF
48333 cat confdefs.h >>conftest.$ac_ext
48334 cat >>conftest.$ac_ext <<_ACEOF
48335 /* end confdefs.h.  */
48336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48338 #define $ac_func innocuous_$ac_func
48339
48340 /* System header to define __stub macros and hopefully few prototypes,
48341     which can conflict with char $ac_func (); below.
48342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48343     <limits.h> exists even on freestanding compilers.  */
48344
48345 #ifdef __STDC__
48346 # include <limits.h>
48347 #else
48348 # include <assert.h>
48349 #endif
48350
48351 #undef $ac_func
48352
48353 /* Override any gcc2 internal prototype to avoid an error.  */
48354 #ifdef __cplusplus
48355 extern "C"
48356 {
48357 #endif
48358 /* We use char because int might match the return type of a gcc2
48359    builtin and then its argument prototype would still apply.  */
48360 char $ac_func ();
48361 /* The GNU C library defines this for functions which it implements
48362     to always fail with ENOSYS.  Some functions are actually named
48363     something starting with __ and the normal name is an alias.  */
48364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48365 choke me
48366 #else
48367 char (*f) () = $ac_func;
48368 #endif
48369 #ifdef __cplusplus
48370 }
48371 #endif
48372
48373 int
48374 main ()
48375 {
48376 return f != $ac_func;
48377   ;
48378   return 0;
48379 }
48380 _ACEOF
48381 rm -f conftest.$ac_objext conftest$ac_exeext
48382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48383   (eval $ac_link) 2>conftest.er1
48384   ac_status=$?
48385   grep -v '^ *+' conftest.er1 >conftest.err
48386   rm -f conftest.er1
48387   cat conftest.err >&5
48388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48389   (exit $ac_status); } &&
48390          { ac_try='test -z "$ac_c_werror_flag"
48391                          || test ! -s conftest.err'
48392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48393   (eval $ac_try) 2>&5
48394   ac_status=$?
48395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48396   (exit $ac_status); }; } &&
48397          { ac_try='test -s conftest$ac_exeext'
48398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48399   (eval $ac_try) 2>&5
48400   ac_status=$?
48401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48402   (exit $ac_status); }; }; then
48403   eval "$as_ac_var=yes"
48404 else
48405   echo "$as_me: failed program was:" >&5
48406 sed 's/^/| /' conftest.$ac_ext >&5
48407
48408 eval "$as_ac_var=no"
48409 fi
48410 rm -f conftest.err conftest.$ac_objext \
48411       conftest$ac_exeext conftest.$ac_ext
48412 fi
48413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48415 if test `eval echo '${'$as_ac_var'}'` = yes; then
48416   cat >>confdefs.h <<_ACEOF
48417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48418 _ACEOF
48419
48420 fi
48421 done
48422
48423   else
48424
48425   echo "$as_me:$LINENO: checking for _expf declaration" >&5
48426 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
48427   if test x${glibcxx_cv_func__expf_use+set} != xset; then
48428     if test "${glibcxx_cv_func__expf_use+set}" = set; then
48429   echo $ECHO_N "(cached) $ECHO_C" >&6
48430 else
48431
48432
48433
48434       ac_ext=cc
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48439
48440       cat >conftest.$ac_ext <<_ACEOF
48441 /* confdefs.h.  */
48442 _ACEOF
48443 cat confdefs.h >>conftest.$ac_ext
48444 cat >>conftest.$ac_ext <<_ACEOF
48445 /* end confdefs.h.  */
48446 #include <math.h>
48447                       #ifdef HAVE_IEEEFP_H
48448                       #include <ieeefp.h>
48449                       #endif
48450
48451 int
48452 main ()
48453 {
48454  _expf(0);
48455   ;
48456   return 0;
48457 }
48458 _ACEOF
48459 rm -f conftest.$ac_objext
48460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48461   (eval $ac_compile) 2>conftest.er1
48462   ac_status=$?
48463   grep -v '^ *+' conftest.er1 >conftest.err
48464   rm -f conftest.er1
48465   cat conftest.err >&5
48466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48467   (exit $ac_status); } &&
48468          { ac_try='test -z "$ac_cxx_werror_flag"
48469                          || test ! -s conftest.err'
48470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48471   (eval $ac_try) 2>&5
48472   ac_status=$?
48473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48474   (exit $ac_status); }; } &&
48475          { ac_try='test -s conftest.$ac_objext'
48476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48477   (eval $ac_try) 2>&5
48478   ac_status=$?
48479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480   (exit $ac_status); }; }; then
48481   glibcxx_cv_func__expf_use=yes
48482 else
48483   echo "$as_me: failed program was:" >&5
48484 sed 's/^/| /' conftest.$ac_ext >&5
48485
48486 glibcxx_cv_func__expf_use=no
48487 fi
48488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48489       ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494
48495
48496 fi
48497
48498   fi
48499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
48500 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
48501
48502     if test x$glibcxx_cv_func__expf_use = x"yes"; then
48503
48504 for ac_func in _expf
48505 do
48506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48507 echo "$as_me:$LINENO: checking for $ac_func" >&5
48508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48509 if eval "test \"\${$as_ac_var+set}\" = set"; then
48510   echo $ECHO_N "(cached) $ECHO_C" >&6
48511 else
48512   if test x$gcc_no_link = xyes; then
48513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48515    { (exit 1); exit 1; }; }
48516 fi
48517 cat >conftest.$ac_ext <<_ACEOF
48518 /* confdefs.h.  */
48519 _ACEOF
48520 cat confdefs.h >>conftest.$ac_ext
48521 cat >>conftest.$ac_ext <<_ACEOF
48522 /* end confdefs.h.  */
48523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48525 #define $ac_func innocuous_$ac_func
48526
48527 /* System header to define __stub macros and hopefully few prototypes,
48528     which can conflict with char $ac_func (); below.
48529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48530     <limits.h> exists even on freestanding compilers.  */
48531
48532 #ifdef __STDC__
48533 # include <limits.h>
48534 #else
48535 # include <assert.h>
48536 #endif
48537
48538 #undef $ac_func
48539
48540 /* Override any gcc2 internal prototype to avoid an error.  */
48541 #ifdef __cplusplus
48542 extern "C"
48543 {
48544 #endif
48545 /* We use char because int might match the return type of a gcc2
48546    builtin and then its argument prototype would still apply.  */
48547 char $ac_func ();
48548 /* The GNU C library defines this for functions which it implements
48549     to always fail with ENOSYS.  Some functions are actually named
48550     something starting with __ and the normal name is an alias.  */
48551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48552 choke me
48553 #else
48554 char (*f) () = $ac_func;
48555 #endif
48556 #ifdef __cplusplus
48557 }
48558 #endif
48559
48560 int
48561 main ()
48562 {
48563 return f != $ac_func;
48564   ;
48565   return 0;
48566 }
48567 _ACEOF
48568 rm -f conftest.$ac_objext conftest$ac_exeext
48569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48570   (eval $ac_link) 2>conftest.er1
48571   ac_status=$?
48572   grep -v '^ *+' conftest.er1 >conftest.err
48573   rm -f conftest.er1
48574   cat conftest.err >&5
48575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48576   (exit $ac_status); } &&
48577          { ac_try='test -z "$ac_c_werror_flag"
48578                          || test ! -s conftest.err'
48579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48580   (eval $ac_try) 2>&5
48581   ac_status=$?
48582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48583   (exit $ac_status); }; } &&
48584          { ac_try='test -s conftest$ac_exeext'
48585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48586   (eval $ac_try) 2>&5
48587   ac_status=$?
48588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589   (exit $ac_status); }; }; then
48590   eval "$as_ac_var=yes"
48591 else
48592   echo "$as_me: failed program was:" >&5
48593 sed 's/^/| /' conftest.$ac_ext >&5
48594
48595 eval "$as_ac_var=no"
48596 fi
48597 rm -f conftest.err conftest.$ac_objext \
48598       conftest$ac_exeext conftest.$ac_ext
48599 fi
48600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48602 if test `eval echo '${'$as_ac_var'}'` = yes; then
48603   cat >>confdefs.h <<_ACEOF
48604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48605 _ACEOF
48606
48607 fi
48608 done
48609
48610     fi
48611   fi
48612
48613
48614
48615
48616
48617
48618   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
48619 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
48620   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48621     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
48622   echo $ECHO_N "(cached) $ECHO_C" >&6
48623 else
48624
48625
48626
48627       ac_ext=cc
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632
48633       cat >conftest.$ac_ext <<_ACEOF
48634 /* confdefs.h.  */
48635 _ACEOF
48636 cat confdefs.h >>conftest.$ac_ext
48637 cat >>conftest.$ac_ext <<_ACEOF
48638 /* end confdefs.h.  */
48639 #include <math.h>
48640                       #ifdef HAVE_IEEEFP_H
48641                       #include <ieeefp.h>
48642                       #endif
48643
48644 int
48645 main ()
48646 {
48647  isnanf(0);
48648   ;
48649   return 0;
48650 }
48651 _ACEOF
48652 rm -f conftest.$ac_objext
48653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48654   (eval $ac_compile) 2>conftest.er1
48655   ac_status=$?
48656   grep -v '^ *+' conftest.er1 >conftest.err
48657   rm -f conftest.er1
48658   cat conftest.err >&5
48659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48660   (exit $ac_status); } &&
48661          { ac_try='test -z "$ac_cxx_werror_flag"
48662                          || test ! -s conftest.err'
48663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48664   (eval $ac_try) 2>&5
48665   ac_status=$?
48666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48667   (exit $ac_status); }; } &&
48668          { ac_try='test -s conftest.$ac_objext'
48669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48670   (eval $ac_try) 2>&5
48671   ac_status=$?
48672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48673   (exit $ac_status); }; }; then
48674   glibcxx_cv_func_isnanf_use=yes
48675 else
48676   echo "$as_me: failed program was:" >&5
48677 sed 's/^/| /' conftest.$ac_ext >&5
48678
48679 glibcxx_cv_func_isnanf_use=no
48680 fi
48681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48682       ac_ext=c
48683 ac_cpp='$CPP $CPPFLAGS'
48684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48687
48688
48689 fi
48690
48691   fi
48692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
48693 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
48694
48695   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48696
48697 for ac_func in isnanf
48698 do
48699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48700 echo "$as_me:$LINENO: checking for $ac_func" >&5
48701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48702 if eval "test \"\${$as_ac_var+set}\" = set"; then
48703   echo $ECHO_N "(cached) $ECHO_C" >&6
48704 else
48705   if test x$gcc_no_link = xyes; then
48706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48708    { (exit 1); exit 1; }; }
48709 fi
48710 cat >conftest.$ac_ext <<_ACEOF
48711 /* confdefs.h.  */
48712 _ACEOF
48713 cat confdefs.h >>conftest.$ac_ext
48714 cat >>conftest.$ac_ext <<_ACEOF
48715 /* end confdefs.h.  */
48716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48718 #define $ac_func innocuous_$ac_func
48719
48720 /* System header to define __stub macros and hopefully few prototypes,
48721     which can conflict with char $ac_func (); below.
48722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48723     <limits.h> exists even on freestanding compilers.  */
48724
48725 #ifdef __STDC__
48726 # include <limits.h>
48727 #else
48728 # include <assert.h>
48729 #endif
48730
48731 #undef $ac_func
48732
48733 /* Override any gcc2 internal prototype to avoid an error.  */
48734 #ifdef __cplusplus
48735 extern "C"
48736 {
48737 #endif
48738 /* We use char because int might match the return type of a gcc2
48739    builtin and then its argument prototype would still apply.  */
48740 char $ac_func ();
48741 /* The GNU C library defines this for functions which it implements
48742     to always fail with ENOSYS.  Some functions are actually named
48743     something starting with __ and the normal name is an alias.  */
48744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48745 choke me
48746 #else
48747 char (*f) () = $ac_func;
48748 #endif
48749 #ifdef __cplusplus
48750 }
48751 #endif
48752
48753 int
48754 main ()
48755 {
48756 return f != $ac_func;
48757   ;
48758   return 0;
48759 }
48760 _ACEOF
48761 rm -f conftest.$ac_objext conftest$ac_exeext
48762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48763   (eval $ac_link) 2>conftest.er1
48764   ac_status=$?
48765   grep -v '^ *+' conftest.er1 >conftest.err
48766   rm -f conftest.er1
48767   cat conftest.err >&5
48768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48769   (exit $ac_status); } &&
48770          { ac_try='test -z "$ac_c_werror_flag"
48771                          || test ! -s conftest.err'
48772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773   (eval $ac_try) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); }; } &&
48777          { ac_try='test -s conftest$ac_exeext'
48778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48779   (eval $ac_try) 2>&5
48780   ac_status=$?
48781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782   (exit $ac_status); }; }; then
48783   eval "$as_ac_var=yes"
48784 else
48785   echo "$as_me: failed program was:" >&5
48786 sed 's/^/| /' conftest.$ac_ext >&5
48787
48788 eval "$as_ac_var=no"
48789 fi
48790 rm -f conftest.err conftest.$ac_objext \
48791       conftest$ac_exeext conftest.$ac_ext
48792 fi
48793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48795 if test `eval echo '${'$as_ac_var'}'` = yes; then
48796   cat >>confdefs.h <<_ACEOF
48797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48798 _ACEOF
48799
48800 fi
48801 done
48802
48803   else
48804
48805   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
48806 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
48807   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48808     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
48809   echo $ECHO_N "(cached) $ECHO_C" >&6
48810 else
48811
48812
48813
48814       ac_ext=cc
48815 ac_cpp='$CXXCPP $CPPFLAGS'
48816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819
48820       cat >conftest.$ac_ext <<_ACEOF
48821 /* confdefs.h.  */
48822 _ACEOF
48823 cat confdefs.h >>conftest.$ac_ext
48824 cat >>conftest.$ac_ext <<_ACEOF
48825 /* end confdefs.h.  */
48826 #include <math.h>
48827                       #ifdef HAVE_IEEEFP_H
48828                       #include <ieeefp.h>
48829                       #endif
48830
48831 int
48832 main ()
48833 {
48834  _isnanf(0);
48835   ;
48836   return 0;
48837 }
48838 _ACEOF
48839 rm -f conftest.$ac_objext
48840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48841   (eval $ac_compile) 2>conftest.er1
48842   ac_status=$?
48843   grep -v '^ *+' conftest.er1 >conftest.err
48844   rm -f conftest.er1
48845   cat conftest.err >&5
48846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48847   (exit $ac_status); } &&
48848          { ac_try='test -z "$ac_cxx_werror_flag"
48849                          || test ! -s conftest.err'
48850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48851   (eval $ac_try) 2>&5
48852   ac_status=$?
48853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854   (exit $ac_status); }; } &&
48855          { ac_try='test -s conftest.$ac_objext'
48856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48857   (eval $ac_try) 2>&5
48858   ac_status=$?
48859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48860   (exit $ac_status); }; }; then
48861   glibcxx_cv_func__isnanf_use=yes
48862 else
48863   echo "$as_me: failed program was:" >&5
48864 sed 's/^/| /' conftest.$ac_ext >&5
48865
48866 glibcxx_cv_func__isnanf_use=no
48867 fi
48868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48869       ac_ext=c
48870 ac_cpp='$CPP $CPPFLAGS'
48871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48874
48875
48876 fi
48877
48878   fi
48879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
48880 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
48881
48882     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48883
48884 for ac_func in _isnanf
48885 do
48886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48887 echo "$as_me:$LINENO: checking for $ac_func" >&5
48888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48889 if eval "test \"\${$as_ac_var+set}\" = set"; then
48890   echo $ECHO_N "(cached) $ECHO_C" >&6
48891 else
48892   if test x$gcc_no_link = xyes; then
48893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48895    { (exit 1); exit 1; }; }
48896 fi
48897 cat >conftest.$ac_ext <<_ACEOF
48898 /* confdefs.h.  */
48899 _ACEOF
48900 cat confdefs.h >>conftest.$ac_ext
48901 cat >>conftest.$ac_ext <<_ACEOF
48902 /* end confdefs.h.  */
48903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48905 #define $ac_func innocuous_$ac_func
48906
48907 /* System header to define __stub macros and hopefully few prototypes,
48908     which can conflict with char $ac_func (); below.
48909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48910     <limits.h> exists even on freestanding compilers.  */
48911
48912 #ifdef __STDC__
48913 # include <limits.h>
48914 #else
48915 # include <assert.h>
48916 #endif
48917
48918 #undef $ac_func
48919
48920 /* Override any gcc2 internal prototype to avoid an error.  */
48921 #ifdef __cplusplus
48922 extern "C"
48923 {
48924 #endif
48925 /* We use char because int might match the return type of a gcc2
48926    builtin and then its argument prototype would still apply.  */
48927 char $ac_func ();
48928 /* The GNU C library defines this for functions which it implements
48929     to always fail with ENOSYS.  Some functions are actually named
48930     something starting with __ and the normal name is an alias.  */
48931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48932 choke me
48933 #else
48934 char (*f) () = $ac_func;
48935 #endif
48936 #ifdef __cplusplus
48937 }
48938 #endif
48939
48940 int
48941 main ()
48942 {
48943 return f != $ac_func;
48944   ;
48945   return 0;
48946 }
48947 _ACEOF
48948 rm -f conftest.$ac_objext conftest$ac_exeext
48949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48950   (eval $ac_link) 2>conftest.er1
48951   ac_status=$?
48952   grep -v '^ *+' conftest.er1 >conftest.err
48953   rm -f conftest.er1
48954   cat conftest.err >&5
48955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48956   (exit $ac_status); } &&
48957          { ac_try='test -z "$ac_c_werror_flag"
48958                          || test ! -s conftest.err'
48959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48960   (eval $ac_try) 2>&5
48961   ac_status=$?
48962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963   (exit $ac_status); }; } &&
48964          { ac_try='test -s conftest$ac_exeext'
48965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48966   (eval $ac_try) 2>&5
48967   ac_status=$?
48968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969   (exit $ac_status); }; }; then
48970   eval "$as_ac_var=yes"
48971 else
48972   echo "$as_me: failed program was:" >&5
48973 sed 's/^/| /' conftest.$ac_ext >&5
48974
48975 eval "$as_ac_var=no"
48976 fi
48977 rm -f conftest.err conftest.$ac_objext \
48978       conftest$ac_exeext conftest.$ac_ext
48979 fi
48980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48982 if test `eval echo '${'$as_ac_var'}'` = yes; then
48983   cat >>confdefs.h <<_ACEOF
48984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48985 _ACEOF
48986
48987 fi
48988 done
48989
48990     fi
48991   fi
48992
48993
48994
48995
48996
48997
48998   echo "$as_me:$LINENO: checking for isinff declaration" >&5
48999 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
49000   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49001     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
49002   echo $ECHO_N "(cached) $ECHO_C" >&6
49003 else
49004
49005
49006
49007       ac_ext=cc
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012
49013       cat >conftest.$ac_ext <<_ACEOF
49014 /* confdefs.h.  */
49015 _ACEOF
49016 cat confdefs.h >>conftest.$ac_ext
49017 cat >>conftest.$ac_ext <<_ACEOF
49018 /* end confdefs.h.  */
49019 #include <math.h>
49020                       #ifdef HAVE_IEEEFP_H
49021                       #include <ieeefp.h>
49022                       #endif
49023
49024 int
49025 main ()
49026 {
49027  isinff(0);
49028   ;
49029   return 0;
49030 }
49031 _ACEOF
49032 rm -f conftest.$ac_objext
49033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49034   (eval $ac_compile) 2>conftest.er1
49035   ac_status=$?
49036   grep -v '^ *+' conftest.er1 >conftest.err
49037   rm -f conftest.er1
49038   cat conftest.err >&5
49039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49040   (exit $ac_status); } &&
49041          { ac_try='test -z "$ac_cxx_werror_flag"
49042                          || test ! -s conftest.err'
49043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49044   (eval $ac_try) 2>&5
49045   ac_status=$?
49046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49047   (exit $ac_status); }; } &&
49048          { ac_try='test -s conftest.$ac_objext'
49049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49050   (eval $ac_try) 2>&5
49051   ac_status=$?
49052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49053   (exit $ac_status); }; }; then
49054   glibcxx_cv_func_isinff_use=yes
49055 else
49056   echo "$as_me: failed program was:" >&5
49057 sed 's/^/| /' conftest.$ac_ext >&5
49058
49059 glibcxx_cv_func_isinff_use=no
49060 fi
49061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49062       ac_ext=c
49063 ac_cpp='$CPP $CPPFLAGS'
49064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49067
49068
49069 fi
49070
49071   fi
49072   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
49073 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
49074
49075   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49076
49077 for ac_func in isinff
49078 do
49079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49080 echo "$as_me:$LINENO: checking for $ac_func" >&5
49081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49082 if eval "test \"\${$as_ac_var+set}\" = set"; then
49083   echo $ECHO_N "(cached) $ECHO_C" >&6
49084 else
49085   if test x$gcc_no_link = xyes; then
49086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49088    { (exit 1); exit 1; }; }
49089 fi
49090 cat >conftest.$ac_ext <<_ACEOF
49091 /* confdefs.h.  */
49092 _ACEOF
49093 cat confdefs.h >>conftest.$ac_ext
49094 cat >>conftest.$ac_ext <<_ACEOF
49095 /* end confdefs.h.  */
49096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49098 #define $ac_func innocuous_$ac_func
49099
49100 /* System header to define __stub macros and hopefully few prototypes,
49101     which can conflict with char $ac_func (); below.
49102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49103     <limits.h> exists even on freestanding compilers.  */
49104
49105 #ifdef __STDC__
49106 # include <limits.h>
49107 #else
49108 # include <assert.h>
49109 #endif
49110
49111 #undef $ac_func
49112
49113 /* Override any gcc2 internal prototype to avoid an error.  */
49114 #ifdef __cplusplus
49115 extern "C"
49116 {
49117 #endif
49118 /* We use char because int might match the return type of a gcc2
49119    builtin and then its argument prototype would still apply.  */
49120 char $ac_func ();
49121 /* The GNU C library defines this for functions which it implements
49122     to always fail with ENOSYS.  Some functions are actually named
49123     something starting with __ and the normal name is an alias.  */
49124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49125 choke me
49126 #else
49127 char (*f) () = $ac_func;
49128 #endif
49129 #ifdef __cplusplus
49130 }
49131 #endif
49132
49133 int
49134 main ()
49135 {
49136 return f != $ac_func;
49137   ;
49138   return 0;
49139 }
49140 _ACEOF
49141 rm -f conftest.$ac_objext conftest$ac_exeext
49142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49143   (eval $ac_link) 2>conftest.er1
49144   ac_status=$?
49145   grep -v '^ *+' conftest.er1 >conftest.err
49146   rm -f conftest.er1
49147   cat conftest.err >&5
49148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49149   (exit $ac_status); } &&
49150          { ac_try='test -z "$ac_c_werror_flag"
49151                          || test ! -s conftest.err'
49152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49153   (eval $ac_try) 2>&5
49154   ac_status=$?
49155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49156   (exit $ac_status); }; } &&
49157          { ac_try='test -s conftest$ac_exeext'
49158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49159   (eval $ac_try) 2>&5
49160   ac_status=$?
49161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162   (exit $ac_status); }; }; then
49163   eval "$as_ac_var=yes"
49164 else
49165   echo "$as_me: failed program was:" >&5
49166 sed 's/^/| /' conftest.$ac_ext >&5
49167
49168 eval "$as_ac_var=no"
49169 fi
49170 rm -f conftest.err conftest.$ac_objext \
49171       conftest$ac_exeext conftest.$ac_ext
49172 fi
49173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49175 if test `eval echo '${'$as_ac_var'}'` = yes; then
49176   cat >>confdefs.h <<_ACEOF
49177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49178 _ACEOF
49179
49180 fi
49181 done
49182
49183   else
49184
49185   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
49186 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
49187   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49188     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
49189   echo $ECHO_N "(cached) $ECHO_C" >&6
49190 else
49191
49192
49193
49194       ac_ext=cc
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199
49200       cat >conftest.$ac_ext <<_ACEOF
49201 /* confdefs.h.  */
49202 _ACEOF
49203 cat confdefs.h >>conftest.$ac_ext
49204 cat >>conftest.$ac_ext <<_ACEOF
49205 /* end confdefs.h.  */
49206 #include <math.h>
49207                       #ifdef HAVE_IEEEFP_H
49208                       #include <ieeefp.h>
49209                       #endif
49210
49211 int
49212 main ()
49213 {
49214  _isinff(0);
49215   ;
49216   return 0;
49217 }
49218 _ACEOF
49219 rm -f conftest.$ac_objext
49220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49221   (eval $ac_compile) 2>conftest.er1
49222   ac_status=$?
49223   grep -v '^ *+' conftest.er1 >conftest.err
49224   rm -f conftest.er1
49225   cat conftest.err >&5
49226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49227   (exit $ac_status); } &&
49228          { ac_try='test -z "$ac_cxx_werror_flag"
49229                          || test ! -s conftest.err'
49230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49231   (eval $ac_try) 2>&5
49232   ac_status=$?
49233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49234   (exit $ac_status); }; } &&
49235          { ac_try='test -s conftest.$ac_objext'
49236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49237   (eval $ac_try) 2>&5
49238   ac_status=$?
49239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49240   (exit $ac_status); }; }; then
49241   glibcxx_cv_func__isinff_use=yes
49242 else
49243   echo "$as_me: failed program was:" >&5
49244 sed 's/^/| /' conftest.$ac_ext >&5
49245
49246 glibcxx_cv_func__isinff_use=no
49247 fi
49248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49249       ac_ext=c
49250 ac_cpp='$CPP $CPPFLAGS'
49251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49254
49255
49256 fi
49257
49258   fi
49259   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
49260 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
49261
49262     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49263
49264 for ac_func in _isinff
49265 do
49266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49267 echo "$as_me:$LINENO: checking for $ac_func" >&5
49268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49269 if eval "test \"\${$as_ac_var+set}\" = set"; then
49270   echo $ECHO_N "(cached) $ECHO_C" >&6
49271 else
49272   if test x$gcc_no_link = xyes; then
49273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49275    { (exit 1); exit 1; }; }
49276 fi
49277 cat >conftest.$ac_ext <<_ACEOF
49278 /* confdefs.h.  */
49279 _ACEOF
49280 cat confdefs.h >>conftest.$ac_ext
49281 cat >>conftest.$ac_ext <<_ACEOF
49282 /* end confdefs.h.  */
49283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49285 #define $ac_func innocuous_$ac_func
49286
49287 /* System header to define __stub macros and hopefully few prototypes,
49288     which can conflict with char $ac_func (); below.
49289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49290     <limits.h> exists even on freestanding compilers.  */
49291
49292 #ifdef __STDC__
49293 # include <limits.h>
49294 #else
49295 # include <assert.h>
49296 #endif
49297
49298 #undef $ac_func
49299
49300 /* Override any gcc2 internal prototype to avoid an error.  */
49301 #ifdef __cplusplus
49302 extern "C"
49303 {
49304 #endif
49305 /* We use char because int might match the return type of a gcc2
49306    builtin and then its argument prototype would still apply.  */
49307 char $ac_func ();
49308 /* The GNU C library defines this for functions which it implements
49309     to always fail with ENOSYS.  Some functions are actually named
49310     something starting with __ and the normal name is an alias.  */
49311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49312 choke me
49313 #else
49314 char (*f) () = $ac_func;
49315 #endif
49316 #ifdef __cplusplus
49317 }
49318 #endif
49319
49320 int
49321 main ()
49322 {
49323 return f != $ac_func;
49324   ;
49325   return 0;
49326 }
49327 _ACEOF
49328 rm -f conftest.$ac_objext conftest$ac_exeext
49329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49330   (eval $ac_link) 2>conftest.er1
49331   ac_status=$?
49332   grep -v '^ *+' conftest.er1 >conftest.err
49333   rm -f conftest.er1
49334   cat conftest.err >&5
49335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49336   (exit $ac_status); } &&
49337          { ac_try='test -z "$ac_c_werror_flag"
49338                          || test ! -s conftest.err'
49339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49340   (eval $ac_try) 2>&5
49341   ac_status=$?
49342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49343   (exit $ac_status); }; } &&
49344          { ac_try='test -s conftest$ac_exeext'
49345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49346   (eval $ac_try) 2>&5
49347   ac_status=$?
49348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349   (exit $ac_status); }; }; then
49350   eval "$as_ac_var=yes"
49351 else
49352   echo "$as_me: failed program was:" >&5
49353 sed 's/^/| /' conftest.$ac_ext >&5
49354
49355 eval "$as_ac_var=no"
49356 fi
49357 rm -f conftest.err conftest.$ac_objext \
49358       conftest$ac_exeext conftest.$ac_ext
49359 fi
49360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49362 if test `eval echo '${'$as_ac_var'}'` = yes; then
49363   cat >>confdefs.h <<_ACEOF
49364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370     fi
49371   fi
49372
49373
49374
49375
49376
49377
49378   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
49379 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
49380   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49381     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
49382   echo $ECHO_N "(cached) $ECHO_C" >&6
49383 else
49384
49385
49386
49387       ac_ext=cc
49388 ac_cpp='$CXXCPP $CPPFLAGS'
49389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392
49393       cat >conftest.$ac_ext <<_ACEOF
49394 /* confdefs.h.  */
49395 _ACEOF
49396 cat confdefs.h >>conftest.$ac_ext
49397 cat >>conftest.$ac_ext <<_ACEOF
49398 /* end confdefs.h.  */
49399 #include <math.h>
49400 int
49401 main ()
49402 {
49403  atan2f(0, 0);
49404   ;
49405   return 0;
49406 }
49407 _ACEOF
49408 rm -f conftest.$ac_objext
49409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49410   (eval $ac_compile) 2>conftest.er1
49411   ac_status=$?
49412   grep -v '^ *+' conftest.er1 >conftest.err
49413   rm -f conftest.er1
49414   cat conftest.err >&5
49415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49416   (exit $ac_status); } &&
49417          { ac_try='test -z "$ac_cxx_werror_flag"
49418                          || test ! -s conftest.err'
49419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49420   (eval $ac_try) 2>&5
49421   ac_status=$?
49422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49423   (exit $ac_status); }; } &&
49424          { ac_try='test -s conftest.$ac_objext'
49425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49426   (eval $ac_try) 2>&5
49427   ac_status=$?
49428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429   (exit $ac_status); }; }; then
49430   glibcxx_cv_func_atan2f_use=yes
49431 else
49432   echo "$as_me: failed program was:" >&5
49433 sed 's/^/| /' conftest.$ac_ext >&5
49434
49435 glibcxx_cv_func_atan2f_use=no
49436 fi
49437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49438       ac_ext=c
49439 ac_cpp='$CPP $CPPFLAGS'
49440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49443
49444
49445 fi
49446
49447   fi
49448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
49449 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
49450
49451   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49452
49453 for ac_func in atan2f
49454 do
49455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49456 echo "$as_me:$LINENO: checking for $ac_func" >&5
49457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49458 if eval "test \"\${$as_ac_var+set}\" = set"; then
49459   echo $ECHO_N "(cached) $ECHO_C" >&6
49460 else
49461   if test x$gcc_no_link = xyes; then
49462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49464    { (exit 1); exit 1; }; }
49465 fi
49466 cat >conftest.$ac_ext <<_ACEOF
49467 /* confdefs.h.  */
49468 _ACEOF
49469 cat confdefs.h >>conftest.$ac_ext
49470 cat >>conftest.$ac_ext <<_ACEOF
49471 /* end confdefs.h.  */
49472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49474 #define $ac_func innocuous_$ac_func
49475
49476 /* System header to define __stub macros and hopefully few prototypes,
49477     which can conflict with char $ac_func (); below.
49478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49479     <limits.h> exists even on freestanding compilers.  */
49480
49481 #ifdef __STDC__
49482 # include <limits.h>
49483 #else
49484 # include <assert.h>
49485 #endif
49486
49487 #undef $ac_func
49488
49489 /* Override any gcc2 internal prototype to avoid an error.  */
49490 #ifdef __cplusplus
49491 extern "C"
49492 {
49493 #endif
49494 /* We use char because int might match the return type of a gcc2
49495    builtin and then its argument prototype would still apply.  */
49496 char $ac_func ();
49497 /* The GNU C library defines this for functions which it implements
49498     to always fail with ENOSYS.  Some functions are actually named
49499     something starting with __ and the normal name is an alias.  */
49500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49501 choke me
49502 #else
49503 char (*f) () = $ac_func;
49504 #endif
49505 #ifdef __cplusplus
49506 }
49507 #endif
49508
49509 int
49510 main ()
49511 {
49512 return f != $ac_func;
49513   ;
49514   return 0;
49515 }
49516 _ACEOF
49517 rm -f conftest.$ac_objext conftest$ac_exeext
49518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49519   (eval $ac_link) 2>conftest.er1
49520   ac_status=$?
49521   grep -v '^ *+' conftest.er1 >conftest.err
49522   rm -f conftest.er1
49523   cat conftest.err >&5
49524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49525   (exit $ac_status); } &&
49526          { ac_try='test -z "$ac_c_werror_flag"
49527                          || test ! -s conftest.err'
49528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49529   (eval $ac_try) 2>&5
49530   ac_status=$?
49531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49532   (exit $ac_status); }; } &&
49533          { ac_try='test -s conftest$ac_exeext'
49534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49535   (eval $ac_try) 2>&5
49536   ac_status=$?
49537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49538   (exit $ac_status); }; }; then
49539   eval "$as_ac_var=yes"
49540 else
49541   echo "$as_me: failed program was:" >&5
49542 sed 's/^/| /' conftest.$ac_ext >&5
49543
49544 eval "$as_ac_var=no"
49545 fi
49546 rm -f conftest.err conftest.$ac_objext \
49547       conftest$ac_exeext conftest.$ac_ext
49548 fi
49549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49551 if test `eval echo '${'$as_ac_var'}'` = yes; then
49552   cat >>confdefs.h <<_ACEOF
49553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49554 _ACEOF
49555
49556 fi
49557 done
49558
49559   else
49560
49561   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
49562 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
49563   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49564     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
49565   echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567
49568
49569
49570       ac_ext=cc
49571 ac_cpp='$CXXCPP $CPPFLAGS'
49572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49575
49576       cat >conftest.$ac_ext <<_ACEOF
49577 /* confdefs.h.  */
49578 _ACEOF
49579 cat confdefs.h >>conftest.$ac_ext
49580 cat >>conftest.$ac_ext <<_ACEOF
49581 /* end confdefs.h.  */
49582 #include <math.h>
49583 int
49584 main ()
49585 {
49586  _atan2f(0, 0);
49587   ;
49588   return 0;
49589 }
49590 _ACEOF
49591 rm -f conftest.$ac_objext
49592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49593   (eval $ac_compile) 2>conftest.er1
49594   ac_status=$?
49595   grep -v '^ *+' conftest.er1 >conftest.err
49596   rm -f conftest.er1
49597   cat conftest.err >&5
49598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49599   (exit $ac_status); } &&
49600          { ac_try='test -z "$ac_cxx_werror_flag"
49601                          || test ! -s conftest.err'
49602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49603   (eval $ac_try) 2>&5
49604   ac_status=$?
49605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606   (exit $ac_status); }; } &&
49607          { ac_try='test -s conftest.$ac_objext'
49608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49609   (eval $ac_try) 2>&5
49610   ac_status=$?
49611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49612   (exit $ac_status); }; }; then
49613   glibcxx_cv_func__atan2f_use=yes
49614 else
49615   echo "$as_me: failed program was:" >&5
49616 sed 's/^/| /' conftest.$ac_ext >&5
49617
49618 glibcxx_cv_func__atan2f_use=no
49619 fi
49620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49621       ac_ext=c
49622 ac_cpp='$CPP $CPPFLAGS'
49623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49626
49627
49628 fi
49629
49630   fi
49631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
49632 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
49633
49634     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49635
49636 for ac_func in _atan2f
49637 do
49638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49639 echo "$as_me:$LINENO: checking for $ac_func" >&5
49640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49641 if eval "test \"\${$as_ac_var+set}\" = set"; then
49642   echo $ECHO_N "(cached) $ECHO_C" >&6
49643 else
49644   if test x$gcc_no_link = xyes; then
49645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49647    { (exit 1); exit 1; }; }
49648 fi
49649 cat >conftest.$ac_ext <<_ACEOF
49650 /* confdefs.h.  */
49651 _ACEOF
49652 cat confdefs.h >>conftest.$ac_ext
49653 cat >>conftest.$ac_ext <<_ACEOF
49654 /* end confdefs.h.  */
49655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49657 #define $ac_func innocuous_$ac_func
49658
49659 /* System header to define __stub macros and hopefully few prototypes,
49660     which can conflict with char $ac_func (); below.
49661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49662     <limits.h> exists even on freestanding compilers.  */
49663
49664 #ifdef __STDC__
49665 # include <limits.h>
49666 #else
49667 # include <assert.h>
49668 #endif
49669
49670 #undef $ac_func
49671
49672 /* Override any gcc2 internal prototype to avoid an error.  */
49673 #ifdef __cplusplus
49674 extern "C"
49675 {
49676 #endif
49677 /* We use char because int might match the return type of a gcc2
49678    builtin and then its argument prototype would still apply.  */
49679 char $ac_func ();
49680 /* The GNU C library defines this for functions which it implements
49681     to always fail with ENOSYS.  Some functions are actually named
49682     something starting with __ and the normal name is an alias.  */
49683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49684 choke me
49685 #else
49686 char (*f) () = $ac_func;
49687 #endif
49688 #ifdef __cplusplus
49689 }
49690 #endif
49691
49692 int
49693 main ()
49694 {
49695 return f != $ac_func;
49696   ;
49697   return 0;
49698 }
49699 _ACEOF
49700 rm -f conftest.$ac_objext conftest$ac_exeext
49701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49702   (eval $ac_link) 2>conftest.er1
49703   ac_status=$?
49704   grep -v '^ *+' conftest.er1 >conftest.err
49705   rm -f conftest.er1
49706   cat conftest.err >&5
49707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49708   (exit $ac_status); } &&
49709          { ac_try='test -z "$ac_c_werror_flag"
49710                          || test ! -s conftest.err'
49711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49712   (eval $ac_try) 2>&5
49713   ac_status=$?
49714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715   (exit $ac_status); }; } &&
49716          { ac_try='test -s conftest$ac_exeext'
49717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49718   (eval $ac_try) 2>&5
49719   ac_status=$?
49720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721   (exit $ac_status); }; }; then
49722   eval "$as_ac_var=yes"
49723 else
49724   echo "$as_me: failed program was:" >&5
49725 sed 's/^/| /' conftest.$ac_ext >&5
49726
49727 eval "$as_ac_var=no"
49728 fi
49729 rm -f conftest.err conftest.$ac_objext \
49730       conftest$ac_exeext conftest.$ac_ext
49731 fi
49732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49734 if test `eval echo '${'$as_ac_var'}'` = yes; then
49735   cat >>confdefs.h <<_ACEOF
49736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49737 _ACEOF
49738
49739 fi
49740 done
49741
49742     fi
49743   fi
49744
49745
49746
49747
49748
49749
49750   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
49751 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
49752   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49753     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
49754   echo $ECHO_N "(cached) $ECHO_C" >&6
49755 else
49756
49757
49758
49759       ac_ext=cc
49760 ac_cpp='$CXXCPP $CPPFLAGS'
49761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764
49765       cat >conftest.$ac_ext <<_ACEOF
49766 /* confdefs.h.  */
49767 _ACEOF
49768 cat confdefs.h >>conftest.$ac_ext
49769 cat >>conftest.$ac_ext <<_ACEOF
49770 /* end confdefs.h.  */
49771 #include <math.h>
49772                       #ifdef HAVE_IEEEFP_H
49773                       #include <ieeefp.h>
49774                       #endif
49775
49776 int
49777 main ()
49778 {
49779  fabsf(0);
49780   ;
49781   return 0;
49782 }
49783 _ACEOF
49784 rm -f conftest.$ac_objext
49785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49786   (eval $ac_compile) 2>conftest.er1
49787   ac_status=$?
49788   grep -v '^ *+' conftest.er1 >conftest.err
49789   rm -f conftest.er1
49790   cat conftest.err >&5
49791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49792   (exit $ac_status); } &&
49793          { ac_try='test -z "$ac_cxx_werror_flag"
49794                          || test ! -s conftest.err'
49795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49796   (eval $ac_try) 2>&5
49797   ac_status=$?
49798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799   (exit $ac_status); }; } &&
49800          { ac_try='test -s conftest.$ac_objext'
49801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49802   (eval $ac_try) 2>&5
49803   ac_status=$?
49804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49805   (exit $ac_status); }; }; then
49806   glibcxx_cv_func_fabsf_use=yes
49807 else
49808   echo "$as_me: failed program was:" >&5
49809 sed 's/^/| /' conftest.$ac_ext >&5
49810
49811 glibcxx_cv_func_fabsf_use=no
49812 fi
49813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49814       ac_ext=c
49815 ac_cpp='$CPP $CPPFLAGS'
49816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49819
49820
49821 fi
49822
49823   fi
49824   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
49825 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
49826
49827   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49828
49829 for ac_func in fabsf
49830 do
49831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49832 echo "$as_me:$LINENO: checking for $ac_func" >&5
49833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49834 if eval "test \"\${$as_ac_var+set}\" = set"; then
49835   echo $ECHO_N "(cached) $ECHO_C" >&6
49836 else
49837   if test x$gcc_no_link = xyes; then
49838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49840    { (exit 1); exit 1; }; }
49841 fi
49842 cat >conftest.$ac_ext <<_ACEOF
49843 /* confdefs.h.  */
49844 _ACEOF
49845 cat confdefs.h >>conftest.$ac_ext
49846 cat >>conftest.$ac_ext <<_ACEOF
49847 /* end confdefs.h.  */
49848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49850 #define $ac_func innocuous_$ac_func
49851
49852 /* System header to define __stub macros and hopefully few prototypes,
49853     which can conflict with char $ac_func (); below.
49854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49855     <limits.h> exists even on freestanding compilers.  */
49856
49857 #ifdef __STDC__
49858 # include <limits.h>
49859 #else
49860 # include <assert.h>
49861 #endif
49862
49863 #undef $ac_func
49864
49865 /* Override any gcc2 internal prototype to avoid an error.  */
49866 #ifdef __cplusplus
49867 extern "C"
49868 {
49869 #endif
49870 /* We use char because int might match the return type of a gcc2
49871    builtin and then its argument prototype would still apply.  */
49872 char $ac_func ();
49873 /* The GNU C library defines this for functions which it implements
49874     to always fail with ENOSYS.  Some functions are actually named
49875     something starting with __ and the normal name is an alias.  */
49876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49877 choke me
49878 #else
49879 char (*f) () = $ac_func;
49880 #endif
49881 #ifdef __cplusplus
49882 }
49883 #endif
49884
49885 int
49886 main ()
49887 {
49888 return f != $ac_func;
49889   ;
49890   return 0;
49891 }
49892 _ACEOF
49893 rm -f conftest.$ac_objext conftest$ac_exeext
49894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49895   (eval $ac_link) 2>conftest.er1
49896   ac_status=$?
49897   grep -v '^ *+' conftest.er1 >conftest.err
49898   rm -f conftest.er1
49899   cat conftest.err >&5
49900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49901   (exit $ac_status); } &&
49902          { ac_try='test -z "$ac_c_werror_flag"
49903                          || test ! -s conftest.err'
49904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49905   (eval $ac_try) 2>&5
49906   ac_status=$?
49907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49908   (exit $ac_status); }; } &&
49909          { ac_try='test -s conftest$ac_exeext'
49910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49911   (eval $ac_try) 2>&5
49912   ac_status=$?
49913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49914   (exit $ac_status); }; }; then
49915   eval "$as_ac_var=yes"
49916 else
49917   echo "$as_me: failed program was:" >&5
49918 sed 's/^/| /' conftest.$ac_ext >&5
49919
49920 eval "$as_ac_var=no"
49921 fi
49922 rm -f conftest.err conftest.$ac_objext \
49923       conftest$ac_exeext conftest.$ac_ext
49924 fi
49925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49927 if test `eval echo '${'$as_ac_var'}'` = yes; then
49928   cat >>confdefs.h <<_ACEOF
49929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49930 _ACEOF
49931
49932 fi
49933 done
49934
49935   else
49936
49937   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49938 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49939   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49940     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49941   echo $ECHO_N "(cached) $ECHO_C" >&6
49942 else
49943
49944
49945
49946       ac_ext=cc
49947 ac_cpp='$CXXCPP $CPPFLAGS'
49948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49951
49952       cat >conftest.$ac_ext <<_ACEOF
49953 /* confdefs.h.  */
49954 _ACEOF
49955 cat confdefs.h >>conftest.$ac_ext
49956 cat >>conftest.$ac_ext <<_ACEOF
49957 /* end confdefs.h.  */
49958 #include <math.h>
49959                       #ifdef HAVE_IEEEFP_H
49960                       #include <ieeefp.h>
49961                       #endif
49962
49963 int
49964 main ()
49965 {
49966  _fabsf(0);
49967   ;
49968   return 0;
49969 }
49970 _ACEOF
49971 rm -f conftest.$ac_objext
49972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49973   (eval $ac_compile) 2>conftest.er1
49974   ac_status=$?
49975   grep -v '^ *+' conftest.er1 >conftest.err
49976   rm -f conftest.er1
49977   cat conftest.err >&5
49978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49979   (exit $ac_status); } &&
49980          { ac_try='test -z "$ac_cxx_werror_flag"
49981                          || test ! -s conftest.err'
49982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49983   (eval $ac_try) 2>&5
49984   ac_status=$?
49985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49986   (exit $ac_status); }; } &&
49987          { ac_try='test -s conftest.$ac_objext'
49988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49989   (eval $ac_try) 2>&5
49990   ac_status=$?
49991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49992   (exit $ac_status); }; }; then
49993   glibcxx_cv_func__fabsf_use=yes
49994 else
49995   echo "$as_me: failed program was:" >&5
49996 sed 's/^/| /' conftest.$ac_ext >&5
49997
49998 glibcxx_cv_func__fabsf_use=no
49999 fi
50000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50001       ac_ext=c
50002 ac_cpp='$CPP $CPPFLAGS'
50003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50006
50007
50008 fi
50009
50010   fi
50011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
50012 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
50013
50014     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50015
50016 for ac_func in _fabsf
50017 do
50018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50019 echo "$as_me:$LINENO: checking for $ac_func" >&5
50020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50021 if eval "test \"\${$as_ac_var+set}\" = set"; then
50022   echo $ECHO_N "(cached) $ECHO_C" >&6
50023 else
50024   if test x$gcc_no_link = xyes; then
50025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50027    { (exit 1); exit 1; }; }
50028 fi
50029 cat >conftest.$ac_ext <<_ACEOF
50030 /* confdefs.h.  */
50031 _ACEOF
50032 cat confdefs.h >>conftest.$ac_ext
50033 cat >>conftest.$ac_ext <<_ACEOF
50034 /* end confdefs.h.  */
50035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50037 #define $ac_func innocuous_$ac_func
50038
50039 /* System header to define __stub macros and hopefully few prototypes,
50040     which can conflict with char $ac_func (); below.
50041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50042     <limits.h> exists even on freestanding compilers.  */
50043
50044 #ifdef __STDC__
50045 # include <limits.h>
50046 #else
50047 # include <assert.h>
50048 #endif
50049
50050 #undef $ac_func
50051
50052 /* Override any gcc2 internal prototype to avoid an error.  */
50053 #ifdef __cplusplus
50054 extern "C"
50055 {
50056 #endif
50057 /* We use char because int might match the return type of a gcc2
50058    builtin and then its argument prototype would still apply.  */
50059 char $ac_func ();
50060 /* The GNU C library defines this for functions which it implements
50061     to always fail with ENOSYS.  Some functions are actually named
50062     something starting with __ and the normal name is an alias.  */
50063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50064 choke me
50065 #else
50066 char (*f) () = $ac_func;
50067 #endif
50068 #ifdef __cplusplus
50069 }
50070 #endif
50071
50072 int
50073 main ()
50074 {
50075 return f != $ac_func;
50076   ;
50077   return 0;
50078 }
50079 _ACEOF
50080 rm -f conftest.$ac_objext conftest$ac_exeext
50081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50082   (eval $ac_link) 2>conftest.er1
50083   ac_status=$?
50084   grep -v '^ *+' conftest.er1 >conftest.err
50085   rm -f conftest.er1
50086   cat conftest.err >&5
50087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50088   (exit $ac_status); } &&
50089          { ac_try='test -z "$ac_c_werror_flag"
50090                          || test ! -s conftest.err'
50091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50092   (eval $ac_try) 2>&5
50093   ac_status=$?
50094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095   (exit $ac_status); }; } &&
50096          { ac_try='test -s conftest$ac_exeext'
50097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50098   (eval $ac_try) 2>&5
50099   ac_status=$?
50100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101   (exit $ac_status); }; }; then
50102   eval "$as_ac_var=yes"
50103 else
50104   echo "$as_me: failed program was:" >&5
50105 sed 's/^/| /' conftest.$ac_ext >&5
50106
50107 eval "$as_ac_var=no"
50108 fi
50109 rm -f conftest.err conftest.$ac_objext \
50110       conftest$ac_exeext conftest.$ac_ext
50111 fi
50112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50114 if test `eval echo '${'$as_ac_var'}'` = yes; then
50115   cat >>confdefs.h <<_ACEOF
50116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50117 _ACEOF
50118
50119 fi
50120 done
50121
50122     fi
50123   fi
50124
50125
50126
50127
50128
50129
50130   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
50131 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
50132   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50133     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
50134   echo $ECHO_N "(cached) $ECHO_C" >&6
50135 else
50136
50137
50138
50139       ac_ext=cc
50140 ac_cpp='$CXXCPP $CPPFLAGS'
50141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50144
50145       cat >conftest.$ac_ext <<_ACEOF
50146 /* confdefs.h.  */
50147 _ACEOF
50148 cat confdefs.h >>conftest.$ac_ext
50149 cat >>conftest.$ac_ext <<_ACEOF
50150 /* end confdefs.h.  */
50151 #include <math.h>
50152 int
50153 main ()
50154 {
50155  fmodf(0, 0);
50156   ;
50157   return 0;
50158 }
50159 _ACEOF
50160 rm -f conftest.$ac_objext
50161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50162   (eval $ac_compile) 2>conftest.er1
50163   ac_status=$?
50164   grep -v '^ *+' conftest.er1 >conftest.err
50165   rm -f conftest.er1
50166   cat conftest.err >&5
50167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50168   (exit $ac_status); } &&
50169          { ac_try='test -z "$ac_cxx_werror_flag"
50170                          || test ! -s conftest.err'
50171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50172   (eval $ac_try) 2>&5
50173   ac_status=$?
50174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50175   (exit $ac_status); }; } &&
50176          { ac_try='test -s conftest.$ac_objext'
50177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50178   (eval $ac_try) 2>&5
50179   ac_status=$?
50180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50181   (exit $ac_status); }; }; then
50182   glibcxx_cv_func_fmodf_use=yes
50183 else
50184   echo "$as_me: failed program was:" >&5
50185 sed 's/^/| /' conftest.$ac_ext >&5
50186
50187 glibcxx_cv_func_fmodf_use=no
50188 fi
50189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50190       ac_ext=c
50191 ac_cpp='$CPP $CPPFLAGS'
50192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50195
50196
50197 fi
50198
50199   fi
50200   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
50201 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
50202
50203   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50204
50205 for ac_func in fmodf
50206 do
50207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50208 echo "$as_me:$LINENO: checking for $ac_func" >&5
50209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50210 if eval "test \"\${$as_ac_var+set}\" = set"; then
50211   echo $ECHO_N "(cached) $ECHO_C" >&6
50212 else
50213   if test x$gcc_no_link = xyes; then
50214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50216    { (exit 1); exit 1; }; }
50217 fi
50218 cat >conftest.$ac_ext <<_ACEOF
50219 /* confdefs.h.  */
50220 _ACEOF
50221 cat confdefs.h >>conftest.$ac_ext
50222 cat >>conftest.$ac_ext <<_ACEOF
50223 /* end confdefs.h.  */
50224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50226 #define $ac_func innocuous_$ac_func
50227
50228 /* System header to define __stub macros and hopefully few prototypes,
50229     which can conflict with char $ac_func (); below.
50230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50231     <limits.h> exists even on freestanding compilers.  */
50232
50233 #ifdef __STDC__
50234 # include <limits.h>
50235 #else
50236 # include <assert.h>
50237 #endif
50238
50239 #undef $ac_func
50240
50241 /* Override any gcc2 internal prototype to avoid an error.  */
50242 #ifdef __cplusplus
50243 extern "C"
50244 {
50245 #endif
50246 /* We use char because int might match the return type of a gcc2
50247    builtin and then its argument prototype would still apply.  */
50248 char $ac_func ();
50249 /* The GNU C library defines this for functions which it implements
50250     to always fail with ENOSYS.  Some functions are actually named
50251     something starting with __ and the normal name is an alias.  */
50252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50253 choke me
50254 #else
50255 char (*f) () = $ac_func;
50256 #endif
50257 #ifdef __cplusplus
50258 }
50259 #endif
50260
50261 int
50262 main ()
50263 {
50264 return f != $ac_func;
50265   ;
50266   return 0;
50267 }
50268 _ACEOF
50269 rm -f conftest.$ac_objext conftest$ac_exeext
50270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50271   (eval $ac_link) 2>conftest.er1
50272   ac_status=$?
50273   grep -v '^ *+' conftest.er1 >conftest.err
50274   rm -f conftest.er1
50275   cat conftest.err >&5
50276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50277   (exit $ac_status); } &&
50278          { ac_try='test -z "$ac_c_werror_flag"
50279                          || test ! -s conftest.err'
50280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50281   (eval $ac_try) 2>&5
50282   ac_status=$?
50283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284   (exit $ac_status); }; } &&
50285          { ac_try='test -s conftest$ac_exeext'
50286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50287   (eval $ac_try) 2>&5
50288   ac_status=$?
50289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50290   (exit $ac_status); }; }; then
50291   eval "$as_ac_var=yes"
50292 else
50293   echo "$as_me: failed program was:" >&5
50294 sed 's/^/| /' conftest.$ac_ext >&5
50295
50296 eval "$as_ac_var=no"
50297 fi
50298 rm -f conftest.err conftest.$ac_objext \
50299       conftest$ac_exeext conftest.$ac_ext
50300 fi
50301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50303 if test `eval echo '${'$as_ac_var'}'` = yes; then
50304   cat >>confdefs.h <<_ACEOF
50305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50306 _ACEOF
50307
50308 fi
50309 done
50310
50311   else
50312
50313   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
50314 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
50315   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50316     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
50317   echo $ECHO_N "(cached) $ECHO_C" >&6
50318 else
50319
50320
50321
50322       ac_ext=cc
50323 ac_cpp='$CXXCPP $CPPFLAGS'
50324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50327
50328       cat >conftest.$ac_ext <<_ACEOF
50329 /* confdefs.h.  */
50330 _ACEOF
50331 cat confdefs.h >>conftest.$ac_ext
50332 cat >>conftest.$ac_ext <<_ACEOF
50333 /* end confdefs.h.  */
50334 #include <math.h>
50335 int
50336 main ()
50337 {
50338  _fmodf(0, 0);
50339   ;
50340   return 0;
50341 }
50342 _ACEOF
50343 rm -f conftest.$ac_objext
50344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50345   (eval $ac_compile) 2>conftest.er1
50346   ac_status=$?
50347   grep -v '^ *+' conftest.er1 >conftest.err
50348   rm -f conftest.er1
50349   cat conftest.err >&5
50350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50351   (exit $ac_status); } &&
50352          { ac_try='test -z "$ac_cxx_werror_flag"
50353                          || test ! -s conftest.err'
50354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50355   (eval $ac_try) 2>&5
50356   ac_status=$?
50357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50358   (exit $ac_status); }; } &&
50359          { ac_try='test -s conftest.$ac_objext'
50360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50361   (eval $ac_try) 2>&5
50362   ac_status=$?
50363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50364   (exit $ac_status); }; }; then
50365   glibcxx_cv_func__fmodf_use=yes
50366 else
50367   echo "$as_me: failed program was:" >&5
50368 sed 's/^/| /' conftest.$ac_ext >&5
50369
50370 glibcxx_cv_func__fmodf_use=no
50371 fi
50372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50373       ac_ext=c
50374 ac_cpp='$CPP $CPPFLAGS'
50375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50378
50379
50380 fi
50381
50382   fi
50383   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
50384 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
50385
50386     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50387
50388 for ac_func in _fmodf
50389 do
50390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50391 echo "$as_me:$LINENO: checking for $ac_func" >&5
50392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50393 if eval "test \"\${$as_ac_var+set}\" = set"; then
50394   echo $ECHO_N "(cached) $ECHO_C" >&6
50395 else
50396   if test x$gcc_no_link = xyes; then
50397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50399    { (exit 1); exit 1; }; }
50400 fi
50401 cat >conftest.$ac_ext <<_ACEOF
50402 /* confdefs.h.  */
50403 _ACEOF
50404 cat confdefs.h >>conftest.$ac_ext
50405 cat >>conftest.$ac_ext <<_ACEOF
50406 /* end confdefs.h.  */
50407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50409 #define $ac_func innocuous_$ac_func
50410
50411 /* System header to define __stub macros and hopefully few prototypes,
50412     which can conflict with char $ac_func (); below.
50413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50414     <limits.h> exists even on freestanding compilers.  */
50415
50416 #ifdef __STDC__
50417 # include <limits.h>
50418 #else
50419 # include <assert.h>
50420 #endif
50421
50422 #undef $ac_func
50423
50424 /* Override any gcc2 internal prototype to avoid an error.  */
50425 #ifdef __cplusplus
50426 extern "C"
50427 {
50428 #endif
50429 /* We use char because int might match the return type of a gcc2
50430    builtin and then its argument prototype would still apply.  */
50431 char $ac_func ();
50432 /* The GNU C library defines this for functions which it implements
50433     to always fail with ENOSYS.  Some functions are actually named
50434     something starting with __ and the normal name is an alias.  */
50435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50436 choke me
50437 #else
50438 char (*f) () = $ac_func;
50439 #endif
50440 #ifdef __cplusplus
50441 }
50442 #endif
50443
50444 int
50445 main ()
50446 {
50447 return f != $ac_func;
50448   ;
50449   return 0;
50450 }
50451 _ACEOF
50452 rm -f conftest.$ac_objext conftest$ac_exeext
50453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50454   (eval $ac_link) 2>conftest.er1
50455   ac_status=$?
50456   grep -v '^ *+' conftest.er1 >conftest.err
50457   rm -f conftest.er1
50458   cat conftest.err >&5
50459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50460   (exit $ac_status); } &&
50461          { ac_try='test -z "$ac_c_werror_flag"
50462                          || test ! -s conftest.err'
50463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50464   (eval $ac_try) 2>&5
50465   ac_status=$?
50466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50467   (exit $ac_status); }; } &&
50468          { ac_try='test -s conftest$ac_exeext'
50469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50470   (eval $ac_try) 2>&5
50471   ac_status=$?
50472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50473   (exit $ac_status); }; }; then
50474   eval "$as_ac_var=yes"
50475 else
50476   echo "$as_me: failed program was:" >&5
50477 sed 's/^/| /' conftest.$ac_ext >&5
50478
50479 eval "$as_ac_var=no"
50480 fi
50481 rm -f conftest.err conftest.$ac_objext \
50482       conftest$ac_exeext conftest.$ac_ext
50483 fi
50484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50486 if test `eval echo '${'$as_ac_var'}'` = yes; then
50487   cat >>confdefs.h <<_ACEOF
50488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50489 _ACEOF
50490
50491 fi
50492 done
50493
50494     fi
50495   fi
50496
50497
50498
50499
50500
50501
50502   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
50503 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
50504   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50505     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
50506   echo $ECHO_N "(cached) $ECHO_C" >&6
50507 else
50508
50509
50510
50511       ac_ext=cc
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50516
50517       cat >conftest.$ac_ext <<_ACEOF
50518 /* confdefs.h.  */
50519 _ACEOF
50520 cat confdefs.h >>conftest.$ac_ext
50521 cat >>conftest.$ac_ext <<_ACEOF
50522 /* end confdefs.h.  */
50523 #include <math.h>
50524 int
50525 main ()
50526 {
50527  frexpf(0, 0);
50528   ;
50529   return 0;
50530 }
50531 _ACEOF
50532 rm -f conftest.$ac_objext
50533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50534   (eval $ac_compile) 2>conftest.er1
50535   ac_status=$?
50536   grep -v '^ *+' conftest.er1 >conftest.err
50537   rm -f conftest.er1
50538   cat conftest.err >&5
50539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50540   (exit $ac_status); } &&
50541          { ac_try='test -z "$ac_cxx_werror_flag"
50542                          || test ! -s conftest.err'
50543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50544   (eval $ac_try) 2>&5
50545   ac_status=$?
50546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50547   (exit $ac_status); }; } &&
50548          { ac_try='test -s conftest.$ac_objext'
50549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50550   (eval $ac_try) 2>&5
50551   ac_status=$?
50552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50553   (exit $ac_status); }; }; then
50554   glibcxx_cv_func_frexpf_use=yes
50555 else
50556   echo "$as_me: failed program was:" >&5
50557 sed 's/^/| /' conftest.$ac_ext >&5
50558
50559 glibcxx_cv_func_frexpf_use=no
50560 fi
50561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50562       ac_ext=c
50563 ac_cpp='$CPP $CPPFLAGS'
50564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567
50568
50569 fi
50570
50571   fi
50572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
50573 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
50574
50575   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50576
50577 for ac_func in frexpf
50578 do
50579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50580 echo "$as_me:$LINENO: checking for $ac_func" >&5
50581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50582 if eval "test \"\${$as_ac_var+set}\" = set"; then
50583   echo $ECHO_N "(cached) $ECHO_C" >&6
50584 else
50585   if test x$gcc_no_link = xyes; then
50586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50588    { (exit 1); exit 1; }; }
50589 fi
50590 cat >conftest.$ac_ext <<_ACEOF
50591 /* confdefs.h.  */
50592 _ACEOF
50593 cat confdefs.h >>conftest.$ac_ext
50594 cat >>conftest.$ac_ext <<_ACEOF
50595 /* end confdefs.h.  */
50596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50598 #define $ac_func innocuous_$ac_func
50599
50600 /* System header to define __stub macros and hopefully few prototypes,
50601     which can conflict with char $ac_func (); below.
50602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50603     <limits.h> exists even on freestanding compilers.  */
50604
50605 #ifdef __STDC__
50606 # include <limits.h>
50607 #else
50608 # include <assert.h>
50609 #endif
50610
50611 #undef $ac_func
50612
50613 /* Override any gcc2 internal prototype to avoid an error.  */
50614 #ifdef __cplusplus
50615 extern "C"
50616 {
50617 #endif
50618 /* We use char because int might match the return type of a gcc2
50619    builtin and then its argument prototype would still apply.  */
50620 char $ac_func ();
50621 /* The GNU C library defines this for functions which it implements
50622     to always fail with ENOSYS.  Some functions are actually named
50623     something starting with __ and the normal name is an alias.  */
50624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50625 choke me
50626 #else
50627 char (*f) () = $ac_func;
50628 #endif
50629 #ifdef __cplusplus
50630 }
50631 #endif
50632
50633 int
50634 main ()
50635 {
50636 return f != $ac_func;
50637   ;
50638   return 0;
50639 }
50640 _ACEOF
50641 rm -f conftest.$ac_objext conftest$ac_exeext
50642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50643   (eval $ac_link) 2>conftest.er1
50644   ac_status=$?
50645   grep -v '^ *+' conftest.er1 >conftest.err
50646   rm -f conftest.er1
50647   cat conftest.err >&5
50648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50649   (exit $ac_status); } &&
50650          { ac_try='test -z "$ac_c_werror_flag"
50651                          || test ! -s conftest.err'
50652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50653   (eval $ac_try) 2>&5
50654   ac_status=$?
50655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50656   (exit $ac_status); }; } &&
50657          { ac_try='test -s conftest$ac_exeext'
50658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50659   (eval $ac_try) 2>&5
50660   ac_status=$?
50661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50662   (exit $ac_status); }; }; then
50663   eval "$as_ac_var=yes"
50664 else
50665   echo "$as_me: failed program was:" >&5
50666 sed 's/^/| /' conftest.$ac_ext >&5
50667
50668 eval "$as_ac_var=no"
50669 fi
50670 rm -f conftest.err conftest.$ac_objext \
50671       conftest$ac_exeext conftest.$ac_ext
50672 fi
50673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50675 if test `eval echo '${'$as_ac_var'}'` = yes; then
50676   cat >>confdefs.h <<_ACEOF
50677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50678 _ACEOF
50679
50680 fi
50681 done
50682
50683   else
50684
50685   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
50686 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
50687   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50688     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
50689   echo $ECHO_N "(cached) $ECHO_C" >&6
50690 else
50691
50692
50693
50694       ac_ext=cc
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50699
50700       cat >conftest.$ac_ext <<_ACEOF
50701 /* confdefs.h.  */
50702 _ACEOF
50703 cat confdefs.h >>conftest.$ac_ext
50704 cat >>conftest.$ac_ext <<_ACEOF
50705 /* end confdefs.h.  */
50706 #include <math.h>
50707 int
50708 main ()
50709 {
50710  _frexpf(0, 0);
50711   ;
50712   return 0;
50713 }
50714 _ACEOF
50715 rm -f conftest.$ac_objext
50716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50717   (eval $ac_compile) 2>conftest.er1
50718   ac_status=$?
50719   grep -v '^ *+' conftest.er1 >conftest.err
50720   rm -f conftest.er1
50721   cat conftest.err >&5
50722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50723   (exit $ac_status); } &&
50724          { ac_try='test -z "$ac_cxx_werror_flag"
50725                          || test ! -s conftest.err'
50726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50727   (eval $ac_try) 2>&5
50728   ac_status=$?
50729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730   (exit $ac_status); }; } &&
50731          { ac_try='test -s conftest.$ac_objext'
50732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50733   (eval $ac_try) 2>&5
50734   ac_status=$?
50735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50736   (exit $ac_status); }; }; then
50737   glibcxx_cv_func__frexpf_use=yes
50738 else
50739   echo "$as_me: failed program was:" >&5
50740 sed 's/^/| /' conftest.$ac_ext >&5
50741
50742 glibcxx_cv_func__frexpf_use=no
50743 fi
50744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50745       ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50750
50751
50752 fi
50753
50754   fi
50755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
50756 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
50757
50758     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50759
50760 for ac_func in _frexpf
50761 do
50762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50763 echo "$as_me:$LINENO: checking for $ac_func" >&5
50764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50765 if eval "test \"\${$as_ac_var+set}\" = set"; then
50766   echo $ECHO_N "(cached) $ECHO_C" >&6
50767 else
50768   if test x$gcc_no_link = xyes; then
50769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50771    { (exit 1); exit 1; }; }
50772 fi
50773 cat >conftest.$ac_ext <<_ACEOF
50774 /* confdefs.h.  */
50775 _ACEOF
50776 cat confdefs.h >>conftest.$ac_ext
50777 cat >>conftest.$ac_ext <<_ACEOF
50778 /* end confdefs.h.  */
50779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50781 #define $ac_func innocuous_$ac_func
50782
50783 /* System header to define __stub macros and hopefully few prototypes,
50784     which can conflict with char $ac_func (); below.
50785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50786     <limits.h> exists even on freestanding compilers.  */
50787
50788 #ifdef __STDC__
50789 # include <limits.h>
50790 #else
50791 # include <assert.h>
50792 #endif
50793
50794 #undef $ac_func
50795
50796 /* Override any gcc2 internal prototype to avoid an error.  */
50797 #ifdef __cplusplus
50798 extern "C"
50799 {
50800 #endif
50801 /* We use char because int might match the return type of a gcc2
50802    builtin and then its argument prototype would still apply.  */
50803 char $ac_func ();
50804 /* The GNU C library defines this for functions which it implements
50805     to always fail with ENOSYS.  Some functions are actually named
50806     something starting with __ and the normal name is an alias.  */
50807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50808 choke me
50809 #else
50810 char (*f) () = $ac_func;
50811 #endif
50812 #ifdef __cplusplus
50813 }
50814 #endif
50815
50816 int
50817 main ()
50818 {
50819 return f != $ac_func;
50820   ;
50821   return 0;
50822 }
50823 _ACEOF
50824 rm -f conftest.$ac_objext conftest$ac_exeext
50825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50826   (eval $ac_link) 2>conftest.er1
50827   ac_status=$?
50828   grep -v '^ *+' conftest.er1 >conftest.err
50829   rm -f conftest.er1
50830   cat conftest.err >&5
50831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50832   (exit $ac_status); } &&
50833          { ac_try='test -z "$ac_c_werror_flag"
50834                          || test ! -s conftest.err'
50835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50836   (eval $ac_try) 2>&5
50837   ac_status=$?
50838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50839   (exit $ac_status); }; } &&
50840          { ac_try='test -s conftest$ac_exeext'
50841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50842   (eval $ac_try) 2>&5
50843   ac_status=$?
50844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50845   (exit $ac_status); }; }; then
50846   eval "$as_ac_var=yes"
50847 else
50848   echo "$as_me: failed program was:" >&5
50849 sed 's/^/| /' conftest.$ac_ext >&5
50850
50851 eval "$as_ac_var=no"
50852 fi
50853 rm -f conftest.err conftest.$ac_objext \
50854       conftest$ac_exeext conftest.$ac_ext
50855 fi
50856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50858 if test `eval echo '${'$as_ac_var'}'` = yes; then
50859   cat >>confdefs.h <<_ACEOF
50860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50861 _ACEOF
50862
50863 fi
50864 done
50865
50866     fi
50867   fi
50868
50869
50870
50871
50872
50873
50874   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
50875 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
50876   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50877     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
50878   echo $ECHO_N "(cached) $ECHO_C" >&6
50879 else
50880
50881
50882
50883       ac_ext=cc
50884 ac_cpp='$CXXCPP $CPPFLAGS'
50885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50888
50889       cat >conftest.$ac_ext <<_ACEOF
50890 /* confdefs.h.  */
50891 _ACEOF
50892 cat confdefs.h >>conftest.$ac_ext
50893 cat >>conftest.$ac_ext <<_ACEOF
50894 /* end confdefs.h.  */
50895 #include <math.h>
50896 int
50897 main ()
50898 {
50899  hypotf(0, 0);
50900   ;
50901   return 0;
50902 }
50903 _ACEOF
50904 rm -f conftest.$ac_objext
50905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50906   (eval $ac_compile) 2>conftest.er1
50907   ac_status=$?
50908   grep -v '^ *+' conftest.er1 >conftest.err
50909   rm -f conftest.er1
50910   cat conftest.err >&5
50911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50912   (exit $ac_status); } &&
50913          { ac_try='test -z "$ac_cxx_werror_flag"
50914                          || test ! -s conftest.err'
50915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50916   (eval $ac_try) 2>&5
50917   ac_status=$?
50918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50919   (exit $ac_status); }; } &&
50920          { ac_try='test -s conftest.$ac_objext'
50921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50922   (eval $ac_try) 2>&5
50923   ac_status=$?
50924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50925   (exit $ac_status); }; }; then
50926   glibcxx_cv_func_hypotf_use=yes
50927 else
50928   echo "$as_me: failed program was:" >&5
50929 sed 's/^/| /' conftest.$ac_ext >&5
50930
50931 glibcxx_cv_func_hypotf_use=no
50932 fi
50933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50934       ac_ext=c
50935 ac_cpp='$CPP $CPPFLAGS'
50936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50939
50940
50941 fi
50942
50943   fi
50944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50945 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50946
50947   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50948
50949 for ac_func in hypotf
50950 do
50951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50952 echo "$as_me:$LINENO: checking for $ac_func" >&5
50953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50954 if eval "test \"\${$as_ac_var+set}\" = set"; then
50955   echo $ECHO_N "(cached) $ECHO_C" >&6
50956 else
50957   if test x$gcc_no_link = xyes; then
50958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50960    { (exit 1); exit 1; }; }
50961 fi
50962 cat >conftest.$ac_ext <<_ACEOF
50963 /* confdefs.h.  */
50964 _ACEOF
50965 cat confdefs.h >>conftest.$ac_ext
50966 cat >>conftest.$ac_ext <<_ACEOF
50967 /* end confdefs.h.  */
50968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50970 #define $ac_func innocuous_$ac_func
50971
50972 /* System header to define __stub macros and hopefully few prototypes,
50973     which can conflict with char $ac_func (); below.
50974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50975     <limits.h> exists even on freestanding compilers.  */
50976
50977 #ifdef __STDC__
50978 # include <limits.h>
50979 #else
50980 # include <assert.h>
50981 #endif
50982
50983 #undef $ac_func
50984
50985 /* Override any gcc2 internal prototype to avoid an error.  */
50986 #ifdef __cplusplus
50987 extern "C"
50988 {
50989 #endif
50990 /* We use char because int might match the return type of a gcc2
50991    builtin and then its argument prototype would still apply.  */
50992 char $ac_func ();
50993 /* The GNU C library defines this for functions which it implements
50994     to always fail with ENOSYS.  Some functions are actually named
50995     something starting with __ and the normal name is an alias.  */
50996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50997 choke me
50998 #else
50999 char (*f) () = $ac_func;
51000 #endif
51001 #ifdef __cplusplus
51002 }
51003 #endif
51004
51005 int
51006 main ()
51007 {
51008 return f != $ac_func;
51009   ;
51010   return 0;
51011 }
51012 _ACEOF
51013 rm -f conftest.$ac_objext conftest$ac_exeext
51014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51015   (eval $ac_link) 2>conftest.er1
51016   ac_status=$?
51017   grep -v '^ *+' conftest.er1 >conftest.err
51018   rm -f conftest.er1
51019   cat conftest.err >&5
51020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51021   (exit $ac_status); } &&
51022          { ac_try='test -z "$ac_c_werror_flag"
51023                          || test ! -s conftest.err'
51024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51025   (eval $ac_try) 2>&5
51026   ac_status=$?
51027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51028   (exit $ac_status); }; } &&
51029          { ac_try='test -s conftest$ac_exeext'
51030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51031   (eval $ac_try) 2>&5
51032   ac_status=$?
51033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51034   (exit $ac_status); }; }; then
51035   eval "$as_ac_var=yes"
51036 else
51037   echo "$as_me: failed program was:" >&5
51038 sed 's/^/| /' conftest.$ac_ext >&5
51039
51040 eval "$as_ac_var=no"
51041 fi
51042 rm -f conftest.err conftest.$ac_objext \
51043       conftest$ac_exeext conftest.$ac_ext
51044 fi
51045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51047 if test `eval echo '${'$as_ac_var'}'` = yes; then
51048   cat >>confdefs.h <<_ACEOF
51049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51050 _ACEOF
51051
51052 fi
51053 done
51054
51055   else
51056
51057   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
51058 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
51059   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
51060     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
51061   echo $ECHO_N "(cached) $ECHO_C" >&6
51062 else
51063
51064
51065
51066       ac_ext=cc
51067 ac_cpp='$CXXCPP $CPPFLAGS'
51068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071
51072       cat >conftest.$ac_ext <<_ACEOF
51073 /* confdefs.h.  */
51074 _ACEOF
51075 cat confdefs.h >>conftest.$ac_ext
51076 cat >>conftest.$ac_ext <<_ACEOF
51077 /* end confdefs.h.  */
51078 #include <math.h>
51079 int
51080 main ()
51081 {
51082  _hypotf(0, 0);
51083   ;
51084   return 0;
51085 }
51086 _ACEOF
51087 rm -f conftest.$ac_objext
51088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51089   (eval $ac_compile) 2>conftest.er1
51090   ac_status=$?
51091   grep -v '^ *+' conftest.er1 >conftest.err
51092   rm -f conftest.er1
51093   cat conftest.err >&5
51094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51095   (exit $ac_status); } &&
51096          { ac_try='test -z "$ac_cxx_werror_flag"
51097                          || test ! -s conftest.err'
51098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099   (eval $ac_try) 2>&5
51100   ac_status=$?
51101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102   (exit $ac_status); }; } &&
51103          { ac_try='test -s conftest.$ac_objext'
51104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51105   (eval $ac_try) 2>&5
51106   ac_status=$?
51107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51108   (exit $ac_status); }; }; then
51109   glibcxx_cv_func__hypotf_use=yes
51110 else
51111   echo "$as_me: failed program was:" >&5
51112 sed 's/^/| /' conftest.$ac_ext >&5
51113
51114 glibcxx_cv_func__hypotf_use=no
51115 fi
51116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51117       ac_ext=c
51118 ac_cpp='$CPP $CPPFLAGS'
51119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51122
51123
51124 fi
51125
51126   fi
51127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
51128 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
51129
51130     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
51131
51132 for ac_func in _hypotf
51133 do
51134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51135 echo "$as_me:$LINENO: checking for $ac_func" >&5
51136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51137 if eval "test \"\${$as_ac_var+set}\" = set"; then
51138   echo $ECHO_N "(cached) $ECHO_C" >&6
51139 else
51140   if test x$gcc_no_link = xyes; then
51141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51143    { (exit 1); exit 1; }; }
51144 fi
51145 cat >conftest.$ac_ext <<_ACEOF
51146 /* confdefs.h.  */
51147 _ACEOF
51148 cat confdefs.h >>conftest.$ac_ext
51149 cat >>conftest.$ac_ext <<_ACEOF
51150 /* end confdefs.h.  */
51151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51153 #define $ac_func innocuous_$ac_func
51154
51155 /* System header to define __stub macros and hopefully few prototypes,
51156     which can conflict with char $ac_func (); below.
51157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51158     <limits.h> exists even on freestanding compilers.  */
51159
51160 #ifdef __STDC__
51161 # include <limits.h>
51162 #else
51163 # include <assert.h>
51164 #endif
51165
51166 #undef $ac_func
51167
51168 /* Override any gcc2 internal prototype to avoid an error.  */
51169 #ifdef __cplusplus
51170 extern "C"
51171 {
51172 #endif
51173 /* We use char because int might match the return type of a gcc2
51174    builtin and then its argument prototype would still apply.  */
51175 char $ac_func ();
51176 /* The GNU C library defines this for functions which it implements
51177     to always fail with ENOSYS.  Some functions are actually named
51178     something starting with __ and the normal name is an alias.  */
51179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51180 choke me
51181 #else
51182 char (*f) () = $ac_func;
51183 #endif
51184 #ifdef __cplusplus
51185 }
51186 #endif
51187
51188 int
51189 main ()
51190 {
51191 return f != $ac_func;
51192   ;
51193   return 0;
51194 }
51195 _ACEOF
51196 rm -f conftest.$ac_objext conftest$ac_exeext
51197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51198   (eval $ac_link) 2>conftest.er1
51199   ac_status=$?
51200   grep -v '^ *+' conftest.er1 >conftest.err
51201   rm -f conftest.er1
51202   cat conftest.err >&5
51203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51204   (exit $ac_status); } &&
51205          { ac_try='test -z "$ac_c_werror_flag"
51206                          || test ! -s conftest.err'
51207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51208   (eval $ac_try) 2>&5
51209   ac_status=$?
51210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51211   (exit $ac_status); }; } &&
51212          { ac_try='test -s conftest$ac_exeext'
51213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51214   (eval $ac_try) 2>&5
51215   ac_status=$?
51216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51217   (exit $ac_status); }; }; then
51218   eval "$as_ac_var=yes"
51219 else
51220   echo "$as_me: failed program was:" >&5
51221 sed 's/^/| /' conftest.$ac_ext >&5
51222
51223 eval "$as_ac_var=no"
51224 fi
51225 rm -f conftest.err conftest.$ac_objext \
51226       conftest$ac_exeext conftest.$ac_ext
51227 fi
51228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51230 if test `eval echo '${'$as_ac_var'}'` = yes; then
51231   cat >>confdefs.h <<_ACEOF
51232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51233 _ACEOF
51234
51235 fi
51236 done
51237
51238     fi
51239   fi
51240
51241
51242
51243
51244
51245
51246   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
51247 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
51248   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
51249     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
51250   echo $ECHO_N "(cached) $ECHO_C" >&6
51251 else
51252
51253
51254
51255       ac_ext=cc
51256 ac_cpp='$CXXCPP $CPPFLAGS'
51257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51260
51261       cat >conftest.$ac_ext <<_ACEOF
51262 /* confdefs.h.  */
51263 _ACEOF
51264 cat confdefs.h >>conftest.$ac_ext
51265 cat >>conftest.$ac_ext <<_ACEOF
51266 /* end confdefs.h.  */
51267 #include <math.h>
51268 int
51269 main ()
51270 {
51271  ldexpf(0, 0);
51272   ;
51273   return 0;
51274 }
51275 _ACEOF
51276 rm -f conftest.$ac_objext
51277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51278   (eval $ac_compile) 2>conftest.er1
51279   ac_status=$?
51280   grep -v '^ *+' conftest.er1 >conftest.err
51281   rm -f conftest.er1
51282   cat conftest.err >&5
51283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284   (exit $ac_status); } &&
51285          { ac_try='test -z "$ac_cxx_werror_flag"
51286                          || test ! -s conftest.err'
51287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288   (eval $ac_try) 2>&5
51289   ac_status=$?
51290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291   (exit $ac_status); }; } &&
51292          { ac_try='test -s conftest.$ac_objext'
51293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51294   (eval $ac_try) 2>&5
51295   ac_status=$?
51296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297   (exit $ac_status); }; }; then
51298   glibcxx_cv_func_ldexpf_use=yes
51299 else
51300   echo "$as_me: failed program was:" >&5
51301 sed 's/^/| /' conftest.$ac_ext >&5
51302
51303 glibcxx_cv_func_ldexpf_use=no
51304 fi
51305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51306       ac_ext=c
51307 ac_cpp='$CPP $CPPFLAGS'
51308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51311
51312
51313 fi
51314
51315   fi
51316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
51317 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
51318
51319   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
51320
51321 for ac_func in ldexpf
51322 do
51323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51324 echo "$as_me:$LINENO: checking for $ac_func" >&5
51325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51326 if eval "test \"\${$as_ac_var+set}\" = set"; then
51327   echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329   if test x$gcc_no_link = xyes; then
51330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51332    { (exit 1); exit 1; }; }
51333 fi
51334 cat >conftest.$ac_ext <<_ACEOF
51335 /* confdefs.h.  */
51336 _ACEOF
51337 cat confdefs.h >>conftest.$ac_ext
51338 cat >>conftest.$ac_ext <<_ACEOF
51339 /* end confdefs.h.  */
51340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51342 #define $ac_func innocuous_$ac_func
51343
51344 /* System header to define __stub macros and hopefully few prototypes,
51345     which can conflict with char $ac_func (); below.
51346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51347     <limits.h> exists even on freestanding compilers.  */
51348
51349 #ifdef __STDC__
51350 # include <limits.h>
51351 #else
51352 # include <assert.h>
51353 #endif
51354
51355 #undef $ac_func
51356
51357 /* Override any gcc2 internal prototype to avoid an error.  */
51358 #ifdef __cplusplus
51359 extern "C"
51360 {
51361 #endif
51362 /* We use char because int might match the return type of a gcc2
51363    builtin and then its argument prototype would still apply.  */
51364 char $ac_func ();
51365 /* The GNU C library defines this for functions which it implements
51366     to always fail with ENOSYS.  Some functions are actually named
51367     something starting with __ and the normal name is an alias.  */
51368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51369 choke me
51370 #else
51371 char (*f) () = $ac_func;
51372 #endif
51373 #ifdef __cplusplus
51374 }
51375 #endif
51376
51377 int
51378 main ()
51379 {
51380 return f != $ac_func;
51381   ;
51382   return 0;
51383 }
51384 _ACEOF
51385 rm -f conftest.$ac_objext conftest$ac_exeext
51386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51387   (eval $ac_link) 2>conftest.er1
51388   ac_status=$?
51389   grep -v '^ *+' conftest.er1 >conftest.err
51390   rm -f conftest.er1
51391   cat conftest.err >&5
51392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51393   (exit $ac_status); } &&
51394          { ac_try='test -z "$ac_c_werror_flag"
51395                          || test ! -s conftest.err'
51396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51397   (eval $ac_try) 2>&5
51398   ac_status=$?
51399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51400   (exit $ac_status); }; } &&
51401          { ac_try='test -s conftest$ac_exeext'
51402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51403   (eval $ac_try) 2>&5
51404   ac_status=$?
51405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406   (exit $ac_status); }; }; then
51407   eval "$as_ac_var=yes"
51408 else
51409   echo "$as_me: failed program was:" >&5
51410 sed 's/^/| /' conftest.$ac_ext >&5
51411
51412 eval "$as_ac_var=no"
51413 fi
51414 rm -f conftest.err conftest.$ac_objext \
51415       conftest$ac_exeext conftest.$ac_ext
51416 fi
51417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51419 if test `eval echo '${'$as_ac_var'}'` = yes; then
51420   cat >>confdefs.h <<_ACEOF
51421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51422 _ACEOF
51423
51424 fi
51425 done
51426
51427   else
51428
51429   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
51430 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
51431   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
51432     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
51433   echo $ECHO_N "(cached) $ECHO_C" >&6
51434 else
51435
51436
51437
51438       ac_ext=cc
51439 ac_cpp='$CXXCPP $CPPFLAGS'
51440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51443
51444       cat >conftest.$ac_ext <<_ACEOF
51445 /* confdefs.h.  */
51446 _ACEOF
51447 cat confdefs.h >>conftest.$ac_ext
51448 cat >>conftest.$ac_ext <<_ACEOF
51449 /* end confdefs.h.  */
51450 #include <math.h>
51451 int
51452 main ()
51453 {
51454  _ldexpf(0, 0);
51455   ;
51456   return 0;
51457 }
51458 _ACEOF
51459 rm -f conftest.$ac_objext
51460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51461   (eval $ac_compile) 2>conftest.er1
51462   ac_status=$?
51463   grep -v '^ *+' conftest.er1 >conftest.err
51464   rm -f conftest.er1
51465   cat conftest.err >&5
51466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51467   (exit $ac_status); } &&
51468          { ac_try='test -z "$ac_cxx_werror_flag"
51469                          || test ! -s conftest.err'
51470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51471   (eval $ac_try) 2>&5
51472   ac_status=$?
51473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51474   (exit $ac_status); }; } &&
51475          { ac_try='test -s conftest.$ac_objext'
51476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51477   (eval $ac_try) 2>&5
51478   ac_status=$?
51479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51480   (exit $ac_status); }; }; then
51481   glibcxx_cv_func__ldexpf_use=yes
51482 else
51483   echo "$as_me: failed program was:" >&5
51484 sed 's/^/| /' conftest.$ac_ext >&5
51485
51486 glibcxx_cv_func__ldexpf_use=no
51487 fi
51488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51489       ac_ext=c
51490 ac_cpp='$CPP $CPPFLAGS'
51491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51494
51495
51496 fi
51497
51498   fi
51499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
51500 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
51501
51502     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51503
51504 for ac_func in _ldexpf
51505 do
51506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51507 echo "$as_me:$LINENO: checking for $ac_func" >&5
51508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51509 if eval "test \"\${$as_ac_var+set}\" = set"; then
51510   echo $ECHO_N "(cached) $ECHO_C" >&6
51511 else
51512   if test x$gcc_no_link = xyes; then
51513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51515    { (exit 1); exit 1; }; }
51516 fi
51517 cat >conftest.$ac_ext <<_ACEOF
51518 /* confdefs.h.  */
51519 _ACEOF
51520 cat confdefs.h >>conftest.$ac_ext
51521 cat >>conftest.$ac_ext <<_ACEOF
51522 /* end confdefs.h.  */
51523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51525 #define $ac_func innocuous_$ac_func
51526
51527 /* System header to define __stub macros and hopefully few prototypes,
51528     which can conflict with char $ac_func (); below.
51529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51530     <limits.h> exists even on freestanding compilers.  */
51531
51532 #ifdef __STDC__
51533 # include <limits.h>
51534 #else
51535 # include <assert.h>
51536 #endif
51537
51538 #undef $ac_func
51539
51540 /* Override any gcc2 internal prototype to avoid an error.  */
51541 #ifdef __cplusplus
51542 extern "C"
51543 {
51544 #endif
51545 /* We use char because int might match the return type of a gcc2
51546    builtin and then its argument prototype would still apply.  */
51547 char $ac_func ();
51548 /* The GNU C library defines this for functions which it implements
51549     to always fail with ENOSYS.  Some functions are actually named
51550     something starting with __ and the normal name is an alias.  */
51551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51552 choke me
51553 #else
51554 char (*f) () = $ac_func;
51555 #endif
51556 #ifdef __cplusplus
51557 }
51558 #endif
51559
51560 int
51561 main ()
51562 {
51563 return f != $ac_func;
51564   ;
51565   return 0;
51566 }
51567 _ACEOF
51568 rm -f conftest.$ac_objext conftest$ac_exeext
51569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51570   (eval $ac_link) 2>conftest.er1
51571   ac_status=$?
51572   grep -v '^ *+' conftest.er1 >conftest.err
51573   rm -f conftest.er1
51574   cat conftest.err >&5
51575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51576   (exit $ac_status); } &&
51577          { ac_try='test -z "$ac_c_werror_flag"
51578                          || test ! -s conftest.err'
51579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51580   (eval $ac_try) 2>&5
51581   ac_status=$?
51582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51583   (exit $ac_status); }; } &&
51584          { ac_try='test -s conftest$ac_exeext'
51585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586   (eval $ac_try) 2>&5
51587   ac_status=$?
51588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589   (exit $ac_status); }; }; then
51590   eval "$as_ac_var=yes"
51591 else
51592   echo "$as_me: failed program was:" >&5
51593 sed 's/^/| /' conftest.$ac_ext >&5
51594
51595 eval "$as_ac_var=no"
51596 fi
51597 rm -f conftest.err conftest.$ac_objext \
51598       conftest$ac_exeext conftest.$ac_ext
51599 fi
51600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51602 if test `eval echo '${'$as_ac_var'}'` = yes; then
51603   cat >>confdefs.h <<_ACEOF
51604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51605 _ACEOF
51606
51607 fi
51608 done
51609
51610     fi
51611   fi
51612
51613
51614
51615
51616
51617
51618   echo "$as_me:$LINENO: checking for logf declaration" >&5
51619 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
51620   if test x${glibcxx_cv_func_logf_use+set} != xset; then
51621     if test "${glibcxx_cv_func_logf_use+set}" = set; then
51622   echo $ECHO_N "(cached) $ECHO_C" >&6
51623 else
51624
51625
51626
51627       ac_ext=cc
51628 ac_cpp='$CXXCPP $CPPFLAGS'
51629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51632
51633       cat >conftest.$ac_ext <<_ACEOF
51634 /* confdefs.h.  */
51635 _ACEOF
51636 cat confdefs.h >>conftest.$ac_ext
51637 cat >>conftest.$ac_ext <<_ACEOF
51638 /* end confdefs.h.  */
51639 #include <math.h>
51640                       #ifdef HAVE_IEEEFP_H
51641                       #include <ieeefp.h>
51642                       #endif
51643
51644 int
51645 main ()
51646 {
51647  logf(0);
51648   ;
51649   return 0;
51650 }
51651 _ACEOF
51652 rm -f conftest.$ac_objext
51653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51654   (eval $ac_compile) 2>conftest.er1
51655   ac_status=$?
51656   grep -v '^ *+' conftest.er1 >conftest.err
51657   rm -f conftest.er1
51658   cat conftest.err >&5
51659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51660   (exit $ac_status); } &&
51661          { ac_try='test -z "$ac_cxx_werror_flag"
51662                          || test ! -s conftest.err'
51663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51664   (eval $ac_try) 2>&5
51665   ac_status=$?
51666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51667   (exit $ac_status); }; } &&
51668          { ac_try='test -s conftest.$ac_objext'
51669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51670   (eval $ac_try) 2>&5
51671   ac_status=$?
51672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51673   (exit $ac_status); }; }; then
51674   glibcxx_cv_func_logf_use=yes
51675 else
51676   echo "$as_me: failed program was:" >&5
51677 sed 's/^/| /' conftest.$ac_ext >&5
51678
51679 glibcxx_cv_func_logf_use=no
51680 fi
51681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51682       ac_ext=c
51683 ac_cpp='$CPP $CPPFLAGS'
51684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687
51688
51689 fi
51690
51691   fi
51692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
51693 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
51694
51695   if test x$glibcxx_cv_func_logf_use = x"yes"; then
51696
51697 for ac_func in logf
51698 do
51699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51700 echo "$as_me:$LINENO: checking for $ac_func" >&5
51701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51702 if eval "test \"\${$as_ac_var+set}\" = set"; then
51703   echo $ECHO_N "(cached) $ECHO_C" >&6
51704 else
51705   if test x$gcc_no_link = xyes; then
51706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51708    { (exit 1); exit 1; }; }
51709 fi
51710 cat >conftest.$ac_ext <<_ACEOF
51711 /* confdefs.h.  */
51712 _ACEOF
51713 cat confdefs.h >>conftest.$ac_ext
51714 cat >>conftest.$ac_ext <<_ACEOF
51715 /* end confdefs.h.  */
51716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51718 #define $ac_func innocuous_$ac_func
51719
51720 /* System header to define __stub macros and hopefully few prototypes,
51721     which can conflict with char $ac_func (); below.
51722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51723     <limits.h> exists even on freestanding compilers.  */
51724
51725 #ifdef __STDC__
51726 # include <limits.h>
51727 #else
51728 # include <assert.h>
51729 #endif
51730
51731 #undef $ac_func
51732
51733 /* Override any gcc2 internal prototype to avoid an error.  */
51734 #ifdef __cplusplus
51735 extern "C"
51736 {
51737 #endif
51738 /* We use char because int might match the return type of a gcc2
51739    builtin and then its argument prototype would still apply.  */
51740 char $ac_func ();
51741 /* The GNU C library defines this for functions which it implements
51742     to always fail with ENOSYS.  Some functions are actually named
51743     something starting with __ and the normal name is an alias.  */
51744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51745 choke me
51746 #else
51747 char (*f) () = $ac_func;
51748 #endif
51749 #ifdef __cplusplus
51750 }
51751 #endif
51752
51753 int
51754 main ()
51755 {
51756 return f != $ac_func;
51757   ;
51758   return 0;
51759 }
51760 _ACEOF
51761 rm -f conftest.$ac_objext conftest$ac_exeext
51762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51763   (eval $ac_link) 2>conftest.er1
51764   ac_status=$?
51765   grep -v '^ *+' conftest.er1 >conftest.err
51766   rm -f conftest.er1
51767   cat conftest.err >&5
51768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51769   (exit $ac_status); } &&
51770          { ac_try='test -z "$ac_c_werror_flag"
51771                          || test ! -s conftest.err'
51772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51773   (eval $ac_try) 2>&5
51774   ac_status=$?
51775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776   (exit $ac_status); }; } &&
51777          { ac_try='test -s conftest$ac_exeext'
51778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51779   (eval $ac_try) 2>&5
51780   ac_status=$?
51781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51782   (exit $ac_status); }; }; then
51783   eval "$as_ac_var=yes"
51784 else
51785   echo "$as_me: failed program was:" >&5
51786 sed 's/^/| /' conftest.$ac_ext >&5
51787
51788 eval "$as_ac_var=no"
51789 fi
51790 rm -f conftest.err conftest.$ac_objext \
51791       conftest$ac_exeext conftest.$ac_ext
51792 fi
51793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51795 if test `eval echo '${'$as_ac_var'}'` = yes; then
51796   cat >>confdefs.h <<_ACEOF
51797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51798 _ACEOF
51799
51800 fi
51801 done
51802
51803   else
51804
51805   echo "$as_me:$LINENO: checking for _logf declaration" >&5
51806 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
51807   if test x${glibcxx_cv_func__logf_use+set} != xset; then
51808     if test "${glibcxx_cv_func__logf_use+set}" = set; then
51809   echo $ECHO_N "(cached) $ECHO_C" >&6
51810 else
51811
51812
51813
51814       ac_ext=cc
51815 ac_cpp='$CXXCPP $CPPFLAGS'
51816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51819
51820       cat >conftest.$ac_ext <<_ACEOF
51821 /* confdefs.h.  */
51822 _ACEOF
51823 cat confdefs.h >>conftest.$ac_ext
51824 cat >>conftest.$ac_ext <<_ACEOF
51825 /* end confdefs.h.  */
51826 #include <math.h>
51827                       #ifdef HAVE_IEEEFP_H
51828                       #include <ieeefp.h>
51829                       #endif
51830
51831 int
51832 main ()
51833 {
51834  _logf(0);
51835   ;
51836   return 0;
51837 }
51838 _ACEOF
51839 rm -f conftest.$ac_objext
51840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51841   (eval $ac_compile) 2>conftest.er1
51842   ac_status=$?
51843   grep -v '^ *+' conftest.er1 >conftest.err
51844   rm -f conftest.er1
51845   cat conftest.err >&5
51846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847   (exit $ac_status); } &&
51848          { ac_try='test -z "$ac_cxx_werror_flag"
51849                          || test ! -s conftest.err'
51850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851   (eval $ac_try) 2>&5
51852   ac_status=$?
51853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854   (exit $ac_status); }; } &&
51855          { ac_try='test -s conftest.$ac_objext'
51856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51857   (eval $ac_try) 2>&5
51858   ac_status=$?
51859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860   (exit $ac_status); }; }; then
51861   glibcxx_cv_func__logf_use=yes
51862 else
51863   echo "$as_me: failed program was:" >&5
51864 sed 's/^/| /' conftest.$ac_ext >&5
51865
51866 glibcxx_cv_func__logf_use=no
51867 fi
51868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51869       ac_ext=c
51870 ac_cpp='$CPP $CPPFLAGS'
51871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51874
51875
51876 fi
51877
51878   fi
51879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
51880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
51881
51882     if test x$glibcxx_cv_func__logf_use = x"yes"; then
51883
51884 for ac_func in _logf
51885 do
51886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51887 echo "$as_me:$LINENO: checking for $ac_func" >&5
51888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51889 if eval "test \"\${$as_ac_var+set}\" = set"; then
51890   echo $ECHO_N "(cached) $ECHO_C" >&6
51891 else
51892   if test x$gcc_no_link = xyes; then
51893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51895    { (exit 1); exit 1; }; }
51896 fi
51897 cat >conftest.$ac_ext <<_ACEOF
51898 /* confdefs.h.  */
51899 _ACEOF
51900 cat confdefs.h >>conftest.$ac_ext
51901 cat >>conftest.$ac_ext <<_ACEOF
51902 /* end confdefs.h.  */
51903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51905 #define $ac_func innocuous_$ac_func
51906
51907 /* System header to define __stub macros and hopefully few prototypes,
51908     which can conflict with char $ac_func (); below.
51909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51910     <limits.h> exists even on freestanding compilers.  */
51911
51912 #ifdef __STDC__
51913 # include <limits.h>
51914 #else
51915 # include <assert.h>
51916 #endif
51917
51918 #undef $ac_func
51919
51920 /* Override any gcc2 internal prototype to avoid an error.  */
51921 #ifdef __cplusplus
51922 extern "C"
51923 {
51924 #endif
51925 /* We use char because int might match the return type of a gcc2
51926    builtin and then its argument prototype would still apply.  */
51927 char $ac_func ();
51928 /* The GNU C library defines this for functions which it implements
51929     to always fail with ENOSYS.  Some functions are actually named
51930     something starting with __ and the normal name is an alias.  */
51931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51932 choke me
51933 #else
51934 char (*f) () = $ac_func;
51935 #endif
51936 #ifdef __cplusplus
51937 }
51938 #endif
51939
51940 int
51941 main ()
51942 {
51943 return f != $ac_func;
51944   ;
51945   return 0;
51946 }
51947 _ACEOF
51948 rm -f conftest.$ac_objext conftest$ac_exeext
51949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51950   (eval $ac_link) 2>conftest.er1
51951   ac_status=$?
51952   grep -v '^ *+' conftest.er1 >conftest.err
51953   rm -f conftest.er1
51954   cat conftest.err >&5
51955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956   (exit $ac_status); } &&
51957          { ac_try='test -z "$ac_c_werror_flag"
51958                          || test ! -s conftest.err'
51959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51960   (eval $ac_try) 2>&5
51961   ac_status=$?
51962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51963   (exit $ac_status); }; } &&
51964          { ac_try='test -s conftest$ac_exeext'
51965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51966   (eval $ac_try) 2>&5
51967   ac_status=$?
51968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51969   (exit $ac_status); }; }; then
51970   eval "$as_ac_var=yes"
51971 else
51972   echo "$as_me: failed program was:" >&5
51973 sed 's/^/| /' conftest.$ac_ext >&5
51974
51975 eval "$as_ac_var=no"
51976 fi
51977 rm -f conftest.err conftest.$ac_objext \
51978       conftest$ac_exeext conftest.$ac_ext
51979 fi
51980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51982 if test `eval echo '${'$as_ac_var'}'` = yes; then
51983   cat >>confdefs.h <<_ACEOF
51984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51985 _ACEOF
51986
51987 fi
51988 done
51989
51990     fi
51991   fi
51992
51993
51994
51995
51996
51997
51998   echo "$as_me:$LINENO: checking for log10f declaration" >&5
51999 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
52000   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
52001     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
52002   echo $ECHO_N "(cached) $ECHO_C" >&6
52003 else
52004
52005
52006
52007       ac_ext=cc
52008 ac_cpp='$CXXCPP $CPPFLAGS'
52009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52012
52013       cat >conftest.$ac_ext <<_ACEOF
52014 /* confdefs.h.  */
52015 _ACEOF
52016 cat confdefs.h >>conftest.$ac_ext
52017 cat >>conftest.$ac_ext <<_ACEOF
52018 /* end confdefs.h.  */
52019 #include <math.h>
52020                       #ifdef HAVE_IEEEFP_H
52021                       #include <ieeefp.h>
52022                       #endif
52023
52024 int
52025 main ()
52026 {
52027  log10f(0);
52028   ;
52029   return 0;
52030 }
52031 _ACEOF
52032 rm -f conftest.$ac_objext
52033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52034   (eval $ac_compile) 2>conftest.er1
52035   ac_status=$?
52036   grep -v '^ *+' conftest.er1 >conftest.err
52037   rm -f conftest.er1
52038   cat conftest.err >&5
52039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52040   (exit $ac_status); } &&
52041          { ac_try='test -z "$ac_cxx_werror_flag"
52042                          || test ! -s conftest.err'
52043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52044   (eval $ac_try) 2>&5
52045   ac_status=$?
52046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52047   (exit $ac_status); }; } &&
52048          { ac_try='test -s conftest.$ac_objext'
52049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52050   (eval $ac_try) 2>&5
52051   ac_status=$?
52052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52053   (exit $ac_status); }; }; then
52054   glibcxx_cv_func_log10f_use=yes
52055 else
52056   echo "$as_me: failed program was:" >&5
52057 sed 's/^/| /' conftest.$ac_ext >&5
52058
52059 glibcxx_cv_func_log10f_use=no
52060 fi
52061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52062       ac_ext=c
52063 ac_cpp='$CPP $CPPFLAGS'
52064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52067
52068
52069 fi
52070
52071   fi
52072   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
52073 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
52074
52075   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52076
52077 for ac_func in log10f
52078 do
52079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52080 echo "$as_me:$LINENO: checking for $ac_func" >&5
52081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52082 if eval "test \"\${$as_ac_var+set}\" = set"; then
52083   echo $ECHO_N "(cached) $ECHO_C" >&6
52084 else
52085   if test x$gcc_no_link = xyes; then
52086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52088    { (exit 1); exit 1; }; }
52089 fi
52090 cat >conftest.$ac_ext <<_ACEOF
52091 /* confdefs.h.  */
52092 _ACEOF
52093 cat confdefs.h >>conftest.$ac_ext
52094 cat >>conftest.$ac_ext <<_ACEOF
52095 /* end confdefs.h.  */
52096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52098 #define $ac_func innocuous_$ac_func
52099
52100 /* System header to define __stub macros and hopefully few prototypes,
52101     which can conflict with char $ac_func (); below.
52102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52103     <limits.h> exists even on freestanding compilers.  */
52104
52105 #ifdef __STDC__
52106 # include <limits.h>
52107 #else
52108 # include <assert.h>
52109 #endif
52110
52111 #undef $ac_func
52112
52113 /* Override any gcc2 internal prototype to avoid an error.  */
52114 #ifdef __cplusplus
52115 extern "C"
52116 {
52117 #endif
52118 /* We use char because int might match the return type of a gcc2
52119    builtin and then its argument prototype would still apply.  */
52120 char $ac_func ();
52121 /* The GNU C library defines this for functions which it implements
52122     to always fail with ENOSYS.  Some functions are actually named
52123     something starting with __ and the normal name is an alias.  */
52124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52125 choke me
52126 #else
52127 char (*f) () = $ac_func;
52128 #endif
52129 #ifdef __cplusplus
52130 }
52131 #endif
52132
52133 int
52134 main ()
52135 {
52136 return f != $ac_func;
52137   ;
52138   return 0;
52139 }
52140 _ACEOF
52141 rm -f conftest.$ac_objext conftest$ac_exeext
52142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52143   (eval $ac_link) 2>conftest.er1
52144   ac_status=$?
52145   grep -v '^ *+' conftest.er1 >conftest.err
52146   rm -f conftest.er1
52147   cat conftest.err >&5
52148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52149   (exit $ac_status); } &&
52150          { ac_try='test -z "$ac_c_werror_flag"
52151                          || test ! -s conftest.err'
52152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52153   (eval $ac_try) 2>&5
52154   ac_status=$?
52155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52156   (exit $ac_status); }; } &&
52157          { ac_try='test -s conftest$ac_exeext'
52158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52159   (eval $ac_try) 2>&5
52160   ac_status=$?
52161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52162   (exit $ac_status); }; }; then
52163   eval "$as_ac_var=yes"
52164 else
52165   echo "$as_me: failed program was:" >&5
52166 sed 's/^/| /' conftest.$ac_ext >&5
52167
52168 eval "$as_ac_var=no"
52169 fi
52170 rm -f conftest.err conftest.$ac_objext \
52171       conftest$ac_exeext conftest.$ac_ext
52172 fi
52173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52175 if test `eval echo '${'$as_ac_var'}'` = yes; then
52176   cat >>confdefs.h <<_ACEOF
52177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52178 _ACEOF
52179
52180 fi
52181 done
52182
52183   else
52184
52185   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
52186 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
52187   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52188     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
52189   echo $ECHO_N "(cached) $ECHO_C" >&6
52190 else
52191
52192
52193
52194       ac_ext=cc
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199
52200       cat >conftest.$ac_ext <<_ACEOF
52201 /* confdefs.h.  */
52202 _ACEOF
52203 cat confdefs.h >>conftest.$ac_ext
52204 cat >>conftest.$ac_ext <<_ACEOF
52205 /* end confdefs.h.  */
52206 #include <math.h>
52207                       #ifdef HAVE_IEEEFP_H
52208                       #include <ieeefp.h>
52209                       #endif
52210
52211 int
52212 main ()
52213 {
52214  _log10f(0);
52215   ;
52216   return 0;
52217 }
52218 _ACEOF
52219 rm -f conftest.$ac_objext
52220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52221   (eval $ac_compile) 2>conftest.er1
52222   ac_status=$?
52223   grep -v '^ *+' conftest.er1 >conftest.err
52224   rm -f conftest.er1
52225   cat conftest.err >&5
52226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52227   (exit $ac_status); } &&
52228          { ac_try='test -z "$ac_cxx_werror_flag"
52229                          || test ! -s conftest.err'
52230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52231   (eval $ac_try) 2>&5
52232   ac_status=$?
52233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52234   (exit $ac_status); }; } &&
52235          { ac_try='test -s conftest.$ac_objext'
52236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52237   (eval $ac_try) 2>&5
52238   ac_status=$?
52239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52240   (exit $ac_status); }; }; then
52241   glibcxx_cv_func__log10f_use=yes
52242 else
52243   echo "$as_me: failed program was:" >&5
52244 sed 's/^/| /' conftest.$ac_ext >&5
52245
52246 glibcxx_cv_func__log10f_use=no
52247 fi
52248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52249       ac_ext=c
52250 ac_cpp='$CPP $CPPFLAGS'
52251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52254
52255
52256 fi
52257
52258   fi
52259   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
52260 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
52261
52262     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52263
52264 for ac_func in _log10f
52265 do
52266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52267 echo "$as_me:$LINENO: checking for $ac_func" >&5
52268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52269 if eval "test \"\${$as_ac_var+set}\" = set"; then
52270   echo $ECHO_N "(cached) $ECHO_C" >&6
52271 else
52272   if test x$gcc_no_link = xyes; then
52273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52275    { (exit 1); exit 1; }; }
52276 fi
52277 cat >conftest.$ac_ext <<_ACEOF
52278 /* confdefs.h.  */
52279 _ACEOF
52280 cat confdefs.h >>conftest.$ac_ext
52281 cat >>conftest.$ac_ext <<_ACEOF
52282 /* end confdefs.h.  */
52283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52285 #define $ac_func innocuous_$ac_func
52286
52287 /* System header to define __stub macros and hopefully few prototypes,
52288     which can conflict with char $ac_func (); below.
52289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52290     <limits.h> exists even on freestanding compilers.  */
52291
52292 #ifdef __STDC__
52293 # include <limits.h>
52294 #else
52295 # include <assert.h>
52296 #endif
52297
52298 #undef $ac_func
52299
52300 /* Override any gcc2 internal prototype to avoid an error.  */
52301 #ifdef __cplusplus
52302 extern "C"
52303 {
52304 #endif
52305 /* We use char because int might match the return type of a gcc2
52306    builtin and then its argument prototype would still apply.  */
52307 char $ac_func ();
52308 /* The GNU C library defines this for functions which it implements
52309     to always fail with ENOSYS.  Some functions are actually named
52310     something starting with __ and the normal name is an alias.  */
52311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52312 choke me
52313 #else
52314 char (*f) () = $ac_func;
52315 #endif
52316 #ifdef __cplusplus
52317 }
52318 #endif
52319
52320 int
52321 main ()
52322 {
52323 return f != $ac_func;
52324   ;
52325   return 0;
52326 }
52327 _ACEOF
52328 rm -f conftest.$ac_objext conftest$ac_exeext
52329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52330   (eval $ac_link) 2>conftest.er1
52331   ac_status=$?
52332   grep -v '^ *+' conftest.er1 >conftest.err
52333   rm -f conftest.er1
52334   cat conftest.err >&5
52335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52336   (exit $ac_status); } &&
52337          { ac_try='test -z "$ac_c_werror_flag"
52338                          || test ! -s conftest.err'
52339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52340   (eval $ac_try) 2>&5
52341   ac_status=$?
52342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52343   (exit $ac_status); }; } &&
52344          { ac_try='test -s conftest$ac_exeext'
52345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52346   (eval $ac_try) 2>&5
52347   ac_status=$?
52348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52349   (exit $ac_status); }; }; then
52350   eval "$as_ac_var=yes"
52351 else
52352   echo "$as_me: failed program was:" >&5
52353 sed 's/^/| /' conftest.$ac_ext >&5
52354
52355 eval "$as_ac_var=no"
52356 fi
52357 rm -f conftest.err conftest.$ac_objext \
52358       conftest$ac_exeext conftest.$ac_ext
52359 fi
52360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52362 if test `eval echo '${'$as_ac_var'}'` = yes; then
52363   cat >>confdefs.h <<_ACEOF
52364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52365 _ACEOF
52366
52367 fi
52368 done
52369
52370     fi
52371   fi
52372
52373
52374
52375
52376
52377
52378   echo "$as_me:$LINENO: checking for modff declaration" >&5
52379 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
52380   if test x${glibcxx_cv_func_modff_use+set} != xset; then
52381     if test "${glibcxx_cv_func_modff_use+set}" = set; then
52382   echo $ECHO_N "(cached) $ECHO_C" >&6
52383 else
52384
52385
52386
52387       ac_ext=cc
52388 ac_cpp='$CXXCPP $CPPFLAGS'
52389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52392
52393       cat >conftest.$ac_ext <<_ACEOF
52394 /* confdefs.h.  */
52395 _ACEOF
52396 cat confdefs.h >>conftest.$ac_ext
52397 cat >>conftest.$ac_ext <<_ACEOF
52398 /* end confdefs.h.  */
52399 #include <math.h>
52400 int
52401 main ()
52402 {
52403  modff(0, 0);
52404   ;
52405   return 0;
52406 }
52407 _ACEOF
52408 rm -f conftest.$ac_objext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52410   (eval $ac_compile) 2>conftest.er1
52411   ac_status=$?
52412   grep -v '^ *+' conftest.er1 >conftest.err
52413   rm -f conftest.er1
52414   cat conftest.err >&5
52415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416   (exit $ac_status); } &&
52417          { ac_try='test -z "$ac_cxx_werror_flag"
52418                          || test ! -s conftest.err'
52419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52420   (eval $ac_try) 2>&5
52421   ac_status=$?
52422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52423   (exit $ac_status); }; } &&
52424          { ac_try='test -s conftest.$ac_objext'
52425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426   (eval $ac_try) 2>&5
52427   ac_status=$?
52428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429   (exit $ac_status); }; }; then
52430   glibcxx_cv_func_modff_use=yes
52431 else
52432   echo "$as_me: failed program was:" >&5
52433 sed 's/^/| /' conftest.$ac_ext >&5
52434
52435 glibcxx_cv_func_modff_use=no
52436 fi
52437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52438       ac_ext=c
52439 ac_cpp='$CPP $CPPFLAGS'
52440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443
52444
52445 fi
52446
52447   fi
52448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
52449 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
52450
52451   if test x$glibcxx_cv_func_modff_use = x"yes"; then
52452
52453 for ac_func in modff
52454 do
52455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52456 echo "$as_me:$LINENO: checking for $ac_func" >&5
52457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52458 if eval "test \"\${$as_ac_var+set}\" = set"; then
52459   echo $ECHO_N "(cached) $ECHO_C" >&6
52460 else
52461   if test x$gcc_no_link = xyes; then
52462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52464    { (exit 1); exit 1; }; }
52465 fi
52466 cat >conftest.$ac_ext <<_ACEOF
52467 /* confdefs.h.  */
52468 _ACEOF
52469 cat confdefs.h >>conftest.$ac_ext
52470 cat >>conftest.$ac_ext <<_ACEOF
52471 /* end confdefs.h.  */
52472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52474 #define $ac_func innocuous_$ac_func
52475
52476 /* System header to define __stub macros and hopefully few prototypes,
52477     which can conflict with char $ac_func (); below.
52478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52479     <limits.h> exists even on freestanding compilers.  */
52480
52481 #ifdef __STDC__
52482 # include <limits.h>
52483 #else
52484 # include <assert.h>
52485 #endif
52486
52487 #undef $ac_func
52488
52489 /* Override any gcc2 internal prototype to avoid an error.  */
52490 #ifdef __cplusplus
52491 extern "C"
52492 {
52493 #endif
52494 /* We use char because int might match the return type of a gcc2
52495    builtin and then its argument prototype would still apply.  */
52496 char $ac_func ();
52497 /* The GNU C library defines this for functions which it implements
52498     to always fail with ENOSYS.  Some functions are actually named
52499     something starting with __ and the normal name is an alias.  */
52500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52501 choke me
52502 #else
52503 char (*f) () = $ac_func;
52504 #endif
52505 #ifdef __cplusplus
52506 }
52507 #endif
52508
52509 int
52510 main ()
52511 {
52512 return f != $ac_func;
52513   ;
52514   return 0;
52515 }
52516 _ACEOF
52517 rm -f conftest.$ac_objext conftest$ac_exeext
52518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52519   (eval $ac_link) 2>conftest.er1
52520   ac_status=$?
52521   grep -v '^ *+' conftest.er1 >conftest.err
52522   rm -f conftest.er1
52523   cat conftest.err >&5
52524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52525   (exit $ac_status); } &&
52526          { ac_try='test -z "$ac_c_werror_flag"
52527                          || test ! -s conftest.err'
52528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52529   (eval $ac_try) 2>&5
52530   ac_status=$?
52531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52532   (exit $ac_status); }; } &&
52533          { ac_try='test -s conftest$ac_exeext'
52534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52535   (eval $ac_try) 2>&5
52536   ac_status=$?
52537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52538   (exit $ac_status); }; }; then
52539   eval "$as_ac_var=yes"
52540 else
52541   echo "$as_me: failed program was:" >&5
52542 sed 's/^/| /' conftest.$ac_ext >&5
52543
52544 eval "$as_ac_var=no"
52545 fi
52546 rm -f conftest.err conftest.$ac_objext \
52547       conftest$ac_exeext conftest.$ac_ext
52548 fi
52549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52551 if test `eval echo '${'$as_ac_var'}'` = yes; then
52552   cat >>confdefs.h <<_ACEOF
52553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52554 _ACEOF
52555
52556 fi
52557 done
52558
52559   else
52560
52561   echo "$as_me:$LINENO: checking for _modff declaration" >&5
52562 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
52563   if test x${glibcxx_cv_func__modff_use+set} != xset; then
52564     if test "${glibcxx_cv_func__modff_use+set}" = set; then
52565   echo $ECHO_N "(cached) $ECHO_C" >&6
52566 else
52567
52568
52569
52570       ac_ext=cc
52571 ac_cpp='$CXXCPP $CPPFLAGS'
52572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52575
52576       cat >conftest.$ac_ext <<_ACEOF
52577 /* confdefs.h.  */
52578 _ACEOF
52579 cat confdefs.h >>conftest.$ac_ext
52580 cat >>conftest.$ac_ext <<_ACEOF
52581 /* end confdefs.h.  */
52582 #include <math.h>
52583 int
52584 main ()
52585 {
52586  _modff(0, 0);
52587   ;
52588   return 0;
52589 }
52590 _ACEOF
52591 rm -f conftest.$ac_objext
52592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52593   (eval $ac_compile) 2>conftest.er1
52594   ac_status=$?
52595   grep -v '^ *+' conftest.er1 >conftest.err
52596   rm -f conftest.er1
52597   cat conftest.err >&5
52598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599   (exit $ac_status); } &&
52600          { ac_try='test -z "$ac_cxx_werror_flag"
52601                          || test ! -s conftest.err'
52602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603   (eval $ac_try) 2>&5
52604   ac_status=$?
52605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606   (exit $ac_status); }; } &&
52607          { ac_try='test -s conftest.$ac_objext'
52608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52609   (eval $ac_try) 2>&5
52610   ac_status=$?
52611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52612   (exit $ac_status); }; }; then
52613   glibcxx_cv_func__modff_use=yes
52614 else
52615   echo "$as_me: failed program was:" >&5
52616 sed 's/^/| /' conftest.$ac_ext >&5
52617
52618 glibcxx_cv_func__modff_use=no
52619 fi
52620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52621       ac_ext=c
52622 ac_cpp='$CPP $CPPFLAGS'
52623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52626
52627
52628 fi
52629
52630   fi
52631   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
52632 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
52633
52634     if test x$glibcxx_cv_func__modff_use = x"yes"; then
52635
52636 for ac_func in _modff
52637 do
52638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52639 echo "$as_me:$LINENO: checking for $ac_func" >&5
52640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52641 if eval "test \"\${$as_ac_var+set}\" = set"; then
52642   echo $ECHO_N "(cached) $ECHO_C" >&6
52643 else
52644   if test x$gcc_no_link = xyes; then
52645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52647    { (exit 1); exit 1; }; }
52648 fi
52649 cat >conftest.$ac_ext <<_ACEOF
52650 /* confdefs.h.  */
52651 _ACEOF
52652 cat confdefs.h >>conftest.$ac_ext
52653 cat >>conftest.$ac_ext <<_ACEOF
52654 /* end confdefs.h.  */
52655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52657 #define $ac_func innocuous_$ac_func
52658
52659 /* System header to define __stub macros and hopefully few prototypes,
52660     which can conflict with char $ac_func (); below.
52661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52662     <limits.h> exists even on freestanding compilers.  */
52663
52664 #ifdef __STDC__
52665 # include <limits.h>
52666 #else
52667 # include <assert.h>
52668 #endif
52669
52670 #undef $ac_func
52671
52672 /* Override any gcc2 internal prototype to avoid an error.  */
52673 #ifdef __cplusplus
52674 extern "C"
52675 {
52676 #endif
52677 /* We use char because int might match the return type of a gcc2
52678    builtin and then its argument prototype would still apply.  */
52679 char $ac_func ();
52680 /* The GNU C library defines this for functions which it implements
52681     to always fail with ENOSYS.  Some functions are actually named
52682     something starting with __ and the normal name is an alias.  */
52683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52684 choke me
52685 #else
52686 char (*f) () = $ac_func;
52687 #endif
52688 #ifdef __cplusplus
52689 }
52690 #endif
52691
52692 int
52693 main ()
52694 {
52695 return f != $ac_func;
52696   ;
52697   return 0;
52698 }
52699 _ACEOF
52700 rm -f conftest.$ac_objext conftest$ac_exeext
52701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52702   (eval $ac_link) 2>conftest.er1
52703   ac_status=$?
52704   grep -v '^ *+' conftest.er1 >conftest.err
52705   rm -f conftest.er1
52706   cat conftest.err >&5
52707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52708   (exit $ac_status); } &&
52709          { ac_try='test -z "$ac_c_werror_flag"
52710                          || test ! -s conftest.err'
52711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52712   (eval $ac_try) 2>&5
52713   ac_status=$?
52714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52715   (exit $ac_status); }; } &&
52716          { ac_try='test -s conftest$ac_exeext'
52717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52718   (eval $ac_try) 2>&5
52719   ac_status=$?
52720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52721   (exit $ac_status); }; }; then
52722   eval "$as_ac_var=yes"
52723 else
52724   echo "$as_me: failed program was:" >&5
52725 sed 's/^/| /' conftest.$ac_ext >&5
52726
52727 eval "$as_ac_var=no"
52728 fi
52729 rm -f conftest.err conftest.$ac_objext \
52730       conftest$ac_exeext conftest.$ac_ext
52731 fi
52732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52734 if test `eval echo '${'$as_ac_var'}'` = yes; then
52735   cat >>confdefs.h <<_ACEOF
52736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52737 _ACEOF
52738
52739 fi
52740 done
52741
52742     fi
52743   fi
52744
52745
52746
52747
52748
52749
52750   echo "$as_me:$LINENO: checking for modf declaration" >&5
52751 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
52752   if test x${glibcxx_cv_func_modf_use+set} != xset; then
52753     if test "${glibcxx_cv_func_modf_use+set}" = set; then
52754   echo $ECHO_N "(cached) $ECHO_C" >&6
52755 else
52756
52757
52758
52759       ac_ext=cc
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764
52765       cat >conftest.$ac_ext <<_ACEOF
52766 /* confdefs.h.  */
52767 _ACEOF
52768 cat confdefs.h >>conftest.$ac_ext
52769 cat >>conftest.$ac_ext <<_ACEOF
52770 /* end confdefs.h.  */
52771 #include <math.h>
52772 int
52773 main ()
52774 {
52775  modf(0, 0);
52776   ;
52777   return 0;
52778 }
52779 _ACEOF
52780 rm -f conftest.$ac_objext
52781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52782   (eval $ac_compile) 2>conftest.er1
52783   ac_status=$?
52784   grep -v '^ *+' conftest.er1 >conftest.err
52785   rm -f conftest.er1
52786   cat conftest.err >&5
52787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788   (exit $ac_status); } &&
52789          { ac_try='test -z "$ac_cxx_werror_flag"
52790                          || test ! -s conftest.err'
52791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52792   (eval $ac_try) 2>&5
52793   ac_status=$?
52794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52795   (exit $ac_status); }; } &&
52796          { ac_try='test -s conftest.$ac_objext'
52797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52798   (eval $ac_try) 2>&5
52799   ac_status=$?
52800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801   (exit $ac_status); }; }; then
52802   glibcxx_cv_func_modf_use=yes
52803 else
52804   echo "$as_me: failed program was:" >&5
52805 sed 's/^/| /' conftest.$ac_ext >&5
52806
52807 glibcxx_cv_func_modf_use=no
52808 fi
52809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52810       ac_ext=c
52811 ac_cpp='$CPP $CPPFLAGS'
52812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52815
52816
52817 fi
52818
52819   fi
52820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
52821 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
52822
52823   if test x$glibcxx_cv_func_modf_use = x"yes"; then
52824
52825 for ac_func in modf
52826 do
52827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52828 echo "$as_me:$LINENO: checking for $ac_func" >&5
52829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52830 if eval "test \"\${$as_ac_var+set}\" = set"; then
52831   echo $ECHO_N "(cached) $ECHO_C" >&6
52832 else
52833   if test x$gcc_no_link = xyes; then
52834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52836    { (exit 1); exit 1; }; }
52837 fi
52838 cat >conftest.$ac_ext <<_ACEOF
52839 /* confdefs.h.  */
52840 _ACEOF
52841 cat confdefs.h >>conftest.$ac_ext
52842 cat >>conftest.$ac_ext <<_ACEOF
52843 /* end confdefs.h.  */
52844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52846 #define $ac_func innocuous_$ac_func
52847
52848 /* System header to define __stub macros and hopefully few prototypes,
52849     which can conflict with char $ac_func (); below.
52850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52851     <limits.h> exists even on freestanding compilers.  */
52852
52853 #ifdef __STDC__
52854 # include <limits.h>
52855 #else
52856 # include <assert.h>
52857 #endif
52858
52859 #undef $ac_func
52860
52861 /* Override any gcc2 internal prototype to avoid an error.  */
52862 #ifdef __cplusplus
52863 extern "C"
52864 {
52865 #endif
52866 /* We use char because int might match the return type of a gcc2
52867    builtin and then its argument prototype would still apply.  */
52868 char $ac_func ();
52869 /* The GNU C library defines this for functions which it implements
52870     to always fail with ENOSYS.  Some functions are actually named
52871     something starting with __ and the normal name is an alias.  */
52872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52873 choke me
52874 #else
52875 char (*f) () = $ac_func;
52876 #endif
52877 #ifdef __cplusplus
52878 }
52879 #endif
52880
52881 int
52882 main ()
52883 {
52884 return f != $ac_func;
52885   ;
52886   return 0;
52887 }
52888 _ACEOF
52889 rm -f conftest.$ac_objext conftest$ac_exeext
52890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52891   (eval $ac_link) 2>conftest.er1
52892   ac_status=$?
52893   grep -v '^ *+' conftest.er1 >conftest.err
52894   rm -f conftest.er1
52895   cat conftest.err >&5
52896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52897   (exit $ac_status); } &&
52898          { ac_try='test -z "$ac_c_werror_flag"
52899                          || test ! -s conftest.err'
52900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52901   (eval $ac_try) 2>&5
52902   ac_status=$?
52903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52904   (exit $ac_status); }; } &&
52905          { ac_try='test -s conftest$ac_exeext'
52906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52907   (eval $ac_try) 2>&5
52908   ac_status=$?
52909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52910   (exit $ac_status); }; }; then
52911   eval "$as_ac_var=yes"
52912 else
52913   echo "$as_me: failed program was:" >&5
52914 sed 's/^/| /' conftest.$ac_ext >&5
52915
52916 eval "$as_ac_var=no"
52917 fi
52918 rm -f conftest.err conftest.$ac_objext \
52919       conftest$ac_exeext conftest.$ac_ext
52920 fi
52921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52923 if test `eval echo '${'$as_ac_var'}'` = yes; then
52924   cat >>confdefs.h <<_ACEOF
52925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52926 _ACEOF
52927
52928 fi
52929 done
52930
52931   else
52932
52933   echo "$as_me:$LINENO: checking for _modf declaration" >&5
52934 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52935   if test x${glibcxx_cv_func__modf_use+set} != xset; then
52936     if test "${glibcxx_cv_func__modf_use+set}" = set; then
52937   echo $ECHO_N "(cached) $ECHO_C" >&6
52938 else
52939
52940
52941
52942       ac_ext=cc
52943 ac_cpp='$CXXCPP $CPPFLAGS'
52944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52947
52948       cat >conftest.$ac_ext <<_ACEOF
52949 /* confdefs.h.  */
52950 _ACEOF
52951 cat confdefs.h >>conftest.$ac_ext
52952 cat >>conftest.$ac_ext <<_ACEOF
52953 /* end confdefs.h.  */
52954 #include <math.h>
52955 int
52956 main ()
52957 {
52958  _modf(0, 0);
52959   ;
52960   return 0;
52961 }
52962 _ACEOF
52963 rm -f conftest.$ac_objext
52964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52965   (eval $ac_compile) 2>conftest.er1
52966   ac_status=$?
52967   grep -v '^ *+' conftest.er1 >conftest.err
52968   rm -f conftest.er1
52969   cat conftest.err >&5
52970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52971   (exit $ac_status); } &&
52972          { ac_try='test -z "$ac_cxx_werror_flag"
52973                          || test ! -s conftest.err'
52974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52975   (eval $ac_try) 2>&5
52976   ac_status=$?
52977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52978   (exit $ac_status); }; } &&
52979          { ac_try='test -s conftest.$ac_objext'
52980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52981   (eval $ac_try) 2>&5
52982   ac_status=$?
52983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52984   (exit $ac_status); }; }; then
52985   glibcxx_cv_func__modf_use=yes
52986 else
52987   echo "$as_me: failed program was:" >&5
52988 sed 's/^/| /' conftest.$ac_ext >&5
52989
52990 glibcxx_cv_func__modf_use=no
52991 fi
52992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52993       ac_ext=c
52994 ac_cpp='$CPP $CPPFLAGS'
52995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52998
52999
53000 fi
53001
53002   fi
53003   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
53004 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
53005
53006     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53007
53008 for ac_func in _modf
53009 do
53010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53011 echo "$as_me:$LINENO: checking for $ac_func" >&5
53012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53013 if eval "test \"\${$as_ac_var+set}\" = set"; then
53014   echo $ECHO_N "(cached) $ECHO_C" >&6
53015 else
53016   if test x$gcc_no_link = xyes; then
53017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53019    { (exit 1); exit 1; }; }
53020 fi
53021 cat >conftest.$ac_ext <<_ACEOF
53022 /* confdefs.h.  */
53023 _ACEOF
53024 cat confdefs.h >>conftest.$ac_ext
53025 cat >>conftest.$ac_ext <<_ACEOF
53026 /* end confdefs.h.  */
53027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53029 #define $ac_func innocuous_$ac_func
53030
53031 /* System header to define __stub macros and hopefully few prototypes,
53032     which can conflict with char $ac_func (); below.
53033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53034     <limits.h> exists even on freestanding compilers.  */
53035
53036 #ifdef __STDC__
53037 # include <limits.h>
53038 #else
53039 # include <assert.h>
53040 #endif
53041
53042 #undef $ac_func
53043
53044 /* Override any gcc2 internal prototype to avoid an error.  */
53045 #ifdef __cplusplus
53046 extern "C"
53047 {
53048 #endif
53049 /* We use char because int might match the return type of a gcc2
53050    builtin and then its argument prototype would still apply.  */
53051 char $ac_func ();
53052 /* The GNU C library defines this for functions which it implements
53053     to always fail with ENOSYS.  Some functions are actually named
53054     something starting with __ and the normal name is an alias.  */
53055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53056 choke me
53057 #else
53058 char (*f) () = $ac_func;
53059 #endif
53060 #ifdef __cplusplus
53061 }
53062 #endif
53063
53064 int
53065 main ()
53066 {
53067 return f != $ac_func;
53068   ;
53069   return 0;
53070 }
53071 _ACEOF
53072 rm -f conftest.$ac_objext conftest$ac_exeext
53073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53074   (eval $ac_link) 2>conftest.er1
53075   ac_status=$?
53076   grep -v '^ *+' conftest.er1 >conftest.err
53077   rm -f conftest.er1
53078   cat conftest.err >&5
53079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53080   (exit $ac_status); } &&
53081          { ac_try='test -z "$ac_c_werror_flag"
53082                          || test ! -s conftest.err'
53083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53084   (eval $ac_try) 2>&5
53085   ac_status=$?
53086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53087   (exit $ac_status); }; } &&
53088          { ac_try='test -s conftest$ac_exeext'
53089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53090   (eval $ac_try) 2>&5
53091   ac_status=$?
53092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53093   (exit $ac_status); }; }; then
53094   eval "$as_ac_var=yes"
53095 else
53096   echo "$as_me: failed program was:" >&5
53097 sed 's/^/| /' conftest.$ac_ext >&5
53098
53099 eval "$as_ac_var=no"
53100 fi
53101 rm -f conftest.err conftest.$ac_objext \
53102       conftest$ac_exeext conftest.$ac_ext
53103 fi
53104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53106 if test `eval echo '${'$as_ac_var'}'` = yes; then
53107   cat >>confdefs.h <<_ACEOF
53108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53109 _ACEOF
53110
53111 fi
53112 done
53113
53114     fi
53115   fi
53116
53117
53118
53119
53120
53121
53122   echo "$as_me:$LINENO: checking for powf declaration" >&5
53123 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
53124   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53125     if test "${glibcxx_cv_func_powf_use+set}" = set; then
53126   echo $ECHO_N "(cached) $ECHO_C" >&6
53127 else
53128
53129
53130
53131       ac_ext=cc
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53136
53137       cat >conftest.$ac_ext <<_ACEOF
53138 /* confdefs.h.  */
53139 _ACEOF
53140 cat confdefs.h >>conftest.$ac_ext
53141 cat >>conftest.$ac_ext <<_ACEOF
53142 /* end confdefs.h.  */
53143 #include <math.h>
53144 int
53145 main ()
53146 {
53147  powf(0, 0);
53148   ;
53149   return 0;
53150 }
53151 _ACEOF
53152 rm -f conftest.$ac_objext
53153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53154   (eval $ac_compile) 2>conftest.er1
53155   ac_status=$?
53156   grep -v '^ *+' conftest.er1 >conftest.err
53157   rm -f conftest.er1
53158   cat conftest.err >&5
53159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53160   (exit $ac_status); } &&
53161          { ac_try='test -z "$ac_cxx_werror_flag"
53162                          || test ! -s conftest.err'
53163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53164   (eval $ac_try) 2>&5
53165   ac_status=$?
53166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53167   (exit $ac_status); }; } &&
53168          { ac_try='test -s conftest.$ac_objext'
53169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53170   (eval $ac_try) 2>&5
53171   ac_status=$?
53172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53173   (exit $ac_status); }; }; then
53174   glibcxx_cv_func_powf_use=yes
53175 else
53176   echo "$as_me: failed program was:" >&5
53177 sed 's/^/| /' conftest.$ac_ext >&5
53178
53179 glibcxx_cv_func_powf_use=no
53180 fi
53181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53182       ac_ext=c
53183 ac_cpp='$CPP $CPPFLAGS'
53184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53187
53188
53189 fi
53190
53191   fi
53192   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
53193 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
53194
53195   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53196
53197 for ac_func in powf
53198 do
53199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53200 echo "$as_me:$LINENO: checking for $ac_func" >&5
53201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53202 if eval "test \"\${$as_ac_var+set}\" = set"; then
53203   echo $ECHO_N "(cached) $ECHO_C" >&6
53204 else
53205   if test x$gcc_no_link = xyes; then
53206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53208    { (exit 1); exit 1; }; }
53209 fi
53210 cat >conftest.$ac_ext <<_ACEOF
53211 /* confdefs.h.  */
53212 _ACEOF
53213 cat confdefs.h >>conftest.$ac_ext
53214 cat >>conftest.$ac_ext <<_ACEOF
53215 /* end confdefs.h.  */
53216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53218 #define $ac_func innocuous_$ac_func
53219
53220 /* System header to define __stub macros and hopefully few prototypes,
53221     which can conflict with char $ac_func (); below.
53222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53223     <limits.h> exists even on freestanding compilers.  */
53224
53225 #ifdef __STDC__
53226 # include <limits.h>
53227 #else
53228 # include <assert.h>
53229 #endif
53230
53231 #undef $ac_func
53232
53233 /* Override any gcc2 internal prototype to avoid an error.  */
53234 #ifdef __cplusplus
53235 extern "C"
53236 {
53237 #endif
53238 /* We use char because int might match the return type of a gcc2
53239    builtin and then its argument prototype would still apply.  */
53240 char $ac_func ();
53241 /* The GNU C library defines this for functions which it implements
53242     to always fail with ENOSYS.  Some functions are actually named
53243     something starting with __ and the normal name is an alias.  */
53244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53245 choke me
53246 #else
53247 char (*f) () = $ac_func;
53248 #endif
53249 #ifdef __cplusplus
53250 }
53251 #endif
53252
53253 int
53254 main ()
53255 {
53256 return f != $ac_func;
53257   ;
53258   return 0;
53259 }
53260 _ACEOF
53261 rm -f conftest.$ac_objext conftest$ac_exeext
53262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53263   (eval $ac_link) 2>conftest.er1
53264   ac_status=$?
53265   grep -v '^ *+' conftest.er1 >conftest.err
53266   rm -f conftest.er1
53267   cat conftest.err >&5
53268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269   (exit $ac_status); } &&
53270          { ac_try='test -z "$ac_c_werror_flag"
53271                          || test ! -s conftest.err'
53272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53273   (eval $ac_try) 2>&5
53274   ac_status=$?
53275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53276   (exit $ac_status); }; } &&
53277          { ac_try='test -s conftest$ac_exeext'
53278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53279   (eval $ac_try) 2>&5
53280   ac_status=$?
53281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53282   (exit $ac_status); }; }; then
53283   eval "$as_ac_var=yes"
53284 else
53285   echo "$as_me: failed program was:" >&5
53286 sed 's/^/| /' conftest.$ac_ext >&5
53287
53288 eval "$as_ac_var=no"
53289 fi
53290 rm -f conftest.err conftest.$ac_objext \
53291       conftest$ac_exeext conftest.$ac_ext
53292 fi
53293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53295 if test `eval echo '${'$as_ac_var'}'` = yes; then
53296   cat >>confdefs.h <<_ACEOF
53297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53298 _ACEOF
53299
53300 fi
53301 done
53302
53303   else
53304
53305   echo "$as_me:$LINENO: checking for _powf declaration" >&5
53306 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
53307   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53308     if test "${glibcxx_cv_func__powf_use+set}" = set; then
53309   echo $ECHO_N "(cached) $ECHO_C" >&6
53310 else
53311
53312
53313
53314       ac_ext=cc
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53319
53320       cat >conftest.$ac_ext <<_ACEOF
53321 /* confdefs.h.  */
53322 _ACEOF
53323 cat confdefs.h >>conftest.$ac_ext
53324 cat >>conftest.$ac_ext <<_ACEOF
53325 /* end confdefs.h.  */
53326 #include <math.h>
53327 int
53328 main ()
53329 {
53330  _powf(0, 0);
53331   ;
53332   return 0;
53333 }
53334 _ACEOF
53335 rm -f conftest.$ac_objext
53336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53337   (eval $ac_compile) 2>conftest.er1
53338   ac_status=$?
53339   grep -v '^ *+' conftest.er1 >conftest.err
53340   rm -f conftest.er1
53341   cat conftest.err >&5
53342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53343   (exit $ac_status); } &&
53344          { ac_try='test -z "$ac_cxx_werror_flag"
53345                          || test ! -s conftest.err'
53346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53347   (eval $ac_try) 2>&5
53348   ac_status=$?
53349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53350   (exit $ac_status); }; } &&
53351          { ac_try='test -s conftest.$ac_objext'
53352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53353   (eval $ac_try) 2>&5
53354   ac_status=$?
53355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53356   (exit $ac_status); }; }; then
53357   glibcxx_cv_func__powf_use=yes
53358 else
53359   echo "$as_me: failed program was:" >&5
53360 sed 's/^/| /' conftest.$ac_ext >&5
53361
53362 glibcxx_cv_func__powf_use=no
53363 fi
53364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53365       ac_ext=c
53366 ac_cpp='$CPP $CPPFLAGS'
53367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53370
53371
53372 fi
53373
53374   fi
53375   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
53376 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53377
53378     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53379
53380 for ac_func in _powf
53381 do
53382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53383 echo "$as_me:$LINENO: checking for $ac_func" >&5
53384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53385 if eval "test \"\${$as_ac_var+set}\" = set"; then
53386   echo $ECHO_N "(cached) $ECHO_C" >&6
53387 else
53388   if test x$gcc_no_link = xyes; then
53389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53391    { (exit 1); exit 1; }; }
53392 fi
53393 cat >conftest.$ac_ext <<_ACEOF
53394 /* confdefs.h.  */
53395 _ACEOF
53396 cat confdefs.h >>conftest.$ac_ext
53397 cat >>conftest.$ac_ext <<_ACEOF
53398 /* end confdefs.h.  */
53399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53401 #define $ac_func innocuous_$ac_func
53402
53403 /* System header to define __stub macros and hopefully few prototypes,
53404     which can conflict with char $ac_func (); below.
53405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53406     <limits.h> exists even on freestanding compilers.  */
53407
53408 #ifdef __STDC__
53409 # include <limits.h>
53410 #else
53411 # include <assert.h>
53412 #endif
53413
53414 #undef $ac_func
53415
53416 /* Override any gcc2 internal prototype to avoid an error.  */
53417 #ifdef __cplusplus
53418 extern "C"
53419 {
53420 #endif
53421 /* We use char because int might match the return type of a gcc2
53422    builtin and then its argument prototype would still apply.  */
53423 char $ac_func ();
53424 /* The GNU C library defines this for functions which it implements
53425     to always fail with ENOSYS.  Some functions are actually named
53426     something starting with __ and the normal name is an alias.  */
53427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53428 choke me
53429 #else
53430 char (*f) () = $ac_func;
53431 #endif
53432 #ifdef __cplusplus
53433 }
53434 #endif
53435
53436 int
53437 main ()
53438 {
53439 return f != $ac_func;
53440   ;
53441   return 0;
53442 }
53443 _ACEOF
53444 rm -f conftest.$ac_objext conftest$ac_exeext
53445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53446   (eval $ac_link) 2>conftest.er1
53447   ac_status=$?
53448   grep -v '^ *+' conftest.er1 >conftest.err
53449   rm -f conftest.er1
53450   cat conftest.err >&5
53451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452   (exit $ac_status); } &&
53453          { ac_try='test -z "$ac_c_werror_flag"
53454                          || test ! -s conftest.err'
53455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53456   (eval $ac_try) 2>&5
53457   ac_status=$?
53458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53459   (exit $ac_status); }; } &&
53460          { ac_try='test -s conftest$ac_exeext'
53461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53462   (eval $ac_try) 2>&5
53463   ac_status=$?
53464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53465   (exit $ac_status); }; }; then
53466   eval "$as_ac_var=yes"
53467 else
53468   echo "$as_me: failed program was:" >&5
53469 sed 's/^/| /' conftest.$ac_ext >&5
53470
53471 eval "$as_ac_var=no"
53472 fi
53473 rm -f conftest.err conftest.$ac_objext \
53474       conftest$ac_exeext conftest.$ac_ext
53475 fi
53476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53478 if test `eval echo '${'$as_ac_var'}'` = yes; then
53479   cat >>confdefs.h <<_ACEOF
53480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53481 _ACEOF
53482
53483 fi
53484 done
53485
53486     fi
53487   fi
53488
53489
53490
53491
53492
53493
53494   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
53495 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
53496   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53497     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
53498   echo $ECHO_N "(cached) $ECHO_C" >&6
53499 else
53500
53501
53502
53503       ac_ext=cc
53504 ac_cpp='$CXXCPP $CPPFLAGS'
53505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53508
53509       cat >conftest.$ac_ext <<_ACEOF
53510 /* confdefs.h.  */
53511 _ACEOF
53512 cat confdefs.h >>conftest.$ac_ext
53513 cat >>conftest.$ac_ext <<_ACEOF
53514 /* end confdefs.h.  */
53515 #include <math.h>
53516                       #ifdef HAVE_IEEEFP_H
53517                       #include <ieeefp.h>
53518                       #endif
53519
53520 int
53521 main ()
53522 {
53523  sqrtf(0);
53524   ;
53525   return 0;
53526 }
53527 _ACEOF
53528 rm -f conftest.$ac_objext
53529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53530   (eval $ac_compile) 2>conftest.er1
53531   ac_status=$?
53532   grep -v '^ *+' conftest.er1 >conftest.err
53533   rm -f conftest.er1
53534   cat conftest.err >&5
53535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53536   (exit $ac_status); } &&
53537          { ac_try='test -z "$ac_cxx_werror_flag"
53538                          || test ! -s conftest.err'
53539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53540   (eval $ac_try) 2>&5
53541   ac_status=$?
53542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53543   (exit $ac_status); }; } &&
53544          { ac_try='test -s conftest.$ac_objext'
53545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53546   (eval $ac_try) 2>&5
53547   ac_status=$?
53548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53549   (exit $ac_status); }; }; then
53550   glibcxx_cv_func_sqrtf_use=yes
53551 else
53552   echo "$as_me: failed program was:" >&5
53553 sed 's/^/| /' conftest.$ac_ext >&5
53554
53555 glibcxx_cv_func_sqrtf_use=no
53556 fi
53557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53558       ac_ext=c
53559 ac_cpp='$CPP $CPPFLAGS'
53560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53563
53564
53565 fi
53566
53567   fi
53568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
53569 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
53570
53571   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53572
53573 for ac_func in sqrtf
53574 do
53575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53576 echo "$as_me:$LINENO: checking for $ac_func" >&5
53577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53578 if eval "test \"\${$as_ac_var+set}\" = set"; then
53579   echo $ECHO_N "(cached) $ECHO_C" >&6
53580 else
53581   if test x$gcc_no_link = xyes; then
53582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53584    { (exit 1); exit 1; }; }
53585 fi
53586 cat >conftest.$ac_ext <<_ACEOF
53587 /* confdefs.h.  */
53588 _ACEOF
53589 cat confdefs.h >>conftest.$ac_ext
53590 cat >>conftest.$ac_ext <<_ACEOF
53591 /* end confdefs.h.  */
53592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53594 #define $ac_func innocuous_$ac_func
53595
53596 /* System header to define __stub macros and hopefully few prototypes,
53597     which can conflict with char $ac_func (); below.
53598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53599     <limits.h> exists even on freestanding compilers.  */
53600
53601 #ifdef __STDC__
53602 # include <limits.h>
53603 #else
53604 # include <assert.h>
53605 #endif
53606
53607 #undef $ac_func
53608
53609 /* Override any gcc2 internal prototype to avoid an error.  */
53610 #ifdef __cplusplus
53611 extern "C"
53612 {
53613 #endif
53614 /* We use char because int might match the return type of a gcc2
53615    builtin and then its argument prototype would still apply.  */
53616 char $ac_func ();
53617 /* The GNU C library defines this for functions which it implements
53618     to always fail with ENOSYS.  Some functions are actually named
53619     something starting with __ and the normal name is an alias.  */
53620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53621 choke me
53622 #else
53623 char (*f) () = $ac_func;
53624 #endif
53625 #ifdef __cplusplus
53626 }
53627 #endif
53628
53629 int
53630 main ()
53631 {
53632 return f != $ac_func;
53633   ;
53634   return 0;
53635 }
53636 _ACEOF
53637 rm -f conftest.$ac_objext conftest$ac_exeext
53638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53639   (eval $ac_link) 2>conftest.er1
53640   ac_status=$?
53641   grep -v '^ *+' conftest.er1 >conftest.err
53642   rm -f conftest.er1
53643   cat conftest.err >&5
53644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53645   (exit $ac_status); } &&
53646          { ac_try='test -z "$ac_c_werror_flag"
53647                          || test ! -s conftest.err'
53648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53649   (eval $ac_try) 2>&5
53650   ac_status=$?
53651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53652   (exit $ac_status); }; } &&
53653          { ac_try='test -s conftest$ac_exeext'
53654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53655   (eval $ac_try) 2>&5
53656   ac_status=$?
53657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53658   (exit $ac_status); }; }; then
53659   eval "$as_ac_var=yes"
53660 else
53661   echo "$as_me: failed program was:" >&5
53662 sed 's/^/| /' conftest.$ac_ext >&5
53663
53664 eval "$as_ac_var=no"
53665 fi
53666 rm -f conftest.err conftest.$ac_objext \
53667       conftest$ac_exeext conftest.$ac_ext
53668 fi
53669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53671 if test `eval echo '${'$as_ac_var'}'` = yes; then
53672   cat >>confdefs.h <<_ACEOF
53673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53674 _ACEOF
53675
53676 fi
53677 done
53678
53679   else
53680
53681   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
53682 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
53683   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53684     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
53685   echo $ECHO_N "(cached) $ECHO_C" >&6
53686 else
53687
53688
53689
53690       ac_ext=cc
53691 ac_cpp='$CXXCPP $CPPFLAGS'
53692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53695
53696       cat >conftest.$ac_ext <<_ACEOF
53697 /* confdefs.h.  */
53698 _ACEOF
53699 cat confdefs.h >>conftest.$ac_ext
53700 cat >>conftest.$ac_ext <<_ACEOF
53701 /* end confdefs.h.  */
53702 #include <math.h>
53703                       #ifdef HAVE_IEEEFP_H
53704                       #include <ieeefp.h>
53705                       #endif
53706
53707 int
53708 main ()
53709 {
53710  _sqrtf(0);
53711   ;
53712   return 0;
53713 }
53714 _ACEOF
53715 rm -f conftest.$ac_objext
53716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53717   (eval $ac_compile) 2>conftest.er1
53718   ac_status=$?
53719   grep -v '^ *+' conftest.er1 >conftest.err
53720   rm -f conftest.er1
53721   cat conftest.err >&5
53722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53723   (exit $ac_status); } &&
53724          { ac_try='test -z "$ac_cxx_werror_flag"
53725                          || test ! -s conftest.err'
53726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53727   (eval $ac_try) 2>&5
53728   ac_status=$?
53729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53730   (exit $ac_status); }; } &&
53731          { ac_try='test -s conftest.$ac_objext'
53732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733   (eval $ac_try) 2>&5
53734   ac_status=$?
53735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736   (exit $ac_status); }; }; then
53737   glibcxx_cv_func__sqrtf_use=yes
53738 else
53739   echo "$as_me: failed program was:" >&5
53740 sed 's/^/| /' conftest.$ac_ext >&5
53741
53742 glibcxx_cv_func__sqrtf_use=no
53743 fi
53744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53745       ac_ext=c
53746 ac_cpp='$CPP $CPPFLAGS'
53747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53750
53751
53752 fi
53753
53754   fi
53755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
53756 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
53757
53758     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53759
53760 for ac_func in _sqrtf
53761 do
53762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53763 echo "$as_me:$LINENO: checking for $ac_func" >&5
53764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53765 if eval "test \"\${$as_ac_var+set}\" = set"; then
53766   echo $ECHO_N "(cached) $ECHO_C" >&6
53767 else
53768   if test x$gcc_no_link = xyes; then
53769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53771    { (exit 1); exit 1; }; }
53772 fi
53773 cat >conftest.$ac_ext <<_ACEOF
53774 /* confdefs.h.  */
53775 _ACEOF
53776 cat confdefs.h >>conftest.$ac_ext
53777 cat >>conftest.$ac_ext <<_ACEOF
53778 /* end confdefs.h.  */
53779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53781 #define $ac_func innocuous_$ac_func
53782
53783 /* System header to define __stub macros and hopefully few prototypes,
53784     which can conflict with char $ac_func (); below.
53785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53786     <limits.h> exists even on freestanding compilers.  */
53787
53788 #ifdef __STDC__
53789 # include <limits.h>
53790 #else
53791 # include <assert.h>
53792 #endif
53793
53794 #undef $ac_func
53795
53796 /* Override any gcc2 internal prototype to avoid an error.  */
53797 #ifdef __cplusplus
53798 extern "C"
53799 {
53800 #endif
53801 /* We use char because int might match the return type of a gcc2
53802    builtin and then its argument prototype would still apply.  */
53803 char $ac_func ();
53804 /* The GNU C library defines this for functions which it implements
53805     to always fail with ENOSYS.  Some functions are actually named
53806     something starting with __ and the normal name is an alias.  */
53807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53808 choke me
53809 #else
53810 char (*f) () = $ac_func;
53811 #endif
53812 #ifdef __cplusplus
53813 }
53814 #endif
53815
53816 int
53817 main ()
53818 {
53819 return f != $ac_func;
53820   ;
53821   return 0;
53822 }
53823 _ACEOF
53824 rm -f conftest.$ac_objext conftest$ac_exeext
53825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53826   (eval $ac_link) 2>conftest.er1
53827   ac_status=$?
53828   grep -v '^ *+' conftest.er1 >conftest.err
53829   rm -f conftest.er1
53830   cat conftest.err >&5
53831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53832   (exit $ac_status); } &&
53833          { ac_try='test -z "$ac_c_werror_flag"
53834                          || test ! -s conftest.err'
53835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53836   (eval $ac_try) 2>&5
53837   ac_status=$?
53838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53839   (exit $ac_status); }; } &&
53840          { ac_try='test -s conftest$ac_exeext'
53841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53842   (eval $ac_try) 2>&5
53843   ac_status=$?
53844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53845   (exit $ac_status); }; }; then
53846   eval "$as_ac_var=yes"
53847 else
53848   echo "$as_me: failed program was:" >&5
53849 sed 's/^/| /' conftest.$ac_ext >&5
53850
53851 eval "$as_ac_var=no"
53852 fi
53853 rm -f conftest.err conftest.$ac_objext \
53854       conftest$ac_exeext conftest.$ac_ext
53855 fi
53856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53858 if test `eval echo '${'$as_ac_var'}'` = yes; then
53859   cat >>confdefs.h <<_ACEOF
53860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53861 _ACEOF
53862
53863 fi
53864 done
53865
53866     fi
53867   fi
53868
53869
53870
53871
53872
53873
53874   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
53875 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
53876   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53877     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
53878   echo $ECHO_N "(cached) $ECHO_C" >&6
53879 else
53880
53881
53882
53883       ac_ext=cc
53884 ac_cpp='$CXXCPP $CPPFLAGS'
53885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53888
53889       cat >conftest.$ac_ext <<_ACEOF
53890 /* confdefs.h.  */
53891 _ACEOF
53892 cat confdefs.h >>conftest.$ac_ext
53893 cat >>conftest.$ac_ext <<_ACEOF
53894 /* end confdefs.h.  */
53895 #include <math.h>
53896 int
53897 main ()
53898 {
53899  sincosf(0, 0, 0);
53900   ;
53901   return 0;
53902 }
53903 _ACEOF
53904 rm -f conftest.$ac_objext
53905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53906   (eval $ac_compile) 2>conftest.er1
53907   ac_status=$?
53908   grep -v '^ *+' conftest.er1 >conftest.err
53909   rm -f conftest.er1
53910   cat conftest.err >&5
53911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53912   (exit $ac_status); } &&
53913          { ac_try='test -z "$ac_cxx_werror_flag"
53914                          || test ! -s conftest.err'
53915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916   (eval $ac_try) 2>&5
53917   ac_status=$?
53918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919   (exit $ac_status); }; } &&
53920          { ac_try='test -s conftest.$ac_objext'
53921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53922   (eval $ac_try) 2>&5
53923   ac_status=$?
53924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925   (exit $ac_status); }; }; then
53926   glibcxx_cv_func_sincosf_use=yes
53927 else
53928   echo "$as_me: failed program was:" >&5
53929 sed 's/^/| /' conftest.$ac_ext >&5
53930
53931 glibcxx_cv_func_sincosf_use=no
53932 fi
53933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53934       ac_ext=c
53935 ac_cpp='$CPP $CPPFLAGS'
53936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53939
53940
53941 fi
53942
53943   fi
53944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53945 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53946
53947   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53948
53949 for ac_func in sincosf
53950 do
53951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53952 echo "$as_me:$LINENO: checking for $ac_func" >&5
53953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53954 if eval "test \"\${$as_ac_var+set}\" = set"; then
53955   echo $ECHO_N "(cached) $ECHO_C" >&6
53956 else
53957   if test x$gcc_no_link = xyes; then
53958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53960    { (exit 1); exit 1; }; }
53961 fi
53962 cat >conftest.$ac_ext <<_ACEOF
53963 /* confdefs.h.  */
53964 _ACEOF
53965 cat confdefs.h >>conftest.$ac_ext
53966 cat >>conftest.$ac_ext <<_ACEOF
53967 /* end confdefs.h.  */
53968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53970 #define $ac_func innocuous_$ac_func
53971
53972 /* System header to define __stub macros and hopefully few prototypes,
53973     which can conflict with char $ac_func (); below.
53974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53975     <limits.h> exists even on freestanding compilers.  */
53976
53977 #ifdef __STDC__
53978 # include <limits.h>
53979 #else
53980 # include <assert.h>
53981 #endif
53982
53983 #undef $ac_func
53984
53985 /* Override any gcc2 internal prototype to avoid an error.  */
53986 #ifdef __cplusplus
53987 extern "C"
53988 {
53989 #endif
53990 /* We use char because int might match the return type of a gcc2
53991    builtin and then its argument prototype would still apply.  */
53992 char $ac_func ();
53993 /* The GNU C library defines this for functions which it implements
53994     to always fail with ENOSYS.  Some functions are actually named
53995     something starting with __ and the normal name is an alias.  */
53996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53997 choke me
53998 #else
53999 char (*f) () = $ac_func;
54000 #endif
54001 #ifdef __cplusplus
54002 }
54003 #endif
54004
54005 int
54006 main ()
54007 {
54008 return f != $ac_func;
54009   ;
54010   return 0;
54011 }
54012 _ACEOF
54013 rm -f conftest.$ac_objext conftest$ac_exeext
54014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54015   (eval $ac_link) 2>conftest.er1
54016   ac_status=$?
54017   grep -v '^ *+' conftest.er1 >conftest.err
54018   rm -f conftest.er1
54019   cat conftest.err >&5
54020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54021   (exit $ac_status); } &&
54022          { ac_try='test -z "$ac_c_werror_flag"
54023                          || test ! -s conftest.err'
54024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54025   (eval $ac_try) 2>&5
54026   ac_status=$?
54027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54028   (exit $ac_status); }; } &&
54029          { ac_try='test -s conftest$ac_exeext'
54030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54031   (eval $ac_try) 2>&5
54032   ac_status=$?
54033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54034   (exit $ac_status); }; }; then
54035   eval "$as_ac_var=yes"
54036 else
54037   echo "$as_me: failed program was:" >&5
54038 sed 's/^/| /' conftest.$ac_ext >&5
54039
54040 eval "$as_ac_var=no"
54041 fi
54042 rm -f conftest.err conftest.$ac_objext \
54043       conftest$ac_exeext conftest.$ac_ext
54044 fi
54045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54047 if test `eval echo '${'$as_ac_var'}'` = yes; then
54048   cat >>confdefs.h <<_ACEOF
54049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54050 _ACEOF
54051
54052 fi
54053 done
54054
54055   else
54056
54057   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
54058 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
54059   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54060     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
54061   echo $ECHO_N "(cached) $ECHO_C" >&6
54062 else
54063
54064
54065
54066       ac_ext=cc
54067 ac_cpp='$CXXCPP $CPPFLAGS'
54068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54071
54072       cat >conftest.$ac_ext <<_ACEOF
54073 /* confdefs.h.  */
54074 _ACEOF
54075 cat confdefs.h >>conftest.$ac_ext
54076 cat >>conftest.$ac_ext <<_ACEOF
54077 /* end confdefs.h.  */
54078 #include <math.h>
54079 int
54080 main ()
54081 {
54082  _sincosf(0, 0, 0);
54083   ;
54084   return 0;
54085 }
54086 _ACEOF
54087 rm -f conftest.$ac_objext
54088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54089   (eval $ac_compile) 2>conftest.er1
54090   ac_status=$?
54091   grep -v '^ *+' conftest.er1 >conftest.err
54092   rm -f conftest.er1
54093   cat conftest.err >&5
54094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54095   (exit $ac_status); } &&
54096          { ac_try='test -z "$ac_cxx_werror_flag"
54097                          || test ! -s conftest.err'
54098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54099   (eval $ac_try) 2>&5
54100   ac_status=$?
54101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54102   (exit $ac_status); }; } &&
54103          { ac_try='test -s conftest.$ac_objext'
54104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54105   (eval $ac_try) 2>&5
54106   ac_status=$?
54107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108   (exit $ac_status); }; }; then
54109   glibcxx_cv_func__sincosf_use=yes
54110 else
54111   echo "$as_me: failed program was:" >&5
54112 sed 's/^/| /' conftest.$ac_ext >&5
54113
54114 glibcxx_cv_func__sincosf_use=no
54115 fi
54116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54117       ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122
54123
54124 fi
54125
54126   fi
54127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
54128 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
54129
54130     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54131
54132 for ac_func in _sincosf
54133 do
54134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54135 echo "$as_me:$LINENO: checking for $ac_func" >&5
54136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54137 if eval "test \"\${$as_ac_var+set}\" = set"; then
54138   echo $ECHO_N "(cached) $ECHO_C" >&6
54139 else
54140   if test x$gcc_no_link = xyes; then
54141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54143    { (exit 1); exit 1; }; }
54144 fi
54145 cat >conftest.$ac_ext <<_ACEOF
54146 /* confdefs.h.  */
54147 _ACEOF
54148 cat confdefs.h >>conftest.$ac_ext
54149 cat >>conftest.$ac_ext <<_ACEOF
54150 /* end confdefs.h.  */
54151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54153 #define $ac_func innocuous_$ac_func
54154
54155 /* System header to define __stub macros and hopefully few prototypes,
54156     which can conflict with char $ac_func (); below.
54157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54158     <limits.h> exists even on freestanding compilers.  */
54159
54160 #ifdef __STDC__
54161 # include <limits.h>
54162 #else
54163 # include <assert.h>
54164 #endif
54165
54166 #undef $ac_func
54167
54168 /* Override any gcc2 internal prototype to avoid an error.  */
54169 #ifdef __cplusplus
54170 extern "C"
54171 {
54172 #endif
54173 /* We use char because int might match the return type of a gcc2
54174    builtin and then its argument prototype would still apply.  */
54175 char $ac_func ();
54176 /* The GNU C library defines this for functions which it implements
54177     to always fail with ENOSYS.  Some functions are actually named
54178     something starting with __ and the normal name is an alias.  */
54179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54180 choke me
54181 #else
54182 char (*f) () = $ac_func;
54183 #endif
54184 #ifdef __cplusplus
54185 }
54186 #endif
54187
54188 int
54189 main ()
54190 {
54191 return f != $ac_func;
54192   ;
54193   return 0;
54194 }
54195 _ACEOF
54196 rm -f conftest.$ac_objext conftest$ac_exeext
54197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54198   (eval $ac_link) 2>conftest.er1
54199   ac_status=$?
54200   grep -v '^ *+' conftest.er1 >conftest.err
54201   rm -f conftest.er1
54202   cat conftest.err >&5
54203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54204   (exit $ac_status); } &&
54205          { ac_try='test -z "$ac_c_werror_flag"
54206                          || test ! -s conftest.err'
54207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54208   (eval $ac_try) 2>&5
54209   ac_status=$?
54210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54211   (exit $ac_status); }; } &&
54212          { ac_try='test -s conftest$ac_exeext'
54213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54214   (eval $ac_try) 2>&5
54215   ac_status=$?
54216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54217   (exit $ac_status); }; }; then
54218   eval "$as_ac_var=yes"
54219 else
54220   echo "$as_me: failed program was:" >&5
54221 sed 's/^/| /' conftest.$ac_ext >&5
54222
54223 eval "$as_ac_var=no"
54224 fi
54225 rm -f conftest.err conftest.$ac_objext \
54226       conftest$ac_exeext conftest.$ac_ext
54227 fi
54228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54230 if test `eval echo '${'$as_ac_var'}'` = yes; then
54231   cat >>confdefs.h <<_ACEOF
54232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54233 _ACEOF
54234
54235 fi
54236 done
54237
54238     fi
54239   fi
54240
54241
54242
54243
54244
54245
54246   echo "$as_me:$LINENO: checking for finitef declaration" >&5
54247 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
54248   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54249     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
54250   echo $ECHO_N "(cached) $ECHO_C" >&6
54251 else
54252
54253
54254
54255       ac_ext=cc
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260
54261       cat >conftest.$ac_ext <<_ACEOF
54262 /* confdefs.h.  */
54263 _ACEOF
54264 cat confdefs.h >>conftest.$ac_ext
54265 cat >>conftest.$ac_ext <<_ACEOF
54266 /* end confdefs.h.  */
54267 #include <math.h>
54268                       #ifdef HAVE_IEEEFP_H
54269                       #include <ieeefp.h>
54270                       #endif
54271
54272 int
54273 main ()
54274 {
54275  finitef(0);
54276   ;
54277   return 0;
54278 }
54279 _ACEOF
54280 rm -f conftest.$ac_objext
54281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54282   (eval $ac_compile) 2>conftest.er1
54283   ac_status=$?
54284   grep -v '^ *+' conftest.er1 >conftest.err
54285   rm -f conftest.er1
54286   cat conftest.err >&5
54287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54288   (exit $ac_status); } &&
54289          { ac_try='test -z "$ac_cxx_werror_flag"
54290                          || test ! -s conftest.err'
54291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54292   (eval $ac_try) 2>&5
54293   ac_status=$?
54294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54295   (exit $ac_status); }; } &&
54296          { ac_try='test -s conftest.$ac_objext'
54297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54298   (eval $ac_try) 2>&5
54299   ac_status=$?
54300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54301   (exit $ac_status); }; }; then
54302   glibcxx_cv_func_finitef_use=yes
54303 else
54304   echo "$as_me: failed program was:" >&5
54305 sed 's/^/| /' conftest.$ac_ext >&5
54306
54307 glibcxx_cv_func_finitef_use=no
54308 fi
54309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54310       ac_ext=c
54311 ac_cpp='$CPP $CPPFLAGS'
54312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54315
54316
54317 fi
54318
54319   fi
54320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
54321 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
54322
54323   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54324
54325 for ac_func in finitef
54326 do
54327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54328 echo "$as_me:$LINENO: checking for $ac_func" >&5
54329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54330 if eval "test \"\${$as_ac_var+set}\" = set"; then
54331   echo $ECHO_N "(cached) $ECHO_C" >&6
54332 else
54333   if test x$gcc_no_link = xyes; then
54334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54336    { (exit 1); exit 1; }; }
54337 fi
54338 cat >conftest.$ac_ext <<_ACEOF
54339 /* confdefs.h.  */
54340 _ACEOF
54341 cat confdefs.h >>conftest.$ac_ext
54342 cat >>conftest.$ac_ext <<_ACEOF
54343 /* end confdefs.h.  */
54344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54346 #define $ac_func innocuous_$ac_func
54347
54348 /* System header to define __stub macros and hopefully few prototypes,
54349     which can conflict with char $ac_func (); below.
54350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54351     <limits.h> exists even on freestanding compilers.  */
54352
54353 #ifdef __STDC__
54354 # include <limits.h>
54355 #else
54356 # include <assert.h>
54357 #endif
54358
54359 #undef $ac_func
54360
54361 /* Override any gcc2 internal prototype to avoid an error.  */
54362 #ifdef __cplusplus
54363 extern "C"
54364 {
54365 #endif
54366 /* We use char because int might match the return type of a gcc2
54367    builtin and then its argument prototype would still apply.  */
54368 char $ac_func ();
54369 /* The GNU C library defines this for functions which it implements
54370     to always fail with ENOSYS.  Some functions are actually named
54371     something starting with __ and the normal name is an alias.  */
54372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54373 choke me
54374 #else
54375 char (*f) () = $ac_func;
54376 #endif
54377 #ifdef __cplusplus
54378 }
54379 #endif
54380
54381 int
54382 main ()
54383 {
54384 return f != $ac_func;
54385   ;
54386   return 0;
54387 }
54388 _ACEOF
54389 rm -f conftest.$ac_objext conftest$ac_exeext
54390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54391   (eval $ac_link) 2>conftest.er1
54392   ac_status=$?
54393   grep -v '^ *+' conftest.er1 >conftest.err
54394   rm -f conftest.er1
54395   cat conftest.err >&5
54396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54397   (exit $ac_status); } &&
54398          { ac_try='test -z "$ac_c_werror_flag"
54399                          || test ! -s conftest.err'
54400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54401   (eval $ac_try) 2>&5
54402   ac_status=$?
54403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54404   (exit $ac_status); }; } &&
54405          { ac_try='test -s conftest$ac_exeext'
54406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54407   (eval $ac_try) 2>&5
54408   ac_status=$?
54409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54410   (exit $ac_status); }; }; then
54411   eval "$as_ac_var=yes"
54412 else
54413   echo "$as_me: failed program was:" >&5
54414 sed 's/^/| /' conftest.$ac_ext >&5
54415
54416 eval "$as_ac_var=no"
54417 fi
54418 rm -f conftest.err conftest.$ac_objext \
54419       conftest$ac_exeext conftest.$ac_ext
54420 fi
54421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54423 if test `eval echo '${'$as_ac_var'}'` = yes; then
54424   cat >>confdefs.h <<_ACEOF
54425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54426 _ACEOF
54427
54428 fi
54429 done
54430
54431   else
54432
54433   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54434 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54435   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54436     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54437   echo $ECHO_N "(cached) $ECHO_C" >&6
54438 else
54439
54440
54441
54442       ac_ext=cc
54443 ac_cpp='$CXXCPP $CPPFLAGS'
54444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54447
54448       cat >conftest.$ac_ext <<_ACEOF
54449 /* confdefs.h.  */
54450 _ACEOF
54451 cat confdefs.h >>conftest.$ac_ext
54452 cat >>conftest.$ac_ext <<_ACEOF
54453 /* end confdefs.h.  */
54454 #include <math.h>
54455                       #ifdef HAVE_IEEEFP_H
54456                       #include <ieeefp.h>
54457                       #endif
54458
54459 int
54460 main ()
54461 {
54462  _finitef(0);
54463   ;
54464   return 0;
54465 }
54466 _ACEOF
54467 rm -f conftest.$ac_objext
54468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54469   (eval $ac_compile) 2>conftest.er1
54470   ac_status=$?
54471   grep -v '^ *+' conftest.er1 >conftest.err
54472   rm -f conftest.er1
54473   cat conftest.err >&5
54474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54475   (exit $ac_status); } &&
54476          { ac_try='test -z "$ac_cxx_werror_flag"
54477                          || test ! -s conftest.err'
54478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54479   (eval $ac_try) 2>&5
54480   ac_status=$?
54481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54482   (exit $ac_status); }; } &&
54483          { ac_try='test -s conftest.$ac_objext'
54484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54485   (eval $ac_try) 2>&5
54486   ac_status=$?
54487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54488   (exit $ac_status); }; }; then
54489   glibcxx_cv_func__finitef_use=yes
54490 else
54491   echo "$as_me: failed program was:" >&5
54492 sed 's/^/| /' conftest.$ac_ext >&5
54493
54494 glibcxx_cv_func__finitef_use=no
54495 fi
54496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54497       ac_ext=c
54498 ac_cpp='$CPP $CPPFLAGS'
54499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54502
54503
54504 fi
54505
54506   fi
54507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54508 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54509
54510     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54511
54512 for ac_func in _finitef
54513 do
54514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54515 echo "$as_me:$LINENO: checking for $ac_func" >&5
54516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54517 if eval "test \"\${$as_ac_var+set}\" = set"; then
54518   echo $ECHO_N "(cached) $ECHO_C" >&6
54519 else
54520   if test x$gcc_no_link = xyes; then
54521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54523    { (exit 1); exit 1; }; }
54524 fi
54525 cat >conftest.$ac_ext <<_ACEOF
54526 /* confdefs.h.  */
54527 _ACEOF
54528 cat confdefs.h >>conftest.$ac_ext
54529 cat >>conftest.$ac_ext <<_ACEOF
54530 /* end confdefs.h.  */
54531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54533 #define $ac_func innocuous_$ac_func
54534
54535 /* System header to define __stub macros and hopefully few prototypes,
54536     which can conflict with char $ac_func (); below.
54537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54538     <limits.h> exists even on freestanding compilers.  */
54539
54540 #ifdef __STDC__
54541 # include <limits.h>
54542 #else
54543 # include <assert.h>
54544 #endif
54545
54546 #undef $ac_func
54547
54548 /* Override any gcc2 internal prototype to avoid an error.  */
54549 #ifdef __cplusplus
54550 extern "C"
54551 {
54552 #endif
54553 /* We use char because int might match the return type of a gcc2
54554    builtin and then its argument prototype would still apply.  */
54555 char $ac_func ();
54556 /* The GNU C library defines this for functions which it implements
54557     to always fail with ENOSYS.  Some functions are actually named
54558     something starting with __ and the normal name is an alias.  */
54559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54560 choke me
54561 #else
54562 char (*f) () = $ac_func;
54563 #endif
54564 #ifdef __cplusplus
54565 }
54566 #endif
54567
54568 int
54569 main ()
54570 {
54571 return f != $ac_func;
54572   ;
54573   return 0;
54574 }
54575 _ACEOF
54576 rm -f conftest.$ac_objext conftest$ac_exeext
54577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54578   (eval $ac_link) 2>conftest.er1
54579   ac_status=$?
54580   grep -v '^ *+' conftest.er1 >conftest.err
54581   rm -f conftest.er1
54582   cat conftest.err >&5
54583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54584   (exit $ac_status); } &&
54585          { ac_try='test -z "$ac_c_werror_flag"
54586                          || test ! -s conftest.err'
54587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54588   (eval $ac_try) 2>&5
54589   ac_status=$?
54590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54591   (exit $ac_status); }; } &&
54592          { ac_try='test -s conftest$ac_exeext'
54593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54594   (eval $ac_try) 2>&5
54595   ac_status=$?
54596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54597   (exit $ac_status); }; }; then
54598   eval "$as_ac_var=yes"
54599 else
54600   echo "$as_me: failed program was:" >&5
54601 sed 's/^/| /' conftest.$ac_ext >&5
54602
54603 eval "$as_ac_var=no"
54604 fi
54605 rm -f conftest.err conftest.$ac_objext \
54606       conftest$ac_exeext conftest.$ac_ext
54607 fi
54608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54610 if test `eval echo '${'$as_ac_var'}'` = yes; then
54611   cat >>confdefs.h <<_ACEOF
54612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54613 _ACEOF
54614
54615 fi
54616 done
54617
54618     fi
54619   fi
54620
54621
54622
54623
54624
54625
54626     echo "$as_me:$LINENO: checking for long double trig functions" >&5
54627 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
54628   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
54629   echo $ECHO_N "(cached) $ECHO_C" >&6
54630 else
54631
54632
54633
54634     ac_ext=cc
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639
54640     cat >conftest.$ac_ext <<_ACEOF
54641 /* confdefs.h.  */
54642 _ACEOF
54643 cat confdefs.h >>conftest.$ac_ext
54644 cat >>conftest.$ac_ext <<_ACEOF
54645 /* end confdefs.h.  */
54646 #include <math.h>
54647 int
54648 main ()
54649 {
54650 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54651   ;
54652   return 0;
54653 }
54654 _ACEOF
54655 rm -f conftest.$ac_objext
54656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54657   (eval $ac_compile) 2>conftest.er1
54658   ac_status=$?
54659   grep -v '^ *+' conftest.er1 >conftest.err
54660   rm -f conftest.er1
54661   cat conftest.err >&5
54662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54663   (exit $ac_status); } &&
54664          { ac_try='test -z "$ac_cxx_werror_flag"
54665                          || test ! -s conftest.err'
54666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54667   (eval $ac_try) 2>&5
54668   ac_status=$?
54669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54670   (exit $ac_status); }; } &&
54671          { ac_try='test -s conftest.$ac_objext'
54672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54673   (eval $ac_try) 2>&5
54674   ac_status=$?
54675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54676   (exit $ac_status); }; }; then
54677   glibcxx_cv_func_long_double_trig_use=yes
54678 else
54679   echo "$as_me: failed program was:" >&5
54680 sed 's/^/| /' conftest.$ac_ext >&5
54681
54682 glibcxx_cv_func_long_double_trig_use=no
54683 fi
54684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54685     ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54690
54691 fi
54692
54693   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
54694 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
54695   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54696
54697
54698
54699
54700
54701
54702
54703
54704
54705 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54706 do
54707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54708 echo "$as_me:$LINENO: checking for $ac_func" >&5
54709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54710 if eval "test \"\${$as_ac_var+set}\" = set"; then
54711   echo $ECHO_N "(cached) $ECHO_C" >&6
54712 else
54713   if test x$gcc_no_link = xyes; then
54714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54716    { (exit 1); exit 1; }; }
54717 fi
54718 cat >conftest.$ac_ext <<_ACEOF
54719 /* confdefs.h.  */
54720 _ACEOF
54721 cat confdefs.h >>conftest.$ac_ext
54722 cat >>conftest.$ac_ext <<_ACEOF
54723 /* end confdefs.h.  */
54724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54726 #define $ac_func innocuous_$ac_func
54727
54728 /* System header to define __stub macros and hopefully few prototypes,
54729     which can conflict with char $ac_func (); below.
54730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54731     <limits.h> exists even on freestanding compilers.  */
54732
54733 #ifdef __STDC__
54734 # include <limits.h>
54735 #else
54736 # include <assert.h>
54737 #endif
54738
54739 #undef $ac_func
54740
54741 /* Override any gcc2 internal prototype to avoid an error.  */
54742 #ifdef __cplusplus
54743 extern "C"
54744 {
54745 #endif
54746 /* We use char because int might match the return type of a gcc2
54747    builtin and then its argument prototype would still apply.  */
54748 char $ac_func ();
54749 /* The GNU C library defines this for functions which it implements
54750     to always fail with ENOSYS.  Some functions are actually named
54751     something starting with __ and the normal name is an alias.  */
54752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54753 choke me
54754 #else
54755 char (*f) () = $ac_func;
54756 #endif
54757 #ifdef __cplusplus
54758 }
54759 #endif
54760
54761 int
54762 main ()
54763 {
54764 return f != $ac_func;
54765   ;
54766   return 0;
54767 }
54768 _ACEOF
54769 rm -f conftest.$ac_objext conftest$ac_exeext
54770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54771   (eval $ac_link) 2>conftest.er1
54772   ac_status=$?
54773   grep -v '^ *+' conftest.er1 >conftest.err
54774   rm -f conftest.er1
54775   cat conftest.err >&5
54776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54777   (exit $ac_status); } &&
54778          { ac_try='test -z "$ac_c_werror_flag"
54779                          || test ! -s conftest.err'
54780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54781   (eval $ac_try) 2>&5
54782   ac_status=$?
54783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54784   (exit $ac_status); }; } &&
54785          { ac_try='test -s conftest$ac_exeext'
54786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54787   (eval $ac_try) 2>&5
54788   ac_status=$?
54789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54790   (exit $ac_status); }; }; then
54791   eval "$as_ac_var=yes"
54792 else
54793   echo "$as_me: failed program was:" >&5
54794 sed 's/^/| /' conftest.$ac_ext >&5
54795
54796 eval "$as_ac_var=no"
54797 fi
54798 rm -f conftest.err conftest.$ac_objext \
54799       conftest$ac_exeext conftest.$ac_ext
54800 fi
54801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54803 if test `eval echo '${'$as_ac_var'}'` = yes; then
54804   cat >>confdefs.h <<_ACEOF
54805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54806 _ACEOF
54807
54808 fi
54809 done
54810
54811   else
54812     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
54813 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
54814     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
54815   echo $ECHO_N "(cached) $ECHO_C" >&6
54816 else
54817
54818
54819
54820       ac_ext=cc
54821 ac_cpp='$CXXCPP $CPPFLAGS'
54822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54825
54826       cat >conftest.$ac_ext <<_ACEOF
54827 /* confdefs.h.  */
54828 _ACEOF
54829 cat confdefs.h >>conftest.$ac_ext
54830 cat >>conftest.$ac_ext <<_ACEOF
54831 /* end confdefs.h.  */
54832 #include <math.h>
54833 int
54834 main ()
54835 {
54836 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54837   ;
54838   return 0;
54839 }
54840 _ACEOF
54841 rm -f conftest.$ac_objext
54842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54843   (eval $ac_compile) 2>conftest.er1
54844   ac_status=$?
54845   grep -v '^ *+' conftest.er1 >conftest.err
54846   rm -f conftest.er1
54847   cat conftest.err >&5
54848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54849   (exit $ac_status); } &&
54850          { ac_try='test -z "$ac_cxx_werror_flag"
54851                          || test ! -s conftest.err'
54852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54853   (eval $ac_try) 2>&5
54854   ac_status=$?
54855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856   (exit $ac_status); }; } &&
54857          { ac_try='test -s conftest.$ac_objext'
54858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54859   (eval $ac_try) 2>&5
54860   ac_status=$?
54861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54862   (exit $ac_status); }; }; then
54863   glibcxx_cv_func__long_double_trig_use=yes
54864 else
54865   echo "$as_me: failed program was:" >&5
54866 sed 's/^/| /' conftest.$ac_ext >&5
54867
54868 glibcxx_cv_func__long_double_trig_use=no
54869 fi
54870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54871       ac_ext=c
54872 ac_cpp='$CPP $CPPFLAGS'
54873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54876
54877 fi
54878
54879     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
54880 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
54881     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54882
54883
54884
54885
54886
54887
54888
54889
54890
54891 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54892 do
54893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54894 echo "$as_me:$LINENO: checking for $ac_func" >&5
54895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54896 if eval "test \"\${$as_ac_var+set}\" = set"; then
54897   echo $ECHO_N "(cached) $ECHO_C" >&6
54898 else
54899   if test x$gcc_no_link = xyes; then
54900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54902    { (exit 1); exit 1; }; }
54903 fi
54904 cat >conftest.$ac_ext <<_ACEOF
54905 /* confdefs.h.  */
54906 _ACEOF
54907 cat confdefs.h >>conftest.$ac_ext
54908 cat >>conftest.$ac_ext <<_ACEOF
54909 /* end confdefs.h.  */
54910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54912 #define $ac_func innocuous_$ac_func
54913
54914 /* System header to define __stub macros and hopefully few prototypes,
54915     which can conflict with char $ac_func (); below.
54916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54917     <limits.h> exists even on freestanding compilers.  */
54918
54919 #ifdef __STDC__
54920 # include <limits.h>
54921 #else
54922 # include <assert.h>
54923 #endif
54924
54925 #undef $ac_func
54926
54927 /* Override any gcc2 internal prototype to avoid an error.  */
54928 #ifdef __cplusplus
54929 extern "C"
54930 {
54931 #endif
54932 /* We use char because int might match the return type of a gcc2
54933    builtin and then its argument prototype would still apply.  */
54934 char $ac_func ();
54935 /* The GNU C library defines this for functions which it implements
54936     to always fail with ENOSYS.  Some functions are actually named
54937     something starting with __ and the normal name is an alias.  */
54938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54939 choke me
54940 #else
54941 char (*f) () = $ac_func;
54942 #endif
54943 #ifdef __cplusplus
54944 }
54945 #endif
54946
54947 int
54948 main ()
54949 {
54950 return f != $ac_func;
54951   ;
54952   return 0;
54953 }
54954 _ACEOF
54955 rm -f conftest.$ac_objext conftest$ac_exeext
54956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54957   (eval $ac_link) 2>conftest.er1
54958   ac_status=$?
54959   grep -v '^ *+' conftest.er1 >conftest.err
54960   rm -f conftest.er1
54961   cat conftest.err >&5
54962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54963   (exit $ac_status); } &&
54964          { ac_try='test -z "$ac_c_werror_flag"
54965                          || test ! -s conftest.err'
54966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54967   (eval $ac_try) 2>&5
54968   ac_status=$?
54969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54970   (exit $ac_status); }; } &&
54971          { ac_try='test -s conftest$ac_exeext'
54972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54973   (eval $ac_try) 2>&5
54974   ac_status=$?
54975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54976   (exit $ac_status); }; }; then
54977   eval "$as_ac_var=yes"
54978 else
54979   echo "$as_me: failed program was:" >&5
54980 sed 's/^/| /' conftest.$ac_ext >&5
54981
54982 eval "$as_ac_var=no"
54983 fi
54984 rm -f conftest.err conftest.$ac_objext \
54985       conftest$ac_exeext conftest.$ac_ext
54986 fi
54987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54989 if test `eval echo '${'$as_ac_var'}'` = yes; then
54990   cat >>confdefs.h <<_ACEOF
54991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54992 _ACEOF
54993
54994 fi
54995 done
54996
54997     fi
54998   fi
54999
55000
55001
55002
55003
55004
55005
55006
55007
55008
55009
55010
55011
55012
55013     echo "$as_me:$LINENO: checking for long double round functions" >&5
55014 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
55015   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
55016   echo $ECHO_N "(cached) $ECHO_C" >&6
55017 else
55018
55019
55020
55021     ac_ext=cc
55022 ac_cpp='$CXXCPP $CPPFLAGS'
55023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55026
55027     cat >conftest.$ac_ext <<_ACEOF
55028 /* confdefs.h.  */
55029 _ACEOF
55030 cat confdefs.h >>conftest.$ac_ext
55031 cat >>conftest.$ac_ext <<_ACEOF
55032 /* end confdefs.h.  */
55033 #include <math.h>
55034 int
55035 main ()
55036 {
55037 ceill (0); floorl (0);
55038   ;
55039   return 0;
55040 }
55041 _ACEOF
55042 rm -f conftest.$ac_objext
55043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55044   (eval $ac_compile) 2>conftest.er1
55045   ac_status=$?
55046   grep -v '^ *+' conftest.er1 >conftest.err
55047   rm -f conftest.er1
55048   cat conftest.err >&5
55049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55050   (exit $ac_status); } &&
55051          { ac_try='test -z "$ac_cxx_werror_flag"
55052                          || test ! -s conftest.err'
55053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55054   (eval $ac_try) 2>&5
55055   ac_status=$?
55056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55057   (exit $ac_status); }; } &&
55058          { ac_try='test -s conftest.$ac_objext'
55059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55060   (eval $ac_try) 2>&5
55061   ac_status=$?
55062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55063   (exit $ac_status); }; }; then
55064   glibcxx_cv_func_long_double_round_use=yes
55065 else
55066   echo "$as_me: failed program was:" >&5
55067 sed 's/^/| /' conftest.$ac_ext >&5
55068
55069 glibcxx_cv_func_long_double_round_use=no
55070 fi
55071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55072     ac_ext=c
55073 ac_cpp='$CPP $CPPFLAGS'
55074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55077
55078 fi
55079
55080   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
55081 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
55082   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55083
55084
55085 for ac_func in ceill floorl
55086 do
55087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55088 echo "$as_me:$LINENO: checking for $ac_func" >&5
55089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55090 if eval "test \"\${$as_ac_var+set}\" = set"; then
55091   echo $ECHO_N "(cached) $ECHO_C" >&6
55092 else
55093   if test x$gcc_no_link = xyes; then
55094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55096    { (exit 1); exit 1; }; }
55097 fi
55098 cat >conftest.$ac_ext <<_ACEOF
55099 /* confdefs.h.  */
55100 _ACEOF
55101 cat confdefs.h >>conftest.$ac_ext
55102 cat >>conftest.$ac_ext <<_ACEOF
55103 /* end confdefs.h.  */
55104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55106 #define $ac_func innocuous_$ac_func
55107
55108 /* System header to define __stub macros and hopefully few prototypes,
55109     which can conflict with char $ac_func (); below.
55110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55111     <limits.h> exists even on freestanding compilers.  */
55112
55113 #ifdef __STDC__
55114 # include <limits.h>
55115 #else
55116 # include <assert.h>
55117 #endif
55118
55119 #undef $ac_func
55120
55121 /* Override any gcc2 internal prototype to avoid an error.  */
55122 #ifdef __cplusplus
55123 extern "C"
55124 {
55125 #endif
55126 /* We use char because int might match the return type of a gcc2
55127    builtin and then its argument prototype would still apply.  */
55128 char $ac_func ();
55129 /* The GNU C library defines this for functions which it implements
55130     to always fail with ENOSYS.  Some functions are actually named
55131     something starting with __ and the normal name is an alias.  */
55132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55133 choke me
55134 #else
55135 char (*f) () = $ac_func;
55136 #endif
55137 #ifdef __cplusplus
55138 }
55139 #endif
55140
55141 int
55142 main ()
55143 {
55144 return f != $ac_func;
55145   ;
55146   return 0;
55147 }
55148 _ACEOF
55149 rm -f conftest.$ac_objext conftest$ac_exeext
55150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55151   (eval $ac_link) 2>conftest.er1
55152   ac_status=$?
55153   grep -v '^ *+' conftest.er1 >conftest.err
55154   rm -f conftest.er1
55155   cat conftest.err >&5
55156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55157   (exit $ac_status); } &&
55158          { ac_try='test -z "$ac_c_werror_flag"
55159                          || test ! -s conftest.err'
55160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55161   (eval $ac_try) 2>&5
55162   ac_status=$?
55163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55164   (exit $ac_status); }; } &&
55165          { ac_try='test -s conftest$ac_exeext'
55166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55167   (eval $ac_try) 2>&5
55168   ac_status=$?
55169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55170   (exit $ac_status); }; }; then
55171   eval "$as_ac_var=yes"
55172 else
55173   echo "$as_me: failed program was:" >&5
55174 sed 's/^/| /' conftest.$ac_ext >&5
55175
55176 eval "$as_ac_var=no"
55177 fi
55178 rm -f conftest.err conftest.$ac_objext \
55179       conftest$ac_exeext conftest.$ac_ext
55180 fi
55181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55183 if test `eval echo '${'$as_ac_var'}'` = yes; then
55184   cat >>confdefs.h <<_ACEOF
55185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55186 _ACEOF
55187
55188 fi
55189 done
55190
55191   else
55192     echo "$as_me:$LINENO: checking for _long double round functions" >&5
55193 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
55194     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
55195   echo $ECHO_N "(cached) $ECHO_C" >&6
55196 else
55197
55198
55199
55200       ac_ext=cc
55201 ac_cpp='$CXXCPP $CPPFLAGS'
55202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55205
55206       cat >conftest.$ac_ext <<_ACEOF
55207 /* confdefs.h.  */
55208 _ACEOF
55209 cat confdefs.h >>conftest.$ac_ext
55210 cat >>conftest.$ac_ext <<_ACEOF
55211 /* end confdefs.h.  */
55212 #include <math.h>
55213 int
55214 main ()
55215 {
55216 _ceill (0); _floorl (0);
55217   ;
55218   return 0;
55219 }
55220 _ACEOF
55221 rm -f conftest.$ac_objext
55222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55223   (eval $ac_compile) 2>conftest.er1
55224   ac_status=$?
55225   grep -v '^ *+' conftest.er1 >conftest.err
55226   rm -f conftest.er1
55227   cat conftest.err >&5
55228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55229   (exit $ac_status); } &&
55230          { ac_try='test -z "$ac_cxx_werror_flag"
55231                          || test ! -s conftest.err'
55232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55233   (eval $ac_try) 2>&5
55234   ac_status=$?
55235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55236   (exit $ac_status); }; } &&
55237          { ac_try='test -s conftest.$ac_objext'
55238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55239   (eval $ac_try) 2>&5
55240   ac_status=$?
55241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55242   (exit $ac_status); }; }; then
55243   glibcxx_cv_func__long_double_round_use=yes
55244 else
55245   echo "$as_me: failed program was:" >&5
55246 sed 's/^/| /' conftest.$ac_ext >&5
55247
55248 glibcxx_cv_func__long_double_round_use=no
55249 fi
55250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55251       ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55256
55257 fi
55258
55259     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
55260 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
55261     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55262
55263
55264 for ac_func in _ceill _floorl
55265 do
55266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55267 echo "$as_me:$LINENO: checking for $ac_func" >&5
55268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55269 if eval "test \"\${$as_ac_var+set}\" = set"; then
55270   echo $ECHO_N "(cached) $ECHO_C" >&6
55271 else
55272   if test x$gcc_no_link = xyes; then
55273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55275    { (exit 1); exit 1; }; }
55276 fi
55277 cat >conftest.$ac_ext <<_ACEOF
55278 /* confdefs.h.  */
55279 _ACEOF
55280 cat confdefs.h >>conftest.$ac_ext
55281 cat >>conftest.$ac_ext <<_ACEOF
55282 /* end confdefs.h.  */
55283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55285 #define $ac_func innocuous_$ac_func
55286
55287 /* System header to define __stub macros and hopefully few prototypes,
55288     which can conflict with char $ac_func (); below.
55289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55290     <limits.h> exists even on freestanding compilers.  */
55291
55292 #ifdef __STDC__
55293 # include <limits.h>
55294 #else
55295 # include <assert.h>
55296 #endif
55297
55298 #undef $ac_func
55299
55300 /* Override any gcc2 internal prototype to avoid an error.  */
55301 #ifdef __cplusplus
55302 extern "C"
55303 {
55304 #endif
55305 /* We use char because int might match the return type of a gcc2
55306    builtin and then its argument prototype would still apply.  */
55307 char $ac_func ();
55308 /* The GNU C library defines this for functions which it implements
55309     to always fail with ENOSYS.  Some functions are actually named
55310     something starting with __ and the normal name is an alias.  */
55311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55312 choke me
55313 #else
55314 char (*f) () = $ac_func;
55315 #endif
55316 #ifdef __cplusplus
55317 }
55318 #endif
55319
55320 int
55321 main ()
55322 {
55323 return f != $ac_func;
55324   ;
55325   return 0;
55326 }
55327 _ACEOF
55328 rm -f conftest.$ac_objext conftest$ac_exeext
55329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55330   (eval $ac_link) 2>conftest.er1
55331   ac_status=$?
55332   grep -v '^ *+' conftest.er1 >conftest.err
55333   rm -f conftest.er1
55334   cat conftest.err >&5
55335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55336   (exit $ac_status); } &&
55337          { ac_try='test -z "$ac_c_werror_flag"
55338                          || test ! -s conftest.err'
55339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55340   (eval $ac_try) 2>&5
55341   ac_status=$?
55342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55343   (exit $ac_status); }; } &&
55344          { ac_try='test -s conftest$ac_exeext'
55345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55346   (eval $ac_try) 2>&5
55347   ac_status=$?
55348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55349   (exit $ac_status); }; }; then
55350   eval "$as_ac_var=yes"
55351 else
55352   echo "$as_me: failed program was:" >&5
55353 sed 's/^/| /' conftest.$ac_ext >&5
55354
55355 eval "$as_ac_var=no"
55356 fi
55357 rm -f conftest.err conftest.$ac_objext \
55358       conftest$ac_exeext conftest.$ac_ext
55359 fi
55360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55362 if test `eval echo '${'$as_ac_var'}'` = yes; then
55363   cat >>confdefs.h <<_ACEOF
55364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55365 _ACEOF
55366
55367 fi
55368 done
55369
55370     fi
55371   fi
55372
55373
55374
55375
55376
55377
55378
55379
55380   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55381 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55382   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55383     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55384   echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55386
55387
55388
55389       ac_ext=cc
55390 ac_cpp='$CXXCPP $CPPFLAGS'
55391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55394
55395       cat >conftest.$ac_ext <<_ACEOF
55396 /* confdefs.h.  */
55397 _ACEOF
55398 cat confdefs.h >>conftest.$ac_ext
55399 cat >>conftest.$ac_ext <<_ACEOF
55400 /* end confdefs.h.  */
55401 #include <math.h>
55402                       #ifdef HAVE_IEEEFP_H
55403                       #include <ieeefp.h>
55404                       #endif
55405
55406 int
55407 main ()
55408 {
55409  isnanl(0);
55410   ;
55411   return 0;
55412 }
55413 _ACEOF
55414 rm -f conftest.$ac_objext
55415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55416   (eval $ac_compile) 2>conftest.er1
55417   ac_status=$?
55418   grep -v '^ *+' conftest.er1 >conftest.err
55419   rm -f conftest.er1
55420   cat conftest.err >&5
55421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55422   (exit $ac_status); } &&
55423          { ac_try='test -z "$ac_cxx_werror_flag"
55424                          || test ! -s conftest.err'
55425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55426   (eval $ac_try) 2>&5
55427   ac_status=$?
55428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55429   (exit $ac_status); }; } &&
55430          { ac_try='test -s conftest.$ac_objext'
55431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55432   (eval $ac_try) 2>&5
55433   ac_status=$?
55434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55435   (exit $ac_status); }; }; then
55436   glibcxx_cv_func_isnanl_use=yes
55437 else
55438   echo "$as_me: failed program was:" >&5
55439 sed 's/^/| /' conftest.$ac_ext >&5
55440
55441 glibcxx_cv_func_isnanl_use=no
55442 fi
55443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55444       ac_ext=c
55445 ac_cpp='$CPP $CPPFLAGS'
55446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449
55450
55451 fi
55452
55453   fi
55454   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55455 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55456
55457   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55458
55459 for ac_func in isnanl
55460 do
55461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55462 echo "$as_me:$LINENO: checking for $ac_func" >&5
55463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55464 if eval "test \"\${$as_ac_var+set}\" = set"; then
55465   echo $ECHO_N "(cached) $ECHO_C" >&6
55466 else
55467   if test x$gcc_no_link = xyes; then
55468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55470    { (exit 1); exit 1; }; }
55471 fi
55472 cat >conftest.$ac_ext <<_ACEOF
55473 /* confdefs.h.  */
55474 _ACEOF
55475 cat confdefs.h >>conftest.$ac_ext
55476 cat >>conftest.$ac_ext <<_ACEOF
55477 /* end confdefs.h.  */
55478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55479    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55480 #define $ac_func innocuous_$ac_func
55481
55482 /* System header to define __stub macros and hopefully few prototypes,
55483     which can conflict with char $ac_func (); below.
55484     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55485     <limits.h> exists even on freestanding compilers.  */
55486
55487 #ifdef __STDC__
55488 # include <limits.h>
55489 #else
55490 # include <assert.h>
55491 #endif
55492
55493 #undef $ac_func
55494
55495 /* Override any gcc2 internal prototype to avoid an error.  */
55496 #ifdef __cplusplus
55497 extern "C"
55498 {
55499 #endif
55500 /* We use char because int might match the return type of a gcc2
55501    builtin and then its argument prototype would still apply.  */
55502 char $ac_func ();
55503 /* The GNU C library defines this for functions which it implements
55504     to always fail with ENOSYS.  Some functions are actually named
55505     something starting with __ and the normal name is an alias.  */
55506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55507 choke me
55508 #else
55509 char (*f) () = $ac_func;
55510 #endif
55511 #ifdef __cplusplus
55512 }
55513 #endif
55514
55515 int
55516 main ()
55517 {
55518 return f != $ac_func;
55519   ;
55520   return 0;
55521 }
55522 _ACEOF
55523 rm -f conftest.$ac_objext conftest$ac_exeext
55524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55525   (eval $ac_link) 2>conftest.er1
55526   ac_status=$?
55527   grep -v '^ *+' conftest.er1 >conftest.err
55528   rm -f conftest.er1
55529   cat conftest.err >&5
55530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55531   (exit $ac_status); } &&
55532          { ac_try='test -z "$ac_c_werror_flag"
55533                          || test ! -s conftest.err'
55534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55535   (eval $ac_try) 2>&5
55536   ac_status=$?
55537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55538   (exit $ac_status); }; } &&
55539          { ac_try='test -s conftest$ac_exeext'
55540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55541   (eval $ac_try) 2>&5
55542   ac_status=$?
55543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55544   (exit $ac_status); }; }; then
55545   eval "$as_ac_var=yes"
55546 else
55547   echo "$as_me: failed program was:" >&5
55548 sed 's/^/| /' conftest.$ac_ext >&5
55549
55550 eval "$as_ac_var=no"
55551 fi
55552 rm -f conftest.err conftest.$ac_objext \
55553       conftest$ac_exeext conftest.$ac_ext
55554 fi
55555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55557 if test `eval echo '${'$as_ac_var'}'` = yes; then
55558   cat >>confdefs.h <<_ACEOF
55559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55560 _ACEOF
55561
55562 fi
55563 done
55564
55565   else
55566
55567   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55568 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55569   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55570     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55571   echo $ECHO_N "(cached) $ECHO_C" >&6
55572 else
55573
55574
55575
55576       ac_ext=cc
55577 ac_cpp='$CXXCPP $CPPFLAGS'
55578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55581
55582       cat >conftest.$ac_ext <<_ACEOF
55583 /* confdefs.h.  */
55584 _ACEOF
55585 cat confdefs.h >>conftest.$ac_ext
55586 cat >>conftest.$ac_ext <<_ACEOF
55587 /* end confdefs.h.  */
55588 #include <math.h>
55589                       #ifdef HAVE_IEEEFP_H
55590                       #include <ieeefp.h>
55591                       #endif
55592
55593 int
55594 main ()
55595 {
55596  _isnanl(0);
55597   ;
55598   return 0;
55599 }
55600 _ACEOF
55601 rm -f conftest.$ac_objext
55602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55603   (eval $ac_compile) 2>conftest.er1
55604   ac_status=$?
55605   grep -v '^ *+' conftest.er1 >conftest.err
55606   rm -f conftest.er1
55607   cat conftest.err >&5
55608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55609   (exit $ac_status); } &&
55610          { ac_try='test -z "$ac_cxx_werror_flag"
55611                          || test ! -s conftest.err'
55612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55613   (eval $ac_try) 2>&5
55614   ac_status=$?
55615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55616   (exit $ac_status); }; } &&
55617          { ac_try='test -s conftest.$ac_objext'
55618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55619   (eval $ac_try) 2>&5
55620   ac_status=$?
55621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55622   (exit $ac_status); }; }; then
55623   glibcxx_cv_func__isnanl_use=yes
55624 else
55625   echo "$as_me: failed program was:" >&5
55626 sed 's/^/| /' conftest.$ac_ext >&5
55627
55628 glibcxx_cv_func__isnanl_use=no
55629 fi
55630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55631       ac_ext=c
55632 ac_cpp='$CPP $CPPFLAGS'
55633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55636
55637
55638 fi
55639
55640   fi
55641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55642 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55643
55644     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55645
55646 for ac_func in _isnanl
55647 do
55648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55649 echo "$as_me:$LINENO: checking for $ac_func" >&5
55650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55651 if eval "test \"\${$as_ac_var+set}\" = set"; then
55652   echo $ECHO_N "(cached) $ECHO_C" >&6
55653 else
55654   if test x$gcc_no_link = xyes; then
55655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55657    { (exit 1); exit 1; }; }
55658 fi
55659 cat >conftest.$ac_ext <<_ACEOF
55660 /* confdefs.h.  */
55661 _ACEOF
55662 cat confdefs.h >>conftest.$ac_ext
55663 cat >>conftest.$ac_ext <<_ACEOF
55664 /* end confdefs.h.  */
55665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55667 #define $ac_func innocuous_$ac_func
55668
55669 /* System header to define __stub macros and hopefully few prototypes,
55670     which can conflict with char $ac_func (); below.
55671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55672     <limits.h> exists even on freestanding compilers.  */
55673
55674 #ifdef __STDC__
55675 # include <limits.h>
55676 #else
55677 # include <assert.h>
55678 #endif
55679
55680 #undef $ac_func
55681
55682 /* Override any gcc2 internal prototype to avoid an error.  */
55683 #ifdef __cplusplus
55684 extern "C"
55685 {
55686 #endif
55687 /* We use char because int might match the return type of a gcc2
55688    builtin and then its argument prototype would still apply.  */
55689 char $ac_func ();
55690 /* The GNU C library defines this for functions which it implements
55691     to always fail with ENOSYS.  Some functions are actually named
55692     something starting with __ and the normal name is an alias.  */
55693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55694 choke me
55695 #else
55696 char (*f) () = $ac_func;
55697 #endif
55698 #ifdef __cplusplus
55699 }
55700 #endif
55701
55702 int
55703 main ()
55704 {
55705 return f != $ac_func;
55706   ;
55707   return 0;
55708 }
55709 _ACEOF
55710 rm -f conftest.$ac_objext conftest$ac_exeext
55711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55712   (eval $ac_link) 2>conftest.er1
55713   ac_status=$?
55714   grep -v '^ *+' conftest.er1 >conftest.err
55715   rm -f conftest.er1
55716   cat conftest.err >&5
55717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55718   (exit $ac_status); } &&
55719          { ac_try='test -z "$ac_c_werror_flag"
55720                          || test ! -s conftest.err'
55721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55722   (eval $ac_try) 2>&5
55723   ac_status=$?
55724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55725   (exit $ac_status); }; } &&
55726          { ac_try='test -s conftest$ac_exeext'
55727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55728   (eval $ac_try) 2>&5
55729   ac_status=$?
55730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55731   (exit $ac_status); }; }; then
55732   eval "$as_ac_var=yes"
55733 else
55734   echo "$as_me: failed program was:" >&5
55735 sed 's/^/| /' conftest.$ac_ext >&5
55736
55737 eval "$as_ac_var=no"
55738 fi
55739 rm -f conftest.err conftest.$ac_objext \
55740       conftest$ac_exeext conftest.$ac_ext
55741 fi
55742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55744 if test `eval echo '${'$as_ac_var'}'` = yes; then
55745   cat >>confdefs.h <<_ACEOF
55746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55747 _ACEOF
55748
55749 fi
55750 done
55751
55752     fi
55753   fi
55754
55755
55756
55757
55758
55759
55760   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55761 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55762   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55763     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55764   echo $ECHO_N "(cached) $ECHO_C" >&6
55765 else
55766
55767
55768
55769       ac_ext=cc
55770 ac_cpp='$CXXCPP $CPPFLAGS'
55771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55774
55775       cat >conftest.$ac_ext <<_ACEOF
55776 /* confdefs.h.  */
55777 _ACEOF
55778 cat confdefs.h >>conftest.$ac_ext
55779 cat >>conftest.$ac_ext <<_ACEOF
55780 /* end confdefs.h.  */
55781 #include <math.h>
55782                       #ifdef HAVE_IEEEFP_H
55783                       #include <ieeefp.h>
55784                       #endif
55785
55786 int
55787 main ()
55788 {
55789  isinfl(0);
55790   ;
55791   return 0;
55792 }
55793 _ACEOF
55794 rm -f conftest.$ac_objext
55795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55796   (eval $ac_compile) 2>conftest.er1
55797   ac_status=$?
55798   grep -v '^ *+' conftest.er1 >conftest.err
55799   rm -f conftest.er1
55800   cat conftest.err >&5
55801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802   (exit $ac_status); } &&
55803          { ac_try='test -z "$ac_cxx_werror_flag"
55804                          || test ! -s conftest.err'
55805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55806   (eval $ac_try) 2>&5
55807   ac_status=$?
55808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55809   (exit $ac_status); }; } &&
55810          { ac_try='test -s conftest.$ac_objext'
55811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55812   (eval $ac_try) 2>&5
55813   ac_status=$?
55814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55815   (exit $ac_status); }; }; then
55816   glibcxx_cv_func_isinfl_use=yes
55817 else
55818   echo "$as_me: failed program was:" >&5
55819 sed 's/^/| /' conftest.$ac_ext >&5
55820
55821 glibcxx_cv_func_isinfl_use=no
55822 fi
55823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55824       ac_ext=c
55825 ac_cpp='$CPP $CPPFLAGS'
55826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55829
55830
55831 fi
55832
55833   fi
55834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55835 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55836
55837   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55838
55839 for ac_func in isinfl
55840 do
55841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55842 echo "$as_me:$LINENO: checking for $ac_func" >&5
55843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55844 if eval "test \"\${$as_ac_var+set}\" = set"; then
55845   echo $ECHO_N "(cached) $ECHO_C" >&6
55846 else
55847   if test x$gcc_no_link = xyes; then
55848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55850    { (exit 1); exit 1; }; }
55851 fi
55852 cat >conftest.$ac_ext <<_ACEOF
55853 /* confdefs.h.  */
55854 _ACEOF
55855 cat confdefs.h >>conftest.$ac_ext
55856 cat >>conftest.$ac_ext <<_ACEOF
55857 /* end confdefs.h.  */
55858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55860 #define $ac_func innocuous_$ac_func
55861
55862 /* System header to define __stub macros and hopefully few prototypes,
55863     which can conflict with char $ac_func (); below.
55864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55865     <limits.h> exists even on freestanding compilers.  */
55866
55867 #ifdef __STDC__
55868 # include <limits.h>
55869 #else
55870 # include <assert.h>
55871 #endif
55872
55873 #undef $ac_func
55874
55875 /* Override any gcc2 internal prototype to avoid an error.  */
55876 #ifdef __cplusplus
55877 extern "C"
55878 {
55879 #endif
55880 /* We use char because int might match the return type of a gcc2
55881    builtin and then its argument prototype would still apply.  */
55882 char $ac_func ();
55883 /* The GNU C library defines this for functions which it implements
55884     to always fail with ENOSYS.  Some functions are actually named
55885     something starting with __ and the normal name is an alias.  */
55886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55887 choke me
55888 #else
55889 char (*f) () = $ac_func;
55890 #endif
55891 #ifdef __cplusplus
55892 }
55893 #endif
55894
55895 int
55896 main ()
55897 {
55898 return f != $ac_func;
55899   ;
55900   return 0;
55901 }
55902 _ACEOF
55903 rm -f conftest.$ac_objext conftest$ac_exeext
55904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55905   (eval $ac_link) 2>conftest.er1
55906   ac_status=$?
55907   grep -v '^ *+' conftest.er1 >conftest.err
55908   rm -f conftest.er1
55909   cat conftest.err >&5
55910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55911   (exit $ac_status); } &&
55912          { ac_try='test -z "$ac_c_werror_flag"
55913                          || test ! -s conftest.err'
55914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55915   (eval $ac_try) 2>&5
55916   ac_status=$?
55917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55918   (exit $ac_status); }; } &&
55919          { ac_try='test -s conftest$ac_exeext'
55920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55921   (eval $ac_try) 2>&5
55922   ac_status=$?
55923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55924   (exit $ac_status); }; }; then
55925   eval "$as_ac_var=yes"
55926 else
55927   echo "$as_me: failed program was:" >&5
55928 sed 's/^/| /' conftest.$ac_ext >&5
55929
55930 eval "$as_ac_var=no"
55931 fi
55932 rm -f conftest.err conftest.$ac_objext \
55933       conftest$ac_exeext conftest.$ac_ext
55934 fi
55935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55937 if test `eval echo '${'$as_ac_var'}'` = yes; then
55938   cat >>confdefs.h <<_ACEOF
55939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55940 _ACEOF
55941
55942 fi
55943 done
55944
55945   else
55946
55947   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55948 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55949   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55950     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55951   echo $ECHO_N "(cached) $ECHO_C" >&6
55952 else
55953
55954
55955
55956       ac_ext=cc
55957 ac_cpp='$CXXCPP $CPPFLAGS'
55958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55961
55962       cat >conftest.$ac_ext <<_ACEOF
55963 /* confdefs.h.  */
55964 _ACEOF
55965 cat confdefs.h >>conftest.$ac_ext
55966 cat >>conftest.$ac_ext <<_ACEOF
55967 /* end confdefs.h.  */
55968 #include <math.h>
55969                       #ifdef HAVE_IEEEFP_H
55970                       #include <ieeefp.h>
55971                       #endif
55972
55973 int
55974 main ()
55975 {
55976  _isinfl(0);
55977   ;
55978   return 0;
55979 }
55980 _ACEOF
55981 rm -f conftest.$ac_objext
55982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55983   (eval $ac_compile) 2>conftest.er1
55984   ac_status=$?
55985   grep -v '^ *+' conftest.er1 >conftest.err
55986   rm -f conftest.er1
55987   cat conftest.err >&5
55988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55989   (exit $ac_status); } &&
55990          { ac_try='test -z "$ac_cxx_werror_flag"
55991                          || test ! -s conftest.err'
55992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55993   (eval $ac_try) 2>&5
55994   ac_status=$?
55995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996   (exit $ac_status); }; } &&
55997          { ac_try='test -s conftest.$ac_objext'
55998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55999   (eval $ac_try) 2>&5
56000   ac_status=$?
56001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56002   (exit $ac_status); }; }; then
56003   glibcxx_cv_func__isinfl_use=yes
56004 else
56005   echo "$as_me: failed program was:" >&5
56006 sed 's/^/| /' conftest.$ac_ext >&5
56007
56008 glibcxx_cv_func__isinfl_use=no
56009 fi
56010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56011       ac_ext=c
56012 ac_cpp='$CPP $CPPFLAGS'
56013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56016
56017
56018 fi
56019
56020   fi
56021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
56022 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
56023
56024     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56025
56026 for ac_func in _isinfl
56027 do
56028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56029 echo "$as_me:$LINENO: checking for $ac_func" >&5
56030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56031 if eval "test \"\${$as_ac_var+set}\" = set"; then
56032   echo $ECHO_N "(cached) $ECHO_C" >&6
56033 else
56034   if test x$gcc_no_link = xyes; then
56035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56037    { (exit 1); exit 1; }; }
56038 fi
56039 cat >conftest.$ac_ext <<_ACEOF
56040 /* confdefs.h.  */
56041 _ACEOF
56042 cat confdefs.h >>conftest.$ac_ext
56043 cat >>conftest.$ac_ext <<_ACEOF
56044 /* end confdefs.h.  */
56045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56047 #define $ac_func innocuous_$ac_func
56048
56049 /* System header to define __stub macros and hopefully few prototypes,
56050     which can conflict with char $ac_func (); below.
56051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56052     <limits.h> exists even on freestanding compilers.  */
56053
56054 #ifdef __STDC__
56055 # include <limits.h>
56056 #else
56057 # include <assert.h>
56058 #endif
56059
56060 #undef $ac_func
56061
56062 /* Override any gcc2 internal prototype to avoid an error.  */
56063 #ifdef __cplusplus
56064 extern "C"
56065 {
56066 #endif
56067 /* We use char because int might match the return type of a gcc2
56068    builtin and then its argument prototype would still apply.  */
56069 char $ac_func ();
56070 /* The GNU C library defines this for functions which it implements
56071     to always fail with ENOSYS.  Some functions are actually named
56072     something starting with __ and the normal name is an alias.  */
56073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56074 choke me
56075 #else
56076 char (*f) () = $ac_func;
56077 #endif
56078 #ifdef __cplusplus
56079 }
56080 #endif
56081
56082 int
56083 main ()
56084 {
56085 return f != $ac_func;
56086   ;
56087   return 0;
56088 }
56089 _ACEOF
56090 rm -f conftest.$ac_objext conftest$ac_exeext
56091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56092   (eval $ac_link) 2>conftest.er1
56093   ac_status=$?
56094   grep -v '^ *+' conftest.er1 >conftest.err
56095   rm -f conftest.er1
56096   cat conftest.err >&5
56097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56098   (exit $ac_status); } &&
56099          { ac_try='test -z "$ac_c_werror_flag"
56100                          || test ! -s conftest.err'
56101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56102   (eval $ac_try) 2>&5
56103   ac_status=$?
56104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105   (exit $ac_status); }; } &&
56106          { ac_try='test -s conftest$ac_exeext'
56107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56108   (eval $ac_try) 2>&5
56109   ac_status=$?
56110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56111   (exit $ac_status); }; }; then
56112   eval "$as_ac_var=yes"
56113 else
56114   echo "$as_me: failed program was:" >&5
56115 sed 's/^/| /' conftest.$ac_ext >&5
56116
56117 eval "$as_ac_var=no"
56118 fi
56119 rm -f conftest.err conftest.$ac_objext \
56120       conftest$ac_exeext conftest.$ac_ext
56121 fi
56122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56124 if test `eval echo '${'$as_ac_var'}'` = yes; then
56125   cat >>confdefs.h <<_ACEOF
56126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56127 _ACEOF
56128
56129 fi
56130 done
56131
56132     fi
56133   fi
56134
56135
56136
56137
56138
56139
56140   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
56141 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
56142   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
56143     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
56144   echo $ECHO_N "(cached) $ECHO_C" >&6
56145 else
56146
56147
56148
56149       ac_ext=cc
56150 ac_cpp='$CXXCPP $CPPFLAGS'
56151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56154
56155       cat >conftest.$ac_ext <<_ACEOF
56156 /* confdefs.h.  */
56157 _ACEOF
56158 cat confdefs.h >>conftest.$ac_ext
56159 cat >>conftest.$ac_ext <<_ACEOF
56160 /* end confdefs.h.  */
56161 #include <math.h>
56162 int
56163 main ()
56164 {
56165  copysignl(0, 0);
56166   ;
56167   return 0;
56168 }
56169 _ACEOF
56170 rm -f conftest.$ac_objext
56171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56172   (eval $ac_compile) 2>conftest.er1
56173   ac_status=$?
56174   grep -v '^ *+' conftest.er1 >conftest.err
56175   rm -f conftest.er1
56176   cat conftest.err >&5
56177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56178   (exit $ac_status); } &&
56179          { ac_try='test -z "$ac_cxx_werror_flag"
56180                          || test ! -s conftest.err'
56181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56182   (eval $ac_try) 2>&5
56183   ac_status=$?
56184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56185   (exit $ac_status); }; } &&
56186          { ac_try='test -s conftest.$ac_objext'
56187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56188   (eval $ac_try) 2>&5
56189   ac_status=$?
56190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56191   (exit $ac_status); }; }; then
56192   glibcxx_cv_func_copysignl_use=yes
56193 else
56194   echo "$as_me: failed program was:" >&5
56195 sed 's/^/| /' conftest.$ac_ext >&5
56196
56197 glibcxx_cv_func_copysignl_use=no
56198 fi
56199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56200       ac_ext=c
56201 ac_cpp='$CPP $CPPFLAGS'
56202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56205
56206
56207 fi
56208
56209   fi
56210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
56211 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
56212
56213   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
56214
56215 for ac_func in copysignl
56216 do
56217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56218 echo "$as_me:$LINENO: checking for $ac_func" >&5
56219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56220 if eval "test \"\${$as_ac_var+set}\" = set"; then
56221   echo $ECHO_N "(cached) $ECHO_C" >&6
56222 else
56223   if test x$gcc_no_link = xyes; then
56224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56226    { (exit 1); exit 1; }; }
56227 fi
56228 cat >conftest.$ac_ext <<_ACEOF
56229 /* confdefs.h.  */
56230 _ACEOF
56231 cat confdefs.h >>conftest.$ac_ext
56232 cat >>conftest.$ac_ext <<_ACEOF
56233 /* end confdefs.h.  */
56234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56236 #define $ac_func innocuous_$ac_func
56237
56238 /* System header to define __stub macros and hopefully few prototypes,
56239     which can conflict with char $ac_func (); below.
56240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56241     <limits.h> exists even on freestanding compilers.  */
56242
56243 #ifdef __STDC__
56244 # include <limits.h>
56245 #else
56246 # include <assert.h>
56247 #endif
56248
56249 #undef $ac_func
56250
56251 /* Override any gcc2 internal prototype to avoid an error.  */
56252 #ifdef __cplusplus
56253 extern "C"
56254 {
56255 #endif
56256 /* We use char because int might match the return type of a gcc2
56257    builtin and then its argument prototype would still apply.  */
56258 char $ac_func ();
56259 /* The GNU C library defines this for functions which it implements
56260     to always fail with ENOSYS.  Some functions are actually named
56261     something starting with __ and the normal name is an alias.  */
56262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56263 choke me
56264 #else
56265 char (*f) () = $ac_func;
56266 #endif
56267 #ifdef __cplusplus
56268 }
56269 #endif
56270
56271 int
56272 main ()
56273 {
56274 return f != $ac_func;
56275   ;
56276   return 0;
56277 }
56278 _ACEOF
56279 rm -f conftest.$ac_objext conftest$ac_exeext
56280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56281   (eval $ac_link) 2>conftest.er1
56282   ac_status=$?
56283   grep -v '^ *+' conftest.er1 >conftest.err
56284   rm -f conftest.er1
56285   cat conftest.err >&5
56286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56287   (exit $ac_status); } &&
56288          { ac_try='test -z "$ac_c_werror_flag"
56289                          || test ! -s conftest.err'
56290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56291   (eval $ac_try) 2>&5
56292   ac_status=$?
56293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294   (exit $ac_status); }; } &&
56295          { ac_try='test -s conftest$ac_exeext'
56296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56297   (eval $ac_try) 2>&5
56298   ac_status=$?
56299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56300   (exit $ac_status); }; }; then
56301   eval "$as_ac_var=yes"
56302 else
56303   echo "$as_me: failed program was:" >&5
56304 sed 's/^/| /' conftest.$ac_ext >&5
56305
56306 eval "$as_ac_var=no"
56307 fi
56308 rm -f conftest.err conftest.$ac_objext \
56309       conftest$ac_exeext conftest.$ac_ext
56310 fi
56311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56313 if test `eval echo '${'$as_ac_var'}'` = yes; then
56314   cat >>confdefs.h <<_ACEOF
56315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56316 _ACEOF
56317
56318 fi
56319 done
56320
56321   else
56322
56323   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
56324 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
56325   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
56326     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
56327   echo $ECHO_N "(cached) $ECHO_C" >&6
56328 else
56329
56330
56331
56332       ac_ext=cc
56333 ac_cpp='$CXXCPP $CPPFLAGS'
56334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56337
56338       cat >conftest.$ac_ext <<_ACEOF
56339 /* confdefs.h.  */
56340 _ACEOF
56341 cat confdefs.h >>conftest.$ac_ext
56342 cat >>conftest.$ac_ext <<_ACEOF
56343 /* end confdefs.h.  */
56344 #include <math.h>
56345 int
56346 main ()
56347 {
56348  _copysignl(0, 0);
56349   ;
56350   return 0;
56351 }
56352 _ACEOF
56353 rm -f conftest.$ac_objext
56354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56355   (eval $ac_compile) 2>conftest.er1
56356   ac_status=$?
56357   grep -v '^ *+' conftest.er1 >conftest.err
56358   rm -f conftest.er1
56359   cat conftest.err >&5
56360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56361   (exit $ac_status); } &&
56362          { ac_try='test -z "$ac_cxx_werror_flag"
56363                          || test ! -s conftest.err'
56364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56365   (eval $ac_try) 2>&5
56366   ac_status=$?
56367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56368   (exit $ac_status); }; } &&
56369          { ac_try='test -s conftest.$ac_objext'
56370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56371   (eval $ac_try) 2>&5
56372   ac_status=$?
56373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56374   (exit $ac_status); }; }; then
56375   glibcxx_cv_func__copysignl_use=yes
56376 else
56377   echo "$as_me: failed program was:" >&5
56378 sed 's/^/| /' conftest.$ac_ext >&5
56379
56380 glibcxx_cv_func__copysignl_use=no
56381 fi
56382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56383       ac_ext=c
56384 ac_cpp='$CPP $CPPFLAGS'
56385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56388
56389
56390 fi
56391
56392   fi
56393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56394 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56395
56396     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56397
56398 for ac_func in _copysignl
56399 do
56400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56401 echo "$as_me:$LINENO: checking for $ac_func" >&5
56402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56403 if eval "test \"\${$as_ac_var+set}\" = set"; then
56404   echo $ECHO_N "(cached) $ECHO_C" >&6
56405 else
56406   if test x$gcc_no_link = xyes; then
56407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56409    { (exit 1); exit 1; }; }
56410 fi
56411 cat >conftest.$ac_ext <<_ACEOF
56412 /* confdefs.h.  */
56413 _ACEOF
56414 cat confdefs.h >>conftest.$ac_ext
56415 cat >>conftest.$ac_ext <<_ACEOF
56416 /* end confdefs.h.  */
56417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56419 #define $ac_func innocuous_$ac_func
56420
56421 /* System header to define __stub macros and hopefully few prototypes,
56422     which can conflict with char $ac_func (); below.
56423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56424     <limits.h> exists even on freestanding compilers.  */
56425
56426 #ifdef __STDC__
56427 # include <limits.h>
56428 #else
56429 # include <assert.h>
56430 #endif
56431
56432 #undef $ac_func
56433
56434 /* Override any gcc2 internal prototype to avoid an error.  */
56435 #ifdef __cplusplus
56436 extern "C"
56437 {
56438 #endif
56439 /* We use char because int might match the return type of a gcc2
56440    builtin and then its argument prototype would still apply.  */
56441 char $ac_func ();
56442 /* The GNU C library defines this for functions which it implements
56443     to always fail with ENOSYS.  Some functions are actually named
56444     something starting with __ and the normal name is an alias.  */
56445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56446 choke me
56447 #else
56448 char (*f) () = $ac_func;
56449 #endif
56450 #ifdef __cplusplus
56451 }
56452 #endif
56453
56454 int
56455 main ()
56456 {
56457 return f != $ac_func;
56458   ;
56459   return 0;
56460 }
56461 _ACEOF
56462 rm -f conftest.$ac_objext conftest$ac_exeext
56463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56464   (eval $ac_link) 2>conftest.er1
56465   ac_status=$?
56466   grep -v '^ *+' conftest.er1 >conftest.err
56467   rm -f conftest.er1
56468   cat conftest.err >&5
56469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56470   (exit $ac_status); } &&
56471          { ac_try='test -z "$ac_c_werror_flag"
56472                          || test ! -s conftest.err'
56473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56474   (eval $ac_try) 2>&5
56475   ac_status=$?
56476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56477   (exit $ac_status); }; } &&
56478          { ac_try='test -s conftest$ac_exeext'
56479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56480   (eval $ac_try) 2>&5
56481   ac_status=$?
56482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56483   (exit $ac_status); }; }; then
56484   eval "$as_ac_var=yes"
56485 else
56486   echo "$as_me: failed program was:" >&5
56487 sed 's/^/| /' conftest.$ac_ext >&5
56488
56489 eval "$as_ac_var=no"
56490 fi
56491 rm -f conftest.err conftest.$ac_objext \
56492       conftest$ac_exeext conftest.$ac_ext
56493 fi
56494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56496 if test `eval echo '${'$as_ac_var'}'` = yes; then
56497   cat >>confdefs.h <<_ACEOF
56498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56499 _ACEOF
56500
56501 fi
56502 done
56503
56504     fi
56505   fi
56506
56507
56508
56509
56510
56511
56512   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56513 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56514   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56515     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56516   echo $ECHO_N "(cached) $ECHO_C" >&6
56517 else
56518
56519
56520
56521       ac_ext=cc
56522 ac_cpp='$CXXCPP $CPPFLAGS'
56523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526
56527       cat >conftest.$ac_ext <<_ACEOF
56528 /* confdefs.h.  */
56529 _ACEOF
56530 cat confdefs.h >>conftest.$ac_ext
56531 cat >>conftest.$ac_ext <<_ACEOF
56532 /* end confdefs.h.  */
56533 #include <math.h>
56534 int
56535 main ()
56536 {
56537  atan2l(0, 0);
56538   ;
56539   return 0;
56540 }
56541 _ACEOF
56542 rm -f conftest.$ac_objext
56543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56544   (eval $ac_compile) 2>conftest.er1
56545   ac_status=$?
56546   grep -v '^ *+' conftest.er1 >conftest.err
56547   rm -f conftest.er1
56548   cat conftest.err >&5
56549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550   (exit $ac_status); } &&
56551          { ac_try='test -z "$ac_cxx_werror_flag"
56552                          || test ! -s conftest.err'
56553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56554   (eval $ac_try) 2>&5
56555   ac_status=$?
56556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557   (exit $ac_status); }; } &&
56558          { ac_try='test -s conftest.$ac_objext'
56559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560   (eval $ac_try) 2>&5
56561   ac_status=$?
56562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563   (exit $ac_status); }; }; then
56564   glibcxx_cv_func_atan2l_use=yes
56565 else
56566   echo "$as_me: failed program was:" >&5
56567 sed 's/^/| /' conftest.$ac_ext >&5
56568
56569 glibcxx_cv_func_atan2l_use=no
56570 fi
56571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56572       ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577
56578
56579 fi
56580
56581   fi
56582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56583 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56584
56585   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56586
56587 for ac_func in atan2l
56588 do
56589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56590 echo "$as_me:$LINENO: checking for $ac_func" >&5
56591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56592 if eval "test \"\${$as_ac_var+set}\" = set"; then
56593   echo $ECHO_N "(cached) $ECHO_C" >&6
56594 else
56595   if test x$gcc_no_link = xyes; then
56596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56598    { (exit 1); exit 1; }; }
56599 fi
56600 cat >conftest.$ac_ext <<_ACEOF
56601 /* confdefs.h.  */
56602 _ACEOF
56603 cat confdefs.h >>conftest.$ac_ext
56604 cat >>conftest.$ac_ext <<_ACEOF
56605 /* end confdefs.h.  */
56606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56608 #define $ac_func innocuous_$ac_func
56609
56610 /* System header to define __stub macros and hopefully few prototypes,
56611     which can conflict with char $ac_func (); below.
56612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56613     <limits.h> exists even on freestanding compilers.  */
56614
56615 #ifdef __STDC__
56616 # include <limits.h>
56617 #else
56618 # include <assert.h>
56619 #endif
56620
56621 #undef $ac_func
56622
56623 /* Override any gcc2 internal prototype to avoid an error.  */
56624 #ifdef __cplusplus
56625 extern "C"
56626 {
56627 #endif
56628 /* We use char because int might match the return type of a gcc2
56629    builtin and then its argument prototype would still apply.  */
56630 char $ac_func ();
56631 /* The GNU C library defines this for functions which it implements
56632     to always fail with ENOSYS.  Some functions are actually named
56633     something starting with __ and the normal name is an alias.  */
56634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56635 choke me
56636 #else
56637 char (*f) () = $ac_func;
56638 #endif
56639 #ifdef __cplusplus
56640 }
56641 #endif
56642
56643 int
56644 main ()
56645 {
56646 return f != $ac_func;
56647   ;
56648   return 0;
56649 }
56650 _ACEOF
56651 rm -f conftest.$ac_objext conftest$ac_exeext
56652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56653   (eval $ac_link) 2>conftest.er1
56654   ac_status=$?
56655   grep -v '^ *+' conftest.er1 >conftest.err
56656   rm -f conftest.er1
56657   cat conftest.err >&5
56658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659   (exit $ac_status); } &&
56660          { ac_try='test -z "$ac_c_werror_flag"
56661                          || test ! -s conftest.err'
56662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56663   (eval $ac_try) 2>&5
56664   ac_status=$?
56665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56666   (exit $ac_status); }; } &&
56667          { ac_try='test -s conftest$ac_exeext'
56668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56669   (eval $ac_try) 2>&5
56670   ac_status=$?
56671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56672   (exit $ac_status); }; }; then
56673   eval "$as_ac_var=yes"
56674 else
56675   echo "$as_me: failed program was:" >&5
56676 sed 's/^/| /' conftest.$ac_ext >&5
56677
56678 eval "$as_ac_var=no"
56679 fi
56680 rm -f conftest.err conftest.$ac_objext \
56681       conftest$ac_exeext conftest.$ac_ext
56682 fi
56683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56685 if test `eval echo '${'$as_ac_var'}'` = yes; then
56686   cat >>confdefs.h <<_ACEOF
56687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56688 _ACEOF
56689
56690 fi
56691 done
56692
56693   else
56694
56695   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56696 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56697   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56698     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56699   echo $ECHO_N "(cached) $ECHO_C" >&6
56700 else
56701
56702
56703
56704       ac_ext=cc
56705 ac_cpp='$CXXCPP $CPPFLAGS'
56706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56709
56710       cat >conftest.$ac_ext <<_ACEOF
56711 /* confdefs.h.  */
56712 _ACEOF
56713 cat confdefs.h >>conftest.$ac_ext
56714 cat >>conftest.$ac_ext <<_ACEOF
56715 /* end confdefs.h.  */
56716 #include <math.h>
56717 int
56718 main ()
56719 {
56720  _atan2l(0, 0);
56721   ;
56722   return 0;
56723 }
56724 _ACEOF
56725 rm -f conftest.$ac_objext
56726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56727   (eval $ac_compile) 2>conftest.er1
56728   ac_status=$?
56729   grep -v '^ *+' conftest.er1 >conftest.err
56730   rm -f conftest.er1
56731   cat conftest.err >&5
56732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56733   (exit $ac_status); } &&
56734          { ac_try='test -z "$ac_cxx_werror_flag"
56735                          || test ! -s conftest.err'
56736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56737   (eval $ac_try) 2>&5
56738   ac_status=$?
56739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56740   (exit $ac_status); }; } &&
56741          { ac_try='test -s conftest.$ac_objext'
56742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56743   (eval $ac_try) 2>&5
56744   ac_status=$?
56745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56746   (exit $ac_status); }; }; then
56747   glibcxx_cv_func__atan2l_use=yes
56748 else
56749   echo "$as_me: failed program was:" >&5
56750 sed 's/^/| /' conftest.$ac_ext >&5
56751
56752 glibcxx_cv_func__atan2l_use=no
56753 fi
56754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56755       ac_ext=c
56756 ac_cpp='$CPP $CPPFLAGS'
56757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56760
56761
56762 fi
56763
56764   fi
56765   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56766 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56767
56768     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56769
56770 for ac_func in _atan2l
56771 do
56772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56773 echo "$as_me:$LINENO: checking for $ac_func" >&5
56774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56775 if eval "test \"\${$as_ac_var+set}\" = set"; then
56776   echo $ECHO_N "(cached) $ECHO_C" >&6
56777 else
56778   if test x$gcc_no_link = xyes; then
56779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56781    { (exit 1); exit 1; }; }
56782 fi
56783 cat >conftest.$ac_ext <<_ACEOF
56784 /* confdefs.h.  */
56785 _ACEOF
56786 cat confdefs.h >>conftest.$ac_ext
56787 cat >>conftest.$ac_ext <<_ACEOF
56788 /* end confdefs.h.  */
56789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56791 #define $ac_func innocuous_$ac_func
56792
56793 /* System header to define __stub macros and hopefully few prototypes,
56794     which can conflict with char $ac_func (); below.
56795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56796     <limits.h> exists even on freestanding compilers.  */
56797
56798 #ifdef __STDC__
56799 # include <limits.h>
56800 #else
56801 # include <assert.h>
56802 #endif
56803
56804 #undef $ac_func
56805
56806 /* Override any gcc2 internal prototype to avoid an error.  */
56807 #ifdef __cplusplus
56808 extern "C"
56809 {
56810 #endif
56811 /* We use char because int might match the return type of a gcc2
56812    builtin and then its argument prototype would still apply.  */
56813 char $ac_func ();
56814 /* The GNU C library defines this for functions which it implements
56815     to always fail with ENOSYS.  Some functions are actually named
56816     something starting with __ and the normal name is an alias.  */
56817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56818 choke me
56819 #else
56820 char (*f) () = $ac_func;
56821 #endif
56822 #ifdef __cplusplus
56823 }
56824 #endif
56825
56826 int
56827 main ()
56828 {
56829 return f != $ac_func;
56830   ;
56831   return 0;
56832 }
56833 _ACEOF
56834 rm -f conftest.$ac_objext conftest$ac_exeext
56835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56836   (eval $ac_link) 2>conftest.er1
56837   ac_status=$?
56838   grep -v '^ *+' conftest.er1 >conftest.err
56839   rm -f conftest.er1
56840   cat conftest.err >&5
56841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56842   (exit $ac_status); } &&
56843          { ac_try='test -z "$ac_c_werror_flag"
56844                          || test ! -s conftest.err'
56845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56846   (eval $ac_try) 2>&5
56847   ac_status=$?
56848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56849   (exit $ac_status); }; } &&
56850          { ac_try='test -s conftest$ac_exeext'
56851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56852   (eval $ac_try) 2>&5
56853   ac_status=$?
56854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855   (exit $ac_status); }; }; then
56856   eval "$as_ac_var=yes"
56857 else
56858   echo "$as_me: failed program was:" >&5
56859 sed 's/^/| /' conftest.$ac_ext >&5
56860
56861 eval "$as_ac_var=no"
56862 fi
56863 rm -f conftest.err conftest.$ac_objext \
56864       conftest$ac_exeext conftest.$ac_ext
56865 fi
56866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56868 if test `eval echo '${'$as_ac_var'}'` = yes; then
56869   cat >>confdefs.h <<_ACEOF
56870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56871 _ACEOF
56872
56873 fi
56874 done
56875
56876     fi
56877   fi
56878
56879
56880
56881
56882
56883
56884   echo "$as_me:$LINENO: checking for expl declaration" >&5
56885 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56886   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56887     if test "${glibcxx_cv_func_expl_use+set}" = set; then
56888   echo $ECHO_N "(cached) $ECHO_C" >&6
56889 else
56890
56891
56892
56893       ac_ext=cc
56894 ac_cpp='$CXXCPP $CPPFLAGS'
56895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56898
56899       cat >conftest.$ac_ext <<_ACEOF
56900 /* confdefs.h.  */
56901 _ACEOF
56902 cat confdefs.h >>conftest.$ac_ext
56903 cat >>conftest.$ac_ext <<_ACEOF
56904 /* end confdefs.h.  */
56905 #include <math.h>
56906                       #ifdef HAVE_IEEEFP_H
56907                       #include <ieeefp.h>
56908                       #endif
56909
56910 int
56911 main ()
56912 {
56913  expl(0);
56914   ;
56915   return 0;
56916 }
56917 _ACEOF
56918 rm -f conftest.$ac_objext
56919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56920   (eval $ac_compile) 2>conftest.er1
56921   ac_status=$?
56922   grep -v '^ *+' conftest.er1 >conftest.err
56923   rm -f conftest.er1
56924   cat conftest.err >&5
56925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56926   (exit $ac_status); } &&
56927          { ac_try='test -z "$ac_cxx_werror_flag"
56928                          || test ! -s conftest.err'
56929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56930   (eval $ac_try) 2>&5
56931   ac_status=$?
56932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56933   (exit $ac_status); }; } &&
56934          { ac_try='test -s conftest.$ac_objext'
56935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56936   (eval $ac_try) 2>&5
56937   ac_status=$?
56938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56939   (exit $ac_status); }; }; then
56940   glibcxx_cv_func_expl_use=yes
56941 else
56942   echo "$as_me: failed program was:" >&5
56943 sed 's/^/| /' conftest.$ac_ext >&5
56944
56945 glibcxx_cv_func_expl_use=no
56946 fi
56947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56948       ac_ext=c
56949 ac_cpp='$CPP $CPPFLAGS'
56950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56953
56954
56955 fi
56956
56957   fi
56958   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56959 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56960
56961   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56962
56963 for ac_func in expl
56964 do
56965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56966 echo "$as_me:$LINENO: checking for $ac_func" >&5
56967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56968 if eval "test \"\${$as_ac_var+set}\" = set"; then
56969   echo $ECHO_N "(cached) $ECHO_C" >&6
56970 else
56971   if test x$gcc_no_link = xyes; then
56972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56974    { (exit 1); exit 1; }; }
56975 fi
56976 cat >conftest.$ac_ext <<_ACEOF
56977 /* confdefs.h.  */
56978 _ACEOF
56979 cat confdefs.h >>conftest.$ac_ext
56980 cat >>conftest.$ac_ext <<_ACEOF
56981 /* end confdefs.h.  */
56982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56984 #define $ac_func innocuous_$ac_func
56985
56986 /* System header to define __stub macros and hopefully few prototypes,
56987     which can conflict with char $ac_func (); below.
56988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56989     <limits.h> exists even on freestanding compilers.  */
56990
56991 #ifdef __STDC__
56992 # include <limits.h>
56993 #else
56994 # include <assert.h>
56995 #endif
56996
56997 #undef $ac_func
56998
56999 /* Override any gcc2 internal prototype to avoid an error.  */
57000 #ifdef __cplusplus
57001 extern "C"
57002 {
57003 #endif
57004 /* We use char because int might match the return type of a gcc2
57005    builtin and then its argument prototype would still apply.  */
57006 char $ac_func ();
57007 /* The GNU C library defines this for functions which it implements
57008     to always fail with ENOSYS.  Some functions are actually named
57009     something starting with __ and the normal name is an alias.  */
57010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57011 choke me
57012 #else
57013 char (*f) () = $ac_func;
57014 #endif
57015 #ifdef __cplusplus
57016 }
57017 #endif
57018
57019 int
57020 main ()
57021 {
57022 return f != $ac_func;
57023   ;
57024   return 0;
57025 }
57026 _ACEOF
57027 rm -f conftest.$ac_objext conftest$ac_exeext
57028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57029   (eval $ac_link) 2>conftest.er1
57030   ac_status=$?
57031   grep -v '^ *+' conftest.er1 >conftest.err
57032   rm -f conftest.er1
57033   cat conftest.err >&5
57034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57035   (exit $ac_status); } &&
57036          { ac_try='test -z "$ac_c_werror_flag"
57037                          || test ! -s conftest.err'
57038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57039   (eval $ac_try) 2>&5
57040   ac_status=$?
57041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57042   (exit $ac_status); }; } &&
57043          { ac_try='test -s conftest$ac_exeext'
57044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57045   (eval $ac_try) 2>&5
57046   ac_status=$?
57047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57048   (exit $ac_status); }; }; then
57049   eval "$as_ac_var=yes"
57050 else
57051   echo "$as_me: failed program was:" >&5
57052 sed 's/^/| /' conftest.$ac_ext >&5
57053
57054 eval "$as_ac_var=no"
57055 fi
57056 rm -f conftest.err conftest.$ac_objext \
57057       conftest$ac_exeext conftest.$ac_ext
57058 fi
57059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57061 if test `eval echo '${'$as_ac_var'}'` = yes; then
57062   cat >>confdefs.h <<_ACEOF
57063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57064 _ACEOF
57065
57066 fi
57067 done
57068
57069   else
57070
57071   echo "$as_me:$LINENO: checking for _expl declaration" >&5
57072 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
57073   if test x${glibcxx_cv_func__expl_use+set} != xset; then
57074     if test "${glibcxx_cv_func__expl_use+set}" = set; then
57075   echo $ECHO_N "(cached) $ECHO_C" >&6
57076 else
57077
57078
57079
57080       ac_ext=cc
57081 ac_cpp='$CXXCPP $CPPFLAGS'
57082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57085
57086       cat >conftest.$ac_ext <<_ACEOF
57087 /* confdefs.h.  */
57088 _ACEOF
57089 cat confdefs.h >>conftest.$ac_ext
57090 cat >>conftest.$ac_ext <<_ACEOF
57091 /* end confdefs.h.  */
57092 #include <math.h>
57093                       #ifdef HAVE_IEEEFP_H
57094                       #include <ieeefp.h>
57095                       #endif
57096
57097 int
57098 main ()
57099 {
57100  _expl(0);
57101   ;
57102   return 0;
57103 }
57104 _ACEOF
57105 rm -f conftest.$ac_objext
57106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57107   (eval $ac_compile) 2>conftest.er1
57108   ac_status=$?
57109   grep -v '^ *+' conftest.er1 >conftest.err
57110   rm -f conftest.er1
57111   cat conftest.err >&5
57112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57113   (exit $ac_status); } &&
57114          { ac_try='test -z "$ac_cxx_werror_flag"
57115                          || test ! -s conftest.err'
57116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57117   (eval $ac_try) 2>&5
57118   ac_status=$?
57119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57120   (exit $ac_status); }; } &&
57121          { ac_try='test -s conftest.$ac_objext'
57122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57123   (eval $ac_try) 2>&5
57124   ac_status=$?
57125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57126   (exit $ac_status); }; }; then
57127   glibcxx_cv_func__expl_use=yes
57128 else
57129   echo "$as_me: failed program was:" >&5
57130 sed 's/^/| /' conftest.$ac_ext >&5
57131
57132 glibcxx_cv_func__expl_use=no
57133 fi
57134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57135       ac_ext=c
57136 ac_cpp='$CPP $CPPFLAGS'
57137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57140
57141
57142 fi
57143
57144   fi
57145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
57146 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
57147
57148     if test x$glibcxx_cv_func__expl_use = x"yes"; then
57149
57150 for ac_func in _expl
57151 do
57152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57153 echo "$as_me:$LINENO: checking for $ac_func" >&5
57154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57155 if eval "test \"\${$as_ac_var+set}\" = set"; then
57156   echo $ECHO_N "(cached) $ECHO_C" >&6
57157 else
57158   if test x$gcc_no_link = xyes; then
57159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57161    { (exit 1); exit 1; }; }
57162 fi
57163 cat >conftest.$ac_ext <<_ACEOF
57164 /* confdefs.h.  */
57165 _ACEOF
57166 cat confdefs.h >>conftest.$ac_ext
57167 cat >>conftest.$ac_ext <<_ACEOF
57168 /* end confdefs.h.  */
57169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57171 #define $ac_func innocuous_$ac_func
57172
57173 /* System header to define __stub macros and hopefully few prototypes,
57174     which can conflict with char $ac_func (); below.
57175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57176     <limits.h> exists even on freestanding compilers.  */
57177
57178 #ifdef __STDC__
57179 # include <limits.h>
57180 #else
57181 # include <assert.h>
57182 #endif
57183
57184 #undef $ac_func
57185
57186 /* Override any gcc2 internal prototype to avoid an error.  */
57187 #ifdef __cplusplus
57188 extern "C"
57189 {
57190 #endif
57191 /* We use char because int might match the return type of a gcc2
57192    builtin and then its argument prototype would still apply.  */
57193 char $ac_func ();
57194 /* The GNU C library defines this for functions which it implements
57195     to always fail with ENOSYS.  Some functions are actually named
57196     something starting with __ and the normal name is an alias.  */
57197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57198 choke me
57199 #else
57200 char (*f) () = $ac_func;
57201 #endif
57202 #ifdef __cplusplus
57203 }
57204 #endif
57205
57206 int
57207 main ()
57208 {
57209 return f != $ac_func;
57210   ;
57211   return 0;
57212 }
57213 _ACEOF
57214 rm -f conftest.$ac_objext conftest$ac_exeext
57215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57216   (eval $ac_link) 2>conftest.er1
57217   ac_status=$?
57218   grep -v '^ *+' conftest.er1 >conftest.err
57219   rm -f conftest.er1
57220   cat conftest.err >&5
57221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57222   (exit $ac_status); } &&
57223          { ac_try='test -z "$ac_c_werror_flag"
57224                          || test ! -s conftest.err'
57225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57226   (eval $ac_try) 2>&5
57227   ac_status=$?
57228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57229   (exit $ac_status); }; } &&
57230          { ac_try='test -s conftest$ac_exeext'
57231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57232   (eval $ac_try) 2>&5
57233   ac_status=$?
57234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57235   (exit $ac_status); }; }; then
57236   eval "$as_ac_var=yes"
57237 else
57238   echo "$as_me: failed program was:" >&5
57239 sed 's/^/| /' conftest.$ac_ext >&5
57240
57241 eval "$as_ac_var=no"
57242 fi
57243 rm -f conftest.err conftest.$ac_objext \
57244       conftest$ac_exeext conftest.$ac_ext
57245 fi
57246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57248 if test `eval echo '${'$as_ac_var'}'` = yes; then
57249   cat >>confdefs.h <<_ACEOF
57250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57251 _ACEOF
57252
57253 fi
57254 done
57255
57256     fi
57257   fi
57258
57259
57260
57261
57262
57263
57264   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
57265 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
57266   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57267     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
57268   echo $ECHO_N "(cached) $ECHO_C" >&6
57269 else
57270
57271
57272
57273       ac_ext=cc
57274 ac_cpp='$CXXCPP $CPPFLAGS'
57275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57278
57279       cat >conftest.$ac_ext <<_ACEOF
57280 /* confdefs.h.  */
57281 _ACEOF
57282 cat confdefs.h >>conftest.$ac_ext
57283 cat >>conftest.$ac_ext <<_ACEOF
57284 /* end confdefs.h.  */
57285 #include <math.h>
57286                       #ifdef HAVE_IEEEFP_H
57287                       #include <ieeefp.h>
57288                       #endif
57289
57290 int
57291 main ()
57292 {
57293  fabsl(0);
57294   ;
57295   return 0;
57296 }
57297 _ACEOF
57298 rm -f conftest.$ac_objext
57299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57300   (eval $ac_compile) 2>conftest.er1
57301   ac_status=$?
57302   grep -v '^ *+' conftest.er1 >conftest.err
57303   rm -f conftest.er1
57304   cat conftest.err >&5
57305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57306   (exit $ac_status); } &&
57307          { ac_try='test -z "$ac_cxx_werror_flag"
57308                          || test ! -s conftest.err'
57309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57310   (eval $ac_try) 2>&5
57311   ac_status=$?
57312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57313   (exit $ac_status); }; } &&
57314          { ac_try='test -s conftest.$ac_objext'
57315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57316   (eval $ac_try) 2>&5
57317   ac_status=$?
57318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57319   (exit $ac_status); }; }; then
57320   glibcxx_cv_func_fabsl_use=yes
57321 else
57322   echo "$as_me: failed program was:" >&5
57323 sed 's/^/| /' conftest.$ac_ext >&5
57324
57325 glibcxx_cv_func_fabsl_use=no
57326 fi
57327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57328       ac_ext=c
57329 ac_cpp='$CPP $CPPFLAGS'
57330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57333
57334
57335 fi
57336
57337   fi
57338   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
57339 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
57340
57341   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57342
57343 for ac_func in fabsl
57344 do
57345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57346 echo "$as_me:$LINENO: checking for $ac_func" >&5
57347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57348 if eval "test \"\${$as_ac_var+set}\" = set"; then
57349   echo $ECHO_N "(cached) $ECHO_C" >&6
57350 else
57351   if test x$gcc_no_link = xyes; then
57352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57354    { (exit 1); exit 1; }; }
57355 fi
57356 cat >conftest.$ac_ext <<_ACEOF
57357 /* confdefs.h.  */
57358 _ACEOF
57359 cat confdefs.h >>conftest.$ac_ext
57360 cat >>conftest.$ac_ext <<_ACEOF
57361 /* end confdefs.h.  */
57362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57364 #define $ac_func innocuous_$ac_func
57365
57366 /* System header to define __stub macros and hopefully few prototypes,
57367     which can conflict with char $ac_func (); below.
57368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57369     <limits.h> exists even on freestanding compilers.  */
57370
57371 #ifdef __STDC__
57372 # include <limits.h>
57373 #else
57374 # include <assert.h>
57375 #endif
57376
57377 #undef $ac_func
57378
57379 /* Override any gcc2 internal prototype to avoid an error.  */
57380 #ifdef __cplusplus
57381 extern "C"
57382 {
57383 #endif
57384 /* We use char because int might match the return type of a gcc2
57385    builtin and then its argument prototype would still apply.  */
57386 char $ac_func ();
57387 /* The GNU C library defines this for functions which it implements
57388     to always fail with ENOSYS.  Some functions are actually named
57389     something starting with __ and the normal name is an alias.  */
57390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57391 choke me
57392 #else
57393 char (*f) () = $ac_func;
57394 #endif
57395 #ifdef __cplusplus
57396 }
57397 #endif
57398
57399 int
57400 main ()
57401 {
57402 return f != $ac_func;
57403   ;
57404   return 0;
57405 }
57406 _ACEOF
57407 rm -f conftest.$ac_objext conftest$ac_exeext
57408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57409   (eval $ac_link) 2>conftest.er1
57410   ac_status=$?
57411   grep -v '^ *+' conftest.er1 >conftest.err
57412   rm -f conftest.er1
57413   cat conftest.err >&5
57414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57415   (exit $ac_status); } &&
57416          { ac_try='test -z "$ac_c_werror_flag"
57417                          || test ! -s conftest.err'
57418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57419   (eval $ac_try) 2>&5
57420   ac_status=$?
57421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57422   (exit $ac_status); }; } &&
57423          { ac_try='test -s conftest$ac_exeext'
57424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57425   (eval $ac_try) 2>&5
57426   ac_status=$?
57427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57428   (exit $ac_status); }; }; then
57429   eval "$as_ac_var=yes"
57430 else
57431   echo "$as_me: failed program was:" >&5
57432 sed 's/^/| /' conftest.$ac_ext >&5
57433
57434 eval "$as_ac_var=no"
57435 fi
57436 rm -f conftest.err conftest.$ac_objext \
57437       conftest$ac_exeext conftest.$ac_ext
57438 fi
57439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57441 if test `eval echo '${'$as_ac_var'}'` = yes; then
57442   cat >>confdefs.h <<_ACEOF
57443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57444 _ACEOF
57445
57446 fi
57447 done
57448
57449   else
57450
57451   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57452 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57453   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57454     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57455   echo $ECHO_N "(cached) $ECHO_C" >&6
57456 else
57457
57458
57459
57460       ac_ext=cc
57461 ac_cpp='$CXXCPP $CPPFLAGS'
57462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57465
57466       cat >conftest.$ac_ext <<_ACEOF
57467 /* confdefs.h.  */
57468 _ACEOF
57469 cat confdefs.h >>conftest.$ac_ext
57470 cat >>conftest.$ac_ext <<_ACEOF
57471 /* end confdefs.h.  */
57472 #include <math.h>
57473                       #ifdef HAVE_IEEEFP_H
57474                       #include <ieeefp.h>
57475                       #endif
57476
57477 int
57478 main ()
57479 {
57480  _fabsl(0);
57481   ;
57482   return 0;
57483 }
57484 _ACEOF
57485 rm -f conftest.$ac_objext
57486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57487   (eval $ac_compile) 2>conftest.er1
57488   ac_status=$?
57489   grep -v '^ *+' conftest.er1 >conftest.err
57490   rm -f conftest.er1
57491   cat conftest.err >&5
57492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57493   (exit $ac_status); } &&
57494          { ac_try='test -z "$ac_cxx_werror_flag"
57495                          || test ! -s conftest.err'
57496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57497   (eval $ac_try) 2>&5
57498   ac_status=$?
57499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57500   (exit $ac_status); }; } &&
57501          { ac_try='test -s conftest.$ac_objext'
57502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57503   (eval $ac_try) 2>&5
57504   ac_status=$?
57505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57506   (exit $ac_status); }; }; then
57507   glibcxx_cv_func__fabsl_use=yes
57508 else
57509   echo "$as_me: failed program was:" >&5
57510 sed 's/^/| /' conftest.$ac_ext >&5
57511
57512 glibcxx_cv_func__fabsl_use=no
57513 fi
57514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57515       ac_ext=c
57516 ac_cpp='$CPP $CPPFLAGS'
57517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57520
57521
57522 fi
57523
57524   fi
57525   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57526 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57527
57528     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57529
57530 for ac_func in _fabsl
57531 do
57532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57533 echo "$as_me:$LINENO: checking for $ac_func" >&5
57534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57535 if eval "test \"\${$as_ac_var+set}\" = set"; then
57536   echo $ECHO_N "(cached) $ECHO_C" >&6
57537 else
57538   if test x$gcc_no_link = xyes; then
57539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57541    { (exit 1); exit 1; }; }
57542 fi
57543 cat >conftest.$ac_ext <<_ACEOF
57544 /* confdefs.h.  */
57545 _ACEOF
57546 cat confdefs.h >>conftest.$ac_ext
57547 cat >>conftest.$ac_ext <<_ACEOF
57548 /* end confdefs.h.  */
57549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57551 #define $ac_func innocuous_$ac_func
57552
57553 /* System header to define __stub macros and hopefully few prototypes,
57554     which can conflict with char $ac_func (); below.
57555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57556     <limits.h> exists even on freestanding compilers.  */
57557
57558 #ifdef __STDC__
57559 # include <limits.h>
57560 #else
57561 # include <assert.h>
57562 #endif
57563
57564 #undef $ac_func
57565
57566 /* Override any gcc2 internal prototype to avoid an error.  */
57567 #ifdef __cplusplus
57568 extern "C"
57569 {
57570 #endif
57571 /* We use char because int might match the return type of a gcc2
57572    builtin and then its argument prototype would still apply.  */
57573 char $ac_func ();
57574 /* The GNU C library defines this for functions which it implements
57575     to always fail with ENOSYS.  Some functions are actually named
57576     something starting with __ and the normal name is an alias.  */
57577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57578 choke me
57579 #else
57580 char (*f) () = $ac_func;
57581 #endif
57582 #ifdef __cplusplus
57583 }
57584 #endif
57585
57586 int
57587 main ()
57588 {
57589 return f != $ac_func;
57590   ;
57591   return 0;
57592 }
57593 _ACEOF
57594 rm -f conftest.$ac_objext conftest$ac_exeext
57595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57596   (eval $ac_link) 2>conftest.er1
57597   ac_status=$?
57598   grep -v '^ *+' conftest.er1 >conftest.err
57599   rm -f conftest.er1
57600   cat conftest.err >&5
57601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57602   (exit $ac_status); } &&
57603          { ac_try='test -z "$ac_c_werror_flag"
57604                          || test ! -s conftest.err'
57605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57606   (eval $ac_try) 2>&5
57607   ac_status=$?
57608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57609   (exit $ac_status); }; } &&
57610          { ac_try='test -s conftest$ac_exeext'
57611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57612   (eval $ac_try) 2>&5
57613   ac_status=$?
57614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57615   (exit $ac_status); }; }; then
57616   eval "$as_ac_var=yes"
57617 else
57618   echo "$as_me: failed program was:" >&5
57619 sed 's/^/| /' conftest.$ac_ext >&5
57620
57621 eval "$as_ac_var=no"
57622 fi
57623 rm -f conftest.err conftest.$ac_objext \
57624       conftest$ac_exeext conftest.$ac_ext
57625 fi
57626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57628 if test `eval echo '${'$as_ac_var'}'` = yes; then
57629   cat >>confdefs.h <<_ACEOF
57630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57631 _ACEOF
57632
57633 fi
57634 done
57635
57636     fi
57637   fi
57638
57639
57640
57641
57642
57643
57644   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57645 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57646   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57647     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57648   echo $ECHO_N "(cached) $ECHO_C" >&6
57649 else
57650
57651
57652
57653       ac_ext=cc
57654 ac_cpp='$CXXCPP $CPPFLAGS'
57655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57658
57659       cat >conftest.$ac_ext <<_ACEOF
57660 /* confdefs.h.  */
57661 _ACEOF
57662 cat confdefs.h >>conftest.$ac_ext
57663 cat >>conftest.$ac_ext <<_ACEOF
57664 /* end confdefs.h.  */
57665 #include <math.h>
57666 int
57667 main ()
57668 {
57669  fmodl(0, 0);
57670   ;
57671   return 0;
57672 }
57673 _ACEOF
57674 rm -f conftest.$ac_objext
57675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57676   (eval $ac_compile) 2>conftest.er1
57677   ac_status=$?
57678   grep -v '^ *+' conftest.er1 >conftest.err
57679   rm -f conftest.er1
57680   cat conftest.err >&5
57681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57682   (exit $ac_status); } &&
57683          { ac_try='test -z "$ac_cxx_werror_flag"
57684                          || test ! -s conftest.err'
57685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57686   (eval $ac_try) 2>&5
57687   ac_status=$?
57688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57689   (exit $ac_status); }; } &&
57690          { ac_try='test -s conftest.$ac_objext'
57691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57692   (eval $ac_try) 2>&5
57693   ac_status=$?
57694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57695   (exit $ac_status); }; }; then
57696   glibcxx_cv_func_fmodl_use=yes
57697 else
57698   echo "$as_me: failed program was:" >&5
57699 sed 's/^/| /' conftest.$ac_ext >&5
57700
57701 glibcxx_cv_func_fmodl_use=no
57702 fi
57703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57704       ac_ext=c
57705 ac_cpp='$CPP $CPPFLAGS'
57706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57709
57710
57711 fi
57712
57713   fi
57714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57715 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57716
57717   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57718
57719 for ac_func in fmodl
57720 do
57721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57722 echo "$as_me:$LINENO: checking for $ac_func" >&5
57723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57724 if eval "test \"\${$as_ac_var+set}\" = set"; then
57725   echo $ECHO_N "(cached) $ECHO_C" >&6
57726 else
57727   if test x$gcc_no_link = xyes; then
57728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57730    { (exit 1); exit 1; }; }
57731 fi
57732 cat >conftest.$ac_ext <<_ACEOF
57733 /* confdefs.h.  */
57734 _ACEOF
57735 cat confdefs.h >>conftest.$ac_ext
57736 cat >>conftest.$ac_ext <<_ACEOF
57737 /* end confdefs.h.  */
57738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57740 #define $ac_func innocuous_$ac_func
57741
57742 /* System header to define __stub macros and hopefully few prototypes,
57743     which can conflict with char $ac_func (); below.
57744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57745     <limits.h> exists even on freestanding compilers.  */
57746
57747 #ifdef __STDC__
57748 # include <limits.h>
57749 #else
57750 # include <assert.h>
57751 #endif
57752
57753 #undef $ac_func
57754
57755 /* Override any gcc2 internal prototype to avoid an error.  */
57756 #ifdef __cplusplus
57757 extern "C"
57758 {
57759 #endif
57760 /* We use char because int might match the return type of a gcc2
57761    builtin and then its argument prototype would still apply.  */
57762 char $ac_func ();
57763 /* The GNU C library defines this for functions which it implements
57764     to always fail with ENOSYS.  Some functions are actually named
57765     something starting with __ and the normal name is an alias.  */
57766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57767 choke me
57768 #else
57769 char (*f) () = $ac_func;
57770 #endif
57771 #ifdef __cplusplus
57772 }
57773 #endif
57774
57775 int
57776 main ()
57777 {
57778 return f != $ac_func;
57779   ;
57780   return 0;
57781 }
57782 _ACEOF
57783 rm -f conftest.$ac_objext conftest$ac_exeext
57784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57785   (eval $ac_link) 2>conftest.er1
57786   ac_status=$?
57787   grep -v '^ *+' conftest.er1 >conftest.err
57788   rm -f conftest.er1
57789   cat conftest.err >&5
57790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57791   (exit $ac_status); } &&
57792          { ac_try='test -z "$ac_c_werror_flag"
57793                          || test ! -s conftest.err'
57794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57795   (eval $ac_try) 2>&5
57796   ac_status=$?
57797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57798   (exit $ac_status); }; } &&
57799          { ac_try='test -s conftest$ac_exeext'
57800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57801   (eval $ac_try) 2>&5
57802   ac_status=$?
57803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57804   (exit $ac_status); }; }; then
57805   eval "$as_ac_var=yes"
57806 else
57807   echo "$as_me: failed program was:" >&5
57808 sed 's/^/| /' conftest.$ac_ext >&5
57809
57810 eval "$as_ac_var=no"
57811 fi
57812 rm -f conftest.err conftest.$ac_objext \
57813       conftest$ac_exeext conftest.$ac_ext
57814 fi
57815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57817 if test `eval echo '${'$as_ac_var'}'` = yes; then
57818   cat >>confdefs.h <<_ACEOF
57819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57820 _ACEOF
57821
57822 fi
57823 done
57824
57825   else
57826
57827   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57828 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57829   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57830     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57831   echo $ECHO_N "(cached) $ECHO_C" >&6
57832 else
57833
57834
57835
57836       ac_ext=cc
57837 ac_cpp='$CXXCPP $CPPFLAGS'
57838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57841
57842       cat >conftest.$ac_ext <<_ACEOF
57843 /* confdefs.h.  */
57844 _ACEOF
57845 cat confdefs.h >>conftest.$ac_ext
57846 cat >>conftest.$ac_ext <<_ACEOF
57847 /* end confdefs.h.  */
57848 #include <math.h>
57849 int
57850 main ()
57851 {
57852  _fmodl(0, 0);
57853   ;
57854   return 0;
57855 }
57856 _ACEOF
57857 rm -f conftest.$ac_objext
57858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57859   (eval $ac_compile) 2>conftest.er1
57860   ac_status=$?
57861   grep -v '^ *+' conftest.er1 >conftest.err
57862   rm -f conftest.er1
57863   cat conftest.err >&5
57864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57865   (exit $ac_status); } &&
57866          { ac_try='test -z "$ac_cxx_werror_flag"
57867                          || test ! -s conftest.err'
57868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57869   (eval $ac_try) 2>&5
57870   ac_status=$?
57871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57872   (exit $ac_status); }; } &&
57873          { ac_try='test -s conftest.$ac_objext'
57874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57875   (eval $ac_try) 2>&5
57876   ac_status=$?
57877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57878   (exit $ac_status); }; }; then
57879   glibcxx_cv_func__fmodl_use=yes
57880 else
57881   echo "$as_me: failed program was:" >&5
57882 sed 's/^/| /' conftest.$ac_ext >&5
57883
57884 glibcxx_cv_func__fmodl_use=no
57885 fi
57886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57887       ac_ext=c
57888 ac_cpp='$CPP $CPPFLAGS'
57889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57892
57893
57894 fi
57895
57896   fi
57897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57898 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57899
57900     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57901
57902 for ac_func in _fmodl
57903 do
57904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57905 echo "$as_me:$LINENO: checking for $ac_func" >&5
57906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57907 if eval "test \"\${$as_ac_var+set}\" = set"; then
57908   echo $ECHO_N "(cached) $ECHO_C" >&6
57909 else
57910   if test x$gcc_no_link = xyes; then
57911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57913    { (exit 1); exit 1; }; }
57914 fi
57915 cat >conftest.$ac_ext <<_ACEOF
57916 /* confdefs.h.  */
57917 _ACEOF
57918 cat confdefs.h >>conftest.$ac_ext
57919 cat >>conftest.$ac_ext <<_ACEOF
57920 /* end confdefs.h.  */
57921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57923 #define $ac_func innocuous_$ac_func
57924
57925 /* System header to define __stub macros and hopefully few prototypes,
57926     which can conflict with char $ac_func (); below.
57927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57928     <limits.h> exists even on freestanding compilers.  */
57929
57930 #ifdef __STDC__
57931 # include <limits.h>
57932 #else
57933 # include <assert.h>
57934 #endif
57935
57936 #undef $ac_func
57937
57938 /* Override any gcc2 internal prototype to avoid an error.  */
57939 #ifdef __cplusplus
57940 extern "C"
57941 {
57942 #endif
57943 /* We use char because int might match the return type of a gcc2
57944    builtin and then its argument prototype would still apply.  */
57945 char $ac_func ();
57946 /* The GNU C library defines this for functions which it implements
57947     to always fail with ENOSYS.  Some functions are actually named
57948     something starting with __ and the normal name is an alias.  */
57949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57950 choke me
57951 #else
57952 char (*f) () = $ac_func;
57953 #endif
57954 #ifdef __cplusplus
57955 }
57956 #endif
57957
57958 int
57959 main ()
57960 {
57961 return f != $ac_func;
57962   ;
57963   return 0;
57964 }
57965 _ACEOF
57966 rm -f conftest.$ac_objext conftest$ac_exeext
57967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57968   (eval $ac_link) 2>conftest.er1
57969   ac_status=$?
57970   grep -v '^ *+' conftest.er1 >conftest.err
57971   rm -f conftest.er1
57972   cat conftest.err >&5
57973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57974   (exit $ac_status); } &&
57975          { ac_try='test -z "$ac_c_werror_flag"
57976                          || test ! -s conftest.err'
57977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57978   (eval $ac_try) 2>&5
57979   ac_status=$?
57980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57981   (exit $ac_status); }; } &&
57982          { ac_try='test -s conftest$ac_exeext'
57983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57984   (eval $ac_try) 2>&5
57985   ac_status=$?
57986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57987   (exit $ac_status); }; }; then
57988   eval "$as_ac_var=yes"
57989 else
57990   echo "$as_me: failed program was:" >&5
57991 sed 's/^/| /' conftest.$ac_ext >&5
57992
57993 eval "$as_ac_var=no"
57994 fi
57995 rm -f conftest.err conftest.$ac_objext \
57996       conftest$ac_exeext conftest.$ac_ext
57997 fi
57998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58000 if test `eval echo '${'$as_ac_var'}'` = yes; then
58001   cat >>confdefs.h <<_ACEOF
58002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58003 _ACEOF
58004
58005 fi
58006 done
58007
58008     fi
58009   fi
58010
58011
58012
58013
58014
58015
58016   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
58017 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
58018   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58019     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
58020   echo $ECHO_N "(cached) $ECHO_C" >&6
58021 else
58022
58023
58024
58025       ac_ext=cc
58026 ac_cpp='$CXXCPP $CPPFLAGS'
58027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58030
58031       cat >conftest.$ac_ext <<_ACEOF
58032 /* confdefs.h.  */
58033 _ACEOF
58034 cat confdefs.h >>conftest.$ac_ext
58035 cat >>conftest.$ac_ext <<_ACEOF
58036 /* end confdefs.h.  */
58037 #include <math.h>
58038 int
58039 main ()
58040 {
58041  frexpl(0, 0);
58042   ;
58043   return 0;
58044 }
58045 _ACEOF
58046 rm -f conftest.$ac_objext
58047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58048   (eval $ac_compile) 2>conftest.er1
58049   ac_status=$?
58050   grep -v '^ *+' conftest.er1 >conftest.err
58051   rm -f conftest.er1
58052   cat conftest.err >&5
58053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58054   (exit $ac_status); } &&
58055          { ac_try='test -z "$ac_cxx_werror_flag"
58056                          || test ! -s conftest.err'
58057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58058   (eval $ac_try) 2>&5
58059   ac_status=$?
58060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58061   (exit $ac_status); }; } &&
58062          { ac_try='test -s conftest.$ac_objext'
58063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58064   (eval $ac_try) 2>&5
58065   ac_status=$?
58066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58067   (exit $ac_status); }; }; then
58068   glibcxx_cv_func_frexpl_use=yes
58069 else
58070   echo "$as_me: failed program was:" >&5
58071 sed 's/^/| /' conftest.$ac_ext >&5
58072
58073 glibcxx_cv_func_frexpl_use=no
58074 fi
58075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58076       ac_ext=c
58077 ac_cpp='$CPP $CPPFLAGS'
58078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58081
58082
58083 fi
58084
58085   fi
58086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
58087 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
58088
58089   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58090
58091 for ac_func in frexpl
58092 do
58093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58094 echo "$as_me:$LINENO: checking for $ac_func" >&5
58095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58096 if eval "test \"\${$as_ac_var+set}\" = set"; then
58097   echo $ECHO_N "(cached) $ECHO_C" >&6
58098 else
58099   if test x$gcc_no_link = xyes; then
58100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58102    { (exit 1); exit 1; }; }
58103 fi
58104 cat >conftest.$ac_ext <<_ACEOF
58105 /* confdefs.h.  */
58106 _ACEOF
58107 cat confdefs.h >>conftest.$ac_ext
58108 cat >>conftest.$ac_ext <<_ACEOF
58109 /* end confdefs.h.  */
58110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58112 #define $ac_func innocuous_$ac_func
58113
58114 /* System header to define __stub macros and hopefully few prototypes,
58115     which can conflict with char $ac_func (); below.
58116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58117     <limits.h> exists even on freestanding compilers.  */
58118
58119 #ifdef __STDC__
58120 # include <limits.h>
58121 #else
58122 # include <assert.h>
58123 #endif
58124
58125 #undef $ac_func
58126
58127 /* Override any gcc2 internal prototype to avoid an error.  */
58128 #ifdef __cplusplus
58129 extern "C"
58130 {
58131 #endif
58132 /* We use char because int might match the return type of a gcc2
58133    builtin and then its argument prototype would still apply.  */
58134 char $ac_func ();
58135 /* The GNU C library defines this for functions which it implements
58136     to always fail with ENOSYS.  Some functions are actually named
58137     something starting with __ and the normal name is an alias.  */
58138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58139 choke me
58140 #else
58141 char (*f) () = $ac_func;
58142 #endif
58143 #ifdef __cplusplus
58144 }
58145 #endif
58146
58147 int
58148 main ()
58149 {
58150 return f != $ac_func;
58151   ;
58152   return 0;
58153 }
58154 _ACEOF
58155 rm -f conftest.$ac_objext conftest$ac_exeext
58156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58157   (eval $ac_link) 2>conftest.er1
58158   ac_status=$?
58159   grep -v '^ *+' conftest.er1 >conftest.err
58160   rm -f conftest.er1
58161   cat conftest.err >&5
58162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58163   (exit $ac_status); } &&
58164          { ac_try='test -z "$ac_c_werror_flag"
58165                          || test ! -s conftest.err'
58166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58167   (eval $ac_try) 2>&5
58168   ac_status=$?
58169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58170   (exit $ac_status); }; } &&
58171          { ac_try='test -s conftest$ac_exeext'
58172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58173   (eval $ac_try) 2>&5
58174   ac_status=$?
58175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58176   (exit $ac_status); }; }; then
58177   eval "$as_ac_var=yes"
58178 else
58179   echo "$as_me: failed program was:" >&5
58180 sed 's/^/| /' conftest.$ac_ext >&5
58181
58182 eval "$as_ac_var=no"
58183 fi
58184 rm -f conftest.err conftest.$ac_objext \
58185       conftest$ac_exeext conftest.$ac_ext
58186 fi
58187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58189 if test `eval echo '${'$as_ac_var'}'` = yes; then
58190   cat >>confdefs.h <<_ACEOF
58191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58192 _ACEOF
58193
58194 fi
58195 done
58196
58197   else
58198
58199   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
58200 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
58201   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58202     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
58203   echo $ECHO_N "(cached) $ECHO_C" >&6
58204 else
58205
58206
58207
58208       ac_ext=cc
58209 ac_cpp='$CXXCPP $CPPFLAGS'
58210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58213
58214       cat >conftest.$ac_ext <<_ACEOF
58215 /* confdefs.h.  */
58216 _ACEOF
58217 cat confdefs.h >>conftest.$ac_ext
58218 cat >>conftest.$ac_ext <<_ACEOF
58219 /* end confdefs.h.  */
58220 #include <math.h>
58221 int
58222 main ()
58223 {
58224  _frexpl(0, 0);
58225   ;
58226   return 0;
58227 }
58228 _ACEOF
58229 rm -f conftest.$ac_objext
58230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58231   (eval $ac_compile) 2>conftest.er1
58232   ac_status=$?
58233   grep -v '^ *+' conftest.er1 >conftest.err
58234   rm -f conftest.er1
58235   cat conftest.err >&5
58236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58237   (exit $ac_status); } &&
58238          { ac_try='test -z "$ac_cxx_werror_flag"
58239                          || test ! -s conftest.err'
58240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58241   (eval $ac_try) 2>&5
58242   ac_status=$?
58243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58244   (exit $ac_status); }; } &&
58245          { ac_try='test -s conftest.$ac_objext'
58246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58247   (eval $ac_try) 2>&5
58248   ac_status=$?
58249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58250   (exit $ac_status); }; }; then
58251   glibcxx_cv_func__frexpl_use=yes
58252 else
58253   echo "$as_me: failed program was:" >&5
58254 sed 's/^/| /' conftest.$ac_ext >&5
58255
58256 glibcxx_cv_func__frexpl_use=no
58257 fi
58258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58259       ac_ext=c
58260 ac_cpp='$CPP $CPPFLAGS'
58261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58264
58265
58266 fi
58267
58268   fi
58269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
58270 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
58271
58272     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58273
58274 for ac_func in _frexpl
58275 do
58276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58277 echo "$as_me:$LINENO: checking for $ac_func" >&5
58278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58279 if eval "test \"\${$as_ac_var+set}\" = set"; then
58280   echo $ECHO_N "(cached) $ECHO_C" >&6
58281 else
58282   if test x$gcc_no_link = xyes; then
58283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58285    { (exit 1); exit 1; }; }
58286 fi
58287 cat >conftest.$ac_ext <<_ACEOF
58288 /* confdefs.h.  */
58289 _ACEOF
58290 cat confdefs.h >>conftest.$ac_ext
58291 cat >>conftest.$ac_ext <<_ACEOF
58292 /* end confdefs.h.  */
58293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58295 #define $ac_func innocuous_$ac_func
58296
58297 /* System header to define __stub macros and hopefully few prototypes,
58298     which can conflict with char $ac_func (); below.
58299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58300     <limits.h> exists even on freestanding compilers.  */
58301
58302 #ifdef __STDC__
58303 # include <limits.h>
58304 #else
58305 # include <assert.h>
58306 #endif
58307
58308 #undef $ac_func
58309
58310 /* Override any gcc2 internal prototype to avoid an error.  */
58311 #ifdef __cplusplus
58312 extern "C"
58313 {
58314 #endif
58315 /* We use char because int might match the return type of a gcc2
58316    builtin and then its argument prototype would still apply.  */
58317 char $ac_func ();
58318 /* The GNU C library defines this for functions which it implements
58319     to always fail with ENOSYS.  Some functions are actually named
58320     something starting with __ and the normal name is an alias.  */
58321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58322 choke me
58323 #else
58324 char (*f) () = $ac_func;
58325 #endif
58326 #ifdef __cplusplus
58327 }
58328 #endif
58329
58330 int
58331 main ()
58332 {
58333 return f != $ac_func;
58334   ;
58335   return 0;
58336 }
58337 _ACEOF
58338 rm -f conftest.$ac_objext conftest$ac_exeext
58339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58340   (eval $ac_link) 2>conftest.er1
58341   ac_status=$?
58342   grep -v '^ *+' conftest.er1 >conftest.err
58343   rm -f conftest.er1
58344   cat conftest.err >&5
58345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58346   (exit $ac_status); } &&
58347          { ac_try='test -z "$ac_c_werror_flag"
58348                          || test ! -s conftest.err'
58349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58350   (eval $ac_try) 2>&5
58351   ac_status=$?
58352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58353   (exit $ac_status); }; } &&
58354          { ac_try='test -s conftest$ac_exeext'
58355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58356   (eval $ac_try) 2>&5
58357   ac_status=$?
58358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58359   (exit $ac_status); }; }; then
58360   eval "$as_ac_var=yes"
58361 else
58362   echo "$as_me: failed program was:" >&5
58363 sed 's/^/| /' conftest.$ac_ext >&5
58364
58365 eval "$as_ac_var=no"
58366 fi
58367 rm -f conftest.err conftest.$ac_objext \
58368       conftest$ac_exeext conftest.$ac_ext
58369 fi
58370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58372 if test `eval echo '${'$as_ac_var'}'` = yes; then
58373   cat >>confdefs.h <<_ACEOF
58374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58375 _ACEOF
58376
58377 fi
58378 done
58379
58380     fi
58381   fi
58382
58383
58384
58385
58386
58387
58388   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
58389 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
58390   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58391     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
58392   echo $ECHO_N "(cached) $ECHO_C" >&6
58393 else
58394
58395
58396
58397       ac_ext=cc
58398 ac_cpp='$CXXCPP $CPPFLAGS'
58399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58402
58403       cat >conftest.$ac_ext <<_ACEOF
58404 /* confdefs.h.  */
58405 _ACEOF
58406 cat confdefs.h >>conftest.$ac_ext
58407 cat >>conftest.$ac_ext <<_ACEOF
58408 /* end confdefs.h.  */
58409 #include <math.h>
58410 int
58411 main ()
58412 {
58413  hypotl(0, 0);
58414   ;
58415   return 0;
58416 }
58417 _ACEOF
58418 rm -f conftest.$ac_objext
58419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58420   (eval $ac_compile) 2>conftest.er1
58421   ac_status=$?
58422   grep -v '^ *+' conftest.er1 >conftest.err
58423   rm -f conftest.er1
58424   cat conftest.err >&5
58425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58426   (exit $ac_status); } &&
58427          { ac_try='test -z "$ac_cxx_werror_flag"
58428                          || test ! -s conftest.err'
58429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58430   (eval $ac_try) 2>&5
58431   ac_status=$?
58432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58433   (exit $ac_status); }; } &&
58434          { ac_try='test -s conftest.$ac_objext'
58435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58436   (eval $ac_try) 2>&5
58437   ac_status=$?
58438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58439   (exit $ac_status); }; }; then
58440   glibcxx_cv_func_hypotl_use=yes
58441 else
58442   echo "$as_me: failed program was:" >&5
58443 sed 's/^/| /' conftest.$ac_ext >&5
58444
58445 glibcxx_cv_func_hypotl_use=no
58446 fi
58447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58448       ac_ext=c
58449 ac_cpp='$CPP $CPPFLAGS'
58450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58453
58454
58455 fi
58456
58457   fi
58458   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
58459 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
58460
58461   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58462
58463 for ac_func in hypotl
58464 do
58465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58466 echo "$as_me:$LINENO: checking for $ac_func" >&5
58467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58468 if eval "test \"\${$as_ac_var+set}\" = set"; then
58469   echo $ECHO_N "(cached) $ECHO_C" >&6
58470 else
58471   if test x$gcc_no_link = xyes; then
58472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58474    { (exit 1); exit 1; }; }
58475 fi
58476 cat >conftest.$ac_ext <<_ACEOF
58477 /* confdefs.h.  */
58478 _ACEOF
58479 cat confdefs.h >>conftest.$ac_ext
58480 cat >>conftest.$ac_ext <<_ACEOF
58481 /* end confdefs.h.  */
58482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58484 #define $ac_func innocuous_$ac_func
58485
58486 /* System header to define __stub macros and hopefully few prototypes,
58487     which can conflict with char $ac_func (); below.
58488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58489     <limits.h> exists even on freestanding compilers.  */
58490
58491 #ifdef __STDC__
58492 # include <limits.h>
58493 #else
58494 # include <assert.h>
58495 #endif
58496
58497 #undef $ac_func
58498
58499 /* Override any gcc2 internal prototype to avoid an error.  */
58500 #ifdef __cplusplus
58501 extern "C"
58502 {
58503 #endif
58504 /* We use char because int might match the return type of a gcc2
58505    builtin and then its argument prototype would still apply.  */
58506 char $ac_func ();
58507 /* The GNU C library defines this for functions which it implements
58508     to always fail with ENOSYS.  Some functions are actually named
58509     something starting with __ and the normal name is an alias.  */
58510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58511 choke me
58512 #else
58513 char (*f) () = $ac_func;
58514 #endif
58515 #ifdef __cplusplus
58516 }
58517 #endif
58518
58519 int
58520 main ()
58521 {
58522 return f != $ac_func;
58523   ;
58524   return 0;
58525 }
58526 _ACEOF
58527 rm -f conftest.$ac_objext conftest$ac_exeext
58528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58529   (eval $ac_link) 2>conftest.er1
58530   ac_status=$?
58531   grep -v '^ *+' conftest.er1 >conftest.err
58532   rm -f conftest.er1
58533   cat conftest.err >&5
58534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58535   (exit $ac_status); } &&
58536          { ac_try='test -z "$ac_c_werror_flag"
58537                          || test ! -s conftest.err'
58538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58539   (eval $ac_try) 2>&5
58540   ac_status=$?
58541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58542   (exit $ac_status); }; } &&
58543          { ac_try='test -s conftest$ac_exeext'
58544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58545   (eval $ac_try) 2>&5
58546   ac_status=$?
58547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58548   (exit $ac_status); }; }; then
58549   eval "$as_ac_var=yes"
58550 else
58551   echo "$as_me: failed program was:" >&5
58552 sed 's/^/| /' conftest.$ac_ext >&5
58553
58554 eval "$as_ac_var=no"
58555 fi
58556 rm -f conftest.err conftest.$ac_objext \
58557       conftest$ac_exeext conftest.$ac_ext
58558 fi
58559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58561 if test `eval echo '${'$as_ac_var'}'` = yes; then
58562   cat >>confdefs.h <<_ACEOF
58563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58564 _ACEOF
58565
58566 fi
58567 done
58568
58569   else
58570
58571   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58572 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58573   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58574     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58575   echo $ECHO_N "(cached) $ECHO_C" >&6
58576 else
58577
58578
58579
58580       ac_ext=cc
58581 ac_cpp='$CXXCPP $CPPFLAGS'
58582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58585
58586       cat >conftest.$ac_ext <<_ACEOF
58587 /* confdefs.h.  */
58588 _ACEOF
58589 cat confdefs.h >>conftest.$ac_ext
58590 cat >>conftest.$ac_ext <<_ACEOF
58591 /* end confdefs.h.  */
58592 #include <math.h>
58593 int
58594 main ()
58595 {
58596  _hypotl(0, 0);
58597   ;
58598   return 0;
58599 }
58600 _ACEOF
58601 rm -f conftest.$ac_objext
58602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58603   (eval $ac_compile) 2>conftest.er1
58604   ac_status=$?
58605   grep -v '^ *+' conftest.er1 >conftest.err
58606   rm -f conftest.er1
58607   cat conftest.err >&5
58608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58609   (exit $ac_status); } &&
58610          { ac_try='test -z "$ac_cxx_werror_flag"
58611                          || test ! -s conftest.err'
58612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58613   (eval $ac_try) 2>&5
58614   ac_status=$?
58615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58616   (exit $ac_status); }; } &&
58617          { ac_try='test -s conftest.$ac_objext'
58618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58619   (eval $ac_try) 2>&5
58620   ac_status=$?
58621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58622   (exit $ac_status); }; }; then
58623   glibcxx_cv_func__hypotl_use=yes
58624 else
58625   echo "$as_me: failed program was:" >&5
58626 sed 's/^/| /' conftest.$ac_ext >&5
58627
58628 glibcxx_cv_func__hypotl_use=no
58629 fi
58630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58631       ac_ext=c
58632 ac_cpp='$CPP $CPPFLAGS'
58633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58636
58637
58638 fi
58639
58640   fi
58641   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58642 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58643
58644     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58645
58646 for ac_func in _hypotl
58647 do
58648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58649 echo "$as_me:$LINENO: checking for $ac_func" >&5
58650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58651 if eval "test \"\${$as_ac_var+set}\" = set"; then
58652   echo $ECHO_N "(cached) $ECHO_C" >&6
58653 else
58654   if test x$gcc_no_link = xyes; then
58655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58657    { (exit 1); exit 1; }; }
58658 fi
58659 cat >conftest.$ac_ext <<_ACEOF
58660 /* confdefs.h.  */
58661 _ACEOF
58662 cat confdefs.h >>conftest.$ac_ext
58663 cat >>conftest.$ac_ext <<_ACEOF
58664 /* end confdefs.h.  */
58665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58667 #define $ac_func innocuous_$ac_func
58668
58669 /* System header to define __stub macros and hopefully few prototypes,
58670     which can conflict with char $ac_func (); below.
58671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58672     <limits.h> exists even on freestanding compilers.  */
58673
58674 #ifdef __STDC__
58675 # include <limits.h>
58676 #else
58677 # include <assert.h>
58678 #endif
58679
58680 #undef $ac_func
58681
58682 /* Override any gcc2 internal prototype to avoid an error.  */
58683 #ifdef __cplusplus
58684 extern "C"
58685 {
58686 #endif
58687 /* We use char because int might match the return type of a gcc2
58688    builtin and then its argument prototype would still apply.  */
58689 char $ac_func ();
58690 /* The GNU C library defines this for functions which it implements
58691     to always fail with ENOSYS.  Some functions are actually named
58692     something starting with __ and the normal name is an alias.  */
58693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58694 choke me
58695 #else
58696 char (*f) () = $ac_func;
58697 #endif
58698 #ifdef __cplusplus
58699 }
58700 #endif
58701
58702 int
58703 main ()
58704 {
58705 return f != $ac_func;
58706   ;
58707   return 0;
58708 }
58709 _ACEOF
58710 rm -f conftest.$ac_objext conftest$ac_exeext
58711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58712   (eval $ac_link) 2>conftest.er1
58713   ac_status=$?
58714   grep -v '^ *+' conftest.er1 >conftest.err
58715   rm -f conftest.er1
58716   cat conftest.err >&5
58717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58718   (exit $ac_status); } &&
58719          { ac_try='test -z "$ac_c_werror_flag"
58720                          || test ! -s conftest.err'
58721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58722   (eval $ac_try) 2>&5
58723   ac_status=$?
58724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58725   (exit $ac_status); }; } &&
58726          { ac_try='test -s conftest$ac_exeext'
58727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58728   (eval $ac_try) 2>&5
58729   ac_status=$?
58730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58731   (exit $ac_status); }; }; then
58732   eval "$as_ac_var=yes"
58733 else
58734   echo "$as_me: failed program was:" >&5
58735 sed 's/^/| /' conftest.$ac_ext >&5
58736
58737 eval "$as_ac_var=no"
58738 fi
58739 rm -f conftest.err conftest.$ac_objext \
58740       conftest$ac_exeext conftest.$ac_ext
58741 fi
58742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58744 if test `eval echo '${'$as_ac_var'}'` = yes; then
58745   cat >>confdefs.h <<_ACEOF
58746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58747 _ACEOF
58748
58749 fi
58750 done
58751
58752     fi
58753   fi
58754
58755
58756
58757
58758
58759
58760   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58761 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58762   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58763     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58764   echo $ECHO_N "(cached) $ECHO_C" >&6
58765 else
58766
58767
58768
58769       ac_ext=cc
58770 ac_cpp='$CXXCPP $CPPFLAGS'
58771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58774
58775       cat >conftest.$ac_ext <<_ACEOF
58776 /* confdefs.h.  */
58777 _ACEOF
58778 cat confdefs.h >>conftest.$ac_ext
58779 cat >>conftest.$ac_ext <<_ACEOF
58780 /* end confdefs.h.  */
58781 #include <math.h>
58782 int
58783 main ()
58784 {
58785  ldexpl(0, 0);
58786   ;
58787   return 0;
58788 }
58789 _ACEOF
58790 rm -f conftest.$ac_objext
58791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58792   (eval $ac_compile) 2>conftest.er1
58793   ac_status=$?
58794   grep -v '^ *+' conftest.er1 >conftest.err
58795   rm -f conftest.er1
58796   cat conftest.err >&5
58797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798   (exit $ac_status); } &&
58799          { ac_try='test -z "$ac_cxx_werror_flag"
58800                          || test ! -s conftest.err'
58801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58802   (eval $ac_try) 2>&5
58803   ac_status=$?
58804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805   (exit $ac_status); }; } &&
58806          { ac_try='test -s conftest.$ac_objext'
58807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808   (eval $ac_try) 2>&5
58809   ac_status=$?
58810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811   (exit $ac_status); }; }; then
58812   glibcxx_cv_func_ldexpl_use=yes
58813 else
58814   echo "$as_me: failed program was:" >&5
58815 sed 's/^/| /' conftest.$ac_ext >&5
58816
58817 glibcxx_cv_func_ldexpl_use=no
58818 fi
58819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58820       ac_ext=c
58821 ac_cpp='$CPP $CPPFLAGS'
58822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58825
58826
58827 fi
58828
58829   fi
58830   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58831 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58832
58833   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58834
58835 for ac_func in ldexpl
58836 do
58837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58838 echo "$as_me:$LINENO: checking for $ac_func" >&5
58839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58840 if eval "test \"\${$as_ac_var+set}\" = set"; then
58841   echo $ECHO_N "(cached) $ECHO_C" >&6
58842 else
58843   if test x$gcc_no_link = xyes; then
58844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58846    { (exit 1); exit 1; }; }
58847 fi
58848 cat >conftest.$ac_ext <<_ACEOF
58849 /* confdefs.h.  */
58850 _ACEOF
58851 cat confdefs.h >>conftest.$ac_ext
58852 cat >>conftest.$ac_ext <<_ACEOF
58853 /* end confdefs.h.  */
58854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58856 #define $ac_func innocuous_$ac_func
58857
58858 /* System header to define __stub macros and hopefully few prototypes,
58859     which can conflict with char $ac_func (); below.
58860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58861     <limits.h> exists even on freestanding compilers.  */
58862
58863 #ifdef __STDC__
58864 # include <limits.h>
58865 #else
58866 # include <assert.h>
58867 #endif
58868
58869 #undef $ac_func
58870
58871 /* Override any gcc2 internal prototype to avoid an error.  */
58872 #ifdef __cplusplus
58873 extern "C"
58874 {
58875 #endif
58876 /* We use char because int might match the return type of a gcc2
58877    builtin and then its argument prototype would still apply.  */
58878 char $ac_func ();
58879 /* The GNU C library defines this for functions which it implements
58880     to always fail with ENOSYS.  Some functions are actually named
58881     something starting with __ and the normal name is an alias.  */
58882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58883 choke me
58884 #else
58885 char (*f) () = $ac_func;
58886 #endif
58887 #ifdef __cplusplus
58888 }
58889 #endif
58890
58891 int
58892 main ()
58893 {
58894 return f != $ac_func;
58895   ;
58896   return 0;
58897 }
58898 _ACEOF
58899 rm -f conftest.$ac_objext conftest$ac_exeext
58900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58901   (eval $ac_link) 2>conftest.er1
58902   ac_status=$?
58903   grep -v '^ *+' conftest.er1 >conftest.err
58904   rm -f conftest.er1
58905   cat conftest.err >&5
58906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58907   (exit $ac_status); } &&
58908          { ac_try='test -z "$ac_c_werror_flag"
58909                          || test ! -s conftest.err'
58910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911   (eval $ac_try) 2>&5
58912   ac_status=$?
58913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914   (exit $ac_status); }; } &&
58915          { ac_try='test -s conftest$ac_exeext'
58916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917   (eval $ac_try) 2>&5
58918   ac_status=$?
58919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920   (exit $ac_status); }; }; then
58921   eval "$as_ac_var=yes"
58922 else
58923   echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58925
58926 eval "$as_ac_var=no"
58927 fi
58928 rm -f conftest.err conftest.$ac_objext \
58929       conftest$ac_exeext conftest.$ac_ext
58930 fi
58931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58933 if test `eval echo '${'$as_ac_var'}'` = yes; then
58934   cat >>confdefs.h <<_ACEOF
58935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58936 _ACEOF
58937
58938 fi
58939 done
58940
58941   else
58942
58943   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58944 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58945   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58946     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58947   echo $ECHO_N "(cached) $ECHO_C" >&6
58948 else
58949
58950
58951
58952       ac_ext=cc
58953 ac_cpp='$CXXCPP $CPPFLAGS'
58954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58957
58958       cat >conftest.$ac_ext <<_ACEOF
58959 /* confdefs.h.  */
58960 _ACEOF
58961 cat confdefs.h >>conftest.$ac_ext
58962 cat >>conftest.$ac_ext <<_ACEOF
58963 /* end confdefs.h.  */
58964 #include <math.h>
58965 int
58966 main ()
58967 {
58968  _ldexpl(0, 0);
58969   ;
58970   return 0;
58971 }
58972 _ACEOF
58973 rm -f conftest.$ac_objext
58974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58975   (eval $ac_compile) 2>conftest.er1
58976   ac_status=$?
58977   grep -v '^ *+' conftest.er1 >conftest.err
58978   rm -f conftest.er1
58979   cat conftest.err >&5
58980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58981   (exit $ac_status); } &&
58982          { ac_try='test -z "$ac_cxx_werror_flag"
58983                          || test ! -s conftest.err'
58984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58985   (eval $ac_try) 2>&5
58986   ac_status=$?
58987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58988   (exit $ac_status); }; } &&
58989          { ac_try='test -s conftest.$ac_objext'
58990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58991   (eval $ac_try) 2>&5
58992   ac_status=$?
58993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58994   (exit $ac_status); }; }; then
58995   glibcxx_cv_func__ldexpl_use=yes
58996 else
58997   echo "$as_me: failed program was:" >&5
58998 sed 's/^/| /' conftest.$ac_ext >&5
58999
59000 glibcxx_cv_func__ldexpl_use=no
59001 fi
59002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59003       ac_ext=c
59004 ac_cpp='$CPP $CPPFLAGS'
59005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59008
59009
59010 fi
59011
59012   fi
59013   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
59014 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
59015
59016     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59017
59018 for ac_func in _ldexpl
59019 do
59020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59021 echo "$as_me:$LINENO: checking for $ac_func" >&5
59022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59023 if eval "test \"\${$as_ac_var+set}\" = set"; then
59024   echo $ECHO_N "(cached) $ECHO_C" >&6
59025 else
59026   if test x$gcc_no_link = xyes; then
59027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59029    { (exit 1); exit 1; }; }
59030 fi
59031 cat >conftest.$ac_ext <<_ACEOF
59032 /* confdefs.h.  */
59033 _ACEOF
59034 cat confdefs.h >>conftest.$ac_ext
59035 cat >>conftest.$ac_ext <<_ACEOF
59036 /* end confdefs.h.  */
59037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59039 #define $ac_func innocuous_$ac_func
59040
59041 /* System header to define __stub macros and hopefully few prototypes,
59042     which can conflict with char $ac_func (); below.
59043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59044     <limits.h> exists even on freestanding compilers.  */
59045
59046 #ifdef __STDC__
59047 # include <limits.h>
59048 #else
59049 # include <assert.h>
59050 #endif
59051
59052 #undef $ac_func
59053
59054 /* Override any gcc2 internal prototype to avoid an error.  */
59055 #ifdef __cplusplus
59056 extern "C"
59057 {
59058 #endif
59059 /* We use char because int might match the return type of a gcc2
59060    builtin and then its argument prototype would still apply.  */
59061 char $ac_func ();
59062 /* The GNU C library defines this for functions which it implements
59063     to always fail with ENOSYS.  Some functions are actually named
59064     something starting with __ and the normal name is an alias.  */
59065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59066 choke me
59067 #else
59068 char (*f) () = $ac_func;
59069 #endif
59070 #ifdef __cplusplus
59071 }
59072 #endif
59073
59074 int
59075 main ()
59076 {
59077 return f != $ac_func;
59078   ;
59079   return 0;
59080 }
59081 _ACEOF
59082 rm -f conftest.$ac_objext conftest$ac_exeext
59083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59084   (eval $ac_link) 2>conftest.er1
59085   ac_status=$?
59086   grep -v '^ *+' conftest.er1 >conftest.err
59087   rm -f conftest.er1
59088   cat conftest.err >&5
59089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59090   (exit $ac_status); } &&
59091          { ac_try='test -z "$ac_c_werror_flag"
59092                          || test ! -s conftest.err'
59093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59094   (eval $ac_try) 2>&5
59095   ac_status=$?
59096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59097   (exit $ac_status); }; } &&
59098          { ac_try='test -s conftest$ac_exeext'
59099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59100   (eval $ac_try) 2>&5
59101   ac_status=$?
59102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103   (exit $ac_status); }; }; then
59104   eval "$as_ac_var=yes"
59105 else
59106   echo "$as_me: failed program was:" >&5
59107 sed 's/^/| /' conftest.$ac_ext >&5
59108
59109 eval "$as_ac_var=no"
59110 fi
59111 rm -f conftest.err conftest.$ac_objext \
59112       conftest$ac_exeext conftest.$ac_ext
59113 fi
59114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59116 if test `eval echo '${'$as_ac_var'}'` = yes; then
59117   cat >>confdefs.h <<_ACEOF
59118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59119 _ACEOF
59120
59121 fi
59122 done
59123
59124     fi
59125   fi
59126
59127
59128
59129
59130
59131
59132   echo "$as_me:$LINENO: checking for logl declaration" >&5
59133 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
59134   if test x${glibcxx_cv_func_logl_use+set} != xset; then
59135     if test "${glibcxx_cv_func_logl_use+set}" = set; then
59136   echo $ECHO_N "(cached) $ECHO_C" >&6
59137 else
59138
59139
59140
59141       ac_ext=cc
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59146
59147       cat >conftest.$ac_ext <<_ACEOF
59148 /* confdefs.h.  */
59149 _ACEOF
59150 cat confdefs.h >>conftest.$ac_ext
59151 cat >>conftest.$ac_ext <<_ACEOF
59152 /* end confdefs.h.  */
59153 #include <math.h>
59154                       #ifdef HAVE_IEEEFP_H
59155                       #include <ieeefp.h>
59156                       #endif
59157
59158 int
59159 main ()
59160 {
59161  logl(0);
59162   ;
59163   return 0;
59164 }
59165 _ACEOF
59166 rm -f conftest.$ac_objext
59167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59168   (eval $ac_compile) 2>conftest.er1
59169   ac_status=$?
59170   grep -v '^ *+' conftest.er1 >conftest.err
59171   rm -f conftest.er1
59172   cat conftest.err >&5
59173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59174   (exit $ac_status); } &&
59175          { ac_try='test -z "$ac_cxx_werror_flag"
59176                          || test ! -s conftest.err'
59177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59178   (eval $ac_try) 2>&5
59179   ac_status=$?
59180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59181   (exit $ac_status); }; } &&
59182          { ac_try='test -s conftest.$ac_objext'
59183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59184   (eval $ac_try) 2>&5
59185   ac_status=$?
59186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59187   (exit $ac_status); }; }; then
59188   glibcxx_cv_func_logl_use=yes
59189 else
59190   echo "$as_me: failed program was:" >&5
59191 sed 's/^/| /' conftest.$ac_ext >&5
59192
59193 glibcxx_cv_func_logl_use=no
59194 fi
59195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59196       ac_ext=c
59197 ac_cpp='$CPP $CPPFLAGS'
59198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59201
59202
59203 fi
59204
59205   fi
59206   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
59207 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
59208
59209   if test x$glibcxx_cv_func_logl_use = x"yes"; then
59210
59211 for ac_func in logl
59212 do
59213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59214 echo "$as_me:$LINENO: checking for $ac_func" >&5
59215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59216 if eval "test \"\${$as_ac_var+set}\" = set"; then
59217   echo $ECHO_N "(cached) $ECHO_C" >&6
59218 else
59219   if test x$gcc_no_link = xyes; then
59220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59222    { (exit 1); exit 1; }; }
59223 fi
59224 cat >conftest.$ac_ext <<_ACEOF
59225 /* confdefs.h.  */
59226 _ACEOF
59227 cat confdefs.h >>conftest.$ac_ext
59228 cat >>conftest.$ac_ext <<_ACEOF
59229 /* end confdefs.h.  */
59230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59231    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59232 #define $ac_func innocuous_$ac_func
59233
59234 /* System header to define __stub macros and hopefully few prototypes,
59235     which can conflict with char $ac_func (); below.
59236     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59237     <limits.h> exists even on freestanding compilers.  */
59238
59239 #ifdef __STDC__
59240 # include <limits.h>
59241 #else
59242 # include <assert.h>
59243 #endif
59244
59245 #undef $ac_func
59246
59247 /* Override any gcc2 internal prototype to avoid an error.  */
59248 #ifdef __cplusplus
59249 extern "C"
59250 {
59251 #endif
59252 /* We use char because int might match the return type of a gcc2
59253    builtin and then its argument prototype would still apply.  */
59254 char $ac_func ();
59255 /* The GNU C library defines this for functions which it implements
59256     to always fail with ENOSYS.  Some functions are actually named
59257     something starting with __ and the normal name is an alias.  */
59258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59259 choke me
59260 #else
59261 char (*f) () = $ac_func;
59262 #endif
59263 #ifdef __cplusplus
59264 }
59265 #endif
59266
59267 int
59268 main ()
59269 {
59270 return f != $ac_func;
59271   ;
59272   return 0;
59273 }
59274 _ACEOF
59275 rm -f conftest.$ac_objext conftest$ac_exeext
59276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59277   (eval $ac_link) 2>conftest.er1
59278   ac_status=$?
59279   grep -v '^ *+' conftest.er1 >conftest.err
59280   rm -f conftest.er1
59281   cat conftest.err >&5
59282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59283   (exit $ac_status); } &&
59284          { ac_try='test -z "$ac_c_werror_flag"
59285                          || test ! -s conftest.err'
59286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59287   (eval $ac_try) 2>&5
59288   ac_status=$?
59289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59290   (exit $ac_status); }; } &&
59291          { ac_try='test -s conftest$ac_exeext'
59292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59293   (eval $ac_try) 2>&5
59294   ac_status=$?
59295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59296   (exit $ac_status); }; }; then
59297   eval "$as_ac_var=yes"
59298 else
59299   echo "$as_me: failed program was:" >&5
59300 sed 's/^/| /' conftest.$ac_ext >&5
59301
59302 eval "$as_ac_var=no"
59303 fi
59304 rm -f conftest.err conftest.$ac_objext \
59305       conftest$ac_exeext conftest.$ac_ext
59306 fi
59307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59309 if test `eval echo '${'$as_ac_var'}'` = yes; then
59310   cat >>confdefs.h <<_ACEOF
59311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59312 _ACEOF
59313
59314 fi
59315 done
59316
59317   else
59318
59319   echo "$as_me:$LINENO: checking for _logl declaration" >&5
59320 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
59321   if test x${glibcxx_cv_func__logl_use+set} != xset; then
59322     if test "${glibcxx_cv_func__logl_use+set}" = set; then
59323   echo $ECHO_N "(cached) $ECHO_C" >&6
59324 else
59325
59326
59327
59328       ac_ext=cc
59329 ac_cpp='$CXXCPP $CPPFLAGS'
59330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59333
59334       cat >conftest.$ac_ext <<_ACEOF
59335 /* confdefs.h.  */
59336 _ACEOF
59337 cat confdefs.h >>conftest.$ac_ext
59338 cat >>conftest.$ac_ext <<_ACEOF
59339 /* end confdefs.h.  */
59340 #include <math.h>
59341                       #ifdef HAVE_IEEEFP_H
59342                       #include <ieeefp.h>
59343                       #endif
59344
59345 int
59346 main ()
59347 {
59348  _logl(0);
59349   ;
59350   return 0;
59351 }
59352 _ACEOF
59353 rm -f conftest.$ac_objext
59354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59355   (eval $ac_compile) 2>conftest.er1
59356   ac_status=$?
59357   grep -v '^ *+' conftest.er1 >conftest.err
59358   rm -f conftest.er1
59359   cat conftest.err >&5
59360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59361   (exit $ac_status); } &&
59362          { ac_try='test -z "$ac_cxx_werror_flag"
59363                          || test ! -s conftest.err'
59364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59365   (eval $ac_try) 2>&5
59366   ac_status=$?
59367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59368   (exit $ac_status); }; } &&
59369          { ac_try='test -s conftest.$ac_objext'
59370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59371   (eval $ac_try) 2>&5
59372   ac_status=$?
59373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59374   (exit $ac_status); }; }; then
59375   glibcxx_cv_func__logl_use=yes
59376 else
59377   echo "$as_me: failed program was:" >&5
59378 sed 's/^/| /' conftest.$ac_ext >&5
59379
59380 glibcxx_cv_func__logl_use=no
59381 fi
59382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59383       ac_ext=c
59384 ac_cpp='$CPP $CPPFLAGS'
59385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59388
59389
59390 fi
59391
59392   fi
59393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
59394 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
59395
59396     if test x$glibcxx_cv_func__logl_use = x"yes"; then
59397
59398 for ac_func in _logl
59399 do
59400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59401 echo "$as_me:$LINENO: checking for $ac_func" >&5
59402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59403 if eval "test \"\${$as_ac_var+set}\" = set"; then
59404   echo $ECHO_N "(cached) $ECHO_C" >&6
59405 else
59406   if test x$gcc_no_link = xyes; then
59407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59409    { (exit 1); exit 1; }; }
59410 fi
59411 cat >conftest.$ac_ext <<_ACEOF
59412 /* confdefs.h.  */
59413 _ACEOF
59414 cat confdefs.h >>conftest.$ac_ext
59415 cat >>conftest.$ac_ext <<_ACEOF
59416 /* end confdefs.h.  */
59417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59419 #define $ac_func innocuous_$ac_func
59420
59421 /* System header to define __stub macros and hopefully few prototypes,
59422     which can conflict with char $ac_func (); below.
59423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59424     <limits.h> exists even on freestanding compilers.  */
59425
59426 #ifdef __STDC__
59427 # include <limits.h>
59428 #else
59429 # include <assert.h>
59430 #endif
59431
59432 #undef $ac_func
59433
59434 /* Override any gcc2 internal prototype to avoid an error.  */
59435 #ifdef __cplusplus
59436 extern "C"
59437 {
59438 #endif
59439 /* We use char because int might match the return type of a gcc2
59440    builtin and then its argument prototype would still apply.  */
59441 char $ac_func ();
59442 /* The GNU C library defines this for functions which it implements
59443     to always fail with ENOSYS.  Some functions are actually named
59444     something starting with __ and the normal name is an alias.  */
59445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59446 choke me
59447 #else
59448 char (*f) () = $ac_func;
59449 #endif
59450 #ifdef __cplusplus
59451 }
59452 #endif
59453
59454 int
59455 main ()
59456 {
59457 return f != $ac_func;
59458   ;
59459   return 0;
59460 }
59461 _ACEOF
59462 rm -f conftest.$ac_objext conftest$ac_exeext
59463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59464   (eval $ac_link) 2>conftest.er1
59465   ac_status=$?
59466   grep -v '^ *+' conftest.er1 >conftest.err
59467   rm -f conftest.er1
59468   cat conftest.err >&5
59469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59470   (exit $ac_status); } &&
59471          { ac_try='test -z "$ac_c_werror_flag"
59472                          || test ! -s conftest.err'
59473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59474   (eval $ac_try) 2>&5
59475   ac_status=$?
59476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59477   (exit $ac_status); }; } &&
59478          { ac_try='test -s conftest$ac_exeext'
59479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59480   (eval $ac_try) 2>&5
59481   ac_status=$?
59482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59483   (exit $ac_status); }; }; then
59484   eval "$as_ac_var=yes"
59485 else
59486   echo "$as_me: failed program was:" >&5
59487 sed 's/^/| /' conftest.$ac_ext >&5
59488
59489 eval "$as_ac_var=no"
59490 fi
59491 rm -f conftest.err conftest.$ac_objext \
59492       conftest$ac_exeext conftest.$ac_ext
59493 fi
59494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59496 if test `eval echo '${'$as_ac_var'}'` = yes; then
59497   cat >>confdefs.h <<_ACEOF
59498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59499 _ACEOF
59500
59501 fi
59502 done
59503
59504     fi
59505   fi
59506
59507
59508
59509
59510
59511
59512   echo "$as_me:$LINENO: checking for log10l declaration" >&5
59513 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
59514   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59515     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
59516   echo $ECHO_N "(cached) $ECHO_C" >&6
59517 else
59518
59519
59520
59521       ac_ext=cc
59522 ac_cpp='$CXXCPP $CPPFLAGS'
59523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59526
59527       cat >conftest.$ac_ext <<_ACEOF
59528 /* confdefs.h.  */
59529 _ACEOF
59530 cat confdefs.h >>conftest.$ac_ext
59531 cat >>conftest.$ac_ext <<_ACEOF
59532 /* end confdefs.h.  */
59533 #include <math.h>
59534                       #ifdef HAVE_IEEEFP_H
59535                       #include <ieeefp.h>
59536                       #endif
59537
59538 int
59539 main ()
59540 {
59541  log10l(0);
59542   ;
59543   return 0;
59544 }
59545 _ACEOF
59546 rm -f conftest.$ac_objext
59547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59548   (eval $ac_compile) 2>conftest.er1
59549   ac_status=$?
59550   grep -v '^ *+' conftest.er1 >conftest.err
59551   rm -f conftest.er1
59552   cat conftest.err >&5
59553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59554   (exit $ac_status); } &&
59555          { ac_try='test -z "$ac_cxx_werror_flag"
59556                          || test ! -s conftest.err'
59557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59558   (eval $ac_try) 2>&5
59559   ac_status=$?
59560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59561   (exit $ac_status); }; } &&
59562          { ac_try='test -s conftest.$ac_objext'
59563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59564   (eval $ac_try) 2>&5
59565   ac_status=$?
59566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567   (exit $ac_status); }; }; then
59568   glibcxx_cv_func_log10l_use=yes
59569 else
59570   echo "$as_me: failed program was:" >&5
59571 sed 's/^/| /' conftest.$ac_ext >&5
59572
59573 glibcxx_cv_func_log10l_use=no
59574 fi
59575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59576       ac_ext=c
59577 ac_cpp='$CPP $CPPFLAGS'
59578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59581
59582
59583 fi
59584
59585   fi
59586   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
59587 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
59588
59589   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59590
59591 for ac_func in log10l
59592 do
59593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59594 echo "$as_me:$LINENO: checking for $ac_func" >&5
59595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59596 if eval "test \"\${$as_ac_var+set}\" = set"; then
59597   echo $ECHO_N "(cached) $ECHO_C" >&6
59598 else
59599   if test x$gcc_no_link = xyes; then
59600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59602    { (exit 1); exit 1; }; }
59603 fi
59604 cat >conftest.$ac_ext <<_ACEOF
59605 /* confdefs.h.  */
59606 _ACEOF
59607 cat confdefs.h >>conftest.$ac_ext
59608 cat >>conftest.$ac_ext <<_ACEOF
59609 /* end confdefs.h.  */
59610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59612 #define $ac_func innocuous_$ac_func
59613
59614 /* System header to define __stub macros and hopefully few prototypes,
59615     which can conflict with char $ac_func (); below.
59616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59617     <limits.h> exists even on freestanding compilers.  */
59618
59619 #ifdef __STDC__
59620 # include <limits.h>
59621 #else
59622 # include <assert.h>
59623 #endif
59624
59625 #undef $ac_func
59626
59627 /* Override any gcc2 internal prototype to avoid an error.  */
59628 #ifdef __cplusplus
59629 extern "C"
59630 {
59631 #endif
59632 /* We use char because int might match the return type of a gcc2
59633    builtin and then its argument prototype would still apply.  */
59634 char $ac_func ();
59635 /* The GNU C library defines this for functions which it implements
59636     to always fail with ENOSYS.  Some functions are actually named
59637     something starting with __ and the normal name is an alias.  */
59638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59639 choke me
59640 #else
59641 char (*f) () = $ac_func;
59642 #endif
59643 #ifdef __cplusplus
59644 }
59645 #endif
59646
59647 int
59648 main ()
59649 {
59650 return f != $ac_func;
59651   ;
59652   return 0;
59653 }
59654 _ACEOF
59655 rm -f conftest.$ac_objext conftest$ac_exeext
59656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59657   (eval $ac_link) 2>conftest.er1
59658   ac_status=$?
59659   grep -v '^ *+' conftest.er1 >conftest.err
59660   rm -f conftest.er1
59661   cat conftest.err >&5
59662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59663   (exit $ac_status); } &&
59664          { ac_try='test -z "$ac_c_werror_flag"
59665                          || test ! -s conftest.err'
59666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59667   (eval $ac_try) 2>&5
59668   ac_status=$?
59669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59670   (exit $ac_status); }; } &&
59671          { ac_try='test -s conftest$ac_exeext'
59672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59673   (eval $ac_try) 2>&5
59674   ac_status=$?
59675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676   (exit $ac_status); }; }; then
59677   eval "$as_ac_var=yes"
59678 else
59679   echo "$as_me: failed program was:" >&5
59680 sed 's/^/| /' conftest.$ac_ext >&5
59681
59682 eval "$as_ac_var=no"
59683 fi
59684 rm -f conftest.err conftest.$ac_objext \
59685       conftest$ac_exeext conftest.$ac_ext
59686 fi
59687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59689 if test `eval echo '${'$as_ac_var'}'` = yes; then
59690   cat >>confdefs.h <<_ACEOF
59691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59692 _ACEOF
59693
59694 fi
59695 done
59696
59697   else
59698
59699   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59700 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59701   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59702     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59703   echo $ECHO_N "(cached) $ECHO_C" >&6
59704 else
59705
59706
59707
59708       ac_ext=cc
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59713
59714       cat >conftest.$ac_ext <<_ACEOF
59715 /* confdefs.h.  */
59716 _ACEOF
59717 cat confdefs.h >>conftest.$ac_ext
59718 cat >>conftest.$ac_ext <<_ACEOF
59719 /* end confdefs.h.  */
59720 #include <math.h>
59721                       #ifdef HAVE_IEEEFP_H
59722                       #include <ieeefp.h>
59723                       #endif
59724
59725 int
59726 main ()
59727 {
59728  _log10l(0);
59729   ;
59730   return 0;
59731 }
59732 _ACEOF
59733 rm -f conftest.$ac_objext
59734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59735   (eval $ac_compile) 2>conftest.er1
59736   ac_status=$?
59737   grep -v '^ *+' conftest.er1 >conftest.err
59738   rm -f conftest.er1
59739   cat conftest.err >&5
59740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59741   (exit $ac_status); } &&
59742          { ac_try='test -z "$ac_cxx_werror_flag"
59743                          || test ! -s conftest.err'
59744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59745   (eval $ac_try) 2>&5
59746   ac_status=$?
59747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59748   (exit $ac_status); }; } &&
59749          { ac_try='test -s conftest.$ac_objext'
59750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59751   (eval $ac_try) 2>&5
59752   ac_status=$?
59753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59754   (exit $ac_status); }; }; then
59755   glibcxx_cv_func__log10l_use=yes
59756 else
59757   echo "$as_me: failed program was:" >&5
59758 sed 's/^/| /' conftest.$ac_ext >&5
59759
59760 glibcxx_cv_func__log10l_use=no
59761 fi
59762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59763       ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768
59769
59770 fi
59771
59772   fi
59773   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59774 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59775
59776     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59777
59778 for ac_func in _log10l
59779 do
59780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59781 echo "$as_me:$LINENO: checking for $ac_func" >&5
59782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59783 if eval "test \"\${$as_ac_var+set}\" = set"; then
59784   echo $ECHO_N "(cached) $ECHO_C" >&6
59785 else
59786   if test x$gcc_no_link = xyes; then
59787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59789    { (exit 1); exit 1; }; }
59790 fi
59791 cat >conftest.$ac_ext <<_ACEOF
59792 /* confdefs.h.  */
59793 _ACEOF
59794 cat confdefs.h >>conftest.$ac_ext
59795 cat >>conftest.$ac_ext <<_ACEOF
59796 /* end confdefs.h.  */
59797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59799 #define $ac_func innocuous_$ac_func
59800
59801 /* System header to define __stub macros and hopefully few prototypes,
59802     which can conflict with char $ac_func (); below.
59803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59804     <limits.h> exists even on freestanding compilers.  */
59805
59806 #ifdef __STDC__
59807 # include <limits.h>
59808 #else
59809 # include <assert.h>
59810 #endif
59811
59812 #undef $ac_func
59813
59814 /* Override any gcc2 internal prototype to avoid an error.  */
59815 #ifdef __cplusplus
59816 extern "C"
59817 {
59818 #endif
59819 /* We use char because int might match the return type of a gcc2
59820    builtin and then its argument prototype would still apply.  */
59821 char $ac_func ();
59822 /* The GNU C library defines this for functions which it implements
59823     to always fail with ENOSYS.  Some functions are actually named
59824     something starting with __ and the normal name is an alias.  */
59825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59826 choke me
59827 #else
59828 char (*f) () = $ac_func;
59829 #endif
59830 #ifdef __cplusplus
59831 }
59832 #endif
59833
59834 int
59835 main ()
59836 {
59837 return f != $ac_func;
59838   ;
59839   return 0;
59840 }
59841 _ACEOF
59842 rm -f conftest.$ac_objext conftest$ac_exeext
59843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59844   (eval $ac_link) 2>conftest.er1
59845   ac_status=$?
59846   grep -v '^ *+' conftest.er1 >conftest.err
59847   rm -f conftest.er1
59848   cat conftest.err >&5
59849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59850   (exit $ac_status); } &&
59851          { ac_try='test -z "$ac_c_werror_flag"
59852                          || test ! -s conftest.err'
59853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59854   (eval $ac_try) 2>&5
59855   ac_status=$?
59856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59857   (exit $ac_status); }; } &&
59858          { ac_try='test -s conftest$ac_exeext'
59859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59860   (eval $ac_try) 2>&5
59861   ac_status=$?
59862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59863   (exit $ac_status); }; }; then
59864   eval "$as_ac_var=yes"
59865 else
59866   echo "$as_me: failed program was:" >&5
59867 sed 's/^/| /' conftest.$ac_ext >&5
59868
59869 eval "$as_ac_var=no"
59870 fi
59871 rm -f conftest.err conftest.$ac_objext \
59872       conftest$ac_exeext conftest.$ac_ext
59873 fi
59874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59876 if test `eval echo '${'$as_ac_var'}'` = yes; then
59877   cat >>confdefs.h <<_ACEOF
59878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59879 _ACEOF
59880
59881 fi
59882 done
59883
59884     fi
59885   fi
59886
59887
59888
59889
59890
59891
59892   echo "$as_me:$LINENO: checking for modfl declaration" >&5
59893 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59894   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59895     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59896   echo $ECHO_N "(cached) $ECHO_C" >&6
59897 else
59898
59899
59900
59901       ac_ext=cc
59902 ac_cpp='$CXXCPP $CPPFLAGS'
59903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59906
59907       cat >conftest.$ac_ext <<_ACEOF
59908 /* confdefs.h.  */
59909 _ACEOF
59910 cat confdefs.h >>conftest.$ac_ext
59911 cat >>conftest.$ac_ext <<_ACEOF
59912 /* end confdefs.h.  */
59913 #include <math.h>
59914 int
59915 main ()
59916 {
59917  modfl(0, 0);
59918   ;
59919   return 0;
59920 }
59921 _ACEOF
59922 rm -f conftest.$ac_objext
59923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59924   (eval $ac_compile) 2>conftest.er1
59925   ac_status=$?
59926   grep -v '^ *+' conftest.er1 >conftest.err
59927   rm -f conftest.er1
59928   cat conftest.err >&5
59929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59930   (exit $ac_status); } &&
59931          { ac_try='test -z "$ac_cxx_werror_flag"
59932                          || test ! -s conftest.err'
59933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59934   (eval $ac_try) 2>&5
59935   ac_status=$?
59936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59937   (exit $ac_status); }; } &&
59938          { ac_try='test -s conftest.$ac_objext'
59939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59940   (eval $ac_try) 2>&5
59941   ac_status=$?
59942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59943   (exit $ac_status); }; }; then
59944   glibcxx_cv_func_modfl_use=yes
59945 else
59946   echo "$as_me: failed program was:" >&5
59947 sed 's/^/| /' conftest.$ac_ext >&5
59948
59949 glibcxx_cv_func_modfl_use=no
59950 fi
59951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59952       ac_ext=c
59953 ac_cpp='$CPP $CPPFLAGS'
59954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59957
59958
59959 fi
59960
59961   fi
59962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59963 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59964
59965   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59966
59967 for ac_func in modfl
59968 do
59969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59970 echo "$as_me:$LINENO: checking for $ac_func" >&5
59971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59972 if eval "test \"\${$as_ac_var+set}\" = set"; then
59973   echo $ECHO_N "(cached) $ECHO_C" >&6
59974 else
59975   if test x$gcc_no_link = xyes; then
59976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59978    { (exit 1); exit 1; }; }
59979 fi
59980 cat >conftest.$ac_ext <<_ACEOF
59981 /* confdefs.h.  */
59982 _ACEOF
59983 cat confdefs.h >>conftest.$ac_ext
59984 cat >>conftest.$ac_ext <<_ACEOF
59985 /* end confdefs.h.  */
59986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59988 #define $ac_func innocuous_$ac_func
59989
59990 /* System header to define __stub macros and hopefully few prototypes,
59991     which can conflict with char $ac_func (); below.
59992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59993     <limits.h> exists even on freestanding compilers.  */
59994
59995 #ifdef __STDC__
59996 # include <limits.h>
59997 #else
59998 # include <assert.h>
59999 #endif
60000
60001 #undef $ac_func
60002
60003 /* Override any gcc2 internal prototype to avoid an error.  */
60004 #ifdef __cplusplus
60005 extern "C"
60006 {
60007 #endif
60008 /* We use char because int might match the return type of a gcc2
60009    builtin and then its argument prototype would still apply.  */
60010 char $ac_func ();
60011 /* The GNU C library defines this for functions which it implements
60012     to always fail with ENOSYS.  Some functions are actually named
60013     something starting with __ and the normal name is an alias.  */
60014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60015 choke me
60016 #else
60017 char (*f) () = $ac_func;
60018 #endif
60019 #ifdef __cplusplus
60020 }
60021 #endif
60022
60023 int
60024 main ()
60025 {
60026 return f != $ac_func;
60027   ;
60028   return 0;
60029 }
60030 _ACEOF
60031 rm -f conftest.$ac_objext conftest$ac_exeext
60032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60033   (eval $ac_link) 2>conftest.er1
60034   ac_status=$?
60035   grep -v '^ *+' conftest.er1 >conftest.err
60036   rm -f conftest.er1
60037   cat conftest.err >&5
60038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60039   (exit $ac_status); } &&
60040          { ac_try='test -z "$ac_c_werror_flag"
60041                          || test ! -s conftest.err'
60042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60043   (eval $ac_try) 2>&5
60044   ac_status=$?
60045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60046   (exit $ac_status); }; } &&
60047          { ac_try='test -s conftest$ac_exeext'
60048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60049   (eval $ac_try) 2>&5
60050   ac_status=$?
60051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60052   (exit $ac_status); }; }; then
60053   eval "$as_ac_var=yes"
60054 else
60055   echo "$as_me: failed program was:" >&5
60056 sed 's/^/| /' conftest.$ac_ext >&5
60057
60058 eval "$as_ac_var=no"
60059 fi
60060 rm -f conftest.err conftest.$ac_objext \
60061       conftest$ac_exeext conftest.$ac_ext
60062 fi
60063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60065 if test `eval echo '${'$as_ac_var'}'` = yes; then
60066   cat >>confdefs.h <<_ACEOF
60067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60068 _ACEOF
60069
60070 fi
60071 done
60072
60073   else
60074
60075   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
60076 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
60077   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
60078     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
60079   echo $ECHO_N "(cached) $ECHO_C" >&6
60080 else
60081
60082
60083
60084       ac_ext=cc
60085 ac_cpp='$CXXCPP $CPPFLAGS'
60086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60089
60090       cat >conftest.$ac_ext <<_ACEOF
60091 /* confdefs.h.  */
60092 _ACEOF
60093 cat confdefs.h >>conftest.$ac_ext
60094 cat >>conftest.$ac_ext <<_ACEOF
60095 /* end confdefs.h.  */
60096 #include <math.h>
60097 int
60098 main ()
60099 {
60100  _modfl(0, 0);
60101   ;
60102   return 0;
60103 }
60104 _ACEOF
60105 rm -f conftest.$ac_objext
60106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60107   (eval $ac_compile) 2>conftest.er1
60108   ac_status=$?
60109   grep -v '^ *+' conftest.er1 >conftest.err
60110   rm -f conftest.er1
60111   cat conftest.err >&5
60112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60113   (exit $ac_status); } &&
60114          { ac_try='test -z "$ac_cxx_werror_flag"
60115                          || test ! -s conftest.err'
60116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60117   (eval $ac_try) 2>&5
60118   ac_status=$?
60119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60120   (exit $ac_status); }; } &&
60121          { ac_try='test -s conftest.$ac_objext'
60122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60123   (eval $ac_try) 2>&5
60124   ac_status=$?
60125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60126   (exit $ac_status); }; }; then
60127   glibcxx_cv_func__modfl_use=yes
60128 else
60129   echo "$as_me: failed program was:" >&5
60130 sed 's/^/| /' conftest.$ac_ext >&5
60131
60132 glibcxx_cv_func__modfl_use=no
60133 fi
60134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60135       ac_ext=c
60136 ac_cpp='$CPP $CPPFLAGS'
60137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60140
60141
60142 fi
60143
60144   fi
60145   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
60146 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
60147
60148     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60149
60150 for ac_func in _modfl
60151 do
60152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60153 echo "$as_me:$LINENO: checking for $ac_func" >&5
60154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60155 if eval "test \"\${$as_ac_var+set}\" = set"; then
60156   echo $ECHO_N "(cached) $ECHO_C" >&6
60157 else
60158   if test x$gcc_no_link = xyes; then
60159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60161    { (exit 1); exit 1; }; }
60162 fi
60163 cat >conftest.$ac_ext <<_ACEOF
60164 /* confdefs.h.  */
60165 _ACEOF
60166 cat confdefs.h >>conftest.$ac_ext
60167 cat >>conftest.$ac_ext <<_ACEOF
60168 /* end confdefs.h.  */
60169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60171 #define $ac_func innocuous_$ac_func
60172
60173 /* System header to define __stub macros and hopefully few prototypes,
60174     which can conflict with char $ac_func (); below.
60175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60176     <limits.h> exists even on freestanding compilers.  */
60177
60178 #ifdef __STDC__
60179 # include <limits.h>
60180 #else
60181 # include <assert.h>
60182 #endif
60183
60184 #undef $ac_func
60185
60186 /* Override any gcc2 internal prototype to avoid an error.  */
60187 #ifdef __cplusplus
60188 extern "C"
60189 {
60190 #endif
60191 /* We use char because int might match the return type of a gcc2
60192    builtin and then its argument prototype would still apply.  */
60193 char $ac_func ();
60194 /* The GNU C library defines this for functions which it implements
60195     to always fail with ENOSYS.  Some functions are actually named
60196     something starting with __ and the normal name is an alias.  */
60197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60198 choke me
60199 #else
60200 char (*f) () = $ac_func;
60201 #endif
60202 #ifdef __cplusplus
60203 }
60204 #endif
60205
60206 int
60207 main ()
60208 {
60209 return f != $ac_func;
60210   ;
60211   return 0;
60212 }
60213 _ACEOF
60214 rm -f conftest.$ac_objext conftest$ac_exeext
60215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60216   (eval $ac_link) 2>conftest.er1
60217   ac_status=$?
60218   grep -v '^ *+' conftest.er1 >conftest.err
60219   rm -f conftest.er1
60220   cat conftest.err >&5
60221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60222   (exit $ac_status); } &&
60223          { ac_try='test -z "$ac_c_werror_flag"
60224                          || test ! -s conftest.err'
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); }; } &&
60230          { ac_try='test -s conftest$ac_exeext'
60231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60232   (eval $ac_try) 2>&5
60233   ac_status=$?
60234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60235   (exit $ac_status); }; }; then
60236   eval "$as_ac_var=yes"
60237 else
60238   echo "$as_me: failed program was:" >&5
60239 sed 's/^/| /' conftest.$ac_ext >&5
60240
60241 eval "$as_ac_var=no"
60242 fi
60243 rm -f conftest.err conftest.$ac_objext \
60244       conftest$ac_exeext conftest.$ac_ext
60245 fi
60246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60248 if test `eval echo '${'$as_ac_var'}'` = yes; then
60249   cat >>confdefs.h <<_ACEOF
60250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60251 _ACEOF
60252
60253 fi
60254 done
60255
60256     fi
60257   fi
60258
60259
60260
60261
60262
60263
60264   echo "$as_me:$LINENO: checking for powl declaration" >&5
60265 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
60266   if test x${glibcxx_cv_func_powl_use+set} != xset; then
60267     if test "${glibcxx_cv_func_powl_use+set}" = set; then
60268   echo $ECHO_N "(cached) $ECHO_C" >&6
60269 else
60270
60271
60272
60273       ac_ext=cc
60274 ac_cpp='$CXXCPP $CPPFLAGS'
60275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60278
60279       cat >conftest.$ac_ext <<_ACEOF
60280 /* confdefs.h.  */
60281 _ACEOF
60282 cat confdefs.h >>conftest.$ac_ext
60283 cat >>conftest.$ac_ext <<_ACEOF
60284 /* end confdefs.h.  */
60285 #include <math.h>
60286 int
60287 main ()
60288 {
60289  powl(0, 0);
60290   ;
60291   return 0;
60292 }
60293 _ACEOF
60294 rm -f conftest.$ac_objext
60295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60296   (eval $ac_compile) 2>conftest.er1
60297   ac_status=$?
60298   grep -v '^ *+' conftest.er1 >conftest.err
60299   rm -f conftest.er1
60300   cat conftest.err >&5
60301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60302   (exit $ac_status); } &&
60303          { ac_try='test -z "$ac_cxx_werror_flag"
60304                          || test ! -s conftest.err'
60305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60306   (eval $ac_try) 2>&5
60307   ac_status=$?
60308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60309   (exit $ac_status); }; } &&
60310          { ac_try='test -s conftest.$ac_objext'
60311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60312   (eval $ac_try) 2>&5
60313   ac_status=$?
60314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60315   (exit $ac_status); }; }; then
60316   glibcxx_cv_func_powl_use=yes
60317 else
60318   echo "$as_me: failed program was:" >&5
60319 sed 's/^/| /' conftest.$ac_ext >&5
60320
60321 glibcxx_cv_func_powl_use=no
60322 fi
60323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60324       ac_ext=c
60325 ac_cpp='$CPP $CPPFLAGS'
60326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60329
60330
60331 fi
60332
60333   fi
60334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
60335 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
60336
60337   if test x$glibcxx_cv_func_powl_use = x"yes"; then
60338
60339 for ac_func in powl
60340 do
60341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60342 echo "$as_me:$LINENO: checking for $ac_func" >&5
60343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60344 if eval "test \"\${$as_ac_var+set}\" = set"; then
60345   echo $ECHO_N "(cached) $ECHO_C" >&6
60346 else
60347   if test x$gcc_no_link = xyes; then
60348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60350    { (exit 1); exit 1; }; }
60351 fi
60352 cat >conftest.$ac_ext <<_ACEOF
60353 /* confdefs.h.  */
60354 _ACEOF
60355 cat confdefs.h >>conftest.$ac_ext
60356 cat >>conftest.$ac_ext <<_ACEOF
60357 /* end confdefs.h.  */
60358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60360 #define $ac_func innocuous_$ac_func
60361
60362 /* System header to define __stub macros and hopefully few prototypes,
60363     which can conflict with char $ac_func (); below.
60364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60365     <limits.h> exists even on freestanding compilers.  */
60366
60367 #ifdef __STDC__
60368 # include <limits.h>
60369 #else
60370 # include <assert.h>
60371 #endif
60372
60373 #undef $ac_func
60374
60375 /* Override any gcc2 internal prototype to avoid an error.  */
60376 #ifdef __cplusplus
60377 extern "C"
60378 {
60379 #endif
60380 /* We use char because int might match the return type of a gcc2
60381    builtin and then its argument prototype would still apply.  */
60382 char $ac_func ();
60383 /* The GNU C library defines this for functions which it implements
60384     to always fail with ENOSYS.  Some functions are actually named
60385     something starting with __ and the normal name is an alias.  */
60386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60387 choke me
60388 #else
60389 char (*f) () = $ac_func;
60390 #endif
60391 #ifdef __cplusplus
60392 }
60393 #endif
60394
60395 int
60396 main ()
60397 {
60398 return f != $ac_func;
60399   ;
60400   return 0;
60401 }
60402 _ACEOF
60403 rm -f conftest.$ac_objext conftest$ac_exeext
60404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60405   (eval $ac_link) 2>conftest.er1
60406   ac_status=$?
60407   grep -v '^ *+' conftest.er1 >conftest.err
60408   rm -f conftest.er1
60409   cat conftest.err >&5
60410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60411   (exit $ac_status); } &&
60412          { ac_try='test -z "$ac_c_werror_flag"
60413                          || test ! -s conftest.err'
60414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60415   (eval $ac_try) 2>&5
60416   ac_status=$?
60417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60418   (exit $ac_status); }; } &&
60419          { ac_try='test -s conftest$ac_exeext'
60420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60421   (eval $ac_try) 2>&5
60422   ac_status=$?
60423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60424   (exit $ac_status); }; }; then
60425   eval "$as_ac_var=yes"
60426 else
60427   echo "$as_me: failed program was:" >&5
60428 sed 's/^/| /' conftest.$ac_ext >&5
60429
60430 eval "$as_ac_var=no"
60431 fi
60432 rm -f conftest.err conftest.$ac_objext \
60433       conftest$ac_exeext conftest.$ac_ext
60434 fi
60435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60437 if test `eval echo '${'$as_ac_var'}'` = yes; then
60438   cat >>confdefs.h <<_ACEOF
60439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60440 _ACEOF
60441
60442 fi
60443 done
60444
60445   else
60446
60447   echo "$as_me:$LINENO: checking for _powl declaration" >&5
60448 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
60449   if test x${glibcxx_cv_func__powl_use+set} != xset; then
60450     if test "${glibcxx_cv_func__powl_use+set}" = set; then
60451   echo $ECHO_N "(cached) $ECHO_C" >&6
60452 else
60453
60454
60455
60456       ac_ext=cc
60457 ac_cpp='$CXXCPP $CPPFLAGS'
60458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60461
60462       cat >conftest.$ac_ext <<_ACEOF
60463 /* confdefs.h.  */
60464 _ACEOF
60465 cat confdefs.h >>conftest.$ac_ext
60466 cat >>conftest.$ac_ext <<_ACEOF
60467 /* end confdefs.h.  */
60468 #include <math.h>
60469 int
60470 main ()
60471 {
60472  _powl(0, 0);
60473   ;
60474   return 0;
60475 }
60476 _ACEOF
60477 rm -f conftest.$ac_objext
60478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60479   (eval $ac_compile) 2>conftest.er1
60480   ac_status=$?
60481   grep -v '^ *+' conftest.er1 >conftest.err
60482   rm -f conftest.er1
60483   cat conftest.err >&5
60484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60485   (exit $ac_status); } &&
60486          { ac_try='test -z "$ac_cxx_werror_flag"
60487                          || test ! -s conftest.err'
60488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60489   (eval $ac_try) 2>&5
60490   ac_status=$?
60491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60492   (exit $ac_status); }; } &&
60493          { ac_try='test -s conftest.$ac_objext'
60494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60495   (eval $ac_try) 2>&5
60496   ac_status=$?
60497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60498   (exit $ac_status); }; }; then
60499   glibcxx_cv_func__powl_use=yes
60500 else
60501   echo "$as_me: failed program was:" >&5
60502 sed 's/^/| /' conftest.$ac_ext >&5
60503
60504 glibcxx_cv_func__powl_use=no
60505 fi
60506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60507       ac_ext=c
60508 ac_cpp='$CPP $CPPFLAGS'
60509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60512
60513
60514 fi
60515
60516   fi
60517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
60518 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
60519
60520     if test x$glibcxx_cv_func__powl_use = x"yes"; then
60521
60522 for ac_func in _powl
60523 do
60524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60525 echo "$as_me:$LINENO: checking for $ac_func" >&5
60526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60527 if eval "test \"\${$as_ac_var+set}\" = set"; then
60528   echo $ECHO_N "(cached) $ECHO_C" >&6
60529 else
60530   if test x$gcc_no_link = xyes; then
60531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60533    { (exit 1); exit 1; }; }
60534 fi
60535 cat >conftest.$ac_ext <<_ACEOF
60536 /* confdefs.h.  */
60537 _ACEOF
60538 cat confdefs.h >>conftest.$ac_ext
60539 cat >>conftest.$ac_ext <<_ACEOF
60540 /* end confdefs.h.  */
60541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60543 #define $ac_func innocuous_$ac_func
60544
60545 /* System header to define __stub macros and hopefully few prototypes,
60546     which can conflict with char $ac_func (); below.
60547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60548     <limits.h> exists even on freestanding compilers.  */
60549
60550 #ifdef __STDC__
60551 # include <limits.h>
60552 #else
60553 # include <assert.h>
60554 #endif
60555
60556 #undef $ac_func
60557
60558 /* Override any gcc2 internal prototype to avoid an error.  */
60559 #ifdef __cplusplus
60560 extern "C"
60561 {
60562 #endif
60563 /* We use char because int might match the return type of a gcc2
60564    builtin and then its argument prototype would still apply.  */
60565 char $ac_func ();
60566 /* The GNU C library defines this for functions which it implements
60567     to always fail with ENOSYS.  Some functions are actually named
60568     something starting with __ and the normal name is an alias.  */
60569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60570 choke me
60571 #else
60572 char (*f) () = $ac_func;
60573 #endif
60574 #ifdef __cplusplus
60575 }
60576 #endif
60577
60578 int
60579 main ()
60580 {
60581 return f != $ac_func;
60582   ;
60583   return 0;
60584 }
60585 _ACEOF
60586 rm -f conftest.$ac_objext conftest$ac_exeext
60587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60588   (eval $ac_link) 2>conftest.er1
60589   ac_status=$?
60590   grep -v '^ *+' conftest.er1 >conftest.err
60591   rm -f conftest.er1
60592   cat conftest.err >&5
60593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60594   (exit $ac_status); } &&
60595          { ac_try='test -z "$ac_c_werror_flag"
60596                          || test ! -s conftest.err'
60597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60598   (eval $ac_try) 2>&5
60599   ac_status=$?
60600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60601   (exit $ac_status); }; } &&
60602          { ac_try='test -s conftest$ac_exeext'
60603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60604   (eval $ac_try) 2>&5
60605   ac_status=$?
60606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60607   (exit $ac_status); }; }; then
60608   eval "$as_ac_var=yes"
60609 else
60610   echo "$as_me: failed program was:" >&5
60611 sed 's/^/| /' conftest.$ac_ext >&5
60612
60613 eval "$as_ac_var=no"
60614 fi
60615 rm -f conftest.err conftest.$ac_objext \
60616       conftest$ac_exeext conftest.$ac_ext
60617 fi
60618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60620 if test `eval echo '${'$as_ac_var'}'` = yes; then
60621   cat >>confdefs.h <<_ACEOF
60622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60623 _ACEOF
60624
60625 fi
60626 done
60627
60628     fi
60629   fi
60630
60631
60632
60633
60634
60635
60636   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
60637 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
60638   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60639     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
60640   echo $ECHO_N "(cached) $ECHO_C" >&6
60641 else
60642
60643
60644
60645       ac_ext=cc
60646 ac_cpp='$CXXCPP $CPPFLAGS'
60647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60650
60651       cat >conftest.$ac_ext <<_ACEOF
60652 /* confdefs.h.  */
60653 _ACEOF
60654 cat confdefs.h >>conftest.$ac_ext
60655 cat >>conftest.$ac_ext <<_ACEOF
60656 /* end confdefs.h.  */
60657 #include <math.h>
60658                       #ifdef HAVE_IEEEFP_H
60659                       #include <ieeefp.h>
60660                       #endif
60661
60662 int
60663 main ()
60664 {
60665  sqrtl(0);
60666   ;
60667   return 0;
60668 }
60669 _ACEOF
60670 rm -f conftest.$ac_objext
60671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60672   (eval $ac_compile) 2>conftest.er1
60673   ac_status=$?
60674   grep -v '^ *+' conftest.er1 >conftest.err
60675   rm -f conftest.er1
60676   cat conftest.err >&5
60677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60678   (exit $ac_status); } &&
60679          { ac_try='test -z "$ac_cxx_werror_flag"
60680                          || test ! -s conftest.err'
60681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60682   (eval $ac_try) 2>&5
60683   ac_status=$?
60684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60685   (exit $ac_status); }; } &&
60686          { ac_try='test -s conftest.$ac_objext'
60687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688   (eval $ac_try) 2>&5
60689   ac_status=$?
60690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691   (exit $ac_status); }; }; then
60692   glibcxx_cv_func_sqrtl_use=yes
60693 else
60694   echo "$as_me: failed program was:" >&5
60695 sed 's/^/| /' conftest.$ac_ext >&5
60696
60697 glibcxx_cv_func_sqrtl_use=no
60698 fi
60699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60700       ac_ext=c
60701 ac_cpp='$CPP $CPPFLAGS'
60702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60705
60706
60707 fi
60708
60709   fi
60710   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
60711 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
60712
60713   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60714
60715 for ac_func in sqrtl
60716 do
60717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60718 echo "$as_me:$LINENO: checking for $ac_func" >&5
60719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60720 if eval "test \"\${$as_ac_var+set}\" = set"; then
60721   echo $ECHO_N "(cached) $ECHO_C" >&6
60722 else
60723   if test x$gcc_no_link = xyes; then
60724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60726    { (exit 1); exit 1; }; }
60727 fi
60728 cat >conftest.$ac_ext <<_ACEOF
60729 /* confdefs.h.  */
60730 _ACEOF
60731 cat confdefs.h >>conftest.$ac_ext
60732 cat >>conftest.$ac_ext <<_ACEOF
60733 /* end confdefs.h.  */
60734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60736 #define $ac_func innocuous_$ac_func
60737
60738 /* System header to define __stub macros and hopefully few prototypes,
60739     which can conflict with char $ac_func (); below.
60740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60741     <limits.h> exists even on freestanding compilers.  */
60742
60743 #ifdef __STDC__
60744 # include <limits.h>
60745 #else
60746 # include <assert.h>
60747 #endif
60748
60749 #undef $ac_func
60750
60751 /* Override any gcc2 internal prototype to avoid an error.  */
60752 #ifdef __cplusplus
60753 extern "C"
60754 {
60755 #endif
60756 /* We use char because int might match the return type of a gcc2
60757    builtin and then its argument prototype would still apply.  */
60758 char $ac_func ();
60759 /* The GNU C library defines this for functions which it implements
60760     to always fail with ENOSYS.  Some functions are actually named
60761     something starting with __ and the normal name is an alias.  */
60762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60763 choke me
60764 #else
60765 char (*f) () = $ac_func;
60766 #endif
60767 #ifdef __cplusplus
60768 }
60769 #endif
60770
60771 int
60772 main ()
60773 {
60774 return f != $ac_func;
60775   ;
60776   return 0;
60777 }
60778 _ACEOF
60779 rm -f conftest.$ac_objext conftest$ac_exeext
60780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60781   (eval $ac_link) 2>conftest.er1
60782   ac_status=$?
60783   grep -v '^ *+' conftest.er1 >conftest.err
60784   rm -f conftest.er1
60785   cat conftest.err >&5
60786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60787   (exit $ac_status); } &&
60788          { ac_try='test -z "$ac_c_werror_flag"
60789                          || test ! -s conftest.err'
60790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60791   (eval $ac_try) 2>&5
60792   ac_status=$?
60793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60794   (exit $ac_status); }; } &&
60795          { ac_try='test -s conftest$ac_exeext'
60796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60797   (eval $ac_try) 2>&5
60798   ac_status=$?
60799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60800   (exit $ac_status); }; }; then
60801   eval "$as_ac_var=yes"
60802 else
60803   echo "$as_me: failed program was:" >&5
60804 sed 's/^/| /' conftest.$ac_ext >&5
60805
60806 eval "$as_ac_var=no"
60807 fi
60808 rm -f conftest.err conftest.$ac_objext \
60809       conftest$ac_exeext conftest.$ac_ext
60810 fi
60811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60813 if test `eval echo '${'$as_ac_var'}'` = yes; then
60814   cat >>confdefs.h <<_ACEOF
60815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60816 _ACEOF
60817
60818 fi
60819 done
60820
60821   else
60822
60823   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
60824 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
60825   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60826     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
60827   echo $ECHO_N "(cached) $ECHO_C" >&6
60828 else
60829
60830
60831
60832       ac_ext=cc
60833 ac_cpp='$CXXCPP $CPPFLAGS'
60834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60837
60838       cat >conftest.$ac_ext <<_ACEOF
60839 /* confdefs.h.  */
60840 _ACEOF
60841 cat confdefs.h >>conftest.$ac_ext
60842 cat >>conftest.$ac_ext <<_ACEOF
60843 /* end confdefs.h.  */
60844 #include <math.h>
60845                       #ifdef HAVE_IEEEFP_H
60846                       #include <ieeefp.h>
60847                       #endif
60848
60849 int
60850 main ()
60851 {
60852  _sqrtl(0);
60853   ;
60854   return 0;
60855 }
60856 _ACEOF
60857 rm -f conftest.$ac_objext
60858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60859   (eval $ac_compile) 2>conftest.er1
60860   ac_status=$?
60861   grep -v '^ *+' conftest.er1 >conftest.err
60862   rm -f conftest.er1
60863   cat conftest.err >&5
60864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60865   (exit $ac_status); } &&
60866          { ac_try='test -z "$ac_cxx_werror_flag"
60867                          || test ! -s conftest.err'
60868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60869   (eval $ac_try) 2>&5
60870   ac_status=$?
60871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60872   (exit $ac_status); }; } &&
60873          { ac_try='test -s conftest.$ac_objext'
60874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60875   (eval $ac_try) 2>&5
60876   ac_status=$?
60877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878   (exit $ac_status); }; }; then
60879   glibcxx_cv_func__sqrtl_use=yes
60880 else
60881   echo "$as_me: failed program was:" >&5
60882 sed 's/^/| /' conftest.$ac_ext >&5
60883
60884 glibcxx_cv_func__sqrtl_use=no
60885 fi
60886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60887       ac_ext=c
60888 ac_cpp='$CPP $CPPFLAGS'
60889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892
60893
60894 fi
60895
60896   fi
60897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60898 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60899
60900     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60901
60902 for ac_func in _sqrtl
60903 do
60904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60905 echo "$as_me:$LINENO: checking for $ac_func" >&5
60906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60907 if eval "test \"\${$as_ac_var+set}\" = set"; then
60908   echo $ECHO_N "(cached) $ECHO_C" >&6
60909 else
60910   if test x$gcc_no_link = xyes; then
60911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60913    { (exit 1); exit 1; }; }
60914 fi
60915 cat >conftest.$ac_ext <<_ACEOF
60916 /* confdefs.h.  */
60917 _ACEOF
60918 cat confdefs.h >>conftest.$ac_ext
60919 cat >>conftest.$ac_ext <<_ACEOF
60920 /* end confdefs.h.  */
60921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60923 #define $ac_func innocuous_$ac_func
60924
60925 /* System header to define __stub macros and hopefully few prototypes,
60926     which can conflict with char $ac_func (); below.
60927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60928     <limits.h> exists even on freestanding compilers.  */
60929
60930 #ifdef __STDC__
60931 # include <limits.h>
60932 #else
60933 # include <assert.h>
60934 #endif
60935
60936 #undef $ac_func
60937
60938 /* Override any gcc2 internal prototype to avoid an error.  */
60939 #ifdef __cplusplus
60940 extern "C"
60941 {
60942 #endif
60943 /* We use char because int might match the return type of a gcc2
60944    builtin and then its argument prototype would still apply.  */
60945 char $ac_func ();
60946 /* The GNU C library defines this for functions which it implements
60947     to always fail with ENOSYS.  Some functions are actually named
60948     something starting with __ and the normal name is an alias.  */
60949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60950 choke me
60951 #else
60952 char (*f) () = $ac_func;
60953 #endif
60954 #ifdef __cplusplus
60955 }
60956 #endif
60957
60958 int
60959 main ()
60960 {
60961 return f != $ac_func;
60962   ;
60963   return 0;
60964 }
60965 _ACEOF
60966 rm -f conftest.$ac_objext conftest$ac_exeext
60967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60968   (eval $ac_link) 2>conftest.er1
60969   ac_status=$?
60970   grep -v '^ *+' conftest.er1 >conftest.err
60971   rm -f conftest.er1
60972   cat conftest.err >&5
60973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60974   (exit $ac_status); } &&
60975          { ac_try='test -z "$ac_c_werror_flag"
60976                          || test ! -s conftest.err'
60977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60978   (eval $ac_try) 2>&5
60979   ac_status=$?
60980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60981   (exit $ac_status); }; } &&
60982          { ac_try='test -s conftest$ac_exeext'
60983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60984   (eval $ac_try) 2>&5
60985   ac_status=$?
60986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60987   (exit $ac_status); }; }; then
60988   eval "$as_ac_var=yes"
60989 else
60990   echo "$as_me: failed program was:" >&5
60991 sed 's/^/| /' conftest.$ac_ext >&5
60992
60993 eval "$as_ac_var=no"
60994 fi
60995 rm -f conftest.err conftest.$ac_objext \
60996       conftest$ac_exeext conftest.$ac_ext
60997 fi
60998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61000 if test `eval echo '${'$as_ac_var'}'` = yes; then
61001   cat >>confdefs.h <<_ACEOF
61002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61003 _ACEOF
61004
61005 fi
61006 done
61007
61008     fi
61009   fi
61010
61011
61012
61013
61014
61015
61016   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
61017 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
61018   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
61019     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
61020   echo $ECHO_N "(cached) $ECHO_C" >&6
61021 else
61022
61023
61024
61025       ac_ext=cc
61026 ac_cpp='$CXXCPP $CPPFLAGS'
61027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61030
61031       cat >conftest.$ac_ext <<_ACEOF
61032 /* confdefs.h.  */
61033 _ACEOF
61034 cat confdefs.h >>conftest.$ac_ext
61035 cat >>conftest.$ac_ext <<_ACEOF
61036 /* end confdefs.h.  */
61037 #include <math.h>
61038 int
61039 main ()
61040 {
61041  sincosl(0, 0, 0);
61042   ;
61043   return 0;
61044 }
61045 _ACEOF
61046 rm -f conftest.$ac_objext
61047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61048   (eval $ac_compile) 2>conftest.er1
61049   ac_status=$?
61050   grep -v '^ *+' conftest.er1 >conftest.err
61051   rm -f conftest.er1
61052   cat conftest.err >&5
61053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61054   (exit $ac_status); } &&
61055          { ac_try='test -z "$ac_cxx_werror_flag"
61056                          || test ! -s conftest.err'
61057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61058   (eval $ac_try) 2>&5
61059   ac_status=$?
61060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61061   (exit $ac_status); }; } &&
61062          { ac_try='test -s conftest.$ac_objext'
61063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61064   (eval $ac_try) 2>&5
61065   ac_status=$?
61066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067   (exit $ac_status); }; }; then
61068   glibcxx_cv_func_sincosl_use=yes
61069 else
61070   echo "$as_me: failed program was:" >&5
61071 sed 's/^/| /' conftest.$ac_ext >&5
61072
61073 glibcxx_cv_func_sincosl_use=no
61074 fi
61075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61076       ac_ext=c
61077 ac_cpp='$CPP $CPPFLAGS'
61078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61081
61082
61083 fi
61084
61085   fi
61086   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
61087 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
61088
61089   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61090
61091 for ac_func in sincosl
61092 do
61093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61094 echo "$as_me:$LINENO: checking for $ac_func" >&5
61095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61096 if eval "test \"\${$as_ac_var+set}\" = set"; then
61097   echo $ECHO_N "(cached) $ECHO_C" >&6
61098 else
61099   if test x$gcc_no_link = xyes; then
61100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61102    { (exit 1); exit 1; }; }
61103 fi
61104 cat >conftest.$ac_ext <<_ACEOF
61105 /* confdefs.h.  */
61106 _ACEOF
61107 cat confdefs.h >>conftest.$ac_ext
61108 cat >>conftest.$ac_ext <<_ACEOF
61109 /* end confdefs.h.  */
61110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61112 #define $ac_func innocuous_$ac_func
61113
61114 /* System header to define __stub macros and hopefully few prototypes,
61115     which can conflict with char $ac_func (); below.
61116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61117     <limits.h> exists even on freestanding compilers.  */
61118
61119 #ifdef __STDC__
61120 # include <limits.h>
61121 #else
61122 # include <assert.h>
61123 #endif
61124
61125 #undef $ac_func
61126
61127 /* Override any gcc2 internal prototype to avoid an error.  */
61128 #ifdef __cplusplus
61129 extern "C"
61130 {
61131 #endif
61132 /* We use char because int might match the return type of a gcc2
61133    builtin and then its argument prototype would still apply.  */
61134 char $ac_func ();
61135 /* The GNU C library defines this for functions which it implements
61136     to always fail with ENOSYS.  Some functions are actually named
61137     something starting with __ and the normal name is an alias.  */
61138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61139 choke me
61140 #else
61141 char (*f) () = $ac_func;
61142 #endif
61143 #ifdef __cplusplus
61144 }
61145 #endif
61146
61147 int
61148 main ()
61149 {
61150 return f != $ac_func;
61151   ;
61152   return 0;
61153 }
61154 _ACEOF
61155 rm -f conftest.$ac_objext conftest$ac_exeext
61156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61157   (eval $ac_link) 2>conftest.er1
61158   ac_status=$?
61159   grep -v '^ *+' conftest.er1 >conftest.err
61160   rm -f conftest.er1
61161   cat conftest.err >&5
61162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61163   (exit $ac_status); } &&
61164          { ac_try='test -z "$ac_c_werror_flag"
61165                          || test ! -s conftest.err'
61166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61167   (eval $ac_try) 2>&5
61168   ac_status=$?
61169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61170   (exit $ac_status); }; } &&
61171          { ac_try='test -s conftest$ac_exeext'
61172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61173   (eval $ac_try) 2>&5
61174   ac_status=$?
61175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176   (exit $ac_status); }; }; then
61177   eval "$as_ac_var=yes"
61178 else
61179   echo "$as_me: failed program was:" >&5
61180 sed 's/^/| /' conftest.$ac_ext >&5
61181
61182 eval "$as_ac_var=no"
61183 fi
61184 rm -f conftest.err conftest.$ac_objext \
61185       conftest$ac_exeext conftest.$ac_ext
61186 fi
61187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61189 if test `eval echo '${'$as_ac_var'}'` = yes; then
61190   cat >>confdefs.h <<_ACEOF
61191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61192 _ACEOF
61193
61194 fi
61195 done
61196
61197   else
61198
61199   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
61200 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
61201   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61202     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
61203   echo $ECHO_N "(cached) $ECHO_C" >&6
61204 else
61205
61206
61207
61208       ac_ext=cc
61209 ac_cpp='$CXXCPP $CPPFLAGS'
61210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61213
61214       cat >conftest.$ac_ext <<_ACEOF
61215 /* confdefs.h.  */
61216 _ACEOF
61217 cat confdefs.h >>conftest.$ac_ext
61218 cat >>conftest.$ac_ext <<_ACEOF
61219 /* end confdefs.h.  */
61220 #include <math.h>
61221 int
61222 main ()
61223 {
61224  _sincosl(0, 0, 0);
61225   ;
61226   return 0;
61227 }
61228 _ACEOF
61229 rm -f conftest.$ac_objext
61230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61231   (eval $ac_compile) 2>conftest.er1
61232   ac_status=$?
61233   grep -v '^ *+' conftest.er1 >conftest.err
61234   rm -f conftest.er1
61235   cat conftest.err >&5
61236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61237   (exit $ac_status); } &&
61238          { ac_try='test -z "$ac_cxx_werror_flag"
61239                          || test ! -s conftest.err'
61240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61241   (eval $ac_try) 2>&5
61242   ac_status=$?
61243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61244   (exit $ac_status); }; } &&
61245          { ac_try='test -s conftest.$ac_objext'
61246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61247   (eval $ac_try) 2>&5
61248   ac_status=$?
61249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61250   (exit $ac_status); }; }; then
61251   glibcxx_cv_func__sincosl_use=yes
61252 else
61253   echo "$as_me: failed program was:" >&5
61254 sed 's/^/| /' conftest.$ac_ext >&5
61255
61256 glibcxx_cv_func__sincosl_use=no
61257 fi
61258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61259       ac_ext=c
61260 ac_cpp='$CPP $CPPFLAGS'
61261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61264
61265
61266 fi
61267
61268   fi
61269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
61270 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
61271
61272     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61273
61274 for ac_func in _sincosl
61275 do
61276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61277 echo "$as_me:$LINENO: checking for $ac_func" >&5
61278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61279 if eval "test \"\${$as_ac_var+set}\" = set"; then
61280   echo $ECHO_N "(cached) $ECHO_C" >&6
61281 else
61282   if test x$gcc_no_link = xyes; then
61283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61285    { (exit 1); exit 1; }; }
61286 fi
61287 cat >conftest.$ac_ext <<_ACEOF
61288 /* confdefs.h.  */
61289 _ACEOF
61290 cat confdefs.h >>conftest.$ac_ext
61291 cat >>conftest.$ac_ext <<_ACEOF
61292 /* end confdefs.h.  */
61293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61295 #define $ac_func innocuous_$ac_func
61296
61297 /* System header to define __stub macros and hopefully few prototypes,
61298     which can conflict with char $ac_func (); below.
61299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61300     <limits.h> exists even on freestanding compilers.  */
61301
61302 #ifdef __STDC__
61303 # include <limits.h>
61304 #else
61305 # include <assert.h>
61306 #endif
61307
61308 #undef $ac_func
61309
61310 /* Override any gcc2 internal prototype to avoid an error.  */
61311 #ifdef __cplusplus
61312 extern "C"
61313 {
61314 #endif
61315 /* We use char because int might match the return type of a gcc2
61316    builtin and then its argument prototype would still apply.  */
61317 char $ac_func ();
61318 /* The GNU C library defines this for functions which it implements
61319     to always fail with ENOSYS.  Some functions are actually named
61320     something starting with __ and the normal name is an alias.  */
61321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61322 choke me
61323 #else
61324 char (*f) () = $ac_func;
61325 #endif
61326 #ifdef __cplusplus
61327 }
61328 #endif
61329
61330 int
61331 main ()
61332 {
61333 return f != $ac_func;
61334   ;
61335   return 0;
61336 }
61337 _ACEOF
61338 rm -f conftest.$ac_objext conftest$ac_exeext
61339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61340   (eval $ac_link) 2>conftest.er1
61341   ac_status=$?
61342   grep -v '^ *+' conftest.er1 >conftest.err
61343   rm -f conftest.er1
61344   cat conftest.err >&5
61345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61346   (exit $ac_status); } &&
61347          { ac_try='test -z "$ac_c_werror_flag"
61348                          || test ! -s conftest.err'
61349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61350   (eval $ac_try) 2>&5
61351   ac_status=$?
61352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61353   (exit $ac_status); }; } &&
61354          { ac_try='test -s conftest$ac_exeext'
61355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61356   (eval $ac_try) 2>&5
61357   ac_status=$?
61358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61359   (exit $ac_status); }; }; then
61360   eval "$as_ac_var=yes"
61361 else
61362   echo "$as_me: failed program was:" >&5
61363 sed 's/^/| /' conftest.$ac_ext >&5
61364
61365 eval "$as_ac_var=no"
61366 fi
61367 rm -f conftest.err conftest.$ac_objext \
61368       conftest$ac_exeext conftest.$ac_ext
61369 fi
61370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61372 if test `eval echo '${'$as_ac_var'}'` = yes; then
61373   cat >>confdefs.h <<_ACEOF
61374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61375 _ACEOF
61376
61377 fi
61378 done
61379
61380     fi
61381   fi
61382
61383
61384
61385
61386
61387
61388   echo "$as_me:$LINENO: checking for finitel declaration" >&5
61389 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
61390   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61391     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
61392   echo $ECHO_N "(cached) $ECHO_C" >&6
61393 else
61394
61395
61396
61397       ac_ext=cc
61398 ac_cpp='$CXXCPP $CPPFLAGS'
61399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61402
61403       cat >conftest.$ac_ext <<_ACEOF
61404 /* confdefs.h.  */
61405 _ACEOF
61406 cat confdefs.h >>conftest.$ac_ext
61407 cat >>conftest.$ac_ext <<_ACEOF
61408 /* end confdefs.h.  */
61409 #include <math.h>
61410                       #ifdef HAVE_IEEEFP_H
61411                       #include <ieeefp.h>
61412                       #endif
61413
61414 int
61415 main ()
61416 {
61417  finitel(0);
61418   ;
61419   return 0;
61420 }
61421 _ACEOF
61422 rm -f conftest.$ac_objext
61423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61424   (eval $ac_compile) 2>conftest.er1
61425   ac_status=$?
61426   grep -v '^ *+' conftest.er1 >conftest.err
61427   rm -f conftest.er1
61428   cat conftest.err >&5
61429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61430   (exit $ac_status); } &&
61431          { ac_try='test -z "$ac_cxx_werror_flag"
61432                          || test ! -s conftest.err'
61433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61434   (eval $ac_try) 2>&5
61435   ac_status=$?
61436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61437   (exit $ac_status); }; } &&
61438          { ac_try='test -s conftest.$ac_objext'
61439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61440   (eval $ac_try) 2>&5
61441   ac_status=$?
61442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443   (exit $ac_status); }; }; then
61444   glibcxx_cv_func_finitel_use=yes
61445 else
61446   echo "$as_me: failed program was:" >&5
61447 sed 's/^/| /' conftest.$ac_ext >&5
61448
61449 glibcxx_cv_func_finitel_use=no
61450 fi
61451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61452       ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61457
61458
61459 fi
61460
61461   fi
61462   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
61463 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
61464
61465   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61466
61467 for ac_func in finitel
61468 do
61469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61470 echo "$as_me:$LINENO: checking for $ac_func" >&5
61471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61472 if eval "test \"\${$as_ac_var+set}\" = set"; then
61473   echo $ECHO_N "(cached) $ECHO_C" >&6
61474 else
61475   if test x$gcc_no_link = xyes; then
61476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61478    { (exit 1); exit 1; }; }
61479 fi
61480 cat >conftest.$ac_ext <<_ACEOF
61481 /* confdefs.h.  */
61482 _ACEOF
61483 cat confdefs.h >>conftest.$ac_ext
61484 cat >>conftest.$ac_ext <<_ACEOF
61485 /* end confdefs.h.  */
61486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61488 #define $ac_func innocuous_$ac_func
61489
61490 /* System header to define __stub macros and hopefully few prototypes,
61491     which can conflict with char $ac_func (); below.
61492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61493     <limits.h> exists even on freestanding compilers.  */
61494
61495 #ifdef __STDC__
61496 # include <limits.h>
61497 #else
61498 # include <assert.h>
61499 #endif
61500
61501 #undef $ac_func
61502
61503 /* Override any gcc2 internal prototype to avoid an error.  */
61504 #ifdef __cplusplus
61505 extern "C"
61506 {
61507 #endif
61508 /* We use char because int might match the return type of a gcc2
61509    builtin and then its argument prototype would still apply.  */
61510 char $ac_func ();
61511 /* The GNU C library defines this for functions which it implements
61512     to always fail with ENOSYS.  Some functions are actually named
61513     something starting with __ and the normal name is an alias.  */
61514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61515 choke me
61516 #else
61517 char (*f) () = $ac_func;
61518 #endif
61519 #ifdef __cplusplus
61520 }
61521 #endif
61522
61523 int
61524 main ()
61525 {
61526 return f != $ac_func;
61527   ;
61528   return 0;
61529 }
61530 _ACEOF
61531 rm -f conftest.$ac_objext conftest$ac_exeext
61532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61533   (eval $ac_link) 2>conftest.er1
61534   ac_status=$?
61535   grep -v '^ *+' conftest.er1 >conftest.err
61536   rm -f conftest.er1
61537   cat conftest.err >&5
61538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61539   (exit $ac_status); } &&
61540          { ac_try='test -z "$ac_c_werror_flag"
61541                          || test ! -s conftest.err'
61542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61543   (eval $ac_try) 2>&5
61544   ac_status=$?
61545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61546   (exit $ac_status); }; } &&
61547          { ac_try='test -s conftest$ac_exeext'
61548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61549   (eval $ac_try) 2>&5
61550   ac_status=$?
61551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552   (exit $ac_status); }; }; then
61553   eval "$as_ac_var=yes"
61554 else
61555   echo "$as_me: failed program was:" >&5
61556 sed 's/^/| /' conftest.$ac_ext >&5
61557
61558 eval "$as_ac_var=no"
61559 fi
61560 rm -f conftest.err conftest.$ac_objext \
61561       conftest$ac_exeext conftest.$ac_ext
61562 fi
61563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61565 if test `eval echo '${'$as_ac_var'}'` = yes; then
61566   cat >>confdefs.h <<_ACEOF
61567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61568 _ACEOF
61569
61570 fi
61571 done
61572
61573   else
61574
61575   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
61576 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
61577   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61578     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
61579   echo $ECHO_N "(cached) $ECHO_C" >&6
61580 else
61581
61582
61583
61584       ac_ext=cc
61585 ac_cpp='$CXXCPP $CPPFLAGS'
61586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61589
61590       cat >conftest.$ac_ext <<_ACEOF
61591 /* confdefs.h.  */
61592 _ACEOF
61593 cat confdefs.h >>conftest.$ac_ext
61594 cat >>conftest.$ac_ext <<_ACEOF
61595 /* end confdefs.h.  */
61596 #include <math.h>
61597                       #ifdef HAVE_IEEEFP_H
61598                       #include <ieeefp.h>
61599                       #endif
61600
61601 int
61602 main ()
61603 {
61604  _finitel(0);
61605   ;
61606   return 0;
61607 }
61608 _ACEOF
61609 rm -f conftest.$ac_objext
61610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61611   (eval $ac_compile) 2>conftest.er1
61612   ac_status=$?
61613   grep -v '^ *+' conftest.er1 >conftest.err
61614   rm -f conftest.er1
61615   cat conftest.err >&5
61616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61617   (exit $ac_status); } &&
61618          { ac_try='test -z "$ac_cxx_werror_flag"
61619                          || test ! -s conftest.err'
61620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61621   (eval $ac_try) 2>&5
61622   ac_status=$?
61623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61624   (exit $ac_status); }; } &&
61625          { ac_try='test -s conftest.$ac_objext'
61626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61627   (eval $ac_try) 2>&5
61628   ac_status=$?
61629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61630   (exit $ac_status); }; }; then
61631   glibcxx_cv_func__finitel_use=yes
61632 else
61633   echo "$as_me: failed program was:" >&5
61634 sed 's/^/| /' conftest.$ac_ext >&5
61635
61636 glibcxx_cv_func__finitel_use=no
61637 fi
61638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61639       ac_ext=c
61640 ac_cpp='$CPP $CPPFLAGS'
61641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61644
61645
61646 fi
61647
61648   fi
61649   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
61650 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
61651
61652     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61653
61654 for ac_func in _finitel
61655 do
61656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61657 echo "$as_me:$LINENO: checking for $ac_func" >&5
61658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61659 if eval "test \"\${$as_ac_var+set}\" = set"; then
61660   echo $ECHO_N "(cached) $ECHO_C" >&6
61661 else
61662   if test x$gcc_no_link = xyes; then
61663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61665    { (exit 1); exit 1; }; }
61666 fi
61667 cat >conftest.$ac_ext <<_ACEOF
61668 /* confdefs.h.  */
61669 _ACEOF
61670 cat confdefs.h >>conftest.$ac_ext
61671 cat >>conftest.$ac_ext <<_ACEOF
61672 /* end confdefs.h.  */
61673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61675 #define $ac_func innocuous_$ac_func
61676
61677 /* System header to define __stub macros and hopefully few prototypes,
61678     which can conflict with char $ac_func (); below.
61679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61680     <limits.h> exists even on freestanding compilers.  */
61681
61682 #ifdef __STDC__
61683 # include <limits.h>
61684 #else
61685 # include <assert.h>
61686 #endif
61687
61688 #undef $ac_func
61689
61690 /* Override any gcc2 internal prototype to avoid an error.  */
61691 #ifdef __cplusplus
61692 extern "C"
61693 {
61694 #endif
61695 /* We use char because int might match the return type of a gcc2
61696    builtin and then its argument prototype would still apply.  */
61697 char $ac_func ();
61698 /* The GNU C library defines this for functions which it implements
61699     to always fail with ENOSYS.  Some functions are actually named
61700     something starting with __ and the normal name is an alias.  */
61701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61702 choke me
61703 #else
61704 char (*f) () = $ac_func;
61705 #endif
61706 #ifdef __cplusplus
61707 }
61708 #endif
61709
61710 int
61711 main ()
61712 {
61713 return f != $ac_func;
61714   ;
61715   return 0;
61716 }
61717 _ACEOF
61718 rm -f conftest.$ac_objext conftest$ac_exeext
61719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61720   (eval $ac_link) 2>conftest.er1
61721   ac_status=$?
61722   grep -v '^ *+' conftest.er1 >conftest.err
61723   rm -f conftest.er1
61724   cat conftest.err >&5
61725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61726   (exit $ac_status); } &&
61727          { ac_try='test -z "$ac_c_werror_flag"
61728                          || test ! -s conftest.err'
61729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61730   (eval $ac_try) 2>&5
61731   ac_status=$?
61732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61733   (exit $ac_status); }; } &&
61734          { ac_try='test -s conftest$ac_exeext'
61735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61736   (eval $ac_try) 2>&5
61737   ac_status=$?
61738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61739   (exit $ac_status); }; }; then
61740   eval "$as_ac_var=yes"
61741 else
61742   echo "$as_me: failed program was:" >&5
61743 sed 's/^/| /' conftest.$ac_ext >&5
61744
61745 eval "$as_ac_var=no"
61746 fi
61747 rm -f conftest.err conftest.$ac_objext \
61748       conftest$ac_exeext conftest.$ac_ext
61749 fi
61750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61752 if test `eval echo '${'$as_ac_var'}'` = yes; then
61753   cat >>confdefs.h <<_ACEOF
61754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61755 _ACEOF
61756
61757 fi
61758 done
61759
61760     fi
61761   fi
61762
61763
61764
61765
61766
61767   LIBS="$ac_save_LIBS"
61768   CXXFLAGS="$ac_save_CXXFLAGS"
61769
61770
61771
61772   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61773 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61774   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61775     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61776   echo $ECHO_N "(cached) $ECHO_C" >&6
61777 else
61778
61779
61780
61781       ac_ext=cc
61782 ac_cpp='$CXXCPP $CPPFLAGS'
61783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61786
61787       cat >conftest.$ac_ext <<_ACEOF
61788 /* confdefs.h.  */
61789 _ACEOF
61790 cat confdefs.h >>conftest.$ac_ext
61791 cat >>conftest.$ac_ext <<_ACEOF
61792 /* end confdefs.h.  */
61793 #include <math.h>
61794 int
61795 main ()
61796 {
61797  __builtin_abs(0);
61798   ;
61799   return 0;
61800 }
61801 _ACEOF
61802 rm -f conftest.$ac_objext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61804   (eval $ac_compile) 2>conftest.er1
61805   ac_status=$?
61806   grep -v '^ *+' conftest.er1 >conftest.err
61807   rm -f conftest.er1
61808   cat conftest.err >&5
61809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61810   (exit $ac_status); } &&
61811          { ac_try='test -z "$ac_cxx_werror_flag"
61812                          || test ! -s conftest.err'
61813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814   (eval $ac_try) 2>&5
61815   ac_status=$?
61816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817   (exit $ac_status); }; } &&
61818          { ac_try='test -s conftest.$ac_objext'
61819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61820   (eval $ac_try) 2>&5
61821   ac_status=$?
61822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61823   (exit $ac_status); }; }; then
61824   glibcxx_cv_func___builtin_abs_use=yes
61825 else
61826   echo "$as_me: failed program was:" >&5
61827 sed 's/^/| /' conftest.$ac_ext >&5
61828
61829 glibcxx_cv_func___builtin_abs_use=no
61830 fi
61831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61832       ac_ext=c
61833 ac_cpp='$CPP $CPPFLAGS'
61834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61837
61838
61839 fi
61840
61841   fi
61842   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61843 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61844   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61845     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61846 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61847     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61848       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61849   echo $ECHO_N "(cached) $ECHO_C" >&6
61850 else
61851
61852         if test x$gcc_no_link = xyes; then
61853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61855    { (exit 1); exit 1; }; }
61856 fi
61857 cat >conftest.$ac_ext <<_ACEOF
61858 /* confdefs.h.  */
61859 _ACEOF
61860 cat confdefs.h >>conftest.$ac_ext
61861 cat >>conftest.$ac_ext <<_ACEOF
61862 /* end confdefs.h.  */
61863 #include <math.h>
61864 int
61865 main ()
61866 {
61867  __builtin_abs(0);
61868   ;
61869   return 0;
61870 }
61871 _ACEOF
61872 rm -f conftest.$ac_objext conftest$ac_exeext
61873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61874   (eval $ac_link) 2>conftest.er1
61875   ac_status=$?
61876   grep -v '^ *+' conftest.er1 >conftest.err
61877   rm -f conftest.er1
61878   cat conftest.err >&5
61879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61880   (exit $ac_status); } &&
61881          { ac_try='test -z "$ac_c_werror_flag"
61882                          || test ! -s conftest.err'
61883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61884   (eval $ac_try) 2>&5
61885   ac_status=$?
61886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61887   (exit $ac_status); }; } &&
61888          { ac_try='test -s conftest$ac_exeext'
61889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890   (eval $ac_try) 2>&5
61891   ac_status=$?
61892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893   (exit $ac_status); }; }; then
61894   glibcxx_cv_func___builtin_abs_link=yes
61895 else
61896   echo "$as_me: failed program was:" >&5
61897 sed 's/^/| /' conftest.$ac_ext >&5
61898
61899 glibcxx_cv_func___builtin_abs_link=no
61900 fi
61901 rm -f conftest.err conftest.$ac_objext \
61902       conftest$ac_exeext conftest.$ac_ext
61903
61904 fi
61905
61906     fi
61907     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61908 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61909
61910     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61911
61912 cat >>confdefs.h <<\_ACEOF
61913 #define HAVE___BUILTIN_ABS 1
61914 _ACEOF
61915
61916     fi
61917
61918   fi
61919
61920
61921   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61922 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61923   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61924     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61925   echo $ECHO_N "(cached) $ECHO_C" >&6
61926 else
61927
61928
61929
61930       ac_ext=cc
61931 ac_cpp='$CXXCPP $CPPFLAGS'
61932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61935
61936       cat >conftest.$ac_ext <<_ACEOF
61937 /* confdefs.h.  */
61938 _ACEOF
61939 cat confdefs.h >>conftest.$ac_ext
61940 cat >>conftest.$ac_ext <<_ACEOF
61941 /* end confdefs.h.  */
61942 #include <math.h>
61943 int
61944 main ()
61945 {
61946  __builtin_fabsf(0);
61947   ;
61948   return 0;
61949 }
61950 _ACEOF
61951 rm -f conftest.$ac_objext
61952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61953   (eval $ac_compile) 2>conftest.er1
61954   ac_status=$?
61955   grep -v '^ *+' conftest.er1 >conftest.err
61956   rm -f conftest.er1
61957   cat conftest.err >&5
61958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61959   (exit $ac_status); } &&
61960          { ac_try='test -z "$ac_cxx_werror_flag"
61961                          || test ! -s conftest.err'
61962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61963   (eval $ac_try) 2>&5
61964   ac_status=$?
61965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61966   (exit $ac_status); }; } &&
61967          { ac_try='test -s conftest.$ac_objext'
61968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61969   (eval $ac_try) 2>&5
61970   ac_status=$?
61971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61972   (exit $ac_status); }; }; then
61973   glibcxx_cv_func___builtin_fabsf_use=yes
61974 else
61975   echo "$as_me: failed program was:" >&5
61976 sed 's/^/| /' conftest.$ac_ext >&5
61977
61978 glibcxx_cv_func___builtin_fabsf_use=no
61979 fi
61980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61981       ac_ext=c
61982 ac_cpp='$CPP $CPPFLAGS'
61983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61986
61987
61988 fi
61989
61990   fi
61991   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61992 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61993   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61994     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61995 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61996     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61997       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61998   echo $ECHO_N "(cached) $ECHO_C" >&6
61999 else
62000
62001         if test x$gcc_no_link = xyes; then
62002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62004    { (exit 1); exit 1; }; }
62005 fi
62006 cat >conftest.$ac_ext <<_ACEOF
62007 /* confdefs.h.  */
62008 _ACEOF
62009 cat confdefs.h >>conftest.$ac_ext
62010 cat >>conftest.$ac_ext <<_ACEOF
62011 /* end confdefs.h.  */
62012 #include <math.h>
62013 int
62014 main ()
62015 {
62016  __builtin_fabsf(0);
62017   ;
62018   return 0;
62019 }
62020 _ACEOF
62021 rm -f conftest.$ac_objext conftest$ac_exeext
62022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62023   (eval $ac_link) 2>conftest.er1
62024   ac_status=$?
62025   grep -v '^ *+' conftest.er1 >conftest.err
62026   rm -f conftest.er1
62027   cat conftest.err >&5
62028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62029   (exit $ac_status); } &&
62030          { ac_try='test -z "$ac_c_werror_flag"
62031                          || test ! -s conftest.err'
62032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62033   (eval $ac_try) 2>&5
62034   ac_status=$?
62035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62036   (exit $ac_status); }; } &&
62037          { ac_try='test -s conftest$ac_exeext'
62038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039   (eval $ac_try) 2>&5
62040   ac_status=$?
62041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042   (exit $ac_status); }; }; then
62043   glibcxx_cv_func___builtin_fabsf_link=yes
62044 else
62045   echo "$as_me: failed program was:" >&5
62046 sed 's/^/| /' conftest.$ac_ext >&5
62047
62048 glibcxx_cv_func___builtin_fabsf_link=no
62049 fi
62050 rm -f conftest.err conftest.$ac_objext \
62051       conftest$ac_exeext conftest.$ac_ext
62052
62053 fi
62054
62055     fi
62056     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
62057 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
62058
62059     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
62060
62061 cat >>confdefs.h <<\_ACEOF
62062 #define HAVE___BUILTIN_FABSF 1
62063 _ACEOF
62064
62065     fi
62066
62067   fi
62068
62069
62070   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
62071 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
62072   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
62073     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
62074   echo $ECHO_N "(cached) $ECHO_C" >&6
62075 else
62076
62077
62078
62079       ac_ext=cc
62080 ac_cpp='$CXXCPP $CPPFLAGS'
62081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62084
62085       cat >conftest.$ac_ext <<_ACEOF
62086 /* confdefs.h.  */
62087 _ACEOF
62088 cat confdefs.h >>conftest.$ac_ext
62089 cat >>conftest.$ac_ext <<_ACEOF
62090 /* end confdefs.h.  */
62091 #include <math.h>
62092 int
62093 main ()
62094 {
62095  __builtin_fabs(0);
62096   ;
62097   return 0;
62098 }
62099 _ACEOF
62100 rm -f conftest.$ac_objext
62101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62102   (eval $ac_compile) 2>conftest.er1
62103   ac_status=$?
62104   grep -v '^ *+' conftest.er1 >conftest.err
62105   rm -f conftest.er1
62106   cat conftest.err >&5
62107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62108   (exit $ac_status); } &&
62109          { ac_try='test -z "$ac_cxx_werror_flag"
62110                          || test ! -s conftest.err'
62111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62112   (eval $ac_try) 2>&5
62113   ac_status=$?
62114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115   (exit $ac_status); }; } &&
62116          { ac_try='test -s conftest.$ac_objext'
62117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118   (eval $ac_try) 2>&5
62119   ac_status=$?
62120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121   (exit $ac_status); }; }; then
62122   glibcxx_cv_func___builtin_fabs_use=yes
62123 else
62124   echo "$as_me: failed program was:" >&5
62125 sed 's/^/| /' conftest.$ac_ext >&5
62126
62127 glibcxx_cv_func___builtin_fabs_use=no
62128 fi
62129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62130       ac_ext=c
62131 ac_cpp='$CPP $CPPFLAGS'
62132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62135
62136
62137 fi
62138
62139   fi
62140   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
62141 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
62142   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
62143     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
62144 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
62145     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
62146       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
62147   echo $ECHO_N "(cached) $ECHO_C" >&6
62148 else
62149
62150         if test x$gcc_no_link = xyes; then
62151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62153    { (exit 1); exit 1; }; }
62154 fi
62155 cat >conftest.$ac_ext <<_ACEOF
62156 /* confdefs.h.  */
62157 _ACEOF
62158 cat confdefs.h >>conftest.$ac_ext
62159 cat >>conftest.$ac_ext <<_ACEOF
62160 /* end confdefs.h.  */
62161 #include <math.h>
62162 int
62163 main ()
62164 {
62165  __builtin_fabs(0);
62166   ;
62167   return 0;
62168 }
62169 _ACEOF
62170 rm -f conftest.$ac_objext conftest$ac_exeext
62171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62172   (eval $ac_link) 2>conftest.er1
62173   ac_status=$?
62174   grep -v '^ *+' conftest.er1 >conftest.err
62175   rm -f conftest.er1
62176   cat conftest.err >&5
62177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62178   (exit $ac_status); } &&
62179          { ac_try='test -z "$ac_c_werror_flag"
62180                          || test ! -s conftest.err'
62181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62182   (eval $ac_try) 2>&5
62183   ac_status=$?
62184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185   (exit $ac_status); }; } &&
62186          { ac_try='test -s conftest$ac_exeext'
62187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62188   (eval $ac_try) 2>&5
62189   ac_status=$?
62190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62191   (exit $ac_status); }; }; then
62192   glibcxx_cv_func___builtin_fabs_link=yes
62193 else
62194   echo "$as_me: failed program was:" >&5
62195 sed 's/^/| /' conftest.$ac_ext >&5
62196
62197 glibcxx_cv_func___builtin_fabs_link=no
62198 fi
62199 rm -f conftest.err conftest.$ac_objext \
62200       conftest$ac_exeext conftest.$ac_ext
62201
62202 fi
62203
62204     fi
62205     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
62206 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
62207
62208     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
62209
62210 cat >>confdefs.h <<\_ACEOF
62211 #define HAVE___BUILTIN_FABS 1
62212 _ACEOF
62213
62214     fi
62215
62216   fi
62217
62218
62219   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
62220 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
62221   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
62222     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
62223   echo $ECHO_N "(cached) $ECHO_C" >&6
62224 else
62225
62226
62227
62228       ac_ext=cc
62229 ac_cpp='$CXXCPP $CPPFLAGS'
62230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233
62234       cat >conftest.$ac_ext <<_ACEOF
62235 /* confdefs.h.  */
62236 _ACEOF
62237 cat confdefs.h >>conftest.$ac_ext
62238 cat >>conftest.$ac_ext <<_ACEOF
62239 /* end confdefs.h.  */
62240 #include <math.h>
62241 int
62242 main ()
62243 {
62244  __builtin_fabsl(0);
62245   ;
62246   return 0;
62247 }
62248 _ACEOF
62249 rm -f conftest.$ac_objext
62250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62251   (eval $ac_compile) 2>conftest.er1
62252   ac_status=$?
62253   grep -v '^ *+' conftest.er1 >conftest.err
62254   rm -f conftest.er1
62255   cat conftest.err >&5
62256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62257   (exit $ac_status); } &&
62258          { ac_try='test -z "$ac_cxx_werror_flag"
62259                          || test ! -s conftest.err'
62260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62261   (eval $ac_try) 2>&5
62262   ac_status=$?
62263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264   (exit $ac_status); }; } &&
62265          { ac_try='test -s conftest.$ac_objext'
62266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62267   (eval $ac_try) 2>&5
62268   ac_status=$?
62269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62270   (exit $ac_status); }; }; then
62271   glibcxx_cv_func___builtin_fabsl_use=yes
62272 else
62273   echo "$as_me: failed program was:" >&5
62274 sed 's/^/| /' conftest.$ac_ext >&5
62275
62276 glibcxx_cv_func___builtin_fabsl_use=no
62277 fi
62278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62279       ac_ext=c
62280 ac_cpp='$CPP $CPPFLAGS'
62281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62284
62285
62286 fi
62287
62288   fi
62289   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
62290 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
62291   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
62292     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
62293 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
62294     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
62295       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
62296   echo $ECHO_N "(cached) $ECHO_C" >&6
62297 else
62298
62299         if test x$gcc_no_link = xyes; then
62300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62302    { (exit 1); exit 1; }; }
62303 fi
62304 cat >conftest.$ac_ext <<_ACEOF
62305 /* confdefs.h.  */
62306 _ACEOF
62307 cat confdefs.h >>conftest.$ac_ext
62308 cat >>conftest.$ac_ext <<_ACEOF
62309 /* end confdefs.h.  */
62310 #include <math.h>
62311 int
62312 main ()
62313 {
62314  __builtin_fabsl(0);
62315   ;
62316   return 0;
62317 }
62318 _ACEOF
62319 rm -f conftest.$ac_objext conftest$ac_exeext
62320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62321   (eval $ac_link) 2>conftest.er1
62322   ac_status=$?
62323   grep -v '^ *+' conftest.er1 >conftest.err
62324   rm -f conftest.er1
62325   cat conftest.err >&5
62326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62327   (exit $ac_status); } &&
62328          { ac_try='test -z "$ac_c_werror_flag"
62329                          || test ! -s conftest.err'
62330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62331   (eval $ac_try) 2>&5
62332   ac_status=$?
62333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62334   (exit $ac_status); }; } &&
62335          { ac_try='test -s conftest$ac_exeext'
62336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62337   (eval $ac_try) 2>&5
62338   ac_status=$?
62339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62340   (exit $ac_status); }; }; then
62341   glibcxx_cv_func___builtin_fabsl_link=yes
62342 else
62343   echo "$as_me: failed program was:" >&5
62344 sed 's/^/| /' conftest.$ac_ext >&5
62345
62346 glibcxx_cv_func___builtin_fabsl_link=no
62347 fi
62348 rm -f conftest.err conftest.$ac_objext \
62349       conftest$ac_exeext conftest.$ac_ext
62350
62351 fi
62352
62353     fi
62354     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
62355 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
62356
62357     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
62358
62359 cat >>confdefs.h <<\_ACEOF
62360 #define HAVE___BUILTIN_FABSL 1
62361 _ACEOF
62362
62363     fi
62364
62365   fi
62366
62367
62368   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
62369 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
62370   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
62371     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
62372   echo $ECHO_N "(cached) $ECHO_C" >&6
62373 else
62374
62375
62376
62377       ac_ext=cc
62378 ac_cpp='$CXXCPP $CPPFLAGS'
62379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62382
62383       cat >conftest.$ac_ext <<_ACEOF
62384 /* confdefs.h.  */
62385 _ACEOF
62386 cat confdefs.h >>conftest.$ac_ext
62387 cat >>conftest.$ac_ext <<_ACEOF
62388 /* end confdefs.h.  */
62389 #include <math.h>
62390 int
62391 main ()
62392 {
62393  __builtin_labs(0);
62394   ;
62395   return 0;
62396 }
62397 _ACEOF
62398 rm -f conftest.$ac_objext
62399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62400   (eval $ac_compile) 2>conftest.er1
62401   ac_status=$?
62402   grep -v '^ *+' conftest.er1 >conftest.err
62403   rm -f conftest.er1
62404   cat conftest.err >&5
62405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62406   (exit $ac_status); } &&
62407          { ac_try='test -z "$ac_cxx_werror_flag"
62408                          || test ! -s conftest.err'
62409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62410   (eval $ac_try) 2>&5
62411   ac_status=$?
62412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413   (exit $ac_status); }; } &&
62414          { ac_try='test -s conftest.$ac_objext'
62415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62416   (eval $ac_try) 2>&5
62417   ac_status=$?
62418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62419   (exit $ac_status); }; }; then
62420   glibcxx_cv_func___builtin_labs_use=yes
62421 else
62422   echo "$as_me: failed program was:" >&5
62423 sed 's/^/| /' conftest.$ac_ext >&5
62424
62425 glibcxx_cv_func___builtin_labs_use=no
62426 fi
62427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62428       ac_ext=c
62429 ac_cpp='$CPP $CPPFLAGS'
62430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62433
62434
62435 fi
62436
62437   fi
62438   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
62439 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
62440   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
62441     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
62442 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
62443     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
62444       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
62445   echo $ECHO_N "(cached) $ECHO_C" >&6
62446 else
62447
62448         if test x$gcc_no_link = xyes; then
62449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62451    { (exit 1); exit 1; }; }
62452 fi
62453 cat >conftest.$ac_ext <<_ACEOF
62454 /* confdefs.h.  */
62455 _ACEOF
62456 cat confdefs.h >>conftest.$ac_ext
62457 cat >>conftest.$ac_ext <<_ACEOF
62458 /* end confdefs.h.  */
62459 #include <math.h>
62460 int
62461 main ()
62462 {
62463  __builtin_labs(0);
62464   ;
62465   return 0;
62466 }
62467 _ACEOF
62468 rm -f conftest.$ac_objext conftest$ac_exeext
62469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62470   (eval $ac_link) 2>conftest.er1
62471   ac_status=$?
62472   grep -v '^ *+' conftest.er1 >conftest.err
62473   rm -f conftest.er1
62474   cat conftest.err >&5
62475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62476   (exit $ac_status); } &&
62477          { ac_try='test -z "$ac_c_werror_flag"
62478                          || test ! -s conftest.err'
62479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62480   (eval $ac_try) 2>&5
62481   ac_status=$?
62482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483   (exit $ac_status); }; } &&
62484          { ac_try='test -s conftest$ac_exeext'
62485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62486   (eval $ac_try) 2>&5
62487   ac_status=$?
62488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62489   (exit $ac_status); }; }; then
62490   glibcxx_cv_func___builtin_labs_link=yes
62491 else
62492   echo "$as_me: failed program was:" >&5
62493 sed 's/^/| /' conftest.$ac_ext >&5
62494
62495 glibcxx_cv_func___builtin_labs_link=no
62496 fi
62497 rm -f conftest.err conftest.$ac_objext \
62498       conftest$ac_exeext conftest.$ac_ext
62499
62500 fi
62501
62502     fi
62503     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62504 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62505
62506     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62507
62508 cat >>confdefs.h <<\_ACEOF
62509 #define HAVE___BUILTIN_LABS 1
62510 _ACEOF
62511
62512     fi
62513
62514   fi
62515
62516
62517
62518   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62519 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62520   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62521     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62522   echo $ECHO_N "(cached) $ECHO_C" >&6
62523 else
62524
62525
62526
62527       ac_ext=cc
62528 ac_cpp='$CXXCPP $CPPFLAGS'
62529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62532
62533       cat >conftest.$ac_ext <<_ACEOF
62534 /* confdefs.h.  */
62535 _ACEOF
62536 cat confdefs.h >>conftest.$ac_ext
62537 cat >>conftest.$ac_ext <<_ACEOF
62538 /* end confdefs.h.  */
62539 #include <math.h>
62540 int
62541 main ()
62542 {
62543  __builtin_sqrtf(0);
62544   ;
62545   return 0;
62546 }
62547 _ACEOF
62548 rm -f conftest.$ac_objext
62549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62550   (eval $ac_compile) 2>conftest.er1
62551   ac_status=$?
62552   grep -v '^ *+' conftest.er1 >conftest.err
62553   rm -f conftest.er1
62554   cat conftest.err >&5
62555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62556   (exit $ac_status); } &&
62557          { ac_try='test -z "$ac_cxx_werror_flag"
62558                          || test ! -s conftest.err'
62559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62560   (eval $ac_try) 2>&5
62561   ac_status=$?
62562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62563   (exit $ac_status); }; } &&
62564          { ac_try='test -s conftest.$ac_objext'
62565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62566   (eval $ac_try) 2>&5
62567   ac_status=$?
62568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62569   (exit $ac_status); }; }; then
62570   glibcxx_cv_func___builtin_sqrtf_use=yes
62571 else
62572   echo "$as_me: failed program was:" >&5
62573 sed 's/^/| /' conftest.$ac_ext >&5
62574
62575 glibcxx_cv_func___builtin_sqrtf_use=no
62576 fi
62577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62578       ac_ext=c
62579 ac_cpp='$CPP $CPPFLAGS'
62580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62583
62584
62585 fi
62586
62587   fi
62588   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62589 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62590   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62591     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62592 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62593     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62594       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62595   echo $ECHO_N "(cached) $ECHO_C" >&6
62596 else
62597
62598         if test x$gcc_no_link = xyes; then
62599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62601    { (exit 1); exit 1; }; }
62602 fi
62603 cat >conftest.$ac_ext <<_ACEOF
62604 /* confdefs.h.  */
62605 _ACEOF
62606 cat confdefs.h >>conftest.$ac_ext
62607 cat >>conftest.$ac_ext <<_ACEOF
62608 /* end confdefs.h.  */
62609 #include <math.h>
62610 int
62611 main ()
62612 {
62613  __builtin_sqrtf(0);
62614   ;
62615   return 0;
62616 }
62617 _ACEOF
62618 rm -f conftest.$ac_objext conftest$ac_exeext
62619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62620   (eval $ac_link) 2>conftest.er1
62621   ac_status=$?
62622   grep -v '^ *+' conftest.er1 >conftest.err
62623   rm -f conftest.er1
62624   cat conftest.err >&5
62625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62626   (exit $ac_status); } &&
62627          { ac_try='test -z "$ac_c_werror_flag"
62628                          || test ! -s conftest.err'
62629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62630   (eval $ac_try) 2>&5
62631   ac_status=$?
62632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633   (exit $ac_status); }; } &&
62634          { ac_try='test -s conftest$ac_exeext'
62635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62636   (eval $ac_try) 2>&5
62637   ac_status=$?
62638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62639   (exit $ac_status); }; }; then
62640   glibcxx_cv_func___builtin_sqrtf_link=yes
62641 else
62642   echo "$as_me: failed program was:" >&5
62643 sed 's/^/| /' conftest.$ac_ext >&5
62644
62645 glibcxx_cv_func___builtin_sqrtf_link=no
62646 fi
62647 rm -f conftest.err conftest.$ac_objext \
62648       conftest$ac_exeext conftest.$ac_ext
62649
62650 fi
62651
62652     fi
62653     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62654 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62655
62656     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62657
62658 cat >>confdefs.h <<\_ACEOF
62659 #define HAVE___BUILTIN_SQRTF 1
62660 _ACEOF
62661
62662     fi
62663
62664   fi
62665
62666
62667   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62668 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62669   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62670     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62671   echo $ECHO_N "(cached) $ECHO_C" >&6
62672 else
62673
62674
62675
62676       ac_ext=cc
62677 ac_cpp='$CXXCPP $CPPFLAGS'
62678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62681
62682       cat >conftest.$ac_ext <<_ACEOF
62683 /* confdefs.h.  */
62684 _ACEOF
62685 cat confdefs.h >>conftest.$ac_ext
62686 cat >>conftest.$ac_ext <<_ACEOF
62687 /* end confdefs.h.  */
62688 #include <math.h>
62689 int
62690 main ()
62691 {
62692  __builtin_sqrt(0);
62693   ;
62694   return 0;
62695 }
62696 _ACEOF
62697 rm -f conftest.$ac_objext
62698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62699   (eval $ac_compile) 2>conftest.er1
62700   ac_status=$?
62701   grep -v '^ *+' conftest.er1 >conftest.err
62702   rm -f conftest.er1
62703   cat conftest.err >&5
62704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62705   (exit $ac_status); } &&
62706          { ac_try='test -z "$ac_cxx_werror_flag"
62707                          || test ! -s conftest.err'
62708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62709   (eval $ac_try) 2>&5
62710   ac_status=$?
62711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62712   (exit $ac_status); }; } &&
62713          { ac_try='test -s conftest.$ac_objext'
62714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715   (eval $ac_try) 2>&5
62716   ac_status=$?
62717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718   (exit $ac_status); }; }; then
62719   glibcxx_cv_func___builtin_sqrt_use=yes
62720 else
62721   echo "$as_me: failed program was:" >&5
62722 sed 's/^/| /' conftest.$ac_ext >&5
62723
62724 glibcxx_cv_func___builtin_sqrt_use=no
62725 fi
62726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62727       ac_ext=c
62728 ac_cpp='$CPP $CPPFLAGS'
62729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62732
62733
62734 fi
62735
62736   fi
62737   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62738 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62739   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62740     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62741 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62742     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62743       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62744   echo $ECHO_N "(cached) $ECHO_C" >&6
62745 else
62746
62747         if test x$gcc_no_link = xyes; then
62748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62750    { (exit 1); exit 1; }; }
62751 fi
62752 cat >conftest.$ac_ext <<_ACEOF
62753 /* confdefs.h.  */
62754 _ACEOF
62755 cat confdefs.h >>conftest.$ac_ext
62756 cat >>conftest.$ac_ext <<_ACEOF
62757 /* end confdefs.h.  */
62758 #include <math.h>
62759 int
62760 main ()
62761 {
62762  __builtin_sqrt(0);
62763   ;
62764   return 0;
62765 }
62766 _ACEOF
62767 rm -f conftest.$ac_objext conftest$ac_exeext
62768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62769   (eval $ac_link) 2>conftest.er1
62770   ac_status=$?
62771   grep -v '^ *+' conftest.er1 >conftest.err
62772   rm -f conftest.er1
62773   cat conftest.err >&5
62774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62775   (exit $ac_status); } &&
62776          { ac_try='test -z "$ac_c_werror_flag"
62777                          || test ! -s conftest.err'
62778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62779   (eval $ac_try) 2>&5
62780   ac_status=$?
62781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62782   (exit $ac_status); }; } &&
62783          { ac_try='test -s conftest$ac_exeext'
62784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62785   (eval $ac_try) 2>&5
62786   ac_status=$?
62787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62788   (exit $ac_status); }; }; then
62789   glibcxx_cv_func___builtin_sqrt_link=yes
62790 else
62791   echo "$as_me: failed program was:" >&5
62792 sed 's/^/| /' conftest.$ac_ext >&5
62793
62794 glibcxx_cv_func___builtin_sqrt_link=no
62795 fi
62796 rm -f conftest.err conftest.$ac_objext \
62797       conftest$ac_exeext conftest.$ac_ext
62798
62799 fi
62800
62801     fi
62802     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62803 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62804
62805     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62806
62807 cat >>confdefs.h <<\_ACEOF
62808 #define HAVE___BUILTIN_SQRT 1
62809 _ACEOF
62810
62811     fi
62812
62813   fi
62814
62815
62816   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62817 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62818   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62819     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62820   echo $ECHO_N "(cached) $ECHO_C" >&6
62821 else
62822
62823
62824
62825       ac_ext=cc
62826 ac_cpp='$CXXCPP $CPPFLAGS'
62827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830
62831       cat >conftest.$ac_ext <<_ACEOF
62832 /* confdefs.h.  */
62833 _ACEOF
62834 cat confdefs.h >>conftest.$ac_ext
62835 cat >>conftest.$ac_ext <<_ACEOF
62836 /* end confdefs.h.  */
62837 #include <math.h>
62838 int
62839 main ()
62840 {
62841  __builtin_sqrtl(0);
62842   ;
62843   return 0;
62844 }
62845 _ACEOF
62846 rm -f conftest.$ac_objext
62847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62848   (eval $ac_compile) 2>conftest.er1
62849   ac_status=$?
62850   grep -v '^ *+' conftest.er1 >conftest.err
62851   rm -f conftest.er1
62852   cat conftest.err >&5
62853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62854   (exit $ac_status); } &&
62855          { ac_try='test -z "$ac_cxx_werror_flag"
62856                          || test ! -s conftest.err'
62857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62858   (eval $ac_try) 2>&5
62859   ac_status=$?
62860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62861   (exit $ac_status); }; } &&
62862          { ac_try='test -s conftest.$ac_objext'
62863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62864   (eval $ac_try) 2>&5
62865   ac_status=$?
62866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62867   (exit $ac_status); }; }; then
62868   glibcxx_cv_func___builtin_sqrtl_use=yes
62869 else
62870   echo "$as_me: failed program was:" >&5
62871 sed 's/^/| /' conftest.$ac_ext >&5
62872
62873 glibcxx_cv_func___builtin_sqrtl_use=no
62874 fi
62875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62876       ac_ext=c
62877 ac_cpp='$CPP $CPPFLAGS'
62878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62881
62882
62883 fi
62884
62885   fi
62886   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62888   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62889     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62890 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62891     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62892       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62893   echo $ECHO_N "(cached) $ECHO_C" >&6
62894 else
62895
62896         if test x$gcc_no_link = xyes; then
62897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62899    { (exit 1); exit 1; }; }
62900 fi
62901 cat >conftest.$ac_ext <<_ACEOF
62902 /* confdefs.h.  */
62903 _ACEOF
62904 cat confdefs.h >>conftest.$ac_ext
62905 cat >>conftest.$ac_ext <<_ACEOF
62906 /* end confdefs.h.  */
62907 #include <math.h>
62908 int
62909 main ()
62910 {
62911  __builtin_sqrtl(0);
62912   ;
62913   return 0;
62914 }
62915 _ACEOF
62916 rm -f conftest.$ac_objext conftest$ac_exeext
62917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62918   (eval $ac_link) 2>conftest.er1
62919   ac_status=$?
62920   grep -v '^ *+' conftest.er1 >conftest.err
62921   rm -f conftest.er1
62922   cat conftest.err >&5
62923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62924   (exit $ac_status); } &&
62925          { ac_try='test -z "$ac_c_werror_flag"
62926                          || test ! -s conftest.err'
62927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62928   (eval $ac_try) 2>&5
62929   ac_status=$?
62930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62931   (exit $ac_status); }; } &&
62932          { ac_try='test -s conftest$ac_exeext'
62933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62934   (eval $ac_try) 2>&5
62935   ac_status=$?
62936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62937   (exit $ac_status); }; }; then
62938   glibcxx_cv_func___builtin_sqrtl_link=yes
62939 else
62940   echo "$as_me: failed program was:" >&5
62941 sed 's/^/| /' conftest.$ac_ext >&5
62942
62943 glibcxx_cv_func___builtin_sqrtl_link=no
62944 fi
62945 rm -f conftest.err conftest.$ac_objext \
62946       conftest$ac_exeext conftest.$ac_ext
62947
62948 fi
62949
62950     fi
62951     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62953
62954     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62955
62956 cat >>confdefs.h <<\_ACEOF
62957 #define HAVE___BUILTIN_SQRTL 1
62958 _ACEOF
62959
62960     fi
62961
62962   fi
62963
62964
62965
62966   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62967 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62968   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62969     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62970   echo $ECHO_N "(cached) $ECHO_C" >&6
62971 else
62972
62973
62974
62975       ac_ext=cc
62976 ac_cpp='$CXXCPP $CPPFLAGS'
62977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62980
62981       cat >conftest.$ac_ext <<_ACEOF
62982 /* confdefs.h.  */
62983 _ACEOF
62984 cat confdefs.h >>conftest.$ac_ext
62985 cat >>conftest.$ac_ext <<_ACEOF
62986 /* end confdefs.h.  */
62987 #include <math.h>
62988 int
62989 main ()
62990 {
62991  __builtin_sinf(0);
62992   ;
62993   return 0;
62994 }
62995 _ACEOF
62996 rm -f conftest.$ac_objext
62997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62998   (eval $ac_compile) 2>conftest.er1
62999   ac_status=$?
63000   grep -v '^ *+' conftest.er1 >conftest.err
63001   rm -f conftest.er1
63002   cat conftest.err >&5
63003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63004   (exit $ac_status); } &&
63005          { ac_try='test -z "$ac_cxx_werror_flag"
63006                          || test ! -s conftest.err'
63007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63008   (eval $ac_try) 2>&5
63009   ac_status=$?
63010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63011   (exit $ac_status); }; } &&
63012          { ac_try='test -s conftest.$ac_objext'
63013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63014   (eval $ac_try) 2>&5
63015   ac_status=$?
63016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63017   (exit $ac_status); }; }; then
63018   glibcxx_cv_func___builtin_sinf_use=yes
63019 else
63020   echo "$as_me: failed program was:" >&5
63021 sed 's/^/| /' conftest.$ac_ext >&5
63022
63023 glibcxx_cv_func___builtin_sinf_use=no
63024 fi
63025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63026       ac_ext=c
63027 ac_cpp='$CPP $CPPFLAGS'
63028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63031
63032
63033 fi
63034
63035   fi
63036   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
63037 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
63038   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
63039     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
63040 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
63041     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
63042       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
63043   echo $ECHO_N "(cached) $ECHO_C" >&6
63044 else
63045
63046         if test x$gcc_no_link = xyes; then
63047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63049    { (exit 1); exit 1; }; }
63050 fi
63051 cat >conftest.$ac_ext <<_ACEOF
63052 /* confdefs.h.  */
63053 _ACEOF
63054 cat confdefs.h >>conftest.$ac_ext
63055 cat >>conftest.$ac_ext <<_ACEOF
63056 /* end confdefs.h.  */
63057 #include <math.h>
63058 int
63059 main ()
63060 {
63061  __builtin_sinf(0);
63062   ;
63063   return 0;
63064 }
63065 _ACEOF
63066 rm -f conftest.$ac_objext conftest$ac_exeext
63067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63068   (eval $ac_link) 2>conftest.er1
63069   ac_status=$?
63070   grep -v '^ *+' conftest.er1 >conftest.err
63071   rm -f conftest.er1
63072   cat conftest.err >&5
63073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63074   (exit $ac_status); } &&
63075          { ac_try='test -z "$ac_c_werror_flag"
63076                          || test ! -s conftest.err'
63077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63078   (eval $ac_try) 2>&5
63079   ac_status=$?
63080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63081   (exit $ac_status); }; } &&
63082          { ac_try='test -s conftest$ac_exeext'
63083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63084   (eval $ac_try) 2>&5
63085   ac_status=$?
63086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63087   (exit $ac_status); }; }; then
63088   glibcxx_cv_func___builtin_sinf_link=yes
63089 else
63090   echo "$as_me: failed program was:" >&5
63091 sed 's/^/| /' conftest.$ac_ext >&5
63092
63093 glibcxx_cv_func___builtin_sinf_link=no
63094 fi
63095 rm -f conftest.err conftest.$ac_objext \
63096       conftest$ac_exeext conftest.$ac_ext
63097
63098 fi
63099
63100     fi
63101     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
63102 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
63103
63104     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
63105
63106 cat >>confdefs.h <<\_ACEOF
63107 #define HAVE___BUILTIN_SINF 1
63108 _ACEOF
63109
63110     fi
63111
63112   fi
63113
63114
63115   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
63116 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
63117   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
63118     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
63119   echo $ECHO_N "(cached) $ECHO_C" >&6
63120 else
63121
63122
63123
63124       ac_ext=cc
63125 ac_cpp='$CXXCPP $CPPFLAGS'
63126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63129
63130       cat >conftest.$ac_ext <<_ACEOF
63131 /* confdefs.h.  */
63132 _ACEOF
63133 cat confdefs.h >>conftest.$ac_ext
63134 cat >>conftest.$ac_ext <<_ACEOF
63135 /* end confdefs.h.  */
63136 #include <math.h>
63137 int
63138 main ()
63139 {
63140  __builtin_sin(0);
63141   ;
63142   return 0;
63143 }
63144 _ACEOF
63145 rm -f conftest.$ac_objext
63146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63147   (eval $ac_compile) 2>conftest.er1
63148   ac_status=$?
63149   grep -v '^ *+' conftest.er1 >conftest.err
63150   rm -f conftest.er1
63151   cat conftest.err >&5
63152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63153   (exit $ac_status); } &&
63154          { ac_try='test -z "$ac_cxx_werror_flag"
63155                          || test ! -s conftest.err'
63156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63157   (eval $ac_try) 2>&5
63158   ac_status=$?
63159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160   (exit $ac_status); }; } &&
63161          { ac_try='test -s conftest.$ac_objext'
63162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63163   (eval $ac_try) 2>&5
63164   ac_status=$?
63165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166   (exit $ac_status); }; }; then
63167   glibcxx_cv_func___builtin_sin_use=yes
63168 else
63169   echo "$as_me: failed program was:" >&5
63170 sed 's/^/| /' conftest.$ac_ext >&5
63171
63172 glibcxx_cv_func___builtin_sin_use=no
63173 fi
63174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63175       ac_ext=c
63176 ac_cpp='$CPP $CPPFLAGS'
63177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63180
63181
63182 fi
63183
63184   fi
63185   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
63186 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
63187   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
63188     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
63189 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
63190     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
63191       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
63192   echo $ECHO_N "(cached) $ECHO_C" >&6
63193 else
63194
63195         if test x$gcc_no_link = xyes; then
63196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63198    { (exit 1); exit 1; }; }
63199 fi
63200 cat >conftest.$ac_ext <<_ACEOF
63201 /* confdefs.h.  */
63202 _ACEOF
63203 cat confdefs.h >>conftest.$ac_ext
63204 cat >>conftest.$ac_ext <<_ACEOF
63205 /* end confdefs.h.  */
63206 #include <math.h>
63207 int
63208 main ()
63209 {
63210  __builtin_sin(0);
63211   ;
63212   return 0;
63213 }
63214 _ACEOF
63215 rm -f conftest.$ac_objext conftest$ac_exeext
63216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63217   (eval $ac_link) 2>conftest.er1
63218   ac_status=$?
63219   grep -v '^ *+' conftest.er1 >conftest.err
63220   rm -f conftest.er1
63221   cat conftest.err >&5
63222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223   (exit $ac_status); } &&
63224          { ac_try='test -z "$ac_c_werror_flag"
63225                          || test ! -s conftest.err'
63226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63227   (eval $ac_try) 2>&5
63228   ac_status=$?
63229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63230   (exit $ac_status); }; } &&
63231          { ac_try='test -s conftest$ac_exeext'
63232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63233   (eval $ac_try) 2>&5
63234   ac_status=$?
63235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63236   (exit $ac_status); }; }; then
63237   glibcxx_cv_func___builtin_sin_link=yes
63238 else
63239   echo "$as_me: failed program was:" >&5
63240 sed 's/^/| /' conftest.$ac_ext >&5
63241
63242 glibcxx_cv_func___builtin_sin_link=no
63243 fi
63244 rm -f conftest.err conftest.$ac_objext \
63245       conftest$ac_exeext conftest.$ac_ext
63246
63247 fi
63248
63249     fi
63250     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
63251 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
63252
63253     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
63254
63255 cat >>confdefs.h <<\_ACEOF
63256 #define HAVE___BUILTIN_SIN 1
63257 _ACEOF
63258
63259     fi
63260
63261   fi
63262
63263
63264   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
63265 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
63266   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
63267     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
63268   echo $ECHO_N "(cached) $ECHO_C" >&6
63269 else
63270
63271
63272
63273       ac_ext=cc
63274 ac_cpp='$CXXCPP $CPPFLAGS'
63275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63278
63279       cat >conftest.$ac_ext <<_ACEOF
63280 /* confdefs.h.  */
63281 _ACEOF
63282 cat confdefs.h >>conftest.$ac_ext
63283 cat >>conftest.$ac_ext <<_ACEOF
63284 /* end confdefs.h.  */
63285 #include <math.h>
63286 int
63287 main ()
63288 {
63289  __builtin_sinl(0);
63290   ;
63291   return 0;
63292 }
63293 _ACEOF
63294 rm -f conftest.$ac_objext
63295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63296   (eval $ac_compile) 2>conftest.er1
63297   ac_status=$?
63298   grep -v '^ *+' conftest.er1 >conftest.err
63299   rm -f conftest.er1
63300   cat conftest.err >&5
63301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63302   (exit $ac_status); } &&
63303          { ac_try='test -z "$ac_cxx_werror_flag"
63304                          || test ! -s conftest.err'
63305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63306   (eval $ac_try) 2>&5
63307   ac_status=$?
63308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63309   (exit $ac_status); }; } &&
63310          { ac_try='test -s conftest.$ac_objext'
63311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63312   (eval $ac_try) 2>&5
63313   ac_status=$?
63314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63315   (exit $ac_status); }; }; then
63316   glibcxx_cv_func___builtin_sinl_use=yes
63317 else
63318   echo "$as_me: failed program was:" >&5
63319 sed 's/^/| /' conftest.$ac_ext >&5
63320
63321 glibcxx_cv_func___builtin_sinl_use=no
63322 fi
63323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63324       ac_ext=c
63325 ac_cpp='$CPP $CPPFLAGS'
63326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63329
63330
63331 fi
63332
63333   fi
63334   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
63335 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
63336   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
63337     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
63338 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
63339     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
63340       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
63341   echo $ECHO_N "(cached) $ECHO_C" >&6
63342 else
63343
63344         if test x$gcc_no_link = xyes; then
63345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63347    { (exit 1); exit 1; }; }
63348 fi
63349 cat >conftest.$ac_ext <<_ACEOF
63350 /* confdefs.h.  */
63351 _ACEOF
63352 cat confdefs.h >>conftest.$ac_ext
63353 cat >>conftest.$ac_ext <<_ACEOF
63354 /* end confdefs.h.  */
63355 #include <math.h>
63356 int
63357 main ()
63358 {
63359  __builtin_sinl(0);
63360   ;
63361   return 0;
63362 }
63363 _ACEOF
63364 rm -f conftest.$ac_objext conftest$ac_exeext
63365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63366   (eval $ac_link) 2>conftest.er1
63367   ac_status=$?
63368   grep -v '^ *+' conftest.er1 >conftest.err
63369   rm -f conftest.er1
63370   cat conftest.err >&5
63371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63372   (exit $ac_status); } &&
63373          { ac_try='test -z "$ac_c_werror_flag"
63374                          || test ! -s conftest.err'
63375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63376   (eval $ac_try) 2>&5
63377   ac_status=$?
63378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63379   (exit $ac_status); }; } &&
63380          { ac_try='test -s conftest$ac_exeext'
63381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63382   (eval $ac_try) 2>&5
63383   ac_status=$?
63384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63385   (exit $ac_status); }; }; then
63386   glibcxx_cv_func___builtin_sinl_link=yes
63387 else
63388   echo "$as_me: failed program was:" >&5
63389 sed 's/^/| /' conftest.$ac_ext >&5
63390
63391 glibcxx_cv_func___builtin_sinl_link=no
63392 fi
63393 rm -f conftest.err conftest.$ac_objext \
63394       conftest$ac_exeext conftest.$ac_ext
63395
63396 fi
63397
63398     fi
63399     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
63400 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
63401
63402     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
63403
63404 cat >>confdefs.h <<\_ACEOF
63405 #define HAVE___BUILTIN_SINL 1
63406 _ACEOF
63407
63408     fi
63409
63410   fi
63411
63412
63413
63414   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
63415 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
63416   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
63417     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
63418   echo $ECHO_N "(cached) $ECHO_C" >&6
63419 else
63420
63421
63422
63423       ac_ext=cc
63424 ac_cpp='$CXXCPP $CPPFLAGS'
63425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63428
63429       cat >conftest.$ac_ext <<_ACEOF
63430 /* confdefs.h.  */
63431 _ACEOF
63432 cat confdefs.h >>conftest.$ac_ext
63433 cat >>conftest.$ac_ext <<_ACEOF
63434 /* end confdefs.h.  */
63435 #include <math.h>
63436 int
63437 main ()
63438 {
63439  __builtin_cosf(0);
63440   ;
63441   return 0;
63442 }
63443 _ACEOF
63444 rm -f conftest.$ac_objext
63445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63446   (eval $ac_compile) 2>conftest.er1
63447   ac_status=$?
63448   grep -v '^ *+' conftest.er1 >conftest.err
63449   rm -f conftest.er1
63450   cat conftest.err >&5
63451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63452   (exit $ac_status); } &&
63453          { ac_try='test -z "$ac_cxx_werror_flag"
63454                          || test ! -s conftest.err'
63455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63456   (eval $ac_try) 2>&5
63457   ac_status=$?
63458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63459   (exit $ac_status); }; } &&
63460          { ac_try='test -s conftest.$ac_objext'
63461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63462   (eval $ac_try) 2>&5
63463   ac_status=$?
63464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63465   (exit $ac_status); }; }; then
63466   glibcxx_cv_func___builtin_cosf_use=yes
63467 else
63468   echo "$as_me: failed program was:" >&5
63469 sed 's/^/| /' conftest.$ac_ext >&5
63470
63471 glibcxx_cv_func___builtin_cosf_use=no
63472 fi
63473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63474       ac_ext=c
63475 ac_cpp='$CPP $CPPFLAGS'
63476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63479
63480
63481 fi
63482
63483   fi
63484   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
63485 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
63486   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
63487     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
63488 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
63489     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
63490       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
63491   echo $ECHO_N "(cached) $ECHO_C" >&6
63492 else
63493
63494         if test x$gcc_no_link = xyes; then
63495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63497    { (exit 1); exit 1; }; }
63498 fi
63499 cat >conftest.$ac_ext <<_ACEOF
63500 /* confdefs.h.  */
63501 _ACEOF
63502 cat confdefs.h >>conftest.$ac_ext
63503 cat >>conftest.$ac_ext <<_ACEOF
63504 /* end confdefs.h.  */
63505 #include <math.h>
63506 int
63507 main ()
63508 {
63509  __builtin_cosf(0);
63510   ;
63511   return 0;
63512 }
63513 _ACEOF
63514 rm -f conftest.$ac_objext conftest$ac_exeext
63515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63516   (eval $ac_link) 2>conftest.er1
63517   ac_status=$?
63518   grep -v '^ *+' conftest.er1 >conftest.err
63519   rm -f conftest.er1
63520   cat conftest.err >&5
63521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522   (exit $ac_status); } &&
63523          { ac_try='test -z "$ac_c_werror_flag"
63524                          || test ! -s conftest.err'
63525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63526   (eval $ac_try) 2>&5
63527   ac_status=$?
63528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63529   (exit $ac_status); }; } &&
63530          { ac_try='test -s conftest$ac_exeext'
63531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63532   (eval $ac_try) 2>&5
63533   ac_status=$?
63534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535   (exit $ac_status); }; }; then
63536   glibcxx_cv_func___builtin_cosf_link=yes
63537 else
63538   echo "$as_me: failed program was:" >&5
63539 sed 's/^/| /' conftest.$ac_ext >&5
63540
63541 glibcxx_cv_func___builtin_cosf_link=no
63542 fi
63543 rm -f conftest.err conftest.$ac_objext \
63544       conftest$ac_exeext conftest.$ac_ext
63545
63546 fi
63547
63548     fi
63549     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
63550 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
63551
63552     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
63553
63554 cat >>confdefs.h <<\_ACEOF
63555 #define HAVE___BUILTIN_COSF 1
63556 _ACEOF
63557
63558     fi
63559
63560   fi
63561
63562
63563   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
63564 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
63565   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
63566     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
63567   echo $ECHO_N "(cached) $ECHO_C" >&6
63568 else
63569
63570
63571
63572       ac_ext=cc
63573 ac_cpp='$CXXCPP $CPPFLAGS'
63574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63577
63578       cat >conftest.$ac_ext <<_ACEOF
63579 /* confdefs.h.  */
63580 _ACEOF
63581 cat confdefs.h >>conftest.$ac_ext
63582 cat >>conftest.$ac_ext <<_ACEOF
63583 /* end confdefs.h.  */
63584 #include <math.h>
63585 int
63586 main ()
63587 {
63588  __builtin_cos(0);
63589   ;
63590   return 0;
63591 }
63592 _ACEOF
63593 rm -f conftest.$ac_objext
63594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63595   (eval $ac_compile) 2>conftest.er1
63596   ac_status=$?
63597   grep -v '^ *+' conftest.er1 >conftest.err
63598   rm -f conftest.er1
63599   cat conftest.err >&5
63600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63601   (exit $ac_status); } &&
63602          { ac_try='test -z "$ac_cxx_werror_flag"
63603                          || test ! -s conftest.err'
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); }; } &&
63609          { ac_try='test -s conftest.$ac_objext'
63610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63611   (eval $ac_try) 2>&5
63612   ac_status=$?
63613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63614   (exit $ac_status); }; }; then
63615   glibcxx_cv_func___builtin_cos_use=yes
63616 else
63617   echo "$as_me: failed program was:" >&5
63618 sed 's/^/| /' conftest.$ac_ext >&5
63619
63620 glibcxx_cv_func___builtin_cos_use=no
63621 fi
63622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63623       ac_ext=c
63624 ac_cpp='$CPP $CPPFLAGS'
63625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63628
63629
63630 fi
63631
63632   fi
63633   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63634 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63635   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63636     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63637 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63638     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63639       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63640   echo $ECHO_N "(cached) $ECHO_C" >&6
63641 else
63642
63643         if test x$gcc_no_link = xyes; then
63644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63646    { (exit 1); exit 1; }; }
63647 fi
63648 cat >conftest.$ac_ext <<_ACEOF
63649 /* confdefs.h.  */
63650 _ACEOF
63651 cat confdefs.h >>conftest.$ac_ext
63652 cat >>conftest.$ac_ext <<_ACEOF
63653 /* end confdefs.h.  */
63654 #include <math.h>
63655 int
63656 main ()
63657 {
63658  __builtin_cos(0);
63659   ;
63660   return 0;
63661 }
63662 _ACEOF
63663 rm -f conftest.$ac_objext conftest$ac_exeext
63664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63665   (eval $ac_link) 2>conftest.er1
63666   ac_status=$?
63667   grep -v '^ *+' conftest.er1 >conftest.err
63668   rm -f conftest.er1
63669   cat conftest.err >&5
63670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63671   (exit $ac_status); } &&
63672          { ac_try='test -z "$ac_c_werror_flag"
63673                          || test ! -s conftest.err'
63674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63675   (eval $ac_try) 2>&5
63676   ac_status=$?
63677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63678   (exit $ac_status); }; } &&
63679          { ac_try='test -s conftest$ac_exeext'
63680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681   (eval $ac_try) 2>&5
63682   ac_status=$?
63683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684   (exit $ac_status); }; }; then
63685   glibcxx_cv_func___builtin_cos_link=yes
63686 else
63687   echo "$as_me: failed program was:" >&5
63688 sed 's/^/| /' conftest.$ac_ext >&5
63689
63690 glibcxx_cv_func___builtin_cos_link=no
63691 fi
63692 rm -f conftest.err conftest.$ac_objext \
63693       conftest$ac_exeext conftest.$ac_ext
63694
63695 fi
63696
63697     fi
63698     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63699 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63700
63701     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63702
63703 cat >>confdefs.h <<\_ACEOF
63704 #define HAVE___BUILTIN_COS 1
63705 _ACEOF
63706
63707     fi
63708
63709   fi
63710
63711
63712   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63713 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63714   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63715     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63716   echo $ECHO_N "(cached) $ECHO_C" >&6
63717 else
63718
63719
63720
63721       ac_ext=cc
63722 ac_cpp='$CXXCPP $CPPFLAGS'
63723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63726
63727       cat >conftest.$ac_ext <<_ACEOF
63728 /* confdefs.h.  */
63729 _ACEOF
63730 cat confdefs.h >>conftest.$ac_ext
63731 cat >>conftest.$ac_ext <<_ACEOF
63732 /* end confdefs.h.  */
63733 #include <math.h>
63734 int
63735 main ()
63736 {
63737  __builtin_cosl(0);
63738   ;
63739   return 0;
63740 }
63741 _ACEOF
63742 rm -f conftest.$ac_objext
63743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63744   (eval $ac_compile) 2>conftest.er1
63745   ac_status=$?
63746   grep -v '^ *+' conftest.er1 >conftest.err
63747   rm -f conftest.er1
63748   cat conftest.err >&5
63749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63750   (exit $ac_status); } &&
63751          { ac_try='test -z "$ac_cxx_werror_flag"
63752                          || test ! -s conftest.err'
63753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63754   (eval $ac_try) 2>&5
63755   ac_status=$?
63756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63757   (exit $ac_status); }; } &&
63758          { ac_try='test -s conftest.$ac_objext'
63759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63760   (eval $ac_try) 2>&5
63761   ac_status=$?
63762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63763   (exit $ac_status); }; }; then
63764   glibcxx_cv_func___builtin_cosl_use=yes
63765 else
63766   echo "$as_me: failed program was:" >&5
63767 sed 's/^/| /' conftest.$ac_ext >&5
63768
63769 glibcxx_cv_func___builtin_cosl_use=no
63770 fi
63771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63772       ac_ext=c
63773 ac_cpp='$CPP $CPPFLAGS'
63774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63777
63778
63779 fi
63780
63781   fi
63782   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63783 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63784   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63785     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63786 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63787     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63788       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63789   echo $ECHO_N "(cached) $ECHO_C" >&6
63790 else
63791
63792         if test x$gcc_no_link = xyes; then
63793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63795    { (exit 1); exit 1; }; }
63796 fi
63797 cat >conftest.$ac_ext <<_ACEOF
63798 /* confdefs.h.  */
63799 _ACEOF
63800 cat confdefs.h >>conftest.$ac_ext
63801 cat >>conftest.$ac_ext <<_ACEOF
63802 /* end confdefs.h.  */
63803 #include <math.h>
63804 int
63805 main ()
63806 {
63807  __builtin_cosl(0);
63808   ;
63809   return 0;
63810 }
63811 _ACEOF
63812 rm -f conftest.$ac_objext conftest$ac_exeext
63813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63814   (eval $ac_link) 2>conftest.er1
63815   ac_status=$?
63816   grep -v '^ *+' conftest.er1 >conftest.err
63817   rm -f conftest.er1
63818   cat conftest.err >&5
63819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63820   (exit $ac_status); } &&
63821          { ac_try='test -z "$ac_c_werror_flag"
63822                          || test ! -s conftest.err'
63823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63824   (eval $ac_try) 2>&5
63825   ac_status=$?
63826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63827   (exit $ac_status); }; } &&
63828          { ac_try='test -s conftest$ac_exeext'
63829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63830   (eval $ac_try) 2>&5
63831   ac_status=$?
63832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63833   (exit $ac_status); }; }; then
63834   glibcxx_cv_func___builtin_cosl_link=yes
63835 else
63836   echo "$as_me: failed program was:" >&5
63837 sed 's/^/| /' conftest.$ac_ext >&5
63838
63839 glibcxx_cv_func___builtin_cosl_link=no
63840 fi
63841 rm -f conftest.err conftest.$ac_objext \
63842       conftest$ac_exeext conftest.$ac_ext
63843
63844 fi
63845
63846     fi
63847     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63848 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63849
63850     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63851
63852 cat >>confdefs.h <<\_ACEOF
63853 #define HAVE___BUILTIN_COSL 1
63854 _ACEOF
63855
63856     fi
63857
63858   fi
63859
63860
63861
63862
63863 echo "$as_me:$LINENO: checking for main in -lm" >&5
63864 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63865 if test "${ac_cv_lib_m_main+set}" = set; then
63866   echo $ECHO_N "(cached) $ECHO_C" >&6
63867 else
63868   ac_check_lib_save_LIBS=$LIBS
63869 LIBS="-lm  $LIBS"
63870 if test x$gcc_no_link = xyes; then
63871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873    { (exit 1); exit 1; }; }
63874 fi
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h.  */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h.  */
63881
63882
63883 int
63884 main ()
63885 {
63886 main ();
63887   ;
63888   return 0;
63889 }
63890 _ACEOF
63891 rm -f conftest.$ac_objext conftest$ac_exeext
63892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63893   (eval $ac_link) 2>conftest.er1
63894   ac_status=$?
63895   grep -v '^ *+' conftest.er1 >conftest.err
63896   rm -f conftest.er1
63897   cat conftest.err >&5
63898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63899   (exit $ac_status); } &&
63900          { ac_try='test -z "$ac_c_werror_flag"
63901                          || test ! -s conftest.err'
63902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63903   (eval $ac_try) 2>&5
63904   ac_status=$?
63905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63906   (exit $ac_status); }; } &&
63907          { ac_try='test -s conftest$ac_exeext'
63908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63909   (eval $ac_try) 2>&5
63910   ac_status=$?
63911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63912   (exit $ac_status); }; }; then
63913   ac_cv_lib_m_main=yes
63914 else
63915   echo "$as_me: failed program was:" >&5
63916 sed 's/^/| /' conftest.$ac_ext >&5
63917
63918 ac_cv_lib_m_main=no
63919 fi
63920 rm -f conftest.err conftest.$ac_objext \
63921       conftest$ac_exeext conftest.$ac_ext
63922 LIBS=$ac_check_lib_save_LIBS
63923 fi
63924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63925 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63926 if test $ac_cv_lib_m_main = yes; then
63927   cat >>confdefs.h <<_ACEOF
63928 #define HAVE_LIBM 1
63929 _ACEOF
63930
63931   LIBS="-lm $LIBS"
63932
63933 fi
63934
63935
63936 for ac_func in copysignf
63937 do
63938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63939 echo "$as_me:$LINENO: checking for $ac_func" >&5
63940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63941 if eval "test \"\${$as_ac_var+set}\" = set"; then
63942   echo $ECHO_N "(cached) $ECHO_C" >&6
63943 else
63944   if test x$gcc_no_link = xyes; then
63945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63947    { (exit 1); exit 1; }; }
63948 fi
63949 cat >conftest.$ac_ext <<_ACEOF
63950 /* confdefs.h.  */
63951 _ACEOF
63952 cat confdefs.h >>conftest.$ac_ext
63953 cat >>conftest.$ac_ext <<_ACEOF
63954 /* end confdefs.h.  */
63955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63957 #define $ac_func innocuous_$ac_func
63958
63959 /* System header to define __stub macros and hopefully few prototypes,
63960     which can conflict with char $ac_func (); below.
63961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63962     <limits.h> exists even on freestanding compilers.  */
63963
63964 #ifdef __STDC__
63965 # include <limits.h>
63966 #else
63967 # include <assert.h>
63968 #endif
63969
63970 #undef $ac_func
63971
63972 /* Override any gcc2 internal prototype to avoid an error.  */
63973 #ifdef __cplusplus
63974 extern "C"
63975 {
63976 #endif
63977 /* We use char because int might match the return type of a gcc2
63978    builtin and then its argument prototype would still apply.  */
63979 char $ac_func ();
63980 /* The GNU C library defines this for functions which it implements
63981     to always fail with ENOSYS.  Some functions are actually named
63982     something starting with __ and the normal name is an alias.  */
63983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63984 choke me
63985 #else
63986 char (*f) () = $ac_func;
63987 #endif
63988 #ifdef __cplusplus
63989 }
63990 #endif
63991
63992 int
63993 main ()
63994 {
63995 return f != $ac_func;
63996   ;
63997   return 0;
63998 }
63999 _ACEOF
64000 rm -f conftest.$ac_objext conftest$ac_exeext
64001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64002   (eval $ac_link) 2>conftest.er1
64003   ac_status=$?
64004   grep -v '^ *+' conftest.er1 >conftest.err
64005   rm -f conftest.er1
64006   cat conftest.err >&5
64007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64008   (exit $ac_status); } &&
64009          { ac_try='test -z "$ac_c_werror_flag"
64010                          || test ! -s conftest.err'
64011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64012   (eval $ac_try) 2>&5
64013   ac_status=$?
64014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64015   (exit $ac_status); }; } &&
64016          { ac_try='test -s conftest$ac_exeext'
64017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64018   (eval $ac_try) 2>&5
64019   ac_status=$?
64020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64021   (exit $ac_status); }; }; then
64022   eval "$as_ac_var=yes"
64023 else
64024   echo "$as_me: failed program was:" >&5
64025 sed 's/^/| /' conftest.$ac_ext >&5
64026
64027 eval "$as_ac_var=no"
64028 fi
64029 rm -f conftest.err conftest.$ac_objext \
64030       conftest$ac_exeext conftest.$ac_ext
64031 fi
64032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64034 if test `eval echo '${'$as_ac_var'}'` = yes; then
64035   cat >>confdefs.h <<_ACEOF
64036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64037 _ACEOF
64038
64039 else
64040   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64041 fi
64042 done
64043
64044
64045
64046 for ac_func in __signbit
64047 do
64048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64049 echo "$as_me:$LINENO: checking for $ac_func" >&5
64050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64051 if eval "test \"\${$as_ac_var+set}\" = set"; then
64052   echo $ECHO_N "(cached) $ECHO_C" >&6
64053 else
64054   if test x$gcc_no_link = xyes; then
64055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64057    { (exit 1); exit 1; }; }
64058 fi
64059 cat >conftest.$ac_ext <<_ACEOF
64060 /* confdefs.h.  */
64061 _ACEOF
64062 cat confdefs.h >>conftest.$ac_ext
64063 cat >>conftest.$ac_ext <<_ACEOF
64064 /* end confdefs.h.  */
64065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64067 #define $ac_func innocuous_$ac_func
64068
64069 /* System header to define __stub macros and hopefully few prototypes,
64070     which can conflict with char $ac_func (); below.
64071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64072     <limits.h> exists even on freestanding compilers.  */
64073
64074 #ifdef __STDC__
64075 # include <limits.h>
64076 #else
64077 # include <assert.h>
64078 #endif
64079
64080 #undef $ac_func
64081
64082 /* Override any gcc2 internal prototype to avoid an error.  */
64083 #ifdef __cplusplus
64084 extern "C"
64085 {
64086 #endif
64087 /* We use char because int might match the return type of a gcc2
64088    builtin and then its argument prototype would still apply.  */
64089 char $ac_func ();
64090 /* The GNU C library defines this for functions which it implements
64091     to always fail with ENOSYS.  Some functions are actually named
64092     something starting with __ and the normal name is an alias.  */
64093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64094 choke me
64095 #else
64096 char (*f) () = $ac_func;
64097 #endif
64098 #ifdef __cplusplus
64099 }
64100 #endif
64101
64102 int
64103 main ()
64104 {
64105 return f != $ac_func;
64106   ;
64107   return 0;
64108 }
64109 _ACEOF
64110 rm -f conftest.$ac_objext conftest$ac_exeext
64111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64112   (eval $ac_link) 2>conftest.er1
64113   ac_status=$?
64114   grep -v '^ *+' conftest.er1 >conftest.err
64115   rm -f conftest.er1
64116   cat conftest.err >&5
64117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118   (exit $ac_status); } &&
64119          { ac_try='test -z "$ac_c_werror_flag"
64120                          || test ! -s conftest.err'
64121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64122   (eval $ac_try) 2>&5
64123   ac_status=$?
64124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64125   (exit $ac_status); }; } &&
64126          { ac_try='test -s conftest$ac_exeext'
64127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64128   (eval $ac_try) 2>&5
64129   ac_status=$?
64130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64131   (exit $ac_status); }; }; then
64132   eval "$as_ac_var=yes"
64133 else
64134   echo "$as_me: failed program was:" >&5
64135 sed 's/^/| /' conftest.$ac_ext >&5
64136
64137 eval "$as_ac_var=no"
64138 fi
64139 rm -f conftest.err conftest.$ac_objext \
64140       conftest$ac_exeext conftest.$ac_ext
64141 fi
64142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64144 if test `eval echo '${'$as_ac_var'}'` = yes; then
64145   cat >>confdefs.h <<_ACEOF
64146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64147 _ACEOF
64148
64149 else
64150   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64151 fi
64152 done
64153
64154
64155
64156 for ac_func in __signbitf
64157 do
64158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64159 echo "$as_me:$LINENO: checking for $ac_func" >&5
64160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64161 if eval "test \"\${$as_ac_var+set}\" = set"; then
64162   echo $ECHO_N "(cached) $ECHO_C" >&6
64163 else
64164   if test x$gcc_no_link = xyes; then
64165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64167    { (exit 1); exit 1; }; }
64168 fi
64169 cat >conftest.$ac_ext <<_ACEOF
64170 /* confdefs.h.  */
64171 _ACEOF
64172 cat confdefs.h >>conftest.$ac_ext
64173 cat >>conftest.$ac_ext <<_ACEOF
64174 /* end confdefs.h.  */
64175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64177 #define $ac_func innocuous_$ac_func
64178
64179 /* System header to define __stub macros and hopefully few prototypes,
64180     which can conflict with char $ac_func (); below.
64181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64182     <limits.h> exists even on freestanding compilers.  */
64183
64184 #ifdef __STDC__
64185 # include <limits.h>
64186 #else
64187 # include <assert.h>
64188 #endif
64189
64190 #undef $ac_func
64191
64192 /* Override any gcc2 internal prototype to avoid an error.  */
64193 #ifdef __cplusplus
64194 extern "C"
64195 {
64196 #endif
64197 /* We use char because int might match the return type of a gcc2
64198    builtin and then its argument prototype would still apply.  */
64199 char $ac_func ();
64200 /* The GNU C library defines this for functions which it implements
64201     to always fail with ENOSYS.  Some functions are actually named
64202     something starting with __ and the normal name is an alias.  */
64203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64204 choke me
64205 #else
64206 char (*f) () = $ac_func;
64207 #endif
64208 #ifdef __cplusplus
64209 }
64210 #endif
64211
64212 int
64213 main ()
64214 {
64215 return f != $ac_func;
64216   ;
64217   return 0;
64218 }
64219 _ACEOF
64220 rm -f conftest.$ac_objext conftest$ac_exeext
64221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64222   (eval $ac_link) 2>conftest.er1
64223   ac_status=$?
64224   grep -v '^ *+' conftest.er1 >conftest.err
64225   rm -f conftest.er1
64226   cat conftest.err >&5
64227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64228   (exit $ac_status); } &&
64229          { ac_try='test -z "$ac_c_werror_flag"
64230                          || test ! -s conftest.err'
64231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64232   (eval $ac_try) 2>&5
64233   ac_status=$?
64234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64235   (exit $ac_status); }; } &&
64236          { ac_try='test -s conftest$ac_exeext'
64237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64238   (eval $ac_try) 2>&5
64239   ac_status=$?
64240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64241   (exit $ac_status); }; }; then
64242   eval "$as_ac_var=yes"
64243 else
64244   echo "$as_me: failed program was:" >&5
64245 sed 's/^/| /' conftest.$ac_ext >&5
64246
64247 eval "$as_ac_var=no"
64248 fi
64249 rm -f conftest.err conftest.$ac_objext \
64250       conftest$ac_exeext conftest.$ac_ext
64251 fi
64252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64254 if test `eval echo '${'$as_ac_var'}'` = yes; then
64255   cat >>confdefs.h <<_ACEOF
64256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64257 _ACEOF
64258
64259 else
64260   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64261 fi
64262 done
64263
64264
64265           if test x$ac_cv_func_copysignl = x"yes"; then
64266
64267 for ac_func in __signbitl
64268 do
64269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64270 echo "$as_me:$LINENO: checking for $ac_func" >&5
64271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64272 if eval "test \"\${$as_ac_var+set}\" = set"; then
64273   echo $ECHO_N "(cached) $ECHO_C" >&6
64274 else
64275   if test x$gcc_no_link = xyes; then
64276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64278    { (exit 1); exit 1; }; }
64279 fi
64280 cat >conftest.$ac_ext <<_ACEOF
64281 /* confdefs.h.  */
64282 _ACEOF
64283 cat confdefs.h >>conftest.$ac_ext
64284 cat >>conftest.$ac_ext <<_ACEOF
64285 /* end confdefs.h.  */
64286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64288 #define $ac_func innocuous_$ac_func
64289
64290 /* System header to define __stub macros and hopefully few prototypes,
64291     which can conflict with char $ac_func (); below.
64292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64293     <limits.h> exists even on freestanding compilers.  */
64294
64295 #ifdef __STDC__
64296 # include <limits.h>
64297 #else
64298 # include <assert.h>
64299 #endif
64300
64301 #undef $ac_func
64302
64303 /* Override any gcc2 internal prototype to avoid an error.  */
64304 #ifdef __cplusplus
64305 extern "C"
64306 {
64307 #endif
64308 /* We use char because int might match the return type of a gcc2
64309    builtin and then its argument prototype would still apply.  */
64310 char $ac_func ();
64311 /* The GNU C library defines this for functions which it implements
64312     to always fail with ENOSYS.  Some functions are actually named
64313     something starting with __ and the normal name is an alias.  */
64314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64315 choke me
64316 #else
64317 char (*f) () = $ac_func;
64318 #endif
64319 #ifdef __cplusplus
64320 }
64321 #endif
64322
64323 int
64324 main ()
64325 {
64326 return f != $ac_func;
64327   ;
64328   return 0;
64329 }
64330 _ACEOF
64331 rm -f conftest.$ac_objext conftest$ac_exeext
64332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64333   (eval $ac_link) 2>conftest.er1
64334   ac_status=$?
64335   grep -v '^ *+' conftest.er1 >conftest.err
64336   rm -f conftest.er1
64337   cat conftest.err >&5
64338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64339   (exit $ac_status); } &&
64340          { ac_try='test -z "$ac_c_werror_flag"
64341                          || test ! -s conftest.err'
64342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64343   (eval $ac_try) 2>&5
64344   ac_status=$?
64345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64346   (exit $ac_status); }; } &&
64347          { ac_try='test -s conftest$ac_exeext'
64348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64349   (eval $ac_try) 2>&5
64350   ac_status=$?
64351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64352   (exit $ac_status); }; }; then
64353   eval "$as_ac_var=yes"
64354 else
64355   echo "$as_me: failed program was:" >&5
64356 sed 's/^/| /' conftest.$ac_ext >&5
64357
64358 eval "$as_ac_var=no"
64359 fi
64360 rm -f conftest.err conftest.$ac_objext \
64361       conftest$ac_exeext conftest.$ac_ext
64362 fi
64363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64365 if test `eval echo '${'$as_ac_var'}'` = yes; then
64366   cat >>confdefs.h <<_ACEOF
64367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64368 _ACEOF
64369
64370 else
64371   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64372 fi
64373 done
64374
64375   fi
64376
64377   # Used in libmath/Makefile.am.
64378   if test -n "$LIBMATHOBJS"; then
64379     need_libmath=yes
64380   fi
64381
64382
64383
64384   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64385   ac_save_CXXFLAGS="$CXXFLAGS"
64386   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64387
64388
64389   echo "$as_me:$LINENO: checking for strtold declaration" >&5
64390 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64391   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64392     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64393   echo $ECHO_N "(cached) $ECHO_C" >&6
64394 else
64395
64396
64397
64398       ac_ext=cc
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64403
64404       cat >conftest.$ac_ext <<_ACEOF
64405 /* confdefs.h.  */
64406 _ACEOF
64407 cat confdefs.h >>conftest.$ac_ext
64408 cat >>conftest.$ac_ext <<_ACEOF
64409 /* end confdefs.h.  */
64410 #include <stdlib.h>
64411 int
64412 main ()
64413 {
64414  strtold(0, 0);
64415   ;
64416   return 0;
64417 }
64418 _ACEOF
64419 rm -f conftest.$ac_objext
64420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64421   (eval $ac_compile) 2>conftest.er1
64422   ac_status=$?
64423   grep -v '^ *+' conftest.er1 >conftest.err
64424   rm -f conftest.er1
64425   cat conftest.err >&5
64426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64427   (exit $ac_status); } &&
64428          { ac_try='test -z "$ac_cxx_werror_flag"
64429                          || test ! -s conftest.err'
64430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64431   (eval $ac_try) 2>&5
64432   ac_status=$?
64433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64434   (exit $ac_status); }; } &&
64435          { ac_try='test -s conftest.$ac_objext'
64436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64437   (eval $ac_try) 2>&5
64438   ac_status=$?
64439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64440   (exit $ac_status); }; }; then
64441   glibcxx_cv_func_strtold_use=yes
64442 else
64443   echo "$as_me: failed program was:" >&5
64444 sed 's/^/| /' conftest.$ac_ext >&5
64445
64446 glibcxx_cv_func_strtold_use=no
64447 fi
64448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64449       ac_ext=c
64450 ac_cpp='$CPP $CPPFLAGS'
64451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64454
64455
64456 fi
64457
64458   fi
64459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
64460 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64461   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64462
64463 for ac_func in strtold
64464 do
64465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64466 echo "$as_me:$LINENO: checking for $ac_func" >&5
64467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64468 if eval "test \"\${$as_ac_var+set}\" = set"; then
64469   echo $ECHO_N "(cached) $ECHO_C" >&6
64470 else
64471   if test x$gcc_no_link = xyes; then
64472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64474    { (exit 1); exit 1; }; }
64475 fi
64476 cat >conftest.$ac_ext <<_ACEOF
64477 /* confdefs.h.  */
64478 _ACEOF
64479 cat confdefs.h >>conftest.$ac_ext
64480 cat >>conftest.$ac_ext <<_ACEOF
64481 /* end confdefs.h.  */
64482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64484 #define $ac_func innocuous_$ac_func
64485
64486 /* System header to define __stub macros and hopefully few prototypes,
64487     which can conflict with char $ac_func (); below.
64488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64489     <limits.h> exists even on freestanding compilers.  */
64490
64491 #ifdef __STDC__
64492 # include <limits.h>
64493 #else
64494 # include <assert.h>
64495 #endif
64496
64497 #undef $ac_func
64498
64499 /* Override any gcc2 internal prototype to avoid an error.  */
64500 #ifdef __cplusplus
64501 extern "C"
64502 {
64503 #endif
64504 /* We use char because int might match the return type of a gcc2
64505    builtin and then its argument prototype would still apply.  */
64506 char $ac_func ();
64507 /* The GNU C library defines this for functions which it implements
64508     to always fail with ENOSYS.  Some functions are actually named
64509     something starting with __ and the normal name is an alias.  */
64510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64511 choke me
64512 #else
64513 char (*f) () = $ac_func;
64514 #endif
64515 #ifdef __cplusplus
64516 }
64517 #endif
64518
64519 int
64520 main ()
64521 {
64522 return f != $ac_func;
64523   ;
64524   return 0;
64525 }
64526 _ACEOF
64527 rm -f conftest.$ac_objext conftest$ac_exeext
64528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64529   (eval $ac_link) 2>conftest.er1
64530   ac_status=$?
64531   grep -v '^ *+' conftest.er1 >conftest.err
64532   rm -f conftest.er1
64533   cat conftest.err >&5
64534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64535   (exit $ac_status); } &&
64536          { ac_try='test -z "$ac_c_werror_flag"
64537                          || test ! -s conftest.err'
64538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64539   (eval $ac_try) 2>&5
64540   ac_status=$?
64541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64542   (exit $ac_status); }; } &&
64543          { ac_try='test -s conftest$ac_exeext'
64544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545   (eval $ac_try) 2>&5
64546   ac_status=$?
64547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548   (exit $ac_status); }; }; then
64549   eval "$as_ac_var=yes"
64550 else
64551   echo "$as_me: failed program was:" >&5
64552 sed 's/^/| /' conftest.$ac_ext >&5
64553
64554 eval "$as_ac_var=no"
64555 fi
64556 rm -f conftest.err conftest.$ac_objext \
64557       conftest$ac_exeext conftest.$ac_ext
64558 fi
64559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64561 if test `eval echo '${'$as_ac_var'}'` = yes; then
64562   cat >>confdefs.h <<_ACEOF
64563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64564 _ACEOF
64565
64566 fi
64567 done
64568
64569   fi
64570
64571
64572
64573
64574
64575   echo "$as_me:$LINENO: checking for strtof declaration" >&5
64576 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
64577   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64578     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
64579   echo $ECHO_N "(cached) $ECHO_C" >&6
64580 else
64581
64582
64583
64584       ac_ext=cc
64585 ac_cpp='$CXXCPP $CPPFLAGS'
64586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64589
64590       cat >conftest.$ac_ext <<_ACEOF
64591 /* confdefs.h.  */
64592 _ACEOF
64593 cat confdefs.h >>conftest.$ac_ext
64594 cat >>conftest.$ac_ext <<_ACEOF
64595 /* end confdefs.h.  */
64596 #include <stdlib.h>
64597 int
64598 main ()
64599 {
64600  strtof(0, 0);
64601   ;
64602   return 0;
64603 }
64604 _ACEOF
64605 rm -f conftest.$ac_objext
64606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64607   (eval $ac_compile) 2>conftest.er1
64608   ac_status=$?
64609   grep -v '^ *+' conftest.er1 >conftest.err
64610   rm -f conftest.er1
64611   cat conftest.err >&5
64612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64613   (exit $ac_status); } &&
64614          { ac_try='test -z "$ac_cxx_werror_flag"
64615                          || test ! -s conftest.err'
64616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64617   (eval $ac_try) 2>&5
64618   ac_status=$?
64619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64620   (exit $ac_status); }; } &&
64621          { ac_try='test -s conftest.$ac_objext'
64622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64623   (eval $ac_try) 2>&5
64624   ac_status=$?
64625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64626   (exit $ac_status); }; }; then
64627   glibcxx_cv_func_strtof_use=yes
64628 else
64629   echo "$as_me: failed program was:" >&5
64630 sed 's/^/| /' conftest.$ac_ext >&5
64631
64632 glibcxx_cv_func_strtof_use=no
64633 fi
64634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64635       ac_ext=c
64636 ac_cpp='$CPP $CPPFLAGS'
64637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64640
64641
64642 fi
64643
64644   fi
64645   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
64646 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
64647   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64648
64649 for ac_func in strtof
64650 do
64651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64652 echo "$as_me:$LINENO: checking for $ac_func" >&5
64653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64654 if eval "test \"\${$as_ac_var+set}\" = set"; then
64655   echo $ECHO_N "(cached) $ECHO_C" >&6
64656 else
64657   if test x$gcc_no_link = xyes; then
64658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64660    { (exit 1); exit 1; }; }
64661 fi
64662 cat >conftest.$ac_ext <<_ACEOF
64663 /* confdefs.h.  */
64664 _ACEOF
64665 cat confdefs.h >>conftest.$ac_ext
64666 cat >>conftest.$ac_ext <<_ACEOF
64667 /* end confdefs.h.  */
64668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64670 #define $ac_func innocuous_$ac_func
64671
64672 /* System header to define __stub macros and hopefully few prototypes,
64673     which can conflict with char $ac_func (); below.
64674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64675     <limits.h> exists even on freestanding compilers.  */
64676
64677 #ifdef __STDC__
64678 # include <limits.h>
64679 #else
64680 # include <assert.h>
64681 #endif
64682
64683 #undef $ac_func
64684
64685 /* Override any gcc2 internal prototype to avoid an error.  */
64686 #ifdef __cplusplus
64687 extern "C"
64688 {
64689 #endif
64690 /* We use char because int might match the return type of a gcc2
64691    builtin and then its argument prototype would still apply.  */
64692 char $ac_func ();
64693 /* The GNU C library defines this for functions which it implements
64694     to always fail with ENOSYS.  Some functions are actually named
64695     something starting with __ and the normal name is an alias.  */
64696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64697 choke me
64698 #else
64699 char (*f) () = $ac_func;
64700 #endif
64701 #ifdef __cplusplus
64702 }
64703 #endif
64704
64705 int
64706 main ()
64707 {
64708 return f != $ac_func;
64709   ;
64710   return 0;
64711 }
64712 _ACEOF
64713 rm -f conftest.$ac_objext conftest$ac_exeext
64714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64715   (eval $ac_link) 2>conftest.er1
64716   ac_status=$?
64717   grep -v '^ *+' conftest.er1 >conftest.err
64718   rm -f conftest.er1
64719   cat conftest.err >&5
64720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64721   (exit $ac_status); } &&
64722          { ac_try='test -z "$ac_c_werror_flag"
64723                          || test ! -s conftest.err'
64724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64725   (eval $ac_try) 2>&5
64726   ac_status=$?
64727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64728   (exit $ac_status); }; } &&
64729          { ac_try='test -s conftest$ac_exeext'
64730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64731   (eval $ac_try) 2>&5
64732   ac_status=$?
64733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734   (exit $ac_status); }; }; then
64735   eval "$as_ac_var=yes"
64736 else
64737   echo "$as_me: failed program was:" >&5
64738 sed 's/^/| /' conftest.$ac_ext >&5
64739
64740 eval "$as_ac_var=no"
64741 fi
64742 rm -f conftest.err conftest.$ac_objext \
64743       conftest$ac_exeext conftest.$ac_ext
64744 fi
64745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64747 if test `eval echo '${'$as_ac_var'}'` = yes; then
64748   cat >>confdefs.h <<_ACEOF
64749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64750 _ACEOF
64751
64752 fi
64753 done
64754
64755   fi
64756
64757
64758
64759
64760
64761   CXXFLAGS="$ac_save_CXXFLAGS"
64762
64763
64764   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
64765 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
64766   if test "${glibcxx_cv_S_ISREG+set}" = set; then
64767   echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769
64770     if test x$gcc_no_link = xyes; then
64771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64773    { (exit 1); exit 1; }; }
64774 fi
64775 cat >conftest.$ac_ext <<_ACEOF
64776 /* confdefs.h.  */
64777 _ACEOF
64778 cat confdefs.h >>conftest.$ac_ext
64779 cat >>conftest.$ac_ext <<_ACEOF
64780 /* end confdefs.h.  */
64781 #include <sys/stat.h>
64782 int
64783 main ()
64784 {
64785 struct stat buffer;
64786        fstat(0, &buffer);
64787        S_ISREG(buffer.st_mode);
64788   ;
64789   return 0;
64790 }
64791 _ACEOF
64792 rm -f conftest.$ac_objext conftest$ac_exeext
64793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64794   (eval $ac_link) 2>conftest.er1
64795   ac_status=$?
64796   grep -v '^ *+' conftest.er1 >conftest.err
64797   rm -f conftest.er1
64798   cat conftest.err >&5
64799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64800   (exit $ac_status); } &&
64801          { ac_try='test -z "$ac_c_werror_flag"
64802                          || test ! -s conftest.err'
64803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64804   (eval $ac_try) 2>&5
64805   ac_status=$?
64806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64807   (exit $ac_status); }; } &&
64808          { ac_try='test -s conftest$ac_exeext'
64809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64810   (eval $ac_try) 2>&5
64811   ac_status=$?
64812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64813   (exit $ac_status); }; }; then
64814   glibcxx_cv_S_ISREG=yes
64815 else
64816   echo "$as_me: failed program was:" >&5
64817 sed 's/^/| /' conftest.$ac_ext >&5
64818
64819 glibcxx_cv_S_ISREG=no
64820 fi
64821 rm -f conftest.err conftest.$ac_objext \
64822       conftest$ac_exeext conftest.$ac_ext
64823
64824 fi
64825
64826   if test "${glibcxx_cv_S_IFREG+set}" = set; then
64827   echo $ECHO_N "(cached) $ECHO_C" >&6
64828 else
64829
64830     if test x$gcc_no_link = xyes; then
64831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64833    { (exit 1); exit 1; }; }
64834 fi
64835 cat >conftest.$ac_ext <<_ACEOF
64836 /* confdefs.h.  */
64837 _ACEOF
64838 cat confdefs.h >>conftest.$ac_ext
64839 cat >>conftest.$ac_ext <<_ACEOF
64840 /* end confdefs.h.  */
64841 #include <sys/stat.h>
64842 int
64843 main ()
64844 {
64845 struct stat buffer;
64846        fstat(0, &buffer);
64847        S_IFREG & buffer.st_mode;
64848   ;
64849   return 0;
64850 }
64851 _ACEOF
64852 rm -f conftest.$ac_objext conftest$ac_exeext
64853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64854   (eval $ac_link) 2>conftest.er1
64855   ac_status=$?
64856   grep -v '^ *+' conftest.er1 >conftest.err
64857   rm -f conftest.er1
64858   cat conftest.err >&5
64859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64860   (exit $ac_status); } &&
64861          { ac_try='test -z "$ac_c_werror_flag"
64862                          || test ! -s conftest.err'
64863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64864   (eval $ac_try) 2>&5
64865   ac_status=$?
64866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64867   (exit $ac_status); }; } &&
64868          { ac_try='test -s conftest$ac_exeext'
64869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64870   (eval $ac_try) 2>&5
64871   ac_status=$?
64872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64873   (exit $ac_status); }; }; then
64874   glibcxx_cv_S_IFREG=yes
64875 else
64876   echo "$as_me: failed program was:" >&5
64877 sed 's/^/| /' conftest.$ac_ext >&5
64878
64879 glibcxx_cv_S_IFREG=no
64880 fi
64881 rm -f conftest.err conftest.$ac_objext \
64882       conftest$ac_exeext conftest.$ac_ext
64883
64884 fi
64885
64886   res=no
64887   if test $glibcxx_cv_S_ISREG = yes; then
64888
64889 cat >>confdefs.h <<\_ACEOF
64890 #define HAVE_S_ISREG 1
64891 _ACEOF
64892
64893     res=S_ISREG
64894   elif test $glibcxx_cv_S_IFREG = yes; then
64895
64896 cat >>confdefs.h <<\_ACEOF
64897 #define HAVE_S_IFREG 1
64898 _ACEOF
64899
64900     res=S_IFREG
64901   fi
64902   echo "$as_me:$LINENO: result: $res" >&5
64903 echo "${ECHO_T}$res" >&6
64904
64905     cat >>confdefs.h <<\_ACEOF
64906 #define HAVE_SIGSETJMP 1
64907 _ACEOF
64908
64909     cat >>confdefs.h <<\_ACEOF
64910 #define HAVE_GETPAGESIZE 1
64911 _ACEOF
64912
64913     cat >>confdefs.h <<\_ACEOF
64914 #define HAVE_WRITEV 1
64915 _ACEOF
64916
64917     cat >>confdefs.h <<\_ACEOF
64918 #define HAVE_INT64_T 1
64919 _ACEOF
64920
64921
64922     cat >>confdefs.h <<\_ACEOF
64923 #define HAVE_LIBM 1
64924 _ACEOF
64925
64926     cat >>confdefs.h <<\_ACEOF
64927 #define HAVE_COPYSIGN 1
64928 _ACEOF
64929
64930     cat >>confdefs.h <<\_ACEOF
64931 #define HAVE_FINITE 1
64932 _ACEOF
64933
64934     cat >>confdefs.h <<\_ACEOF
64935 #define HAVE_HYPOT 1
64936 _ACEOF
64937
64938     cat >>confdefs.h <<\_ACEOF
64939 #define HAVE_ISNAN 1
64940 _ACEOF
64941
64942     cat >>confdefs.h <<\_ACEOF
64943 #define HAVE_ISINF 1
64944 _ACEOF
64945
64946
64947     cat >>confdefs.h <<\_ACEOF
64948 #define HAVE_LDEXPF 1
64949 _ACEOF
64950
64951     cat >>confdefs.h <<\_ACEOF
64952 #define HAVE_MODF 1
64953 _ACEOF
64954
64955     cat >>confdefs.h <<\_ACEOF
64956 #define HAVE_SQRTF 1
64957 _ACEOF
64958
64959     ;;
64960
64961   *-darwin*)
64962     # Darwin versions vary, but the linker should work in a cross environment,
64963     # so we just check for all the features here.
64964     # Check for available headers.
64965
64966
64967
64968
64969
64970
64971
64972
64973
64974
64975
64976
64977 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64978     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64979     sys/types.h
64980 do
64981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64983   echo "$as_me:$LINENO: checking for $ac_header" >&5
64984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64986   echo $ECHO_N "(cached) $ECHO_C" >&6
64987 fi
64988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64990 else
64991   # Is the header compilable?
64992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64994 cat >conftest.$ac_ext <<_ACEOF
64995 /* confdefs.h.  */
64996 _ACEOF
64997 cat confdefs.h >>conftest.$ac_ext
64998 cat >>conftest.$ac_ext <<_ACEOF
64999 /* end confdefs.h.  */
65000 $ac_includes_default
65001 #include <$ac_header>
65002 _ACEOF
65003 rm -f conftest.$ac_objext
65004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65005   (eval $ac_compile) 2>conftest.er1
65006   ac_status=$?
65007   grep -v '^ *+' conftest.er1 >conftest.err
65008   rm -f conftest.er1
65009   cat conftest.err >&5
65010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011   (exit $ac_status); } &&
65012          { ac_try='test -z "$ac_c_werror_flag"
65013                          || test ! -s conftest.err'
65014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65015   (eval $ac_try) 2>&5
65016   ac_status=$?
65017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65018   (exit $ac_status); }; } &&
65019          { ac_try='test -s conftest.$ac_objext'
65020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65021   (eval $ac_try) 2>&5
65022   ac_status=$?
65023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65024   (exit $ac_status); }; }; then
65025   ac_header_compiler=yes
65026 else
65027   echo "$as_me: failed program was:" >&5
65028 sed 's/^/| /' conftest.$ac_ext >&5
65029
65030 ac_header_compiler=no
65031 fi
65032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65034 echo "${ECHO_T}$ac_header_compiler" >&6
65035
65036 # Is the header present?
65037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65039 cat >conftest.$ac_ext <<_ACEOF
65040 /* confdefs.h.  */
65041 _ACEOF
65042 cat confdefs.h >>conftest.$ac_ext
65043 cat >>conftest.$ac_ext <<_ACEOF
65044 /* end confdefs.h.  */
65045 #include <$ac_header>
65046 _ACEOF
65047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65048   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65049   ac_status=$?
65050   grep -v '^ *+' conftest.er1 >conftest.err
65051   rm -f conftest.er1
65052   cat conftest.err >&5
65053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65054   (exit $ac_status); } >/dev/null; then
65055   if test -s conftest.err; then
65056     ac_cpp_err=$ac_c_preproc_warn_flag
65057     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65058   else
65059     ac_cpp_err=
65060   fi
65061 else
65062   ac_cpp_err=yes
65063 fi
65064 if test -z "$ac_cpp_err"; then
65065   ac_header_preproc=yes
65066 else
65067   echo "$as_me: failed program was:" >&5
65068 sed 's/^/| /' conftest.$ac_ext >&5
65069
65070   ac_header_preproc=no
65071 fi
65072 rm -f conftest.err conftest.$ac_ext
65073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65074 echo "${ECHO_T}$ac_header_preproc" >&6
65075
65076 # So?  What about this header?
65077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65078   yes:no: )
65079     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65081     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
65082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
65083     ac_header_preproc=yes
65084     ;;
65085   no:yes:* )
65086     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65088     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
65089 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
65090     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65092     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
65093 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
65094     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65096     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65098     (
65099       cat <<\_ASBOX
65100 ## ----------------------------------------- ##
65101 ## Report this to the package-unused lists.  ##
65102 ## ----------------------------------------- ##
65103 _ASBOX
65104     ) |
65105       sed "s/^/$as_me: WARNING:     /" >&2
65106     ;;
65107 esac
65108 echo "$as_me:$LINENO: checking for $ac_header" >&5
65109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65111   echo $ECHO_N "(cached) $ECHO_C" >&6
65112 else
65113   eval "$as_ac_Header=\$ac_header_preproc"
65114 fi
65115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65117
65118 fi
65119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65120   cat >>confdefs.h <<_ACEOF
65121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65122 _ACEOF
65123
65124 fi
65125
65126 done
65127
65128
65129     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
65130
65131   ac_test_CXXFLAGS="${CXXFLAGS+set}"
65132   ac_save_CXXFLAGS="$CXXFLAGS"
65133   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65134
65135     echo "$as_me:$LINENO: checking for sin in -lm" >&5
65136 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65137 if test "${ac_cv_lib_m_sin+set}" = set; then
65138   echo $ECHO_N "(cached) $ECHO_C" >&6
65139 else
65140   ac_check_lib_save_LIBS=$LIBS
65141 LIBS="-lm  $LIBS"
65142 if test x$gcc_no_link = xyes; then
65143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65145    { (exit 1); exit 1; }; }
65146 fi
65147 cat >conftest.$ac_ext <<_ACEOF
65148 /* confdefs.h.  */
65149 _ACEOF
65150 cat confdefs.h >>conftest.$ac_ext
65151 cat >>conftest.$ac_ext <<_ACEOF
65152 /* end confdefs.h.  */
65153
65154 /* Override any gcc2 internal prototype to avoid an error.  */
65155 #ifdef __cplusplus
65156 extern "C"
65157 #endif
65158 /* We use char because int might match the return type of a gcc2
65159    builtin and then its argument prototype would still apply.  */
65160 char sin ();
65161 int
65162 main ()
65163 {
65164 sin ();
65165   ;
65166   return 0;
65167 }
65168 _ACEOF
65169 rm -f conftest.$ac_objext conftest$ac_exeext
65170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65171   (eval $ac_link) 2>conftest.er1
65172   ac_status=$?
65173   grep -v '^ *+' conftest.er1 >conftest.err
65174   rm -f conftest.er1
65175   cat conftest.err >&5
65176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177   (exit $ac_status); } &&
65178          { ac_try='test -z "$ac_c_werror_flag"
65179                          || test ! -s conftest.err'
65180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65181   (eval $ac_try) 2>&5
65182   ac_status=$?
65183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65184   (exit $ac_status); }; } &&
65185          { ac_try='test -s conftest$ac_exeext'
65186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65187   (eval $ac_try) 2>&5
65188   ac_status=$?
65189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65190   (exit $ac_status); }; }; then
65191   ac_cv_lib_m_sin=yes
65192 else
65193   echo "$as_me: failed program was:" >&5
65194 sed 's/^/| /' conftest.$ac_ext >&5
65195
65196 ac_cv_lib_m_sin=no
65197 fi
65198 rm -f conftest.err conftest.$ac_objext \
65199       conftest$ac_exeext conftest.$ac_ext
65200 LIBS=$ac_check_lib_save_LIBS
65201 fi
65202 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
65203 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
65204 if test $ac_cv_lib_m_sin = yes; then
65205   libm="-lm"
65206 fi
65207
65208   ac_save_LIBS="$LIBS"
65209   LIBS="$LIBS $libm"
65210
65211
65212
65213   echo "$as_me:$LINENO: checking for isinf declaration" >&5
65214 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
65215   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65216     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
65217   echo $ECHO_N "(cached) $ECHO_C" >&6
65218 else
65219
65220
65221
65222       ac_ext=cc
65223 ac_cpp='$CXXCPP $CPPFLAGS'
65224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65227
65228       cat >conftest.$ac_ext <<_ACEOF
65229 /* confdefs.h.  */
65230 _ACEOF
65231 cat confdefs.h >>conftest.$ac_ext
65232 cat >>conftest.$ac_ext <<_ACEOF
65233 /* end confdefs.h.  */
65234 #include <math.h>
65235                       #ifdef HAVE_IEEEFP_H
65236                       #include <ieeefp.h>
65237                       #endif
65238
65239 int
65240 main ()
65241 {
65242  isinf(0);
65243   ;
65244   return 0;
65245 }
65246 _ACEOF
65247 rm -f conftest.$ac_objext
65248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65249   (eval $ac_compile) 2>conftest.er1
65250   ac_status=$?
65251   grep -v '^ *+' conftest.er1 >conftest.err
65252   rm -f conftest.er1
65253   cat conftest.err >&5
65254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65255   (exit $ac_status); } &&
65256          { ac_try='test -z "$ac_cxx_werror_flag"
65257                          || test ! -s conftest.err'
65258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65259   (eval $ac_try) 2>&5
65260   ac_status=$?
65261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65262   (exit $ac_status); }; } &&
65263          { ac_try='test -s conftest.$ac_objext'
65264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65265   (eval $ac_try) 2>&5
65266   ac_status=$?
65267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65268   (exit $ac_status); }; }; then
65269   glibcxx_cv_func_isinf_use=yes
65270 else
65271   echo "$as_me: failed program was:" >&5
65272 sed 's/^/| /' conftest.$ac_ext >&5
65273
65274 glibcxx_cv_func_isinf_use=no
65275 fi
65276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65277       ac_ext=c
65278 ac_cpp='$CPP $CPPFLAGS'
65279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65282
65283
65284 fi
65285
65286   fi
65287   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
65288 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
65289
65290   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65291
65292 for ac_func in isinf
65293 do
65294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65295 echo "$as_me:$LINENO: checking for $ac_func" >&5
65296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65297 if eval "test \"\${$as_ac_var+set}\" = set"; then
65298   echo $ECHO_N "(cached) $ECHO_C" >&6
65299 else
65300   if test x$gcc_no_link = xyes; then
65301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65303    { (exit 1); exit 1; }; }
65304 fi
65305 cat >conftest.$ac_ext <<_ACEOF
65306 /* confdefs.h.  */
65307 _ACEOF
65308 cat confdefs.h >>conftest.$ac_ext
65309 cat >>conftest.$ac_ext <<_ACEOF
65310 /* end confdefs.h.  */
65311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65313 #define $ac_func innocuous_$ac_func
65314
65315 /* System header to define __stub macros and hopefully few prototypes,
65316     which can conflict with char $ac_func (); below.
65317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65318     <limits.h> exists even on freestanding compilers.  */
65319
65320 #ifdef __STDC__
65321 # include <limits.h>
65322 #else
65323 # include <assert.h>
65324 #endif
65325
65326 #undef $ac_func
65327
65328 /* Override any gcc2 internal prototype to avoid an error.  */
65329 #ifdef __cplusplus
65330 extern "C"
65331 {
65332 #endif
65333 /* We use char because int might match the return type of a gcc2
65334    builtin and then its argument prototype would still apply.  */
65335 char $ac_func ();
65336 /* The GNU C library defines this for functions which it implements
65337     to always fail with ENOSYS.  Some functions are actually named
65338     something starting with __ and the normal name is an alias.  */
65339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65340 choke me
65341 #else
65342 char (*f) () = $ac_func;
65343 #endif
65344 #ifdef __cplusplus
65345 }
65346 #endif
65347
65348 int
65349 main ()
65350 {
65351 return f != $ac_func;
65352   ;
65353   return 0;
65354 }
65355 _ACEOF
65356 rm -f conftest.$ac_objext conftest$ac_exeext
65357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65358   (eval $ac_link) 2>conftest.er1
65359   ac_status=$?
65360   grep -v '^ *+' conftest.er1 >conftest.err
65361   rm -f conftest.er1
65362   cat conftest.err >&5
65363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65364   (exit $ac_status); } &&
65365          { ac_try='test -z "$ac_c_werror_flag"
65366                          || test ! -s conftest.err'
65367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65368   (eval $ac_try) 2>&5
65369   ac_status=$?
65370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65371   (exit $ac_status); }; } &&
65372          { ac_try='test -s conftest$ac_exeext'
65373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65374   (eval $ac_try) 2>&5
65375   ac_status=$?
65376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65377   (exit $ac_status); }; }; then
65378   eval "$as_ac_var=yes"
65379 else
65380   echo "$as_me: failed program was:" >&5
65381 sed 's/^/| /' conftest.$ac_ext >&5
65382
65383 eval "$as_ac_var=no"
65384 fi
65385 rm -f conftest.err conftest.$ac_objext \
65386       conftest$ac_exeext conftest.$ac_ext
65387 fi
65388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65390 if test `eval echo '${'$as_ac_var'}'` = yes; then
65391   cat >>confdefs.h <<_ACEOF
65392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65393 _ACEOF
65394
65395 fi
65396 done
65397
65398   else
65399
65400   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65401 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65402   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65403     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65404   echo $ECHO_N "(cached) $ECHO_C" >&6
65405 else
65406
65407
65408
65409       ac_ext=cc
65410 ac_cpp='$CXXCPP $CPPFLAGS'
65411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65414
65415       cat >conftest.$ac_ext <<_ACEOF
65416 /* confdefs.h.  */
65417 _ACEOF
65418 cat confdefs.h >>conftest.$ac_ext
65419 cat >>conftest.$ac_ext <<_ACEOF
65420 /* end confdefs.h.  */
65421 #include <math.h>
65422                       #ifdef HAVE_IEEEFP_H
65423                       #include <ieeefp.h>
65424                       #endif
65425
65426 int
65427 main ()
65428 {
65429  _isinf(0);
65430   ;
65431   return 0;
65432 }
65433 _ACEOF
65434 rm -f conftest.$ac_objext
65435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65436   (eval $ac_compile) 2>conftest.er1
65437   ac_status=$?
65438   grep -v '^ *+' conftest.er1 >conftest.err
65439   rm -f conftest.er1
65440   cat conftest.err >&5
65441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65442   (exit $ac_status); } &&
65443          { ac_try='test -z "$ac_cxx_werror_flag"
65444                          || test ! -s conftest.err'
65445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65446   (eval $ac_try) 2>&5
65447   ac_status=$?
65448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65449   (exit $ac_status); }; } &&
65450          { ac_try='test -s conftest.$ac_objext'
65451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65452   (eval $ac_try) 2>&5
65453   ac_status=$?
65454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65455   (exit $ac_status); }; }; then
65456   glibcxx_cv_func__isinf_use=yes
65457 else
65458   echo "$as_me: failed program was:" >&5
65459 sed 's/^/| /' conftest.$ac_ext >&5
65460
65461 glibcxx_cv_func__isinf_use=no
65462 fi
65463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65464       ac_ext=c
65465 ac_cpp='$CPP $CPPFLAGS'
65466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65469
65470
65471 fi
65472
65473   fi
65474   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65475 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65476
65477     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65478
65479 for ac_func in _isinf
65480 do
65481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65482 echo "$as_me:$LINENO: checking for $ac_func" >&5
65483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65484 if eval "test \"\${$as_ac_var+set}\" = set"; then
65485   echo $ECHO_N "(cached) $ECHO_C" >&6
65486 else
65487   if test x$gcc_no_link = xyes; then
65488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65490    { (exit 1); exit 1; }; }
65491 fi
65492 cat >conftest.$ac_ext <<_ACEOF
65493 /* confdefs.h.  */
65494 _ACEOF
65495 cat confdefs.h >>conftest.$ac_ext
65496 cat >>conftest.$ac_ext <<_ACEOF
65497 /* end confdefs.h.  */
65498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65500 #define $ac_func innocuous_$ac_func
65501
65502 /* System header to define __stub macros and hopefully few prototypes,
65503     which can conflict with char $ac_func (); below.
65504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65505     <limits.h> exists even on freestanding compilers.  */
65506
65507 #ifdef __STDC__
65508 # include <limits.h>
65509 #else
65510 # include <assert.h>
65511 #endif
65512
65513 #undef $ac_func
65514
65515 /* Override any gcc2 internal prototype to avoid an error.  */
65516 #ifdef __cplusplus
65517 extern "C"
65518 {
65519 #endif
65520 /* We use char because int might match the return type of a gcc2
65521    builtin and then its argument prototype would still apply.  */
65522 char $ac_func ();
65523 /* The GNU C library defines this for functions which it implements
65524     to always fail with ENOSYS.  Some functions are actually named
65525     something starting with __ and the normal name is an alias.  */
65526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65527 choke me
65528 #else
65529 char (*f) () = $ac_func;
65530 #endif
65531 #ifdef __cplusplus
65532 }
65533 #endif
65534
65535 int
65536 main ()
65537 {
65538 return f != $ac_func;
65539   ;
65540   return 0;
65541 }
65542 _ACEOF
65543 rm -f conftest.$ac_objext conftest$ac_exeext
65544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65545   (eval $ac_link) 2>conftest.er1
65546   ac_status=$?
65547   grep -v '^ *+' conftest.er1 >conftest.err
65548   rm -f conftest.er1
65549   cat conftest.err >&5
65550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65551   (exit $ac_status); } &&
65552          { ac_try='test -z "$ac_c_werror_flag"
65553                          || test ! -s conftest.err'
65554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65555   (eval $ac_try) 2>&5
65556   ac_status=$?
65557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558   (exit $ac_status); }; } &&
65559          { ac_try='test -s conftest$ac_exeext'
65560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65561   (eval $ac_try) 2>&5
65562   ac_status=$?
65563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65564   (exit $ac_status); }; }; then
65565   eval "$as_ac_var=yes"
65566 else
65567   echo "$as_me: failed program was:" >&5
65568 sed 's/^/| /' conftest.$ac_ext >&5
65569
65570 eval "$as_ac_var=no"
65571 fi
65572 rm -f conftest.err conftest.$ac_objext \
65573       conftest$ac_exeext conftest.$ac_ext
65574 fi
65575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65577 if test `eval echo '${'$as_ac_var'}'` = yes; then
65578   cat >>confdefs.h <<_ACEOF
65579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65580 _ACEOF
65581
65582 fi
65583 done
65584
65585     fi
65586   fi
65587
65588
65589
65590
65591
65592
65593   echo "$as_me:$LINENO: checking for isnan declaration" >&5
65594 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65595   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65596     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65597   echo $ECHO_N "(cached) $ECHO_C" >&6
65598 else
65599
65600
65601
65602       ac_ext=cc
65603 ac_cpp='$CXXCPP $CPPFLAGS'
65604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65607
65608       cat >conftest.$ac_ext <<_ACEOF
65609 /* confdefs.h.  */
65610 _ACEOF
65611 cat confdefs.h >>conftest.$ac_ext
65612 cat >>conftest.$ac_ext <<_ACEOF
65613 /* end confdefs.h.  */
65614 #include <math.h>
65615                       #ifdef HAVE_IEEEFP_H
65616                       #include <ieeefp.h>
65617                       #endif
65618
65619 int
65620 main ()
65621 {
65622  isnan(0);
65623   ;
65624   return 0;
65625 }
65626 _ACEOF
65627 rm -f conftest.$ac_objext
65628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65629   (eval $ac_compile) 2>conftest.er1
65630   ac_status=$?
65631   grep -v '^ *+' conftest.er1 >conftest.err
65632   rm -f conftest.er1
65633   cat conftest.err >&5
65634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65635   (exit $ac_status); } &&
65636          { ac_try='test -z "$ac_cxx_werror_flag"
65637                          || test ! -s conftest.err'
65638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65639   (eval $ac_try) 2>&5
65640   ac_status=$?
65641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65642   (exit $ac_status); }; } &&
65643          { ac_try='test -s conftest.$ac_objext'
65644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65645   (eval $ac_try) 2>&5
65646   ac_status=$?
65647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65648   (exit $ac_status); }; }; then
65649   glibcxx_cv_func_isnan_use=yes
65650 else
65651   echo "$as_me: failed program was:" >&5
65652 sed 's/^/| /' conftest.$ac_ext >&5
65653
65654 glibcxx_cv_func_isnan_use=no
65655 fi
65656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65657       ac_ext=c
65658 ac_cpp='$CPP $CPPFLAGS'
65659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65662
65663
65664 fi
65665
65666   fi
65667   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65668 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65669
65670   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65671
65672 for ac_func in isnan
65673 do
65674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65675 echo "$as_me:$LINENO: checking for $ac_func" >&5
65676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65677 if eval "test \"\${$as_ac_var+set}\" = set"; then
65678   echo $ECHO_N "(cached) $ECHO_C" >&6
65679 else
65680   if test x$gcc_no_link = xyes; then
65681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65683    { (exit 1); exit 1; }; }
65684 fi
65685 cat >conftest.$ac_ext <<_ACEOF
65686 /* confdefs.h.  */
65687 _ACEOF
65688 cat confdefs.h >>conftest.$ac_ext
65689 cat >>conftest.$ac_ext <<_ACEOF
65690 /* end confdefs.h.  */
65691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65693 #define $ac_func innocuous_$ac_func
65694
65695 /* System header to define __stub macros and hopefully few prototypes,
65696     which can conflict with char $ac_func (); below.
65697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65698     <limits.h> exists even on freestanding compilers.  */
65699
65700 #ifdef __STDC__
65701 # include <limits.h>
65702 #else
65703 # include <assert.h>
65704 #endif
65705
65706 #undef $ac_func
65707
65708 /* Override any gcc2 internal prototype to avoid an error.  */
65709 #ifdef __cplusplus
65710 extern "C"
65711 {
65712 #endif
65713 /* We use char because int might match the return type of a gcc2
65714    builtin and then its argument prototype would still apply.  */
65715 char $ac_func ();
65716 /* The GNU C library defines this for functions which it implements
65717     to always fail with ENOSYS.  Some functions are actually named
65718     something starting with __ and the normal name is an alias.  */
65719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65720 choke me
65721 #else
65722 char (*f) () = $ac_func;
65723 #endif
65724 #ifdef __cplusplus
65725 }
65726 #endif
65727
65728 int
65729 main ()
65730 {
65731 return f != $ac_func;
65732   ;
65733   return 0;
65734 }
65735 _ACEOF
65736 rm -f conftest.$ac_objext conftest$ac_exeext
65737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65738   (eval $ac_link) 2>conftest.er1
65739   ac_status=$?
65740   grep -v '^ *+' conftest.er1 >conftest.err
65741   rm -f conftest.er1
65742   cat conftest.err >&5
65743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65744   (exit $ac_status); } &&
65745          { ac_try='test -z "$ac_c_werror_flag"
65746                          || test ! -s conftest.err'
65747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65748   (eval $ac_try) 2>&5
65749   ac_status=$?
65750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65751   (exit $ac_status); }; } &&
65752          { ac_try='test -s conftest$ac_exeext'
65753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65754   (eval $ac_try) 2>&5
65755   ac_status=$?
65756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65757   (exit $ac_status); }; }; then
65758   eval "$as_ac_var=yes"
65759 else
65760   echo "$as_me: failed program was:" >&5
65761 sed 's/^/| /' conftest.$ac_ext >&5
65762
65763 eval "$as_ac_var=no"
65764 fi
65765 rm -f conftest.err conftest.$ac_objext \
65766       conftest$ac_exeext conftest.$ac_ext
65767 fi
65768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65770 if test `eval echo '${'$as_ac_var'}'` = yes; then
65771   cat >>confdefs.h <<_ACEOF
65772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65773 _ACEOF
65774
65775 fi
65776 done
65777
65778   else
65779
65780   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65781 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65782   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65783     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65784   echo $ECHO_N "(cached) $ECHO_C" >&6
65785 else
65786
65787
65788
65789       ac_ext=cc
65790 ac_cpp='$CXXCPP $CPPFLAGS'
65791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65794
65795       cat >conftest.$ac_ext <<_ACEOF
65796 /* confdefs.h.  */
65797 _ACEOF
65798 cat confdefs.h >>conftest.$ac_ext
65799 cat >>conftest.$ac_ext <<_ACEOF
65800 /* end confdefs.h.  */
65801 #include <math.h>
65802                       #ifdef HAVE_IEEEFP_H
65803                       #include <ieeefp.h>
65804                       #endif
65805
65806 int
65807 main ()
65808 {
65809  _isnan(0);
65810   ;
65811   return 0;
65812 }
65813 _ACEOF
65814 rm -f conftest.$ac_objext
65815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65816   (eval $ac_compile) 2>conftest.er1
65817   ac_status=$?
65818   grep -v '^ *+' conftest.er1 >conftest.err
65819   rm -f conftest.er1
65820   cat conftest.err >&5
65821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65822   (exit $ac_status); } &&
65823          { ac_try='test -z "$ac_cxx_werror_flag"
65824                          || test ! -s conftest.err'
65825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65826   (eval $ac_try) 2>&5
65827   ac_status=$?
65828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65829   (exit $ac_status); }; } &&
65830          { ac_try='test -s conftest.$ac_objext'
65831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65832   (eval $ac_try) 2>&5
65833   ac_status=$?
65834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65835   (exit $ac_status); }; }; then
65836   glibcxx_cv_func__isnan_use=yes
65837 else
65838   echo "$as_me: failed program was:" >&5
65839 sed 's/^/| /' conftest.$ac_ext >&5
65840
65841 glibcxx_cv_func__isnan_use=no
65842 fi
65843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65844       ac_ext=c
65845 ac_cpp='$CPP $CPPFLAGS'
65846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65849
65850
65851 fi
65852
65853   fi
65854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
65855 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
65856
65857     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65858
65859 for ac_func in _isnan
65860 do
65861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65862 echo "$as_me:$LINENO: checking for $ac_func" >&5
65863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65864 if eval "test \"\${$as_ac_var+set}\" = set"; then
65865   echo $ECHO_N "(cached) $ECHO_C" >&6
65866 else
65867   if test x$gcc_no_link = xyes; then
65868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65870    { (exit 1); exit 1; }; }
65871 fi
65872 cat >conftest.$ac_ext <<_ACEOF
65873 /* confdefs.h.  */
65874 _ACEOF
65875 cat confdefs.h >>conftest.$ac_ext
65876 cat >>conftest.$ac_ext <<_ACEOF
65877 /* end confdefs.h.  */
65878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65880 #define $ac_func innocuous_$ac_func
65881
65882 /* System header to define __stub macros and hopefully few prototypes,
65883     which can conflict with char $ac_func (); below.
65884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65885     <limits.h> exists even on freestanding compilers.  */
65886
65887 #ifdef __STDC__
65888 # include <limits.h>
65889 #else
65890 # include <assert.h>
65891 #endif
65892
65893 #undef $ac_func
65894
65895 /* Override any gcc2 internal prototype to avoid an error.  */
65896 #ifdef __cplusplus
65897 extern "C"
65898 {
65899 #endif
65900 /* We use char because int might match the return type of a gcc2
65901    builtin and then its argument prototype would still apply.  */
65902 char $ac_func ();
65903 /* The GNU C library defines this for functions which it implements
65904     to always fail with ENOSYS.  Some functions are actually named
65905     something starting with __ and the normal name is an alias.  */
65906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65907 choke me
65908 #else
65909 char (*f) () = $ac_func;
65910 #endif
65911 #ifdef __cplusplus
65912 }
65913 #endif
65914
65915 int
65916 main ()
65917 {
65918 return f != $ac_func;
65919   ;
65920   return 0;
65921 }
65922 _ACEOF
65923 rm -f conftest.$ac_objext conftest$ac_exeext
65924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65925   (eval $ac_link) 2>conftest.er1
65926   ac_status=$?
65927   grep -v '^ *+' conftest.er1 >conftest.err
65928   rm -f conftest.er1
65929   cat conftest.err >&5
65930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65931   (exit $ac_status); } &&
65932          { ac_try='test -z "$ac_c_werror_flag"
65933                          || test ! -s conftest.err'
65934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65935   (eval $ac_try) 2>&5
65936   ac_status=$?
65937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65938   (exit $ac_status); }; } &&
65939          { ac_try='test -s conftest$ac_exeext'
65940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65941   (eval $ac_try) 2>&5
65942   ac_status=$?
65943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65944   (exit $ac_status); }; }; then
65945   eval "$as_ac_var=yes"
65946 else
65947   echo "$as_me: failed program was:" >&5
65948 sed 's/^/| /' conftest.$ac_ext >&5
65949
65950 eval "$as_ac_var=no"
65951 fi
65952 rm -f conftest.err conftest.$ac_objext \
65953       conftest$ac_exeext conftest.$ac_ext
65954 fi
65955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65957 if test `eval echo '${'$as_ac_var'}'` = yes; then
65958   cat >>confdefs.h <<_ACEOF
65959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65960 _ACEOF
65961
65962 fi
65963 done
65964
65965     fi
65966   fi
65967
65968
65969
65970
65971
65972
65973   echo "$as_me:$LINENO: checking for finite declaration" >&5
65974 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65975   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65976     if test "${glibcxx_cv_func_finite_use+set}" = set; then
65977   echo $ECHO_N "(cached) $ECHO_C" >&6
65978 else
65979
65980
65981
65982       ac_ext=cc
65983 ac_cpp='$CXXCPP $CPPFLAGS'
65984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65987
65988       cat >conftest.$ac_ext <<_ACEOF
65989 /* confdefs.h.  */
65990 _ACEOF
65991 cat confdefs.h >>conftest.$ac_ext
65992 cat >>conftest.$ac_ext <<_ACEOF
65993 /* end confdefs.h.  */
65994 #include <math.h>
65995                       #ifdef HAVE_IEEEFP_H
65996                       #include <ieeefp.h>
65997                       #endif
65998
65999 int
66000 main ()
66001 {
66002  finite(0);
66003   ;
66004   return 0;
66005 }
66006 _ACEOF
66007 rm -f conftest.$ac_objext
66008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66009   (eval $ac_compile) 2>conftest.er1
66010   ac_status=$?
66011   grep -v '^ *+' conftest.er1 >conftest.err
66012   rm -f conftest.er1
66013   cat conftest.err >&5
66014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66015   (exit $ac_status); } &&
66016          { ac_try='test -z "$ac_cxx_werror_flag"
66017                          || test ! -s conftest.err'
66018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66019   (eval $ac_try) 2>&5
66020   ac_status=$?
66021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66022   (exit $ac_status); }; } &&
66023          { ac_try='test -s conftest.$ac_objext'
66024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66025   (eval $ac_try) 2>&5
66026   ac_status=$?
66027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66028   (exit $ac_status); }; }; then
66029   glibcxx_cv_func_finite_use=yes
66030 else
66031   echo "$as_me: failed program was:" >&5
66032 sed 's/^/| /' conftest.$ac_ext >&5
66033
66034 glibcxx_cv_func_finite_use=no
66035 fi
66036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66037       ac_ext=c
66038 ac_cpp='$CPP $CPPFLAGS'
66039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66042
66043
66044 fi
66045
66046   fi
66047   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
66048 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
66049
66050   if test x$glibcxx_cv_func_finite_use = x"yes"; then
66051
66052 for ac_func in finite
66053 do
66054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66055 echo "$as_me:$LINENO: checking for $ac_func" >&5
66056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66057 if eval "test \"\${$as_ac_var+set}\" = set"; then
66058   echo $ECHO_N "(cached) $ECHO_C" >&6
66059 else
66060   if test x$gcc_no_link = xyes; then
66061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66063    { (exit 1); exit 1; }; }
66064 fi
66065 cat >conftest.$ac_ext <<_ACEOF
66066 /* confdefs.h.  */
66067 _ACEOF
66068 cat confdefs.h >>conftest.$ac_ext
66069 cat >>conftest.$ac_ext <<_ACEOF
66070 /* end confdefs.h.  */
66071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66073 #define $ac_func innocuous_$ac_func
66074
66075 /* System header to define __stub macros and hopefully few prototypes,
66076     which can conflict with char $ac_func (); below.
66077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66078     <limits.h> exists even on freestanding compilers.  */
66079
66080 #ifdef __STDC__
66081 # include <limits.h>
66082 #else
66083 # include <assert.h>
66084 #endif
66085
66086 #undef $ac_func
66087
66088 /* Override any gcc2 internal prototype to avoid an error.  */
66089 #ifdef __cplusplus
66090 extern "C"
66091 {
66092 #endif
66093 /* We use char because int might match the return type of a gcc2
66094    builtin and then its argument prototype would still apply.  */
66095 char $ac_func ();
66096 /* The GNU C library defines this for functions which it implements
66097     to always fail with ENOSYS.  Some functions are actually named
66098     something starting with __ and the normal name is an alias.  */
66099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66100 choke me
66101 #else
66102 char (*f) () = $ac_func;
66103 #endif
66104 #ifdef __cplusplus
66105 }
66106 #endif
66107
66108 int
66109 main ()
66110 {
66111 return f != $ac_func;
66112   ;
66113   return 0;
66114 }
66115 _ACEOF
66116 rm -f conftest.$ac_objext conftest$ac_exeext
66117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66118   (eval $ac_link) 2>conftest.er1
66119   ac_status=$?
66120   grep -v '^ *+' conftest.er1 >conftest.err
66121   rm -f conftest.er1
66122   cat conftest.err >&5
66123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66124   (exit $ac_status); } &&
66125          { ac_try='test -z "$ac_c_werror_flag"
66126                          || test ! -s conftest.err'
66127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66128   (eval $ac_try) 2>&5
66129   ac_status=$?
66130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66131   (exit $ac_status); }; } &&
66132          { ac_try='test -s conftest$ac_exeext'
66133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66134   (eval $ac_try) 2>&5
66135   ac_status=$?
66136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66137   (exit $ac_status); }; }; then
66138   eval "$as_ac_var=yes"
66139 else
66140   echo "$as_me: failed program was:" >&5
66141 sed 's/^/| /' conftest.$ac_ext >&5
66142
66143 eval "$as_ac_var=no"
66144 fi
66145 rm -f conftest.err conftest.$ac_objext \
66146       conftest$ac_exeext conftest.$ac_ext
66147 fi
66148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66150 if test `eval echo '${'$as_ac_var'}'` = yes; then
66151   cat >>confdefs.h <<_ACEOF
66152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66153 _ACEOF
66154
66155 fi
66156 done
66157
66158   else
66159
66160   echo "$as_me:$LINENO: checking for _finite declaration" >&5
66161 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66162   if test x${glibcxx_cv_func__finite_use+set} != xset; then
66163     if test "${glibcxx_cv_func__finite_use+set}" = set; then
66164   echo $ECHO_N "(cached) $ECHO_C" >&6
66165 else
66166
66167
66168
66169       ac_ext=cc
66170 ac_cpp='$CXXCPP $CPPFLAGS'
66171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66174
66175       cat >conftest.$ac_ext <<_ACEOF
66176 /* confdefs.h.  */
66177 _ACEOF
66178 cat confdefs.h >>conftest.$ac_ext
66179 cat >>conftest.$ac_ext <<_ACEOF
66180 /* end confdefs.h.  */
66181 #include <math.h>
66182                       #ifdef HAVE_IEEEFP_H
66183                       #include <ieeefp.h>
66184                       #endif
66185
66186 int
66187 main ()
66188 {
66189  _finite(0);
66190   ;
66191   return 0;
66192 }
66193 _ACEOF
66194 rm -f conftest.$ac_objext
66195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66196   (eval $ac_compile) 2>conftest.er1
66197   ac_status=$?
66198   grep -v '^ *+' conftest.er1 >conftest.err
66199   rm -f conftest.er1
66200   cat conftest.err >&5
66201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202   (exit $ac_status); } &&
66203          { ac_try='test -z "$ac_cxx_werror_flag"
66204                          || test ! -s conftest.err'
66205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66206   (eval $ac_try) 2>&5
66207   ac_status=$?
66208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66209   (exit $ac_status); }; } &&
66210          { ac_try='test -s conftest.$ac_objext'
66211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66212   (eval $ac_try) 2>&5
66213   ac_status=$?
66214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66215   (exit $ac_status); }; }; then
66216   glibcxx_cv_func__finite_use=yes
66217 else
66218   echo "$as_me: failed program was:" >&5
66219 sed 's/^/| /' conftest.$ac_ext >&5
66220
66221 glibcxx_cv_func__finite_use=no
66222 fi
66223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66224       ac_ext=c
66225 ac_cpp='$CPP $CPPFLAGS'
66226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66229
66230
66231 fi
66232
66233   fi
66234   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
66235 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
66236
66237     if test x$glibcxx_cv_func__finite_use = x"yes"; then
66238
66239 for ac_func in _finite
66240 do
66241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66242 echo "$as_me:$LINENO: checking for $ac_func" >&5
66243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66244 if eval "test \"\${$as_ac_var+set}\" = set"; then
66245   echo $ECHO_N "(cached) $ECHO_C" >&6
66246 else
66247   if test x$gcc_no_link = xyes; then
66248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66250    { (exit 1); exit 1; }; }
66251 fi
66252 cat >conftest.$ac_ext <<_ACEOF
66253 /* confdefs.h.  */
66254 _ACEOF
66255 cat confdefs.h >>conftest.$ac_ext
66256 cat >>conftest.$ac_ext <<_ACEOF
66257 /* end confdefs.h.  */
66258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66260 #define $ac_func innocuous_$ac_func
66261
66262 /* System header to define __stub macros and hopefully few prototypes,
66263     which can conflict with char $ac_func (); below.
66264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66265     <limits.h> exists even on freestanding compilers.  */
66266
66267 #ifdef __STDC__
66268 # include <limits.h>
66269 #else
66270 # include <assert.h>
66271 #endif
66272
66273 #undef $ac_func
66274
66275 /* Override any gcc2 internal prototype to avoid an error.  */
66276 #ifdef __cplusplus
66277 extern "C"
66278 {
66279 #endif
66280 /* We use char because int might match the return type of a gcc2
66281    builtin and then its argument prototype would still apply.  */
66282 char $ac_func ();
66283 /* The GNU C library defines this for functions which it implements
66284     to always fail with ENOSYS.  Some functions are actually named
66285     something starting with __ and the normal name is an alias.  */
66286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66287 choke me
66288 #else
66289 char (*f) () = $ac_func;
66290 #endif
66291 #ifdef __cplusplus
66292 }
66293 #endif
66294
66295 int
66296 main ()
66297 {
66298 return f != $ac_func;
66299   ;
66300   return 0;
66301 }
66302 _ACEOF
66303 rm -f conftest.$ac_objext conftest$ac_exeext
66304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66305   (eval $ac_link) 2>conftest.er1
66306   ac_status=$?
66307   grep -v '^ *+' conftest.er1 >conftest.err
66308   rm -f conftest.er1
66309   cat conftest.err >&5
66310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311   (exit $ac_status); } &&
66312          { ac_try='test -z "$ac_c_werror_flag"
66313                          || test ! -s conftest.err'
66314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66315   (eval $ac_try) 2>&5
66316   ac_status=$?
66317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66318   (exit $ac_status); }; } &&
66319          { ac_try='test -s conftest$ac_exeext'
66320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66321   (eval $ac_try) 2>&5
66322   ac_status=$?
66323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66324   (exit $ac_status); }; }; then
66325   eval "$as_ac_var=yes"
66326 else
66327   echo "$as_me: failed program was:" >&5
66328 sed 's/^/| /' conftest.$ac_ext >&5
66329
66330 eval "$as_ac_var=no"
66331 fi
66332 rm -f conftest.err conftest.$ac_objext \
66333       conftest$ac_exeext conftest.$ac_ext
66334 fi
66335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66337 if test `eval echo '${'$as_ac_var'}'` = yes; then
66338   cat >>confdefs.h <<_ACEOF
66339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66340 _ACEOF
66341
66342 fi
66343 done
66344
66345     fi
66346   fi
66347
66348
66349
66350
66351
66352
66353   echo "$as_me:$LINENO: checking for copysign declaration" >&5
66354 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
66355   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
66356     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
66357   echo $ECHO_N "(cached) $ECHO_C" >&6
66358 else
66359
66360
66361
66362       ac_ext=cc
66363 ac_cpp='$CXXCPP $CPPFLAGS'
66364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66367
66368       cat >conftest.$ac_ext <<_ACEOF
66369 /* confdefs.h.  */
66370 _ACEOF
66371 cat confdefs.h >>conftest.$ac_ext
66372 cat >>conftest.$ac_ext <<_ACEOF
66373 /* end confdefs.h.  */
66374 #include <math.h>
66375 int
66376 main ()
66377 {
66378  copysign(0, 0);
66379   ;
66380   return 0;
66381 }
66382 _ACEOF
66383 rm -f conftest.$ac_objext
66384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66385   (eval $ac_compile) 2>conftest.er1
66386   ac_status=$?
66387   grep -v '^ *+' conftest.er1 >conftest.err
66388   rm -f conftest.er1
66389   cat conftest.err >&5
66390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391   (exit $ac_status); } &&
66392          { ac_try='test -z "$ac_cxx_werror_flag"
66393                          || test ! -s conftest.err'
66394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66395   (eval $ac_try) 2>&5
66396   ac_status=$?
66397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66398   (exit $ac_status); }; } &&
66399          { ac_try='test -s conftest.$ac_objext'
66400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66401   (eval $ac_try) 2>&5
66402   ac_status=$?
66403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66404   (exit $ac_status); }; }; then
66405   glibcxx_cv_func_copysign_use=yes
66406 else
66407   echo "$as_me: failed program was:" >&5
66408 sed 's/^/| /' conftest.$ac_ext >&5
66409
66410 glibcxx_cv_func_copysign_use=no
66411 fi
66412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66413       ac_ext=c
66414 ac_cpp='$CPP $CPPFLAGS'
66415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66418
66419
66420 fi
66421
66422   fi
66423   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66424 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66425
66426   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66427
66428 for ac_func in copysign
66429 do
66430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66431 echo "$as_me:$LINENO: checking for $ac_func" >&5
66432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66433 if eval "test \"\${$as_ac_var+set}\" = set"; then
66434   echo $ECHO_N "(cached) $ECHO_C" >&6
66435 else
66436   if test x$gcc_no_link = xyes; then
66437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66439    { (exit 1); exit 1; }; }
66440 fi
66441 cat >conftest.$ac_ext <<_ACEOF
66442 /* confdefs.h.  */
66443 _ACEOF
66444 cat confdefs.h >>conftest.$ac_ext
66445 cat >>conftest.$ac_ext <<_ACEOF
66446 /* end confdefs.h.  */
66447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66449 #define $ac_func innocuous_$ac_func
66450
66451 /* System header to define __stub macros and hopefully few prototypes,
66452     which can conflict with char $ac_func (); below.
66453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66454     <limits.h> exists even on freestanding compilers.  */
66455
66456 #ifdef __STDC__
66457 # include <limits.h>
66458 #else
66459 # include <assert.h>
66460 #endif
66461
66462 #undef $ac_func
66463
66464 /* Override any gcc2 internal prototype to avoid an error.  */
66465 #ifdef __cplusplus
66466 extern "C"
66467 {
66468 #endif
66469 /* We use char because int might match the return type of a gcc2
66470    builtin and then its argument prototype would still apply.  */
66471 char $ac_func ();
66472 /* The GNU C library defines this for functions which it implements
66473     to always fail with ENOSYS.  Some functions are actually named
66474     something starting with __ and the normal name is an alias.  */
66475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66476 choke me
66477 #else
66478 char (*f) () = $ac_func;
66479 #endif
66480 #ifdef __cplusplus
66481 }
66482 #endif
66483
66484 int
66485 main ()
66486 {
66487 return f != $ac_func;
66488   ;
66489   return 0;
66490 }
66491 _ACEOF
66492 rm -f conftest.$ac_objext conftest$ac_exeext
66493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66494   (eval $ac_link) 2>conftest.er1
66495   ac_status=$?
66496   grep -v '^ *+' conftest.er1 >conftest.err
66497   rm -f conftest.er1
66498   cat conftest.err >&5
66499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66500   (exit $ac_status); } &&
66501          { ac_try='test -z "$ac_c_werror_flag"
66502                          || test ! -s conftest.err'
66503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66504   (eval $ac_try) 2>&5
66505   ac_status=$?
66506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66507   (exit $ac_status); }; } &&
66508          { ac_try='test -s conftest$ac_exeext'
66509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66510   (eval $ac_try) 2>&5
66511   ac_status=$?
66512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66513   (exit $ac_status); }; }; then
66514   eval "$as_ac_var=yes"
66515 else
66516   echo "$as_me: failed program was:" >&5
66517 sed 's/^/| /' conftest.$ac_ext >&5
66518
66519 eval "$as_ac_var=no"
66520 fi
66521 rm -f conftest.err conftest.$ac_objext \
66522       conftest$ac_exeext conftest.$ac_ext
66523 fi
66524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66526 if test `eval echo '${'$as_ac_var'}'` = yes; then
66527   cat >>confdefs.h <<_ACEOF
66528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66529 _ACEOF
66530
66531 fi
66532 done
66533
66534   else
66535
66536   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66537 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66538   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66539     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66540   echo $ECHO_N "(cached) $ECHO_C" >&6
66541 else
66542
66543
66544
66545       ac_ext=cc
66546 ac_cpp='$CXXCPP $CPPFLAGS'
66547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66550
66551       cat >conftest.$ac_ext <<_ACEOF
66552 /* confdefs.h.  */
66553 _ACEOF
66554 cat confdefs.h >>conftest.$ac_ext
66555 cat >>conftest.$ac_ext <<_ACEOF
66556 /* end confdefs.h.  */
66557 #include <math.h>
66558 int
66559 main ()
66560 {
66561  _copysign(0, 0);
66562   ;
66563   return 0;
66564 }
66565 _ACEOF
66566 rm -f conftest.$ac_objext
66567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66568   (eval $ac_compile) 2>conftest.er1
66569   ac_status=$?
66570   grep -v '^ *+' conftest.er1 >conftest.err
66571   rm -f conftest.er1
66572   cat conftest.err >&5
66573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66574   (exit $ac_status); } &&
66575          { ac_try='test -z "$ac_cxx_werror_flag"
66576                          || test ! -s conftest.err'
66577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66578   (eval $ac_try) 2>&5
66579   ac_status=$?
66580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66581   (exit $ac_status); }; } &&
66582          { ac_try='test -s conftest.$ac_objext'
66583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66584   (eval $ac_try) 2>&5
66585   ac_status=$?
66586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66587   (exit $ac_status); }; }; then
66588   glibcxx_cv_func__copysign_use=yes
66589 else
66590   echo "$as_me: failed program was:" >&5
66591 sed 's/^/| /' conftest.$ac_ext >&5
66592
66593 glibcxx_cv_func__copysign_use=no
66594 fi
66595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66596       ac_ext=c
66597 ac_cpp='$CPP $CPPFLAGS'
66598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66601
66602
66603 fi
66604
66605   fi
66606   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66607 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66608
66609     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66610
66611 for ac_func in _copysign
66612 do
66613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66614 echo "$as_me:$LINENO: checking for $ac_func" >&5
66615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66616 if eval "test \"\${$as_ac_var+set}\" = set"; then
66617   echo $ECHO_N "(cached) $ECHO_C" >&6
66618 else
66619   if test x$gcc_no_link = xyes; then
66620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66622    { (exit 1); exit 1; }; }
66623 fi
66624 cat >conftest.$ac_ext <<_ACEOF
66625 /* confdefs.h.  */
66626 _ACEOF
66627 cat confdefs.h >>conftest.$ac_ext
66628 cat >>conftest.$ac_ext <<_ACEOF
66629 /* end confdefs.h.  */
66630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66632 #define $ac_func innocuous_$ac_func
66633
66634 /* System header to define __stub macros and hopefully few prototypes,
66635     which can conflict with char $ac_func (); below.
66636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66637     <limits.h> exists even on freestanding compilers.  */
66638
66639 #ifdef __STDC__
66640 # include <limits.h>
66641 #else
66642 # include <assert.h>
66643 #endif
66644
66645 #undef $ac_func
66646
66647 /* Override any gcc2 internal prototype to avoid an error.  */
66648 #ifdef __cplusplus
66649 extern "C"
66650 {
66651 #endif
66652 /* We use char because int might match the return type of a gcc2
66653    builtin and then its argument prototype would still apply.  */
66654 char $ac_func ();
66655 /* The GNU C library defines this for functions which it implements
66656     to always fail with ENOSYS.  Some functions are actually named
66657     something starting with __ and the normal name is an alias.  */
66658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66659 choke me
66660 #else
66661 char (*f) () = $ac_func;
66662 #endif
66663 #ifdef __cplusplus
66664 }
66665 #endif
66666
66667 int
66668 main ()
66669 {
66670 return f != $ac_func;
66671   ;
66672   return 0;
66673 }
66674 _ACEOF
66675 rm -f conftest.$ac_objext conftest$ac_exeext
66676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66677   (eval $ac_link) 2>conftest.er1
66678   ac_status=$?
66679   grep -v '^ *+' conftest.er1 >conftest.err
66680   rm -f conftest.er1
66681   cat conftest.err >&5
66682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683   (exit $ac_status); } &&
66684          { ac_try='test -z "$ac_c_werror_flag"
66685                          || test ! -s conftest.err'
66686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66687   (eval $ac_try) 2>&5
66688   ac_status=$?
66689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66690   (exit $ac_status); }; } &&
66691          { ac_try='test -s conftest$ac_exeext'
66692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66693   (eval $ac_try) 2>&5
66694   ac_status=$?
66695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66696   (exit $ac_status); }; }; then
66697   eval "$as_ac_var=yes"
66698 else
66699   echo "$as_me: failed program was:" >&5
66700 sed 's/^/| /' conftest.$ac_ext >&5
66701
66702 eval "$as_ac_var=no"
66703 fi
66704 rm -f conftest.err conftest.$ac_objext \
66705       conftest$ac_exeext conftest.$ac_ext
66706 fi
66707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66709 if test `eval echo '${'$as_ac_var'}'` = yes; then
66710   cat >>confdefs.h <<_ACEOF
66711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66712 _ACEOF
66713
66714 fi
66715 done
66716
66717     fi
66718   fi
66719
66720
66721
66722
66723
66724
66725   echo "$as_me:$LINENO: checking for sincos declaration" >&5
66726 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66727   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66728     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66729   echo $ECHO_N "(cached) $ECHO_C" >&6
66730 else
66731
66732
66733
66734       ac_ext=cc
66735 ac_cpp='$CXXCPP $CPPFLAGS'
66736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66739
66740       cat >conftest.$ac_ext <<_ACEOF
66741 /* confdefs.h.  */
66742 _ACEOF
66743 cat confdefs.h >>conftest.$ac_ext
66744 cat >>conftest.$ac_ext <<_ACEOF
66745 /* end confdefs.h.  */
66746 #include <math.h>
66747 int
66748 main ()
66749 {
66750  sincos(0, 0, 0);
66751   ;
66752   return 0;
66753 }
66754 _ACEOF
66755 rm -f conftest.$ac_objext
66756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66757   (eval $ac_compile) 2>conftest.er1
66758   ac_status=$?
66759   grep -v '^ *+' conftest.er1 >conftest.err
66760   rm -f conftest.er1
66761   cat conftest.err >&5
66762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66763   (exit $ac_status); } &&
66764          { ac_try='test -z "$ac_cxx_werror_flag"
66765                          || test ! -s conftest.err'
66766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66767   (eval $ac_try) 2>&5
66768   ac_status=$?
66769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66770   (exit $ac_status); }; } &&
66771          { ac_try='test -s conftest.$ac_objext'
66772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66773   (eval $ac_try) 2>&5
66774   ac_status=$?
66775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66776   (exit $ac_status); }; }; then
66777   glibcxx_cv_func_sincos_use=yes
66778 else
66779   echo "$as_me: failed program was:" >&5
66780 sed 's/^/| /' conftest.$ac_ext >&5
66781
66782 glibcxx_cv_func_sincos_use=no
66783 fi
66784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66785       ac_ext=c
66786 ac_cpp='$CPP $CPPFLAGS'
66787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66790
66791
66792 fi
66793
66794   fi
66795   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66796 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66797
66798   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66799
66800 for ac_func in sincos
66801 do
66802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66803 echo "$as_me:$LINENO: checking for $ac_func" >&5
66804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66805 if eval "test \"\${$as_ac_var+set}\" = set"; then
66806   echo $ECHO_N "(cached) $ECHO_C" >&6
66807 else
66808   if test x$gcc_no_link = xyes; then
66809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66811    { (exit 1); exit 1; }; }
66812 fi
66813 cat >conftest.$ac_ext <<_ACEOF
66814 /* confdefs.h.  */
66815 _ACEOF
66816 cat confdefs.h >>conftest.$ac_ext
66817 cat >>conftest.$ac_ext <<_ACEOF
66818 /* end confdefs.h.  */
66819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66821 #define $ac_func innocuous_$ac_func
66822
66823 /* System header to define __stub macros and hopefully few prototypes,
66824     which can conflict with char $ac_func (); below.
66825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66826     <limits.h> exists even on freestanding compilers.  */
66827
66828 #ifdef __STDC__
66829 # include <limits.h>
66830 #else
66831 # include <assert.h>
66832 #endif
66833
66834 #undef $ac_func
66835
66836 /* Override any gcc2 internal prototype to avoid an error.  */
66837 #ifdef __cplusplus
66838 extern "C"
66839 {
66840 #endif
66841 /* We use char because int might match the return type of a gcc2
66842    builtin and then its argument prototype would still apply.  */
66843 char $ac_func ();
66844 /* The GNU C library defines this for functions which it implements
66845     to always fail with ENOSYS.  Some functions are actually named
66846     something starting with __ and the normal name is an alias.  */
66847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66848 choke me
66849 #else
66850 char (*f) () = $ac_func;
66851 #endif
66852 #ifdef __cplusplus
66853 }
66854 #endif
66855
66856 int
66857 main ()
66858 {
66859 return f != $ac_func;
66860   ;
66861   return 0;
66862 }
66863 _ACEOF
66864 rm -f conftest.$ac_objext conftest$ac_exeext
66865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66866   (eval $ac_link) 2>conftest.er1
66867   ac_status=$?
66868   grep -v '^ *+' conftest.er1 >conftest.err
66869   rm -f conftest.er1
66870   cat conftest.err >&5
66871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66872   (exit $ac_status); } &&
66873          { ac_try='test -z "$ac_c_werror_flag"
66874                          || test ! -s conftest.err'
66875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66876   (eval $ac_try) 2>&5
66877   ac_status=$?
66878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66879   (exit $ac_status); }; } &&
66880          { ac_try='test -s conftest$ac_exeext'
66881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66882   (eval $ac_try) 2>&5
66883   ac_status=$?
66884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66885   (exit $ac_status); }; }; then
66886   eval "$as_ac_var=yes"
66887 else
66888   echo "$as_me: failed program was:" >&5
66889 sed 's/^/| /' conftest.$ac_ext >&5
66890
66891 eval "$as_ac_var=no"
66892 fi
66893 rm -f conftest.err conftest.$ac_objext \
66894       conftest$ac_exeext conftest.$ac_ext
66895 fi
66896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66898 if test `eval echo '${'$as_ac_var'}'` = yes; then
66899   cat >>confdefs.h <<_ACEOF
66900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66901 _ACEOF
66902
66903 fi
66904 done
66905
66906   else
66907
66908   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66909 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66910   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66911     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66912   echo $ECHO_N "(cached) $ECHO_C" >&6
66913 else
66914
66915
66916
66917       ac_ext=cc
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66922
66923       cat >conftest.$ac_ext <<_ACEOF
66924 /* confdefs.h.  */
66925 _ACEOF
66926 cat confdefs.h >>conftest.$ac_ext
66927 cat >>conftest.$ac_ext <<_ACEOF
66928 /* end confdefs.h.  */
66929 #include <math.h>
66930 int
66931 main ()
66932 {
66933  _sincos(0, 0, 0);
66934   ;
66935   return 0;
66936 }
66937 _ACEOF
66938 rm -f conftest.$ac_objext
66939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66940   (eval $ac_compile) 2>conftest.er1
66941   ac_status=$?
66942   grep -v '^ *+' conftest.er1 >conftest.err
66943   rm -f conftest.er1
66944   cat conftest.err >&5
66945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66946   (exit $ac_status); } &&
66947          { ac_try='test -z "$ac_cxx_werror_flag"
66948                          || test ! -s conftest.err'
66949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66950   (eval $ac_try) 2>&5
66951   ac_status=$?
66952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66953   (exit $ac_status); }; } &&
66954          { ac_try='test -s conftest.$ac_objext'
66955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66956   (eval $ac_try) 2>&5
66957   ac_status=$?
66958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66959   (exit $ac_status); }; }; then
66960   glibcxx_cv_func__sincos_use=yes
66961 else
66962   echo "$as_me: failed program was:" >&5
66963 sed 's/^/| /' conftest.$ac_ext >&5
66964
66965 glibcxx_cv_func__sincos_use=no
66966 fi
66967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66968       ac_ext=c
66969 ac_cpp='$CPP $CPPFLAGS'
66970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66973
66974
66975 fi
66976
66977   fi
66978   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66979 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66980
66981     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66982
66983 for ac_func in _sincos
66984 do
66985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66986 echo "$as_me:$LINENO: checking for $ac_func" >&5
66987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66988 if eval "test \"\${$as_ac_var+set}\" = set"; then
66989   echo $ECHO_N "(cached) $ECHO_C" >&6
66990 else
66991   if test x$gcc_no_link = xyes; then
66992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66994    { (exit 1); exit 1; }; }
66995 fi
66996 cat >conftest.$ac_ext <<_ACEOF
66997 /* confdefs.h.  */
66998 _ACEOF
66999 cat confdefs.h >>conftest.$ac_ext
67000 cat >>conftest.$ac_ext <<_ACEOF
67001 /* end confdefs.h.  */
67002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67004 #define $ac_func innocuous_$ac_func
67005
67006 /* System header to define __stub macros and hopefully few prototypes,
67007     which can conflict with char $ac_func (); below.
67008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67009     <limits.h> exists even on freestanding compilers.  */
67010
67011 #ifdef __STDC__
67012 # include <limits.h>
67013 #else
67014 # include <assert.h>
67015 #endif
67016
67017 #undef $ac_func
67018
67019 /* Override any gcc2 internal prototype to avoid an error.  */
67020 #ifdef __cplusplus
67021 extern "C"
67022 {
67023 #endif
67024 /* We use char because int might match the return type of a gcc2
67025    builtin and then its argument prototype would still apply.  */
67026 char $ac_func ();
67027 /* The GNU C library defines this for functions which it implements
67028     to always fail with ENOSYS.  Some functions are actually named
67029     something starting with __ and the normal name is an alias.  */
67030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67031 choke me
67032 #else
67033 char (*f) () = $ac_func;
67034 #endif
67035 #ifdef __cplusplus
67036 }
67037 #endif
67038
67039 int
67040 main ()
67041 {
67042 return f != $ac_func;
67043   ;
67044   return 0;
67045 }
67046 _ACEOF
67047 rm -f conftest.$ac_objext conftest$ac_exeext
67048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67049   (eval $ac_link) 2>conftest.er1
67050   ac_status=$?
67051   grep -v '^ *+' conftest.er1 >conftest.err
67052   rm -f conftest.er1
67053   cat conftest.err >&5
67054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67055   (exit $ac_status); } &&
67056          { ac_try='test -z "$ac_c_werror_flag"
67057                          || test ! -s conftest.err'
67058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67059   (eval $ac_try) 2>&5
67060   ac_status=$?
67061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67062   (exit $ac_status); }; } &&
67063          { ac_try='test -s conftest$ac_exeext'
67064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67065   (eval $ac_try) 2>&5
67066   ac_status=$?
67067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67068   (exit $ac_status); }; }; then
67069   eval "$as_ac_var=yes"
67070 else
67071   echo "$as_me: failed program was:" >&5
67072 sed 's/^/| /' conftest.$ac_ext >&5
67073
67074 eval "$as_ac_var=no"
67075 fi
67076 rm -f conftest.err conftest.$ac_objext \
67077       conftest$ac_exeext conftest.$ac_ext
67078 fi
67079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67081 if test `eval echo '${'$as_ac_var'}'` = yes; then
67082   cat >>confdefs.h <<_ACEOF
67083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67084 _ACEOF
67085
67086 fi
67087 done
67088
67089     fi
67090   fi
67091
67092
67093
67094
67095
67096
67097   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67098 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67099   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67100     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67101   echo $ECHO_N "(cached) $ECHO_C" >&6
67102 else
67103
67104
67105
67106       ac_ext=cc
67107 ac_cpp='$CXXCPP $CPPFLAGS'
67108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67111
67112       cat >conftest.$ac_ext <<_ACEOF
67113 /* confdefs.h.  */
67114 _ACEOF
67115 cat confdefs.h >>conftest.$ac_ext
67116 cat >>conftest.$ac_ext <<_ACEOF
67117 /* end confdefs.h.  */
67118 #include <math.h>
67119                       #ifdef HAVE_IEEEFP_H
67120                       #include <ieeefp.h>
67121                       #endif
67122
67123 int
67124 main ()
67125 {
67126  fpclass(0);
67127   ;
67128   return 0;
67129 }
67130 _ACEOF
67131 rm -f conftest.$ac_objext
67132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67133   (eval $ac_compile) 2>conftest.er1
67134   ac_status=$?
67135   grep -v '^ *+' conftest.er1 >conftest.err
67136   rm -f conftest.er1
67137   cat conftest.err >&5
67138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67139   (exit $ac_status); } &&
67140          { ac_try='test -z "$ac_cxx_werror_flag"
67141                          || test ! -s conftest.err'
67142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67143   (eval $ac_try) 2>&5
67144   ac_status=$?
67145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67146   (exit $ac_status); }; } &&
67147          { ac_try='test -s conftest.$ac_objext'
67148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67149   (eval $ac_try) 2>&5
67150   ac_status=$?
67151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152   (exit $ac_status); }; }; then
67153   glibcxx_cv_func_fpclass_use=yes
67154 else
67155   echo "$as_me: failed program was:" >&5
67156 sed 's/^/| /' conftest.$ac_ext >&5
67157
67158 glibcxx_cv_func_fpclass_use=no
67159 fi
67160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67161       ac_ext=c
67162 ac_cpp='$CPP $CPPFLAGS'
67163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67166
67167
67168 fi
67169
67170   fi
67171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67172 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67173
67174   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67175
67176 for ac_func in fpclass
67177 do
67178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67179 echo "$as_me:$LINENO: checking for $ac_func" >&5
67180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67181 if eval "test \"\${$as_ac_var+set}\" = set"; then
67182   echo $ECHO_N "(cached) $ECHO_C" >&6
67183 else
67184   if test x$gcc_no_link = xyes; then
67185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67187    { (exit 1); exit 1; }; }
67188 fi
67189 cat >conftest.$ac_ext <<_ACEOF
67190 /* confdefs.h.  */
67191 _ACEOF
67192 cat confdefs.h >>conftest.$ac_ext
67193 cat >>conftest.$ac_ext <<_ACEOF
67194 /* end confdefs.h.  */
67195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67197 #define $ac_func innocuous_$ac_func
67198
67199 /* System header to define __stub macros and hopefully few prototypes,
67200     which can conflict with char $ac_func (); below.
67201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67202     <limits.h> exists even on freestanding compilers.  */
67203
67204 #ifdef __STDC__
67205 # include <limits.h>
67206 #else
67207 # include <assert.h>
67208 #endif
67209
67210 #undef $ac_func
67211
67212 /* Override any gcc2 internal prototype to avoid an error.  */
67213 #ifdef __cplusplus
67214 extern "C"
67215 {
67216 #endif
67217 /* We use char because int might match the return type of a gcc2
67218    builtin and then its argument prototype would still apply.  */
67219 char $ac_func ();
67220 /* The GNU C library defines this for functions which it implements
67221     to always fail with ENOSYS.  Some functions are actually named
67222     something starting with __ and the normal name is an alias.  */
67223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67224 choke me
67225 #else
67226 char (*f) () = $ac_func;
67227 #endif
67228 #ifdef __cplusplus
67229 }
67230 #endif
67231
67232 int
67233 main ()
67234 {
67235 return f != $ac_func;
67236   ;
67237   return 0;
67238 }
67239 _ACEOF
67240 rm -f conftest.$ac_objext conftest$ac_exeext
67241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67242   (eval $ac_link) 2>conftest.er1
67243   ac_status=$?
67244   grep -v '^ *+' conftest.er1 >conftest.err
67245   rm -f conftest.er1
67246   cat conftest.err >&5
67247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67248   (exit $ac_status); } &&
67249          { ac_try='test -z "$ac_c_werror_flag"
67250                          || test ! -s conftest.err'
67251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67252   (eval $ac_try) 2>&5
67253   ac_status=$?
67254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67255   (exit $ac_status); }; } &&
67256          { ac_try='test -s conftest$ac_exeext'
67257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67258   (eval $ac_try) 2>&5
67259   ac_status=$?
67260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67261   (exit $ac_status); }; }; then
67262   eval "$as_ac_var=yes"
67263 else
67264   echo "$as_me: failed program was:" >&5
67265 sed 's/^/| /' conftest.$ac_ext >&5
67266
67267 eval "$as_ac_var=no"
67268 fi
67269 rm -f conftest.err conftest.$ac_objext \
67270       conftest$ac_exeext conftest.$ac_ext
67271 fi
67272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67274 if test `eval echo '${'$as_ac_var'}'` = yes; then
67275   cat >>confdefs.h <<_ACEOF
67276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67277 _ACEOF
67278
67279 fi
67280 done
67281
67282   else
67283
67284   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
67285 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
67286   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67287     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
67288   echo $ECHO_N "(cached) $ECHO_C" >&6
67289 else
67290
67291
67292
67293       ac_ext=cc
67294 ac_cpp='$CXXCPP $CPPFLAGS'
67295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67298
67299       cat >conftest.$ac_ext <<_ACEOF
67300 /* confdefs.h.  */
67301 _ACEOF
67302 cat confdefs.h >>conftest.$ac_ext
67303 cat >>conftest.$ac_ext <<_ACEOF
67304 /* end confdefs.h.  */
67305 #include <math.h>
67306                       #ifdef HAVE_IEEEFP_H
67307                       #include <ieeefp.h>
67308                       #endif
67309
67310 int
67311 main ()
67312 {
67313  _fpclass(0);
67314   ;
67315   return 0;
67316 }
67317 _ACEOF
67318 rm -f conftest.$ac_objext
67319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67320   (eval $ac_compile) 2>conftest.er1
67321   ac_status=$?
67322   grep -v '^ *+' conftest.er1 >conftest.err
67323   rm -f conftest.er1
67324   cat conftest.err >&5
67325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67326   (exit $ac_status); } &&
67327          { ac_try='test -z "$ac_cxx_werror_flag"
67328                          || test ! -s conftest.err'
67329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67330   (eval $ac_try) 2>&5
67331   ac_status=$?
67332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67333   (exit $ac_status); }; } &&
67334          { ac_try='test -s conftest.$ac_objext'
67335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67336   (eval $ac_try) 2>&5
67337   ac_status=$?
67338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67339   (exit $ac_status); }; }; then
67340   glibcxx_cv_func__fpclass_use=yes
67341 else
67342   echo "$as_me: failed program was:" >&5
67343 sed 's/^/| /' conftest.$ac_ext >&5
67344
67345 glibcxx_cv_func__fpclass_use=no
67346 fi
67347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67348       ac_ext=c
67349 ac_cpp='$CPP $CPPFLAGS'
67350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67353
67354
67355 fi
67356
67357   fi
67358   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
67359 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
67360
67361     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67362
67363 for ac_func in _fpclass
67364 do
67365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67366 echo "$as_me:$LINENO: checking for $ac_func" >&5
67367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67368 if eval "test \"\${$as_ac_var+set}\" = set"; then
67369   echo $ECHO_N "(cached) $ECHO_C" >&6
67370 else
67371   if test x$gcc_no_link = xyes; then
67372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67374    { (exit 1); exit 1; }; }
67375 fi
67376 cat >conftest.$ac_ext <<_ACEOF
67377 /* confdefs.h.  */
67378 _ACEOF
67379 cat confdefs.h >>conftest.$ac_ext
67380 cat >>conftest.$ac_ext <<_ACEOF
67381 /* end confdefs.h.  */
67382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67384 #define $ac_func innocuous_$ac_func
67385
67386 /* System header to define __stub macros and hopefully few prototypes,
67387     which can conflict with char $ac_func (); below.
67388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67389     <limits.h> exists even on freestanding compilers.  */
67390
67391 #ifdef __STDC__
67392 # include <limits.h>
67393 #else
67394 # include <assert.h>
67395 #endif
67396
67397 #undef $ac_func
67398
67399 /* Override any gcc2 internal prototype to avoid an error.  */
67400 #ifdef __cplusplus
67401 extern "C"
67402 {
67403 #endif
67404 /* We use char because int might match the return type of a gcc2
67405    builtin and then its argument prototype would still apply.  */
67406 char $ac_func ();
67407 /* The GNU C library defines this for functions which it implements
67408     to always fail with ENOSYS.  Some functions are actually named
67409     something starting with __ and the normal name is an alias.  */
67410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67411 choke me
67412 #else
67413 char (*f) () = $ac_func;
67414 #endif
67415 #ifdef __cplusplus
67416 }
67417 #endif
67418
67419 int
67420 main ()
67421 {
67422 return f != $ac_func;
67423   ;
67424   return 0;
67425 }
67426 _ACEOF
67427 rm -f conftest.$ac_objext conftest$ac_exeext
67428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67429   (eval $ac_link) 2>conftest.er1
67430   ac_status=$?
67431   grep -v '^ *+' conftest.er1 >conftest.err
67432   rm -f conftest.er1
67433   cat conftest.err >&5
67434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67435   (exit $ac_status); } &&
67436          { ac_try='test -z "$ac_c_werror_flag"
67437                          || test ! -s conftest.err'
67438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67439   (eval $ac_try) 2>&5
67440   ac_status=$?
67441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67442   (exit $ac_status); }; } &&
67443          { ac_try='test -s conftest$ac_exeext'
67444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67445   (eval $ac_try) 2>&5
67446   ac_status=$?
67447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67448   (exit $ac_status); }; }; then
67449   eval "$as_ac_var=yes"
67450 else
67451   echo "$as_me: failed program was:" >&5
67452 sed 's/^/| /' conftest.$ac_ext >&5
67453
67454 eval "$as_ac_var=no"
67455 fi
67456 rm -f conftest.err conftest.$ac_objext \
67457       conftest$ac_exeext conftest.$ac_ext
67458 fi
67459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67461 if test `eval echo '${'$as_ac_var'}'` = yes; then
67462   cat >>confdefs.h <<_ACEOF
67463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67464 _ACEOF
67465
67466 fi
67467 done
67468
67469     fi
67470   fi
67471
67472
67473
67474
67475
67476
67477   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67478 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67479   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67480     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67481   echo $ECHO_N "(cached) $ECHO_C" >&6
67482 else
67483
67484
67485
67486       ac_ext=cc
67487 ac_cpp='$CXXCPP $CPPFLAGS'
67488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67491
67492       cat >conftest.$ac_ext <<_ACEOF
67493 /* confdefs.h.  */
67494 _ACEOF
67495 cat confdefs.h >>conftest.$ac_ext
67496 cat >>conftest.$ac_ext <<_ACEOF
67497 /* end confdefs.h.  */
67498 #include <math.h>
67499                       #ifdef HAVE_IEEEFP_H
67500                       #include <ieeefp.h>
67501                       #endif
67502
67503 int
67504 main ()
67505 {
67506  qfpclass(0);
67507   ;
67508   return 0;
67509 }
67510 _ACEOF
67511 rm -f conftest.$ac_objext
67512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67513   (eval $ac_compile) 2>conftest.er1
67514   ac_status=$?
67515   grep -v '^ *+' conftest.er1 >conftest.err
67516   rm -f conftest.er1
67517   cat conftest.err >&5
67518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67519   (exit $ac_status); } &&
67520          { ac_try='test -z "$ac_cxx_werror_flag"
67521                          || test ! -s conftest.err'
67522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67523   (eval $ac_try) 2>&5
67524   ac_status=$?
67525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67526   (exit $ac_status); }; } &&
67527          { ac_try='test -s conftest.$ac_objext'
67528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67529   (eval $ac_try) 2>&5
67530   ac_status=$?
67531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67532   (exit $ac_status); }; }; then
67533   glibcxx_cv_func_qfpclass_use=yes
67534 else
67535   echo "$as_me: failed program was:" >&5
67536 sed 's/^/| /' conftest.$ac_ext >&5
67537
67538 glibcxx_cv_func_qfpclass_use=no
67539 fi
67540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67541       ac_ext=c
67542 ac_cpp='$CPP $CPPFLAGS'
67543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67546
67547
67548 fi
67549
67550   fi
67551   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67552 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67553
67554   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67555
67556 for ac_func in qfpclass
67557 do
67558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67559 echo "$as_me:$LINENO: checking for $ac_func" >&5
67560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67561 if eval "test \"\${$as_ac_var+set}\" = set"; then
67562   echo $ECHO_N "(cached) $ECHO_C" >&6
67563 else
67564   if test x$gcc_no_link = xyes; then
67565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67567    { (exit 1); exit 1; }; }
67568 fi
67569 cat >conftest.$ac_ext <<_ACEOF
67570 /* confdefs.h.  */
67571 _ACEOF
67572 cat confdefs.h >>conftest.$ac_ext
67573 cat >>conftest.$ac_ext <<_ACEOF
67574 /* end confdefs.h.  */
67575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67577 #define $ac_func innocuous_$ac_func
67578
67579 /* System header to define __stub macros and hopefully few prototypes,
67580     which can conflict with char $ac_func (); below.
67581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67582     <limits.h> exists even on freestanding compilers.  */
67583
67584 #ifdef __STDC__
67585 # include <limits.h>
67586 #else
67587 # include <assert.h>
67588 #endif
67589
67590 #undef $ac_func
67591
67592 /* Override any gcc2 internal prototype to avoid an error.  */
67593 #ifdef __cplusplus
67594 extern "C"
67595 {
67596 #endif
67597 /* We use char because int might match the return type of a gcc2
67598    builtin and then its argument prototype would still apply.  */
67599 char $ac_func ();
67600 /* The GNU C library defines this for functions which it implements
67601     to always fail with ENOSYS.  Some functions are actually named
67602     something starting with __ and the normal name is an alias.  */
67603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67604 choke me
67605 #else
67606 char (*f) () = $ac_func;
67607 #endif
67608 #ifdef __cplusplus
67609 }
67610 #endif
67611
67612 int
67613 main ()
67614 {
67615 return f != $ac_func;
67616   ;
67617   return 0;
67618 }
67619 _ACEOF
67620 rm -f conftest.$ac_objext conftest$ac_exeext
67621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67622   (eval $ac_link) 2>conftest.er1
67623   ac_status=$?
67624   grep -v '^ *+' conftest.er1 >conftest.err
67625   rm -f conftest.er1
67626   cat conftest.err >&5
67627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67628   (exit $ac_status); } &&
67629          { ac_try='test -z "$ac_c_werror_flag"
67630                          || test ! -s conftest.err'
67631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67632   (eval $ac_try) 2>&5
67633   ac_status=$?
67634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67635   (exit $ac_status); }; } &&
67636          { ac_try='test -s conftest$ac_exeext'
67637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67638   (eval $ac_try) 2>&5
67639   ac_status=$?
67640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67641   (exit $ac_status); }; }; then
67642   eval "$as_ac_var=yes"
67643 else
67644   echo "$as_me: failed program was:" >&5
67645 sed 's/^/| /' conftest.$ac_ext >&5
67646
67647 eval "$as_ac_var=no"
67648 fi
67649 rm -f conftest.err conftest.$ac_objext \
67650       conftest$ac_exeext conftest.$ac_ext
67651 fi
67652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67654 if test `eval echo '${'$as_ac_var'}'` = yes; then
67655   cat >>confdefs.h <<_ACEOF
67656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67657 _ACEOF
67658
67659 fi
67660 done
67661
67662   else
67663
67664   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67665 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67666   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67667     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67668   echo $ECHO_N "(cached) $ECHO_C" >&6
67669 else
67670
67671
67672
67673       ac_ext=cc
67674 ac_cpp='$CXXCPP $CPPFLAGS'
67675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67678
67679       cat >conftest.$ac_ext <<_ACEOF
67680 /* confdefs.h.  */
67681 _ACEOF
67682 cat confdefs.h >>conftest.$ac_ext
67683 cat >>conftest.$ac_ext <<_ACEOF
67684 /* end confdefs.h.  */
67685 #include <math.h>
67686                       #ifdef HAVE_IEEEFP_H
67687                       #include <ieeefp.h>
67688                       #endif
67689
67690 int
67691 main ()
67692 {
67693  _qfpclass(0);
67694   ;
67695   return 0;
67696 }
67697 _ACEOF
67698 rm -f conftest.$ac_objext
67699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67700   (eval $ac_compile) 2>conftest.er1
67701   ac_status=$?
67702   grep -v '^ *+' conftest.er1 >conftest.err
67703   rm -f conftest.er1
67704   cat conftest.err >&5
67705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67706   (exit $ac_status); } &&
67707          { ac_try='test -z "$ac_cxx_werror_flag"
67708                          || test ! -s conftest.err'
67709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67710   (eval $ac_try) 2>&5
67711   ac_status=$?
67712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67713   (exit $ac_status); }; } &&
67714          { ac_try='test -s conftest.$ac_objext'
67715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67716   (eval $ac_try) 2>&5
67717   ac_status=$?
67718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67719   (exit $ac_status); }; }; then
67720   glibcxx_cv_func__qfpclass_use=yes
67721 else
67722   echo "$as_me: failed program was:" >&5
67723 sed 's/^/| /' conftest.$ac_ext >&5
67724
67725 glibcxx_cv_func__qfpclass_use=no
67726 fi
67727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67728       ac_ext=c
67729 ac_cpp='$CPP $CPPFLAGS'
67730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67733
67734
67735 fi
67736
67737   fi
67738   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67739 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67740
67741     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67742
67743 for ac_func in _qfpclass
67744 do
67745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67746 echo "$as_me:$LINENO: checking for $ac_func" >&5
67747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67748 if eval "test \"\${$as_ac_var+set}\" = set"; then
67749   echo $ECHO_N "(cached) $ECHO_C" >&6
67750 else
67751   if test x$gcc_no_link = xyes; then
67752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67754    { (exit 1); exit 1; }; }
67755 fi
67756 cat >conftest.$ac_ext <<_ACEOF
67757 /* confdefs.h.  */
67758 _ACEOF
67759 cat confdefs.h >>conftest.$ac_ext
67760 cat >>conftest.$ac_ext <<_ACEOF
67761 /* end confdefs.h.  */
67762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67764 #define $ac_func innocuous_$ac_func
67765
67766 /* System header to define __stub macros and hopefully few prototypes,
67767     which can conflict with char $ac_func (); below.
67768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67769     <limits.h> exists even on freestanding compilers.  */
67770
67771 #ifdef __STDC__
67772 # include <limits.h>
67773 #else
67774 # include <assert.h>
67775 #endif
67776
67777 #undef $ac_func
67778
67779 /* Override any gcc2 internal prototype to avoid an error.  */
67780 #ifdef __cplusplus
67781 extern "C"
67782 {
67783 #endif
67784 /* We use char because int might match the return type of a gcc2
67785    builtin and then its argument prototype would still apply.  */
67786 char $ac_func ();
67787 /* The GNU C library defines this for functions which it implements
67788     to always fail with ENOSYS.  Some functions are actually named
67789     something starting with __ and the normal name is an alias.  */
67790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67791 choke me
67792 #else
67793 char (*f) () = $ac_func;
67794 #endif
67795 #ifdef __cplusplus
67796 }
67797 #endif
67798
67799 int
67800 main ()
67801 {
67802 return f != $ac_func;
67803   ;
67804   return 0;
67805 }
67806 _ACEOF
67807 rm -f conftest.$ac_objext conftest$ac_exeext
67808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67809   (eval $ac_link) 2>conftest.er1
67810   ac_status=$?
67811   grep -v '^ *+' conftest.er1 >conftest.err
67812   rm -f conftest.er1
67813   cat conftest.err >&5
67814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67815   (exit $ac_status); } &&
67816          { ac_try='test -z "$ac_c_werror_flag"
67817                          || test ! -s conftest.err'
67818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67819   (eval $ac_try) 2>&5
67820   ac_status=$?
67821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67822   (exit $ac_status); }; } &&
67823          { ac_try='test -s conftest$ac_exeext'
67824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67825   (eval $ac_try) 2>&5
67826   ac_status=$?
67827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67828   (exit $ac_status); }; }; then
67829   eval "$as_ac_var=yes"
67830 else
67831   echo "$as_me: failed program was:" >&5
67832 sed 's/^/| /' conftest.$ac_ext >&5
67833
67834 eval "$as_ac_var=no"
67835 fi
67836 rm -f conftest.err conftest.$ac_objext \
67837       conftest$ac_exeext conftest.$ac_ext
67838 fi
67839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67841 if test `eval echo '${'$as_ac_var'}'` = yes; then
67842   cat >>confdefs.h <<_ACEOF
67843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67844 _ACEOF
67845
67846 fi
67847 done
67848
67849     fi
67850   fi
67851
67852
67853
67854
67855
67856
67857   echo "$as_me:$LINENO: checking for hypot declaration" >&5
67858 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
67859   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67860     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
67861   echo $ECHO_N "(cached) $ECHO_C" >&6
67862 else
67863
67864
67865
67866       ac_ext=cc
67867 ac_cpp='$CXXCPP $CPPFLAGS'
67868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67871
67872       cat >conftest.$ac_ext <<_ACEOF
67873 /* confdefs.h.  */
67874 _ACEOF
67875 cat confdefs.h >>conftest.$ac_ext
67876 cat >>conftest.$ac_ext <<_ACEOF
67877 /* end confdefs.h.  */
67878 #include <math.h>
67879 int
67880 main ()
67881 {
67882  hypot(0, 0);
67883   ;
67884   return 0;
67885 }
67886 _ACEOF
67887 rm -f conftest.$ac_objext
67888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67889   (eval $ac_compile) 2>conftest.er1
67890   ac_status=$?
67891   grep -v '^ *+' conftest.er1 >conftest.err
67892   rm -f conftest.er1
67893   cat conftest.err >&5
67894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67895   (exit $ac_status); } &&
67896          { ac_try='test -z "$ac_cxx_werror_flag"
67897                          || test ! -s conftest.err'
67898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67899   (eval $ac_try) 2>&5
67900   ac_status=$?
67901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67902   (exit $ac_status); }; } &&
67903          { ac_try='test -s conftest.$ac_objext'
67904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67905   (eval $ac_try) 2>&5
67906   ac_status=$?
67907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67908   (exit $ac_status); }; }; then
67909   glibcxx_cv_func_hypot_use=yes
67910 else
67911   echo "$as_me: failed program was:" >&5
67912 sed 's/^/| /' conftest.$ac_ext >&5
67913
67914 glibcxx_cv_func_hypot_use=no
67915 fi
67916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67917       ac_ext=c
67918 ac_cpp='$CPP $CPPFLAGS'
67919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67922
67923
67924 fi
67925
67926   fi
67927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67928 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67929
67930   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67931
67932 for ac_func in hypot
67933 do
67934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67935 echo "$as_me:$LINENO: checking for $ac_func" >&5
67936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67937 if eval "test \"\${$as_ac_var+set}\" = set"; then
67938   echo $ECHO_N "(cached) $ECHO_C" >&6
67939 else
67940   if test x$gcc_no_link = xyes; then
67941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67943    { (exit 1); exit 1; }; }
67944 fi
67945 cat >conftest.$ac_ext <<_ACEOF
67946 /* confdefs.h.  */
67947 _ACEOF
67948 cat confdefs.h >>conftest.$ac_ext
67949 cat >>conftest.$ac_ext <<_ACEOF
67950 /* end confdefs.h.  */
67951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67953 #define $ac_func innocuous_$ac_func
67954
67955 /* System header to define __stub macros and hopefully few prototypes,
67956     which can conflict with char $ac_func (); below.
67957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67958     <limits.h> exists even on freestanding compilers.  */
67959
67960 #ifdef __STDC__
67961 # include <limits.h>
67962 #else
67963 # include <assert.h>
67964 #endif
67965
67966 #undef $ac_func
67967
67968 /* Override any gcc2 internal prototype to avoid an error.  */
67969 #ifdef __cplusplus
67970 extern "C"
67971 {
67972 #endif
67973 /* We use char because int might match the return type of a gcc2
67974    builtin and then its argument prototype would still apply.  */
67975 char $ac_func ();
67976 /* The GNU C library defines this for functions which it implements
67977     to always fail with ENOSYS.  Some functions are actually named
67978     something starting with __ and the normal name is an alias.  */
67979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67980 choke me
67981 #else
67982 char (*f) () = $ac_func;
67983 #endif
67984 #ifdef __cplusplus
67985 }
67986 #endif
67987
67988 int
67989 main ()
67990 {
67991 return f != $ac_func;
67992   ;
67993   return 0;
67994 }
67995 _ACEOF
67996 rm -f conftest.$ac_objext conftest$ac_exeext
67997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67998   (eval $ac_link) 2>conftest.er1
67999   ac_status=$?
68000   grep -v '^ *+' conftest.er1 >conftest.err
68001   rm -f conftest.er1
68002   cat conftest.err >&5
68003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68004   (exit $ac_status); } &&
68005          { ac_try='test -z "$ac_c_werror_flag"
68006                          || test ! -s conftest.err'
68007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68008   (eval $ac_try) 2>&5
68009   ac_status=$?
68010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68011   (exit $ac_status); }; } &&
68012          { ac_try='test -s conftest$ac_exeext'
68013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68014   (eval $ac_try) 2>&5
68015   ac_status=$?
68016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68017   (exit $ac_status); }; }; then
68018   eval "$as_ac_var=yes"
68019 else
68020   echo "$as_me: failed program was:" >&5
68021 sed 's/^/| /' conftest.$ac_ext >&5
68022
68023 eval "$as_ac_var=no"
68024 fi
68025 rm -f conftest.err conftest.$ac_objext \
68026       conftest$ac_exeext conftest.$ac_ext
68027 fi
68028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68030 if test `eval echo '${'$as_ac_var'}'` = yes; then
68031   cat >>confdefs.h <<_ACEOF
68032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68033 _ACEOF
68034
68035 fi
68036 done
68037
68038   else
68039
68040   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
68041 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
68042   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68043     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
68044   echo $ECHO_N "(cached) $ECHO_C" >&6
68045 else
68046
68047
68048
68049       ac_ext=cc
68050 ac_cpp='$CXXCPP $CPPFLAGS'
68051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68054
68055       cat >conftest.$ac_ext <<_ACEOF
68056 /* confdefs.h.  */
68057 _ACEOF
68058 cat confdefs.h >>conftest.$ac_ext
68059 cat >>conftest.$ac_ext <<_ACEOF
68060 /* end confdefs.h.  */
68061 #include <math.h>
68062 int
68063 main ()
68064 {
68065  _hypot(0, 0);
68066   ;
68067   return 0;
68068 }
68069 _ACEOF
68070 rm -f conftest.$ac_objext
68071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68072   (eval $ac_compile) 2>conftest.er1
68073   ac_status=$?
68074   grep -v '^ *+' conftest.er1 >conftest.err
68075   rm -f conftest.er1
68076   cat conftest.err >&5
68077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68078   (exit $ac_status); } &&
68079          { ac_try='test -z "$ac_cxx_werror_flag"
68080                          || test ! -s conftest.err'
68081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68082   (eval $ac_try) 2>&5
68083   ac_status=$?
68084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68085   (exit $ac_status); }; } &&
68086          { ac_try='test -s conftest.$ac_objext'
68087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68088   (eval $ac_try) 2>&5
68089   ac_status=$?
68090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68091   (exit $ac_status); }; }; then
68092   glibcxx_cv_func__hypot_use=yes
68093 else
68094   echo "$as_me: failed program was:" >&5
68095 sed 's/^/| /' conftest.$ac_ext >&5
68096
68097 glibcxx_cv_func__hypot_use=no
68098 fi
68099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68100       ac_ext=c
68101 ac_cpp='$CPP $CPPFLAGS'
68102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68105
68106
68107 fi
68108
68109   fi
68110   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68111 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68112
68113     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68114
68115 for ac_func in _hypot
68116 do
68117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68118 echo "$as_me:$LINENO: checking for $ac_func" >&5
68119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68120 if eval "test \"\${$as_ac_var+set}\" = set"; then
68121   echo $ECHO_N "(cached) $ECHO_C" >&6
68122 else
68123   if test x$gcc_no_link = xyes; then
68124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68126    { (exit 1); exit 1; }; }
68127 fi
68128 cat >conftest.$ac_ext <<_ACEOF
68129 /* confdefs.h.  */
68130 _ACEOF
68131 cat confdefs.h >>conftest.$ac_ext
68132 cat >>conftest.$ac_ext <<_ACEOF
68133 /* end confdefs.h.  */
68134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68136 #define $ac_func innocuous_$ac_func
68137
68138 /* System header to define __stub macros and hopefully few prototypes,
68139     which can conflict with char $ac_func (); below.
68140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68141     <limits.h> exists even on freestanding compilers.  */
68142
68143 #ifdef __STDC__
68144 # include <limits.h>
68145 #else
68146 # include <assert.h>
68147 #endif
68148
68149 #undef $ac_func
68150
68151 /* Override any gcc2 internal prototype to avoid an error.  */
68152 #ifdef __cplusplus
68153 extern "C"
68154 {
68155 #endif
68156 /* We use char because int might match the return type of a gcc2
68157    builtin and then its argument prototype would still apply.  */
68158 char $ac_func ();
68159 /* The GNU C library defines this for functions which it implements
68160     to always fail with ENOSYS.  Some functions are actually named
68161     something starting with __ and the normal name is an alias.  */
68162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68163 choke me
68164 #else
68165 char (*f) () = $ac_func;
68166 #endif
68167 #ifdef __cplusplus
68168 }
68169 #endif
68170
68171 int
68172 main ()
68173 {
68174 return f != $ac_func;
68175   ;
68176   return 0;
68177 }
68178 _ACEOF
68179 rm -f conftest.$ac_objext conftest$ac_exeext
68180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68181   (eval $ac_link) 2>conftest.er1
68182   ac_status=$?
68183   grep -v '^ *+' conftest.er1 >conftest.err
68184   rm -f conftest.er1
68185   cat conftest.err >&5
68186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68187   (exit $ac_status); } &&
68188          { ac_try='test -z "$ac_c_werror_flag"
68189                          || test ! -s conftest.err'
68190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68191   (eval $ac_try) 2>&5
68192   ac_status=$?
68193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68194   (exit $ac_status); }; } &&
68195          { ac_try='test -s conftest$ac_exeext'
68196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68197   (eval $ac_try) 2>&5
68198   ac_status=$?
68199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68200   (exit $ac_status); }; }; then
68201   eval "$as_ac_var=yes"
68202 else
68203   echo "$as_me: failed program was:" >&5
68204 sed 's/^/| /' conftest.$ac_ext >&5
68205
68206 eval "$as_ac_var=no"
68207 fi
68208 rm -f conftest.err conftest.$ac_objext \
68209       conftest$ac_exeext conftest.$ac_ext
68210 fi
68211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68213 if test `eval echo '${'$as_ac_var'}'` = yes; then
68214   cat >>confdefs.h <<_ACEOF
68215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68216 _ACEOF
68217
68218 fi
68219 done
68220
68221     fi
68222   fi
68223
68224
68225
68226
68227
68228
68229     echo "$as_me:$LINENO: checking for float trig functions" >&5
68230 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
68231   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
68232   echo $ECHO_N "(cached) $ECHO_C" >&6
68233 else
68234
68235
68236
68237     ac_ext=cc
68238 ac_cpp='$CXXCPP $CPPFLAGS'
68239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68242
68243     cat >conftest.$ac_ext <<_ACEOF
68244 /* confdefs.h.  */
68245 _ACEOF
68246 cat confdefs.h >>conftest.$ac_ext
68247 cat >>conftest.$ac_ext <<_ACEOF
68248 /* end confdefs.h.  */
68249 #include <math.h>
68250 int
68251 main ()
68252 {
68253 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68254   ;
68255   return 0;
68256 }
68257 _ACEOF
68258 rm -f conftest.$ac_objext
68259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68260   (eval $ac_compile) 2>conftest.er1
68261   ac_status=$?
68262   grep -v '^ *+' conftest.er1 >conftest.err
68263   rm -f conftest.er1
68264   cat conftest.err >&5
68265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68266   (exit $ac_status); } &&
68267          { ac_try='test -z "$ac_cxx_werror_flag"
68268                          || test ! -s conftest.err'
68269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68270   (eval $ac_try) 2>&5
68271   ac_status=$?
68272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68273   (exit $ac_status); }; } &&
68274          { ac_try='test -s conftest.$ac_objext'
68275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68276   (eval $ac_try) 2>&5
68277   ac_status=$?
68278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68279   (exit $ac_status); }; }; then
68280   glibcxx_cv_func_float_trig_use=yes
68281 else
68282   echo "$as_me: failed program was:" >&5
68283 sed 's/^/| /' conftest.$ac_ext >&5
68284
68285 glibcxx_cv_func_float_trig_use=no
68286 fi
68287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68288     ac_ext=c
68289 ac_cpp='$CPP $CPPFLAGS'
68290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68293
68294 fi
68295
68296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
68297 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
68298   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68299
68300
68301
68302
68303
68304
68305
68306
68307
68308 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68309 do
68310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68311 echo "$as_me:$LINENO: checking for $ac_func" >&5
68312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68313 if eval "test \"\${$as_ac_var+set}\" = set"; then
68314   echo $ECHO_N "(cached) $ECHO_C" >&6
68315 else
68316   if test x$gcc_no_link = xyes; then
68317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68319    { (exit 1); exit 1; }; }
68320 fi
68321 cat >conftest.$ac_ext <<_ACEOF
68322 /* confdefs.h.  */
68323 _ACEOF
68324 cat confdefs.h >>conftest.$ac_ext
68325 cat >>conftest.$ac_ext <<_ACEOF
68326 /* end confdefs.h.  */
68327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68329 #define $ac_func innocuous_$ac_func
68330
68331 /* System header to define __stub macros and hopefully few prototypes,
68332     which can conflict with char $ac_func (); below.
68333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68334     <limits.h> exists even on freestanding compilers.  */
68335
68336 #ifdef __STDC__
68337 # include <limits.h>
68338 #else
68339 # include <assert.h>
68340 #endif
68341
68342 #undef $ac_func
68343
68344 /* Override any gcc2 internal prototype to avoid an error.  */
68345 #ifdef __cplusplus
68346 extern "C"
68347 {
68348 #endif
68349 /* We use char because int might match the return type of a gcc2
68350    builtin and then its argument prototype would still apply.  */
68351 char $ac_func ();
68352 /* The GNU C library defines this for functions which it implements
68353     to always fail with ENOSYS.  Some functions are actually named
68354     something starting with __ and the normal name is an alias.  */
68355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68356 choke me
68357 #else
68358 char (*f) () = $ac_func;
68359 #endif
68360 #ifdef __cplusplus
68361 }
68362 #endif
68363
68364 int
68365 main ()
68366 {
68367 return f != $ac_func;
68368   ;
68369   return 0;
68370 }
68371 _ACEOF
68372 rm -f conftest.$ac_objext conftest$ac_exeext
68373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68374   (eval $ac_link) 2>conftest.er1
68375   ac_status=$?
68376   grep -v '^ *+' conftest.er1 >conftest.err
68377   rm -f conftest.er1
68378   cat conftest.err >&5
68379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68380   (exit $ac_status); } &&
68381          { ac_try='test -z "$ac_c_werror_flag"
68382                          || test ! -s conftest.err'
68383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68384   (eval $ac_try) 2>&5
68385   ac_status=$?
68386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68387   (exit $ac_status); }; } &&
68388          { ac_try='test -s conftest$ac_exeext'
68389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68390   (eval $ac_try) 2>&5
68391   ac_status=$?
68392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68393   (exit $ac_status); }; }; then
68394   eval "$as_ac_var=yes"
68395 else
68396   echo "$as_me: failed program was:" >&5
68397 sed 's/^/| /' conftest.$ac_ext >&5
68398
68399 eval "$as_ac_var=no"
68400 fi
68401 rm -f conftest.err conftest.$ac_objext \
68402       conftest$ac_exeext conftest.$ac_ext
68403 fi
68404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68406 if test `eval echo '${'$as_ac_var'}'` = yes; then
68407   cat >>confdefs.h <<_ACEOF
68408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68409 _ACEOF
68410
68411 fi
68412 done
68413
68414   else
68415     echo "$as_me:$LINENO: checking for _float trig functions" >&5
68416 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68417     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68418   echo $ECHO_N "(cached) $ECHO_C" >&6
68419 else
68420
68421
68422
68423       ac_ext=cc
68424 ac_cpp='$CXXCPP $CPPFLAGS'
68425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68428
68429       cat >conftest.$ac_ext <<_ACEOF
68430 /* confdefs.h.  */
68431 _ACEOF
68432 cat confdefs.h >>conftest.$ac_ext
68433 cat >>conftest.$ac_ext <<_ACEOF
68434 /* end confdefs.h.  */
68435 #include <math.h>
68436 int
68437 main ()
68438 {
68439 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68440   ;
68441   return 0;
68442 }
68443 _ACEOF
68444 rm -f conftest.$ac_objext
68445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68446   (eval $ac_compile) 2>conftest.er1
68447   ac_status=$?
68448   grep -v '^ *+' conftest.er1 >conftest.err
68449   rm -f conftest.er1
68450   cat conftest.err >&5
68451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452   (exit $ac_status); } &&
68453          { ac_try='test -z "$ac_cxx_werror_flag"
68454                          || test ! -s conftest.err'
68455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456   (eval $ac_try) 2>&5
68457   ac_status=$?
68458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459   (exit $ac_status); }; } &&
68460          { ac_try='test -s conftest.$ac_objext'
68461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68462   (eval $ac_try) 2>&5
68463   ac_status=$?
68464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68465   (exit $ac_status); }; }; then
68466   glibcxx_cv_func__float_trig_use=yes
68467 else
68468   echo "$as_me: failed program was:" >&5
68469 sed 's/^/| /' conftest.$ac_ext >&5
68470
68471 glibcxx_cv_func__float_trig_use=no
68472 fi
68473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68474       ac_ext=c
68475 ac_cpp='$CPP $CPPFLAGS'
68476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68479
68480 fi
68481
68482     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68483 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68484     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68485
68486
68487
68488
68489
68490
68491
68492
68493
68494 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68495 do
68496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68497 echo "$as_me:$LINENO: checking for $ac_func" >&5
68498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68499 if eval "test \"\${$as_ac_var+set}\" = set"; then
68500   echo $ECHO_N "(cached) $ECHO_C" >&6
68501 else
68502   if test x$gcc_no_link = xyes; then
68503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68505    { (exit 1); exit 1; }; }
68506 fi
68507 cat >conftest.$ac_ext <<_ACEOF
68508 /* confdefs.h.  */
68509 _ACEOF
68510 cat confdefs.h >>conftest.$ac_ext
68511 cat >>conftest.$ac_ext <<_ACEOF
68512 /* end confdefs.h.  */
68513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68515 #define $ac_func innocuous_$ac_func
68516
68517 /* System header to define __stub macros and hopefully few prototypes,
68518     which can conflict with char $ac_func (); below.
68519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68520     <limits.h> exists even on freestanding compilers.  */
68521
68522 #ifdef __STDC__
68523 # include <limits.h>
68524 #else
68525 # include <assert.h>
68526 #endif
68527
68528 #undef $ac_func
68529
68530 /* Override any gcc2 internal prototype to avoid an error.  */
68531 #ifdef __cplusplus
68532 extern "C"
68533 {
68534 #endif
68535 /* We use char because int might match the return type of a gcc2
68536    builtin and then its argument prototype would still apply.  */
68537 char $ac_func ();
68538 /* The GNU C library defines this for functions which it implements
68539     to always fail with ENOSYS.  Some functions are actually named
68540     something starting with __ and the normal name is an alias.  */
68541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68542 choke me
68543 #else
68544 char (*f) () = $ac_func;
68545 #endif
68546 #ifdef __cplusplus
68547 }
68548 #endif
68549
68550 int
68551 main ()
68552 {
68553 return f != $ac_func;
68554   ;
68555   return 0;
68556 }
68557 _ACEOF
68558 rm -f conftest.$ac_objext conftest$ac_exeext
68559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68560   (eval $ac_link) 2>conftest.er1
68561   ac_status=$?
68562   grep -v '^ *+' conftest.er1 >conftest.err
68563   rm -f conftest.er1
68564   cat conftest.err >&5
68565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68566   (exit $ac_status); } &&
68567          { ac_try='test -z "$ac_c_werror_flag"
68568                          || test ! -s conftest.err'
68569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68570   (eval $ac_try) 2>&5
68571   ac_status=$?
68572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68573   (exit $ac_status); }; } &&
68574          { ac_try='test -s conftest$ac_exeext'
68575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68576   (eval $ac_try) 2>&5
68577   ac_status=$?
68578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579   (exit $ac_status); }; }; then
68580   eval "$as_ac_var=yes"
68581 else
68582   echo "$as_me: failed program was:" >&5
68583 sed 's/^/| /' conftest.$ac_ext >&5
68584
68585 eval "$as_ac_var=no"
68586 fi
68587 rm -f conftest.err conftest.$ac_objext \
68588       conftest$ac_exeext conftest.$ac_ext
68589 fi
68590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68592 if test `eval echo '${'$as_ac_var'}'` = yes; then
68593   cat >>confdefs.h <<_ACEOF
68594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68595 _ACEOF
68596
68597 fi
68598 done
68599
68600     fi
68601   fi
68602
68603
68604
68605
68606
68607
68608
68609
68610
68611
68612
68613
68614
68615
68616     echo "$as_me:$LINENO: checking for float round functions" >&5
68617 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68618   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68619   echo $ECHO_N "(cached) $ECHO_C" >&6
68620 else
68621
68622
68623
68624     ac_ext=cc
68625 ac_cpp='$CXXCPP $CPPFLAGS'
68626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68629
68630     cat >conftest.$ac_ext <<_ACEOF
68631 /* confdefs.h.  */
68632 _ACEOF
68633 cat confdefs.h >>conftest.$ac_ext
68634 cat >>conftest.$ac_ext <<_ACEOF
68635 /* end confdefs.h.  */
68636 #include <math.h>
68637 int
68638 main ()
68639 {
68640 ceilf (0); floorf (0);
68641   ;
68642   return 0;
68643 }
68644 _ACEOF
68645 rm -f conftest.$ac_objext
68646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68647   (eval $ac_compile) 2>conftest.er1
68648   ac_status=$?
68649   grep -v '^ *+' conftest.er1 >conftest.err
68650   rm -f conftest.er1
68651   cat conftest.err >&5
68652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68653   (exit $ac_status); } &&
68654          { ac_try='test -z "$ac_cxx_werror_flag"
68655                          || test ! -s conftest.err'
68656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68657   (eval $ac_try) 2>&5
68658   ac_status=$?
68659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68660   (exit $ac_status); }; } &&
68661          { ac_try='test -s conftest.$ac_objext'
68662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68663   (eval $ac_try) 2>&5
68664   ac_status=$?
68665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666   (exit $ac_status); }; }; then
68667   glibcxx_cv_func_float_round_use=yes
68668 else
68669   echo "$as_me: failed program was:" >&5
68670 sed 's/^/| /' conftest.$ac_ext >&5
68671
68672 glibcxx_cv_func_float_round_use=no
68673 fi
68674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68675     ac_ext=c
68676 ac_cpp='$CPP $CPPFLAGS'
68677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68680
68681 fi
68682
68683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68684 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68685   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68686
68687
68688 for ac_func in ceilf floorf
68689 do
68690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68691 echo "$as_me:$LINENO: checking for $ac_func" >&5
68692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68693 if eval "test \"\${$as_ac_var+set}\" = set"; then
68694   echo $ECHO_N "(cached) $ECHO_C" >&6
68695 else
68696   if test x$gcc_no_link = xyes; then
68697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68699    { (exit 1); exit 1; }; }
68700 fi
68701 cat >conftest.$ac_ext <<_ACEOF
68702 /* confdefs.h.  */
68703 _ACEOF
68704 cat confdefs.h >>conftest.$ac_ext
68705 cat >>conftest.$ac_ext <<_ACEOF
68706 /* end confdefs.h.  */
68707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68709 #define $ac_func innocuous_$ac_func
68710
68711 /* System header to define __stub macros and hopefully few prototypes,
68712     which can conflict with char $ac_func (); below.
68713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68714     <limits.h> exists even on freestanding compilers.  */
68715
68716 #ifdef __STDC__
68717 # include <limits.h>
68718 #else
68719 # include <assert.h>
68720 #endif
68721
68722 #undef $ac_func
68723
68724 /* Override any gcc2 internal prototype to avoid an error.  */
68725 #ifdef __cplusplus
68726 extern "C"
68727 {
68728 #endif
68729 /* We use char because int might match the return type of a gcc2
68730    builtin and then its argument prototype would still apply.  */
68731 char $ac_func ();
68732 /* The GNU C library defines this for functions which it implements
68733     to always fail with ENOSYS.  Some functions are actually named
68734     something starting with __ and the normal name is an alias.  */
68735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68736 choke me
68737 #else
68738 char (*f) () = $ac_func;
68739 #endif
68740 #ifdef __cplusplus
68741 }
68742 #endif
68743
68744 int
68745 main ()
68746 {
68747 return f != $ac_func;
68748   ;
68749   return 0;
68750 }
68751 _ACEOF
68752 rm -f conftest.$ac_objext conftest$ac_exeext
68753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68754   (eval $ac_link) 2>conftest.er1
68755   ac_status=$?
68756   grep -v '^ *+' conftest.er1 >conftest.err
68757   rm -f conftest.er1
68758   cat conftest.err >&5
68759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68760   (exit $ac_status); } &&
68761          { ac_try='test -z "$ac_c_werror_flag"
68762                          || test ! -s conftest.err'
68763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68764   (eval $ac_try) 2>&5
68765   ac_status=$?
68766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68767   (exit $ac_status); }; } &&
68768          { ac_try='test -s conftest$ac_exeext'
68769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68770   (eval $ac_try) 2>&5
68771   ac_status=$?
68772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68773   (exit $ac_status); }; }; then
68774   eval "$as_ac_var=yes"
68775 else
68776   echo "$as_me: failed program was:" >&5
68777 sed 's/^/| /' conftest.$ac_ext >&5
68778
68779 eval "$as_ac_var=no"
68780 fi
68781 rm -f conftest.err conftest.$ac_objext \
68782       conftest$ac_exeext conftest.$ac_ext
68783 fi
68784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68786 if test `eval echo '${'$as_ac_var'}'` = yes; then
68787   cat >>confdefs.h <<_ACEOF
68788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68789 _ACEOF
68790
68791 fi
68792 done
68793
68794   else
68795     echo "$as_me:$LINENO: checking for _float round functions" >&5
68796 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68797     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68798   echo $ECHO_N "(cached) $ECHO_C" >&6
68799 else
68800
68801
68802
68803       ac_ext=cc
68804 ac_cpp='$CXXCPP $CPPFLAGS'
68805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68808
68809       cat >conftest.$ac_ext <<_ACEOF
68810 /* confdefs.h.  */
68811 _ACEOF
68812 cat confdefs.h >>conftest.$ac_ext
68813 cat >>conftest.$ac_ext <<_ACEOF
68814 /* end confdefs.h.  */
68815 #include <math.h>
68816 int
68817 main ()
68818 {
68819 _ceilf (0); _floorf (0);
68820   ;
68821   return 0;
68822 }
68823 _ACEOF
68824 rm -f conftest.$ac_objext
68825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68826   (eval $ac_compile) 2>conftest.er1
68827   ac_status=$?
68828   grep -v '^ *+' conftest.er1 >conftest.err
68829   rm -f conftest.er1
68830   cat conftest.err >&5
68831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68832   (exit $ac_status); } &&
68833          { ac_try='test -z "$ac_cxx_werror_flag"
68834                          || test ! -s conftest.err'
68835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68836   (eval $ac_try) 2>&5
68837   ac_status=$?
68838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68839   (exit $ac_status); }; } &&
68840          { ac_try='test -s conftest.$ac_objext'
68841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68842   (eval $ac_try) 2>&5
68843   ac_status=$?
68844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68845   (exit $ac_status); }; }; then
68846   glibcxx_cv_func__float_round_use=yes
68847 else
68848   echo "$as_me: failed program was:" >&5
68849 sed 's/^/| /' conftest.$ac_ext >&5
68850
68851 glibcxx_cv_func__float_round_use=no
68852 fi
68853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68854       ac_ext=c
68855 ac_cpp='$CPP $CPPFLAGS'
68856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68859
68860 fi
68861
68862     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68863 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68864     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68865
68866
68867 for ac_func in _ceilf _floorf
68868 do
68869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68870 echo "$as_me:$LINENO: checking for $ac_func" >&5
68871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68872 if eval "test \"\${$as_ac_var+set}\" = set"; then
68873   echo $ECHO_N "(cached) $ECHO_C" >&6
68874 else
68875   if test x$gcc_no_link = xyes; then
68876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68878    { (exit 1); exit 1; }; }
68879 fi
68880 cat >conftest.$ac_ext <<_ACEOF
68881 /* confdefs.h.  */
68882 _ACEOF
68883 cat confdefs.h >>conftest.$ac_ext
68884 cat >>conftest.$ac_ext <<_ACEOF
68885 /* end confdefs.h.  */
68886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68888 #define $ac_func innocuous_$ac_func
68889
68890 /* System header to define __stub macros and hopefully few prototypes,
68891     which can conflict with char $ac_func (); below.
68892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68893     <limits.h> exists even on freestanding compilers.  */
68894
68895 #ifdef __STDC__
68896 # include <limits.h>
68897 #else
68898 # include <assert.h>
68899 #endif
68900
68901 #undef $ac_func
68902
68903 /* Override any gcc2 internal prototype to avoid an error.  */
68904 #ifdef __cplusplus
68905 extern "C"
68906 {
68907 #endif
68908 /* We use char because int might match the return type of a gcc2
68909    builtin and then its argument prototype would still apply.  */
68910 char $ac_func ();
68911 /* The GNU C library defines this for functions which it implements
68912     to always fail with ENOSYS.  Some functions are actually named
68913     something starting with __ and the normal name is an alias.  */
68914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68915 choke me
68916 #else
68917 char (*f) () = $ac_func;
68918 #endif
68919 #ifdef __cplusplus
68920 }
68921 #endif
68922
68923 int
68924 main ()
68925 {
68926 return f != $ac_func;
68927   ;
68928   return 0;
68929 }
68930 _ACEOF
68931 rm -f conftest.$ac_objext conftest$ac_exeext
68932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68933   (eval $ac_link) 2>conftest.er1
68934   ac_status=$?
68935   grep -v '^ *+' conftest.er1 >conftest.err
68936   rm -f conftest.er1
68937   cat conftest.err >&5
68938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68939   (exit $ac_status); } &&
68940          { ac_try='test -z "$ac_c_werror_flag"
68941                          || test ! -s conftest.err'
68942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68943   (eval $ac_try) 2>&5
68944   ac_status=$?
68945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68946   (exit $ac_status); }; } &&
68947          { ac_try='test -s conftest$ac_exeext'
68948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68949   (eval $ac_try) 2>&5
68950   ac_status=$?
68951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68952   (exit $ac_status); }; }; then
68953   eval "$as_ac_var=yes"
68954 else
68955   echo "$as_me: failed program was:" >&5
68956 sed 's/^/| /' conftest.$ac_ext >&5
68957
68958 eval "$as_ac_var=no"
68959 fi
68960 rm -f conftest.err conftest.$ac_objext \
68961       conftest$ac_exeext conftest.$ac_ext
68962 fi
68963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68965 if test `eval echo '${'$as_ac_var'}'` = yes; then
68966   cat >>confdefs.h <<_ACEOF
68967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68968 _ACEOF
68969
68970 fi
68971 done
68972
68973     fi
68974   fi
68975
68976
68977
68978
68979
68980
68981
68982
68983   echo "$as_me:$LINENO: checking for expf declaration" >&5
68984 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68985   if test x${glibcxx_cv_func_expf_use+set} != xset; then
68986     if test "${glibcxx_cv_func_expf_use+set}" = set; then
68987   echo $ECHO_N "(cached) $ECHO_C" >&6
68988 else
68989
68990
68991
68992       ac_ext=cc
68993 ac_cpp='$CXXCPP $CPPFLAGS'
68994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68997
68998       cat >conftest.$ac_ext <<_ACEOF
68999 /* confdefs.h.  */
69000 _ACEOF
69001 cat confdefs.h >>conftest.$ac_ext
69002 cat >>conftest.$ac_ext <<_ACEOF
69003 /* end confdefs.h.  */
69004 #include <math.h>
69005                       #ifdef HAVE_IEEEFP_H
69006                       #include <ieeefp.h>
69007                       #endif
69008
69009 int
69010 main ()
69011 {
69012  expf(0);
69013   ;
69014   return 0;
69015 }
69016 _ACEOF
69017 rm -f conftest.$ac_objext
69018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69019   (eval $ac_compile) 2>conftest.er1
69020   ac_status=$?
69021   grep -v '^ *+' conftest.er1 >conftest.err
69022   rm -f conftest.er1
69023   cat conftest.err >&5
69024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69025   (exit $ac_status); } &&
69026          { ac_try='test -z "$ac_cxx_werror_flag"
69027                          || test ! -s conftest.err'
69028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69029   (eval $ac_try) 2>&5
69030   ac_status=$?
69031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69032   (exit $ac_status); }; } &&
69033          { ac_try='test -s conftest.$ac_objext'
69034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69035   (eval $ac_try) 2>&5
69036   ac_status=$?
69037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69038   (exit $ac_status); }; }; then
69039   glibcxx_cv_func_expf_use=yes
69040 else
69041   echo "$as_me: failed program was:" >&5
69042 sed 's/^/| /' conftest.$ac_ext >&5
69043
69044 glibcxx_cv_func_expf_use=no
69045 fi
69046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69047       ac_ext=c
69048 ac_cpp='$CPP $CPPFLAGS'
69049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69052
69053
69054 fi
69055
69056   fi
69057   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
69058 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
69059
69060   if test x$glibcxx_cv_func_expf_use = x"yes"; then
69061
69062 for ac_func in expf
69063 do
69064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69065 echo "$as_me:$LINENO: checking for $ac_func" >&5
69066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69067 if eval "test \"\${$as_ac_var+set}\" = set"; then
69068   echo $ECHO_N "(cached) $ECHO_C" >&6
69069 else
69070   if test x$gcc_no_link = xyes; then
69071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69073    { (exit 1); exit 1; }; }
69074 fi
69075 cat >conftest.$ac_ext <<_ACEOF
69076 /* confdefs.h.  */
69077 _ACEOF
69078 cat confdefs.h >>conftest.$ac_ext
69079 cat >>conftest.$ac_ext <<_ACEOF
69080 /* end confdefs.h.  */
69081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69083 #define $ac_func innocuous_$ac_func
69084
69085 /* System header to define __stub macros and hopefully few prototypes,
69086     which can conflict with char $ac_func (); below.
69087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69088     <limits.h> exists even on freestanding compilers.  */
69089
69090 #ifdef __STDC__
69091 # include <limits.h>
69092 #else
69093 # include <assert.h>
69094 #endif
69095
69096 #undef $ac_func
69097
69098 /* Override any gcc2 internal prototype to avoid an error.  */
69099 #ifdef __cplusplus
69100 extern "C"
69101 {
69102 #endif
69103 /* We use char because int might match the return type of a gcc2
69104    builtin and then its argument prototype would still apply.  */
69105 char $ac_func ();
69106 /* The GNU C library defines this for functions which it implements
69107     to always fail with ENOSYS.  Some functions are actually named
69108     something starting with __ and the normal name is an alias.  */
69109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69110 choke me
69111 #else
69112 char (*f) () = $ac_func;
69113 #endif
69114 #ifdef __cplusplus
69115 }
69116 #endif
69117
69118 int
69119 main ()
69120 {
69121 return f != $ac_func;
69122   ;
69123   return 0;
69124 }
69125 _ACEOF
69126 rm -f conftest.$ac_objext conftest$ac_exeext
69127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69128   (eval $ac_link) 2>conftest.er1
69129   ac_status=$?
69130   grep -v '^ *+' conftest.er1 >conftest.err
69131   rm -f conftest.er1
69132   cat conftest.err >&5
69133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69134   (exit $ac_status); } &&
69135          { ac_try='test -z "$ac_c_werror_flag"
69136                          || test ! -s conftest.err'
69137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69138   (eval $ac_try) 2>&5
69139   ac_status=$?
69140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69141   (exit $ac_status); }; } &&
69142          { ac_try='test -s conftest$ac_exeext'
69143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69144   (eval $ac_try) 2>&5
69145   ac_status=$?
69146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147   (exit $ac_status); }; }; then
69148   eval "$as_ac_var=yes"
69149 else
69150   echo "$as_me: failed program was:" >&5
69151 sed 's/^/| /' conftest.$ac_ext >&5
69152
69153 eval "$as_ac_var=no"
69154 fi
69155 rm -f conftest.err conftest.$ac_objext \
69156       conftest$ac_exeext conftest.$ac_ext
69157 fi
69158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69160 if test `eval echo '${'$as_ac_var'}'` = yes; then
69161   cat >>confdefs.h <<_ACEOF
69162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69163 _ACEOF
69164
69165 fi
69166 done
69167
69168   else
69169
69170   echo "$as_me:$LINENO: checking for _expf declaration" >&5
69171 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69172   if test x${glibcxx_cv_func__expf_use+set} != xset; then
69173     if test "${glibcxx_cv_func__expf_use+set}" = set; then
69174   echo $ECHO_N "(cached) $ECHO_C" >&6
69175 else
69176
69177
69178
69179       ac_ext=cc
69180 ac_cpp='$CXXCPP $CPPFLAGS'
69181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69184
69185       cat >conftest.$ac_ext <<_ACEOF
69186 /* confdefs.h.  */
69187 _ACEOF
69188 cat confdefs.h >>conftest.$ac_ext
69189 cat >>conftest.$ac_ext <<_ACEOF
69190 /* end confdefs.h.  */
69191 #include <math.h>
69192                       #ifdef HAVE_IEEEFP_H
69193                       #include <ieeefp.h>
69194                       #endif
69195
69196 int
69197 main ()
69198 {
69199  _expf(0);
69200   ;
69201   return 0;
69202 }
69203 _ACEOF
69204 rm -f conftest.$ac_objext
69205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69206   (eval $ac_compile) 2>conftest.er1
69207   ac_status=$?
69208   grep -v '^ *+' conftest.er1 >conftest.err
69209   rm -f conftest.er1
69210   cat conftest.err >&5
69211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69212   (exit $ac_status); } &&
69213          { ac_try='test -z "$ac_cxx_werror_flag"
69214                          || test ! -s conftest.err'
69215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69216   (eval $ac_try) 2>&5
69217   ac_status=$?
69218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69219   (exit $ac_status); }; } &&
69220          { ac_try='test -s conftest.$ac_objext'
69221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69222   (eval $ac_try) 2>&5
69223   ac_status=$?
69224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69225   (exit $ac_status); }; }; then
69226   glibcxx_cv_func__expf_use=yes
69227 else
69228   echo "$as_me: failed program was:" >&5
69229 sed 's/^/| /' conftest.$ac_ext >&5
69230
69231 glibcxx_cv_func__expf_use=no
69232 fi
69233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69234       ac_ext=c
69235 ac_cpp='$CPP $CPPFLAGS'
69236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69239
69240
69241 fi
69242
69243   fi
69244   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
69245 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
69246
69247     if test x$glibcxx_cv_func__expf_use = x"yes"; then
69248
69249 for ac_func in _expf
69250 do
69251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69252 echo "$as_me:$LINENO: checking for $ac_func" >&5
69253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69254 if eval "test \"\${$as_ac_var+set}\" = set"; then
69255   echo $ECHO_N "(cached) $ECHO_C" >&6
69256 else
69257   if test x$gcc_no_link = xyes; then
69258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69260    { (exit 1); exit 1; }; }
69261 fi
69262 cat >conftest.$ac_ext <<_ACEOF
69263 /* confdefs.h.  */
69264 _ACEOF
69265 cat confdefs.h >>conftest.$ac_ext
69266 cat >>conftest.$ac_ext <<_ACEOF
69267 /* end confdefs.h.  */
69268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69270 #define $ac_func innocuous_$ac_func
69271
69272 /* System header to define __stub macros and hopefully few prototypes,
69273     which can conflict with char $ac_func (); below.
69274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69275     <limits.h> exists even on freestanding compilers.  */
69276
69277 #ifdef __STDC__
69278 # include <limits.h>
69279 #else
69280 # include <assert.h>
69281 #endif
69282
69283 #undef $ac_func
69284
69285 /* Override any gcc2 internal prototype to avoid an error.  */
69286 #ifdef __cplusplus
69287 extern "C"
69288 {
69289 #endif
69290 /* We use char because int might match the return type of a gcc2
69291    builtin and then its argument prototype would still apply.  */
69292 char $ac_func ();
69293 /* The GNU C library defines this for functions which it implements
69294     to always fail with ENOSYS.  Some functions are actually named
69295     something starting with __ and the normal name is an alias.  */
69296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69297 choke me
69298 #else
69299 char (*f) () = $ac_func;
69300 #endif
69301 #ifdef __cplusplus
69302 }
69303 #endif
69304
69305 int
69306 main ()
69307 {
69308 return f != $ac_func;
69309   ;
69310   return 0;
69311 }
69312 _ACEOF
69313 rm -f conftest.$ac_objext conftest$ac_exeext
69314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69315   (eval $ac_link) 2>conftest.er1
69316   ac_status=$?
69317   grep -v '^ *+' conftest.er1 >conftest.err
69318   rm -f conftest.er1
69319   cat conftest.err >&5
69320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69321   (exit $ac_status); } &&
69322          { ac_try='test -z "$ac_c_werror_flag"
69323                          || test ! -s conftest.err'
69324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69325   (eval $ac_try) 2>&5
69326   ac_status=$?
69327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328   (exit $ac_status); }; } &&
69329          { ac_try='test -s conftest$ac_exeext'
69330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69331   (eval $ac_try) 2>&5
69332   ac_status=$?
69333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69334   (exit $ac_status); }; }; then
69335   eval "$as_ac_var=yes"
69336 else
69337   echo "$as_me: failed program was:" >&5
69338 sed 's/^/| /' conftest.$ac_ext >&5
69339
69340 eval "$as_ac_var=no"
69341 fi
69342 rm -f conftest.err conftest.$ac_objext \
69343       conftest$ac_exeext conftest.$ac_ext
69344 fi
69345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69347 if test `eval echo '${'$as_ac_var'}'` = yes; then
69348   cat >>confdefs.h <<_ACEOF
69349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69350 _ACEOF
69351
69352 fi
69353 done
69354
69355     fi
69356   fi
69357
69358
69359
69360
69361
69362
69363   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
69364 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
69365   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
69366     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
69367   echo $ECHO_N "(cached) $ECHO_C" >&6
69368 else
69369
69370
69371
69372       ac_ext=cc
69373 ac_cpp='$CXXCPP $CPPFLAGS'
69374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69377
69378       cat >conftest.$ac_ext <<_ACEOF
69379 /* confdefs.h.  */
69380 _ACEOF
69381 cat confdefs.h >>conftest.$ac_ext
69382 cat >>conftest.$ac_ext <<_ACEOF
69383 /* end confdefs.h.  */
69384 #include <math.h>
69385                       #ifdef HAVE_IEEEFP_H
69386                       #include <ieeefp.h>
69387                       #endif
69388
69389 int
69390 main ()
69391 {
69392  isnanf(0);
69393   ;
69394   return 0;
69395 }
69396 _ACEOF
69397 rm -f conftest.$ac_objext
69398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69399   (eval $ac_compile) 2>conftest.er1
69400   ac_status=$?
69401   grep -v '^ *+' conftest.er1 >conftest.err
69402   rm -f conftest.er1
69403   cat conftest.err >&5
69404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69405   (exit $ac_status); } &&
69406          { ac_try='test -z "$ac_cxx_werror_flag"
69407                          || test ! -s conftest.err'
69408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69409   (eval $ac_try) 2>&5
69410   ac_status=$?
69411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69412   (exit $ac_status); }; } &&
69413          { ac_try='test -s conftest.$ac_objext'
69414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69415   (eval $ac_try) 2>&5
69416   ac_status=$?
69417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69418   (exit $ac_status); }; }; then
69419   glibcxx_cv_func_isnanf_use=yes
69420 else
69421   echo "$as_me: failed program was:" >&5
69422 sed 's/^/| /' conftest.$ac_ext >&5
69423
69424 glibcxx_cv_func_isnanf_use=no
69425 fi
69426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69427       ac_ext=c
69428 ac_cpp='$CPP $CPPFLAGS'
69429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69432
69433
69434 fi
69435
69436   fi
69437   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69438 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69439
69440   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69441
69442 for ac_func in isnanf
69443 do
69444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69445 echo "$as_me:$LINENO: checking for $ac_func" >&5
69446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69447 if eval "test \"\${$as_ac_var+set}\" = set"; then
69448   echo $ECHO_N "(cached) $ECHO_C" >&6
69449 else
69450   if test x$gcc_no_link = xyes; then
69451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69453    { (exit 1); exit 1; }; }
69454 fi
69455 cat >conftest.$ac_ext <<_ACEOF
69456 /* confdefs.h.  */
69457 _ACEOF
69458 cat confdefs.h >>conftest.$ac_ext
69459 cat >>conftest.$ac_ext <<_ACEOF
69460 /* end confdefs.h.  */
69461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69463 #define $ac_func innocuous_$ac_func
69464
69465 /* System header to define __stub macros and hopefully few prototypes,
69466     which can conflict with char $ac_func (); below.
69467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69468     <limits.h> exists even on freestanding compilers.  */
69469
69470 #ifdef __STDC__
69471 # include <limits.h>
69472 #else
69473 # include <assert.h>
69474 #endif
69475
69476 #undef $ac_func
69477
69478 /* Override any gcc2 internal prototype to avoid an error.  */
69479 #ifdef __cplusplus
69480 extern "C"
69481 {
69482 #endif
69483 /* We use char because int might match the return type of a gcc2
69484    builtin and then its argument prototype would still apply.  */
69485 char $ac_func ();
69486 /* The GNU C library defines this for functions which it implements
69487     to always fail with ENOSYS.  Some functions are actually named
69488     something starting with __ and the normal name is an alias.  */
69489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69490 choke me
69491 #else
69492 char (*f) () = $ac_func;
69493 #endif
69494 #ifdef __cplusplus
69495 }
69496 #endif
69497
69498 int
69499 main ()
69500 {
69501 return f != $ac_func;
69502   ;
69503   return 0;
69504 }
69505 _ACEOF
69506 rm -f conftest.$ac_objext conftest$ac_exeext
69507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69508   (eval $ac_link) 2>conftest.er1
69509   ac_status=$?
69510   grep -v '^ *+' conftest.er1 >conftest.err
69511   rm -f conftest.er1
69512   cat conftest.err >&5
69513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69514   (exit $ac_status); } &&
69515          { ac_try='test -z "$ac_c_werror_flag"
69516                          || test ! -s conftest.err'
69517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69518   (eval $ac_try) 2>&5
69519   ac_status=$?
69520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69521   (exit $ac_status); }; } &&
69522          { ac_try='test -s conftest$ac_exeext'
69523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69524   (eval $ac_try) 2>&5
69525   ac_status=$?
69526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69527   (exit $ac_status); }; }; then
69528   eval "$as_ac_var=yes"
69529 else
69530   echo "$as_me: failed program was:" >&5
69531 sed 's/^/| /' conftest.$ac_ext >&5
69532
69533 eval "$as_ac_var=no"
69534 fi
69535 rm -f conftest.err conftest.$ac_objext \
69536       conftest$ac_exeext conftest.$ac_ext
69537 fi
69538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69540 if test `eval echo '${'$as_ac_var'}'` = yes; then
69541   cat >>confdefs.h <<_ACEOF
69542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69543 _ACEOF
69544
69545 fi
69546 done
69547
69548   else
69549
69550   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69551 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69552   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69553     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69554   echo $ECHO_N "(cached) $ECHO_C" >&6
69555 else
69556
69557
69558
69559       ac_ext=cc
69560 ac_cpp='$CXXCPP $CPPFLAGS'
69561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69564
69565       cat >conftest.$ac_ext <<_ACEOF
69566 /* confdefs.h.  */
69567 _ACEOF
69568 cat confdefs.h >>conftest.$ac_ext
69569 cat >>conftest.$ac_ext <<_ACEOF
69570 /* end confdefs.h.  */
69571 #include <math.h>
69572                       #ifdef HAVE_IEEEFP_H
69573                       #include <ieeefp.h>
69574                       #endif
69575
69576 int
69577 main ()
69578 {
69579  _isnanf(0);
69580   ;
69581   return 0;
69582 }
69583 _ACEOF
69584 rm -f conftest.$ac_objext
69585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69586   (eval $ac_compile) 2>conftest.er1
69587   ac_status=$?
69588   grep -v '^ *+' conftest.er1 >conftest.err
69589   rm -f conftest.er1
69590   cat conftest.err >&5
69591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69592   (exit $ac_status); } &&
69593          { ac_try='test -z "$ac_cxx_werror_flag"
69594                          || test ! -s conftest.err'
69595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69596   (eval $ac_try) 2>&5
69597   ac_status=$?
69598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69599   (exit $ac_status); }; } &&
69600          { ac_try='test -s conftest.$ac_objext'
69601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69602   (eval $ac_try) 2>&5
69603   ac_status=$?
69604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69605   (exit $ac_status); }; }; then
69606   glibcxx_cv_func__isnanf_use=yes
69607 else
69608   echo "$as_me: failed program was:" >&5
69609 sed 's/^/| /' conftest.$ac_ext >&5
69610
69611 glibcxx_cv_func__isnanf_use=no
69612 fi
69613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69614       ac_ext=c
69615 ac_cpp='$CPP $CPPFLAGS'
69616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69619
69620
69621 fi
69622
69623   fi
69624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69625 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69626
69627     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69628
69629 for ac_func in _isnanf
69630 do
69631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69632 echo "$as_me:$LINENO: checking for $ac_func" >&5
69633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69634 if eval "test \"\${$as_ac_var+set}\" = set"; then
69635   echo $ECHO_N "(cached) $ECHO_C" >&6
69636 else
69637   if test x$gcc_no_link = xyes; then
69638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69640    { (exit 1); exit 1; }; }
69641 fi
69642 cat >conftest.$ac_ext <<_ACEOF
69643 /* confdefs.h.  */
69644 _ACEOF
69645 cat confdefs.h >>conftest.$ac_ext
69646 cat >>conftest.$ac_ext <<_ACEOF
69647 /* end confdefs.h.  */
69648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69650 #define $ac_func innocuous_$ac_func
69651
69652 /* System header to define __stub macros and hopefully few prototypes,
69653     which can conflict with char $ac_func (); below.
69654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69655     <limits.h> exists even on freestanding compilers.  */
69656
69657 #ifdef __STDC__
69658 # include <limits.h>
69659 #else
69660 # include <assert.h>
69661 #endif
69662
69663 #undef $ac_func
69664
69665 /* Override any gcc2 internal prototype to avoid an error.  */
69666 #ifdef __cplusplus
69667 extern "C"
69668 {
69669 #endif
69670 /* We use char because int might match the return type of a gcc2
69671    builtin and then its argument prototype would still apply.  */
69672 char $ac_func ();
69673 /* The GNU C library defines this for functions which it implements
69674     to always fail with ENOSYS.  Some functions are actually named
69675     something starting with __ and the normal name is an alias.  */
69676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69677 choke me
69678 #else
69679 char (*f) () = $ac_func;
69680 #endif
69681 #ifdef __cplusplus
69682 }
69683 #endif
69684
69685 int
69686 main ()
69687 {
69688 return f != $ac_func;
69689   ;
69690   return 0;
69691 }
69692 _ACEOF
69693 rm -f conftest.$ac_objext conftest$ac_exeext
69694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69695   (eval $ac_link) 2>conftest.er1
69696   ac_status=$?
69697   grep -v '^ *+' conftest.er1 >conftest.err
69698   rm -f conftest.er1
69699   cat conftest.err >&5
69700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69701   (exit $ac_status); } &&
69702          { ac_try='test -z "$ac_c_werror_flag"
69703                          || test ! -s conftest.err'
69704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69705   (eval $ac_try) 2>&5
69706   ac_status=$?
69707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69708   (exit $ac_status); }; } &&
69709          { ac_try='test -s conftest$ac_exeext'
69710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69711   (eval $ac_try) 2>&5
69712   ac_status=$?
69713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69714   (exit $ac_status); }; }; then
69715   eval "$as_ac_var=yes"
69716 else
69717   echo "$as_me: failed program was:" >&5
69718 sed 's/^/| /' conftest.$ac_ext >&5
69719
69720 eval "$as_ac_var=no"
69721 fi
69722 rm -f conftest.err conftest.$ac_objext \
69723       conftest$ac_exeext conftest.$ac_ext
69724 fi
69725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69727 if test `eval echo '${'$as_ac_var'}'` = yes; then
69728   cat >>confdefs.h <<_ACEOF
69729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69730 _ACEOF
69731
69732 fi
69733 done
69734
69735     fi
69736   fi
69737
69738
69739
69740
69741
69742
69743   echo "$as_me:$LINENO: checking for isinff declaration" >&5
69744 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69745   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69746     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69747   echo $ECHO_N "(cached) $ECHO_C" >&6
69748 else
69749
69750
69751
69752       ac_ext=cc
69753 ac_cpp='$CXXCPP $CPPFLAGS'
69754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757
69758       cat >conftest.$ac_ext <<_ACEOF
69759 /* confdefs.h.  */
69760 _ACEOF
69761 cat confdefs.h >>conftest.$ac_ext
69762 cat >>conftest.$ac_ext <<_ACEOF
69763 /* end confdefs.h.  */
69764 #include <math.h>
69765                       #ifdef HAVE_IEEEFP_H
69766                       #include <ieeefp.h>
69767                       #endif
69768
69769 int
69770 main ()
69771 {
69772  isinff(0);
69773   ;
69774   return 0;
69775 }
69776 _ACEOF
69777 rm -f conftest.$ac_objext
69778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69779   (eval $ac_compile) 2>conftest.er1
69780   ac_status=$?
69781   grep -v '^ *+' conftest.er1 >conftest.err
69782   rm -f conftest.er1
69783   cat conftest.err >&5
69784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69785   (exit $ac_status); } &&
69786          { ac_try='test -z "$ac_cxx_werror_flag"
69787                          || test ! -s conftest.err'
69788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69789   (eval $ac_try) 2>&5
69790   ac_status=$?
69791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69792   (exit $ac_status); }; } &&
69793          { ac_try='test -s conftest.$ac_objext'
69794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69795   (eval $ac_try) 2>&5
69796   ac_status=$?
69797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69798   (exit $ac_status); }; }; then
69799   glibcxx_cv_func_isinff_use=yes
69800 else
69801   echo "$as_me: failed program was:" >&5
69802 sed 's/^/| /' conftest.$ac_ext >&5
69803
69804 glibcxx_cv_func_isinff_use=no
69805 fi
69806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69807       ac_ext=c
69808 ac_cpp='$CPP $CPPFLAGS'
69809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69812
69813
69814 fi
69815
69816   fi
69817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69818 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69819
69820   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69821
69822 for ac_func in isinff
69823 do
69824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69825 echo "$as_me:$LINENO: checking for $ac_func" >&5
69826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69827 if eval "test \"\${$as_ac_var+set}\" = set"; then
69828   echo $ECHO_N "(cached) $ECHO_C" >&6
69829 else
69830   if test x$gcc_no_link = xyes; then
69831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69833    { (exit 1); exit 1; }; }
69834 fi
69835 cat >conftest.$ac_ext <<_ACEOF
69836 /* confdefs.h.  */
69837 _ACEOF
69838 cat confdefs.h >>conftest.$ac_ext
69839 cat >>conftest.$ac_ext <<_ACEOF
69840 /* end confdefs.h.  */
69841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69843 #define $ac_func innocuous_$ac_func
69844
69845 /* System header to define __stub macros and hopefully few prototypes,
69846     which can conflict with char $ac_func (); below.
69847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69848     <limits.h> exists even on freestanding compilers.  */
69849
69850 #ifdef __STDC__
69851 # include <limits.h>
69852 #else
69853 # include <assert.h>
69854 #endif
69855
69856 #undef $ac_func
69857
69858 /* Override any gcc2 internal prototype to avoid an error.  */
69859 #ifdef __cplusplus
69860 extern "C"
69861 {
69862 #endif
69863 /* We use char because int might match the return type of a gcc2
69864    builtin and then its argument prototype would still apply.  */
69865 char $ac_func ();
69866 /* The GNU C library defines this for functions which it implements
69867     to always fail with ENOSYS.  Some functions are actually named
69868     something starting with __ and the normal name is an alias.  */
69869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69870 choke me
69871 #else
69872 char (*f) () = $ac_func;
69873 #endif
69874 #ifdef __cplusplus
69875 }
69876 #endif
69877
69878 int
69879 main ()
69880 {
69881 return f != $ac_func;
69882   ;
69883   return 0;
69884 }
69885 _ACEOF
69886 rm -f conftest.$ac_objext conftest$ac_exeext
69887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69888   (eval $ac_link) 2>conftest.er1
69889   ac_status=$?
69890   grep -v '^ *+' conftest.er1 >conftest.err
69891   rm -f conftest.er1
69892   cat conftest.err >&5
69893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69894   (exit $ac_status); } &&
69895          { ac_try='test -z "$ac_c_werror_flag"
69896                          || test ! -s conftest.err'
69897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69898   (eval $ac_try) 2>&5
69899   ac_status=$?
69900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69901   (exit $ac_status); }; } &&
69902          { ac_try='test -s conftest$ac_exeext'
69903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69904   (eval $ac_try) 2>&5
69905   ac_status=$?
69906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69907   (exit $ac_status); }; }; then
69908   eval "$as_ac_var=yes"
69909 else
69910   echo "$as_me: failed program was:" >&5
69911 sed 's/^/| /' conftest.$ac_ext >&5
69912
69913 eval "$as_ac_var=no"
69914 fi
69915 rm -f conftest.err conftest.$ac_objext \
69916       conftest$ac_exeext conftest.$ac_ext
69917 fi
69918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69920 if test `eval echo '${'$as_ac_var'}'` = yes; then
69921   cat >>confdefs.h <<_ACEOF
69922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69923 _ACEOF
69924
69925 fi
69926 done
69927
69928   else
69929
69930   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69931 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69932   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69933     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69934   echo $ECHO_N "(cached) $ECHO_C" >&6
69935 else
69936
69937
69938
69939       ac_ext=cc
69940 ac_cpp='$CXXCPP $CPPFLAGS'
69941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69944
69945       cat >conftest.$ac_ext <<_ACEOF
69946 /* confdefs.h.  */
69947 _ACEOF
69948 cat confdefs.h >>conftest.$ac_ext
69949 cat >>conftest.$ac_ext <<_ACEOF
69950 /* end confdefs.h.  */
69951 #include <math.h>
69952                       #ifdef HAVE_IEEEFP_H
69953                       #include <ieeefp.h>
69954                       #endif
69955
69956 int
69957 main ()
69958 {
69959  _isinff(0);
69960   ;
69961   return 0;
69962 }
69963 _ACEOF
69964 rm -f conftest.$ac_objext
69965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69966   (eval $ac_compile) 2>conftest.er1
69967   ac_status=$?
69968   grep -v '^ *+' conftest.er1 >conftest.err
69969   rm -f conftest.er1
69970   cat conftest.err >&5
69971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69972   (exit $ac_status); } &&
69973          { ac_try='test -z "$ac_cxx_werror_flag"
69974                          || test ! -s conftest.err'
69975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69976   (eval $ac_try) 2>&5
69977   ac_status=$?
69978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69979   (exit $ac_status); }; } &&
69980          { ac_try='test -s conftest.$ac_objext'
69981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69982   (eval $ac_try) 2>&5
69983   ac_status=$?
69984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69985   (exit $ac_status); }; }; then
69986   glibcxx_cv_func__isinff_use=yes
69987 else
69988   echo "$as_me: failed program was:" >&5
69989 sed 's/^/| /' conftest.$ac_ext >&5
69990
69991 glibcxx_cv_func__isinff_use=no
69992 fi
69993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69994       ac_ext=c
69995 ac_cpp='$CPP $CPPFLAGS'
69996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69999
70000
70001 fi
70002
70003   fi
70004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
70005 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
70006
70007     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
70008
70009 for ac_func in _isinff
70010 do
70011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70012 echo "$as_me:$LINENO: checking for $ac_func" >&5
70013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70014 if eval "test \"\${$as_ac_var+set}\" = set"; then
70015   echo $ECHO_N "(cached) $ECHO_C" >&6
70016 else
70017   if test x$gcc_no_link = xyes; then
70018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70020    { (exit 1); exit 1; }; }
70021 fi
70022 cat >conftest.$ac_ext <<_ACEOF
70023 /* confdefs.h.  */
70024 _ACEOF
70025 cat confdefs.h >>conftest.$ac_ext
70026 cat >>conftest.$ac_ext <<_ACEOF
70027 /* end confdefs.h.  */
70028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70030 #define $ac_func innocuous_$ac_func
70031
70032 /* System header to define __stub macros and hopefully few prototypes,
70033     which can conflict with char $ac_func (); below.
70034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70035     <limits.h> exists even on freestanding compilers.  */
70036
70037 #ifdef __STDC__
70038 # include <limits.h>
70039 #else
70040 # include <assert.h>
70041 #endif
70042
70043 #undef $ac_func
70044
70045 /* Override any gcc2 internal prototype to avoid an error.  */
70046 #ifdef __cplusplus
70047 extern "C"
70048 {
70049 #endif
70050 /* We use char because int might match the return type of a gcc2
70051    builtin and then its argument prototype would still apply.  */
70052 char $ac_func ();
70053 /* The GNU C library defines this for functions which it implements
70054     to always fail with ENOSYS.  Some functions are actually named
70055     something starting with __ and the normal name is an alias.  */
70056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70057 choke me
70058 #else
70059 char (*f) () = $ac_func;
70060 #endif
70061 #ifdef __cplusplus
70062 }
70063 #endif
70064
70065 int
70066 main ()
70067 {
70068 return f != $ac_func;
70069   ;
70070   return 0;
70071 }
70072 _ACEOF
70073 rm -f conftest.$ac_objext conftest$ac_exeext
70074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70075   (eval $ac_link) 2>conftest.er1
70076   ac_status=$?
70077   grep -v '^ *+' conftest.er1 >conftest.err
70078   rm -f conftest.er1
70079   cat conftest.err >&5
70080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70081   (exit $ac_status); } &&
70082          { ac_try='test -z "$ac_c_werror_flag"
70083                          || test ! -s conftest.err'
70084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70085   (eval $ac_try) 2>&5
70086   ac_status=$?
70087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70088   (exit $ac_status); }; } &&
70089          { ac_try='test -s conftest$ac_exeext'
70090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70091   (eval $ac_try) 2>&5
70092   ac_status=$?
70093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70094   (exit $ac_status); }; }; then
70095   eval "$as_ac_var=yes"
70096 else
70097   echo "$as_me: failed program was:" >&5
70098 sed 's/^/| /' conftest.$ac_ext >&5
70099
70100 eval "$as_ac_var=no"
70101 fi
70102 rm -f conftest.err conftest.$ac_objext \
70103       conftest$ac_exeext conftest.$ac_ext
70104 fi
70105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70107 if test `eval echo '${'$as_ac_var'}'` = yes; then
70108   cat >>confdefs.h <<_ACEOF
70109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70110 _ACEOF
70111
70112 fi
70113 done
70114
70115     fi
70116   fi
70117
70118
70119
70120
70121
70122
70123   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70124 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70125   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70126     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70127   echo $ECHO_N "(cached) $ECHO_C" >&6
70128 else
70129
70130
70131
70132       ac_ext=cc
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70137
70138       cat >conftest.$ac_ext <<_ACEOF
70139 /* confdefs.h.  */
70140 _ACEOF
70141 cat confdefs.h >>conftest.$ac_ext
70142 cat >>conftest.$ac_ext <<_ACEOF
70143 /* end confdefs.h.  */
70144 #include <math.h>
70145 int
70146 main ()
70147 {
70148  atan2f(0, 0);
70149   ;
70150   return 0;
70151 }
70152 _ACEOF
70153 rm -f conftest.$ac_objext
70154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70155   (eval $ac_compile) 2>conftest.er1
70156   ac_status=$?
70157   grep -v '^ *+' conftest.er1 >conftest.err
70158   rm -f conftest.er1
70159   cat conftest.err >&5
70160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70161   (exit $ac_status); } &&
70162          { ac_try='test -z "$ac_cxx_werror_flag"
70163                          || test ! -s conftest.err'
70164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70165   (eval $ac_try) 2>&5
70166   ac_status=$?
70167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70168   (exit $ac_status); }; } &&
70169          { ac_try='test -s conftest.$ac_objext'
70170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70171   (eval $ac_try) 2>&5
70172   ac_status=$?
70173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70174   (exit $ac_status); }; }; then
70175   glibcxx_cv_func_atan2f_use=yes
70176 else
70177   echo "$as_me: failed program was:" >&5
70178 sed 's/^/| /' conftest.$ac_ext >&5
70179
70180 glibcxx_cv_func_atan2f_use=no
70181 fi
70182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70183       ac_ext=c
70184 ac_cpp='$CPP $CPPFLAGS'
70185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70188
70189
70190 fi
70191
70192   fi
70193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70194 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70195
70196   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
70197
70198 for ac_func in atan2f
70199 do
70200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70201 echo "$as_me:$LINENO: checking for $ac_func" >&5
70202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70203 if eval "test \"\${$as_ac_var+set}\" = set"; then
70204   echo $ECHO_N "(cached) $ECHO_C" >&6
70205 else
70206   if test x$gcc_no_link = xyes; then
70207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70209    { (exit 1); exit 1; }; }
70210 fi
70211 cat >conftest.$ac_ext <<_ACEOF
70212 /* confdefs.h.  */
70213 _ACEOF
70214 cat confdefs.h >>conftest.$ac_ext
70215 cat >>conftest.$ac_ext <<_ACEOF
70216 /* end confdefs.h.  */
70217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70219 #define $ac_func innocuous_$ac_func
70220
70221 /* System header to define __stub macros and hopefully few prototypes,
70222     which can conflict with char $ac_func (); below.
70223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70224     <limits.h> exists even on freestanding compilers.  */
70225
70226 #ifdef __STDC__
70227 # include <limits.h>
70228 #else
70229 # include <assert.h>
70230 #endif
70231
70232 #undef $ac_func
70233
70234 /* Override any gcc2 internal prototype to avoid an error.  */
70235 #ifdef __cplusplus
70236 extern "C"
70237 {
70238 #endif
70239 /* We use char because int might match the return type of a gcc2
70240    builtin and then its argument prototype would still apply.  */
70241 char $ac_func ();
70242 /* The GNU C library defines this for functions which it implements
70243     to always fail with ENOSYS.  Some functions are actually named
70244     something starting with __ and the normal name is an alias.  */
70245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70246 choke me
70247 #else
70248 char (*f) () = $ac_func;
70249 #endif
70250 #ifdef __cplusplus
70251 }
70252 #endif
70253
70254 int
70255 main ()
70256 {
70257 return f != $ac_func;
70258   ;
70259   return 0;
70260 }
70261 _ACEOF
70262 rm -f conftest.$ac_objext conftest$ac_exeext
70263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70264   (eval $ac_link) 2>conftest.er1
70265   ac_status=$?
70266   grep -v '^ *+' conftest.er1 >conftest.err
70267   rm -f conftest.er1
70268   cat conftest.err >&5
70269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270   (exit $ac_status); } &&
70271          { ac_try='test -z "$ac_c_werror_flag"
70272                          || test ! -s conftest.err'
70273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70274   (eval $ac_try) 2>&5
70275   ac_status=$?
70276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70277   (exit $ac_status); }; } &&
70278          { ac_try='test -s conftest$ac_exeext'
70279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70280   (eval $ac_try) 2>&5
70281   ac_status=$?
70282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70283   (exit $ac_status); }; }; then
70284   eval "$as_ac_var=yes"
70285 else
70286   echo "$as_me: failed program was:" >&5
70287 sed 's/^/| /' conftest.$ac_ext >&5
70288
70289 eval "$as_ac_var=no"
70290 fi
70291 rm -f conftest.err conftest.$ac_objext \
70292       conftest$ac_exeext conftest.$ac_ext
70293 fi
70294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70296 if test `eval echo '${'$as_ac_var'}'` = yes; then
70297   cat >>confdefs.h <<_ACEOF
70298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70299 _ACEOF
70300
70301 fi
70302 done
70303
70304   else
70305
70306   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
70307 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
70308   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
70309     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
70310   echo $ECHO_N "(cached) $ECHO_C" >&6
70311 else
70312
70313
70314
70315       ac_ext=cc
70316 ac_cpp='$CXXCPP $CPPFLAGS'
70317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70320
70321       cat >conftest.$ac_ext <<_ACEOF
70322 /* confdefs.h.  */
70323 _ACEOF
70324 cat confdefs.h >>conftest.$ac_ext
70325 cat >>conftest.$ac_ext <<_ACEOF
70326 /* end confdefs.h.  */
70327 #include <math.h>
70328 int
70329 main ()
70330 {
70331  _atan2f(0, 0);
70332   ;
70333   return 0;
70334 }
70335 _ACEOF
70336 rm -f conftest.$ac_objext
70337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70338   (eval $ac_compile) 2>conftest.er1
70339   ac_status=$?
70340   grep -v '^ *+' conftest.er1 >conftest.err
70341   rm -f conftest.er1
70342   cat conftest.err >&5
70343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70344   (exit $ac_status); } &&
70345          { ac_try='test -z "$ac_cxx_werror_flag"
70346                          || test ! -s conftest.err'
70347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70348   (eval $ac_try) 2>&5
70349   ac_status=$?
70350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351   (exit $ac_status); }; } &&
70352          { ac_try='test -s conftest.$ac_objext'
70353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70354   (eval $ac_try) 2>&5
70355   ac_status=$?
70356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70357   (exit $ac_status); }; }; then
70358   glibcxx_cv_func__atan2f_use=yes
70359 else
70360   echo "$as_me: failed program was:" >&5
70361 sed 's/^/| /' conftest.$ac_ext >&5
70362
70363 glibcxx_cv_func__atan2f_use=no
70364 fi
70365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70366       ac_ext=c
70367 ac_cpp='$CPP $CPPFLAGS'
70368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70371
70372
70373 fi
70374
70375   fi
70376   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70377 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70378
70379     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70380
70381 for ac_func in _atan2f
70382 do
70383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70384 echo "$as_me:$LINENO: checking for $ac_func" >&5
70385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70386 if eval "test \"\${$as_ac_var+set}\" = set"; then
70387   echo $ECHO_N "(cached) $ECHO_C" >&6
70388 else
70389   if test x$gcc_no_link = xyes; then
70390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70392    { (exit 1); exit 1; }; }
70393 fi
70394 cat >conftest.$ac_ext <<_ACEOF
70395 /* confdefs.h.  */
70396 _ACEOF
70397 cat confdefs.h >>conftest.$ac_ext
70398 cat >>conftest.$ac_ext <<_ACEOF
70399 /* end confdefs.h.  */
70400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70402 #define $ac_func innocuous_$ac_func
70403
70404 /* System header to define __stub macros and hopefully few prototypes,
70405     which can conflict with char $ac_func (); below.
70406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70407     <limits.h> exists even on freestanding compilers.  */
70408
70409 #ifdef __STDC__
70410 # include <limits.h>
70411 #else
70412 # include <assert.h>
70413 #endif
70414
70415 #undef $ac_func
70416
70417 /* Override any gcc2 internal prototype to avoid an error.  */
70418 #ifdef __cplusplus
70419 extern "C"
70420 {
70421 #endif
70422 /* We use char because int might match the return type of a gcc2
70423    builtin and then its argument prototype would still apply.  */
70424 char $ac_func ();
70425 /* The GNU C library defines this for functions which it implements
70426     to always fail with ENOSYS.  Some functions are actually named
70427     something starting with __ and the normal name is an alias.  */
70428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70429 choke me
70430 #else
70431 char (*f) () = $ac_func;
70432 #endif
70433 #ifdef __cplusplus
70434 }
70435 #endif
70436
70437 int
70438 main ()
70439 {
70440 return f != $ac_func;
70441   ;
70442   return 0;
70443 }
70444 _ACEOF
70445 rm -f conftest.$ac_objext conftest$ac_exeext
70446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70447   (eval $ac_link) 2>conftest.er1
70448   ac_status=$?
70449   grep -v '^ *+' conftest.er1 >conftest.err
70450   rm -f conftest.er1
70451   cat conftest.err >&5
70452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70453   (exit $ac_status); } &&
70454          { ac_try='test -z "$ac_c_werror_flag"
70455                          || test ! -s conftest.err'
70456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70457   (eval $ac_try) 2>&5
70458   ac_status=$?
70459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70460   (exit $ac_status); }; } &&
70461          { ac_try='test -s conftest$ac_exeext'
70462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70463   (eval $ac_try) 2>&5
70464   ac_status=$?
70465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70466   (exit $ac_status); }; }; then
70467   eval "$as_ac_var=yes"
70468 else
70469   echo "$as_me: failed program was:" >&5
70470 sed 's/^/| /' conftest.$ac_ext >&5
70471
70472 eval "$as_ac_var=no"
70473 fi
70474 rm -f conftest.err conftest.$ac_objext \
70475       conftest$ac_exeext conftest.$ac_ext
70476 fi
70477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70479 if test `eval echo '${'$as_ac_var'}'` = yes; then
70480   cat >>confdefs.h <<_ACEOF
70481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70482 _ACEOF
70483
70484 fi
70485 done
70486
70487     fi
70488   fi
70489
70490
70491
70492
70493
70494
70495   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70496 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70497   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70498     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70499   echo $ECHO_N "(cached) $ECHO_C" >&6
70500 else
70501
70502
70503
70504       ac_ext=cc
70505 ac_cpp='$CXXCPP $CPPFLAGS'
70506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70509
70510       cat >conftest.$ac_ext <<_ACEOF
70511 /* confdefs.h.  */
70512 _ACEOF
70513 cat confdefs.h >>conftest.$ac_ext
70514 cat >>conftest.$ac_ext <<_ACEOF
70515 /* end confdefs.h.  */
70516 #include <math.h>
70517                       #ifdef HAVE_IEEEFP_H
70518                       #include <ieeefp.h>
70519                       #endif
70520
70521 int
70522 main ()
70523 {
70524  fabsf(0);
70525   ;
70526   return 0;
70527 }
70528 _ACEOF
70529 rm -f conftest.$ac_objext
70530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70531   (eval $ac_compile) 2>conftest.er1
70532   ac_status=$?
70533   grep -v '^ *+' conftest.er1 >conftest.err
70534   rm -f conftest.er1
70535   cat conftest.err >&5
70536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70537   (exit $ac_status); } &&
70538          { ac_try='test -z "$ac_cxx_werror_flag"
70539                          || test ! -s conftest.err'
70540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70541   (eval $ac_try) 2>&5
70542   ac_status=$?
70543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70544   (exit $ac_status); }; } &&
70545          { ac_try='test -s conftest.$ac_objext'
70546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70547   (eval $ac_try) 2>&5
70548   ac_status=$?
70549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70550   (exit $ac_status); }; }; then
70551   glibcxx_cv_func_fabsf_use=yes
70552 else
70553   echo "$as_me: failed program was:" >&5
70554 sed 's/^/| /' conftest.$ac_ext >&5
70555
70556 glibcxx_cv_func_fabsf_use=no
70557 fi
70558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70559       ac_ext=c
70560 ac_cpp='$CPP $CPPFLAGS'
70561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70564
70565
70566 fi
70567
70568   fi
70569   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70570 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70571
70572   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70573
70574 for ac_func in fabsf
70575 do
70576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70577 echo "$as_me:$LINENO: checking for $ac_func" >&5
70578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70579 if eval "test \"\${$as_ac_var+set}\" = set"; then
70580   echo $ECHO_N "(cached) $ECHO_C" >&6
70581 else
70582   if test x$gcc_no_link = xyes; then
70583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70585    { (exit 1); exit 1; }; }
70586 fi
70587 cat >conftest.$ac_ext <<_ACEOF
70588 /* confdefs.h.  */
70589 _ACEOF
70590 cat confdefs.h >>conftest.$ac_ext
70591 cat >>conftest.$ac_ext <<_ACEOF
70592 /* end confdefs.h.  */
70593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70595 #define $ac_func innocuous_$ac_func
70596
70597 /* System header to define __stub macros and hopefully few prototypes,
70598     which can conflict with char $ac_func (); below.
70599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70600     <limits.h> exists even on freestanding compilers.  */
70601
70602 #ifdef __STDC__
70603 # include <limits.h>
70604 #else
70605 # include <assert.h>
70606 #endif
70607
70608 #undef $ac_func
70609
70610 /* Override any gcc2 internal prototype to avoid an error.  */
70611 #ifdef __cplusplus
70612 extern "C"
70613 {
70614 #endif
70615 /* We use char because int might match the return type of a gcc2
70616    builtin and then its argument prototype would still apply.  */
70617 char $ac_func ();
70618 /* The GNU C library defines this for functions which it implements
70619     to always fail with ENOSYS.  Some functions are actually named
70620     something starting with __ and the normal name is an alias.  */
70621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70622 choke me
70623 #else
70624 char (*f) () = $ac_func;
70625 #endif
70626 #ifdef __cplusplus
70627 }
70628 #endif
70629
70630 int
70631 main ()
70632 {
70633 return f != $ac_func;
70634   ;
70635   return 0;
70636 }
70637 _ACEOF
70638 rm -f conftest.$ac_objext conftest$ac_exeext
70639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70640   (eval $ac_link) 2>conftest.er1
70641   ac_status=$?
70642   grep -v '^ *+' conftest.er1 >conftest.err
70643   rm -f conftest.er1
70644   cat conftest.err >&5
70645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70646   (exit $ac_status); } &&
70647          { ac_try='test -z "$ac_c_werror_flag"
70648                          || test ! -s conftest.err'
70649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70650   (eval $ac_try) 2>&5
70651   ac_status=$?
70652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70653   (exit $ac_status); }; } &&
70654          { ac_try='test -s conftest$ac_exeext'
70655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70656   (eval $ac_try) 2>&5
70657   ac_status=$?
70658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70659   (exit $ac_status); }; }; then
70660   eval "$as_ac_var=yes"
70661 else
70662   echo "$as_me: failed program was:" >&5
70663 sed 's/^/| /' conftest.$ac_ext >&5
70664
70665 eval "$as_ac_var=no"
70666 fi
70667 rm -f conftest.err conftest.$ac_objext \
70668       conftest$ac_exeext conftest.$ac_ext
70669 fi
70670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70672 if test `eval echo '${'$as_ac_var'}'` = yes; then
70673   cat >>confdefs.h <<_ACEOF
70674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70675 _ACEOF
70676
70677 fi
70678 done
70679
70680   else
70681
70682   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70683 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70684   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70685     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70686   echo $ECHO_N "(cached) $ECHO_C" >&6
70687 else
70688
70689
70690
70691       ac_ext=cc
70692 ac_cpp='$CXXCPP $CPPFLAGS'
70693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70696
70697       cat >conftest.$ac_ext <<_ACEOF
70698 /* confdefs.h.  */
70699 _ACEOF
70700 cat confdefs.h >>conftest.$ac_ext
70701 cat >>conftest.$ac_ext <<_ACEOF
70702 /* end confdefs.h.  */
70703 #include <math.h>
70704                       #ifdef HAVE_IEEEFP_H
70705                       #include <ieeefp.h>
70706                       #endif
70707
70708 int
70709 main ()
70710 {
70711  _fabsf(0);
70712   ;
70713   return 0;
70714 }
70715 _ACEOF
70716 rm -f conftest.$ac_objext
70717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70718   (eval $ac_compile) 2>conftest.er1
70719   ac_status=$?
70720   grep -v '^ *+' conftest.er1 >conftest.err
70721   rm -f conftest.er1
70722   cat conftest.err >&5
70723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70724   (exit $ac_status); } &&
70725          { ac_try='test -z "$ac_cxx_werror_flag"
70726                          || test ! -s conftest.err'
70727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70728   (eval $ac_try) 2>&5
70729   ac_status=$?
70730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70731   (exit $ac_status); }; } &&
70732          { ac_try='test -s conftest.$ac_objext'
70733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70734   (eval $ac_try) 2>&5
70735   ac_status=$?
70736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70737   (exit $ac_status); }; }; then
70738   glibcxx_cv_func__fabsf_use=yes
70739 else
70740   echo "$as_me: failed program was:" >&5
70741 sed 's/^/| /' conftest.$ac_ext >&5
70742
70743 glibcxx_cv_func__fabsf_use=no
70744 fi
70745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70746       ac_ext=c
70747 ac_cpp='$CPP $CPPFLAGS'
70748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70751
70752
70753 fi
70754
70755   fi
70756   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70757 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70758
70759     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70760
70761 for ac_func in _fabsf
70762 do
70763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70764 echo "$as_me:$LINENO: checking for $ac_func" >&5
70765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70766 if eval "test \"\${$as_ac_var+set}\" = set"; then
70767   echo $ECHO_N "(cached) $ECHO_C" >&6
70768 else
70769   if test x$gcc_no_link = xyes; then
70770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70772    { (exit 1); exit 1; }; }
70773 fi
70774 cat >conftest.$ac_ext <<_ACEOF
70775 /* confdefs.h.  */
70776 _ACEOF
70777 cat confdefs.h >>conftest.$ac_ext
70778 cat >>conftest.$ac_ext <<_ACEOF
70779 /* end confdefs.h.  */
70780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70782 #define $ac_func innocuous_$ac_func
70783
70784 /* System header to define __stub macros and hopefully few prototypes,
70785     which can conflict with char $ac_func (); below.
70786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70787     <limits.h> exists even on freestanding compilers.  */
70788
70789 #ifdef __STDC__
70790 # include <limits.h>
70791 #else
70792 # include <assert.h>
70793 #endif
70794
70795 #undef $ac_func
70796
70797 /* Override any gcc2 internal prototype to avoid an error.  */
70798 #ifdef __cplusplus
70799 extern "C"
70800 {
70801 #endif
70802 /* We use char because int might match the return type of a gcc2
70803    builtin and then its argument prototype would still apply.  */
70804 char $ac_func ();
70805 /* The GNU C library defines this for functions which it implements
70806     to always fail with ENOSYS.  Some functions are actually named
70807     something starting with __ and the normal name is an alias.  */
70808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70809 choke me
70810 #else
70811 char (*f) () = $ac_func;
70812 #endif
70813 #ifdef __cplusplus
70814 }
70815 #endif
70816
70817 int
70818 main ()
70819 {
70820 return f != $ac_func;
70821   ;
70822   return 0;
70823 }
70824 _ACEOF
70825 rm -f conftest.$ac_objext conftest$ac_exeext
70826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70827   (eval $ac_link) 2>conftest.er1
70828   ac_status=$?
70829   grep -v '^ *+' conftest.er1 >conftest.err
70830   rm -f conftest.er1
70831   cat conftest.err >&5
70832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70833   (exit $ac_status); } &&
70834          { ac_try='test -z "$ac_c_werror_flag"
70835                          || test ! -s conftest.err'
70836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70837   (eval $ac_try) 2>&5
70838   ac_status=$?
70839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70840   (exit $ac_status); }; } &&
70841          { ac_try='test -s conftest$ac_exeext'
70842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70843   (eval $ac_try) 2>&5
70844   ac_status=$?
70845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70846   (exit $ac_status); }; }; then
70847   eval "$as_ac_var=yes"
70848 else
70849   echo "$as_me: failed program was:" >&5
70850 sed 's/^/| /' conftest.$ac_ext >&5
70851
70852 eval "$as_ac_var=no"
70853 fi
70854 rm -f conftest.err conftest.$ac_objext \
70855       conftest$ac_exeext conftest.$ac_ext
70856 fi
70857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70859 if test `eval echo '${'$as_ac_var'}'` = yes; then
70860   cat >>confdefs.h <<_ACEOF
70861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70862 _ACEOF
70863
70864 fi
70865 done
70866
70867     fi
70868   fi
70869
70870
70871
70872
70873
70874
70875   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
70876 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
70877   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
70878     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
70879   echo $ECHO_N "(cached) $ECHO_C" >&6
70880 else
70881
70882
70883
70884       ac_ext=cc
70885 ac_cpp='$CXXCPP $CPPFLAGS'
70886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70889
70890       cat >conftest.$ac_ext <<_ACEOF
70891 /* confdefs.h.  */
70892 _ACEOF
70893 cat confdefs.h >>conftest.$ac_ext
70894 cat >>conftest.$ac_ext <<_ACEOF
70895 /* end confdefs.h.  */
70896 #include <math.h>
70897 int
70898 main ()
70899 {
70900  fmodf(0, 0);
70901   ;
70902   return 0;
70903 }
70904 _ACEOF
70905 rm -f conftest.$ac_objext
70906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70907   (eval $ac_compile) 2>conftest.er1
70908   ac_status=$?
70909   grep -v '^ *+' conftest.er1 >conftest.err
70910   rm -f conftest.er1
70911   cat conftest.err >&5
70912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70913   (exit $ac_status); } &&
70914          { ac_try='test -z "$ac_cxx_werror_flag"
70915                          || test ! -s conftest.err'
70916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70917   (eval $ac_try) 2>&5
70918   ac_status=$?
70919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70920   (exit $ac_status); }; } &&
70921          { ac_try='test -s conftest.$ac_objext'
70922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70923   (eval $ac_try) 2>&5
70924   ac_status=$?
70925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70926   (exit $ac_status); }; }; then
70927   glibcxx_cv_func_fmodf_use=yes
70928 else
70929   echo "$as_me: failed program was:" >&5
70930 sed 's/^/| /' conftest.$ac_ext >&5
70931
70932 glibcxx_cv_func_fmodf_use=no
70933 fi
70934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70935       ac_ext=c
70936 ac_cpp='$CPP $CPPFLAGS'
70937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70940
70941
70942 fi
70943
70944   fi
70945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70946 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70947
70948   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70949
70950 for ac_func in fmodf
70951 do
70952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70953 echo "$as_me:$LINENO: checking for $ac_func" >&5
70954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70955 if eval "test \"\${$as_ac_var+set}\" = set"; then
70956   echo $ECHO_N "(cached) $ECHO_C" >&6
70957 else
70958   if test x$gcc_no_link = xyes; then
70959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70961    { (exit 1); exit 1; }; }
70962 fi
70963 cat >conftest.$ac_ext <<_ACEOF
70964 /* confdefs.h.  */
70965 _ACEOF
70966 cat confdefs.h >>conftest.$ac_ext
70967 cat >>conftest.$ac_ext <<_ACEOF
70968 /* end confdefs.h.  */
70969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70971 #define $ac_func innocuous_$ac_func
70972
70973 /* System header to define __stub macros and hopefully few prototypes,
70974     which can conflict with char $ac_func (); below.
70975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70976     <limits.h> exists even on freestanding compilers.  */
70977
70978 #ifdef __STDC__
70979 # include <limits.h>
70980 #else
70981 # include <assert.h>
70982 #endif
70983
70984 #undef $ac_func
70985
70986 /* Override any gcc2 internal prototype to avoid an error.  */
70987 #ifdef __cplusplus
70988 extern "C"
70989 {
70990 #endif
70991 /* We use char because int might match the return type of a gcc2
70992    builtin and then its argument prototype would still apply.  */
70993 char $ac_func ();
70994 /* The GNU C library defines this for functions which it implements
70995     to always fail with ENOSYS.  Some functions are actually named
70996     something starting with __ and the normal name is an alias.  */
70997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70998 choke me
70999 #else
71000 char (*f) () = $ac_func;
71001 #endif
71002 #ifdef __cplusplus
71003 }
71004 #endif
71005
71006 int
71007 main ()
71008 {
71009 return f != $ac_func;
71010   ;
71011   return 0;
71012 }
71013 _ACEOF
71014 rm -f conftest.$ac_objext conftest$ac_exeext
71015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71016   (eval $ac_link) 2>conftest.er1
71017   ac_status=$?
71018   grep -v '^ *+' conftest.er1 >conftest.err
71019   rm -f conftest.er1
71020   cat conftest.err >&5
71021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71022   (exit $ac_status); } &&
71023          { ac_try='test -z "$ac_c_werror_flag"
71024                          || test ! -s conftest.err'
71025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71026   (eval $ac_try) 2>&5
71027   ac_status=$?
71028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029   (exit $ac_status); }; } &&
71030          { ac_try='test -s conftest$ac_exeext'
71031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71032   (eval $ac_try) 2>&5
71033   ac_status=$?
71034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71035   (exit $ac_status); }; }; then
71036   eval "$as_ac_var=yes"
71037 else
71038   echo "$as_me: failed program was:" >&5
71039 sed 's/^/| /' conftest.$ac_ext >&5
71040
71041 eval "$as_ac_var=no"
71042 fi
71043 rm -f conftest.err conftest.$ac_objext \
71044       conftest$ac_exeext conftest.$ac_ext
71045 fi
71046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71048 if test `eval echo '${'$as_ac_var'}'` = yes; then
71049   cat >>confdefs.h <<_ACEOF
71050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71051 _ACEOF
71052
71053 fi
71054 done
71055
71056   else
71057
71058   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
71059 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
71060   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
71061     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
71062   echo $ECHO_N "(cached) $ECHO_C" >&6
71063 else
71064
71065
71066
71067       ac_ext=cc
71068 ac_cpp='$CXXCPP $CPPFLAGS'
71069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71072
71073       cat >conftest.$ac_ext <<_ACEOF
71074 /* confdefs.h.  */
71075 _ACEOF
71076 cat confdefs.h >>conftest.$ac_ext
71077 cat >>conftest.$ac_ext <<_ACEOF
71078 /* end confdefs.h.  */
71079 #include <math.h>
71080 int
71081 main ()
71082 {
71083  _fmodf(0, 0);
71084   ;
71085   return 0;
71086 }
71087 _ACEOF
71088 rm -f conftest.$ac_objext
71089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71090   (eval $ac_compile) 2>conftest.er1
71091   ac_status=$?
71092   grep -v '^ *+' conftest.er1 >conftest.err
71093   rm -f conftest.er1
71094   cat conftest.err >&5
71095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71096   (exit $ac_status); } &&
71097          { ac_try='test -z "$ac_cxx_werror_flag"
71098                          || test ! -s conftest.err'
71099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71100   (eval $ac_try) 2>&5
71101   ac_status=$?
71102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71103   (exit $ac_status); }; } &&
71104          { ac_try='test -s conftest.$ac_objext'
71105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71106   (eval $ac_try) 2>&5
71107   ac_status=$?
71108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109   (exit $ac_status); }; }; then
71110   glibcxx_cv_func__fmodf_use=yes
71111 else
71112   echo "$as_me: failed program was:" >&5
71113 sed 's/^/| /' conftest.$ac_ext >&5
71114
71115 glibcxx_cv_func__fmodf_use=no
71116 fi
71117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71118       ac_ext=c
71119 ac_cpp='$CPP $CPPFLAGS'
71120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71123
71124
71125 fi
71126
71127   fi
71128   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71129 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71130
71131     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71132
71133 for ac_func in _fmodf
71134 do
71135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71136 echo "$as_me:$LINENO: checking for $ac_func" >&5
71137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71138 if eval "test \"\${$as_ac_var+set}\" = set"; then
71139   echo $ECHO_N "(cached) $ECHO_C" >&6
71140 else
71141   if test x$gcc_no_link = xyes; then
71142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71144    { (exit 1); exit 1; }; }
71145 fi
71146 cat >conftest.$ac_ext <<_ACEOF
71147 /* confdefs.h.  */
71148 _ACEOF
71149 cat confdefs.h >>conftest.$ac_ext
71150 cat >>conftest.$ac_ext <<_ACEOF
71151 /* end confdefs.h.  */
71152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71154 #define $ac_func innocuous_$ac_func
71155
71156 /* System header to define __stub macros and hopefully few prototypes,
71157     which can conflict with char $ac_func (); below.
71158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71159     <limits.h> exists even on freestanding compilers.  */
71160
71161 #ifdef __STDC__
71162 # include <limits.h>
71163 #else
71164 # include <assert.h>
71165 #endif
71166
71167 #undef $ac_func
71168
71169 /* Override any gcc2 internal prototype to avoid an error.  */
71170 #ifdef __cplusplus
71171 extern "C"
71172 {
71173 #endif
71174 /* We use char because int might match the return type of a gcc2
71175    builtin and then its argument prototype would still apply.  */
71176 char $ac_func ();
71177 /* The GNU C library defines this for functions which it implements
71178     to always fail with ENOSYS.  Some functions are actually named
71179     something starting with __ and the normal name is an alias.  */
71180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71181 choke me
71182 #else
71183 char (*f) () = $ac_func;
71184 #endif
71185 #ifdef __cplusplus
71186 }
71187 #endif
71188
71189 int
71190 main ()
71191 {
71192 return f != $ac_func;
71193   ;
71194   return 0;
71195 }
71196 _ACEOF
71197 rm -f conftest.$ac_objext conftest$ac_exeext
71198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71199   (eval $ac_link) 2>conftest.er1
71200   ac_status=$?
71201   grep -v '^ *+' conftest.er1 >conftest.err
71202   rm -f conftest.er1
71203   cat conftest.err >&5
71204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205   (exit $ac_status); } &&
71206          { ac_try='test -z "$ac_c_werror_flag"
71207                          || test ! -s conftest.err'
71208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71209   (eval $ac_try) 2>&5
71210   ac_status=$?
71211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71212   (exit $ac_status); }; } &&
71213          { ac_try='test -s conftest$ac_exeext'
71214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71215   (eval $ac_try) 2>&5
71216   ac_status=$?
71217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71218   (exit $ac_status); }; }; then
71219   eval "$as_ac_var=yes"
71220 else
71221   echo "$as_me: failed program was:" >&5
71222 sed 's/^/| /' conftest.$ac_ext >&5
71223
71224 eval "$as_ac_var=no"
71225 fi
71226 rm -f conftest.err conftest.$ac_objext \
71227       conftest$ac_exeext conftest.$ac_ext
71228 fi
71229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71231 if test `eval echo '${'$as_ac_var'}'` = yes; then
71232   cat >>confdefs.h <<_ACEOF
71233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71234 _ACEOF
71235
71236 fi
71237 done
71238
71239     fi
71240   fi
71241
71242
71243
71244
71245
71246
71247   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
71248 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
71249   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
71250     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
71251   echo $ECHO_N "(cached) $ECHO_C" >&6
71252 else
71253
71254
71255
71256       ac_ext=cc
71257 ac_cpp='$CXXCPP $CPPFLAGS'
71258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71261
71262       cat >conftest.$ac_ext <<_ACEOF
71263 /* confdefs.h.  */
71264 _ACEOF
71265 cat confdefs.h >>conftest.$ac_ext
71266 cat >>conftest.$ac_ext <<_ACEOF
71267 /* end confdefs.h.  */
71268 #include <math.h>
71269 int
71270 main ()
71271 {
71272  frexpf(0, 0);
71273   ;
71274   return 0;
71275 }
71276 _ACEOF
71277 rm -f conftest.$ac_objext
71278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71279   (eval $ac_compile) 2>conftest.er1
71280   ac_status=$?
71281   grep -v '^ *+' conftest.er1 >conftest.err
71282   rm -f conftest.er1
71283   cat conftest.err >&5
71284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71285   (exit $ac_status); } &&
71286          { ac_try='test -z "$ac_cxx_werror_flag"
71287                          || test ! -s conftest.err'
71288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71289   (eval $ac_try) 2>&5
71290   ac_status=$?
71291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71292   (exit $ac_status); }; } &&
71293          { ac_try='test -s conftest.$ac_objext'
71294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71295   (eval $ac_try) 2>&5
71296   ac_status=$?
71297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71298   (exit $ac_status); }; }; then
71299   glibcxx_cv_func_frexpf_use=yes
71300 else
71301   echo "$as_me: failed program was:" >&5
71302 sed 's/^/| /' conftest.$ac_ext >&5
71303
71304 glibcxx_cv_func_frexpf_use=no
71305 fi
71306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71307       ac_ext=c
71308 ac_cpp='$CPP $CPPFLAGS'
71309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71312
71313
71314 fi
71315
71316   fi
71317   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
71318 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
71319
71320   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
71321
71322 for ac_func in frexpf
71323 do
71324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71325 echo "$as_me:$LINENO: checking for $ac_func" >&5
71326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71327 if eval "test \"\${$as_ac_var+set}\" = set"; then
71328   echo $ECHO_N "(cached) $ECHO_C" >&6
71329 else
71330   if test x$gcc_no_link = xyes; then
71331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71333    { (exit 1); exit 1; }; }
71334 fi
71335 cat >conftest.$ac_ext <<_ACEOF
71336 /* confdefs.h.  */
71337 _ACEOF
71338 cat confdefs.h >>conftest.$ac_ext
71339 cat >>conftest.$ac_ext <<_ACEOF
71340 /* end confdefs.h.  */
71341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71343 #define $ac_func innocuous_$ac_func
71344
71345 /* System header to define __stub macros and hopefully few prototypes,
71346     which can conflict with char $ac_func (); below.
71347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71348     <limits.h> exists even on freestanding compilers.  */
71349
71350 #ifdef __STDC__
71351 # include <limits.h>
71352 #else
71353 # include <assert.h>
71354 #endif
71355
71356 #undef $ac_func
71357
71358 /* Override any gcc2 internal prototype to avoid an error.  */
71359 #ifdef __cplusplus
71360 extern "C"
71361 {
71362 #endif
71363 /* We use char because int might match the return type of a gcc2
71364    builtin and then its argument prototype would still apply.  */
71365 char $ac_func ();
71366 /* The GNU C library defines this for functions which it implements
71367     to always fail with ENOSYS.  Some functions are actually named
71368     something starting with __ and the normal name is an alias.  */
71369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71370 choke me
71371 #else
71372 char (*f) () = $ac_func;
71373 #endif
71374 #ifdef __cplusplus
71375 }
71376 #endif
71377
71378 int
71379 main ()
71380 {
71381 return f != $ac_func;
71382   ;
71383   return 0;
71384 }
71385 _ACEOF
71386 rm -f conftest.$ac_objext conftest$ac_exeext
71387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71388   (eval $ac_link) 2>conftest.er1
71389   ac_status=$?
71390   grep -v '^ *+' conftest.er1 >conftest.err
71391   rm -f conftest.er1
71392   cat conftest.err >&5
71393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71394   (exit $ac_status); } &&
71395          { ac_try='test -z "$ac_c_werror_flag"
71396                          || test ! -s conftest.err'
71397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71398   (eval $ac_try) 2>&5
71399   ac_status=$?
71400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71401   (exit $ac_status); }; } &&
71402          { ac_try='test -s conftest$ac_exeext'
71403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71404   (eval $ac_try) 2>&5
71405   ac_status=$?
71406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71407   (exit $ac_status); }; }; then
71408   eval "$as_ac_var=yes"
71409 else
71410   echo "$as_me: failed program was:" >&5
71411 sed 's/^/| /' conftest.$ac_ext >&5
71412
71413 eval "$as_ac_var=no"
71414 fi
71415 rm -f conftest.err conftest.$ac_objext \
71416       conftest$ac_exeext conftest.$ac_ext
71417 fi
71418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71420 if test `eval echo '${'$as_ac_var'}'` = yes; then
71421   cat >>confdefs.h <<_ACEOF
71422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71423 _ACEOF
71424
71425 fi
71426 done
71427
71428   else
71429
71430   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71431 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71432   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71433     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71434   echo $ECHO_N "(cached) $ECHO_C" >&6
71435 else
71436
71437
71438
71439       ac_ext=cc
71440 ac_cpp='$CXXCPP $CPPFLAGS'
71441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71444
71445       cat >conftest.$ac_ext <<_ACEOF
71446 /* confdefs.h.  */
71447 _ACEOF
71448 cat confdefs.h >>conftest.$ac_ext
71449 cat >>conftest.$ac_ext <<_ACEOF
71450 /* end confdefs.h.  */
71451 #include <math.h>
71452 int
71453 main ()
71454 {
71455  _frexpf(0, 0);
71456   ;
71457   return 0;
71458 }
71459 _ACEOF
71460 rm -f conftest.$ac_objext
71461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71462   (eval $ac_compile) 2>conftest.er1
71463   ac_status=$?
71464   grep -v '^ *+' conftest.er1 >conftest.err
71465   rm -f conftest.er1
71466   cat conftest.err >&5
71467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71468   (exit $ac_status); } &&
71469          { ac_try='test -z "$ac_cxx_werror_flag"
71470                          || test ! -s conftest.err'
71471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71472   (eval $ac_try) 2>&5
71473   ac_status=$?
71474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71475   (exit $ac_status); }; } &&
71476          { ac_try='test -s conftest.$ac_objext'
71477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71478   (eval $ac_try) 2>&5
71479   ac_status=$?
71480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71481   (exit $ac_status); }; }; then
71482   glibcxx_cv_func__frexpf_use=yes
71483 else
71484   echo "$as_me: failed program was:" >&5
71485 sed 's/^/| /' conftest.$ac_ext >&5
71486
71487 glibcxx_cv_func__frexpf_use=no
71488 fi
71489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71490       ac_ext=c
71491 ac_cpp='$CPP $CPPFLAGS'
71492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71495
71496
71497 fi
71498
71499   fi
71500   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71501 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71502
71503     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71504
71505 for ac_func in _frexpf
71506 do
71507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71508 echo "$as_me:$LINENO: checking for $ac_func" >&5
71509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71510 if eval "test \"\${$as_ac_var+set}\" = set"; then
71511   echo $ECHO_N "(cached) $ECHO_C" >&6
71512 else
71513   if test x$gcc_no_link = xyes; then
71514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71516    { (exit 1); exit 1; }; }
71517 fi
71518 cat >conftest.$ac_ext <<_ACEOF
71519 /* confdefs.h.  */
71520 _ACEOF
71521 cat confdefs.h >>conftest.$ac_ext
71522 cat >>conftest.$ac_ext <<_ACEOF
71523 /* end confdefs.h.  */
71524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71526 #define $ac_func innocuous_$ac_func
71527
71528 /* System header to define __stub macros and hopefully few prototypes,
71529     which can conflict with char $ac_func (); below.
71530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71531     <limits.h> exists even on freestanding compilers.  */
71532
71533 #ifdef __STDC__
71534 # include <limits.h>
71535 #else
71536 # include <assert.h>
71537 #endif
71538
71539 #undef $ac_func
71540
71541 /* Override any gcc2 internal prototype to avoid an error.  */
71542 #ifdef __cplusplus
71543 extern "C"
71544 {
71545 #endif
71546 /* We use char because int might match the return type of a gcc2
71547    builtin and then its argument prototype would still apply.  */
71548 char $ac_func ();
71549 /* The GNU C library defines this for functions which it implements
71550     to always fail with ENOSYS.  Some functions are actually named
71551     something starting with __ and the normal name is an alias.  */
71552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71553 choke me
71554 #else
71555 char (*f) () = $ac_func;
71556 #endif
71557 #ifdef __cplusplus
71558 }
71559 #endif
71560
71561 int
71562 main ()
71563 {
71564 return f != $ac_func;
71565   ;
71566   return 0;
71567 }
71568 _ACEOF
71569 rm -f conftest.$ac_objext conftest$ac_exeext
71570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71571   (eval $ac_link) 2>conftest.er1
71572   ac_status=$?
71573   grep -v '^ *+' conftest.er1 >conftest.err
71574   rm -f conftest.er1
71575   cat conftest.err >&5
71576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71577   (exit $ac_status); } &&
71578          { ac_try='test -z "$ac_c_werror_flag"
71579                          || test ! -s conftest.err'
71580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71581   (eval $ac_try) 2>&5
71582   ac_status=$?
71583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71584   (exit $ac_status); }; } &&
71585          { ac_try='test -s conftest$ac_exeext'
71586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71587   (eval $ac_try) 2>&5
71588   ac_status=$?
71589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71590   (exit $ac_status); }; }; then
71591   eval "$as_ac_var=yes"
71592 else
71593   echo "$as_me: failed program was:" >&5
71594 sed 's/^/| /' conftest.$ac_ext >&5
71595
71596 eval "$as_ac_var=no"
71597 fi
71598 rm -f conftest.err conftest.$ac_objext \
71599       conftest$ac_exeext conftest.$ac_ext
71600 fi
71601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71603 if test `eval echo '${'$as_ac_var'}'` = yes; then
71604   cat >>confdefs.h <<_ACEOF
71605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71606 _ACEOF
71607
71608 fi
71609 done
71610
71611     fi
71612   fi
71613
71614
71615
71616
71617
71618
71619   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71620 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71621   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71622     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71623   echo $ECHO_N "(cached) $ECHO_C" >&6
71624 else
71625
71626
71627
71628       ac_ext=cc
71629 ac_cpp='$CXXCPP $CPPFLAGS'
71630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71633
71634       cat >conftest.$ac_ext <<_ACEOF
71635 /* confdefs.h.  */
71636 _ACEOF
71637 cat confdefs.h >>conftest.$ac_ext
71638 cat >>conftest.$ac_ext <<_ACEOF
71639 /* end confdefs.h.  */
71640 #include <math.h>
71641 int
71642 main ()
71643 {
71644  hypotf(0, 0);
71645   ;
71646   return 0;
71647 }
71648 _ACEOF
71649 rm -f conftest.$ac_objext
71650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71651   (eval $ac_compile) 2>conftest.er1
71652   ac_status=$?
71653   grep -v '^ *+' conftest.er1 >conftest.err
71654   rm -f conftest.er1
71655   cat conftest.err >&5
71656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71657   (exit $ac_status); } &&
71658          { ac_try='test -z "$ac_cxx_werror_flag"
71659                          || test ! -s conftest.err'
71660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71661   (eval $ac_try) 2>&5
71662   ac_status=$?
71663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71664   (exit $ac_status); }; } &&
71665          { ac_try='test -s conftest.$ac_objext'
71666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71667   (eval $ac_try) 2>&5
71668   ac_status=$?
71669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71670   (exit $ac_status); }; }; then
71671   glibcxx_cv_func_hypotf_use=yes
71672 else
71673   echo "$as_me: failed program was:" >&5
71674 sed 's/^/| /' conftest.$ac_ext >&5
71675
71676 glibcxx_cv_func_hypotf_use=no
71677 fi
71678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71679       ac_ext=c
71680 ac_cpp='$CPP $CPPFLAGS'
71681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71684
71685
71686 fi
71687
71688   fi
71689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71690 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71691
71692   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71693
71694 for ac_func in hypotf
71695 do
71696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71697 echo "$as_me:$LINENO: checking for $ac_func" >&5
71698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71699 if eval "test \"\${$as_ac_var+set}\" = set"; then
71700   echo $ECHO_N "(cached) $ECHO_C" >&6
71701 else
71702   if test x$gcc_no_link = xyes; then
71703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71705    { (exit 1); exit 1; }; }
71706 fi
71707 cat >conftest.$ac_ext <<_ACEOF
71708 /* confdefs.h.  */
71709 _ACEOF
71710 cat confdefs.h >>conftest.$ac_ext
71711 cat >>conftest.$ac_ext <<_ACEOF
71712 /* end confdefs.h.  */
71713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71715 #define $ac_func innocuous_$ac_func
71716
71717 /* System header to define __stub macros and hopefully few prototypes,
71718     which can conflict with char $ac_func (); below.
71719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71720     <limits.h> exists even on freestanding compilers.  */
71721
71722 #ifdef __STDC__
71723 # include <limits.h>
71724 #else
71725 # include <assert.h>
71726 #endif
71727
71728 #undef $ac_func
71729
71730 /* Override any gcc2 internal prototype to avoid an error.  */
71731 #ifdef __cplusplus
71732 extern "C"
71733 {
71734 #endif
71735 /* We use char because int might match the return type of a gcc2
71736    builtin and then its argument prototype would still apply.  */
71737 char $ac_func ();
71738 /* The GNU C library defines this for functions which it implements
71739     to always fail with ENOSYS.  Some functions are actually named
71740     something starting with __ and the normal name is an alias.  */
71741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71742 choke me
71743 #else
71744 char (*f) () = $ac_func;
71745 #endif
71746 #ifdef __cplusplus
71747 }
71748 #endif
71749
71750 int
71751 main ()
71752 {
71753 return f != $ac_func;
71754   ;
71755   return 0;
71756 }
71757 _ACEOF
71758 rm -f conftest.$ac_objext conftest$ac_exeext
71759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71760   (eval $ac_link) 2>conftest.er1
71761   ac_status=$?
71762   grep -v '^ *+' conftest.er1 >conftest.err
71763   rm -f conftest.er1
71764   cat conftest.err >&5
71765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71766   (exit $ac_status); } &&
71767          { ac_try='test -z "$ac_c_werror_flag"
71768                          || test ! -s conftest.err'
71769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71770   (eval $ac_try) 2>&5
71771   ac_status=$?
71772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71773   (exit $ac_status); }; } &&
71774          { ac_try='test -s conftest$ac_exeext'
71775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71776   (eval $ac_try) 2>&5
71777   ac_status=$?
71778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71779   (exit $ac_status); }; }; then
71780   eval "$as_ac_var=yes"
71781 else
71782   echo "$as_me: failed program was:" >&5
71783 sed 's/^/| /' conftest.$ac_ext >&5
71784
71785 eval "$as_ac_var=no"
71786 fi
71787 rm -f conftest.err conftest.$ac_objext \
71788       conftest$ac_exeext conftest.$ac_ext
71789 fi
71790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71792 if test `eval echo '${'$as_ac_var'}'` = yes; then
71793   cat >>confdefs.h <<_ACEOF
71794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71795 _ACEOF
71796
71797 fi
71798 done
71799
71800   else
71801
71802   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71803 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71804   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71805     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71806   echo $ECHO_N "(cached) $ECHO_C" >&6
71807 else
71808
71809
71810
71811       ac_ext=cc
71812 ac_cpp='$CXXCPP $CPPFLAGS'
71813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71816
71817       cat >conftest.$ac_ext <<_ACEOF
71818 /* confdefs.h.  */
71819 _ACEOF
71820 cat confdefs.h >>conftest.$ac_ext
71821 cat >>conftest.$ac_ext <<_ACEOF
71822 /* end confdefs.h.  */
71823 #include <math.h>
71824 int
71825 main ()
71826 {
71827  _hypotf(0, 0);
71828   ;
71829   return 0;
71830 }
71831 _ACEOF
71832 rm -f conftest.$ac_objext
71833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71834   (eval $ac_compile) 2>conftest.er1
71835   ac_status=$?
71836   grep -v '^ *+' conftest.er1 >conftest.err
71837   rm -f conftest.er1
71838   cat conftest.err >&5
71839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71840   (exit $ac_status); } &&
71841          { ac_try='test -z "$ac_cxx_werror_flag"
71842                          || test ! -s conftest.err'
71843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71844   (eval $ac_try) 2>&5
71845   ac_status=$?
71846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71847   (exit $ac_status); }; } &&
71848          { ac_try='test -s conftest.$ac_objext'
71849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71850   (eval $ac_try) 2>&5
71851   ac_status=$?
71852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71853   (exit $ac_status); }; }; then
71854   glibcxx_cv_func__hypotf_use=yes
71855 else
71856   echo "$as_me: failed program was:" >&5
71857 sed 's/^/| /' conftest.$ac_ext >&5
71858
71859 glibcxx_cv_func__hypotf_use=no
71860 fi
71861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71862       ac_ext=c
71863 ac_cpp='$CPP $CPPFLAGS'
71864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71867
71868
71869 fi
71870
71871   fi
71872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
71873 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
71874
71875     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
71876
71877 for ac_func in _hypotf
71878 do
71879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71880 echo "$as_me:$LINENO: checking for $ac_func" >&5
71881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71882 if eval "test \"\${$as_ac_var+set}\" = set"; then
71883   echo $ECHO_N "(cached) $ECHO_C" >&6
71884 else
71885   if test x$gcc_no_link = xyes; then
71886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71888    { (exit 1); exit 1; }; }
71889 fi
71890 cat >conftest.$ac_ext <<_ACEOF
71891 /* confdefs.h.  */
71892 _ACEOF
71893 cat confdefs.h >>conftest.$ac_ext
71894 cat >>conftest.$ac_ext <<_ACEOF
71895 /* end confdefs.h.  */
71896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71898 #define $ac_func innocuous_$ac_func
71899
71900 /* System header to define __stub macros and hopefully few prototypes,
71901     which can conflict with char $ac_func (); below.
71902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71903     <limits.h> exists even on freestanding compilers.  */
71904
71905 #ifdef __STDC__
71906 # include <limits.h>
71907 #else
71908 # include <assert.h>
71909 #endif
71910
71911 #undef $ac_func
71912
71913 /* Override any gcc2 internal prototype to avoid an error.  */
71914 #ifdef __cplusplus
71915 extern "C"
71916 {
71917 #endif
71918 /* We use char because int might match the return type of a gcc2
71919    builtin and then its argument prototype would still apply.  */
71920 char $ac_func ();
71921 /* The GNU C library defines this for functions which it implements
71922     to always fail with ENOSYS.  Some functions are actually named
71923     something starting with __ and the normal name is an alias.  */
71924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71925 choke me
71926 #else
71927 char (*f) () = $ac_func;
71928 #endif
71929 #ifdef __cplusplus
71930 }
71931 #endif
71932
71933 int
71934 main ()
71935 {
71936 return f != $ac_func;
71937   ;
71938   return 0;
71939 }
71940 _ACEOF
71941 rm -f conftest.$ac_objext conftest$ac_exeext
71942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71943   (eval $ac_link) 2>conftest.er1
71944   ac_status=$?
71945   grep -v '^ *+' conftest.er1 >conftest.err
71946   rm -f conftest.er1
71947   cat conftest.err >&5
71948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71949   (exit $ac_status); } &&
71950          { ac_try='test -z "$ac_c_werror_flag"
71951                          || test ! -s conftest.err'
71952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71953   (eval $ac_try) 2>&5
71954   ac_status=$?
71955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71956   (exit $ac_status); }; } &&
71957          { ac_try='test -s conftest$ac_exeext'
71958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71959   (eval $ac_try) 2>&5
71960   ac_status=$?
71961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71962   (exit $ac_status); }; }; then
71963   eval "$as_ac_var=yes"
71964 else
71965   echo "$as_me: failed program was:" >&5
71966 sed 's/^/| /' conftest.$ac_ext >&5
71967
71968 eval "$as_ac_var=no"
71969 fi
71970 rm -f conftest.err conftest.$ac_objext \
71971       conftest$ac_exeext conftest.$ac_ext
71972 fi
71973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71975 if test `eval echo '${'$as_ac_var'}'` = yes; then
71976   cat >>confdefs.h <<_ACEOF
71977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71978 _ACEOF
71979
71980 fi
71981 done
71982
71983     fi
71984   fi
71985
71986
71987
71988
71989
71990
71991   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71992 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71993   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71994     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71995   echo $ECHO_N "(cached) $ECHO_C" >&6
71996 else
71997
71998
71999
72000       ac_ext=cc
72001 ac_cpp='$CXXCPP $CPPFLAGS'
72002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72005
72006       cat >conftest.$ac_ext <<_ACEOF
72007 /* confdefs.h.  */
72008 _ACEOF
72009 cat confdefs.h >>conftest.$ac_ext
72010 cat >>conftest.$ac_ext <<_ACEOF
72011 /* end confdefs.h.  */
72012 #include <math.h>
72013 int
72014 main ()
72015 {
72016  ldexpf(0, 0);
72017   ;
72018   return 0;
72019 }
72020 _ACEOF
72021 rm -f conftest.$ac_objext
72022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72023   (eval $ac_compile) 2>conftest.er1
72024   ac_status=$?
72025   grep -v '^ *+' conftest.er1 >conftest.err
72026   rm -f conftest.er1
72027   cat conftest.err >&5
72028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72029   (exit $ac_status); } &&
72030          { ac_try='test -z "$ac_cxx_werror_flag"
72031                          || test ! -s conftest.err'
72032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72033   (eval $ac_try) 2>&5
72034   ac_status=$?
72035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72036   (exit $ac_status); }; } &&
72037          { ac_try='test -s conftest.$ac_objext'
72038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72039   (eval $ac_try) 2>&5
72040   ac_status=$?
72041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72042   (exit $ac_status); }; }; then
72043   glibcxx_cv_func_ldexpf_use=yes
72044 else
72045   echo "$as_me: failed program was:" >&5
72046 sed 's/^/| /' conftest.$ac_ext >&5
72047
72048 glibcxx_cv_func_ldexpf_use=no
72049 fi
72050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72051       ac_ext=c
72052 ac_cpp='$CPP $CPPFLAGS'
72053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72056
72057
72058 fi
72059
72060   fi
72061   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
72062 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
72063
72064   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
72065
72066 for ac_func in ldexpf
72067 do
72068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72069 echo "$as_me:$LINENO: checking for $ac_func" >&5
72070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72071 if eval "test \"\${$as_ac_var+set}\" = set"; then
72072   echo $ECHO_N "(cached) $ECHO_C" >&6
72073 else
72074   if test x$gcc_no_link = xyes; then
72075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72077    { (exit 1); exit 1; }; }
72078 fi
72079 cat >conftest.$ac_ext <<_ACEOF
72080 /* confdefs.h.  */
72081 _ACEOF
72082 cat confdefs.h >>conftest.$ac_ext
72083 cat >>conftest.$ac_ext <<_ACEOF
72084 /* end confdefs.h.  */
72085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72087 #define $ac_func innocuous_$ac_func
72088
72089 /* System header to define __stub macros and hopefully few prototypes,
72090     which can conflict with char $ac_func (); below.
72091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72092     <limits.h> exists even on freestanding compilers.  */
72093
72094 #ifdef __STDC__
72095 # include <limits.h>
72096 #else
72097 # include <assert.h>
72098 #endif
72099
72100 #undef $ac_func
72101
72102 /* Override any gcc2 internal prototype to avoid an error.  */
72103 #ifdef __cplusplus
72104 extern "C"
72105 {
72106 #endif
72107 /* We use char because int might match the return type of a gcc2
72108    builtin and then its argument prototype would still apply.  */
72109 char $ac_func ();
72110 /* The GNU C library defines this for functions which it implements
72111     to always fail with ENOSYS.  Some functions are actually named
72112     something starting with __ and the normal name is an alias.  */
72113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72114 choke me
72115 #else
72116 char (*f) () = $ac_func;
72117 #endif
72118 #ifdef __cplusplus
72119 }
72120 #endif
72121
72122 int
72123 main ()
72124 {
72125 return f != $ac_func;
72126   ;
72127   return 0;
72128 }
72129 _ACEOF
72130 rm -f conftest.$ac_objext conftest$ac_exeext
72131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72132   (eval $ac_link) 2>conftest.er1
72133   ac_status=$?
72134   grep -v '^ *+' conftest.er1 >conftest.err
72135   rm -f conftest.er1
72136   cat conftest.err >&5
72137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138   (exit $ac_status); } &&
72139          { ac_try='test -z "$ac_c_werror_flag"
72140                          || test ! -s conftest.err'
72141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72142   (eval $ac_try) 2>&5
72143   ac_status=$?
72144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72145   (exit $ac_status); }; } &&
72146          { ac_try='test -s conftest$ac_exeext'
72147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72148   (eval $ac_try) 2>&5
72149   ac_status=$?
72150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72151   (exit $ac_status); }; }; then
72152   eval "$as_ac_var=yes"
72153 else
72154   echo "$as_me: failed program was:" >&5
72155 sed 's/^/| /' conftest.$ac_ext >&5
72156
72157 eval "$as_ac_var=no"
72158 fi
72159 rm -f conftest.err conftest.$ac_objext \
72160       conftest$ac_exeext conftest.$ac_ext
72161 fi
72162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72164 if test `eval echo '${'$as_ac_var'}'` = yes; then
72165   cat >>confdefs.h <<_ACEOF
72166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72167 _ACEOF
72168
72169 fi
72170 done
72171
72172   else
72173
72174   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72175 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72176   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72177     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72178   echo $ECHO_N "(cached) $ECHO_C" >&6
72179 else
72180
72181
72182
72183       ac_ext=cc
72184 ac_cpp='$CXXCPP $CPPFLAGS'
72185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72188
72189       cat >conftest.$ac_ext <<_ACEOF
72190 /* confdefs.h.  */
72191 _ACEOF
72192 cat confdefs.h >>conftest.$ac_ext
72193 cat >>conftest.$ac_ext <<_ACEOF
72194 /* end confdefs.h.  */
72195 #include <math.h>
72196 int
72197 main ()
72198 {
72199  _ldexpf(0, 0);
72200   ;
72201   return 0;
72202 }
72203 _ACEOF
72204 rm -f conftest.$ac_objext
72205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72206   (eval $ac_compile) 2>conftest.er1
72207   ac_status=$?
72208   grep -v '^ *+' conftest.er1 >conftest.err
72209   rm -f conftest.er1
72210   cat conftest.err >&5
72211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72212   (exit $ac_status); } &&
72213          { ac_try='test -z "$ac_cxx_werror_flag"
72214                          || test ! -s conftest.err'
72215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72216   (eval $ac_try) 2>&5
72217   ac_status=$?
72218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219   (exit $ac_status); }; } &&
72220          { ac_try='test -s conftest.$ac_objext'
72221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72222   (eval $ac_try) 2>&5
72223   ac_status=$?
72224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72225   (exit $ac_status); }; }; then
72226   glibcxx_cv_func__ldexpf_use=yes
72227 else
72228   echo "$as_me: failed program was:" >&5
72229 sed 's/^/| /' conftest.$ac_ext >&5
72230
72231 glibcxx_cv_func__ldexpf_use=no
72232 fi
72233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72234       ac_ext=c
72235 ac_cpp='$CPP $CPPFLAGS'
72236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72239
72240
72241 fi
72242
72243   fi
72244   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
72245 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
72246
72247     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
72248
72249 for ac_func in _ldexpf
72250 do
72251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72252 echo "$as_me:$LINENO: checking for $ac_func" >&5
72253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72254 if eval "test \"\${$as_ac_var+set}\" = set"; then
72255   echo $ECHO_N "(cached) $ECHO_C" >&6
72256 else
72257   if test x$gcc_no_link = xyes; then
72258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72260    { (exit 1); exit 1; }; }
72261 fi
72262 cat >conftest.$ac_ext <<_ACEOF
72263 /* confdefs.h.  */
72264 _ACEOF
72265 cat confdefs.h >>conftest.$ac_ext
72266 cat >>conftest.$ac_ext <<_ACEOF
72267 /* end confdefs.h.  */
72268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72270 #define $ac_func innocuous_$ac_func
72271
72272 /* System header to define __stub macros and hopefully few prototypes,
72273     which can conflict with char $ac_func (); below.
72274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72275     <limits.h> exists even on freestanding compilers.  */
72276
72277 #ifdef __STDC__
72278 # include <limits.h>
72279 #else
72280 # include <assert.h>
72281 #endif
72282
72283 #undef $ac_func
72284
72285 /* Override any gcc2 internal prototype to avoid an error.  */
72286 #ifdef __cplusplus
72287 extern "C"
72288 {
72289 #endif
72290 /* We use char because int might match the return type of a gcc2
72291    builtin and then its argument prototype would still apply.  */
72292 char $ac_func ();
72293 /* The GNU C library defines this for functions which it implements
72294     to always fail with ENOSYS.  Some functions are actually named
72295     something starting with __ and the normal name is an alias.  */
72296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72297 choke me
72298 #else
72299 char (*f) () = $ac_func;
72300 #endif
72301 #ifdef __cplusplus
72302 }
72303 #endif
72304
72305 int
72306 main ()
72307 {
72308 return f != $ac_func;
72309   ;
72310   return 0;
72311 }
72312 _ACEOF
72313 rm -f conftest.$ac_objext conftest$ac_exeext
72314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72315   (eval $ac_link) 2>conftest.er1
72316   ac_status=$?
72317   grep -v '^ *+' conftest.er1 >conftest.err
72318   rm -f conftest.er1
72319   cat conftest.err >&5
72320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72321   (exit $ac_status); } &&
72322          { ac_try='test -z "$ac_c_werror_flag"
72323                          || test ! -s conftest.err'
72324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72325   (eval $ac_try) 2>&5
72326   ac_status=$?
72327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72328   (exit $ac_status); }; } &&
72329          { ac_try='test -s conftest$ac_exeext'
72330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72331   (eval $ac_try) 2>&5
72332   ac_status=$?
72333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72334   (exit $ac_status); }; }; then
72335   eval "$as_ac_var=yes"
72336 else
72337   echo "$as_me: failed program was:" >&5
72338 sed 's/^/| /' conftest.$ac_ext >&5
72339
72340 eval "$as_ac_var=no"
72341 fi
72342 rm -f conftest.err conftest.$ac_objext \
72343       conftest$ac_exeext conftest.$ac_ext
72344 fi
72345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72347 if test `eval echo '${'$as_ac_var'}'` = yes; then
72348   cat >>confdefs.h <<_ACEOF
72349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72350 _ACEOF
72351
72352 fi
72353 done
72354
72355     fi
72356   fi
72357
72358
72359
72360
72361
72362
72363   echo "$as_me:$LINENO: checking for logf declaration" >&5
72364 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
72365   if test x${glibcxx_cv_func_logf_use+set} != xset; then
72366     if test "${glibcxx_cv_func_logf_use+set}" = set; then
72367   echo $ECHO_N "(cached) $ECHO_C" >&6
72368 else
72369
72370
72371
72372       ac_ext=cc
72373 ac_cpp='$CXXCPP $CPPFLAGS'
72374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72377
72378       cat >conftest.$ac_ext <<_ACEOF
72379 /* confdefs.h.  */
72380 _ACEOF
72381 cat confdefs.h >>conftest.$ac_ext
72382 cat >>conftest.$ac_ext <<_ACEOF
72383 /* end confdefs.h.  */
72384 #include <math.h>
72385                       #ifdef HAVE_IEEEFP_H
72386                       #include <ieeefp.h>
72387                       #endif
72388
72389 int
72390 main ()
72391 {
72392  logf(0);
72393   ;
72394   return 0;
72395 }
72396 _ACEOF
72397 rm -f conftest.$ac_objext
72398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72399   (eval $ac_compile) 2>conftest.er1
72400   ac_status=$?
72401   grep -v '^ *+' conftest.er1 >conftest.err
72402   rm -f conftest.er1
72403   cat conftest.err >&5
72404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72405   (exit $ac_status); } &&
72406          { ac_try='test -z "$ac_cxx_werror_flag"
72407                          || test ! -s conftest.err'
72408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72409   (eval $ac_try) 2>&5
72410   ac_status=$?
72411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72412   (exit $ac_status); }; } &&
72413          { ac_try='test -s conftest.$ac_objext'
72414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72415   (eval $ac_try) 2>&5
72416   ac_status=$?
72417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72418   (exit $ac_status); }; }; then
72419   glibcxx_cv_func_logf_use=yes
72420 else
72421   echo "$as_me: failed program was:" >&5
72422 sed 's/^/| /' conftest.$ac_ext >&5
72423
72424 glibcxx_cv_func_logf_use=no
72425 fi
72426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72427       ac_ext=c
72428 ac_cpp='$CPP $CPPFLAGS'
72429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72432
72433
72434 fi
72435
72436   fi
72437   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72438 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72439
72440   if test x$glibcxx_cv_func_logf_use = x"yes"; then
72441
72442 for ac_func in logf
72443 do
72444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72445 echo "$as_me:$LINENO: checking for $ac_func" >&5
72446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72447 if eval "test \"\${$as_ac_var+set}\" = set"; then
72448   echo $ECHO_N "(cached) $ECHO_C" >&6
72449 else
72450   if test x$gcc_no_link = xyes; then
72451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72453    { (exit 1); exit 1; }; }
72454 fi
72455 cat >conftest.$ac_ext <<_ACEOF
72456 /* confdefs.h.  */
72457 _ACEOF
72458 cat confdefs.h >>conftest.$ac_ext
72459 cat >>conftest.$ac_ext <<_ACEOF
72460 /* end confdefs.h.  */
72461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72463 #define $ac_func innocuous_$ac_func
72464
72465 /* System header to define __stub macros and hopefully few prototypes,
72466     which can conflict with char $ac_func (); below.
72467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72468     <limits.h> exists even on freestanding compilers.  */
72469
72470 #ifdef __STDC__
72471 # include <limits.h>
72472 #else
72473 # include <assert.h>
72474 #endif
72475
72476 #undef $ac_func
72477
72478 /* Override any gcc2 internal prototype to avoid an error.  */
72479 #ifdef __cplusplus
72480 extern "C"
72481 {
72482 #endif
72483 /* We use char because int might match the return type of a gcc2
72484    builtin and then its argument prototype would still apply.  */
72485 char $ac_func ();
72486 /* The GNU C library defines this for functions which it implements
72487     to always fail with ENOSYS.  Some functions are actually named
72488     something starting with __ and the normal name is an alias.  */
72489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72490 choke me
72491 #else
72492 char (*f) () = $ac_func;
72493 #endif
72494 #ifdef __cplusplus
72495 }
72496 #endif
72497
72498 int
72499 main ()
72500 {
72501 return f != $ac_func;
72502   ;
72503   return 0;
72504 }
72505 _ACEOF
72506 rm -f conftest.$ac_objext conftest$ac_exeext
72507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72508   (eval $ac_link) 2>conftest.er1
72509   ac_status=$?
72510   grep -v '^ *+' conftest.er1 >conftest.err
72511   rm -f conftest.er1
72512   cat conftest.err >&5
72513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72514   (exit $ac_status); } &&
72515          { ac_try='test -z "$ac_c_werror_flag"
72516                          || test ! -s conftest.err'
72517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72518   (eval $ac_try) 2>&5
72519   ac_status=$?
72520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72521   (exit $ac_status); }; } &&
72522          { ac_try='test -s conftest$ac_exeext'
72523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72524   (eval $ac_try) 2>&5
72525   ac_status=$?
72526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72527   (exit $ac_status); }; }; then
72528   eval "$as_ac_var=yes"
72529 else
72530   echo "$as_me: failed program was:" >&5
72531 sed 's/^/| /' conftest.$ac_ext >&5
72532
72533 eval "$as_ac_var=no"
72534 fi
72535 rm -f conftest.err conftest.$ac_objext \
72536       conftest$ac_exeext conftest.$ac_ext
72537 fi
72538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72540 if test `eval echo '${'$as_ac_var'}'` = yes; then
72541   cat >>confdefs.h <<_ACEOF
72542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72543 _ACEOF
72544
72545 fi
72546 done
72547
72548   else
72549
72550   echo "$as_me:$LINENO: checking for _logf declaration" >&5
72551 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72552   if test x${glibcxx_cv_func__logf_use+set} != xset; then
72553     if test "${glibcxx_cv_func__logf_use+set}" = set; then
72554   echo $ECHO_N "(cached) $ECHO_C" >&6
72555 else
72556
72557
72558
72559       ac_ext=cc
72560 ac_cpp='$CXXCPP $CPPFLAGS'
72561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72564
72565       cat >conftest.$ac_ext <<_ACEOF
72566 /* confdefs.h.  */
72567 _ACEOF
72568 cat confdefs.h >>conftest.$ac_ext
72569 cat >>conftest.$ac_ext <<_ACEOF
72570 /* end confdefs.h.  */
72571 #include <math.h>
72572                       #ifdef HAVE_IEEEFP_H
72573                       #include <ieeefp.h>
72574                       #endif
72575
72576 int
72577 main ()
72578 {
72579  _logf(0);
72580   ;
72581   return 0;
72582 }
72583 _ACEOF
72584 rm -f conftest.$ac_objext
72585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72586   (eval $ac_compile) 2>conftest.er1
72587   ac_status=$?
72588   grep -v '^ *+' conftest.er1 >conftest.err
72589   rm -f conftest.er1
72590   cat conftest.err >&5
72591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72592   (exit $ac_status); } &&
72593          { ac_try='test -z "$ac_cxx_werror_flag"
72594                          || test ! -s conftest.err'
72595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72596   (eval $ac_try) 2>&5
72597   ac_status=$?
72598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72599   (exit $ac_status); }; } &&
72600          { ac_try='test -s conftest.$ac_objext'
72601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72602   (eval $ac_try) 2>&5
72603   ac_status=$?
72604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72605   (exit $ac_status); }; }; then
72606   glibcxx_cv_func__logf_use=yes
72607 else
72608   echo "$as_me: failed program was:" >&5
72609 sed 's/^/| /' conftest.$ac_ext >&5
72610
72611 glibcxx_cv_func__logf_use=no
72612 fi
72613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72614       ac_ext=c
72615 ac_cpp='$CPP $CPPFLAGS'
72616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72619
72620
72621 fi
72622
72623   fi
72624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72625 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72626
72627     if test x$glibcxx_cv_func__logf_use = x"yes"; then
72628
72629 for ac_func in _logf
72630 do
72631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72632 echo "$as_me:$LINENO: checking for $ac_func" >&5
72633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72634 if eval "test \"\${$as_ac_var+set}\" = set"; then
72635   echo $ECHO_N "(cached) $ECHO_C" >&6
72636 else
72637   if test x$gcc_no_link = xyes; then
72638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72640    { (exit 1); exit 1; }; }
72641 fi
72642 cat >conftest.$ac_ext <<_ACEOF
72643 /* confdefs.h.  */
72644 _ACEOF
72645 cat confdefs.h >>conftest.$ac_ext
72646 cat >>conftest.$ac_ext <<_ACEOF
72647 /* end confdefs.h.  */
72648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72650 #define $ac_func innocuous_$ac_func
72651
72652 /* System header to define __stub macros and hopefully few prototypes,
72653     which can conflict with char $ac_func (); below.
72654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72655     <limits.h> exists even on freestanding compilers.  */
72656
72657 #ifdef __STDC__
72658 # include <limits.h>
72659 #else
72660 # include <assert.h>
72661 #endif
72662
72663 #undef $ac_func
72664
72665 /* Override any gcc2 internal prototype to avoid an error.  */
72666 #ifdef __cplusplus
72667 extern "C"
72668 {
72669 #endif
72670 /* We use char because int might match the return type of a gcc2
72671    builtin and then its argument prototype would still apply.  */
72672 char $ac_func ();
72673 /* The GNU C library defines this for functions which it implements
72674     to always fail with ENOSYS.  Some functions are actually named
72675     something starting with __ and the normal name is an alias.  */
72676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72677 choke me
72678 #else
72679 char (*f) () = $ac_func;
72680 #endif
72681 #ifdef __cplusplus
72682 }
72683 #endif
72684
72685 int
72686 main ()
72687 {
72688 return f != $ac_func;
72689   ;
72690   return 0;
72691 }
72692 _ACEOF
72693 rm -f conftest.$ac_objext conftest$ac_exeext
72694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72695   (eval $ac_link) 2>conftest.er1
72696   ac_status=$?
72697   grep -v '^ *+' conftest.er1 >conftest.err
72698   rm -f conftest.er1
72699   cat conftest.err >&5
72700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72701   (exit $ac_status); } &&
72702          { ac_try='test -z "$ac_c_werror_flag"
72703                          || test ! -s conftest.err'
72704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72705   (eval $ac_try) 2>&5
72706   ac_status=$?
72707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72708   (exit $ac_status); }; } &&
72709          { ac_try='test -s conftest$ac_exeext'
72710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72711   (eval $ac_try) 2>&5
72712   ac_status=$?
72713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72714   (exit $ac_status); }; }; then
72715   eval "$as_ac_var=yes"
72716 else
72717   echo "$as_me: failed program was:" >&5
72718 sed 's/^/| /' conftest.$ac_ext >&5
72719
72720 eval "$as_ac_var=no"
72721 fi
72722 rm -f conftest.err conftest.$ac_objext \
72723       conftest$ac_exeext conftest.$ac_ext
72724 fi
72725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72727 if test `eval echo '${'$as_ac_var'}'` = yes; then
72728   cat >>confdefs.h <<_ACEOF
72729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72730 _ACEOF
72731
72732 fi
72733 done
72734
72735     fi
72736   fi
72737
72738
72739
72740
72741
72742
72743   echo "$as_me:$LINENO: checking for log10f declaration" >&5
72744 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72745   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72746     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72747   echo $ECHO_N "(cached) $ECHO_C" >&6
72748 else
72749
72750
72751
72752       ac_ext=cc
72753 ac_cpp='$CXXCPP $CPPFLAGS'
72754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72757
72758       cat >conftest.$ac_ext <<_ACEOF
72759 /* confdefs.h.  */
72760 _ACEOF
72761 cat confdefs.h >>conftest.$ac_ext
72762 cat >>conftest.$ac_ext <<_ACEOF
72763 /* end confdefs.h.  */
72764 #include <math.h>
72765                       #ifdef HAVE_IEEEFP_H
72766                       #include <ieeefp.h>
72767                       #endif
72768
72769 int
72770 main ()
72771 {
72772  log10f(0);
72773   ;
72774   return 0;
72775 }
72776 _ACEOF
72777 rm -f conftest.$ac_objext
72778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72779   (eval $ac_compile) 2>conftest.er1
72780   ac_status=$?
72781   grep -v '^ *+' conftest.er1 >conftest.err
72782   rm -f conftest.er1
72783   cat conftest.err >&5
72784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72785   (exit $ac_status); } &&
72786          { ac_try='test -z "$ac_cxx_werror_flag"
72787                          || test ! -s conftest.err'
72788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72789   (eval $ac_try) 2>&5
72790   ac_status=$?
72791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72792   (exit $ac_status); }; } &&
72793          { ac_try='test -s conftest.$ac_objext'
72794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72795   (eval $ac_try) 2>&5
72796   ac_status=$?
72797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72798   (exit $ac_status); }; }; then
72799   glibcxx_cv_func_log10f_use=yes
72800 else
72801   echo "$as_me: failed program was:" >&5
72802 sed 's/^/| /' conftest.$ac_ext >&5
72803
72804 glibcxx_cv_func_log10f_use=no
72805 fi
72806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72807       ac_ext=c
72808 ac_cpp='$CPP $CPPFLAGS'
72809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812
72813
72814 fi
72815
72816   fi
72817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72818 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72819
72820   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72821
72822 for ac_func in log10f
72823 do
72824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72825 echo "$as_me:$LINENO: checking for $ac_func" >&5
72826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72827 if eval "test \"\${$as_ac_var+set}\" = set"; then
72828   echo $ECHO_N "(cached) $ECHO_C" >&6
72829 else
72830   if test x$gcc_no_link = xyes; then
72831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72833    { (exit 1); exit 1; }; }
72834 fi
72835 cat >conftest.$ac_ext <<_ACEOF
72836 /* confdefs.h.  */
72837 _ACEOF
72838 cat confdefs.h >>conftest.$ac_ext
72839 cat >>conftest.$ac_ext <<_ACEOF
72840 /* end confdefs.h.  */
72841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72843 #define $ac_func innocuous_$ac_func
72844
72845 /* System header to define __stub macros and hopefully few prototypes,
72846     which can conflict with char $ac_func (); below.
72847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72848     <limits.h> exists even on freestanding compilers.  */
72849
72850 #ifdef __STDC__
72851 # include <limits.h>
72852 #else
72853 # include <assert.h>
72854 #endif
72855
72856 #undef $ac_func
72857
72858 /* Override any gcc2 internal prototype to avoid an error.  */
72859 #ifdef __cplusplus
72860 extern "C"
72861 {
72862 #endif
72863 /* We use char because int might match the return type of a gcc2
72864    builtin and then its argument prototype would still apply.  */
72865 char $ac_func ();
72866 /* The GNU C library defines this for functions which it implements
72867     to always fail with ENOSYS.  Some functions are actually named
72868     something starting with __ and the normal name is an alias.  */
72869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72870 choke me
72871 #else
72872 char (*f) () = $ac_func;
72873 #endif
72874 #ifdef __cplusplus
72875 }
72876 #endif
72877
72878 int
72879 main ()
72880 {
72881 return f != $ac_func;
72882   ;
72883   return 0;
72884 }
72885 _ACEOF
72886 rm -f conftest.$ac_objext conftest$ac_exeext
72887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72888   (eval $ac_link) 2>conftest.er1
72889   ac_status=$?
72890   grep -v '^ *+' conftest.er1 >conftest.err
72891   rm -f conftest.er1
72892   cat conftest.err >&5
72893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72894   (exit $ac_status); } &&
72895          { ac_try='test -z "$ac_c_werror_flag"
72896                          || test ! -s conftest.err'
72897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72898   (eval $ac_try) 2>&5
72899   ac_status=$?
72900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72901   (exit $ac_status); }; } &&
72902          { ac_try='test -s conftest$ac_exeext'
72903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904   (eval $ac_try) 2>&5
72905   ac_status=$?
72906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907   (exit $ac_status); }; }; then
72908   eval "$as_ac_var=yes"
72909 else
72910   echo "$as_me: failed program was:" >&5
72911 sed 's/^/| /' conftest.$ac_ext >&5
72912
72913 eval "$as_ac_var=no"
72914 fi
72915 rm -f conftest.err conftest.$ac_objext \
72916       conftest$ac_exeext conftest.$ac_ext
72917 fi
72918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72920 if test `eval echo '${'$as_ac_var'}'` = yes; then
72921   cat >>confdefs.h <<_ACEOF
72922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72923 _ACEOF
72924
72925 fi
72926 done
72927
72928   else
72929
72930   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72931 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72932   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72933     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72934   echo $ECHO_N "(cached) $ECHO_C" >&6
72935 else
72936
72937
72938
72939       ac_ext=cc
72940 ac_cpp='$CXXCPP $CPPFLAGS'
72941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72944
72945       cat >conftest.$ac_ext <<_ACEOF
72946 /* confdefs.h.  */
72947 _ACEOF
72948 cat confdefs.h >>conftest.$ac_ext
72949 cat >>conftest.$ac_ext <<_ACEOF
72950 /* end confdefs.h.  */
72951 #include <math.h>
72952                       #ifdef HAVE_IEEEFP_H
72953                       #include <ieeefp.h>
72954                       #endif
72955
72956 int
72957 main ()
72958 {
72959  _log10f(0);
72960   ;
72961   return 0;
72962 }
72963 _ACEOF
72964 rm -f conftest.$ac_objext
72965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72966   (eval $ac_compile) 2>conftest.er1
72967   ac_status=$?
72968   grep -v '^ *+' conftest.er1 >conftest.err
72969   rm -f conftest.er1
72970   cat conftest.err >&5
72971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72972   (exit $ac_status); } &&
72973          { ac_try='test -z "$ac_cxx_werror_flag"
72974                          || test ! -s conftest.err'
72975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72976   (eval $ac_try) 2>&5
72977   ac_status=$?
72978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979   (exit $ac_status); }; } &&
72980          { ac_try='test -s conftest.$ac_objext'
72981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72982   (eval $ac_try) 2>&5
72983   ac_status=$?
72984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72985   (exit $ac_status); }; }; then
72986   glibcxx_cv_func__log10f_use=yes
72987 else
72988   echo "$as_me: failed program was:" >&5
72989 sed 's/^/| /' conftest.$ac_ext >&5
72990
72991 glibcxx_cv_func__log10f_use=no
72992 fi
72993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72994       ac_ext=c
72995 ac_cpp='$CPP $CPPFLAGS'
72996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72999
73000
73001 fi
73002
73003   fi
73004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
73005 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
73006
73007     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73008
73009 for ac_func in _log10f
73010 do
73011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73012 echo "$as_me:$LINENO: checking for $ac_func" >&5
73013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73014 if eval "test \"\${$as_ac_var+set}\" = set"; then
73015   echo $ECHO_N "(cached) $ECHO_C" >&6
73016 else
73017   if test x$gcc_no_link = xyes; then
73018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73020    { (exit 1); exit 1; }; }
73021 fi
73022 cat >conftest.$ac_ext <<_ACEOF
73023 /* confdefs.h.  */
73024 _ACEOF
73025 cat confdefs.h >>conftest.$ac_ext
73026 cat >>conftest.$ac_ext <<_ACEOF
73027 /* end confdefs.h.  */
73028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73030 #define $ac_func innocuous_$ac_func
73031
73032 /* System header to define __stub macros and hopefully few prototypes,
73033     which can conflict with char $ac_func (); below.
73034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73035     <limits.h> exists even on freestanding compilers.  */
73036
73037 #ifdef __STDC__
73038 # include <limits.h>
73039 #else
73040 # include <assert.h>
73041 #endif
73042
73043 #undef $ac_func
73044
73045 /* Override any gcc2 internal prototype to avoid an error.  */
73046 #ifdef __cplusplus
73047 extern "C"
73048 {
73049 #endif
73050 /* We use char because int might match the return type of a gcc2
73051    builtin and then its argument prototype would still apply.  */
73052 char $ac_func ();
73053 /* The GNU C library defines this for functions which it implements
73054     to always fail with ENOSYS.  Some functions are actually named
73055     something starting with __ and the normal name is an alias.  */
73056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73057 choke me
73058 #else
73059 char (*f) () = $ac_func;
73060 #endif
73061 #ifdef __cplusplus
73062 }
73063 #endif
73064
73065 int
73066 main ()
73067 {
73068 return f != $ac_func;
73069   ;
73070   return 0;
73071 }
73072 _ACEOF
73073 rm -f conftest.$ac_objext conftest$ac_exeext
73074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73075   (eval $ac_link) 2>conftest.er1
73076   ac_status=$?
73077   grep -v '^ *+' conftest.er1 >conftest.err
73078   rm -f conftest.er1
73079   cat conftest.err >&5
73080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73081   (exit $ac_status); } &&
73082          { ac_try='test -z "$ac_c_werror_flag"
73083                          || test ! -s conftest.err'
73084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73085   (eval $ac_try) 2>&5
73086   ac_status=$?
73087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73088   (exit $ac_status); }; } &&
73089          { ac_try='test -s conftest$ac_exeext'
73090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73091   (eval $ac_try) 2>&5
73092   ac_status=$?
73093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73094   (exit $ac_status); }; }; then
73095   eval "$as_ac_var=yes"
73096 else
73097   echo "$as_me: failed program was:" >&5
73098 sed 's/^/| /' conftest.$ac_ext >&5
73099
73100 eval "$as_ac_var=no"
73101 fi
73102 rm -f conftest.err conftest.$ac_objext \
73103       conftest$ac_exeext conftest.$ac_ext
73104 fi
73105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73107 if test `eval echo '${'$as_ac_var'}'` = yes; then
73108   cat >>confdefs.h <<_ACEOF
73109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73110 _ACEOF
73111
73112 fi
73113 done
73114
73115     fi
73116   fi
73117
73118
73119
73120
73121
73122
73123   echo "$as_me:$LINENO: checking for modff declaration" >&5
73124 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73125   if test x${glibcxx_cv_func_modff_use+set} != xset; then
73126     if test "${glibcxx_cv_func_modff_use+set}" = set; then
73127   echo $ECHO_N "(cached) $ECHO_C" >&6
73128 else
73129
73130
73131
73132       ac_ext=cc
73133 ac_cpp='$CXXCPP $CPPFLAGS'
73134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73137
73138       cat >conftest.$ac_ext <<_ACEOF
73139 /* confdefs.h.  */
73140 _ACEOF
73141 cat confdefs.h >>conftest.$ac_ext
73142 cat >>conftest.$ac_ext <<_ACEOF
73143 /* end confdefs.h.  */
73144 #include <math.h>
73145 int
73146 main ()
73147 {
73148  modff(0, 0);
73149   ;
73150   return 0;
73151 }
73152 _ACEOF
73153 rm -f conftest.$ac_objext
73154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73155   (eval $ac_compile) 2>conftest.er1
73156   ac_status=$?
73157   grep -v '^ *+' conftest.er1 >conftest.err
73158   rm -f conftest.er1
73159   cat conftest.err >&5
73160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73161   (exit $ac_status); } &&
73162          { ac_try='test -z "$ac_cxx_werror_flag"
73163                          || test ! -s conftest.err'
73164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73165   (eval $ac_try) 2>&5
73166   ac_status=$?
73167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73168   (exit $ac_status); }; } &&
73169          { ac_try='test -s conftest.$ac_objext'
73170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73171   (eval $ac_try) 2>&5
73172   ac_status=$?
73173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73174   (exit $ac_status); }; }; then
73175   glibcxx_cv_func_modff_use=yes
73176 else
73177   echo "$as_me: failed program was:" >&5
73178 sed 's/^/| /' conftest.$ac_ext >&5
73179
73180 glibcxx_cv_func_modff_use=no
73181 fi
73182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73183       ac_ext=c
73184 ac_cpp='$CPP $CPPFLAGS'
73185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73188
73189
73190 fi
73191
73192   fi
73193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73194 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73195
73196   if test x$glibcxx_cv_func_modff_use = x"yes"; then
73197
73198 for ac_func in modff
73199 do
73200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73201 echo "$as_me:$LINENO: checking for $ac_func" >&5
73202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73203 if eval "test \"\${$as_ac_var+set}\" = set"; then
73204   echo $ECHO_N "(cached) $ECHO_C" >&6
73205 else
73206   if test x$gcc_no_link = xyes; then
73207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73209    { (exit 1); exit 1; }; }
73210 fi
73211 cat >conftest.$ac_ext <<_ACEOF
73212 /* confdefs.h.  */
73213 _ACEOF
73214 cat confdefs.h >>conftest.$ac_ext
73215 cat >>conftest.$ac_ext <<_ACEOF
73216 /* end confdefs.h.  */
73217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73219 #define $ac_func innocuous_$ac_func
73220
73221 /* System header to define __stub macros and hopefully few prototypes,
73222     which can conflict with char $ac_func (); below.
73223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73224     <limits.h> exists even on freestanding compilers.  */
73225
73226 #ifdef __STDC__
73227 # include <limits.h>
73228 #else
73229 # include <assert.h>
73230 #endif
73231
73232 #undef $ac_func
73233
73234 /* Override any gcc2 internal prototype to avoid an error.  */
73235 #ifdef __cplusplus
73236 extern "C"
73237 {
73238 #endif
73239 /* We use char because int might match the return type of a gcc2
73240    builtin and then its argument prototype would still apply.  */
73241 char $ac_func ();
73242 /* The GNU C library defines this for functions which it implements
73243     to always fail with ENOSYS.  Some functions are actually named
73244     something starting with __ and the normal name is an alias.  */
73245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73246 choke me
73247 #else
73248 char (*f) () = $ac_func;
73249 #endif
73250 #ifdef __cplusplus
73251 }
73252 #endif
73253
73254 int
73255 main ()
73256 {
73257 return f != $ac_func;
73258   ;
73259   return 0;
73260 }
73261 _ACEOF
73262 rm -f conftest.$ac_objext conftest$ac_exeext
73263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73264   (eval $ac_link) 2>conftest.er1
73265   ac_status=$?
73266   grep -v '^ *+' conftest.er1 >conftest.err
73267   rm -f conftest.er1
73268   cat conftest.err >&5
73269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73270   (exit $ac_status); } &&
73271          { ac_try='test -z "$ac_c_werror_flag"
73272                          || test ! -s conftest.err'
73273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73274   (eval $ac_try) 2>&5
73275   ac_status=$?
73276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73277   (exit $ac_status); }; } &&
73278          { ac_try='test -s conftest$ac_exeext'
73279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73280   (eval $ac_try) 2>&5
73281   ac_status=$?
73282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73283   (exit $ac_status); }; }; then
73284   eval "$as_ac_var=yes"
73285 else
73286   echo "$as_me: failed program was:" >&5
73287 sed 's/^/| /' conftest.$ac_ext >&5
73288
73289 eval "$as_ac_var=no"
73290 fi
73291 rm -f conftest.err conftest.$ac_objext \
73292       conftest$ac_exeext conftest.$ac_ext
73293 fi
73294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73296 if test `eval echo '${'$as_ac_var'}'` = yes; then
73297   cat >>confdefs.h <<_ACEOF
73298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73299 _ACEOF
73300
73301 fi
73302 done
73303
73304   else
73305
73306   echo "$as_me:$LINENO: checking for _modff declaration" >&5
73307 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
73308   if test x${glibcxx_cv_func__modff_use+set} != xset; then
73309     if test "${glibcxx_cv_func__modff_use+set}" = set; then
73310   echo $ECHO_N "(cached) $ECHO_C" >&6
73311 else
73312
73313
73314
73315       ac_ext=cc
73316 ac_cpp='$CXXCPP $CPPFLAGS'
73317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73320
73321       cat >conftest.$ac_ext <<_ACEOF
73322 /* confdefs.h.  */
73323 _ACEOF
73324 cat confdefs.h >>conftest.$ac_ext
73325 cat >>conftest.$ac_ext <<_ACEOF
73326 /* end confdefs.h.  */
73327 #include <math.h>
73328 int
73329 main ()
73330 {
73331  _modff(0, 0);
73332   ;
73333   return 0;
73334 }
73335 _ACEOF
73336 rm -f conftest.$ac_objext
73337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73338   (eval $ac_compile) 2>conftest.er1
73339   ac_status=$?
73340   grep -v '^ *+' conftest.er1 >conftest.err
73341   rm -f conftest.er1
73342   cat conftest.err >&5
73343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73344   (exit $ac_status); } &&
73345          { ac_try='test -z "$ac_cxx_werror_flag"
73346                          || test ! -s conftest.err'
73347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73348   (eval $ac_try) 2>&5
73349   ac_status=$?
73350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73351   (exit $ac_status); }; } &&
73352          { ac_try='test -s conftest.$ac_objext'
73353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73354   (eval $ac_try) 2>&5
73355   ac_status=$?
73356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73357   (exit $ac_status); }; }; then
73358   glibcxx_cv_func__modff_use=yes
73359 else
73360   echo "$as_me: failed program was:" >&5
73361 sed 's/^/| /' conftest.$ac_ext >&5
73362
73363 glibcxx_cv_func__modff_use=no
73364 fi
73365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73366       ac_ext=c
73367 ac_cpp='$CPP $CPPFLAGS'
73368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73371
73372
73373 fi
73374
73375   fi
73376   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73377 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73378
73379     if test x$glibcxx_cv_func__modff_use = x"yes"; then
73380
73381 for ac_func in _modff
73382 do
73383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73384 echo "$as_me:$LINENO: checking for $ac_func" >&5
73385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73386 if eval "test \"\${$as_ac_var+set}\" = set"; then
73387   echo $ECHO_N "(cached) $ECHO_C" >&6
73388 else
73389   if test x$gcc_no_link = xyes; then
73390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73392    { (exit 1); exit 1; }; }
73393 fi
73394 cat >conftest.$ac_ext <<_ACEOF
73395 /* confdefs.h.  */
73396 _ACEOF
73397 cat confdefs.h >>conftest.$ac_ext
73398 cat >>conftest.$ac_ext <<_ACEOF
73399 /* end confdefs.h.  */
73400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73402 #define $ac_func innocuous_$ac_func
73403
73404 /* System header to define __stub macros and hopefully few prototypes,
73405     which can conflict with char $ac_func (); below.
73406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73407     <limits.h> exists even on freestanding compilers.  */
73408
73409 #ifdef __STDC__
73410 # include <limits.h>
73411 #else
73412 # include <assert.h>
73413 #endif
73414
73415 #undef $ac_func
73416
73417 /* Override any gcc2 internal prototype to avoid an error.  */
73418 #ifdef __cplusplus
73419 extern "C"
73420 {
73421 #endif
73422 /* We use char because int might match the return type of a gcc2
73423    builtin and then its argument prototype would still apply.  */
73424 char $ac_func ();
73425 /* The GNU C library defines this for functions which it implements
73426     to always fail with ENOSYS.  Some functions are actually named
73427     something starting with __ and the normal name is an alias.  */
73428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73429 choke me
73430 #else
73431 char (*f) () = $ac_func;
73432 #endif
73433 #ifdef __cplusplus
73434 }
73435 #endif
73436
73437 int
73438 main ()
73439 {
73440 return f != $ac_func;
73441   ;
73442   return 0;
73443 }
73444 _ACEOF
73445 rm -f conftest.$ac_objext conftest$ac_exeext
73446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73447   (eval $ac_link) 2>conftest.er1
73448   ac_status=$?
73449   grep -v '^ *+' conftest.er1 >conftest.err
73450   rm -f conftest.er1
73451   cat conftest.err >&5
73452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73453   (exit $ac_status); } &&
73454          { ac_try='test -z "$ac_c_werror_flag"
73455                          || test ! -s conftest.err'
73456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73457   (eval $ac_try) 2>&5
73458   ac_status=$?
73459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73460   (exit $ac_status); }; } &&
73461          { ac_try='test -s conftest$ac_exeext'
73462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73463   (eval $ac_try) 2>&5
73464   ac_status=$?
73465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73466   (exit $ac_status); }; }; then
73467   eval "$as_ac_var=yes"
73468 else
73469   echo "$as_me: failed program was:" >&5
73470 sed 's/^/| /' conftest.$ac_ext >&5
73471
73472 eval "$as_ac_var=no"
73473 fi
73474 rm -f conftest.err conftest.$ac_objext \
73475       conftest$ac_exeext conftest.$ac_ext
73476 fi
73477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73479 if test `eval echo '${'$as_ac_var'}'` = yes; then
73480   cat >>confdefs.h <<_ACEOF
73481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73482 _ACEOF
73483
73484 fi
73485 done
73486
73487     fi
73488   fi
73489
73490
73491
73492
73493
73494
73495   echo "$as_me:$LINENO: checking for modf declaration" >&5
73496 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73497   if test x${glibcxx_cv_func_modf_use+set} != xset; then
73498     if test "${glibcxx_cv_func_modf_use+set}" = set; then
73499   echo $ECHO_N "(cached) $ECHO_C" >&6
73500 else
73501
73502
73503
73504       ac_ext=cc
73505 ac_cpp='$CXXCPP $CPPFLAGS'
73506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73509
73510       cat >conftest.$ac_ext <<_ACEOF
73511 /* confdefs.h.  */
73512 _ACEOF
73513 cat confdefs.h >>conftest.$ac_ext
73514 cat >>conftest.$ac_ext <<_ACEOF
73515 /* end confdefs.h.  */
73516 #include <math.h>
73517 int
73518 main ()
73519 {
73520  modf(0, 0);
73521   ;
73522   return 0;
73523 }
73524 _ACEOF
73525 rm -f conftest.$ac_objext
73526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73527   (eval $ac_compile) 2>conftest.er1
73528   ac_status=$?
73529   grep -v '^ *+' conftest.er1 >conftest.err
73530   rm -f conftest.er1
73531   cat conftest.err >&5
73532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73533   (exit $ac_status); } &&
73534          { ac_try='test -z "$ac_cxx_werror_flag"
73535                          || test ! -s conftest.err'
73536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73537   (eval $ac_try) 2>&5
73538   ac_status=$?
73539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73540   (exit $ac_status); }; } &&
73541          { ac_try='test -s conftest.$ac_objext'
73542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73543   (eval $ac_try) 2>&5
73544   ac_status=$?
73545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73546   (exit $ac_status); }; }; then
73547   glibcxx_cv_func_modf_use=yes
73548 else
73549   echo "$as_me: failed program was:" >&5
73550 sed 's/^/| /' conftest.$ac_ext >&5
73551
73552 glibcxx_cv_func_modf_use=no
73553 fi
73554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73555       ac_ext=c
73556 ac_cpp='$CPP $CPPFLAGS'
73557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73560
73561
73562 fi
73563
73564   fi
73565   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73566 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73567
73568   if test x$glibcxx_cv_func_modf_use = x"yes"; then
73569
73570 for ac_func in modf
73571 do
73572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73573 echo "$as_me:$LINENO: checking for $ac_func" >&5
73574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73575 if eval "test \"\${$as_ac_var+set}\" = set"; then
73576   echo $ECHO_N "(cached) $ECHO_C" >&6
73577 else
73578   if test x$gcc_no_link = xyes; then
73579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73581    { (exit 1); exit 1; }; }
73582 fi
73583 cat >conftest.$ac_ext <<_ACEOF
73584 /* confdefs.h.  */
73585 _ACEOF
73586 cat confdefs.h >>conftest.$ac_ext
73587 cat >>conftest.$ac_ext <<_ACEOF
73588 /* end confdefs.h.  */
73589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73591 #define $ac_func innocuous_$ac_func
73592
73593 /* System header to define __stub macros and hopefully few prototypes,
73594     which can conflict with char $ac_func (); below.
73595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73596     <limits.h> exists even on freestanding compilers.  */
73597
73598 #ifdef __STDC__
73599 # include <limits.h>
73600 #else
73601 # include <assert.h>
73602 #endif
73603
73604 #undef $ac_func
73605
73606 /* Override any gcc2 internal prototype to avoid an error.  */
73607 #ifdef __cplusplus
73608 extern "C"
73609 {
73610 #endif
73611 /* We use char because int might match the return type of a gcc2
73612    builtin and then its argument prototype would still apply.  */
73613 char $ac_func ();
73614 /* The GNU C library defines this for functions which it implements
73615     to always fail with ENOSYS.  Some functions are actually named
73616     something starting with __ and the normal name is an alias.  */
73617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73618 choke me
73619 #else
73620 char (*f) () = $ac_func;
73621 #endif
73622 #ifdef __cplusplus
73623 }
73624 #endif
73625
73626 int
73627 main ()
73628 {
73629 return f != $ac_func;
73630   ;
73631   return 0;
73632 }
73633 _ACEOF
73634 rm -f conftest.$ac_objext conftest$ac_exeext
73635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73636   (eval $ac_link) 2>conftest.er1
73637   ac_status=$?
73638   grep -v '^ *+' conftest.er1 >conftest.err
73639   rm -f conftest.er1
73640   cat conftest.err >&5
73641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73642   (exit $ac_status); } &&
73643          { ac_try='test -z "$ac_c_werror_flag"
73644                          || test ! -s conftest.err'
73645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73646   (eval $ac_try) 2>&5
73647   ac_status=$?
73648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73649   (exit $ac_status); }; } &&
73650          { ac_try='test -s conftest$ac_exeext'
73651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73652   (eval $ac_try) 2>&5
73653   ac_status=$?
73654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73655   (exit $ac_status); }; }; then
73656   eval "$as_ac_var=yes"
73657 else
73658   echo "$as_me: failed program was:" >&5
73659 sed 's/^/| /' conftest.$ac_ext >&5
73660
73661 eval "$as_ac_var=no"
73662 fi
73663 rm -f conftest.err conftest.$ac_objext \
73664       conftest$ac_exeext conftest.$ac_ext
73665 fi
73666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73668 if test `eval echo '${'$as_ac_var'}'` = yes; then
73669   cat >>confdefs.h <<_ACEOF
73670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73671 _ACEOF
73672
73673 fi
73674 done
73675
73676   else
73677
73678   echo "$as_me:$LINENO: checking for _modf declaration" >&5
73679 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73680   if test x${glibcxx_cv_func__modf_use+set} != xset; then
73681     if test "${glibcxx_cv_func__modf_use+set}" = set; then
73682   echo $ECHO_N "(cached) $ECHO_C" >&6
73683 else
73684
73685
73686
73687       ac_ext=cc
73688 ac_cpp='$CXXCPP $CPPFLAGS'
73689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73692
73693       cat >conftest.$ac_ext <<_ACEOF
73694 /* confdefs.h.  */
73695 _ACEOF
73696 cat confdefs.h >>conftest.$ac_ext
73697 cat >>conftest.$ac_ext <<_ACEOF
73698 /* end confdefs.h.  */
73699 #include <math.h>
73700 int
73701 main ()
73702 {
73703  _modf(0, 0);
73704   ;
73705   return 0;
73706 }
73707 _ACEOF
73708 rm -f conftest.$ac_objext
73709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73710   (eval $ac_compile) 2>conftest.er1
73711   ac_status=$?
73712   grep -v '^ *+' conftest.er1 >conftest.err
73713   rm -f conftest.er1
73714   cat conftest.err >&5
73715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73716   (exit $ac_status); } &&
73717          { ac_try='test -z "$ac_cxx_werror_flag"
73718                          || test ! -s conftest.err'
73719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73720   (eval $ac_try) 2>&5
73721   ac_status=$?
73722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73723   (exit $ac_status); }; } &&
73724          { ac_try='test -s conftest.$ac_objext'
73725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73726   (eval $ac_try) 2>&5
73727   ac_status=$?
73728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73729   (exit $ac_status); }; }; then
73730   glibcxx_cv_func__modf_use=yes
73731 else
73732   echo "$as_me: failed program was:" >&5
73733 sed 's/^/| /' conftest.$ac_ext >&5
73734
73735 glibcxx_cv_func__modf_use=no
73736 fi
73737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73738       ac_ext=c
73739 ac_cpp='$CPP $CPPFLAGS'
73740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73743
73744
73745 fi
73746
73747   fi
73748   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73749 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73750
73751     if test x$glibcxx_cv_func__modf_use = x"yes"; then
73752
73753 for ac_func in _modf
73754 do
73755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73756 echo "$as_me:$LINENO: checking for $ac_func" >&5
73757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73758 if eval "test \"\${$as_ac_var+set}\" = set"; then
73759   echo $ECHO_N "(cached) $ECHO_C" >&6
73760 else
73761   if test x$gcc_no_link = xyes; then
73762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73764    { (exit 1); exit 1; }; }
73765 fi
73766 cat >conftest.$ac_ext <<_ACEOF
73767 /* confdefs.h.  */
73768 _ACEOF
73769 cat confdefs.h >>conftest.$ac_ext
73770 cat >>conftest.$ac_ext <<_ACEOF
73771 /* end confdefs.h.  */
73772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73774 #define $ac_func innocuous_$ac_func
73775
73776 /* System header to define __stub macros and hopefully few prototypes,
73777     which can conflict with char $ac_func (); below.
73778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73779     <limits.h> exists even on freestanding compilers.  */
73780
73781 #ifdef __STDC__
73782 # include <limits.h>
73783 #else
73784 # include <assert.h>
73785 #endif
73786
73787 #undef $ac_func
73788
73789 /* Override any gcc2 internal prototype to avoid an error.  */
73790 #ifdef __cplusplus
73791 extern "C"
73792 {
73793 #endif
73794 /* We use char because int might match the return type of a gcc2
73795    builtin and then its argument prototype would still apply.  */
73796 char $ac_func ();
73797 /* The GNU C library defines this for functions which it implements
73798     to always fail with ENOSYS.  Some functions are actually named
73799     something starting with __ and the normal name is an alias.  */
73800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73801 choke me
73802 #else
73803 char (*f) () = $ac_func;
73804 #endif
73805 #ifdef __cplusplus
73806 }
73807 #endif
73808
73809 int
73810 main ()
73811 {
73812 return f != $ac_func;
73813   ;
73814   return 0;
73815 }
73816 _ACEOF
73817 rm -f conftest.$ac_objext conftest$ac_exeext
73818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73819   (eval $ac_link) 2>conftest.er1
73820   ac_status=$?
73821   grep -v '^ *+' conftest.er1 >conftest.err
73822   rm -f conftest.er1
73823   cat conftest.err >&5
73824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73825   (exit $ac_status); } &&
73826          { ac_try='test -z "$ac_c_werror_flag"
73827                          || test ! -s conftest.err'
73828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73829   (eval $ac_try) 2>&5
73830   ac_status=$?
73831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73832   (exit $ac_status); }; } &&
73833          { ac_try='test -s conftest$ac_exeext'
73834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73835   (eval $ac_try) 2>&5
73836   ac_status=$?
73837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73838   (exit $ac_status); }; }; then
73839   eval "$as_ac_var=yes"
73840 else
73841   echo "$as_me: failed program was:" >&5
73842 sed 's/^/| /' conftest.$ac_ext >&5
73843
73844 eval "$as_ac_var=no"
73845 fi
73846 rm -f conftest.err conftest.$ac_objext \
73847       conftest$ac_exeext conftest.$ac_ext
73848 fi
73849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73851 if test `eval echo '${'$as_ac_var'}'` = yes; then
73852   cat >>confdefs.h <<_ACEOF
73853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73854 _ACEOF
73855
73856 fi
73857 done
73858
73859     fi
73860   fi
73861
73862
73863
73864
73865
73866
73867   echo "$as_me:$LINENO: checking for powf declaration" >&5
73868 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
73869   if test x${glibcxx_cv_func_powf_use+set} != xset; then
73870     if test "${glibcxx_cv_func_powf_use+set}" = set; then
73871   echo $ECHO_N "(cached) $ECHO_C" >&6
73872 else
73873
73874
73875
73876       ac_ext=cc
73877 ac_cpp='$CXXCPP $CPPFLAGS'
73878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73881
73882       cat >conftest.$ac_ext <<_ACEOF
73883 /* confdefs.h.  */
73884 _ACEOF
73885 cat confdefs.h >>conftest.$ac_ext
73886 cat >>conftest.$ac_ext <<_ACEOF
73887 /* end confdefs.h.  */
73888 #include <math.h>
73889 int
73890 main ()
73891 {
73892  powf(0, 0);
73893   ;
73894   return 0;
73895 }
73896 _ACEOF
73897 rm -f conftest.$ac_objext
73898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73899   (eval $ac_compile) 2>conftest.er1
73900   ac_status=$?
73901   grep -v '^ *+' conftest.er1 >conftest.err
73902   rm -f conftest.er1
73903   cat conftest.err >&5
73904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905   (exit $ac_status); } &&
73906          { ac_try='test -z "$ac_cxx_werror_flag"
73907                          || test ! -s conftest.err'
73908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73909   (eval $ac_try) 2>&5
73910   ac_status=$?
73911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73912   (exit $ac_status); }; } &&
73913          { ac_try='test -s conftest.$ac_objext'
73914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73915   (eval $ac_try) 2>&5
73916   ac_status=$?
73917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73918   (exit $ac_status); }; }; then
73919   glibcxx_cv_func_powf_use=yes
73920 else
73921   echo "$as_me: failed program was:" >&5
73922 sed 's/^/| /' conftest.$ac_ext >&5
73923
73924 glibcxx_cv_func_powf_use=no
73925 fi
73926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73927       ac_ext=c
73928 ac_cpp='$CPP $CPPFLAGS'
73929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73932
73933
73934 fi
73935
73936   fi
73937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73938 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73939
73940   if test x$glibcxx_cv_func_powf_use = x"yes"; then
73941
73942 for ac_func in powf
73943 do
73944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73945 echo "$as_me:$LINENO: checking for $ac_func" >&5
73946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73947 if eval "test \"\${$as_ac_var+set}\" = set"; then
73948   echo $ECHO_N "(cached) $ECHO_C" >&6
73949 else
73950   if test x$gcc_no_link = xyes; then
73951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73953    { (exit 1); exit 1; }; }
73954 fi
73955 cat >conftest.$ac_ext <<_ACEOF
73956 /* confdefs.h.  */
73957 _ACEOF
73958 cat confdefs.h >>conftest.$ac_ext
73959 cat >>conftest.$ac_ext <<_ACEOF
73960 /* end confdefs.h.  */
73961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73963 #define $ac_func innocuous_$ac_func
73964
73965 /* System header to define __stub macros and hopefully few prototypes,
73966     which can conflict with char $ac_func (); below.
73967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73968     <limits.h> exists even on freestanding compilers.  */
73969
73970 #ifdef __STDC__
73971 # include <limits.h>
73972 #else
73973 # include <assert.h>
73974 #endif
73975
73976 #undef $ac_func
73977
73978 /* Override any gcc2 internal prototype to avoid an error.  */
73979 #ifdef __cplusplus
73980 extern "C"
73981 {
73982 #endif
73983 /* We use char because int might match the return type of a gcc2
73984    builtin and then its argument prototype would still apply.  */
73985 char $ac_func ();
73986 /* The GNU C library defines this for functions which it implements
73987     to always fail with ENOSYS.  Some functions are actually named
73988     something starting with __ and the normal name is an alias.  */
73989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73990 choke me
73991 #else
73992 char (*f) () = $ac_func;
73993 #endif
73994 #ifdef __cplusplus
73995 }
73996 #endif
73997
73998 int
73999 main ()
74000 {
74001 return f != $ac_func;
74002   ;
74003   return 0;
74004 }
74005 _ACEOF
74006 rm -f conftest.$ac_objext conftest$ac_exeext
74007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74008   (eval $ac_link) 2>conftest.er1
74009   ac_status=$?
74010   grep -v '^ *+' conftest.er1 >conftest.err
74011   rm -f conftest.er1
74012   cat conftest.err >&5
74013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014   (exit $ac_status); } &&
74015          { ac_try='test -z "$ac_c_werror_flag"
74016                          || test ! -s conftest.err'
74017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74018   (eval $ac_try) 2>&5
74019   ac_status=$?
74020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74021   (exit $ac_status); }; } &&
74022          { ac_try='test -s conftest$ac_exeext'
74023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74024   (eval $ac_try) 2>&5
74025   ac_status=$?
74026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74027   (exit $ac_status); }; }; then
74028   eval "$as_ac_var=yes"
74029 else
74030   echo "$as_me: failed program was:" >&5
74031 sed 's/^/| /' conftest.$ac_ext >&5
74032
74033 eval "$as_ac_var=no"
74034 fi
74035 rm -f conftest.err conftest.$ac_objext \
74036       conftest$ac_exeext conftest.$ac_ext
74037 fi
74038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74040 if test `eval echo '${'$as_ac_var'}'` = yes; then
74041   cat >>confdefs.h <<_ACEOF
74042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74043 _ACEOF
74044
74045 fi
74046 done
74047
74048   else
74049
74050   echo "$as_me:$LINENO: checking for _powf declaration" >&5
74051 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
74052   if test x${glibcxx_cv_func__powf_use+set} != xset; then
74053     if test "${glibcxx_cv_func__powf_use+set}" = set; then
74054   echo $ECHO_N "(cached) $ECHO_C" >&6
74055 else
74056
74057
74058
74059       ac_ext=cc
74060 ac_cpp='$CXXCPP $CPPFLAGS'
74061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74064
74065       cat >conftest.$ac_ext <<_ACEOF
74066 /* confdefs.h.  */
74067 _ACEOF
74068 cat confdefs.h >>conftest.$ac_ext
74069 cat >>conftest.$ac_ext <<_ACEOF
74070 /* end confdefs.h.  */
74071 #include <math.h>
74072 int
74073 main ()
74074 {
74075  _powf(0, 0);
74076   ;
74077   return 0;
74078 }
74079 _ACEOF
74080 rm -f conftest.$ac_objext
74081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74082   (eval $ac_compile) 2>conftest.er1
74083   ac_status=$?
74084   grep -v '^ *+' conftest.er1 >conftest.err
74085   rm -f conftest.er1
74086   cat conftest.err >&5
74087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74088   (exit $ac_status); } &&
74089          { ac_try='test -z "$ac_cxx_werror_flag"
74090                          || test ! -s conftest.err'
74091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74092   (eval $ac_try) 2>&5
74093   ac_status=$?
74094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74095   (exit $ac_status); }; } &&
74096          { ac_try='test -s conftest.$ac_objext'
74097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74098   (eval $ac_try) 2>&5
74099   ac_status=$?
74100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74101   (exit $ac_status); }; }; then
74102   glibcxx_cv_func__powf_use=yes
74103 else
74104   echo "$as_me: failed program was:" >&5
74105 sed 's/^/| /' conftest.$ac_ext >&5
74106
74107 glibcxx_cv_func__powf_use=no
74108 fi
74109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74110       ac_ext=c
74111 ac_cpp='$CPP $CPPFLAGS'
74112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74115
74116
74117 fi
74118
74119   fi
74120   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74121 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74122
74123     if test x$glibcxx_cv_func__powf_use = x"yes"; then
74124
74125 for ac_func in _powf
74126 do
74127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74128 echo "$as_me:$LINENO: checking for $ac_func" >&5
74129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74130 if eval "test \"\${$as_ac_var+set}\" = set"; then
74131   echo $ECHO_N "(cached) $ECHO_C" >&6
74132 else
74133   if test x$gcc_no_link = xyes; then
74134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74136    { (exit 1); exit 1; }; }
74137 fi
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h.  */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h.  */
74144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74146 #define $ac_func innocuous_$ac_func
74147
74148 /* System header to define __stub macros and hopefully few prototypes,
74149     which can conflict with char $ac_func (); below.
74150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74151     <limits.h> exists even on freestanding compilers.  */
74152
74153 #ifdef __STDC__
74154 # include <limits.h>
74155 #else
74156 # include <assert.h>
74157 #endif
74158
74159 #undef $ac_func
74160
74161 /* Override any gcc2 internal prototype to avoid an error.  */
74162 #ifdef __cplusplus
74163 extern "C"
74164 {
74165 #endif
74166 /* We use char because int might match the return type of a gcc2
74167    builtin and then its argument prototype would still apply.  */
74168 char $ac_func ();
74169 /* The GNU C library defines this for functions which it implements
74170     to always fail with ENOSYS.  Some functions are actually named
74171     something starting with __ and the normal name is an alias.  */
74172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74173 choke me
74174 #else
74175 char (*f) () = $ac_func;
74176 #endif
74177 #ifdef __cplusplus
74178 }
74179 #endif
74180
74181 int
74182 main ()
74183 {
74184 return f != $ac_func;
74185   ;
74186   return 0;
74187 }
74188 _ACEOF
74189 rm -f conftest.$ac_objext conftest$ac_exeext
74190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74191   (eval $ac_link) 2>conftest.er1
74192   ac_status=$?
74193   grep -v '^ *+' conftest.er1 >conftest.err
74194   rm -f conftest.er1
74195   cat conftest.err >&5
74196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197   (exit $ac_status); } &&
74198          { ac_try='test -z "$ac_c_werror_flag"
74199                          || test ! -s conftest.err'
74200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74201   (eval $ac_try) 2>&5
74202   ac_status=$?
74203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74204   (exit $ac_status); }; } &&
74205          { ac_try='test -s conftest$ac_exeext'
74206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207   (eval $ac_try) 2>&5
74208   ac_status=$?
74209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210   (exit $ac_status); }; }; then
74211   eval "$as_ac_var=yes"
74212 else
74213   echo "$as_me: failed program was:" >&5
74214 sed 's/^/| /' conftest.$ac_ext >&5
74215
74216 eval "$as_ac_var=no"
74217 fi
74218 rm -f conftest.err conftest.$ac_objext \
74219       conftest$ac_exeext conftest.$ac_ext
74220 fi
74221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74223 if test `eval echo '${'$as_ac_var'}'` = yes; then
74224   cat >>confdefs.h <<_ACEOF
74225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74226 _ACEOF
74227
74228 fi
74229 done
74230
74231     fi
74232   fi
74233
74234
74235
74236
74237
74238
74239   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
74240 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
74241   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74242     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
74243   echo $ECHO_N "(cached) $ECHO_C" >&6
74244 else
74245
74246
74247
74248       ac_ext=cc
74249 ac_cpp='$CXXCPP $CPPFLAGS'
74250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74253
74254       cat >conftest.$ac_ext <<_ACEOF
74255 /* confdefs.h.  */
74256 _ACEOF
74257 cat confdefs.h >>conftest.$ac_ext
74258 cat >>conftest.$ac_ext <<_ACEOF
74259 /* end confdefs.h.  */
74260 #include <math.h>
74261                       #ifdef HAVE_IEEEFP_H
74262                       #include <ieeefp.h>
74263                       #endif
74264
74265 int
74266 main ()
74267 {
74268  sqrtf(0);
74269   ;
74270   return 0;
74271 }
74272 _ACEOF
74273 rm -f conftest.$ac_objext
74274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74275   (eval $ac_compile) 2>conftest.er1
74276   ac_status=$?
74277   grep -v '^ *+' conftest.er1 >conftest.err
74278   rm -f conftest.er1
74279   cat conftest.err >&5
74280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74281   (exit $ac_status); } &&
74282          { ac_try='test -z "$ac_cxx_werror_flag"
74283                          || test ! -s conftest.err'
74284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74285   (eval $ac_try) 2>&5
74286   ac_status=$?
74287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74288   (exit $ac_status); }; } &&
74289          { ac_try='test -s conftest.$ac_objext'
74290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74291   (eval $ac_try) 2>&5
74292   ac_status=$?
74293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74294   (exit $ac_status); }; }; then
74295   glibcxx_cv_func_sqrtf_use=yes
74296 else
74297   echo "$as_me: failed program was:" >&5
74298 sed 's/^/| /' conftest.$ac_ext >&5
74299
74300 glibcxx_cv_func_sqrtf_use=no
74301 fi
74302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74303       ac_ext=c
74304 ac_cpp='$CPP $CPPFLAGS'
74305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74308
74309
74310 fi
74311
74312   fi
74313   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
74314 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
74315
74316   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74317
74318 for ac_func in sqrtf
74319 do
74320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74321 echo "$as_me:$LINENO: checking for $ac_func" >&5
74322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74323 if eval "test \"\${$as_ac_var+set}\" = set"; then
74324   echo $ECHO_N "(cached) $ECHO_C" >&6
74325 else
74326   if test x$gcc_no_link = xyes; then
74327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74329    { (exit 1); exit 1; }; }
74330 fi
74331 cat >conftest.$ac_ext <<_ACEOF
74332 /* confdefs.h.  */
74333 _ACEOF
74334 cat confdefs.h >>conftest.$ac_ext
74335 cat >>conftest.$ac_ext <<_ACEOF
74336 /* end confdefs.h.  */
74337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74339 #define $ac_func innocuous_$ac_func
74340
74341 /* System header to define __stub macros and hopefully few prototypes,
74342     which can conflict with char $ac_func (); below.
74343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74344     <limits.h> exists even on freestanding compilers.  */
74345
74346 #ifdef __STDC__
74347 # include <limits.h>
74348 #else
74349 # include <assert.h>
74350 #endif
74351
74352 #undef $ac_func
74353
74354 /* Override any gcc2 internal prototype to avoid an error.  */
74355 #ifdef __cplusplus
74356 extern "C"
74357 {
74358 #endif
74359 /* We use char because int might match the return type of a gcc2
74360    builtin and then its argument prototype would still apply.  */
74361 char $ac_func ();
74362 /* The GNU C library defines this for functions which it implements
74363     to always fail with ENOSYS.  Some functions are actually named
74364     something starting with __ and the normal name is an alias.  */
74365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74366 choke me
74367 #else
74368 char (*f) () = $ac_func;
74369 #endif
74370 #ifdef __cplusplus
74371 }
74372 #endif
74373
74374 int
74375 main ()
74376 {
74377 return f != $ac_func;
74378   ;
74379   return 0;
74380 }
74381 _ACEOF
74382 rm -f conftest.$ac_objext conftest$ac_exeext
74383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74384   (eval $ac_link) 2>conftest.er1
74385   ac_status=$?
74386   grep -v '^ *+' conftest.er1 >conftest.err
74387   rm -f conftest.er1
74388   cat conftest.err >&5
74389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74390   (exit $ac_status); } &&
74391          { ac_try='test -z "$ac_c_werror_flag"
74392                          || test ! -s conftest.err'
74393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74394   (eval $ac_try) 2>&5
74395   ac_status=$?
74396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74397   (exit $ac_status); }; } &&
74398          { ac_try='test -s conftest$ac_exeext'
74399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74400   (eval $ac_try) 2>&5
74401   ac_status=$?
74402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74403   (exit $ac_status); }; }; then
74404   eval "$as_ac_var=yes"
74405 else
74406   echo "$as_me: failed program was:" >&5
74407 sed 's/^/| /' conftest.$ac_ext >&5
74408
74409 eval "$as_ac_var=no"
74410 fi
74411 rm -f conftest.err conftest.$ac_objext \
74412       conftest$ac_exeext conftest.$ac_ext
74413 fi
74414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74416 if test `eval echo '${'$as_ac_var'}'` = yes; then
74417   cat >>confdefs.h <<_ACEOF
74418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74419 _ACEOF
74420
74421 fi
74422 done
74423
74424   else
74425
74426   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74427 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74428   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74429     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74430   echo $ECHO_N "(cached) $ECHO_C" >&6
74431 else
74432
74433
74434
74435       ac_ext=cc
74436 ac_cpp='$CXXCPP $CPPFLAGS'
74437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74440
74441       cat >conftest.$ac_ext <<_ACEOF
74442 /* confdefs.h.  */
74443 _ACEOF
74444 cat confdefs.h >>conftest.$ac_ext
74445 cat >>conftest.$ac_ext <<_ACEOF
74446 /* end confdefs.h.  */
74447 #include <math.h>
74448                       #ifdef HAVE_IEEEFP_H
74449                       #include <ieeefp.h>
74450                       #endif
74451
74452 int
74453 main ()
74454 {
74455  _sqrtf(0);
74456   ;
74457   return 0;
74458 }
74459 _ACEOF
74460 rm -f conftest.$ac_objext
74461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74462   (eval $ac_compile) 2>conftest.er1
74463   ac_status=$?
74464   grep -v '^ *+' conftest.er1 >conftest.err
74465   rm -f conftest.er1
74466   cat conftest.err >&5
74467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74468   (exit $ac_status); } &&
74469          { ac_try='test -z "$ac_cxx_werror_flag"
74470                          || test ! -s conftest.err'
74471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74472   (eval $ac_try) 2>&5
74473   ac_status=$?
74474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74475   (exit $ac_status); }; } &&
74476          { ac_try='test -s conftest.$ac_objext'
74477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74478   (eval $ac_try) 2>&5
74479   ac_status=$?
74480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74481   (exit $ac_status); }; }; then
74482   glibcxx_cv_func__sqrtf_use=yes
74483 else
74484   echo "$as_me: failed program was:" >&5
74485 sed 's/^/| /' conftest.$ac_ext >&5
74486
74487 glibcxx_cv_func__sqrtf_use=no
74488 fi
74489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74490       ac_ext=c
74491 ac_cpp='$CPP $CPPFLAGS'
74492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74495
74496
74497 fi
74498
74499   fi
74500   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74501 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74502
74503     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74504
74505 for ac_func in _sqrtf
74506 do
74507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74508 echo "$as_me:$LINENO: checking for $ac_func" >&5
74509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74510 if eval "test \"\${$as_ac_var+set}\" = set"; then
74511   echo $ECHO_N "(cached) $ECHO_C" >&6
74512 else
74513   if test x$gcc_no_link = xyes; then
74514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74516    { (exit 1); exit 1; }; }
74517 fi
74518 cat >conftest.$ac_ext <<_ACEOF
74519 /* confdefs.h.  */
74520 _ACEOF
74521 cat confdefs.h >>conftest.$ac_ext
74522 cat >>conftest.$ac_ext <<_ACEOF
74523 /* end confdefs.h.  */
74524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74526 #define $ac_func innocuous_$ac_func
74527
74528 /* System header to define __stub macros and hopefully few prototypes,
74529     which can conflict with char $ac_func (); below.
74530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74531     <limits.h> exists even on freestanding compilers.  */
74532
74533 #ifdef __STDC__
74534 # include <limits.h>
74535 #else
74536 # include <assert.h>
74537 #endif
74538
74539 #undef $ac_func
74540
74541 /* Override any gcc2 internal prototype to avoid an error.  */
74542 #ifdef __cplusplus
74543 extern "C"
74544 {
74545 #endif
74546 /* We use char because int might match the return type of a gcc2
74547    builtin and then its argument prototype would still apply.  */
74548 char $ac_func ();
74549 /* The GNU C library defines this for functions which it implements
74550     to always fail with ENOSYS.  Some functions are actually named
74551     something starting with __ and the normal name is an alias.  */
74552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74553 choke me
74554 #else
74555 char (*f) () = $ac_func;
74556 #endif
74557 #ifdef __cplusplus
74558 }
74559 #endif
74560
74561 int
74562 main ()
74563 {
74564 return f != $ac_func;
74565   ;
74566   return 0;
74567 }
74568 _ACEOF
74569 rm -f conftest.$ac_objext conftest$ac_exeext
74570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74571   (eval $ac_link) 2>conftest.er1
74572   ac_status=$?
74573   grep -v '^ *+' conftest.er1 >conftest.err
74574   rm -f conftest.er1
74575   cat conftest.err >&5
74576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577   (exit $ac_status); } &&
74578          { ac_try='test -z "$ac_c_werror_flag"
74579                          || test ! -s conftest.err'
74580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74581   (eval $ac_try) 2>&5
74582   ac_status=$?
74583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74584   (exit $ac_status); }; } &&
74585          { ac_try='test -s conftest$ac_exeext'
74586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74587   (eval $ac_try) 2>&5
74588   ac_status=$?
74589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74590   (exit $ac_status); }; }; then
74591   eval "$as_ac_var=yes"
74592 else
74593   echo "$as_me: failed program was:" >&5
74594 sed 's/^/| /' conftest.$ac_ext >&5
74595
74596 eval "$as_ac_var=no"
74597 fi
74598 rm -f conftest.err conftest.$ac_objext \
74599       conftest$ac_exeext conftest.$ac_ext
74600 fi
74601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74603 if test `eval echo '${'$as_ac_var'}'` = yes; then
74604   cat >>confdefs.h <<_ACEOF
74605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74606 _ACEOF
74607
74608 fi
74609 done
74610
74611     fi
74612   fi
74613
74614
74615
74616
74617
74618
74619   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74620 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74621   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74622     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74623   echo $ECHO_N "(cached) $ECHO_C" >&6
74624 else
74625
74626
74627
74628       ac_ext=cc
74629 ac_cpp='$CXXCPP $CPPFLAGS'
74630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74633
74634       cat >conftest.$ac_ext <<_ACEOF
74635 /* confdefs.h.  */
74636 _ACEOF
74637 cat confdefs.h >>conftest.$ac_ext
74638 cat >>conftest.$ac_ext <<_ACEOF
74639 /* end confdefs.h.  */
74640 #include <math.h>
74641 int
74642 main ()
74643 {
74644  sincosf(0, 0, 0);
74645   ;
74646   return 0;
74647 }
74648 _ACEOF
74649 rm -f conftest.$ac_objext
74650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74651   (eval $ac_compile) 2>conftest.er1
74652   ac_status=$?
74653   grep -v '^ *+' conftest.er1 >conftest.err
74654   rm -f conftest.er1
74655   cat conftest.err >&5
74656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74657   (exit $ac_status); } &&
74658          { ac_try='test -z "$ac_cxx_werror_flag"
74659                          || test ! -s conftest.err'
74660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74661   (eval $ac_try) 2>&5
74662   ac_status=$?
74663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74664   (exit $ac_status); }; } &&
74665          { ac_try='test -s conftest.$ac_objext'
74666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74667   (eval $ac_try) 2>&5
74668   ac_status=$?
74669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74670   (exit $ac_status); }; }; then
74671   glibcxx_cv_func_sincosf_use=yes
74672 else
74673   echo "$as_me: failed program was:" >&5
74674 sed 's/^/| /' conftest.$ac_ext >&5
74675
74676 glibcxx_cv_func_sincosf_use=no
74677 fi
74678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74679       ac_ext=c
74680 ac_cpp='$CPP $CPPFLAGS'
74681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74684
74685
74686 fi
74687
74688   fi
74689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74690 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74691
74692   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74693
74694 for ac_func in sincosf
74695 do
74696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74697 echo "$as_me:$LINENO: checking for $ac_func" >&5
74698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74699 if eval "test \"\${$as_ac_var+set}\" = set"; then
74700   echo $ECHO_N "(cached) $ECHO_C" >&6
74701 else
74702   if test x$gcc_no_link = xyes; then
74703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74705    { (exit 1); exit 1; }; }
74706 fi
74707 cat >conftest.$ac_ext <<_ACEOF
74708 /* confdefs.h.  */
74709 _ACEOF
74710 cat confdefs.h >>conftest.$ac_ext
74711 cat >>conftest.$ac_ext <<_ACEOF
74712 /* end confdefs.h.  */
74713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74715 #define $ac_func innocuous_$ac_func
74716
74717 /* System header to define __stub macros and hopefully few prototypes,
74718     which can conflict with char $ac_func (); below.
74719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74720     <limits.h> exists even on freestanding compilers.  */
74721
74722 #ifdef __STDC__
74723 # include <limits.h>
74724 #else
74725 # include <assert.h>
74726 #endif
74727
74728 #undef $ac_func
74729
74730 /* Override any gcc2 internal prototype to avoid an error.  */
74731 #ifdef __cplusplus
74732 extern "C"
74733 {
74734 #endif
74735 /* We use char because int might match the return type of a gcc2
74736    builtin and then its argument prototype would still apply.  */
74737 char $ac_func ();
74738 /* The GNU C library defines this for functions which it implements
74739     to always fail with ENOSYS.  Some functions are actually named
74740     something starting with __ and the normal name is an alias.  */
74741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74742 choke me
74743 #else
74744 char (*f) () = $ac_func;
74745 #endif
74746 #ifdef __cplusplus
74747 }
74748 #endif
74749
74750 int
74751 main ()
74752 {
74753 return f != $ac_func;
74754   ;
74755   return 0;
74756 }
74757 _ACEOF
74758 rm -f conftest.$ac_objext conftest$ac_exeext
74759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74760   (eval $ac_link) 2>conftest.er1
74761   ac_status=$?
74762   grep -v '^ *+' conftest.er1 >conftest.err
74763   rm -f conftest.er1
74764   cat conftest.err >&5
74765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766   (exit $ac_status); } &&
74767          { ac_try='test -z "$ac_c_werror_flag"
74768                          || test ! -s conftest.err'
74769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74770   (eval $ac_try) 2>&5
74771   ac_status=$?
74772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74773   (exit $ac_status); }; } &&
74774          { ac_try='test -s conftest$ac_exeext'
74775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74776   (eval $ac_try) 2>&5
74777   ac_status=$?
74778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779   (exit $ac_status); }; }; then
74780   eval "$as_ac_var=yes"
74781 else
74782   echo "$as_me: failed program was:" >&5
74783 sed 's/^/| /' conftest.$ac_ext >&5
74784
74785 eval "$as_ac_var=no"
74786 fi
74787 rm -f conftest.err conftest.$ac_objext \
74788       conftest$ac_exeext conftest.$ac_ext
74789 fi
74790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74792 if test `eval echo '${'$as_ac_var'}'` = yes; then
74793   cat >>confdefs.h <<_ACEOF
74794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74795 _ACEOF
74796
74797 fi
74798 done
74799
74800   else
74801
74802   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74803 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74804   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74805     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74806   echo $ECHO_N "(cached) $ECHO_C" >&6
74807 else
74808
74809
74810
74811       ac_ext=cc
74812 ac_cpp='$CXXCPP $CPPFLAGS'
74813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74816
74817       cat >conftest.$ac_ext <<_ACEOF
74818 /* confdefs.h.  */
74819 _ACEOF
74820 cat confdefs.h >>conftest.$ac_ext
74821 cat >>conftest.$ac_ext <<_ACEOF
74822 /* end confdefs.h.  */
74823 #include <math.h>
74824 int
74825 main ()
74826 {
74827  _sincosf(0, 0, 0);
74828   ;
74829   return 0;
74830 }
74831 _ACEOF
74832 rm -f conftest.$ac_objext
74833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74834   (eval $ac_compile) 2>conftest.er1
74835   ac_status=$?
74836   grep -v '^ *+' conftest.er1 >conftest.err
74837   rm -f conftest.er1
74838   cat conftest.err >&5
74839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840   (exit $ac_status); } &&
74841          { ac_try='test -z "$ac_cxx_werror_flag"
74842                          || test ! -s conftest.err'
74843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74844   (eval $ac_try) 2>&5
74845   ac_status=$?
74846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74847   (exit $ac_status); }; } &&
74848          { ac_try='test -s conftest.$ac_objext'
74849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74850   (eval $ac_try) 2>&5
74851   ac_status=$?
74852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74853   (exit $ac_status); }; }; then
74854   glibcxx_cv_func__sincosf_use=yes
74855 else
74856   echo "$as_me: failed program was:" >&5
74857 sed 's/^/| /' conftest.$ac_ext >&5
74858
74859 glibcxx_cv_func__sincosf_use=no
74860 fi
74861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74862       ac_ext=c
74863 ac_cpp='$CPP $CPPFLAGS'
74864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74867
74868
74869 fi
74870
74871   fi
74872   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
74873 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
74874
74875     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74876
74877 for ac_func in _sincosf
74878 do
74879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74880 echo "$as_me:$LINENO: checking for $ac_func" >&5
74881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74882 if eval "test \"\${$as_ac_var+set}\" = set"; then
74883   echo $ECHO_N "(cached) $ECHO_C" >&6
74884 else
74885   if test x$gcc_no_link = xyes; then
74886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74888    { (exit 1); exit 1; }; }
74889 fi
74890 cat >conftest.$ac_ext <<_ACEOF
74891 /* confdefs.h.  */
74892 _ACEOF
74893 cat confdefs.h >>conftest.$ac_ext
74894 cat >>conftest.$ac_ext <<_ACEOF
74895 /* end confdefs.h.  */
74896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74898 #define $ac_func innocuous_$ac_func
74899
74900 /* System header to define __stub macros and hopefully few prototypes,
74901     which can conflict with char $ac_func (); below.
74902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74903     <limits.h> exists even on freestanding compilers.  */
74904
74905 #ifdef __STDC__
74906 # include <limits.h>
74907 #else
74908 # include <assert.h>
74909 #endif
74910
74911 #undef $ac_func
74912
74913 /* Override any gcc2 internal prototype to avoid an error.  */
74914 #ifdef __cplusplus
74915 extern "C"
74916 {
74917 #endif
74918 /* We use char because int might match the return type of a gcc2
74919    builtin and then its argument prototype would still apply.  */
74920 char $ac_func ();
74921 /* The GNU C library defines this for functions which it implements
74922     to always fail with ENOSYS.  Some functions are actually named
74923     something starting with __ and the normal name is an alias.  */
74924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74925 choke me
74926 #else
74927 char (*f) () = $ac_func;
74928 #endif
74929 #ifdef __cplusplus
74930 }
74931 #endif
74932
74933 int
74934 main ()
74935 {
74936 return f != $ac_func;
74937   ;
74938   return 0;
74939 }
74940 _ACEOF
74941 rm -f conftest.$ac_objext conftest$ac_exeext
74942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74943   (eval $ac_link) 2>conftest.er1
74944   ac_status=$?
74945   grep -v '^ *+' conftest.er1 >conftest.err
74946   rm -f conftest.er1
74947   cat conftest.err >&5
74948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949   (exit $ac_status); } &&
74950          { ac_try='test -z "$ac_c_werror_flag"
74951                          || test ! -s conftest.err'
74952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74953   (eval $ac_try) 2>&5
74954   ac_status=$?
74955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74956   (exit $ac_status); }; } &&
74957          { ac_try='test -s conftest$ac_exeext'
74958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74959   (eval $ac_try) 2>&5
74960   ac_status=$?
74961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74962   (exit $ac_status); }; }; then
74963   eval "$as_ac_var=yes"
74964 else
74965   echo "$as_me: failed program was:" >&5
74966 sed 's/^/| /' conftest.$ac_ext >&5
74967
74968 eval "$as_ac_var=no"
74969 fi
74970 rm -f conftest.err conftest.$ac_objext \
74971       conftest$ac_exeext conftest.$ac_ext
74972 fi
74973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74975 if test `eval echo '${'$as_ac_var'}'` = yes; then
74976   cat >>confdefs.h <<_ACEOF
74977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74978 _ACEOF
74979
74980 fi
74981 done
74982
74983     fi
74984   fi
74985
74986
74987
74988
74989
74990
74991   echo "$as_me:$LINENO: checking for finitef declaration" >&5
74992 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74993   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74994     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74995   echo $ECHO_N "(cached) $ECHO_C" >&6
74996 else
74997
74998
74999
75000       ac_ext=cc
75001 ac_cpp='$CXXCPP $CPPFLAGS'
75002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75005
75006       cat >conftest.$ac_ext <<_ACEOF
75007 /* confdefs.h.  */
75008 _ACEOF
75009 cat confdefs.h >>conftest.$ac_ext
75010 cat >>conftest.$ac_ext <<_ACEOF
75011 /* end confdefs.h.  */
75012 #include <math.h>
75013                       #ifdef HAVE_IEEEFP_H
75014                       #include <ieeefp.h>
75015                       #endif
75016
75017 int
75018 main ()
75019 {
75020  finitef(0);
75021   ;
75022   return 0;
75023 }
75024 _ACEOF
75025 rm -f conftest.$ac_objext
75026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75027   (eval $ac_compile) 2>conftest.er1
75028   ac_status=$?
75029   grep -v '^ *+' conftest.er1 >conftest.err
75030   rm -f conftest.er1
75031   cat conftest.err >&5
75032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75033   (exit $ac_status); } &&
75034          { ac_try='test -z "$ac_cxx_werror_flag"
75035                          || test ! -s conftest.err'
75036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75037   (eval $ac_try) 2>&5
75038   ac_status=$?
75039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75040   (exit $ac_status); }; } &&
75041          { ac_try='test -s conftest.$ac_objext'
75042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75043   (eval $ac_try) 2>&5
75044   ac_status=$?
75045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75046   (exit $ac_status); }; }; then
75047   glibcxx_cv_func_finitef_use=yes
75048 else
75049   echo "$as_me: failed program was:" >&5
75050 sed 's/^/| /' conftest.$ac_ext >&5
75051
75052 glibcxx_cv_func_finitef_use=no
75053 fi
75054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75055       ac_ext=c
75056 ac_cpp='$CPP $CPPFLAGS'
75057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75060
75061
75062 fi
75063
75064   fi
75065   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
75066 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
75067
75068   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75069
75070 for ac_func in finitef
75071 do
75072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75073 echo "$as_me:$LINENO: checking for $ac_func" >&5
75074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75075 if eval "test \"\${$as_ac_var+set}\" = set"; then
75076   echo $ECHO_N "(cached) $ECHO_C" >&6
75077 else
75078   if test x$gcc_no_link = xyes; then
75079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75081    { (exit 1); exit 1; }; }
75082 fi
75083 cat >conftest.$ac_ext <<_ACEOF
75084 /* confdefs.h.  */
75085 _ACEOF
75086 cat confdefs.h >>conftest.$ac_ext
75087 cat >>conftest.$ac_ext <<_ACEOF
75088 /* end confdefs.h.  */
75089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75091 #define $ac_func innocuous_$ac_func
75092
75093 /* System header to define __stub macros and hopefully few prototypes,
75094     which can conflict with char $ac_func (); below.
75095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75096     <limits.h> exists even on freestanding compilers.  */
75097
75098 #ifdef __STDC__
75099 # include <limits.h>
75100 #else
75101 # include <assert.h>
75102 #endif
75103
75104 #undef $ac_func
75105
75106 /* Override any gcc2 internal prototype to avoid an error.  */
75107 #ifdef __cplusplus
75108 extern "C"
75109 {
75110 #endif
75111 /* We use char because int might match the return type of a gcc2
75112    builtin and then its argument prototype would still apply.  */
75113 char $ac_func ();
75114 /* The GNU C library defines this for functions which it implements
75115     to always fail with ENOSYS.  Some functions are actually named
75116     something starting with __ and the normal name is an alias.  */
75117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75118 choke me
75119 #else
75120 char (*f) () = $ac_func;
75121 #endif
75122 #ifdef __cplusplus
75123 }
75124 #endif
75125
75126 int
75127 main ()
75128 {
75129 return f != $ac_func;
75130   ;
75131   return 0;
75132 }
75133 _ACEOF
75134 rm -f conftest.$ac_objext conftest$ac_exeext
75135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75136   (eval $ac_link) 2>conftest.er1
75137   ac_status=$?
75138   grep -v '^ *+' conftest.er1 >conftest.err
75139   rm -f conftest.er1
75140   cat conftest.err >&5
75141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75142   (exit $ac_status); } &&
75143          { ac_try='test -z "$ac_c_werror_flag"
75144                          || test ! -s conftest.err'
75145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75146   (eval $ac_try) 2>&5
75147   ac_status=$?
75148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75149   (exit $ac_status); }; } &&
75150          { ac_try='test -s conftest$ac_exeext'
75151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75152   (eval $ac_try) 2>&5
75153   ac_status=$?
75154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75155   (exit $ac_status); }; }; then
75156   eval "$as_ac_var=yes"
75157 else
75158   echo "$as_me: failed program was:" >&5
75159 sed 's/^/| /' conftest.$ac_ext >&5
75160
75161 eval "$as_ac_var=no"
75162 fi
75163 rm -f conftest.err conftest.$ac_objext \
75164       conftest$ac_exeext conftest.$ac_ext
75165 fi
75166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75168 if test `eval echo '${'$as_ac_var'}'` = yes; then
75169   cat >>confdefs.h <<_ACEOF
75170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75171 _ACEOF
75172
75173 fi
75174 done
75175
75176   else
75177
75178   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75179 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75180   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75181     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75182   echo $ECHO_N "(cached) $ECHO_C" >&6
75183 else
75184
75185
75186
75187       ac_ext=cc
75188 ac_cpp='$CXXCPP $CPPFLAGS'
75189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75192
75193       cat >conftest.$ac_ext <<_ACEOF
75194 /* confdefs.h.  */
75195 _ACEOF
75196 cat confdefs.h >>conftest.$ac_ext
75197 cat >>conftest.$ac_ext <<_ACEOF
75198 /* end confdefs.h.  */
75199 #include <math.h>
75200                       #ifdef HAVE_IEEEFP_H
75201                       #include <ieeefp.h>
75202                       #endif
75203
75204 int
75205 main ()
75206 {
75207  _finitef(0);
75208   ;
75209   return 0;
75210 }
75211 _ACEOF
75212 rm -f conftest.$ac_objext
75213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75214   (eval $ac_compile) 2>conftest.er1
75215   ac_status=$?
75216   grep -v '^ *+' conftest.er1 >conftest.err
75217   rm -f conftest.er1
75218   cat conftest.err >&5
75219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75220   (exit $ac_status); } &&
75221          { ac_try='test -z "$ac_cxx_werror_flag"
75222                          || test ! -s conftest.err'
75223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75224   (eval $ac_try) 2>&5
75225   ac_status=$?
75226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75227   (exit $ac_status); }; } &&
75228          { ac_try='test -s conftest.$ac_objext'
75229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75230   (eval $ac_try) 2>&5
75231   ac_status=$?
75232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75233   (exit $ac_status); }; }; then
75234   glibcxx_cv_func__finitef_use=yes
75235 else
75236   echo "$as_me: failed program was:" >&5
75237 sed 's/^/| /' conftest.$ac_ext >&5
75238
75239 glibcxx_cv_func__finitef_use=no
75240 fi
75241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75242       ac_ext=c
75243 ac_cpp='$CPP $CPPFLAGS'
75244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75247
75248
75249 fi
75250
75251   fi
75252   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
75253 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
75254
75255     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75256
75257 for ac_func in _finitef
75258 do
75259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75260 echo "$as_me:$LINENO: checking for $ac_func" >&5
75261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75262 if eval "test \"\${$as_ac_var+set}\" = set"; then
75263   echo $ECHO_N "(cached) $ECHO_C" >&6
75264 else
75265   if test x$gcc_no_link = xyes; then
75266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75268    { (exit 1); exit 1; }; }
75269 fi
75270 cat >conftest.$ac_ext <<_ACEOF
75271 /* confdefs.h.  */
75272 _ACEOF
75273 cat confdefs.h >>conftest.$ac_ext
75274 cat >>conftest.$ac_ext <<_ACEOF
75275 /* end confdefs.h.  */
75276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75278 #define $ac_func innocuous_$ac_func
75279
75280 /* System header to define __stub macros and hopefully few prototypes,
75281     which can conflict with char $ac_func (); below.
75282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75283     <limits.h> exists even on freestanding compilers.  */
75284
75285 #ifdef __STDC__
75286 # include <limits.h>
75287 #else
75288 # include <assert.h>
75289 #endif
75290
75291 #undef $ac_func
75292
75293 /* Override any gcc2 internal prototype to avoid an error.  */
75294 #ifdef __cplusplus
75295 extern "C"
75296 {
75297 #endif
75298 /* We use char because int might match the return type of a gcc2
75299    builtin and then its argument prototype would still apply.  */
75300 char $ac_func ();
75301 /* The GNU C library defines this for functions which it implements
75302     to always fail with ENOSYS.  Some functions are actually named
75303     something starting with __ and the normal name is an alias.  */
75304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75305 choke me
75306 #else
75307 char (*f) () = $ac_func;
75308 #endif
75309 #ifdef __cplusplus
75310 }
75311 #endif
75312
75313 int
75314 main ()
75315 {
75316 return f != $ac_func;
75317   ;
75318   return 0;
75319 }
75320 _ACEOF
75321 rm -f conftest.$ac_objext conftest$ac_exeext
75322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75323   (eval $ac_link) 2>conftest.er1
75324   ac_status=$?
75325   grep -v '^ *+' conftest.er1 >conftest.err
75326   rm -f conftest.er1
75327   cat conftest.err >&5
75328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75329   (exit $ac_status); } &&
75330          { ac_try='test -z "$ac_c_werror_flag"
75331                          || test ! -s conftest.err'
75332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75333   (eval $ac_try) 2>&5
75334   ac_status=$?
75335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75336   (exit $ac_status); }; } &&
75337          { ac_try='test -s conftest$ac_exeext'
75338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75339   (eval $ac_try) 2>&5
75340   ac_status=$?
75341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75342   (exit $ac_status); }; }; then
75343   eval "$as_ac_var=yes"
75344 else
75345   echo "$as_me: failed program was:" >&5
75346 sed 's/^/| /' conftest.$ac_ext >&5
75347
75348 eval "$as_ac_var=no"
75349 fi
75350 rm -f conftest.err conftest.$ac_objext \
75351       conftest$ac_exeext conftest.$ac_ext
75352 fi
75353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75355 if test `eval echo '${'$as_ac_var'}'` = yes; then
75356   cat >>confdefs.h <<_ACEOF
75357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75358 _ACEOF
75359
75360 fi
75361 done
75362
75363     fi
75364   fi
75365
75366
75367
75368
75369
75370
75371     echo "$as_me:$LINENO: checking for long double trig functions" >&5
75372 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75373   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75374   echo $ECHO_N "(cached) $ECHO_C" >&6
75375 else
75376
75377
75378
75379     ac_ext=cc
75380 ac_cpp='$CXXCPP $CPPFLAGS'
75381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75384
75385     cat >conftest.$ac_ext <<_ACEOF
75386 /* confdefs.h.  */
75387 _ACEOF
75388 cat confdefs.h >>conftest.$ac_ext
75389 cat >>conftest.$ac_ext <<_ACEOF
75390 /* end confdefs.h.  */
75391 #include <math.h>
75392 int
75393 main ()
75394 {
75395 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75396   ;
75397   return 0;
75398 }
75399 _ACEOF
75400 rm -f conftest.$ac_objext
75401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75402   (eval $ac_compile) 2>conftest.er1
75403   ac_status=$?
75404   grep -v '^ *+' conftest.er1 >conftest.err
75405   rm -f conftest.er1
75406   cat conftest.err >&5
75407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75408   (exit $ac_status); } &&
75409          { ac_try='test -z "$ac_cxx_werror_flag"
75410                          || test ! -s conftest.err'
75411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75412   (eval $ac_try) 2>&5
75413   ac_status=$?
75414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75415   (exit $ac_status); }; } &&
75416          { ac_try='test -s conftest.$ac_objext'
75417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75418   (eval $ac_try) 2>&5
75419   ac_status=$?
75420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75421   (exit $ac_status); }; }; then
75422   glibcxx_cv_func_long_double_trig_use=yes
75423 else
75424   echo "$as_me: failed program was:" >&5
75425 sed 's/^/| /' conftest.$ac_ext >&5
75426
75427 glibcxx_cv_func_long_double_trig_use=no
75428 fi
75429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75430     ac_ext=c
75431 ac_cpp='$CPP $CPPFLAGS'
75432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75435
75436 fi
75437
75438   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75439 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75440   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75441
75442
75443
75444
75445
75446
75447
75448
75449
75450 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75451 do
75452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75453 echo "$as_me:$LINENO: checking for $ac_func" >&5
75454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75455 if eval "test \"\${$as_ac_var+set}\" = set"; then
75456   echo $ECHO_N "(cached) $ECHO_C" >&6
75457 else
75458   if test x$gcc_no_link = xyes; then
75459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75461    { (exit 1); exit 1; }; }
75462 fi
75463 cat >conftest.$ac_ext <<_ACEOF
75464 /* confdefs.h.  */
75465 _ACEOF
75466 cat confdefs.h >>conftest.$ac_ext
75467 cat >>conftest.$ac_ext <<_ACEOF
75468 /* end confdefs.h.  */
75469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75471 #define $ac_func innocuous_$ac_func
75472
75473 /* System header to define __stub macros and hopefully few prototypes,
75474     which can conflict with char $ac_func (); below.
75475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75476     <limits.h> exists even on freestanding compilers.  */
75477
75478 #ifdef __STDC__
75479 # include <limits.h>
75480 #else
75481 # include <assert.h>
75482 #endif
75483
75484 #undef $ac_func
75485
75486 /* Override any gcc2 internal prototype to avoid an error.  */
75487 #ifdef __cplusplus
75488 extern "C"
75489 {
75490 #endif
75491 /* We use char because int might match the return type of a gcc2
75492    builtin and then its argument prototype would still apply.  */
75493 char $ac_func ();
75494 /* The GNU C library defines this for functions which it implements
75495     to always fail with ENOSYS.  Some functions are actually named
75496     something starting with __ and the normal name is an alias.  */
75497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75498 choke me
75499 #else
75500 char (*f) () = $ac_func;
75501 #endif
75502 #ifdef __cplusplus
75503 }
75504 #endif
75505
75506 int
75507 main ()
75508 {
75509 return f != $ac_func;
75510   ;
75511   return 0;
75512 }
75513 _ACEOF
75514 rm -f conftest.$ac_objext conftest$ac_exeext
75515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75516   (eval $ac_link) 2>conftest.er1
75517   ac_status=$?
75518   grep -v '^ *+' conftest.er1 >conftest.err
75519   rm -f conftest.er1
75520   cat conftest.err >&5
75521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75522   (exit $ac_status); } &&
75523          { ac_try='test -z "$ac_c_werror_flag"
75524                          || test ! -s conftest.err'
75525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75526   (eval $ac_try) 2>&5
75527   ac_status=$?
75528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75529   (exit $ac_status); }; } &&
75530          { ac_try='test -s conftest$ac_exeext'
75531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75532   (eval $ac_try) 2>&5
75533   ac_status=$?
75534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75535   (exit $ac_status); }; }; then
75536   eval "$as_ac_var=yes"
75537 else
75538   echo "$as_me: failed program was:" >&5
75539 sed 's/^/| /' conftest.$ac_ext >&5
75540
75541 eval "$as_ac_var=no"
75542 fi
75543 rm -f conftest.err conftest.$ac_objext \
75544       conftest$ac_exeext conftest.$ac_ext
75545 fi
75546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75548 if test `eval echo '${'$as_ac_var'}'` = yes; then
75549   cat >>confdefs.h <<_ACEOF
75550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75551 _ACEOF
75552
75553 fi
75554 done
75555
75556   else
75557     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75558 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75559     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75560   echo $ECHO_N "(cached) $ECHO_C" >&6
75561 else
75562
75563
75564
75565       ac_ext=cc
75566 ac_cpp='$CXXCPP $CPPFLAGS'
75567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75570
75571       cat >conftest.$ac_ext <<_ACEOF
75572 /* confdefs.h.  */
75573 _ACEOF
75574 cat confdefs.h >>conftest.$ac_ext
75575 cat >>conftest.$ac_ext <<_ACEOF
75576 /* end confdefs.h.  */
75577 #include <math.h>
75578 int
75579 main ()
75580 {
75581 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75582   ;
75583   return 0;
75584 }
75585 _ACEOF
75586 rm -f conftest.$ac_objext
75587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75588   (eval $ac_compile) 2>conftest.er1
75589   ac_status=$?
75590   grep -v '^ *+' conftest.er1 >conftest.err
75591   rm -f conftest.er1
75592   cat conftest.err >&5
75593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594   (exit $ac_status); } &&
75595          { ac_try='test -z "$ac_cxx_werror_flag"
75596                          || test ! -s conftest.err'
75597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75598   (eval $ac_try) 2>&5
75599   ac_status=$?
75600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75601   (exit $ac_status); }; } &&
75602          { ac_try='test -s conftest.$ac_objext'
75603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75604   (eval $ac_try) 2>&5
75605   ac_status=$?
75606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75607   (exit $ac_status); }; }; then
75608   glibcxx_cv_func__long_double_trig_use=yes
75609 else
75610   echo "$as_me: failed program was:" >&5
75611 sed 's/^/| /' conftest.$ac_ext >&5
75612
75613 glibcxx_cv_func__long_double_trig_use=no
75614 fi
75615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75616       ac_ext=c
75617 ac_cpp='$CPP $CPPFLAGS'
75618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75621
75622 fi
75623
75624     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75625 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75626     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75627
75628
75629
75630
75631
75632
75633
75634
75635
75636 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75637 do
75638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75639 echo "$as_me:$LINENO: checking for $ac_func" >&5
75640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75641 if eval "test \"\${$as_ac_var+set}\" = set"; then
75642   echo $ECHO_N "(cached) $ECHO_C" >&6
75643 else
75644   if test x$gcc_no_link = xyes; then
75645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75647    { (exit 1); exit 1; }; }
75648 fi
75649 cat >conftest.$ac_ext <<_ACEOF
75650 /* confdefs.h.  */
75651 _ACEOF
75652 cat confdefs.h >>conftest.$ac_ext
75653 cat >>conftest.$ac_ext <<_ACEOF
75654 /* end confdefs.h.  */
75655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75657 #define $ac_func innocuous_$ac_func
75658
75659 /* System header to define __stub macros and hopefully few prototypes,
75660     which can conflict with char $ac_func (); below.
75661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75662     <limits.h> exists even on freestanding compilers.  */
75663
75664 #ifdef __STDC__
75665 # include <limits.h>
75666 #else
75667 # include <assert.h>
75668 #endif
75669
75670 #undef $ac_func
75671
75672 /* Override any gcc2 internal prototype to avoid an error.  */
75673 #ifdef __cplusplus
75674 extern "C"
75675 {
75676 #endif
75677 /* We use char because int might match the return type of a gcc2
75678    builtin and then its argument prototype would still apply.  */
75679 char $ac_func ();
75680 /* The GNU C library defines this for functions which it implements
75681     to always fail with ENOSYS.  Some functions are actually named
75682     something starting with __ and the normal name is an alias.  */
75683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75684 choke me
75685 #else
75686 char (*f) () = $ac_func;
75687 #endif
75688 #ifdef __cplusplus
75689 }
75690 #endif
75691
75692 int
75693 main ()
75694 {
75695 return f != $ac_func;
75696   ;
75697   return 0;
75698 }
75699 _ACEOF
75700 rm -f conftest.$ac_objext conftest$ac_exeext
75701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75702   (eval $ac_link) 2>conftest.er1
75703   ac_status=$?
75704   grep -v '^ *+' conftest.er1 >conftest.err
75705   rm -f conftest.er1
75706   cat conftest.err >&5
75707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75708   (exit $ac_status); } &&
75709          { ac_try='test -z "$ac_c_werror_flag"
75710                          || test ! -s conftest.err'
75711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75712   (eval $ac_try) 2>&5
75713   ac_status=$?
75714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75715   (exit $ac_status); }; } &&
75716          { ac_try='test -s conftest$ac_exeext'
75717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75718   (eval $ac_try) 2>&5
75719   ac_status=$?
75720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75721   (exit $ac_status); }; }; then
75722   eval "$as_ac_var=yes"
75723 else
75724   echo "$as_me: failed program was:" >&5
75725 sed 's/^/| /' conftest.$ac_ext >&5
75726
75727 eval "$as_ac_var=no"
75728 fi
75729 rm -f conftest.err conftest.$ac_objext \
75730       conftest$ac_exeext conftest.$ac_ext
75731 fi
75732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75734 if test `eval echo '${'$as_ac_var'}'` = yes; then
75735   cat >>confdefs.h <<_ACEOF
75736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75737 _ACEOF
75738
75739 fi
75740 done
75741
75742     fi
75743   fi
75744
75745
75746
75747
75748
75749
75750
75751
75752
75753
75754
75755
75756
75757
75758     echo "$as_me:$LINENO: checking for long double round functions" >&5
75759 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75760   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75761   echo $ECHO_N "(cached) $ECHO_C" >&6
75762 else
75763
75764
75765
75766     ac_ext=cc
75767 ac_cpp='$CXXCPP $CPPFLAGS'
75768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75771
75772     cat >conftest.$ac_ext <<_ACEOF
75773 /* confdefs.h.  */
75774 _ACEOF
75775 cat confdefs.h >>conftest.$ac_ext
75776 cat >>conftest.$ac_ext <<_ACEOF
75777 /* end confdefs.h.  */
75778 #include <math.h>
75779 int
75780 main ()
75781 {
75782 ceill (0); floorl (0);
75783   ;
75784   return 0;
75785 }
75786 _ACEOF
75787 rm -f conftest.$ac_objext
75788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75789   (eval $ac_compile) 2>conftest.er1
75790   ac_status=$?
75791   grep -v '^ *+' conftest.er1 >conftest.err
75792   rm -f conftest.er1
75793   cat conftest.err >&5
75794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75795   (exit $ac_status); } &&
75796          { ac_try='test -z "$ac_cxx_werror_flag"
75797                          || test ! -s conftest.err'
75798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75799   (eval $ac_try) 2>&5
75800   ac_status=$?
75801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75802   (exit $ac_status); }; } &&
75803          { ac_try='test -s conftest.$ac_objext'
75804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75805   (eval $ac_try) 2>&5
75806   ac_status=$?
75807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75808   (exit $ac_status); }; }; then
75809   glibcxx_cv_func_long_double_round_use=yes
75810 else
75811   echo "$as_me: failed program was:" >&5
75812 sed 's/^/| /' conftest.$ac_ext >&5
75813
75814 glibcxx_cv_func_long_double_round_use=no
75815 fi
75816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75817     ac_ext=c
75818 ac_cpp='$CPP $CPPFLAGS'
75819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75822
75823 fi
75824
75825   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75826 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75827   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75828
75829
75830 for ac_func in ceill floorl
75831 do
75832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75833 echo "$as_me:$LINENO: checking for $ac_func" >&5
75834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75835 if eval "test \"\${$as_ac_var+set}\" = set"; then
75836   echo $ECHO_N "(cached) $ECHO_C" >&6
75837 else
75838   if test x$gcc_no_link = xyes; then
75839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75841    { (exit 1); exit 1; }; }
75842 fi
75843 cat >conftest.$ac_ext <<_ACEOF
75844 /* confdefs.h.  */
75845 _ACEOF
75846 cat confdefs.h >>conftest.$ac_ext
75847 cat >>conftest.$ac_ext <<_ACEOF
75848 /* end confdefs.h.  */
75849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75851 #define $ac_func innocuous_$ac_func
75852
75853 /* System header to define __stub macros and hopefully few prototypes,
75854     which can conflict with char $ac_func (); below.
75855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75856     <limits.h> exists even on freestanding compilers.  */
75857
75858 #ifdef __STDC__
75859 # include <limits.h>
75860 #else
75861 # include <assert.h>
75862 #endif
75863
75864 #undef $ac_func
75865
75866 /* Override any gcc2 internal prototype to avoid an error.  */
75867 #ifdef __cplusplus
75868 extern "C"
75869 {
75870 #endif
75871 /* We use char because int might match the return type of a gcc2
75872    builtin and then its argument prototype would still apply.  */
75873 char $ac_func ();
75874 /* The GNU C library defines this for functions which it implements
75875     to always fail with ENOSYS.  Some functions are actually named
75876     something starting with __ and the normal name is an alias.  */
75877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75878 choke me
75879 #else
75880 char (*f) () = $ac_func;
75881 #endif
75882 #ifdef __cplusplus
75883 }
75884 #endif
75885
75886 int
75887 main ()
75888 {
75889 return f != $ac_func;
75890   ;
75891   return 0;
75892 }
75893 _ACEOF
75894 rm -f conftest.$ac_objext conftest$ac_exeext
75895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75896   (eval $ac_link) 2>conftest.er1
75897   ac_status=$?
75898   grep -v '^ *+' conftest.er1 >conftest.err
75899   rm -f conftest.er1
75900   cat conftest.err >&5
75901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75902   (exit $ac_status); } &&
75903          { ac_try='test -z "$ac_c_werror_flag"
75904                          || test ! -s conftest.err'
75905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75906   (eval $ac_try) 2>&5
75907   ac_status=$?
75908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75909   (exit $ac_status); }; } &&
75910          { ac_try='test -s conftest$ac_exeext'
75911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75912   (eval $ac_try) 2>&5
75913   ac_status=$?
75914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75915   (exit $ac_status); }; }; then
75916   eval "$as_ac_var=yes"
75917 else
75918   echo "$as_me: failed program was:" >&5
75919 sed 's/^/| /' conftest.$ac_ext >&5
75920
75921 eval "$as_ac_var=no"
75922 fi
75923 rm -f conftest.err conftest.$ac_objext \
75924       conftest$ac_exeext conftest.$ac_ext
75925 fi
75926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75928 if test `eval echo '${'$as_ac_var'}'` = yes; then
75929   cat >>confdefs.h <<_ACEOF
75930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75931 _ACEOF
75932
75933 fi
75934 done
75935
75936   else
75937     echo "$as_me:$LINENO: checking for _long double round functions" >&5
75938 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75939     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75940   echo $ECHO_N "(cached) $ECHO_C" >&6
75941 else
75942
75943
75944
75945       ac_ext=cc
75946 ac_cpp='$CXXCPP $CPPFLAGS'
75947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75950
75951       cat >conftest.$ac_ext <<_ACEOF
75952 /* confdefs.h.  */
75953 _ACEOF
75954 cat confdefs.h >>conftest.$ac_ext
75955 cat >>conftest.$ac_ext <<_ACEOF
75956 /* end confdefs.h.  */
75957 #include <math.h>
75958 int
75959 main ()
75960 {
75961 _ceill (0); _floorl (0);
75962   ;
75963   return 0;
75964 }
75965 _ACEOF
75966 rm -f conftest.$ac_objext
75967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75968   (eval $ac_compile) 2>conftest.er1
75969   ac_status=$?
75970   grep -v '^ *+' conftest.er1 >conftest.err
75971   rm -f conftest.er1
75972   cat conftest.err >&5
75973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75974   (exit $ac_status); } &&
75975          { ac_try='test -z "$ac_cxx_werror_flag"
75976                          || test ! -s conftest.err'
75977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75978   (eval $ac_try) 2>&5
75979   ac_status=$?
75980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75981   (exit $ac_status); }; } &&
75982          { ac_try='test -s conftest.$ac_objext'
75983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75984   (eval $ac_try) 2>&5
75985   ac_status=$?
75986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75987   (exit $ac_status); }; }; then
75988   glibcxx_cv_func__long_double_round_use=yes
75989 else
75990   echo "$as_me: failed program was:" >&5
75991 sed 's/^/| /' conftest.$ac_ext >&5
75992
75993 glibcxx_cv_func__long_double_round_use=no
75994 fi
75995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75996       ac_ext=c
75997 ac_cpp='$CPP $CPPFLAGS'
75998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76001
76002 fi
76003
76004     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
76005 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
76006     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76007
76008
76009 for ac_func in _ceill _floorl
76010 do
76011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76012 echo "$as_me:$LINENO: checking for $ac_func" >&5
76013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76014 if eval "test \"\${$as_ac_var+set}\" = set"; then
76015   echo $ECHO_N "(cached) $ECHO_C" >&6
76016 else
76017   if test x$gcc_no_link = xyes; then
76018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76020    { (exit 1); exit 1; }; }
76021 fi
76022 cat >conftest.$ac_ext <<_ACEOF
76023 /* confdefs.h.  */
76024 _ACEOF
76025 cat confdefs.h >>conftest.$ac_ext
76026 cat >>conftest.$ac_ext <<_ACEOF
76027 /* end confdefs.h.  */
76028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76030 #define $ac_func innocuous_$ac_func
76031
76032 /* System header to define __stub macros and hopefully few prototypes,
76033     which can conflict with char $ac_func (); below.
76034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76035     <limits.h> exists even on freestanding compilers.  */
76036
76037 #ifdef __STDC__
76038 # include <limits.h>
76039 #else
76040 # include <assert.h>
76041 #endif
76042
76043 #undef $ac_func
76044
76045 /* Override any gcc2 internal prototype to avoid an error.  */
76046 #ifdef __cplusplus
76047 extern "C"
76048 {
76049 #endif
76050 /* We use char because int might match the return type of a gcc2
76051    builtin and then its argument prototype would still apply.  */
76052 char $ac_func ();
76053 /* The GNU C library defines this for functions which it implements
76054     to always fail with ENOSYS.  Some functions are actually named
76055     something starting with __ and the normal name is an alias.  */
76056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76057 choke me
76058 #else
76059 char (*f) () = $ac_func;
76060 #endif
76061 #ifdef __cplusplus
76062 }
76063 #endif
76064
76065 int
76066 main ()
76067 {
76068 return f != $ac_func;
76069   ;
76070   return 0;
76071 }
76072 _ACEOF
76073 rm -f conftest.$ac_objext conftest$ac_exeext
76074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76075   (eval $ac_link) 2>conftest.er1
76076   ac_status=$?
76077   grep -v '^ *+' conftest.er1 >conftest.err
76078   rm -f conftest.er1
76079   cat conftest.err >&5
76080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76081   (exit $ac_status); } &&
76082          { ac_try='test -z "$ac_c_werror_flag"
76083                          || test ! -s conftest.err'
76084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76085   (eval $ac_try) 2>&5
76086   ac_status=$?
76087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76088   (exit $ac_status); }; } &&
76089          { ac_try='test -s conftest$ac_exeext'
76090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76091   (eval $ac_try) 2>&5
76092   ac_status=$?
76093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76094   (exit $ac_status); }; }; then
76095   eval "$as_ac_var=yes"
76096 else
76097   echo "$as_me: failed program was:" >&5
76098 sed 's/^/| /' conftest.$ac_ext >&5
76099
76100 eval "$as_ac_var=no"
76101 fi
76102 rm -f conftest.err conftest.$ac_objext \
76103       conftest$ac_exeext conftest.$ac_ext
76104 fi
76105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76107 if test `eval echo '${'$as_ac_var'}'` = yes; then
76108   cat >>confdefs.h <<_ACEOF
76109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76110 _ACEOF
76111
76112 fi
76113 done
76114
76115     fi
76116   fi
76117
76118
76119
76120
76121
76122
76123
76124
76125   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76126 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76127   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76128     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76129   echo $ECHO_N "(cached) $ECHO_C" >&6
76130 else
76131
76132
76133
76134       ac_ext=cc
76135 ac_cpp='$CXXCPP $CPPFLAGS'
76136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76139
76140       cat >conftest.$ac_ext <<_ACEOF
76141 /* confdefs.h.  */
76142 _ACEOF
76143 cat confdefs.h >>conftest.$ac_ext
76144 cat >>conftest.$ac_ext <<_ACEOF
76145 /* end confdefs.h.  */
76146 #include <math.h>
76147                       #ifdef HAVE_IEEEFP_H
76148                       #include <ieeefp.h>
76149                       #endif
76150
76151 int
76152 main ()
76153 {
76154  isnanl(0);
76155   ;
76156   return 0;
76157 }
76158 _ACEOF
76159 rm -f conftest.$ac_objext
76160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76161   (eval $ac_compile) 2>conftest.er1
76162   ac_status=$?
76163   grep -v '^ *+' conftest.er1 >conftest.err
76164   rm -f conftest.er1
76165   cat conftest.err >&5
76166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76167   (exit $ac_status); } &&
76168          { ac_try='test -z "$ac_cxx_werror_flag"
76169                          || test ! -s conftest.err'
76170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76171   (eval $ac_try) 2>&5
76172   ac_status=$?
76173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76174   (exit $ac_status); }; } &&
76175          { ac_try='test -s conftest.$ac_objext'
76176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76177   (eval $ac_try) 2>&5
76178   ac_status=$?
76179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76180   (exit $ac_status); }; }; then
76181   glibcxx_cv_func_isnanl_use=yes
76182 else
76183   echo "$as_me: failed program was:" >&5
76184 sed 's/^/| /' conftest.$ac_ext >&5
76185
76186 glibcxx_cv_func_isnanl_use=no
76187 fi
76188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76189       ac_ext=c
76190 ac_cpp='$CPP $CPPFLAGS'
76191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76194
76195
76196 fi
76197
76198   fi
76199   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
76200 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
76201
76202   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76203
76204 for ac_func in isnanl
76205 do
76206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76207 echo "$as_me:$LINENO: checking for $ac_func" >&5
76208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76209 if eval "test \"\${$as_ac_var+set}\" = set"; then
76210   echo $ECHO_N "(cached) $ECHO_C" >&6
76211 else
76212   if test x$gcc_no_link = xyes; then
76213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76215    { (exit 1); exit 1; }; }
76216 fi
76217 cat >conftest.$ac_ext <<_ACEOF
76218 /* confdefs.h.  */
76219 _ACEOF
76220 cat confdefs.h >>conftest.$ac_ext
76221 cat >>conftest.$ac_ext <<_ACEOF
76222 /* end confdefs.h.  */
76223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76225 #define $ac_func innocuous_$ac_func
76226
76227 /* System header to define __stub macros and hopefully few prototypes,
76228     which can conflict with char $ac_func (); below.
76229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76230     <limits.h> exists even on freestanding compilers.  */
76231
76232 #ifdef __STDC__
76233 # include <limits.h>
76234 #else
76235 # include <assert.h>
76236 #endif
76237
76238 #undef $ac_func
76239
76240 /* Override any gcc2 internal prototype to avoid an error.  */
76241 #ifdef __cplusplus
76242 extern "C"
76243 {
76244 #endif
76245 /* We use char because int might match the return type of a gcc2
76246    builtin and then its argument prototype would still apply.  */
76247 char $ac_func ();
76248 /* The GNU C library defines this for functions which it implements
76249     to always fail with ENOSYS.  Some functions are actually named
76250     something starting with __ and the normal name is an alias.  */
76251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76252 choke me
76253 #else
76254 char (*f) () = $ac_func;
76255 #endif
76256 #ifdef __cplusplus
76257 }
76258 #endif
76259
76260 int
76261 main ()
76262 {
76263 return f != $ac_func;
76264   ;
76265   return 0;
76266 }
76267 _ACEOF
76268 rm -f conftest.$ac_objext conftest$ac_exeext
76269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76270   (eval $ac_link) 2>conftest.er1
76271   ac_status=$?
76272   grep -v '^ *+' conftest.er1 >conftest.err
76273   rm -f conftest.er1
76274   cat conftest.err >&5
76275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76276   (exit $ac_status); } &&
76277          { ac_try='test -z "$ac_c_werror_flag"
76278                          || test ! -s conftest.err'
76279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76280   (eval $ac_try) 2>&5
76281   ac_status=$?
76282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76283   (exit $ac_status); }; } &&
76284          { ac_try='test -s conftest$ac_exeext'
76285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76286   (eval $ac_try) 2>&5
76287   ac_status=$?
76288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76289   (exit $ac_status); }; }; then
76290   eval "$as_ac_var=yes"
76291 else
76292   echo "$as_me: failed program was:" >&5
76293 sed 's/^/| /' conftest.$ac_ext >&5
76294
76295 eval "$as_ac_var=no"
76296 fi
76297 rm -f conftest.err conftest.$ac_objext \
76298       conftest$ac_exeext conftest.$ac_ext
76299 fi
76300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76302 if test `eval echo '${'$as_ac_var'}'` = yes; then
76303   cat >>confdefs.h <<_ACEOF
76304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76305 _ACEOF
76306
76307 fi
76308 done
76309
76310   else
76311
76312   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
76313 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
76314   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76315     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
76316   echo $ECHO_N "(cached) $ECHO_C" >&6
76317 else
76318
76319
76320
76321       ac_ext=cc
76322 ac_cpp='$CXXCPP $CPPFLAGS'
76323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76326
76327       cat >conftest.$ac_ext <<_ACEOF
76328 /* confdefs.h.  */
76329 _ACEOF
76330 cat confdefs.h >>conftest.$ac_ext
76331 cat >>conftest.$ac_ext <<_ACEOF
76332 /* end confdefs.h.  */
76333 #include <math.h>
76334                       #ifdef HAVE_IEEEFP_H
76335                       #include <ieeefp.h>
76336                       #endif
76337
76338 int
76339 main ()
76340 {
76341  _isnanl(0);
76342   ;
76343   return 0;
76344 }
76345 _ACEOF
76346 rm -f conftest.$ac_objext
76347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76348   (eval $ac_compile) 2>conftest.er1
76349   ac_status=$?
76350   grep -v '^ *+' conftest.er1 >conftest.err
76351   rm -f conftest.er1
76352   cat conftest.err >&5
76353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76354   (exit $ac_status); } &&
76355          { ac_try='test -z "$ac_cxx_werror_flag"
76356                          || test ! -s conftest.err'
76357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76358   (eval $ac_try) 2>&5
76359   ac_status=$?
76360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76361   (exit $ac_status); }; } &&
76362          { ac_try='test -s conftest.$ac_objext'
76363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76364   (eval $ac_try) 2>&5
76365   ac_status=$?
76366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76367   (exit $ac_status); }; }; then
76368   glibcxx_cv_func__isnanl_use=yes
76369 else
76370   echo "$as_me: failed program was:" >&5
76371 sed 's/^/| /' conftest.$ac_ext >&5
76372
76373 glibcxx_cv_func__isnanl_use=no
76374 fi
76375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76376       ac_ext=c
76377 ac_cpp='$CPP $CPPFLAGS'
76378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76381
76382
76383 fi
76384
76385   fi
76386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76387 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76388
76389     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76390
76391 for ac_func in _isnanl
76392 do
76393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76394 echo "$as_me:$LINENO: checking for $ac_func" >&5
76395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76396 if eval "test \"\${$as_ac_var+set}\" = set"; then
76397   echo $ECHO_N "(cached) $ECHO_C" >&6
76398 else
76399   if test x$gcc_no_link = xyes; then
76400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76402    { (exit 1); exit 1; }; }
76403 fi
76404 cat >conftest.$ac_ext <<_ACEOF
76405 /* confdefs.h.  */
76406 _ACEOF
76407 cat confdefs.h >>conftest.$ac_ext
76408 cat >>conftest.$ac_ext <<_ACEOF
76409 /* end confdefs.h.  */
76410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76412 #define $ac_func innocuous_$ac_func
76413
76414 /* System header to define __stub macros and hopefully few prototypes,
76415     which can conflict with char $ac_func (); below.
76416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76417     <limits.h> exists even on freestanding compilers.  */
76418
76419 #ifdef __STDC__
76420 # include <limits.h>
76421 #else
76422 # include <assert.h>
76423 #endif
76424
76425 #undef $ac_func
76426
76427 /* Override any gcc2 internal prototype to avoid an error.  */
76428 #ifdef __cplusplus
76429 extern "C"
76430 {
76431 #endif
76432 /* We use char because int might match the return type of a gcc2
76433    builtin and then its argument prototype would still apply.  */
76434 char $ac_func ();
76435 /* The GNU C library defines this for functions which it implements
76436     to always fail with ENOSYS.  Some functions are actually named
76437     something starting with __ and the normal name is an alias.  */
76438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76439 choke me
76440 #else
76441 char (*f) () = $ac_func;
76442 #endif
76443 #ifdef __cplusplus
76444 }
76445 #endif
76446
76447 int
76448 main ()
76449 {
76450 return f != $ac_func;
76451   ;
76452   return 0;
76453 }
76454 _ACEOF
76455 rm -f conftest.$ac_objext conftest$ac_exeext
76456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76457   (eval $ac_link) 2>conftest.er1
76458   ac_status=$?
76459   grep -v '^ *+' conftest.er1 >conftest.err
76460   rm -f conftest.er1
76461   cat conftest.err >&5
76462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76463   (exit $ac_status); } &&
76464          { ac_try='test -z "$ac_c_werror_flag"
76465                          || test ! -s conftest.err'
76466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76467   (eval $ac_try) 2>&5
76468   ac_status=$?
76469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76470   (exit $ac_status); }; } &&
76471          { ac_try='test -s conftest$ac_exeext'
76472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76473   (eval $ac_try) 2>&5
76474   ac_status=$?
76475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76476   (exit $ac_status); }; }; then
76477   eval "$as_ac_var=yes"
76478 else
76479   echo "$as_me: failed program was:" >&5
76480 sed 's/^/| /' conftest.$ac_ext >&5
76481
76482 eval "$as_ac_var=no"
76483 fi
76484 rm -f conftest.err conftest.$ac_objext \
76485       conftest$ac_exeext conftest.$ac_ext
76486 fi
76487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76489 if test `eval echo '${'$as_ac_var'}'` = yes; then
76490   cat >>confdefs.h <<_ACEOF
76491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76492 _ACEOF
76493
76494 fi
76495 done
76496
76497     fi
76498   fi
76499
76500
76501
76502
76503
76504
76505   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76506 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76507   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76508     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76509   echo $ECHO_N "(cached) $ECHO_C" >&6
76510 else
76511
76512
76513
76514       ac_ext=cc
76515 ac_cpp='$CXXCPP $CPPFLAGS'
76516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76519
76520       cat >conftest.$ac_ext <<_ACEOF
76521 /* confdefs.h.  */
76522 _ACEOF
76523 cat confdefs.h >>conftest.$ac_ext
76524 cat >>conftest.$ac_ext <<_ACEOF
76525 /* end confdefs.h.  */
76526 #include <math.h>
76527                       #ifdef HAVE_IEEEFP_H
76528                       #include <ieeefp.h>
76529                       #endif
76530
76531 int
76532 main ()
76533 {
76534  isinfl(0);
76535   ;
76536   return 0;
76537 }
76538 _ACEOF
76539 rm -f conftest.$ac_objext
76540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76541   (eval $ac_compile) 2>conftest.er1
76542   ac_status=$?
76543   grep -v '^ *+' conftest.er1 >conftest.err
76544   rm -f conftest.er1
76545   cat conftest.err >&5
76546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76547   (exit $ac_status); } &&
76548          { ac_try='test -z "$ac_cxx_werror_flag"
76549                          || test ! -s conftest.err'
76550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76551   (eval $ac_try) 2>&5
76552   ac_status=$?
76553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76554   (exit $ac_status); }; } &&
76555          { ac_try='test -s conftest.$ac_objext'
76556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76557   (eval $ac_try) 2>&5
76558   ac_status=$?
76559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76560   (exit $ac_status); }; }; then
76561   glibcxx_cv_func_isinfl_use=yes
76562 else
76563   echo "$as_me: failed program was:" >&5
76564 sed 's/^/| /' conftest.$ac_ext >&5
76565
76566 glibcxx_cv_func_isinfl_use=no
76567 fi
76568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76569       ac_ext=c
76570 ac_cpp='$CPP $CPPFLAGS'
76571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76574
76575
76576 fi
76577
76578   fi
76579   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76580 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76581
76582   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76583
76584 for ac_func in isinfl
76585 do
76586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76587 echo "$as_me:$LINENO: checking for $ac_func" >&5
76588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76589 if eval "test \"\${$as_ac_var+set}\" = set"; then
76590   echo $ECHO_N "(cached) $ECHO_C" >&6
76591 else
76592   if test x$gcc_no_link = xyes; then
76593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76595    { (exit 1); exit 1; }; }
76596 fi
76597 cat >conftest.$ac_ext <<_ACEOF
76598 /* confdefs.h.  */
76599 _ACEOF
76600 cat confdefs.h >>conftest.$ac_ext
76601 cat >>conftest.$ac_ext <<_ACEOF
76602 /* end confdefs.h.  */
76603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76605 #define $ac_func innocuous_$ac_func
76606
76607 /* System header to define __stub macros and hopefully few prototypes,
76608     which can conflict with char $ac_func (); below.
76609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76610     <limits.h> exists even on freestanding compilers.  */
76611
76612 #ifdef __STDC__
76613 # include <limits.h>
76614 #else
76615 # include <assert.h>
76616 #endif
76617
76618 #undef $ac_func
76619
76620 /* Override any gcc2 internal prototype to avoid an error.  */
76621 #ifdef __cplusplus
76622 extern "C"
76623 {
76624 #endif
76625 /* We use char because int might match the return type of a gcc2
76626    builtin and then its argument prototype would still apply.  */
76627 char $ac_func ();
76628 /* The GNU C library defines this for functions which it implements
76629     to always fail with ENOSYS.  Some functions are actually named
76630     something starting with __ and the normal name is an alias.  */
76631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76632 choke me
76633 #else
76634 char (*f) () = $ac_func;
76635 #endif
76636 #ifdef __cplusplus
76637 }
76638 #endif
76639
76640 int
76641 main ()
76642 {
76643 return f != $ac_func;
76644   ;
76645   return 0;
76646 }
76647 _ACEOF
76648 rm -f conftest.$ac_objext conftest$ac_exeext
76649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76650   (eval $ac_link) 2>conftest.er1
76651   ac_status=$?
76652   grep -v '^ *+' conftest.er1 >conftest.err
76653   rm -f conftest.er1
76654   cat conftest.err >&5
76655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76656   (exit $ac_status); } &&
76657          { ac_try='test -z "$ac_c_werror_flag"
76658                          || test ! -s conftest.err'
76659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76660   (eval $ac_try) 2>&5
76661   ac_status=$?
76662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76663   (exit $ac_status); }; } &&
76664          { ac_try='test -s conftest$ac_exeext'
76665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76666   (eval $ac_try) 2>&5
76667   ac_status=$?
76668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76669   (exit $ac_status); }; }; then
76670   eval "$as_ac_var=yes"
76671 else
76672   echo "$as_me: failed program was:" >&5
76673 sed 's/^/| /' conftest.$ac_ext >&5
76674
76675 eval "$as_ac_var=no"
76676 fi
76677 rm -f conftest.err conftest.$ac_objext \
76678       conftest$ac_exeext conftest.$ac_ext
76679 fi
76680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76682 if test `eval echo '${'$as_ac_var'}'` = yes; then
76683   cat >>confdefs.h <<_ACEOF
76684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76685 _ACEOF
76686
76687 fi
76688 done
76689
76690   else
76691
76692   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76693 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76694   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76695     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76696   echo $ECHO_N "(cached) $ECHO_C" >&6
76697 else
76698
76699
76700
76701       ac_ext=cc
76702 ac_cpp='$CXXCPP $CPPFLAGS'
76703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76706
76707       cat >conftest.$ac_ext <<_ACEOF
76708 /* confdefs.h.  */
76709 _ACEOF
76710 cat confdefs.h >>conftest.$ac_ext
76711 cat >>conftest.$ac_ext <<_ACEOF
76712 /* end confdefs.h.  */
76713 #include <math.h>
76714                       #ifdef HAVE_IEEEFP_H
76715                       #include <ieeefp.h>
76716                       #endif
76717
76718 int
76719 main ()
76720 {
76721  _isinfl(0);
76722   ;
76723   return 0;
76724 }
76725 _ACEOF
76726 rm -f conftest.$ac_objext
76727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76728   (eval $ac_compile) 2>conftest.er1
76729   ac_status=$?
76730   grep -v '^ *+' conftest.er1 >conftest.err
76731   rm -f conftest.er1
76732   cat conftest.err >&5
76733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76734   (exit $ac_status); } &&
76735          { ac_try='test -z "$ac_cxx_werror_flag"
76736                          || test ! -s conftest.err'
76737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76738   (eval $ac_try) 2>&5
76739   ac_status=$?
76740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76741   (exit $ac_status); }; } &&
76742          { ac_try='test -s conftest.$ac_objext'
76743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76744   (eval $ac_try) 2>&5
76745   ac_status=$?
76746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76747   (exit $ac_status); }; }; then
76748   glibcxx_cv_func__isinfl_use=yes
76749 else
76750   echo "$as_me: failed program was:" >&5
76751 sed 's/^/| /' conftest.$ac_ext >&5
76752
76753 glibcxx_cv_func__isinfl_use=no
76754 fi
76755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76756       ac_ext=c
76757 ac_cpp='$CPP $CPPFLAGS'
76758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76761
76762
76763 fi
76764
76765   fi
76766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76767 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76768
76769     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76770
76771 for ac_func in _isinfl
76772 do
76773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76774 echo "$as_me:$LINENO: checking for $ac_func" >&5
76775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76776 if eval "test \"\${$as_ac_var+set}\" = set"; then
76777   echo $ECHO_N "(cached) $ECHO_C" >&6
76778 else
76779   if test x$gcc_no_link = xyes; then
76780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76782    { (exit 1); exit 1; }; }
76783 fi
76784 cat >conftest.$ac_ext <<_ACEOF
76785 /* confdefs.h.  */
76786 _ACEOF
76787 cat confdefs.h >>conftest.$ac_ext
76788 cat >>conftest.$ac_ext <<_ACEOF
76789 /* end confdefs.h.  */
76790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76792 #define $ac_func innocuous_$ac_func
76793
76794 /* System header to define __stub macros and hopefully few prototypes,
76795     which can conflict with char $ac_func (); below.
76796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76797     <limits.h> exists even on freestanding compilers.  */
76798
76799 #ifdef __STDC__
76800 # include <limits.h>
76801 #else
76802 # include <assert.h>
76803 #endif
76804
76805 #undef $ac_func
76806
76807 /* Override any gcc2 internal prototype to avoid an error.  */
76808 #ifdef __cplusplus
76809 extern "C"
76810 {
76811 #endif
76812 /* We use char because int might match the return type of a gcc2
76813    builtin and then its argument prototype would still apply.  */
76814 char $ac_func ();
76815 /* The GNU C library defines this for functions which it implements
76816     to always fail with ENOSYS.  Some functions are actually named
76817     something starting with __ and the normal name is an alias.  */
76818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76819 choke me
76820 #else
76821 char (*f) () = $ac_func;
76822 #endif
76823 #ifdef __cplusplus
76824 }
76825 #endif
76826
76827 int
76828 main ()
76829 {
76830 return f != $ac_func;
76831   ;
76832   return 0;
76833 }
76834 _ACEOF
76835 rm -f conftest.$ac_objext conftest$ac_exeext
76836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76837   (eval $ac_link) 2>conftest.er1
76838   ac_status=$?
76839   grep -v '^ *+' conftest.er1 >conftest.err
76840   rm -f conftest.er1
76841   cat conftest.err >&5
76842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76843   (exit $ac_status); } &&
76844          { ac_try='test -z "$ac_c_werror_flag"
76845                          || test ! -s conftest.err'
76846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76847   (eval $ac_try) 2>&5
76848   ac_status=$?
76849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76850   (exit $ac_status); }; } &&
76851          { ac_try='test -s conftest$ac_exeext'
76852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76853   (eval $ac_try) 2>&5
76854   ac_status=$?
76855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76856   (exit $ac_status); }; }; then
76857   eval "$as_ac_var=yes"
76858 else
76859   echo "$as_me: failed program was:" >&5
76860 sed 's/^/| /' conftest.$ac_ext >&5
76861
76862 eval "$as_ac_var=no"
76863 fi
76864 rm -f conftest.err conftest.$ac_objext \
76865       conftest$ac_exeext conftest.$ac_ext
76866 fi
76867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76869 if test `eval echo '${'$as_ac_var'}'` = yes; then
76870   cat >>confdefs.h <<_ACEOF
76871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76872 _ACEOF
76873
76874 fi
76875 done
76876
76877     fi
76878   fi
76879
76880
76881
76882
76883
76884
76885   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
76886 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
76887   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
76888     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
76889   echo $ECHO_N "(cached) $ECHO_C" >&6
76890 else
76891
76892
76893
76894       ac_ext=cc
76895 ac_cpp='$CXXCPP $CPPFLAGS'
76896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76899
76900       cat >conftest.$ac_ext <<_ACEOF
76901 /* confdefs.h.  */
76902 _ACEOF
76903 cat confdefs.h >>conftest.$ac_ext
76904 cat >>conftest.$ac_ext <<_ACEOF
76905 /* end confdefs.h.  */
76906 #include <math.h>
76907 int
76908 main ()
76909 {
76910  copysignl(0, 0);
76911   ;
76912   return 0;
76913 }
76914 _ACEOF
76915 rm -f conftest.$ac_objext
76916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76917   (eval $ac_compile) 2>conftest.er1
76918   ac_status=$?
76919   grep -v '^ *+' conftest.er1 >conftest.err
76920   rm -f conftest.er1
76921   cat conftest.err >&5
76922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923   (exit $ac_status); } &&
76924          { ac_try='test -z "$ac_cxx_werror_flag"
76925                          || test ! -s conftest.err'
76926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76927   (eval $ac_try) 2>&5
76928   ac_status=$?
76929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76930   (exit $ac_status); }; } &&
76931          { ac_try='test -s conftest.$ac_objext'
76932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76933   (eval $ac_try) 2>&5
76934   ac_status=$?
76935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76936   (exit $ac_status); }; }; then
76937   glibcxx_cv_func_copysignl_use=yes
76938 else
76939   echo "$as_me: failed program was:" >&5
76940 sed 's/^/| /' conftest.$ac_ext >&5
76941
76942 glibcxx_cv_func_copysignl_use=no
76943 fi
76944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76945       ac_ext=c
76946 ac_cpp='$CPP $CPPFLAGS'
76947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76950
76951
76952 fi
76953
76954   fi
76955   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76956 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76957
76958   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76959
76960 for ac_func in copysignl
76961 do
76962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76963 echo "$as_me:$LINENO: checking for $ac_func" >&5
76964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76965 if eval "test \"\${$as_ac_var+set}\" = set"; then
76966   echo $ECHO_N "(cached) $ECHO_C" >&6
76967 else
76968   if test x$gcc_no_link = xyes; then
76969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76971    { (exit 1); exit 1; }; }
76972 fi
76973 cat >conftest.$ac_ext <<_ACEOF
76974 /* confdefs.h.  */
76975 _ACEOF
76976 cat confdefs.h >>conftest.$ac_ext
76977 cat >>conftest.$ac_ext <<_ACEOF
76978 /* end confdefs.h.  */
76979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76981 #define $ac_func innocuous_$ac_func
76982
76983 /* System header to define __stub macros and hopefully few prototypes,
76984     which can conflict with char $ac_func (); below.
76985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76986     <limits.h> exists even on freestanding compilers.  */
76987
76988 #ifdef __STDC__
76989 # include <limits.h>
76990 #else
76991 # include <assert.h>
76992 #endif
76993
76994 #undef $ac_func
76995
76996 /* Override any gcc2 internal prototype to avoid an error.  */
76997 #ifdef __cplusplus
76998 extern "C"
76999 {
77000 #endif
77001 /* We use char because int might match the return type of a gcc2
77002    builtin and then its argument prototype would still apply.  */
77003 char $ac_func ();
77004 /* The GNU C library defines this for functions which it implements
77005     to always fail with ENOSYS.  Some functions are actually named
77006     something starting with __ and the normal name is an alias.  */
77007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77008 choke me
77009 #else
77010 char (*f) () = $ac_func;
77011 #endif
77012 #ifdef __cplusplus
77013 }
77014 #endif
77015
77016 int
77017 main ()
77018 {
77019 return f != $ac_func;
77020   ;
77021   return 0;
77022 }
77023 _ACEOF
77024 rm -f conftest.$ac_objext conftest$ac_exeext
77025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77026   (eval $ac_link) 2>conftest.er1
77027   ac_status=$?
77028   grep -v '^ *+' conftest.er1 >conftest.err
77029   rm -f conftest.er1
77030   cat conftest.err >&5
77031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77032   (exit $ac_status); } &&
77033          { ac_try='test -z "$ac_c_werror_flag"
77034                          || test ! -s conftest.err'
77035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77036   (eval $ac_try) 2>&5
77037   ac_status=$?
77038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77039   (exit $ac_status); }; } &&
77040          { ac_try='test -s conftest$ac_exeext'
77041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77042   (eval $ac_try) 2>&5
77043   ac_status=$?
77044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77045   (exit $ac_status); }; }; then
77046   eval "$as_ac_var=yes"
77047 else
77048   echo "$as_me: failed program was:" >&5
77049 sed 's/^/| /' conftest.$ac_ext >&5
77050
77051 eval "$as_ac_var=no"
77052 fi
77053 rm -f conftest.err conftest.$ac_objext \
77054       conftest$ac_exeext conftest.$ac_ext
77055 fi
77056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77058 if test `eval echo '${'$as_ac_var'}'` = yes; then
77059   cat >>confdefs.h <<_ACEOF
77060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77061 _ACEOF
77062
77063 fi
77064 done
77065
77066   else
77067
77068   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
77069 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
77070   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77071     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77072   echo $ECHO_N "(cached) $ECHO_C" >&6
77073 else
77074
77075
77076
77077       ac_ext=cc
77078 ac_cpp='$CXXCPP $CPPFLAGS'
77079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77082
77083       cat >conftest.$ac_ext <<_ACEOF
77084 /* confdefs.h.  */
77085 _ACEOF
77086 cat confdefs.h >>conftest.$ac_ext
77087 cat >>conftest.$ac_ext <<_ACEOF
77088 /* end confdefs.h.  */
77089 #include <math.h>
77090 int
77091 main ()
77092 {
77093  _copysignl(0, 0);
77094   ;
77095   return 0;
77096 }
77097 _ACEOF
77098 rm -f conftest.$ac_objext
77099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77100   (eval $ac_compile) 2>conftest.er1
77101   ac_status=$?
77102   grep -v '^ *+' conftest.er1 >conftest.err
77103   rm -f conftest.er1
77104   cat conftest.err >&5
77105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77106   (exit $ac_status); } &&
77107          { ac_try='test -z "$ac_cxx_werror_flag"
77108                          || test ! -s conftest.err'
77109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77110   (eval $ac_try) 2>&5
77111   ac_status=$?
77112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77113   (exit $ac_status); }; } &&
77114          { ac_try='test -s conftest.$ac_objext'
77115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77116   (eval $ac_try) 2>&5
77117   ac_status=$?
77118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77119   (exit $ac_status); }; }; then
77120   glibcxx_cv_func__copysignl_use=yes
77121 else
77122   echo "$as_me: failed program was:" >&5
77123 sed 's/^/| /' conftest.$ac_ext >&5
77124
77125 glibcxx_cv_func__copysignl_use=no
77126 fi
77127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77128       ac_ext=c
77129 ac_cpp='$CPP $CPPFLAGS'
77130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77133
77134
77135 fi
77136
77137   fi
77138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77139 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77140
77141     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77142
77143 for ac_func in _copysignl
77144 do
77145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77146 echo "$as_me:$LINENO: checking for $ac_func" >&5
77147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77148 if eval "test \"\${$as_ac_var+set}\" = set"; then
77149   echo $ECHO_N "(cached) $ECHO_C" >&6
77150 else
77151   if test x$gcc_no_link = xyes; then
77152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77154    { (exit 1); exit 1; }; }
77155 fi
77156 cat >conftest.$ac_ext <<_ACEOF
77157 /* confdefs.h.  */
77158 _ACEOF
77159 cat confdefs.h >>conftest.$ac_ext
77160 cat >>conftest.$ac_ext <<_ACEOF
77161 /* end confdefs.h.  */
77162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77164 #define $ac_func innocuous_$ac_func
77165
77166 /* System header to define __stub macros and hopefully few prototypes,
77167     which can conflict with char $ac_func (); below.
77168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77169     <limits.h> exists even on freestanding compilers.  */
77170
77171 #ifdef __STDC__
77172 # include <limits.h>
77173 #else
77174 # include <assert.h>
77175 #endif
77176
77177 #undef $ac_func
77178
77179 /* Override any gcc2 internal prototype to avoid an error.  */
77180 #ifdef __cplusplus
77181 extern "C"
77182 {
77183 #endif
77184 /* We use char because int might match the return type of a gcc2
77185    builtin and then its argument prototype would still apply.  */
77186 char $ac_func ();
77187 /* The GNU C library defines this for functions which it implements
77188     to always fail with ENOSYS.  Some functions are actually named
77189     something starting with __ and the normal name is an alias.  */
77190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77191 choke me
77192 #else
77193 char (*f) () = $ac_func;
77194 #endif
77195 #ifdef __cplusplus
77196 }
77197 #endif
77198
77199 int
77200 main ()
77201 {
77202 return f != $ac_func;
77203   ;
77204   return 0;
77205 }
77206 _ACEOF
77207 rm -f conftest.$ac_objext conftest$ac_exeext
77208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77209   (eval $ac_link) 2>conftest.er1
77210   ac_status=$?
77211   grep -v '^ *+' conftest.er1 >conftest.err
77212   rm -f conftest.er1
77213   cat conftest.err >&5
77214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77215   (exit $ac_status); } &&
77216          { ac_try='test -z "$ac_c_werror_flag"
77217                          || test ! -s conftest.err'
77218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77219   (eval $ac_try) 2>&5
77220   ac_status=$?
77221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77222   (exit $ac_status); }; } &&
77223          { ac_try='test -s conftest$ac_exeext'
77224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77225   (eval $ac_try) 2>&5
77226   ac_status=$?
77227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77228   (exit $ac_status); }; }; then
77229   eval "$as_ac_var=yes"
77230 else
77231   echo "$as_me: failed program was:" >&5
77232 sed 's/^/| /' conftest.$ac_ext >&5
77233
77234 eval "$as_ac_var=no"
77235 fi
77236 rm -f conftest.err conftest.$ac_objext \
77237       conftest$ac_exeext conftest.$ac_ext
77238 fi
77239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77241 if test `eval echo '${'$as_ac_var'}'` = yes; then
77242   cat >>confdefs.h <<_ACEOF
77243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77244 _ACEOF
77245
77246 fi
77247 done
77248
77249     fi
77250   fi
77251
77252
77253
77254
77255
77256
77257   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
77258 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
77259   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
77260     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
77261   echo $ECHO_N "(cached) $ECHO_C" >&6
77262 else
77263
77264
77265
77266       ac_ext=cc
77267 ac_cpp='$CXXCPP $CPPFLAGS'
77268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77271
77272       cat >conftest.$ac_ext <<_ACEOF
77273 /* confdefs.h.  */
77274 _ACEOF
77275 cat confdefs.h >>conftest.$ac_ext
77276 cat >>conftest.$ac_ext <<_ACEOF
77277 /* end confdefs.h.  */
77278 #include <math.h>
77279 int
77280 main ()
77281 {
77282  atan2l(0, 0);
77283   ;
77284   return 0;
77285 }
77286 _ACEOF
77287 rm -f conftest.$ac_objext
77288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77289   (eval $ac_compile) 2>conftest.er1
77290   ac_status=$?
77291   grep -v '^ *+' conftest.er1 >conftest.err
77292   rm -f conftest.er1
77293   cat conftest.err >&5
77294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77295   (exit $ac_status); } &&
77296          { ac_try='test -z "$ac_cxx_werror_flag"
77297                          || test ! -s conftest.err'
77298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77299   (eval $ac_try) 2>&5
77300   ac_status=$?
77301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77302   (exit $ac_status); }; } &&
77303          { ac_try='test -s conftest.$ac_objext'
77304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77305   (eval $ac_try) 2>&5
77306   ac_status=$?
77307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77308   (exit $ac_status); }; }; then
77309   glibcxx_cv_func_atan2l_use=yes
77310 else
77311   echo "$as_me: failed program was:" >&5
77312 sed 's/^/| /' conftest.$ac_ext >&5
77313
77314 glibcxx_cv_func_atan2l_use=no
77315 fi
77316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77317       ac_ext=c
77318 ac_cpp='$CPP $CPPFLAGS'
77319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77322
77323
77324 fi
77325
77326   fi
77327   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
77328 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
77329
77330   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
77331
77332 for ac_func in atan2l
77333 do
77334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77335 echo "$as_me:$LINENO: checking for $ac_func" >&5
77336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77337 if eval "test \"\${$as_ac_var+set}\" = set"; then
77338   echo $ECHO_N "(cached) $ECHO_C" >&6
77339 else
77340   if test x$gcc_no_link = xyes; then
77341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77343    { (exit 1); exit 1; }; }
77344 fi
77345 cat >conftest.$ac_ext <<_ACEOF
77346 /* confdefs.h.  */
77347 _ACEOF
77348 cat confdefs.h >>conftest.$ac_ext
77349 cat >>conftest.$ac_ext <<_ACEOF
77350 /* end confdefs.h.  */
77351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77353 #define $ac_func innocuous_$ac_func
77354
77355 /* System header to define __stub macros and hopefully few prototypes,
77356     which can conflict with char $ac_func (); below.
77357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77358     <limits.h> exists even on freestanding compilers.  */
77359
77360 #ifdef __STDC__
77361 # include <limits.h>
77362 #else
77363 # include <assert.h>
77364 #endif
77365
77366 #undef $ac_func
77367
77368 /* Override any gcc2 internal prototype to avoid an error.  */
77369 #ifdef __cplusplus
77370 extern "C"
77371 {
77372 #endif
77373 /* We use char because int might match the return type of a gcc2
77374    builtin and then its argument prototype would still apply.  */
77375 char $ac_func ();
77376 /* The GNU C library defines this for functions which it implements
77377     to always fail with ENOSYS.  Some functions are actually named
77378     something starting with __ and the normal name is an alias.  */
77379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77380 choke me
77381 #else
77382 char (*f) () = $ac_func;
77383 #endif
77384 #ifdef __cplusplus
77385 }
77386 #endif
77387
77388 int
77389 main ()
77390 {
77391 return f != $ac_func;
77392   ;
77393   return 0;
77394 }
77395 _ACEOF
77396 rm -f conftest.$ac_objext conftest$ac_exeext
77397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77398   (eval $ac_link) 2>conftest.er1
77399   ac_status=$?
77400   grep -v '^ *+' conftest.er1 >conftest.err
77401   rm -f conftest.er1
77402   cat conftest.err >&5
77403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77404   (exit $ac_status); } &&
77405          { ac_try='test -z "$ac_c_werror_flag"
77406                          || test ! -s conftest.err'
77407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77408   (eval $ac_try) 2>&5
77409   ac_status=$?
77410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77411   (exit $ac_status); }; } &&
77412          { ac_try='test -s conftest$ac_exeext'
77413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77414   (eval $ac_try) 2>&5
77415   ac_status=$?
77416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77417   (exit $ac_status); }; }; then
77418   eval "$as_ac_var=yes"
77419 else
77420   echo "$as_me: failed program was:" >&5
77421 sed 's/^/| /' conftest.$ac_ext >&5
77422
77423 eval "$as_ac_var=no"
77424 fi
77425 rm -f conftest.err conftest.$ac_objext \
77426       conftest$ac_exeext conftest.$ac_ext
77427 fi
77428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77430 if test `eval echo '${'$as_ac_var'}'` = yes; then
77431   cat >>confdefs.h <<_ACEOF
77432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77433 _ACEOF
77434
77435 fi
77436 done
77437
77438   else
77439
77440   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77441 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77442   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77443     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77444   echo $ECHO_N "(cached) $ECHO_C" >&6
77445 else
77446
77447
77448
77449       ac_ext=cc
77450 ac_cpp='$CXXCPP $CPPFLAGS'
77451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77454
77455       cat >conftest.$ac_ext <<_ACEOF
77456 /* confdefs.h.  */
77457 _ACEOF
77458 cat confdefs.h >>conftest.$ac_ext
77459 cat >>conftest.$ac_ext <<_ACEOF
77460 /* end confdefs.h.  */
77461 #include <math.h>
77462 int
77463 main ()
77464 {
77465  _atan2l(0, 0);
77466   ;
77467   return 0;
77468 }
77469 _ACEOF
77470 rm -f conftest.$ac_objext
77471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77472   (eval $ac_compile) 2>conftest.er1
77473   ac_status=$?
77474   grep -v '^ *+' conftest.er1 >conftest.err
77475   rm -f conftest.er1
77476   cat conftest.err >&5
77477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77478   (exit $ac_status); } &&
77479          { ac_try='test -z "$ac_cxx_werror_flag"
77480                          || test ! -s conftest.err'
77481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77482   (eval $ac_try) 2>&5
77483   ac_status=$?
77484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77485   (exit $ac_status); }; } &&
77486          { ac_try='test -s conftest.$ac_objext'
77487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77488   (eval $ac_try) 2>&5
77489   ac_status=$?
77490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77491   (exit $ac_status); }; }; then
77492   glibcxx_cv_func__atan2l_use=yes
77493 else
77494   echo "$as_me: failed program was:" >&5
77495 sed 's/^/| /' conftest.$ac_ext >&5
77496
77497 glibcxx_cv_func__atan2l_use=no
77498 fi
77499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77500       ac_ext=c
77501 ac_cpp='$CPP $CPPFLAGS'
77502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77505
77506
77507 fi
77508
77509   fi
77510   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77511 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77512
77513     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77514
77515 for ac_func in _atan2l
77516 do
77517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77518 echo "$as_me:$LINENO: checking for $ac_func" >&5
77519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77520 if eval "test \"\${$as_ac_var+set}\" = set"; then
77521   echo $ECHO_N "(cached) $ECHO_C" >&6
77522 else
77523   if test x$gcc_no_link = xyes; then
77524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77526    { (exit 1); exit 1; }; }
77527 fi
77528 cat >conftest.$ac_ext <<_ACEOF
77529 /* confdefs.h.  */
77530 _ACEOF
77531 cat confdefs.h >>conftest.$ac_ext
77532 cat >>conftest.$ac_ext <<_ACEOF
77533 /* end confdefs.h.  */
77534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77536 #define $ac_func innocuous_$ac_func
77537
77538 /* System header to define __stub macros and hopefully few prototypes,
77539     which can conflict with char $ac_func (); below.
77540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77541     <limits.h> exists even on freestanding compilers.  */
77542
77543 #ifdef __STDC__
77544 # include <limits.h>
77545 #else
77546 # include <assert.h>
77547 #endif
77548
77549 #undef $ac_func
77550
77551 /* Override any gcc2 internal prototype to avoid an error.  */
77552 #ifdef __cplusplus
77553 extern "C"
77554 {
77555 #endif
77556 /* We use char because int might match the return type of a gcc2
77557    builtin and then its argument prototype would still apply.  */
77558 char $ac_func ();
77559 /* The GNU C library defines this for functions which it implements
77560     to always fail with ENOSYS.  Some functions are actually named
77561     something starting with __ and the normal name is an alias.  */
77562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77563 choke me
77564 #else
77565 char (*f) () = $ac_func;
77566 #endif
77567 #ifdef __cplusplus
77568 }
77569 #endif
77570
77571 int
77572 main ()
77573 {
77574 return f != $ac_func;
77575   ;
77576   return 0;
77577 }
77578 _ACEOF
77579 rm -f conftest.$ac_objext conftest$ac_exeext
77580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77581   (eval $ac_link) 2>conftest.er1
77582   ac_status=$?
77583   grep -v '^ *+' conftest.er1 >conftest.err
77584   rm -f conftest.er1
77585   cat conftest.err >&5
77586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77587   (exit $ac_status); } &&
77588          { ac_try='test -z "$ac_c_werror_flag"
77589                          || test ! -s conftest.err'
77590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77591   (eval $ac_try) 2>&5
77592   ac_status=$?
77593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77594   (exit $ac_status); }; } &&
77595          { ac_try='test -s conftest$ac_exeext'
77596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77597   (eval $ac_try) 2>&5
77598   ac_status=$?
77599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77600   (exit $ac_status); }; }; then
77601   eval "$as_ac_var=yes"
77602 else
77603   echo "$as_me: failed program was:" >&5
77604 sed 's/^/| /' conftest.$ac_ext >&5
77605
77606 eval "$as_ac_var=no"
77607 fi
77608 rm -f conftest.err conftest.$ac_objext \
77609       conftest$ac_exeext conftest.$ac_ext
77610 fi
77611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77613 if test `eval echo '${'$as_ac_var'}'` = yes; then
77614   cat >>confdefs.h <<_ACEOF
77615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77616 _ACEOF
77617
77618 fi
77619 done
77620
77621     fi
77622   fi
77623
77624
77625
77626
77627
77628
77629   echo "$as_me:$LINENO: checking for expl declaration" >&5
77630 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77631   if test x${glibcxx_cv_func_expl_use+set} != xset; then
77632     if test "${glibcxx_cv_func_expl_use+set}" = set; then
77633   echo $ECHO_N "(cached) $ECHO_C" >&6
77634 else
77635
77636
77637
77638       ac_ext=cc
77639 ac_cpp='$CXXCPP $CPPFLAGS'
77640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77643
77644       cat >conftest.$ac_ext <<_ACEOF
77645 /* confdefs.h.  */
77646 _ACEOF
77647 cat confdefs.h >>conftest.$ac_ext
77648 cat >>conftest.$ac_ext <<_ACEOF
77649 /* end confdefs.h.  */
77650 #include <math.h>
77651                       #ifdef HAVE_IEEEFP_H
77652                       #include <ieeefp.h>
77653                       #endif
77654
77655 int
77656 main ()
77657 {
77658  expl(0);
77659   ;
77660   return 0;
77661 }
77662 _ACEOF
77663 rm -f conftest.$ac_objext
77664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77665   (eval $ac_compile) 2>conftest.er1
77666   ac_status=$?
77667   grep -v '^ *+' conftest.er1 >conftest.err
77668   rm -f conftest.er1
77669   cat conftest.err >&5
77670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77671   (exit $ac_status); } &&
77672          { ac_try='test -z "$ac_cxx_werror_flag"
77673                          || test ! -s conftest.err'
77674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77675   (eval $ac_try) 2>&5
77676   ac_status=$?
77677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77678   (exit $ac_status); }; } &&
77679          { ac_try='test -s conftest.$ac_objext'
77680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77681   (eval $ac_try) 2>&5
77682   ac_status=$?
77683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684   (exit $ac_status); }; }; then
77685   glibcxx_cv_func_expl_use=yes
77686 else
77687   echo "$as_me: failed program was:" >&5
77688 sed 's/^/| /' conftest.$ac_ext >&5
77689
77690 glibcxx_cv_func_expl_use=no
77691 fi
77692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77693       ac_ext=c
77694 ac_cpp='$CPP $CPPFLAGS'
77695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77698
77699
77700 fi
77701
77702   fi
77703   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77704 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77705
77706   if test x$glibcxx_cv_func_expl_use = x"yes"; then
77707
77708 for ac_func in expl
77709 do
77710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77711 echo "$as_me:$LINENO: checking for $ac_func" >&5
77712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77713 if eval "test \"\${$as_ac_var+set}\" = set"; then
77714   echo $ECHO_N "(cached) $ECHO_C" >&6
77715 else
77716   if test x$gcc_no_link = xyes; then
77717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77719    { (exit 1); exit 1; }; }
77720 fi
77721 cat >conftest.$ac_ext <<_ACEOF
77722 /* confdefs.h.  */
77723 _ACEOF
77724 cat confdefs.h >>conftest.$ac_ext
77725 cat >>conftest.$ac_ext <<_ACEOF
77726 /* end confdefs.h.  */
77727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77729 #define $ac_func innocuous_$ac_func
77730
77731 /* System header to define __stub macros and hopefully few prototypes,
77732     which can conflict with char $ac_func (); below.
77733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77734     <limits.h> exists even on freestanding compilers.  */
77735
77736 #ifdef __STDC__
77737 # include <limits.h>
77738 #else
77739 # include <assert.h>
77740 #endif
77741
77742 #undef $ac_func
77743
77744 /* Override any gcc2 internal prototype to avoid an error.  */
77745 #ifdef __cplusplus
77746 extern "C"
77747 {
77748 #endif
77749 /* We use char because int might match the return type of a gcc2
77750    builtin and then its argument prototype would still apply.  */
77751 char $ac_func ();
77752 /* The GNU C library defines this for functions which it implements
77753     to always fail with ENOSYS.  Some functions are actually named
77754     something starting with __ and the normal name is an alias.  */
77755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77756 choke me
77757 #else
77758 char (*f) () = $ac_func;
77759 #endif
77760 #ifdef __cplusplus
77761 }
77762 #endif
77763
77764 int
77765 main ()
77766 {
77767 return f != $ac_func;
77768   ;
77769   return 0;
77770 }
77771 _ACEOF
77772 rm -f conftest.$ac_objext conftest$ac_exeext
77773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77774   (eval $ac_link) 2>conftest.er1
77775   ac_status=$?
77776   grep -v '^ *+' conftest.er1 >conftest.err
77777   rm -f conftest.er1
77778   cat conftest.err >&5
77779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77780   (exit $ac_status); } &&
77781          { ac_try='test -z "$ac_c_werror_flag"
77782                          || test ! -s conftest.err'
77783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77784   (eval $ac_try) 2>&5
77785   ac_status=$?
77786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787   (exit $ac_status); }; } &&
77788          { ac_try='test -s conftest$ac_exeext'
77789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77790   (eval $ac_try) 2>&5
77791   ac_status=$?
77792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77793   (exit $ac_status); }; }; then
77794   eval "$as_ac_var=yes"
77795 else
77796   echo "$as_me: failed program was:" >&5
77797 sed 's/^/| /' conftest.$ac_ext >&5
77798
77799 eval "$as_ac_var=no"
77800 fi
77801 rm -f conftest.err conftest.$ac_objext \
77802       conftest$ac_exeext conftest.$ac_ext
77803 fi
77804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77806 if test `eval echo '${'$as_ac_var'}'` = yes; then
77807   cat >>confdefs.h <<_ACEOF
77808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77809 _ACEOF
77810
77811 fi
77812 done
77813
77814   else
77815
77816   echo "$as_me:$LINENO: checking for _expl declaration" >&5
77817 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77818   if test x${glibcxx_cv_func__expl_use+set} != xset; then
77819     if test "${glibcxx_cv_func__expl_use+set}" = set; then
77820   echo $ECHO_N "(cached) $ECHO_C" >&6
77821 else
77822
77823
77824
77825       ac_ext=cc
77826 ac_cpp='$CXXCPP $CPPFLAGS'
77827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77830
77831       cat >conftest.$ac_ext <<_ACEOF
77832 /* confdefs.h.  */
77833 _ACEOF
77834 cat confdefs.h >>conftest.$ac_ext
77835 cat >>conftest.$ac_ext <<_ACEOF
77836 /* end confdefs.h.  */
77837 #include <math.h>
77838                       #ifdef HAVE_IEEEFP_H
77839                       #include <ieeefp.h>
77840                       #endif
77841
77842 int
77843 main ()
77844 {
77845  _expl(0);
77846   ;
77847   return 0;
77848 }
77849 _ACEOF
77850 rm -f conftest.$ac_objext
77851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77852   (eval $ac_compile) 2>conftest.er1
77853   ac_status=$?
77854   grep -v '^ *+' conftest.er1 >conftest.err
77855   rm -f conftest.er1
77856   cat conftest.err >&5
77857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77858   (exit $ac_status); } &&
77859          { ac_try='test -z "$ac_cxx_werror_flag"
77860                          || test ! -s conftest.err'
77861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77862   (eval $ac_try) 2>&5
77863   ac_status=$?
77864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77865   (exit $ac_status); }; } &&
77866          { ac_try='test -s conftest.$ac_objext'
77867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77868   (eval $ac_try) 2>&5
77869   ac_status=$?
77870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77871   (exit $ac_status); }; }; then
77872   glibcxx_cv_func__expl_use=yes
77873 else
77874   echo "$as_me: failed program was:" >&5
77875 sed 's/^/| /' conftest.$ac_ext >&5
77876
77877 glibcxx_cv_func__expl_use=no
77878 fi
77879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77880       ac_ext=c
77881 ac_cpp='$CPP $CPPFLAGS'
77882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77885
77886
77887 fi
77888
77889   fi
77890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
77891 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
77892
77893     if test x$glibcxx_cv_func__expl_use = x"yes"; then
77894
77895 for ac_func in _expl
77896 do
77897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77898 echo "$as_me:$LINENO: checking for $ac_func" >&5
77899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77900 if eval "test \"\${$as_ac_var+set}\" = set"; then
77901   echo $ECHO_N "(cached) $ECHO_C" >&6
77902 else
77903   if test x$gcc_no_link = xyes; then
77904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77906    { (exit 1); exit 1; }; }
77907 fi
77908 cat >conftest.$ac_ext <<_ACEOF
77909 /* confdefs.h.  */
77910 _ACEOF
77911 cat confdefs.h >>conftest.$ac_ext
77912 cat >>conftest.$ac_ext <<_ACEOF
77913 /* end confdefs.h.  */
77914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77916 #define $ac_func innocuous_$ac_func
77917
77918 /* System header to define __stub macros and hopefully few prototypes,
77919     which can conflict with char $ac_func (); below.
77920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77921     <limits.h> exists even on freestanding compilers.  */
77922
77923 #ifdef __STDC__
77924 # include <limits.h>
77925 #else
77926 # include <assert.h>
77927 #endif
77928
77929 #undef $ac_func
77930
77931 /* Override any gcc2 internal prototype to avoid an error.  */
77932 #ifdef __cplusplus
77933 extern "C"
77934 {
77935 #endif
77936 /* We use char because int might match the return type of a gcc2
77937    builtin and then its argument prototype would still apply.  */
77938 char $ac_func ();
77939 /* The GNU C library defines this for functions which it implements
77940     to always fail with ENOSYS.  Some functions are actually named
77941     something starting with __ and the normal name is an alias.  */
77942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77943 choke me
77944 #else
77945 char (*f) () = $ac_func;
77946 #endif
77947 #ifdef __cplusplus
77948 }
77949 #endif
77950
77951 int
77952 main ()
77953 {
77954 return f != $ac_func;
77955   ;
77956   return 0;
77957 }
77958 _ACEOF
77959 rm -f conftest.$ac_objext conftest$ac_exeext
77960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77961   (eval $ac_link) 2>conftest.er1
77962   ac_status=$?
77963   grep -v '^ *+' conftest.er1 >conftest.err
77964   rm -f conftest.er1
77965   cat conftest.err >&5
77966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77967   (exit $ac_status); } &&
77968          { ac_try='test -z "$ac_c_werror_flag"
77969                          || test ! -s conftest.err'
77970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77971   (eval $ac_try) 2>&5
77972   ac_status=$?
77973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77974   (exit $ac_status); }; } &&
77975          { ac_try='test -s conftest$ac_exeext'
77976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77977   (eval $ac_try) 2>&5
77978   ac_status=$?
77979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77980   (exit $ac_status); }; }; then
77981   eval "$as_ac_var=yes"
77982 else
77983   echo "$as_me: failed program was:" >&5
77984 sed 's/^/| /' conftest.$ac_ext >&5
77985
77986 eval "$as_ac_var=no"
77987 fi
77988 rm -f conftest.err conftest.$ac_objext \
77989       conftest$ac_exeext conftest.$ac_ext
77990 fi
77991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77993 if test `eval echo '${'$as_ac_var'}'` = yes; then
77994   cat >>confdefs.h <<_ACEOF
77995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77996 _ACEOF
77997
77998 fi
77999 done
78000
78001     fi
78002   fi
78003
78004
78005
78006
78007
78008
78009   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
78010 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
78011   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
78012     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
78013   echo $ECHO_N "(cached) $ECHO_C" >&6
78014 else
78015
78016
78017
78018       ac_ext=cc
78019 ac_cpp='$CXXCPP $CPPFLAGS'
78020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78023
78024       cat >conftest.$ac_ext <<_ACEOF
78025 /* confdefs.h.  */
78026 _ACEOF
78027 cat confdefs.h >>conftest.$ac_ext
78028 cat >>conftest.$ac_ext <<_ACEOF
78029 /* end confdefs.h.  */
78030 #include <math.h>
78031                       #ifdef HAVE_IEEEFP_H
78032                       #include <ieeefp.h>
78033                       #endif
78034
78035 int
78036 main ()
78037 {
78038  fabsl(0);
78039   ;
78040   return 0;
78041 }
78042 _ACEOF
78043 rm -f conftest.$ac_objext
78044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78045   (eval $ac_compile) 2>conftest.er1
78046   ac_status=$?
78047   grep -v '^ *+' conftest.er1 >conftest.err
78048   rm -f conftest.er1
78049   cat conftest.err >&5
78050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78051   (exit $ac_status); } &&
78052          { ac_try='test -z "$ac_cxx_werror_flag"
78053                          || test ! -s conftest.err'
78054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055   (eval $ac_try) 2>&5
78056   ac_status=$?
78057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058   (exit $ac_status); }; } &&
78059          { ac_try='test -s conftest.$ac_objext'
78060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78061   (eval $ac_try) 2>&5
78062   ac_status=$?
78063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78064   (exit $ac_status); }; }; then
78065   glibcxx_cv_func_fabsl_use=yes
78066 else
78067   echo "$as_me: failed program was:" >&5
78068 sed 's/^/| /' conftest.$ac_ext >&5
78069
78070 glibcxx_cv_func_fabsl_use=no
78071 fi
78072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78073       ac_ext=c
78074 ac_cpp='$CPP $CPPFLAGS'
78075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78078
78079
78080 fi
78081
78082   fi
78083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78084 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78085
78086   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78087
78088 for ac_func in fabsl
78089 do
78090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78091 echo "$as_me:$LINENO: checking for $ac_func" >&5
78092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78093 if eval "test \"\${$as_ac_var+set}\" = set"; then
78094   echo $ECHO_N "(cached) $ECHO_C" >&6
78095 else
78096   if test x$gcc_no_link = xyes; then
78097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78099    { (exit 1); exit 1; }; }
78100 fi
78101 cat >conftest.$ac_ext <<_ACEOF
78102 /* confdefs.h.  */
78103 _ACEOF
78104 cat confdefs.h >>conftest.$ac_ext
78105 cat >>conftest.$ac_ext <<_ACEOF
78106 /* end confdefs.h.  */
78107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78109 #define $ac_func innocuous_$ac_func
78110
78111 /* System header to define __stub macros and hopefully few prototypes,
78112     which can conflict with char $ac_func (); below.
78113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78114     <limits.h> exists even on freestanding compilers.  */
78115
78116 #ifdef __STDC__
78117 # include <limits.h>
78118 #else
78119 # include <assert.h>
78120 #endif
78121
78122 #undef $ac_func
78123
78124 /* Override any gcc2 internal prototype to avoid an error.  */
78125 #ifdef __cplusplus
78126 extern "C"
78127 {
78128 #endif
78129 /* We use char because int might match the return type of a gcc2
78130    builtin and then its argument prototype would still apply.  */
78131 char $ac_func ();
78132 /* The GNU C library defines this for functions which it implements
78133     to always fail with ENOSYS.  Some functions are actually named
78134     something starting with __ and the normal name is an alias.  */
78135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78136 choke me
78137 #else
78138 char (*f) () = $ac_func;
78139 #endif
78140 #ifdef __cplusplus
78141 }
78142 #endif
78143
78144 int
78145 main ()
78146 {
78147 return f != $ac_func;
78148   ;
78149   return 0;
78150 }
78151 _ACEOF
78152 rm -f conftest.$ac_objext conftest$ac_exeext
78153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78154   (eval $ac_link) 2>conftest.er1
78155   ac_status=$?
78156   grep -v '^ *+' conftest.er1 >conftest.err
78157   rm -f conftest.er1
78158   cat conftest.err >&5
78159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160   (exit $ac_status); } &&
78161          { ac_try='test -z "$ac_c_werror_flag"
78162                          || test ! -s conftest.err'
78163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78164   (eval $ac_try) 2>&5
78165   ac_status=$?
78166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78167   (exit $ac_status); }; } &&
78168          { ac_try='test -s conftest$ac_exeext'
78169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78170   (eval $ac_try) 2>&5
78171   ac_status=$?
78172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78173   (exit $ac_status); }; }; then
78174   eval "$as_ac_var=yes"
78175 else
78176   echo "$as_me: failed program was:" >&5
78177 sed 's/^/| /' conftest.$ac_ext >&5
78178
78179 eval "$as_ac_var=no"
78180 fi
78181 rm -f conftest.err conftest.$ac_objext \
78182       conftest$ac_exeext conftest.$ac_ext
78183 fi
78184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78186 if test `eval echo '${'$as_ac_var'}'` = yes; then
78187   cat >>confdefs.h <<_ACEOF
78188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78189 _ACEOF
78190
78191 fi
78192 done
78193
78194   else
78195
78196   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
78197 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
78198   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
78199     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
78200   echo $ECHO_N "(cached) $ECHO_C" >&6
78201 else
78202
78203
78204
78205       ac_ext=cc
78206 ac_cpp='$CXXCPP $CPPFLAGS'
78207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78210
78211       cat >conftest.$ac_ext <<_ACEOF
78212 /* confdefs.h.  */
78213 _ACEOF
78214 cat confdefs.h >>conftest.$ac_ext
78215 cat >>conftest.$ac_ext <<_ACEOF
78216 /* end confdefs.h.  */
78217 #include <math.h>
78218                       #ifdef HAVE_IEEEFP_H
78219                       #include <ieeefp.h>
78220                       #endif
78221
78222 int
78223 main ()
78224 {
78225  _fabsl(0);
78226   ;
78227   return 0;
78228 }
78229 _ACEOF
78230 rm -f conftest.$ac_objext
78231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78232   (eval $ac_compile) 2>conftest.er1
78233   ac_status=$?
78234   grep -v '^ *+' conftest.er1 >conftest.err
78235   rm -f conftest.er1
78236   cat conftest.err >&5
78237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78238   (exit $ac_status); } &&
78239          { ac_try='test -z "$ac_cxx_werror_flag"
78240                          || test ! -s conftest.err'
78241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78242   (eval $ac_try) 2>&5
78243   ac_status=$?
78244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78245   (exit $ac_status); }; } &&
78246          { ac_try='test -s conftest.$ac_objext'
78247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78248   (eval $ac_try) 2>&5
78249   ac_status=$?
78250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251   (exit $ac_status); }; }; then
78252   glibcxx_cv_func__fabsl_use=yes
78253 else
78254   echo "$as_me: failed program was:" >&5
78255 sed 's/^/| /' conftest.$ac_ext >&5
78256
78257 glibcxx_cv_func__fabsl_use=no
78258 fi
78259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78260       ac_ext=c
78261 ac_cpp='$CPP $CPPFLAGS'
78262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78265
78266
78267 fi
78268
78269   fi
78270   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
78271 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
78272
78273     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
78274
78275 for ac_func in _fabsl
78276 do
78277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78278 echo "$as_me:$LINENO: checking for $ac_func" >&5
78279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78280 if eval "test \"\${$as_ac_var+set}\" = set"; then
78281   echo $ECHO_N "(cached) $ECHO_C" >&6
78282 else
78283   if test x$gcc_no_link = xyes; then
78284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78286    { (exit 1); exit 1; }; }
78287 fi
78288 cat >conftest.$ac_ext <<_ACEOF
78289 /* confdefs.h.  */
78290 _ACEOF
78291 cat confdefs.h >>conftest.$ac_ext
78292 cat >>conftest.$ac_ext <<_ACEOF
78293 /* end confdefs.h.  */
78294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78296 #define $ac_func innocuous_$ac_func
78297
78298 /* System header to define __stub macros and hopefully few prototypes,
78299     which can conflict with char $ac_func (); below.
78300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78301     <limits.h> exists even on freestanding compilers.  */
78302
78303 #ifdef __STDC__
78304 # include <limits.h>
78305 #else
78306 # include <assert.h>
78307 #endif
78308
78309 #undef $ac_func
78310
78311 /* Override any gcc2 internal prototype to avoid an error.  */
78312 #ifdef __cplusplus
78313 extern "C"
78314 {
78315 #endif
78316 /* We use char because int might match the return type of a gcc2
78317    builtin and then its argument prototype would still apply.  */
78318 char $ac_func ();
78319 /* The GNU C library defines this for functions which it implements
78320     to always fail with ENOSYS.  Some functions are actually named
78321     something starting with __ and the normal name is an alias.  */
78322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78323 choke me
78324 #else
78325 char (*f) () = $ac_func;
78326 #endif
78327 #ifdef __cplusplus
78328 }
78329 #endif
78330
78331 int
78332 main ()
78333 {
78334 return f != $ac_func;
78335   ;
78336   return 0;
78337 }
78338 _ACEOF
78339 rm -f conftest.$ac_objext conftest$ac_exeext
78340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78341   (eval $ac_link) 2>conftest.er1
78342   ac_status=$?
78343   grep -v '^ *+' conftest.er1 >conftest.err
78344   rm -f conftest.er1
78345   cat conftest.err >&5
78346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78347   (exit $ac_status); } &&
78348          { ac_try='test -z "$ac_c_werror_flag"
78349                          || test ! -s conftest.err'
78350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78351   (eval $ac_try) 2>&5
78352   ac_status=$?
78353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78354   (exit $ac_status); }; } &&
78355          { ac_try='test -s conftest$ac_exeext'
78356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78357   (eval $ac_try) 2>&5
78358   ac_status=$?
78359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78360   (exit $ac_status); }; }; then
78361   eval "$as_ac_var=yes"
78362 else
78363   echo "$as_me: failed program was:" >&5
78364 sed 's/^/| /' conftest.$ac_ext >&5
78365
78366 eval "$as_ac_var=no"
78367 fi
78368 rm -f conftest.err conftest.$ac_objext \
78369       conftest$ac_exeext conftest.$ac_ext
78370 fi
78371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78373 if test `eval echo '${'$as_ac_var'}'` = yes; then
78374   cat >>confdefs.h <<_ACEOF
78375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78376 _ACEOF
78377
78378 fi
78379 done
78380
78381     fi
78382   fi
78383
78384
78385
78386
78387
78388
78389   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78390 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78391   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78392     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78393   echo $ECHO_N "(cached) $ECHO_C" >&6
78394 else
78395
78396
78397
78398       ac_ext=cc
78399 ac_cpp='$CXXCPP $CPPFLAGS'
78400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78403
78404       cat >conftest.$ac_ext <<_ACEOF
78405 /* confdefs.h.  */
78406 _ACEOF
78407 cat confdefs.h >>conftest.$ac_ext
78408 cat >>conftest.$ac_ext <<_ACEOF
78409 /* end confdefs.h.  */
78410 #include <math.h>
78411 int
78412 main ()
78413 {
78414  fmodl(0, 0);
78415   ;
78416   return 0;
78417 }
78418 _ACEOF
78419 rm -f conftest.$ac_objext
78420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78421   (eval $ac_compile) 2>conftest.er1
78422   ac_status=$?
78423   grep -v '^ *+' conftest.er1 >conftest.err
78424   rm -f conftest.er1
78425   cat conftest.err >&5
78426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78427   (exit $ac_status); } &&
78428          { ac_try='test -z "$ac_cxx_werror_flag"
78429                          || test ! -s conftest.err'
78430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78431   (eval $ac_try) 2>&5
78432   ac_status=$?
78433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434   (exit $ac_status); }; } &&
78435          { ac_try='test -s conftest.$ac_objext'
78436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78437   (eval $ac_try) 2>&5
78438   ac_status=$?
78439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78440   (exit $ac_status); }; }; then
78441   glibcxx_cv_func_fmodl_use=yes
78442 else
78443   echo "$as_me: failed program was:" >&5
78444 sed 's/^/| /' conftest.$ac_ext >&5
78445
78446 glibcxx_cv_func_fmodl_use=no
78447 fi
78448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78449       ac_ext=c
78450 ac_cpp='$CPP $CPPFLAGS'
78451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78454
78455
78456 fi
78457
78458   fi
78459   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78460 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78461
78462   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78463
78464 for ac_func in fmodl
78465 do
78466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78467 echo "$as_me:$LINENO: checking for $ac_func" >&5
78468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78469 if eval "test \"\${$as_ac_var+set}\" = set"; then
78470   echo $ECHO_N "(cached) $ECHO_C" >&6
78471 else
78472   if test x$gcc_no_link = xyes; then
78473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78475    { (exit 1); exit 1; }; }
78476 fi
78477 cat >conftest.$ac_ext <<_ACEOF
78478 /* confdefs.h.  */
78479 _ACEOF
78480 cat confdefs.h >>conftest.$ac_ext
78481 cat >>conftest.$ac_ext <<_ACEOF
78482 /* end confdefs.h.  */
78483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78485 #define $ac_func innocuous_$ac_func
78486
78487 /* System header to define __stub macros and hopefully few prototypes,
78488     which can conflict with char $ac_func (); below.
78489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78490     <limits.h> exists even on freestanding compilers.  */
78491
78492 #ifdef __STDC__
78493 # include <limits.h>
78494 #else
78495 # include <assert.h>
78496 #endif
78497
78498 #undef $ac_func
78499
78500 /* Override any gcc2 internal prototype to avoid an error.  */
78501 #ifdef __cplusplus
78502 extern "C"
78503 {
78504 #endif
78505 /* We use char because int might match the return type of a gcc2
78506    builtin and then its argument prototype would still apply.  */
78507 char $ac_func ();
78508 /* The GNU C library defines this for functions which it implements
78509     to always fail with ENOSYS.  Some functions are actually named
78510     something starting with __ and the normal name is an alias.  */
78511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78512 choke me
78513 #else
78514 char (*f) () = $ac_func;
78515 #endif
78516 #ifdef __cplusplus
78517 }
78518 #endif
78519
78520 int
78521 main ()
78522 {
78523 return f != $ac_func;
78524   ;
78525   return 0;
78526 }
78527 _ACEOF
78528 rm -f conftest.$ac_objext conftest$ac_exeext
78529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78530   (eval $ac_link) 2>conftest.er1
78531   ac_status=$?
78532   grep -v '^ *+' conftest.er1 >conftest.err
78533   rm -f conftest.er1
78534   cat conftest.err >&5
78535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78536   (exit $ac_status); } &&
78537          { ac_try='test -z "$ac_c_werror_flag"
78538                          || test ! -s conftest.err'
78539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78540   (eval $ac_try) 2>&5
78541   ac_status=$?
78542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78543   (exit $ac_status); }; } &&
78544          { ac_try='test -s conftest$ac_exeext'
78545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78546   (eval $ac_try) 2>&5
78547   ac_status=$?
78548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78549   (exit $ac_status); }; }; then
78550   eval "$as_ac_var=yes"
78551 else
78552   echo "$as_me: failed program was:" >&5
78553 sed 's/^/| /' conftest.$ac_ext >&5
78554
78555 eval "$as_ac_var=no"
78556 fi
78557 rm -f conftest.err conftest.$ac_objext \
78558       conftest$ac_exeext conftest.$ac_ext
78559 fi
78560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78562 if test `eval echo '${'$as_ac_var'}'` = yes; then
78563   cat >>confdefs.h <<_ACEOF
78564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78565 _ACEOF
78566
78567 fi
78568 done
78569
78570   else
78571
78572   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78573 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78574   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78575     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78576   echo $ECHO_N "(cached) $ECHO_C" >&6
78577 else
78578
78579
78580
78581       ac_ext=cc
78582 ac_cpp='$CXXCPP $CPPFLAGS'
78583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78586
78587       cat >conftest.$ac_ext <<_ACEOF
78588 /* confdefs.h.  */
78589 _ACEOF
78590 cat confdefs.h >>conftest.$ac_ext
78591 cat >>conftest.$ac_ext <<_ACEOF
78592 /* end confdefs.h.  */
78593 #include <math.h>
78594 int
78595 main ()
78596 {
78597  _fmodl(0, 0);
78598   ;
78599   return 0;
78600 }
78601 _ACEOF
78602 rm -f conftest.$ac_objext
78603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78604   (eval $ac_compile) 2>conftest.er1
78605   ac_status=$?
78606   grep -v '^ *+' conftest.er1 >conftest.err
78607   rm -f conftest.er1
78608   cat conftest.err >&5
78609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78610   (exit $ac_status); } &&
78611          { ac_try='test -z "$ac_cxx_werror_flag"
78612                          || test ! -s conftest.err'
78613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78614   (eval $ac_try) 2>&5
78615   ac_status=$?
78616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78617   (exit $ac_status); }; } &&
78618          { ac_try='test -s conftest.$ac_objext'
78619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78620   (eval $ac_try) 2>&5
78621   ac_status=$?
78622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78623   (exit $ac_status); }; }; then
78624   glibcxx_cv_func__fmodl_use=yes
78625 else
78626   echo "$as_me: failed program was:" >&5
78627 sed 's/^/| /' conftest.$ac_ext >&5
78628
78629 glibcxx_cv_func__fmodl_use=no
78630 fi
78631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78632       ac_ext=c
78633 ac_cpp='$CPP $CPPFLAGS'
78634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78637
78638
78639 fi
78640
78641   fi
78642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78643 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78644
78645     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78646
78647 for ac_func in _fmodl
78648 do
78649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78650 echo "$as_me:$LINENO: checking for $ac_func" >&5
78651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78652 if eval "test \"\${$as_ac_var+set}\" = set"; then
78653   echo $ECHO_N "(cached) $ECHO_C" >&6
78654 else
78655   if test x$gcc_no_link = xyes; then
78656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78658    { (exit 1); exit 1; }; }
78659 fi
78660 cat >conftest.$ac_ext <<_ACEOF
78661 /* confdefs.h.  */
78662 _ACEOF
78663 cat confdefs.h >>conftest.$ac_ext
78664 cat >>conftest.$ac_ext <<_ACEOF
78665 /* end confdefs.h.  */
78666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78668 #define $ac_func innocuous_$ac_func
78669
78670 /* System header to define __stub macros and hopefully few prototypes,
78671     which can conflict with char $ac_func (); below.
78672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78673     <limits.h> exists even on freestanding compilers.  */
78674
78675 #ifdef __STDC__
78676 # include <limits.h>
78677 #else
78678 # include <assert.h>
78679 #endif
78680
78681 #undef $ac_func
78682
78683 /* Override any gcc2 internal prototype to avoid an error.  */
78684 #ifdef __cplusplus
78685 extern "C"
78686 {
78687 #endif
78688 /* We use char because int might match the return type of a gcc2
78689    builtin and then its argument prototype would still apply.  */
78690 char $ac_func ();
78691 /* The GNU C library defines this for functions which it implements
78692     to always fail with ENOSYS.  Some functions are actually named
78693     something starting with __ and the normal name is an alias.  */
78694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78695 choke me
78696 #else
78697 char (*f) () = $ac_func;
78698 #endif
78699 #ifdef __cplusplus
78700 }
78701 #endif
78702
78703 int
78704 main ()
78705 {
78706 return f != $ac_func;
78707   ;
78708   return 0;
78709 }
78710 _ACEOF
78711 rm -f conftest.$ac_objext conftest$ac_exeext
78712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78713   (eval $ac_link) 2>conftest.er1
78714   ac_status=$?
78715   grep -v '^ *+' conftest.er1 >conftest.err
78716   rm -f conftest.er1
78717   cat conftest.err >&5
78718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78719   (exit $ac_status); } &&
78720          { ac_try='test -z "$ac_c_werror_flag"
78721                          || test ! -s conftest.err'
78722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78723   (eval $ac_try) 2>&5
78724   ac_status=$?
78725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78726   (exit $ac_status); }; } &&
78727          { ac_try='test -s conftest$ac_exeext'
78728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78729   (eval $ac_try) 2>&5
78730   ac_status=$?
78731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78732   (exit $ac_status); }; }; then
78733   eval "$as_ac_var=yes"
78734 else
78735   echo "$as_me: failed program was:" >&5
78736 sed 's/^/| /' conftest.$ac_ext >&5
78737
78738 eval "$as_ac_var=no"
78739 fi
78740 rm -f conftest.err conftest.$ac_objext \
78741       conftest$ac_exeext conftest.$ac_ext
78742 fi
78743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78745 if test `eval echo '${'$as_ac_var'}'` = yes; then
78746   cat >>confdefs.h <<_ACEOF
78747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78748 _ACEOF
78749
78750 fi
78751 done
78752
78753     fi
78754   fi
78755
78756
78757
78758
78759
78760
78761   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78762 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78763   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78764     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78765   echo $ECHO_N "(cached) $ECHO_C" >&6
78766 else
78767
78768
78769
78770       ac_ext=cc
78771 ac_cpp='$CXXCPP $CPPFLAGS'
78772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78775
78776       cat >conftest.$ac_ext <<_ACEOF
78777 /* confdefs.h.  */
78778 _ACEOF
78779 cat confdefs.h >>conftest.$ac_ext
78780 cat >>conftest.$ac_ext <<_ACEOF
78781 /* end confdefs.h.  */
78782 #include <math.h>
78783 int
78784 main ()
78785 {
78786  frexpl(0, 0);
78787   ;
78788   return 0;
78789 }
78790 _ACEOF
78791 rm -f conftest.$ac_objext
78792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78793   (eval $ac_compile) 2>conftest.er1
78794   ac_status=$?
78795   grep -v '^ *+' conftest.er1 >conftest.err
78796   rm -f conftest.er1
78797   cat conftest.err >&5
78798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78799   (exit $ac_status); } &&
78800          { ac_try='test -z "$ac_cxx_werror_flag"
78801                          || test ! -s conftest.err'
78802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78803   (eval $ac_try) 2>&5
78804   ac_status=$?
78805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78806   (exit $ac_status); }; } &&
78807          { ac_try='test -s conftest.$ac_objext'
78808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78809   (eval $ac_try) 2>&5
78810   ac_status=$?
78811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78812   (exit $ac_status); }; }; then
78813   glibcxx_cv_func_frexpl_use=yes
78814 else
78815   echo "$as_me: failed program was:" >&5
78816 sed 's/^/| /' conftest.$ac_ext >&5
78817
78818 glibcxx_cv_func_frexpl_use=no
78819 fi
78820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78821       ac_ext=c
78822 ac_cpp='$CPP $CPPFLAGS'
78823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78826
78827
78828 fi
78829
78830   fi
78831   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78832 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78833
78834   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78835
78836 for ac_func in frexpl
78837 do
78838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78839 echo "$as_me:$LINENO: checking for $ac_func" >&5
78840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78841 if eval "test \"\${$as_ac_var+set}\" = set"; then
78842   echo $ECHO_N "(cached) $ECHO_C" >&6
78843 else
78844   if test x$gcc_no_link = xyes; then
78845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78847    { (exit 1); exit 1; }; }
78848 fi
78849 cat >conftest.$ac_ext <<_ACEOF
78850 /* confdefs.h.  */
78851 _ACEOF
78852 cat confdefs.h >>conftest.$ac_ext
78853 cat >>conftest.$ac_ext <<_ACEOF
78854 /* end confdefs.h.  */
78855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78857 #define $ac_func innocuous_$ac_func
78858
78859 /* System header to define __stub macros and hopefully few prototypes,
78860     which can conflict with char $ac_func (); below.
78861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78862     <limits.h> exists even on freestanding compilers.  */
78863
78864 #ifdef __STDC__
78865 # include <limits.h>
78866 #else
78867 # include <assert.h>
78868 #endif
78869
78870 #undef $ac_func
78871
78872 /* Override any gcc2 internal prototype to avoid an error.  */
78873 #ifdef __cplusplus
78874 extern "C"
78875 {
78876 #endif
78877 /* We use char because int might match the return type of a gcc2
78878    builtin and then its argument prototype would still apply.  */
78879 char $ac_func ();
78880 /* The GNU C library defines this for functions which it implements
78881     to always fail with ENOSYS.  Some functions are actually named
78882     something starting with __ and the normal name is an alias.  */
78883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78884 choke me
78885 #else
78886 char (*f) () = $ac_func;
78887 #endif
78888 #ifdef __cplusplus
78889 }
78890 #endif
78891
78892 int
78893 main ()
78894 {
78895 return f != $ac_func;
78896   ;
78897   return 0;
78898 }
78899 _ACEOF
78900 rm -f conftest.$ac_objext conftest$ac_exeext
78901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78902   (eval $ac_link) 2>conftest.er1
78903   ac_status=$?
78904   grep -v '^ *+' conftest.er1 >conftest.err
78905   rm -f conftest.er1
78906   cat conftest.err >&5
78907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78908   (exit $ac_status); } &&
78909          { ac_try='test -z "$ac_c_werror_flag"
78910                          || test ! -s conftest.err'
78911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78912   (eval $ac_try) 2>&5
78913   ac_status=$?
78914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78915   (exit $ac_status); }; } &&
78916          { ac_try='test -s conftest$ac_exeext'
78917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78918   (eval $ac_try) 2>&5
78919   ac_status=$?
78920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78921   (exit $ac_status); }; }; then
78922   eval "$as_ac_var=yes"
78923 else
78924   echo "$as_me: failed program was:" >&5
78925 sed 's/^/| /' conftest.$ac_ext >&5
78926
78927 eval "$as_ac_var=no"
78928 fi
78929 rm -f conftest.err conftest.$ac_objext \
78930       conftest$ac_exeext conftest.$ac_ext
78931 fi
78932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78934 if test `eval echo '${'$as_ac_var'}'` = yes; then
78935   cat >>confdefs.h <<_ACEOF
78936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78937 _ACEOF
78938
78939 fi
78940 done
78941
78942   else
78943
78944   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78945 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78946   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78947     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78948   echo $ECHO_N "(cached) $ECHO_C" >&6
78949 else
78950
78951
78952
78953       ac_ext=cc
78954 ac_cpp='$CXXCPP $CPPFLAGS'
78955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78958
78959       cat >conftest.$ac_ext <<_ACEOF
78960 /* confdefs.h.  */
78961 _ACEOF
78962 cat confdefs.h >>conftest.$ac_ext
78963 cat >>conftest.$ac_ext <<_ACEOF
78964 /* end confdefs.h.  */
78965 #include <math.h>
78966 int
78967 main ()
78968 {
78969  _frexpl(0, 0);
78970   ;
78971   return 0;
78972 }
78973 _ACEOF
78974 rm -f conftest.$ac_objext
78975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78976   (eval $ac_compile) 2>conftest.er1
78977   ac_status=$?
78978   grep -v '^ *+' conftest.er1 >conftest.err
78979   rm -f conftest.er1
78980   cat conftest.err >&5
78981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78982   (exit $ac_status); } &&
78983          { ac_try='test -z "$ac_cxx_werror_flag"
78984                          || test ! -s conftest.err'
78985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78986   (eval $ac_try) 2>&5
78987   ac_status=$?
78988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78989   (exit $ac_status); }; } &&
78990          { ac_try='test -s conftest.$ac_objext'
78991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78992   (eval $ac_try) 2>&5
78993   ac_status=$?
78994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78995   (exit $ac_status); }; }; then
78996   glibcxx_cv_func__frexpl_use=yes
78997 else
78998   echo "$as_me: failed program was:" >&5
78999 sed 's/^/| /' conftest.$ac_ext >&5
79000
79001 glibcxx_cv_func__frexpl_use=no
79002 fi
79003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79004       ac_ext=c
79005 ac_cpp='$CPP $CPPFLAGS'
79006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79009
79010
79011 fi
79012
79013   fi
79014   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
79015 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
79016
79017     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
79018
79019 for ac_func in _frexpl
79020 do
79021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79022 echo "$as_me:$LINENO: checking for $ac_func" >&5
79023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79024 if eval "test \"\${$as_ac_var+set}\" = set"; then
79025   echo $ECHO_N "(cached) $ECHO_C" >&6
79026 else
79027   if test x$gcc_no_link = xyes; then
79028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79030    { (exit 1); exit 1; }; }
79031 fi
79032 cat >conftest.$ac_ext <<_ACEOF
79033 /* confdefs.h.  */
79034 _ACEOF
79035 cat confdefs.h >>conftest.$ac_ext
79036 cat >>conftest.$ac_ext <<_ACEOF
79037 /* end confdefs.h.  */
79038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79040 #define $ac_func innocuous_$ac_func
79041
79042 /* System header to define __stub macros and hopefully few prototypes,
79043     which can conflict with char $ac_func (); below.
79044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79045     <limits.h> exists even on freestanding compilers.  */
79046
79047 #ifdef __STDC__
79048 # include <limits.h>
79049 #else
79050 # include <assert.h>
79051 #endif
79052
79053 #undef $ac_func
79054
79055 /* Override any gcc2 internal prototype to avoid an error.  */
79056 #ifdef __cplusplus
79057 extern "C"
79058 {
79059 #endif
79060 /* We use char because int might match the return type of a gcc2
79061    builtin and then its argument prototype would still apply.  */
79062 char $ac_func ();
79063 /* The GNU C library defines this for functions which it implements
79064     to always fail with ENOSYS.  Some functions are actually named
79065     something starting with __ and the normal name is an alias.  */
79066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79067 choke me
79068 #else
79069 char (*f) () = $ac_func;
79070 #endif
79071 #ifdef __cplusplus
79072 }
79073 #endif
79074
79075 int
79076 main ()
79077 {
79078 return f != $ac_func;
79079   ;
79080   return 0;
79081 }
79082 _ACEOF
79083 rm -f conftest.$ac_objext conftest$ac_exeext
79084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79085   (eval $ac_link) 2>conftest.er1
79086   ac_status=$?
79087   grep -v '^ *+' conftest.er1 >conftest.err
79088   rm -f conftest.er1
79089   cat conftest.err >&5
79090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79091   (exit $ac_status); } &&
79092          { ac_try='test -z "$ac_c_werror_flag"
79093                          || test ! -s conftest.err'
79094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79095   (eval $ac_try) 2>&5
79096   ac_status=$?
79097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79098   (exit $ac_status); }; } &&
79099          { ac_try='test -s conftest$ac_exeext'
79100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79101   (eval $ac_try) 2>&5
79102   ac_status=$?
79103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79104   (exit $ac_status); }; }; then
79105   eval "$as_ac_var=yes"
79106 else
79107   echo "$as_me: failed program was:" >&5
79108 sed 's/^/| /' conftest.$ac_ext >&5
79109
79110 eval "$as_ac_var=no"
79111 fi
79112 rm -f conftest.err conftest.$ac_objext \
79113       conftest$ac_exeext conftest.$ac_ext
79114 fi
79115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79117 if test `eval echo '${'$as_ac_var'}'` = yes; then
79118   cat >>confdefs.h <<_ACEOF
79119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79120 _ACEOF
79121
79122 fi
79123 done
79124
79125     fi
79126   fi
79127
79128
79129
79130
79131
79132
79133   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79134 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79135   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79136     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79137   echo $ECHO_N "(cached) $ECHO_C" >&6
79138 else
79139
79140
79141
79142       ac_ext=cc
79143 ac_cpp='$CXXCPP $CPPFLAGS'
79144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79147
79148       cat >conftest.$ac_ext <<_ACEOF
79149 /* confdefs.h.  */
79150 _ACEOF
79151 cat confdefs.h >>conftest.$ac_ext
79152 cat >>conftest.$ac_ext <<_ACEOF
79153 /* end confdefs.h.  */
79154 #include <math.h>
79155 int
79156 main ()
79157 {
79158  hypotl(0, 0);
79159   ;
79160   return 0;
79161 }
79162 _ACEOF
79163 rm -f conftest.$ac_objext
79164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79165   (eval $ac_compile) 2>conftest.er1
79166   ac_status=$?
79167   grep -v '^ *+' conftest.er1 >conftest.err
79168   rm -f conftest.er1
79169   cat conftest.err >&5
79170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171   (exit $ac_status); } &&
79172          { ac_try='test -z "$ac_cxx_werror_flag"
79173                          || test ! -s conftest.err'
79174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79175   (eval $ac_try) 2>&5
79176   ac_status=$?
79177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79178   (exit $ac_status); }; } &&
79179          { ac_try='test -s conftest.$ac_objext'
79180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79181   (eval $ac_try) 2>&5
79182   ac_status=$?
79183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79184   (exit $ac_status); }; }; then
79185   glibcxx_cv_func_hypotl_use=yes
79186 else
79187   echo "$as_me: failed program was:" >&5
79188 sed 's/^/| /' conftest.$ac_ext >&5
79189
79190 glibcxx_cv_func_hypotl_use=no
79191 fi
79192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79193       ac_ext=c
79194 ac_cpp='$CPP $CPPFLAGS'
79195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79198
79199
79200 fi
79201
79202   fi
79203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
79204 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
79205
79206   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
79207
79208 for ac_func in hypotl
79209 do
79210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79211 echo "$as_me:$LINENO: checking for $ac_func" >&5
79212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79213 if eval "test \"\${$as_ac_var+set}\" = set"; then
79214   echo $ECHO_N "(cached) $ECHO_C" >&6
79215 else
79216   if test x$gcc_no_link = xyes; then
79217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79219    { (exit 1); exit 1; }; }
79220 fi
79221 cat >conftest.$ac_ext <<_ACEOF
79222 /* confdefs.h.  */
79223 _ACEOF
79224 cat confdefs.h >>conftest.$ac_ext
79225 cat >>conftest.$ac_ext <<_ACEOF
79226 /* end confdefs.h.  */
79227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79229 #define $ac_func innocuous_$ac_func
79230
79231 /* System header to define __stub macros and hopefully few prototypes,
79232     which can conflict with char $ac_func (); below.
79233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79234     <limits.h> exists even on freestanding compilers.  */
79235
79236 #ifdef __STDC__
79237 # include <limits.h>
79238 #else
79239 # include <assert.h>
79240 #endif
79241
79242 #undef $ac_func
79243
79244 /* Override any gcc2 internal prototype to avoid an error.  */
79245 #ifdef __cplusplus
79246 extern "C"
79247 {
79248 #endif
79249 /* We use char because int might match the return type of a gcc2
79250    builtin and then its argument prototype would still apply.  */
79251 char $ac_func ();
79252 /* The GNU C library defines this for functions which it implements
79253     to always fail with ENOSYS.  Some functions are actually named
79254     something starting with __ and the normal name is an alias.  */
79255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79256 choke me
79257 #else
79258 char (*f) () = $ac_func;
79259 #endif
79260 #ifdef __cplusplus
79261 }
79262 #endif
79263
79264 int
79265 main ()
79266 {
79267 return f != $ac_func;
79268   ;
79269   return 0;
79270 }
79271 _ACEOF
79272 rm -f conftest.$ac_objext conftest$ac_exeext
79273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79274   (eval $ac_link) 2>conftest.er1
79275   ac_status=$?
79276   grep -v '^ *+' conftest.er1 >conftest.err
79277   rm -f conftest.er1
79278   cat conftest.err >&5
79279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79280   (exit $ac_status); } &&
79281          { ac_try='test -z "$ac_c_werror_flag"
79282                          || test ! -s conftest.err'
79283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79284   (eval $ac_try) 2>&5
79285   ac_status=$?
79286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79287   (exit $ac_status); }; } &&
79288          { ac_try='test -s conftest$ac_exeext'
79289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79290   (eval $ac_try) 2>&5
79291   ac_status=$?
79292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79293   (exit $ac_status); }; }; then
79294   eval "$as_ac_var=yes"
79295 else
79296   echo "$as_me: failed program was:" >&5
79297 sed 's/^/| /' conftest.$ac_ext >&5
79298
79299 eval "$as_ac_var=no"
79300 fi
79301 rm -f conftest.err conftest.$ac_objext \
79302       conftest$ac_exeext conftest.$ac_ext
79303 fi
79304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79306 if test `eval echo '${'$as_ac_var'}'` = yes; then
79307   cat >>confdefs.h <<_ACEOF
79308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79309 _ACEOF
79310
79311 fi
79312 done
79313
79314   else
79315
79316   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
79317 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
79318   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
79319     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
79320   echo $ECHO_N "(cached) $ECHO_C" >&6
79321 else
79322
79323
79324
79325       ac_ext=cc
79326 ac_cpp='$CXXCPP $CPPFLAGS'
79327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79330
79331       cat >conftest.$ac_ext <<_ACEOF
79332 /* confdefs.h.  */
79333 _ACEOF
79334 cat confdefs.h >>conftest.$ac_ext
79335 cat >>conftest.$ac_ext <<_ACEOF
79336 /* end confdefs.h.  */
79337 #include <math.h>
79338 int
79339 main ()
79340 {
79341  _hypotl(0, 0);
79342   ;
79343   return 0;
79344 }
79345 _ACEOF
79346 rm -f conftest.$ac_objext
79347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79348   (eval $ac_compile) 2>conftest.er1
79349   ac_status=$?
79350   grep -v '^ *+' conftest.er1 >conftest.err
79351   rm -f conftest.er1
79352   cat conftest.err >&5
79353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79354   (exit $ac_status); } &&
79355          { ac_try='test -z "$ac_cxx_werror_flag"
79356                          || test ! -s conftest.err'
79357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79358   (eval $ac_try) 2>&5
79359   ac_status=$?
79360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79361   (exit $ac_status); }; } &&
79362          { ac_try='test -s conftest.$ac_objext'
79363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79364   (eval $ac_try) 2>&5
79365   ac_status=$?
79366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79367   (exit $ac_status); }; }; then
79368   glibcxx_cv_func__hypotl_use=yes
79369 else
79370   echo "$as_me: failed program was:" >&5
79371 sed 's/^/| /' conftest.$ac_ext >&5
79372
79373 glibcxx_cv_func__hypotl_use=no
79374 fi
79375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79376       ac_ext=c
79377 ac_cpp='$CPP $CPPFLAGS'
79378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79381
79382
79383 fi
79384
79385   fi
79386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79387 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79388
79389     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79390
79391 for ac_func in _hypotl
79392 do
79393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79394 echo "$as_me:$LINENO: checking for $ac_func" >&5
79395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79396 if eval "test \"\${$as_ac_var+set}\" = set"; then
79397   echo $ECHO_N "(cached) $ECHO_C" >&6
79398 else
79399   if test x$gcc_no_link = xyes; then
79400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79402    { (exit 1); exit 1; }; }
79403 fi
79404 cat >conftest.$ac_ext <<_ACEOF
79405 /* confdefs.h.  */
79406 _ACEOF
79407 cat confdefs.h >>conftest.$ac_ext
79408 cat >>conftest.$ac_ext <<_ACEOF
79409 /* end confdefs.h.  */
79410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79412 #define $ac_func innocuous_$ac_func
79413
79414 /* System header to define __stub macros and hopefully few prototypes,
79415     which can conflict with char $ac_func (); below.
79416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79417     <limits.h> exists even on freestanding compilers.  */
79418
79419 #ifdef __STDC__
79420 # include <limits.h>
79421 #else
79422 # include <assert.h>
79423 #endif
79424
79425 #undef $ac_func
79426
79427 /* Override any gcc2 internal prototype to avoid an error.  */
79428 #ifdef __cplusplus
79429 extern "C"
79430 {
79431 #endif
79432 /* We use char because int might match the return type of a gcc2
79433    builtin and then its argument prototype would still apply.  */
79434 char $ac_func ();
79435 /* The GNU C library defines this for functions which it implements
79436     to always fail with ENOSYS.  Some functions are actually named
79437     something starting with __ and the normal name is an alias.  */
79438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79439 choke me
79440 #else
79441 char (*f) () = $ac_func;
79442 #endif
79443 #ifdef __cplusplus
79444 }
79445 #endif
79446
79447 int
79448 main ()
79449 {
79450 return f != $ac_func;
79451   ;
79452   return 0;
79453 }
79454 _ACEOF
79455 rm -f conftest.$ac_objext conftest$ac_exeext
79456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79457   (eval $ac_link) 2>conftest.er1
79458   ac_status=$?
79459   grep -v '^ *+' conftest.er1 >conftest.err
79460   rm -f conftest.er1
79461   cat conftest.err >&5
79462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79463   (exit $ac_status); } &&
79464          { ac_try='test -z "$ac_c_werror_flag"
79465                          || test ! -s conftest.err'
79466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79467   (eval $ac_try) 2>&5
79468   ac_status=$?
79469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79470   (exit $ac_status); }; } &&
79471          { ac_try='test -s conftest$ac_exeext'
79472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79473   (eval $ac_try) 2>&5
79474   ac_status=$?
79475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79476   (exit $ac_status); }; }; then
79477   eval "$as_ac_var=yes"
79478 else
79479   echo "$as_me: failed program was:" >&5
79480 sed 's/^/| /' conftest.$ac_ext >&5
79481
79482 eval "$as_ac_var=no"
79483 fi
79484 rm -f conftest.err conftest.$ac_objext \
79485       conftest$ac_exeext conftest.$ac_ext
79486 fi
79487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79489 if test `eval echo '${'$as_ac_var'}'` = yes; then
79490   cat >>confdefs.h <<_ACEOF
79491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79492 _ACEOF
79493
79494 fi
79495 done
79496
79497     fi
79498   fi
79499
79500
79501
79502
79503
79504
79505   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79506 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79507   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79508     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79509   echo $ECHO_N "(cached) $ECHO_C" >&6
79510 else
79511
79512
79513
79514       ac_ext=cc
79515 ac_cpp='$CXXCPP $CPPFLAGS'
79516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79519
79520       cat >conftest.$ac_ext <<_ACEOF
79521 /* confdefs.h.  */
79522 _ACEOF
79523 cat confdefs.h >>conftest.$ac_ext
79524 cat >>conftest.$ac_ext <<_ACEOF
79525 /* end confdefs.h.  */
79526 #include <math.h>
79527 int
79528 main ()
79529 {
79530  ldexpl(0, 0);
79531   ;
79532   return 0;
79533 }
79534 _ACEOF
79535 rm -f conftest.$ac_objext
79536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79537   (eval $ac_compile) 2>conftest.er1
79538   ac_status=$?
79539   grep -v '^ *+' conftest.er1 >conftest.err
79540   rm -f conftest.er1
79541   cat conftest.err >&5
79542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79543   (exit $ac_status); } &&
79544          { ac_try='test -z "$ac_cxx_werror_flag"
79545                          || test ! -s conftest.err'
79546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79547   (eval $ac_try) 2>&5
79548   ac_status=$?
79549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79550   (exit $ac_status); }; } &&
79551          { ac_try='test -s conftest.$ac_objext'
79552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79553   (eval $ac_try) 2>&5
79554   ac_status=$?
79555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79556   (exit $ac_status); }; }; then
79557   glibcxx_cv_func_ldexpl_use=yes
79558 else
79559   echo "$as_me: failed program was:" >&5
79560 sed 's/^/| /' conftest.$ac_ext >&5
79561
79562 glibcxx_cv_func_ldexpl_use=no
79563 fi
79564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79565       ac_ext=c
79566 ac_cpp='$CPP $CPPFLAGS'
79567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79570
79571
79572 fi
79573
79574   fi
79575   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79576 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79577
79578   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79579
79580 for ac_func in ldexpl
79581 do
79582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79583 echo "$as_me:$LINENO: checking for $ac_func" >&5
79584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79585 if eval "test \"\${$as_ac_var+set}\" = set"; then
79586   echo $ECHO_N "(cached) $ECHO_C" >&6
79587 else
79588   if test x$gcc_no_link = xyes; then
79589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79591    { (exit 1); exit 1; }; }
79592 fi
79593 cat >conftest.$ac_ext <<_ACEOF
79594 /* confdefs.h.  */
79595 _ACEOF
79596 cat confdefs.h >>conftest.$ac_ext
79597 cat >>conftest.$ac_ext <<_ACEOF
79598 /* end confdefs.h.  */
79599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79601 #define $ac_func innocuous_$ac_func
79602
79603 /* System header to define __stub macros and hopefully few prototypes,
79604     which can conflict with char $ac_func (); below.
79605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79606     <limits.h> exists even on freestanding compilers.  */
79607
79608 #ifdef __STDC__
79609 # include <limits.h>
79610 #else
79611 # include <assert.h>
79612 #endif
79613
79614 #undef $ac_func
79615
79616 /* Override any gcc2 internal prototype to avoid an error.  */
79617 #ifdef __cplusplus
79618 extern "C"
79619 {
79620 #endif
79621 /* We use char because int might match the return type of a gcc2
79622    builtin and then its argument prototype would still apply.  */
79623 char $ac_func ();
79624 /* The GNU C library defines this for functions which it implements
79625     to always fail with ENOSYS.  Some functions are actually named
79626     something starting with __ and the normal name is an alias.  */
79627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79628 choke me
79629 #else
79630 char (*f) () = $ac_func;
79631 #endif
79632 #ifdef __cplusplus
79633 }
79634 #endif
79635
79636 int
79637 main ()
79638 {
79639 return f != $ac_func;
79640   ;
79641   return 0;
79642 }
79643 _ACEOF
79644 rm -f conftest.$ac_objext conftest$ac_exeext
79645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79646   (eval $ac_link) 2>conftest.er1
79647   ac_status=$?
79648   grep -v '^ *+' conftest.er1 >conftest.err
79649   rm -f conftest.er1
79650   cat conftest.err >&5
79651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79652   (exit $ac_status); } &&
79653          { ac_try='test -z "$ac_c_werror_flag"
79654                          || test ! -s conftest.err'
79655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656   (eval $ac_try) 2>&5
79657   ac_status=$?
79658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659   (exit $ac_status); }; } &&
79660          { ac_try='test -s conftest$ac_exeext'
79661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79662   (eval $ac_try) 2>&5
79663   ac_status=$?
79664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79665   (exit $ac_status); }; }; then
79666   eval "$as_ac_var=yes"
79667 else
79668   echo "$as_me: failed program was:" >&5
79669 sed 's/^/| /' conftest.$ac_ext >&5
79670
79671 eval "$as_ac_var=no"
79672 fi
79673 rm -f conftest.err conftest.$ac_objext \
79674       conftest$ac_exeext conftest.$ac_ext
79675 fi
79676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79678 if test `eval echo '${'$as_ac_var'}'` = yes; then
79679   cat >>confdefs.h <<_ACEOF
79680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79681 _ACEOF
79682
79683 fi
79684 done
79685
79686   else
79687
79688   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79689 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79690   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79691     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79692   echo $ECHO_N "(cached) $ECHO_C" >&6
79693 else
79694
79695
79696
79697       ac_ext=cc
79698 ac_cpp='$CXXCPP $CPPFLAGS'
79699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79702
79703       cat >conftest.$ac_ext <<_ACEOF
79704 /* confdefs.h.  */
79705 _ACEOF
79706 cat confdefs.h >>conftest.$ac_ext
79707 cat >>conftest.$ac_ext <<_ACEOF
79708 /* end confdefs.h.  */
79709 #include <math.h>
79710 int
79711 main ()
79712 {
79713  _ldexpl(0, 0);
79714   ;
79715   return 0;
79716 }
79717 _ACEOF
79718 rm -f conftest.$ac_objext
79719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79720   (eval $ac_compile) 2>conftest.er1
79721   ac_status=$?
79722   grep -v '^ *+' conftest.er1 >conftest.err
79723   rm -f conftest.er1
79724   cat conftest.err >&5
79725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79726   (exit $ac_status); } &&
79727          { ac_try='test -z "$ac_cxx_werror_flag"
79728                          || test ! -s conftest.err'
79729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79730   (eval $ac_try) 2>&5
79731   ac_status=$?
79732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79733   (exit $ac_status); }; } &&
79734          { ac_try='test -s conftest.$ac_objext'
79735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79736   (eval $ac_try) 2>&5
79737   ac_status=$?
79738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79739   (exit $ac_status); }; }; then
79740   glibcxx_cv_func__ldexpl_use=yes
79741 else
79742   echo "$as_me: failed program was:" >&5
79743 sed 's/^/| /' conftest.$ac_ext >&5
79744
79745 glibcxx_cv_func__ldexpl_use=no
79746 fi
79747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79748       ac_ext=c
79749 ac_cpp='$CPP $CPPFLAGS'
79750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79753
79754
79755 fi
79756
79757   fi
79758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79759 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79760
79761     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79762
79763 for ac_func in _ldexpl
79764 do
79765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79766 echo "$as_me:$LINENO: checking for $ac_func" >&5
79767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79768 if eval "test \"\${$as_ac_var+set}\" = set"; then
79769   echo $ECHO_N "(cached) $ECHO_C" >&6
79770 else
79771   if test x$gcc_no_link = xyes; then
79772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79774    { (exit 1); exit 1; }; }
79775 fi
79776 cat >conftest.$ac_ext <<_ACEOF
79777 /* confdefs.h.  */
79778 _ACEOF
79779 cat confdefs.h >>conftest.$ac_ext
79780 cat >>conftest.$ac_ext <<_ACEOF
79781 /* end confdefs.h.  */
79782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79784 #define $ac_func innocuous_$ac_func
79785
79786 /* System header to define __stub macros and hopefully few prototypes,
79787     which can conflict with char $ac_func (); below.
79788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79789     <limits.h> exists even on freestanding compilers.  */
79790
79791 #ifdef __STDC__
79792 # include <limits.h>
79793 #else
79794 # include <assert.h>
79795 #endif
79796
79797 #undef $ac_func
79798
79799 /* Override any gcc2 internal prototype to avoid an error.  */
79800 #ifdef __cplusplus
79801 extern "C"
79802 {
79803 #endif
79804 /* We use char because int might match the return type of a gcc2
79805    builtin and then its argument prototype would still apply.  */
79806 char $ac_func ();
79807 /* The GNU C library defines this for functions which it implements
79808     to always fail with ENOSYS.  Some functions are actually named
79809     something starting with __ and the normal name is an alias.  */
79810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79811 choke me
79812 #else
79813 char (*f) () = $ac_func;
79814 #endif
79815 #ifdef __cplusplus
79816 }
79817 #endif
79818
79819 int
79820 main ()
79821 {
79822 return f != $ac_func;
79823   ;
79824   return 0;
79825 }
79826 _ACEOF
79827 rm -f conftest.$ac_objext conftest$ac_exeext
79828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79829   (eval $ac_link) 2>conftest.er1
79830   ac_status=$?
79831   grep -v '^ *+' conftest.er1 >conftest.err
79832   rm -f conftest.er1
79833   cat conftest.err >&5
79834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79835   (exit $ac_status); } &&
79836          { ac_try='test -z "$ac_c_werror_flag"
79837                          || test ! -s conftest.err'
79838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79839   (eval $ac_try) 2>&5
79840   ac_status=$?
79841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79842   (exit $ac_status); }; } &&
79843          { ac_try='test -s conftest$ac_exeext'
79844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79845   (eval $ac_try) 2>&5
79846   ac_status=$?
79847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848   (exit $ac_status); }; }; then
79849   eval "$as_ac_var=yes"
79850 else
79851   echo "$as_me: failed program was:" >&5
79852 sed 's/^/| /' conftest.$ac_ext >&5
79853
79854 eval "$as_ac_var=no"
79855 fi
79856 rm -f conftest.err conftest.$ac_objext \
79857       conftest$ac_exeext conftest.$ac_ext
79858 fi
79859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79861 if test `eval echo '${'$as_ac_var'}'` = yes; then
79862   cat >>confdefs.h <<_ACEOF
79863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79864 _ACEOF
79865
79866 fi
79867 done
79868
79869     fi
79870   fi
79871
79872
79873
79874
79875
79876
79877   echo "$as_me:$LINENO: checking for logl declaration" >&5
79878 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
79879   if test x${glibcxx_cv_func_logl_use+set} != xset; then
79880     if test "${glibcxx_cv_func_logl_use+set}" = set; then
79881   echo $ECHO_N "(cached) $ECHO_C" >&6
79882 else
79883
79884
79885
79886       ac_ext=cc
79887 ac_cpp='$CXXCPP $CPPFLAGS'
79888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79891
79892       cat >conftest.$ac_ext <<_ACEOF
79893 /* confdefs.h.  */
79894 _ACEOF
79895 cat confdefs.h >>conftest.$ac_ext
79896 cat >>conftest.$ac_ext <<_ACEOF
79897 /* end confdefs.h.  */
79898 #include <math.h>
79899                       #ifdef HAVE_IEEEFP_H
79900                       #include <ieeefp.h>
79901                       #endif
79902
79903 int
79904 main ()
79905 {
79906  logl(0);
79907   ;
79908   return 0;
79909 }
79910 _ACEOF
79911 rm -f conftest.$ac_objext
79912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79913   (eval $ac_compile) 2>conftest.er1
79914   ac_status=$?
79915   grep -v '^ *+' conftest.er1 >conftest.err
79916   rm -f conftest.er1
79917   cat conftest.err >&5
79918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79919   (exit $ac_status); } &&
79920          { ac_try='test -z "$ac_cxx_werror_flag"
79921                          || test ! -s conftest.err'
79922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79923   (eval $ac_try) 2>&5
79924   ac_status=$?
79925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79926   (exit $ac_status); }; } &&
79927          { ac_try='test -s conftest.$ac_objext'
79928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79929   (eval $ac_try) 2>&5
79930   ac_status=$?
79931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79932   (exit $ac_status); }; }; then
79933   glibcxx_cv_func_logl_use=yes
79934 else
79935   echo "$as_me: failed program was:" >&5
79936 sed 's/^/| /' conftest.$ac_ext >&5
79937
79938 glibcxx_cv_func_logl_use=no
79939 fi
79940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79941       ac_ext=c
79942 ac_cpp='$CPP $CPPFLAGS'
79943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79946
79947
79948 fi
79949
79950   fi
79951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79952 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79953
79954   if test x$glibcxx_cv_func_logl_use = x"yes"; then
79955
79956 for ac_func in logl
79957 do
79958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79959 echo "$as_me:$LINENO: checking for $ac_func" >&5
79960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79961 if eval "test \"\${$as_ac_var+set}\" = set"; then
79962   echo $ECHO_N "(cached) $ECHO_C" >&6
79963 else
79964   if test x$gcc_no_link = xyes; then
79965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79967    { (exit 1); exit 1; }; }
79968 fi
79969 cat >conftest.$ac_ext <<_ACEOF
79970 /* confdefs.h.  */
79971 _ACEOF
79972 cat confdefs.h >>conftest.$ac_ext
79973 cat >>conftest.$ac_ext <<_ACEOF
79974 /* end confdefs.h.  */
79975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79977 #define $ac_func innocuous_$ac_func
79978
79979 /* System header to define __stub macros and hopefully few prototypes,
79980     which can conflict with char $ac_func (); below.
79981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79982     <limits.h> exists even on freestanding compilers.  */
79983
79984 #ifdef __STDC__
79985 # include <limits.h>
79986 #else
79987 # include <assert.h>
79988 #endif
79989
79990 #undef $ac_func
79991
79992 /* Override any gcc2 internal prototype to avoid an error.  */
79993 #ifdef __cplusplus
79994 extern "C"
79995 {
79996 #endif
79997 /* We use char because int might match the return type of a gcc2
79998    builtin and then its argument prototype would still apply.  */
79999 char $ac_func ();
80000 /* The GNU C library defines this for functions which it implements
80001     to always fail with ENOSYS.  Some functions are actually named
80002     something starting with __ and the normal name is an alias.  */
80003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80004 choke me
80005 #else
80006 char (*f) () = $ac_func;
80007 #endif
80008 #ifdef __cplusplus
80009 }
80010 #endif
80011
80012 int
80013 main ()
80014 {
80015 return f != $ac_func;
80016   ;
80017   return 0;
80018 }
80019 _ACEOF
80020 rm -f conftest.$ac_objext conftest$ac_exeext
80021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80022   (eval $ac_link) 2>conftest.er1
80023   ac_status=$?
80024   grep -v '^ *+' conftest.er1 >conftest.err
80025   rm -f conftest.er1
80026   cat conftest.err >&5
80027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80028   (exit $ac_status); } &&
80029          { ac_try='test -z "$ac_c_werror_flag"
80030                          || test ! -s conftest.err'
80031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80032   (eval $ac_try) 2>&5
80033   ac_status=$?
80034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80035   (exit $ac_status); }; } &&
80036          { ac_try='test -s conftest$ac_exeext'
80037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80038   (eval $ac_try) 2>&5
80039   ac_status=$?
80040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80041   (exit $ac_status); }; }; then
80042   eval "$as_ac_var=yes"
80043 else
80044   echo "$as_me: failed program was:" >&5
80045 sed 's/^/| /' conftest.$ac_ext >&5
80046
80047 eval "$as_ac_var=no"
80048 fi
80049 rm -f conftest.err conftest.$ac_objext \
80050       conftest$ac_exeext conftest.$ac_ext
80051 fi
80052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80054 if test `eval echo '${'$as_ac_var'}'` = yes; then
80055   cat >>confdefs.h <<_ACEOF
80056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80057 _ACEOF
80058
80059 fi
80060 done
80061
80062   else
80063
80064   echo "$as_me:$LINENO: checking for _logl declaration" >&5
80065 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
80066   if test x${glibcxx_cv_func__logl_use+set} != xset; then
80067     if test "${glibcxx_cv_func__logl_use+set}" = set; then
80068   echo $ECHO_N "(cached) $ECHO_C" >&6
80069 else
80070
80071
80072
80073       ac_ext=cc
80074 ac_cpp='$CXXCPP $CPPFLAGS'
80075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80078
80079       cat >conftest.$ac_ext <<_ACEOF
80080 /* confdefs.h.  */
80081 _ACEOF
80082 cat confdefs.h >>conftest.$ac_ext
80083 cat >>conftest.$ac_ext <<_ACEOF
80084 /* end confdefs.h.  */
80085 #include <math.h>
80086                       #ifdef HAVE_IEEEFP_H
80087                       #include <ieeefp.h>
80088                       #endif
80089
80090 int
80091 main ()
80092 {
80093  _logl(0);
80094   ;
80095   return 0;
80096 }
80097 _ACEOF
80098 rm -f conftest.$ac_objext
80099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80100   (eval $ac_compile) 2>conftest.er1
80101   ac_status=$?
80102   grep -v '^ *+' conftest.er1 >conftest.err
80103   rm -f conftest.er1
80104   cat conftest.err >&5
80105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80106   (exit $ac_status); } &&
80107          { ac_try='test -z "$ac_cxx_werror_flag"
80108                          || test ! -s conftest.err'
80109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80110   (eval $ac_try) 2>&5
80111   ac_status=$?
80112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80113   (exit $ac_status); }; } &&
80114          { ac_try='test -s conftest.$ac_objext'
80115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80116   (eval $ac_try) 2>&5
80117   ac_status=$?
80118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80119   (exit $ac_status); }; }; then
80120   glibcxx_cv_func__logl_use=yes
80121 else
80122   echo "$as_me: failed program was:" >&5
80123 sed 's/^/| /' conftest.$ac_ext >&5
80124
80125 glibcxx_cv_func__logl_use=no
80126 fi
80127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80128       ac_ext=c
80129 ac_cpp='$CPP $CPPFLAGS'
80130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80133
80134
80135 fi
80136
80137   fi
80138   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80139 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80140
80141     if test x$glibcxx_cv_func__logl_use = x"yes"; then
80142
80143 for ac_func in _logl
80144 do
80145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80146 echo "$as_me:$LINENO: checking for $ac_func" >&5
80147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80148 if eval "test \"\${$as_ac_var+set}\" = set"; then
80149   echo $ECHO_N "(cached) $ECHO_C" >&6
80150 else
80151   if test x$gcc_no_link = xyes; then
80152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80154    { (exit 1); exit 1; }; }
80155 fi
80156 cat >conftest.$ac_ext <<_ACEOF
80157 /* confdefs.h.  */
80158 _ACEOF
80159 cat confdefs.h >>conftest.$ac_ext
80160 cat >>conftest.$ac_ext <<_ACEOF
80161 /* end confdefs.h.  */
80162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80164 #define $ac_func innocuous_$ac_func
80165
80166 /* System header to define __stub macros and hopefully few prototypes,
80167     which can conflict with char $ac_func (); below.
80168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80169     <limits.h> exists even on freestanding compilers.  */
80170
80171 #ifdef __STDC__
80172 # include <limits.h>
80173 #else
80174 # include <assert.h>
80175 #endif
80176
80177 #undef $ac_func
80178
80179 /* Override any gcc2 internal prototype to avoid an error.  */
80180 #ifdef __cplusplus
80181 extern "C"
80182 {
80183 #endif
80184 /* We use char because int might match the return type of a gcc2
80185    builtin and then its argument prototype would still apply.  */
80186 char $ac_func ();
80187 /* The GNU C library defines this for functions which it implements
80188     to always fail with ENOSYS.  Some functions are actually named
80189     something starting with __ and the normal name is an alias.  */
80190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80191 choke me
80192 #else
80193 char (*f) () = $ac_func;
80194 #endif
80195 #ifdef __cplusplus
80196 }
80197 #endif
80198
80199 int
80200 main ()
80201 {
80202 return f != $ac_func;
80203   ;
80204   return 0;
80205 }
80206 _ACEOF
80207 rm -f conftest.$ac_objext conftest$ac_exeext
80208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80209   (eval $ac_link) 2>conftest.er1
80210   ac_status=$?
80211   grep -v '^ *+' conftest.er1 >conftest.err
80212   rm -f conftest.er1
80213   cat conftest.err >&5
80214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215   (exit $ac_status); } &&
80216          { ac_try='test -z "$ac_c_werror_flag"
80217                          || test ! -s conftest.err'
80218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80219   (eval $ac_try) 2>&5
80220   ac_status=$?
80221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80222   (exit $ac_status); }; } &&
80223          { ac_try='test -s conftest$ac_exeext'
80224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80225   (eval $ac_try) 2>&5
80226   ac_status=$?
80227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80228   (exit $ac_status); }; }; then
80229   eval "$as_ac_var=yes"
80230 else
80231   echo "$as_me: failed program was:" >&5
80232 sed 's/^/| /' conftest.$ac_ext >&5
80233
80234 eval "$as_ac_var=no"
80235 fi
80236 rm -f conftest.err conftest.$ac_objext \
80237       conftest$ac_exeext conftest.$ac_ext
80238 fi
80239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80241 if test `eval echo '${'$as_ac_var'}'` = yes; then
80242   cat >>confdefs.h <<_ACEOF
80243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80244 _ACEOF
80245
80246 fi
80247 done
80248
80249     fi
80250   fi
80251
80252
80253
80254
80255
80256
80257   echo "$as_me:$LINENO: checking for log10l declaration" >&5
80258 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
80259   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
80260     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
80261   echo $ECHO_N "(cached) $ECHO_C" >&6
80262 else
80263
80264
80265
80266       ac_ext=cc
80267 ac_cpp='$CXXCPP $CPPFLAGS'
80268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80271
80272       cat >conftest.$ac_ext <<_ACEOF
80273 /* confdefs.h.  */
80274 _ACEOF
80275 cat confdefs.h >>conftest.$ac_ext
80276 cat >>conftest.$ac_ext <<_ACEOF
80277 /* end confdefs.h.  */
80278 #include <math.h>
80279                       #ifdef HAVE_IEEEFP_H
80280                       #include <ieeefp.h>
80281                       #endif
80282
80283 int
80284 main ()
80285 {
80286  log10l(0);
80287   ;
80288   return 0;
80289 }
80290 _ACEOF
80291 rm -f conftest.$ac_objext
80292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80293   (eval $ac_compile) 2>conftest.er1
80294   ac_status=$?
80295   grep -v '^ *+' conftest.er1 >conftest.err
80296   rm -f conftest.er1
80297   cat conftest.err >&5
80298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80299   (exit $ac_status); } &&
80300          { ac_try='test -z "$ac_cxx_werror_flag"
80301                          || test ! -s conftest.err'
80302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80303   (eval $ac_try) 2>&5
80304   ac_status=$?
80305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80306   (exit $ac_status); }; } &&
80307          { ac_try='test -s conftest.$ac_objext'
80308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80309   (eval $ac_try) 2>&5
80310   ac_status=$?
80311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80312   (exit $ac_status); }; }; then
80313   glibcxx_cv_func_log10l_use=yes
80314 else
80315   echo "$as_me: failed program was:" >&5
80316 sed 's/^/| /' conftest.$ac_ext >&5
80317
80318 glibcxx_cv_func_log10l_use=no
80319 fi
80320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80321       ac_ext=c
80322 ac_cpp='$CPP $CPPFLAGS'
80323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80326
80327
80328 fi
80329
80330   fi
80331   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
80332 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
80333
80334   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
80335
80336 for ac_func in log10l
80337 do
80338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80339 echo "$as_me:$LINENO: checking for $ac_func" >&5
80340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80341 if eval "test \"\${$as_ac_var+set}\" = set"; then
80342   echo $ECHO_N "(cached) $ECHO_C" >&6
80343 else
80344   if test x$gcc_no_link = xyes; then
80345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80347    { (exit 1); exit 1; }; }
80348 fi
80349 cat >conftest.$ac_ext <<_ACEOF
80350 /* confdefs.h.  */
80351 _ACEOF
80352 cat confdefs.h >>conftest.$ac_ext
80353 cat >>conftest.$ac_ext <<_ACEOF
80354 /* end confdefs.h.  */
80355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80356    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80357 #define $ac_func innocuous_$ac_func
80358
80359 /* System header to define __stub macros and hopefully few prototypes,
80360     which can conflict with char $ac_func (); below.
80361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80362     <limits.h> exists even on freestanding compilers.  */
80363
80364 #ifdef __STDC__
80365 # include <limits.h>
80366 #else
80367 # include <assert.h>
80368 #endif
80369
80370 #undef $ac_func
80371
80372 /* Override any gcc2 internal prototype to avoid an error.  */
80373 #ifdef __cplusplus
80374 extern "C"
80375 {
80376 #endif
80377 /* We use char because int might match the return type of a gcc2
80378    builtin and then its argument prototype would still apply.  */
80379 char $ac_func ();
80380 /* The GNU C library defines this for functions which it implements
80381     to always fail with ENOSYS.  Some functions are actually named
80382     something starting with __ and the normal name is an alias.  */
80383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80384 choke me
80385 #else
80386 char (*f) () = $ac_func;
80387 #endif
80388 #ifdef __cplusplus
80389 }
80390 #endif
80391
80392 int
80393 main ()
80394 {
80395 return f != $ac_func;
80396   ;
80397   return 0;
80398 }
80399 _ACEOF
80400 rm -f conftest.$ac_objext conftest$ac_exeext
80401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80402   (eval $ac_link) 2>conftest.er1
80403   ac_status=$?
80404   grep -v '^ *+' conftest.er1 >conftest.err
80405   rm -f conftest.er1
80406   cat conftest.err >&5
80407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80408   (exit $ac_status); } &&
80409          { ac_try='test -z "$ac_c_werror_flag"
80410                          || test ! -s conftest.err'
80411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80412   (eval $ac_try) 2>&5
80413   ac_status=$?
80414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80415   (exit $ac_status); }; } &&
80416          { ac_try='test -s conftest$ac_exeext'
80417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80418   (eval $ac_try) 2>&5
80419   ac_status=$?
80420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80421   (exit $ac_status); }; }; then
80422   eval "$as_ac_var=yes"
80423 else
80424   echo "$as_me: failed program was:" >&5
80425 sed 's/^/| /' conftest.$ac_ext >&5
80426
80427 eval "$as_ac_var=no"
80428 fi
80429 rm -f conftest.err conftest.$ac_objext \
80430       conftest$ac_exeext conftest.$ac_ext
80431 fi
80432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80434 if test `eval echo '${'$as_ac_var'}'` = yes; then
80435   cat >>confdefs.h <<_ACEOF
80436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80437 _ACEOF
80438
80439 fi
80440 done
80441
80442   else
80443
80444   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80445 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80446   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80447     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80448   echo $ECHO_N "(cached) $ECHO_C" >&6
80449 else
80450
80451
80452
80453       ac_ext=cc
80454 ac_cpp='$CXXCPP $CPPFLAGS'
80455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80458
80459       cat >conftest.$ac_ext <<_ACEOF
80460 /* confdefs.h.  */
80461 _ACEOF
80462 cat confdefs.h >>conftest.$ac_ext
80463 cat >>conftest.$ac_ext <<_ACEOF
80464 /* end confdefs.h.  */
80465 #include <math.h>
80466                       #ifdef HAVE_IEEEFP_H
80467                       #include <ieeefp.h>
80468                       #endif
80469
80470 int
80471 main ()
80472 {
80473  _log10l(0);
80474   ;
80475   return 0;
80476 }
80477 _ACEOF
80478 rm -f conftest.$ac_objext
80479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80480   (eval $ac_compile) 2>conftest.er1
80481   ac_status=$?
80482   grep -v '^ *+' conftest.er1 >conftest.err
80483   rm -f conftest.er1
80484   cat conftest.err >&5
80485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80486   (exit $ac_status); } &&
80487          { ac_try='test -z "$ac_cxx_werror_flag"
80488                          || test ! -s conftest.err'
80489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80490   (eval $ac_try) 2>&5
80491   ac_status=$?
80492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80493   (exit $ac_status); }; } &&
80494          { ac_try='test -s conftest.$ac_objext'
80495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80496   (eval $ac_try) 2>&5
80497   ac_status=$?
80498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80499   (exit $ac_status); }; }; then
80500   glibcxx_cv_func__log10l_use=yes
80501 else
80502   echo "$as_me: failed program was:" >&5
80503 sed 's/^/| /' conftest.$ac_ext >&5
80504
80505 glibcxx_cv_func__log10l_use=no
80506 fi
80507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80508       ac_ext=c
80509 ac_cpp='$CPP $CPPFLAGS'
80510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80513
80514
80515 fi
80516
80517   fi
80518   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80519 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80520
80521     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80522
80523 for ac_func in _log10l
80524 do
80525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80526 echo "$as_me:$LINENO: checking for $ac_func" >&5
80527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80528 if eval "test \"\${$as_ac_var+set}\" = set"; then
80529   echo $ECHO_N "(cached) $ECHO_C" >&6
80530 else
80531   if test x$gcc_no_link = xyes; then
80532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80534    { (exit 1); exit 1; }; }
80535 fi
80536 cat >conftest.$ac_ext <<_ACEOF
80537 /* confdefs.h.  */
80538 _ACEOF
80539 cat confdefs.h >>conftest.$ac_ext
80540 cat >>conftest.$ac_ext <<_ACEOF
80541 /* end confdefs.h.  */
80542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80544 #define $ac_func innocuous_$ac_func
80545
80546 /* System header to define __stub macros and hopefully few prototypes,
80547     which can conflict with char $ac_func (); below.
80548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80549     <limits.h> exists even on freestanding compilers.  */
80550
80551 #ifdef __STDC__
80552 # include <limits.h>
80553 #else
80554 # include <assert.h>
80555 #endif
80556
80557 #undef $ac_func
80558
80559 /* Override any gcc2 internal prototype to avoid an error.  */
80560 #ifdef __cplusplus
80561 extern "C"
80562 {
80563 #endif
80564 /* We use char because int might match the return type of a gcc2
80565    builtin and then its argument prototype would still apply.  */
80566 char $ac_func ();
80567 /* The GNU C library defines this for functions which it implements
80568     to always fail with ENOSYS.  Some functions are actually named
80569     something starting with __ and the normal name is an alias.  */
80570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80571 choke me
80572 #else
80573 char (*f) () = $ac_func;
80574 #endif
80575 #ifdef __cplusplus
80576 }
80577 #endif
80578
80579 int
80580 main ()
80581 {
80582 return f != $ac_func;
80583   ;
80584   return 0;
80585 }
80586 _ACEOF
80587 rm -f conftest.$ac_objext conftest$ac_exeext
80588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80589   (eval $ac_link) 2>conftest.er1
80590   ac_status=$?
80591   grep -v '^ *+' conftest.er1 >conftest.err
80592   rm -f conftest.er1
80593   cat conftest.err >&5
80594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80595   (exit $ac_status); } &&
80596          { ac_try='test -z "$ac_c_werror_flag"
80597                          || test ! -s conftest.err'
80598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80599   (eval $ac_try) 2>&5
80600   ac_status=$?
80601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80602   (exit $ac_status); }; } &&
80603          { ac_try='test -s conftest$ac_exeext'
80604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80605   (eval $ac_try) 2>&5
80606   ac_status=$?
80607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80608   (exit $ac_status); }; }; then
80609   eval "$as_ac_var=yes"
80610 else
80611   echo "$as_me: failed program was:" >&5
80612 sed 's/^/| /' conftest.$ac_ext >&5
80613
80614 eval "$as_ac_var=no"
80615 fi
80616 rm -f conftest.err conftest.$ac_objext \
80617       conftest$ac_exeext conftest.$ac_ext
80618 fi
80619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80621 if test `eval echo '${'$as_ac_var'}'` = yes; then
80622   cat >>confdefs.h <<_ACEOF
80623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80624 _ACEOF
80625
80626 fi
80627 done
80628
80629     fi
80630   fi
80631
80632
80633
80634
80635
80636
80637   echo "$as_me:$LINENO: checking for modfl declaration" >&5
80638 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80639   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80640     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80641   echo $ECHO_N "(cached) $ECHO_C" >&6
80642 else
80643
80644
80645
80646       ac_ext=cc
80647 ac_cpp='$CXXCPP $CPPFLAGS'
80648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80651
80652       cat >conftest.$ac_ext <<_ACEOF
80653 /* confdefs.h.  */
80654 _ACEOF
80655 cat confdefs.h >>conftest.$ac_ext
80656 cat >>conftest.$ac_ext <<_ACEOF
80657 /* end confdefs.h.  */
80658 #include <math.h>
80659 int
80660 main ()
80661 {
80662  modfl(0, 0);
80663   ;
80664   return 0;
80665 }
80666 _ACEOF
80667 rm -f conftest.$ac_objext
80668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80669   (eval $ac_compile) 2>conftest.er1
80670   ac_status=$?
80671   grep -v '^ *+' conftest.er1 >conftest.err
80672   rm -f conftest.er1
80673   cat conftest.err >&5
80674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80675   (exit $ac_status); } &&
80676          { ac_try='test -z "$ac_cxx_werror_flag"
80677                          || test ! -s conftest.err'
80678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80679   (eval $ac_try) 2>&5
80680   ac_status=$?
80681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682   (exit $ac_status); }; } &&
80683          { ac_try='test -s conftest.$ac_objext'
80684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80685   (eval $ac_try) 2>&5
80686   ac_status=$?
80687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80688   (exit $ac_status); }; }; then
80689   glibcxx_cv_func_modfl_use=yes
80690 else
80691   echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80693
80694 glibcxx_cv_func_modfl_use=no
80695 fi
80696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80697       ac_ext=c
80698 ac_cpp='$CPP $CPPFLAGS'
80699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80702
80703
80704 fi
80705
80706   fi
80707   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80708 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80709
80710   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80711
80712 for ac_func in modfl
80713 do
80714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80715 echo "$as_me:$LINENO: checking for $ac_func" >&5
80716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80717 if eval "test \"\${$as_ac_var+set}\" = set"; then
80718   echo $ECHO_N "(cached) $ECHO_C" >&6
80719 else
80720   if test x$gcc_no_link = xyes; then
80721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80723    { (exit 1); exit 1; }; }
80724 fi
80725 cat >conftest.$ac_ext <<_ACEOF
80726 /* confdefs.h.  */
80727 _ACEOF
80728 cat confdefs.h >>conftest.$ac_ext
80729 cat >>conftest.$ac_ext <<_ACEOF
80730 /* end confdefs.h.  */
80731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80733 #define $ac_func innocuous_$ac_func
80734
80735 /* System header to define __stub macros and hopefully few prototypes,
80736     which can conflict with char $ac_func (); below.
80737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80738     <limits.h> exists even on freestanding compilers.  */
80739
80740 #ifdef __STDC__
80741 # include <limits.h>
80742 #else
80743 # include <assert.h>
80744 #endif
80745
80746 #undef $ac_func
80747
80748 /* Override any gcc2 internal prototype to avoid an error.  */
80749 #ifdef __cplusplus
80750 extern "C"
80751 {
80752 #endif
80753 /* We use char because int might match the return type of a gcc2
80754    builtin and then its argument prototype would still apply.  */
80755 char $ac_func ();
80756 /* The GNU C library defines this for functions which it implements
80757     to always fail with ENOSYS.  Some functions are actually named
80758     something starting with __ and the normal name is an alias.  */
80759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80760 choke me
80761 #else
80762 char (*f) () = $ac_func;
80763 #endif
80764 #ifdef __cplusplus
80765 }
80766 #endif
80767
80768 int
80769 main ()
80770 {
80771 return f != $ac_func;
80772   ;
80773   return 0;
80774 }
80775 _ACEOF
80776 rm -f conftest.$ac_objext conftest$ac_exeext
80777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80778   (eval $ac_link) 2>conftest.er1
80779   ac_status=$?
80780   grep -v '^ *+' conftest.er1 >conftest.err
80781   rm -f conftest.er1
80782   cat conftest.err >&5
80783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80784   (exit $ac_status); } &&
80785          { ac_try='test -z "$ac_c_werror_flag"
80786                          || test ! -s conftest.err'
80787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80788   (eval $ac_try) 2>&5
80789   ac_status=$?
80790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80791   (exit $ac_status); }; } &&
80792          { ac_try='test -s conftest$ac_exeext'
80793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80794   (eval $ac_try) 2>&5
80795   ac_status=$?
80796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80797   (exit $ac_status); }; }; then
80798   eval "$as_ac_var=yes"
80799 else
80800   echo "$as_me: failed program was:" >&5
80801 sed 's/^/| /' conftest.$ac_ext >&5
80802
80803 eval "$as_ac_var=no"
80804 fi
80805 rm -f conftest.err conftest.$ac_objext \
80806       conftest$ac_exeext conftest.$ac_ext
80807 fi
80808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80810 if test `eval echo '${'$as_ac_var'}'` = yes; then
80811   cat >>confdefs.h <<_ACEOF
80812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80813 _ACEOF
80814
80815 fi
80816 done
80817
80818   else
80819
80820   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80821 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80822   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80823     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80824   echo $ECHO_N "(cached) $ECHO_C" >&6
80825 else
80826
80827
80828
80829       ac_ext=cc
80830 ac_cpp='$CXXCPP $CPPFLAGS'
80831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80834
80835       cat >conftest.$ac_ext <<_ACEOF
80836 /* confdefs.h.  */
80837 _ACEOF
80838 cat confdefs.h >>conftest.$ac_ext
80839 cat >>conftest.$ac_ext <<_ACEOF
80840 /* end confdefs.h.  */
80841 #include <math.h>
80842 int
80843 main ()
80844 {
80845  _modfl(0, 0);
80846   ;
80847   return 0;
80848 }
80849 _ACEOF
80850 rm -f conftest.$ac_objext
80851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80852   (eval $ac_compile) 2>conftest.er1
80853   ac_status=$?
80854   grep -v '^ *+' conftest.er1 >conftest.err
80855   rm -f conftest.er1
80856   cat conftest.err >&5
80857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80858   (exit $ac_status); } &&
80859          { ac_try='test -z "$ac_cxx_werror_flag"
80860                          || test ! -s conftest.err'
80861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80862   (eval $ac_try) 2>&5
80863   ac_status=$?
80864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80865   (exit $ac_status); }; } &&
80866          { ac_try='test -s conftest.$ac_objext'
80867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80868   (eval $ac_try) 2>&5
80869   ac_status=$?
80870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80871   (exit $ac_status); }; }; then
80872   glibcxx_cv_func__modfl_use=yes
80873 else
80874   echo "$as_me: failed program was:" >&5
80875 sed 's/^/| /' conftest.$ac_ext >&5
80876
80877 glibcxx_cv_func__modfl_use=no
80878 fi
80879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80880       ac_ext=c
80881 ac_cpp='$CPP $CPPFLAGS'
80882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80885
80886
80887 fi
80888
80889   fi
80890   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
80891 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
80892
80893     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
80894
80895 for ac_func in _modfl
80896 do
80897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80898 echo "$as_me:$LINENO: checking for $ac_func" >&5
80899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80900 if eval "test \"\${$as_ac_var+set}\" = set"; then
80901   echo $ECHO_N "(cached) $ECHO_C" >&6
80902 else
80903   if test x$gcc_no_link = xyes; then
80904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80906    { (exit 1); exit 1; }; }
80907 fi
80908 cat >conftest.$ac_ext <<_ACEOF
80909 /* confdefs.h.  */
80910 _ACEOF
80911 cat confdefs.h >>conftest.$ac_ext
80912 cat >>conftest.$ac_ext <<_ACEOF
80913 /* end confdefs.h.  */
80914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80916 #define $ac_func innocuous_$ac_func
80917
80918 /* System header to define __stub macros and hopefully few prototypes,
80919     which can conflict with char $ac_func (); below.
80920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80921     <limits.h> exists even on freestanding compilers.  */
80922
80923 #ifdef __STDC__
80924 # include <limits.h>
80925 #else
80926 # include <assert.h>
80927 #endif
80928
80929 #undef $ac_func
80930
80931 /* Override any gcc2 internal prototype to avoid an error.  */
80932 #ifdef __cplusplus
80933 extern "C"
80934 {
80935 #endif
80936 /* We use char because int might match the return type of a gcc2
80937    builtin and then its argument prototype would still apply.  */
80938 char $ac_func ();
80939 /* The GNU C library defines this for functions which it implements
80940     to always fail with ENOSYS.  Some functions are actually named
80941     something starting with __ and the normal name is an alias.  */
80942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80943 choke me
80944 #else
80945 char (*f) () = $ac_func;
80946 #endif
80947 #ifdef __cplusplus
80948 }
80949 #endif
80950
80951 int
80952 main ()
80953 {
80954 return f != $ac_func;
80955   ;
80956   return 0;
80957 }
80958 _ACEOF
80959 rm -f conftest.$ac_objext conftest$ac_exeext
80960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80961   (eval $ac_link) 2>conftest.er1
80962   ac_status=$?
80963   grep -v '^ *+' conftest.er1 >conftest.err
80964   rm -f conftest.er1
80965   cat conftest.err >&5
80966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80967   (exit $ac_status); } &&
80968          { ac_try='test -z "$ac_c_werror_flag"
80969                          || test ! -s conftest.err'
80970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80971   (eval $ac_try) 2>&5
80972   ac_status=$?
80973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80974   (exit $ac_status); }; } &&
80975          { ac_try='test -s conftest$ac_exeext'
80976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80977   (eval $ac_try) 2>&5
80978   ac_status=$?
80979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80980   (exit $ac_status); }; }; then
80981   eval "$as_ac_var=yes"
80982 else
80983   echo "$as_me: failed program was:" >&5
80984 sed 's/^/| /' conftest.$ac_ext >&5
80985
80986 eval "$as_ac_var=no"
80987 fi
80988 rm -f conftest.err conftest.$ac_objext \
80989       conftest$ac_exeext conftest.$ac_ext
80990 fi
80991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80993 if test `eval echo '${'$as_ac_var'}'` = yes; then
80994   cat >>confdefs.h <<_ACEOF
80995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80996 _ACEOF
80997
80998 fi
80999 done
81000
81001     fi
81002   fi
81003
81004
81005
81006
81007
81008
81009   echo "$as_me:$LINENO: checking for powl declaration" >&5
81010 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
81011   if test x${glibcxx_cv_func_powl_use+set} != xset; then
81012     if test "${glibcxx_cv_func_powl_use+set}" = set; then
81013   echo $ECHO_N "(cached) $ECHO_C" >&6
81014 else
81015
81016
81017
81018       ac_ext=cc
81019 ac_cpp='$CXXCPP $CPPFLAGS'
81020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81023
81024       cat >conftest.$ac_ext <<_ACEOF
81025 /* confdefs.h.  */
81026 _ACEOF
81027 cat confdefs.h >>conftest.$ac_ext
81028 cat >>conftest.$ac_ext <<_ACEOF
81029 /* end confdefs.h.  */
81030 #include <math.h>
81031 int
81032 main ()
81033 {
81034  powl(0, 0);
81035   ;
81036   return 0;
81037 }
81038 _ACEOF
81039 rm -f conftest.$ac_objext
81040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81041   (eval $ac_compile) 2>conftest.er1
81042   ac_status=$?
81043   grep -v '^ *+' conftest.er1 >conftest.err
81044   rm -f conftest.er1
81045   cat conftest.err >&5
81046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81047   (exit $ac_status); } &&
81048          { ac_try='test -z "$ac_cxx_werror_flag"
81049                          || test ! -s conftest.err'
81050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81051   (eval $ac_try) 2>&5
81052   ac_status=$?
81053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81054   (exit $ac_status); }; } &&
81055          { ac_try='test -s conftest.$ac_objext'
81056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81057   (eval $ac_try) 2>&5
81058   ac_status=$?
81059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81060   (exit $ac_status); }; }; then
81061   glibcxx_cv_func_powl_use=yes
81062 else
81063   echo "$as_me: failed program was:" >&5
81064 sed 's/^/| /' conftest.$ac_ext >&5
81065
81066 glibcxx_cv_func_powl_use=no
81067 fi
81068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81069       ac_ext=c
81070 ac_cpp='$CPP $CPPFLAGS'
81071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81074
81075
81076 fi
81077
81078   fi
81079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81080 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81081
81082   if test x$glibcxx_cv_func_powl_use = x"yes"; then
81083
81084 for ac_func in powl
81085 do
81086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81087 echo "$as_me:$LINENO: checking for $ac_func" >&5
81088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81089 if eval "test \"\${$as_ac_var+set}\" = set"; then
81090   echo $ECHO_N "(cached) $ECHO_C" >&6
81091 else
81092   if test x$gcc_no_link = xyes; then
81093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81095    { (exit 1); exit 1; }; }
81096 fi
81097 cat >conftest.$ac_ext <<_ACEOF
81098 /* confdefs.h.  */
81099 _ACEOF
81100 cat confdefs.h >>conftest.$ac_ext
81101 cat >>conftest.$ac_ext <<_ACEOF
81102 /* end confdefs.h.  */
81103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81105 #define $ac_func innocuous_$ac_func
81106
81107 /* System header to define __stub macros and hopefully few prototypes,
81108     which can conflict with char $ac_func (); below.
81109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81110     <limits.h> exists even on freestanding compilers.  */
81111
81112 #ifdef __STDC__
81113 # include <limits.h>
81114 #else
81115 # include <assert.h>
81116 #endif
81117
81118 #undef $ac_func
81119
81120 /* Override any gcc2 internal prototype to avoid an error.  */
81121 #ifdef __cplusplus
81122 extern "C"
81123 {
81124 #endif
81125 /* We use char because int might match the return type of a gcc2
81126    builtin and then its argument prototype would still apply.  */
81127 char $ac_func ();
81128 /* The GNU C library defines this for functions which it implements
81129     to always fail with ENOSYS.  Some functions are actually named
81130     something starting with __ and the normal name is an alias.  */
81131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81132 choke me
81133 #else
81134 char (*f) () = $ac_func;
81135 #endif
81136 #ifdef __cplusplus
81137 }
81138 #endif
81139
81140 int
81141 main ()
81142 {
81143 return f != $ac_func;
81144   ;
81145   return 0;
81146 }
81147 _ACEOF
81148 rm -f conftest.$ac_objext conftest$ac_exeext
81149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81150   (eval $ac_link) 2>conftest.er1
81151   ac_status=$?
81152   grep -v '^ *+' conftest.er1 >conftest.err
81153   rm -f conftest.er1
81154   cat conftest.err >&5
81155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81156   (exit $ac_status); } &&
81157          { ac_try='test -z "$ac_c_werror_flag"
81158                          || test ! -s conftest.err'
81159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81160   (eval $ac_try) 2>&5
81161   ac_status=$?
81162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81163   (exit $ac_status); }; } &&
81164          { ac_try='test -s conftest$ac_exeext'
81165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81166   (eval $ac_try) 2>&5
81167   ac_status=$?
81168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81169   (exit $ac_status); }; }; then
81170   eval "$as_ac_var=yes"
81171 else
81172   echo "$as_me: failed program was:" >&5
81173 sed 's/^/| /' conftest.$ac_ext >&5
81174
81175 eval "$as_ac_var=no"
81176 fi
81177 rm -f conftest.err conftest.$ac_objext \
81178       conftest$ac_exeext conftest.$ac_ext
81179 fi
81180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81182 if test `eval echo '${'$as_ac_var'}'` = yes; then
81183   cat >>confdefs.h <<_ACEOF
81184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81185 _ACEOF
81186
81187 fi
81188 done
81189
81190   else
81191
81192   echo "$as_me:$LINENO: checking for _powl declaration" >&5
81193 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81194   if test x${glibcxx_cv_func__powl_use+set} != xset; then
81195     if test "${glibcxx_cv_func__powl_use+set}" = set; then
81196   echo $ECHO_N "(cached) $ECHO_C" >&6
81197 else
81198
81199
81200
81201       ac_ext=cc
81202 ac_cpp='$CXXCPP $CPPFLAGS'
81203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81206
81207       cat >conftest.$ac_ext <<_ACEOF
81208 /* confdefs.h.  */
81209 _ACEOF
81210 cat confdefs.h >>conftest.$ac_ext
81211 cat >>conftest.$ac_ext <<_ACEOF
81212 /* end confdefs.h.  */
81213 #include <math.h>
81214 int
81215 main ()
81216 {
81217  _powl(0, 0);
81218   ;
81219   return 0;
81220 }
81221 _ACEOF
81222 rm -f conftest.$ac_objext
81223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81224   (eval $ac_compile) 2>conftest.er1
81225   ac_status=$?
81226   grep -v '^ *+' conftest.er1 >conftest.err
81227   rm -f conftest.er1
81228   cat conftest.err >&5
81229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81230   (exit $ac_status); } &&
81231          { ac_try='test -z "$ac_cxx_werror_flag"
81232                          || test ! -s conftest.err'
81233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81234   (eval $ac_try) 2>&5
81235   ac_status=$?
81236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81237   (exit $ac_status); }; } &&
81238          { ac_try='test -s conftest.$ac_objext'
81239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81240   (eval $ac_try) 2>&5
81241   ac_status=$?
81242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81243   (exit $ac_status); }; }; then
81244   glibcxx_cv_func__powl_use=yes
81245 else
81246   echo "$as_me: failed program was:" >&5
81247 sed 's/^/| /' conftest.$ac_ext >&5
81248
81249 glibcxx_cv_func__powl_use=no
81250 fi
81251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81252       ac_ext=c
81253 ac_cpp='$CPP $CPPFLAGS'
81254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81257
81258
81259 fi
81260
81261   fi
81262   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
81263 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
81264
81265     if test x$glibcxx_cv_func__powl_use = x"yes"; then
81266
81267 for ac_func in _powl
81268 do
81269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81270 echo "$as_me:$LINENO: checking for $ac_func" >&5
81271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81272 if eval "test \"\${$as_ac_var+set}\" = set"; then
81273   echo $ECHO_N "(cached) $ECHO_C" >&6
81274 else
81275   if test x$gcc_no_link = xyes; then
81276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81278    { (exit 1); exit 1; }; }
81279 fi
81280 cat >conftest.$ac_ext <<_ACEOF
81281 /* confdefs.h.  */
81282 _ACEOF
81283 cat confdefs.h >>conftest.$ac_ext
81284 cat >>conftest.$ac_ext <<_ACEOF
81285 /* end confdefs.h.  */
81286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81288 #define $ac_func innocuous_$ac_func
81289
81290 /* System header to define __stub macros and hopefully few prototypes,
81291     which can conflict with char $ac_func (); below.
81292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81293     <limits.h> exists even on freestanding compilers.  */
81294
81295 #ifdef __STDC__
81296 # include <limits.h>
81297 #else
81298 # include <assert.h>
81299 #endif
81300
81301 #undef $ac_func
81302
81303 /* Override any gcc2 internal prototype to avoid an error.  */
81304 #ifdef __cplusplus
81305 extern "C"
81306 {
81307 #endif
81308 /* We use char because int might match the return type of a gcc2
81309    builtin and then its argument prototype would still apply.  */
81310 char $ac_func ();
81311 /* The GNU C library defines this for functions which it implements
81312     to always fail with ENOSYS.  Some functions are actually named
81313     something starting with __ and the normal name is an alias.  */
81314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81315 choke me
81316 #else
81317 char (*f) () = $ac_func;
81318 #endif
81319 #ifdef __cplusplus
81320 }
81321 #endif
81322
81323 int
81324 main ()
81325 {
81326 return f != $ac_func;
81327   ;
81328   return 0;
81329 }
81330 _ACEOF
81331 rm -f conftest.$ac_objext conftest$ac_exeext
81332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81333   (eval $ac_link) 2>conftest.er1
81334   ac_status=$?
81335   grep -v '^ *+' conftest.er1 >conftest.err
81336   rm -f conftest.er1
81337   cat conftest.err >&5
81338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81339   (exit $ac_status); } &&
81340          { ac_try='test -z "$ac_c_werror_flag"
81341                          || test ! -s conftest.err'
81342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81343   (eval $ac_try) 2>&5
81344   ac_status=$?
81345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81346   (exit $ac_status); }; } &&
81347          { ac_try='test -s conftest$ac_exeext'
81348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81349   (eval $ac_try) 2>&5
81350   ac_status=$?
81351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81352   (exit $ac_status); }; }; then
81353   eval "$as_ac_var=yes"
81354 else
81355   echo "$as_me: failed program was:" >&5
81356 sed 's/^/| /' conftest.$ac_ext >&5
81357
81358 eval "$as_ac_var=no"
81359 fi
81360 rm -f conftest.err conftest.$ac_objext \
81361       conftest$ac_exeext conftest.$ac_ext
81362 fi
81363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81365 if test `eval echo '${'$as_ac_var'}'` = yes; then
81366   cat >>confdefs.h <<_ACEOF
81367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81368 _ACEOF
81369
81370 fi
81371 done
81372
81373     fi
81374   fi
81375
81376
81377
81378
81379
81380
81381   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81382 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81383   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81384     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81385   echo $ECHO_N "(cached) $ECHO_C" >&6
81386 else
81387
81388
81389
81390       ac_ext=cc
81391 ac_cpp='$CXXCPP $CPPFLAGS'
81392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81395
81396       cat >conftest.$ac_ext <<_ACEOF
81397 /* confdefs.h.  */
81398 _ACEOF
81399 cat confdefs.h >>conftest.$ac_ext
81400 cat >>conftest.$ac_ext <<_ACEOF
81401 /* end confdefs.h.  */
81402 #include <math.h>
81403                       #ifdef HAVE_IEEEFP_H
81404                       #include <ieeefp.h>
81405                       #endif
81406
81407 int
81408 main ()
81409 {
81410  sqrtl(0);
81411   ;
81412   return 0;
81413 }
81414 _ACEOF
81415 rm -f conftest.$ac_objext
81416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81417   (eval $ac_compile) 2>conftest.er1
81418   ac_status=$?
81419   grep -v '^ *+' conftest.er1 >conftest.err
81420   rm -f conftest.er1
81421   cat conftest.err >&5
81422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81423   (exit $ac_status); } &&
81424          { ac_try='test -z "$ac_cxx_werror_flag"
81425                          || test ! -s conftest.err'
81426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81427   (eval $ac_try) 2>&5
81428   ac_status=$?
81429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81430   (exit $ac_status); }; } &&
81431          { ac_try='test -s conftest.$ac_objext'
81432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81433   (eval $ac_try) 2>&5
81434   ac_status=$?
81435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81436   (exit $ac_status); }; }; then
81437   glibcxx_cv_func_sqrtl_use=yes
81438 else
81439   echo "$as_me: failed program was:" >&5
81440 sed 's/^/| /' conftest.$ac_ext >&5
81441
81442 glibcxx_cv_func_sqrtl_use=no
81443 fi
81444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81445       ac_ext=c
81446 ac_cpp='$CPP $CPPFLAGS'
81447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81450
81451
81452 fi
81453
81454   fi
81455   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81456 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81457
81458   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81459
81460 for ac_func in sqrtl
81461 do
81462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81463 echo "$as_me:$LINENO: checking for $ac_func" >&5
81464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81465 if eval "test \"\${$as_ac_var+set}\" = set"; then
81466   echo $ECHO_N "(cached) $ECHO_C" >&6
81467 else
81468   if test x$gcc_no_link = xyes; then
81469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81471    { (exit 1); exit 1; }; }
81472 fi
81473 cat >conftest.$ac_ext <<_ACEOF
81474 /* confdefs.h.  */
81475 _ACEOF
81476 cat confdefs.h >>conftest.$ac_ext
81477 cat >>conftest.$ac_ext <<_ACEOF
81478 /* end confdefs.h.  */
81479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81481 #define $ac_func innocuous_$ac_func
81482
81483 /* System header to define __stub macros and hopefully few prototypes,
81484     which can conflict with char $ac_func (); below.
81485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81486     <limits.h> exists even on freestanding compilers.  */
81487
81488 #ifdef __STDC__
81489 # include <limits.h>
81490 #else
81491 # include <assert.h>
81492 #endif
81493
81494 #undef $ac_func
81495
81496 /* Override any gcc2 internal prototype to avoid an error.  */
81497 #ifdef __cplusplus
81498 extern "C"
81499 {
81500 #endif
81501 /* We use char because int might match the return type of a gcc2
81502    builtin and then its argument prototype would still apply.  */
81503 char $ac_func ();
81504 /* The GNU C library defines this for functions which it implements
81505     to always fail with ENOSYS.  Some functions are actually named
81506     something starting with __ and the normal name is an alias.  */
81507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81508 choke me
81509 #else
81510 char (*f) () = $ac_func;
81511 #endif
81512 #ifdef __cplusplus
81513 }
81514 #endif
81515
81516 int
81517 main ()
81518 {
81519 return f != $ac_func;
81520   ;
81521   return 0;
81522 }
81523 _ACEOF
81524 rm -f conftest.$ac_objext conftest$ac_exeext
81525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81526   (eval $ac_link) 2>conftest.er1
81527   ac_status=$?
81528   grep -v '^ *+' conftest.er1 >conftest.err
81529   rm -f conftest.er1
81530   cat conftest.err >&5
81531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81532   (exit $ac_status); } &&
81533          { ac_try='test -z "$ac_c_werror_flag"
81534                          || test ! -s conftest.err'
81535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81536   (eval $ac_try) 2>&5
81537   ac_status=$?
81538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81539   (exit $ac_status); }; } &&
81540          { ac_try='test -s conftest$ac_exeext'
81541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81542   (eval $ac_try) 2>&5
81543   ac_status=$?
81544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81545   (exit $ac_status); }; }; then
81546   eval "$as_ac_var=yes"
81547 else
81548   echo "$as_me: failed program was:" >&5
81549 sed 's/^/| /' conftest.$ac_ext >&5
81550
81551 eval "$as_ac_var=no"
81552 fi
81553 rm -f conftest.err conftest.$ac_objext \
81554       conftest$ac_exeext conftest.$ac_ext
81555 fi
81556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81558 if test `eval echo '${'$as_ac_var'}'` = yes; then
81559   cat >>confdefs.h <<_ACEOF
81560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81561 _ACEOF
81562
81563 fi
81564 done
81565
81566   else
81567
81568   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81569 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81570   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81571     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81572   echo $ECHO_N "(cached) $ECHO_C" >&6
81573 else
81574
81575
81576
81577       ac_ext=cc
81578 ac_cpp='$CXXCPP $CPPFLAGS'
81579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81582
81583       cat >conftest.$ac_ext <<_ACEOF
81584 /* confdefs.h.  */
81585 _ACEOF
81586 cat confdefs.h >>conftest.$ac_ext
81587 cat >>conftest.$ac_ext <<_ACEOF
81588 /* end confdefs.h.  */
81589 #include <math.h>
81590                       #ifdef HAVE_IEEEFP_H
81591                       #include <ieeefp.h>
81592                       #endif
81593
81594 int
81595 main ()
81596 {
81597  _sqrtl(0);
81598   ;
81599   return 0;
81600 }
81601 _ACEOF
81602 rm -f conftest.$ac_objext
81603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81604   (eval $ac_compile) 2>conftest.er1
81605   ac_status=$?
81606   grep -v '^ *+' conftest.er1 >conftest.err
81607   rm -f conftest.er1
81608   cat conftest.err >&5
81609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81610   (exit $ac_status); } &&
81611          { ac_try='test -z "$ac_cxx_werror_flag"
81612                          || test ! -s conftest.err'
81613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81614   (eval $ac_try) 2>&5
81615   ac_status=$?
81616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81617   (exit $ac_status); }; } &&
81618          { ac_try='test -s conftest.$ac_objext'
81619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81620   (eval $ac_try) 2>&5
81621   ac_status=$?
81622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81623   (exit $ac_status); }; }; then
81624   glibcxx_cv_func__sqrtl_use=yes
81625 else
81626   echo "$as_me: failed program was:" >&5
81627 sed 's/^/| /' conftest.$ac_ext >&5
81628
81629 glibcxx_cv_func__sqrtl_use=no
81630 fi
81631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81632       ac_ext=c
81633 ac_cpp='$CPP $CPPFLAGS'
81634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81637
81638
81639 fi
81640
81641   fi
81642   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81643 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81644
81645     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81646
81647 for ac_func in _sqrtl
81648 do
81649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81650 echo "$as_me:$LINENO: checking for $ac_func" >&5
81651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81652 if eval "test \"\${$as_ac_var+set}\" = set"; then
81653   echo $ECHO_N "(cached) $ECHO_C" >&6
81654 else
81655   if test x$gcc_no_link = xyes; then
81656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81658    { (exit 1); exit 1; }; }
81659 fi
81660 cat >conftest.$ac_ext <<_ACEOF
81661 /* confdefs.h.  */
81662 _ACEOF
81663 cat confdefs.h >>conftest.$ac_ext
81664 cat >>conftest.$ac_ext <<_ACEOF
81665 /* end confdefs.h.  */
81666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81668 #define $ac_func innocuous_$ac_func
81669
81670 /* System header to define __stub macros and hopefully few prototypes,
81671     which can conflict with char $ac_func (); below.
81672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81673     <limits.h> exists even on freestanding compilers.  */
81674
81675 #ifdef __STDC__
81676 # include <limits.h>
81677 #else
81678 # include <assert.h>
81679 #endif
81680
81681 #undef $ac_func
81682
81683 /* Override any gcc2 internal prototype to avoid an error.  */
81684 #ifdef __cplusplus
81685 extern "C"
81686 {
81687 #endif
81688 /* We use char because int might match the return type of a gcc2
81689    builtin and then its argument prototype would still apply.  */
81690 char $ac_func ();
81691 /* The GNU C library defines this for functions which it implements
81692     to always fail with ENOSYS.  Some functions are actually named
81693     something starting with __ and the normal name is an alias.  */
81694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81695 choke me
81696 #else
81697 char (*f) () = $ac_func;
81698 #endif
81699 #ifdef __cplusplus
81700 }
81701 #endif
81702
81703 int
81704 main ()
81705 {
81706 return f != $ac_func;
81707   ;
81708   return 0;
81709 }
81710 _ACEOF
81711 rm -f conftest.$ac_objext conftest$ac_exeext
81712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81713   (eval $ac_link) 2>conftest.er1
81714   ac_status=$?
81715   grep -v '^ *+' conftest.er1 >conftest.err
81716   rm -f conftest.er1
81717   cat conftest.err >&5
81718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81719   (exit $ac_status); } &&
81720          { ac_try='test -z "$ac_c_werror_flag"
81721                          || test ! -s conftest.err'
81722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81723   (eval $ac_try) 2>&5
81724   ac_status=$?
81725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81726   (exit $ac_status); }; } &&
81727          { ac_try='test -s conftest$ac_exeext'
81728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81729   (eval $ac_try) 2>&5
81730   ac_status=$?
81731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81732   (exit $ac_status); }; }; then
81733   eval "$as_ac_var=yes"
81734 else
81735   echo "$as_me: failed program was:" >&5
81736 sed 's/^/| /' conftest.$ac_ext >&5
81737
81738 eval "$as_ac_var=no"
81739 fi
81740 rm -f conftest.err conftest.$ac_objext \
81741       conftest$ac_exeext conftest.$ac_ext
81742 fi
81743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81745 if test `eval echo '${'$as_ac_var'}'` = yes; then
81746   cat >>confdefs.h <<_ACEOF
81747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81748 _ACEOF
81749
81750 fi
81751 done
81752
81753     fi
81754   fi
81755
81756
81757
81758
81759
81760
81761   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81762 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81763   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81764     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81765   echo $ECHO_N "(cached) $ECHO_C" >&6
81766 else
81767
81768
81769
81770       ac_ext=cc
81771 ac_cpp='$CXXCPP $CPPFLAGS'
81772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81775
81776       cat >conftest.$ac_ext <<_ACEOF
81777 /* confdefs.h.  */
81778 _ACEOF
81779 cat confdefs.h >>conftest.$ac_ext
81780 cat >>conftest.$ac_ext <<_ACEOF
81781 /* end confdefs.h.  */
81782 #include <math.h>
81783 int
81784 main ()
81785 {
81786  sincosl(0, 0, 0);
81787   ;
81788   return 0;
81789 }
81790 _ACEOF
81791 rm -f conftest.$ac_objext
81792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81793   (eval $ac_compile) 2>conftest.er1
81794   ac_status=$?
81795   grep -v '^ *+' conftest.er1 >conftest.err
81796   rm -f conftest.er1
81797   cat conftest.err >&5
81798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81799   (exit $ac_status); } &&
81800          { ac_try='test -z "$ac_cxx_werror_flag"
81801                          || test ! -s conftest.err'
81802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81803   (eval $ac_try) 2>&5
81804   ac_status=$?
81805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81806   (exit $ac_status); }; } &&
81807          { ac_try='test -s conftest.$ac_objext'
81808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81809   (eval $ac_try) 2>&5
81810   ac_status=$?
81811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81812   (exit $ac_status); }; }; then
81813   glibcxx_cv_func_sincosl_use=yes
81814 else
81815   echo "$as_me: failed program was:" >&5
81816 sed 's/^/| /' conftest.$ac_ext >&5
81817
81818 glibcxx_cv_func_sincosl_use=no
81819 fi
81820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81821       ac_ext=c
81822 ac_cpp='$CPP $CPPFLAGS'
81823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81826
81827
81828 fi
81829
81830   fi
81831   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81832 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81833
81834   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81835
81836 for ac_func in sincosl
81837 do
81838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81839 echo "$as_me:$LINENO: checking for $ac_func" >&5
81840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81841 if eval "test \"\${$as_ac_var+set}\" = set"; then
81842   echo $ECHO_N "(cached) $ECHO_C" >&6
81843 else
81844   if test x$gcc_no_link = xyes; then
81845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81847    { (exit 1); exit 1; }; }
81848 fi
81849 cat >conftest.$ac_ext <<_ACEOF
81850 /* confdefs.h.  */
81851 _ACEOF
81852 cat confdefs.h >>conftest.$ac_ext
81853 cat >>conftest.$ac_ext <<_ACEOF
81854 /* end confdefs.h.  */
81855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81857 #define $ac_func innocuous_$ac_func
81858
81859 /* System header to define __stub macros and hopefully few prototypes,
81860     which can conflict with char $ac_func (); below.
81861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81862     <limits.h> exists even on freestanding compilers.  */
81863
81864 #ifdef __STDC__
81865 # include <limits.h>
81866 #else
81867 # include <assert.h>
81868 #endif
81869
81870 #undef $ac_func
81871
81872 /* Override any gcc2 internal prototype to avoid an error.  */
81873 #ifdef __cplusplus
81874 extern "C"
81875 {
81876 #endif
81877 /* We use char because int might match the return type of a gcc2
81878    builtin and then its argument prototype would still apply.  */
81879 char $ac_func ();
81880 /* The GNU C library defines this for functions which it implements
81881     to always fail with ENOSYS.  Some functions are actually named
81882     something starting with __ and the normal name is an alias.  */
81883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81884 choke me
81885 #else
81886 char (*f) () = $ac_func;
81887 #endif
81888 #ifdef __cplusplus
81889 }
81890 #endif
81891
81892 int
81893 main ()
81894 {
81895 return f != $ac_func;
81896   ;
81897   return 0;
81898 }
81899 _ACEOF
81900 rm -f conftest.$ac_objext conftest$ac_exeext
81901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81902   (eval $ac_link) 2>conftest.er1
81903   ac_status=$?
81904   grep -v '^ *+' conftest.er1 >conftest.err
81905   rm -f conftest.er1
81906   cat conftest.err >&5
81907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81908   (exit $ac_status); } &&
81909          { ac_try='test -z "$ac_c_werror_flag"
81910                          || test ! -s conftest.err'
81911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81912   (eval $ac_try) 2>&5
81913   ac_status=$?
81914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81915   (exit $ac_status); }; } &&
81916          { ac_try='test -s conftest$ac_exeext'
81917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81918   (eval $ac_try) 2>&5
81919   ac_status=$?
81920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81921   (exit $ac_status); }; }; then
81922   eval "$as_ac_var=yes"
81923 else
81924   echo "$as_me: failed program was:" >&5
81925 sed 's/^/| /' conftest.$ac_ext >&5
81926
81927 eval "$as_ac_var=no"
81928 fi
81929 rm -f conftest.err conftest.$ac_objext \
81930       conftest$ac_exeext conftest.$ac_ext
81931 fi
81932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81934 if test `eval echo '${'$as_ac_var'}'` = yes; then
81935   cat >>confdefs.h <<_ACEOF
81936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81937 _ACEOF
81938
81939 fi
81940 done
81941
81942   else
81943
81944   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81945 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81946   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81947     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81948   echo $ECHO_N "(cached) $ECHO_C" >&6
81949 else
81950
81951
81952
81953       ac_ext=cc
81954 ac_cpp='$CXXCPP $CPPFLAGS'
81955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81958
81959       cat >conftest.$ac_ext <<_ACEOF
81960 /* confdefs.h.  */
81961 _ACEOF
81962 cat confdefs.h >>conftest.$ac_ext
81963 cat >>conftest.$ac_ext <<_ACEOF
81964 /* end confdefs.h.  */
81965 #include <math.h>
81966 int
81967 main ()
81968 {
81969  _sincosl(0, 0, 0);
81970   ;
81971   return 0;
81972 }
81973 _ACEOF
81974 rm -f conftest.$ac_objext
81975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81976   (eval $ac_compile) 2>conftest.er1
81977   ac_status=$?
81978   grep -v '^ *+' conftest.er1 >conftest.err
81979   rm -f conftest.er1
81980   cat conftest.err >&5
81981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81982   (exit $ac_status); } &&
81983          { ac_try='test -z "$ac_cxx_werror_flag"
81984                          || test ! -s conftest.err'
81985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81986   (eval $ac_try) 2>&5
81987   ac_status=$?
81988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81989   (exit $ac_status); }; } &&
81990          { ac_try='test -s conftest.$ac_objext'
81991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81992   (eval $ac_try) 2>&5
81993   ac_status=$?
81994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81995   (exit $ac_status); }; }; then
81996   glibcxx_cv_func__sincosl_use=yes
81997 else
81998   echo "$as_me: failed program was:" >&5
81999 sed 's/^/| /' conftest.$ac_ext >&5
82000
82001 glibcxx_cv_func__sincosl_use=no
82002 fi
82003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82004       ac_ext=c
82005 ac_cpp='$CPP $CPPFLAGS'
82006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82009
82010
82011 fi
82012
82013   fi
82014   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
82015 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
82016
82017     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
82018
82019 for ac_func in _sincosl
82020 do
82021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82022 echo "$as_me:$LINENO: checking for $ac_func" >&5
82023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82024 if eval "test \"\${$as_ac_var+set}\" = set"; then
82025   echo $ECHO_N "(cached) $ECHO_C" >&6
82026 else
82027   if test x$gcc_no_link = xyes; then
82028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82030    { (exit 1); exit 1; }; }
82031 fi
82032 cat >conftest.$ac_ext <<_ACEOF
82033 /* confdefs.h.  */
82034 _ACEOF
82035 cat confdefs.h >>conftest.$ac_ext
82036 cat >>conftest.$ac_ext <<_ACEOF
82037 /* end confdefs.h.  */
82038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82040 #define $ac_func innocuous_$ac_func
82041
82042 /* System header to define __stub macros and hopefully few prototypes,
82043     which can conflict with char $ac_func (); below.
82044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82045     <limits.h> exists even on freestanding compilers.  */
82046
82047 #ifdef __STDC__
82048 # include <limits.h>
82049 #else
82050 # include <assert.h>
82051 #endif
82052
82053 #undef $ac_func
82054
82055 /* Override any gcc2 internal prototype to avoid an error.  */
82056 #ifdef __cplusplus
82057 extern "C"
82058 {
82059 #endif
82060 /* We use char because int might match the return type of a gcc2
82061    builtin and then its argument prototype would still apply.  */
82062 char $ac_func ();
82063 /* The GNU C library defines this for functions which it implements
82064     to always fail with ENOSYS.  Some functions are actually named
82065     something starting with __ and the normal name is an alias.  */
82066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82067 choke me
82068 #else
82069 char (*f) () = $ac_func;
82070 #endif
82071 #ifdef __cplusplus
82072 }
82073 #endif
82074
82075 int
82076 main ()
82077 {
82078 return f != $ac_func;
82079   ;
82080   return 0;
82081 }
82082 _ACEOF
82083 rm -f conftest.$ac_objext conftest$ac_exeext
82084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82085   (eval $ac_link) 2>conftest.er1
82086   ac_status=$?
82087   grep -v '^ *+' conftest.er1 >conftest.err
82088   rm -f conftest.er1
82089   cat conftest.err >&5
82090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82091   (exit $ac_status); } &&
82092          { ac_try='test -z "$ac_c_werror_flag"
82093                          || test ! -s conftest.err'
82094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82095   (eval $ac_try) 2>&5
82096   ac_status=$?
82097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82098   (exit $ac_status); }; } &&
82099          { ac_try='test -s conftest$ac_exeext'
82100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101   (eval $ac_try) 2>&5
82102   ac_status=$?
82103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104   (exit $ac_status); }; }; then
82105   eval "$as_ac_var=yes"
82106 else
82107   echo "$as_me: failed program was:" >&5
82108 sed 's/^/| /' conftest.$ac_ext >&5
82109
82110 eval "$as_ac_var=no"
82111 fi
82112 rm -f conftest.err conftest.$ac_objext \
82113       conftest$ac_exeext conftest.$ac_ext
82114 fi
82115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82117 if test `eval echo '${'$as_ac_var'}'` = yes; then
82118   cat >>confdefs.h <<_ACEOF
82119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82120 _ACEOF
82121
82122 fi
82123 done
82124
82125     fi
82126   fi
82127
82128
82129
82130
82131
82132
82133   echo "$as_me:$LINENO: checking for finitel declaration" >&5
82134 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82135   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82136     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82137   echo $ECHO_N "(cached) $ECHO_C" >&6
82138 else
82139
82140
82141
82142       ac_ext=cc
82143 ac_cpp='$CXXCPP $CPPFLAGS'
82144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82147
82148       cat >conftest.$ac_ext <<_ACEOF
82149 /* confdefs.h.  */
82150 _ACEOF
82151 cat confdefs.h >>conftest.$ac_ext
82152 cat >>conftest.$ac_ext <<_ACEOF
82153 /* end confdefs.h.  */
82154 #include <math.h>
82155                       #ifdef HAVE_IEEEFP_H
82156                       #include <ieeefp.h>
82157                       #endif
82158
82159 int
82160 main ()
82161 {
82162  finitel(0);
82163   ;
82164   return 0;
82165 }
82166 _ACEOF
82167 rm -f conftest.$ac_objext
82168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82169   (eval $ac_compile) 2>conftest.er1
82170   ac_status=$?
82171   grep -v '^ *+' conftest.er1 >conftest.err
82172   rm -f conftest.er1
82173   cat conftest.err >&5
82174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82175   (exit $ac_status); } &&
82176          { ac_try='test -z "$ac_cxx_werror_flag"
82177                          || test ! -s conftest.err'
82178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82179   (eval $ac_try) 2>&5
82180   ac_status=$?
82181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82182   (exit $ac_status); }; } &&
82183          { ac_try='test -s conftest.$ac_objext'
82184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82185   (eval $ac_try) 2>&5
82186   ac_status=$?
82187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188   (exit $ac_status); }; }; then
82189   glibcxx_cv_func_finitel_use=yes
82190 else
82191   echo "$as_me: failed program was:" >&5
82192 sed 's/^/| /' conftest.$ac_ext >&5
82193
82194 glibcxx_cv_func_finitel_use=no
82195 fi
82196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82197       ac_ext=c
82198 ac_cpp='$CPP $CPPFLAGS'
82199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82202
82203
82204 fi
82205
82206   fi
82207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
82208 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
82209
82210   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
82211
82212 for ac_func in finitel
82213 do
82214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82215 echo "$as_me:$LINENO: checking for $ac_func" >&5
82216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82217 if eval "test \"\${$as_ac_var+set}\" = set"; then
82218   echo $ECHO_N "(cached) $ECHO_C" >&6
82219 else
82220   if test x$gcc_no_link = xyes; then
82221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82223    { (exit 1); exit 1; }; }
82224 fi
82225 cat >conftest.$ac_ext <<_ACEOF
82226 /* confdefs.h.  */
82227 _ACEOF
82228 cat confdefs.h >>conftest.$ac_ext
82229 cat >>conftest.$ac_ext <<_ACEOF
82230 /* end confdefs.h.  */
82231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82233 #define $ac_func innocuous_$ac_func
82234
82235 /* System header to define __stub macros and hopefully few prototypes,
82236     which can conflict with char $ac_func (); below.
82237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82238     <limits.h> exists even on freestanding compilers.  */
82239
82240 #ifdef __STDC__
82241 # include <limits.h>
82242 #else
82243 # include <assert.h>
82244 #endif
82245
82246 #undef $ac_func
82247
82248 /* Override any gcc2 internal prototype to avoid an error.  */
82249 #ifdef __cplusplus
82250 extern "C"
82251 {
82252 #endif
82253 /* We use char because int might match the return type of a gcc2
82254    builtin and then its argument prototype would still apply.  */
82255 char $ac_func ();
82256 /* The GNU C library defines this for functions which it implements
82257     to always fail with ENOSYS.  Some functions are actually named
82258     something starting with __ and the normal name is an alias.  */
82259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82260 choke me
82261 #else
82262 char (*f) () = $ac_func;
82263 #endif
82264 #ifdef __cplusplus
82265 }
82266 #endif
82267
82268 int
82269 main ()
82270 {
82271 return f != $ac_func;
82272   ;
82273   return 0;
82274 }
82275 _ACEOF
82276 rm -f conftest.$ac_objext conftest$ac_exeext
82277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82278   (eval $ac_link) 2>conftest.er1
82279   ac_status=$?
82280   grep -v '^ *+' conftest.er1 >conftest.err
82281   rm -f conftest.er1
82282   cat conftest.err >&5
82283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82284   (exit $ac_status); } &&
82285          { ac_try='test -z "$ac_c_werror_flag"
82286                          || test ! -s conftest.err'
82287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82288   (eval $ac_try) 2>&5
82289   ac_status=$?
82290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291   (exit $ac_status); }; } &&
82292          { ac_try='test -s conftest$ac_exeext'
82293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82294   (eval $ac_try) 2>&5
82295   ac_status=$?
82296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82297   (exit $ac_status); }; }; then
82298   eval "$as_ac_var=yes"
82299 else
82300   echo "$as_me: failed program was:" >&5
82301 sed 's/^/| /' conftest.$ac_ext >&5
82302
82303 eval "$as_ac_var=no"
82304 fi
82305 rm -f conftest.err conftest.$ac_objext \
82306       conftest$ac_exeext conftest.$ac_ext
82307 fi
82308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82310 if test `eval echo '${'$as_ac_var'}'` = yes; then
82311   cat >>confdefs.h <<_ACEOF
82312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82313 _ACEOF
82314
82315 fi
82316 done
82317
82318   else
82319
82320   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
82321 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
82322   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
82323     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
82324   echo $ECHO_N "(cached) $ECHO_C" >&6
82325 else
82326
82327
82328
82329       ac_ext=cc
82330 ac_cpp='$CXXCPP $CPPFLAGS'
82331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82334
82335       cat >conftest.$ac_ext <<_ACEOF
82336 /* confdefs.h.  */
82337 _ACEOF
82338 cat confdefs.h >>conftest.$ac_ext
82339 cat >>conftest.$ac_ext <<_ACEOF
82340 /* end confdefs.h.  */
82341 #include <math.h>
82342                       #ifdef HAVE_IEEEFP_H
82343                       #include <ieeefp.h>
82344                       #endif
82345
82346 int
82347 main ()
82348 {
82349  _finitel(0);
82350   ;
82351   return 0;
82352 }
82353 _ACEOF
82354 rm -f conftest.$ac_objext
82355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82356   (eval $ac_compile) 2>conftest.er1
82357   ac_status=$?
82358   grep -v '^ *+' conftest.er1 >conftest.err
82359   rm -f conftest.er1
82360   cat conftest.err >&5
82361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82362   (exit $ac_status); } &&
82363          { ac_try='test -z "$ac_cxx_werror_flag"
82364                          || test ! -s conftest.err'
82365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82366   (eval $ac_try) 2>&5
82367   ac_status=$?
82368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82369   (exit $ac_status); }; } &&
82370          { ac_try='test -s conftest.$ac_objext'
82371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82372   (eval $ac_try) 2>&5
82373   ac_status=$?
82374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82375   (exit $ac_status); }; }; then
82376   glibcxx_cv_func__finitel_use=yes
82377 else
82378   echo "$as_me: failed program was:" >&5
82379 sed 's/^/| /' conftest.$ac_ext >&5
82380
82381 glibcxx_cv_func__finitel_use=no
82382 fi
82383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82384       ac_ext=c
82385 ac_cpp='$CPP $CPPFLAGS'
82386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82389
82390
82391 fi
82392
82393   fi
82394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82395 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82396
82397     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82398
82399 for ac_func in _finitel
82400 do
82401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82402 echo "$as_me:$LINENO: checking for $ac_func" >&5
82403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82404 if eval "test \"\${$as_ac_var+set}\" = set"; then
82405   echo $ECHO_N "(cached) $ECHO_C" >&6
82406 else
82407   if test x$gcc_no_link = xyes; then
82408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82410    { (exit 1); exit 1; }; }
82411 fi
82412 cat >conftest.$ac_ext <<_ACEOF
82413 /* confdefs.h.  */
82414 _ACEOF
82415 cat confdefs.h >>conftest.$ac_ext
82416 cat >>conftest.$ac_ext <<_ACEOF
82417 /* end confdefs.h.  */
82418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82420 #define $ac_func innocuous_$ac_func
82421
82422 /* System header to define __stub macros and hopefully few prototypes,
82423     which can conflict with char $ac_func (); below.
82424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82425     <limits.h> exists even on freestanding compilers.  */
82426
82427 #ifdef __STDC__
82428 # include <limits.h>
82429 #else
82430 # include <assert.h>
82431 #endif
82432
82433 #undef $ac_func
82434
82435 /* Override any gcc2 internal prototype to avoid an error.  */
82436 #ifdef __cplusplus
82437 extern "C"
82438 {
82439 #endif
82440 /* We use char because int might match the return type of a gcc2
82441    builtin and then its argument prototype would still apply.  */
82442 char $ac_func ();
82443 /* The GNU C library defines this for functions which it implements
82444     to always fail with ENOSYS.  Some functions are actually named
82445     something starting with __ and the normal name is an alias.  */
82446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82447 choke me
82448 #else
82449 char (*f) () = $ac_func;
82450 #endif
82451 #ifdef __cplusplus
82452 }
82453 #endif
82454
82455 int
82456 main ()
82457 {
82458 return f != $ac_func;
82459   ;
82460   return 0;
82461 }
82462 _ACEOF
82463 rm -f conftest.$ac_objext conftest$ac_exeext
82464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82465   (eval $ac_link) 2>conftest.er1
82466   ac_status=$?
82467   grep -v '^ *+' conftest.er1 >conftest.err
82468   rm -f conftest.er1
82469   cat conftest.err >&5
82470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82471   (exit $ac_status); } &&
82472          { ac_try='test -z "$ac_c_werror_flag"
82473                          || test ! -s conftest.err'
82474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82475   (eval $ac_try) 2>&5
82476   ac_status=$?
82477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82478   (exit $ac_status); }; } &&
82479          { ac_try='test -s conftest$ac_exeext'
82480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481   (eval $ac_try) 2>&5
82482   ac_status=$?
82483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484   (exit $ac_status); }; }; then
82485   eval "$as_ac_var=yes"
82486 else
82487   echo "$as_me: failed program was:" >&5
82488 sed 's/^/| /' conftest.$ac_ext >&5
82489
82490 eval "$as_ac_var=no"
82491 fi
82492 rm -f conftest.err conftest.$ac_objext \
82493       conftest$ac_exeext conftest.$ac_ext
82494 fi
82495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82497 if test `eval echo '${'$as_ac_var'}'` = yes; then
82498   cat >>confdefs.h <<_ACEOF
82499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82500 _ACEOF
82501
82502 fi
82503 done
82504
82505     fi
82506   fi
82507
82508
82509
82510
82511
82512   LIBS="$ac_save_LIBS"
82513   CXXFLAGS="$ac_save_CXXFLAGS"
82514
82515
82516
82517   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82518 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82519   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82520     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82521   echo $ECHO_N "(cached) $ECHO_C" >&6
82522 else
82523
82524
82525
82526       ac_ext=cc
82527 ac_cpp='$CXXCPP $CPPFLAGS'
82528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82531
82532       cat >conftest.$ac_ext <<_ACEOF
82533 /* confdefs.h.  */
82534 _ACEOF
82535 cat confdefs.h >>conftest.$ac_ext
82536 cat >>conftest.$ac_ext <<_ACEOF
82537 /* end confdefs.h.  */
82538 #include <math.h>
82539 int
82540 main ()
82541 {
82542  __builtin_abs(0);
82543   ;
82544   return 0;
82545 }
82546 _ACEOF
82547 rm -f conftest.$ac_objext
82548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82549   (eval $ac_compile) 2>conftest.er1
82550   ac_status=$?
82551   grep -v '^ *+' conftest.er1 >conftest.err
82552   rm -f conftest.er1
82553   cat conftest.err >&5
82554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82555   (exit $ac_status); } &&
82556          { ac_try='test -z "$ac_cxx_werror_flag"
82557                          || test ! -s conftest.err'
82558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82559   (eval $ac_try) 2>&5
82560   ac_status=$?
82561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562   (exit $ac_status); }; } &&
82563          { ac_try='test -s conftest.$ac_objext'
82564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82565   (eval $ac_try) 2>&5
82566   ac_status=$?
82567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82568   (exit $ac_status); }; }; then
82569   glibcxx_cv_func___builtin_abs_use=yes
82570 else
82571   echo "$as_me: failed program was:" >&5
82572 sed 's/^/| /' conftest.$ac_ext >&5
82573
82574 glibcxx_cv_func___builtin_abs_use=no
82575 fi
82576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82577       ac_ext=c
82578 ac_cpp='$CPP $CPPFLAGS'
82579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82582
82583
82584 fi
82585
82586   fi
82587   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82588 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82589   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82590     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82591 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82592     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82593       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82594   echo $ECHO_N "(cached) $ECHO_C" >&6
82595 else
82596
82597         if test x$gcc_no_link = xyes; then
82598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82600    { (exit 1); exit 1; }; }
82601 fi
82602 cat >conftest.$ac_ext <<_ACEOF
82603 /* confdefs.h.  */
82604 _ACEOF
82605 cat confdefs.h >>conftest.$ac_ext
82606 cat >>conftest.$ac_ext <<_ACEOF
82607 /* end confdefs.h.  */
82608 #include <math.h>
82609 int
82610 main ()
82611 {
82612  __builtin_abs(0);
82613   ;
82614   return 0;
82615 }
82616 _ACEOF
82617 rm -f conftest.$ac_objext conftest$ac_exeext
82618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82619   (eval $ac_link) 2>conftest.er1
82620   ac_status=$?
82621   grep -v '^ *+' conftest.er1 >conftest.err
82622   rm -f conftest.er1
82623   cat conftest.err >&5
82624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82625   (exit $ac_status); } &&
82626          { ac_try='test -z "$ac_c_werror_flag"
82627                          || test ! -s conftest.err'
82628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82629   (eval $ac_try) 2>&5
82630   ac_status=$?
82631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82632   (exit $ac_status); }; } &&
82633          { ac_try='test -s conftest$ac_exeext'
82634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82635   (eval $ac_try) 2>&5
82636   ac_status=$?
82637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82638   (exit $ac_status); }; }; then
82639   glibcxx_cv_func___builtin_abs_link=yes
82640 else
82641   echo "$as_me: failed program was:" >&5
82642 sed 's/^/| /' conftest.$ac_ext >&5
82643
82644 glibcxx_cv_func___builtin_abs_link=no
82645 fi
82646 rm -f conftest.err conftest.$ac_objext \
82647       conftest$ac_exeext conftest.$ac_ext
82648
82649 fi
82650
82651     fi
82652     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82653 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82654
82655     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82656
82657 cat >>confdefs.h <<\_ACEOF
82658 #define HAVE___BUILTIN_ABS 1
82659 _ACEOF
82660
82661     fi
82662
82663   fi
82664
82665
82666   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82667 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82668   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82669     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82670   echo $ECHO_N "(cached) $ECHO_C" >&6
82671 else
82672
82673
82674
82675       ac_ext=cc
82676 ac_cpp='$CXXCPP $CPPFLAGS'
82677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82680
82681       cat >conftest.$ac_ext <<_ACEOF
82682 /* confdefs.h.  */
82683 _ACEOF
82684 cat confdefs.h >>conftest.$ac_ext
82685 cat >>conftest.$ac_ext <<_ACEOF
82686 /* end confdefs.h.  */
82687 #include <math.h>
82688 int
82689 main ()
82690 {
82691  __builtin_fabsf(0);
82692   ;
82693   return 0;
82694 }
82695 _ACEOF
82696 rm -f conftest.$ac_objext
82697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82698   (eval $ac_compile) 2>conftest.er1
82699   ac_status=$?
82700   grep -v '^ *+' conftest.er1 >conftest.err
82701   rm -f conftest.er1
82702   cat conftest.err >&5
82703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82704   (exit $ac_status); } &&
82705          { ac_try='test -z "$ac_cxx_werror_flag"
82706                          || test ! -s conftest.err'
82707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82708   (eval $ac_try) 2>&5
82709   ac_status=$?
82710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711   (exit $ac_status); }; } &&
82712          { ac_try='test -s conftest.$ac_objext'
82713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82714   (eval $ac_try) 2>&5
82715   ac_status=$?
82716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82717   (exit $ac_status); }; }; then
82718   glibcxx_cv_func___builtin_fabsf_use=yes
82719 else
82720   echo "$as_me: failed program was:" >&5
82721 sed 's/^/| /' conftest.$ac_ext >&5
82722
82723 glibcxx_cv_func___builtin_fabsf_use=no
82724 fi
82725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82726       ac_ext=c
82727 ac_cpp='$CPP $CPPFLAGS'
82728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82731
82732
82733 fi
82734
82735   fi
82736   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82737 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82738   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82739     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82740 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82741     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82742       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82743   echo $ECHO_N "(cached) $ECHO_C" >&6
82744 else
82745
82746         if test x$gcc_no_link = xyes; then
82747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82749    { (exit 1); exit 1; }; }
82750 fi
82751 cat >conftest.$ac_ext <<_ACEOF
82752 /* confdefs.h.  */
82753 _ACEOF
82754 cat confdefs.h >>conftest.$ac_ext
82755 cat >>conftest.$ac_ext <<_ACEOF
82756 /* end confdefs.h.  */
82757 #include <math.h>
82758 int
82759 main ()
82760 {
82761  __builtin_fabsf(0);
82762   ;
82763   return 0;
82764 }
82765 _ACEOF
82766 rm -f conftest.$ac_objext conftest$ac_exeext
82767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82768   (eval $ac_link) 2>conftest.er1
82769   ac_status=$?
82770   grep -v '^ *+' conftest.er1 >conftest.err
82771   rm -f conftest.er1
82772   cat conftest.err >&5
82773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82774   (exit $ac_status); } &&
82775          { ac_try='test -z "$ac_c_werror_flag"
82776                          || test ! -s conftest.err'
82777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82778   (eval $ac_try) 2>&5
82779   ac_status=$?
82780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82781   (exit $ac_status); }; } &&
82782          { ac_try='test -s conftest$ac_exeext'
82783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82784   (eval $ac_try) 2>&5
82785   ac_status=$?
82786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82787   (exit $ac_status); }; }; then
82788   glibcxx_cv_func___builtin_fabsf_link=yes
82789 else
82790   echo "$as_me: failed program was:" >&5
82791 sed 's/^/| /' conftest.$ac_ext >&5
82792
82793 glibcxx_cv_func___builtin_fabsf_link=no
82794 fi
82795 rm -f conftest.err conftest.$ac_objext \
82796       conftest$ac_exeext conftest.$ac_ext
82797
82798 fi
82799
82800     fi
82801     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82803
82804     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82805
82806 cat >>confdefs.h <<\_ACEOF
82807 #define HAVE___BUILTIN_FABSF 1
82808 _ACEOF
82809
82810     fi
82811
82812   fi
82813
82814
82815   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82816 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82817   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82818     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82819   echo $ECHO_N "(cached) $ECHO_C" >&6
82820 else
82821
82822
82823
82824       ac_ext=cc
82825 ac_cpp='$CXXCPP $CPPFLAGS'
82826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82829
82830       cat >conftest.$ac_ext <<_ACEOF
82831 /* confdefs.h.  */
82832 _ACEOF
82833 cat confdefs.h >>conftest.$ac_ext
82834 cat >>conftest.$ac_ext <<_ACEOF
82835 /* end confdefs.h.  */
82836 #include <math.h>
82837 int
82838 main ()
82839 {
82840  __builtin_fabs(0);
82841   ;
82842   return 0;
82843 }
82844 _ACEOF
82845 rm -f conftest.$ac_objext
82846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82847   (eval $ac_compile) 2>conftest.er1
82848   ac_status=$?
82849   grep -v '^ *+' conftest.er1 >conftest.err
82850   rm -f conftest.er1
82851   cat conftest.err >&5
82852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82853   (exit $ac_status); } &&
82854          { ac_try='test -z "$ac_cxx_werror_flag"
82855                          || test ! -s conftest.err'
82856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82857   (eval $ac_try) 2>&5
82858   ac_status=$?
82859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82860   (exit $ac_status); }; } &&
82861          { ac_try='test -s conftest.$ac_objext'
82862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82863   (eval $ac_try) 2>&5
82864   ac_status=$?
82865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866   (exit $ac_status); }; }; then
82867   glibcxx_cv_func___builtin_fabs_use=yes
82868 else
82869   echo "$as_me: failed program was:" >&5
82870 sed 's/^/| /' conftest.$ac_ext >&5
82871
82872 glibcxx_cv_func___builtin_fabs_use=no
82873 fi
82874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82875       ac_ext=c
82876 ac_cpp='$CPP $CPPFLAGS'
82877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82880
82881
82882 fi
82883
82884   fi
82885   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
82886 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
82887   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
82888     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
82889 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
82890     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
82891       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
82892   echo $ECHO_N "(cached) $ECHO_C" >&6
82893 else
82894
82895         if test x$gcc_no_link = xyes; then
82896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82898    { (exit 1); exit 1; }; }
82899 fi
82900 cat >conftest.$ac_ext <<_ACEOF
82901 /* confdefs.h.  */
82902 _ACEOF
82903 cat confdefs.h >>conftest.$ac_ext
82904 cat >>conftest.$ac_ext <<_ACEOF
82905 /* end confdefs.h.  */
82906 #include <math.h>
82907 int
82908 main ()
82909 {
82910  __builtin_fabs(0);
82911   ;
82912   return 0;
82913 }
82914 _ACEOF
82915 rm -f conftest.$ac_objext conftest$ac_exeext
82916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82917   (eval $ac_link) 2>conftest.er1
82918   ac_status=$?
82919   grep -v '^ *+' conftest.er1 >conftest.err
82920   rm -f conftest.er1
82921   cat conftest.err >&5
82922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82923   (exit $ac_status); } &&
82924          { ac_try='test -z "$ac_c_werror_flag"
82925                          || test ! -s conftest.err'
82926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82927   (eval $ac_try) 2>&5
82928   ac_status=$?
82929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82930   (exit $ac_status); }; } &&
82931          { ac_try='test -s conftest$ac_exeext'
82932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82933   (eval $ac_try) 2>&5
82934   ac_status=$?
82935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82936   (exit $ac_status); }; }; then
82937   glibcxx_cv_func___builtin_fabs_link=yes
82938 else
82939   echo "$as_me: failed program was:" >&5
82940 sed 's/^/| /' conftest.$ac_ext >&5
82941
82942 glibcxx_cv_func___builtin_fabs_link=no
82943 fi
82944 rm -f conftest.err conftest.$ac_objext \
82945       conftest$ac_exeext conftest.$ac_ext
82946
82947 fi
82948
82949     fi
82950     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82952
82953     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82954
82955 cat >>confdefs.h <<\_ACEOF
82956 #define HAVE___BUILTIN_FABS 1
82957 _ACEOF
82958
82959     fi
82960
82961   fi
82962
82963
82964   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82965 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82966   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82967     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82968   echo $ECHO_N "(cached) $ECHO_C" >&6
82969 else
82970
82971
82972
82973       ac_ext=cc
82974 ac_cpp='$CXXCPP $CPPFLAGS'
82975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82978
82979       cat >conftest.$ac_ext <<_ACEOF
82980 /* confdefs.h.  */
82981 _ACEOF
82982 cat confdefs.h >>conftest.$ac_ext
82983 cat >>conftest.$ac_ext <<_ACEOF
82984 /* end confdefs.h.  */
82985 #include <math.h>
82986 int
82987 main ()
82988 {
82989  __builtin_fabsl(0);
82990   ;
82991   return 0;
82992 }
82993 _ACEOF
82994 rm -f conftest.$ac_objext
82995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82996   (eval $ac_compile) 2>conftest.er1
82997   ac_status=$?
82998   grep -v '^ *+' conftest.er1 >conftest.err
82999   rm -f conftest.er1
83000   cat conftest.err >&5
83001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002   (exit $ac_status); } &&
83003          { ac_try='test -z "$ac_cxx_werror_flag"
83004                          || test ! -s conftest.err'
83005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83006   (eval $ac_try) 2>&5
83007   ac_status=$?
83008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83009   (exit $ac_status); }; } &&
83010          { ac_try='test -s conftest.$ac_objext'
83011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83012   (eval $ac_try) 2>&5
83013   ac_status=$?
83014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83015   (exit $ac_status); }; }; then
83016   glibcxx_cv_func___builtin_fabsl_use=yes
83017 else
83018   echo "$as_me: failed program was:" >&5
83019 sed 's/^/| /' conftest.$ac_ext >&5
83020
83021 glibcxx_cv_func___builtin_fabsl_use=no
83022 fi
83023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83024       ac_ext=c
83025 ac_cpp='$CPP $CPPFLAGS'
83026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83029
83030
83031 fi
83032
83033   fi
83034   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
83035 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
83036   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
83037     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
83038 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
83039     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
83040       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
83041   echo $ECHO_N "(cached) $ECHO_C" >&6
83042 else
83043
83044         if test x$gcc_no_link = xyes; then
83045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83047    { (exit 1); exit 1; }; }
83048 fi
83049 cat >conftest.$ac_ext <<_ACEOF
83050 /* confdefs.h.  */
83051 _ACEOF
83052 cat confdefs.h >>conftest.$ac_ext
83053 cat >>conftest.$ac_ext <<_ACEOF
83054 /* end confdefs.h.  */
83055 #include <math.h>
83056 int
83057 main ()
83058 {
83059  __builtin_fabsl(0);
83060   ;
83061   return 0;
83062 }
83063 _ACEOF
83064 rm -f conftest.$ac_objext conftest$ac_exeext
83065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83066   (eval $ac_link) 2>conftest.er1
83067   ac_status=$?
83068   grep -v '^ *+' conftest.er1 >conftest.err
83069   rm -f conftest.er1
83070   cat conftest.err >&5
83071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83072   (exit $ac_status); } &&
83073          { ac_try='test -z "$ac_c_werror_flag"
83074                          || test ! -s conftest.err'
83075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83076   (eval $ac_try) 2>&5
83077   ac_status=$?
83078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83079   (exit $ac_status); }; } &&
83080          { ac_try='test -s conftest$ac_exeext'
83081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83082   (eval $ac_try) 2>&5
83083   ac_status=$?
83084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83085   (exit $ac_status); }; }; then
83086   glibcxx_cv_func___builtin_fabsl_link=yes
83087 else
83088   echo "$as_me: failed program was:" >&5
83089 sed 's/^/| /' conftest.$ac_ext >&5
83090
83091 glibcxx_cv_func___builtin_fabsl_link=no
83092 fi
83093 rm -f conftest.err conftest.$ac_objext \
83094       conftest$ac_exeext conftest.$ac_ext
83095
83096 fi
83097
83098     fi
83099     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83100 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83101
83102     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83103
83104 cat >>confdefs.h <<\_ACEOF
83105 #define HAVE___BUILTIN_FABSL 1
83106 _ACEOF
83107
83108     fi
83109
83110   fi
83111
83112
83113   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83114 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83115   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83116     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83117   echo $ECHO_N "(cached) $ECHO_C" >&6
83118 else
83119
83120
83121
83122       ac_ext=cc
83123 ac_cpp='$CXXCPP $CPPFLAGS'
83124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83127
83128       cat >conftest.$ac_ext <<_ACEOF
83129 /* confdefs.h.  */
83130 _ACEOF
83131 cat confdefs.h >>conftest.$ac_ext
83132 cat >>conftest.$ac_ext <<_ACEOF
83133 /* end confdefs.h.  */
83134 #include <math.h>
83135 int
83136 main ()
83137 {
83138  __builtin_labs(0);
83139   ;
83140   return 0;
83141 }
83142 _ACEOF
83143 rm -f conftest.$ac_objext
83144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83145   (eval $ac_compile) 2>conftest.er1
83146   ac_status=$?
83147   grep -v '^ *+' conftest.er1 >conftest.err
83148   rm -f conftest.er1
83149   cat conftest.err >&5
83150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83151   (exit $ac_status); } &&
83152          { ac_try='test -z "$ac_cxx_werror_flag"
83153                          || test ! -s conftest.err'
83154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83155   (eval $ac_try) 2>&5
83156   ac_status=$?
83157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158   (exit $ac_status); }; } &&
83159          { ac_try='test -s conftest.$ac_objext'
83160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83161   (eval $ac_try) 2>&5
83162   ac_status=$?
83163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83164   (exit $ac_status); }; }; then
83165   glibcxx_cv_func___builtin_labs_use=yes
83166 else
83167   echo "$as_me: failed program was:" >&5
83168 sed 's/^/| /' conftest.$ac_ext >&5
83169
83170 glibcxx_cv_func___builtin_labs_use=no
83171 fi
83172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83173       ac_ext=c
83174 ac_cpp='$CPP $CPPFLAGS'
83175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83178
83179
83180 fi
83181
83182   fi
83183   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83184 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83185   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83186     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83187 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83188     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83189       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83190   echo $ECHO_N "(cached) $ECHO_C" >&6
83191 else
83192
83193         if test x$gcc_no_link = xyes; then
83194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83196    { (exit 1); exit 1; }; }
83197 fi
83198 cat >conftest.$ac_ext <<_ACEOF
83199 /* confdefs.h.  */
83200 _ACEOF
83201 cat confdefs.h >>conftest.$ac_ext
83202 cat >>conftest.$ac_ext <<_ACEOF
83203 /* end confdefs.h.  */
83204 #include <math.h>
83205 int
83206 main ()
83207 {
83208  __builtin_labs(0);
83209   ;
83210   return 0;
83211 }
83212 _ACEOF
83213 rm -f conftest.$ac_objext conftest$ac_exeext
83214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83215   (eval $ac_link) 2>conftest.er1
83216   ac_status=$?
83217   grep -v '^ *+' conftest.er1 >conftest.err
83218   rm -f conftest.er1
83219   cat conftest.err >&5
83220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221   (exit $ac_status); } &&
83222          { ac_try='test -z "$ac_c_werror_flag"
83223                          || test ! -s conftest.err'
83224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225   (eval $ac_try) 2>&5
83226   ac_status=$?
83227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228   (exit $ac_status); }; } &&
83229          { ac_try='test -s conftest$ac_exeext'
83230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83231   (eval $ac_try) 2>&5
83232   ac_status=$?
83233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234   (exit $ac_status); }; }; then
83235   glibcxx_cv_func___builtin_labs_link=yes
83236 else
83237   echo "$as_me: failed program was:" >&5
83238 sed 's/^/| /' conftest.$ac_ext >&5
83239
83240 glibcxx_cv_func___builtin_labs_link=no
83241 fi
83242 rm -f conftest.err conftest.$ac_objext \
83243       conftest$ac_exeext conftest.$ac_ext
83244
83245 fi
83246
83247     fi
83248     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
83249 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
83250
83251     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
83252
83253 cat >>confdefs.h <<\_ACEOF
83254 #define HAVE___BUILTIN_LABS 1
83255 _ACEOF
83256
83257     fi
83258
83259   fi
83260
83261
83262
83263   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
83264 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
83265   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
83266     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
83267   echo $ECHO_N "(cached) $ECHO_C" >&6
83268 else
83269
83270
83271
83272       ac_ext=cc
83273 ac_cpp='$CXXCPP $CPPFLAGS'
83274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83277
83278       cat >conftest.$ac_ext <<_ACEOF
83279 /* confdefs.h.  */
83280 _ACEOF
83281 cat confdefs.h >>conftest.$ac_ext
83282 cat >>conftest.$ac_ext <<_ACEOF
83283 /* end confdefs.h.  */
83284 #include <math.h>
83285 int
83286 main ()
83287 {
83288  __builtin_sqrtf(0);
83289   ;
83290   return 0;
83291 }
83292 _ACEOF
83293 rm -f conftest.$ac_objext
83294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83295   (eval $ac_compile) 2>conftest.er1
83296   ac_status=$?
83297   grep -v '^ *+' conftest.er1 >conftest.err
83298   rm -f conftest.er1
83299   cat conftest.err >&5
83300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83301   (exit $ac_status); } &&
83302          { ac_try='test -z "$ac_cxx_werror_flag"
83303                          || test ! -s conftest.err'
83304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83305   (eval $ac_try) 2>&5
83306   ac_status=$?
83307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83308   (exit $ac_status); }; } &&
83309          { ac_try='test -s conftest.$ac_objext'
83310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83311   (eval $ac_try) 2>&5
83312   ac_status=$?
83313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83314   (exit $ac_status); }; }; then
83315   glibcxx_cv_func___builtin_sqrtf_use=yes
83316 else
83317   echo "$as_me: failed program was:" >&5
83318 sed 's/^/| /' conftest.$ac_ext >&5
83319
83320 glibcxx_cv_func___builtin_sqrtf_use=no
83321 fi
83322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83323       ac_ext=c
83324 ac_cpp='$CPP $CPPFLAGS'
83325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83328
83329
83330 fi
83331
83332   fi
83333   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
83334 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
83335   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
83336     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
83337 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
83338     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
83339       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
83340   echo $ECHO_N "(cached) $ECHO_C" >&6
83341 else
83342
83343         if test x$gcc_no_link = xyes; then
83344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83346    { (exit 1); exit 1; }; }
83347 fi
83348 cat >conftest.$ac_ext <<_ACEOF
83349 /* confdefs.h.  */
83350 _ACEOF
83351 cat confdefs.h >>conftest.$ac_ext
83352 cat >>conftest.$ac_ext <<_ACEOF
83353 /* end confdefs.h.  */
83354 #include <math.h>
83355 int
83356 main ()
83357 {
83358  __builtin_sqrtf(0);
83359   ;
83360   return 0;
83361 }
83362 _ACEOF
83363 rm -f conftest.$ac_objext conftest$ac_exeext
83364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83365   (eval $ac_link) 2>conftest.er1
83366   ac_status=$?
83367   grep -v '^ *+' conftest.er1 >conftest.err
83368   rm -f conftest.er1
83369   cat conftest.err >&5
83370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83371   (exit $ac_status); } &&
83372          { ac_try='test -z "$ac_c_werror_flag"
83373                          || test ! -s conftest.err'
83374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83375   (eval $ac_try) 2>&5
83376   ac_status=$?
83377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378   (exit $ac_status); }; } &&
83379          { ac_try='test -s conftest$ac_exeext'
83380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83381   (eval $ac_try) 2>&5
83382   ac_status=$?
83383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83384   (exit $ac_status); }; }; then
83385   glibcxx_cv_func___builtin_sqrtf_link=yes
83386 else
83387   echo "$as_me: failed program was:" >&5
83388 sed 's/^/| /' conftest.$ac_ext >&5
83389
83390 glibcxx_cv_func___builtin_sqrtf_link=no
83391 fi
83392 rm -f conftest.err conftest.$ac_objext \
83393       conftest$ac_exeext conftest.$ac_ext
83394
83395 fi
83396
83397     fi
83398     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83400
83401     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83402
83403 cat >>confdefs.h <<\_ACEOF
83404 #define HAVE___BUILTIN_SQRTF 1
83405 _ACEOF
83406
83407     fi
83408
83409   fi
83410
83411
83412   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83413 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83414   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83415     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83416   echo $ECHO_N "(cached) $ECHO_C" >&6
83417 else
83418
83419
83420
83421       ac_ext=cc
83422 ac_cpp='$CXXCPP $CPPFLAGS'
83423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83426
83427       cat >conftest.$ac_ext <<_ACEOF
83428 /* confdefs.h.  */
83429 _ACEOF
83430 cat confdefs.h >>conftest.$ac_ext
83431 cat >>conftest.$ac_ext <<_ACEOF
83432 /* end confdefs.h.  */
83433 #include <math.h>
83434 int
83435 main ()
83436 {
83437  __builtin_sqrt(0);
83438   ;
83439   return 0;
83440 }
83441 _ACEOF
83442 rm -f conftest.$ac_objext
83443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83444   (eval $ac_compile) 2>conftest.er1
83445   ac_status=$?
83446   grep -v '^ *+' conftest.er1 >conftest.err
83447   rm -f conftest.er1
83448   cat conftest.err >&5
83449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83450   (exit $ac_status); } &&
83451          { ac_try='test -z "$ac_cxx_werror_flag"
83452                          || test ! -s conftest.err'
83453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83454   (eval $ac_try) 2>&5
83455   ac_status=$?
83456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83457   (exit $ac_status); }; } &&
83458          { ac_try='test -s conftest.$ac_objext'
83459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83460   (eval $ac_try) 2>&5
83461   ac_status=$?
83462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83463   (exit $ac_status); }; }; then
83464   glibcxx_cv_func___builtin_sqrt_use=yes
83465 else
83466   echo "$as_me: failed program was:" >&5
83467 sed 's/^/| /' conftest.$ac_ext >&5
83468
83469 glibcxx_cv_func___builtin_sqrt_use=no
83470 fi
83471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83472       ac_ext=c
83473 ac_cpp='$CPP $CPPFLAGS'
83474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83477
83478
83479 fi
83480
83481   fi
83482   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83483 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83484   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83485     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83486 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83487     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83488       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83489   echo $ECHO_N "(cached) $ECHO_C" >&6
83490 else
83491
83492         if test x$gcc_no_link = xyes; then
83493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83495    { (exit 1); exit 1; }; }
83496 fi
83497 cat >conftest.$ac_ext <<_ACEOF
83498 /* confdefs.h.  */
83499 _ACEOF
83500 cat confdefs.h >>conftest.$ac_ext
83501 cat >>conftest.$ac_ext <<_ACEOF
83502 /* end confdefs.h.  */
83503 #include <math.h>
83504 int
83505 main ()
83506 {
83507  __builtin_sqrt(0);
83508   ;
83509   return 0;
83510 }
83511 _ACEOF
83512 rm -f conftest.$ac_objext conftest$ac_exeext
83513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83514   (eval $ac_link) 2>conftest.er1
83515   ac_status=$?
83516   grep -v '^ *+' conftest.er1 >conftest.err
83517   rm -f conftest.er1
83518   cat conftest.err >&5
83519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83520   (exit $ac_status); } &&
83521          { ac_try='test -z "$ac_c_werror_flag"
83522                          || test ! -s conftest.err'
83523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83524   (eval $ac_try) 2>&5
83525   ac_status=$?
83526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527   (exit $ac_status); }; } &&
83528          { ac_try='test -s conftest$ac_exeext'
83529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83530   (eval $ac_try) 2>&5
83531   ac_status=$?
83532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83533   (exit $ac_status); }; }; then
83534   glibcxx_cv_func___builtin_sqrt_link=yes
83535 else
83536   echo "$as_me: failed program was:" >&5
83537 sed 's/^/| /' conftest.$ac_ext >&5
83538
83539 glibcxx_cv_func___builtin_sqrt_link=no
83540 fi
83541 rm -f conftest.err conftest.$ac_objext \
83542       conftest$ac_exeext conftest.$ac_ext
83543
83544 fi
83545
83546     fi
83547     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83549
83550     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83551
83552 cat >>confdefs.h <<\_ACEOF
83553 #define HAVE___BUILTIN_SQRT 1
83554 _ACEOF
83555
83556     fi
83557
83558   fi
83559
83560
83561   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83562 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83563   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83564     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83565   echo $ECHO_N "(cached) $ECHO_C" >&6
83566 else
83567
83568
83569
83570       ac_ext=cc
83571 ac_cpp='$CXXCPP $CPPFLAGS'
83572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83575
83576       cat >conftest.$ac_ext <<_ACEOF
83577 /* confdefs.h.  */
83578 _ACEOF
83579 cat confdefs.h >>conftest.$ac_ext
83580 cat >>conftest.$ac_ext <<_ACEOF
83581 /* end confdefs.h.  */
83582 #include <math.h>
83583 int
83584 main ()
83585 {
83586  __builtin_sqrtl(0);
83587   ;
83588   return 0;
83589 }
83590 _ACEOF
83591 rm -f conftest.$ac_objext
83592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83593   (eval $ac_compile) 2>conftest.er1
83594   ac_status=$?
83595   grep -v '^ *+' conftest.er1 >conftest.err
83596   rm -f conftest.er1
83597   cat conftest.err >&5
83598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83599   (exit $ac_status); } &&
83600          { ac_try='test -z "$ac_cxx_werror_flag"
83601                          || test ! -s conftest.err'
83602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83603   (eval $ac_try) 2>&5
83604   ac_status=$?
83605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83606   (exit $ac_status); }; } &&
83607          { ac_try='test -s conftest.$ac_objext'
83608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83609   (eval $ac_try) 2>&5
83610   ac_status=$?
83611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83612   (exit $ac_status); }; }; then
83613   glibcxx_cv_func___builtin_sqrtl_use=yes
83614 else
83615   echo "$as_me: failed program was:" >&5
83616 sed 's/^/| /' conftest.$ac_ext >&5
83617
83618 glibcxx_cv_func___builtin_sqrtl_use=no
83619 fi
83620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83621       ac_ext=c
83622 ac_cpp='$CPP $CPPFLAGS'
83623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83626
83627
83628 fi
83629
83630   fi
83631   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83632 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83633   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83634     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83635 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83636     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83637       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83638   echo $ECHO_N "(cached) $ECHO_C" >&6
83639 else
83640
83641         if test x$gcc_no_link = xyes; then
83642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83644    { (exit 1); exit 1; }; }
83645 fi
83646 cat >conftest.$ac_ext <<_ACEOF
83647 /* confdefs.h.  */
83648 _ACEOF
83649 cat confdefs.h >>conftest.$ac_ext
83650 cat >>conftest.$ac_ext <<_ACEOF
83651 /* end confdefs.h.  */
83652 #include <math.h>
83653 int
83654 main ()
83655 {
83656  __builtin_sqrtl(0);
83657   ;
83658   return 0;
83659 }
83660 _ACEOF
83661 rm -f conftest.$ac_objext conftest$ac_exeext
83662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83663   (eval $ac_link) 2>conftest.er1
83664   ac_status=$?
83665   grep -v '^ *+' conftest.er1 >conftest.err
83666   rm -f conftest.er1
83667   cat conftest.err >&5
83668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83669   (exit $ac_status); } &&
83670          { ac_try='test -z "$ac_c_werror_flag"
83671                          || test ! -s conftest.err'
83672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83673   (eval $ac_try) 2>&5
83674   ac_status=$?
83675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83676   (exit $ac_status); }; } &&
83677          { ac_try='test -s conftest$ac_exeext'
83678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83679   (eval $ac_try) 2>&5
83680   ac_status=$?
83681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83682   (exit $ac_status); }; }; then
83683   glibcxx_cv_func___builtin_sqrtl_link=yes
83684 else
83685   echo "$as_me: failed program was:" >&5
83686 sed 's/^/| /' conftest.$ac_ext >&5
83687
83688 glibcxx_cv_func___builtin_sqrtl_link=no
83689 fi
83690 rm -f conftest.err conftest.$ac_objext \
83691       conftest$ac_exeext conftest.$ac_ext
83692
83693 fi
83694
83695     fi
83696     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83697 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83698
83699     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83700
83701 cat >>confdefs.h <<\_ACEOF
83702 #define HAVE___BUILTIN_SQRTL 1
83703 _ACEOF
83704
83705     fi
83706
83707   fi
83708
83709
83710
83711   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83712 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83713   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83714     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83715   echo $ECHO_N "(cached) $ECHO_C" >&6
83716 else
83717
83718
83719
83720       ac_ext=cc
83721 ac_cpp='$CXXCPP $CPPFLAGS'
83722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83725
83726       cat >conftest.$ac_ext <<_ACEOF
83727 /* confdefs.h.  */
83728 _ACEOF
83729 cat confdefs.h >>conftest.$ac_ext
83730 cat >>conftest.$ac_ext <<_ACEOF
83731 /* end confdefs.h.  */
83732 #include <math.h>
83733 int
83734 main ()
83735 {
83736  __builtin_sinf(0);
83737   ;
83738   return 0;
83739 }
83740 _ACEOF
83741 rm -f conftest.$ac_objext
83742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83743   (eval $ac_compile) 2>conftest.er1
83744   ac_status=$?
83745   grep -v '^ *+' conftest.er1 >conftest.err
83746   rm -f conftest.er1
83747   cat conftest.err >&5
83748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83749   (exit $ac_status); } &&
83750          { ac_try='test -z "$ac_cxx_werror_flag"
83751                          || test ! -s conftest.err'
83752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83753   (eval $ac_try) 2>&5
83754   ac_status=$?
83755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83756   (exit $ac_status); }; } &&
83757          { ac_try='test -s conftest.$ac_objext'
83758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83759   (eval $ac_try) 2>&5
83760   ac_status=$?
83761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83762   (exit $ac_status); }; }; then
83763   glibcxx_cv_func___builtin_sinf_use=yes
83764 else
83765   echo "$as_me: failed program was:" >&5
83766 sed 's/^/| /' conftest.$ac_ext >&5
83767
83768 glibcxx_cv_func___builtin_sinf_use=no
83769 fi
83770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83771       ac_ext=c
83772 ac_cpp='$CPP $CPPFLAGS'
83773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83776
83777
83778 fi
83779
83780   fi
83781   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83782 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83783   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83784     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83785 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83786     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83787       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83788   echo $ECHO_N "(cached) $ECHO_C" >&6
83789 else
83790
83791         if test x$gcc_no_link = xyes; then
83792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83794    { (exit 1); exit 1; }; }
83795 fi
83796 cat >conftest.$ac_ext <<_ACEOF
83797 /* confdefs.h.  */
83798 _ACEOF
83799 cat confdefs.h >>conftest.$ac_ext
83800 cat >>conftest.$ac_ext <<_ACEOF
83801 /* end confdefs.h.  */
83802 #include <math.h>
83803 int
83804 main ()
83805 {
83806  __builtin_sinf(0);
83807   ;
83808   return 0;
83809 }
83810 _ACEOF
83811 rm -f conftest.$ac_objext conftest$ac_exeext
83812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83813   (eval $ac_link) 2>conftest.er1
83814   ac_status=$?
83815   grep -v '^ *+' conftest.er1 >conftest.err
83816   rm -f conftest.er1
83817   cat conftest.err >&5
83818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83819   (exit $ac_status); } &&
83820          { ac_try='test -z "$ac_c_werror_flag"
83821                          || test ! -s conftest.err'
83822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83823   (eval $ac_try) 2>&5
83824   ac_status=$?
83825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83826   (exit $ac_status); }; } &&
83827          { ac_try='test -s conftest$ac_exeext'
83828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83829   (eval $ac_try) 2>&5
83830   ac_status=$?
83831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83832   (exit $ac_status); }; }; then
83833   glibcxx_cv_func___builtin_sinf_link=yes
83834 else
83835   echo "$as_me: failed program was:" >&5
83836 sed 's/^/| /' conftest.$ac_ext >&5
83837
83838 glibcxx_cv_func___builtin_sinf_link=no
83839 fi
83840 rm -f conftest.err conftest.$ac_objext \
83841       conftest$ac_exeext conftest.$ac_ext
83842
83843 fi
83844
83845     fi
83846     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
83848
83849     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
83850
83851 cat >>confdefs.h <<\_ACEOF
83852 #define HAVE___BUILTIN_SINF 1
83853 _ACEOF
83854
83855     fi
83856
83857   fi
83858
83859
83860   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
83861 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
83862   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
83863     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
83864   echo $ECHO_N "(cached) $ECHO_C" >&6
83865 else
83866
83867
83868
83869       ac_ext=cc
83870 ac_cpp='$CXXCPP $CPPFLAGS'
83871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83874
83875       cat >conftest.$ac_ext <<_ACEOF
83876 /* confdefs.h.  */
83877 _ACEOF
83878 cat confdefs.h >>conftest.$ac_ext
83879 cat >>conftest.$ac_ext <<_ACEOF
83880 /* end confdefs.h.  */
83881 #include <math.h>
83882 int
83883 main ()
83884 {
83885  __builtin_sin(0);
83886   ;
83887   return 0;
83888 }
83889 _ACEOF
83890 rm -f conftest.$ac_objext
83891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83892   (eval $ac_compile) 2>conftest.er1
83893   ac_status=$?
83894   grep -v '^ *+' conftest.er1 >conftest.err
83895   rm -f conftest.er1
83896   cat conftest.err >&5
83897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83898   (exit $ac_status); } &&
83899          { ac_try='test -z "$ac_cxx_werror_flag"
83900                          || test ! -s conftest.err'
83901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83902   (eval $ac_try) 2>&5
83903   ac_status=$?
83904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905   (exit $ac_status); }; } &&
83906          { ac_try='test -s conftest.$ac_objext'
83907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83908   (eval $ac_try) 2>&5
83909   ac_status=$?
83910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83911   (exit $ac_status); }; }; then
83912   glibcxx_cv_func___builtin_sin_use=yes
83913 else
83914   echo "$as_me: failed program was:" >&5
83915 sed 's/^/| /' conftest.$ac_ext >&5
83916
83917 glibcxx_cv_func___builtin_sin_use=no
83918 fi
83919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83920       ac_ext=c
83921 ac_cpp='$CPP $CPPFLAGS'
83922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83925
83926
83927 fi
83928
83929   fi
83930   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83932   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83933     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83934 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83935     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83936       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83937   echo $ECHO_N "(cached) $ECHO_C" >&6
83938 else
83939
83940         if test x$gcc_no_link = xyes; then
83941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83943    { (exit 1); exit 1; }; }
83944 fi
83945 cat >conftest.$ac_ext <<_ACEOF
83946 /* confdefs.h.  */
83947 _ACEOF
83948 cat confdefs.h >>conftest.$ac_ext
83949 cat >>conftest.$ac_ext <<_ACEOF
83950 /* end confdefs.h.  */
83951 #include <math.h>
83952 int
83953 main ()
83954 {
83955  __builtin_sin(0);
83956   ;
83957   return 0;
83958 }
83959 _ACEOF
83960 rm -f conftest.$ac_objext conftest$ac_exeext
83961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83962   (eval $ac_link) 2>conftest.er1
83963   ac_status=$?
83964   grep -v '^ *+' conftest.er1 >conftest.err
83965   rm -f conftest.er1
83966   cat conftest.err >&5
83967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83968   (exit $ac_status); } &&
83969          { ac_try='test -z "$ac_c_werror_flag"
83970                          || test ! -s conftest.err'
83971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972   (eval $ac_try) 2>&5
83973   ac_status=$?
83974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975   (exit $ac_status); }; } &&
83976          { ac_try='test -s conftest$ac_exeext'
83977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83978   (eval $ac_try) 2>&5
83979   ac_status=$?
83980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83981   (exit $ac_status); }; }; then
83982   glibcxx_cv_func___builtin_sin_link=yes
83983 else
83984   echo "$as_me: failed program was:" >&5
83985 sed 's/^/| /' conftest.$ac_ext >&5
83986
83987 glibcxx_cv_func___builtin_sin_link=no
83988 fi
83989 rm -f conftest.err conftest.$ac_objext \
83990       conftest$ac_exeext conftest.$ac_ext
83991
83992 fi
83993
83994     fi
83995     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83997
83998     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83999
84000 cat >>confdefs.h <<\_ACEOF
84001 #define HAVE___BUILTIN_SIN 1
84002 _ACEOF
84003
84004     fi
84005
84006   fi
84007
84008
84009   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
84010 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
84011   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
84012     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
84013   echo $ECHO_N "(cached) $ECHO_C" >&6
84014 else
84015
84016
84017
84018       ac_ext=cc
84019 ac_cpp='$CXXCPP $CPPFLAGS'
84020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84023
84024       cat >conftest.$ac_ext <<_ACEOF
84025 /* confdefs.h.  */
84026 _ACEOF
84027 cat confdefs.h >>conftest.$ac_ext
84028 cat >>conftest.$ac_ext <<_ACEOF
84029 /* end confdefs.h.  */
84030 #include <math.h>
84031 int
84032 main ()
84033 {
84034  __builtin_sinl(0);
84035   ;
84036   return 0;
84037 }
84038 _ACEOF
84039 rm -f conftest.$ac_objext
84040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84041   (eval $ac_compile) 2>conftest.er1
84042   ac_status=$?
84043   grep -v '^ *+' conftest.er1 >conftest.err
84044   rm -f conftest.er1
84045   cat conftest.err >&5
84046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84047   (exit $ac_status); } &&
84048          { ac_try='test -z "$ac_cxx_werror_flag"
84049                          || test ! -s conftest.err'
84050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84051   (eval $ac_try) 2>&5
84052   ac_status=$?
84053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84054   (exit $ac_status); }; } &&
84055          { ac_try='test -s conftest.$ac_objext'
84056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84057   (eval $ac_try) 2>&5
84058   ac_status=$?
84059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84060   (exit $ac_status); }; }; then
84061   glibcxx_cv_func___builtin_sinl_use=yes
84062 else
84063   echo "$as_me: failed program was:" >&5
84064 sed 's/^/| /' conftest.$ac_ext >&5
84065
84066 glibcxx_cv_func___builtin_sinl_use=no
84067 fi
84068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84069       ac_ext=c
84070 ac_cpp='$CPP $CPPFLAGS'
84071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84074
84075
84076 fi
84077
84078   fi
84079   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84080 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84081   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84082     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84083 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84084     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84085       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84086   echo $ECHO_N "(cached) $ECHO_C" >&6
84087 else
84088
84089         if test x$gcc_no_link = xyes; then
84090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84092    { (exit 1); exit 1; }; }
84093 fi
84094 cat >conftest.$ac_ext <<_ACEOF
84095 /* confdefs.h.  */
84096 _ACEOF
84097 cat confdefs.h >>conftest.$ac_ext
84098 cat >>conftest.$ac_ext <<_ACEOF
84099 /* end confdefs.h.  */
84100 #include <math.h>
84101 int
84102 main ()
84103 {
84104  __builtin_sinl(0);
84105   ;
84106   return 0;
84107 }
84108 _ACEOF
84109 rm -f conftest.$ac_objext conftest$ac_exeext
84110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84111   (eval $ac_link) 2>conftest.er1
84112   ac_status=$?
84113   grep -v '^ *+' conftest.er1 >conftest.err
84114   rm -f conftest.er1
84115   cat conftest.err >&5
84116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84117   (exit $ac_status); } &&
84118          { ac_try='test -z "$ac_c_werror_flag"
84119                          || test ! -s conftest.err'
84120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84121   (eval $ac_try) 2>&5
84122   ac_status=$?
84123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84124   (exit $ac_status); }; } &&
84125          { ac_try='test -s conftest$ac_exeext'
84126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84127   (eval $ac_try) 2>&5
84128   ac_status=$?
84129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84130   (exit $ac_status); }; }; then
84131   glibcxx_cv_func___builtin_sinl_link=yes
84132 else
84133   echo "$as_me: failed program was:" >&5
84134 sed 's/^/| /' conftest.$ac_ext >&5
84135
84136 glibcxx_cv_func___builtin_sinl_link=no
84137 fi
84138 rm -f conftest.err conftest.$ac_objext \
84139       conftest$ac_exeext conftest.$ac_ext
84140
84141 fi
84142
84143     fi
84144     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84146
84147     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84148
84149 cat >>confdefs.h <<\_ACEOF
84150 #define HAVE___BUILTIN_SINL 1
84151 _ACEOF
84152
84153     fi
84154
84155   fi
84156
84157
84158
84159   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84160 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84161   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84162     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84163   echo $ECHO_N "(cached) $ECHO_C" >&6
84164 else
84165
84166
84167
84168       ac_ext=cc
84169 ac_cpp='$CXXCPP $CPPFLAGS'
84170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84173
84174       cat >conftest.$ac_ext <<_ACEOF
84175 /* confdefs.h.  */
84176 _ACEOF
84177 cat confdefs.h >>conftest.$ac_ext
84178 cat >>conftest.$ac_ext <<_ACEOF
84179 /* end confdefs.h.  */
84180 #include <math.h>
84181 int
84182 main ()
84183 {
84184  __builtin_cosf(0);
84185   ;
84186   return 0;
84187 }
84188 _ACEOF
84189 rm -f conftest.$ac_objext
84190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84191   (eval $ac_compile) 2>conftest.er1
84192   ac_status=$?
84193   grep -v '^ *+' conftest.er1 >conftest.err
84194   rm -f conftest.er1
84195   cat conftest.err >&5
84196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84197   (exit $ac_status); } &&
84198          { ac_try='test -z "$ac_cxx_werror_flag"
84199                          || test ! -s conftest.err'
84200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84201   (eval $ac_try) 2>&5
84202   ac_status=$?
84203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84204   (exit $ac_status); }; } &&
84205          { ac_try='test -s conftest.$ac_objext'
84206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84207   (eval $ac_try) 2>&5
84208   ac_status=$?
84209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84210   (exit $ac_status); }; }; then
84211   glibcxx_cv_func___builtin_cosf_use=yes
84212 else
84213   echo "$as_me: failed program was:" >&5
84214 sed 's/^/| /' conftest.$ac_ext >&5
84215
84216 glibcxx_cv_func___builtin_cosf_use=no
84217 fi
84218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84219       ac_ext=c
84220 ac_cpp='$CPP $CPPFLAGS'
84221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84224
84225
84226 fi
84227
84228   fi
84229   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
84230 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
84231   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
84232     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
84233 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
84234     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
84235       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
84236   echo $ECHO_N "(cached) $ECHO_C" >&6
84237 else
84238
84239         if test x$gcc_no_link = xyes; then
84240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84242    { (exit 1); exit 1; }; }
84243 fi
84244 cat >conftest.$ac_ext <<_ACEOF
84245 /* confdefs.h.  */
84246 _ACEOF
84247 cat confdefs.h >>conftest.$ac_ext
84248 cat >>conftest.$ac_ext <<_ACEOF
84249 /* end confdefs.h.  */
84250 #include <math.h>
84251 int
84252 main ()
84253 {
84254  __builtin_cosf(0);
84255   ;
84256   return 0;
84257 }
84258 _ACEOF
84259 rm -f conftest.$ac_objext conftest$ac_exeext
84260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84261   (eval $ac_link) 2>conftest.er1
84262   ac_status=$?
84263   grep -v '^ *+' conftest.er1 >conftest.err
84264   rm -f conftest.er1
84265   cat conftest.err >&5
84266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84267   (exit $ac_status); } &&
84268          { ac_try='test -z "$ac_c_werror_flag"
84269                          || test ! -s conftest.err'
84270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84271   (eval $ac_try) 2>&5
84272   ac_status=$?
84273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84274   (exit $ac_status); }; } &&
84275          { ac_try='test -s conftest$ac_exeext'
84276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84277   (eval $ac_try) 2>&5
84278   ac_status=$?
84279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84280   (exit $ac_status); }; }; then
84281   glibcxx_cv_func___builtin_cosf_link=yes
84282 else
84283   echo "$as_me: failed program was:" >&5
84284 sed 's/^/| /' conftest.$ac_ext >&5
84285
84286 glibcxx_cv_func___builtin_cosf_link=no
84287 fi
84288 rm -f conftest.err conftest.$ac_objext \
84289       conftest$ac_exeext conftest.$ac_ext
84290
84291 fi
84292
84293     fi
84294     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
84295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
84296
84297     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
84298
84299 cat >>confdefs.h <<\_ACEOF
84300 #define HAVE___BUILTIN_COSF 1
84301 _ACEOF
84302
84303     fi
84304
84305   fi
84306
84307
84308   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
84309 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
84310   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
84311     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
84312   echo $ECHO_N "(cached) $ECHO_C" >&6
84313 else
84314
84315
84316
84317       ac_ext=cc
84318 ac_cpp='$CXXCPP $CPPFLAGS'
84319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84322
84323       cat >conftest.$ac_ext <<_ACEOF
84324 /* confdefs.h.  */
84325 _ACEOF
84326 cat confdefs.h >>conftest.$ac_ext
84327 cat >>conftest.$ac_ext <<_ACEOF
84328 /* end confdefs.h.  */
84329 #include <math.h>
84330 int
84331 main ()
84332 {
84333  __builtin_cos(0);
84334   ;
84335   return 0;
84336 }
84337 _ACEOF
84338 rm -f conftest.$ac_objext
84339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84340   (eval $ac_compile) 2>conftest.er1
84341   ac_status=$?
84342   grep -v '^ *+' conftest.er1 >conftest.err
84343   rm -f conftest.er1
84344   cat conftest.err >&5
84345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84346   (exit $ac_status); } &&
84347          { ac_try='test -z "$ac_cxx_werror_flag"
84348                          || test ! -s conftest.err'
84349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84350   (eval $ac_try) 2>&5
84351   ac_status=$?
84352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84353   (exit $ac_status); }; } &&
84354          { ac_try='test -s conftest.$ac_objext'
84355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84356   (eval $ac_try) 2>&5
84357   ac_status=$?
84358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84359   (exit $ac_status); }; }; then
84360   glibcxx_cv_func___builtin_cos_use=yes
84361 else
84362   echo "$as_me: failed program was:" >&5
84363 sed 's/^/| /' conftest.$ac_ext >&5
84364
84365 glibcxx_cv_func___builtin_cos_use=no
84366 fi
84367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84368       ac_ext=c
84369 ac_cpp='$CPP $CPPFLAGS'
84370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84373
84374
84375 fi
84376
84377   fi
84378   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84379 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84380   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84381     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84382 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84383     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84384       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84385   echo $ECHO_N "(cached) $ECHO_C" >&6
84386 else
84387
84388         if test x$gcc_no_link = xyes; then
84389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84391    { (exit 1); exit 1; }; }
84392 fi
84393 cat >conftest.$ac_ext <<_ACEOF
84394 /* confdefs.h.  */
84395 _ACEOF
84396 cat confdefs.h >>conftest.$ac_ext
84397 cat >>conftest.$ac_ext <<_ACEOF
84398 /* end confdefs.h.  */
84399 #include <math.h>
84400 int
84401 main ()
84402 {
84403  __builtin_cos(0);
84404   ;
84405   return 0;
84406 }
84407 _ACEOF
84408 rm -f conftest.$ac_objext conftest$ac_exeext
84409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84410   (eval $ac_link) 2>conftest.er1
84411   ac_status=$?
84412   grep -v '^ *+' conftest.er1 >conftest.err
84413   rm -f conftest.er1
84414   cat conftest.err >&5
84415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416   (exit $ac_status); } &&
84417          { ac_try='test -z "$ac_c_werror_flag"
84418                          || test ! -s conftest.err'
84419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84420   (eval $ac_try) 2>&5
84421   ac_status=$?
84422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84423   (exit $ac_status); }; } &&
84424          { ac_try='test -s conftest$ac_exeext'
84425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84426   (eval $ac_try) 2>&5
84427   ac_status=$?
84428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84429   (exit $ac_status); }; }; then
84430   glibcxx_cv_func___builtin_cos_link=yes
84431 else
84432   echo "$as_me: failed program was:" >&5
84433 sed 's/^/| /' conftest.$ac_ext >&5
84434
84435 glibcxx_cv_func___builtin_cos_link=no
84436 fi
84437 rm -f conftest.err conftest.$ac_objext \
84438       conftest$ac_exeext conftest.$ac_ext
84439
84440 fi
84441
84442     fi
84443     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84445
84446     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84447
84448 cat >>confdefs.h <<\_ACEOF
84449 #define HAVE___BUILTIN_COS 1
84450 _ACEOF
84451
84452     fi
84453
84454   fi
84455
84456
84457   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84458 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84459   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84460     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84461   echo $ECHO_N "(cached) $ECHO_C" >&6
84462 else
84463
84464
84465
84466       ac_ext=cc
84467 ac_cpp='$CXXCPP $CPPFLAGS'
84468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84471
84472       cat >conftest.$ac_ext <<_ACEOF
84473 /* confdefs.h.  */
84474 _ACEOF
84475 cat confdefs.h >>conftest.$ac_ext
84476 cat >>conftest.$ac_ext <<_ACEOF
84477 /* end confdefs.h.  */
84478 #include <math.h>
84479 int
84480 main ()
84481 {
84482  __builtin_cosl(0);
84483   ;
84484   return 0;
84485 }
84486 _ACEOF
84487 rm -f conftest.$ac_objext
84488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84489   (eval $ac_compile) 2>conftest.er1
84490   ac_status=$?
84491   grep -v '^ *+' conftest.er1 >conftest.err
84492   rm -f conftest.er1
84493   cat conftest.err >&5
84494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84495   (exit $ac_status); } &&
84496          { ac_try='test -z "$ac_cxx_werror_flag"
84497                          || test ! -s conftest.err'
84498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84499   (eval $ac_try) 2>&5
84500   ac_status=$?
84501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84502   (exit $ac_status); }; } &&
84503          { ac_try='test -s conftest.$ac_objext'
84504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84505   (eval $ac_try) 2>&5
84506   ac_status=$?
84507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84508   (exit $ac_status); }; }; then
84509   glibcxx_cv_func___builtin_cosl_use=yes
84510 else
84511   echo "$as_me: failed program was:" >&5
84512 sed 's/^/| /' conftest.$ac_ext >&5
84513
84514 glibcxx_cv_func___builtin_cosl_use=no
84515 fi
84516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84517       ac_ext=c
84518 ac_cpp='$CPP $CPPFLAGS'
84519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84522
84523
84524 fi
84525
84526   fi
84527   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84528 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84529   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84530     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84531 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84532     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84533       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84534   echo $ECHO_N "(cached) $ECHO_C" >&6
84535 else
84536
84537         if test x$gcc_no_link = xyes; then
84538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84540    { (exit 1); exit 1; }; }
84541 fi
84542 cat >conftest.$ac_ext <<_ACEOF
84543 /* confdefs.h.  */
84544 _ACEOF
84545 cat confdefs.h >>conftest.$ac_ext
84546 cat >>conftest.$ac_ext <<_ACEOF
84547 /* end confdefs.h.  */
84548 #include <math.h>
84549 int
84550 main ()
84551 {
84552  __builtin_cosl(0);
84553   ;
84554   return 0;
84555 }
84556 _ACEOF
84557 rm -f conftest.$ac_objext conftest$ac_exeext
84558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84559   (eval $ac_link) 2>conftest.er1
84560   ac_status=$?
84561   grep -v '^ *+' conftest.er1 >conftest.err
84562   rm -f conftest.er1
84563   cat conftest.err >&5
84564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84565   (exit $ac_status); } &&
84566          { ac_try='test -z "$ac_c_werror_flag"
84567                          || test ! -s conftest.err'
84568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569   (eval $ac_try) 2>&5
84570   ac_status=$?
84571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572   (exit $ac_status); }; } &&
84573          { ac_try='test -s conftest$ac_exeext'
84574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84575   (eval $ac_try) 2>&5
84576   ac_status=$?
84577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84578   (exit $ac_status); }; }; then
84579   glibcxx_cv_func___builtin_cosl_link=yes
84580 else
84581   echo "$as_me: failed program was:" >&5
84582 sed 's/^/| /' conftest.$ac_ext >&5
84583
84584 glibcxx_cv_func___builtin_cosl_link=no
84585 fi
84586 rm -f conftest.err conftest.$ac_objext \
84587       conftest$ac_exeext conftest.$ac_ext
84588
84589 fi
84590
84591     fi
84592     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84593 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84594
84595     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84596
84597 cat >>confdefs.h <<\_ACEOF
84598 #define HAVE___BUILTIN_COSL 1
84599 _ACEOF
84600
84601     fi
84602
84603   fi
84604
84605
84606
84607
84608 echo "$as_me:$LINENO: checking for main in -lm" >&5
84609 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84610 if test "${ac_cv_lib_m_main+set}" = set; then
84611   echo $ECHO_N "(cached) $ECHO_C" >&6
84612 else
84613   ac_check_lib_save_LIBS=$LIBS
84614 LIBS="-lm  $LIBS"
84615 if test x$gcc_no_link = xyes; then
84616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84618    { (exit 1); exit 1; }; }
84619 fi
84620 cat >conftest.$ac_ext <<_ACEOF
84621 /* confdefs.h.  */
84622 _ACEOF
84623 cat confdefs.h >>conftest.$ac_ext
84624 cat >>conftest.$ac_ext <<_ACEOF
84625 /* end confdefs.h.  */
84626
84627
84628 int
84629 main ()
84630 {
84631 main ();
84632   ;
84633   return 0;
84634 }
84635 _ACEOF
84636 rm -f conftest.$ac_objext conftest$ac_exeext
84637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84638   (eval $ac_link) 2>conftest.er1
84639   ac_status=$?
84640   grep -v '^ *+' conftest.er1 >conftest.err
84641   rm -f conftest.er1
84642   cat conftest.err >&5
84643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84644   (exit $ac_status); } &&
84645          { ac_try='test -z "$ac_c_werror_flag"
84646                          || test ! -s conftest.err'
84647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84648   (eval $ac_try) 2>&5
84649   ac_status=$?
84650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84651   (exit $ac_status); }; } &&
84652          { ac_try='test -s conftest$ac_exeext'
84653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84654   (eval $ac_try) 2>&5
84655   ac_status=$?
84656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657   (exit $ac_status); }; }; then
84658   ac_cv_lib_m_main=yes
84659 else
84660   echo "$as_me: failed program was:" >&5
84661 sed 's/^/| /' conftest.$ac_ext >&5
84662
84663 ac_cv_lib_m_main=no
84664 fi
84665 rm -f conftest.err conftest.$ac_objext \
84666       conftest$ac_exeext conftest.$ac_ext
84667 LIBS=$ac_check_lib_save_LIBS
84668 fi
84669 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84670 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84671 if test $ac_cv_lib_m_main = yes; then
84672   cat >>confdefs.h <<_ACEOF
84673 #define HAVE_LIBM 1
84674 _ACEOF
84675
84676   LIBS="-lm $LIBS"
84677
84678 fi
84679
84680
84681 for ac_func in copysignf
84682 do
84683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84684 echo "$as_me:$LINENO: checking for $ac_func" >&5
84685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84686 if eval "test \"\${$as_ac_var+set}\" = set"; then
84687   echo $ECHO_N "(cached) $ECHO_C" >&6
84688 else
84689   if test x$gcc_no_link = xyes; then
84690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84692    { (exit 1); exit 1; }; }
84693 fi
84694 cat >conftest.$ac_ext <<_ACEOF
84695 /* confdefs.h.  */
84696 _ACEOF
84697 cat confdefs.h >>conftest.$ac_ext
84698 cat >>conftest.$ac_ext <<_ACEOF
84699 /* end confdefs.h.  */
84700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84702 #define $ac_func innocuous_$ac_func
84703
84704 /* System header to define __stub macros and hopefully few prototypes,
84705     which can conflict with char $ac_func (); below.
84706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84707     <limits.h> exists even on freestanding compilers.  */
84708
84709 #ifdef __STDC__
84710 # include <limits.h>
84711 #else
84712 # include <assert.h>
84713 #endif
84714
84715 #undef $ac_func
84716
84717 /* Override any gcc2 internal prototype to avoid an error.  */
84718 #ifdef __cplusplus
84719 extern "C"
84720 {
84721 #endif
84722 /* We use char because int might match the return type of a gcc2
84723    builtin and then its argument prototype would still apply.  */
84724 char $ac_func ();
84725 /* The GNU C library defines this for functions which it implements
84726     to always fail with ENOSYS.  Some functions are actually named
84727     something starting with __ and the normal name is an alias.  */
84728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84729 choke me
84730 #else
84731 char (*f) () = $ac_func;
84732 #endif
84733 #ifdef __cplusplus
84734 }
84735 #endif
84736
84737 int
84738 main ()
84739 {
84740 return f != $ac_func;
84741   ;
84742   return 0;
84743 }
84744 _ACEOF
84745 rm -f conftest.$ac_objext conftest$ac_exeext
84746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84747   (eval $ac_link) 2>conftest.er1
84748   ac_status=$?
84749   grep -v '^ *+' conftest.er1 >conftest.err
84750   rm -f conftest.er1
84751   cat conftest.err >&5
84752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84753   (exit $ac_status); } &&
84754          { ac_try='test -z "$ac_c_werror_flag"
84755                          || test ! -s conftest.err'
84756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84757   (eval $ac_try) 2>&5
84758   ac_status=$?
84759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84760   (exit $ac_status); }; } &&
84761          { ac_try='test -s conftest$ac_exeext'
84762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84763   (eval $ac_try) 2>&5
84764   ac_status=$?
84765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84766   (exit $ac_status); }; }; then
84767   eval "$as_ac_var=yes"
84768 else
84769   echo "$as_me: failed program was:" >&5
84770 sed 's/^/| /' conftest.$ac_ext >&5
84771
84772 eval "$as_ac_var=no"
84773 fi
84774 rm -f conftest.err conftest.$ac_objext \
84775       conftest$ac_exeext conftest.$ac_ext
84776 fi
84777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84779 if test `eval echo '${'$as_ac_var'}'` = yes; then
84780   cat >>confdefs.h <<_ACEOF
84781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84782 _ACEOF
84783
84784 else
84785   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84786 fi
84787 done
84788
84789
84790
84791 for ac_func in __signbit
84792 do
84793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84794 echo "$as_me:$LINENO: checking for $ac_func" >&5
84795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84796 if eval "test \"\${$as_ac_var+set}\" = set"; then
84797   echo $ECHO_N "(cached) $ECHO_C" >&6
84798 else
84799   if test x$gcc_no_link = xyes; then
84800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84802    { (exit 1); exit 1; }; }
84803 fi
84804 cat >conftest.$ac_ext <<_ACEOF
84805 /* confdefs.h.  */
84806 _ACEOF
84807 cat confdefs.h >>conftest.$ac_ext
84808 cat >>conftest.$ac_ext <<_ACEOF
84809 /* end confdefs.h.  */
84810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84812 #define $ac_func innocuous_$ac_func
84813
84814 /* System header to define __stub macros and hopefully few prototypes,
84815     which can conflict with char $ac_func (); below.
84816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84817     <limits.h> exists even on freestanding compilers.  */
84818
84819 #ifdef __STDC__
84820 # include <limits.h>
84821 #else
84822 # include <assert.h>
84823 #endif
84824
84825 #undef $ac_func
84826
84827 /* Override any gcc2 internal prototype to avoid an error.  */
84828 #ifdef __cplusplus
84829 extern "C"
84830 {
84831 #endif
84832 /* We use char because int might match the return type of a gcc2
84833    builtin and then its argument prototype would still apply.  */
84834 char $ac_func ();
84835 /* The GNU C library defines this for functions which it implements
84836     to always fail with ENOSYS.  Some functions are actually named
84837     something starting with __ and the normal name is an alias.  */
84838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84839 choke me
84840 #else
84841 char (*f) () = $ac_func;
84842 #endif
84843 #ifdef __cplusplus
84844 }
84845 #endif
84846
84847 int
84848 main ()
84849 {
84850 return f != $ac_func;
84851   ;
84852   return 0;
84853 }
84854 _ACEOF
84855 rm -f conftest.$ac_objext conftest$ac_exeext
84856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84857   (eval $ac_link) 2>conftest.er1
84858   ac_status=$?
84859   grep -v '^ *+' conftest.er1 >conftest.err
84860   rm -f conftest.er1
84861   cat conftest.err >&5
84862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863   (exit $ac_status); } &&
84864          { ac_try='test -z "$ac_c_werror_flag"
84865                          || test ! -s conftest.err'
84866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84867   (eval $ac_try) 2>&5
84868   ac_status=$?
84869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84870   (exit $ac_status); }; } &&
84871          { ac_try='test -s conftest$ac_exeext'
84872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84873   (eval $ac_try) 2>&5
84874   ac_status=$?
84875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84876   (exit $ac_status); }; }; then
84877   eval "$as_ac_var=yes"
84878 else
84879   echo "$as_me: failed program was:" >&5
84880 sed 's/^/| /' conftest.$ac_ext >&5
84881
84882 eval "$as_ac_var=no"
84883 fi
84884 rm -f conftest.err conftest.$ac_objext \
84885       conftest$ac_exeext conftest.$ac_ext
84886 fi
84887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84889 if test `eval echo '${'$as_ac_var'}'` = yes; then
84890   cat >>confdefs.h <<_ACEOF
84891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84892 _ACEOF
84893
84894 else
84895   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84896 fi
84897 done
84898
84899
84900
84901 for ac_func in __signbitf
84902 do
84903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84904 echo "$as_me:$LINENO: checking for $ac_func" >&5
84905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84906 if eval "test \"\${$as_ac_var+set}\" = set"; then
84907   echo $ECHO_N "(cached) $ECHO_C" >&6
84908 else
84909   if test x$gcc_no_link = xyes; then
84910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84912    { (exit 1); exit 1; }; }
84913 fi
84914 cat >conftest.$ac_ext <<_ACEOF
84915 /* confdefs.h.  */
84916 _ACEOF
84917 cat confdefs.h >>conftest.$ac_ext
84918 cat >>conftest.$ac_ext <<_ACEOF
84919 /* end confdefs.h.  */
84920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84922 #define $ac_func innocuous_$ac_func
84923
84924 /* System header to define __stub macros and hopefully few prototypes,
84925     which can conflict with char $ac_func (); below.
84926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84927     <limits.h> exists even on freestanding compilers.  */
84928
84929 #ifdef __STDC__
84930 # include <limits.h>
84931 #else
84932 # include <assert.h>
84933 #endif
84934
84935 #undef $ac_func
84936
84937 /* Override any gcc2 internal prototype to avoid an error.  */
84938 #ifdef __cplusplus
84939 extern "C"
84940 {
84941 #endif
84942 /* We use char because int might match the return type of a gcc2
84943    builtin and then its argument prototype would still apply.  */
84944 char $ac_func ();
84945 /* The GNU C library defines this for functions which it implements
84946     to always fail with ENOSYS.  Some functions are actually named
84947     something starting with __ and the normal name is an alias.  */
84948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84949 choke me
84950 #else
84951 char (*f) () = $ac_func;
84952 #endif
84953 #ifdef __cplusplus
84954 }
84955 #endif
84956
84957 int
84958 main ()
84959 {
84960 return f != $ac_func;
84961   ;
84962   return 0;
84963 }
84964 _ACEOF
84965 rm -f conftest.$ac_objext conftest$ac_exeext
84966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84967   (eval $ac_link) 2>conftest.er1
84968   ac_status=$?
84969   grep -v '^ *+' conftest.er1 >conftest.err
84970   rm -f conftest.er1
84971   cat conftest.err >&5
84972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973   (exit $ac_status); } &&
84974          { ac_try='test -z "$ac_c_werror_flag"
84975                          || test ! -s conftest.err'
84976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84977   (eval $ac_try) 2>&5
84978   ac_status=$?
84979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84980   (exit $ac_status); }; } &&
84981          { ac_try='test -s conftest$ac_exeext'
84982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84983   (eval $ac_try) 2>&5
84984   ac_status=$?
84985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84986   (exit $ac_status); }; }; then
84987   eval "$as_ac_var=yes"
84988 else
84989   echo "$as_me: failed program was:" >&5
84990 sed 's/^/| /' conftest.$ac_ext >&5
84991
84992 eval "$as_ac_var=no"
84993 fi
84994 rm -f conftest.err conftest.$ac_objext \
84995       conftest$ac_exeext conftest.$ac_ext
84996 fi
84997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84999 if test `eval echo '${'$as_ac_var'}'` = yes; then
85000   cat >>confdefs.h <<_ACEOF
85001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85002 _ACEOF
85003
85004 else
85005   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85006 fi
85007 done
85008
85009
85010           if test x$ac_cv_func_copysignl = x"yes"; then
85011
85012 for ac_func in __signbitl
85013 do
85014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85015 echo "$as_me:$LINENO: checking for $ac_func" >&5
85016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85017 if eval "test \"\${$as_ac_var+set}\" = set"; then
85018   echo $ECHO_N "(cached) $ECHO_C" >&6
85019 else
85020   if test x$gcc_no_link = xyes; then
85021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85023    { (exit 1); exit 1; }; }
85024 fi
85025 cat >conftest.$ac_ext <<_ACEOF
85026 /* confdefs.h.  */
85027 _ACEOF
85028 cat confdefs.h >>conftest.$ac_ext
85029 cat >>conftest.$ac_ext <<_ACEOF
85030 /* end confdefs.h.  */
85031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85033 #define $ac_func innocuous_$ac_func
85034
85035 /* System header to define __stub macros and hopefully few prototypes,
85036     which can conflict with char $ac_func (); below.
85037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85038     <limits.h> exists even on freestanding compilers.  */
85039
85040 #ifdef __STDC__
85041 # include <limits.h>
85042 #else
85043 # include <assert.h>
85044 #endif
85045
85046 #undef $ac_func
85047
85048 /* Override any gcc2 internal prototype to avoid an error.  */
85049 #ifdef __cplusplus
85050 extern "C"
85051 {
85052 #endif
85053 /* We use char because int might match the return type of a gcc2
85054    builtin and then its argument prototype would still apply.  */
85055 char $ac_func ();
85056 /* The GNU C library defines this for functions which it implements
85057     to always fail with ENOSYS.  Some functions are actually named
85058     something starting with __ and the normal name is an alias.  */
85059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85060 choke me
85061 #else
85062 char (*f) () = $ac_func;
85063 #endif
85064 #ifdef __cplusplus
85065 }
85066 #endif
85067
85068 int
85069 main ()
85070 {
85071 return f != $ac_func;
85072   ;
85073   return 0;
85074 }
85075 _ACEOF
85076 rm -f conftest.$ac_objext conftest$ac_exeext
85077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85078   (eval $ac_link) 2>conftest.er1
85079   ac_status=$?
85080   grep -v '^ *+' conftest.er1 >conftest.err
85081   rm -f conftest.er1
85082   cat conftest.err >&5
85083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85084   (exit $ac_status); } &&
85085          { ac_try='test -z "$ac_c_werror_flag"
85086                          || test ! -s conftest.err'
85087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85088   (eval $ac_try) 2>&5
85089   ac_status=$?
85090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85091   (exit $ac_status); }; } &&
85092          { ac_try='test -s conftest$ac_exeext'
85093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85094   (eval $ac_try) 2>&5
85095   ac_status=$?
85096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85097   (exit $ac_status); }; }; then
85098   eval "$as_ac_var=yes"
85099 else
85100   echo "$as_me: failed program was:" >&5
85101 sed 's/^/| /' conftest.$ac_ext >&5
85102
85103 eval "$as_ac_var=no"
85104 fi
85105 rm -f conftest.err conftest.$ac_objext \
85106       conftest$ac_exeext conftest.$ac_ext
85107 fi
85108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85110 if test `eval echo '${'$as_ac_var'}'` = yes; then
85111   cat >>confdefs.h <<_ACEOF
85112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85113 _ACEOF
85114
85115 else
85116   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85117 fi
85118 done
85119
85120   fi
85121
85122   # Used in libmath/Makefile.am.
85123   if test -n "$LIBMATHOBJS"; then
85124     need_libmath=yes
85125   fi
85126
85127
85128
85129   ac_test_CXXFLAGS="${CXXFLAGS+set}"
85130   ac_save_CXXFLAGS="$CXXFLAGS"
85131   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85132
85133
85134   echo "$as_me:$LINENO: checking for strtold declaration" >&5
85135 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85136   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85137     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85138   echo $ECHO_N "(cached) $ECHO_C" >&6
85139 else
85140
85141
85142
85143       ac_ext=cc
85144 ac_cpp='$CXXCPP $CPPFLAGS'
85145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85148
85149       cat >conftest.$ac_ext <<_ACEOF
85150 /* confdefs.h.  */
85151 _ACEOF
85152 cat confdefs.h >>conftest.$ac_ext
85153 cat >>conftest.$ac_ext <<_ACEOF
85154 /* end confdefs.h.  */
85155 #include <stdlib.h>
85156 int
85157 main ()
85158 {
85159  strtold(0, 0);
85160   ;
85161   return 0;
85162 }
85163 _ACEOF
85164 rm -f conftest.$ac_objext
85165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85166   (eval $ac_compile) 2>conftest.er1
85167   ac_status=$?
85168   grep -v '^ *+' conftest.er1 >conftest.err
85169   rm -f conftest.er1
85170   cat conftest.err >&5
85171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172   (exit $ac_status); } &&
85173          { ac_try='test -z "$ac_cxx_werror_flag"
85174                          || test ! -s conftest.err'
85175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85176   (eval $ac_try) 2>&5
85177   ac_status=$?
85178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85179   (exit $ac_status); }; } &&
85180          { ac_try='test -s conftest.$ac_objext'
85181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85182   (eval $ac_try) 2>&5
85183   ac_status=$?
85184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85185   (exit $ac_status); }; }; then
85186   glibcxx_cv_func_strtold_use=yes
85187 else
85188   echo "$as_me: failed program was:" >&5
85189 sed 's/^/| /' conftest.$ac_ext >&5
85190
85191 glibcxx_cv_func_strtold_use=no
85192 fi
85193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85194       ac_ext=c
85195 ac_cpp='$CPP $CPPFLAGS'
85196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85199
85200
85201 fi
85202
85203   fi
85204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
85205 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
85206   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
85207
85208 for ac_func in strtold
85209 do
85210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85211 echo "$as_me:$LINENO: checking for $ac_func" >&5
85212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85213 if eval "test \"\${$as_ac_var+set}\" = set"; then
85214   echo $ECHO_N "(cached) $ECHO_C" >&6
85215 else
85216   if test x$gcc_no_link = xyes; then
85217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85219    { (exit 1); exit 1; }; }
85220 fi
85221 cat >conftest.$ac_ext <<_ACEOF
85222 /* confdefs.h.  */
85223 _ACEOF
85224 cat confdefs.h >>conftest.$ac_ext
85225 cat >>conftest.$ac_ext <<_ACEOF
85226 /* end confdefs.h.  */
85227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85229 #define $ac_func innocuous_$ac_func
85230
85231 /* System header to define __stub macros and hopefully few prototypes,
85232     which can conflict with char $ac_func (); below.
85233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85234     <limits.h> exists even on freestanding compilers.  */
85235
85236 #ifdef __STDC__
85237 # include <limits.h>
85238 #else
85239 # include <assert.h>
85240 #endif
85241
85242 #undef $ac_func
85243
85244 /* Override any gcc2 internal prototype to avoid an error.  */
85245 #ifdef __cplusplus
85246 extern "C"
85247 {
85248 #endif
85249 /* We use char because int might match the return type of a gcc2
85250    builtin and then its argument prototype would still apply.  */
85251 char $ac_func ();
85252 /* The GNU C library defines this for functions which it implements
85253     to always fail with ENOSYS.  Some functions are actually named
85254     something starting with __ and the normal name is an alias.  */
85255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85256 choke me
85257 #else
85258 char (*f) () = $ac_func;
85259 #endif
85260 #ifdef __cplusplus
85261 }
85262 #endif
85263
85264 int
85265 main ()
85266 {
85267 return f != $ac_func;
85268   ;
85269   return 0;
85270 }
85271 _ACEOF
85272 rm -f conftest.$ac_objext conftest$ac_exeext
85273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85274   (eval $ac_link) 2>conftest.er1
85275   ac_status=$?
85276   grep -v '^ *+' conftest.er1 >conftest.err
85277   rm -f conftest.er1
85278   cat conftest.err >&5
85279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85280   (exit $ac_status); } &&
85281          { ac_try='test -z "$ac_c_werror_flag"
85282                          || test ! -s conftest.err'
85283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85284   (eval $ac_try) 2>&5
85285   ac_status=$?
85286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85287   (exit $ac_status); }; } &&
85288          { ac_try='test -s conftest$ac_exeext'
85289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85290   (eval $ac_try) 2>&5
85291   ac_status=$?
85292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85293   (exit $ac_status); }; }; then
85294   eval "$as_ac_var=yes"
85295 else
85296   echo "$as_me: failed program was:" >&5
85297 sed 's/^/| /' conftest.$ac_ext >&5
85298
85299 eval "$as_ac_var=no"
85300 fi
85301 rm -f conftest.err conftest.$ac_objext \
85302       conftest$ac_exeext conftest.$ac_ext
85303 fi
85304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85306 if test `eval echo '${'$as_ac_var'}'` = yes; then
85307   cat >>confdefs.h <<_ACEOF
85308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85309 _ACEOF
85310
85311 fi
85312 done
85313
85314   fi
85315
85316
85317
85318
85319
85320   echo "$as_me:$LINENO: checking for strtof declaration" >&5
85321 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
85322   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
85323     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
85324   echo $ECHO_N "(cached) $ECHO_C" >&6
85325 else
85326
85327
85328
85329       ac_ext=cc
85330 ac_cpp='$CXXCPP $CPPFLAGS'
85331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85334
85335       cat >conftest.$ac_ext <<_ACEOF
85336 /* confdefs.h.  */
85337 _ACEOF
85338 cat confdefs.h >>conftest.$ac_ext
85339 cat >>conftest.$ac_ext <<_ACEOF
85340 /* end confdefs.h.  */
85341 #include <stdlib.h>
85342 int
85343 main ()
85344 {
85345  strtof(0, 0);
85346   ;
85347   return 0;
85348 }
85349 _ACEOF
85350 rm -f conftest.$ac_objext
85351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85352   (eval $ac_compile) 2>conftest.er1
85353   ac_status=$?
85354   grep -v '^ *+' conftest.er1 >conftest.err
85355   rm -f conftest.er1
85356   cat conftest.err >&5
85357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85358   (exit $ac_status); } &&
85359          { ac_try='test -z "$ac_cxx_werror_flag"
85360                          || test ! -s conftest.err'
85361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85362   (eval $ac_try) 2>&5
85363   ac_status=$?
85364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85365   (exit $ac_status); }; } &&
85366          { ac_try='test -s conftest.$ac_objext'
85367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85368   (eval $ac_try) 2>&5
85369   ac_status=$?
85370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85371   (exit $ac_status); }; }; then
85372   glibcxx_cv_func_strtof_use=yes
85373 else
85374   echo "$as_me: failed program was:" >&5
85375 sed 's/^/| /' conftest.$ac_ext >&5
85376
85377 glibcxx_cv_func_strtof_use=no
85378 fi
85379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85380       ac_ext=c
85381 ac_cpp='$CPP $CPPFLAGS'
85382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85385
85386
85387 fi
85388
85389   fi
85390   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85391 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85392   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85393
85394 for ac_func in strtof
85395 do
85396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85397 echo "$as_me:$LINENO: checking for $ac_func" >&5
85398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85399 if eval "test \"\${$as_ac_var+set}\" = set"; then
85400   echo $ECHO_N "(cached) $ECHO_C" >&6
85401 else
85402   if test x$gcc_no_link = xyes; then
85403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85405    { (exit 1); exit 1; }; }
85406 fi
85407 cat >conftest.$ac_ext <<_ACEOF
85408 /* confdefs.h.  */
85409 _ACEOF
85410 cat confdefs.h >>conftest.$ac_ext
85411 cat >>conftest.$ac_ext <<_ACEOF
85412 /* end confdefs.h.  */
85413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85415 #define $ac_func innocuous_$ac_func
85416
85417 /* System header to define __stub macros and hopefully few prototypes,
85418     which can conflict with char $ac_func (); below.
85419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85420     <limits.h> exists even on freestanding compilers.  */
85421
85422 #ifdef __STDC__
85423 # include <limits.h>
85424 #else
85425 # include <assert.h>
85426 #endif
85427
85428 #undef $ac_func
85429
85430 /* Override any gcc2 internal prototype to avoid an error.  */
85431 #ifdef __cplusplus
85432 extern "C"
85433 {
85434 #endif
85435 /* We use char because int might match the return type of a gcc2
85436    builtin and then its argument prototype would still apply.  */
85437 char $ac_func ();
85438 /* The GNU C library defines this for functions which it implements
85439     to always fail with ENOSYS.  Some functions are actually named
85440     something starting with __ and the normal name is an alias.  */
85441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85442 choke me
85443 #else
85444 char (*f) () = $ac_func;
85445 #endif
85446 #ifdef __cplusplus
85447 }
85448 #endif
85449
85450 int
85451 main ()
85452 {
85453 return f != $ac_func;
85454   ;
85455   return 0;
85456 }
85457 _ACEOF
85458 rm -f conftest.$ac_objext conftest$ac_exeext
85459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85460   (eval $ac_link) 2>conftest.er1
85461   ac_status=$?
85462   grep -v '^ *+' conftest.er1 >conftest.err
85463   rm -f conftest.er1
85464   cat conftest.err >&5
85465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85466   (exit $ac_status); } &&
85467          { ac_try='test -z "$ac_c_werror_flag"
85468                          || test ! -s conftest.err'
85469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85470   (eval $ac_try) 2>&5
85471   ac_status=$?
85472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85473   (exit $ac_status); }; } &&
85474          { ac_try='test -s conftest$ac_exeext'
85475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85476   (eval $ac_try) 2>&5
85477   ac_status=$?
85478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85479   (exit $ac_status); }; }; then
85480   eval "$as_ac_var=yes"
85481 else
85482   echo "$as_me: failed program was:" >&5
85483 sed 's/^/| /' conftest.$ac_ext >&5
85484
85485 eval "$as_ac_var=no"
85486 fi
85487 rm -f conftest.err conftest.$ac_objext \
85488       conftest$ac_exeext conftest.$ac_ext
85489 fi
85490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85492 if test `eval echo '${'$as_ac_var'}'` = yes; then
85493   cat >>confdefs.h <<_ACEOF
85494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85495 _ACEOF
85496
85497 fi
85498 done
85499
85500   fi
85501
85502
85503
85504
85505
85506   CXXFLAGS="$ac_save_CXXFLAGS"
85507
85508
85509     # For showmanyc_helper().
85510
85511
85512 for ac_header in sys/ioctl.h sys/filio.h
85513 do
85514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85516   echo "$as_me:$LINENO: checking for $ac_header" >&5
85517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85519   echo $ECHO_N "(cached) $ECHO_C" >&6
85520 fi
85521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85523 else
85524   # Is the header compilable?
85525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85527 cat >conftest.$ac_ext <<_ACEOF
85528 /* confdefs.h.  */
85529 _ACEOF
85530 cat confdefs.h >>conftest.$ac_ext
85531 cat >>conftest.$ac_ext <<_ACEOF
85532 /* end confdefs.h.  */
85533 $ac_includes_default
85534 #include <$ac_header>
85535 _ACEOF
85536 rm -f conftest.$ac_objext
85537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85538   (eval $ac_compile) 2>conftest.er1
85539   ac_status=$?
85540   grep -v '^ *+' conftest.er1 >conftest.err
85541   rm -f conftest.er1
85542   cat conftest.err >&5
85543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85544   (exit $ac_status); } &&
85545          { ac_try='test -z "$ac_c_werror_flag"
85546                          || test ! -s conftest.err'
85547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85548   (eval $ac_try) 2>&5
85549   ac_status=$?
85550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85551   (exit $ac_status); }; } &&
85552          { ac_try='test -s conftest.$ac_objext'
85553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85554   (eval $ac_try) 2>&5
85555   ac_status=$?
85556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85557   (exit $ac_status); }; }; then
85558   ac_header_compiler=yes
85559 else
85560   echo "$as_me: failed program was:" >&5
85561 sed 's/^/| /' conftest.$ac_ext >&5
85562
85563 ac_header_compiler=no
85564 fi
85565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85567 echo "${ECHO_T}$ac_header_compiler" >&6
85568
85569 # Is the header present?
85570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85572 cat >conftest.$ac_ext <<_ACEOF
85573 /* confdefs.h.  */
85574 _ACEOF
85575 cat confdefs.h >>conftest.$ac_ext
85576 cat >>conftest.$ac_ext <<_ACEOF
85577 /* end confdefs.h.  */
85578 #include <$ac_header>
85579 _ACEOF
85580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85581   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85582   ac_status=$?
85583   grep -v '^ *+' conftest.er1 >conftest.err
85584   rm -f conftest.er1
85585   cat conftest.err >&5
85586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85587   (exit $ac_status); } >/dev/null; then
85588   if test -s conftest.err; then
85589     ac_cpp_err=$ac_c_preproc_warn_flag
85590     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85591   else
85592     ac_cpp_err=
85593   fi
85594 else
85595   ac_cpp_err=yes
85596 fi
85597 if test -z "$ac_cpp_err"; then
85598   ac_header_preproc=yes
85599 else
85600   echo "$as_me: failed program was:" >&5
85601 sed 's/^/| /' conftest.$ac_ext >&5
85602
85603   ac_header_preproc=no
85604 fi
85605 rm -f conftest.err conftest.$ac_ext
85606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85607 echo "${ECHO_T}$ac_header_preproc" >&6
85608
85609 # So?  What about this header?
85610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85611   yes:no: )
85612     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85616     ac_header_preproc=yes
85617     ;;
85618   no:yes:* )
85619     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85621     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85622 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85623     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85625     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85626 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85627     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85629     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85631     (
85632       cat <<\_ASBOX
85633 ## ----------------------------------------- ##
85634 ## Report this to the package-unused lists.  ##
85635 ## ----------------------------------------- ##
85636 _ASBOX
85637     ) |
85638       sed "s/^/$as_me: WARNING:     /" >&2
85639     ;;
85640 esac
85641 echo "$as_me:$LINENO: checking for $ac_header" >&5
85642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85644   echo $ECHO_N "(cached) $ECHO_C" >&6
85645 else
85646   eval "$as_ac_Header=\$ac_header_preproc"
85647 fi
85648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85650
85651 fi
85652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85653   cat >>confdefs.h <<_ACEOF
85654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85655 _ACEOF
85656
85657 fi
85658
85659 done
85660
85661
85662   echo "$as_me:$LINENO: checking for poll" >&5
85663 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85664   if test "${glibcxx_cv_POLL+set}" = set; then
85665   echo $ECHO_N "(cached) $ECHO_C" >&6
85666 else
85667
85668     if test x$gcc_no_link = xyes; then
85669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85671    { (exit 1); exit 1; }; }
85672 fi
85673 cat >conftest.$ac_ext <<_ACEOF
85674 /* confdefs.h.  */
85675 _ACEOF
85676 cat confdefs.h >>conftest.$ac_ext
85677 cat >>conftest.$ac_ext <<_ACEOF
85678 /* end confdefs.h.  */
85679 #include <poll.h>
85680 int
85681 main ()
85682 {
85683 struct pollfd pfd[1];
85684        pfd[0].events = POLLIN;
85685        poll(pfd, 1, 0);
85686   ;
85687   return 0;
85688 }
85689 _ACEOF
85690 rm -f conftest.$ac_objext conftest$ac_exeext
85691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85692   (eval $ac_link) 2>conftest.er1
85693   ac_status=$?
85694   grep -v '^ *+' conftest.er1 >conftest.err
85695   rm -f conftest.er1
85696   cat conftest.err >&5
85697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85698   (exit $ac_status); } &&
85699          { ac_try='test -z "$ac_c_werror_flag"
85700                          || test ! -s conftest.err'
85701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85702   (eval $ac_try) 2>&5
85703   ac_status=$?
85704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85705   (exit $ac_status); }; } &&
85706          { ac_try='test -s conftest$ac_exeext'
85707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85708   (eval $ac_try) 2>&5
85709   ac_status=$?
85710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85711   (exit $ac_status); }; }; then
85712   glibcxx_cv_POLL=yes
85713 else
85714   echo "$as_me: failed program was:" >&5
85715 sed 's/^/| /' conftest.$ac_ext >&5
85716
85717 glibcxx_cv_POLL=no
85718 fi
85719 rm -f conftest.err conftest.$ac_objext \
85720       conftest$ac_exeext conftest.$ac_ext
85721
85722 fi
85723
85724   if test $glibcxx_cv_POLL = yes; then
85725
85726 cat >>confdefs.h <<\_ACEOF
85727 #define HAVE_POLL 1
85728 _ACEOF
85729
85730   fi
85731   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85732 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85733
85734
85735   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85736 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85737   if test "${glibcxx_cv_S_ISREG+set}" = set; then
85738   echo $ECHO_N "(cached) $ECHO_C" >&6
85739 else
85740
85741     if test x$gcc_no_link = xyes; then
85742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85744    { (exit 1); exit 1; }; }
85745 fi
85746 cat >conftest.$ac_ext <<_ACEOF
85747 /* confdefs.h.  */
85748 _ACEOF
85749 cat confdefs.h >>conftest.$ac_ext
85750 cat >>conftest.$ac_ext <<_ACEOF
85751 /* end confdefs.h.  */
85752 #include <sys/stat.h>
85753 int
85754 main ()
85755 {
85756 struct stat buffer;
85757        fstat(0, &buffer);
85758        S_ISREG(buffer.st_mode);
85759   ;
85760   return 0;
85761 }
85762 _ACEOF
85763 rm -f conftest.$ac_objext conftest$ac_exeext
85764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85765   (eval $ac_link) 2>conftest.er1
85766   ac_status=$?
85767   grep -v '^ *+' conftest.er1 >conftest.err
85768   rm -f conftest.er1
85769   cat conftest.err >&5
85770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85771   (exit $ac_status); } &&
85772          { ac_try='test -z "$ac_c_werror_flag"
85773                          || test ! -s conftest.err'
85774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85775   (eval $ac_try) 2>&5
85776   ac_status=$?
85777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85778   (exit $ac_status); }; } &&
85779          { ac_try='test -s conftest$ac_exeext'
85780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85781   (eval $ac_try) 2>&5
85782   ac_status=$?
85783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85784   (exit $ac_status); }; }; then
85785   glibcxx_cv_S_ISREG=yes
85786 else
85787   echo "$as_me: failed program was:" >&5
85788 sed 's/^/| /' conftest.$ac_ext >&5
85789
85790 glibcxx_cv_S_ISREG=no
85791 fi
85792 rm -f conftest.err conftest.$ac_objext \
85793       conftest$ac_exeext conftest.$ac_ext
85794
85795 fi
85796
85797   if test "${glibcxx_cv_S_IFREG+set}" = set; then
85798   echo $ECHO_N "(cached) $ECHO_C" >&6
85799 else
85800
85801     if test x$gcc_no_link = xyes; then
85802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85804    { (exit 1); exit 1; }; }
85805 fi
85806 cat >conftest.$ac_ext <<_ACEOF
85807 /* confdefs.h.  */
85808 _ACEOF
85809 cat confdefs.h >>conftest.$ac_ext
85810 cat >>conftest.$ac_ext <<_ACEOF
85811 /* end confdefs.h.  */
85812 #include <sys/stat.h>
85813 int
85814 main ()
85815 {
85816 struct stat buffer;
85817        fstat(0, &buffer);
85818        S_IFREG & buffer.st_mode;
85819   ;
85820   return 0;
85821 }
85822 _ACEOF
85823 rm -f conftest.$ac_objext conftest$ac_exeext
85824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85825   (eval $ac_link) 2>conftest.er1
85826   ac_status=$?
85827   grep -v '^ *+' conftest.er1 >conftest.err
85828   rm -f conftest.er1
85829   cat conftest.err >&5
85830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85831   (exit $ac_status); } &&
85832          { ac_try='test -z "$ac_c_werror_flag"
85833                          || test ! -s conftest.err'
85834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85835   (eval $ac_try) 2>&5
85836   ac_status=$?
85837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85838   (exit $ac_status); }; } &&
85839          { ac_try='test -s conftest$ac_exeext'
85840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85841   (eval $ac_try) 2>&5
85842   ac_status=$?
85843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85844   (exit $ac_status); }; }; then
85845   glibcxx_cv_S_IFREG=yes
85846 else
85847   echo "$as_me: failed program was:" >&5
85848 sed 's/^/| /' conftest.$ac_ext >&5
85849
85850 glibcxx_cv_S_IFREG=no
85851 fi
85852 rm -f conftest.err conftest.$ac_objext \
85853       conftest$ac_exeext conftest.$ac_ext
85854
85855 fi
85856
85857   res=no
85858   if test $glibcxx_cv_S_ISREG = yes; then
85859
85860 cat >>confdefs.h <<\_ACEOF
85861 #define HAVE_S_ISREG 1
85862 _ACEOF
85863
85864     res=S_ISREG
85865   elif test $glibcxx_cv_S_IFREG = yes; then
85866
85867 cat >>confdefs.h <<\_ACEOF
85868 #define HAVE_S_IFREG 1
85869 _ACEOF
85870
85871     res=S_IFREG
85872   fi
85873   echo "$as_me:$LINENO: result: $res" >&5
85874 echo "${ECHO_T}$res" >&6
85875
85876
85877     # For xsputn_2().
85878
85879 for ac_header in sys/uio.h
85880 do
85881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85883   echo "$as_me:$LINENO: checking for $ac_header" >&5
85884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85886   echo $ECHO_N "(cached) $ECHO_C" >&6
85887 fi
85888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85890 else
85891   # Is the header compilable?
85892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85894 cat >conftest.$ac_ext <<_ACEOF
85895 /* confdefs.h.  */
85896 _ACEOF
85897 cat confdefs.h >>conftest.$ac_ext
85898 cat >>conftest.$ac_ext <<_ACEOF
85899 /* end confdefs.h.  */
85900 $ac_includes_default
85901 #include <$ac_header>
85902 _ACEOF
85903 rm -f conftest.$ac_objext
85904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85905   (eval $ac_compile) 2>conftest.er1
85906   ac_status=$?
85907   grep -v '^ *+' conftest.er1 >conftest.err
85908   rm -f conftest.er1
85909   cat conftest.err >&5
85910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85911   (exit $ac_status); } &&
85912          { ac_try='test -z "$ac_c_werror_flag"
85913                          || test ! -s conftest.err'
85914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915   (eval $ac_try) 2>&5
85916   ac_status=$?
85917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918   (exit $ac_status); }; } &&
85919          { ac_try='test -s conftest.$ac_objext'
85920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85921   (eval $ac_try) 2>&5
85922   ac_status=$?
85923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85924   (exit $ac_status); }; }; then
85925   ac_header_compiler=yes
85926 else
85927   echo "$as_me: failed program was:" >&5
85928 sed 's/^/| /' conftest.$ac_ext >&5
85929
85930 ac_header_compiler=no
85931 fi
85932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85934 echo "${ECHO_T}$ac_header_compiler" >&6
85935
85936 # Is the header present?
85937 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85939 cat >conftest.$ac_ext <<_ACEOF
85940 /* confdefs.h.  */
85941 _ACEOF
85942 cat confdefs.h >>conftest.$ac_ext
85943 cat >>conftest.$ac_ext <<_ACEOF
85944 /* end confdefs.h.  */
85945 #include <$ac_header>
85946 _ACEOF
85947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85948   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85949   ac_status=$?
85950   grep -v '^ *+' conftest.er1 >conftest.err
85951   rm -f conftest.er1
85952   cat conftest.err >&5
85953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85954   (exit $ac_status); } >/dev/null; then
85955   if test -s conftest.err; then
85956     ac_cpp_err=$ac_c_preproc_warn_flag
85957     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85958   else
85959     ac_cpp_err=
85960   fi
85961 else
85962   ac_cpp_err=yes
85963 fi
85964 if test -z "$ac_cpp_err"; then
85965   ac_header_preproc=yes
85966 else
85967   echo "$as_me: failed program was:" >&5
85968 sed 's/^/| /' conftest.$ac_ext >&5
85969
85970   ac_header_preproc=no
85971 fi
85972 rm -f conftest.err conftest.$ac_ext
85973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85974 echo "${ECHO_T}$ac_header_preproc" >&6
85975
85976 # So?  What about this header?
85977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85978   yes:no: )
85979     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85981     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85983     ac_header_preproc=yes
85984     ;;
85985   no:yes:* )
85986     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85988     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85989 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85990     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85992     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85993 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85994     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85996     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85998     (
85999       cat <<\_ASBOX
86000 ## ----------------------------------------- ##
86001 ## Report this to the package-unused lists.  ##
86002 ## ----------------------------------------- ##
86003 _ASBOX
86004     ) |
86005       sed "s/^/$as_me: WARNING:     /" >&2
86006     ;;
86007 esac
86008 echo "$as_me:$LINENO: checking for $ac_header" >&5
86009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86011   echo $ECHO_N "(cached) $ECHO_C" >&6
86012 else
86013   eval "$as_ac_Header=\$ac_header_preproc"
86014 fi
86015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86017
86018 fi
86019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86020   cat >>confdefs.h <<_ACEOF
86021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86022 _ACEOF
86023
86024 fi
86025
86026 done
86027
86028
86029   echo "$as_me:$LINENO: checking for writev" >&5
86030 echo $ECHO_N "checking for writev... $ECHO_C" >&6
86031   if test "${glibcxx_cv_WRITEV+set}" = set; then
86032   echo $ECHO_N "(cached) $ECHO_C" >&6
86033 else
86034
86035     if test x$gcc_no_link = xyes; then
86036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86038    { (exit 1); exit 1; }; }
86039 fi
86040 cat >conftest.$ac_ext <<_ACEOF
86041 /* confdefs.h.  */
86042 _ACEOF
86043 cat confdefs.h >>conftest.$ac_ext
86044 cat >>conftest.$ac_ext <<_ACEOF
86045 /* end confdefs.h.  */
86046 #include <sys/uio.h>
86047 int
86048 main ()
86049 {
86050 struct iovec iov[2];
86051        writev(0, iov, 0);
86052   ;
86053   return 0;
86054 }
86055 _ACEOF
86056 rm -f conftest.$ac_objext conftest$ac_exeext
86057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86058   (eval $ac_link) 2>conftest.er1
86059   ac_status=$?
86060   grep -v '^ *+' conftest.er1 >conftest.err
86061   rm -f conftest.er1
86062   cat conftest.err >&5
86063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86064   (exit $ac_status); } &&
86065          { ac_try='test -z "$ac_c_werror_flag"
86066                          || test ! -s conftest.err'
86067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86068   (eval $ac_try) 2>&5
86069   ac_status=$?
86070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86071   (exit $ac_status); }; } &&
86072          { ac_try='test -s conftest$ac_exeext'
86073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86074   (eval $ac_try) 2>&5
86075   ac_status=$?
86076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86077   (exit $ac_status); }; }; then
86078   glibcxx_cv_WRITEV=yes
86079 else
86080   echo "$as_me: failed program was:" >&5
86081 sed 's/^/| /' conftest.$ac_ext >&5
86082
86083 glibcxx_cv_WRITEV=no
86084 fi
86085 rm -f conftest.err conftest.$ac_objext \
86086       conftest$ac_exeext conftest.$ac_ext
86087
86088 fi
86089
86090   if test $glibcxx_cv_WRITEV = yes; then
86091
86092 cat >>confdefs.h <<\_ACEOF
86093 #define HAVE_WRITEV 1
86094 _ACEOF
86095
86096   fi
86097   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
86098 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
86099
86100
86101     cat >>confdefs.h <<\_ACEOF
86102 #define HAVE_LC_MESSAGES 1
86103 _ACEOF
86104
86105
86106     cat >conftest.$ac_ext <<_ACEOF
86107 /* confdefs.h.  */
86108 _ACEOF
86109 cat confdefs.h >>conftest.$ac_ext
86110 cat >>conftest.$ac_ext <<_ACEOF
86111 /* end confdefs.h.  */
86112 #include <setjmp.h>
86113 int
86114 main ()
86115 {
86116 sigjmp_buf env;
86117        while (! sigsetjmp (env, 1))
86118          siglongjmp (env, 1);
86119
86120   ;
86121   return 0;
86122 }
86123 _ACEOF
86124 rm -f conftest.$ac_objext
86125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86126   (eval $ac_compile) 2>conftest.er1
86127   ac_status=$?
86128   grep -v '^ *+' conftest.er1 >conftest.err
86129   rm -f conftest.er1
86130   cat conftest.err >&5
86131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86132   (exit $ac_status); } &&
86133          { ac_try='test -z "$ac_c_werror_flag"
86134                          || test ! -s conftest.err'
86135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86136   (eval $ac_try) 2>&5
86137   ac_status=$?
86138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86139   (exit $ac_status); }; } &&
86140          { ac_try='test -s conftest.$ac_objext'
86141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86142   (eval $ac_try) 2>&5
86143   ac_status=$?
86144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86145   (exit $ac_status); }; }; then
86146
86147 cat >>confdefs.h <<\_ACEOF
86148 #define HAVE_SIGSETJMP 1
86149 _ACEOF
86150
86151 else
86152   echo "$as_me: failed program was:" >&5
86153 sed 's/^/| /' conftest.$ac_ext >&5
86154
86155 fi
86156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86157
86158     cat >>confdefs.h <<\_ACEOF
86159 #define HAVE_MMAP 1
86160 _ACEOF
86161
86162     ;;
86163
86164   *djgpp)
86165
86166
86167
86168
86169
86170
86171
86172
86173
86174
86175
86176
86177
86178
86179
86180
86181
86182
86183
86184
86185 for ac_header in float.h ieeefp.h inttypes.h locale.h \
86186       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
86187       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
86188       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
86189 do
86190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86192   echo "$as_me:$LINENO: checking for $ac_header" >&5
86193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86195   echo $ECHO_N "(cached) $ECHO_C" >&6
86196 fi
86197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86199 else
86200   # Is the header compilable?
86201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86203 cat >conftest.$ac_ext <<_ACEOF
86204 /* confdefs.h.  */
86205 _ACEOF
86206 cat confdefs.h >>conftest.$ac_ext
86207 cat >>conftest.$ac_ext <<_ACEOF
86208 /* end confdefs.h.  */
86209 $ac_includes_default
86210 #include <$ac_header>
86211 _ACEOF
86212 rm -f conftest.$ac_objext
86213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86214   (eval $ac_compile) 2>conftest.er1
86215   ac_status=$?
86216   grep -v '^ *+' conftest.er1 >conftest.err
86217   rm -f conftest.er1
86218   cat conftest.err >&5
86219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220   (exit $ac_status); } &&
86221          { ac_try='test -z "$ac_c_werror_flag"
86222                          || test ! -s conftest.err'
86223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86224   (eval $ac_try) 2>&5
86225   ac_status=$?
86226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86227   (exit $ac_status); }; } &&
86228          { ac_try='test -s conftest.$ac_objext'
86229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86230   (eval $ac_try) 2>&5
86231   ac_status=$?
86232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86233   (exit $ac_status); }; }; then
86234   ac_header_compiler=yes
86235 else
86236   echo "$as_me: failed program was:" >&5
86237 sed 's/^/| /' conftest.$ac_ext >&5
86238
86239 ac_header_compiler=no
86240 fi
86241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86243 echo "${ECHO_T}$ac_header_compiler" >&6
86244
86245 # Is the header present?
86246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86248 cat >conftest.$ac_ext <<_ACEOF
86249 /* confdefs.h.  */
86250 _ACEOF
86251 cat confdefs.h >>conftest.$ac_ext
86252 cat >>conftest.$ac_ext <<_ACEOF
86253 /* end confdefs.h.  */
86254 #include <$ac_header>
86255 _ACEOF
86256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86257   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86258   ac_status=$?
86259   grep -v '^ *+' conftest.er1 >conftest.err
86260   rm -f conftest.er1
86261   cat conftest.err >&5
86262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86263   (exit $ac_status); } >/dev/null; then
86264   if test -s conftest.err; then
86265     ac_cpp_err=$ac_c_preproc_warn_flag
86266     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86267   else
86268     ac_cpp_err=
86269   fi
86270 else
86271   ac_cpp_err=yes
86272 fi
86273 if test -z "$ac_cpp_err"; then
86274   ac_header_preproc=yes
86275 else
86276   echo "$as_me: failed program was:" >&5
86277 sed 's/^/| /' conftest.$ac_ext >&5
86278
86279   ac_header_preproc=no
86280 fi
86281 rm -f conftest.err conftest.$ac_ext
86282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86283 echo "${ECHO_T}$ac_header_preproc" >&6
86284
86285 # So?  What about this header?
86286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86287   yes:no: )
86288     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86290     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86292     ac_header_preproc=yes
86293     ;;
86294   no:yes:* )
86295     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86297     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86298 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86299     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86301     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86302 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86303     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86305     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86307     (
86308       cat <<\_ASBOX
86309 ## ----------------------------------------- ##
86310 ## Report this to the package-unused lists.  ##
86311 ## ----------------------------------------- ##
86312 _ASBOX
86313     ) |
86314       sed "s/^/$as_me: WARNING:     /" >&2
86315     ;;
86316 esac
86317 echo "$as_me:$LINENO: checking for $ac_header" >&5
86318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86320   echo $ECHO_N "(cached) $ECHO_C" >&6
86321 else
86322   eval "$as_ac_Header=\$ac_header_preproc"
86323 fi
86324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86326
86327 fi
86328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86329   cat >>confdefs.h <<_ACEOF
86330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86331 _ACEOF
86332
86333 fi
86334
86335 done
86336
86337     # GLIBCXX_CHECK_MATH_SUPPORT
86338     cat >>confdefs.h <<\_ACEOF
86339 #define HAVE_LIBM 1
86340 _ACEOF
86341
86342     cat >>confdefs.h <<\_ACEOF
86343 #define HAVE_ISINF 1
86344 _ACEOF
86345
86346     cat >>confdefs.h <<\_ACEOF
86347 #define HAVE_ISNAN 1
86348 _ACEOF
86349
86350     cat >>confdefs.h <<\_ACEOF
86351 #define HAVE_FINITE 1
86352 _ACEOF
86353
86354     cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_COPYSIGN 1
86356 _ACEOF
86357
86358     cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_SINCOS 1
86360 _ACEOF
86361
86362     cat >>confdefs.h <<\_ACEOF
86363 #define HAVE_HYPOT 1
86364 _ACEOF
86365
86366     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
86367     cat >>confdefs.h <<\_ACEOF
86368 #define HAVE___BUILTIN_ABS 1
86369 _ACEOF
86370
86371     cat >>confdefs.h <<\_ACEOF
86372 #define HAVE___BUILTIN_FABSF 1
86373 _ACEOF
86374
86375     cat >>confdefs.h <<\_ACEOF
86376 #define HAVE___BUILTIN_FABS 1
86377 _ACEOF
86378
86379     cat >>confdefs.h <<\_ACEOF
86380 #define HAVE___BUILTIN_FABSL 1
86381 _ACEOF
86382
86383     cat >>confdefs.h <<\_ACEOF
86384 #define HAVE___BUILTIN_LABS 1
86385 _ACEOF
86386
86387     cat >>confdefs.h <<\_ACEOF
86388 #define HAVE___BUILTIN_SQRTF 1
86389 _ACEOF
86390
86391     cat >>confdefs.h <<\_ACEOF
86392 #define HAVE___BUILTIN_SQRT 1
86393 _ACEOF
86394
86395     cat >>confdefs.h <<\_ACEOF
86396 #define HAVE___BUILTIN_SQRTL 1
86397 _ACEOF
86398
86399     cat >>confdefs.h <<\_ACEOF
86400 #define HAVE___BUILTIN_SINF 1
86401 _ACEOF
86402
86403     cat >>confdefs.h <<\_ACEOF
86404 #define HAVE___BUILTIN_SIN 1
86405 _ACEOF
86406
86407     cat >>confdefs.h <<\_ACEOF
86408 #define HAVE___BUILTIN_SINL 1
86409 _ACEOF
86410
86411     cat >>confdefs.h <<\_ACEOF
86412 #define HAVE___BUILTIN_COSF 1
86413 _ACEOF
86414
86415     cat >>confdefs.h <<\_ACEOF
86416 #define HAVE___BUILTIN_COS 1
86417 _ACEOF
86418
86419     cat >>confdefs.h <<\_ACEOF
86420 #define HAVE___BUILTIN_COSL 1
86421 _ACEOF
86422
86423     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
86424     # GLIBCXX_CHECK_STDLIB_SUPPORT
86425     cat >>confdefs.h <<\_ACEOF
86426 #define HAVE_COPYSIGN 1
86427 _ACEOF
86428
86429     cat >>confdefs.h <<\_ACEOF
86430 #define HAVE_COPYSIGNF 1
86431 _ACEOF
86432
86433     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
86434     cat >>confdefs.h <<\_ACEOF
86435 #define HAVE_S_ISREG 1
86436 _ACEOF
86437
86438     cat >>confdefs.h <<\_ACEOF
86439 #define HAVE_S_IFREG 1
86440 _ACEOF
86441
86442     cat >>confdefs.h <<\_ACEOF
86443 #define HAVE_WRITEV 1
86444 _ACEOF
86445
86446     ;;
86447
86448   *-freebsd*)
86449
86450
86451
86452
86453
86454
86455
86456
86457
86458
86459
86460
86461
86462
86463
86464
86465 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86466       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86467       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
86468       sys/time.h unistd.h
86469 do
86470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86472   echo "$as_me:$LINENO: checking for $ac_header" >&5
86473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86475   echo $ECHO_N "(cached) $ECHO_C" >&6
86476 fi
86477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86479 else
86480   # Is the header compilable?
86481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86483 cat >conftest.$ac_ext <<_ACEOF
86484 /* confdefs.h.  */
86485 _ACEOF
86486 cat confdefs.h >>conftest.$ac_ext
86487 cat >>conftest.$ac_ext <<_ACEOF
86488 /* end confdefs.h.  */
86489 $ac_includes_default
86490 #include <$ac_header>
86491 _ACEOF
86492 rm -f conftest.$ac_objext
86493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86494   (eval $ac_compile) 2>conftest.er1
86495   ac_status=$?
86496   grep -v '^ *+' conftest.er1 >conftest.err
86497   rm -f conftest.er1
86498   cat conftest.err >&5
86499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86500   (exit $ac_status); } &&
86501          { ac_try='test -z "$ac_c_werror_flag"
86502                          || test ! -s conftest.err'
86503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86504   (eval $ac_try) 2>&5
86505   ac_status=$?
86506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86507   (exit $ac_status); }; } &&
86508          { ac_try='test -s conftest.$ac_objext'
86509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86510   (eval $ac_try) 2>&5
86511   ac_status=$?
86512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86513   (exit $ac_status); }; }; then
86514   ac_header_compiler=yes
86515 else
86516   echo "$as_me: failed program was:" >&5
86517 sed 's/^/| /' conftest.$ac_ext >&5
86518
86519 ac_header_compiler=no
86520 fi
86521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86523 echo "${ECHO_T}$ac_header_compiler" >&6
86524
86525 # Is the header present?
86526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86528 cat >conftest.$ac_ext <<_ACEOF
86529 /* confdefs.h.  */
86530 _ACEOF
86531 cat confdefs.h >>conftest.$ac_ext
86532 cat >>conftest.$ac_ext <<_ACEOF
86533 /* end confdefs.h.  */
86534 #include <$ac_header>
86535 _ACEOF
86536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86538   ac_status=$?
86539   grep -v '^ *+' conftest.er1 >conftest.err
86540   rm -f conftest.er1
86541   cat conftest.err >&5
86542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86543   (exit $ac_status); } >/dev/null; then
86544   if test -s conftest.err; then
86545     ac_cpp_err=$ac_c_preproc_warn_flag
86546     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86547   else
86548     ac_cpp_err=
86549   fi
86550 else
86551   ac_cpp_err=yes
86552 fi
86553 if test -z "$ac_cpp_err"; then
86554   ac_header_preproc=yes
86555 else
86556   echo "$as_me: failed program was:" >&5
86557 sed 's/^/| /' conftest.$ac_ext >&5
86558
86559   ac_header_preproc=no
86560 fi
86561 rm -f conftest.err conftest.$ac_ext
86562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86563 echo "${ECHO_T}$ac_header_preproc" >&6
86564
86565 # So?  What about this header?
86566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86567   yes:no: )
86568     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86572     ac_header_preproc=yes
86573     ;;
86574   no:yes:* )
86575     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86577     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86578 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86579     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86581     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86582 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86583     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86585     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86587     (
86588       cat <<\_ASBOX
86589 ## ----------------------------------------- ##
86590 ## Report this to the package-unused lists.  ##
86591 ## ----------------------------------------- ##
86592 _ASBOX
86593     ) |
86594       sed "s/^/$as_me: WARNING:     /" >&2
86595     ;;
86596 esac
86597 echo "$as_me:$LINENO: checking for $ac_header" >&5
86598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86600   echo $ECHO_N "(cached) $ECHO_C" >&6
86601 else
86602   eval "$as_ac_Header=\$ac_header_preproc"
86603 fi
86604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86606
86607 fi
86608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86609   cat >>confdefs.h <<_ACEOF
86610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86611 _ACEOF
86612
86613 fi
86614
86615 done
86616
86617     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86618
86619
86620   # If we're not using GNU ld, then there's no point in even trying these
86621   # tests.  Check for that first.  We should have already tested for gld
86622   # by now (in libtool), but require it now just to be safe...
86623   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86624   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86625
86626
86627
86628   # The name set by libtool depends on the version of libtool.  Shame on us
86629   # for depending on an impl detail, but c'est la vie.  Older versions used
86630   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86631   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86632   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86633   # set (hence we're using an older libtool), then set it.
86634   if test x${with_gnu_ld+set} != xset; then
86635     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86636       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86637       with_gnu_ld=no
86638     else
86639       with_gnu_ld=$ac_cv_prog_gnu_ld
86640     fi
86641   fi
86642
86643   # Start by getting the version number.  I think the libtool test already
86644   # does some of this, but throws away the result.
86645   glibcxx_ld_is_gold=no
86646   if test x"$with_gnu_ld" = x"yes"; then
86647     echo "$as_me:$LINENO: checking for ld version" >&5
86648 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86649
86650     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86651       glibcxx_ld_is_gold=yes
86652     fi
86653     ldver=`$LD --version 2>/dev/null | head -1 | \
86654            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86655
86656     glibcxx_gnu_ld_version=`echo $ldver | \
86657            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86658     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86659 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86660   fi
86661
86662   # Set --gc-sections.
86663   glibcxx_have_gc_sections=no
86664   if test "$glibcxx_ld_is_gold" = "yes"; then
86665     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86666       glibcxx_have_gc_sections=yes
86667     fi
86668   else
86669     glibcxx_gcsections_min_ld=21602
86670     if test x"$with_gnu_ld" = x"yes" &&
86671         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86672       glibcxx_have_gc_sections=yes
86673     fi
86674   fi
86675   if test "$glibcxx_have_gc_sections" = "yes"; then
86676     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86677     # NB: This flag only works reliably after 2.16.1. Configure tests
86678     # for this are difficult, so hard wire a value that should work.
86679
86680     ac_test_CFLAGS="${CFLAGS+set}"
86681     ac_save_CFLAGS="$CFLAGS"
86682     CFLAGS='-Wl,--gc-sections'
86683
86684     # Check for -Wl,--gc-sections
86685     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86686 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86687     if test x$gcc_no_link = xyes; then
86688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86690    { (exit 1); exit 1; }; }
86691 fi
86692 cat >conftest.$ac_ext <<_ACEOF
86693 /* confdefs.h.  */
86694 _ACEOF
86695 cat confdefs.h >>conftest.$ac_ext
86696 cat >>conftest.$ac_ext <<_ACEOF
86697 /* end confdefs.h.  */
86698  int one(void) { return 1; }
86699      int two(void) { return 2; }
86700
86701 int
86702 main ()
86703 {
86704  two();
86705   ;
86706   return 0;
86707 }
86708 _ACEOF
86709 rm -f conftest.$ac_objext conftest$ac_exeext
86710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86711   (eval $ac_link) 2>conftest.er1
86712   ac_status=$?
86713   grep -v '^ *+' conftest.er1 >conftest.err
86714   rm -f conftest.er1
86715   cat conftest.err >&5
86716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86717   (exit $ac_status); } &&
86718          { ac_try='test -z "$ac_c_werror_flag"
86719                          || test ! -s conftest.err'
86720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86721   (eval $ac_try) 2>&5
86722   ac_status=$?
86723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86724   (exit $ac_status); }; } &&
86725          { ac_try='test -s conftest$ac_exeext'
86726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86727   (eval $ac_try) 2>&5
86728   ac_status=$?
86729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86730   (exit $ac_status); }; }; then
86731   ac_gcsections=yes
86732 else
86733   echo "$as_me: failed program was:" >&5
86734 sed 's/^/| /' conftest.$ac_ext >&5
86735
86736 ac_gcsections=no
86737 fi
86738 rm -f conftest.err conftest.$ac_objext \
86739       conftest$ac_exeext conftest.$ac_ext
86740     if test "$ac_gcsections" = "yes"; then
86741       rm -f conftest.c
86742       touch conftest.c
86743       if $CC -c conftest.c; then
86744         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86745            grep "Warning: gc-sections option ignored" > /dev/null; then
86746           ac_gcsections=no
86747         fi
86748       fi
86749       rm -f conftest.c conftest.o conftest
86750     fi
86751     if test "$ac_gcsections" = "yes"; then
86752       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86753     fi
86754     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86755 echo "${ECHO_T}$ac_gcsections" >&6
86756
86757     if test "$ac_test_CFLAGS" = set; then
86758       CFLAGS="$ac_save_CFLAGS"
86759     else
86760       # this is the suspicious part
86761       CFLAGS=''
86762     fi
86763   fi
86764
86765   # Set -z,relro.
86766   # Note this is only for shared objects.
86767   ac_ld_relro=no
86768   if test x"$with_gnu_ld" = x"yes"; then
86769     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86770 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86771     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86772     if test -n "$cxx_z_relo"; then
86773       OPT_LDFLAGS="-Wl,-z,relro"
86774       ac_ld_relro=yes
86775     fi
86776     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86777 echo "${ECHO_T}$ac_ld_relro" >&6
86778   fi
86779
86780   # Set linker optimization flags.
86781   if test x"$with_gnu_ld" = x"yes"; then
86782     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86783   fi
86784
86785
86786
86787
86788
86789
86790 echo "$as_me:$LINENO: checking for main in -lm" >&5
86791 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86792 if test "${ac_cv_lib_m_main+set}" = set; then
86793   echo $ECHO_N "(cached) $ECHO_C" >&6
86794 else
86795   ac_check_lib_save_LIBS=$LIBS
86796 LIBS="-lm  $LIBS"
86797 if test x$gcc_no_link = xyes; then
86798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86800    { (exit 1); exit 1; }; }
86801 fi
86802 cat >conftest.$ac_ext <<_ACEOF
86803 /* confdefs.h.  */
86804 _ACEOF
86805 cat confdefs.h >>conftest.$ac_ext
86806 cat >>conftest.$ac_ext <<_ACEOF
86807 /* end confdefs.h.  */
86808
86809
86810 int
86811 main ()
86812 {
86813 main ();
86814   ;
86815   return 0;
86816 }
86817 _ACEOF
86818 rm -f conftest.$ac_objext conftest$ac_exeext
86819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86820   (eval $ac_link) 2>conftest.er1
86821   ac_status=$?
86822   grep -v '^ *+' conftest.er1 >conftest.err
86823   rm -f conftest.er1
86824   cat conftest.err >&5
86825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86826   (exit $ac_status); } &&
86827          { ac_try='test -z "$ac_c_werror_flag"
86828                          || test ! -s conftest.err'
86829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86830   (eval $ac_try) 2>&5
86831   ac_status=$?
86832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86833   (exit $ac_status); }; } &&
86834          { ac_try='test -s conftest$ac_exeext'
86835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86836   (eval $ac_try) 2>&5
86837   ac_status=$?
86838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86839   (exit $ac_status); }; }; then
86840   ac_cv_lib_m_main=yes
86841 else
86842   echo "$as_me: failed program was:" >&5
86843 sed 's/^/| /' conftest.$ac_ext >&5
86844
86845 ac_cv_lib_m_main=no
86846 fi
86847 rm -f conftest.err conftest.$ac_objext \
86848       conftest$ac_exeext conftest.$ac_ext
86849 LIBS=$ac_check_lib_save_LIBS
86850 fi
86851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86852 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86853 if test $ac_cv_lib_m_main = yes; then
86854   cat >>confdefs.h <<_ACEOF
86855 #define HAVE_LIBM 1
86856 _ACEOF
86857
86858   LIBS="-lm $LIBS"
86859
86860 fi
86861
86862
86863 for ac_func in copysignf
86864 do
86865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86866 echo "$as_me:$LINENO: checking for $ac_func" >&5
86867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86868 if eval "test \"\${$as_ac_var+set}\" = set"; then
86869   echo $ECHO_N "(cached) $ECHO_C" >&6
86870 else
86871   if test x$gcc_no_link = xyes; then
86872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86874    { (exit 1); exit 1; }; }
86875 fi
86876 cat >conftest.$ac_ext <<_ACEOF
86877 /* confdefs.h.  */
86878 _ACEOF
86879 cat confdefs.h >>conftest.$ac_ext
86880 cat >>conftest.$ac_ext <<_ACEOF
86881 /* end confdefs.h.  */
86882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86884 #define $ac_func innocuous_$ac_func
86885
86886 /* System header to define __stub macros and hopefully few prototypes,
86887     which can conflict with char $ac_func (); below.
86888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86889     <limits.h> exists even on freestanding compilers.  */
86890
86891 #ifdef __STDC__
86892 # include <limits.h>
86893 #else
86894 # include <assert.h>
86895 #endif
86896
86897 #undef $ac_func
86898
86899 /* Override any gcc2 internal prototype to avoid an error.  */
86900 #ifdef __cplusplus
86901 extern "C"
86902 {
86903 #endif
86904 /* We use char because int might match the return type of a gcc2
86905    builtin and then its argument prototype would still apply.  */
86906 char $ac_func ();
86907 /* The GNU C library defines this for functions which it implements
86908     to always fail with ENOSYS.  Some functions are actually named
86909     something starting with __ and the normal name is an alias.  */
86910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86911 choke me
86912 #else
86913 char (*f) () = $ac_func;
86914 #endif
86915 #ifdef __cplusplus
86916 }
86917 #endif
86918
86919 int
86920 main ()
86921 {
86922 return f != $ac_func;
86923   ;
86924   return 0;
86925 }
86926 _ACEOF
86927 rm -f conftest.$ac_objext conftest$ac_exeext
86928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86929   (eval $ac_link) 2>conftest.er1
86930   ac_status=$?
86931   grep -v '^ *+' conftest.er1 >conftest.err
86932   rm -f conftest.er1
86933   cat conftest.err >&5
86934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86935   (exit $ac_status); } &&
86936          { ac_try='test -z "$ac_c_werror_flag"
86937                          || test ! -s conftest.err'
86938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86939   (eval $ac_try) 2>&5
86940   ac_status=$?
86941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86942   (exit $ac_status); }; } &&
86943          { ac_try='test -s conftest$ac_exeext'
86944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86945   (eval $ac_try) 2>&5
86946   ac_status=$?
86947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86948   (exit $ac_status); }; }; then
86949   eval "$as_ac_var=yes"
86950 else
86951   echo "$as_me: failed program was:" >&5
86952 sed 's/^/| /' conftest.$ac_ext >&5
86953
86954 eval "$as_ac_var=no"
86955 fi
86956 rm -f conftest.err conftest.$ac_objext \
86957       conftest$ac_exeext conftest.$ac_ext
86958 fi
86959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86961 if test `eval echo '${'$as_ac_var'}'` = yes; then
86962   cat >>confdefs.h <<_ACEOF
86963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86964 _ACEOF
86965
86966 else
86967   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86968 fi
86969 done
86970
86971
86972
86973 for ac_func in __signbit
86974 do
86975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86976 echo "$as_me:$LINENO: checking for $ac_func" >&5
86977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86978 if eval "test \"\${$as_ac_var+set}\" = set"; then
86979   echo $ECHO_N "(cached) $ECHO_C" >&6
86980 else
86981   if test x$gcc_no_link = xyes; then
86982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86984    { (exit 1); exit 1; }; }
86985 fi
86986 cat >conftest.$ac_ext <<_ACEOF
86987 /* confdefs.h.  */
86988 _ACEOF
86989 cat confdefs.h >>conftest.$ac_ext
86990 cat >>conftest.$ac_ext <<_ACEOF
86991 /* end confdefs.h.  */
86992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86994 #define $ac_func innocuous_$ac_func
86995
86996 /* System header to define __stub macros and hopefully few prototypes,
86997     which can conflict with char $ac_func (); below.
86998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86999     <limits.h> exists even on freestanding compilers.  */
87000
87001 #ifdef __STDC__
87002 # include <limits.h>
87003 #else
87004 # include <assert.h>
87005 #endif
87006
87007 #undef $ac_func
87008
87009 /* Override any gcc2 internal prototype to avoid an error.  */
87010 #ifdef __cplusplus
87011 extern "C"
87012 {
87013 #endif
87014 /* We use char because int might match the return type of a gcc2
87015    builtin and then its argument prototype would still apply.  */
87016 char $ac_func ();
87017 /* The GNU C library defines this for functions which it implements
87018     to always fail with ENOSYS.  Some functions are actually named
87019     something starting with __ and the normal name is an alias.  */
87020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87021 choke me
87022 #else
87023 char (*f) () = $ac_func;
87024 #endif
87025 #ifdef __cplusplus
87026 }
87027 #endif
87028
87029 int
87030 main ()
87031 {
87032 return f != $ac_func;
87033   ;
87034   return 0;
87035 }
87036 _ACEOF
87037 rm -f conftest.$ac_objext conftest$ac_exeext
87038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87039   (eval $ac_link) 2>conftest.er1
87040   ac_status=$?
87041   grep -v '^ *+' conftest.er1 >conftest.err
87042   rm -f conftest.er1
87043   cat conftest.err >&5
87044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87045   (exit $ac_status); } &&
87046          { ac_try='test -z "$ac_c_werror_flag"
87047                          || test ! -s conftest.err'
87048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87049   (eval $ac_try) 2>&5
87050   ac_status=$?
87051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87052   (exit $ac_status); }; } &&
87053          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
87059   eval "$as_ac_var=yes"
87060 else
87061   echo "$as_me: failed program was:" >&5
87062 sed 's/^/| /' conftest.$ac_ext >&5
87063
87064 eval "$as_ac_var=no"
87065 fi
87066 rm -f conftest.err conftest.$ac_objext \
87067       conftest$ac_exeext conftest.$ac_ext
87068 fi
87069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87071 if test `eval echo '${'$as_ac_var'}'` = yes; then
87072   cat >>confdefs.h <<_ACEOF
87073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87074 _ACEOF
87075
87076 else
87077   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87078 fi
87079 done
87080
87081
87082
87083 for ac_func in __signbitf
87084 do
87085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87086 echo "$as_me:$LINENO: checking for $ac_func" >&5
87087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87088 if eval "test \"\${$as_ac_var+set}\" = set"; then
87089   echo $ECHO_N "(cached) $ECHO_C" >&6
87090 else
87091   if test x$gcc_no_link = xyes; then
87092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87094    { (exit 1); exit 1; }; }
87095 fi
87096 cat >conftest.$ac_ext <<_ACEOF
87097 /* confdefs.h.  */
87098 _ACEOF
87099 cat confdefs.h >>conftest.$ac_ext
87100 cat >>conftest.$ac_ext <<_ACEOF
87101 /* end confdefs.h.  */
87102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87104 #define $ac_func innocuous_$ac_func
87105
87106 /* System header to define __stub macros and hopefully few prototypes,
87107     which can conflict with char $ac_func (); below.
87108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87109     <limits.h> exists even on freestanding compilers.  */
87110
87111 #ifdef __STDC__
87112 # include <limits.h>
87113 #else
87114 # include <assert.h>
87115 #endif
87116
87117 #undef $ac_func
87118
87119 /* Override any gcc2 internal prototype to avoid an error.  */
87120 #ifdef __cplusplus
87121 extern "C"
87122 {
87123 #endif
87124 /* We use char because int might match the return type of a gcc2
87125    builtin and then its argument prototype would still apply.  */
87126 char $ac_func ();
87127 /* The GNU C library defines this for functions which it implements
87128     to always fail with ENOSYS.  Some functions are actually named
87129     something starting with __ and the normal name is an alias.  */
87130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87131 choke me
87132 #else
87133 char (*f) () = $ac_func;
87134 #endif
87135 #ifdef __cplusplus
87136 }
87137 #endif
87138
87139 int
87140 main ()
87141 {
87142 return f != $ac_func;
87143   ;
87144   return 0;
87145 }
87146 _ACEOF
87147 rm -f conftest.$ac_objext conftest$ac_exeext
87148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87149   (eval $ac_link) 2>conftest.er1
87150   ac_status=$?
87151   grep -v '^ *+' conftest.er1 >conftest.err
87152   rm -f conftest.er1
87153   cat conftest.err >&5
87154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87155   (exit $ac_status); } &&
87156          { ac_try='test -z "$ac_c_werror_flag"
87157                          || test ! -s conftest.err'
87158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87159   (eval $ac_try) 2>&5
87160   ac_status=$?
87161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87162   (exit $ac_status); }; } &&
87163          { ac_try='test -s conftest$ac_exeext'
87164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87165   (eval $ac_try) 2>&5
87166   ac_status=$?
87167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168   (exit $ac_status); }; }; then
87169   eval "$as_ac_var=yes"
87170 else
87171   echo "$as_me: failed program was:" >&5
87172 sed 's/^/| /' conftest.$ac_ext >&5
87173
87174 eval "$as_ac_var=no"
87175 fi
87176 rm -f conftest.err conftest.$ac_objext \
87177       conftest$ac_exeext conftest.$ac_ext
87178 fi
87179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87181 if test `eval echo '${'$as_ac_var'}'` = yes; then
87182   cat >>confdefs.h <<_ACEOF
87183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87184 _ACEOF
87185
87186 else
87187   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87188 fi
87189 done
87190
87191
87192           if test x$ac_cv_func_copysignl = x"yes"; then
87193
87194 for ac_func in __signbitl
87195 do
87196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87197 echo "$as_me:$LINENO: checking for $ac_func" >&5
87198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87199 if eval "test \"\${$as_ac_var+set}\" = set"; then
87200   echo $ECHO_N "(cached) $ECHO_C" >&6
87201 else
87202   if test x$gcc_no_link = xyes; then
87203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87205    { (exit 1); exit 1; }; }
87206 fi
87207 cat >conftest.$ac_ext <<_ACEOF
87208 /* confdefs.h.  */
87209 _ACEOF
87210 cat confdefs.h >>conftest.$ac_ext
87211 cat >>conftest.$ac_ext <<_ACEOF
87212 /* end confdefs.h.  */
87213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87215 #define $ac_func innocuous_$ac_func
87216
87217 /* System header to define __stub macros and hopefully few prototypes,
87218     which can conflict with char $ac_func (); below.
87219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87220     <limits.h> exists even on freestanding compilers.  */
87221
87222 #ifdef __STDC__
87223 # include <limits.h>
87224 #else
87225 # include <assert.h>
87226 #endif
87227
87228 #undef $ac_func
87229
87230 /* Override any gcc2 internal prototype to avoid an error.  */
87231 #ifdef __cplusplus
87232 extern "C"
87233 {
87234 #endif
87235 /* We use char because int might match the return type of a gcc2
87236    builtin and then its argument prototype would still apply.  */
87237 char $ac_func ();
87238 /* The GNU C library defines this for functions which it implements
87239     to always fail with ENOSYS.  Some functions are actually named
87240     something starting with __ and the normal name is an alias.  */
87241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87242 choke me
87243 #else
87244 char (*f) () = $ac_func;
87245 #endif
87246 #ifdef __cplusplus
87247 }
87248 #endif
87249
87250 int
87251 main ()
87252 {
87253 return f != $ac_func;
87254   ;
87255   return 0;
87256 }
87257 _ACEOF
87258 rm -f conftest.$ac_objext conftest$ac_exeext
87259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87260   (eval $ac_link) 2>conftest.er1
87261   ac_status=$?
87262   grep -v '^ *+' conftest.er1 >conftest.err
87263   rm -f conftest.er1
87264   cat conftest.err >&5
87265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87266   (exit $ac_status); } &&
87267          { ac_try='test -z "$ac_c_werror_flag"
87268                          || test ! -s conftest.err'
87269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87270   (eval $ac_try) 2>&5
87271   ac_status=$?
87272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87273   (exit $ac_status); }; } &&
87274          { ac_try='test -s conftest$ac_exeext'
87275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87276   (eval $ac_try) 2>&5
87277   ac_status=$?
87278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87279   (exit $ac_status); }; }; then
87280   eval "$as_ac_var=yes"
87281 else
87282   echo "$as_me: failed program was:" >&5
87283 sed 's/^/| /' conftest.$ac_ext >&5
87284
87285 eval "$as_ac_var=no"
87286 fi
87287 rm -f conftest.err conftest.$ac_objext \
87288       conftest$ac_exeext conftest.$ac_ext
87289 fi
87290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87292 if test `eval echo '${'$as_ac_var'}'` = yes; then
87293   cat >>confdefs.h <<_ACEOF
87294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87295 _ACEOF
87296
87297 else
87298   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87299 fi
87300 done
87301
87302   fi
87303
87304   # Used in libmath/Makefile.am.
87305   if test -n "$LIBMATHOBJS"; then
87306     need_libmath=yes
87307   fi
87308
87309
87310     cat >>confdefs.h <<\_ACEOF
87311 #define HAVE_LC_MESSAGES 1
87312 _ACEOF
87313
87314     cat >>confdefs.h <<\_ACEOF
87315 #define HAVE_GETPAGESIZE 1
87316 _ACEOF
87317
87318     cat >>confdefs.h <<\_ACEOF
87319 #define HAVE_SETENV 1
87320 _ACEOF
87321
87322     cat >>confdefs.h <<\_ACEOF
87323 #define HAVE_SIGSETJMP 1
87324 _ACEOF
87325
87326     cat >>confdefs.h <<\_ACEOF
87327 #define HAVE_COPYSIGN 1
87328 _ACEOF
87329
87330     cat >>confdefs.h <<\_ACEOF
87331 #define HAVE_COPYSIGNF 1
87332 _ACEOF
87333
87334     cat >>confdefs.h <<\_ACEOF
87335 #define HAVE_FINITEF 1
87336 _ACEOF
87337
87338     cat >>confdefs.h <<\_ACEOF
87339 #define HAVE_FINITE 1
87340 _ACEOF
87341
87342     cat >>confdefs.h <<\_ACEOF
87343 #define HAVE_FREXPF 1
87344 _ACEOF
87345
87346     cat >>confdefs.h <<\_ACEOF
87347 #define HAVE_HYPOT 1
87348 _ACEOF
87349
87350     cat >>confdefs.h <<\_ACEOF
87351 #define HAVE_HYPOTF 1
87352 _ACEOF
87353
87354     cat >>confdefs.h <<\_ACEOF
87355 #define HAVE_ISINF 1
87356 _ACEOF
87357
87358     cat >>confdefs.h <<\_ACEOF
87359 #define HAVE_ISNAN 1
87360 _ACEOF
87361
87362     cat >>confdefs.h <<\_ACEOF
87363 #define HAVE_ISNANF 1
87364 _ACEOF
87365
87366
87367     cat >>confdefs.h <<\_ACEOF
87368 #define HAVE_MMAP 1
87369 _ACEOF
87370
87371     cat >>confdefs.h <<\_ACEOF
87372 #define HAVE_ACOSF 1
87373 _ACEOF
87374
87375     cat >>confdefs.h <<\_ACEOF
87376 #define HAVE_ASINF 1
87377 _ACEOF
87378
87379     cat >>confdefs.h <<\_ACEOF
87380 #define HAVE_ATAN2F 1
87381 _ACEOF
87382
87383     cat >>confdefs.h <<\_ACEOF
87384 #define HAVE_ATANF 1
87385 _ACEOF
87386
87387     cat >>confdefs.h <<\_ACEOF
87388 #define HAVE_CEILF 1
87389 _ACEOF
87390
87391     cat >>confdefs.h <<\_ACEOF
87392 #define HAVE_COPYSIGN 1
87393 _ACEOF
87394
87395     cat >>confdefs.h <<\_ACEOF
87396 #define HAVE_COPYSIGNF 1
87397 _ACEOF
87398
87399     cat >>confdefs.h <<\_ACEOF
87400 #define HAVE_COSF 1
87401 _ACEOF
87402
87403     cat >>confdefs.h <<\_ACEOF
87404 #define HAVE_COSHF 1
87405 _ACEOF
87406
87407     cat >>confdefs.h <<\_ACEOF
87408 #define HAVE_EXPF 1
87409 _ACEOF
87410
87411     cat >>confdefs.h <<\_ACEOF
87412 #define HAVE_FABSF 1
87413 _ACEOF
87414
87415     cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_FLOORF 1
87417 _ACEOF
87418
87419     cat >>confdefs.h <<\_ACEOF
87420 #define HAVE_FMODF 1
87421 _ACEOF
87422
87423     cat >>confdefs.h <<\_ACEOF
87424 #define HAVE_FREXPF 1
87425 _ACEOF
87426
87427     cat >>confdefs.h <<\_ACEOF
87428 #define HAVE_LDEXPF 1
87429 _ACEOF
87430
87431     cat >>confdefs.h <<\_ACEOF
87432 #define HAVE_LOG10F 1
87433 _ACEOF
87434
87435     cat >>confdefs.h <<\_ACEOF
87436 #define HAVE_LOGF 1
87437 _ACEOF
87438
87439     cat >>confdefs.h <<\_ACEOF
87440 #define HAVE_MODFF 1
87441 _ACEOF
87442
87443     cat >>confdefs.h <<\_ACEOF
87444 #define HAVE_POWF 1
87445 _ACEOF
87446
87447     cat >>confdefs.h <<\_ACEOF
87448 #define HAVE_SINF 1
87449 _ACEOF
87450
87451     cat >>confdefs.h <<\_ACEOF
87452 #define HAVE_SINHF 1
87453 _ACEOF
87454
87455     cat >>confdefs.h <<\_ACEOF
87456 #define HAVE_SQRTF 1
87457 _ACEOF
87458
87459     cat >>confdefs.h <<\_ACEOF
87460 #define HAVE_TANF 1
87461 _ACEOF
87462
87463     cat >>confdefs.h <<\_ACEOF
87464 #define HAVE_TANHF 1
87465 _ACEOF
87466
87467     if test x"long_double_math_on_this_cpu" = x"yes"; then
87468       cat >>confdefs.h <<\_ACEOF
87469 #define HAVE_FINITEL 1
87470 _ACEOF
87471
87472       cat >>confdefs.h <<\_ACEOF
87473 #define HAVE_ISINFL 1
87474 _ACEOF
87475
87476       cat >>confdefs.h <<\_ACEOF
87477 #define HAVE_ISNANL 1
87478 _ACEOF
87479
87480     fi
87481     ;;
87482   *-hpux*)
87483
87484
87485
87486
87487
87488
87489
87490
87491
87492
87493
87494
87495 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87496       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87497       fp.h locale.h float.h inttypes.h
87498 do
87499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87501   echo "$as_me:$LINENO: checking for $ac_header" >&5
87502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87504   echo $ECHO_N "(cached) $ECHO_C" >&6
87505 fi
87506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87508 else
87509   # Is the header compilable?
87510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87512 cat >conftest.$ac_ext <<_ACEOF
87513 /* confdefs.h.  */
87514 _ACEOF
87515 cat confdefs.h >>conftest.$ac_ext
87516 cat >>conftest.$ac_ext <<_ACEOF
87517 /* end confdefs.h.  */
87518 $ac_includes_default
87519 #include <$ac_header>
87520 _ACEOF
87521 rm -f conftest.$ac_objext
87522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87523   (eval $ac_compile) 2>conftest.er1
87524   ac_status=$?
87525   grep -v '^ *+' conftest.er1 >conftest.err
87526   rm -f conftest.er1
87527   cat conftest.err >&5
87528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87529   (exit $ac_status); } &&
87530          { ac_try='test -z "$ac_c_werror_flag"
87531                          || test ! -s conftest.err'
87532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87533   (eval $ac_try) 2>&5
87534   ac_status=$?
87535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87536   (exit $ac_status); }; } &&
87537          { ac_try='test -s conftest.$ac_objext'
87538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87539   (eval $ac_try) 2>&5
87540   ac_status=$?
87541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87542   (exit $ac_status); }; }; then
87543   ac_header_compiler=yes
87544 else
87545   echo "$as_me: failed program was:" >&5
87546 sed 's/^/| /' conftest.$ac_ext >&5
87547
87548 ac_header_compiler=no
87549 fi
87550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87552 echo "${ECHO_T}$ac_header_compiler" >&6
87553
87554 # Is the header present?
87555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87557 cat >conftest.$ac_ext <<_ACEOF
87558 /* confdefs.h.  */
87559 _ACEOF
87560 cat confdefs.h >>conftest.$ac_ext
87561 cat >>conftest.$ac_ext <<_ACEOF
87562 /* end confdefs.h.  */
87563 #include <$ac_header>
87564 _ACEOF
87565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87566   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87567   ac_status=$?
87568   grep -v '^ *+' conftest.er1 >conftest.err
87569   rm -f conftest.er1
87570   cat conftest.err >&5
87571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87572   (exit $ac_status); } >/dev/null; then
87573   if test -s conftest.err; then
87574     ac_cpp_err=$ac_c_preproc_warn_flag
87575     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87576   else
87577     ac_cpp_err=
87578   fi
87579 else
87580   ac_cpp_err=yes
87581 fi
87582 if test -z "$ac_cpp_err"; then
87583   ac_header_preproc=yes
87584 else
87585   echo "$as_me: failed program was:" >&5
87586 sed 's/^/| /' conftest.$ac_ext >&5
87587
87588   ac_header_preproc=no
87589 fi
87590 rm -f conftest.err conftest.$ac_ext
87591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87592 echo "${ECHO_T}$ac_header_preproc" >&6
87593
87594 # So?  What about this header?
87595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87596   yes:no: )
87597     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87599     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87601     ac_header_preproc=yes
87602     ;;
87603   no:yes:* )
87604     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87606     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87607 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87608     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87610     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87611 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87612     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87614     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87616     (
87617       cat <<\_ASBOX
87618 ## ----------------------------------------- ##
87619 ## Report this to the package-unused lists.  ##
87620 ## ----------------------------------------- ##
87621 _ASBOX
87622     ) |
87623       sed "s/^/$as_me: WARNING:     /" >&2
87624     ;;
87625 esac
87626 echo "$as_me:$LINENO: checking for $ac_header" >&5
87627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87629   echo $ECHO_N "(cached) $ECHO_C" >&6
87630 else
87631   eval "$as_ac_Header=\$ac_header_preproc"
87632 fi
87633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87635
87636 fi
87637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87638   cat >>confdefs.h <<_ACEOF
87639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87640 _ACEOF
87641
87642 fi
87643
87644 done
87645
87646     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87647
87648
87649   # If we're not using GNU ld, then there's no point in even trying these
87650   # tests.  Check for that first.  We should have already tested for gld
87651   # by now (in libtool), but require it now just to be safe...
87652   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87653   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87654
87655
87656
87657   # The name set by libtool depends on the version of libtool.  Shame on us
87658   # for depending on an impl detail, but c'est la vie.  Older versions used
87659   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87660   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87661   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87662   # set (hence we're using an older libtool), then set it.
87663   if test x${with_gnu_ld+set} != xset; then
87664     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87665       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87666       with_gnu_ld=no
87667     else
87668       with_gnu_ld=$ac_cv_prog_gnu_ld
87669     fi
87670   fi
87671
87672   # Start by getting the version number.  I think the libtool test already
87673   # does some of this, but throws away the result.
87674   glibcxx_ld_is_gold=no
87675   if test x"$with_gnu_ld" = x"yes"; then
87676     echo "$as_me:$LINENO: checking for ld version" >&5
87677 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87678
87679     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87680       glibcxx_ld_is_gold=yes
87681     fi
87682     ldver=`$LD --version 2>/dev/null | head -1 | \
87683            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87684
87685     glibcxx_gnu_ld_version=`echo $ldver | \
87686            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87687     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87688 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87689   fi
87690
87691   # Set --gc-sections.
87692   glibcxx_have_gc_sections=no
87693   if test "$glibcxx_ld_is_gold" = "yes"; then
87694     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87695       glibcxx_have_gc_sections=yes
87696     fi
87697   else
87698     glibcxx_gcsections_min_ld=21602
87699     if test x"$with_gnu_ld" = x"yes" &&
87700         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87701       glibcxx_have_gc_sections=yes
87702     fi
87703   fi
87704   if test "$glibcxx_have_gc_sections" = "yes"; then
87705     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87706     # NB: This flag only works reliably after 2.16.1. Configure tests
87707     # for this are difficult, so hard wire a value that should work.
87708
87709     ac_test_CFLAGS="${CFLAGS+set}"
87710     ac_save_CFLAGS="$CFLAGS"
87711     CFLAGS='-Wl,--gc-sections'
87712
87713     # Check for -Wl,--gc-sections
87714     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87715 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87716     if test x$gcc_no_link = xyes; then
87717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87719    { (exit 1); exit 1; }; }
87720 fi
87721 cat >conftest.$ac_ext <<_ACEOF
87722 /* confdefs.h.  */
87723 _ACEOF
87724 cat confdefs.h >>conftest.$ac_ext
87725 cat >>conftest.$ac_ext <<_ACEOF
87726 /* end confdefs.h.  */
87727  int one(void) { return 1; }
87728      int two(void) { return 2; }
87729
87730 int
87731 main ()
87732 {
87733  two();
87734   ;
87735   return 0;
87736 }
87737 _ACEOF
87738 rm -f conftest.$ac_objext conftest$ac_exeext
87739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87740   (eval $ac_link) 2>conftest.er1
87741   ac_status=$?
87742   grep -v '^ *+' conftest.er1 >conftest.err
87743   rm -f conftest.er1
87744   cat conftest.err >&5
87745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746   (exit $ac_status); } &&
87747          { ac_try='test -z "$ac_c_werror_flag"
87748                          || test ! -s conftest.err'
87749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87750   (eval $ac_try) 2>&5
87751   ac_status=$?
87752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87753   (exit $ac_status); }; } &&
87754          { ac_try='test -s conftest$ac_exeext'
87755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87756   (eval $ac_try) 2>&5
87757   ac_status=$?
87758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759   (exit $ac_status); }; }; then
87760   ac_gcsections=yes
87761 else
87762   echo "$as_me: failed program was:" >&5
87763 sed 's/^/| /' conftest.$ac_ext >&5
87764
87765 ac_gcsections=no
87766 fi
87767 rm -f conftest.err conftest.$ac_objext \
87768       conftest$ac_exeext conftest.$ac_ext
87769     if test "$ac_gcsections" = "yes"; then
87770       rm -f conftest.c
87771       touch conftest.c
87772       if $CC -c conftest.c; then
87773         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87774            grep "Warning: gc-sections option ignored" > /dev/null; then
87775           ac_gcsections=no
87776         fi
87777       fi
87778       rm -f conftest.c conftest.o conftest
87779     fi
87780     if test "$ac_gcsections" = "yes"; then
87781       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87782     fi
87783     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87784 echo "${ECHO_T}$ac_gcsections" >&6
87785
87786     if test "$ac_test_CFLAGS" = set; then
87787       CFLAGS="$ac_save_CFLAGS"
87788     else
87789       # this is the suspicious part
87790       CFLAGS=''
87791     fi
87792   fi
87793
87794   # Set -z,relro.
87795   # Note this is only for shared objects.
87796   ac_ld_relro=no
87797   if test x"$with_gnu_ld" = x"yes"; then
87798     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87799 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87800     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87801     if test -n "$cxx_z_relo"; then
87802       OPT_LDFLAGS="-Wl,-z,relro"
87803       ac_ld_relro=yes
87804     fi
87805     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87806 echo "${ECHO_T}$ac_ld_relro" >&6
87807   fi
87808
87809   # Set linker optimization flags.
87810   if test x"$with_gnu_ld" = x"yes"; then
87811     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87812   fi
87813
87814
87815
87816
87817
87818
87819 echo "$as_me:$LINENO: checking for main in -lm" >&5
87820 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87821 if test "${ac_cv_lib_m_main+set}" = set; then
87822   echo $ECHO_N "(cached) $ECHO_C" >&6
87823 else
87824   ac_check_lib_save_LIBS=$LIBS
87825 LIBS="-lm  $LIBS"
87826 if test x$gcc_no_link = xyes; then
87827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87829    { (exit 1); exit 1; }; }
87830 fi
87831 cat >conftest.$ac_ext <<_ACEOF
87832 /* confdefs.h.  */
87833 _ACEOF
87834 cat confdefs.h >>conftest.$ac_ext
87835 cat >>conftest.$ac_ext <<_ACEOF
87836 /* end confdefs.h.  */
87837
87838
87839 int
87840 main ()
87841 {
87842 main ();
87843   ;
87844   return 0;
87845 }
87846 _ACEOF
87847 rm -f conftest.$ac_objext conftest$ac_exeext
87848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87849   (eval $ac_link) 2>conftest.er1
87850   ac_status=$?
87851   grep -v '^ *+' conftest.er1 >conftest.err
87852   rm -f conftest.er1
87853   cat conftest.err >&5
87854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87855   (exit $ac_status); } &&
87856          { ac_try='test -z "$ac_c_werror_flag"
87857                          || test ! -s conftest.err'
87858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87859   (eval $ac_try) 2>&5
87860   ac_status=$?
87861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87862   (exit $ac_status); }; } &&
87863          { ac_try='test -s conftest$ac_exeext'
87864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87865   (eval $ac_try) 2>&5
87866   ac_status=$?
87867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87868   (exit $ac_status); }; }; then
87869   ac_cv_lib_m_main=yes
87870 else
87871   echo "$as_me: failed program was:" >&5
87872 sed 's/^/| /' conftest.$ac_ext >&5
87873
87874 ac_cv_lib_m_main=no
87875 fi
87876 rm -f conftest.err conftest.$ac_objext \
87877       conftest$ac_exeext conftest.$ac_ext
87878 LIBS=$ac_check_lib_save_LIBS
87879 fi
87880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87881 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87882 if test $ac_cv_lib_m_main = yes; then
87883   cat >>confdefs.h <<_ACEOF
87884 #define HAVE_LIBM 1
87885 _ACEOF
87886
87887   LIBS="-lm $LIBS"
87888
87889 fi
87890
87891
87892 for ac_func in copysignf
87893 do
87894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87895 echo "$as_me:$LINENO: checking for $ac_func" >&5
87896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87897 if eval "test \"\${$as_ac_var+set}\" = set"; then
87898   echo $ECHO_N "(cached) $ECHO_C" >&6
87899 else
87900   if test x$gcc_no_link = xyes; then
87901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87903    { (exit 1); exit 1; }; }
87904 fi
87905 cat >conftest.$ac_ext <<_ACEOF
87906 /* confdefs.h.  */
87907 _ACEOF
87908 cat confdefs.h >>conftest.$ac_ext
87909 cat >>conftest.$ac_ext <<_ACEOF
87910 /* end confdefs.h.  */
87911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87913 #define $ac_func innocuous_$ac_func
87914
87915 /* System header to define __stub macros and hopefully few prototypes,
87916     which can conflict with char $ac_func (); below.
87917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87918     <limits.h> exists even on freestanding compilers.  */
87919
87920 #ifdef __STDC__
87921 # include <limits.h>
87922 #else
87923 # include <assert.h>
87924 #endif
87925
87926 #undef $ac_func
87927
87928 /* Override any gcc2 internal prototype to avoid an error.  */
87929 #ifdef __cplusplus
87930 extern "C"
87931 {
87932 #endif
87933 /* We use char because int might match the return type of a gcc2
87934    builtin and then its argument prototype would still apply.  */
87935 char $ac_func ();
87936 /* The GNU C library defines this for functions which it implements
87937     to always fail with ENOSYS.  Some functions are actually named
87938     something starting with __ and the normal name is an alias.  */
87939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87940 choke me
87941 #else
87942 char (*f) () = $ac_func;
87943 #endif
87944 #ifdef __cplusplus
87945 }
87946 #endif
87947
87948 int
87949 main ()
87950 {
87951 return f != $ac_func;
87952   ;
87953   return 0;
87954 }
87955 _ACEOF
87956 rm -f conftest.$ac_objext conftest$ac_exeext
87957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87958   (eval $ac_link) 2>conftest.er1
87959   ac_status=$?
87960   grep -v '^ *+' conftest.er1 >conftest.err
87961   rm -f conftest.er1
87962   cat conftest.err >&5
87963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87964   (exit $ac_status); } &&
87965          { ac_try='test -z "$ac_c_werror_flag"
87966                          || test ! -s conftest.err'
87967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87968   (eval $ac_try) 2>&5
87969   ac_status=$?
87970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87971   (exit $ac_status); }; } &&
87972          { ac_try='test -s conftest$ac_exeext'
87973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87974   (eval $ac_try) 2>&5
87975   ac_status=$?
87976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87977   (exit $ac_status); }; }; then
87978   eval "$as_ac_var=yes"
87979 else
87980   echo "$as_me: failed program was:" >&5
87981 sed 's/^/| /' conftest.$ac_ext >&5
87982
87983 eval "$as_ac_var=no"
87984 fi
87985 rm -f conftest.err conftest.$ac_objext \
87986       conftest$ac_exeext conftest.$ac_ext
87987 fi
87988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87990 if test `eval echo '${'$as_ac_var'}'` = yes; then
87991   cat >>confdefs.h <<_ACEOF
87992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87993 _ACEOF
87994
87995 else
87996   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87997 fi
87998 done
87999
88000
88001
88002 for ac_func in __signbit
88003 do
88004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88005 echo "$as_me:$LINENO: checking for $ac_func" >&5
88006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88007 if eval "test \"\${$as_ac_var+set}\" = set"; then
88008   echo $ECHO_N "(cached) $ECHO_C" >&6
88009 else
88010   if test x$gcc_no_link = xyes; then
88011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88013    { (exit 1); exit 1; }; }
88014 fi
88015 cat >conftest.$ac_ext <<_ACEOF
88016 /* confdefs.h.  */
88017 _ACEOF
88018 cat confdefs.h >>conftest.$ac_ext
88019 cat >>conftest.$ac_ext <<_ACEOF
88020 /* end confdefs.h.  */
88021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88023 #define $ac_func innocuous_$ac_func
88024
88025 /* System header to define __stub macros and hopefully few prototypes,
88026     which can conflict with char $ac_func (); below.
88027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88028     <limits.h> exists even on freestanding compilers.  */
88029
88030 #ifdef __STDC__
88031 # include <limits.h>
88032 #else
88033 # include <assert.h>
88034 #endif
88035
88036 #undef $ac_func
88037
88038 /* Override any gcc2 internal prototype to avoid an error.  */
88039 #ifdef __cplusplus
88040 extern "C"
88041 {
88042 #endif
88043 /* We use char because int might match the return type of a gcc2
88044    builtin and then its argument prototype would still apply.  */
88045 char $ac_func ();
88046 /* The GNU C library defines this for functions which it implements
88047     to always fail with ENOSYS.  Some functions are actually named
88048     something starting with __ and the normal name is an alias.  */
88049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88050 choke me
88051 #else
88052 char (*f) () = $ac_func;
88053 #endif
88054 #ifdef __cplusplus
88055 }
88056 #endif
88057
88058 int
88059 main ()
88060 {
88061 return f != $ac_func;
88062   ;
88063   return 0;
88064 }
88065 _ACEOF
88066 rm -f conftest.$ac_objext conftest$ac_exeext
88067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88068   (eval $ac_link) 2>conftest.er1
88069   ac_status=$?
88070   grep -v '^ *+' conftest.er1 >conftest.err
88071   rm -f conftest.er1
88072   cat conftest.err >&5
88073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88074   (exit $ac_status); } &&
88075          { ac_try='test -z "$ac_c_werror_flag"
88076                          || test ! -s conftest.err'
88077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88078   (eval $ac_try) 2>&5
88079   ac_status=$?
88080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88081   (exit $ac_status); }; } &&
88082          { ac_try='test -s conftest$ac_exeext'
88083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88084   (eval $ac_try) 2>&5
88085   ac_status=$?
88086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88087   (exit $ac_status); }; }; then
88088   eval "$as_ac_var=yes"
88089 else
88090   echo "$as_me: failed program was:" >&5
88091 sed 's/^/| /' conftest.$ac_ext >&5
88092
88093 eval "$as_ac_var=no"
88094 fi
88095 rm -f conftest.err conftest.$ac_objext \
88096       conftest$ac_exeext conftest.$ac_ext
88097 fi
88098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88100 if test `eval echo '${'$as_ac_var'}'` = yes; then
88101   cat >>confdefs.h <<_ACEOF
88102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88103 _ACEOF
88104
88105 else
88106   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88107 fi
88108 done
88109
88110
88111
88112 for ac_func in __signbitf
88113 do
88114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88115 echo "$as_me:$LINENO: checking for $ac_func" >&5
88116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88117 if eval "test \"\${$as_ac_var+set}\" = set"; then
88118   echo $ECHO_N "(cached) $ECHO_C" >&6
88119 else
88120   if test x$gcc_no_link = xyes; then
88121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88123    { (exit 1); exit 1; }; }
88124 fi
88125 cat >conftest.$ac_ext <<_ACEOF
88126 /* confdefs.h.  */
88127 _ACEOF
88128 cat confdefs.h >>conftest.$ac_ext
88129 cat >>conftest.$ac_ext <<_ACEOF
88130 /* end confdefs.h.  */
88131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88133 #define $ac_func innocuous_$ac_func
88134
88135 /* System header to define __stub macros and hopefully few prototypes,
88136     which can conflict with char $ac_func (); below.
88137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88138     <limits.h> exists even on freestanding compilers.  */
88139
88140 #ifdef __STDC__
88141 # include <limits.h>
88142 #else
88143 # include <assert.h>
88144 #endif
88145
88146 #undef $ac_func
88147
88148 /* Override any gcc2 internal prototype to avoid an error.  */
88149 #ifdef __cplusplus
88150 extern "C"
88151 {
88152 #endif
88153 /* We use char because int might match the return type of a gcc2
88154    builtin and then its argument prototype would still apply.  */
88155 char $ac_func ();
88156 /* The GNU C library defines this for functions which it implements
88157     to always fail with ENOSYS.  Some functions are actually named
88158     something starting with __ and the normal name is an alias.  */
88159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88160 choke me
88161 #else
88162 char (*f) () = $ac_func;
88163 #endif
88164 #ifdef __cplusplus
88165 }
88166 #endif
88167
88168 int
88169 main ()
88170 {
88171 return f != $ac_func;
88172   ;
88173   return 0;
88174 }
88175 _ACEOF
88176 rm -f conftest.$ac_objext conftest$ac_exeext
88177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88178   (eval $ac_link) 2>conftest.er1
88179   ac_status=$?
88180   grep -v '^ *+' conftest.er1 >conftest.err
88181   rm -f conftest.er1
88182   cat conftest.err >&5
88183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184   (exit $ac_status); } &&
88185          { ac_try='test -z "$ac_c_werror_flag"
88186                          || test ! -s conftest.err'
88187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88188   (eval $ac_try) 2>&5
88189   ac_status=$?
88190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88191   (exit $ac_status); }; } &&
88192          { ac_try='test -s conftest$ac_exeext'
88193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88194   (eval $ac_try) 2>&5
88195   ac_status=$?
88196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88197   (exit $ac_status); }; }; then
88198   eval "$as_ac_var=yes"
88199 else
88200   echo "$as_me: failed program was:" >&5
88201 sed 's/^/| /' conftest.$ac_ext >&5
88202
88203 eval "$as_ac_var=no"
88204 fi
88205 rm -f conftest.err conftest.$ac_objext \
88206       conftest$ac_exeext conftest.$ac_ext
88207 fi
88208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88210 if test `eval echo '${'$as_ac_var'}'` = yes; then
88211   cat >>confdefs.h <<_ACEOF
88212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88213 _ACEOF
88214
88215 else
88216   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88217 fi
88218 done
88219
88220
88221           if test x$ac_cv_func_copysignl = x"yes"; then
88222
88223 for ac_func in __signbitl
88224 do
88225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88226 echo "$as_me:$LINENO: checking for $ac_func" >&5
88227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88228 if eval "test \"\${$as_ac_var+set}\" = set"; then
88229   echo $ECHO_N "(cached) $ECHO_C" >&6
88230 else
88231   if test x$gcc_no_link = xyes; then
88232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88234    { (exit 1); exit 1; }; }
88235 fi
88236 cat >conftest.$ac_ext <<_ACEOF
88237 /* confdefs.h.  */
88238 _ACEOF
88239 cat confdefs.h >>conftest.$ac_ext
88240 cat >>conftest.$ac_ext <<_ACEOF
88241 /* end confdefs.h.  */
88242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88244 #define $ac_func innocuous_$ac_func
88245
88246 /* System header to define __stub macros and hopefully few prototypes,
88247     which can conflict with char $ac_func (); below.
88248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88249     <limits.h> exists even on freestanding compilers.  */
88250
88251 #ifdef __STDC__
88252 # include <limits.h>
88253 #else
88254 # include <assert.h>
88255 #endif
88256
88257 #undef $ac_func
88258
88259 /* Override any gcc2 internal prototype to avoid an error.  */
88260 #ifdef __cplusplus
88261 extern "C"
88262 {
88263 #endif
88264 /* We use char because int might match the return type of a gcc2
88265    builtin and then its argument prototype would still apply.  */
88266 char $ac_func ();
88267 /* The GNU C library defines this for functions which it implements
88268     to always fail with ENOSYS.  Some functions are actually named
88269     something starting with __ and the normal name is an alias.  */
88270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88271 choke me
88272 #else
88273 char (*f) () = $ac_func;
88274 #endif
88275 #ifdef __cplusplus
88276 }
88277 #endif
88278
88279 int
88280 main ()
88281 {
88282 return f != $ac_func;
88283   ;
88284   return 0;
88285 }
88286 _ACEOF
88287 rm -f conftest.$ac_objext conftest$ac_exeext
88288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88289   (eval $ac_link) 2>conftest.er1
88290   ac_status=$?
88291   grep -v '^ *+' conftest.er1 >conftest.err
88292   rm -f conftest.er1
88293   cat conftest.err >&5
88294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88295   (exit $ac_status); } &&
88296          { ac_try='test -z "$ac_c_werror_flag"
88297                          || test ! -s conftest.err'
88298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88299   (eval $ac_try) 2>&5
88300   ac_status=$?
88301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88302   (exit $ac_status); }; } &&
88303          { ac_try='test -s conftest$ac_exeext'
88304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88305   (eval $ac_try) 2>&5
88306   ac_status=$?
88307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308   (exit $ac_status); }; }; then
88309   eval "$as_ac_var=yes"
88310 else
88311   echo "$as_me: failed program was:" >&5
88312 sed 's/^/| /' conftest.$ac_ext >&5
88313
88314 eval "$as_ac_var=no"
88315 fi
88316 rm -f conftest.err conftest.$ac_objext \
88317       conftest$ac_exeext conftest.$ac_ext
88318 fi
88319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88321 if test `eval echo '${'$as_ac_var'}'` = yes; then
88322   cat >>confdefs.h <<_ACEOF
88323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88324 _ACEOF
88325
88326 else
88327   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88328 fi
88329 done
88330
88331   fi
88332
88333   # Used in libmath/Makefile.am.
88334   if test -n "$LIBMATHOBJS"; then
88335     need_libmath=yes
88336   fi
88337
88338
88339     cat >>confdefs.h <<\_ACEOF
88340 #define HAVE_COPYSIGN 1
88341 _ACEOF
88342
88343     cat >>confdefs.h <<\_ACEOF
88344 #define HAVE_COPYSIGNF 1
88345 _ACEOF
88346
88347     cat >>confdefs.h <<\_ACEOF
88348 #define HAVE_FREXPF 1
88349 _ACEOF
88350
88351     cat >>confdefs.h <<\_ACEOF
88352 #define HAVE_HYPOT 1
88353 _ACEOF
88354
88355     case "$target" in
88356       *-hpux10*)
88357         cat >>confdefs.h <<\_ACEOF
88358 #define HAVE_FINITE 1
88359 _ACEOF
88360
88361         cat >>confdefs.h <<\_ACEOF
88362 #define HAVE_FINITEF 1
88363 _ACEOF
88364
88365         cat >>confdefs.h <<\_ACEOF
88366 #define HAVE_ISINF 1
88367 _ACEOF
88368
88369         cat >>confdefs.h <<\_ACEOF
88370 #define HAVE_ISINFF 1
88371 _ACEOF
88372
88373         cat >>confdefs.h <<\_ACEOF
88374 #define HAVE_ISNAN 1
88375 _ACEOF
88376
88377         cat >>confdefs.h <<\_ACEOF
88378 #define HAVE_ISNANF 1
88379 _ACEOF
88380
88381         ;;
88382     esac
88383     ;;
88384   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
88385
88386
88387
88388
88389
88390
88391
88392
88393
88394
88395
88396
88397
88398
88399
88400
88401
88402 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
88403       machine/endian.h machine/param.h sys/machine.h sys/types.h \
88404       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
88405       sys/ipc.h sys/sem.h
88406 do
88407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88409   echo "$as_me:$LINENO: checking for $ac_header" >&5
88410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88412   echo $ECHO_N "(cached) $ECHO_C" >&6
88413 fi
88414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88416 else
88417   # Is the header compilable?
88418 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88420 cat >conftest.$ac_ext <<_ACEOF
88421 /* confdefs.h.  */
88422 _ACEOF
88423 cat confdefs.h >>conftest.$ac_ext
88424 cat >>conftest.$ac_ext <<_ACEOF
88425 /* end confdefs.h.  */
88426 $ac_includes_default
88427 #include <$ac_header>
88428 _ACEOF
88429 rm -f conftest.$ac_objext
88430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88431   (eval $ac_compile) 2>conftest.er1
88432   ac_status=$?
88433   grep -v '^ *+' conftest.er1 >conftest.err
88434   rm -f conftest.er1
88435   cat conftest.err >&5
88436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88437   (exit $ac_status); } &&
88438          { ac_try='test -z "$ac_c_werror_flag"
88439                          || test ! -s conftest.err'
88440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88441   (eval $ac_try) 2>&5
88442   ac_status=$?
88443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88444   (exit $ac_status); }; } &&
88445          { ac_try='test -s conftest.$ac_objext'
88446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88447   (eval $ac_try) 2>&5
88448   ac_status=$?
88449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88450   (exit $ac_status); }; }; then
88451   ac_header_compiler=yes
88452 else
88453   echo "$as_me: failed program was:" >&5
88454 sed 's/^/| /' conftest.$ac_ext >&5
88455
88456 ac_header_compiler=no
88457 fi
88458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88460 echo "${ECHO_T}$ac_header_compiler" >&6
88461
88462 # Is the header present?
88463 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88465 cat >conftest.$ac_ext <<_ACEOF
88466 /* confdefs.h.  */
88467 _ACEOF
88468 cat confdefs.h >>conftest.$ac_ext
88469 cat >>conftest.$ac_ext <<_ACEOF
88470 /* end confdefs.h.  */
88471 #include <$ac_header>
88472 _ACEOF
88473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88474   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88475   ac_status=$?
88476   grep -v '^ *+' conftest.er1 >conftest.err
88477   rm -f conftest.er1
88478   cat conftest.err >&5
88479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88480   (exit $ac_status); } >/dev/null; then
88481   if test -s conftest.err; then
88482     ac_cpp_err=$ac_c_preproc_warn_flag
88483     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88484   else
88485     ac_cpp_err=
88486   fi
88487 else
88488   ac_cpp_err=yes
88489 fi
88490 if test -z "$ac_cpp_err"; then
88491   ac_header_preproc=yes
88492 else
88493   echo "$as_me: failed program was:" >&5
88494 sed 's/^/| /' conftest.$ac_ext >&5
88495
88496   ac_header_preproc=no
88497 fi
88498 rm -f conftest.err conftest.$ac_ext
88499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88500 echo "${ECHO_T}$ac_header_preproc" >&6
88501
88502 # So?  What about this header?
88503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88504   yes:no: )
88505     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88507     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88508 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88509     ac_header_preproc=yes
88510     ;;
88511   no:yes:* )
88512     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88514     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88515 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88516     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88517 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88518     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88519 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88520     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88522     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88524     (
88525       cat <<\_ASBOX
88526 ## ----------------------------------------- ##
88527 ## Report this to the package-unused lists.  ##
88528 ## ----------------------------------------- ##
88529 _ASBOX
88530     ) |
88531       sed "s/^/$as_me: WARNING:     /" >&2
88532     ;;
88533 esac
88534 echo "$as_me:$LINENO: checking for $ac_header" >&5
88535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88537   echo $ECHO_N "(cached) $ECHO_C" >&6
88538 else
88539   eval "$as_ac_Header=\$ac_header_preproc"
88540 fi
88541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88543
88544 fi
88545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88546   cat >>confdefs.h <<_ACEOF
88547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88548 _ACEOF
88549
88550 fi
88551
88552 done
88553
88554     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88555
88556
88557   # All these tests are for C++; save the language and the compiler flags.
88558   # The CXXFLAGS thing is suspicious, but based on similar bits previously
88559   # found in GLIBCXX_CONFIGURE.
88560
88561
88562   ac_ext=cc
88563 ac_cpp='$CXXCPP $CPPFLAGS'
88564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88567
88568   ac_test_CXXFLAGS="${CXXFLAGS+set}"
88569   ac_save_CXXFLAGS="$CXXFLAGS"
88570
88571   # Check for maintainer-mode bits.
88572   if test x"$USE_MAINTAINER_MODE" = xno; then
88573     WERROR=''
88574   else
88575     WERROR='-Werror'
88576   fi
88577
88578   # Check for -ffunction-sections -fdata-sections
88579   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
88580 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
88581   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
88582   cat >conftest.$ac_ext <<_ACEOF
88583 /* confdefs.h.  */
88584 _ACEOF
88585 cat confdefs.h >>conftest.$ac_ext
88586 cat >>conftest.$ac_ext <<_ACEOF
88587 /* end confdefs.h.  */
88588 int foo; void bar() { };
88589 int
88590 main ()
88591 {
88592
88593   ;
88594   return 0;
88595 }
88596 _ACEOF
88597 rm -f conftest.$ac_objext
88598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88599   (eval $ac_compile) 2>conftest.er1
88600   ac_status=$?
88601   grep -v '^ *+' conftest.er1 >conftest.err
88602   rm -f conftest.er1
88603   cat conftest.err >&5
88604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88605   (exit $ac_status); } &&
88606          { ac_try='test -z "$ac_cxx_werror_flag"
88607                          || test ! -s conftest.err'
88608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88609   (eval $ac_try) 2>&5
88610   ac_status=$?
88611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88612   (exit $ac_status); }; } &&
88613          { ac_try='test -s conftest.$ac_objext'
88614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88615   (eval $ac_try) 2>&5
88616   ac_status=$?
88617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88618   (exit $ac_status); }; }; then
88619   ac_fdsections=yes
88620 else
88621   echo "$as_me: failed program was:" >&5
88622 sed 's/^/| /' conftest.$ac_ext >&5
88623
88624 ac_fdsections=no
88625 fi
88626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88627   if test "$ac_test_CXXFLAGS" = set; then
88628     CXXFLAGS="$ac_save_CXXFLAGS"
88629   else
88630     # this is the suspicious part
88631     CXXFLAGS=''
88632   fi
88633   if test x"$ac_fdsections" = x"yes"; then
88634     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88635   fi
88636   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
88637 echo "${ECHO_T}$ac_fdsections" >&6
88638
88639   ac_ext=c
88640 ac_cpp='$CPP $CPPFLAGS'
88641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88644
88645
88646
88647
88648
88649   # If we're not using GNU ld, then there's no point in even trying these
88650   # tests.  Check for that first.  We should have already tested for gld
88651   # by now (in libtool), but require it now just to be safe...
88652   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88653   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88654
88655
88656
88657   # The name set by libtool depends on the version of libtool.  Shame on us
88658   # for depending on an impl detail, but c'est la vie.  Older versions used
88659   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88660   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88661   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
88662   # set (hence we're using an older libtool), then set it.
88663   if test x${with_gnu_ld+set} != xset; then
88664     if test x${ac_cv_prog_gnu_ld+set} != xset; then
88665       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
88666       with_gnu_ld=no
88667     else
88668       with_gnu_ld=$ac_cv_prog_gnu_ld
88669     fi
88670   fi
88671
88672   # Start by getting the version number.  I think the libtool test already
88673   # does some of this, but throws away the result.
88674   glibcxx_ld_is_gold=no
88675   if test x"$with_gnu_ld" = x"yes"; then
88676     echo "$as_me:$LINENO: checking for ld version" >&5
88677 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88678
88679     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
88680       glibcxx_ld_is_gold=yes
88681     fi
88682     ldver=`$LD --version 2>/dev/null | head -1 | \
88683            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
88684
88685     glibcxx_gnu_ld_version=`echo $ldver | \
88686            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88687     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88688 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88689   fi
88690
88691   # Set --gc-sections.
88692   glibcxx_have_gc_sections=no
88693   if test "$glibcxx_ld_is_gold" = "yes"; then
88694     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
88695       glibcxx_have_gc_sections=yes
88696     fi
88697   else
88698     glibcxx_gcsections_min_ld=21602
88699     if test x"$with_gnu_ld" = x"yes" &&
88700         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88701       glibcxx_have_gc_sections=yes
88702     fi
88703   fi
88704   if test "$glibcxx_have_gc_sections" = "yes"; then
88705     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
88706     # NB: This flag only works reliably after 2.16.1. Configure tests
88707     # for this are difficult, so hard wire a value that should work.
88708
88709     ac_test_CFLAGS="${CFLAGS+set}"
88710     ac_save_CFLAGS="$CFLAGS"
88711     CFLAGS='-Wl,--gc-sections'
88712
88713     # Check for -Wl,--gc-sections
88714     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88715 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88716     if test x$gcc_no_link = xyes; then
88717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88719    { (exit 1); exit 1; }; }
88720 fi
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  int one(void) { return 1; }
88728      int two(void) { return 2; }
88729
88730 int
88731 main ()
88732 {
88733  two();
88734   ;
88735   return 0;
88736 }
88737 _ACEOF
88738 rm -f conftest.$ac_objext conftest$ac_exeext
88739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88740   (eval $ac_link) 2>conftest.er1
88741   ac_status=$?
88742   grep -v '^ *+' conftest.er1 >conftest.err
88743   rm -f conftest.er1
88744   cat conftest.err >&5
88745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88746   (exit $ac_status); } &&
88747          { ac_try='test -z "$ac_c_werror_flag"
88748                          || test ! -s conftest.err'
88749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88750   (eval $ac_try) 2>&5
88751   ac_status=$?
88752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88753   (exit $ac_status); }; } &&
88754          { ac_try='test -s conftest$ac_exeext'
88755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88756   (eval $ac_try) 2>&5
88757   ac_status=$?
88758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88759   (exit $ac_status); }; }; then
88760   ac_gcsections=yes
88761 else
88762   echo "$as_me: failed program was:" >&5
88763 sed 's/^/| /' conftest.$ac_ext >&5
88764
88765 ac_gcsections=no
88766 fi
88767 rm -f conftest.err conftest.$ac_objext \
88768       conftest$ac_exeext conftest.$ac_ext
88769     if test "$ac_gcsections" = "yes"; then
88770       rm -f conftest.c
88771       touch conftest.c
88772       if $CC -c conftest.c; then
88773         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88774            grep "Warning: gc-sections option ignored" > /dev/null; then
88775           ac_gcsections=no
88776         fi
88777       fi
88778       rm -f conftest.c conftest.o conftest
88779     fi
88780     if test "$ac_gcsections" = "yes"; then
88781       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88782     fi
88783     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88784 echo "${ECHO_T}$ac_gcsections" >&6
88785
88786     if test "$ac_test_CFLAGS" = set; then
88787       CFLAGS="$ac_save_CFLAGS"
88788     else
88789       # this is the suspicious part
88790       CFLAGS=''
88791     fi
88792   fi
88793
88794   # Set -z,relro.
88795   # Note this is only for shared objects.
88796   ac_ld_relro=no
88797   if test x"$with_gnu_ld" = x"yes"; then
88798     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88799 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88800     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88801     if test -n "$cxx_z_relo"; then
88802       OPT_LDFLAGS="-Wl,-z,relro"
88803       ac_ld_relro=yes
88804     fi
88805     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88806 echo "${ECHO_T}$ac_ld_relro" >&6
88807   fi
88808
88809   # Set linker optimization flags.
88810   if test x"$with_gnu_ld" = x"yes"; then
88811     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88812   fi
88813
88814
88815
88816
88817
88818   ac_test_CXXFLAGS="${CXXFLAGS+set}"
88819   ac_save_CXXFLAGS="$CXXFLAGS"
88820   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
88821
88822     echo "$as_me:$LINENO: checking for sin in -lm" >&5
88823 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
88824 if test "${ac_cv_lib_m_sin+set}" = set; then
88825   echo $ECHO_N "(cached) $ECHO_C" >&6
88826 else
88827   ac_check_lib_save_LIBS=$LIBS
88828 LIBS="-lm  $LIBS"
88829 if test x$gcc_no_link = xyes; then
88830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88832    { (exit 1); exit 1; }; }
88833 fi
88834 cat >conftest.$ac_ext <<_ACEOF
88835 /* confdefs.h.  */
88836 _ACEOF
88837 cat confdefs.h >>conftest.$ac_ext
88838 cat >>conftest.$ac_ext <<_ACEOF
88839 /* end confdefs.h.  */
88840
88841 /* Override any gcc2 internal prototype to avoid an error.  */
88842 #ifdef __cplusplus
88843 extern "C"
88844 #endif
88845 /* We use char because int might match the return type of a gcc2
88846    builtin and then its argument prototype would still apply.  */
88847 char sin ();
88848 int
88849 main ()
88850 {
88851 sin ();
88852   ;
88853   return 0;
88854 }
88855 _ACEOF
88856 rm -f conftest.$ac_objext conftest$ac_exeext
88857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88858   (eval $ac_link) 2>conftest.er1
88859   ac_status=$?
88860   grep -v '^ *+' conftest.er1 >conftest.err
88861   rm -f conftest.er1
88862   cat conftest.err >&5
88863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864   (exit $ac_status); } &&
88865          { ac_try='test -z "$ac_c_werror_flag"
88866                          || test ! -s conftest.err'
88867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88868   (eval $ac_try) 2>&5
88869   ac_status=$?
88870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871   (exit $ac_status); }; } &&
88872          { ac_try='test -s conftest$ac_exeext'
88873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88874   (eval $ac_try) 2>&5
88875   ac_status=$?
88876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88877   (exit $ac_status); }; }; then
88878   ac_cv_lib_m_sin=yes
88879 else
88880   echo "$as_me: failed program was:" >&5
88881 sed 's/^/| /' conftest.$ac_ext >&5
88882
88883 ac_cv_lib_m_sin=no
88884 fi
88885 rm -f conftest.err conftest.$ac_objext \
88886       conftest$ac_exeext conftest.$ac_ext
88887 LIBS=$ac_check_lib_save_LIBS
88888 fi
88889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
88890 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
88891 if test $ac_cv_lib_m_sin = yes; then
88892   libm="-lm"
88893 fi
88894
88895   ac_save_LIBS="$LIBS"
88896   LIBS="$LIBS $libm"
88897
88898
88899
88900   echo "$as_me:$LINENO: checking for isinf declaration" >&5
88901 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88902   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88903     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88904   echo $ECHO_N "(cached) $ECHO_C" >&6
88905 else
88906
88907
88908
88909       ac_ext=cc
88910 ac_cpp='$CXXCPP $CPPFLAGS'
88911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88914
88915       cat >conftest.$ac_ext <<_ACEOF
88916 /* confdefs.h.  */
88917 _ACEOF
88918 cat confdefs.h >>conftest.$ac_ext
88919 cat >>conftest.$ac_ext <<_ACEOF
88920 /* end confdefs.h.  */
88921 #include <math.h>
88922                       #ifdef HAVE_IEEEFP_H
88923                       #include <ieeefp.h>
88924                       #endif
88925
88926 int
88927 main ()
88928 {
88929  isinf(0);
88930   ;
88931   return 0;
88932 }
88933 _ACEOF
88934 rm -f conftest.$ac_objext
88935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88936   (eval $ac_compile) 2>conftest.er1
88937   ac_status=$?
88938   grep -v '^ *+' conftest.er1 >conftest.err
88939   rm -f conftest.er1
88940   cat conftest.err >&5
88941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88942   (exit $ac_status); } &&
88943          { ac_try='test -z "$ac_cxx_werror_flag"
88944                          || test ! -s conftest.err'
88945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88946   (eval $ac_try) 2>&5
88947   ac_status=$?
88948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88949   (exit $ac_status); }; } &&
88950          { ac_try='test -s conftest.$ac_objext'
88951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88952   (eval $ac_try) 2>&5
88953   ac_status=$?
88954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88955   (exit $ac_status); }; }; then
88956   glibcxx_cv_func_isinf_use=yes
88957 else
88958   echo "$as_me: failed program was:" >&5
88959 sed 's/^/| /' conftest.$ac_ext >&5
88960
88961 glibcxx_cv_func_isinf_use=no
88962 fi
88963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88964       ac_ext=c
88965 ac_cpp='$CPP $CPPFLAGS'
88966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88969
88970
88971 fi
88972
88973   fi
88974   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88975 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88976
88977   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88978
88979 for ac_func in isinf
88980 do
88981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88982 echo "$as_me:$LINENO: checking for $ac_func" >&5
88983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88984 if eval "test \"\${$as_ac_var+set}\" = set"; then
88985   echo $ECHO_N "(cached) $ECHO_C" >&6
88986 else
88987   if test x$gcc_no_link = xyes; then
88988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88990    { (exit 1); exit 1; }; }
88991 fi
88992 cat >conftest.$ac_ext <<_ACEOF
88993 /* confdefs.h.  */
88994 _ACEOF
88995 cat confdefs.h >>conftest.$ac_ext
88996 cat >>conftest.$ac_ext <<_ACEOF
88997 /* end confdefs.h.  */
88998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89000 #define $ac_func innocuous_$ac_func
89001
89002 /* System header to define __stub macros and hopefully few prototypes,
89003     which can conflict with char $ac_func (); below.
89004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89005     <limits.h> exists even on freestanding compilers.  */
89006
89007 #ifdef __STDC__
89008 # include <limits.h>
89009 #else
89010 # include <assert.h>
89011 #endif
89012
89013 #undef $ac_func
89014
89015 /* Override any gcc2 internal prototype to avoid an error.  */
89016 #ifdef __cplusplus
89017 extern "C"
89018 {
89019 #endif
89020 /* We use char because int might match the return type of a gcc2
89021    builtin and then its argument prototype would still apply.  */
89022 char $ac_func ();
89023 /* The GNU C library defines this for functions which it implements
89024     to always fail with ENOSYS.  Some functions are actually named
89025     something starting with __ and the normal name is an alias.  */
89026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89027 choke me
89028 #else
89029 char (*f) () = $ac_func;
89030 #endif
89031 #ifdef __cplusplus
89032 }
89033 #endif
89034
89035 int
89036 main ()
89037 {
89038 return f != $ac_func;
89039   ;
89040   return 0;
89041 }
89042 _ACEOF
89043 rm -f conftest.$ac_objext conftest$ac_exeext
89044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89045   (eval $ac_link) 2>conftest.er1
89046   ac_status=$?
89047   grep -v '^ *+' conftest.er1 >conftest.err
89048   rm -f conftest.er1
89049   cat conftest.err >&5
89050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051   (exit $ac_status); } &&
89052          { ac_try='test -z "$ac_c_werror_flag"
89053                          || test ! -s conftest.err'
89054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89055   (eval $ac_try) 2>&5
89056   ac_status=$?
89057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89058   (exit $ac_status); }; } &&
89059          { ac_try='test -s conftest$ac_exeext'
89060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89061   (eval $ac_try) 2>&5
89062   ac_status=$?
89063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89064   (exit $ac_status); }; }; then
89065   eval "$as_ac_var=yes"
89066 else
89067   echo "$as_me: failed program was:" >&5
89068 sed 's/^/| /' conftest.$ac_ext >&5
89069
89070 eval "$as_ac_var=no"
89071 fi
89072 rm -f conftest.err conftest.$ac_objext \
89073       conftest$ac_exeext conftest.$ac_ext
89074 fi
89075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89077 if test `eval echo '${'$as_ac_var'}'` = yes; then
89078   cat >>confdefs.h <<_ACEOF
89079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89080 _ACEOF
89081
89082 fi
89083 done
89084
89085   else
89086
89087   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
89088 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
89089   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
89090     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
89091   echo $ECHO_N "(cached) $ECHO_C" >&6
89092 else
89093
89094
89095
89096       ac_ext=cc
89097 ac_cpp='$CXXCPP $CPPFLAGS'
89098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89101
89102       cat >conftest.$ac_ext <<_ACEOF
89103 /* confdefs.h.  */
89104 _ACEOF
89105 cat confdefs.h >>conftest.$ac_ext
89106 cat >>conftest.$ac_ext <<_ACEOF
89107 /* end confdefs.h.  */
89108 #include <math.h>
89109                       #ifdef HAVE_IEEEFP_H
89110                       #include <ieeefp.h>
89111                       #endif
89112
89113 int
89114 main ()
89115 {
89116  _isinf(0);
89117   ;
89118   return 0;
89119 }
89120 _ACEOF
89121 rm -f conftest.$ac_objext
89122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89123   (eval $ac_compile) 2>conftest.er1
89124   ac_status=$?
89125   grep -v '^ *+' conftest.er1 >conftest.err
89126   rm -f conftest.er1
89127   cat conftest.err >&5
89128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89129   (exit $ac_status); } &&
89130          { ac_try='test -z "$ac_cxx_werror_flag"
89131                          || test ! -s conftest.err'
89132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89133   (eval $ac_try) 2>&5
89134   ac_status=$?
89135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89136   (exit $ac_status); }; } &&
89137          { ac_try='test -s conftest.$ac_objext'
89138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89139   (eval $ac_try) 2>&5
89140   ac_status=$?
89141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89142   (exit $ac_status); }; }; then
89143   glibcxx_cv_func__isinf_use=yes
89144 else
89145   echo "$as_me: failed program was:" >&5
89146 sed 's/^/| /' conftest.$ac_ext >&5
89147
89148 glibcxx_cv_func__isinf_use=no
89149 fi
89150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89151       ac_ext=c
89152 ac_cpp='$CPP $CPPFLAGS'
89153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89156
89157
89158 fi
89159
89160   fi
89161   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
89162 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
89163
89164     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
89165
89166 for ac_func in _isinf
89167 do
89168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89169 echo "$as_me:$LINENO: checking for $ac_func" >&5
89170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89171 if eval "test \"\${$as_ac_var+set}\" = set"; then
89172   echo $ECHO_N "(cached) $ECHO_C" >&6
89173 else
89174   if test x$gcc_no_link = xyes; then
89175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89177    { (exit 1); exit 1; }; }
89178 fi
89179 cat >conftest.$ac_ext <<_ACEOF
89180 /* confdefs.h.  */
89181 _ACEOF
89182 cat confdefs.h >>conftest.$ac_ext
89183 cat >>conftest.$ac_ext <<_ACEOF
89184 /* end confdefs.h.  */
89185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89187 #define $ac_func innocuous_$ac_func
89188
89189 /* System header to define __stub macros and hopefully few prototypes,
89190     which can conflict with char $ac_func (); below.
89191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89192     <limits.h> exists even on freestanding compilers.  */
89193
89194 #ifdef __STDC__
89195 # include <limits.h>
89196 #else
89197 # include <assert.h>
89198 #endif
89199
89200 #undef $ac_func
89201
89202 /* Override any gcc2 internal prototype to avoid an error.  */
89203 #ifdef __cplusplus
89204 extern "C"
89205 {
89206 #endif
89207 /* We use char because int might match the return type of a gcc2
89208    builtin and then its argument prototype would still apply.  */
89209 char $ac_func ();
89210 /* The GNU C library defines this for functions which it implements
89211     to always fail with ENOSYS.  Some functions are actually named
89212     something starting with __ and the normal name is an alias.  */
89213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89214 choke me
89215 #else
89216 char (*f) () = $ac_func;
89217 #endif
89218 #ifdef __cplusplus
89219 }
89220 #endif
89221
89222 int
89223 main ()
89224 {
89225 return f != $ac_func;
89226   ;
89227   return 0;
89228 }
89229 _ACEOF
89230 rm -f conftest.$ac_objext conftest$ac_exeext
89231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89232   (eval $ac_link) 2>conftest.er1
89233   ac_status=$?
89234   grep -v '^ *+' conftest.er1 >conftest.err
89235   rm -f conftest.er1
89236   cat conftest.err >&5
89237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89238   (exit $ac_status); } &&
89239          { ac_try='test -z "$ac_c_werror_flag"
89240                          || test ! -s conftest.err'
89241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242   (eval $ac_try) 2>&5
89243   ac_status=$?
89244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245   (exit $ac_status); }; } &&
89246          { ac_try='test -s conftest$ac_exeext'
89247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89248   (eval $ac_try) 2>&5
89249   ac_status=$?
89250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89251   (exit $ac_status); }; }; then
89252   eval "$as_ac_var=yes"
89253 else
89254   echo "$as_me: failed program was:" >&5
89255 sed 's/^/| /' conftest.$ac_ext >&5
89256
89257 eval "$as_ac_var=no"
89258 fi
89259 rm -f conftest.err conftest.$ac_objext \
89260       conftest$ac_exeext conftest.$ac_ext
89261 fi
89262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89264 if test `eval echo '${'$as_ac_var'}'` = yes; then
89265   cat >>confdefs.h <<_ACEOF
89266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89267 _ACEOF
89268
89269 fi
89270 done
89271
89272     fi
89273   fi
89274
89275
89276
89277
89278
89279
89280   echo "$as_me:$LINENO: checking for isnan declaration" >&5
89281 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
89282   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
89283     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
89284   echo $ECHO_N "(cached) $ECHO_C" >&6
89285 else
89286
89287
89288
89289       ac_ext=cc
89290 ac_cpp='$CXXCPP $CPPFLAGS'
89291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89294
89295       cat >conftest.$ac_ext <<_ACEOF
89296 /* confdefs.h.  */
89297 _ACEOF
89298 cat confdefs.h >>conftest.$ac_ext
89299 cat >>conftest.$ac_ext <<_ACEOF
89300 /* end confdefs.h.  */
89301 #include <math.h>
89302                       #ifdef HAVE_IEEEFP_H
89303                       #include <ieeefp.h>
89304                       #endif
89305
89306 int
89307 main ()
89308 {
89309  isnan(0);
89310   ;
89311   return 0;
89312 }
89313 _ACEOF
89314 rm -f conftest.$ac_objext
89315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89316   (eval $ac_compile) 2>conftest.er1
89317   ac_status=$?
89318   grep -v '^ *+' conftest.er1 >conftest.err
89319   rm -f conftest.er1
89320   cat conftest.err >&5
89321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89322   (exit $ac_status); } &&
89323          { ac_try='test -z "$ac_cxx_werror_flag"
89324                          || test ! -s conftest.err'
89325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89326   (eval $ac_try) 2>&5
89327   ac_status=$?
89328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89329   (exit $ac_status); }; } &&
89330          { ac_try='test -s conftest.$ac_objext'
89331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89332   (eval $ac_try) 2>&5
89333   ac_status=$?
89334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89335   (exit $ac_status); }; }; then
89336   glibcxx_cv_func_isnan_use=yes
89337 else
89338   echo "$as_me: failed program was:" >&5
89339 sed 's/^/| /' conftest.$ac_ext >&5
89340
89341 glibcxx_cv_func_isnan_use=no
89342 fi
89343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89344       ac_ext=c
89345 ac_cpp='$CPP $CPPFLAGS'
89346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89349
89350
89351 fi
89352
89353   fi
89354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
89355 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
89356
89357   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
89358
89359 for ac_func in isnan
89360 do
89361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89362 echo "$as_me:$LINENO: checking for $ac_func" >&5
89363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89364 if eval "test \"\${$as_ac_var+set}\" = set"; then
89365   echo $ECHO_N "(cached) $ECHO_C" >&6
89366 else
89367   if test x$gcc_no_link = xyes; then
89368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89370    { (exit 1); exit 1; }; }
89371 fi
89372 cat >conftest.$ac_ext <<_ACEOF
89373 /* confdefs.h.  */
89374 _ACEOF
89375 cat confdefs.h >>conftest.$ac_ext
89376 cat >>conftest.$ac_ext <<_ACEOF
89377 /* end confdefs.h.  */
89378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89380 #define $ac_func innocuous_$ac_func
89381
89382 /* System header to define __stub macros and hopefully few prototypes,
89383     which can conflict with char $ac_func (); below.
89384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89385     <limits.h> exists even on freestanding compilers.  */
89386
89387 #ifdef __STDC__
89388 # include <limits.h>
89389 #else
89390 # include <assert.h>
89391 #endif
89392
89393 #undef $ac_func
89394
89395 /* Override any gcc2 internal prototype to avoid an error.  */
89396 #ifdef __cplusplus
89397 extern "C"
89398 {
89399 #endif
89400 /* We use char because int might match the return type of a gcc2
89401    builtin and then its argument prototype would still apply.  */
89402 char $ac_func ();
89403 /* The GNU C library defines this for functions which it implements
89404     to always fail with ENOSYS.  Some functions are actually named
89405     something starting with __ and the normal name is an alias.  */
89406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89407 choke me
89408 #else
89409 char (*f) () = $ac_func;
89410 #endif
89411 #ifdef __cplusplus
89412 }
89413 #endif
89414
89415 int
89416 main ()
89417 {
89418 return f != $ac_func;
89419   ;
89420   return 0;
89421 }
89422 _ACEOF
89423 rm -f conftest.$ac_objext conftest$ac_exeext
89424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89425   (eval $ac_link) 2>conftest.er1
89426   ac_status=$?
89427   grep -v '^ *+' conftest.er1 >conftest.err
89428   rm -f conftest.er1
89429   cat conftest.err >&5
89430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89431   (exit $ac_status); } &&
89432          { ac_try='test -z "$ac_c_werror_flag"
89433                          || test ! -s conftest.err'
89434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89435   (eval $ac_try) 2>&5
89436   ac_status=$?
89437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89438   (exit $ac_status); }; } &&
89439          { ac_try='test -s conftest$ac_exeext'
89440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89441   (eval $ac_try) 2>&5
89442   ac_status=$?
89443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89444   (exit $ac_status); }; }; then
89445   eval "$as_ac_var=yes"
89446 else
89447   echo "$as_me: failed program was:" >&5
89448 sed 's/^/| /' conftest.$ac_ext >&5
89449
89450 eval "$as_ac_var=no"
89451 fi
89452 rm -f conftest.err conftest.$ac_objext \
89453       conftest$ac_exeext conftest.$ac_ext
89454 fi
89455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89457 if test `eval echo '${'$as_ac_var'}'` = yes; then
89458   cat >>confdefs.h <<_ACEOF
89459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89460 _ACEOF
89461
89462 fi
89463 done
89464
89465   else
89466
89467   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
89468 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
89469   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
89470     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
89471   echo $ECHO_N "(cached) $ECHO_C" >&6
89472 else
89473
89474
89475
89476       ac_ext=cc
89477 ac_cpp='$CXXCPP $CPPFLAGS'
89478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89481
89482       cat >conftest.$ac_ext <<_ACEOF
89483 /* confdefs.h.  */
89484 _ACEOF
89485 cat confdefs.h >>conftest.$ac_ext
89486 cat >>conftest.$ac_ext <<_ACEOF
89487 /* end confdefs.h.  */
89488 #include <math.h>
89489                       #ifdef HAVE_IEEEFP_H
89490                       #include <ieeefp.h>
89491                       #endif
89492
89493 int
89494 main ()
89495 {
89496  _isnan(0);
89497   ;
89498   return 0;
89499 }
89500 _ACEOF
89501 rm -f conftest.$ac_objext
89502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89503   (eval $ac_compile) 2>conftest.er1
89504   ac_status=$?
89505   grep -v '^ *+' conftest.er1 >conftest.err
89506   rm -f conftest.er1
89507   cat conftest.err >&5
89508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89509   (exit $ac_status); } &&
89510          { ac_try='test -z "$ac_cxx_werror_flag"
89511                          || test ! -s conftest.err'
89512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89513   (eval $ac_try) 2>&5
89514   ac_status=$?
89515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516   (exit $ac_status); }; } &&
89517          { ac_try='test -s conftest.$ac_objext'
89518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519   (eval $ac_try) 2>&5
89520   ac_status=$?
89521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522   (exit $ac_status); }; }; then
89523   glibcxx_cv_func__isnan_use=yes
89524 else
89525   echo "$as_me: failed program was:" >&5
89526 sed 's/^/| /' conftest.$ac_ext >&5
89527
89528 glibcxx_cv_func__isnan_use=no
89529 fi
89530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89531       ac_ext=c
89532 ac_cpp='$CPP $CPPFLAGS'
89533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89536
89537
89538 fi
89539
89540   fi
89541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
89542 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
89543
89544     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
89545
89546 for ac_func in _isnan
89547 do
89548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89549 echo "$as_me:$LINENO: checking for $ac_func" >&5
89550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89551 if eval "test \"\${$as_ac_var+set}\" = set"; then
89552   echo $ECHO_N "(cached) $ECHO_C" >&6
89553 else
89554   if test x$gcc_no_link = xyes; then
89555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89557    { (exit 1); exit 1; }; }
89558 fi
89559 cat >conftest.$ac_ext <<_ACEOF
89560 /* confdefs.h.  */
89561 _ACEOF
89562 cat confdefs.h >>conftest.$ac_ext
89563 cat >>conftest.$ac_ext <<_ACEOF
89564 /* end confdefs.h.  */
89565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89567 #define $ac_func innocuous_$ac_func
89568
89569 /* System header to define __stub macros and hopefully few prototypes,
89570     which can conflict with char $ac_func (); below.
89571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89572     <limits.h> exists even on freestanding compilers.  */
89573
89574 #ifdef __STDC__
89575 # include <limits.h>
89576 #else
89577 # include <assert.h>
89578 #endif
89579
89580 #undef $ac_func
89581
89582 /* Override any gcc2 internal prototype to avoid an error.  */
89583 #ifdef __cplusplus
89584 extern "C"
89585 {
89586 #endif
89587 /* We use char because int might match the return type of a gcc2
89588    builtin and then its argument prototype would still apply.  */
89589 char $ac_func ();
89590 /* The GNU C library defines this for functions which it implements
89591     to always fail with ENOSYS.  Some functions are actually named
89592     something starting with __ and the normal name is an alias.  */
89593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89594 choke me
89595 #else
89596 char (*f) () = $ac_func;
89597 #endif
89598 #ifdef __cplusplus
89599 }
89600 #endif
89601
89602 int
89603 main ()
89604 {
89605 return f != $ac_func;
89606   ;
89607   return 0;
89608 }
89609 _ACEOF
89610 rm -f conftest.$ac_objext conftest$ac_exeext
89611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89612   (eval $ac_link) 2>conftest.er1
89613   ac_status=$?
89614   grep -v '^ *+' conftest.er1 >conftest.err
89615   rm -f conftest.er1
89616   cat conftest.err >&5
89617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89618   (exit $ac_status); } &&
89619          { ac_try='test -z "$ac_c_werror_flag"
89620                          || test ! -s conftest.err'
89621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89622   (eval $ac_try) 2>&5
89623   ac_status=$?
89624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625   (exit $ac_status); }; } &&
89626          { ac_try='test -s conftest$ac_exeext'
89627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628   (eval $ac_try) 2>&5
89629   ac_status=$?
89630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631   (exit $ac_status); }; }; then
89632   eval "$as_ac_var=yes"
89633 else
89634   echo "$as_me: failed program was:" >&5
89635 sed 's/^/| /' conftest.$ac_ext >&5
89636
89637 eval "$as_ac_var=no"
89638 fi
89639 rm -f conftest.err conftest.$ac_objext \
89640       conftest$ac_exeext conftest.$ac_ext
89641 fi
89642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89644 if test `eval echo '${'$as_ac_var'}'` = yes; then
89645   cat >>confdefs.h <<_ACEOF
89646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89647 _ACEOF
89648
89649 fi
89650 done
89651
89652     fi
89653   fi
89654
89655
89656
89657
89658
89659
89660   echo "$as_me:$LINENO: checking for finite declaration" >&5
89661 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
89662   if test x${glibcxx_cv_func_finite_use+set} != xset; then
89663     if test "${glibcxx_cv_func_finite_use+set}" = set; then
89664   echo $ECHO_N "(cached) $ECHO_C" >&6
89665 else
89666
89667
89668
89669       ac_ext=cc
89670 ac_cpp='$CXXCPP $CPPFLAGS'
89671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89674
89675       cat >conftest.$ac_ext <<_ACEOF
89676 /* confdefs.h.  */
89677 _ACEOF
89678 cat confdefs.h >>conftest.$ac_ext
89679 cat >>conftest.$ac_ext <<_ACEOF
89680 /* end confdefs.h.  */
89681 #include <math.h>
89682                       #ifdef HAVE_IEEEFP_H
89683                       #include <ieeefp.h>
89684                       #endif
89685
89686 int
89687 main ()
89688 {
89689  finite(0);
89690   ;
89691   return 0;
89692 }
89693 _ACEOF
89694 rm -f conftest.$ac_objext
89695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89696   (eval $ac_compile) 2>conftest.er1
89697   ac_status=$?
89698   grep -v '^ *+' conftest.er1 >conftest.err
89699   rm -f conftest.er1
89700   cat conftest.err >&5
89701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89702   (exit $ac_status); } &&
89703          { ac_try='test -z "$ac_cxx_werror_flag"
89704                          || test ! -s conftest.err'
89705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89706   (eval $ac_try) 2>&5
89707   ac_status=$?
89708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89709   (exit $ac_status); }; } &&
89710          { ac_try='test -s conftest.$ac_objext'
89711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89712   (eval $ac_try) 2>&5
89713   ac_status=$?
89714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89715   (exit $ac_status); }; }; then
89716   glibcxx_cv_func_finite_use=yes
89717 else
89718   echo "$as_me: failed program was:" >&5
89719 sed 's/^/| /' conftest.$ac_ext >&5
89720
89721 glibcxx_cv_func_finite_use=no
89722 fi
89723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89724       ac_ext=c
89725 ac_cpp='$CPP $CPPFLAGS'
89726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89729
89730
89731 fi
89732
89733   fi
89734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
89735 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
89736
89737   if test x$glibcxx_cv_func_finite_use = x"yes"; then
89738
89739 for ac_func in finite
89740 do
89741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89742 echo "$as_me:$LINENO: checking for $ac_func" >&5
89743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89744 if eval "test \"\${$as_ac_var+set}\" = set"; then
89745   echo $ECHO_N "(cached) $ECHO_C" >&6
89746 else
89747   if test x$gcc_no_link = xyes; then
89748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89750    { (exit 1); exit 1; }; }
89751 fi
89752 cat >conftest.$ac_ext <<_ACEOF
89753 /* confdefs.h.  */
89754 _ACEOF
89755 cat confdefs.h >>conftest.$ac_ext
89756 cat >>conftest.$ac_ext <<_ACEOF
89757 /* end confdefs.h.  */
89758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89760 #define $ac_func innocuous_$ac_func
89761
89762 /* System header to define __stub macros and hopefully few prototypes,
89763     which can conflict with char $ac_func (); below.
89764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89765     <limits.h> exists even on freestanding compilers.  */
89766
89767 #ifdef __STDC__
89768 # include <limits.h>
89769 #else
89770 # include <assert.h>
89771 #endif
89772
89773 #undef $ac_func
89774
89775 /* Override any gcc2 internal prototype to avoid an error.  */
89776 #ifdef __cplusplus
89777 extern "C"
89778 {
89779 #endif
89780 /* We use char because int might match the return type of a gcc2
89781    builtin and then its argument prototype would still apply.  */
89782 char $ac_func ();
89783 /* The GNU C library defines this for functions which it implements
89784     to always fail with ENOSYS.  Some functions are actually named
89785     something starting with __ and the normal name is an alias.  */
89786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89787 choke me
89788 #else
89789 char (*f) () = $ac_func;
89790 #endif
89791 #ifdef __cplusplus
89792 }
89793 #endif
89794
89795 int
89796 main ()
89797 {
89798 return f != $ac_func;
89799   ;
89800   return 0;
89801 }
89802 _ACEOF
89803 rm -f conftest.$ac_objext conftest$ac_exeext
89804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89805   (eval $ac_link) 2>conftest.er1
89806   ac_status=$?
89807   grep -v '^ *+' conftest.er1 >conftest.err
89808   rm -f conftest.er1
89809   cat conftest.err >&5
89810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89811   (exit $ac_status); } &&
89812          { ac_try='test -z "$ac_c_werror_flag"
89813                          || test ! -s conftest.err'
89814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89815   (eval $ac_try) 2>&5
89816   ac_status=$?
89817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89818   (exit $ac_status); }; } &&
89819          { ac_try='test -s conftest$ac_exeext'
89820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89821   (eval $ac_try) 2>&5
89822   ac_status=$?
89823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89824   (exit $ac_status); }; }; then
89825   eval "$as_ac_var=yes"
89826 else
89827   echo "$as_me: failed program was:" >&5
89828 sed 's/^/| /' conftest.$ac_ext >&5
89829
89830 eval "$as_ac_var=no"
89831 fi
89832 rm -f conftest.err conftest.$ac_objext \
89833       conftest$ac_exeext conftest.$ac_ext
89834 fi
89835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89837 if test `eval echo '${'$as_ac_var'}'` = yes; then
89838   cat >>confdefs.h <<_ACEOF
89839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89840 _ACEOF
89841
89842 fi
89843 done
89844
89845   else
89846
89847   echo "$as_me:$LINENO: checking for _finite declaration" >&5
89848 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
89849   if test x${glibcxx_cv_func__finite_use+set} != xset; then
89850     if test "${glibcxx_cv_func__finite_use+set}" = set; then
89851   echo $ECHO_N "(cached) $ECHO_C" >&6
89852 else
89853
89854
89855
89856       ac_ext=cc
89857 ac_cpp='$CXXCPP $CPPFLAGS'
89858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89861
89862       cat >conftest.$ac_ext <<_ACEOF
89863 /* confdefs.h.  */
89864 _ACEOF
89865 cat confdefs.h >>conftest.$ac_ext
89866 cat >>conftest.$ac_ext <<_ACEOF
89867 /* end confdefs.h.  */
89868 #include <math.h>
89869                       #ifdef HAVE_IEEEFP_H
89870                       #include <ieeefp.h>
89871                       #endif
89872
89873 int
89874 main ()
89875 {
89876  _finite(0);
89877   ;
89878   return 0;
89879 }
89880 _ACEOF
89881 rm -f conftest.$ac_objext
89882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89883   (eval $ac_compile) 2>conftest.er1
89884   ac_status=$?
89885   grep -v '^ *+' conftest.er1 >conftest.err
89886   rm -f conftest.er1
89887   cat conftest.err >&5
89888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89889   (exit $ac_status); } &&
89890          { ac_try='test -z "$ac_cxx_werror_flag"
89891                          || test ! -s conftest.err'
89892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89893   (eval $ac_try) 2>&5
89894   ac_status=$?
89895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89896   (exit $ac_status); }; } &&
89897          { ac_try='test -s conftest.$ac_objext'
89898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89899   (eval $ac_try) 2>&5
89900   ac_status=$?
89901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89902   (exit $ac_status); }; }; then
89903   glibcxx_cv_func__finite_use=yes
89904 else
89905   echo "$as_me: failed program was:" >&5
89906 sed 's/^/| /' conftest.$ac_ext >&5
89907
89908 glibcxx_cv_func__finite_use=no
89909 fi
89910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89911       ac_ext=c
89912 ac_cpp='$CPP $CPPFLAGS'
89913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89916
89917
89918 fi
89919
89920   fi
89921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89922 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89923
89924     if test x$glibcxx_cv_func__finite_use = x"yes"; then
89925
89926 for ac_func in _finite
89927 do
89928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89929 echo "$as_me:$LINENO: checking for $ac_func" >&5
89930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89931 if eval "test \"\${$as_ac_var+set}\" = set"; then
89932   echo $ECHO_N "(cached) $ECHO_C" >&6
89933 else
89934   if test x$gcc_no_link = xyes; then
89935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89937    { (exit 1); exit 1; }; }
89938 fi
89939 cat >conftest.$ac_ext <<_ACEOF
89940 /* confdefs.h.  */
89941 _ACEOF
89942 cat confdefs.h >>conftest.$ac_ext
89943 cat >>conftest.$ac_ext <<_ACEOF
89944 /* end confdefs.h.  */
89945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89947 #define $ac_func innocuous_$ac_func
89948
89949 /* System header to define __stub macros and hopefully few prototypes,
89950     which can conflict with char $ac_func (); below.
89951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89952     <limits.h> exists even on freestanding compilers.  */
89953
89954 #ifdef __STDC__
89955 # include <limits.h>
89956 #else
89957 # include <assert.h>
89958 #endif
89959
89960 #undef $ac_func
89961
89962 /* Override any gcc2 internal prototype to avoid an error.  */
89963 #ifdef __cplusplus
89964 extern "C"
89965 {
89966 #endif
89967 /* We use char because int might match the return type of a gcc2
89968    builtin and then its argument prototype would still apply.  */
89969 char $ac_func ();
89970 /* The GNU C library defines this for functions which it implements
89971     to always fail with ENOSYS.  Some functions are actually named
89972     something starting with __ and the normal name is an alias.  */
89973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89974 choke me
89975 #else
89976 char (*f) () = $ac_func;
89977 #endif
89978 #ifdef __cplusplus
89979 }
89980 #endif
89981
89982 int
89983 main ()
89984 {
89985 return f != $ac_func;
89986   ;
89987   return 0;
89988 }
89989 _ACEOF
89990 rm -f conftest.$ac_objext conftest$ac_exeext
89991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89992   (eval $ac_link) 2>conftest.er1
89993   ac_status=$?
89994   grep -v '^ *+' conftest.er1 >conftest.err
89995   rm -f conftest.er1
89996   cat conftest.err >&5
89997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89998   (exit $ac_status); } &&
89999          { ac_try='test -z "$ac_c_werror_flag"
90000                          || test ! -s conftest.err'
90001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90002   (eval $ac_try) 2>&5
90003   ac_status=$?
90004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90005   (exit $ac_status); }; } &&
90006          { ac_try='test -s conftest$ac_exeext'
90007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90008   (eval $ac_try) 2>&5
90009   ac_status=$?
90010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90011   (exit $ac_status); }; }; then
90012   eval "$as_ac_var=yes"
90013 else
90014   echo "$as_me: failed program was:" >&5
90015 sed 's/^/| /' conftest.$ac_ext >&5
90016
90017 eval "$as_ac_var=no"
90018 fi
90019 rm -f conftest.err conftest.$ac_objext \
90020       conftest$ac_exeext conftest.$ac_ext
90021 fi
90022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90024 if test `eval echo '${'$as_ac_var'}'` = yes; then
90025   cat >>confdefs.h <<_ACEOF
90026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90027 _ACEOF
90028
90029 fi
90030 done
90031
90032     fi
90033   fi
90034
90035
90036
90037
90038
90039
90040   echo "$as_me:$LINENO: checking for copysign declaration" >&5
90041 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
90042   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
90043     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
90044   echo $ECHO_N "(cached) $ECHO_C" >&6
90045 else
90046
90047
90048
90049       ac_ext=cc
90050 ac_cpp='$CXXCPP $CPPFLAGS'
90051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90054
90055       cat >conftest.$ac_ext <<_ACEOF
90056 /* confdefs.h.  */
90057 _ACEOF
90058 cat confdefs.h >>conftest.$ac_ext
90059 cat >>conftest.$ac_ext <<_ACEOF
90060 /* end confdefs.h.  */
90061 #include <math.h>
90062 int
90063 main ()
90064 {
90065  copysign(0, 0);
90066   ;
90067   return 0;
90068 }
90069 _ACEOF
90070 rm -f conftest.$ac_objext
90071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90072   (eval $ac_compile) 2>conftest.er1
90073   ac_status=$?
90074   grep -v '^ *+' conftest.er1 >conftest.err
90075   rm -f conftest.er1
90076   cat conftest.err >&5
90077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90078   (exit $ac_status); } &&
90079          { ac_try='test -z "$ac_cxx_werror_flag"
90080                          || test ! -s conftest.err'
90081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90082   (eval $ac_try) 2>&5
90083   ac_status=$?
90084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90085   (exit $ac_status); }; } &&
90086          { ac_try='test -s conftest.$ac_objext'
90087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90088   (eval $ac_try) 2>&5
90089   ac_status=$?
90090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90091   (exit $ac_status); }; }; then
90092   glibcxx_cv_func_copysign_use=yes
90093 else
90094   echo "$as_me: failed program was:" >&5
90095 sed 's/^/| /' conftest.$ac_ext >&5
90096
90097 glibcxx_cv_func_copysign_use=no
90098 fi
90099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90100       ac_ext=c
90101 ac_cpp='$CPP $CPPFLAGS'
90102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90105
90106
90107 fi
90108
90109   fi
90110   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
90111 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
90112
90113   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
90114
90115 for ac_func in copysign
90116 do
90117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90118 echo "$as_me:$LINENO: checking for $ac_func" >&5
90119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90120 if eval "test \"\${$as_ac_var+set}\" = set"; then
90121   echo $ECHO_N "(cached) $ECHO_C" >&6
90122 else
90123   if test x$gcc_no_link = xyes; then
90124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90126    { (exit 1); exit 1; }; }
90127 fi
90128 cat >conftest.$ac_ext <<_ACEOF
90129 /* confdefs.h.  */
90130 _ACEOF
90131 cat confdefs.h >>conftest.$ac_ext
90132 cat >>conftest.$ac_ext <<_ACEOF
90133 /* end confdefs.h.  */
90134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90136 #define $ac_func innocuous_$ac_func
90137
90138 /* System header to define __stub macros and hopefully few prototypes,
90139     which can conflict with char $ac_func (); below.
90140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90141     <limits.h> exists even on freestanding compilers.  */
90142
90143 #ifdef __STDC__
90144 # include <limits.h>
90145 #else
90146 # include <assert.h>
90147 #endif
90148
90149 #undef $ac_func
90150
90151 /* Override any gcc2 internal prototype to avoid an error.  */
90152 #ifdef __cplusplus
90153 extern "C"
90154 {
90155 #endif
90156 /* We use char because int might match the return type of a gcc2
90157    builtin and then its argument prototype would still apply.  */
90158 char $ac_func ();
90159 /* The GNU C library defines this for functions which it implements
90160     to always fail with ENOSYS.  Some functions are actually named
90161     something starting with __ and the normal name is an alias.  */
90162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90163 choke me
90164 #else
90165 char (*f) () = $ac_func;
90166 #endif
90167 #ifdef __cplusplus
90168 }
90169 #endif
90170
90171 int
90172 main ()
90173 {
90174 return f != $ac_func;
90175   ;
90176   return 0;
90177 }
90178 _ACEOF
90179 rm -f conftest.$ac_objext conftest$ac_exeext
90180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90181   (eval $ac_link) 2>conftest.er1
90182   ac_status=$?
90183   grep -v '^ *+' conftest.er1 >conftest.err
90184   rm -f conftest.er1
90185   cat conftest.err >&5
90186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90187   (exit $ac_status); } &&
90188          { ac_try='test -z "$ac_c_werror_flag"
90189                          || test ! -s conftest.err'
90190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90191   (eval $ac_try) 2>&5
90192   ac_status=$?
90193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90194   (exit $ac_status); }; } &&
90195          { ac_try='test -s conftest$ac_exeext'
90196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90197   (eval $ac_try) 2>&5
90198   ac_status=$?
90199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90200   (exit $ac_status); }; }; then
90201   eval "$as_ac_var=yes"
90202 else
90203   echo "$as_me: failed program was:" >&5
90204 sed 's/^/| /' conftest.$ac_ext >&5
90205
90206 eval "$as_ac_var=no"
90207 fi
90208 rm -f conftest.err conftest.$ac_objext \
90209       conftest$ac_exeext conftest.$ac_ext
90210 fi
90211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90213 if test `eval echo '${'$as_ac_var'}'` = yes; then
90214   cat >>confdefs.h <<_ACEOF
90215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90216 _ACEOF
90217
90218 fi
90219 done
90220
90221   else
90222
90223   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
90224 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
90225   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
90226     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
90227   echo $ECHO_N "(cached) $ECHO_C" >&6
90228 else
90229
90230
90231
90232       ac_ext=cc
90233 ac_cpp='$CXXCPP $CPPFLAGS'
90234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90237
90238       cat >conftest.$ac_ext <<_ACEOF
90239 /* confdefs.h.  */
90240 _ACEOF
90241 cat confdefs.h >>conftest.$ac_ext
90242 cat >>conftest.$ac_ext <<_ACEOF
90243 /* end confdefs.h.  */
90244 #include <math.h>
90245 int
90246 main ()
90247 {
90248  _copysign(0, 0);
90249   ;
90250   return 0;
90251 }
90252 _ACEOF
90253 rm -f conftest.$ac_objext
90254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90255   (eval $ac_compile) 2>conftest.er1
90256   ac_status=$?
90257   grep -v '^ *+' conftest.er1 >conftest.err
90258   rm -f conftest.er1
90259   cat conftest.err >&5
90260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90261   (exit $ac_status); } &&
90262          { ac_try='test -z "$ac_cxx_werror_flag"
90263                          || test ! -s conftest.err'
90264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90265   (eval $ac_try) 2>&5
90266   ac_status=$?
90267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90268   (exit $ac_status); }; } &&
90269          { ac_try='test -s conftest.$ac_objext'
90270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90271   (eval $ac_try) 2>&5
90272   ac_status=$?
90273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90274   (exit $ac_status); }; }; then
90275   glibcxx_cv_func__copysign_use=yes
90276 else
90277   echo "$as_me: failed program was:" >&5
90278 sed 's/^/| /' conftest.$ac_ext >&5
90279
90280 glibcxx_cv_func__copysign_use=no
90281 fi
90282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90283       ac_ext=c
90284 ac_cpp='$CPP $CPPFLAGS'
90285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90288
90289
90290 fi
90291
90292   fi
90293   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
90294 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
90295
90296     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
90297
90298 for ac_func in _copysign
90299 do
90300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90301 echo "$as_me:$LINENO: checking for $ac_func" >&5
90302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90303 if eval "test \"\${$as_ac_var+set}\" = set"; then
90304   echo $ECHO_N "(cached) $ECHO_C" >&6
90305 else
90306   if test x$gcc_no_link = xyes; then
90307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90309    { (exit 1); exit 1; }; }
90310 fi
90311 cat >conftest.$ac_ext <<_ACEOF
90312 /* confdefs.h.  */
90313 _ACEOF
90314 cat confdefs.h >>conftest.$ac_ext
90315 cat >>conftest.$ac_ext <<_ACEOF
90316 /* end confdefs.h.  */
90317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90319 #define $ac_func innocuous_$ac_func
90320
90321 /* System header to define __stub macros and hopefully few prototypes,
90322     which can conflict with char $ac_func (); below.
90323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90324     <limits.h> exists even on freestanding compilers.  */
90325
90326 #ifdef __STDC__
90327 # include <limits.h>
90328 #else
90329 # include <assert.h>
90330 #endif
90331
90332 #undef $ac_func
90333
90334 /* Override any gcc2 internal prototype to avoid an error.  */
90335 #ifdef __cplusplus
90336 extern "C"
90337 {
90338 #endif
90339 /* We use char because int might match the return type of a gcc2
90340    builtin and then its argument prototype would still apply.  */
90341 char $ac_func ();
90342 /* The GNU C library defines this for functions which it implements
90343     to always fail with ENOSYS.  Some functions are actually named
90344     something starting with __ and the normal name is an alias.  */
90345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90346 choke me
90347 #else
90348 char (*f) () = $ac_func;
90349 #endif
90350 #ifdef __cplusplus
90351 }
90352 #endif
90353
90354 int
90355 main ()
90356 {
90357 return f != $ac_func;
90358   ;
90359   return 0;
90360 }
90361 _ACEOF
90362 rm -f conftest.$ac_objext conftest$ac_exeext
90363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90364   (eval $ac_link) 2>conftest.er1
90365   ac_status=$?
90366   grep -v '^ *+' conftest.er1 >conftest.err
90367   rm -f conftest.er1
90368   cat conftest.err >&5
90369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90370   (exit $ac_status); } &&
90371          { ac_try='test -z "$ac_c_werror_flag"
90372                          || test ! -s conftest.err'
90373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90374   (eval $ac_try) 2>&5
90375   ac_status=$?
90376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90377   (exit $ac_status); }; } &&
90378          { ac_try='test -s conftest$ac_exeext'
90379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90380   (eval $ac_try) 2>&5
90381   ac_status=$?
90382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90383   (exit $ac_status); }; }; then
90384   eval "$as_ac_var=yes"
90385 else
90386   echo "$as_me: failed program was:" >&5
90387 sed 's/^/| /' conftest.$ac_ext >&5
90388
90389 eval "$as_ac_var=no"
90390 fi
90391 rm -f conftest.err conftest.$ac_objext \
90392       conftest$ac_exeext conftest.$ac_ext
90393 fi
90394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90396 if test `eval echo '${'$as_ac_var'}'` = yes; then
90397   cat >>confdefs.h <<_ACEOF
90398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90399 _ACEOF
90400
90401 fi
90402 done
90403
90404     fi
90405   fi
90406
90407
90408
90409
90410
90411
90412   echo "$as_me:$LINENO: checking for sincos declaration" >&5
90413 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
90414   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
90415     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
90416   echo $ECHO_N "(cached) $ECHO_C" >&6
90417 else
90418
90419
90420
90421       ac_ext=cc
90422 ac_cpp='$CXXCPP $CPPFLAGS'
90423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90426
90427       cat >conftest.$ac_ext <<_ACEOF
90428 /* confdefs.h.  */
90429 _ACEOF
90430 cat confdefs.h >>conftest.$ac_ext
90431 cat >>conftest.$ac_ext <<_ACEOF
90432 /* end confdefs.h.  */
90433 #include <math.h>
90434 int
90435 main ()
90436 {
90437  sincos(0, 0, 0);
90438   ;
90439   return 0;
90440 }
90441 _ACEOF
90442 rm -f conftest.$ac_objext
90443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90444   (eval $ac_compile) 2>conftest.er1
90445   ac_status=$?
90446   grep -v '^ *+' conftest.er1 >conftest.err
90447   rm -f conftest.er1
90448   cat conftest.err >&5
90449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90450   (exit $ac_status); } &&
90451          { ac_try='test -z "$ac_cxx_werror_flag"
90452                          || test ! -s conftest.err'
90453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90454   (eval $ac_try) 2>&5
90455   ac_status=$?
90456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90457   (exit $ac_status); }; } &&
90458          { ac_try='test -s conftest.$ac_objext'
90459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90460   (eval $ac_try) 2>&5
90461   ac_status=$?
90462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90463   (exit $ac_status); }; }; then
90464   glibcxx_cv_func_sincos_use=yes
90465 else
90466   echo "$as_me: failed program was:" >&5
90467 sed 's/^/| /' conftest.$ac_ext >&5
90468
90469 glibcxx_cv_func_sincos_use=no
90470 fi
90471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90472       ac_ext=c
90473 ac_cpp='$CPP $CPPFLAGS'
90474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90477
90478
90479 fi
90480
90481   fi
90482   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
90483 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
90484
90485   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
90486
90487 for ac_func in sincos
90488 do
90489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90490 echo "$as_me:$LINENO: checking for $ac_func" >&5
90491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90492 if eval "test \"\${$as_ac_var+set}\" = set"; then
90493   echo $ECHO_N "(cached) $ECHO_C" >&6
90494 else
90495   if test x$gcc_no_link = xyes; then
90496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90498    { (exit 1); exit 1; }; }
90499 fi
90500 cat >conftest.$ac_ext <<_ACEOF
90501 /* confdefs.h.  */
90502 _ACEOF
90503 cat confdefs.h >>conftest.$ac_ext
90504 cat >>conftest.$ac_ext <<_ACEOF
90505 /* end confdefs.h.  */
90506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90508 #define $ac_func innocuous_$ac_func
90509
90510 /* System header to define __stub macros and hopefully few prototypes,
90511     which can conflict with char $ac_func (); below.
90512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90513     <limits.h> exists even on freestanding compilers.  */
90514
90515 #ifdef __STDC__
90516 # include <limits.h>
90517 #else
90518 # include <assert.h>
90519 #endif
90520
90521 #undef $ac_func
90522
90523 /* Override any gcc2 internal prototype to avoid an error.  */
90524 #ifdef __cplusplus
90525 extern "C"
90526 {
90527 #endif
90528 /* We use char because int might match the return type of a gcc2
90529    builtin and then its argument prototype would still apply.  */
90530 char $ac_func ();
90531 /* The GNU C library defines this for functions which it implements
90532     to always fail with ENOSYS.  Some functions are actually named
90533     something starting with __ and the normal name is an alias.  */
90534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90535 choke me
90536 #else
90537 char (*f) () = $ac_func;
90538 #endif
90539 #ifdef __cplusplus
90540 }
90541 #endif
90542
90543 int
90544 main ()
90545 {
90546 return f != $ac_func;
90547   ;
90548   return 0;
90549 }
90550 _ACEOF
90551 rm -f conftest.$ac_objext conftest$ac_exeext
90552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90553   (eval $ac_link) 2>conftest.er1
90554   ac_status=$?
90555   grep -v '^ *+' conftest.er1 >conftest.err
90556   rm -f conftest.er1
90557   cat conftest.err >&5
90558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90559   (exit $ac_status); } &&
90560          { ac_try='test -z "$ac_c_werror_flag"
90561                          || test ! -s conftest.err'
90562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90563   (eval $ac_try) 2>&5
90564   ac_status=$?
90565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90566   (exit $ac_status); }; } &&
90567          { ac_try='test -s conftest$ac_exeext'
90568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90569   (eval $ac_try) 2>&5
90570   ac_status=$?
90571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90572   (exit $ac_status); }; }; then
90573   eval "$as_ac_var=yes"
90574 else
90575   echo "$as_me: failed program was:" >&5
90576 sed 's/^/| /' conftest.$ac_ext >&5
90577
90578 eval "$as_ac_var=no"
90579 fi
90580 rm -f conftest.err conftest.$ac_objext \
90581       conftest$ac_exeext conftest.$ac_ext
90582 fi
90583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90585 if test `eval echo '${'$as_ac_var'}'` = yes; then
90586   cat >>confdefs.h <<_ACEOF
90587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90588 _ACEOF
90589
90590 fi
90591 done
90592
90593   else
90594
90595   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
90596 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
90597   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
90598     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
90599   echo $ECHO_N "(cached) $ECHO_C" >&6
90600 else
90601
90602
90603
90604       ac_ext=cc
90605 ac_cpp='$CXXCPP $CPPFLAGS'
90606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90609
90610       cat >conftest.$ac_ext <<_ACEOF
90611 /* confdefs.h.  */
90612 _ACEOF
90613 cat confdefs.h >>conftest.$ac_ext
90614 cat >>conftest.$ac_ext <<_ACEOF
90615 /* end confdefs.h.  */
90616 #include <math.h>
90617 int
90618 main ()
90619 {
90620  _sincos(0, 0, 0);
90621   ;
90622   return 0;
90623 }
90624 _ACEOF
90625 rm -f conftest.$ac_objext
90626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90627   (eval $ac_compile) 2>conftest.er1
90628   ac_status=$?
90629   grep -v '^ *+' conftest.er1 >conftest.err
90630   rm -f conftest.er1
90631   cat conftest.err >&5
90632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90633   (exit $ac_status); } &&
90634          { ac_try='test -z "$ac_cxx_werror_flag"
90635                          || test ! -s conftest.err'
90636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90637   (eval $ac_try) 2>&5
90638   ac_status=$?
90639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90640   (exit $ac_status); }; } &&
90641          { ac_try='test -s conftest.$ac_objext'
90642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90643   (eval $ac_try) 2>&5
90644   ac_status=$?
90645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90646   (exit $ac_status); }; }; then
90647   glibcxx_cv_func__sincos_use=yes
90648 else
90649   echo "$as_me: failed program was:" >&5
90650 sed 's/^/| /' conftest.$ac_ext >&5
90651
90652 glibcxx_cv_func__sincos_use=no
90653 fi
90654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90655       ac_ext=c
90656 ac_cpp='$CPP $CPPFLAGS'
90657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90660
90661
90662 fi
90663
90664   fi
90665   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
90666 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
90667
90668     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
90669
90670 for ac_func in _sincos
90671 do
90672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90673 echo "$as_me:$LINENO: checking for $ac_func" >&5
90674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90675 if eval "test \"\${$as_ac_var+set}\" = set"; then
90676   echo $ECHO_N "(cached) $ECHO_C" >&6
90677 else
90678   if test x$gcc_no_link = xyes; then
90679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90681    { (exit 1); exit 1; }; }
90682 fi
90683 cat >conftest.$ac_ext <<_ACEOF
90684 /* confdefs.h.  */
90685 _ACEOF
90686 cat confdefs.h >>conftest.$ac_ext
90687 cat >>conftest.$ac_ext <<_ACEOF
90688 /* end confdefs.h.  */
90689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90691 #define $ac_func innocuous_$ac_func
90692
90693 /* System header to define __stub macros and hopefully few prototypes,
90694     which can conflict with char $ac_func (); below.
90695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90696     <limits.h> exists even on freestanding compilers.  */
90697
90698 #ifdef __STDC__
90699 # include <limits.h>
90700 #else
90701 # include <assert.h>
90702 #endif
90703
90704 #undef $ac_func
90705
90706 /* Override any gcc2 internal prototype to avoid an error.  */
90707 #ifdef __cplusplus
90708 extern "C"
90709 {
90710 #endif
90711 /* We use char because int might match the return type of a gcc2
90712    builtin and then its argument prototype would still apply.  */
90713 char $ac_func ();
90714 /* The GNU C library defines this for functions which it implements
90715     to always fail with ENOSYS.  Some functions are actually named
90716     something starting with __ and the normal name is an alias.  */
90717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90718 choke me
90719 #else
90720 char (*f) () = $ac_func;
90721 #endif
90722 #ifdef __cplusplus
90723 }
90724 #endif
90725
90726 int
90727 main ()
90728 {
90729 return f != $ac_func;
90730   ;
90731   return 0;
90732 }
90733 _ACEOF
90734 rm -f conftest.$ac_objext conftest$ac_exeext
90735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90736   (eval $ac_link) 2>conftest.er1
90737   ac_status=$?
90738   grep -v '^ *+' conftest.er1 >conftest.err
90739   rm -f conftest.er1
90740   cat conftest.err >&5
90741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90742   (exit $ac_status); } &&
90743          { ac_try='test -z "$ac_c_werror_flag"
90744                          || test ! -s conftest.err'
90745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90746   (eval $ac_try) 2>&5
90747   ac_status=$?
90748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90749   (exit $ac_status); }; } &&
90750          { ac_try='test -s conftest$ac_exeext'
90751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90752   (eval $ac_try) 2>&5
90753   ac_status=$?
90754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90755   (exit $ac_status); }; }; then
90756   eval "$as_ac_var=yes"
90757 else
90758   echo "$as_me: failed program was:" >&5
90759 sed 's/^/| /' conftest.$ac_ext >&5
90760
90761 eval "$as_ac_var=no"
90762 fi
90763 rm -f conftest.err conftest.$ac_objext \
90764       conftest$ac_exeext conftest.$ac_ext
90765 fi
90766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90768 if test `eval echo '${'$as_ac_var'}'` = yes; then
90769   cat >>confdefs.h <<_ACEOF
90770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90771 _ACEOF
90772
90773 fi
90774 done
90775
90776     fi
90777   fi
90778
90779
90780
90781
90782
90783
90784   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
90785 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
90786   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
90787     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
90788   echo $ECHO_N "(cached) $ECHO_C" >&6
90789 else
90790
90791
90792
90793       ac_ext=cc
90794 ac_cpp='$CXXCPP $CPPFLAGS'
90795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90798
90799       cat >conftest.$ac_ext <<_ACEOF
90800 /* confdefs.h.  */
90801 _ACEOF
90802 cat confdefs.h >>conftest.$ac_ext
90803 cat >>conftest.$ac_ext <<_ACEOF
90804 /* end confdefs.h.  */
90805 #include <math.h>
90806                       #ifdef HAVE_IEEEFP_H
90807                       #include <ieeefp.h>
90808                       #endif
90809
90810 int
90811 main ()
90812 {
90813  fpclass(0);
90814   ;
90815   return 0;
90816 }
90817 _ACEOF
90818 rm -f conftest.$ac_objext
90819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90820   (eval $ac_compile) 2>conftest.er1
90821   ac_status=$?
90822   grep -v '^ *+' conftest.er1 >conftest.err
90823   rm -f conftest.er1
90824   cat conftest.err >&5
90825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90826   (exit $ac_status); } &&
90827          { ac_try='test -z "$ac_cxx_werror_flag"
90828                          || test ! -s conftest.err'
90829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90830   (eval $ac_try) 2>&5
90831   ac_status=$?
90832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90833   (exit $ac_status); }; } &&
90834          { ac_try='test -s conftest.$ac_objext'
90835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90836   (eval $ac_try) 2>&5
90837   ac_status=$?
90838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90839   (exit $ac_status); }; }; then
90840   glibcxx_cv_func_fpclass_use=yes
90841 else
90842   echo "$as_me: failed program was:" >&5
90843 sed 's/^/| /' conftest.$ac_ext >&5
90844
90845 glibcxx_cv_func_fpclass_use=no
90846 fi
90847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90848       ac_ext=c
90849 ac_cpp='$CPP $CPPFLAGS'
90850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90853
90854
90855 fi
90856
90857   fi
90858   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
90859 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
90860
90861   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
90862
90863 for ac_func in fpclass
90864 do
90865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90866 echo "$as_me:$LINENO: checking for $ac_func" >&5
90867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90868 if eval "test \"\${$as_ac_var+set}\" = set"; then
90869   echo $ECHO_N "(cached) $ECHO_C" >&6
90870 else
90871   if test x$gcc_no_link = xyes; then
90872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90874    { (exit 1); exit 1; }; }
90875 fi
90876 cat >conftest.$ac_ext <<_ACEOF
90877 /* confdefs.h.  */
90878 _ACEOF
90879 cat confdefs.h >>conftest.$ac_ext
90880 cat >>conftest.$ac_ext <<_ACEOF
90881 /* end confdefs.h.  */
90882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90884 #define $ac_func innocuous_$ac_func
90885
90886 /* System header to define __stub macros and hopefully few prototypes,
90887     which can conflict with char $ac_func (); below.
90888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90889     <limits.h> exists even on freestanding compilers.  */
90890
90891 #ifdef __STDC__
90892 # include <limits.h>
90893 #else
90894 # include <assert.h>
90895 #endif
90896
90897 #undef $ac_func
90898
90899 /* Override any gcc2 internal prototype to avoid an error.  */
90900 #ifdef __cplusplus
90901 extern "C"
90902 {
90903 #endif
90904 /* We use char because int might match the return type of a gcc2
90905    builtin and then its argument prototype would still apply.  */
90906 char $ac_func ();
90907 /* The GNU C library defines this for functions which it implements
90908     to always fail with ENOSYS.  Some functions are actually named
90909     something starting with __ and the normal name is an alias.  */
90910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90911 choke me
90912 #else
90913 char (*f) () = $ac_func;
90914 #endif
90915 #ifdef __cplusplus
90916 }
90917 #endif
90918
90919 int
90920 main ()
90921 {
90922 return f != $ac_func;
90923   ;
90924   return 0;
90925 }
90926 _ACEOF
90927 rm -f conftest.$ac_objext conftest$ac_exeext
90928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90929   (eval $ac_link) 2>conftest.er1
90930   ac_status=$?
90931   grep -v '^ *+' conftest.er1 >conftest.err
90932   rm -f conftest.er1
90933   cat conftest.err >&5
90934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90935   (exit $ac_status); } &&
90936          { ac_try='test -z "$ac_c_werror_flag"
90937                          || test ! -s conftest.err'
90938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90939   (eval $ac_try) 2>&5
90940   ac_status=$?
90941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90942   (exit $ac_status); }; } &&
90943          { ac_try='test -s conftest$ac_exeext'
90944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90945   (eval $ac_try) 2>&5
90946   ac_status=$?
90947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90948   (exit $ac_status); }; }; then
90949   eval "$as_ac_var=yes"
90950 else
90951   echo "$as_me: failed program was:" >&5
90952 sed 's/^/| /' conftest.$ac_ext >&5
90953
90954 eval "$as_ac_var=no"
90955 fi
90956 rm -f conftest.err conftest.$ac_objext \
90957       conftest$ac_exeext conftest.$ac_ext
90958 fi
90959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90961 if test `eval echo '${'$as_ac_var'}'` = yes; then
90962   cat >>confdefs.h <<_ACEOF
90963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90964 _ACEOF
90965
90966 fi
90967 done
90968
90969   else
90970
90971   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90972 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90973   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90974     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90975   echo $ECHO_N "(cached) $ECHO_C" >&6
90976 else
90977
90978
90979
90980       ac_ext=cc
90981 ac_cpp='$CXXCPP $CPPFLAGS'
90982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90985
90986       cat >conftest.$ac_ext <<_ACEOF
90987 /* confdefs.h.  */
90988 _ACEOF
90989 cat confdefs.h >>conftest.$ac_ext
90990 cat >>conftest.$ac_ext <<_ACEOF
90991 /* end confdefs.h.  */
90992 #include <math.h>
90993                       #ifdef HAVE_IEEEFP_H
90994                       #include <ieeefp.h>
90995                       #endif
90996
90997 int
90998 main ()
90999 {
91000  _fpclass(0);
91001   ;
91002   return 0;
91003 }
91004 _ACEOF
91005 rm -f conftest.$ac_objext
91006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91007   (eval $ac_compile) 2>conftest.er1
91008   ac_status=$?
91009   grep -v '^ *+' conftest.er1 >conftest.err
91010   rm -f conftest.er1
91011   cat conftest.err >&5
91012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91013   (exit $ac_status); } &&
91014          { ac_try='test -z "$ac_cxx_werror_flag"
91015                          || test ! -s conftest.err'
91016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91017   (eval $ac_try) 2>&5
91018   ac_status=$?
91019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91020   (exit $ac_status); }; } &&
91021          { ac_try='test -s conftest.$ac_objext'
91022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91023   (eval $ac_try) 2>&5
91024   ac_status=$?
91025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91026   (exit $ac_status); }; }; then
91027   glibcxx_cv_func__fpclass_use=yes
91028 else
91029   echo "$as_me: failed program was:" >&5
91030 sed 's/^/| /' conftest.$ac_ext >&5
91031
91032 glibcxx_cv_func__fpclass_use=no
91033 fi
91034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91035       ac_ext=c
91036 ac_cpp='$CPP $CPPFLAGS'
91037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91040
91041
91042 fi
91043
91044   fi
91045   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
91046 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
91047
91048     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
91049
91050 for ac_func in _fpclass
91051 do
91052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91053 echo "$as_me:$LINENO: checking for $ac_func" >&5
91054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91055 if eval "test \"\${$as_ac_var+set}\" = set"; then
91056   echo $ECHO_N "(cached) $ECHO_C" >&6
91057 else
91058   if test x$gcc_no_link = xyes; then
91059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91061    { (exit 1); exit 1; }; }
91062 fi
91063 cat >conftest.$ac_ext <<_ACEOF
91064 /* confdefs.h.  */
91065 _ACEOF
91066 cat confdefs.h >>conftest.$ac_ext
91067 cat >>conftest.$ac_ext <<_ACEOF
91068 /* end confdefs.h.  */
91069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91071 #define $ac_func innocuous_$ac_func
91072
91073 /* System header to define __stub macros and hopefully few prototypes,
91074     which can conflict with char $ac_func (); below.
91075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91076     <limits.h> exists even on freestanding compilers.  */
91077
91078 #ifdef __STDC__
91079 # include <limits.h>
91080 #else
91081 # include <assert.h>
91082 #endif
91083
91084 #undef $ac_func
91085
91086 /* Override any gcc2 internal prototype to avoid an error.  */
91087 #ifdef __cplusplus
91088 extern "C"
91089 {
91090 #endif
91091 /* We use char because int might match the return type of a gcc2
91092    builtin and then its argument prototype would still apply.  */
91093 char $ac_func ();
91094 /* The GNU C library defines this for functions which it implements
91095     to always fail with ENOSYS.  Some functions are actually named
91096     something starting with __ and the normal name is an alias.  */
91097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91098 choke me
91099 #else
91100 char (*f) () = $ac_func;
91101 #endif
91102 #ifdef __cplusplus
91103 }
91104 #endif
91105
91106 int
91107 main ()
91108 {
91109 return f != $ac_func;
91110   ;
91111   return 0;
91112 }
91113 _ACEOF
91114 rm -f conftest.$ac_objext conftest$ac_exeext
91115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91116   (eval $ac_link) 2>conftest.er1
91117   ac_status=$?
91118   grep -v '^ *+' conftest.er1 >conftest.err
91119   rm -f conftest.er1
91120   cat conftest.err >&5
91121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91122   (exit $ac_status); } &&
91123          { ac_try='test -z "$ac_c_werror_flag"
91124                          || test ! -s conftest.err'
91125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91126   (eval $ac_try) 2>&5
91127   ac_status=$?
91128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91129   (exit $ac_status); }; } &&
91130          { ac_try='test -s conftest$ac_exeext'
91131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91132   (eval $ac_try) 2>&5
91133   ac_status=$?
91134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91135   (exit $ac_status); }; }; then
91136   eval "$as_ac_var=yes"
91137 else
91138   echo "$as_me: failed program was:" >&5
91139 sed 's/^/| /' conftest.$ac_ext >&5
91140
91141 eval "$as_ac_var=no"
91142 fi
91143 rm -f conftest.err conftest.$ac_objext \
91144       conftest$ac_exeext conftest.$ac_ext
91145 fi
91146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91148 if test `eval echo '${'$as_ac_var'}'` = yes; then
91149   cat >>confdefs.h <<_ACEOF
91150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91151 _ACEOF
91152
91153 fi
91154 done
91155
91156     fi
91157   fi
91158
91159
91160
91161
91162
91163
91164   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
91165 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
91166   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
91167     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
91168   echo $ECHO_N "(cached) $ECHO_C" >&6
91169 else
91170
91171
91172
91173       ac_ext=cc
91174 ac_cpp='$CXXCPP $CPPFLAGS'
91175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91178
91179       cat >conftest.$ac_ext <<_ACEOF
91180 /* confdefs.h.  */
91181 _ACEOF
91182 cat confdefs.h >>conftest.$ac_ext
91183 cat >>conftest.$ac_ext <<_ACEOF
91184 /* end confdefs.h.  */
91185 #include <math.h>
91186                       #ifdef HAVE_IEEEFP_H
91187                       #include <ieeefp.h>
91188                       #endif
91189
91190 int
91191 main ()
91192 {
91193  qfpclass(0);
91194   ;
91195   return 0;
91196 }
91197 _ACEOF
91198 rm -f conftest.$ac_objext
91199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91200   (eval $ac_compile) 2>conftest.er1
91201   ac_status=$?
91202   grep -v '^ *+' conftest.er1 >conftest.err
91203   rm -f conftest.er1
91204   cat conftest.err >&5
91205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91206   (exit $ac_status); } &&
91207          { ac_try='test -z "$ac_cxx_werror_flag"
91208                          || test ! -s conftest.err'
91209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91210   (eval $ac_try) 2>&5
91211   ac_status=$?
91212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91213   (exit $ac_status); }; } &&
91214          { ac_try='test -s conftest.$ac_objext'
91215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91216   (eval $ac_try) 2>&5
91217   ac_status=$?
91218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91219   (exit $ac_status); }; }; then
91220   glibcxx_cv_func_qfpclass_use=yes
91221 else
91222   echo "$as_me: failed program was:" >&5
91223 sed 's/^/| /' conftest.$ac_ext >&5
91224
91225 glibcxx_cv_func_qfpclass_use=no
91226 fi
91227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91228       ac_ext=c
91229 ac_cpp='$CPP $CPPFLAGS'
91230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91233
91234
91235 fi
91236
91237   fi
91238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
91239 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
91240
91241   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
91242
91243 for ac_func in qfpclass
91244 do
91245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91246 echo "$as_me:$LINENO: checking for $ac_func" >&5
91247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91248 if eval "test \"\${$as_ac_var+set}\" = set"; then
91249   echo $ECHO_N "(cached) $ECHO_C" >&6
91250 else
91251   if test x$gcc_no_link = xyes; then
91252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91254    { (exit 1); exit 1; }; }
91255 fi
91256 cat >conftest.$ac_ext <<_ACEOF
91257 /* confdefs.h.  */
91258 _ACEOF
91259 cat confdefs.h >>conftest.$ac_ext
91260 cat >>conftest.$ac_ext <<_ACEOF
91261 /* end confdefs.h.  */
91262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91264 #define $ac_func innocuous_$ac_func
91265
91266 /* System header to define __stub macros and hopefully few prototypes,
91267     which can conflict with char $ac_func (); below.
91268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91269     <limits.h> exists even on freestanding compilers.  */
91270
91271 #ifdef __STDC__
91272 # include <limits.h>
91273 #else
91274 # include <assert.h>
91275 #endif
91276
91277 #undef $ac_func
91278
91279 /* Override any gcc2 internal prototype to avoid an error.  */
91280 #ifdef __cplusplus
91281 extern "C"
91282 {
91283 #endif
91284 /* We use char because int might match the return type of a gcc2
91285    builtin and then its argument prototype would still apply.  */
91286 char $ac_func ();
91287 /* The GNU C library defines this for functions which it implements
91288     to always fail with ENOSYS.  Some functions are actually named
91289     something starting with __ and the normal name is an alias.  */
91290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91291 choke me
91292 #else
91293 char (*f) () = $ac_func;
91294 #endif
91295 #ifdef __cplusplus
91296 }
91297 #endif
91298
91299 int
91300 main ()
91301 {
91302 return f != $ac_func;
91303   ;
91304   return 0;
91305 }
91306 _ACEOF
91307 rm -f conftest.$ac_objext conftest$ac_exeext
91308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91309   (eval $ac_link) 2>conftest.er1
91310   ac_status=$?
91311   grep -v '^ *+' conftest.er1 >conftest.err
91312   rm -f conftest.er1
91313   cat conftest.err >&5
91314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91315   (exit $ac_status); } &&
91316          { ac_try='test -z "$ac_c_werror_flag"
91317                          || test ! -s conftest.err'
91318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91319   (eval $ac_try) 2>&5
91320   ac_status=$?
91321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91322   (exit $ac_status); }; } &&
91323          { ac_try='test -s conftest$ac_exeext'
91324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91325   (eval $ac_try) 2>&5
91326   ac_status=$?
91327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91328   (exit $ac_status); }; }; then
91329   eval "$as_ac_var=yes"
91330 else
91331   echo "$as_me: failed program was:" >&5
91332 sed 's/^/| /' conftest.$ac_ext >&5
91333
91334 eval "$as_ac_var=no"
91335 fi
91336 rm -f conftest.err conftest.$ac_objext \
91337       conftest$ac_exeext conftest.$ac_ext
91338 fi
91339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91341 if test `eval echo '${'$as_ac_var'}'` = yes; then
91342   cat >>confdefs.h <<_ACEOF
91343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91344 _ACEOF
91345
91346 fi
91347 done
91348
91349   else
91350
91351   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
91352 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
91353   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
91354     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
91355   echo $ECHO_N "(cached) $ECHO_C" >&6
91356 else
91357
91358
91359
91360       ac_ext=cc
91361 ac_cpp='$CXXCPP $CPPFLAGS'
91362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91365
91366       cat >conftest.$ac_ext <<_ACEOF
91367 /* confdefs.h.  */
91368 _ACEOF
91369 cat confdefs.h >>conftest.$ac_ext
91370 cat >>conftest.$ac_ext <<_ACEOF
91371 /* end confdefs.h.  */
91372 #include <math.h>
91373                       #ifdef HAVE_IEEEFP_H
91374                       #include <ieeefp.h>
91375                       #endif
91376
91377 int
91378 main ()
91379 {
91380  _qfpclass(0);
91381   ;
91382   return 0;
91383 }
91384 _ACEOF
91385 rm -f conftest.$ac_objext
91386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91387   (eval $ac_compile) 2>conftest.er1
91388   ac_status=$?
91389   grep -v '^ *+' conftest.er1 >conftest.err
91390   rm -f conftest.er1
91391   cat conftest.err >&5
91392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91393   (exit $ac_status); } &&
91394          { ac_try='test -z "$ac_cxx_werror_flag"
91395                          || test ! -s conftest.err'
91396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91397   (eval $ac_try) 2>&5
91398   ac_status=$?
91399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91400   (exit $ac_status); }; } &&
91401          { ac_try='test -s conftest.$ac_objext'
91402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91403   (eval $ac_try) 2>&5
91404   ac_status=$?
91405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91406   (exit $ac_status); }; }; then
91407   glibcxx_cv_func__qfpclass_use=yes
91408 else
91409   echo "$as_me: failed program was:" >&5
91410 sed 's/^/| /' conftest.$ac_ext >&5
91411
91412 glibcxx_cv_func__qfpclass_use=no
91413 fi
91414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91415       ac_ext=c
91416 ac_cpp='$CPP $CPPFLAGS'
91417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91420
91421
91422 fi
91423
91424   fi
91425   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
91426 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
91427
91428     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
91429
91430 for ac_func in _qfpclass
91431 do
91432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91433 echo "$as_me:$LINENO: checking for $ac_func" >&5
91434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91435 if eval "test \"\${$as_ac_var+set}\" = set"; then
91436   echo $ECHO_N "(cached) $ECHO_C" >&6
91437 else
91438   if test x$gcc_no_link = xyes; then
91439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91441    { (exit 1); exit 1; }; }
91442 fi
91443 cat >conftest.$ac_ext <<_ACEOF
91444 /* confdefs.h.  */
91445 _ACEOF
91446 cat confdefs.h >>conftest.$ac_ext
91447 cat >>conftest.$ac_ext <<_ACEOF
91448 /* end confdefs.h.  */
91449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91451 #define $ac_func innocuous_$ac_func
91452
91453 /* System header to define __stub macros and hopefully few prototypes,
91454     which can conflict with char $ac_func (); below.
91455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91456     <limits.h> exists even on freestanding compilers.  */
91457
91458 #ifdef __STDC__
91459 # include <limits.h>
91460 #else
91461 # include <assert.h>
91462 #endif
91463
91464 #undef $ac_func
91465
91466 /* Override any gcc2 internal prototype to avoid an error.  */
91467 #ifdef __cplusplus
91468 extern "C"
91469 {
91470 #endif
91471 /* We use char because int might match the return type of a gcc2
91472    builtin and then its argument prototype would still apply.  */
91473 char $ac_func ();
91474 /* The GNU C library defines this for functions which it implements
91475     to always fail with ENOSYS.  Some functions are actually named
91476     something starting with __ and the normal name is an alias.  */
91477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91478 choke me
91479 #else
91480 char (*f) () = $ac_func;
91481 #endif
91482 #ifdef __cplusplus
91483 }
91484 #endif
91485
91486 int
91487 main ()
91488 {
91489 return f != $ac_func;
91490   ;
91491   return 0;
91492 }
91493 _ACEOF
91494 rm -f conftest.$ac_objext conftest$ac_exeext
91495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91496   (eval $ac_link) 2>conftest.er1
91497   ac_status=$?
91498   grep -v '^ *+' conftest.er1 >conftest.err
91499   rm -f conftest.er1
91500   cat conftest.err >&5
91501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91502   (exit $ac_status); } &&
91503          { ac_try='test -z "$ac_c_werror_flag"
91504                          || test ! -s conftest.err'
91505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91506   (eval $ac_try) 2>&5
91507   ac_status=$?
91508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91509   (exit $ac_status); }; } &&
91510          { ac_try='test -s conftest$ac_exeext'
91511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91512   (eval $ac_try) 2>&5
91513   ac_status=$?
91514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91515   (exit $ac_status); }; }; then
91516   eval "$as_ac_var=yes"
91517 else
91518   echo "$as_me: failed program was:" >&5
91519 sed 's/^/| /' conftest.$ac_ext >&5
91520
91521 eval "$as_ac_var=no"
91522 fi
91523 rm -f conftest.err conftest.$ac_objext \
91524       conftest$ac_exeext conftest.$ac_ext
91525 fi
91526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91528 if test `eval echo '${'$as_ac_var'}'` = yes; then
91529   cat >>confdefs.h <<_ACEOF
91530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91531 _ACEOF
91532
91533 fi
91534 done
91535
91536     fi
91537   fi
91538
91539
91540
91541
91542
91543
91544   echo "$as_me:$LINENO: checking for hypot declaration" >&5
91545 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
91546   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
91547     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
91548   echo $ECHO_N "(cached) $ECHO_C" >&6
91549 else
91550
91551
91552
91553       ac_ext=cc
91554 ac_cpp='$CXXCPP $CPPFLAGS'
91555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91558
91559       cat >conftest.$ac_ext <<_ACEOF
91560 /* confdefs.h.  */
91561 _ACEOF
91562 cat confdefs.h >>conftest.$ac_ext
91563 cat >>conftest.$ac_ext <<_ACEOF
91564 /* end confdefs.h.  */
91565 #include <math.h>
91566 int
91567 main ()
91568 {
91569  hypot(0, 0);
91570   ;
91571   return 0;
91572 }
91573 _ACEOF
91574 rm -f conftest.$ac_objext
91575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91576   (eval $ac_compile) 2>conftest.er1
91577   ac_status=$?
91578   grep -v '^ *+' conftest.er1 >conftest.err
91579   rm -f conftest.er1
91580   cat conftest.err >&5
91581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91582   (exit $ac_status); } &&
91583          { ac_try='test -z "$ac_cxx_werror_flag"
91584                          || test ! -s conftest.err'
91585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91586   (eval $ac_try) 2>&5
91587   ac_status=$?
91588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589   (exit $ac_status); }; } &&
91590          { ac_try='test -s conftest.$ac_objext'
91591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91592   (eval $ac_try) 2>&5
91593   ac_status=$?
91594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91595   (exit $ac_status); }; }; then
91596   glibcxx_cv_func_hypot_use=yes
91597 else
91598   echo "$as_me: failed program was:" >&5
91599 sed 's/^/| /' conftest.$ac_ext >&5
91600
91601 glibcxx_cv_func_hypot_use=no
91602 fi
91603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91604       ac_ext=c
91605 ac_cpp='$CPP $CPPFLAGS'
91606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91609
91610
91611 fi
91612
91613   fi
91614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
91615 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
91616
91617   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
91618
91619 for ac_func in hypot
91620 do
91621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91622 echo "$as_me:$LINENO: checking for $ac_func" >&5
91623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91624 if eval "test \"\${$as_ac_var+set}\" = set"; then
91625   echo $ECHO_N "(cached) $ECHO_C" >&6
91626 else
91627   if test x$gcc_no_link = xyes; then
91628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91630    { (exit 1); exit 1; }; }
91631 fi
91632 cat >conftest.$ac_ext <<_ACEOF
91633 /* confdefs.h.  */
91634 _ACEOF
91635 cat confdefs.h >>conftest.$ac_ext
91636 cat >>conftest.$ac_ext <<_ACEOF
91637 /* end confdefs.h.  */
91638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91640 #define $ac_func innocuous_$ac_func
91641
91642 /* System header to define __stub macros and hopefully few prototypes,
91643     which can conflict with char $ac_func (); below.
91644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91645     <limits.h> exists even on freestanding compilers.  */
91646
91647 #ifdef __STDC__
91648 # include <limits.h>
91649 #else
91650 # include <assert.h>
91651 #endif
91652
91653 #undef $ac_func
91654
91655 /* Override any gcc2 internal prototype to avoid an error.  */
91656 #ifdef __cplusplus
91657 extern "C"
91658 {
91659 #endif
91660 /* We use char because int might match the return type of a gcc2
91661    builtin and then its argument prototype would still apply.  */
91662 char $ac_func ();
91663 /* The GNU C library defines this for functions which it implements
91664     to always fail with ENOSYS.  Some functions are actually named
91665     something starting with __ and the normal name is an alias.  */
91666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91667 choke me
91668 #else
91669 char (*f) () = $ac_func;
91670 #endif
91671 #ifdef __cplusplus
91672 }
91673 #endif
91674
91675 int
91676 main ()
91677 {
91678 return f != $ac_func;
91679   ;
91680   return 0;
91681 }
91682 _ACEOF
91683 rm -f conftest.$ac_objext conftest$ac_exeext
91684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91685   (eval $ac_link) 2>conftest.er1
91686   ac_status=$?
91687   grep -v '^ *+' conftest.er1 >conftest.err
91688   rm -f conftest.er1
91689   cat conftest.err >&5
91690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91691   (exit $ac_status); } &&
91692          { ac_try='test -z "$ac_c_werror_flag"
91693                          || test ! -s conftest.err'
91694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91695   (eval $ac_try) 2>&5
91696   ac_status=$?
91697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698   (exit $ac_status); }; } &&
91699          { ac_try='test -s conftest$ac_exeext'
91700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91701   (eval $ac_try) 2>&5
91702   ac_status=$?
91703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91704   (exit $ac_status); }; }; then
91705   eval "$as_ac_var=yes"
91706 else
91707   echo "$as_me: failed program was:" >&5
91708 sed 's/^/| /' conftest.$ac_ext >&5
91709
91710 eval "$as_ac_var=no"
91711 fi
91712 rm -f conftest.err conftest.$ac_objext \
91713       conftest$ac_exeext conftest.$ac_ext
91714 fi
91715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91717 if test `eval echo '${'$as_ac_var'}'` = yes; then
91718   cat >>confdefs.h <<_ACEOF
91719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91720 _ACEOF
91721
91722 fi
91723 done
91724
91725   else
91726
91727   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
91728 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
91729   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
91730     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
91731   echo $ECHO_N "(cached) $ECHO_C" >&6
91732 else
91733
91734
91735
91736       ac_ext=cc
91737 ac_cpp='$CXXCPP $CPPFLAGS'
91738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91741
91742       cat >conftest.$ac_ext <<_ACEOF
91743 /* confdefs.h.  */
91744 _ACEOF
91745 cat confdefs.h >>conftest.$ac_ext
91746 cat >>conftest.$ac_ext <<_ACEOF
91747 /* end confdefs.h.  */
91748 #include <math.h>
91749 int
91750 main ()
91751 {
91752  _hypot(0, 0);
91753   ;
91754   return 0;
91755 }
91756 _ACEOF
91757 rm -f conftest.$ac_objext
91758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91759   (eval $ac_compile) 2>conftest.er1
91760   ac_status=$?
91761   grep -v '^ *+' conftest.er1 >conftest.err
91762   rm -f conftest.er1
91763   cat conftest.err >&5
91764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91765   (exit $ac_status); } &&
91766          { ac_try='test -z "$ac_cxx_werror_flag"
91767                          || test ! -s conftest.err'
91768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91769   (eval $ac_try) 2>&5
91770   ac_status=$?
91771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91772   (exit $ac_status); }; } &&
91773          { ac_try='test -s conftest.$ac_objext'
91774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91775   (eval $ac_try) 2>&5
91776   ac_status=$?
91777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91778   (exit $ac_status); }; }; then
91779   glibcxx_cv_func__hypot_use=yes
91780 else
91781   echo "$as_me: failed program was:" >&5
91782 sed 's/^/| /' conftest.$ac_ext >&5
91783
91784 glibcxx_cv_func__hypot_use=no
91785 fi
91786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91787       ac_ext=c
91788 ac_cpp='$CPP $CPPFLAGS'
91789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91792
91793
91794 fi
91795
91796   fi
91797   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
91798 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
91799
91800     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
91801
91802 for ac_func in _hypot
91803 do
91804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91805 echo "$as_me:$LINENO: checking for $ac_func" >&5
91806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91807 if eval "test \"\${$as_ac_var+set}\" = set"; then
91808   echo $ECHO_N "(cached) $ECHO_C" >&6
91809 else
91810   if test x$gcc_no_link = xyes; then
91811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91813    { (exit 1); exit 1; }; }
91814 fi
91815 cat >conftest.$ac_ext <<_ACEOF
91816 /* confdefs.h.  */
91817 _ACEOF
91818 cat confdefs.h >>conftest.$ac_ext
91819 cat >>conftest.$ac_ext <<_ACEOF
91820 /* end confdefs.h.  */
91821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91823 #define $ac_func innocuous_$ac_func
91824
91825 /* System header to define __stub macros and hopefully few prototypes,
91826     which can conflict with char $ac_func (); below.
91827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91828     <limits.h> exists even on freestanding compilers.  */
91829
91830 #ifdef __STDC__
91831 # include <limits.h>
91832 #else
91833 # include <assert.h>
91834 #endif
91835
91836 #undef $ac_func
91837
91838 /* Override any gcc2 internal prototype to avoid an error.  */
91839 #ifdef __cplusplus
91840 extern "C"
91841 {
91842 #endif
91843 /* We use char because int might match the return type of a gcc2
91844    builtin and then its argument prototype would still apply.  */
91845 char $ac_func ();
91846 /* The GNU C library defines this for functions which it implements
91847     to always fail with ENOSYS.  Some functions are actually named
91848     something starting with __ and the normal name is an alias.  */
91849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91850 choke me
91851 #else
91852 char (*f) () = $ac_func;
91853 #endif
91854 #ifdef __cplusplus
91855 }
91856 #endif
91857
91858 int
91859 main ()
91860 {
91861 return f != $ac_func;
91862   ;
91863   return 0;
91864 }
91865 _ACEOF
91866 rm -f conftest.$ac_objext conftest$ac_exeext
91867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91868   (eval $ac_link) 2>conftest.er1
91869   ac_status=$?
91870   grep -v '^ *+' conftest.er1 >conftest.err
91871   rm -f conftest.er1
91872   cat conftest.err >&5
91873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91874   (exit $ac_status); } &&
91875          { ac_try='test -z "$ac_c_werror_flag"
91876                          || test ! -s conftest.err'
91877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91878   (eval $ac_try) 2>&5
91879   ac_status=$?
91880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91881   (exit $ac_status); }; } &&
91882          { ac_try='test -s conftest$ac_exeext'
91883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91884   (eval $ac_try) 2>&5
91885   ac_status=$?
91886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91887   (exit $ac_status); }; }; then
91888   eval "$as_ac_var=yes"
91889 else
91890   echo "$as_me: failed program was:" >&5
91891 sed 's/^/| /' conftest.$ac_ext >&5
91892
91893 eval "$as_ac_var=no"
91894 fi
91895 rm -f conftest.err conftest.$ac_objext \
91896       conftest$ac_exeext conftest.$ac_ext
91897 fi
91898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91900 if test `eval echo '${'$as_ac_var'}'` = yes; then
91901   cat >>confdefs.h <<_ACEOF
91902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91903 _ACEOF
91904
91905 fi
91906 done
91907
91908     fi
91909   fi
91910
91911
91912
91913
91914
91915
91916     echo "$as_me:$LINENO: checking for float trig functions" >&5
91917 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91918   if test "${glibcxx_cv_func_float_trig_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 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (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_float_trig_use=yes
91968 else
91969   echo "$as_me: failed program was:" >&5
91970 sed 's/^/| /' conftest.$ac_ext >&5
91971
91972 glibcxx_cv_func_float_trig_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 fi
91982
91983   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91984 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91985   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91986
91987
91988
91989
91990
91991
91992
91993
91994
91995 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91996 do
91997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91998 echo "$as_me:$LINENO: checking for $ac_func" >&5
91999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92000 if eval "test \"\${$as_ac_var+set}\" = set"; then
92001   echo $ECHO_N "(cached) $ECHO_C" >&6
92002 else
92003   if test x$gcc_no_link = xyes; then
92004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92006    { (exit 1); exit 1; }; }
92007 fi
92008 cat >conftest.$ac_ext <<_ACEOF
92009 /* confdefs.h.  */
92010 _ACEOF
92011 cat confdefs.h >>conftest.$ac_ext
92012 cat >>conftest.$ac_ext <<_ACEOF
92013 /* end confdefs.h.  */
92014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92016 #define $ac_func innocuous_$ac_func
92017
92018 /* System header to define __stub macros and hopefully few prototypes,
92019     which can conflict with char $ac_func (); below.
92020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92021     <limits.h> exists even on freestanding compilers.  */
92022
92023 #ifdef __STDC__
92024 # include <limits.h>
92025 #else
92026 # include <assert.h>
92027 #endif
92028
92029 #undef $ac_func
92030
92031 /* Override any gcc2 internal prototype to avoid an error.  */
92032 #ifdef __cplusplus
92033 extern "C"
92034 {
92035 #endif
92036 /* We use char because int might match the return type of a gcc2
92037    builtin and then its argument prototype would still apply.  */
92038 char $ac_func ();
92039 /* The GNU C library defines this for functions which it implements
92040     to always fail with ENOSYS.  Some functions are actually named
92041     something starting with __ and the normal name is an alias.  */
92042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92043 choke me
92044 #else
92045 char (*f) () = $ac_func;
92046 #endif
92047 #ifdef __cplusplus
92048 }
92049 #endif
92050
92051 int
92052 main ()
92053 {
92054 return f != $ac_func;
92055   ;
92056   return 0;
92057 }
92058 _ACEOF
92059 rm -f conftest.$ac_objext conftest$ac_exeext
92060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92061   (eval $ac_link) 2>conftest.er1
92062   ac_status=$?
92063   grep -v '^ *+' conftest.er1 >conftest.err
92064   rm -f conftest.er1
92065   cat conftest.err >&5
92066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92067   (exit $ac_status); } &&
92068          { ac_try='test -z "$ac_c_werror_flag"
92069                          || test ! -s conftest.err'
92070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92071   (eval $ac_try) 2>&5
92072   ac_status=$?
92073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92074   (exit $ac_status); }; } &&
92075          { ac_try='test -s conftest$ac_exeext'
92076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92077   (eval $ac_try) 2>&5
92078   ac_status=$?
92079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92080   (exit $ac_status); }; }; then
92081   eval "$as_ac_var=yes"
92082 else
92083   echo "$as_me: failed program was:" >&5
92084 sed 's/^/| /' conftest.$ac_ext >&5
92085
92086 eval "$as_ac_var=no"
92087 fi
92088 rm -f conftest.err conftest.$ac_objext \
92089       conftest$ac_exeext conftest.$ac_ext
92090 fi
92091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92093 if test `eval echo '${'$as_ac_var'}'` = yes; then
92094   cat >>confdefs.h <<_ACEOF
92095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92096 _ACEOF
92097
92098 fi
92099 done
92100
92101   else
92102     echo "$as_me:$LINENO: checking for _float trig functions" >&5
92103 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
92104     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
92105   echo $ECHO_N "(cached) $ECHO_C" >&6
92106 else
92107
92108
92109
92110       ac_ext=cc
92111 ac_cpp='$CXXCPP $CPPFLAGS'
92112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92115
92116       cat >conftest.$ac_ext <<_ACEOF
92117 /* confdefs.h.  */
92118 _ACEOF
92119 cat confdefs.h >>conftest.$ac_ext
92120 cat >>conftest.$ac_ext <<_ACEOF
92121 /* end confdefs.h.  */
92122 #include <math.h>
92123 int
92124 main ()
92125 {
92126 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
92127   ;
92128   return 0;
92129 }
92130 _ACEOF
92131 rm -f conftest.$ac_objext
92132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92133   (eval $ac_compile) 2>conftest.er1
92134   ac_status=$?
92135   grep -v '^ *+' conftest.er1 >conftest.err
92136   rm -f conftest.er1
92137   cat conftest.err >&5
92138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92139   (exit $ac_status); } &&
92140          { ac_try='test -z "$ac_cxx_werror_flag"
92141                          || test ! -s conftest.err'
92142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92143   (eval $ac_try) 2>&5
92144   ac_status=$?
92145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92146   (exit $ac_status); }; } &&
92147          { ac_try='test -s conftest.$ac_objext'
92148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92149   (eval $ac_try) 2>&5
92150   ac_status=$?
92151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92152   (exit $ac_status); }; }; then
92153   glibcxx_cv_func__float_trig_use=yes
92154 else
92155   echo "$as_me: failed program was:" >&5
92156 sed 's/^/| /' conftest.$ac_ext >&5
92157
92158 glibcxx_cv_func__float_trig_use=no
92159 fi
92160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92161       ac_ext=c
92162 ac_cpp='$CPP $CPPFLAGS'
92163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92166
92167 fi
92168
92169     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
92170 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
92171     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
92172
92173
92174
92175
92176
92177
92178
92179
92180
92181 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
92182 do
92183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92184 echo "$as_me:$LINENO: checking for $ac_func" >&5
92185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92186 if eval "test \"\${$as_ac_var+set}\" = set"; then
92187   echo $ECHO_N "(cached) $ECHO_C" >&6
92188 else
92189   if test x$gcc_no_link = xyes; then
92190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92192    { (exit 1); exit 1; }; }
92193 fi
92194 cat >conftest.$ac_ext <<_ACEOF
92195 /* confdefs.h.  */
92196 _ACEOF
92197 cat confdefs.h >>conftest.$ac_ext
92198 cat >>conftest.$ac_ext <<_ACEOF
92199 /* end confdefs.h.  */
92200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92202 #define $ac_func innocuous_$ac_func
92203
92204 /* System header to define __stub macros and hopefully few prototypes,
92205     which can conflict with char $ac_func (); below.
92206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92207     <limits.h> exists even on freestanding compilers.  */
92208
92209 #ifdef __STDC__
92210 # include <limits.h>
92211 #else
92212 # include <assert.h>
92213 #endif
92214
92215 #undef $ac_func
92216
92217 /* Override any gcc2 internal prototype to avoid an error.  */
92218 #ifdef __cplusplus
92219 extern "C"
92220 {
92221 #endif
92222 /* We use char because int might match the return type of a gcc2
92223    builtin and then its argument prototype would still apply.  */
92224 char $ac_func ();
92225 /* The GNU C library defines this for functions which it implements
92226     to always fail with ENOSYS.  Some functions are actually named
92227     something starting with __ and the normal name is an alias.  */
92228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92229 choke me
92230 #else
92231 char (*f) () = $ac_func;
92232 #endif
92233 #ifdef __cplusplus
92234 }
92235 #endif
92236
92237 int
92238 main ()
92239 {
92240 return f != $ac_func;
92241   ;
92242   return 0;
92243 }
92244 _ACEOF
92245 rm -f conftest.$ac_objext conftest$ac_exeext
92246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92247   (eval $ac_link) 2>conftest.er1
92248   ac_status=$?
92249   grep -v '^ *+' conftest.er1 >conftest.err
92250   rm -f conftest.er1
92251   cat conftest.err >&5
92252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92253   (exit $ac_status); } &&
92254          { ac_try='test -z "$ac_c_werror_flag"
92255                          || test ! -s conftest.err'
92256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92257   (eval $ac_try) 2>&5
92258   ac_status=$?
92259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92260   (exit $ac_status); }; } &&
92261          { ac_try='test -s conftest$ac_exeext'
92262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92263   (eval $ac_try) 2>&5
92264   ac_status=$?
92265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92266   (exit $ac_status); }; }; then
92267   eval "$as_ac_var=yes"
92268 else
92269   echo "$as_me: failed program was:" >&5
92270 sed 's/^/| /' conftest.$ac_ext >&5
92271
92272 eval "$as_ac_var=no"
92273 fi
92274 rm -f conftest.err conftest.$ac_objext \
92275       conftest$ac_exeext conftest.$ac_ext
92276 fi
92277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92279 if test `eval echo '${'$as_ac_var'}'` = yes; then
92280   cat >>confdefs.h <<_ACEOF
92281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92282 _ACEOF
92283
92284 fi
92285 done
92286
92287     fi
92288   fi
92289
92290
92291
92292
92293
92294
92295
92296
92297
92298
92299
92300
92301
92302
92303     echo "$as_me:$LINENO: checking for float round functions" >&5
92304 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
92305   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
92306   echo $ECHO_N "(cached) $ECHO_C" >&6
92307 else
92308
92309
92310
92311     ac_ext=cc
92312 ac_cpp='$CXXCPP $CPPFLAGS'
92313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92316
92317     cat >conftest.$ac_ext <<_ACEOF
92318 /* confdefs.h.  */
92319 _ACEOF
92320 cat confdefs.h >>conftest.$ac_ext
92321 cat >>conftest.$ac_ext <<_ACEOF
92322 /* end confdefs.h.  */
92323 #include <math.h>
92324 int
92325 main ()
92326 {
92327 ceilf (0); floorf (0);
92328   ;
92329   return 0;
92330 }
92331 _ACEOF
92332 rm -f conftest.$ac_objext
92333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92334   (eval $ac_compile) 2>conftest.er1
92335   ac_status=$?
92336   grep -v '^ *+' conftest.er1 >conftest.err
92337   rm -f conftest.er1
92338   cat conftest.err >&5
92339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340   (exit $ac_status); } &&
92341          { ac_try='test -z "$ac_cxx_werror_flag"
92342                          || test ! -s conftest.err'
92343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92344   (eval $ac_try) 2>&5
92345   ac_status=$?
92346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92347   (exit $ac_status); }; } &&
92348          { ac_try='test -s conftest.$ac_objext'
92349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92350   (eval $ac_try) 2>&5
92351   ac_status=$?
92352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92353   (exit $ac_status); }; }; then
92354   glibcxx_cv_func_float_round_use=yes
92355 else
92356   echo "$as_me: failed program was:" >&5
92357 sed 's/^/| /' conftest.$ac_ext >&5
92358
92359 glibcxx_cv_func_float_round_use=no
92360 fi
92361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92362     ac_ext=c
92363 ac_cpp='$CPP $CPPFLAGS'
92364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92367
92368 fi
92369
92370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
92371 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
92372   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
92373
92374
92375 for ac_func in ceilf floorf
92376 do
92377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92378 echo "$as_me:$LINENO: checking for $ac_func" >&5
92379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92380 if eval "test \"\${$as_ac_var+set}\" = set"; then
92381   echo $ECHO_N "(cached) $ECHO_C" >&6
92382 else
92383   if test x$gcc_no_link = xyes; then
92384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92386    { (exit 1); exit 1; }; }
92387 fi
92388 cat >conftest.$ac_ext <<_ACEOF
92389 /* confdefs.h.  */
92390 _ACEOF
92391 cat confdefs.h >>conftest.$ac_ext
92392 cat >>conftest.$ac_ext <<_ACEOF
92393 /* end confdefs.h.  */
92394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92396 #define $ac_func innocuous_$ac_func
92397
92398 /* System header to define __stub macros and hopefully few prototypes,
92399     which can conflict with char $ac_func (); below.
92400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92401     <limits.h> exists even on freestanding compilers.  */
92402
92403 #ifdef __STDC__
92404 # include <limits.h>
92405 #else
92406 # include <assert.h>
92407 #endif
92408
92409 #undef $ac_func
92410
92411 /* Override any gcc2 internal prototype to avoid an error.  */
92412 #ifdef __cplusplus
92413 extern "C"
92414 {
92415 #endif
92416 /* We use char because int might match the return type of a gcc2
92417    builtin and then its argument prototype would still apply.  */
92418 char $ac_func ();
92419 /* The GNU C library defines this for functions which it implements
92420     to always fail with ENOSYS.  Some functions are actually named
92421     something starting with __ and the normal name is an alias.  */
92422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92423 choke me
92424 #else
92425 char (*f) () = $ac_func;
92426 #endif
92427 #ifdef __cplusplus
92428 }
92429 #endif
92430
92431 int
92432 main ()
92433 {
92434 return f != $ac_func;
92435   ;
92436   return 0;
92437 }
92438 _ACEOF
92439 rm -f conftest.$ac_objext conftest$ac_exeext
92440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92441   (eval $ac_link) 2>conftest.er1
92442   ac_status=$?
92443   grep -v '^ *+' conftest.er1 >conftest.err
92444   rm -f conftest.er1
92445   cat conftest.err >&5
92446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447   (exit $ac_status); } &&
92448          { ac_try='test -z "$ac_c_werror_flag"
92449                          || test ! -s conftest.err'
92450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92451   (eval $ac_try) 2>&5
92452   ac_status=$?
92453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92454   (exit $ac_status); }; } &&
92455          { ac_try='test -s conftest$ac_exeext'
92456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92457   (eval $ac_try) 2>&5
92458   ac_status=$?
92459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92460   (exit $ac_status); }; }; then
92461   eval "$as_ac_var=yes"
92462 else
92463   echo "$as_me: failed program was:" >&5
92464 sed 's/^/| /' conftest.$ac_ext >&5
92465
92466 eval "$as_ac_var=no"
92467 fi
92468 rm -f conftest.err conftest.$ac_objext \
92469       conftest$ac_exeext conftest.$ac_ext
92470 fi
92471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92473 if test `eval echo '${'$as_ac_var'}'` = yes; then
92474   cat >>confdefs.h <<_ACEOF
92475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92476 _ACEOF
92477
92478 fi
92479 done
92480
92481   else
92482     echo "$as_me:$LINENO: checking for _float round functions" >&5
92483 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
92484     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
92485   echo $ECHO_N "(cached) $ECHO_C" >&6
92486 else
92487
92488
92489
92490       ac_ext=cc
92491 ac_cpp='$CXXCPP $CPPFLAGS'
92492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92495
92496       cat >conftest.$ac_ext <<_ACEOF
92497 /* confdefs.h.  */
92498 _ACEOF
92499 cat confdefs.h >>conftest.$ac_ext
92500 cat >>conftest.$ac_ext <<_ACEOF
92501 /* end confdefs.h.  */
92502 #include <math.h>
92503 int
92504 main ()
92505 {
92506 _ceilf (0); _floorf (0);
92507   ;
92508   return 0;
92509 }
92510 _ACEOF
92511 rm -f conftest.$ac_objext
92512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92513   (eval $ac_compile) 2>conftest.er1
92514   ac_status=$?
92515   grep -v '^ *+' conftest.er1 >conftest.err
92516   rm -f conftest.er1
92517   cat conftest.err >&5
92518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92519   (exit $ac_status); } &&
92520          { ac_try='test -z "$ac_cxx_werror_flag"
92521                          || test ! -s conftest.err'
92522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92523   (eval $ac_try) 2>&5
92524   ac_status=$?
92525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92526   (exit $ac_status); }; } &&
92527          { ac_try='test -s conftest.$ac_objext'
92528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92529   (eval $ac_try) 2>&5
92530   ac_status=$?
92531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92532   (exit $ac_status); }; }; then
92533   glibcxx_cv_func__float_round_use=yes
92534 else
92535   echo "$as_me: failed program was:" >&5
92536 sed 's/^/| /' conftest.$ac_ext >&5
92537
92538 glibcxx_cv_func__float_round_use=no
92539 fi
92540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92541       ac_ext=c
92542 ac_cpp='$CPP $CPPFLAGS'
92543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92546
92547 fi
92548
92549     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
92550 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
92551     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
92552
92553
92554 for ac_func in _ceilf _floorf
92555 do
92556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92557 echo "$as_me:$LINENO: checking for $ac_func" >&5
92558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92559 if eval "test \"\${$as_ac_var+set}\" = set"; then
92560   echo $ECHO_N "(cached) $ECHO_C" >&6
92561 else
92562   if test x$gcc_no_link = xyes; then
92563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92565    { (exit 1); exit 1; }; }
92566 fi
92567 cat >conftest.$ac_ext <<_ACEOF
92568 /* confdefs.h.  */
92569 _ACEOF
92570 cat confdefs.h >>conftest.$ac_ext
92571 cat >>conftest.$ac_ext <<_ACEOF
92572 /* end confdefs.h.  */
92573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92575 #define $ac_func innocuous_$ac_func
92576
92577 /* System header to define __stub macros and hopefully few prototypes,
92578     which can conflict with char $ac_func (); below.
92579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92580     <limits.h> exists even on freestanding compilers.  */
92581
92582 #ifdef __STDC__
92583 # include <limits.h>
92584 #else
92585 # include <assert.h>
92586 #endif
92587
92588 #undef $ac_func
92589
92590 /* Override any gcc2 internal prototype to avoid an error.  */
92591 #ifdef __cplusplus
92592 extern "C"
92593 {
92594 #endif
92595 /* We use char because int might match the return type of a gcc2
92596    builtin and then its argument prototype would still apply.  */
92597 char $ac_func ();
92598 /* The GNU C library defines this for functions which it implements
92599     to always fail with ENOSYS.  Some functions are actually named
92600     something starting with __ and the normal name is an alias.  */
92601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92602 choke me
92603 #else
92604 char (*f) () = $ac_func;
92605 #endif
92606 #ifdef __cplusplus
92607 }
92608 #endif
92609
92610 int
92611 main ()
92612 {
92613 return f != $ac_func;
92614   ;
92615   return 0;
92616 }
92617 _ACEOF
92618 rm -f conftest.$ac_objext conftest$ac_exeext
92619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92620   (eval $ac_link) 2>conftest.er1
92621   ac_status=$?
92622   grep -v '^ *+' conftest.er1 >conftest.err
92623   rm -f conftest.er1
92624   cat conftest.err >&5
92625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92626   (exit $ac_status); } &&
92627          { ac_try='test -z "$ac_c_werror_flag"
92628                          || test ! -s conftest.err'
92629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92630   (eval $ac_try) 2>&5
92631   ac_status=$?
92632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92633   (exit $ac_status); }; } &&
92634          { ac_try='test -s conftest$ac_exeext'
92635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92636   (eval $ac_try) 2>&5
92637   ac_status=$?
92638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92639   (exit $ac_status); }; }; then
92640   eval "$as_ac_var=yes"
92641 else
92642   echo "$as_me: failed program was:" >&5
92643 sed 's/^/| /' conftest.$ac_ext >&5
92644
92645 eval "$as_ac_var=no"
92646 fi
92647 rm -f conftest.err conftest.$ac_objext \
92648       conftest$ac_exeext conftest.$ac_ext
92649 fi
92650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92652 if test `eval echo '${'$as_ac_var'}'` = yes; then
92653   cat >>confdefs.h <<_ACEOF
92654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92655 _ACEOF
92656
92657 fi
92658 done
92659
92660     fi
92661   fi
92662
92663
92664
92665
92666
92667
92668
92669
92670   echo "$as_me:$LINENO: checking for expf declaration" >&5
92671 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
92672   if test x${glibcxx_cv_func_expf_use+set} != xset; then
92673     if test "${glibcxx_cv_func_expf_use+set}" = set; then
92674   echo $ECHO_N "(cached) $ECHO_C" >&6
92675 else
92676
92677
92678
92679       ac_ext=cc
92680 ac_cpp='$CXXCPP $CPPFLAGS'
92681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92684
92685       cat >conftest.$ac_ext <<_ACEOF
92686 /* confdefs.h.  */
92687 _ACEOF
92688 cat confdefs.h >>conftest.$ac_ext
92689 cat >>conftest.$ac_ext <<_ACEOF
92690 /* end confdefs.h.  */
92691 #include <math.h>
92692                       #ifdef HAVE_IEEEFP_H
92693                       #include <ieeefp.h>
92694                       #endif
92695
92696 int
92697 main ()
92698 {
92699  expf(0);
92700   ;
92701   return 0;
92702 }
92703 _ACEOF
92704 rm -f conftest.$ac_objext
92705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92706   (eval $ac_compile) 2>conftest.er1
92707   ac_status=$?
92708   grep -v '^ *+' conftest.er1 >conftest.err
92709   rm -f conftest.er1
92710   cat conftest.err >&5
92711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712   (exit $ac_status); } &&
92713          { ac_try='test -z "$ac_cxx_werror_flag"
92714                          || test ! -s conftest.err'
92715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92716   (eval $ac_try) 2>&5
92717   ac_status=$?
92718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92719   (exit $ac_status); }; } &&
92720          { ac_try='test -s conftest.$ac_objext'
92721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92722   (eval $ac_try) 2>&5
92723   ac_status=$?
92724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92725   (exit $ac_status); }; }; then
92726   glibcxx_cv_func_expf_use=yes
92727 else
92728   echo "$as_me: failed program was:" >&5
92729 sed 's/^/| /' conftest.$ac_ext >&5
92730
92731 glibcxx_cv_func_expf_use=no
92732 fi
92733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92734       ac_ext=c
92735 ac_cpp='$CPP $CPPFLAGS'
92736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92739
92740
92741 fi
92742
92743   fi
92744   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
92745 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
92746
92747   if test x$glibcxx_cv_func_expf_use = x"yes"; then
92748
92749 for ac_func in expf
92750 do
92751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92752 echo "$as_me:$LINENO: checking for $ac_func" >&5
92753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92754 if eval "test \"\${$as_ac_var+set}\" = set"; then
92755   echo $ECHO_N "(cached) $ECHO_C" >&6
92756 else
92757   if test x$gcc_no_link = xyes; then
92758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92760    { (exit 1); exit 1; }; }
92761 fi
92762 cat >conftest.$ac_ext <<_ACEOF
92763 /* confdefs.h.  */
92764 _ACEOF
92765 cat confdefs.h >>conftest.$ac_ext
92766 cat >>conftest.$ac_ext <<_ACEOF
92767 /* end confdefs.h.  */
92768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92770 #define $ac_func innocuous_$ac_func
92771
92772 /* System header to define __stub macros and hopefully few prototypes,
92773     which can conflict with char $ac_func (); below.
92774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92775     <limits.h> exists even on freestanding compilers.  */
92776
92777 #ifdef __STDC__
92778 # include <limits.h>
92779 #else
92780 # include <assert.h>
92781 #endif
92782
92783 #undef $ac_func
92784
92785 /* Override any gcc2 internal prototype to avoid an error.  */
92786 #ifdef __cplusplus
92787 extern "C"
92788 {
92789 #endif
92790 /* We use char because int might match the return type of a gcc2
92791    builtin and then its argument prototype would still apply.  */
92792 char $ac_func ();
92793 /* The GNU C library defines this for functions which it implements
92794     to always fail with ENOSYS.  Some functions are actually named
92795     something starting with __ and the normal name is an alias.  */
92796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92797 choke me
92798 #else
92799 char (*f) () = $ac_func;
92800 #endif
92801 #ifdef __cplusplus
92802 }
92803 #endif
92804
92805 int
92806 main ()
92807 {
92808 return f != $ac_func;
92809   ;
92810   return 0;
92811 }
92812 _ACEOF
92813 rm -f conftest.$ac_objext conftest$ac_exeext
92814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92815   (eval $ac_link) 2>conftest.er1
92816   ac_status=$?
92817   grep -v '^ *+' conftest.er1 >conftest.err
92818   rm -f conftest.er1
92819   cat conftest.err >&5
92820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821   (exit $ac_status); } &&
92822          { ac_try='test -z "$ac_c_werror_flag"
92823                          || test ! -s conftest.err'
92824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92825   (eval $ac_try) 2>&5
92826   ac_status=$?
92827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92828   (exit $ac_status); }; } &&
92829          { ac_try='test -s conftest$ac_exeext'
92830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92831   (eval $ac_try) 2>&5
92832   ac_status=$?
92833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92834   (exit $ac_status); }; }; then
92835   eval "$as_ac_var=yes"
92836 else
92837   echo "$as_me: failed program was:" >&5
92838 sed 's/^/| /' conftest.$ac_ext >&5
92839
92840 eval "$as_ac_var=no"
92841 fi
92842 rm -f conftest.err conftest.$ac_objext \
92843       conftest$ac_exeext conftest.$ac_ext
92844 fi
92845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92847 if test `eval echo '${'$as_ac_var'}'` = yes; then
92848   cat >>confdefs.h <<_ACEOF
92849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92850 _ACEOF
92851
92852 fi
92853 done
92854
92855   else
92856
92857   echo "$as_me:$LINENO: checking for _expf declaration" >&5
92858 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
92859   if test x${glibcxx_cv_func__expf_use+set} != xset; then
92860     if test "${glibcxx_cv_func__expf_use+set}" = set; then
92861   echo $ECHO_N "(cached) $ECHO_C" >&6
92862 else
92863
92864
92865
92866       ac_ext=cc
92867 ac_cpp='$CXXCPP $CPPFLAGS'
92868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92871
92872       cat >conftest.$ac_ext <<_ACEOF
92873 /* confdefs.h.  */
92874 _ACEOF
92875 cat confdefs.h >>conftest.$ac_ext
92876 cat >>conftest.$ac_ext <<_ACEOF
92877 /* end confdefs.h.  */
92878 #include <math.h>
92879                       #ifdef HAVE_IEEEFP_H
92880                       #include <ieeefp.h>
92881                       #endif
92882
92883 int
92884 main ()
92885 {
92886  _expf(0);
92887   ;
92888   return 0;
92889 }
92890 _ACEOF
92891 rm -f conftest.$ac_objext
92892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92893   (eval $ac_compile) 2>conftest.er1
92894   ac_status=$?
92895   grep -v '^ *+' conftest.er1 >conftest.err
92896   rm -f conftest.er1
92897   cat conftest.err >&5
92898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92899   (exit $ac_status); } &&
92900          { ac_try='test -z "$ac_cxx_werror_flag"
92901                          || test ! -s conftest.err'
92902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92903   (eval $ac_try) 2>&5
92904   ac_status=$?
92905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92906   (exit $ac_status); }; } &&
92907          { ac_try='test -s conftest.$ac_objext'
92908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92909   (eval $ac_try) 2>&5
92910   ac_status=$?
92911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92912   (exit $ac_status); }; }; then
92913   glibcxx_cv_func__expf_use=yes
92914 else
92915   echo "$as_me: failed program was:" >&5
92916 sed 's/^/| /' conftest.$ac_ext >&5
92917
92918 glibcxx_cv_func__expf_use=no
92919 fi
92920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92921       ac_ext=c
92922 ac_cpp='$CPP $CPPFLAGS'
92923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92926
92927
92928 fi
92929
92930   fi
92931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92932 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92933
92934     if test x$glibcxx_cv_func__expf_use = x"yes"; then
92935
92936 for ac_func in _expf
92937 do
92938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92939 echo "$as_me:$LINENO: checking for $ac_func" >&5
92940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92941 if eval "test \"\${$as_ac_var+set}\" = set"; then
92942   echo $ECHO_N "(cached) $ECHO_C" >&6
92943 else
92944   if test x$gcc_no_link = xyes; then
92945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92947    { (exit 1); exit 1; }; }
92948 fi
92949 cat >conftest.$ac_ext <<_ACEOF
92950 /* confdefs.h.  */
92951 _ACEOF
92952 cat confdefs.h >>conftest.$ac_ext
92953 cat >>conftest.$ac_ext <<_ACEOF
92954 /* end confdefs.h.  */
92955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92957 #define $ac_func innocuous_$ac_func
92958
92959 /* System header to define __stub macros and hopefully few prototypes,
92960     which can conflict with char $ac_func (); below.
92961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92962     <limits.h> exists even on freestanding compilers.  */
92963
92964 #ifdef __STDC__
92965 # include <limits.h>
92966 #else
92967 # include <assert.h>
92968 #endif
92969
92970 #undef $ac_func
92971
92972 /* Override any gcc2 internal prototype to avoid an error.  */
92973 #ifdef __cplusplus
92974 extern "C"
92975 {
92976 #endif
92977 /* We use char because int might match the return type of a gcc2
92978    builtin and then its argument prototype would still apply.  */
92979 char $ac_func ();
92980 /* The GNU C library defines this for functions which it implements
92981     to always fail with ENOSYS.  Some functions are actually named
92982     something starting with __ and the normal name is an alias.  */
92983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92984 choke me
92985 #else
92986 char (*f) () = $ac_func;
92987 #endif
92988 #ifdef __cplusplus
92989 }
92990 #endif
92991
92992 int
92993 main ()
92994 {
92995 return f != $ac_func;
92996   ;
92997   return 0;
92998 }
92999 _ACEOF
93000 rm -f conftest.$ac_objext conftest$ac_exeext
93001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93002   (eval $ac_link) 2>conftest.er1
93003   ac_status=$?
93004   grep -v '^ *+' conftest.er1 >conftest.err
93005   rm -f conftest.er1
93006   cat conftest.err >&5
93007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93008   (exit $ac_status); } &&
93009          { ac_try='test -z "$ac_c_werror_flag"
93010                          || test ! -s conftest.err'
93011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93012   (eval $ac_try) 2>&5
93013   ac_status=$?
93014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93015   (exit $ac_status); }; } &&
93016          { ac_try='test -s conftest$ac_exeext'
93017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93018   (eval $ac_try) 2>&5
93019   ac_status=$?
93020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93021   (exit $ac_status); }; }; then
93022   eval "$as_ac_var=yes"
93023 else
93024   echo "$as_me: failed program was:" >&5
93025 sed 's/^/| /' conftest.$ac_ext >&5
93026
93027 eval "$as_ac_var=no"
93028 fi
93029 rm -f conftest.err conftest.$ac_objext \
93030       conftest$ac_exeext conftest.$ac_ext
93031 fi
93032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93034 if test `eval echo '${'$as_ac_var'}'` = yes; then
93035   cat >>confdefs.h <<_ACEOF
93036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93037 _ACEOF
93038
93039 fi
93040 done
93041
93042     fi
93043   fi
93044
93045
93046
93047
93048
93049
93050   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
93051 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
93052   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
93053     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
93054   echo $ECHO_N "(cached) $ECHO_C" >&6
93055 else
93056
93057
93058
93059       ac_ext=cc
93060 ac_cpp='$CXXCPP $CPPFLAGS'
93061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93064
93065       cat >conftest.$ac_ext <<_ACEOF
93066 /* confdefs.h.  */
93067 _ACEOF
93068 cat confdefs.h >>conftest.$ac_ext
93069 cat >>conftest.$ac_ext <<_ACEOF
93070 /* end confdefs.h.  */
93071 #include <math.h>
93072                       #ifdef HAVE_IEEEFP_H
93073                       #include <ieeefp.h>
93074                       #endif
93075
93076 int
93077 main ()
93078 {
93079  isnanf(0);
93080   ;
93081   return 0;
93082 }
93083 _ACEOF
93084 rm -f conftest.$ac_objext
93085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93086   (eval $ac_compile) 2>conftest.er1
93087   ac_status=$?
93088   grep -v '^ *+' conftest.er1 >conftest.err
93089   rm -f conftest.er1
93090   cat conftest.err >&5
93091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93092   (exit $ac_status); } &&
93093          { ac_try='test -z "$ac_cxx_werror_flag"
93094                          || test ! -s conftest.err'
93095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93096   (eval $ac_try) 2>&5
93097   ac_status=$?
93098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93099   (exit $ac_status); }; } &&
93100          { ac_try='test -s conftest.$ac_objext'
93101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93102   (eval $ac_try) 2>&5
93103   ac_status=$?
93104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93105   (exit $ac_status); }; }; then
93106   glibcxx_cv_func_isnanf_use=yes
93107 else
93108   echo "$as_me: failed program was:" >&5
93109 sed 's/^/| /' conftest.$ac_ext >&5
93110
93111 glibcxx_cv_func_isnanf_use=no
93112 fi
93113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93114       ac_ext=c
93115 ac_cpp='$CPP $CPPFLAGS'
93116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93119
93120
93121 fi
93122
93123   fi
93124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
93125 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
93126
93127   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
93128
93129 for ac_func in isnanf
93130 do
93131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93132 echo "$as_me:$LINENO: checking for $ac_func" >&5
93133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93134 if eval "test \"\${$as_ac_var+set}\" = set"; then
93135   echo $ECHO_N "(cached) $ECHO_C" >&6
93136 else
93137   if test x$gcc_no_link = xyes; then
93138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93140    { (exit 1); exit 1; }; }
93141 fi
93142 cat >conftest.$ac_ext <<_ACEOF
93143 /* confdefs.h.  */
93144 _ACEOF
93145 cat confdefs.h >>conftest.$ac_ext
93146 cat >>conftest.$ac_ext <<_ACEOF
93147 /* end confdefs.h.  */
93148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93150 #define $ac_func innocuous_$ac_func
93151
93152 /* System header to define __stub macros and hopefully few prototypes,
93153     which can conflict with char $ac_func (); below.
93154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93155     <limits.h> exists even on freestanding compilers.  */
93156
93157 #ifdef __STDC__
93158 # include <limits.h>
93159 #else
93160 # include <assert.h>
93161 #endif
93162
93163 #undef $ac_func
93164
93165 /* Override any gcc2 internal prototype to avoid an error.  */
93166 #ifdef __cplusplus
93167 extern "C"
93168 {
93169 #endif
93170 /* We use char because int might match the return type of a gcc2
93171    builtin and then its argument prototype would still apply.  */
93172 char $ac_func ();
93173 /* The GNU C library defines this for functions which it implements
93174     to always fail with ENOSYS.  Some functions are actually named
93175     something starting with __ and the normal name is an alias.  */
93176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93177 choke me
93178 #else
93179 char (*f) () = $ac_func;
93180 #endif
93181 #ifdef __cplusplus
93182 }
93183 #endif
93184
93185 int
93186 main ()
93187 {
93188 return f != $ac_func;
93189   ;
93190   return 0;
93191 }
93192 _ACEOF
93193 rm -f conftest.$ac_objext conftest$ac_exeext
93194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93195   (eval $ac_link) 2>conftest.er1
93196   ac_status=$?
93197   grep -v '^ *+' conftest.er1 >conftest.err
93198   rm -f conftest.er1
93199   cat conftest.err >&5
93200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93201   (exit $ac_status); } &&
93202          { ac_try='test -z "$ac_c_werror_flag"
93203                          || test ! -s conftest.err'
93204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93205   (eval $ac_try) 2>&5
93206   ac_status=$?
93207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93208   (exit $ac_status); }; } &&
93209          { ac_try='test -s conftest$ac_exeext'
93210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93211   (eval $ac_try) 2>&5
93212   ac_status=$?
93213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93214   (exit $ac_status); }; }; then
93215   eval "$as_ac_var=yes"
93216 else
93217   echo "$as_me: failed program was:" >&5
93218 sed 's/^/| /' conftest.$ac_ext >&5
93219
93220 eval "$as_ac_var=no"
93221 fi
93222 rm -f conftest.err conftest.$ac_objext \
93223       conftest$ac_exeext conftest.$ac_ext
93224 fi
93225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93227 if test `eval echo '${'$as_ac_var'}'` = yes; then
93228   cat >>confdefs.h <<_ACEOF
93229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93230 _ACEOF
93231
93232 fi
93233 done
93234
93235   else
93236
93237   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
93238 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
93239   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
93240     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
93241   echo $ECHO_N "(cached) $ECHO_C" >&6
93242 else
93243
93244
93245
93246       ac_ext=cc
93247 ac_cpp='$CXXCPP $CPPFLAGS'
93248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93251
93252       cat >conftest.$ac_ext <<_ACEOF
93253 /* confdefs.h.  */
93254 _ACEOF
93255 cat confdefs.h >>conftest.$ac_ext
93256 cat >>conftest.$ac_ext <<_ACEOF
93257 /* end confdefs.h.  */
93258 #include <math.h>
93259                       #ifdef HAVE_IEEEFP_H
93260                       #include <ieeefp.h>
93261                       #endif
93262
93263 int
93264 main ()
93265 {
93266  _isnanf(0);
93267   ;
93268   return 0;
93269 }
93270 _ACEOF
93271 rm -f conftest.$ac_objext
93272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93273   (eval $ac_compile) 2>conftest.er1
93274   ac_status=$?
93275   grep -v '^ *+' conftest.er1 >conftest.err
93276   rm -f conftest.er1
93277   cat conftest.err >&5
93278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93279   (exit $ac_status); } &&
93280          { ac_try='test -z "$ac_cxx_werror_flag"
93281                          || test ! -s conftest.err'
93282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93283   (eval $ac_try) 2>&5
93284   ac_status=$?
93285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93286   (exit $ac_status); }; } &&
93287          { ac_try='test -s conftest.$ac_objext'
93288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93289   (eval $ac_try) 2>&5
93290   ac_status=$?
93291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93292   (exit $ac_status); }; }; then
93293   glibcxx_cv_func__isnanf_use=yes
93294 else
93295   echo "$as_me: failed program was:" >&5
93296 sed 's/^/| /' conftest.$ac_ext >&5
93297
93298 glibcxx_cv_func__isnanf_use=no
93299 fi
93300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93301       ac_ext=c
93302 ac_cpp='$CPP $CPPFLAGS'
93303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93306
93307
93308 fi
93309
93310   fi
93311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
93312 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
93313
93314     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
93315
93316 for ac_func in _isnanf
93317 do
93318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93319 echo "$as_me:$LINENO: checking for $ac_func" >&5
93320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93321 if eval "test \"\${$as_ac_var+set}\" = set"; then
93322   echo $ECHO_N "(cached) $ECHO_C" >&6
93323 else
93324   if test x$gcc_no_link = xyes; then
93325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93327    { (exit 1); exit 1; }; }
93328 fi
93329 cat >conftest.$ac_ext <<_ACEOF
93330 /* confdefs.h.  */
93331 _ACEOF
93332 cat confdefs.h >>conftest.$ac_ext
93333 cat >>conftest.$ac_ext <<_ACEOF
93334 /* end confdefs.h.  */
93335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93337 #define $ac_func innocuous_$ac_func
93338
93339 /* System header to define __stub macros and hopefully few prototypes,
93340     which can conflict with char $ac_func (); below.
93341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93342     <limits.h> exists even on freestanding compilers.  */
93343
93344 #ifdef __STDC__
93345 # include <limits.h>
93346 #else
93347 # include <assert.h>
93348 #endif
93349
93350 #undef $ac_func
93351
93352 /* Override any gcc2 internal prototype to avoid an error.  */
93353 #ifdef __cplusplus
93354 extern "C"
93355 {
93356 #endif
93357 /* We use char because int might match the return type of a gcc2
93358    builtin and then its argument prototype would still apply.  */
93359 char $ac_func ();
93360 /* The GNU C library defines this for functions which it implements
93361     to always fail with ENOSYS.  Some functions are actually named
93362     something starting with __ and the normal name is an alias.  */
93363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93364 choke me
93365 #else
93366 char (*f) () = $ac_func;
93367 #endif
93368 #ifdef __cplusplus
93369 }
93370 #endif
93371
93372 int
93373 main ()
93374 {
93375 return f != $ac_func;
93376   ;
93377   return 0;
93378 }
93379 _ACEOF
93380 rm -f conftest.$ac_objext conftest$ac_exeext
93381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93382   (eval $ac_link) 2>conftest.er1
93383   ac_status=$?
93384   grep -v '^ *+' conftest.er1 >conftest.err
93385   rm -f conftest.er1
93386   cat conftest.err >&5
93387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93388   (exit $ac_status); } &&
93389          { ac_try='test -z "$ac_c_werror_flag"
93390                          || test ! -s conftest.err'
93391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93392   (eval $ac_try) 2>&5
93393   ac_status=$?
93394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93395   (exit $ac_status); }; } &&
93396          { ac_try='test -s conftest$ac_exeext'
93397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93398   (eval $ac_try) 2>&5
93399   ac_status=$?
93400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93401   (exit $ac_status); }; }; then
93402   eval "$as_ac_var=yes"
93403 else
93404   echo "$as_me: failed program was:" >&5
93405 sed 's/^/| /' conftest.$ac_ext >&5
93406
93407 eval "$as_ac_var=no"
93408 fi
93409 rm -f conftest.err conftest.$ac_objext \
93410       conftest$ac_exeext conftest.$ac_ext
93411 fi
93412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93414 if test `eval echo '${'$as_ac_var'}'` = yes; then
93415   cat >>confdefs.h <<_ACEOF
93416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93417 _ACEOF
93418
93419 fi
93420 done
93421
93422     fi
93423   fi
93424
93425
93426
93427
93428
93429
93430   echo "$as_me:$LINENO: checking for isinff declaration" >&5
93431 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
93432   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
93433     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
93434   echo $ECHO_N "(cached) $ECHO_C" >&6
93435 else
93436
93437
93438
93439       ac_ext=cc
93440 ac_cpp='$CXXCPP $CPPFLAGS'
93441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93444
93445       cat >conftest.$ac_ext <<_ACEOF
93446 /* confdefs.h.  */
93447 _ACEOF
93448 cat confdefs.h >>conftest.$ac_ext
93449 cat >>conftest.$ac_ext <<_ACEOF
93450 /* end confdefs.h.  */
93451 #include <math.h>
93452                       #ifdef HAVE_IEEEFP_H
93453                       #include <ieeefp.h>
93454                       #endif
93455
93456 int
93457 main ()
93458 {
93459  isinff(0);
93460   ;
93461   return 0;
93462 }
93463 _ACEOF
93464 rm -f conftest.$ac_objext
93465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93466   (eval $ac_compile) 2>conftest.er1
93467   ac_status=$?
93468   grep -v '^ *+' conftest.er1 >conftest.err
93469   rm -f conftest.er1
93470   cat conftest.err >&5
93471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93472   (exit $ac_status); } &&
93473          { ac_try='test -z "$ac_cxx_werror_flag"
93474                          || test ! -s conftest.err'
93475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93476   (eval $ac_try) 2>&5
93477   ac_status=$?
93478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93479   (exit $ac_status); }; } &&
93480          { ac_try='test -s conftest.$ac_objext'
93481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93482   (eval $ac_try) 2>&5
93483   ac_status=$?
93484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93485   (exit $ac_status); }; }; then
93486   glibcxx_cv_func_isinff_use=yes
93487 else
93488   echo "$as_me: failed program was:" >&5
93489 sed 's/^/| /' conftest.$ac_ext >&5
93490
93491 glibcxx_cv_func_isinff_use=no
93492 fi
93493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93494       ac_ext=c
93495 ac_cpp='$CPP $CPPFLAGS'
93496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93499
93500
93501 fi
93502
93503   fi
93504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
93505 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
93506
93507   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
93508
93509 for ac_func in isinff
93510 do
93511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93512 echo "$as_me:$LINENO: checking for $ac_func" >&5
93513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93514 if eval "test \"\${$as_ac_var+set}\" = set"; then
93515   echo $ECHO_N "(cached) $ECHO_C" >&6
93516 else
93517   if test x$gcc_no_link = xyes; then
93518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93520    { (exit 1); exit 1; }; }
93521 fi
93522 cat >conftest.$ac_ext <<_ACEOF
93523 /* confdefs.h.  */
93524 _ACEOF
93525 cat confdefs.h >>conftest.$ac_ext
93526 cat >>conftest.$ac_ext <<_ACEOF
93527 /* end confdefs.h.  */
93528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93530 #define $ac_func innocuous_$ac_func
93531
93532 /* System header to define __stub macros and hopefully few prototypes,
93533     which can conflict with char $ac_func (); below.
93534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93535     <limits.h> exists even on freestanding compilers.  */
93536
93537 #ifdef __STDC__
93538 # include <limits.h>
93539 #else
93540 # include <assert.h>
93541 #endif
93542
93543 #undef $ac_func
93544
93545 /* Override any gcc2 internal prototype to avoid an error.  */
93546 #ifdef __cplusplus
93547 extern "C"
93548 {
93549 #endif
93550 /* We use char because int might match the return type of a gcc2
93551    builtin and then its argument prototype would still apply.  */
93552 char $ac_func ();
93553 /* The GNU C library defines this for functions which it implements
93554     to always fail with ENOSYS.  Some functions are actually named
93555     something starting with __ and the normal name is an alias.  */
93556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93557 choke me
93558 #else
93559 char (*f) () = $ac_func;
93560 #endif
93561 #ifdef __cplusplus
93562 }
93563 #endif
93564
93565 int
93566 main ()
93567 {
93568 return f != $ac_func;
93569   ;
93570   return 0;
93571 }
93572 _ACEOF
93573 rm -f conftest.$ac_objext conftest$ac_exeext
93574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93575   (eval $ac_link) 2>conftest.er1
93576   ac_status=$?
93577   grep -v '^ *+' conftest.er1 >conftest.err
93578   rm -f conftest.er1
93579   cat conftest.err >&5
93580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93581   (exit $ac_status); } &&
93582          { ac_try='test -z "$ac_c_werror_flag"
93583                          || test ! -s conftest.err'
93584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93585   (eval $ac_try) 2>&5
93586   ac_status=$?
93587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93588   (exit $ac_status); }; } &&
93589          { ac_try='test -s conftest$ac_exeext'
93590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93591   (eval $ac_try) 2>&5
93592   ac_status=$?
93593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93594   (exit $ac_status); }; }; then
93595   eval "$as_ac_var=yes"
93596 else
93597   echo "$as_me: failed program was:" >&5
93598 sed 's/^/| /' conftest.$ac_ext >&5
93599
93600 eval "$as_ac_var=no"
93601 fi
93602 rm -f conftest.err conftest.$ac_objext \
93603       conftest$ac_exeext conftest.$ac_ext
93604 fi
93605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93607 if test `eval echo '${'$as_ac_var'}'` = yes; then
93608   cat >>confdefs.h <<_ACEOF
93609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93610 _ACEOF
93611
93612 fi
93613 done
93614
93615   else
93616
93617   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
93618 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
93619   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
93620     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
93621   echo $ECHO_N "(cached) $ECHO_C" >&6
93622 else
93623
93624
93625
93626       ac_ext=cc
93627 ac_cpp='$CXXCPP $CPPFLAGS'
93628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93631
93632       cat >conftest.$ac_ext <<_ACEOF
93633 /* confdefs.h.  */
93634 _ACEOF
93635 cat confdefs.h >>conftest.$ac_ext
93636 cat >>conftest.$ac_ext <<_ACEOF
93637 /* end confdefs.h.  */
93638 #include <math.h>
93639                       #ifdef HAVE_IEEEFP_H
93640                       #include <ieeefp.h>
93641                       #endif
93642
93643 int
93644 main ()
93645 {
93646  _isinff(0);
93647   ;
93648   return 0;
93649 }
93650 _ACEOF
93651 rm -f conftest.$ac_objext
93652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93653   (eval $ac_compile) 2>conftest.er1
93654   ac_status=$?
93655   grep -v '^ *+' conftest.er1 >conftest.err
93656   rm -f conftest.er1
93657   cat conftest.err >&5
93658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659   (exit $ac_status); } &&
93660          { ac_try='test -z "$ac_cxx_werror_flag"
93661                          || test ! -s conftest.err'
93662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663   (eval $ac_try) 2>&5
93664   ac_status=$?
93665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666   (exit $ac_status); }; } &&
93667          { ac_try='test -s conftest.$ac_objext'
93668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669   (eval $ac_try) 2>&5
93670   ac_status=$?
93671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672   (exit $ac_status); }; }; then
93673   glibcxx_cv_func__isinff_use=yes
93674 else
93675   echo "$as_me: failed program was:" >&5
93676 sed 's/^/| /' conftest.$ac_ext >&5
93677
93678 glibcxx_cv_func__isinff_use=no
93679 fi
93680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93681       ac_ext=c
93682 ac_cpp='$CPP $CPPFLAGS'
93683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93686
93687
93688 fi
93689
93690   fi
93691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
93692 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
93693
93694     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
93695
93696 for ac_func in _isinff
93697 do
93698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93699 echo "$as_me:$LINENO: checking for $ac_func" >&5
93700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93701 if eval "test \"\${$as_ac_var+set}\" = set"; then
93702   echo $ECHO_N "(cached) $ECHO_C" >&6
93703 else
93704   if test x$gcc_no_link = xyes; then
93705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93707    { (exit 1); exit 1; }; }
93708 fi
93709 cat >conftest.$ac_ext <<_ACEOF
93710 /* confdefs.h.  */
93711 _ACEOF
93712 cat confdefs.h >>conftest.$ac_ext
93713 cat >>conftest.$ac_ext <<_ACEOF
93714 /* end confdefs.h.  */
93715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93717 #define $ac_func innocuous_$ac_func
93718
93719 /* System header to define __stub macros and hopefully few prototypes,
93720     which can conflict with char $ac_func (); below.
93721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93722     <limits.h> exists even on freestanding compilers.  */
93723
93724 #ifdef __STDC__
93725 # include <limits.h>
93726 #else
93727 # include <assert.h>
93728 #endif
93729
93730 #undef $ac_func
93731
93732 /* Override any gcc2 internal prototype to avoid an error.  */
93733 #ifdef __cplusplus
93734 extern "C"
93735 {
93736 #endif
93737 /* We use char because int might match the return type of a gcc2
93738    builtin and then its argument prototype would still apply.  */
93739 char $ac_func ();
93740 /* The GNU C library defines this for functions which it implements
93741     to always fail with ENOSYS.  Some functions are actually named
93742     something starting with __ and the normal name is an alias.  */
93743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93744 choke me
93745 #else
93746 char (*f) () = $ac_func;
93747 #endif
93748 #ifdef __cplusplus
93749 }
93750 #endif
93751
93752 int
93753 main ()
93754 {
93755 return f != $ac_func;
93756   ;
93757   return 0;
93758 }
93759 _ACEOF
93760 rm -f conftest.$ac_objext conftest$ac_exeext
93761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93762   (eval $ac_link) 2>conftest.er1
93763   ac_status=$?
93764   grep -v '^ *+' conftest.er1 >conftest.err
93765   rm -f conftest.er1
93766   cat conftest.err >&5
93767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93768   (exit $ac_status); } &&
93769          { ac_try='test -z "$ac_c_werror_flag"
93770                          || test ! -s conftest.err'
93771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93772   (eval $ac_try) 2>&5
93773   ac_status=$?
93774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93775   (exit $ac_status); }; } &&
93776          { ac_try='test -s conftest$ac_exeext'
93777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93778   (eval $ac_try) 2>&5
93779   ac_status=$?
93780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93781   (exit $ac_status); }; }; then
93782   eval "$as_ac_var=yes"
93783 else
93784   echo "$as_me: failed program was:" >&5
93785 sed 's/^/| /' conftest.$ac_ext >&5
93786
93787 eval "$as_ac_var=no"
93788 fi
93789 rm -f conftest.err conftest.$ac_objext \
93790       conftest$ac_exeext conftest.$ac_ext
93791 fi
93792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93794 if test `eval echo '${'$as_ac_var'}'` = yes; then
93795   cat >>confdefs.h <<_ACEOF
93796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93797 _ACEOF
93798
93799 fi
93800 done
93801
93802     fi
93803   fi
93804
93805
93806
93807
93808
93809
93810   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
93811 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
93812   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
93813     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
93814   echo $ECHO_N "(cached) $ECHO_C" >&6
93815 else
93816
93817
93818
93819       ac_ext=cc
93820 ac_cpp='$CXXCPP $CPPFLAGS'
93821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93824
93825       cat >conftest.$ac_ext <<_ACEOF
93826 /* confdefs.h.  */
93827 _ACEOF
93828 cat confdefs.h >>conftest.$ac_ext
93829 cat >>conftest.$ac_ext <<_ACEOF
93830 /* end confdefs.h.  */
93831 #include <math.h>
93832 int
93833 main ()
93834 {
93835  atan2f(0, 0);
93836   ;
93837   return 0;
93838 }
93839 _ACEOF
93840 rm -f conftest.$ac_objext
93841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93842   (eval $ac_compile) 2>conftest.er1
93843   ac_status=$?
93844   grep -v '^ *+' conftest.er1 >conftest.err
93845   rm -f conftest.er1
93846   cat conftest.err >&5
93847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93848   (exit $ac_status); } &&
93849          { ac_try='test -z "$ac_cxx_werror_flag"
93850                          || test ! -s conftest.err'
93851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93852   (eval $ac_try) 2>&5
93853   ac_status=$?
93854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93855   (exit $ac_status); }; } &&
93856          { ac_try='test -s conftest.$ac_objext'
93857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93858   (eval $ac_try) 2>&5
93859   ac_status=$?
93860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93861   (exit $ac_status); }; }; then
93862   glibcxx_cv_func_atan2f_use=yes
93863 else
93864   echo "$as_me: failed program was:" >&5
93865 sed 's/^/| /' conftest.$ac_ext >&5
93866
93867 glibcxx_cv_func_atan2f_use=no
93868 fi
93869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93870       ac_ext=c
93871 ac_cpp='$CPP $CPPFLAGS'
93872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93875
93876
93877 fi
93878
93879   fi
93880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
93881 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
93882
93883   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
93884
93885 for ac_func in atan2f
93886 do
93887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93888 echo "$as_me:$LINENO: checking for $ac_func" >&5
93889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93890 if eval "test \"\${$as_ac_var+set}\" = set"; then
93891   echo $ECHO_N "(cached) $ECHO_C" >&6
93892 else
93893   if test x$gcc_no_link = xyes; then
93894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93896    { (exit 1); exit 1; }; }
93897 fi
93898 cat >conftest.$ac_ext <<_ACEOF
93899 /* confdefs.h.  */
93900 _ACEOF
93901 cat confdefs.h >>conftest.$ac_ext
93902 cat >>conftest.$ac_ext <<_ACEOF
93903 /* end confdefs.h.  */
93904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93906 #define $ac_func innocuous_$ac_func
93907
93908 /* System header to define __stub macros and hopefully few prototypes,
93909     which can conflict with char $ac_func (); below.
93910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93911     <limits.h> exists even on freestanding compilers.  */
93912
93913 #ifdef __STDC__
93914 # include <limits.h>
93915 #else
93916 # include <assert.h>
93917 #endif
93918
93919 #undef $ac_func
93920
93921 /* Override any gcc2 internal prototype to avoid an error.  */
93922 #ifdef __cplusplus
93923 extern "C"
93924 {
93925 #endif
93926 /* We use char because int might match the return type of a gcc2
93927    builtin and then its argument prototype would still apply.  */
93928 char $ac_func ();
93929 /* The GNU C library defines this for functions which it implements
93930     to always fail with ENOSYS.  Some functions are actually named
93931     something starting with __ and the normal name is an alias.  */
93932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93933 choke me
93934 #else
93935 char (*f) () = $ac_func;
93936 #endif
93937 #ifdef __cplusplus
93938 }
93939 #endif
93940
93941 int
93942 main ()
93943 {
93944 return f != $ac_func;
93945   ;
93946   return 0;
93947 }
93948 _ACEOF
93949 rm -f conftest.$ac_objext conftest$ac_exeext
93950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93951   (eval $ac_link) 2>conftest.er1
93952   ac_status=$?
93953   grep -v '^ *+' conftest.er1 >conftest.err
93954   rm -f conftest.er1
93955   cat conftest.err >&5
93956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93957   (exit $ac_status); } &&
93958          { ac_try='test -z "$ac_c_werror_flag"
93959                          || test ! -s conftest.err'
93960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93961   (eval $ac_try) 2>&5
93962   ac_status=$?
93963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93964   (exit $ac_status); }; } &&
93965          { ac_try='test -s conftest$ac_exeext'
93966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93967   (eval $ac_try) 2>&5
93968   ac_status=$?
93969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93970   (exit $ac_status); }; }; then
93971   eval "$as_ac_var=yes"
93972 else
93973   echo "$as_me: failed program was:" >&5
93974 sed 's/^/| /' conftest.$ac_ext >&5
93975
93976 eval "$as_ac_var=no"
93977 fi
93978 rm -f conftest.err conftest.$ac_objext \
93979       conftest$ac_exeext conftest.$ac_ext
93980 fi
93981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93983 if test `eval echo '${'$as_ac_var'}'` = yes; then
93984   cat >>confdefs.h <<_ACEOF
93985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93986 _ACEOF
93987
93988 fi
93989 done
93990
93991   else
93992
93993   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93994 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93995   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93996     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93997   echo $ECHO_N "(cached) $ECHO_C" >&6
93998 else
93999
94000
94001
94002       ac_ext=cc
94003 ac_cpp='$CXXCPP $CPPFLAGS'
94004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94007
94008       cat >conftest.$ac_ext <<_ACEOF
94009 /* confdefs.h.  */
94010 _ACEOF
94011 cat confdefs.h >>conftest.$ac_ext
94012 cat >>conftest.$ac_ext <<_ACEOF
94013 /* end confdefs.h.  */
94014 #include <math.h>
94015 int
94016 main ()
94017 {
94018  _atan2f(0, 0);
94019   ;
94020   return 0;
94021 }
94022 _ACEOF
94023 rm -f conftest.$ac_objext
94024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94025   (eval $ac_compile) 2>conftest.er1
94026   ac_status=$?
94027   grep -v '^ *+' conftest.er1 >conftest.err
94028   rm -f conftest.er1
94029   cat conftest.err >&5
94030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031   (exit $ac_status); } &&
94032          { ac_try='test -z "$ac_cxx_werror_flag"
94033                          || test ! -s conftest.err'
94034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94035   (eval $ac_try) 2>&5
94036   ac_status=$?
94037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94038   (exit $ac_status); }; } &&
94039          { ac_try='test -s conftest.$ac_objext'
94040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041   (eval $ac_try) 2>&5
94042   ac_status=$?
94043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044   (exit $ac_status); }; }; then
94045   glibcxx_cv_func__atan2f_use=yes
94046 else
94047   echo "$as_me: failed program was:" >&5
94048 sed 's/^/| /' conftest.$ac_ext >&5
94049
94050 glibcxx_cv_func__atan2f_use=no
94051 fi
94052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94053       ac_ext=c
94054 ac_cpp='$CPP $CPPFLAGS'
94055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94058
94059
94060 fi
94061
94062   fi
94063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
94064 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
94065
94066     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
94067
94068 for ac_func in _atan2f
94069 do
94070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94071 echo "$as_me:$LINENO: checking for $ac_func" >&5
94072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94073 if eval "test \"\${$as_ac_var+set}\" = set"; then
94074   echo $ECHO_N "(cached) $ECHO_C" >&6
94075 else
94076   if test x$gcc_no_link = xyes; then
94077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94079    { (exit 1); exit 1; }; }
94080 fi
94081 cat >conftest.$ac_ext <<_ACEOF
94082 /* confdefs.h.  */
94083 _ACEOF
94084 cat confdefs.h >>conftest.$ac_ext
94085 cat >>conftest.$ac_ext <<_ACEOF
94086 /* end confdefs.h.  */
94087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94089 #define $ac_func innocuous_$ac_func
94090
94091 /* System header to define __stub macros and hopefully few prototypes,
94092     which can conflict with char $ac_func (); below.
94093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94094     <limits.h> exists even on freestanding compilers.  */
94095
94096 #ifdef __STDC__
94097 # include <limits.h>
94098 #else
94099 # include <assert.h>
94100 #endif
94101
94102 #undef $ac_func
94103
94104 /* Override any gcc2 internal prototype to avoid an error.  */
94105 #ifdef __cplusplus
94106 extern "C"
94107 {
94108 #endif
94109 /* We use char because int might match the return type of a gcc2
94110    builtin and then its argument prototype would still apply.  */
94111 char $ac_func ();
94112 /* The GNU C library defines this for functions which it implements
94113     to always fail with ENOSYS.  Some functions are actually named
94114     something starting with __ and the normal name is an alias.  */
94115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94116 choke me
94117 #else
94118 char (*f) () = $ac_func;
94119 #endif
94120 #ifdef __cplusplus
94121 }
94122 #endif
94123
94124 int
94125 main ()
94126 {
94127 return f != $ac_func;
94128   ;
94129   return 0;
94130 }
94131 _ACEOF
94132 rm -f conftest.$ac_objext conftest$ac_exeext
94133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94134   (eval $ac_link) 2>conftest.er1
94135   ac_status=$?
94136   grep -v '^ *+' conftest.er1 >conftest.err
94137   rm -f conftest.er1
94138   cat conftest.err >&5
94139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94140   (exit $ac_status); } &&
94141          { ac_try='test -z "$ac_c_werror_flag"
94142                          || test ! -s conftest.err'
94143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94144   (eval $ac_try) 2>&5
94145   ac_status=$?
94146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94147   (exit $ac_status); }; } &&
94148          { ac_try='test -s conftest$ac_exeext'
94149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150   (eval $ac_try) 2>&5
94151   ac_status=$?
94152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153   (exit $ac_status); }; }; then
94154   eval "$as_ac_var=yes"
94155 else
94156   echo "$as_me: failed program was:" >&5
94157 sed 's/^/| /' conftest.$ac_ext >&5
94158
94159 eval "$as_ac_var=no"
94160 fi
94161 rm -f conftest.err conftest.$ac_objext \
94162       conftest$ac_exeext conftest.$ac_ext
94163 fi
94164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94166 if test `eval echo '${'$as_ac_var'}'` = yes; then
94167   cat >>confdefs.h <<_ACEOF
94168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94169 _ACEOF
94170
94171 fi
94172 done
94173
94174     fi
94175   fi
94176
94177
94178
94179
94180
94181
94182   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
94183 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
94184   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
94185     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
94186   echo $ECHO_N "(cached) $ECHO_C" >&6
94187 else
94188
94189
94190
94191       ac_ext=cc
94192 ac_cpp='$CXXCPP $CPPFLAGS'
94193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94196
94197       cat >conftest.$ac_ext <<_ACEOF
94198 /* confdefs.h.  */
94199 _ACEOF
94200 cat confdefs.h >>conftest.$ac_ext
94201 cat >>conftest.$ac_ext <<_ACEOF
94202 /* end confdefs.h.  */
94203 #include <math.h>
94204                       #ifdef HAVE_IEEEFP_H
94205                       #include <ieeefp.h>
94206                       #endif
94207
94208 int
94209 main ()
94210 {
94211  fabsf(0);
94212   ;
94213   return 0;
94214 }
94215 _ACEOF
94216 rm -f conftest.$ac_objext
94217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94218   (eval $ac_compile) 2>conftest.er1
94219   ac_status=$?
94220   grep -v '^ *+' conftest.er1 >conftest.err
94221   rm -f conftest.er1
94222   cat conftest.err >&5
94223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94224   (exit $ac_status); } &&
94225          { ac_try='test -z "$ac_cxx_werror_flag"
94226                          || test ! -s conftest.err'
94227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94228   (eval $ac_try) 2>&5
94229   ac_status=$?
94230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94231   (exit $ac_status); }; } &&
94232          { ac_try='test -s conftest.$ac_objext'
94233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94234   (eval $ac_try) 2>&5
94235   ac_status=$?
94236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94237   (exit $ac_status); }; }; then
94238   glibcxx_cv_func_fabsf_use=yes
94239 else
94240   echo "$as_me: failed program was:" >&5
94241 sed 's/^/| /' conftest.$ac_ext >&5
94242
94243 glibcxx_cv_func_fabsf_use=no
94244 fi
94245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94246       ac_ext=c
94247 ac_cpp='$CPP $CPPFLAGS'
94248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94251
94252
94253 fi
94254
94255   fi
94256   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
94257 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
94258
94259   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
94260
94261 for ac_func in fabsf
94262 do
94263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94264 echo "$as_me:$LINENO: checking for $ac_func" >&5
94265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94266 if eval "test \"\${$as_ac_var+set}\" = set"; then
94267   echo $ECHO_N "(cached) $ECHO_C" >&6
94268 else
94269   if test x$gcc_no_link = xyes; then
94270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94272    { (exit 1); exit 1; }; }
94273 fi
94274 cat >conftest.$ac_ext <<_ACEOF
94275 /* confdefs.h.  */
94276 _ACEOF
94277 cat confdefs.h >>conftest.$ac_ext
94278 cat >>conftest.$ac_ext <<_ACEOF
94279 /* end confdefs.h.  */
94280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94282 #define $ac_func innocuous_$ac_func
94283
94284 /* System header to define __stub macros and hopefully few prototypes,
94285     which can conflict with char $ac_func (); below.
94286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94287     <limits.h> exists even on freestanding compilers.  */
94288
94289 #ifdef __STDC__
94290 # include <limits.h>
94291 #else
94292 # include <assert.h>
94293 #endif
94294
94295 #undef $ac_func
94296
94297 /* Override any gcc2 internal prototype to avoid an error.  */
94298 #ifdef __cplusplus
94299 extern "C"
94300 {
94301 #endif
94302 /* We use char because int might match the return type of a gcc2
94303    builtin and then its argument prototype would still apply.  */
94304 char $ac_func ();
94305 /* The GNU C library defines this for functions which it implements
94306     to always fail with ENOSYS.  Some functions are actually named
94307     something starting with __ and the normal name is an alias.  */
94308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94309 choke me
94310 #else
94311 char (*f) () = $ac_func;
94312 #endif
94313 #ifdef __cplusplus
94314 }
94315 #endif
94316
94317 int
94318 main ()
94319 {
94320 return f != $ac_func;
94321   ;
94322   return 0;
94323 }
94324 _ACEOF
94325 rm -f conftest.$ac_objext conftest$ac_exeext
94326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94327   (eval $ac_link) 2>conftest.er1
94328   ac_status=$?
94329   grep -v '^ *+' conftest.er1 >conftest.err
94330   rm -f conftest.er1
94331   cat conftest.err >&5
94332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333   (exit $ac_status); } &&
94334          { ac_try='test -z "$ac_c_werror_flag"
94335                          || test ! -s conftest.err'
94336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94337   (eval $ac_try) 2>&5
94338   ac_status=$?
94339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94340   (exit $ac_status); }; } &&
94341          { ac_try='test -s conftest$ac_exeext'
94342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94343   (eval $ac_try) 2>&5
94344   ac_status=$?
94345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94346   (exit $ac_status); }; }; then
94347   eval "$as_ac_var=yes"
94348 else
94349   echo "$as_me: failed program was:" >&5
94350 sed 's/^/| /' conftest.$ac_ext >&5
94351
94352 eval "$as_ac_var=no"
94353 fi
94354 rm -f conftest.err conftest.$ac_objext \
94355       conftest$ac_exeext conftest.$ac_ext
94356 fi
94357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94359 if test `eval echo '${'$as_ac_var'}'` = yes; then
94360   cat >>confdefs.h <<_ACEOF
94361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94362 _ACEOF
94363
94364 fi
94365 done
94366
94367   else
94368
94369   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
94370 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
94371   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
94372     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
94373   echo $ECHO_N "(cached) $ECHO_C" >&6
94374 else
94375
94376
94377
94378       ac_ext=cc
94379 ac_cpp='$CXXCPP $CPPFLAGS'
94380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94383
94384       cat >conftest.$ac_ext <<_ACEOF
94385 /* confdefs.h.  */
94386 _ACEOF
94387 cat confdefs.h >>conftest.$ac_ext
94388 cat >>conftest.$ac_ext <<_ACEOF
94389 /* end confdefs.h.  */
94390 #include <math.h>
94391                       #ifdef HAVE_IEEEFP_H
94392                       #include <ieeefp.h>
94393                       #endif
94394
94395 int
94396 main ()
94397 {
94398  _fabsf(0);
94399   ;
94400   return 0;
94401 }
94402 _ACEOF
94403 rm -f conftest.$ac_objext
94404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94405   (eval $ac_compile) 2>conftest.er1
94406   ac_status=$?
94407   grep -v '^ *+' conftest.er1 >conftest.err
94408   rm -f conftest.er1
94409   cat conftest.err >&5
94410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94411   (exit $ac_status); } &&
94412          { ac_try='test -z "$ac_cxx_werror_flag"
94413                          || test ! -s conftest.err'
94414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94415   (eval $ac_try) 2>&5
94416   ac_status=$?
94417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94418   (exit $ac_status); }; } &&
94419          { ac_try='test -s conftest.$ac_objext'
94420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94421   (eval $ac_try) 2>&5
94422   ac_status=$?
94423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94424   (exit $ac_status); }; }; then
94425   glibcxx_cv_func__fabsf_use=yes
94426 else
94427   echo "$as_me: failed program was:" >&5
94428 sed 's/^/| /' conftest.$ac_ext >&5
94429
94430 glibcxx_cv_func__fabsf_use=no
94431 fi
94432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94433       ac_ext=c
94434 ac_cpp='$CPP $CPPFLAGS'
94435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94438
94439
94440 fi
94441
94442   fi
94443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
94444 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
94445
94446     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
94447
94448 for ac_func in _fabsf
94449 do
94450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94451 echo "$as_me:$LINENO: checking for $ac_func" >&5
94452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94453 if eval "test \"\${$as_ac_var+set}\" = set"; then
94454   echo $ECHO_N "(cached) $ECHO_C" >&6
94455 else
94456   if test x$gcc_no_link = xyes; then
94457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94459    { (exit 1); exit 1; }; }
94460 fi
94461 cat >conftest.$ac_ext <<_ACEOF
94462 /* confdefs.h.  */
94463 _ACEOF
94464 cat confdefs.h >>conftest.$ac_ext
94465 cat >>conftest.$ac_ext <<_ACEOF
94466 /* end confdefs.h.  */
94467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94469 #define $ac_func innocuous_$ac_func
94470
94471 /* System header to define __stub macros and hopefully few prototypes,
94472     which can conflict with char $ac_func (); below.
94473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94474     <limits.h> exists even on freestanding compilers.  */
94475
94476 #ifdef __STDC__
94477 # include <limits.h>
94478 #else
94479 # include <assert.h>
94480 #endif
94481
94482 #undef $ac_func
94483
94484 /* Override any gcc2 internal prototype to avoid an error.  */
94485 #ifdef __cplusplus
94486 extern "C"
94487 {
94488 #endif
94489 /* We use char because int might match the return type of a gcc2
94490    builtin and then its argument prototype would still apply.  */
94491 char $ac_func ();
94492 /* The GNU C library defines this for functions which it implements
94493     to always fail with ENOSYS.  Some functions are actually named
94494     something starting with __ and the normal name is an alias.  */
94495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94496 choke me
94497 #else
94498 char (*f) () = $ac_func;
94499 #endif
94500 #ifdef __cplusplus
94501 }
94502 #endif
94503
94504 int
94505 main ()
94506 {
94507 return f != $ac_func;
94508   ;
94509   return 0;
94510 }
94511 _ACEOF
94512 rm -f conftest.$ac_objext conftest$ac_exeext
94513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94514   (eval $ac_link) 2>conftest.er1
94515   ac_status=$?
94516   grep -v '^ *+' conftest.er1 >conftest.err
94517   rm -f conftest.er1
94518   cat conftest.err >&5
94519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94520   (exit $ac_status); } &&
94521          { ac_try='test -z "$ac_c_werror_flag"
94522                          || test ! -s conftest.err'
94523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94524   (eval $ac_try) 2>&5
94525   ac_status=$?
94526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94527   (exit $ac_status); }; } &&
94528          { ac_try='test -s conftest$ac_exeext'
94529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94530   (eval $ac_try) 2>&5
94531   ac_status=$?
94532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94533   (exit $ac_status); }; }; then
94534   eval "$as_ac_var=yes"
94535 else
94536   echo "$as_me: failed program was:" >&5
94537 sed 's/^/| /' conftest.$ac_ext >&5
94538
94539 eval "$as_ac_var=no"
94540 fi
94541 rm -f conftest.err conftest.$ac_objext \
94542       conftest$ac_exeext conftest.$ac_ext
94543 fi
94544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94546 if test `eval echo '${'$as_ac_var'}'` = yes; then
94547   cat >>confdefs.h <<_ACEOF
94548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94549 _ACEOF
94550
94551 fi
94552 done
94553
94554     fi
94555   fi
94556
94557
94558
94559
94560
94561
94562   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
94563 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
94564   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
94565     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
94566   echo $ECHO_N "(cached) $ECHO_C" >&6
94567 else
94568
94569
94570
94571       ac_ext=cc
94572 ac_cpp='$CXXCPP $CPPFLAGS'
94573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94576
94577       cat >conftest.$ac_ext <<_ACEOF
94578 /* confdefs.h.  */
94579 _ACEOF
94580 cat confdefs.h >>conftest.$ac_ext
94581 cat >>conftest.$ac_ext <<_ACEOF
94582 /* end confdefs.h.  */
94583 #include <math.h>
94584 int
94585 main ()
94586 {
94587  fmodf(0, 0);
94588   ;
94589   return 0;
94590 }
94591 _ACEOF
94592 rm -f conftest.$ac_objext
94593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94594   (eval $ac_compile) 2>conftest.er1
94595   ac_status=$?
94596   grep -v '^ *+' conftest.er1 >conftest.err
94597   rm -f conftest.er1
94598   cat conftest.err >&5
94599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94600   (exit $ac_status); } &&
94601          { ac_try='test -z "$ac_cxx_werror_flag"
94602                          || test ! -s conftest.err'
94603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94604   (eval $ac_try) 2>&5
94605   ac_status=$?
94606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94607   (exit $ac_status); }; } &&
94608          { ac_try='test -s conftest.$ac_objext'
94609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94610   (eval $ac_try) 2>&5
94611   ac_status=$?
94612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94613   (exit $ac_status); }; }; then
94614   glibcxx_cv_func_fmodf_use=yes
94615 else
94616   echo "$as_me: failed program was:" >&5
94617 sed 's/^/| /' conftest.$ac_ext >&5
94618
94619 glibcxx_cv_func_fmodf_use=no
94620 fi
94621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94622       ac_ext=c
94623 ac_cpp='$CPP $CPPFLAGS'
94624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94627
94628
94629 fi
94630
94631   fi
94632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
94633 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
94634
94635   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
94636
94637 for ac_func in fmodf
94638 do
94639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94640 echo "$as_me:$LINENO: checking for $ac_func" >&5
94641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94642 if eval "test \"\${$as_ac_var+set}\" = set"; then
94643   echo $ECHO_N "(cached) $ECHO_C" >&6
94644 else
94645   if test x$gcc_no_link = xyes; then
94646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94648    { (exit 1); exit 1; }; }
94649 fi
94650 cat >conftest.$ac_ext <<_ACEOF
94651 /* confdefs.h.  */
94652 _ACEOF
94653 cat confdefs.h >>conftest.$ac_ext
94654 cat >>conftest.$ac_ext <<_ACEOF
94655 /* end confdefs.h.  */
94656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94658 #define $ac_func innocuous_$ac_func
94659
94660 /* System header to define __stub macros and hopefully few prototypes,
94661     which can conflict with char $ac_func (); below.
94662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94663     <limits.h> exists even on freestanding compilers.  */
94664
94665 #ifdef __STDC__
94666 # include <limits.h>
94667 #else
94668 # include <assert.h>
94669 #endif
94670
94671 #undef $ac_func
94672
94673 /* Override any gcc2 internal prototype to avoid an error.  */
94674 #ifdef __cplusplus
94675 extern "C"
94676 {
94677 #endif
94678 /* We use char because int might match the return type of a gcc2
94679    builtin and then its argument prototype would still apply.  */
94680 char $ac_func ();
94681 /* The GNU C library defines this for functions which it implements
94682     to always fail with ENOSYS.  Some functions are actually named
94683     something starting with __ and the normal name is an alias.  */
94684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94685 choke me
94686 #else
94687 char (*f) () = $ac_func;
94688 #endif
94689 #ifdef __cplusplus
94690 }
94691 #endif
94692
94693 int
94694 main ()
94695 {
94696 return f != $ac_func;
94697   ;
94698   return 0;
94699 }
94700 _ACEOF
94701 rm -f conftest.$ac_objext conftest$ac_exeext
94702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94703   (eval $ac_link) 2>conftest.er1
94704   ac_status=$?
94705   grep -v '^ *+' conftest.er1 >conftest.err
94706   rm -f conftest.er1
94707   cat conftest.err >&5
94708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94709   (exit $ac_status); } &&
94710          { ac_try='test -z "$ac_c_werror_flag"
94711                          || test ! -s conftest.err'
94712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94713   (eval $ac_try) 2>&5
94714   ac_status=$?
94715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94716   (exit $ac_status); }; } &&
94717          { ac_try='test -s conftest$ac_exeext'
94718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94719   (eval $ac_try) 2>&5
94720   ac_status=$?
94721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94722   (exit $ac_status); }; }; then
94723   eval "$as_ac_var=yes"
94724 else
94725   echo "$as_me: failed program was:" >&5
94726 sed 's/^/| /' conftest.$ac_ext >&5
94727
94728 eval "$as_ac_var=no"
94729 fi
94730 rm -f conftest.err conftest.$ac_objext \
94731       conftest$ac_exeext conftest.$ac_ext
94732 fi
94733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94735 if test `eval echo '${'$as_ac_var'}'` = yes; then
94736   cat >>confdefs.h <<_ACEOF
94737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94738 _ACEOF
94739
94740 fi
94741 done
94742
94743   else
94744
94745   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
94746 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
94747   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
94748     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
94749   echo $ECHO_N "(cached) $ECHO_C" >&6
94750 else
94751
94752
94753
94754       ac_ext=cc
94755 ac_cpp='$CXXCPP $CPPFLAGS'
94756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94759
94760       cat >conftest.$ac_ext <<_ACEOF
94761 /* confdefs.h.  */
94762 _ACEOF
94763 cat confdefs.h >>conftest.$ac_ext
94764 cat >>conftest.$ac_ext <<_ACEOF
94765 /* end confdefs.h.  */
94766 #include <math.h>
94767 int
94768 main ()
94769 {
94770  _fmodf(0, 0);
94771   ;
94772   return 0;
94773 }
94774 _ACEOF
94775 rm -f conftest.$ac_objext
94776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94777   (eval $ac_compile) 2>conftest.er1
94778   ac_status=$?
94779   grep -v '^ *+' conftest.er1 >conftest.err
94780   rm -f conftest.er1
94781   cat conftest.err >&5
94782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94783   (exit $ac_status); } &&
94784          { ac_try='test -z "$ac_cxx_werror_flag"
94785                          || test ! -s conftest.err'
94786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94787   (eval $ac_try) 2>&5
94788   ac_status=$?
94789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94790   (exit $ac_status); }; } &&
94791          { ac_try='test -s conftest.$ac_objext'
94792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94793   (eval $ac_try) 2>&5
94794   ac_status=$?
94795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94796   (exit $ac_status); }; }; then
94797   glibcxx_cv_func__fmodf_use=yes
94798 else
94799   echo "$as_me: failed program was:" >&5
94800 sed 's/^/| /' conftest.$ac_ext >&5
94801
94802 glibcxx_cv_func__fmodf_use=no
94803 fi
94804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94805       ac_ext=c
94806 ac_cpp='$CPP $CPPFLAGS'
94807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94810
94811
94812 fi
94813
94814   fi
94815   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
94816 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
94817
94818     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
94819
94820 for ac_func in _fmodf
94821 do
94822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94823 echo "$as_me:$LINENO: checking for $ac_func" >&5
94824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94825 if eval "test \"\${$as_ac_var+set}\" = set"; then
94826   echo $ECHO_N "(cached) $ECHO_C" >&6
94827 else
94828   if test x$gcc_no_link = xyes; then
94829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94831    { (exit 1); exit 1; }; }
94832 fi
94833 cat >conftest.$ac_ext <<_ACEOF
94834 /* confdefs.h.  */
94835 _ACEOF
94836 cat confdefs.h >>conftest.$ac_ext
94837 cat >>conftest.$ac_ext <<_ACEOF
94838 /* end confdefs.h.  */
94839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94841 #define $ac_func innocuous_$ac_func
94842
94843 /* System header to define __stub macros and hopefully few prototypes,
94844     which can conflict with char $ac_func (); below.
94845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94846     <limits.h> exists even on freestanding compilers.  */
94847
94848 #ifdef __STDC__
94849 # include <limits.h>
94850 #else
94851 # include <assert.h>
94852 #endif
94853
94854 #undef $ac_func
94855
94856 /* Override any gcc2 internal prototype to avoid an error.  */
94857 #ifdef __cplusplus
94858 extern "C"
94859 {
94860 #endif
94861 /* We use char because int might match the return type of a gcc2
94862    builtin and then its argument prototype would still apply.  */
94863 char $ac_func ();
94864 /* The GNU C library defines this for functions which it implements
94865     to always fail with ENOSYS.  Some functions are actually named
94866     something starting with __ and the normal name is an alias.  */
94867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94868 choke me
94869 #else
94870 char (*f) () = $ac_func;
94871 #endif
94872 #ifdef __cplusplus
94873 }
94874 #endif
94875
94876 int
94877 main ()
94878 {
94879 return f != $ac_func;
94880   ;
94881   return 0;
94882 }
94883 _ACEOF
94884 rm -f conftest.$ac_objext conftest$ac_exeext
94885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94886   (eval $ac_link) 2>conftest.er1
94887   ac_status=$?
94888   grep -v '^ *+' conftest.er1 >conftest.err
94889   rm -f conftest.er1
94890   cat conftest.err >&5
94891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94892   (exit $ac_status); } &&
94893          { ac_try='test -z "$ac_c_werror_flag"
94894                          || test ! -s conftest.err'
94895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94896   (eval $ac_try) 2>&5
94897   ac_status=$?
94898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94899   (exit $ac_status); }; } &&
94900          { ac_try='test -s conftest$ac_exeext'
94901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94902   (eval $ac_try) 2>&5
94903   ac_status=$?
94904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94905   (exit $ac_status); }; }; then
94906   eval "$as_ac_var=yes"
94907 else
94908   echo "$as_me: failed program was:" >&5
94909 sed 's/^/| /' conftest.$ac_ext >&5
94910
94911 eval "$as_ac_var=no"
94912 fi
94913 rm -f conftest.err conftest.$ac_objext \
94914       conftest$ac_exeext conftest.$ac_ext
94915 fi
94916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94918 if test `eval echo '${'$as_ac_var'}'` = yes; then
94919   cat >>confdefs.h <<_ACEOF
94920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94921 _ACEOF
94922
94923 fi
94924 done
94925
94926     fi
94927   fi
94928
94929
94930
94931
94932
94933
94934   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94935 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94936   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94937     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94938   echo $ECHO_N "(cached) $ECHO_C" >&6
94939 else
94940
94941
94942
94943       ac_ext=cc
94944 ac_cpp='$CXXCPP $CPPFLAGS'
94945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94948
94949       cat >conftest.$ac_ext <<_ACEOF
94950 /* confdefs.h.  */
94951 _ACEOF
94952 cat confdefs.h >>conftest.$ac_ext
94953 cat >>conftest.$ac_ext <<_ACEOF
94954 /* end confdefs.h.  */
94955 #include <math.h>
94956 int
94957 main ()
94958 {
94959  frexpf(0, 0);
94960   ;
94961   return 0;
94962 }
94963 _ACEOF
94964 rm -f conftest.$ac_objext
94965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94966   (eval $ac_compile) 2>conftest.er1
94967   ac_status=$?
94968   grep -v '^ *+' conftest.er1 >conftest.err
94969   rm -f conftest.er1
94970   cat conftest.err >&5
94971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94972   (exit $ac_status); } &&
94973          { ac_try='test -z "$ac_cxx_werror_flag"
94974                          || test ! -s conftest.err'
94975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94976   (eval $ac_try) 2>&5
94977   ac_status=$?
94978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94979   (exit $ac_status); }; } &&
94980          { ac_try='test -s conftest.$ac_objext'
94981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94982   (eval $ac_try) 2>&5
94983   ac_status=$?
94984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94985   (exit $ac_status); }; }; then
94986   glibcxx_cv_func_frexpf_use=yes
94987 else
94988   echo "$as_me: failed program was:" >&5
94989 sed 's/^/| /' conftest.$ac_ext >&5
94990
94991 glibcxx_cv_func_frexpf_use=no
94992 fi
94993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94994       ac_ext=c
94995 ac_cpp='$CPP $CPPFLAGS'
94996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94999
95000
95001 fi
95002
95003   fi
95004   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
95005 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
95006
95007   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
95008
95009 for ac_func in frexpf
95010 do
95011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95012 echo "$as_me:$LINENO: checking for $ac_func" >&5
95013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95014 if eval "test \"\${$as_ac_var+set}\" = set"; then
95015   echo $ECHO_N "(cached) $ECHO_C" >&6
95016 else
95017   if test x$gcc_no_link = xyes; then
95018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95020    { (exit 1); exit 1; }; }
95021 fi
95022 cat >conftest.$ac_ext <<_ACEOF
95023 /* confdefs.h.  */
95024 _ACEOF
95025 cat confdefs.h >>conftest.$ac_ext
95026 cat >>conftest.$ac_ext <<_ACEOF
95027 /* end confdefs.h.  */
95028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95030 #define $ac_func innocuous_$ac_func
95031
95032 /* System header to define __stub macros and hopefully few prototypes,
95033     which can conflict with char $ac_func (); below.
95034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95035     <limits.h> exists even on freestanding compilers.  */
95036
95037 #ifdef __STDC__
95038 # include <limits.h>
95039 #else
95040 # include <assert.h>
95041 #endif
95042
95043 #undef $ac_func
95044
95045 /* Override any gcc2 internal prototype to avoid an error.  */
95046 #ifdef __cplusplus
95047 extern "C"
95048 {
95049 #endif
95050 /* We use char because int might match the return type of a gcc2
95051    builtin and then its argument prototype would still apply.  */
95052 char $ac_func ();
95053 /* The GNU C library defines this for functions which it implements
95054     to always fail with ENOSYS.  Some functions are actually named
95055     something starting with __ and the normal name is an alias.  */
95056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95057 choke me
95058 #else
95059 char (*f) () = $ac_func;
95060 #endif
95061 #ifdef __cplusplus
95062 }
95063 #endif
95064
95065 int
95066 main ()
95067 {
95068 return f != $ac_func;
95069   ;
95070   return 0;
95071 }
95072 _ACEOF
95073 rm -f conftest.$ac_objext conftest$ac_exeext
95074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95075   (eval $ac_link) 2>conftest.er1
95076   ac_status=$?
95077   grep -v '^ *+' conftest.er1 >conftest.err
95078   rm -f conftest.er1
95079   cat conftest.err >&5
95080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95081   (exit $ac_status); } &&
95082          { ac_try='test -z "$ac_c_werror_flag"
95083                          || test ! -s conftest.err'
95084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95085   (eval $ac_try) 2>&5
95086   ac_status=$?
95087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95088   (exit $ac_status); }; } &&
95089          { ac_try='test -s conftest$ac_exeext'
95090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95091   (eval $ac_try) 2>&5
95092   ac_status=$?
95093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95094   (exit $ac_status); }; }; then
95095   eval "$as_ac_var=yes"
95096 else
95097   echo "$as_me: failed program was:" >&5
95098 sed 's/^/| /' conftest.$ac_ext >&5
95099
95100 eval "$as_ac_var=no"
95101 fi
95102 rm -f conftest.err conftest.$ac_objext \
95103       conftest$ac_exeext conftest.$ac_ext
95104 fi
95105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95107 if test `eval echo '${'$as_ac_var'}'` = yes; then
95108   cat >>confdefs.h <<_ACEOF
95109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95110 _ACEOF
95111
95112 fi
95113 done
95114
95115   else
95116
95117   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
95118 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
95119   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
95120     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
95121   echo $ECHO_N "(cached) $ECHO_C" >&6
95122 else
95123
95124
95125
95126       ac_ext=cc
95127 ac_cpp='$CXXCPP $CPPFLAGS'
95128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95131
95132       cat >conftest.$ac_ext <<_ACEOF
95133 /* confdefs.h.  */
95134 _ACEOF
95135 cat confdefs.h >>conftest.$ac_ext
95136 cat >>conftest.$ac_ext <<_ACEOF
95137 /* end confdefs.h.  */
95138 #include <math.h>
95139 int
95140 main ()
95141 {
95142  _frexpf(0, 0);
95143   ;
95144   return 0;
95145 }
95146 _ACEOF
95147 rm -f conftest.$ac_objext
95148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95149   (eval $ac_compile) 2>conftest.er1
95150   ac_status=$?
95151   grep -v '^ *+' conftest.er1 >conftest.err
95152   rm -f conftest.er1
95153   cat conftest.err >&5
95154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95155   (exit $ac_status); } &&
95156          { ac_try='test -z "$ac_cxx_werror_flag"
95157                          || test ! -s conftest.err'
95158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95159   (eval $ac_try) 2>&5
95160   ac_status=$?
95161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95162   (exit $ac_status); }; } &&
95163          { ac_try='test -s conftest.$ac_objext'
95164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95165   (eval $ac_try) 2>&5
95166   ac_status=$?
95167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95168   (exit $ac_status); }; }; then
95169   glibcxx_cv_func__frexpf_use=yes
95170 else
95171   echo "$as_me: failed program was:" >&5
95172 sed 's/^/| /' conftest.$ac_ext >&5
95173
95174 glibcxx_cv_func__frexpf_use=no
95175 fi
95176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95177       ac_ext=c
95178 ac_cpp='$CPP $CPPFLAGS'
95179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95182
95183
95184 fi
95185
95186   fi
95187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
95188 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
95189
95190     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
95191
95192 for ac_func in _frexpf
95193 do
95194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95195 echo "$as_me:$LINENO: checking for $ac_func" >&5
95196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95197 if eval "test \"\${$as_ac_var+set}\" = set"; then
95198   echo $ECHO_N "(cached) $ECHO_C" >&6
95199 else
95200   if test x$gcc_no_link = xyes; then
95201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95203    { (exit 1); exit 1; }; }
95204 fi
95205 cat >conftest.$ac_ext <<_ACEOF
95206 /* confdefs.h.  */
95207 _ACEOF
95208 cat confdefs.h >>conftest.$ac_ext
95209 cat >>conftest.$ac_ext <<_ACEOF
95210 /* end confdefs.h.  */
95211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95213 #define $ac_func innocuous_$ac_func
95214
95215 /* System header to define __stub macros and hopefully few prototypes,
95216     which can conflict with char $ac_func (); below.
95217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95218     <limits.h> exists even on freestanding compilers.  */
95219
95220 #ifdef __STDC__
95221 # include <limits.h>
95222 #else
95223 # include <assert.h>
95224 #endif
95225
95226 #undef $ac_func
95227
95228 /* Override any gcc2 internal prototype to avoid an error.  */
95229 #ifdef __cplusplus
95230 extern "C"
95231 {
95232 #endif
95233 /* We use char because int might match the return type of a gcc2
95234    builtin and then its argument prototype would still apply.  */
95235 char $ac_func ();
95236 /* The GNU C library defines this for functions which it implements
95237     to always fail with ENOSYS.  Some functions are actually named
95238     something starting with __ and the normal name is an alias.  */
95239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95240 choke me
95241 #else
95242 char (*f) () = $ac_func;
95243 #endif
95244 #ifdef __cplusplus
95245 }
95246 #endif
95247
95248 int
95249 main ()
95250 {
95251 return f != $ac_func;
95252   ;
95253   return 0;
95254 }
95255 _ACEOF
95256 rm -f conftest.$ac_objext conftest$ac_exeext
95257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95258   (eval $ac_link) 2>conftest.er1
95259   ac_status=$?
95260   grep -v '^ *+' conftest.er1 >conftest.err
95261   rm -f conftest.er1
95262   cat conftest.err >&5
95263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95264   (exit $ac_status); } &&
95265          { ac_try='test -z "$ac_c_werror_flag"
95266                          || test ! -s conftest.err'
95267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95268   (eval $ac_try) 2>&5
95269   ac_status=$?
95270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95271   (exit $ac_status); }; } &&
95272          { ac_try='test -s conftest$ac_exeext'
95273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95274   (eval $ac_try) 2>&5
95275   ac_status=$?
95276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95277   (exit $ac_status); }; }; then
95278   eval "$as_ac_var=yes"
95279 else
95280   echo "$as_me: failed program was:" >&5
95281 sed 's/^/| /' conftest.$ac_ext >&5
95282
95283 eval "$as_ac_var=no"
95284 fi
95285 rm -f conftest.err conftest.$ac_objext \
95286       conftest$ac_exeext conftest.$ac_ext
95287 fi
95288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95290 if test `eval echo '${'$as_ac_var'}'` = yes; then
95291   cat >>confdefs.h <<_ACEOF
95292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95293 _ACEOF
95294
95295 fi
95296 done
95297
95298     fi
95299   fi
95300
95301
95302
95303
95304
95305
95306   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
95307 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
95308   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
95309     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
95310   echo $ECHO_N "(cached) $ECHO_C" >&6
95311 else
95312
95313
95314
95315       ac_ext=cc
95316 ac_cpp='$CXXCPP $CPPFLAGS'
95317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95320
95321       cat >conftest.$ac_ext <<_ACEOF
95322 /* confdefs.h.  */
95323 _ACEOF
95324 cat confdefs.h >>conftest.$ac_ext
95325 cat >>conftest.$ac_ext <<_ACEOF
95326 /* end confdefs.h.  */
95327 #include <math.h>
95328 int
95329 main ()
95330 {
95331  hypotf(0, 0);
95332   ;
95333   return 0;
95334 }
95335 _ACEOF
95336 rm -f conftest.$ac_objext
95337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95338   (eval $ac_compile) 2>conftest.er1
95339   ac_status=$?
95340   grep -v '^ *+' conftest.er1 >conftest.err
95341   rm -f conftest.er1
95342   cat conftest.err >&5
95343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95344   (exit $ac_status); } &&
95345          { ac_try='test -z "$ac_cxx_werror_flag"
95346                          || test ! -s conftest.err'
95347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95348   (eval $ac_try) 2>&5
95349   ac_status=$?
95350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95351   (exit $ac_status); }; } &&
95352          { ac_try='test -s conftest.$ac_objext'
95353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95354   (eval $ac_try) 2>&5
95355   ac_status=$?
95356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95357   (exit $ac_status); }; }; then
95358   glibcxx_cv_func_hypotf_use=yes
95359 else
95360   echo "$as_me: failed program was:" >&5
95361 sed 's/^/| /' conftest.$ac_ext >&5
95362
95363 glibcxx_cv_func_hypotf_use=no
95364 fi
95365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95366       ac_ext=c
95367 ac_cpp='$CPP $CPPFLAGS'
95368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95371
95372
95373 fi
95374
95375   fi
95376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
95377 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
95378
95379   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
95380
95381 for ac_func in hypotf
95382 do
95383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95384 echo "$as_me:$LINENO: checking for $ac_func" >&5
95385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95386 if eval "test \"\${$as_ac_var+set}\" = set"; then
95387   echo $ECHO_N "(cached) $ECHO_C" >&6
95388 else
95389   if test x$gcc_no_link = xyes; then
95390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95392    { (exit 1); exit 1; }; }
95393 fi
95394 cat >conftest.$ac_ext <<_ACEOF
95395 /* confdefs.h.  */
95396 _ACEOF
95397 cat confdefs.h >>conftest.$ac_ext
95398 cat >>conftest.$ac_ext <<_ACEOF
95399 /* end confdefs.h.  */
95400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95402 #define $ac_func innocuous_$ac_func
95403
95404 /* System header to define __stub macros and hopefully few prototypes,
95405     which can conflict with char $ac_func (); below.
95406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95407     <limits.h> exists even on freestanding compilers.  */
95408
95409 #ifdef __STDC__
95410 # include <limits.h>
95411 #else
95412 # include <assert.h>
95413 #endif
95414
95415 #undef $ac_func
95416
95417 /* Override any gcc2 internal prototype to avoid an error.  */
95418 #ifdef __cplusplus
95419 extern "C"
95420 {
95421 #endif
95422 /* We use char because int might match the return type of a gcc2
95423    builtin and then its argument prototype would still apply.  */
95424 char $ac_func ();
95425 /* The GNU C library defines this for functions which it implements
95426     to always fail with ENOSYS.  Some functions are actually named
95427     something starting with __ and the normal name is an alias.  */
95428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95429 choke me
95430 #else
95431 char (*f) () = $ac_func;
95432 #endif
95433 #ifdef __cplusplus
95434 }
95435 #endif
95436
95437 int
95438 main ()
95439 {
95440 return f != $ac_func;
95441   ;
95442   return 0;
95443 }
95444 _ACEOF
95445 rm -f conftest.$ac_objext conftest$ac_exeext
95446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95447   (eval $ac_link) 2>conftest.er1
95448   ac_status=$?
95449   grep -v '^ *+' conftest.er1 >conftest.err
95450   rm -f conftest.er1
95451   cat conftest.err >&5
95452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95453   (exit $ac_status); } &&
95454          { ac_try='test -z "$ac_c_werror_flag"
95455                          || test ! -s conftest.err'
95456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95457   (eval $ac_try) 2>&5
95458   ac_status=$?
95459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95460   (exit $ac_status); }; } &&
95461          { ac_try='test -s conftest$ac_exeext'
95462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95463   (eval $ac_try) 2>&5
95464   ac_status=$?
95465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95466   (exit $ac_status); }; }; then
95467   eval "$as_ac_var=yes"
95468 else
95469   echo "$as_me: failed program was:" >&5
95470 sed 's/^/| /' conftest.$ac_ext >&5
95471
95472 eval "$as_ac_var=no"
95473 fi
95474 rm -f conftest.err conftest.$ac_objext \
95475       conftest$ac_exeext conftest.$ac_ext
95476 fi
95477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95479 if test `eval echo '${'$as_ac_var'}'` = yes; then
95480   cat >>confdefs.h <<_ACEOF
95481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95482 _ACEOF
95483
95484 fi
95485 done
95486
95487   else
95488
95489   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
95490 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
95491   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
95492     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
95493   echo $ECHO_N "(cached) $ECHO_C" >&6
95494 else
95495
95496
95497
95498       ac_ext=cc
95499 ac_cpp='$CXXCPP $CPPFLAGS'
95500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95503
95504       cat >conftest.$ac_ext <<_ACEOF
95505 /* confdefs.h.  */
95506 _ACEOF
95507 cat confdefs.h >>conftest.$ac_ext
95508 cat >>conftest.$ac_ext <<_ACEOF
95509 /* end confdefs.h.  */
95510 #include <math.h>
95511 int
95512 main ()
95513 {
95514  _hypotf(0, 0);
95515   ;
95516   return 0;
95517 }
95518 _ACEOF
95519 rm -f conftest.$ac_objext
95520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95521   (eval $ac_compile) 2>conftest.er1
95522   ac_status=$?
95523   grep -v '^ *+' conftest.er1 >conftest.err
95524   rm -f conftest.er1
95525   cat conftest.err >&5
95526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95527   (exit $ac_status); } &&
95528          { ac_try='test -z "$ac_cxx_werror_flag"
95529                          || test ! -s conftest.err'
95530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95531   (eval $ac_try) 2>&5
95532   ac_status=$?
95533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95534   (exit $ac_status); }; } &&
95535          { ac_try='test -s conftest.$ac_objext'
95536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95537   (eval $ac_try) 2>&5
95538   ac_status=$?
95539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95540   (exit $ac_status); }; }; then
95541   glibcxx_cv_func__hypotf_use=yes
95542 else
95543   echo "$as_me: failed program was:" >&5
95544 sed 's/^/| /' conftest.$ac_ext >&5
95545
95546 glibcxx_cv_func__hypotf_use=no
95547 fi
95548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95549       ac_ext=c
95550 ac_cpp='$CPP $CPPFLAGS'
95551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95554
95555
95556 fi
95557
95558   fi
95559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
95560 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
95561
95562     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
95563
95564 for ac_func in _hypotf
95565 do
95566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95567 echo "$as_me:$LINENO: checking for $ac_func" >&5
95568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95569 if eval "test \"\${$as_ac_var+set}\" = set"; then
95570   echo $ECHO_N "(cached) $ECHO_C" >&6
95571 else
95572   if test x$gcc_no_link = xyes; then
95573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95575    { (exit 1); exit 1; }; }
95576 fi
95577 cat >conftest.$ac_ext <<_ACEOF
95578 /* confdefs.h.  */
95579 _ACEOF
95580 cat confdefs.h >>conftest.$ac_ext
95581 cat >>conftest.$ac_ext <<_ACEOF
95582 /* end confdefs.h.  */
95583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95585 #define $ac_func innocuous_$ac_func
95586
95587 /* System header to define __stub macros and hopefully few prototypes,
95588     which can conflict with char $ac_func (); below.
95589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95590     <limits.h> exists even on freestanding compilers.  */
95591
95592 #ifdef __STDC__
95593 # include <limits.h>
95594 #else
95595 # include <assert.h>
95596 #endif
95597
95598 #undef $ac_func
95599
95600 /* Override any gcc2 internal prototype to avoid an error.  */
95601 #ifdef __cplusplus
95602 extern "C"
95603 {
95604 #endif
95605 /* We use char because int might match the return type of a gcc2
95606    builtin and then its argument prototype would still apply.  */
95607 char $ac_func ();
95608 /* The GNU C library defines this for functions which it implements
95609     to always fail with ENOSYS.  Some functions are actually named
95610     something starting with __ and the normal name is an alias.  */
95611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95612 choke me
95613 #else
95614 char (*f) () = $ac_func;
95615 #endif
95616 #ifdef __cplusplus
95617 }
95618 #endif
95619
95620 int
95621 main ()
95622 {
95623 return f != $ac_func;
95624   ;
95625   return 0;
95626 }
95627 _ACEOF
95628 rm -f conftest.$ac_objext conftest$ac_exeext
95629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95630   (eval $ac_link) 2>conftest.er1
95631   ac_status=$?
95632   grep -v '^ *+' conftest.er1 >conftest.err
95633   rm -f conftest.er1
95634   cat conftest.err >&5
95635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95636   (exit $ac_status); } &&
95637          { ac_try='test -z "$ac_c_werror_flag"
95638                          || test ! -s conftest.err'
95639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95640   (eval $ac_try) 2>&5
95641   ac_status=$?
95642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95643   (exit $ac_status); }; } &&
95644          { ac_try='test -s conftest$ac_exeext'
95645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95646   (eval $ac_try) 2>&5
95647   ac_status=$?
95648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95649   (exit $ac_status); }; }; then
95650   eval "$as_ac_var=yes"
95651 else
95652   echo "$as_me: failed program was:" >&5
95653 sed 's/^/| /' conftest.$ac_ext >&5
95654
95655 eval "$as_ac_var=no"
95656 fi
95657 rm -f conftest.err conftest.$ac_objext \
95658       conftest$ac_exeext conftest.$ac_ext
95659 fi
95660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95662 if test `eval echo '${'$as_ac_var'}'` = yes; then
95663   cat >>confdefs.h <<_ACEOF
95664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95665 _ACEOF
95666
95667 fi
95668 done
95669
95670     fi
95671   fi
95672
95673
95674
95675
95676
95677
95678   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
95679 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
95680   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
95681     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
95682   echo $ECHO_N "(cached) $ECHO_C" >&6
95683 else
95684
95685
95686
95687       ac_ext=cc
95688 ac_cpp='$CXXCPP $CPPFLAGS'
95689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95692
95693       cat >conftest.$ac_ext <<_ACEOF
95694 /* confdefs.h.  */
95695 _ACEOF
95696 cat confdefs.h >>conftest.$ac_ext
95697 cat >>conftest.$ac_ext <<_ACEOF
95698 /* end confdefs.h.  */
95699 #include <math.h>
95700 int
95701 main ()
95702 {
95703  ldexpf(0, 0);
95704   ;
95705   return 0;
95706 }
95707 _ACEOF
95708 rm -f conftest.$ac_objext
95709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95710   (eval $ac_compile) 2>conftest.er1
95711   ac_status=$?
95712   grep -v '^ *+' conftest.er1 >conftest.err
95713   rm -f conftest.er1
95714   cat conftest.err >&5
95715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95716   (exit $ac_status); } &&
95717          { ac_try='test -z "$ac_cxx_werror_flag"
95718                          || test ! -s conftest.err'
95719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95720   (eval $ac_try) 2>&5
95721   ac_status=$?
95722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95723   (exit $ac_status); }; } &&
95724          { ac_try='test -s conftest.$ac_objext'
95725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95726   (eval $ac_try) 2>&5
95727   ac_status=$?
95728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95729   (exit $ac_status); }; }; then
95730   glibcxx_cv_func_ldexpf_use=yes
95731 else
95732   echo "$as_me: failed program was:" >&5
95733 sed 's/^/| /' conftest.$ac_ext >&5
95734
95735 glibcxx_cv_func_ldexpf_use=no
95736 fi
95737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95738       ac_ext=c
95739 ac_cpp='$CPP $CPPFLAGS'
95740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95743
95744
95745 fi
95746
95747   fi
95748   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
95749 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
95750
95751   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
95752
95753 for ac_func in ldexpf
95754 do
95755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95756 echo "$as_me:$LINENO: checking for $ac_func" >&5
95757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95758 if eval "test \"\${$as_ac_var+set}\" = set"; then
95759   echo $ECHO_N "(cached) $ECHO_C" >&6
95760 else
95761   if test x$gcc_no_link = xyes; then
95762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95764    { (exit 1); exit 1; }; }
95765 fi
95766 cat >conftest.$ac_ext <<_ACEOF
95767 /* confdefs.h.  */
95768 _ACEOF
95769 cat confdefs.h >>conftest.$ac_ext
95770 cat >>conftest.$ac_ext <<_ACEOF
95771 /* end confdefs.h.  */
95772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95774 #define $ac_func innocuous_$ac_func
95775
95776 /* System header to define __stub macros and hopefully few prototypes,
95777     which can conflict with char $ac_func (); below.
95778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95779     <limits.h> exists even on freestanding compilers.  */
95780
95781 #ifdef __STDC__
95782 # include <limits.h>
95783 #else
95784 # include <assert.h>
95785 #endif
95786
95787 #undef $ac_func
95788
95789 /* Override any gcc2 internal prototype to avoid an error.  */
95790 #ifdef __cplusplus
95791 extern "C"
95792 {
95793 #endif
95794 /* We use char because int might match the return type of a gcc2
95795    builtin and then its argument prototype would still apply.  */
95796 char $ac_func ();
95797 /* The GNU C library defines this for functions which it implements
95798     to always fail with ENOSYS.  Some functions are actually named
95799     something starting with __ and the normal name is an alias.  */
95800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95801 choke me
95802 #else
95803 char (*f) () = $ac_func;
95804 #endif
95805 #ifdef __cplusplus
95806 }
95807 #endif
95808
95809 int
95810 main ()
95811 {
95812 return f != $ac_func;
95813   ;
95814   return 0;
95815 }
95816 _ACEOF
95817 rm -f conftest.$ac_objext conftest$ac_exeext
95818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95819   (eval $ac_link) 2>conftest.er1
95820   ac_status=$?
95821   grep -v '^ *+' conftest.er1 >conftest.err
95822   rm -f conftest.er1
95823   cat conftest.err >&5
95824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95825   (exit $ac_status); } &&
95826          { ac_try='test -z "$ac_c_werror_flag"
95827                          || test ! -s conftest.err'
95828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95829   (eval $ac_try) 2>&5
95830   ac_status=$?
95831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95832   (exit $ac_status); }; } &&
95833          { ac_try='test -s conftest$ac_exeext'
95834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95835   (eval $ac_try) 2>&5
95836   ac_status=$?
95837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95838   (exit $ac_status); }; }; then
95839   eval "$as_ac_var=yes"
95840 else
95841   echo "$as_me: failed program was:" >&5
95842 sed 's/^/| /' conftest.$ac_ext >&5
95843
95844 eval "$as_ac_var=no"
95845 fi
95846 rm -f conftest.err conftest.$ac_objext \
95847       conftest$ac_exeext conftest.$ac_ext
95848 fi
95849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95851 if test `eval echo '${'$as_ac_var'}'` = yes; then
95852   cat >>confdefs.h <<_ACEOF
95853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95854 _ACEOF
95855
95856 fi
95857 done
95858
95859   else
95860
95861   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
95862 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
95863   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
95864     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
95865   echo $ECHO_N "(cached) $ECHO_C" >&6
95866 else
95867
95868
95869
95870       ac_ext=cc
95871 ac_cpp='$CXXCPP $CPPFLAGS'
95872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95875
95876       cat >conftest.$ac_ext <<_ACEOF
95877 /* confdefs.h.  */
95878 _ACEOF
95879 cat confdefs.h >>conftest.$ac_ext
95880 cat >>conftest.$ac_ext <<_ACEOF
95881 /* end confdefs.h.  */
95882 #include <math.h>
95883 int
95884 main ()
95885 {
95886  _ldexpf(0, 0);
95887   ;
95888   return 0;
95889 }
95890 _ACEOF
95891 rm -f conftest.$ac_objext
95892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95893   (eval $ac_compile) 2>conftest.er1
95894   ac_status=$?
95895   grep -v '^ *+' conftest.er1 >conftest.err
95896   rm -f conftest.er1
95897   cat conftest.err >&5
95898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95899   (exit $ac_status); } &&
95900          { ac_try='test -z "$ac_cxx_werror_flag"
95901                          || test ! -s conftest.err'
95902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95903   (eval $ac_try) 2>&5
95904   ac_status=$?
95905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95906   (exit $ac_status); }; } &&
95907          { ac_try='test -s conftest.$ac_objext'
95908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95909   (eval $ac_try) 2>&5
95910   ac_status=$?
95911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95912   (exit $ac_status); }; }; then
95913   glibcxx_cv_func__ldexpf_use=yes
95914 else
95915   echo "$as_me: failed program was:" >&5
95916 sed 's/^/| /' conftest.$ac_ext >&5
95917
95918 glibcxx_cv_func__ldexpf_use=no
95919 fi
95920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95921       ac_ext=c
95922 ac_cpp='$CPP $CPPFLAGS'
95923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95926
95927
95928 fi
95929
95930   fi
95931   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95932 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95933
95934     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95935
95936 for ac_func in _ldexpf
95937 do
95938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95939 echo "$as_me:$LINENO: checking for $ac_func" >&5
95940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95941 if eval "test \"\${$as_ac_var+set}\" = set"; then
95942   echo $ECHO_N "(cached) $ECHO_C" >&6
95943 else
95944   if test x$gcc_no_link = xyes; then
95945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95947    { (exit 1); exit 1; }; }
95948 fi
95949 cat >conftest.$ac_ext <<_ACEOF
95950 /* confdefs.h.  */
95951 _ACEOF
95952 cat confdefs.h >>conftest.$ac_ext
95953 cat >>conftest.$ac_ext <<_ACEOF
95954 /* end confdefs.h.  */
95955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95957 #define $ac_func innocuous_$ac_func
95958
95959 /* System header to define __stub macros and hopefully few prototypes,
95960     which can conflict with char $ac_func (); below.
95961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95962     <limits.h> exists even on freestanding compilers.  */
95963
95964 #ifdef __STDC__
95965 # include <limits.h>
95966 #else
95967 # include <assert.h>
95968 #endif
95969
95970 #undef $ac_func
95971
95972 /* Override any gcc2 internal prototype to avoid an error.  */
95973 #ifdef __cplusplus
95974 extern "C"
95975 {
95976 #endif
95977 /* We use char because int might match the return type of a gcc2
95978    builtin and then its argument prototype would still apply.  */
95979 char $ac_func ();
95980 /* The GNU C library defines this for functions which it implements
95981     to always fail with ENOSYS.  Some functions are actually named
95982     something starting with __ and the normal name is an alias.  */
95983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95984 choke me
95985 #else
95986 char (*f) () = $ac_func;
95987 #endif
95988 #ifdef __cplusplus
95989 }
95990 #endif
95991
95992 int
95993 main ()
95994 {
95995 return f != $ac_func;
95996   ;
95997   return 0;
95998 }
95999 _ACEOF
96000 rm -f conftest.$ac_objext conftest$ac_exeext
96001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96002   (eval $ac_link) 2>conftest.er1
96003   ac_status=$?
96004   grep -v '^ *+' conftest.er1 >conftest.err
96005   rm -f conftest.er1
96006   cat conftest.err >&5
96007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96008   (exit $ac_status); } &&
96009          { ac_try='test -z "$ac_c_werror_flag"
96010                          || test ! -s conftest.err'
96011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96012   (eval $ac_try) 2>&5
96013   ac_status=$?
96014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96015   (exit $ac_status); }; } &&
96016          { ac_try='test -s conftest$ac_exeext'
96017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96018   (eval $ac_try) 2>&5
96019   ac_status=$?
96020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96021   (exit $ac_status); }; }; then
96022   eval "$as_ac_var=yes"
96023 else
96024   echo "$as_me: failed program was:" >&5
96025 sed 's/^/| /' conftest.$ac_ext >&5
96026
96027 eval "$as_ac_var=no"
96028 fi
96029 rm -f conftest.err conftest.$ac_objext \
96030       conftest$ac_exeext conftest.$ac_ext
96031 fi
96032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96034 if test `eval echo '${'$as_ac_var'}'` = yes; then
96035   cat >>confdefs.h <<_ACEOF
96036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96037 _ACEOF
96038
96039 fi
96040 done
96041
96042     fi
96043   fi
96044
96045
96046
96047
96048
96049
96050   echo "$as_me:$LINENO: checking for logf declaration" >&5
96051 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
96052   if test x${glibcxx_cv_func_logf_use+set} != xset; then
96053     if test "${glibcxx_cv_func_logf_use+set}" = set; then
96054   echo $ECHO_N "(cached) $ECHO_C" >&6
96055 else
96056
96057
96058
96059       ac_ext=cc
96060 ac_cpp='$CXXCPP $CPPFLAGS'
96061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96064
96065       cat >conftest.$ac_ext <<_ACEOF
96066 /* confdefs.h.  */
96067 _ACEOF
96068 cat confdefs.h >>conftest.$ac_ext
96069 cat >>conftest.$ac_ext <<_ACEOF
96070 /* end confdefs.h.  */
96071 #include <math.h>
96072                       #ifdef HAVE_IEEEFP_H
96073                       #include <ieeefp.h>
96074                       #endif
96075
96076 int
96077 main ()
96078 {
96079  logf(0);
96080   ;
96081   return 0;
96082 }
96083 _ACEOF
96084 rm -f conftest.$ac_objext
96085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96086   (eval $ac_compile) 2>conftest.er1
96087   ac_status=$?
96088   grep -v '^ *+' conftest.er1 >conftest.err
96089   rm -f conftest.er1
96090   cat conftest.err >&5
96091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96092   (exit $ac_status); } &&
96093          { ac_try='test -z "$ac_cxx_werror_flag"
96094                          || test ! -s conftest.err'
96095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96096   (eval $ac_try) 2>&5
96097   ac_status=$?
96098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96099   (exit $ac_status); }; } &&
96100          { ac_try='test -s conftest.$ac_objext'
96101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96102   (eval $ac_try) 2>&5
96103   ac_status=$?
96104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96105   (exit $ac_status); }; }; then
96106   glibcxx_cv_func_logf_use=yes
96107 else
96108   echo "$as_me: failed program was:" >&5
96109 sed 's/^/| /' conftest.$ac_ext >&5
96110
96111 glibcxx_cv_func_logf_use=no
96112 fi
96113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96114       ac_ext=c
96115 ac_cpp='$CPP $CPPFLAGS'
96116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96119
96120
96121 fi
96122
96123   fi
96124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
96125 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
96126
96127   if test x$glibcxx_cv_func_logf_use = x"yes"; then
96128
96129 for ac_func in logf
96130 do
96131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96132 echo "$as_me:$LINENO: checking for $ac_func" >&5
96133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96134 if eval "test \"\${$as_ac_var+set}\" = set"; then
96135   echo $ECHO_N "(cached) $ECHO_C" >&6
96136 else
96137   if test x$gcc_no_link = xyes; then
96138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96140    { (exit 1); exit 1; }; }
96141 fi
96142 cat >conftest.$ac_ext <<_ACEOF
96143 /* confdefs.h.  */
96144 _ACEOF
96145 cat confdefs.h >>conftest.$ac_ext
96146 cat >>conftest.$ac_ext <<_ACEOF
96147 /* end confdefs.h.  */
96148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96150 #define $ac_func innocuous_$ac_func
96151
96152 /* System header to define __stub macros and hopefully few prototypes,
96153     which can conflict with char $ac_func (); below.
96154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96155     <limits.h> exists even on freestanding compilers.  */
96156
96157 #ifdef __STDC__
96158 # include <limits.h>
96159 #else
96160 # include <assert.h>
96161 #endif
96162
96163 #undef $ac_func
96164
96165 /* Override any gcc2 internal prototype to avoid an error.  */
96166 #ifdef __cplusplus
96167 extern "C"
96168 {
96169 #endif
96170 /* We use char because int might match the return type of a gcc2
96171    builtin and then its argument prototype would still apply.  */
96172 char $ac_func ();
96173 /* The GNU C library defines this for functions which it implements
96174     to always fail with ENOSYS.  Some functions are actually named
96175     something starting with __ and the normal name is an alias.  */
96176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96177 choke me
96178 #else
96179 char (*f) () = $ac_func;
96180 #endif
96181 #ifdef __cplusplus
96182 }
96183 #endif
96184
96185 int
96186 main ()
96187 {
96188 return f != $ac_func;
96189   ;
96190   return 0;
96191 }
96192 _ACEOF
96193 rm -f conftest.$ac_objext conftest$ac_exeext
96194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96195   (eval $ac_link) 2>conftest.er1
96196   ac_status=$?
96197   grep -v '^ *+' conftest.er1 >conftest.err
96198   rm -f conftest.er1
96199   cat conftest.err >&5
96200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96201   (exit $ac_status); } &&
96202          { ac_try='test -z "$ac_c_werror_flag"
96203                          || test ! -s conftest.err'
96204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96205   (eval $ac_try) 2>&5
96206   ac_status=$?
96207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96208   (exit $ac_status); }; } &&
96209          { ac_try='test -s conftest$ac_exeext'
96210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96211   (eval $ac_try) 2>&5
96212   ac_status=$?
96213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96214   (exit $ac_status); }; }; then
96215   eval "$as_ac_var=yes"
96216 else
96217   echo "$as_me: failed program was:" >&5
96218 sed 's/^/| /' conftest.$ac_ext >&5
96219
96220 eval "$as_ac_var=no"
96221 fi
96222 rm -f conftest.err conftest.$ac_objext \
96223       conftest$ac_exeext conftest.$ac_ext
96224 fi
96225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96227 if test `eval echo '${'$as_ac_var'}'` = yes; then
96228   cat >>confdefs.h <<_ACEOF
96229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96230 _ACEOF
96231
96232 fi
96233 done
96234
96235   else
96236
96237   echo "$as_me:$LINENO: checking for _logf declaration" >&5
96238 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
96239   if test x${glibcxx_cv_func__logf_use+set} != xset; then
96240     if test "${glibcxx_cv_func__logf_use+set}" = set; then
96241   echo $ECHO_N "(cached) $ECHO_C" >&6
96242 else
96243
96244
96245
96246       ac_ext=cc
96247 ac_cpp='$CXXCPP $CPPFLAGS'
96248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96251
96252       cat >conftest.$ac_ext <<_ACEOF
96253 /* confdefs.h.  */
96254 _ACEOF
96255 cat confdefs.h >>conftest.$ac_ext
96256 cat >>conftest.$ac_ext <<_ACEOF
96257 /* end confdefs.h.  */
96258 #include <math.h>
96259                       #ifdef HAVE_IEEEFP_H
96260                       #include <ieeefp.h>
96261                       #endif
96262
96263 int
96264 main ()
96265 {
96266  _logf(0);
96267   ;
96268   return 0;
96269 }
96270 _ACEOF
96271 rm -f conftest.$ac_objext
96272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96273   (eval $ac_compile) 2>conftest.er1
96274   ac_status=$?
96275   grep -v '^ *+' conftest.er1 >conftest.err
96276   rm -f conftest.er1
96277   cat conftest.err >&5
96278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279   (exit $ac_status); } &&
96280          { ac_try='test -z "$ac_cxx_werror_flag"
96281                          || test ! -s conftest.err'
96282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96283   (eval $ac_try) 2>&5
96284   ac_status=$?
96285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96286   (exit $ac_status); }; } &&
96287          { ac_try='test -s conftest.$ac_objext'
96288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96289   (eval $ac_try) 2>&5
96290   ac_status=$?
96291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292   (exit $ac_status); }; }; then
96293   glibcxx_cv_func__logf_use=yes
96294 else
96295   echo "$as_me: failed program was:" >&5
96296 sed 's/^/| /' conftest.$ac_ext >&5
96297
96298 glibcxx_cv_func__logf_use=no
96299 fi
96300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96301       ac_ext=c
96302 ac_cpp='$CPP $CPPFLAGS'
96303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96306
96307
96308 fi
96309
96310   fi
96311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
96312 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
96313
96314     if test x$glibcxx_cv_func__logf_use = x"yes"; then
96315
96316 for ac_func in _logf
96317 do
96318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96319 echo "$as_me:$LINENO: checking for $ac_func" >&5
96320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96321 if eval "test \"\${$as_ac_var+set}\" = set"; then
96322   echo $ECHO_N "(cached) $ECHO_C" >&6
96323 else
96324   if test x$gcc_no_link = xyes; then
96325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96327    { (exit 1); exit 1; }; }
96328 fi
96329 cat >conftest.$ac_ext <<_ACEOF
96330 /* confdefs.h.  */
96331 _ACEOF
96332 cat confdefs.h >>conftest.$ac_ext
96333 cat >>conftest.$ac_ext <<_ACEOF
96334 /* end confdefs.h.  */
96335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96337 #define $ac_func innocuous_$ac_func
96338
96339 /* System header to define __stub macros and hopefully few prototypes,
96340     which can conflict with char $ac_func (); below.
96341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96342     <limits.h> exists even on freestanding compilers.  */
96343
96344 #ifdef __STDC__
96345 # include <limits.h>
96346 #else
96347 # include <assert.h>
96348 #endif
96349
96350 #undef $ac_func
96351
96352 /* Override any gcc2 internal prototype to avoid an error.  */
96353 #ifdef __cplusplus
96354 extern "C"
96355 {
96356 #endif
96357 /* We use char because int might match the return type of a gcc2
96358    builtin and then its argument prototype would still apply.  */
96359 char $ac_func ();
96360 /* The GNU C library defines this for functions which it implements
96361     to always fail with ENOSYS.  Some functions are actually named
96362     something starting with __ and the normal name is an alias.  */
96363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96364 choke me
96365 #else
96366 char (*f) () = $ac_func;
96367 #endif
96368 #ifdef __cplusplus
96369 }
96370 #endif
96371
96372 int
96373 main ()
96374 {
96375 return f != $ac_func;
96376   ;
96377   return 0;
96378 }
96379 _ACEOF
96380 rm -f conftest.$ac_objext conftest$ac_exeext
96381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96382   (eval $ac_link) 2>conftest.er1
96383   ac_status=$?
96384   grep -v '^ *+' conftest.er1 >conftest.err
96385   rm -f conftest.er1
96386   cat conftest.err >&5
96387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96388   (exit $ac_status); } &&
96389          { ac_try='test -z "$ac_c_werror_flag"
96390                          || test ! -s conftest.err'
96391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96392   (eval $ac_try) 2>&5
96393   ac_status=$?
96394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96395   (exit $ac_status); }; } &&
96396          { ac_try='test -s conftest$ac_exeext'
96397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96398   (eval $ac_try) 2>&5
96399   ac_status=$?
96400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401   (exit $ac_status); }; }; then
96402   eval "$as_ac_var=yes"
96403 else
96404   echo "$as_me: failed program was:" >&5
96405 sed 's/^/| /' conftest.$ac_ext >&5
96406
96407 eval "$as_ac_var=no"
96408 fi
96409 rm -f conftest.err conftest.$ac_objext \
96410       conftest$ac_exeext conftest.$ac_ext
96411 fi
96412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96414 if test `eval echo '${'$as_ac_var'}'` = yes; then
96415   cat >>confdefs.h <<_ACEOF
96416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96417 _ACEOF
96418
96419 fi
96420 done
96421
96422     fi
96423   fi
96424
96425
96426
96427
96428
96429
96430   echo "$as_me:$LINENO: checking for log10f declaration" >&5
96431 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
96432   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
96433     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
96434   echo $ECHO_N "(cached) $ECHO_C" >&6
96435 else
96436
96437
96438
96439       ac_ext=cc
96440 ac_cpp='$CXXCPP $CPPFLAGS'
96441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96444
96445       cat >conftest.$ac_ext <<_ACEOF
96446 /* confdefs.h.  */
96447 _ACEOF
96448 cat confdefs.h >>conftest.$ac_ext
96449 cat >>conftest.$ac_ext <<_ACEOF
96450 /* end confdefs.h.  */
96451 #include <math.h>
96452                       #ifdef HAVE_IEEEFP_H
96453                       #include <ieeefp.h>
96454                       #endif
96455
96456 int
96457 main ()
96458 {
96459  log10f(0);
96460   ;
96461   return 0;
96462 }
96463 _ACEOF
96464 rm -f conftest.$ac_objext
96465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96466   (eval $ac_compile) 2>conftest.er1
96467   ac_status=$?
96468   grep -v '^ *+' conftest.er1 >conftest.err
96469   rm -f conftest.er1
96470   cat conftest.err >&5
96471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96472   (exit $ac_status); } &&
96473          { ac_try='test -z "$ac_cxx_werror_flag"
96474                          || test ! -s conftest.err'
96475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96476   (eval $ac_try) 2>&5
96477   ac_status=$?
96478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96479   (exit $ac_status); }; } &&
96480          { ac_try='test -s conftest.$ac_objext'
96481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96482   (eval $ac_try) 2>&5
96483   ac_status=$?
96484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96485   (exit $ac_status); }; }; then
96486   glibcxx_cv_func_log10f_use=yes
96487 else
96488   echo "$as_me: failed program was:" >&5
96489 sed 's/^/| /' conftest.$ac_ext >&5
96490
96491 glibcxx_cv_func_log10f_use=no
96492 fi
96493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96494       ac_ext=c
96495 ac_cpp='$CPP $CPPFLAGS'
96496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96499
96500
96501 fi
96502
96503   fi
96504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
96505 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
96506
96507   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
96508
96509 for ac_func in log10f
96510 do
96511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96512 echo "$as_me:$LINENO: checking for $ac_func" >&5
96513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96514 if eval "test \"\${$as_ac_var+set}\" = set"; then
96515   echo $ECHO_N "(cached) $ECHO_C" >&6
96516 else
96517   if test x$gcc_no_link = xyes; then
96518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96520    { (exit 1); exit 1; }; }
96521 fi
96522 cat >conftest.$ac_ext <<_ACEOF
96523 /* confdefs.h.  */
96524 _ACEOF
96525 cat confdefs.h >>conftest.$ac_ext
96526 cat >>conftest.$ac_ext <<_ACEOF
96527 /* end confdefs.h.  */
96528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96530 #define $ac_func innocuous_$ac_func
96531
96532 /* System header to define __stub macros and hopefully few prototypes,
96533     which can conflict with char $ac_func (); below.
96534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96535     <limits.h> exists even on freestanding compilers.  */
96536
96537 #ifdef __STDC__
96538 # include <limits.h>
96539 #else
96540 # include <assert.h>
96541 #endif
96542
96543 #undef $ac_func
96544
96545 /* Override any gcc2 internal prototype to avoid an error.  */
96546 #ifdef __cplusplus
96547 extern "C"
96548 {
96549 #endif
96550 /* We use char because int might match the return type of a gcc2
96551    builtin and then its argument prototype would still apply.  */
96552 char $ac_func ();
96553 /* The GNU C library defines this for functions which it implements
96554     to always fail with ENOSYS.  Some functions are actually named
96555     something starting with __ and the normal name is an alias.  */
96556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96557 choke me
96558 #else
96559 char (*f) () = $ac_func;
96560 #endif
96561 #ifdef __cplusplus
96562 }
96563 #endif
96564
96565 int
96566 main ()
96567 {
96568 return f != $ac_func;
96569   ;
96570   return 0;
96571 }
96572 _ACEOF
96573 rm -f conftest.$ac_objext conftest$ac_exeext
96574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96575   (eval $ac_link) 2>conftest.er1
96576   ac_status=$?
96577   grep -v '^ *+' conftest.er1 >conftest.err
96578   rm -f conftest.er1
96579   cat conftest.err >&5
96580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96581   (exit $ac_status); } &&
96582          { ac_try='test -z "$ac_c_werror_flag"
96583                          || test ! -s conftest.err'
96584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96585   (eval $ac_try) 2>&5
96586   ac_status=$?
96587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96588   (exit $ac_status); }; } &&
96589          { ac_try='test -s conftest$ac_exeext'
96590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96591   (eval $ac_try) 2>&5
96592   ac_status=$?
96593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96594   (exit $ac_status); }; }; then
96595   eval "$as_ac_var=yes"
96596 else
96597   echo "$as_me: failed program was:" >&5
96598 sed 's/^/| /' conftest.$ac_ext >&5
96599
96600 eval "$as_ac_var=no"
96601 fi
96602 rm -f conftest.err conftest.$ac_objext \
96603       conftest$ac_exeext conftest.$ac_ext
96604 fi
96605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96607 if test `eval echo '${'$as_ac_var'}'` = yes; then
96608   cat >>confdefs.h <<_ACEOF
96609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96610 _ACEOF
96611
96612 fi
96613 done
96614
96615   else
96616
96617   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
96618 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
96619   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
96620     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
96621   echo $ECHO_N "(cached) $ECHO_C" >&6
96622 else
96623
96624
96625
96626       ac_ext=cc
96627 ac_cpp='$CXXCPP $CPPFLAGS'
96628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96631
96632       cat >conftest.$ac_ext <<_ACEOF
96633 /* confdefs.h.  */
96634 _ACEOF
96635 cat confdefs.h >>conftest.$ac_ext
96636 cat >>conftest.$ac_ext <<_ACEOF
96637 /* end confdefs.h.  */
96638 #include <math.h>
96639                       #ifdef HAVE_IEEEFP_H
96640                       #include <ieeefp.h>
96641                       #endif
96642
96643 int
96644 main ()
96645 {
96646  _log10f(0);
96647   ;
96648   return 0;
96649 }
96650 _ACEOF
96651 rm -f conftest.$ac_objext
96652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96653   (eval $ac_compile) 2>conftest.er1
96654   ac_status=$?
96655   grep -v '^ *+' conftest.er1 >conftest.err
96656   rm -f conftest.er1
96657   cat conftest.err >&5
96658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96659   (exit $ac_status); } &&
96660          { ac_try='test -z "$ac_cxx_werror_flag"
96661                          || test ! -s conftest.err'
96662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96663   (eval $ac_try) 2>&5
96664   ac_status=$?
96665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96666   (exit $ac_status); }; } &&
96667          { ac_try='test -s conftest.$ac_objext'
96668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96669   (eval $ac_try) 2>&5
96670   ac_status=$?
96671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96672   (exit $ac_status); }; }; then
96673   glibcxx_cv_func__log10f_use=yes
96674 else
96675   echo "$as_me: failed program was:" >&5
96676 sed 's/^/| /' conftest.$ac_ext >&5
96677
96678 glibcxx_cv_func__log10f_use=no
96679 fi
96680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96681       ac_ext=c
96682 ac_cpp='$CPP $CPPFLAGS'
96683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96686
96687
96688 fi
96689
96690   fi
96691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
96692 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
96693
96694     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
96695
96696 for ac_func in _log10f
96697 do
96698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96699 echo "$as_me:$LINENO: checking for $ac_func" >&5
96700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96701 if eval "test \"\${$as_ac_var+set}\" = set"; then
96702   echo $ECHO_N "(cached) $ECHO_C" >&6
96703 else
96704   if test x$gcc_no_link = xyes; then
96705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96707    { (exit 1); exit 1; }; }
96708 fi
96709 cat >conftest.$ac_ext <<_ACEOF
96710 /* confdefs.h.  */
96711 _ACEOF
96712 cat confdefs.h >>conftest.$ac_ext
96713 cat >>conftest.$ac_ext <<_ACEOF
96714 /* end confdefs.h.  */
96715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96717 #define $ac_func innocuous_$ac_func
96718
96719 /* System header to define __stub macros and hopefully few prototypes,
96720     which can conflict with char $ac_func (); below.
96721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96722     <limits.h> exists even on freestanding compilers.  */
96723
96724 #ifdef __STDC__
96725 # include <limits.h>
96726 #else
96727 # include <assert.h>
96728 #endif
96729
96730 #undef $ac_func
96731
96732 /* Override any gcc2 internal prototype to avoid an error.  */
96733 #ifdef __cplusplus
96734 extern "C"
96735 {
96736 #endif
96737 /* We use char because int might match the return type of a gcc2
96738    builtin and then its argument prototype would still apply.  */
96739 char $ac_func ();
96740 /* The GNU C library defines this for functions which it implements
96741     to always fail with ENOSYS.  Some functions are actually named
96742     something starting with __ and the normal name is an alias.  */
96743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96744 choke me
96745 #else
96746 char (*f) () = $ac_func;
96747 #endif
96748 #ifdef __cplusplus
96749 }
96750 #endif
96751
96752 int
96753 main ()
96754 {
96755 return f != $ac_func;
96756   ;
96757   return 0;
96758 }
96759 _ACEOF
96760 rm -f conftest.$ac_objext conftest$ac_exeext
96761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96762   (eval $ac_link) 2>conftest.er1
96763   ac_status=$?
96764   grep -v '^ *+' conftest.er1 >conftest.err
96765   rm -f conftest.er1
96766   cat conftest.err >&5
96767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96768   (exit $ac_status); } &&
96769          { ac_try='test -z "$ac_c_werror_flag"
96770                          || test ! -s conftest.err'
96771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96772   (eval $ac_try) 2>&5
96773   ac_status=$?
96774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96775   (exit $ac_status); }; } &&
96776          { ac_try='test -s conftest$ac_exeext'
96777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96778   (eval $ac_try) 2>&5
96779   ac_status=$?
96780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96781   (exit $ac_status); }; }; then
96782   eval "$as_ac_var=yes"
96783 else
96784   echo "$as_me: failed program was:" >&5
96785 sed 's/^/| /' conftest.$ac_ext >&5
96786
96787 eval "$as_ac_var=no"
96788 fi
96789 rm -f conftest.err conftest.$ac_objext \
96790       conftest$ac_exeext conftest.$ac_ext
96791 fi
96792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96794 if test `eval echo '${'$as_ac_var'}'` = yes; then
96795   cat >>confdefs.h <<_ACEOF
96796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96797 _ACEOF
96798
96799 fi
96800 done
96801
96802     fi
96803   fi
96804
96805
96806
96807
96808
96809
96810   echo "$as_me:$LINENO: checking for modff declaration" >&5
96811 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
96812   if test x${glibcxx_cv_func_modff_use+set} != xset; then
96813     if test "${glibcxx_cv_func_modff_use+set}" = set; then
96814   echo $ECHO_N "(cached) $ECHO_C" >&6
96815 else
96816
96817
96818
96819       ac_ext=cc
96820 ac_cpp='$CXXCPP $CPPFLAGS'
96821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96824
96825       cat >conftest.$ac_ext <<_ACEOF
96826 /* confdefs.h.  */
96827 _ACEOF
96828 cat confdefs.h >>conftest.$ac_ext
96829 cat >>conftest.$ac_ext <<_ACEOF
96830 /* end confdefs.h.  */
96831 #include <math.h>
96832 int
96833 main ()
96834 {
96835  modff(0, 0);
96836   ;
96837   return 0;
96838 }
96839 _ACEOF
96840 rm -f conftest.$ac_objext
96841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96842   (eval $ac_compile) 2>conftest.er1
96843   ac_status=$?
96844   grep -v '^ *+' conftest.er1 >conftest.err
96845   rm -f conftest.er1
96846   cat conftest.err >&5
96847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96848   (exit $ac_status); } &&
96849          { ac_try='test -z "$ac_cxx_werror_flag"
96850                          || test ! -s conftest.err'
96851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96852   (eval $ac_try) 2>&5
96853   ac_status=$?
96854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96855   (exit $ac_status); }; } &&
96856          { ac_try='test -s conftest.$ac_objext'
96857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96858   (eval $ac_try) 2>&5
96859   ac_status=$?
96860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96861   (exit $ac_status); }; }; then
96862   glibcxx_cv_func_modff_use=yes
96863 else
96864   echo "$as_me: failed program was:" >&5
96865 sed 's/^/| /' conftest.$ac_ext >&5
96866
96867 glibcxx_cv_func_modff_use=no
96868 fi
96869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96870       ac_ext=c
96871 ac_cpp='$CPP $CPPFLAGS'
96872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96875
96876
96877 fi
96878
96879   fi
96880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
96881 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
96882
96883   if test x$glibcxx_cv_func_modff_use = x"yes"; then
96884
96885 for ac_func in modff
96886 do
96887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96888 echo "$as_me:$LINENO: checking for $ac_func" >&5
96889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96890 if eval "test \"\${$as_ac_var+set}\" = set"; then
96891   echo $ECHO_N "(cached) $ECHO_C" >&6
96892 else
96893   if test x$gcc_no_link = xyes; then
96894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96896    { (exit 1); exit 1; }; }
96897 fi
96898 cat >conftest.$ac_ext <<_ACEOF
96899 /* confdefs.h.  */
96900 _ACEOF
96901 cat confdefs.h >>conftest.$ac_ext
96902 cat >>conftest.$ac_ext <<_ACEOF
96903 /* end confdefs.h.  */
96904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96906 #define $ac_func innocuous_$ac_func
96907
96908 /* System header to define __stub macros and hopefully few prototypes,
96909     which can conflict with char $ac_func (); below.
96910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96911     <limits.h> exists even on freestanding compilers.  */
96912
96913 #ifdef __STDC__
96914 # include <limits.h>
96915 #else
96916 # include <assert.h>
96917 #endif
96918
96919 #undef $ac_func
96920
96921 /* Override any gcc2 internal prototype to avoid an error.  */
96922 #ifdef __cplusplus
96923 extern "C"
96924 {
96925 #endif
96926 /* We use char because int might match the return type of a gcc2
96927    builtin and then its argument prototype would still apply.  */
96928 char $ac_func ();
96929 /* The GNU C library defines this for functions which it implements
96930     to always fail with ENOSYS.  Some functions are actually named
96931     something starting with __ and the normal name is an alias.  */
96932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96933 choke me
96934 #else
96935 char (*f) () = $ac_func;
96936 #endif
96937 #ifdef __cplusplus
96938 }
96939 #endif
96940
96941 int
96942 main ()
96943 {
96944 return f != $ac_func;
96945   ;
96946   return 0;
96947 }
96948 _ACEOF
96949 rm -f conftest.$ac_objext conftest$ac_exeext
96950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96951   (eval $ac_link) 2>conftest.er1
96952   ac_status=$?
96953   grep -v '^ *+' conftest.er1 >conftest.err
96954   rm -f conftest.er1
96955   cat conftest.err >&5
96956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96957   (exit $ac_status); } &&
96958          { ac_try='test -z "$ac_c_werror_flag"
96959                          || test ! -s conftest.err'
96960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96961   (eval $ac_try) 2>&5
96962   ac_status=$?
96963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96964   (exit $ac_status); }; } &&
96965          { ac_try='test -s conftest$ac_exeext'
96966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96967   (eval $ac_try) 2>&5
96968   ac_status=$?
96969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96970   (exit $ac_status); }; }; then
96971   eval "$as_ac_var=yes"
96972 else
96973   echo "$as_me: failed program was:" >&5
96974 sed 's/^/| /' conftest.$ac_ext >&5
96975
96976 eval "$as_ac_var=no"
96977 fi
96978 rm -f conftest.err conftest.$ac_objext \
96979       conftest$ac_exeext conftest.$ac_ext
96980 fi
96981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96983 if test `eval echo '${'$as_ac_var'}'` = yes; then
96984   cat >>confdefs.h <<_ACEOF
96985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96986 _ACEOF
96987
96988 fi
96989 done
96990
96991   else
96992
96993   echo "$as_me:$LINENO: checking for _modff declaration" >&5
96994 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96995   if test x${glibcxx_cv_func__modff_use+set} != xset; then
96996     if test "${glibcxx_cv_func__modff_use+set}" = set; then
96997   echo $ECHO_N "(cached) $ECHO_C" >&6
96998 else
96999
97000
97001
97002       ac_ext=cc
97003 ac_cpp='$CXXCPP $CPPFLAGS'
97004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97007
97008       cat >conftest.$ac_ext <<_ACEOF
97009 /* confdefs.h.  */
97010 _ACEOF
97011 cat confdefs.h >>conftest.$ac_ext
97012 cat >>conftest.$ac_ext <<_ACEOF
97013 /* end confdefs.h.  */
97014 #include <math.h>
97015 int
97016 main ()
97017 {
97018  _modff(0, 0);
97019   ;
97020   return 0;
97021 }
97022 _ACEOF
97023 rm -f conftest.$ac_objext
97024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97025   (eval $ac_compile) 2>conftest.er1
97026   ac_status=$?
97027   grep -v '^ *+' conftest.er1 >conftest.err
97028   rm -f conftest.er1
97029   cat conftest.err >&5
97030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97031   (exit $ac_status); } &&
97032          { ac_try='test -z "$ac_cxx_werror_flag"
97033                          || test ! -s conftest.err'
97034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97035   (eval $ac_try) 2>&5
97036   ac_status=$?
97037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97038   (exit $ac_status); }; } &&
97039          { ac_try='test -s conftest.$ac_objext'
97040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97041   (eval $ac_try) 2>&5
97042   ac_status=$?
97043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97044   (exit $ac_status); }; }; then
97045   glibcxx_cv_func__modff_use=yes
97046 else
97047   echo "$as_me: failed program was:" >&5
97048 sed 's/^/| /' conftest.$ac_ext >&5
97049
97050 glibcxx_cv_func__modff_use=no
97051 fi
97052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97053       ac_ext=c
97054 ac_cpp='$CPP $CPPFLAGS'
97055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97058
97059
97060 fi
97061
97062   fi
97063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
97064 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
97065
97066     if test x$glibcxx_cv_func__modff_use = x"yes"; then
97067
97068 for ac_func in _modff
97069 do
97070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97071 echo "$as_me:$LINENO: checking for $ac_func" >&5
97072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97073 if eval "test \"\${$as_ac_var+set}\" = set"; then
97074   echo $ECHO_N "(cached) $ECHO_C" >&6
97075 else
97076   if test x$gcc_no_link = xyes; then
97077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97079    { (exit 1); exit 1; }; }
97080 fi
97081 cat >conftest.$ac_ext <<_ACEOF
97082 /* confdefs.h.  */
97083 _ACEOF
97084 cat confdefs.h >>conftest.$ac_ext
97085 cat >>conftest.$ac_ext <<_ACEOF
97086 /* end confdefs.h.  */
97087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97089 #define $ac_func innocuous_$ac_func
97090
97091 /* System header to define __stub macros and hopefully few prototypes,
97092     which can conflict with char $ac_func (); below.
97093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97094     <limits.h> exists even on freestanding compilers.  */
97095
97096 #ifdef __STDC__
97097 # include <limits.h>
97098 #else
97099 # include <assert.h>
97100 #endif
97101
97102 #undef $ac_func
97103
97104 /* Override any gcc2 internal prototype to avoid an error.  */
97105 #ifdef __cplusplus
97106 extern "C"
97107 {
97108 #endif
97109 /* We use char because int might match the return type of a gcc2
97110    builtin and then its argument prototype would still apply.  */
97111 char $ac_func ();
97112 /* The GNU C library defines this for functions which it implements
97113     to always fail with ENOSYS.  Some functions are actually named
97114     something starting with __ and the normal name is an alias.  */
97115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97116 choke me
97117 #else
97118 char (*f) () = $ac_func;
97119 #endif
97120 #ifdef __cplusplus
97121 }
97122 #endif
97123
97124 int
97125 main ()
97126 {
97127 return f != $ac_func;
97128   ;
97129   return 0;
97130 }
97131 _ACEOF
97132 rm -f conftest.$ac_objext conftest$ac_exeext
97133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97134   (eval $ac_link) 2>conftest.er1
97135   ac_status=$?
97136   grep -v '^ *+' conftest.er1 >conftest.err
97137   rm -f conftest.er1
97138   cat conftest.err >&5
97139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97140   (exit $ac_status); } &&
97141          { ac_try='test -z "$ac_c_werror_flag"
97142                          || test ! -s conftest.err'
97143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97144   (eval $ac_try) 2>&5
97145   ac_status=$?
97146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97147   (exit $ac_status); }; } &&
97148          { ac_try='test -s conftest$ac_exeext'
97149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97150   (eval $ac_try) 2>&5
97151   ac_status=$?
97152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97153   (exit $ac_status); }; }; then
97154   eval "$as_ac_var=yes"
97155 else
97156   echo "$as_me: failed program was:" >&5
97157 sed 's/^/| /' conftest.$ac_ext >&5
97158
97159 eval "$as_ac_var=no"
97160 fi
97161 rm -f conftest.err conftest.$ac_objext \
97162       conftest$ac_exeext conftest.$ac_ext
97163 fi
97164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97166 if test `eval echo '${'$as_ac_var'}'` = yes; then
97167   cat >>confdefs.h <<_ACEOF
97168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97169 _ACEOF
97170
97171 fi
97172 done
97173
97174     fi
97175   fi
97176
97177
97178
97179
97180
97181
97182   echo "$as_me:$LINENO: checking for modf declaration" >&5
97183 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
97184   if test x${glibcxx_cv_func_modf_use+set} != xset; then
97185     if test "${glibcxx_cv_func_modf_use+set}" = set; then
97186   echo $ECHO_N "(cached) $ECHO_C" >&6
97187 else
97188
97189
97190
97191       ac_ext=cc
97192 ac_cpp='$CXXCPP $CPPFLAGS'
97193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97196
97197       cat >conftest.$ac_ext <<_ACEOF
97198 /* confdefs.h.  */
97199 _ACEOF
97200 cat confdefs.h >>conftest.$ac_ext
97201 cat >>conftest.$ac_ext <<_ACEOF
97202 /* end confdefs.h.  */
97203 #include <math.h>
97204 int
97205 main ()
97206 {
97207  modf(0, 0);
97208   ;
97209   return 0;
97210 }
97211 _ACEOF
97212 rm -f conftest.$ac_objext
97213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97214   (eval $ac_compile) 2>conftest.er1
97215   ac_status=$?
97216   grep -v '^ *+' conftest.er1 >conftest.err
97217   rm -f conftest.er1
97218   cat conftest.err >&5
97219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97220   (exit $ac_status); } &&
97221          { ac_try='test -z "$ac_cxx_werror_flag"
97222                          || test ! -s conftest.err'
97223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97224   (eval $ac_try) 2>&5
97225   ac_status=$?
97226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227   (exit $ac_status); }; } &&
97228          { ac_try='test -s conftest.$ac_objext'
97229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97230   (eval $ac_try) 2>&5
97231   ac_status=$?
97232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97233   (exit $ac_status); }; }; then
97234   glibcxx_cv_func_modf_use=yes
97235 else
97236   echo "$as_me: failed program was:" >&5
97237 sed 's/^/| /' conftest.$ac_ext >&5
97238
97239 glibcxx_cv_func_modf_use=no
97240 fi
97241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97242       ac_ext=c
97243 ac_cpp='$CPP $CPPFLAGS'
97244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97247
97248
97249 fi
97250
97251   fi
97252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
97253 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
97254
97255   if test x$glibcxx_cv_func_modf_use = x"yes"; then
97256
97257 for ac_func in modf
97258 do
97259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97260 echo "$as_me:$LINENO: checking for $ac_func" >&5
97261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97262 if eval "test \"\${$as_ac_var+set}\" = set"; then
97263   echo $ECHO_N "(cached) $ECHO_C" >&6
97264 else
97265   if test x$gcc_no_link = xyes; then
97266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97268    { (exit 1); exit 1; }; }
97269 fi
97270 cat >conftest.$ac_ext <<_ACEOF
97271 /* confdefs.h.  */
97272 _ACEOF
97273 cat confdefs.h >>conftest.$ac_ext
97274 cat >>conftest.$ac_ext <<_ACEOF
97275 /* end confdefs.h.  */
97276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97278 #define $ac_func innocuous_$ac_func
97279
97280 /* System header to define __stub macros and hopefully few prototypes,
97281     which can conflict with char $ac_func (); below.
97282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97283     <limits.h> exists even on freestanding compilers.  */
97284
97285 #ifdef __STDC__
97286 # include <limits.h>
97287 #else
97288 # include <assert.h>
97289 #endif
97290
97291 #undef $ac_func
97292
97293 /* Override any gcc2 internal prototype to avoid an error.  */
97294 #ifdef __cplusplus
97295 extern "C"
97296 {
97297 #endif
97298 /* We use char because int might match the return type of a gcc2
97299    builtin and then its argument prototype would still apply.  */
97300 char $ac_func ();
97301 /* The GNU C library defines this for functions which it implements
97302     to always fail with ENOSYS.  Some functions are actually named
97303     something starting with __ and the normal name is an alias.  */
97304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97305 choke me
97306 #else
97307 char (*f) () = $ac_func;
97308 #endif
97309 #ifdef __cplusplus
97310 }
97311 #endif
97312
97313 int
97314 main ()
97315 {
97316 return f != $ac_func;
97317   ;
97318   return 0;
97319 }
97320 _ACEOF
97321 rm -f conftest.$ac_objext conftest$ac_exeext
97322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97323   (eval $ac_link) 2>conftest.er1
97324   ac_status=$?
97325   grep -v '^ *+' conftest.er1 >conftest.err
97326   rm -f conftest.er1
97327   cat conftest.err >&5
97328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97329   (exit $ac_status); } &&
97330          { ac_try='test -z "$ac_c_werror_flag"
97331                          || test ! -s conftest.err'
97332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97333   (eval $ac_try) 2>&5
97334   ac_status=$?
97335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97336   (exit $ac_status); }; } &&
97337          { ac_try='test -s conftest$ac_exeext'
97338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97339   (eval $ac_try) 2>&5
97340   ac_status=$?
97341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97342   (exit $ac_status); }; }; then
97343   eval "$as_ac_var=yes"
97344 else
97345   echo "$as_me: failed program was:" >&5
97346 sed 's/^/| /' conftest.$ac_ext >&5
97347
97348 eval "$as_ac_var=no"
97349 fi
97350 rm -f conftest.err conftest.$ac_objext \
97351       conftest$ac_exeext conftest.$ac_ext
97352 fi
97353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97355 if test `eval echo '${'$as_ac_var'}'` = yes; then
97356   cat >>confdefs.h <<_ACEOF
97357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97358 _ACEOF
97359
97360 fi
97361 done
97362
97363   else
97364
97365   echo "$as_me:$LINENO: checking for _modf declaration" >&5
97366 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
97367   if test x${glibcxx_cv_func__modf_use+set} != xset; then
97368     if test "${glibcxx_cv_func__modf_use+set}" = set; then
97369   echo $ECHO_N "(cached) $ECHO_C" >&6
97370 else
97371
97372
97373
97374       ac_ext=cc
97375 ac_cpp='$CXXCPP $CPPFLAGS'
97376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97379
97380       cat >conftest.$ac_ext <<_ACEOF
97381 /* confdefs.h.  */
97382 _ACEOF
97383 cat confdefs.h >>conftest.$ac_ext
97384 cat >>conftest.$ac_ext <<_ACEOF
97385 /* end confdefs.h.  */
97386 #include <math.h>
97387 int
97388 main ()
97389 {
97390  _modf(0, 0);
97391   ;
97392   return 0;
97393 }
97394 _ACEOF
97395 rm -f conftest.$ac_objext
97396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97397   (eval $ac_compile) 2>conftest.er1
97398   ac_status=$?
97399   grep -v '^ *+' conftest.er1 >conftest.err
97400   rm -f conftest.er1
97401   cat conftest.err >&5
97402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97403   (exit $ac_status); } &&
97404          { ac_try='test -z "$ac_cxx_werror_flag"
97405                          || test ! -s conftest.err'
97406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97407   (eval $ac_try) 2>&5
97408   ac_status=$?
97409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97410   (exit $ac_status); }; } &&
97411          { ac_try='test -s conftest.$ac_objext'
97412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97413   (eval $ac_try) 2>&5
97414   ac_status=$?
97415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97416   (exit $ac_status); }; }; then
97417   glibcxx_cv_func__modf_use=yes
97418 else
97419   echo "$as_me: failed program was:" >&5
97420 sed 's/^/| /' conftest.$ac_ext >&5
97421
97422 glibcxx_cv_func__modf_use=no
97423 fi
97424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97425       ac_ext=c
97426 ac_cpp='$CPP $CPPFLAGS'
97427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97430
97431
97432 fi
97433
97434   fi
97435   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
97436 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
97437
97438     if test x$glibcxx_cv_func__modf_use = x"yes"; then
97439
97440 for ac_func in _modf
97441 do
97442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97443 echo "$as_me:$LINENO: checking for $ac_func" >&5
97444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97445 if eval "test \"\${$as_ac_var+set}\" = set"; then
97446   echo $ECHO_N "(cached) $ECHO_C" >&6
97447 else
97448   if test x$gcc_no_link = xyes; then
97449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97451    { (exit 1); exit 1; }; }
97452 fi
97453 cat >conftest.$ac_ext <<_ACEOF
97454 /* confdefs.h.  */
97455 _ACEOF
97456 cat confdefs.h >>conftest.$ac_ext
97457 cat >>conftest.$ac_ext <<_ACEOF
97458 /* end confdefs.h.  */
97459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97461 #define $ac_func innocuous_$ac_func
97462
97463 /* System header to define __stub macros and hopefully few prototypes,
97464     which can conflict with char $ac_func (); below.
97465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97466     <limits.h> exists even on freestanding compilers.  */
97467
97468 #ifdef __STDC__
97469 # include <limits.h>
97470 #else
97471 # include <assert.h>
97472 #endif
97473
97474 #undef $ac_func
97475
97476 /* Override any gcc2 internal prototype to avoid an error.  */
97477 #ifdef __cplusplus
97478 extern "C"
97479 {
97480 #endif
97481 /* We use char because int might match the return type of a gcc2
97482    builtin and then its argument prototype would still apply.  */
97483 char $ac_func ();
97484 /* The GNU C library defines this for functions which it implements
97485     to always fail with ENOSYS.  Some functions are actually named
97486     something starting with __ and the normal name is an alias.  */
97487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97488 choke me
97489 #else
97490 char (*f) () = $ac_func;
97491 #endif
97492 #ifdef __cplusplus
97493 }
97494 #endif
97495
97496 int
97497 main ()
97498 {
97499 return f != $ac_func;
97500   ;
97501   return 0;
97502 }
97503 _ACEOF
97504 rm -f conftest.$ac_objext conftest$ac_exeext
97505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97506   (eval $ac_link) 2>conftest.er1
97507   ac_status=$?
97508   grep -v '^ *+' conftest.er1 >conftest.err
97509   rm -f conftest.er1
97510   cat conftest.err >&5
97511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97512   (exit $ac_status); } &&
97513          { ac_try='test -z "$ac_c_werror_flag"
97514                          || test ! -s conftest.err'
97515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97516   (eval $ac_try) 2>&5
97517   ac_status=$?
97518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97519   (exit $ac_status); }; } &&
97520          { ac_try='test -s conftest$ac_exeext'
97521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522   (eval $ac_try) 2>&5
97523   ac_status=$?
97524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525   (exit $ac_status); }; }; then
97526   eval "$as_ac_var=yes"
97527 else
97528   echo "$as_me: failed program was:" >&5
97529 sed 's/^/| /' conftest.$ac_ext >&5
97530
97531 eval "$as_ac_var=no"
97532 fi
97533 rm -f conftest.err conftest.$ac_objext \
97534       conftest$ac_exeext conftest.$ac_ext
97535 fi
97536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97538 if test `eval echo '${'$as_ac_var'}'` = yes; then
97539   cat >>confdefs.h <<_ACEOF
97540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97541 _ACEOF
97542
97543 fi
97544 done
97545
97546     fi
97547   fi
97548
97549
97550
97551
97552
97553
97554   echo "$as_me:$LINENO: checking for powf declaration" >&5
97555 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
97556   if test x${glibcxx_cv_func_powf_use+set} != xset; then
97557     if test "${glibcxx_cv_func_powf_use+set}" = set; then
97558   echo $ECHO_N "(cached) $ECHO_C" >&6
97559 else
97560
97561
97562
97563       ac_ext=cc
97564 ac_cpp='$CXXCPP $CPPFLAGS'
97565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97568
97569       cat >conftest.$ac_ext <<_ACEOF
97570 /* confdefs.h.  */
97571 _ACEOF
97572 cat confdefs.h >>conftest.$ac_ext
97573 cat >>conftest.$ac_ext <<_ACEOF
97574 /* end confdefs.h.  */
97575 #include <math.h>
97576 int
97577 main ()
97578 {
97579  powf(0, 0);
97580   ;
97581   return 0;
97582 }
97583 _ACEOF
97584 rm -f conftest.$ac_objext
97585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97586   (eval $ac_compile) 2>conftest.er1
97587   ac_status=$?
97588   grep -v '^ *+' conftest.er1 >conftest.err
97589   rm -f conftest.er1
97590   cat conftest.err >&5
97591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97592   (exit $ac_status); } &&
97593          { ac_try='test -z "$ac_cxx_werror_flag"
97594                          || test ! -s conftest.err'
97595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97596   (eval $ac_try) 2>&5
97597   ac_status=$?
97598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97599   (exit $ac_status); }; } &&
97600          { ac_try='test -s conftest.$ac_objext'
97601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97602   (eval $ac_try) 2>&5
97603   ac_status=$?
97604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97605   (exit $ac_status); }; }; then
97606   glibcxx_cv_func_powf_use=yes
97607 else
97608   echo "$as_me: failed program was:" >&5
97609 sed 's/^/| /' conftest.$ac_ext >&5
97610
97611 glibcxx_cv_func_powf_use=no
97612 fi
97613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97614       ac_ext=c
97615 ac_cpp='$CPP $CPPFLAGS'
97616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97619
97620
97621 fi
97622
97623   fi
97624   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
97625 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
97626
97627   if test x$glibcxx_cv_func_powf_use = x"yes"; then
97628
97629 for ac_func in powf
97630 do
97631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97632 echo "$as_me:$LINENO: checking for $ac_func" >&5
97633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97634 if eval "test \"\${$as_ac_var+set}\" = set"; then
97635   echo $ECHO_N "(cached) $ECHO_C" >&6
97636 else
97637   if test x$gcc_no_link = xyes; then
97638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97640    { (exit 1); exit 1; }; }
97641 fi
97642 cat >conftest.$ac_ext <<_ACEOF
97643 /* confdefs.h.  */
97644 _ACEOF
97645 cat confdefs.h >>conftest.$ac_ext
97646 cat >>conftest.$ac_ext <<_ACEOF
97647 /* end confdefs.h.  */
97648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97650 #define $ac_func innocuous_$ac_func
97651
97652 /* System header to define __stub macros and hopefully few prototypes,
97653     which can conflict with char $ac_func (); below.
97654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97655     <limits.h> exists even on freestanding compilers.  */
97656
97657 #ifdef __STDC__
97658 # include <limits.h>
97659 #else
97660 # include <assert.h>
97661 #endif
97662
97663 #undef $ac_func
97664
97665 /* Override any gcc2 internal prototype to avoid an error.  */
97666 #ifdef __cplusplus
97667 extern "C"
97668 {
97669 #endif
97670 /* We use char because int might match the return type of a gcc2
97671    builtin and then its argument prototype would still apply.  */
97672 char $ac_func ();
97673 /* The GNU C library defines this for functions which it implements
97674     to always fail with ENOSYS.  Some functions are actually named
97675     something starting with __ and the normal name is an alias.  */
97676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97677 choke me
97678 #else
97679 char (*f) () = $ac_func;
97680 #endif
97681 #ifdef __cplusplus
97682 }
97683 #endif
97684
97685 int
97686 main ()
97687 {
97688 return f != $ac_func;
97689   ;
97690   return 0;
97691 }
97692 _ACEOF
97693 rm -f conftest.$ac_objext conftest$ac_exeext
97694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97695   (eval $ac_link) 2>conftest.er1
97696   ac_status=$?
97697   grep -v '^ *+' conftest.er1 >conftest.err
97698   rm -f conftest.er1
97699   cat conftest.err >&5
97700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97701   (exit $ac_status); } &&
97702          { ac_try='test -z "$ac_c_werror_flag"
97703                          || test ! -s conftest.err'
97704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97705   (eval $ac_try) 2>&5
97706   ac_status=$?
97707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97708   (exit $ac_status); }; } &&
97709          { ac_try='test -s conftest$ac_exeext'
97710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97711   (eval $ac_try) 2>&5
97712   ac_status=$?
97713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97714   (exit $ac_status); }; }; then
97715   eval "$as_ac_var=yes"
97716 else
97717   echo "$as_me: failed program was:" >&5
97718 sed 's/^/| /' conftest.$ac_ext >&5
97719
97720 eval "$as_ac_var=no"
97721 fi
97722 rm -f conftest.err conftest.$ac_objext \
97723       conftest$ac_exeext conftest.$ac_ext
97724 fi
97725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97727 if test `eval echo '${'$as_ac_var'}'` = yes; then
97728   cat >>confdefs.h <<_ACEOF
97729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97730 _ACEOF
97731
97732 fi
97733 done
97734
97735   else
97736
97737   echo "$as_me:$LINENO: checking for _powf declaration" >&5
97738 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
97739   if test x${glibcxx_cv_func__powf_use+set} != xset; then
97740     if test "${glibcxx_cv_func__powf_use+set}" = set; then
97741   echo $ECHO_N "(cached) $ECHO_C" >&6
97742 else
97743
97744
97745
97746       ac_ext=cc
97747 ac_cpp='$CXXCPP $CPPFLAGS'
97748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97751
97752       cat >conftest.$ac_ext <<_ACEOF
97753 /* confdefs.h.  */
97754 _ACEOF
97755 cat confdefs.h >>conftest.$ac_ext
97756 cat >>conftest.$ac_ext <<_ACEOF
97757 /* end confdefs.h.  */
97758 #include <math.h>
97759 int
97760 main ()
97761 {
97762  _powf(0, 0);
97763   ;
97764   return 0;
97765 }
97766 _ACEOF
97767 rm -f conftest.$ac_objext
97768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97769   (eval $ac_compile) 2>conftest.er1
97770   ac_status=$?
97771   grep -v '^ *+' conftest.er1 >conftest.err
97772   rm -f conftest.er1
97773   cat conftest.err >&5
97774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97775   (exit $ac_status); } &&
97776          { ac_try='test -z "$ac_cxx_werror_flag"
97777                          || test ! -s conftest.err'
97778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97779   (eval $ac_try) 2>&5
97780   ac_status=$?
97781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97782   (exit $ac_status); }; } &&
97783          { ac_try='test -s conftest.$ac_objext'
97784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97785   (eval $ac_try) 2>&5
97786   ac_status=$?
97787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97788   (exit $ac_status); }; }; then
97789   glibcxx_cv_func__powf_use=yes
97790 else
97791   echo "$as_me: failed program was:" >&5
97792 sed 's/^/| /' conftest.$ac_ext >&5
97793
97794 glibcxx_cv_func__powf_use=no
97795 fi
97796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97797       ac_ext=c
97798 ac_cpp='$CPP $CPPFLAGS'
97799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97802
97803
97804 fi
97805
97806   fi
97807   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
97808 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
97809
97810     if test x$glibcxx_cv_func__powf_use = x"yes"; then
97811
97812 for ac_func in _powf
97813 do
97814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97815 echo "$as_me:$LINENO: checking for $ac_func" >&5
97816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97817 if eval "test \"\${$as_ac_var+set}\" = set"; then
97818   echo $ECHO_N "(cached) $ECHO_C" >&6
97819 else
97820   if test x$gcc_no_link = xyes; then
97821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97823    { (exit 1); exit 1; }; }
97824 fi
97825 cat >conftest.$ac_ext <<_ACEOF
97826 /* confdefs.h.  */
97827 _ACEOF
97828 cat confdefs.h >>conftest.$ac_ext
97829 cat >>conftest.$ac_ext <<_ACEOF
97830 /* end confdefs.h.  */
97831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97833 #define $ac_func innocuous_$ac_func
97834
97835 /* System header to define __stub macros and hopefully few prototypes,
97836     which can conflict with char $ac_func (); below.
97837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97838     <limits.h> exists even on freestanding compilers.  */
97839
97840 #ifdef __STDC__
97841 # include <limits.h>
97842 #else
97843 # include <assert.h>
97844 #endif
97845
97846 #undef $ac_func
97847
97848 /* Override any gcc2 internal prototype to avoid an error.  */
97849 #ifdef __cplusplus
97850 extern "C"
97851 {
97852 #endif
97853 /* We use char because int might match the return type of a gcc2
97854    builtin and then its argument prototype would still apply.  */
97855 char $ac_func ();
97856 /* The GNU C library defines this for functions which it implements
97857     to always fail with ENOSYS.  Some functions are actually named
97858     something starting with __ and the normal name is an alias.  */
97859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97860 choke me
97861 #else
97862 char (*f) () = $ac_func;
97863 #endif
97864 #ifdef __cplusplus
97865 }
97866 #endif
97867
97868 int
97869 main ()
97870 {
97871 return f != $ac_func;
97872   ;
97873   return 0;
97874 }
97875 _ACEOF
97876 rm -f conftest.$ac_objext conftest$ac_exeext
97877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97878   (eval $ac_link) 2>conftest.er1
97879   ac_status=$?
97880   grep -v '^ *+' conftest.er1 >conftest.err
97881   rm -f conftest.er1
97882   cat conftest.err >&5
97883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97884   (exit $ac_status); } &&
97885          { ac_try='test -z "$ac_c_werror_flag"
97886                          || test ! -s conftest.err'
97887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97888   (eval $ac_try) 2>&5
97889   ac_status=$?
97890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97891   (exit $ac_status); }; } &&
97892          { ac_try='test -s conftest$ac_exeext'
97893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97894   (eval $ac_try) 2>&5
97895   ac_status=$?
97896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97897   (exit $ac_status); }; }; then
97898   eval "$as_ac_var=yes"
97899 else
97900   echo "$as_me: failed program was:" >&5
97901 sed 's/^/| /' conftest.$ac_ext >&5
97902
97903 eval "$as_ac_var=no"
97904 fi
97905 rm -f conftest.err conftest.$ac_objext \
97906       conftest$ac_exeext conftest.$ac_ext
97907 fi
97908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97910 if test `eval echo '${'$as_ac_var'}'` = yes; then
97911   cat >>confdefs.h <<_ACEOF
97912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97913 _ACEOF
97914
97915 fi
97916 done
97917
97918     fi
97919   fi
97920
97921
97922
97923
97924
97925
97926   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97927 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97928   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97929     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97930   echo $ECHO_N "(cached) $ECHO_C" >&6
97931 else
97932
97933
97934
97935       ac_ext=cc
97936 ac_cpp='$CXXCPP $CPPFLAGS'
97937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97940
97941       cat >conftest.$ac_ext <<_ACEOF
97942 /* confdefs.h.  */
97943 _ACEOF
97944 cat confdefs.h >>conftest.$ac_ext
97945 cat >>conftest.$ac_ext <<_ACEOF
97946 /* end confdefs.h.  */
97947 #include <math.h>
97948                       #ifdef HAVE_IEEEFP_H
97949                       #include <ieeefp.h>
97950                       #endif
97951
97952 int
97953 main ()
97954 {
97955  sqrtf(0);
97956   ;
97957   return 0;
97958 }
97959 _ACEOF
97960 rm -f conftest.$ac_objext
97961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97962   (eval $ac_compile) 2>conftest.er1
97963   ac_status=$?
97964   grep -v '^ *+' conftest.er1 >conftest.err
97965   rm -f conftest.er1
97966   cat conftest.err >&5
97967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97968   (exit $ac_status); } &&
97969          { ac_try='test -z "$ac_cxx_werror_flag"
97970                          || test ! -s conftest.err'
97971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97972   (eval $ac_try) 2>&5
97973   ac_status=$?
97974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97975   (exit $ac_status); }; } &&
97976          { ac_try='test -s conftest.$ac_objext'
97977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97978   (eval $ac_try) 2>&5
97979   ac_status=$?
97980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97981   (exit $ac_status); }; }; then
97982   glibcxx_cv_func_sqrtf_use=yes
97983 else
97984   echo "$as_me: failed program was:" >&5
97985 sed 's/^/| /' conftest.$ac_ext >&5
97986
97987 glibcxx_cv_func_sqrtf_use=no
97988 fi
97989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97990       ac_ext=c
97991 ac_cpp='$CPP $CPPFLAGS'
97992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97995
97996
97997 fi
97998
97999   fi
98000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
98001 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
98002
98003   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
98004
98005 for ac_func in sqrtf
98006 do
98007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98008 echo "$as_me:$LINENO: checking for $ac_func" >&5
98009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98010 if eval "test \"\${$as_ac_var+set}\" = set"; then
98011   echo $ECHO_N "(cached) $ECHO_C" >&6
98012 else
98013   if test x$gcc_no_link = xyes; then
98014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98016    { (exit 1); exit 1; }; }
98017 fi
98018 cat >conftest.$ac_ext <<_ACEOF
98019 /* confdefs.h.  */
98020 _ACEOF
98021 cat confdefs.h >>conftest.$ac_ext
98022 cat >>conftest.$ac_ext <<_ACEOF
98023 /* end confdefs.h.  */
98024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98026 #define $ac_func innocuous_$ac_func
98027
98028 /* System header to define __stub macros and hopefully few prototypes,
98029     which can conflict with char $ac_func (); below.
98030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98031     <limits.h> exists even on freestanding compilers.  */
98032
98033 #ifdef __STDC__
98034 # include <limits.h>
98035 #else
98036 # include <assert.h>
98037 #endif
98038
98039 #undef $ac_func
98040
98041 /* Override any gcc2 internal prototype to avoid an error.  */
98042 #ifdef __cplusplus
98043 extern "C"
98044 {
98045 #endif
98046 /* We use char because int might match the return type of a gcc2
98047    builtin and then its argument prototype would still apply.  */
98048 char $ac_func ();
98049 /* The GNU C library defines this for functions which it implements
98050     to always fail with ENOSYS.  Some functions are actually named
98051     something starting with __ and the normal name is an alias.  */
98052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98053 choke me
98054 #else
98055 char (*f) () = $ac_func;
98056 #endif
98057 #ifdef __cplusplus
98058 }
98059 #endif
98060
98061 int
98062 main ()
98063 {
98064 return f != $ac_func;
98065   ;
98066   return 0;
98067 }
98068 _ACEOF
98069 rm -f conftest.$ac_objext conftest$ac_exeext
98070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98071   (eval $ac_link) 2>conftest.er1
98072   ac_status=$?
98073   grep -v '^ *+' conftest.er1 >conftest.err
98074   rm -f conftest.er1
98075   cat conftest.err >&5
98076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98077   (exit $ac_status); } &&
98078          { ac_try='test -z "$ac_c_werror_flag"
98079                          || test ! -s conftest.err'
98080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98081   (eval $ac_try) 2>&5
98082   ac_status=$?
98083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98084   (exit $ac_status); }; } &&
98085          { ac_try='test -s conftest$ac_exeext'
98086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98087   (eval $ac_try) 2>&5
98088   ac_status=$?
98089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98090   (exit $ac_status); }; }; then
98091   eval "$as_ac_var=yes"
98092 else
98093   echo "$as_me: failed program was:" >&5
98094 sed 's/^/| /' conftest.$ac_ext >&5
98095
98096 eval "$as_ac_var=no"
98097 fi
98098 rm -f conftest.err conftest.$ac_objext \
98099       conftest$ac_exeext conftest.$ac_ext
98100 fi
98101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98103 if test `eval echo '${'$as_ac_var'}'` = yes; then
98104   cat >>confdefs.h <<_ACEOF
98105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98106 _ACEOF
98107
98108 fi
98109 done
98110
98111   else
98112
98113   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
98114 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
98115   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
98116     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
98117   echo $ECHO_N "(cached) $ECHO_C" >&6
98118 else
98119
98120
98121
98122       ac_ext=cc
98123 ac_cpp='$CXXCPP $CPPFLAGS'
98124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98127
98128       cat >conftest.$ac_ext <<_ACEOF
98129 /* confdefs.h.  */
98130 _ACEOF
98131 cat confdefs.h >>conftest.$ac_ext
98132 cat >>conftest.$ac_ext <<_ACEOF
98133 /* end confdefs.h.  */
98134 #include <math.h>
98135                       #ifdef HAVE_IEEEFP_H
98136                       #include <ieeefp.h>
98137                       #endif
98138
98139 int
98140 main ()
98141 {
98142  _sqrtf(0);
98143   ;
98144   return 0;
98145 }
98146 _ACEOF
98147 rm -f conftest.$ac_objext
98148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98149   (eval $ac_compile) 2>conftest.er1
98150   ac_status=$?
98151   grep -v '^ *+' conftest.er1 >conftest.err
98152   rm -f conftest.er1
98153   cat conftest.err >&5
98154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98155   (exit $ac_status); } &&
98156          { ac_try='test -z "$ac_cxx_werror_flag"
98157                          || test ! -s conftest.err'
98158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98159   (eval $ac_try) 2>&5
98160   ac_status=$?
98161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98162   (exit $ac_status); }; } &&
98163          { ac_try='test -s conftest.$ac_objext'
98164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98165   (eval $ac_try) 2>&5
98166   ac_status=$?
98167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98168   (exit $ac_status); }; }; then
98169   glibcxx_cv_func__sqrtf_use=yes
98170 else
98171   echo "$as_me: failed program was:" >&5
98172 sed 's/^/| /' conftest.$ac_ext >&5
98173
98174 glibcxx_cv_func__sqrtf_use=no
98175 fi
98176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98177       ac_ext=c
98178 ac_cpp='$CPP $CPPFLAGS'
98179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98182
98183
98184 fi
98185
98186   fi
98187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
98188 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
98189
98190     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
98191
98192 for ac_func in _sqrtf
98193 do
98194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98195 echo "$as_me:$LINENO: checking for $ac_func" >&5
98196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98197 if eval "test \"\${$as_ac_var+set}\" = set"; then
98198   echo $ECHO_N "(cached) $ECHO_C" >&6
98199 else
98200   if test x$gcc_no_link = xyes; then
98201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98203    { (exit 1); exit 1; }; }
98204 fi
98205 cat >conftest.$ac_ext <<_ACEOF
98206 /* confdefs.h.  */
98207 _ACEOF
98208 cat confdefs.h >>conftest.$ac_ext
98209 cat >>conftest.$ac_ext <<_ACEOF
98210 /* end confdefs.h.  */
98211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98213 #define $ac_func innocuous_$ac_func
98214
98215 /* System header to define __stub macros and hopefully few prototypes,
98216     which can conflict with char $ac_func (); below.
98217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98218     <limits.h> exists even on freestanding compilers.  */
98219
98220 #ifdef __STDC__
98221 # include <limits.h>
98222 #else
98223 # include <assert.h>
98224 #endif
98225
98226 #undef $ac_func
98227
98228 /* Override any gcc2 internal prototype to avoid an error.  */
98229 #ifdef __cplusplus
98230 extern "C"
98231 {
98232 #endif
98233 /* We use char because int might match the return type of a gcc2
98234    builtin and then its argument prototype would still apply.  */
98235 char $ac_func ();
98236 /* The GNU C library defines this for functions which it implements
98237     to always fail with ENOSYS.  Some functions are actually named
98238     something starting with __ and the normal name is an alias.  */
98239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98240 choke me
98241 #else
98242 char (*f) () = $ac_func;
98243 #endif
98244 #ifdef __cplusplus
98245 }
98246 #endif
98247
98248 int
98249 main ()
98250 {
98251 return f != $ac_func;
98252   ;
98253   return 0;
98254 }
98255 _ACEOF
98256 rm -f conftest.$ac_objext conftest$ac_exeext
98257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98258   (eval $ac_link) 2>conftest.er1
98259   ac_status=$?
98260   grep -v '^ *+' conftest.er1 >conftest.err
98261   rm -f conftest.er1
98262   cat conftest.err >&5
98263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98264   (exit $ac_status); } &&
98265          { ac_try='test -z "$ac_c_werror_flag"
98266                          || test ! -s conftest.err'
98267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98268   (eval $ac_try) 2>&5
98269   ac_status=$?
98270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98271   (exit $ac_status); }; } &&
98272          { ac_try='test -s conftest$ac_exeext'
98273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98274   (eval $ac_try) 2>&5
98275   ac_status=$?
98276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98277   (exit $ac_status); }; }; then
98278   eval "$as_ac_var=yes"
98279 else
98280   echo "$as_me: failed program was:" >&5
98281 sed 's/^/| /' conftest.$ac_ext >&5
98282
98283 eval "$as_ac_var=no"
98284 fi
98285 rm -f conftest.err conftest.$ac_objext \
98286       conftest$ac_exeext conftest.$ac_ext
98287 fi
98288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98290 if test `eval echo '${'$as_ac_var'}'` = yes; then
98291   cat >>confdefs.h <<_ACEOF
98292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98293 _ACEOF
98294
98295 fi
98296 done
98297
98298     fi
98299   fi
98300
98301
98302
98303
98304
98305
98306   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
98307 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
98308   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
98309     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
98310   echo $ECHO_N "(cached) $ECHO_C" >&6
98311 else
98312
98313
98314
98315       ac_ext=cc
98316 ac_cpp='$CXXCPP $CPPFLAGS'
98317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98320
98321       cat >conftest.$ac_ext <<_ACEOF
98322 /* confdefs.h.  */
98323 _ACEOF
98324 cat confdefs.h >>conftest.$ac_ext
98325 cat >>conftest.$ac_ext <<_ACEOF
98326 /* end confdefs.h.  */
98327 #include <math.h>
98328 int
98329 main ()
98330 {
98331  sincosf(0, 0, 0);
98332   ;
98333   return 0;
98334 }
98335 _ACEOF
98336 rm -f conftest.$ac_objext
98337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98338   (eval $ac_compile) 2>conftest.er1
98339   ac_status=$?
98340   grep -v '^ *+' conftest.er1 >conftest.err
98341   rm -f conftest.er1
98342   cat conftest.err >&5
98343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98344   (exit $ac_status); } &&
98345          { ac_try='test -z "$ac_cxx_werror_flag"
98346                          || test ! -s conftest.err'
98347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98348   (eval $ac_try) 2>&5
98349   ac_status=$?
98350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98351   (exit $ac_status); }; } &&
98352          { ac_try='test -s conftest.$ac_objext'
98353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98354   (eval $ac_try) 2>&5
98355   ac_status=$?
98356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98357   (exit $ac_status); }; }; then
98358   glibcxx_cv_func_sincosf_use=yes
98359 else
98360   echo "$as_me: failed program was:" >&5
98361 sed 's/^/| /' conftest.$ac_ext >&5
98362
98363 glibcxx_cv_func_sincosf_use=no
98364 fi
98365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98366       ac_ext=c
98367 ac_cpp='$CPP $CPPFLAGS'
98368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98371
98372
98373 fi
98374
98375   fi
98376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
98377 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
98378
98379   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
98380
98381 for ac_func in sincosf
98382 do
98383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98384 echo "$as_me:$LINENO: checking for $ac_func" >&5
98385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98386 if eval "test \"\${$as_ac_var+set}\" = set"; then
98387   echo $ECHO_N "(cached) $ECHO_C" >&6
98388 else
98389   if test x$gcc_no_link = xyes; then
98390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98392    { (exit 1); exit 1; }; }
98393 fi
98394 cat >conftest.$ac_ext <<_ACEOF
98395 /* confdefs.h.  */
98396 _ACEOF
98397 cat confdefs.h >>conftest.$ac_ext
98398 cat >>conftest.$ac_ext <<_ACEOF
98399 /* end confdefs.h.  */
98400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98402 #define $ac_func innocuous_$ac_func
98403
98404 /* System header to define __stub macros and hopefully few prototypes,
98405     which can conflict with char $ac_func (); below.
98406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98407     <limits.h> exists even on freestanding compilers.  */
98408
98409 #ifdef __STDC__
98410 # include <limits.h>
98411 #else
98412 # include <assert.h>
98413 #endif
98414
98415 #undef $ac_func
98416
98417 /* Override any gcc2 internal prototype to avoid an error.  */
98418 #ifdef __cplusplus
98419 extern "C"
98420 {
98421 #endif
98422 /* We use char because int might match the return type of a gcc2
98423    builtin and then its argument prototype would still apply.  */
98424 char $ac_func ();
98425 /* The GNU C library defines this for functions which it implements
98426     to always fail with ENOSYS.  Some functions are actually named
98427     something starting with __ and the normal name is an alias.  */
98428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98429 choke me
98430 #else
98431 char (*f) () = $ac_func;
98432 #endif
98433 #ifdef __cplusplus
98434 }
98435 #endif
98436
98437 int
98438 main ()
98439 {
98440 return f != $ac_func;
98441   ;
98442   return 0;
98443 }
98444 _ACEOF
98445 rm -f conftest.$ac_objext conftest$ac_exeext
98446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98447   (eval $ac_link) 2>conftest.er1
98448   ac_status=$?
98449   grep -v '^ *+' conftest.er1 >conftest.err
98450   rm -f conftest.er1
98451   cat conftest.err >&5
98452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98453   (exit $ac_status); } &&
98454          { ac_try='test -z "$ac_c_werror_flag"
98455                          || test ! -s conftest.err'
98456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98457   (eval $ac_try) 2>&5
98458   ac_status=$?
98459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98460   (exit $ac_status); }; } &&
98461          { ac_try='test -s conftest$ac_exeext'
98462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98463   (eval $ac_try) 2>&5
98464   ac_status=$?
98465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98466   (exit $ac_status); }; }; then
98467   eval "$as_ac_var=yes"
98468 else
98469   echo "$as_me: failed program was:" >&5
98470 sed 's/^/| /' conftest.$ac_ext >&5
98471
98472 eval "$as_ac_var=no"
98473 fi
98474 rm -f conftest.err conftest.$ac_objext \
98475       conftest$ac_exeext conftest.$ac_ext
98476 fi
98477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98479 if test `eval echo '${'$as_ac_var'}'` = yes; then
98480   cat >>confdefs.h <<_ACEOF
98481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98482 _ACEOF
98483
98484 fi
98485 done
98486
98487   else
98488
98489   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
98490 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
98491   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
98492     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
98493   echo $ECHO_N "(cached) $ECHO_C" >&6
98494 else
98495
98496
98497
98498       ac_ext=cc
98499 ac_cpp='$CXXCPP $CPPFLAGS'
98500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98503
98504       cat >conftest.$ac_ext <<_ACEOF
98505 /* confdefs.h.  */
98506 _ACEOF
98507 cat confdefs.h >>conftest.$ac_ext
98508 cat >>conftest.$ac_ext <<_ACEOF
98509 /* end confdefs.h.  */
98510 #include <math.h>
98511 int
98512 main ()
98513 {
98514  _sincosf(0, 0, 0);
98515   ;
98516   return 0;
98517 }
98518 _ACEOF
98519 rm -f conftest.$ac_objext
98520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98521   (eval $ac_compile) 2>conftest.er1
98522   ac_status=$?
98523   grep -v '^ *+' conftest.er1 >conftest.err
98524   rm -f conftest.er1
98525   cat conftest.err >&5
98526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98527   (exit $ac_status); } &&
98528          { ac_try='test -z "$ac_cxx_werror_flag"
98529                          || test ! -s conftest.err'
98530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98531   (eval $ac_try) 2>&5
98532   ac_status=$?
98533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98534   (exit $ac_status); }; } &&
98535          { ac_try='test -s conftest.$ac_objext'
98536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98537   (eval $ac_try) 2>&5
98538   ac_status=$?
98539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98540   (exit $ac_status); }; }; then
98541   glibcxx_cv_func__sincosf_use=yes
98542 else
98543   echo "$as_me: failed program was:" >&5
98544 sed 's/^/| /' conftest.$ac_ext >&5
98545
98546 glibcxx_cv_func__sincosf_use=no
98547 fi
98548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98549       ac_ext=c
98550 ac_cpp='$CPP $CPPFLAGS'
98551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98554
98555
98556 fi
98557
98558   fi
98559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
98560 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
98561
98562     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
98563
98564 for ac_func in _sincosf
98565 do
98566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98567 echo "$as_me:$LINENO: checking for $ac_func" >&5
98568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98569 if eval "test \"\${$as_ac_var+set}\" = set"; then
98570   echo $ECHO_N "(cached) $ECHO_C" >&6
98571 else
98572   if test x$gcc_no_link = xyes; then
98573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98575    { (exit 1); exit 1; }; }
98576 fi
98577 cat >conftest.$ac_ext <<_ACEOF
98578 /* confdefs.h.  */
98579 _ACEOF
98580 cat confdefs.h >>conftest.$ac_ext
98581 cat >>conftest.$ac_ext <<_ACEOF
98582 /* end confdefs.h.  */
98583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98585 #define $ac_func innocuous_$ac_func
98586
98587 /* System header to define __stub macros and hopefully few prototypes,
98588     which can conflict with char $ac_func (); below.
98589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98590     <limits.h> exists even on freestanding compilers.  */
98591
98592 #ifdef __STDC__
98593 # include <limits.h>
98594 #else
98595 # include <assert.h>
98596 #endif
98597
98598 #undef $ac_func
98599
98600 /* Override any gcc2 internal prototype to avoid an error.  */
98601 #ifdef __cplusplus
98602 extern "C"
98603 {
98604 #endif
98605 /* We use char because int might match the return type of a gcc2
98606    builtin and then its argument prototype would still apply.  */
98607 char $ac_func ();
98608 /* The GNU C library defines this for functions which it implements
98609     to always fail with ENOSYS.  Some functions are actually named
98610     something starting with __ and the normal name is an alias.  */
98611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98612 choke me
98613 #else
98614 char (*f) () = $ac_func;
98615 #endif
98616 #ifdef __cplusplus
98617 }
98618 #endif
98619
98620 int
98621 main ()
98622 {
98623 return f != $ac_func;
98624   ;
98625   return 0;
98626 }
98627 _ACEOF
98628 rm -f conftest.$ac_objext conftest$ac_exeext
98629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98630   (eval $ac_link) 2>conftest.er1
98631   ac_status=$?
98632   grep -v '^ *+' conftest.er1 >conftest.err
98633   rm -f conftest.er1
98634   cat conftest.err >&5
98635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98636   (exit $ac_status); } &&
98637          { ac_try='test -z "$ac_c_werror_flag"
98638                          || test ! -s conftest.err'
98639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98640   (eval $ac_try) 2>&5
98641   ac_status=$?
98642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98643   (exit $ac_status); }; } &&
98644          { ac_try='test -s conftest$ac_exeext'
98645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98646   (eval $ac_try) 2>&5
98647   ac_status=$?
98648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98649   (exit $ac_status); }; }; then
98650   eval "$as_ac_var=yes"
98651 else
98652   echo "$as_me: failed program was:" >&5
98653 sed 's/^/| /' conftest.$ac_ext >&5
98654
98655 eval "$as_ac_var=no"
98656 fi
98657 rm -f conftest.err conftest.$ac_objext \
98658       conftest$ac_exeext conftest.$ac_ext
98659 fi
98660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98662 if test `eval echo '${'$as_ac_var'}'` = yes; then
98663   cat >>confdefs.h <<_ACEOF
98664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98665 _ACEOF
98666
98667 fi
98668 done
98669
98670     fi
98671   fi
98672
98673
98674
98675
98676
98677
98678   echo "$as_me:$LINENO: checking for finitef declaration" >&5
98679 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
98680   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
98681     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
98682   echo $ECHO_N "(cached) $ECHO_C" >&6
98683 else
98684
98685
98686
98687       ac_ext=cc
98688 ac_cpp='$CXXCPP $CPPFLAGS'
98689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98692
98693       cat >conftest.$ac_ext <<_ACEOF
98694 /* confdefs.h.  */
98695 _ACEOF
98696 cat confdefs.h >>conftest.$ac_ext
98697 cat >>conftest.$ac_ext <<_ACEOF
98698 /* end confdefs.h.  */
98699 #include <math.h>
98700                       #ifdef HAVE_IEEEFP_H
98701                       #include <ieeefp.h>
98702                       #endif
98703
98704 int
98705 main ()
98706 {
98707  finitef(0);
98708   ;
98709   return 0;
98710 }
98711 _ACEOF
98712 rm -f conftest.$ac_objext
98713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98714   (eval $ac_compile) 2>conftest.er1
98715   ac_status=$?
98716   grep -v '^ *+' conftest.er1 >conftest.err
98717   rm -f conftest.er1
98718   cat conftest.err >&5
98719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98720   (exit $ac_status); } &&
98721          { ac_try='test -z "$ac_cxx_werror_flag"
98722                          || test ! -s conftest.err'
98723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98724   (eval $ac_try) 2>&5
98725   ac_status=$?
98726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98727   (exit $ac_status); }; } &&
98728          { ac_try='test -s conftest.$ac_objext'
98729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98730   (eval $ac_try) 2>&5
98731   ac_status=$?
98732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98733   (exit $ac_status); }; }; then
98734   glibcxx_cv_func_finitef_use=yes
98735 else
98736   echo "$as_me: failed program was:" >&5
98737 sed 's/^/| /' conftest.$ac_ext >&5
98738
98739 glibcxx_cv_func_finitef_use=no
98740 fi
98741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98742       ac_ext=c
98743 ac_cpp='$CPP $CPPFLAGS'
98744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98747
98748
98749 fi
98750
98751   fi
98752   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
98753 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
98754
98755   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
98756
98757 for ac_func in finitef
98758 do
98759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98760 echo "$as_me:$LINENO: checking for $ac_func" >&5
98761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98762 if eval "test \"\${$as_ac_var+set}\" = set"; then
98763   echo $ECHO_N "(cached) $ECHO_C" >&6
98764 else
98765   if test x$gcc_no_link = xyes; then
98766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98768    { (exit 1); exit 1; }; }
98769 fi
98770 cat >conftest.$ac_ext <<_ACEOF
98771 /* confdefs.h.  */
98772 _ACEOF
98773 cat confdefs.h >>conftest.$ac_ext
98774 cat >>conftest.$ac_ext <<_ACEOF
98775 /* end confdefs.h.  */
98776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98778 #define $ac_func innocuous_$ac_func
98779
98780 /* System header to define __stub macros and hopefully few prototypes,
98781     which can conflict with char $ac_func (); below.
98782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98783     <limits.h> exists even on freestanding compilers.  */
98784
98785 #ifdef __STDC__
98786 # include <limits.h>
98787 #else
98788 # include <assert.h>
98789 #endif
98790
98791 #undef $ac_func
98792
98793 /* Override any gcc2 internal prototype to avoid an error.  */
98794 #ifdef __cplusplus
98795 extern "C"
98796 {
98797 #endif
98798 /* We use char because int might match the return type of a gcc2
98799    builtin and then its argument prototype would still apply.  */
98800 char $ac_func ();
98801 /* The GNU C library defines this for functions which it implements
98802     to always fail with ENOSYS.  Some functions are actually named
98803     something starting with __ and the normal name is an alias.  */
98804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98805 choke me
98806 #else
98807 char (*f) () = $ac_func;
98808 #endif
98809 #ifdef __cplusplus
98810 }
98811 #endif
98812
98813 int
98814 main ()
98815 {
98816 return f != $ac_func;
98817   ;
98818   return 0;
98819 }
98820 _ACEOF
98821 rm -f conftest.$ac_objext conftest$ac_exeext
98822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98823   (eval $ac_link) 2>conftest.er1
98824   ac_status=$?
98825   grep -v '^ *+' conftest.er1 >conftest.err
98826   rm -f conftest.er1
98827   cat conftest.err >&5
98828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98829   (exit $ac_status); } &&
98830          { ac_try='test -z "$ac_c_werror_flag"
98831                          || test ! -s conftest.err'
98832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98833   (eval $ac_try) 2>&5
98834   ac_status=$?
98835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98836   (exit $ac_status); }; } &&
98837          { ac_try='test -s conftest$ac_exeext'
98838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98839   (eval $ac_try) 2>&5
98840   ac_status=$?
98841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98842   (exit $ac_status); }; }; then
98843   eval "$as_ac_var=yes"
98844 else
98845   echo "$as_me: failed program was:" >&5
98846 sed 's/^/| /' conftest.$ac_ext >&5
98847
98848 eval "$as_ac_var=no"
98849 fi
98850 rm -f conftest.err conftest.$ac_objext \
98851       conftest$ac_exeext conftest.$ac_ext
98852 fi
98853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98855 if test `eval echo '${'$as_ac_var'}'` = yes; then
98856   cat >>confdefs.h <<_ACEOF
98857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98858 _ACEOF
98859
98860 fi
98861 done
98862
98863   else
98864
98865   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
98866 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
98867   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
98868     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
98869   echo $ECHO_N "(cached) $ECHO_C" >&6
98870 else
98871
98872
98873
98874       ac_ext=cc
98875 ac_cpp='$CXXCPP $CPPFLAGS'
98876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98879
98880       cat >conftest.$ac_ext <<_ACEOF
98881 /* confdefs.h.  */
98882 _ACEOF
98883 cat confdefs.h >>conftest.$ac_ext
98884 cat >>conftest.$ac_ext <<_ACEOF
98885 /* end confdefs.h.  */
98886 #include <math.h>
98887                       #ifdef HAVE_IEEEFP_H
98888                       #include <ieeefp.h>
98889                       #endif
98890
98891 int
98892 main ()
98893 {
98894  _finitef(0);
98895   ;
98896   return 0;
98897 }
98898 _ACEOF
98899 rm -f conftest.$ac_objext
98900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98901   (eval $ac_compile) 2>conftest.er1
98902   ac_status=$?
98903   grep -v '^ *+' conftest.er1 >conftest.err
98904   rm -f conftest.er1
98905   cat conftest.err >&5
98906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98907   (exit $ac_status); } &&
98908          { ac_try='test -z "$ac_cxx_werror_flag"
98909                          || test ! -s conftest.err'
98910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98911   (eval $ac_try) 2>&5
98912   ac_status=$?
98913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98914   (exit $ac_status); }; } &&
98915          { ac_try='test -s conftest.$ac_objext'
98916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98917   (eval $ac_try) 2>&5
98918   ac_status=$?
98919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920   (exit $ac_status); }; }; then
98921   glibcxx_cv_func__finitef_use=yes
98922 else
98923   echo "$as_me: failed program was:" >&5
98924 sed 's/^/| /' conftest.$ac_ext >&5
98925
98926 glibcxx_cv_func__finitef_use=no
98927 fi
98928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98929       ac_ext=c
98930 ac_cpp='$CPP $CPPFLAGS'
98931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98934
98935
98936 fi
98937
98938   fi
98939   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98940 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98941
98942     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98943
98944 for ac_func in _finitef
98945 do
98946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98947 echo "$as_me:$LINENO: checking for $ac_func" >&5
98948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98949 if eval "test \"\${$as_ac_var+set}\" = set"; then
98950   echo $ECHO_N "(cached) $ECHO_C" >&6
98951 else
98952   if test x$gcc_no_link = xyes; then
98953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98955    { (exit 1); exit 1; }; }
98956 fi
98957 cat >conftest.$ac_ext <<_ACEOF
98958 /* confdefs.h.  */
98959 _ACEOF
98960 cat confdefs.h >>conftest.$ac_ext
98961 cat >>conftest.$ac_ext <<_ACEOF
98962 /* end confdefs.h.  */
98963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98965 #define $ac_func innocuous_$ac_func
98966
98967 /* System header to define __stub macros and hopefully few prototypes,
98968     which can conflict with char $ac_func (); below.
98969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98970     <limits.h> exists even on freestanding compilers.  */
98971
98972 #ifdef __STDC__
98973 # include <limits.h>
98974 #else
98975 # include <assert.h>
98976 #endif
98977
98978 #undef $ac_func
98979
98980 /* Override any gcc2 internal prototype to avoid an error.  */
98981 #ifdef __cplusplus
98982 extern "C"
98983 {
98984 #endif
98985 /* We use char because int might match the return type of a gcc2
98986    builtin and then its argument prototype would still apply.  */
98987 char $ac_func ();
98988 /* The GNU C library defines this for functions which it implements
98989     to always fail with ENOSYS.  Some functions are actually named
98990     something starting with __ and the normal name is an alias.  */
98991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98992 choke me
98993 #else
98994 char (*f) () = $ac_func;
98995 #endif
98996 #ifdef __cplusplus
98997 }
98998 #endif
98999
99000 int
99001 main ()
99002 {
99003 return f != $ac_func;
99004   ;
99005   return 0;
99006 }
99007 _ACEOF
99008 rm -f conftest.$ac_objext conftest$ac_exeext
99009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99010   (eval $ac_link) 2>conftest.er1
99011   ac_status=$?
99012   grep -v '^ *+' conftest.er1 >conftest.err
99013   rm -f conftest.er1
99014   cat conftest.err >&5
99015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99016   (exit $ac_status); } &&
99017          { ac_try='test -z "$ac_c_werror_flag"
99018                          || test ! -s conftest.err'
99019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99020   (eval $ac_try) 2>&5
99021   ac_status=$?
99022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99023   (exit $ac_status); }; } &&
99024          { ac_try='test -s conftest$ac_exeext'
99025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99026   (eval $ac_try) 2>&5
99027   ac_status=$?
99028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99029   (exit $ac_status); }; }; then
99030   eval "$as_ac_var=yes"
99031 else
99032   echo "$as_me: failed program was:" >&5
99033 sed 's/^/| /' conftest.$ac_ext >&5
99034
99035 eval "$as_ac_var=no"
99036 fi
99037 rm -f conftest.err conftest.$ac_objext \
99038       conftest$ac_exeext conftest.$ac_ext
99039 fi
99040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99042 if test `eval echo '${'$as_ac_var'}'` = yes; then
99043   cat >>confdefs.h <<_ACEOF
99044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99045 _ACEOF
99046
99047 fi
99048 done
99049
99050     fi
99051   fi
99052
99053
99054
99055
99056
99057
99058     echo "$as_me:$LINENO: checking for long double trig functions" >&5
99059 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
99060   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
99061   echo $ECHO_N "(cached) $ECHO_C" >&6
99062 else
99063
99064
99065
99066     ac_ext=cc
99067 ac_cpp='$CXXCPP $CPPFLAGS'
99068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99071
99072     cat >conftest.$ac_ext <<_ACEOF
99073 /* confdefs.h.  */
99074 _ACEOF
99075 cat confdefs.h >>conftest.$ac_ext
99076 cat >>conftest.$ac_ext <<_ACEOF
99077 /* end confdefs.h.  */
99078 #include <math.h>
99079 int
99080 main ()
99081 {
99082 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
99083   ;
99084   return 0;
99085 }
99086 _ACEOF
99087 rm -f conftest.$ac_objext
99088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99089   (eval $ac_compile) 2>conftest.er1
99090   ac_status=$?
99091   grep -v '^ *+' conftest.er1 >conftest.err
99092   rm -f conftest.er1
99093   cat conftest.err >&5
99094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99095   (exit $ac_status); } &&
99096          { ac_try='test -z "$ac_cxx_werror_flag"
99097                          || test ! -s conftest.err'
99098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99099   (eval $ac_try) 2>&5
99100   ac_status=$?
99101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99102   (exit $ac_status); }; } &&
99103          { ac_try='test -s conftest.$ac_objext'
99104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99105   (eval $ac_try) 2>&5
99106   ac_status=$?
99107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99108   (exit $ac_status); }; }; then
99109   glibcxx_cv_func_long_double_trig_use=yes
99110 else
99111   echo "$as_me: failed program was:" >&5
99112 sed 's/^/| /' conftest.$ac_ext >&5
99113
99114 glibcxx_cv_func_long_double_trig_use=no
99115 fi
99116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99117     ac_ext=c
99118 ac_cpp='$CPP $CPPFLAGS'
99119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99122
99123 fi
99124
99125   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
99126 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
99127   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
99128
99129
99130
99131
99132
99133
99134
99135
99136
99137 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
99138 do
99139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99140 echo "$as_me:$LINENO: checking for $ac_func" >&5
99141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99142 if eval "test \"\${$as_ac_var+set}\" = set"; then
99143   echo $ECHO_N "(cached) $ECHO_C" >&6
99144 else
99145   if test x$gcc_no_link = xyes; then
99146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99148    { (exit 1); exit 1; }; }
99149 fi
99150 cat >conftest.$ac_ext <<_ACEOF
99151 /* confdefs.h.  */
99152 _ACEOF
99153 cat confdefs.h >>conftest.$ac_ext
99154 cat >>conftest.$ac_ext <<_ACEOF
99155 /* end confdefs.h.  */
99156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99158 #define $ac_func innocuous_$ac_func
99159
99160 /* System header to define __stub macros and hopefully few prototypes,
99161     which can conflict with char $ac_func (); below.
99162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99163     <limits.h> exists even on freestanding compilers.  */
99164
99165 #ifdef __STDC__
99166 # include <limits.h>
99167 #else
99168 # include <assert.h>
99169 #endif
99170
99171 #undef $ac_func
99172
99173 /* Override any gcc2 internal prototype to avoid an error.  */
99174 #ifdef __cplusplus
99175 extern "C"
99176 {
99177 #endif
99178 /* We use char because int might match the return type of a gcc2
99179    builtin and then its argument prototype would still apply.  */
99180 char $ac_func ();
99181 /* The GNU C library defines this for functions which it implements
99182     to always fail with ENOSYS.  Some functions are actually named
99183     something starting with __ and the normal name is an alias.  */
99184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99185 choke me
99186 #else
99187 char (*f) () = $ac_func;
99188 #endif
99189 #ifdef __cplusplus
99190 }
99191 #endif
99192
99193 int
99194 main ()
99195 {
99196 return f != $ac_func;
99197   ;
99198   return 0;
99199 }
99200 _ACEOF
99201 rm -f conftest.$ac_objext conftest$ac_exeext
99202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99203   (eval $ac_link) 2>conftest.er1
99204   ac_status=$?
99205   grep -v '^ *+' conftest.er1 >conftest.err
99206   rm -f conftest.er1
99207   cat conftest.err >&5
99208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99209   (exit $ac_status); } &&
99210          { ac_try='test -z "$ac_c_werror_flag"
99211                          || test ! -s conftest.err'
99212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99213   (eval $ac_try) 2>&5
99214   ac_status=$?
99215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99216   (exit $ac_status); }; } &&
99217          { ac_try='test -s conftest$ac_exeext'
99218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99219   (eval $ac_try) 2>&5
99220   ac_status=$?
99221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99222   (exit $ac_status); }; }; then
99223   eval "$as_ac_var=yes"
99224 else
99225   echo "$as_me: failed program was:" >&5
99226 sed 's/^/| /' conftest.$ac_ext >&5
99227
99228 eval "$as_ac_var=no"
99229 fi
99230 rm -f conftest.err conftest.$ac_objext \
99231       conftest$ac_exeext conftest.$ac_ext
99232 fi
99233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99235 if test `eval echo '${'$as_ac_var'}'` = yes; then
99236   cat >>confdefs.h <<_ACEOF
99237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99238 _ACEOF
99239
99240 fi
99241 done
99242
99243   else
99244     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
99245 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
99246     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
99247   echo $ECHO_N "(cached) $ECHO_C" >&6
99248 else
99249
99250
99251
99252       ac_ext=cc
99253 ac_cpp='$CXXCPP $CPPFLAGS'
99254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99257
99258       cat >conftest.$ac_ext <<_ACEOF
99259 /* confdefs.h.  */
99260 _ACEOF
99261 cat confdefs.h >>conftest.$ac_ext
99262 cat >>conftest.$ac_ext <<_ACEOF
99263 /* end confdefs.h.  */
99264 #include <math.h>
99265 int
99266 main ()
99267 {
99268 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
99269   ;
99270   return 0;
99271 }
99272 _ACEOF
99273 rm -f conftest.$ac_objext
99274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99275   (eval $ac_compile) 2>conftest.er1
99276   ac_status=$?
99277   grep -v '^ *+' conftest.er1 >conftest.err
99278   rm -f conftest.er1
99279   cat conftest.err >&5
99280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99281   (exit $ac_status); } &&
99282          { ac_try='test -z "$ac_cxx_werror_flag"
99283                          || test ! -s conftest.err'
99284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99285   (eval $ac_try) 2>&5
99286   ac_status=$?
99287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99288   (exit $ac_status); }; } &&
99289          { ac_try='test -s conftest.$ac_objext'
99290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99291   (eval $ac_try) 2>&5
99292   ac_status=$?
99293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99294   (exit $ac_status); }; }; then
99295   glibcxx_cv_func__long_double_trig_use=yes
99296 else
99297   echo "$as_me: failed program was:" >&5
99298 sed 's/^/| /' conftest.$ac_ext >&5
99299
99300 glibcxx_cv_func__long_double_trig_use=no
99301 fi
99302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99303       ac_ext=c
99304 ac_cpp='$CPP $CPPFLAGS'
99305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99308
99309 fi
99310
99311     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
99312 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
99313     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
99314
99315
99316
99317
99318
99319
99320
99321
99322
99323 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
99324 do
99325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99326 echo "$as_me:$LINENO: checking for $ac_func" >&5
99327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99328 if eval "test \"\${$as_ac_var+set}\" = set"; then
99329   echo $ECHO_N "(cached) $ECHO_C" >&6
99330 else
99331   if test x$gcc_no_link = xyes; then
99332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99334    { (exit 1); exit 1; }; }
99335 fi
99336 cat >conftest.$ac_ext <<_ACEOF
99337 /* confdefs.h.  */
99338 _ACEOF
99339 cat confdefs.h >>conftest.$ac_ext
99340 cat >>conftest.$ac_ext <<_ACEOF
99341 /* end confdefs.h.  */
99342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99344 #define $ac_func innocuous_$ac_func
99345
99346 /* System header to define __stub macros and hopefully few prototypes,
99347     which can conflict with char $ac_func (); below.
99348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99349     <limits.h> exists even on freestanding compilers.  */
99350
99351 #ifdef __STDC__
99352 # include <limits.h>
99353 #else
99354 # include <assert.h>
99355 #endif
99356
99357 #undef $ac_func
99358
99359 /* Override any gcc2 internal prototype to avoid an error.  */
99360 #ifdef __cplusplus
99361 extern "C"
99362 {
99363 #endif
99364 /* We use char because int might match the return type of a gcc2
99365    builtin and then its argument prototype would still apply.  */
99366 char $ac_func ();
99367 /* The GNU C library defines this for functions which it implements
99368     to always fail with ENOSYS.  Some functions are actually named
99369     something starting with __ and the normal name is an alias.  */
99370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99371 choke me
99372 #else
99373 char (*f) () = $ac_func;
99374 #endif
99375 #ifdef __cplusplus
99376 }
99377 #endif
99378
99379 int
99380 main ()
99381 {
99382 return f != $ac_func;
99383   ;
99384   return 0;
99385 }
99386 _ACEOF
99387 rm -f conftest.$ac_objext conftest$ac_exeext
99388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99389   (eval $ac_link) 2>conftest.er1
99390   ac_status=$?
99391   grep -v '^ *+' conftest.er1 >conftest.err
99392   rm -f conftest.er1
99393   cat conftest.err >&5
99394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99395   (exit $ac_status); } &&
99396          { ac_try='test -z "$ac_c_werror_flag"
99397                          || test ! -s conftest.err'
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); }; } &&
99403          { ac_try='test -s conftest$ac_exeext'
99404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99405   (eval $ac_try) 2>&5
99406   ac_status=$?
99407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99408   (exit $ac_status); }; }; then
99409   eval "$as_ac_var=yes"
99410 else
99411   echo "$as_me: failed program was:" >&5
99412 sed 's/^/| /' conftest.$ac_ext >&5
99413
99414 eval "$as_ac_var=no"
99415 fi
99416 rm -f conftest.err conftest.$ac_objext \
99417       conftest$ac_exeext conftest.$ac_ext
99418 fi
99419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99421 if test `eval echo '${'$as_ac_var'}'` = yes; then
99422   cat >>confdefs.h <<_ACEOF
99423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99424 _ACEOF
99425
99426 fi
99427 done
99428
99429     fi
99430   fi
99431
99432
99433
99434
99435
99436
99437
99438
99439
99440
99441
99442
99443
99444
99445     echo "$as_me:$LINENO: checking for long double round functions" >&5
99446 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
99447   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
99448   echo $ECHO_N "(cached) $ECHO_C" >&6
99449 else
99450
99451
99452
99453     ac_ext=cc
99454 ac_cpp='$CXXCPP $CPPFLAGS'
99455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99458
99459     cat >conftest.$ac_ext <<_ACEOF
99460 /* confdefs.h.  */
99461 _ACEOF
99462 cat confdefs.h >>conftest.$ac_ext
99463 cat >>conftest.$ac_ext <<_ACEOF
99464 /* end confdefs.h.  */
99465 #include <math.h>
99466 int
99467 main ()
99468 {
99469 ceill (0); floorl (0);
99470   ;
99471   return 0;
99472 }
99473 _ACEOF
99474 rm -f conftest.$ac_objext
99475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99476   (eval $ac_compile) 2>conftest.er1
99477   ac_status=$?
99478   grep -v '^ *+' conftest.er1 >conftest.err
99479   rm -f conftest.er1
99480   cat conftest.err >&5
99481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99482   (exit $ac_status); } &&
99483          { ac_try='test -z "$ac_cxx_werror_flag"
99484                          || test ! -s conftest.err'
99485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99486   (eval $ac_try) 2>&5
99487   ac_status=$?
99488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99489   (exit $ac_status); }; } &&
99490          { ac_try='test -s conftest.$ac_objext'
99491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99492   (eval $ac_try) 2>&5
99493   ac_status=$?
99494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99495   (exit $ac_status); }; }; then
99496   glibcxx_cv_func_long_double_round_use=yes
99497 else
99498   echo "$as_me: failed program was:" >&5
99499 sed 's/^/| /' conftest.$ac_ext >&5
99500
99501 glibcxx_cv_func_long_double_round_use=no
99502 fi
99503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99504     ac_ext=c
99505 ac_cpp='$CPP $CPPFLAGS'
99506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99509
99510 fi
99511
99512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
99513 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
99514   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
99515
99516
99517 for ac_func in ceill floorl
99518 do
99519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99520 echo "$as_me:$LINENO: checking for $ac_func" >&5
99521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99522 if eval "test \"\${$as_ac_var+set}\" = set"; then
99523   echo $ECHO_N "(cached) $ECHO_C" >&6
99524 else
99525   if test x$gcc_no_link = xyes; then
99526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99528    { (exit 1); exit 1; }; }
99529 fi
99530 cat >conftest.$ac_ext <<_ACEOF
99531 /* confdefs.h.  */
99532 _ACEOF
99533 cat confdefs.h >>conftest.$ac_ext
99534 cat >>conftest.$ac_ext <<_ACEOF
99535 /* end confdefs.h.  */
99536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99538 #define $ac_func innocuous_$ac_func
99539
99540 /* System header to define __stub macros and hopefully few prototypes,
99541     which can conflict with char $ac_func (); below.
99542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99543     <limits.h> exists even on freestanding compilers.  */
99544
99545 #ifdef __STDC__
99546 # include <limits.h>
99547 #else
99548 # include <assert.h>
99549 #endif
99550
99551 #undef $ac_func
99552
99553 /* Override any gcc2 internal prototype to avoid an error.  */
99554 #ifdef __cplusplus
99555 extern "C"
99556 {
99557 #endif
99558 /* We use char because int might match the return type of a gcc2
99559    builtin and then its argument prototype would still apply.  */
99560 char $ac_func ();
99561 /* The GNU C library defines this for functions which it implements
99562     to always fail with ENOSYS.  Some functions are actually named
99563     something starting with __ and the normal name is an alias.  */
99564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99565 choke me
99566 #else
99567 char (*f) () = $ac_func;
99568 #endif
99569 #ifdef __cplusplus
99570 }
99571 #endif
99572
99573 int
99574 main ()
99575 {
99576 return f != $ac_func;
99577   ;
99578   return 0;
99579 }
99580 _ACEOF
99581 rm -f conftest.$ac_objext conftest$ac_exeext
99582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99583   (eval $ac_link) 2>conftest.er1
99584   ac_status=$?
99585   grep -v '^ *+' conftest.er1 >conftest.err
99586   rm -f conftest.er1
99587   cat conftest.err >&5
99588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99589   (exit $ac_status); } &&
99590          { ac_try='test -z "$ac_c_werror_flag"
99591                          || test ! -s conftest.err'
99592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99593   (eval $ac_try) 2>&5
99594   ac_status=$?
99595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99596   (exit $ac_status); }; } &&
99597          { ac_try='test -s conftest$ac_exeext'
99598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99599   (eval $ac_try) 2>&5
99600   ac_status=$?
99601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99602   (exit $ac_status); }; }; then
99603   eval "$as_ac_var=yes"
99604 else
99605   echo "$as_me: failed program was:" >&5
99606 sed 's/^/| /' conftest.$ac_ext >&5
99607
99608 eval "$as_ac_var=no"
99609 fi
99610 rm -f conftest.err conftest.$ac_objext \
99611       conftest$ac_exeext conftest.$ac_ext
99612 fi
99613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99615 if test `eval echo '${'$as_ac_var'}'` = yes; then
99616   cat >>confdefs.h <<_ACEOF
99617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99618 _ACEOF
99619
99620 fi
99621 done
99622
99623   else
99624     echo "$as_me:$LINENO: checking for _long double round functions" >&5
99625 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
99626     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
99627   echo $ECHO_N "(cached) $ECHO_C" >&6
99628 else
99629
99630
99631
99632       ac_ext=cc
99633 ac_cpp='$CXXCPP $CPPFLAGS'
99634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99637
99638       cat >conftest.$ac_ext <<_ACEOF
99639 /* confdefs.h.  */
99640 _ACEOF
99641 cat confdefs.h >>conftest.$ac_ext
99642 cat >>conftest.$ac_ext <<_ACEOF
99643 /* end confdefs.h.  */
99644 #include <math.h>
99645 int
99646 main ()
99647 {
99648 _ceill (0); _floorl (0);
99649   ;
99650   return 0;
99651 }
99652 _ACEOF
99653 rm -f conftest.$ac_objext
99654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99655   (eval $ac_compile) 2>conftest.er1
99656   ac_status=$?
99657   grep -v '^ *+' conftest.er1 >conftest.err
99658   rm -f conftest.er1
99659   cat conftest.err >&5
99660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99661   (exit $ac_status); } &&
99662          { ac_try='test -z "$ac_cxx_werror_flag"
99663                          || test ! -s conftest.err'
99664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99665   (eval $ac_try) 2>&5
99666   ac_status=$?
99667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99668   (exit $ac_status); }; } &&
99669          { ac_try='test -s conftest.$ac_objext'
99670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99671   (eval $ac_try) 2>&5
99672   ac_status=$?
99673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99674   (exit $ac_status); }; }; then
99675   glibcxx_cv_func__long_double_round_use=yes
99676 else
99677   echo "$as_me: failed program was:" >&5
99678 sed 's/^/| /' conftest.$ac_ext >&5
99679
99680 glibcxx_cv_func__long_double_round_use=no
99681 fi
99682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99683       ac_ext=c
99684 ac_cpp='$CPP $CPPFLAGS'
99685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99688
99689 fi
99690
99691     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
99692 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
99693     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
99694
99695
99696 for ac_func in _ceill _floorl
99697 do
99698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99699 echo "$as_me:$LINENO: checking for $ac_func" >&5
99700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99701 if eval "test \"\${$as_ac_var+set}\" = set"; then
99702   echo $ECHO_N "(cached) $ECHO_C" >&6
99703 else
99704   if test x$gcc_no_link = xyes; then
99705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99707    { (exit 1); exit 1; }; }
99708 fi
99709 cat >conftest.$ac_ext <<_ACEOF
99710 /* confdefs.h.  */
99711 _ACEOF
99712 cat confdefs.h >>conftest.$ac_ext
99713 cat >>conftest.$ac_ext <<_ACEOF
99714 /* end confdefs.h.  */
99715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99717 #define $ac_func innocuous_$ac_func
99718
99719 /* System header to define __stub macros and hopefully few prototypes,
99720     which can conflict with char $ac_func (); below.
99721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99722     <limits.h> exists even on freestanding compilers.  */
99723
99724 #ifdef __STDC__
99725 # include <limits.h>
99726 #else
99727 # include <assert.h>
99728 #endif
99729
99730 #undef $ac_func
99731
99732 /* Override any gcc2 internal prototype to avoid an error.  */
99733 #ifdef __cplusplus
99734 extern "C"
99735 {
99736 #endif
99737 /* We use char because int might match the return type of a gcc2
99738    builtin and then its argument prototype would still apply.  */
99739 char $ac_func ();
99740 /* The GNU C library defines this for functions which it implements
99741     to always fail with ENOSYS.  Some functions are actually named
99742     something starting with __ and the normal name is an alias.  */
99743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99744 choke me
99745 #else
99746 char (*f) () = $ac_func;
99747 #endif
99748 #ifdef __cplusplus
99749 }
99750 #endif
99751
99752 int
99753 main ()
99754 {
99755 return f != $ac_func;
99756   ;
99757   return 0;
99758 }
99759 _ACEOF
99760 rm -f conftest.$ac_objext conftest$ac_exeext
99761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99762   (eval $ac_link) 2>conftest.er1
99763   ac_status=$?
99764   grep -v '^ *+' conftest.er1 >conftest.err
99765   rm -f conftest.er1
99766   cat conftest.err >&5
99767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99768   (exit $ac_status); } &&
99769          { ac_try='test -z "$ac_c_werror_flag"
99770                          || test ! -s conftest.err'
99771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99772   (eval $ac_try) 2>&5
99773   ac_status=$?
99774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99775   (exit $ac_status); }; } &&
99776          { ac_try='test -s conftest$ac_exeext'
99777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99778   (eval $ac_try) 2>&5
99779   ac_status=$?
99780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99781   (exit $ac_status); }; }; then
99782   eval "$as_ac_var=yes"
99783 else
99784   echo "$as_me: failed program was:" >&5
99785 sed 's/^/| /' conftest.$ac_ext >&5
99786
99787 eval "$as_ac_var=no"
99788 fi
99789 rm -f conftest.err conftest.$ac_objext \
99790       conftest$ac_exeext conftest.$ac_ext
99791 fi
99792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99794 if test `eval echo '${'$as_ac_var'}'` = yes; then
99795   cat >>confdefs.h <<_ACEOF
99796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99797 _ACEOF
99798
99799 fi
99800 done
99801
99802     fi
99803   fi
99804
99805
99806
99807
99808
99809
99810
99811
99812   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
99813 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
99814   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
99815     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
99816   echo $ECHO_N "(cached) $ECHO_C" >&6
99817 else
99818
99819
99820
99821       ac_ext=cc
99822 ac_cpp='$CXXCPP $CPPFLAGS'
99823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99826
99827       cat >conftest.$ac_ext <<_ACEOF
99828 /* confdefs.h.  */
99829 _ACEOF
99830 cat confdefs.h >>conftest.$ac_ext
99831 cat >>conftest.$ac_ext <<_ACEOF
99832 /* end confdefs.h.  */
99833 #include <math.h>
99834                       #ifdef HAVE_IEEEFP_H
99835                       #include <ieeefp.h>
99836                       #endif
99837
99838 int
99839 main ()
99840 {
99841  isnanl(0);
99842   ;
99843   return 0;
99844 }
99845 _ACEOF
99846 rm -f conftest.$ac_objext
99847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99848   (eval $ac_compile) 2>conftest.er1
99849   ac_status=$?
99850   grep -v '^ *+' conftest.er1 >conftest.err
99851   rm -f conftest.er1
99852   cat conftest.err >&5
99853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99854   (exit $ac_status); } &&
99855          { ac_try='test -z "$ac_cxx_werror_flag"
99856                          || test ! -s conftest.err'
99857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99858   (eval $ac_try) 2>&5
99859   ac_status=$?
99860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99861   (exit $ac_status); }; } &&
99862          { ac_try='test -s conftest.$ac_objext'
99863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99864   (eval $ac_try) 2>&5
99865   ac_status=$?
99866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99867   (exit $ac_status); }; }; then
99868   glibcxx_cv_func_isnanl_use=yes
99869 else
99870   echo "$as_me: failed program was:" >&5
99871 sed 's/^/| /' conftest.$ac_ext >&5
99872
99873 glibcxx_cv_func_isnanl_use=no
99874 fi
99875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99876       ac_ext=c
99877 ac_cpp='$CPP $CPPFLAGS'
99878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99881
99882
99883 fi
99884
99885   fi
99886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
99887 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
99888
99889   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
99890
99891 for ac_func in isnanl
99892 do
99893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99894 echo "$as_me:$LINENO: checking for $ac_func" >&5
99895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99896 if eval "test \"\${$as_ac_var+set}\" = set"; then
99897   echo $ECHO_N "(cached) $ECHO_C" >&6
99898 else
99899   if test x$gcc_no_link = xyes; then
99900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99902    { (exit 1); exit 1; }; }
99903 fi
99904 cat >conftest.$ac_ext <<_ACEOF
99905 /* confdefs.h.  */
99906 _ACEOF
99907 cat confdefs.h >>conftest.$ac_ext
99908 cat >>conftest.$ac_ext <<_ACEOF
99909 /* end confdefs.h.  */
99910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99912 #define $ac_func innocuous_$ac_func
99913
99914 /* System header to define __stub macros and hopefully few prototypes,
99915     which can conflict with char $ac_func (); below.
99916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99917     <limits.h> exists even on freestanding compilers.  */
99918
99919 #ifdef __STDC__
99920 # include <limits.h>
99921 #else
99922 # include <assert.h>
99923 #endif
99924
99925 #undef $ac_func
99926
99927 /* Override any gcc2 internal prototype to avoid an error.  */
99928 #ifdef __cplusplus
99929 extern "C"
99930 {
99931 #endif
99932 /* We use char because int might match the return type of a gcc2
99933    builtin and then its argument prototype would still apply.  */
99934 char $ac_func ();
99935 /* The GNU C library defines this for functions which it implements
99936     to always fail with ENOSYS.  Some functions are actually named
99937     something starting with __ and the normal name is an alias.  */
99938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99939 choke me
99940 #else
99941 char (*f) () = $ac_func;
99942 #endif
99943 #ifdef __cplusplus
99944 }
99945 #endif
99946
99947 int
99948 main ()
99949 {
99950 return f != $ac_func;
99951   ;
99952   return 0;
99953 }
99954 _ACEOF
99955 rm -f conftest.$ac_objext conftest$ac_exeext
99956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99957   (eval $ac_link) 2>conftest.er1
99958   ac_status=$?
99959   grep -v '^ *+' conftest.er1 >conftest.err
99960   rm -f conftest.er1
99961   cat conftest.err >&5
99962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99963   (exit $ac_status); } &&
99964          { ac_try='test -z "$ac_c_werror_flag"
99965                          || test ! -s conftest.err'
99966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99967   (eval $ac_try) 2>&5
99968   ac_status=$?
99969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99970   (exit $ac_status); }; } &&
99971          { ac_try='test -s conftest$ac_exeext'
99972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99973   (eval $ac_try) 2>&5
99974   ac_status=$?
99975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99976   (exit $ac_status); }; }; then
99977   eval "$as_ac_var=yes"
99978 else
99979   echo "$as_me: failed program was:" >&5
99980 sed 's/^/| /' conftest.$ac_ext >&5
99981
99982 eval "$as_ac_var=no"
99983 fi
99984 rm -f conftest.err conftest.$ac_objext \
99985       conftest$ac_exeext conftest.$ac_ext
99986 fi
99987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99989 if test `eval echo '${'$as_ac_var'}'` = yes; then
99990   cat >>confdefs.h <<_ACEOF
99991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99992 _ACEOF
99993
99994 fi
99995 done
99996
99997   else
99998
99999   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
100000 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
100001   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
100002     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
100003   echo $ECHO_N "(cached) $ECHO_C" >&6
100004 else
100005
100006
100007
100008       ac_ext=cc
100009 ac_cpp='$CXXCPP $CPPFLAGS'
100010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100013
100014       cat >conftest.$ac_ext <<_ACEOF
100015 /* confdefs.h.  */
100016 _ACEOF
100017 cat confdefs.h >>conftest.$ac_ext
100018 cat >>conftest.$ac_ext <<_ACEOF
100019 /* end confdefs.h.  */
100020 #include <math.h>
100021                       #ifdef HAVE_IEEEFP_H
100022                       #include <ieeefp.h>
100023                       #endif
100024
100025 int
100026 main ()
100027 {
100028  _isnanl(0);
100029   ;
100030   return 0;
100031 }
100032 _ACEOF
100033 rm -f conftest.$ac_objext
100034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100035   (eval $ac_compile) 2>conftest.er1
100036   ac_status=$?
100037   grep -v '^ *+' conftest.er1 >conftest.err
100038   rm -f conftest.er1
100039   cat conftest.err >&5
100040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100041   (exit $ac_status); } &&
100042          { ac_try='test -z "$ac_cxx_werror_flag"
100043                          || test ! -s conftest.err'
100044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100045   (eval $ac_try) 2>&5
100046   ac_status=$?
100047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100048   (exit $ac_status); }; } &&
100049          { ac_try='test -s conftest.$ac_objext'
100050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051   (eval $ac_try) 2>&5
100052   ac_status=$?
100053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054   (exit $ac_status); }; }; then
100055   glibcxx_cv_func__isnanl_use=yes
100056 else
100057   echo "$as_me: failed program was:" >&5
100058 sed 's/^/| /' conftest.$ac_ext >&5
100059
100060 glibcxx_cv_func__isnanl_use=no
100061 fi
100062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100063       ac_ext=c
100064 ac_cpp='$CPP $CPPFLAGS'
100065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100068
100069
100070 fi
100071
100072   fi
100073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
100074 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
100075
100076     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
100077
100078 for ac_func in _isnanl
100079 do
100080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100081 echo "$as_me:$LINENO: checking for $ac_func" >&5
100082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100083 if eval "test \"\${$as_ac_var+set}\" = set"; then
100084   echo $ECHO_N "(cached) $ECHO_C" >&6
100085 else
100086   if test x$gcc_no_link = xyes; then
100087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100089    { (exit 1); exit 1; }; }
100090 fi
100091 cat >conftest.$ac_ext <<_ACEOF
100092 /* confdefs.h.  */
100093 _ACEOF
100094 cat confdefs.h >>conftest.$ac_ext
100095 cat >>conftest.$ac_ext <<_ACEOF
100096 /* end confdefs.h.  */
100097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100099 #define $ac_func innocuous_$ac_func
100100
100101 /* System header to define __stub macros and hopefully few prototypes,
100102     which can conflict with char $ac_func (); below.
100103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100104     <limits.h> exists even on freestanding compilers.  */
100105
100106 #ifdef __STDC__
100107 # include <limits.h>
100108 #else
100109 # include <assert.h>
100110 #endif
100111
100112 #undef $ac_func
100113
100114 /* Override any gcc2 internal prototype to avoid an error.  */
100115 #ifdef __cplusplus
100116 extern "C"
100117 {
100118 #endif
100119 /* We use char because int might match the return type of a gcc2
100120    builtin and then its argument prototype would still apply.  */
100121 char $ac_func ();
100122 /* The GNU C library defines this for functions which it implements
100123     to always fail with ENOSYS.  Some functions are actually named
100124     something starting with __ and the normal name is an alias.  */
100125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100126 choke me
100127 #else
100128 char (*f) () = $ac_func;
100129 #endif
100130 #ifdef __cplusplus
100131 }
100132 #endif
100133
100134 int
100135 main ()
100136 {
100137 return f != $ac_func;
100138   ;
100139   return 0;
100140 }
100141 _ACEOF
100142 rm -f conftest.$ac_objext conftest$ac_exeext
100143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100144   (eval $ac_link) 2>conftest.er1
100145   ac_status=$?
100146   grep -v '^ *+' conftest.er1 >conftest.err
100147   rm -f conftest.er1
100148   cat conftest.err >&5
100149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100150   (exit $ac_status); } &&
100151          { ac_try='test -z "$ac_c_werror_flag"
100152                          || test ! -s conftest.err'
100153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100154   (eval $ac_try) 2>&5
100155   ac_status=$?
100156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100157   (exit $ac_status); }; } &&
100158          { ac_try='test -s conftest$ac_exeext'
100159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160   (eval $ac_try) 2>&5
100161   ac_status=$?
100162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163   (exit $ac_status); }; }; then
100164   eval "$as_ac_var=yes"
100165 else
100166   echo "$as_me: failed program was:" >&5
100167 sed 's/^/| /' conftest.$ac_ext >&5
100168
100169 eval "$as_ac_var=no"
100170 fi
100171 rm -f conftest.err conftest.$ac_objext \
100172       conftest$ac_exeext conftest.$ac_ext
100173 fi
100174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100176 if test `eval echo '${'$as_ac_var'}'` = yes; then
100177   cat >>confdefs.h <<_ACEOF
100178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100179 _ACEOF
100180
100181 fi
100182 done
100183
100184     fi
100185   fi
100186
100187
100188
100189
100190
100191
100192   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
100193 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
100194   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
100195     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
100196   echo $ECHO_N "(cached) $ECHO_C" >&6
100197 else
100198
100199
100200
100201       ac_ext=cc
100202 ac_cpp='$CXXCPP $CPPFLAGS'
100203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100206
100207       cat >conftest.$ac_ext <<_ACEOF
100208 /* confdefs.h.  */
100209 _ACEOF
100210 cat confdefs.h >>conftest.$ac_ext
100211 cat >>conftest.$ac_ext <<_ACEOF
100212 /* end confdefs.h.  */
100213 #include <math.h>
100214                       #ifdef HAVE_IEEEFP_H
100215                       #include <ieeefp.h>
100216                       #endif
100217
100218 int
100219 main ()
100220 {
100221  isinfl(0);
100222   ;
100223   return 0;
100224 }
100225 _ACEOF
100226 rm -f conftest.$ac_objext
100227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100228   (eval $ac_compile) 2>conftest.er1
100229   ac_status=$?
100230   grep -v '^ *+' conftest.er1 >conftest.err
100231   rm -f conftest.er1
100232   cat conftest.err >&5
100233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100234   (exit $ac_status); } &&
100235          { ac_try='test -z "$ac_cxx_werror_flag"
100236                          || test ! -s conftest.err'
100237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100238   (eval $ac_try) 2>&5
100239   ac_status=$?
100240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100241   (exit $ac_status); }; } &&
100242          { ac_try='test -s conftest.$ac_objext'
100243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100244   (eval $ac_try) 2>&5
100245   ac_status=$?
100246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100247   (exit $ac_status); }; }; then
100248   glibcxx_cv_func_isinfl_use=yes
100249 else
100250   echo "$as_me: failed program was:" >&5
100251 sed 's/^/| /' conftest.$ac_ext >&5
100252
100253 glibcxx_cv_func_isinfl_use=no
100254 fi
100255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100256       ac_ext=c
100257 ac_cpp='$CPP $CPPFLAGS'
100258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100261
100262
100263 fi
100264
100265   fi
100266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
100267 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
100268
100269   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
100270
100271 for ac_func in isinfl
100272 do
100273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100274 echo "$as_me:$LINENO: checking for $ac_func" >&5
100275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100276 if eval "test \"\${$as_ac_var+set}\" = set"; then
100277   echo $ECHO_N "(cached) $ECHO_C" >&6
100278 else
100279   if test x$gcc_no_link = xyes; then
100280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100282    { (exit 1); exit 1; }; }
100283 fi
100284 cat >conftest.$ac_ext <<_ACEOF
100285 /* confdefs.h.  */
100286 _ACEOF
100287 cat confdefs.h >>conftest.$ac_ext
100288 cat >>conftest.$ac_ext <<_ACEOF
100289 /* end confdefs.h.  */
100290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100292 #define $ac_func innocuous_$ac_func
100293
100294 /* System header to define __stub macros and hopefully few prototypes,
100295     which can conflict with char $ac_func (); below.
100296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100297     <limits.h> exists even on freestanding compilers.  */
100298
100299 #ifdef __STDC__
100300 # include <limits.h>
100301 #else
100302 # include <assert.h>
100303 #endif
100304
100305 #undef $ac_func
100306
100307 /* Override any gcc2 internal prototype to avoid an error.  */
100308 #ifdef __cplusplus
100309 extern "C"
100310 {
100311 #endif
100312 /* We use char because int might match the return type of a gcc2
100313    builtin and then its argument prototype would still apply.  */
100314 char $ac_func ();
100315 /* The GNU C library defines this for functions which it implements
100316     to always fail with ENOSYS.  Some functions are actually named
100317     something starting with __ and the normal name is an alias.  */
100318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100319 choke me
100320 #else
100321 char (*f) () = $ac_func;
100322 #endif
100323 #ifdef __cplusplus
100324 }
100325 #endif
100326
100327 int
100328 main ()
100329 {
100330 return f != $ac_func;
100331   ;
100332   return 0;
100333 }
100334 _ACEOF
100335 rm -f conftest.$ac_objext conftest$ac_exeext
100336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100337   (eval $ac_link) 2>conftest.er1
100338   ac_status=$?
100339   grep -v '^ *+' conftest.er1 >conftest.err
100340   rm -f conftest.er1
100341   cat conftest.err >&5
100342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100343   (exit $ac_status); } &&
100344          { ac_try='test -z "$ac_c_werror_flag"
100345                          || test ! -s conftest.err'
100346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100347   (eval $ac_try) 2>&5
100348   ac_status=$?
100349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100350   (exit $ac_status); }; } &&
100351          { ac_try='test -s conftest$ac_exeext'
100352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100353   (eval $ac_try) 2>&5
100354   ac_status=$?
100355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100356   (exit $ac_status); }; }; then
100357   eval "$as_ac_var=yes"
100358 else
100359   echo "$as_me: failed program was:" >&5
100360 sed 's/^/| /' conftest.$ac_ext >&5
100361
100362 eval "$as_ac_var=no"
100363 fi
100364 rm -f conftest.err conftest.$ac_objext \
100365       conftest$ac_exeext conftest.$ac_ext
100366 fi
100367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100369 if test `eval echo '${'$as_ac_var'}'` = yes; then
100370   cat >>confdefs.h <<_ACEOF
100371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100372 _ACEOF
100373
100374 fi
100375 done
100376
100377   else
100378
100379   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
100380 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
100381   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
100382     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
100383   echo $ECHO_N "(cached) $ECHO_C" >&6
100384 else
100385
100386
100387
100388       ac_ext=cc
100389 ac_cpp='$CXXCPP $CPPFLAGS'
100390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100393
100394       cat >conftest.$ac_ext <<_ACEOF
100395 /* confdefs.h.  */
100396 _ACEOF
100397 cat confdefs.h >>conftest.$ac_ext
100398 cat >>conftest.$ac_ext <<_ACEOF
100399 /* end confdefs.h.  */
100400 #include <math.h>
100401                       #ifdef HAVE_IEEEFP_H
100402                       #include <ieeefp.h>
100403                       #endif
100404
100405 int
100406 main ()
100407 {
100408  _isinfl(0);
100409   ;
100410   return 0;
100411 }
100412 _ACEOF
100413 rm -f conftest.$ac_objext
100414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100415   (eval $ac_compile) 2>conftest.er1
100416   ac_status=$?
100417   grep -v '^ *+' conftest.er1 >conftest.err
100418   rm -f conftest.er1
100419   cat conftest.err >&5
100420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100421   (exit $ac_status); } &&
100422          { ac_try='test -z "$ac_cxx_werror_flag"
100423                          || test ! -s conftest.err'
100424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100425   (eval $ac_try) 2>&5
100426   ac_status=$?
100427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100428   (exit $ac_status); }; } &&
100429          { ac_try='test -s conftest.$ac_objext'
100430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100431   (eval $ac_try) 2>&5
100432   ac_status=$?
100433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100434   (exit $ac_status); }; }; then
100435   glibcxx_cv_func__isinfl_use=yes
100436 else
100437   echo "$as_me: failed program was:" >&5
100438 sed 's/^/| /' conftest.$ac_ext >&5
100439
100440 glibcxx_cv_func__isinfl_use=no
100441 fi
100442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100443       ac_ext=c
100444 ac_cpp='$CPP $CPPFLAGS'
100445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100448
100449
100450 fi
100451
100452   fi
100453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
100454 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
100455
100456     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
100457
100458 for ac_func in _isinfl
100459 do
100460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100461 echo "$as_me:$LINENO: checking for $ac_func" >&5
100462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100463 if eval "test \"\${$as_ac_var+set}\" = set"; then
100464   echo $ECHO_N "(cached) $ECHO_C" >&6
100465 else
100466   if test x$gcc_no_link = xyes; then
100467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100469    { (exit 1); exit 1; }; }
100470 fi
100471 cat >conftest.$ac_ext <<_ACEOF
100472 /* confdefs.h.  */
100473 _ACEOF
100474 cat confdefs.h >>conftest.$ac_ext
100475 cat >>conftest.$ac_ext <<_ACEOF
100476 /* end confdefs.h.  */
100477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100479 #define $ac_func innocuous_$ac_func
100480
100481 /* System header to define __stub macros and hopefully few prototypes,
100482     which can conflict with char $ac_func (); below.
100483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100484     <limits.h> exists even on freestanding compilers.  */
100485
100486 #ifdef __STDC__
100487 # include <limits.h>
100488 #else
100489 # include <assert.h>
100490 #endif
100491
100492 #undef $ac_func
100493
100494 /* Override any gcc2 internal prototype to avoid an error.  */
100495 #ifdef __cplusplus
100496 extern "C"
100497 {
100498 #endif
100499 /* We use char because int might match the return type of a gcc2
100500    builtin and then its argument prototype would still apply.  */
100501 char $ac_func ();
100502 /* The GNU C library defines this for functions which it implements
100503     to always fail with ENOSYS.  Some functions are actually named
100504     something starting with __ and the normal name is an alias.  */
100505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100506 choke me
100507 #else
100508 char (*f) () = $ac_func;
100509 #endif
100510 #ifdef __cplusplus
100511 }
100512 #endif
100513
100514 int
100515 main ()
100516 {
100517 return f != $ac_func;
100518   ;
100519   return 0;
100520 }
100521 _ACEOF
100522 rm -f conftest.$ac_objext conftest$ac_exeext
100523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100524   (eval $ac_link) 2>conftest.er1
100525   ac_status=$?
100526   grep -v '^ *+' conftest.er1 >conftest.err
100527   rm -f conftest.er1
100528   cat conftest.err >&5
100529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100530   (exit $ac_status); } &&
100531          { ac_try='test -z "$ac_c_werror_flag"
100532                          || test ! -s conftest.err'
100533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100534   (eval $ac_try) 2>&5
100535   ac_status=$?
100536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100537   (exit $ac_status); }; } &&
100538          { ac_try='test -s conftest$ac_exeext'
100539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100540   (eval $ac_try) 2>&5
100541   ac_status=$?
100542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100543   (exit $ac_status); }; }; then
100544   eval "$as_ac_var=yes"
100545 else
100546   echo "$as_me: failed program was:" >&5
100547 sed 's/^/| /' conftest.$ac_ext >&5
100548
100549 eval "$as_ac_var=no"
100550 fi
100551 rm -f conftest.err conftest.$ac_objext \
100552       conftest$ac_exeext conftest.$ac_ext
100553 fi
100554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100556 if test `eval echo '${'$as_ac_var'}'` = yes; then
100557   cat >>confdefs.h <<_ACEOF
100558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100559 _ACEOF
100560
100561 fi
100562 done
100563
100564     fi
100565   fi
100566
100567
100568
100569
100570
100571
100572   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
100573 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
100574   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
100575     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
100576   echo $ECHO_N "(cached) $ECHO_C" >&6
100577 else
100578
100579
100580
100581       ac_ext=cc
100582 ac_cpp='$CXXCPP $CPPFLAGS'
100583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100586
100587       cat >conftest.$ac_ext <<_ACEOF
100588 /* confdefs.h.  */
100589 _ACEOF
100590 cat confdefs.h >>conftest.$ac_ext
100591 cat >>conftest.$ac_ext <<_ACEOF
100592 /* end confdefs.h.  */
100593 #include <math.h>
100594 int
100595 main ()
100596 {
100597  copysignl(0, 0);
100598   ;
100599   return 0;
100600 }
100601 _ACEOF
100602 rm -f conftest.$ac_objext
100603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100604   (eval $ac_compile) 2>conftest.er1
100605   ac_status=$?
100606   grep -v '^ *+' conftest.er1 >conftest.err
100607   rm -f conftest.er1
100608   cat conftest.err >&5
100609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100610   (exit $ac_status); } &&
100611          { ac_try='test -z "$ac_cxx_werror_flag"
100612                          || test ! -s conftest.err'
100613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100614   (eval $ac_try) 2>&5
100615   ac_status=$?
100616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100617   (exit $ac_status); }; } &&
100618          { ac_try='test -s conftest.$ac_objext'
100619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100620   (eval $ac_try) 2>&5
100621   ac_status=$?
100622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100623   (exit $ac_status); }; }; then
100624   glibcxx_cv_func_copysignl_use=yes
100625 else
100626   echo "$as_me: failed program was:" >&5
100627 sed 's/^/| /' conftest.$ac_ext >&5
100628
100629 glibcxx_cv_func_copysignl_use=no
100630 fi
100631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100632       ac_ext=c
100633 ac_cpp='$CPP $CPPFLAGS'
100634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100637
100638
100639 fi
100640
100641   fi
100642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
100643 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
100644
100645   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
100646
100647 for ac_func in copysignl
100648 do
100649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100650 echo "$as_me:$LINENO: checking for $ac_func" >&5
100651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100652 if eval "test \"\${$as_ac_var+set}\" = set"; then
100653   echo $ECHO_N "(cached) $ECHO_C" >&6
100654 else
100655   if test x$gcc_no_link = xyes; then
100656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100658    { (exit 1); exit 1; }; }
100659 fi
100660 cat >conftest.$ac_ext <<_ACEOF
100661 /* confdefs.h.  */
100662 _ACEOF
100663 cat confdefs.h >>conftest.$ac_ext
100664 cat >>conftest.$ac_ext <<_ACEOF
100665 /* end confdefs.h.  */
100666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100668 #define $ac_func innocuous_$ac_func
100669
100670 /* System header to define __stub macros and hopefully few prototypes,
100671     which can conflict with char $ac_func (); below.
100672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100673     <limits.h> exists even on freestanding compilers.  */
100674
100675 #ifdef __STDC__
100676 # include <limits.h>
100677 #else
100678 # include <assert.h>
100679 #endif
100680
100681 #undef $ac_func
100682
100683 /* Override any gcc2 internal prototype to avoid an error.  */
100684 #ifdef __cplusplus
100685 extern "C"
100686 {
100687 #endif
100688 /* We use char because int might match the return type of a gcc2
100689    builtin and then its argument prototype would still apply.  */
100690 char $ac_func ();
100691 /* The GNU C library defines this for functions which it implements
100692     to always fail with ENOSYS.  Some functions are actually named
100693     something starting with __ and the normal name is an alias.  */
100694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100695 choke me
100696 #else
100697 char (*f) () = $ac_func;
100698 #endif
100699 #ifdef __cplusplus
100700 }
100701 #endif
100702
100703 int
100704 main ()
100705 {
100706 return f != $ac_func;
100707   ;
100708   return 0;
100709 }
100710 _ACEOF
100711 rm -f conftest.$ac_objext conftest$ac_exeext
100712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100713   (eval $ac_link) 2>conftest.er1
100714   ac_status=$?
100715   grep -v '^ *+' conftest.er1 >conftest.err
100716   rm -f conftest.er1
100717   cat conftest.err >&5
100718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100719   (exit $ac_status); } &&
100720          { ac_try='test -z "$ac_c_werror_flag"
100721                          || test ! -s conftest.err'
100722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100723   (eval $ac_try) 2>&5
100724   ac_status=$?
100725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100726   (exit $ac_status); }; } &&
100727          { ac_try='test -s conftest$ac_exeext'
100728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100729   (eval $ac_try) 2>&5
100730   ac_status=$?
100731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100732   (exit $ac_status); }; }; then
100733   eval "$as_ac_var=yes"
100734 else
100735   echo "$as_me: failed program was:" >&5
100736 sed 's/^/| /' conftest.$ac_ext >&5
100737
100738 eval "$as_ac_var=no"
100739 fi
100740 rm -f conftest.err conftest.$ac_objext \
100741       conftest$ac_exeext conftest.$ac_ext
100742 fi
100743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100745 if test `eval echo '${'$as_ac_var'}'` = yes; then
100746   cat >>confdefs.h <<_ACEOF
100747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100748 _ACEOF
100749
100750 fi
100751 done
100752
100753   else
100754
100755   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
100756 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
100757   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
100758     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
100759   echo $ECHO_N "(cached) $ECHO_C" >&6
100760 else
100761
100762
100763
100764       ac_ext=cc
100765 ac_cpp='$CXXCPP $CPPFLAGS'
100766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100769
100770       cat >conftest.$ac_ext <<_ACEOF
100771 /* confdefs.h.  */
100772 _ACEOF
100773 cat confdefs.h >>conftest.$ac_ext
100774 cat >>conftest.$ac_ext <<_ACEOF
100775 /* end confdefs.h.  */
100776 #include <math.h>
100777 int
100778 main ()
100779 {
100780  _copysignl(0, 0);
100781   ;
100782   return 0;
100783 }
100784 _ACEOF
100785 rm -f conftest.$ac_objext
100786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100787   (eval $ac_compile) 2>conftest.er1
100788   ac_status=$?
100789   grep -v '^ *+' conftest.er1 >conftest.err
100790   rm -f conftest.er1
100791   cat conftest.err >&5
100792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100793   (exit $ac_status); } &&
100794          { ac_try='test -z "$ac_cxx_werror_flag"
100795                          || test ! -s conftest.err'
100796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100797   (eval $ac_try) 2>&5
100798   ac_status=$?
100799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100800   (exit $ac_status); }; } &&
100801          { ac_try='test -s conftest.$ac_objext'
100802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100803   (eval $ac_try) 2>&5
100804   ac_status=$?
100805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100806   (exit $ac_status); }; }; then
100807   glibcxx_cv_func__copysignl_use=yes
100808 else
100809   echo "$as_me: failed program was:" >&5
100810 sed 's/^/| /' conftest.$ac_ext >&5
100811
100812 glibcxx_cv_func__copysignl_use=no
100813 fi
100814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100815       ac_ext=c
100816 ac_cpp='$CPP $CPPFLAGS'
100817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100820
100821
100822 fi
100823
100824   fi
100825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
100826 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
100827
100828     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
100829
100830 for ac_func in _copysignl
100831 do
100832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100833 echo "$as_me:$LINENO: checking for $ac_func" >&5
100834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100835 if eval "test \"\${$as_ac_var+set}\" = set"; then
100836   echo $ECHO_N "(cached) $ECHO_C" >&6
100837 else
100838   if test x$gcc_no_link = xyes; then
100839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100841    { (exit 1); exit 1; }; }
100842 fi
100843 cat >conftest.$ac_ext <<_ACEOF
100844 /* confdefs.h.  */
100845 _ACEOF
100846 cat confdefs.h >>conftest.$ac_ext
100847 cat >>conftest.$ac_ext <<_ACEOF
100848 /* end confdefs.h.  */
100849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100851 #define $ac_func innocuous_$ac_func
100852
100853 /* System header to define __stub macros and hopefully few prototypes,
100854     which can conflict with char $ac_func (); below.
100855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100856     <limits.h> exists even on freestanding compilers.  */
100857
100858 #ifdef __STDC__
100859 # include <limits.h>
100860 #else
100861 # include <assert.h>
100862 #endif
100863
100864 #undef $ac_func
100865
100866 /* Override any gcc2 internal prototype to avoid an error.  */
100867 #ifdef __cplusplus
100868 extern "C"
100869 {
100870 #endif
100871 /* We use char because int might match the return type of a gcc2
100872    builtin and then its argument prototype would still apply.  */
100873 char $ac_func ();
100874 /* The GNU C library defines this for functions which it implements
100875     to always fail with ENOSYS.  Some functions are actually named
100876     something starting with __ and the normal name is an alias.  */
100877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100878 choke me
100879 #else
100880 char (*f) () = $ac_func;
100881 #endif
100882 #ifdef __cplusplus
100883 }
100884 #endif
100885
100886 int
100887 main ()
100888 {
100889 return f != $ac_func;
100890   ;
100891   return 0;
100892 }
100893 _ACEOF
100894 rm -f conftest.$ac_objext conftest$ac_exeext
100895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100896   (eval $ac_link) 2>conftest.er1
100897   ac_status=$?
100898   grep -v '^ *+' conftest.er1 >conftest.err
100899   rm -f conftest.er1
100900   cat conftest.err >&5
100901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100902   (exit $ac_status); } &&
100903          { ac_try='test -z "$ac_c_werror_flag"
100904                          || test ! -s conftest.err'
100905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100906   (eval $ac_try) 2>&5
100907   ac_status=$?
100908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100909   (exit $ac_status); }; } &&
100910          { ac_try='test -s conftest$ac_exeext'
100911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100912   (eval $ac_try) 2>&5
100913   ac_status=$?
100914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100915   (exit $ac_status); }; }; then
100916   eval "$as_ac_var=yes"
100917 else
100918   echo "$as_me: failed program was:" >&5
100919 sed 's/^/| /' conftest.$ac_ext >&5
100920
100921 eval "$as_ac_var=no"
100922 fi
100923 rm -f conftest.err conftest.$ac_objext \
100924       conftest$ac_exeext conftest.$ac_ext
100925 fi
100926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100928 if test `eval echo '${'$as_ac_var'}'` = yes; then
100929   cat >>confdefs.h <<_ACEOF
100930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100931 _ACEOF
100932
100933 fi
100934 done
100935
100936     fi
100937   fi
100938
100939
100940
100941
100942
100943
100944   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100945 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100946   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100947     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100948   echo $ECHO_N "(cached) $ECHO_C" >&6
100949 else
100950
100951
100952
100953       ac_ext=cc
100954 ac_cpp='$CXXCPP $CPPFLAGS'
100955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100958
100959       cat >conftest.$ac_ext <<_ACEOF
100960 /* confdefs.h.  */
100961 _ACEOF
100962 cat confdefs.h >>conftest.$ac_ext
100963 cat >>conftest.$ac_ext <<_ACEOF
100964 /* end confdefs.h.  */
100965 #include <math.h>
100966 int
100967 main ()
100968 {
100969  atan2l(0, 0);
100970   ;
100971   return 0;
100972 }
100973 _ACEOF
100974 rm -f conftest.$ac_objext
100975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100976   (eval $ac_compile) 2>conftest.er1
100977   ac_status=$?
100978   grep -v '^ *+' conftest.er1 >conftest.err
100979   rm -f conftest.er1
100980   cat conftest.err >&5
100981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100982   (exit $ac_status); } &&
100983          { ac_try='test -z "$ac_cxx_werror_flag"
100984                          || test ! -s conftest.err'
100985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100986   (eval $ac_try) 2>&5
100987   ac_status=$?
100988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100989   (exit $ac_status); }; } &&
100990          { ac_try='test -s conftest.$ac_objext'
100991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100992   (eval $ac_try) 2>&5
100993   ac_status=$?
100994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100995   (exit $ac_status); }; }; then
100996   glibcxx_cv_func_atan2l_use=yes
100997 else
100998   echo "$as_me: failed program was:" >&5
100999 sed 's/^/| /' conftest.$ac_ext >&5
101000
101001 glibcxx_cv_func_atan2l_use=no
101002 fi
101003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101004       ac_ext=c
101005 ac_cpp='$CPP $CPPFLAGS'
101006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101009
101010
101011 fi
101012
101013   fi
101014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
101015 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
101016
101017   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
101018
101019 for ac_func in atan2l
101020 do
101021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101022 echo "$as_me:$LINENO: checking for $ac_func" >&5
101023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101024 if eval "test \"\${$as_ac_var+set}\" = set"; then
101025   echo $ECHO_N "(cached) $ECHO_C" >&6
101026 else
101027   if test x$gcc_no_link = xyes; then
101028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101030    { (exit 1); exit 1; }; }
101031 fi
101032 cat >conftest.$ac_ext <<_ACEOF
101033 /* confdefs.h.  */
101034 _ACEOF
101035 cat confdefs.h >>conftest.$ac_ext
101036 cat >>conftest.$ac_ext <<_ACEOF
101037 /* end confdefs.h.  */
101038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101040 #define $ac_func innocuous_$ac_func
101041
101042 /* System header to define __stub macros and hopefully few prototypes,
101043     which can conflict with char $ac_func (); below.
101044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101045     <limits.h> exists even on freestanding compilers.  */
101046
101047 #ifdef __STDC__
101048 # include <limits.h>
101049 #else
101050 # include <assert.h>
101051 #endif
101052
101053 #undef $ac_func
101054
101055 /* Override any gcc2 internal prototype to avoid an error.  */
101056 #ifdef __cplusplus
101057 extern "C"
101058 {
101059 #endif
101060 /* We use char because int might match the return type of a gcc2
101061    builtin and then its argument prototype would still apply.  */
101062 char $ac_func ();
101063 /* The GNU C library defines this for functions which it implements
101064     to always fail with ENOSYS.  Some functions are actually named
101065     something starting with __ and the normal name is an alias.  */
101066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101067 choke me
101068 #else
101069 char (*f) () = $ac_func;
101070 #endif
101071 #ifdef __cplusplus
101072 }
101073 #endif
101074
101075 int
101076 main ()
101077 {
101078 return f != $ac_func;
101079   ;
101080   return 0;
101081 }
101082 _ACEOF
101083 rm -f conftest.$ac_objext conftest$ac_exeext
101084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101085   (eval $ac_link) 2>conftest.er1
101086   ac_status=$?
101087   grep -v '^ *+' conftest.er1 >conftest.err
101088   rm -f conftest.er1
101089   cat conftest.err >&5
101090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101091   (exit $ac_status); } &&
101092          { ac_try='test -z "$ac_c_werror_flag"
101093                          || test ! -s conftest.err'
101094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101095   (eval $ac_try) 2>&5
101096   ac_status=$?
101097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101098   (exit $ac_status); }; } &&
101099          { ac_try='test -s conftest$ac_exeext'
101100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101101   (eval $ac_try) 2>&5
101102   ac_status=$?
101103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101104   (exit $ac_status); }; }; then
101105   eval "$as_ac_var=yes"
101106 else
101107   echo "$as_me: failed program was:" >&5
101108 sed 's/^/| /' conftest.$ac_ext >&5
101109
101110 eval "$as_ac_var=no"
101111 fi
101112 rm -f conftest.err conftest.$ac_objext \
101113       conftest$ac_exeext conftest.$ac_ext
101114 fi
101115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101117 if test `eval echo '${'$as_ac_var'}'` = yes; then
101118   cat >>confdefs.h <<_ACEOF
101119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101120 _ACEOF
101121
101122 fi
101123 done
101124
101125   else
101126
101127   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
101128 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
101129   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
101130     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
101131   echo $ECHO_N "(cached) $ECHO_C" >&6
101132 else
101133
101134
101135
101136       ac_ext=cc
101137 ac_cpp='$CXXCPP $CPPFLAGS'
101138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101141
101142       cat >conftest.$ac_ext <<_ACEOF
101143 /* confdefs.h.  */
101144 _ACEOF
101145 cat confdefs.h >>conftest.$ac_ext
101146 cat >>conftest.$ac_ext <<_ACEOF
101147 /* end confdefs.h.  */
101148 #include <math.h>
101149 int
101150 main ()
101151 {
101152  _atan2l(0, 0);
101153   ;
101154   return 0;
101155 }
101156 _ACEOF
101157 rm -f conftest.$ac_objext
101158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101159   (eval $ac_compile) 2>conftest.er1
101160   ac_status=$?
101161   grep -v '^ *+' conftest.er1 >conftest.err
101162   rm -f conftest.er1
101163   cat conftest.err >&5
101164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101165   (exit $ac_status); } &&
101166          { ac_try='test -z "$ac_cxx_werror_flag"
101167                          || test ! -s conftest.err'
101168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101169   (eval $ac_try) 2>&5
101170   ac_status=$?
101171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101172   (exit $ac_status); }; } &&
101173          { ac_try='test -s conftest.$ac_objext'
101174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101175   (eval $ac_try) 2>&5
101176   ac_status=$?
101177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101178   (exit $ac_status); }; }; then
101179   glibcxx_cv_func__atan2l_use=yes
101180 else
101181   echo "$as_me: failed program was:" >&5
101182 sed 's/^/| /' conftest.$ac_ext >&5
101183
101184 glibcxx_cv_func__atan2l_use=no
101185 fi
101186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101187       ac_ext=c
101188 ac_cpp='$CPP $CPPFLAGS'
101189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101192
101193
101194 fi
101195
101196   fi
101197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
101198 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
101199
101200     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
101201
101202 for ac_func in _atan2l
101203 do
101204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101205 echo "$as_me:$LINENO: checking for $ac_func" >&5
101206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101207 if eval "test \"\${$as_ac_var+set}\" = set"; then
101208   echo $ECHO_N "(cached) $ECHO_C" >&6
101209 else
101210   if test x$gcc_no_link = xyes; then
101211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101213    { (exit 1); exit 1; }; }
101214 fi
101215 cat >conftest.$ac_ext <<_ACEOF
101216 /* confdefs.h.  */
101217 _ACEOF
101218 cat confdefs.h >>conftest.$ac_ext
101219 cat >>conftest.$ac_ext <<_ACEOF
101220 /* end confdefs.h.  */
101221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101223 #define $ac_func innocuous_$ac_func
101224
101225 /* System header to define __stub macros and hopefully few prototypes,
101226     which can conflict with char $ac_func (); below.
101227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101228     <limits.h> exists even on freestanding compilers.  */
101229
101230 #ifdef __STDC__
101231 # include <limits.h>
101232 #else
101233 # include <assert.h>
101234 #endif
101235
101236 #undef $ac_func
101237
101238 /* Override any gcc2 internal prototype to avoid an error.  */
101239 #ifdef __cplusplus
101240 extern "C"
101241 {
101242 #endif
101243 /* We use char because int might match the return type of a gcc2
101244    builtin and then its argument prototype would still apply.  */
101245 char $ac_func ();
101246 /* The GNU C library defines this for functions which it implements
101247     to always fail with ENOSYS.  Some functions are actually named
101248     something starting with __ and the normal name is an alias.  */
101249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101250 choke me
101251 #else
101252 char (*f) () = $ac_func;
101253 #endif
101254 #ifdef __cplusplus
101255 }
101256 #endif
101257
101258 int
101259 main ()
101260 {
101261 return f != $ac_func;
101262   ;
101263   return 0;
101264 }
101265 _ACEOF
101266 rm -f conftest.$ac_objext conftest$ac_exeext
101267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101268   (eval $ac_link) 2>conftest.er1
101269   ac_status=$?
101270   grep -v '^ *+' conftest.er1 >conftest.err
101271   rm -f conftest.er1
101272   cat conftest.err >&5
101273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101274   (exit $ac_status); } &&
101275          { ac_try='test -z "$ac_c_werror_flag"
101276                          || test ! -s conftest.err'
101277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101278   (eval $ac_try) 2>&5
101279   ac_status=$?
101280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101281   (exit $ac_status); }; } &&
101282          { ac_try='test -s conftest$ac_exeext'
101283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101284   (eval $ac_try) 2>&5
101285   ac_status=$?
101286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101287   (exit $ac_status); }; }; then
101288   eval "$as_ac_var=yes"
101289 else
101290   echo "$as_me: failed program was:" >&5
101291 sed 's/^/| /' conftest.$ac_ext >&5
101292
101293 eval "$as_ac_var=no"
101294 fi
101295 rm -f conftest.err conftest.$ac_objext \
101296       conftest$ac_exeext conftest.$ac_ext
101297 fi
101298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101300 if test `eval echo '${'$as_ac_var'}'` = yes; then
101301   cat >>confdefs.h <<_ACEOF
101302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101303 _ACEOF
101304
101305 fi
101306 done
101307
101308     fi
101309   fi
101310
101311
101312
101313
101314
101315
101316   echo "$as_me:$LINENO: checking for expl declaration" >&5
101317 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
101318   if test x${glibcxx_cv_func_expl_use+set} != xset; then
101319     if test "${glibcxx_cv_func_expl_use+set}" = set; then
101320   echo $ECHO_N "(cached) $ECHO_C" >&6
101321 else
101322
101323
101324
101325       ac_ext=cc
101326 ac_cpp='$CXXCPP $CPPFLAGS'
101327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101330
101331       cat >conftest.$ac_ext <<_ACEOF
101332 /* confdefs.h.  */
101333 _ACEOF
101334 cat confdefs.h >>conftest.$ac_ext
101335 cat >>conftest.$ac_ext <<_ACEOF
101336 /* end confdefs.h.  */
101337 #include <math.h>
101338                       #ifdef HAVE_IEEEFP_H
101339                       #include <ieeefp.h>
101340                       #endif
101341
101342 int
101343 main ()
101344 {
101345  expl(0);
101346   ;
101347   return 0;
101348 }
101349 _ACEOF
101350 rm -f conftest.$ac_objext
101351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101352   (eval $ac_compile) 2>conftest.er1
101353   ac_status=$?
101354   grep -v '^ *+' conftest.er1 >conftest.err
101355   rm -f conftest.er1
101356   cat conftest.err >&5
101357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101358   (exit $ac_status); } &&
101359          { ac_try='test -z "$ac_cxx_werror_flag"
101360                          || test ! -s conftest.err'
101361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101362   (eval $ac_try) 2>&5
101363   ac_status=$?
101364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101365   (exit $ac_status); }; } &&
101366          { ac_try='test -s conftest.$ac_objext'
101367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101368   (eval $ac_try) 2>&5
101369   ac_status=$?
101370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101371   (exit $ac_status); }; }; then
101372   glibcxx_cv_func_expl_use=yes
101373 else
101374   echo "$as_me: failed program was:" >&5
101375 sed 's/^/| /' conftest.$ac_ext >&5
101376
101377 glibcxx_cv_func_expl_use=no
101378 fi
101379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101380       ac_ext=c
101381 ac_cpp='$CPP $CPPFLAGS'
101382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101385
101386
101387 fi
101388
101389   fi
101390   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
101391 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
101392
101393   if test x$glibcxx_cv_func_expl_use = x"yes"; then
101394
101395 for ac_func in expl
101396 do
101397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101398 echo "$as_me:$LINENO: checking for $ac_func" >&5
101399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101400 if eval "test \"\${$as_ac_var+set}\" = set"; then
101401   echo $ECHO_N "(cached) $ECHO_C" >&6
101402 else
101403   if test x$gcc_no_link = xyes; then
101404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101406    { (exit 1); exit 1; }; }
101407 fi
101408 cat >conftest.$ac_ext <<_ACEOF
101409 /* confdefs.h.  */
101410 _ACEOF
101411 cat confdefs.h >>conftest.$ac_ext
101412 cat >>conftest.$ac_ext <<_ACEOF
101413 /* end confdefs.h.  */
101414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101416 #define $ac_func innocuous_$ac_func
101417
101418 /* System header to define __stub macros and hopefully few prototypes,
101419     which can conflict with char $ac_func (); below.
101420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101421     <limits.h> exists even on freestanding compilers.  */
101422
101423 #ifdef __STDC__
101424 # include <limits.h>
101425 #else
101426 # include <assert.h>
101427 #endif
101428
101429 #undef $ac_func
101430
101431 /* Override any gcc2 internal prototype to avoid an error.  */
101432 #ifdef __cplusplus
101433 extern "C"
101434 {
101435 #endif
101436 /* We use char because int might match the return type of a gcc2
101437    builtin and then its argument prototype would still apply.  */
101438 char $ac_func ();
101439 /* The GNU C library defines this for functions which it implements
101440     to always fail with ENOSYS.  Some functions are actually named
101441     something starting with __ and the normal name is an alias.  */
101442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101443 choke me
101444 #else
101445 char (*f) () = $ac_func;
101446 #endif
101447 #ifdef __cplusplus
101448 }
101449 #endif
101450
101451 int
101452 main ()
101453 {
101454 return f != $ac_func;
101455   ;
101456   return 0;
101457 }
101458 _ACEOF
101459 rm -f conftest.$ac_objext conftest$ac_exeext
101460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101461   (eval $ac_link) 2>conftest.er1
101462   ac_status=$?
101463   grep -v '^ *+' conftest.er1 >conftest.err
101464   rm -f conftest.er1
101465   cat conftest.err >&5
101466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101467   (exit $ac_status); } &&
101468          { ac_try='test -z "$ac_c_werror_flag"
101469                          || test ! -s conftest.err'
101470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101471   (eval $ac_try) 2>&5
101472   ac_status=$?
101473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101474   (exit $ac_status); }; } &&
101475          { ac_try='test -s conftest$ac_exeext'
101476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101477   (eval $ac_try) 2>&5
101478   ac_status=$?
101479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101480   (exit $ac_status); }; }; then
101481   eval "$as_ac_var=yes"
101482 else
101483   echo "$as_me: failed program was:" >&5
101484 sed 's/^/| /' conftest.$ac_ext >&5
101485
101486 eval "$as_ac_var=no"
101487 fi
101488 rm -f conftest.err conftest.$ac_objext \
101489       conftest$ac_exeext conftest.$ac_ext
101490 fi
101491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101493 if test `eval echo '${'$as_ac_var'}'` = yes; then
101494   cat >>confdefs.h <<_ACEOF
101495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101496 _ACEOF
101497
101498 fi
101499 done
101500
101501   else
101502
101503   echo "$as_me:$LINENO: checking for _expl declaration" >&5
101504 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
101505   if test x${glibcxx_cv_func__expl_use+set} != xset; then
101506     if test "${glibcxx_cv_func__expl_use+set}" = set; then
101507   echo $ECHO_N "(cached) $ECHO_C" >&6
101508 else
101509
101510
101511
101512       ac_ext=cc
101513 ac_cpp='$CXXCPP $CPPFLAGS'
101514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101517
101518       cat >conftest.$ac_ext <<_ACEOF
101519 /* confdefs.h.  */
101520 _ACEOF
101521 cat confdefs.h >>conftest.$ac_ext
101522 cat >>conftest.$ac_ext <<_ACEOF
101523 /* end confdefs.h.  */
101524 #include <math.h>
101525                       #ifdef HAVE_IEEEFP_H
101526                       #include <ieeefp.h>
101527                       #endif
101528
101529 int
101530 main ()
101531 {
101532  _expl(0);
101533   ;
101534   return 0;
101535 }
101536 _ACEOF
101537 rm -f conftest.$ac_objext
101538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101539   (eval $ac_compile) 2>conftest.er1
101540   ac_status=$?
101541   grep -v '^ *+' conftest.er1 >conftest.err
101542   rm -f conftest.er1
101543   cat conftest.err >&5
101544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101545   (exit $ac_status); } &&
101546          { ac_try='test -z "$ac_cxx_werror_flag"
101547                          || test ! -s conftest.err'
101548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101549   (eval $ac_try) 2>&5
101550   ac_status=$?
101551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101552   (exit $ac_status); }; } &&
101553          { ac_try='test -s conftest.$ac_objext'
101554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101555   (eval $ac_try) 2>&5
101556   ac_status=$?
101557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101558   (exit $ac_status); }; }; then
101559   glibcxx_cv_func__expl_use=yes
101560 else
101561   echo "$as_me: failed program was:" >&5
101562 sed 's/^/| /' conftest.$ac_ext >&5
101563
101564 glibcxx_cv_func__expl_use=no
101565 fi
101566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101567       ac_ext=c
101568 ac_cpp='$CPP $CPPFLAGS'
101569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101572
101573
101574 fi
101575
101576   fi
101577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
101578 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
101579
101580     if test x$glibcxx_cv_func__expl_use = x"yes"; then
101581
101582 for ac_func in _expl
101583 do
101584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101585 echo "$as_me:$LINENO: checking for $ac_func" >&5
101586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101587 if eval "test \"\${$as_ac_var+set}\" = set"; then
101588   echo $ECHO_N "(cached) $ECHO_C" >&6
101589 else
101590   if test x$gcc_no_link = xyes; then
101591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101593    { (exit 1); exit 1; }; }
101594 fi
101595 cat >conftest.$ac_ext <<_ACEOF
101596 /* confdefs.h.  */
101597 _ACEOF
101598 cat confdefs.h >>conftest.$ac_ext
101599 cat >>conftest.$ac_ext <<_ACEOF
101600 /* end confdefs.h.  */
101601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101603 #define $ac_func innocuous_$ac_func
101604
101605 /* System header to define __stub macros and hopefully few prototypes,
101606     which can conflict with char $ac_func (); below.
101607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101608     <limits.h> exists even on freestanding compilers.  */
101609
101610 #ifdef __STDC__
101611 # include <limits.h>
101612 #else
101613 # include <assert.h>
101614 #endif
101615
101616 #undef $ac_func
101617
101618 /* Override any gcc2 internal prototype to avoid an error.  */
101619 #ifdef __cplusplus
101620 extern "C"
101621 {
101622 #endif
101623 /* We use char because int might match the return type of a gcc2
101624    builtin and then its argument prototype would still apply.  */
101625 char $ac_func ();
101626 /* The GNU C library defines this for functions which it implements
101627     to always fail with ENOSYS.  Some functions are actually named
101628     something starting with __ and the normal name is an alias.  */
101629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101630 choke me
101631 #else
101632 char (*f) () = $ac_func;
101633 #endif
101634 #ifdef __cplusplus
101635 }
101636 #endif
101637
101638 int
101639 main ()
101640 {
101641 return f != $ac_func;
101642   ;
101643   return 0;
101644 }
101645 _ACEOF
101646 rm -f conftest.$ac_objext conftest$ac_exeext
101647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101648   (eval $ac_link) 2>conftest.er1
101649   ac_status=$?
101650   grep -v '^ *+' conftest.er1 >conftest.err
101651   rm -f conftest.er1
101652   cat conftest.err >&5
101653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101654   (exit $ac_status); } &&
101655          { ac_try='test -z "$ac_c_werror_flag"
101656                          || test ! -s conftest.err'
101657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101658   (eval $ac_try) 2>&5
101659   ac_status=$?
101660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101661   (exit $ac_status); }; } &&
101662          { ac_try='test -s conftest$ac_exeext'
101663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101664   (eval $ac_try) 2>&5
101665   ac_status=$?
101666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667   (exit $ac_status); }; }; then
101668   eval "$as_ac_var=yes"
101669 else
101670   echo "$as_me: failed program was:" >&5
101671 sed 's/^/| /' conftest.$ac_ext >&5
101672
101673 eval "$as_ac_var=no"
101674 fi
101675 rm -f conftest.err conftest.$ac_objext \
101676       conftest$ac_exeext conftest.$ac_ext
101677 fi
101678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101680 if test `eval echo '${'$as_ac_var'}'` = yes; then
101681   cat >>confdefs.h <<_ACEOF
101682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101683 _ACEOF
101684
101685 fi
101686 done
101687
101688     fi
101689   fi
101690
101691
101692
101693
101694
101695
101696   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
101697 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
101698   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
101699     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
101700   echo $ECHO_N "(cached) $ECHO_C" >&6
101701 else
101702
101703
101704
101705       ac_ext=cc
101706 ac_cpp='$CXXCPP $CPPFLAGS'
101707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101710
101711       cat >conftest.$ac_ext <<_ACEOF
101712 /* confdefs.h.  */
101713 _ACEOF
101714 cat confdefs.h >>conftest.$ac_ext
101715 cat >>conftest.$ac_ext <<_ACEOF
101716 /* end confdefs.h.  */
101717 #include <math.h>
101718                       #ifdef HAVE_IEEEFP_H
101719                       #include <ieeefp.h>
101720                       #endif
101721
101722 int
101723 main ()
101724 {
101725  fabsl(0);
101726   ;
101727   return 0;
101728 }
101729 _ACEOF
101730 rm -f conftest.$ac_objext
101731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101732   (eval $ac_compile) 2>conftest.er1
101733   ac_status=$?
101734   grep -v '^ *+' conftest.er1 >conftest.err
101735   rm -f conftest.er1
101736   cat conftest.err >&5
101737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101738   (exit $ac_status); } &&
101739          { ac_try='test -z "$ac_cxx_werror_flag"
101740                          || test ! -s conftest.err'
101741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101742   (eval $ac_try) 2>&5
101743   ac_status=$?
101744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101745   (exit $ac_status); }; } &&
101746          { ac_try='test -s conftest.$ac_objext'
101747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101748   (eval $ac_try) 2>&5
101749   ac_status=$?
101750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101751   (exit $ac_status); }; }; then
101752   glibcxx_cv_func_fabsl_use=yes
101753 else
101754   echo "$as_me: failed program was:" >&5
101755 sed 's/^/| /' conftest.$ac_ext >&5
101756
101757 glibcxx_cv_func_fabsl_use=no
101758 fi
101759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101760       ac_ext=c
101761 ac_cpp='$CPP $CPPFLAGS'
101762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101765
101766
101767 fi
101768
101769   fi
101770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
101771 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
101772
101773   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
101774
101775 for ac_func in fabsl
101776 do
101777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101778 echo "$as_me:$LINENO: checking for $ac_func" >&5
101779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101780 if eval "test \"\${$as_ac_var+set}\" = set"; then
101781   echo $ECHO_N "(cached) $ECHO_C" >&6
101782 else
101783   if test x$gcc_no_link = xyes; then
101784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101786    { (exit 1); exit 1; }; }
101787 fi
101788 cat >conftest.$ac_ext <<_ACEOF
101789 /* confdefs.h.  */
101790 _ACEOF
101791 cat confdefs.h >>conftest.$ac_ext
101792 cat >>conftest.$ac_ext <<_ACEOF
101793 /* end confdefs.h.  */
101794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101796 #define $ac_func innocuous_$ac_func
101797
101798 /* System header to define __stub macros and hopefully few prototypes,
101799     which can conflict with char $ac_func (); below.
101800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101801     <limits.h> exists even on freestanding compilers.  */
101802
101803 #ifdef __STDC__
101804 # include <limits.h>
101805 #else
101806 # include <assert.h>
101807 #endif
101808
101809 #undef $ac_func
101810
101811 /* Override any gcc2 internal prototype to avoid an error.  */
101812 #ifdef __cplusplus
101813 extern "C"
101814 {
101815 #endif
101816 /* We use char because int might match the return type of a gcc2
101817    builtin and then its argument prototype would still apply.  */
101818 char $ac_func ();
101819 /* The GNU C library defines this for functions which it implements
101820     to always fail with ENOSYS.  Some functions are actually named
101821     something starting with __ and the normal name is an alias.  */
101822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101823 choke me
101824 #else
101825 char (*f) () = $ac_func;
101826 #endif
101827 #ifdef __cplusplus
101828 }
101829 #endif
101830
101831 int
101832 main ()
101833 {
101834 return f != $ac_func;
101835   ;
101836   return 0;
101837 }
101838 _ACEOF
101839 rm -f conftest.$ac_objext conftest$ac_exeext
101840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101841   (eval $ac_link) 2>conftest.er1
101842   ac_status=$?
101843   grep -v '^ *+' conftest.er1 >conftest.err
101844   rm -f conftest.er1
101845   cat conftest.err >&5
101846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101847   (exit $ac_status); } &&
101848          { ac_try='test -z "$ac_c_werror_flag"
101849                          || test ! -s conftest.err'
101850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101851   (eval $ac_try) 2>&5
101852   ac_status=$?
101853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101854   (exit $ac_status); }; } &&
101855          { ac_try='test -s conftest$ac_exeext'
101856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101857   (eval $ac_try) 2>&5
101858   ac_status=$?
101859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101860   (exit $ac_status); }; }; then
101861   eval "$as_ac_var=yes"
101862 else
101863   echo "$as_me: failed program was:" >&5
101864 sed 's/^/| /' conftest.$ac_ext >&5
101865
101866 eval "$as_ac_var=no"
101867 fi
101868 rm -f conftest.err conftest.$ac_objext \
101869       conftest$ac_exeext conftest.$ac_ext
101870 fi
101871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101873 if test `eval echo '${'$as_ac_var'}'` = yes; then
101874   cat >>confdefs.h <<_ACEOF
101875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101876 _ACEOF
101877
101878 fi
101879 done
101880
101881   else
101882
101883   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
101884 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
101885   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
101886     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
101887   echo $ECHO_N "(cached) $ECHO_C" >&6
101888 else
101889
101890
101891
101892       ac_ext=cc
101893 ac_cpp='$CXXCPP $CPPFLAGS'
101894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101897
101898       cat >conftest.$ac_ext <<_ACEOF
101899 /* confdefs.h.  */
101900 _ACEOF
101901 cat confdefs.h >>conftest.$ac_ext
101902 cat >>conftest.$ac_ext <<_ACEOF
101903 /* end confdefs.h.  */
101904 #include <math.h>
101905                       #ifdef HAVE_IEEEFP_H
101906                       #include <ieeefp.h>
101907                       #endif
101908
101909 int
101910 main ()
101911 {
101912  _fabsl(0);
101913   ;
101914   return 0;
101915 }
101916 _ACEOF
101917 rm -f conftest.$ac_objext
101918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101919   (eval $ac_compile) 2>conftest.er1
101920   ac_status=$?
101921   grep -v '^ *+' conftest.er1 >conftest.err
101922   rm -f conftest.er1
101923   cat conftest.err >&5
101924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101925   (exit $ac_status); } &&
101926          { ac_try='test -z "$ac_cxx_werror_flag"
101927                          || test ! -s conftest.err'
101928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101929   (eval $ac_try) 2>&5
101930   ac_status=$?
101931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101932   (exit $ac_status); }; } &&
101933          { ac_try='test -s conftest.$ac_objext'
101934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101935   (eval $ac_try) 2>&5
101936   ac_status=$?
101937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101938   (exit $ac_status); }; }; then
101939   glibcxx_cv_func__fabsl_use=yes
101940 else
101941   echo "$as_me: failed program was:" >&5
101942 sed 's/^/| /' conftest.$ac_ext >&5
101943
101944 glibcxx_cv_func__fabsl_use=no
101945 fi
101946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101947       ac_ext=c
101948 ac_cpp='$CPP $CPPFLAGS'
101949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101952
101953
101954 fi
101955
101956   fi
101957   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101958 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101959
101960     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101961
101962 for ac_func in _fabsl
101963 do
101964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101965 echo "$as_me:$LINENO: checking for $ac_func" >&5
101966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101967 if eval "test \"\${$as_ac_var+set}\" = set"; then
101968   echo $ECHO_N "(cached) $ECHO_C" >&6
101969 else
101970   if test x$gcc_no_link = xyes; then
101971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101973    { (exit 1); exit 1; }; }
101974 fi
101975 cat >conftest.$ac_ext <<_ACEOF
101976 /* confdefs.h.  */
101977 _ACEOF
101978 cat confdefs.h >>conftest.$ac_ext
101979 cat >>conftest.$ac_ext <<_ACEOF
101980 /* end confdefs.h.  */
101981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101983 #define $ac_func innocuous_$ac_func
101984
101985 /* System header to define __stub macros and hopefully few prototypes,
101986     which can conflict with char $ac_func (); below.
101987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101988     <limits.h> exists even on freestanding compilers.  */
101989
101990 #ifdef __STDC__
101991 # include <limits.h>
101992 #else
101993 # include <assert.h>
101994 #endif
101995
101996 #undef $ac_func
101997
101998 /* Override any gcc2 internal prototype to avoid an error.  */
101999 #ifdef __cplusplus
102000 extern "C"
102001 {
102002 #endif
102003 /* We use char because int might match the return type of a gcc2
102004    builtin and then its argument prototype would still apply.  */
102005 char $ac_func ();
102006 /* The GNU C library defines this for functions which it implements
102007     to always fail with ENOSYS.  Some functions are actually named
102008     something starting with __ and the normal name is an alias.  */
102009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102010 choke me
102011 #else
102012 char (*f) () = $ac_func;
102013 #endif
102014 #ifdef __cplusplus
102015 }
102016 #endif
102017
102018 int
102019 main ()
102020 {
102021 return f != $ac_func;
102022   ;
102023   return 0;
102024 }
102025 _ACEOF
102026 rm -f conftest.$ac_objext conftest$ac_exeext
102027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102028   (eval $ac_link) 2>conftest.er1
102029   ac_status=$?
102030   grep -v '^ *+' conftest.er1 >conftest.err
102031   rm -f conftest.er1
102032   cat conftest.err >&5
102033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102034   (exit $ac_status); } &&
102035          { ac_try='test -z "$ac_c_werror_flag"
102036                          || test ! -s conftest.err'
102037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102038   (eval $ac_try) 2>&5
102039   ac_status=$?
102040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102041   (exit $ac_status); }; } &&
102042          { ac_try='test -s conftest$ac_exeext'
102043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102044   (eval $ac_try) 2>&5
102045   ac_status=$?
102046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102047   (exit $ac_status); }; }; then
102048   eval "$as_ac_var=yes"
102049 else
102050   echo "$as_me: failed program was:" >&5
102051 sed 's/^/| /' conftest.$ac_ext >&5
102052
102053 eval "$as_ac_var=no"
102054 fi
102055 rm -f conftest.err conftest.$ac_objext \
102056       conftest$ac_exeext conftest.$ac_ext
102057 fi
102058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102060 if test `eval echo '${'$as_ac_var'}'` = yes; then
102061   cat >>confdefs.h <<_ACEOF
102062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102063 _ACEOF
102064
102065 fi
102066 done
102067
102068     fi
102069   fi
102070
102071
102072
102073
102074
102075
102076   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
102077 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
102078   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
102079     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
102080   echo $ECHO_N "(cached) $ECHO_C" >&6
102081 else
102082
102083
102084
102085       ac_ext=cc
102086 ac_cpp='$CXXCPP $CPPFLAGS'
102087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102090
102091       cat >conftest.$ac_ext <<_ACEOF
102092 /* confdefs.h.  */
102093 _ACEOF
102094 cat confdefs.h >>conftest.$ac_ext
102095 cat >>conftest.$ac_ext <<_ACEOF
102096 /* end confdefs.h.  */
102097 #include <math.h>
102098 int
102099 main ()
102100 {
102101  fmodl(0, 0);
102102   ;
102103   return 0;
102104 }
102105 _ACEOF
102106 rm -f conftest.$ac_objext
102107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102108   (eval $ac_compile) 2>conftest.er1
102109   ac_status=$?
102110   grep -v '^ *+' conftest.er1 >conftest.err
102111   rm -f conftest.er1
102112   cat conftest.err >&5
102113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102114   (exit $ac_status); } &&
102115          { ac_try='test -z "$ac_cxx_werror_flag"
102116                          || test ! -s conftest.err'
102117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102118   (eval $ac_try) 2>&5
102119   ac_status=$?
102120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102121   (exit $ac_status); }; } &&
102122          { ac_try='test -s conftest.$ac_objext'
102123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102124   (eval $ac_try) 2>&5
102125   ac_status=$?
102126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102127   (exit $ac_status); }; }; then
102128   glibcxx_cv_func_fmodl_use=yes
102129 else
102130   echo "$as_me: failed program was:" >&5
102131 sed 's/^/| /' conftest.$ac_ext >&5
102132
102133 glibcxx_cv_func_fmodl_use=no
102134 fi
102135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102136       ac_ext=c
102137 ac_cpp='$CPP $CPPFLAGS'
102138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102141
102142
102143 fi
102144
102145   fi
102146   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
102147 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
102148
102149   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
102150
102151 for ac_func in fmodl
102152 do
102153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102154 echo "$as_me:$LINENO: checking for $ac_func" >&5
102155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102156 if eval "test \"\${$as_ac_var+set}\" = set"; then
102157   echo $ECHO_N "(cached) $ECHO_C" >&6
102158 else
102159   if test x$gcc_no_link = xyes; then
102160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102162    { (exit 1); exit 1; }; }
102163 fi
102164 cat >conftest.$ac_ext <<_ACEOF
102165 /* confdefs.h.  */
102166 _ACEOF
102167 cat confdefs.h >>conftest.$ac_ext
102168 cat >>conftest.$ac_ext <<_ACEOF
102169 /* end confdefs.h.  */
102170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102172 #define $ac_func innocuous_$ac_func
102173
102174 /* System header to define __stub macros and hopefully few prototypes,
102175     which can conflict with char $ac_func (); below.
102176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102177     <limits.h> exists even on freestanding compilers.  */
102178
102179 #ifdef __STDC__
102180 # include <limits.h>
102181 #else
102182 # include <assert.h>
102183 #endif
102184
102185 #undef $ac_func
102186
102187 /* Override any gcc2 internal prototype to avoid an error.  */
102188 #ifdef __cplusplus
102189 extern "C"
102190 {
102191 #endif
102192 /* We use char because int might match the return type of a gcc2
102193    builtin and then its argument prototype would still apply.  */
102194 char $ac_func ();
102195 /* The GNU C library defines this for functions which it implements
102196     to always fail with ENOSYS.  Some functions are actually named
102197     something starting with __ and the normal name is an alias.  */
102198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102199 choke me
102200 #else
102201 char (*f) () = $ac_func;
102202 #endif
102203 #ifdef __cplusplus
102204 }
102205 #endif
102206
102207 int
102208 main ()
102209 {
102210 return f != $ac_func;
102211   ;
102212   return 0;
102213 }
102214 _ACEOF
102215 rm -f conftest.$ac_objext conftest$ac_exeext
102216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102217   (eval $ac_link) 2>conftest.er1
102218   ac_status=$?
102219   grep -v '^ *+' conftest.er1 >conftest.err
102220   rm -f conftest.er1
102221   cat conftest.err >&5
102222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102223   (exit $ac_status); } &&
102224          { ac_try='test -z "$ac_c_werror_flag"
102225                          || test ! -s conftest.err'
102226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102227   (eval $ac_try) 2>&5
102228   ac_status=$?
102229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102230   (exit $ac_status); }; } &&
102231          { ac_try='test -s conftest$ac_exeext'
102232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102233   (eval $ac_try) 2>&5
102234   ac_status=$?
102235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102236   (exit $ac_status); }; }; then
102237   eval "$as_ac_var=yes"
102238 else
102239   echo "$as_me: failed program was:" >&5
102240 sed 's/^/| /' conftest.$ac_ext >&5
102241
102242 eval "$as_ac_var=no"
102243 fi
102244 rm -f conftest.err conftest.$ac_objext \
102245       conftest$ac_exeext conftest.$ac_ext
102246 fi
102247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102249 if test `eval echo '${'$as_ac_var'}'` = yes; then
102250   cat >>confdefs.h <<_ACEOF
102251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102252 _ACEOF
102253
102254 fi
102255 done
102256
102257   else
102258
102259   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
102260 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
102261   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
102262     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
102263   echo $ECHO_N "(cached) $ECHO_C" >&6
102264 else
102265
102266
102267
102268       ac_ext=cc
102269 ac_cpp='$CXXCPP $CPPFLAGS'
102270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102273
102274       cat >conftest.$ac_ext <<_ACEOF
102275 /* confdefs.h.  */
102276 _ACEOF
102277 cat confdefs.h >>conftest.$ac_ext
102278 cat >>conftest.$ac_ext <<_ACEOF
102279 /* end confdefs.h.  */
102280 #include <math.h>
102281 int
102282 main ()
102283 {
102284  _fmodl(0, 0);
102285   ;
102286   return 0;
102287 }
102288 _ACEOF
102289 rm -f conftest.$ac_objext
102290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102291   (eval $ac_compile) 2>conftest.er1
102292   ac_status=$?
102293   grep -v '^ *+' conftest.er1 >conftest.err
102294   rm -f conftest.er1
102295   cat conftest.err >&5
102296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102297   (exit $ac_status); } &&
102298          { ac_try='test -z "$ac_cxx_werror_flag"
102299                          || test ! -s conftest.err'
102300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102301   (eval $ac_try) 2>&5
102302   ac_status=$?
102303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102304   (exit $ac_status); }; } &&
102305          { ac_try='test -s conftest.$ac_objext'
102306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102307   (eval $ac_try) 2>&5
102308   ac_status=$?
102309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102310   (exit $ac_status); }; }; then
102311   glibcxx_cv_func__fmodl_use=yes
102312 else
102313   echo "$as_me: failed program was:" >&5
102314 sed 's/^/| /' conftest.$ac_ext >&5
102315
102316 glibcxx_cv_func__fmodl_use=no
102317 fi
102318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102319       ac_ext=c
102320 ac_cpp='$CPP $CPPFLAGS'
102321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102324
102325
102326 fi
102327
102328   fi
102329   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
102330 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
102331
102332     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
102333
102334 for ac_func in _fmodl
102335 do
102336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102337 echo "$as_me:$LINENO: checking for $ac_func" >&5
102338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102339 if eval "test \"\${$as_ac_var+set}\" = set"; then
102340   echo $ECHO_N "(cached) $ECHO_C" >&6
102341 else
102342   if test x$gcc_no_link = xyes; then
102343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102345    { (exit 1); exit 1; }; }
102346 fi
102347 cat >conftest.$ac_ext <<_ACEOF
102348 /* confdefs.h.  */
102349 _ACEOF
102350 cat confdefs.h >>conftest.$ac_ext
102351 cat >>conftest.$ac_ext <<_ACEOF
102352 /* end confdefs.h.  */
102353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102355 #define $ac_func innocuous_$ac_func
102356
102357 /* System header to define __stub macros and hopefully few prototypes,
102358     which can conflict with char $ac_func (); below.
102359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102360     <limits.h> exists even on freestanding compilers.  */
102361
102362 #ifdef __STDC__
102363 # include <limits.h>
102364 #else
102365 # include <assert.h>
102366 #endif
102367
102368 #undef $ac_func
102369
102370 /* Override any gcc2 internal prototype to avoid an error.  */
102371 #ifdef __cplusplus
102372 extern "C"
102373 {
102374 #endif
102375 /* We use char because int might match the return type of a gcc2
102376    builtin and then its argument prototype would still apply.  */
102377 char $ac_func ();
102378 /* The GNU C library defines this for functions which it implements
102379     to always fail with ENOSYS.  Some functions are actually named
102380     something starting with __ and the normal name is an alias.  */
102381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102382 choke me
102383 #else
102384 char (*f) () = $ac_func;
102385 #endif
102386 #ifdef __cplusplus
102387 }
102388 #endif
102389
102390 int
102391 main ()
102392 {
102393 return f != $ac_func;
102394   ;
102395   return 0;
102396 }
102397 _ACEOF
102398 rm -f conftest.$ac_objext conftest$ac_exeext
102399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102400   (eval $ac_link) 2>conftest.er1
102401   ac_status=$?
102402   grep -v '^ *+' conftest.er1 >conftest.err
102403   rm -f conftest.er1
102404   cat conftest.err >&5
102405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102406   (exit $ac_status); } &&
102407          { ac_try='test -z "$ac_c_werror_flag"
102408                          || test ! -s conftest.err'
102409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102410   (eval $ac_try) 2>&5
102411   ac_status=$?
102412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102413   (exit $ac_status); }; } &&
102414          { ac_try='test -s conftest$ac_exeext'
102415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102416   (eval $ac_try) 2>&5
102417   ac_status=$?
102418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102419   (exit $ac_status); }; }; then
102420   eval "$as_ac_var=yes"
102421 else
102422   echo "$as_me: failed program was:" >&5
102423 sed 's/^/| /' conftest.$ac_ext >&5
102424
102425 eval "$as_ac_var=no"
102426 fi
102427 rm -f conftest.err conftest.$ac_objext \
102428       conftest$ac_exeext conftest.$ac_ext
102429 fi
102430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102432 if test `eval echo '${'$as_ac_var'}'` = yes; then
102433   cat >>confdefs.h <<_ACEOF
102434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102435 _ACEOF
102436
102437 fi
102438 done
102439
102440     fi
102441   fi
102442
102443
102444
102445
102446
102447
102448   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
102449 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
102450   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
102451     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
102452   echo $ECHO_N "(cached) $ECHO_C" >&6
102453 else
102454
102455
102456
102457       ac_ext=cc
102458 ac_cpp='$CXXCPP $CPPFLAGS'
102459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102462
102463       cat >conftest.$ac_ext <<_ACEOF
102464 /* confdefs.h.  */
102465 _ACEOF
102466 cat confdefs.h >>conftest.$ac_ext
102467 cat >>conftest.$ac_ext <<_ACEOF
102468 /* end confdefs.h.  */
102469 #include <math.h>
102470 int
102471 main ()
102472 {
102473  frexpl(0, 0);
102474   ;
102475   return 0;
102476 }
102477 _ACEOF
102478 rm -f conftest.$ac_objext
102479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102480   (eval $ac_compile) 2>conftest.er1
102481   ac_status=$?
102482   grep -v '^ *+' conftest.er1 >conftest.err
102483   rm -f conftest.er1
102484   cat conftest.err >&5
102485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102486   (exit $ac_status); } &&
102487          { ac_try='test -z "$ac_cxx_werror_flag"
102488                          || test ! -s conftest.err'
102489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102490   (eval $ac_try) 2>&5
102491   ac_status=$?
102492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102493   (exit $ac_status); }; } &&
102494          { ac_try='test -s conftest.$ac_objext'
102495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102496   (eval $ac_try) 2>&5
102497   ac_status=$?
102498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102499   (exit $ac_status); }; }; then
102500   glibcxx_cv_func_frexpl_use=yes
102501 else
102502   echo "$as_me: failed program was:" >&5
102503 sed 's/^/| /' conftest.$ac_ext >&5
102504
102505 glibcxx_cv_func_frexpl_use=no
102506 fi
102507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102508       ac_ext=c
102509 ac_cpp='$CPP $CPPFLAGS'
102510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102513
102514
102515 fi
102516
102517   fi
102518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
102519 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
102520
102521   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
102522
102523 for ac_func in frexpl
102524 do
102525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102526 echo "$as_me:$LINENO: checking for $ac_func" >&5
102527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102528 if eval "test \"\${$as_ac_var+set}\" = set"; then
102529   echo $ECHO_N "(cached) $ECHO_C" >&6
102530 else
102531   if test x$gcc_no_link = xyes; then
102532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102534    { (exit 1); exit 1; }; }
102535 fi
102536 cat >conftest.$ac_ext <<_ACEOF
102537 /* confdefs.h.  */
102538 _ACEOF
102539 cat confdefs.h >>conftest.$ac_ext
102540 cat >>conftest.$ac_ext <<_ACEOF
102541 /* end confdefs.h.  */
102542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102544 #define $ac_func innocuous_$ac_func
102545
102546 /* System header to define __stub macros and hopefully few prototypes,
102547     which can conflict with char $ac_func (); below.
102548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102549     <limits.h> exists even on freestanding compilers.  */
102550
102551 #ifdef __STDC__
102552 # include <limits.h>
102553 #else
102554 # include <assert.h>
102555 #endif
102556
102557 #undef $ac_func
102558
102559 /* Override any gcc2 internal prototype to avoid an error.  */
102560 #ifdef __cplusplus
102561 extern "C"
102562 {
102563 #endif
102564 /* We use char because int might match the return type of a gcc2
102565    builtin and then its argument prototype would still apply.  */
102566 char $ac_func ();
102567 /* The GNU C library defines this for functions which it implements
102568     to always fail with ENOSYS.  Some functions are actually named
102569     something starting with __ and the normal name is an alias.  */
102570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102571 choke me
102572 #else
102573 char (*f) () = $ac_func;
102574 #endif
102575 #ifdef __cplusplus
102576 }
102577 #endif
102578
102579 int
102580 main ()
102581 {
102582 return f != $ac_func;
102583   ;
102584   return 0;
102585 }
102586 _ACEOF
102587 rm -f conftest.$ac_objext conftest$ac_exeext
102588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102589   (eval $ac_link) 2>conftest.er1
102590   ac_status=$?
102591   grep -v '^ *+' conftest.er1 >conftest.err
102592   rm -f conftest.er1
102593   cat conftest.err >&5
102594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102595   (exit $ac_status); } &&
102596          { ac_try='test -z "$ac_c_werror_flag"
102597                          || test ! -s conftest.err'
102598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102599   (eval $ac_try) 2>&5
102600   ac_status=$?
102601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102602   (exit $ac_status); }; } &&
102603          { ac_try='test -s conftest$ac_exeext'
102604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102605   (eval $ac_try) 2>&5
102606   ac_status=$?
102607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102608   (exit $ac_status); }; }; then
102609   eval "$as_ac_var=yes"
102610 else
102611   echo "$as_me: failed program was:" >&5
102612 sed 's/^/| /' conftest.$ac_ext >&5
102613
102614 eval "$as_ac_var=no"
102615 fi
102616 rm -f conftest.err conftest.$ac_objext \
102617       conftest$ac_exeext conftest.$ac_ext
102618 fi
102619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102621 if test `eval echo '${'$as_ac_var'}'` = yes; then
102622   cat >>confdefs.h <<_ACEOF
102623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102624 _ACEOF
102625
102626 fi
102627 done
102628
102629   else
102630
102631   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
102632 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
102633   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
102634     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
102635   echo $ECHO_N "(cached) $ECHO_C" >&6
102636 else
102637
102638
102639
102640       ac_ext=cc
102641 ac_cpp='$CXXCPP $CPPFLAGS'
102642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102645
102646       cat >conftest.$ac_ext <<_ACEOF
102647 /* confdefs.h.  */
102648 _ACEOF
102649 cat confdefs.h >>conftest.$ac_ext
102650 cat >>conftest.$ac_ext <<_ACEOF
102651 /* end confdefs.h.  */
102652 #include <math.h>
102653 int
102654 main ()
102655 {
102656  _frexpl(0, 0);
102657   ;
102658   return 0;
102659 }
102660 _ACEOF
102661 rm -f conftest.$ac_objext
102662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102663   (eval $ac_compile) 2>conftest.er1
102664   ac_status=$?
102665   grep -v '^ *+' conftest.er1 >conftest.err
102666   rm -f conftest.er1
102667   cat conftest.err >&5
102668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102669   (exit $ac_status); } &&
102670          { ac_try='test -z "$ac_cxx_werror_flag"
102671                          || test ! -s conftest.err'
102672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102673   (eval $ac_try) 2>&5
102674   ac_status=$?
102675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102676   (exit $ac_status); }; } &&
102677          { ac_try='test -s conftest.$ac_objext'
102678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102679   (eval $ac_try) 2>&5
102680   ac_status=$?
102681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102682   (exit $ac_status); }; }; then
102683   glibcxx_cv_func__frexpl_use=yes
102684 else
102685   echo "$as_me: failed program was:" >&5
102686 sed 's/^/| /' conftest.$ac_ext >&5
102687
102688 glibcxx_cv_func__frexpl_use=no
102689 fi
102690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102691       ac_ext=c
102692 ac_cpp='$CPP $CPPFLAGS'
102693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102696
102697
102698 fi
102699
102700   fi
102701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
102702 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
102703
102704     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
102705
102706 for ac_func in _frexpl
102707 do
102708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102709 echo "$as_me:$LINENO: checking for $ac_func" >&5
102710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102711 if eval "test \"\${$as_ac_var+set}\" = set"; then
102712   echo $ECHO_N "(cached) $ECHO_C" >&6
102713 else
102714   if test x$gcc_no_link = xyes; then
102715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102717    { (exit 1); exit 1; }; }
102718 fi
102719 cat >conftest.$ac_ext <<_ACEOF
102720 /* confdefs.h.  */
102721 _ACEOF
102722 cat confdefs.h >>conftest.$ac_ext
102723 cat >>conftest.$ac_ext <<_ACEOF
102724 /* end confdefs.h.  */
102725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102727 #define $ac_func innocuous_$ac_func
102728
102729 /* System header to define __stub macros and hopefully few prototypes,
102730     which can conflict with char $ac_func (); below.
102731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102732     <limits.h> exists even on freestanding compilers.  */
102733
102734 #ifdef __STDC__
102735 # include <limits.h>
102736 #else
102737 # include <assert.h>
102738 #endif
102739
102740 #undef $ac_func
102741
102742 /* Override any gcc2 internal prototype to avoid an error.  */
102743 #ifdef __cplusplus
102744 extern "C"
102745 {
102746 #endif
102747 /* We use char because int might match the return type of a gcc2
102748    builtin and then its argument prototype would still apply.  */
102749 char $ac_func ();
102750 /* The GNU C library defines this for functions which it implements
102751     to always fail with ENOSYS.  Some functions are actually named
102752     something starting with __ and the normal name is an alias.  */
102753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102754 choke me
102755 #else
102756 char (*f) () = $ac_func;
102757 #endif
102758 #ifdef __cplusplus
102759 }
102760 #endif
102761
102762 int
102763 main ()
102764 {
102765 return f != $ac_func;
102766   ;
102767   return 0;
102768 }
102769 _ACEOF
102770 rm -f conftest.$ac_objext conftest$ac_exeext
102771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102772   (eval $ac_link) 2>conftest.er1
102773   ac_status=$?
102774   grep -v '^ *+' conftest.er1 >conftest.err
102775   rm -f conftest.er1
102776   cat conftest.err >&5
102777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102778   (exit $ac_status); } &&
102779          { ac_try='test -z "$ac_c_werror_flag"
102780                          || test ! -s conftest.err'
102781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102782   (eval $ac_try) 2>&5
102783   ac_status=$?
102784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102785   (exit $ac_status); }; } &&
102786          { ac_try='test -s conftest$ac_exeext'
102787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102788   (eval $ac_try) 2>&5
102789   ac_status=$?
102790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102791   (exit $ac_status); }; }; then
102792   eval "$as_ac_var=yes"
102793 else
102794   echo "$as_me: failed program was:" >&5
102795 sed 's/^/| /' conftest.$ac_ext >&5
102796
102797 eval "$as_ac_var=no"
102798 fi
102799 rm -f conftest.err conftest.$ac_objext \
102800       conftest$ac_exeext conftest.$ac_ext
102801 fi
102802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102804 if test `eval echo '${'$as_ac_var'}'` = yes; then
102805   cat >>confdefs.h <<_ACEOF
102806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102807 _ACEOF
102808
102809 fi
102810 done
102811
102812     fi
102813   fi
102814
102815
102816
102817
102818
102819
102820   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
102821 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
102822   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
102823     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
102824   echo $ECHO_N "(cached) $ECHO_C" >&6
102825 else
102826
102827
102828
102829       ac_ext=cc
102830 ac_cpp='$CXXCPP $CPPFLAGS'
102831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102834
102835       cat >conftest.$ac_ext <<_ACEOF
102836 /* confdefs.h.  */
102837 _ACEOF
102838 cat confdefs.h >>conftest.$ac_ext
102839 cat >>conftest.$ac_ext <<_ACEOF
102840 /* end confdefs.h.  */
102841 #include <math.h>
102842 int
102843 main ()
102844 {
102845  hypotl(0, 0);
102846   ;
102847   return 0;
102848 }
102849 _ACEOF
102850 rm -f conftest.$ac_objext
102851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102852   (eval $ac_compile) 2>conftest.er1
102853   ac_status=$?
102854   grep -v '^ *+' conftest.er1 >conftest.err
102855   rm -f conftest.er1
102856   cat conftest.err >&5
102857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102858   (exit $ac_status); } &&
102859          { ac_try='test -z "$ac_cxx_werror_flag"
102860                          || test ! -s conftest.err'
102861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102862   (eval $ac_try) 2>&5
102863   ac_status=$?
102864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102865   (exit $ac_status); }; } &&
102866          { ac_try='test -s conftest.$ac_objext'
102867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102868   (eval $ac_try) 2>&5
102869   ac_status=$?
102870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102871   (exit $ac_status); }; }; then
102872   glibcxx_cv_func_hypotl_use=yes
102873 else
102874   echo "$as_me: failed program was:" >&5
102875 sed 's/^/| /' conftest.$ac_ext >&5
102876
102877 glibcxx_cv_func_hypotl_use=no
102878 fi
102879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102880       ac_ext=c
102881 ac_cpp='$CPP $CPPFLAGS'
102882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102885
102886
102887 fi
102888
102889   fi
102890   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
102891 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
102892
102893   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
102894
102895 for ac_func in hypotl
102896 do
102897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102898 echo "$as_me:$LINENO: checking for $ac_func" >&5
102899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102900 if eval "test \"\${$as_ac_var+set}\" = set"; then
102901   echo $ECHO_N "(cached) $ECHO_C" >&6
102902 else
102903   if test x$gcc_no_link = xyes; then
102904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102906    { (exit 1); exit 1; }; }
102907 fi
102908 cat >conftest.$ac_ext <<_ACEOF
102909 /* confdefs.h.  */
102910 _ACEOF
102911 cat confdefs.h >>conftest.$ac_ext
102912 cat >>conftest.$ac_ext <<_ACEOF
102913 /* end confdefs.h.  */
102914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102916 #define $ac_func innocuous_$ac_func
102917
102918 /* System header to define __stub macros and hopefully few prototypes,
102919     which can conflict with char $ac_func (); below.
102920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102921     <limits.h> exists even on freestanding compilers.  */
102922
102923 #ifdef __STDC__
102924 # include <limits.h>
102925 #else
102926 # include <assert.h>
102927 #endif
102928
102929 #undef $ac_func
102930
102931 /* Override any gcc2 internal prototype to avoid an error.  */
102932 #ifdef __cplusplus
102933 extern "C"
102934 {
102935 #endif
102936 /* We use char because int might match the return type of a gcc2
102937    builtin and then its argument prototype would still apply.  */
102938 char $ac_func ();
102939 /* The GNU C library defines this for functions which it implements
102940     to always fail with ENOSYS.  Some functions are actually named
102941     something starting with __ and the normal name is an alias.  */
102942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102943 choke me
102944 #else
102945 char (*f) () = $ac_func;
102946 #endif
102947 #ifdef __cplusplus
102948 }
102949 #endif
102950
102951 int
102952 main ()
102953 {
102954 return f != $ac_func;
102955   ;
102956   return 0;
102957 }
102958 _ACEOF
102959 rm -f conftest.$ac_objext conftest$ac_exeext
102960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102961   (eval $ac_link) 2>conftest.er1
102962   ac_status=$?
102963   grep -v '^ *+' conftest.er1 >conftest.err
102964   rm -f conftest.er1
102965   cat conftest.err >&5
102966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102967   (exit $ac_status); } &&
102968          { ac_try='test -z "$ac_c_werror_flag"
102969                          || test ! -s conftest.err'
102970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102971   (eval $ac_try) 2>&5
102972   ac_status=$?
102973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102974   (exit $ac_status); }; } &&
102975          { ac_try='test -s conftest$ac_exeext'
102976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102977   (eval $ac_try) 2>&5
102978   ac_status=$?
102979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102980   (exit $ac_status); }; }; then
102981   eval "$as_ac_var=yes"
102982 else
102983   echo "$as_me: failed program was:" >&5
102984 sed 's/^/| /' conftest.$ac_ext >&5
102985
102986 eval "$as_ac_var=no"
102987 fi
102988 rm -f conftest.err conftest.$ac_objext \
102989       conftest$ac_exeext conftest.$ac_ext
102990 fi
102991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102993 if test `eval echo '${'$as_ac_var'}'` = yes; then
102994   cat >>confdefs.h <<_ACEOF
102995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102996 _ACEOF
102997
102998 fi
102999 done
103000
103001   else
103002
103003   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
103004 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
103005   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
103006     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
103007   echo $ECHO_N "(cached) $ECHO_C" >&6
103008 else
103009
103010
103011
103012       ac_ext=cc
103013 ac_cpp='$CXXCPP $CPPFLAGS'
103014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103017
103018       cat >conftest.$ac_ext <<_ACEOF
103019 /* confdefs.h.  */
103020 _ACEOF
103021 cat confdefs.h >>conftest.$ac_ext
103022 cat >>conftest.$ac_ext <<_ACEOF
103023 /* end confdefs.h.  */
103024 #include <math.h>
103025 int
103026 main ()
103027 {
103028  _hypotl(0, 0);
103029   ;
103030   return 0;
103031 }
103032 _ACEOF
103033 rm -f conftest.$ac_objext
103034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103035   (eval $ac_compile) 2>conftest.er1
103036   ac_status=$?
103037   grep -v '^ *+' conftest.er1 >conftest.err
103038   rm -f conftest.er1
103039   cat conftest.err >&5
103040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103041   (exit $ac_status); } &&
103042          { ac_try='test -z "$ac_cxx_werror_flag"
103043                          || test ! -s conftest.err'
103044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103045   (eval $ac_try) 2>&5
103046   ac_status=$?
103047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103048   (exit $ac_status); }; } &&
103049          { ac_try='test -s conftest.$ac_objext'
103050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103051   (eval $ac_try) 2>&5
103052   ac_status=$?
103053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103054   (exit $ac_status); }; }; then
103055   glibcxx_cv_func__hypotl_use=yes
103056 else
103057   echo "$as_me: failed program was:" >&5
103058 sed 's/^/| /' conftest.$ac_ext >&5
103059
103060 glibcxx_cv_func__hypotl_use=no
103061 fi
103062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103063       ac_ext=c
103064 ac_cpp='$CPP $CPPFLAGS'
103065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103068
103069
103070 fi
103071
103072   fi
103073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
103074 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
103075
103076     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
103077
103078 for ac_func in _hypotl
103079 do
103080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103081 echo "$as_me:$LINENO: checking for $ac_func" >&5
103082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103083 if eval "test \"\${$as_ac_var+set}\" = set"; then
103084   echo $ECHO_N "(cached) $ECHO_C" >&6
103085 else
103086   if test x$gcc_no_link = xyes; then
103087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103089    { (exit 1); exit 1; }; }
103090 fi
103091 cat >conftest.$ac_ext <<_ACEOF
103092 /* confdefs.h.  */
103093 _ACEOF
103094 cat confdefs.h >>conftest.$ac_ext
103095 cat >>conftest.$ac_ext <<_ACEOF
103096 /* end confdefs.h.  */
103097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103099 #define $ac_func innocuous_$ac_func
103100
103101 /* System header to define __stub macros and hopefully few prototypes,
103102     which can conflict with char $ac_func (); below.
103103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103104     <limits.h> exists even on freestanding compilers.  */
103105
103106 #ifdef __STDC__
103107 # include <limits.h>
103108 #else
103109 # include <assert.h>
103110 #endif
103111
103112 #undef $ac_func
103113
103114 /* Override any gcc2 internal prototype to avoid an error.  */
103115 #ifdef __cplusplus
103116 extern "C"
103117 {
103118 #endif
103119 /* We use char because int might match the return type of a gcc2
103120    builtin and then its argument prototype would still apply.  */
103121 char $ac_func ();
103122 /* The GNU C library defines this for functions which it implements
103123     to always fail with ENOSYS.  Some functions are actually named
103124     something starting with __ and the normal name is an alias.  */
103125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103126 choke me
103127 #else
103128 char (*f) () = $ac_func;
103129 #endif
103130 #ifdef __cplusplus
103131 }
103132 #endif
103133
103134 int
103135 main ()
103136 {
103137 return f != $ac_func;
103138   ;
103139   return 0;
103140 }
103141 _ACEOF
103142 rm -f conftest.$ac_objext conftest$ac_exeext
103143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103144   (eval $ac_link) 2>conftest.er1
103145   ac_status=$?
103146   grep -v '^ *+' conftest.er1 >conftest.err
103147   rm -f conftest.er1
103148   cat conftest.err >&5
103149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103150   (exit $ac_status); } &&
103151          { ac_try='test -z "$ac_c_werror_flag"
103152                          || test ! -s conftest.err'
103153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103154   (eval $ac_try) 2>&5
103155   ac_status=$?
103156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103157   (exit $ac_status); }; } &&
103158          { ac_try='test -s conftest$ac_exeext'
103159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103160   (eval $ac_try) 2>&5
103161   ac_status=$?
103162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103163   (exit $ac_status); }; }; then
103164   eval "$as_ac_var=yes"
103165 else
103166   echo "$as_me: failed program was:" >&5
103167 sed 's/^/| /' conftest.$ac_ext >&5
103168
103169 eval "$as_ac_var=no"
103170 fi
103171 rm -f conftest.err conftest.$ac_objext \
103172       conftest$ac_exeext conftest.$ac_ext
103173 fi
103174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103176 if test `eval echo '${'$as_ac_var'}'` = yes; then
103177   cat >>confdefs.h <<_ACEOF
103178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103179 _ACEOF
103180
103181 fi
103182 done
103183
103184     fi
103185   fi
103186
103187
103188
103189
103190
103191
103192   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
103193 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
103194   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
103195     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
103196   echo $ECHO_N "(cached) $ECHO_C" >&6
103197 else
103198
103199
103200
103201       ac_ext=cc
103202 ac_cpp='$CXXCPP $CPPFLAGS'
103203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103206
103207       cat >conftest.$ac_ext <<_ACEOF
103208 /* confdefs.h.  */
103209 _ACEOF
103210 cat confdefs.h >>conftest.$ac_ext
103211 cat >>conftest.$ac_ext <<_ACEOF
103212 /* end confdefs.h.  */
103213 #include <math.h>
103214 int
103215 main ()
103216 {
103217  ldexpl(0, 0);
103218   ;
103219   return 0;
103220 }
103221 _ACEOF
103222 rm -f conftest.$ac_objext
103223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103224   (eval $ac_compile) 2>conftest.er1
103225   ac_status=$?
103226   grep -v '^ *+' conftest.er1 >conftest.err
103227   rm -f conftest.er1
103228   cat conftest.err >&5
103229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103230   (exit $ac_status); } &&
103231          { ac_try='test -z "$ac_cxx_werror_flag"
103232                          || test ! -s conftest.err'
103233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103234   (eval $ac_try) 2>&5
103235   ac_status=$?
103236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237   (exit $ac_status); }; } &&
103238          { ac_try='test -s conftest.$ac_objext'
103239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103240   (eval $ac_try) 2>&5
103241   ac_status=$?
103242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103243   (exit $ac_status); }; }; then
103244   glibcxx_cv_func_ldexpl_use=yes
103245 else
103246   echo "$as_me: failed program was:" >&5
103247 sed 's/^/| /' conftest.$ac_ext >&5
103248
103249 glibcxx_cv_func_ldexpl_use=no
103250 fi
103251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103252       ac_ext=c
103253 ac_cpp='$CPP $CPPFLAGS'
103254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103257
103258
103259 fi
103260
103261   fi
103262   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
103263 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
103264
103265   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
103266
103267 for ac_func in ldexpl
103268 do
103269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103270 echo "$as_me:$LINENO: checking for $ac_func" >&5
103271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103272 if eval "test \"\${$as_ac_var+set}\" = set"; then
103273   echo $ECHO_N "(cached) $ECHO_C" >&6
103274 else
103275   if test x$gcc_no_link = xyes; then
103276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103278    { (exit 1); exit 1; }; }
103279 fi
103280 cat >conftest.$ac_ext <<_ACEOF
103281 /* confdefs.h.  */
103282 _ACEOF
103283 cat confdefs.h >>conftest.$ac_ext
103284 cat >>conftest.$ac_ext <<_ACEOF
103285 /* end confdefs.h.  */
103286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103287    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103288 #define $ac_func innocuous_$ac_func
103289
103290 /* System header to define __stub macros and hopefully few prototypes,
103291     which can conflict with char $ac_func (); below.
103292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103293     <limits.h> exists even on freestanding compilers.  */
103294
103295 #ifdef __STDC__
103296 # include <limits.h>
103297 #else
103298 # include <assert.h>
103299 #endif
103300
103301 #undef $ac_func
103302
103303 /* Override any gcc2 internal prototype to avoid an error.  */
103304 #ifdef __cplusplus
103305 extern "C"
103306 {
103307 #endif
103308 /* We use char because int might match the return type of a gcc2
103309    builtin and then its argument prototype would still apply.  */
103310 char $ac_func ();
103311 /* The GNU C library defines this for functions which it implements
103312     to always fail with ENOSYS.  Some functions are actually named
103313     something starting with __ and the normal name is an alias.  */
103314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103315 choke me
103316 #else
103317 char (*f) () = $ac_func;
103318 #endif
103319 #ifdef __cplusplus
103320 }
103321 #endif
103322
103323 int
103324 main ()
103325 {
103326 return f != $ac_func;
103327   ;
103328   return 0;
103329 }
103330 _ACEOF
103331 rm -f conftest.$ac_objext conftest$ac_exeext
103332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103333   (eval $ac_link) 2>conftest.er1
103334   ac_status=$?
103335   grep -v '^ *+' conftest.er1 >conftest.err
103336   rm -f conftest.er1
103337   cat conftest.err >&5
103338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103339   (exit $ac_status); } &&
103340          { ac_try='test -z "$ac_c_werror_flag"
103341                          || test ! -s conftest.err'
103342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103343   (eval $ac_try) 2>&5
103344   ac_status=$?
103345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103346   (exit $ac_status); }; } &&
103347          { ac_try='test -s conftest$ac_exeext'
103348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103349   (eval $ac_try) 2>&5
103350   ac_status=$?
103351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103352   (exit $ac_status); }; }; then
103353   eval "$as_ac_var=yes"
103354 else
103355   echo "$as_me: failed program was:" >&5
103356 sed 's/^/| /' conftest.$ac_ext >&5
103357
103358 eval "$as_ac_var=no"
103359 fi
103360 rm -f conftest.err conftest.$ac_objext \
103361       conftest$ac_exeext conftest.$ac_ext
103362 fi
103363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103365 if test `eval echo '${'$as_ac_var'}'` = yes; then
103366   cat >>confdefs.h <<_ACEOF
103367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103368 _ACEOF
103369
103370 fi
103371 done
103372
103373   else
103374
103375   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
103376 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
103377   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
103378     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
103379   echo $ECHO_N "(cached) $ECHO_C" >&6
103380 else
103381
103382
103383
103384       ac_ext=cc
103385 ac_cpp='$CXXCPP $CPPFLAGS'
103386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103389
103390       cat >conftest.$ac_ext <<_ACEOF
103391 /* confdefs.h.  */
103392 _ACEOF
103393 cat confdefs.h >>conftest.$ac_ext
103394 cat >>conftest.$ac_ext <<_ACEOF
103395 /* end confdefs.h.  */
103396 #include <math.h>
103397 int
103398 main ()
103399 {
103400  _ldexpl(0, 0);
103401   ;
103402   return 0;
103403 }
103404 _ACEOF
103405 rm -f conftest.$ac_objext
103406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103407   (eval $ac_compile) 2>conftest.er1
103408   ac_status=$?
103409   grep -v '^ *+' conftest.er1 >conftest.err
103410   rm -f conftest.er1
103411   cat conftest.err >&5
103412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103413   (exit $ac_status); } &&
103414          { ac_try='test -z "$ac_cxx_werror_flag"
103415                          || test ! -s conftest.err'
103416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103417   (eval $ac_try) 2>&5
103418   ac_status=$?
103419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103420   (exit $ac_status); }; } &&
103421          { ac_try='test -s conftest.$ac_objext'
103422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103423   (eval $ac_try) 2>&5
103424   ac_status=$?
103425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103426   (exit $ac_status); }; }; then
103427   glibcxx_cv_func__ldexpl_use=yes
103428 else
103429   echo "$as_me: failed program was:" >&5
103430 sed 's/^/| /' conftest.$ac_ext >&5
103431
103432 glibcxx_cv_func__ldexpl_use=no
103433 fi
103434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103435       ac_ext=c
103436 ac_cpp='$CPP $CPPFLAGS'
103437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103440
103441
103442 fi
103443
103444   fi
103445   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
103446 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
103447
103448     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
103449
103450 for ac_func in _ldexpl
103451 do
103452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103453 echo "$as_me:$LINENO: checking for $ac_func" >&5
103454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103455 if eval "test \"\${$as_ac_var+set}\" = set"; then
103456   echo $ECHO_N "(cached) $ECHO_C" >&6
103457 else
103458   if test x$gcc_no_link = xyes; then
103459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103461    { (exit 1); exit 1; }; }
103462 fi
103463 cat >conftest.$ac_ext <<_ACEOF
103464 /* confdefs.h.  */
103465 _ACEOF
103466 cat confdefs.h >>conftest.$ac_ext
103467 cat >>conftest.$ac_ext <<_ACEOF
103468 /* end confdefs.h.  */
103469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103471 #define $ac_func innocuous_$ac_func
103472
103473 /* System header to define __stub macros and hopefully few prototypes,
103474     which can conflict with char $ac_func (); below.
103475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103476     <limits.h> exists even on freestanding compilers.  */
103477
103478 #ifdef __STDC__
103479 # include <limits.h>
103480 #else
103481 # include <assert.h>
103482 #endif
103483
103484 #undef $ac_func
103485
103486 /* Override any gcc2 internal prototype to avoid an error.  */
103487 #ifdef __cplusplus
103488 extern "C"
103489 {
103490 #endif
103491 /* We use char because int might match the return type of a gcc2
103492    builtin and then its argument prototype would still apply.  */
103493 char $ac_func ();
103494 /* The GNU C library defines this for functions which it implements
103495     to always fail with ENOSYS.  Some functions are actually named
103496     something starting with __ and the normal name is an alias.  */
103497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103498 choke me
103499 #else
103500 char (*f) () = $ac_func;
103501 #endif
103502 #ifdef __cplusplus
103503 }
103504 #endif
103505
103506 int
103507 main ()
103508 {
103509 return f != $ac_func;
103510   ;
103511   return 0;
103512 }
103513 _ACEOF
103514 rm -f conftest.$ac_objext conftest$ac_exeext
103515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103516   (eval $ac_link) 2>conftest.er1
103517   ac_status=$?
103518   grep -v '^ *+' conftest.er1 >conftest.err
103519   rm -f conftest.er1
103520   cat conftest.err >&5
103521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103522   (exit $ac_status); } &&
103523          { ac_try='test -z "$ac_c_werror_flag"
103524                          || test ! -s conftest.err'
103525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103526   (eval $ac_try) 2>&5
103527   ac_status=$?
103528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103529   (exit $ac_status); }; } &&
103530          { ac_try='test -s conftest$ac_exeext'
103531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103532   (eval $ac_try) 2>&5
103533   ac_status=$?
103534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103535   (exit $ac_status); }; }; then
103536   eval "$as_ac_var=yes"
103537 else
103538   echo "$as_me: failed program was:" >&5
103539 sed 's/^/| /' conftest.$ac_ext >&5
103540
103541 eval "$as_ac_var=no"
103542 fi
103543 rm -f conftest.err conftest.$ac_objext \
103544       conftest$ac_exeext conftest.$ac_ext
103545 fi
103546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103548 if test `eval echo '${'$as_ac_var'}'` = yes; then
103549   cat >>confdefs.h <<_ACEOF
103550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103551 _ACEOF
103552
103553 fi
103554 done
103555
103556     fi
103557   fi
103558
103559
103560
103561
103562
103563
103564   echo "$as_me:$LINENO: checking for logl declaration" >&5
103565 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
103566   if test x${glibcxx_cv_func_logl_use+set} != xset; then
103567     if test "${glibcxx_cv_func_logl_use+set}" = set; then
103568   echo $ECHO_N "(cached) $ECHO_C" >&6
103569 else
103570
103571
103572
103573       ac_ext=cc
103574 ac_cpp='$CXXCPP $CPPFLAGS'
103575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103578
103579       cat >conftest.$ac_ext <<_ACEOF
103580 /* confdefs.h.  */
103581 _ACEOF
103582 cat confdefs.h >>conftest.$ac_ext
103583 cat >>conftest.$ac_ext <<_ACEOF
103584 /* end confdefs.h.  */
103585 #include <math.h>
103586                       #ifdef HAVE_IEEEFP_H
103587                       #include <ieeefp.h>
103588                       #endif
103589
103590 int
103591 main ()
103592 {
103593  logl(0);
103594   ;
103595   return 0;
103596 }
103597 _ACEOF
103598 rm -f conftest.$ac_objext
103599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103600   (eval $ac_compile) 2>conftest.er1
103601   ac_status=$?
103602   grep -v '^ *+' conftest.er1 >conftest.err
103603   rm -f conftest.er1
103604   cat conftest.err >&5
103605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103606   (exit $ac_status); } &&
103607          { ac_try='test -z "$ac_cxx_werror_flag"
103608                          || test ! -s conftest.err'
103609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103610   (eval $ac_try) 2>&5
103611   ac_status=$?
103612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103613   (exit $ac_status); }; } &&
103614          { ac_try='test -s conftest.$ac_objext'
103615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103616   (eval $ac_try) 2>&5
103617   ac_status=$?
103618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103619   (exit $ac_status); }; }; then
103620   glibcxx_cv_func_logl_use=yes
103621 else
103622   echo "$as_me: failed program was:" >&5
103623 sed 's/^/| /' conftest.$ac_ext >&5
103624
103625 glibcxx_cv_func_logl_use=no
103626 fi
103627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103628       ac_ext=c
103629 ac_cpp='$CPP $CPPFLAGS'
103630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103633
103634
103635 fi
103636
103637   fi
103638   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
103639 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
103640
103641   if test x$glibcxx_cv_func_logl_use = x"yes"; then
103642
103643 for ac_func in logl
103644 do
103645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103646 echo "$as_me:$LINENO: checking for $ac_func" >&5
103647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103648 if eval "test \"\${$as_ac_var+set}\" = set"; then
103649   echo $ECHO_N "(cached) $ECHO_C" >&6
103650 else
103651   if test x$gcc_no_link = xyes; then
103652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103654    { (exit 1); exit 1; }; }
103655 fi
103656 cat >conftest.$ac_ext <<_ACEOF
103657 /* confdefs.h.  */
103658 _ACEOF
103659 cat confdefs.h >>conftest.$ac_ext
103660 cat >>conftest.$ac_ext <<_ACEOF
103661 /* end confdefs.h.  */
103662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103664 #define $ac_func innocuous_$ac_func
103665
103666 /* System header to define __stub macros and hopefully few prototypes,
103667     which can conflict with char $ac_func (); below.
103668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103669     <limits.h> exists even on freestanding compilers.  */
103670
103671 #ifdef __STDC__
103672 # include <limits.h>
103673 #else
103674 # include <assert.h>
103675 #endif
103676
103677 #undef $ac_func
103678
103679 /* Override any gcc2 internal prototype to avoid an error.  */
103680 #ifdef __cplusplus
103681 extern "C"
103682 {
103683 #endif
103684 /* We use char because int might match the return type of a gcc2
103685    builtin and then its argument prototype would still apply.  */
103686 char $ac_func ();
103687 /* The GNU C library defines this for functions which it implements
103688     to always fail with ENOSYS.  Some functions are actually named
103689     something starting with __ and the normal name is an alias.  */
103690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103691 choke me
103692 #else
103693 char (*f) () = $ac_func;
103694 #endif
103695 #ifdef __cplusplus
103696 }
103697 #endif
103698
103699 int
103700 main ()
103701 {
103702 return f != $ac_func;
103703   ;
103704   return 0;
103705 }
103706 _ACEOF
103707 rm -f conftest.$ac_objext conftest$ac_exeext
103708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103709   (eval $ac_link) 2>conftest.er1
103710   ac_status=$?
103711   grep -v '^ *+' conftest.er1 >conftest.err
103712   rm -f conftest.er1
103713   cat conftest.err >&5
103714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103715   (exit $ac_status); } &&
103716          { ac_try='test -z "$ac_c_werror_flag"
103717                          || test ! -s conftest.err'
103718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103719   (eval $ac_try) 2>&5
103720   ac_status=$?
103721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103722   (exit $ac_status); }; } &&
103723          { ac_try='test -s conftest$ac_exeext'
103724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103725   (eval $ac_try) 2>&5
103726   ac_status=$?
103727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103728   (exit $ac_status); }; }; then
103729   eval "$as_ac_var=yes"
103730 else
103731   echo "$as_me: failed program was:" >&5
103732 sed 's/^/| /' conftest.$ac_ext >&5
103733
103734 eval "$as_ac_var=no"
103735 fi
103736 rm -f conftest.err conftest.$ac_objext \
103737       conftest$ac_exeext conftest.$ac_ext
103738 fi
103739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103741 if test `eval echo '${'$as_ac_var'}'` = yes; then
103742   cat >>confdefs.h <<_ACEOF
103743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103744 _ACEOF
103745
103746 fi
103747 done
103748
103749   else
103750
103751   echo "$as_me:$LINENO: checking for _logl declaration" >&5
103752 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
103753   if test x${glibcxx_cv_func__logl_use+set} != xset; then
103754     if test "${glibcxx_cv_func__logl_use+set}" = set; then
103755   echo $ECHO_N "(cached) $ECHO_C" >&6
103756 else
103757
103758
103759
103760       ac_ext=cc
103761 ac_cpp='$CXXCPP $CPPFLAGS'
103762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103765
103766       cat >conftest.$ac_ext <<_ACEOF
103767 /* confdefs.h.  */
103768 _ACEOF
103769 cat confdefs.h >>conftest.$ac_ext
103770 cat >>conftest.$ac_ext <<_ACEOF
103771 /* end confdefs.h.  */
103772 #include <math.h>
103773                       #ifdef HAVE_IEEEFP_H
103774                       #include <ieeefp.h>
103775                       #endif
103776
103777 int
103778 main ()
103779 {
103780  _logl(0);
103781   ;
103782   return 0;
103783 }
103784 _ACEOF
103785 rm -f conftest.$ac_objext
103786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103787   (eval $ac_compile) 2>conftest.er1
103788   ac_status=$?
103789   grep -v '^ *+' conftest.er1 >conftest.err
103790   rm -f conftest.er1
103791   cat conftest.err >&5
103792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793   (exit $ac_status); } &&
103794          { ac_try='test -z "$ac_cxx_werror_flag"
103795                          || test ! -s conftest.err'
103796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797   (eval $ac_try) 2>&5
103798   ac_status=$?
103799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800   (exit $ac_status); }; } &&
103801          { ac_try='test -s conftest.$ac_objext'
103802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803   (eval $ac_try) 2>&5
103804   ac_status=$?
103805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806   (exit $ac_status); }; }; then
103807   glibcxx_cv_func__logl_use=yes
103808 else
103809   echo "$as_me: failed program was:" >&5
103810 sed 's/^/| /' conftest.$ac_ext >&5
103811
103812 glibcxx_cv_func__logl_use=no
103813 fi
103814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103815       ac_ext=c
103816 ac_cpp='$CPP $CPPFLAGS'
103817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103820
103821
103822 fi
103823
103824   fi
103825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
103826 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
103827
103828     if test x$glibcxx_cv_func__logl_use = x"yes"; then
103829
103830 for ac_func in _logl
103831 do
103832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103833 echo "$as_me:$LINENO: checking for $ac_func" >&5
103834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103835 if eval "test \"\${$as_ac_var+set}\" = set"; then
103836   echo $ECHO_N "(cached) $ECHO_C" >&6
103837 else
103838   if test x$gcc_no_link = xyes; then
103839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103841    { (exit 1); exit 1; }; }
103842 fi
103843 cat >conftest.$ac_ext <<_ACEOF
103844 /* confdefs.h.  */
103845 _ACEOF
103846 cat confdefs.h >>conftest.$ac_ext
103847 cat >>conftest.$ac_ext <<_ACEOF
103848 /* end confdefs.h.  */
103849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103851 #define $ac_func innocuous_$ac_func
103852
103853 /* System header to define __stub macros and hopefully few prototypes,
103854     which can conflict with char $ac_func (); below.
103855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103856     <limits.h> exists even on freestanding compilers.  */
103857
103858 #ifdef __STDC__
103859 # include <limits.h>
103860 #else
103861 # include <assert.h>
103862 #endif
103863
103864 #undef $ac_func
103865
103866 /* Override any gcc2 internal prototype to avoid an error.  */
103867 #ifdef __cplusplus
103868 extern "C"
103869 {
103870 #endif
103871 /* We use char because int might match the return type of a gcc2
103872    builtin and then its argument prototype would still apply.  */
103873 char $ac_func ();
103874 /* The GNU C library defines this for functions which it implements
103875     to always fail with ENOSYS.  Some functions are actually named
103876     something starting with __ and the normal name is an alias.  */
103877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103878 choke me
103879 #else
103880 char (*f) () = $ac_func;
103881 #endif
103882 #ifdef __cplusplus
103883 }
103884 #endif
103885
103886 int
103887 main ()
103888 {
103889 return f != $ac_func;
103890   ;
103891   return 0;
103892 }
103893 _ACEOF
103894 rm -f conftest.$ac_objext conftest$ac_exeext
103895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103896   (eval $ac_link) 2>conftest.er1
103897   ac_status=$?
103898   grep -v '^ *+' conftest.er1 >conftest.err
103899   rm -f conftest.er1
103900   cat conftest.err >&5
103901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103902   (exit $ac_status); } &&
103903          { ac_try='test -z "$ac_c_werror_flag"
103904                          || test ! -s conftest.err'
103905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103906   (eval $ac_try) 2>&5
103907   ac_status=$?
103908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103909   (exit $ac_status); }; } &&
103910          { ac_try='test -s conftest$ac_exeext'
103911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103912   (eval $ac_try) 2>&5
103913   ac_status=$?
103914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915   (exit $ac_status); }; }; then
103916   eval "$as_ac_var=yes"
103917 else
103918   echo "$as_me: failed program was:" >&5
103919 sed 's/^/| /' conftest.$ac_ext >&5
103920
103921 eval "$as_ac_var=no"
103922 fi
103923 rm -f conftest.err conftest.$ac_objext \
103924       conftest$ac_exeext conftest.$ac_ext
103925 fi
103926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103928 if test `eval echo '${'$as_ac_var'}'` = yes; then
103929   cat >>confdefs.h <<_ACEOF
103930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103931 _ACEOF
103932
103933 fi
103934 done
103935
103936     fi
103937   fi
103938
103939
103940
103941
103942
103943
103944   echo "$as_me:$LINENO: checking for log10l declaration" >&5
103945 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103946   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103947     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103948   echo $ECHO_N "(cached) $ECHO_C" >&6
103949 else
103950
103951
103952
103953       ac_ext=cc
103954 ac_cpp='$CXXCPP $CPPFLAGS'
103955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103958
103959       cat >conftest.$ac_ext <<_ACEOF
103960 /* confdefs.h.  */
103961 _ACEOF
103962 cat confdefs.h >>conftest.$ac_ext
103963 cat >>conftest.$ac_ext <<_ACEOF
103964 /* end confdefs.h.  */
103965 #include <math.h>
103966                       #ifdef HAVE_IEEEFP_H
103967                       #include <ieeefp.h>
103968                       #endif
103969
103970 int
103971 main ()
103972 {
103973  log10l(0);
103974   ;
103975   return 0;
103976 }
103977 _ACEOF
103978 rm -f conftest.$ac_objext
103979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103980   (eval $ac_compile) 2>conftest.er1
103981   ac_status=$?
103982   grep -v '^ *+' conftest.er1 >conftest.err
103983   rm -f conftest.er1
103984   cat conftest.err >&5
103985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103986   (exit $ac_status); } &&
103987          { ac_try='test -z "$ac_cxx_werror_flag"
103988                          || test ! -s conftest.err'
103989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103990   (eval $ac_try) 2>&5
103991   ac_status=$?
103992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103993   (exit $ac_status); }; } &&
103994          { ac_try='test -s conftest.$ac_objext'
103995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103996   (eval $ac_try) 2>&5
103997   ac_status=$?
103998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103999   (exit $ac_status); }; }; then
104000   glibcxx_cv_func_log10l_use=yes
104001 else
104002   echo "$as_me: failed program was:" >&5
104003 sed 's/^/| /' conftest.$ac_ext >&5
104004
104005 glibcxx_cv_func_log10l_use=no
104006 fi
104007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104008       ac_ext=c
104009 ac_cpp='$CPP $CPPFLAGS'
104010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104013
104014
104015 fi
104016
104017   fi
104018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
104019 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
104020
104021   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
104022
104023 for ac_func in log10l
104024 do
104025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104026 echo "$as_me:$LINENO: checking for $ac_func" >&5
104027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104028 if eval "test \"\${$as_ac_var+set}\" = set"; then
104029   echo $ECHO_N "(cached) $ECHO_C" >&6
104030 else
104031   if test x$gcc_no_link = xyes; then
104032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104034    { (exit 1); exit 1; }; }
104035 fi
104036 cat >conftest.$ac_ext <<_ACEOF
104037 /* confdefs.h.  */
104038 _ACEOF
104039 cat confdefs.h >>conftest.$ac_ext
104040 cat >>conftest.$ac_ext <<_ACEOF
104041 /* end confdefs.h.  */
104042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104044 #define $ac_func innocuous_$ac_func
104045
104046 /* System header to define __stub macros and hopefully few prototypes,
104047     which can conflict with char $ac_func (); below.
104048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104049     <limits.h> exists even on freestanding compilers.  */
104050
104051 #ifdef __STDC__
104052 # include <limits.h>
104053 #else
104054 # include <assert.h>
104055 #endif
104056
104057 #undef $ac_func
104058
104059 /* Override any gcc2 internal prototype to avoid an error.  */
104060 #ifdef __cplusplus
104061 extern "C"
104062 {
104063 #endif
104064 /* We use char because int might match the return type of a gcc2
104065    builtin and then its argument prototype would still apply.  */
104066 char $ac_func ();
104067 /* The GNU C library defines this for functions which it implements
104068     to always fail with ENOSYS.  Some functions are actually named
104069     something starting with __ and the normal name is an alias.  */
104070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104071 choke me
104072 #else
104073 char (*f) () = $ac_func;
104074 #endif
104075 #ifdef __cplusplus
104076 }
104077 #endif
104078
104079 int
104080 main ()
104081 {
104082 return f != $ac_func;
104083   ;
104084   return 0;
104085 }
104086 _ACEOF
104087 rm -f conftest.$ac_objext conftest$ac_exeext
104088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104089   (eval $ac_link) 2>conftest.er1
104090   ac_status=$?
104091   grep -v '^ *+' conftest.er1 >conftest.err
104092   rm -f conftest.er1
104093   cat conftest.err >&5
104094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104095   (exit $ac_status); } &&
104096          { ac_try='test -z "$ac_c_werror_flag"
104097                          || test ! -s conftest.err'
104098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104099   (eval $ac_try) 2>&5
104100   ac_status=$?
104101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104102   (exit $ac_status); }; } &&
104103          { ac_try='test -s conftest$ac_exeext'
104104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104105   (eval $ac_try) 2>&5
104106   ac_status=$?
104107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104108   (exit $ac_status); }; }; then
104109   eval "$as_ac_var=yes"
104110 else
104111   echo "$as_me: failed program was:" >&5
104112 sed 's/^/| /' conftest.$ac_ext >&5
104113
104114 eval "$as_ac_var=no"
104115 fi
104116 rm -f conftest.err conftest.$ac_objext \
104117       conftest$ac_exeext conftest.$ac_ext
104118 fi
104119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104121 if test `eval echo '${'$as_ac_var'}'` = yes; then
104122   cat >>confdefs.h <<_ACEOF
104123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104124 _ACEOF
104125
104126 fi
104127 done
104128
104129   else
104130
104131   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
104132 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
104133   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
104134     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
104135   echo $ECHO_N "(cached) $ECHO_C" >&6
104136 else
104137
104138
104139
104140       ac_ext=cc
104141 ac_cpp='$CXXCPP $CPPFLAGS'
104142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104145
104146       cat >conftest.$ac_ext <<_ACEOF
104147 /* confdefs.h.  */
104148 _ACEOF
104149 cat confdefs.h >>conftest.$ac_ext
104150 cat >>conftest.$ac_ext <<_ACEOF
104151 /* end confdefs.h.  */
104152 #include <math.h>
104153                       #ifdef HAVE_IEEEFP_H
104154                       #include <ieeefp.h>
104155                       #endif
104156
104157 int
104158 main ()
104159 {
104160  _log10l(0);
104161   ;
104162   return 0;
104163 }
104164 _ACEOF
104165 rm -f conftest.$ac_objext
104166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104167   (eval $ac_compile) 2>conftest.er1
104168   ac_status=$?
104169   grep -v '^ *+' conftest.er1 >conftest.err
104170   rm -f conftest.er1
104171   cat conftest.err >&5
104172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104173   (exit $ac_status); } &&
104174          { ac_try='test -z "$ac_cxx_werror_flag"
104175                          || test ! -s conftest.err'
104176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104177   (eval $ac_try) 2>&5
104178   ac_status=$?
104179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104180   (exit $ac_status); }; } &&
104181          { ac_try='test -s conftest.$ac_objext'
104182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104183   (eval $ac_try) 2>&5
104184   ac_status=$?
104185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104186   (exit $ac_status); }; }; then
104187   glibcxx_cv_func__log10l_use=yes
104188 else
104189   echo "$as_me: failed program was:" >&5
104190 sed 's/^/| /' conftest.$ac_ext >&5
104191
104192 glibcxx_cv_func__log10l_use=no
104193 fi
104194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104195       ac_ext=c
104196 ac_cpp='$CPP $CPPFLAGS'
104197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104200
104201
104202 fi
104203
104204   fi
104205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
104206 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
104207
104208     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
104209
104210 for ac_func in _log10l
104211 do
104212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104213 echo "$as_me:$LINENO: checking for $ac_func" >&5
104214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104215 if eval "test \"\${$as_ac_var+set}\" = set"; then
104216   echo $ECHO_N "(cached) $ECHO_C" >&6
104217 else
104218   if test x$gcc_no_link = xyes; then
104219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104221    { (exit 1); exit 1; }; }
104222 fi
104223 cat >conftest.$ac_ext <<_ACEOF
104224 /* confdefs.h.  */
104225 _ACEOF
104226 cat confdefs.h >>conftest.$ac_ext
104227 cat >>conftest.$ac_ext <<_ACEOF
104228 /* end confdefs.h.  */
104229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104231 #define $ac_func innocuous_$ac_func
104232
104233 /* System header to define __stub macros and hopefully few prototypes,
104234     which can conflict with char $ac_func (); below.
104235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104236     <limits.h> exists even on freestanding compilers.  */
104237
104238 #ifdef __STDC__
104239 # include <limits.h>
104240 #else
104241 # include <assert.h>
104242 #endif
104243
104244 #undef $ac_func
104245
104246 /* Override any gcc2 internal prototype to avoid an error.  */
104247 #ifdef __cplusplus
104248 extern "C"
104249 {
104250 #endif
104251 /* We use char because int might match the return type of a gcc2
104252    builtin and then its argument prototype would still apply.  */
104253 char $ac_func ();
104254 /* The GNU C library defines this for functions which it implements
104255     to always fail with ENOSYS.  Some functions are actually named
104256     something starting with __ and the normal name is an alias.  */
104257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104258 choke me
104259 #else
104260 char (*f) () = $ac_func;
104261 #endif
104262 #ifdef __cplusplus
104263 }
104264 #endif
104265
104266 int
104267 main ()
104268 {
104269 return f != $ac_func;
104270   ;
104271   return 0;
104272 }
104273 _ACEOF
104274 rm -f conftest.$ac_objext conftest$ac_exeext
104275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104276   (eval $ac_link) 2>conftest.er1
104277   ac_status=$?
104278   grep -v '^ *+' conftest.er1 >conftest.err
104279   rm -f conftest.er1
104280   cat conftest.err >&5
104281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104282   (exit $ac_status); } &&
104283          { ac_try='test -z "$ac_c_werror_flag"
104284                          || test ! -s conftest.err'
104285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104286   (eval $ac_try) 2>&5
104287   ac_status=$?
104288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104289   (exit $ac_status); }; } &&
104290          { ac_try='test -s conftest$ac_exeext'
104291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104292   (eval $ac_try) 2>&5
104293   ac_status=$?
104294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104295   (exit $ac_status); }; }; then
104296   eval "$as_ac_var=yes"
104297 else
104298   echo "$as_me: failed program was:" >&5
104299 sed 's/^/| /' conftest.$ac_ext >&5
104300
104301 eval "$as_ac_var=no"
104302 fi
104303 rm -f conftest.err conftest.$ac_objext \
104304       conftest$ac_exeext conftest.$ac_ext
104305 fi
104306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104308 if test `eval echo '${'$as_ac_var'}'` = yes; then
104309   cat >>confdefs.h <<_ACEOF
104310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104311 _ACEOF
104312
104313 fi
104314 done
104315
104316     fi
104317   fi
104318
104319
104320
104321
104322
104323
104324   echo "$as_me:$LINENO: checking for modfl declaration" >&5
104325 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
104326   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
104327     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
104328   echo $ECHO_N "(cached) $ECHO_C" >&6
104329 else
104330
104331
104332
104333       ac_ext=cc
104334 ac_cpp='$CXXCPP $CPPFLAGS'
104335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104338
104339       cat >conftest.$ac_ext <<_ACEOF
104340 /* confdefs.h.  */
104341 _ACEOF
104342 cat confdefs.h >>conftest.$ac_ext
104343 cat >>conftest.$ac_ext <<_ACEOF
104344 /* end confdefs.h.  */
104345 #include <math.h>
104346 int
104347 main ()
104348 {
104349  modfl(0, 0);
104350   ;
104351   return 0;
104352 }
104353 _ACEOF
104354 rm -f conftest.$ac_objext
104355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104356   (eval $ac_compile) 2>conftest.er1
104357   ac_status=$?
104358   grep -v '^ *+' conftest.er1 >conftest.err
104359   rm -f conftest.er1
104360   cat conftest.err >&5
104361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104362   (exit $ac_status); } &&
104363          { ac_try='test -z "$ac_cxx_werror_flag"
104364                          || test ! -s conftest.err'
104365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104366   (eval $ac_try) 2>&5
104367   ac_status=$?
104368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104369   (exit $ac_status); }; } &&
104370          { ac_try='test -s conftest.$ac_objext'
104371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104372   (eval $ac_try) 2>&5
104373   ac_status=$?
104374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104375   (exit $ac_status); }; }; then
104376   glibcxx_cv_func_modfl_use=yes
104377 else
104378   echo "$as_me: failed program was:" >&5
104379 sed 's/^/| /' conftest.$ac_ext >&5
104380
104381 glibcxx_cv_func_modfl_use=no
104382 fi
104383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104384       ac_ext=c
104385 ac_cpp='$CPP $CPPFLAGS'
104386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104389
104390
104391 fi
104392
104393   fi
104394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
104395 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
104396
104397   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
104398
104399 for ac_func in modfl
104400 do
104401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104402 echo "$as_me:$LINENO: checking for $ac_func" >&5
104403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104404 if eval "test \"\${$as_ac_var+set}\" = set"; then
104405   echo $ECHO_N "(cached) $ECHO_C" >&6
104406 else
104407   if test x$gcc_no_link = xyes; then
104408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104410    { (exit 1); exit 1; }; }
104411 fi
104412 cat >conftest.$ac_ext <<_ACEOF
104413 /* confdefs.h.  */
104414 _ACEOF
104415 cat confdefs.h >>conftest.$ac_ext
104416 cat >>conftest.$ac_ext <<_ACEOF
104417 /* end confdefs.h.  */
104418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104420 #define $ac_func innocuous_$ac_func
104421
104422 /* System header to define __stub macros and hopefully few prototypes,
104423     which can conflict with char $ac_func (); below.
104424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104425     <limits.h> exists even on freestanding compilers.  */
104426
104427 #ifdef __STDC__
104428 # include <limits.h>
104429 #else
104430 # include <assert.h>
104431 #endif
104432
104433 #undef $ac_func
104434
104435 /* Override any gcc2 internal prototype to avoid an error.  */
104436 #ifdef __cplusplus
104437 extern "C"
104438 {
104439 #endif
104440 /* We use char because int might match the return type of a gcc2
104441    builtin and then its argument prototype would still apply.  */
104442 char $ac_func ();
104443 /* The GNU C library defines this for functions which it implements
104444     to always fail with ENOSYS.  Some functions are actually named
104445     something starting with __ and the normal name is an alias.  */
104446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104447 choke me
104448 #else
104449 char (*f) () = $ac_func;
104450 #endif
104451 #ifdef __cplusplus
104452 }
104453 #endif
104454
104455 int
104456 main ()
104457 {
104458 return f != $ac_func;
104459   ;
104460   return 0;
104461 }
104462 _ACEOF
104463 rm -f conftest.$ac_objext conftest$ac_exeext
104464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104465   (eval $ac_link) 2>conftest.er1
104466   ac_status=$?
104467   grep -v '^ *+' conftest.er1 >conftest.err
104468   rm -f conftest.er1
104469   cat conftest.err >&5
104470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104471   (exit $ac_status); } &&
104472          { ac_try='test -z "$ac_c_werror_flag"
104473                          || test ! -s conftest.err'
104474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104475   (eval $ac_try) 2>&5
104476   ac_status=$?
104477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104478   (exit $ac_status); }; } &&
104479          { ac_try='test -s conftest$ac_exeext'
104480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104481   (eval $ac_try) 2>&5
104482   ac_status=$?
104483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104484   (exit $ac_status); }; }; then
104485   eval "$as_ac_var=yes"
104486 else
104487   echo "$as_me: failed program was:" >&5
104488 sed 's/^/| /' conftest.$ac_ext >&5
104489
104490 eval "$as_ac_var=no"
104491 fi
104492 rm -f conftest.err conftest.$ac_objext \
104493       conftest$ac_exeext conftest.$ac_ext
104494 fi
104495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104497 if test `eval echo '${'$as_ac_var'}'` = yes; then
104498   cat >>confdefs.h <<_ACEOF
104499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104500 _ACEOF
104501
104502 fi
104503 done
104504
104505   else
104506
104507   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
104508 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
104509   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
104510     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
104511   echo $ECHO_N "(cached) $ECHO_C" >&6
104512 else
104513
104514
104515
104516       ac_ext=cc
104517 ac_cpp='$CXXCPP $CPPFLAGS'
104518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104521
104522       cat >conftest.$ac_ext <<_ACEOF
104523 /* confdefs.h.  */
104524 _ACEOF
104525 cat confdefs.h >>conftest.$ac_ext
104526 cat >>conftest.$ac_ext <<_ACEOF
104527 /* end confdefs.h.  */
104528 #include <math.h>
104529 int
104530 main ()
104531 {
104532  _modfl(0, 0);
104533   ;
104534   return 0;
104535 }
104536 _ACEOF
104537 rm -f conftest.$ac_objext
104538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104539   (eval $ac_compile) 2>conftest.er1
104540   ac_status=$?
104541   grep -v '^ *+' conftest.er1 >conftest.err
104542   rm -f conftest.er1
104543   cat conftest.err >&5
104544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104545   (exit $ac_status); } &&
104546          { ac_try='test -z "$ac_cxx_werror_flag"
104547                          || test ! -s conftest.err'
104548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549   (eval $ac_try) 2>&5
104550   ac_status=$?
104551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552   (exit $ac_status); }; } &&
104553          { ac_try='test -s conftest.$ac_objext'
104554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555   (eval $ac_try) 2>&5
104556   ac_status=$?
104557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558   (exit $ac_status); }; }; then
104559   glibcxx_cv_func__modfl_use=yes
104560 else
104561   echo "$as_me: failed program was:" >&5
104562 sed 's/^/| /' conftest.$ac_ext >&5
104563
104564 glibcxx_cv_func__modfl_use=no
104565 fi
104566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104567       ac_ext=c
104568 ac_cpp='$CPP $CPPFLAGS'
104569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104572
104573
104574 fi
104575
104576   fi
104577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
104578 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
104579
104580     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
104581
104582 for ac_func in _modfl
104583 do
104584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104585 echo "$as_me:$LINENO: checking for $ac_func" >&5
104586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104587 if eval "test \"\${$as_ac_var+set}\" = set"; then
104588   echo $ECHO_N "(cached) $ECHO_C" >&6
104589 else
104590   if test x$gcc_no_link = xyes; then
104591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104593    { (exit 1); exit 1; }; }
104594 fi
104595 cat >conftest.$ac_ext <<_ACEOF
104596 /* confdefs.h.  */
104597 _ACEOF
104598 cat confdefs.h >>conftest.$ac_ext
104599 cat >>conftest.$ac_ext <<_ACEOF
104600 /* end confdefs.h.  */
104601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104603 #define $ac_func innocuous_$ac_func
104604
104605 /* System header to define __stub macros and hopefully few prototypes,
104606     which can conflict with char $ac_func (); below.
104607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104608     <limits.h> exists even on freestanding compilers.  */
104609
104610 #ifdef __STDC__
104611 # include <limits.h>
104612 #else
104613 # include <assert.h>
104614 #endif
104615
104616 #undef $ac_func
104617
104618 /* Override any gcc2 internal prototype to avoid an error.  */
104619 #ifdef __cplusplus
104620 extern "C"
104621 {
104622 #endif
104623 /* We use char because int might match the return type of a gcc2
104624    builtin and then its argument prototype would still apply.  */
104625 char $ac_func ();
104626 /* The GNU C library defines this for functions which it implements
104627     to always fail with ENOSYS.  Some functions are actually named
104628     something starting with __ and the normal name is an alias.  */
104629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104630 choke me
104631 #else
104632 char (*f) () = $ac_func;
104633 #endif
104634 #ifdef __cplusplus
104635 }
104636 #endif
104637
104638 int
104639 main ()
104640 {
104641 return f != $ac_func;
104642   ;
104643   return 0;
104644 }
104645 _ACEOF
104646 rm -f conftest.$ac_objext conftest$ac_exeext
104647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104648   (eval $ac_link) 2>conftest.er1
104649   ac_status=$?
104650   grep -v '^ *+' conftest.er1 >conftest.err
104651   rm -f conftest.er1
104652   cat conftest.err >&5
104653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104654   (exit $ac_status); } &&
104655          { ac_try='test -z "$ac_c_werror_flag"
104656                          || test ! -s conftest.err'
104657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104658   (eval $ac_try) 2>&5
104659   ac_status=$?
104660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104661   (exit $ac_status); }; } &&
104662          { ac_try='test -s conftest$ac_exeext'
104663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104664   (eval $ac_try) 2>&5
104665   ac_status=$?
104666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104667   (exit $ac_status); }; }; then
104668   eval "$as_ac_var=yes"
104669 else
104670   echo "$as_me: failed program was:" >&5
104671 sed 's/^/| /' conftest.$ac_ext >&5
104672
104673 eval "$as_ac_var=no"
104674 fi
104675 rm -f conftest.err conftest.$ac_objext \
104676       conftest$ac_exeext conftest.$ac_ext
104677 fi
104678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104680 if test `eval echo '${'$as_ac_var'}'` = yes; then
104681   cat >>confdefs.h <<_ACEOF
104682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104683 _ACEOF
104684
104685 fi
104686 done
104687
104688     fi
104689   fi
104690
104691
104692
104693
104694
104695
104696   echo "$as_me:$LINENO: checking for powl declaration" >&5
104697 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
104698   if test x${glibcxx_cv_func_powl_use+set} != xset; then
104699     if test "${glibcxx_cv_func_powl_use+set}" = set; then
104700   echo $ECHO_N "(cached) $ECHO_C" >&6
104701 else
104702
104703
104704
104705       ac_ext=cc
104706 ac_cpp='$CXXCPP $CPPFLAGS'
104707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104710
104711       cat >conftest.$ac_ext <<_ACEOF
104712 /* confdefs.h.  */
104713 _ACEOF
104714 cat confdefs.h >>conftest.$ac_ext
104715 cat >>conftest.$ac_ext <<_ACEOF
104716 /* end confdefs.h.  */
104717 #include <math.h>
104718 int
104719 main ()
104720 {
104721  powl(0, 0);
104722   ;
104723   return 0;
104724 }
104725 _ACEOF
104726 rm -f conftest.$ac_objext
104727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104728   (eval $ac_compile) 2>conftest.er1
104729   ac_status=$?
104730   grep -v '^ *+' conftest.er1 >conftest.err
104731   rm -f conftest.er1
104732   cat conftest.err >&5
104733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104734   (exit $ac_status); } &&
104735          { ac_try='test -z "$ac_cxx_werror_flag"
104736                          || test ! -s conftest.err'
104737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104738   (eval $ac_try) 2>&5
104739   ac_status=$?
104740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104741   (exit $ac_status); }; } &&
104742          { ac_try='test -s conftest.$ac_objext'
104743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104744   (eval $ac_try) 2>&5
104745   ac_status=$?
104746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104747   (exit $ac_status); }; }; then
104748   glibcxx_cv_func_powl_use=yes
104749 else
104750   echo "$as_me: failed program was:" >&5
104751 sed 's/^/| /' conftest.$ac_ext >&5
104752
104753 glibcxx_cv_func_powl_use=no
104754 fi
104755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104756       ac_ext=c
104757 ac_cpp='$CPP $CPPFLAGS'
104758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104761
104762
104763 fi
104764
104765   fi
104766   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
104767 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
104768
104769   if test x$glibcxx_cv_func_powl_use = x"yes"; then
104770
104771 for ac_func in powl
104772 do
104773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104774 echo "$as_me:$LINENO: checking for $ac_func" >&5
104775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104776 if eval "test \"\${$as_ac_var+set}\" = set"; then
104777   echo $ECHO_N "(cached) $ECHO_C" >&6
104778 else
104779   if test x$gcc_no_link = xyes; then
104780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104782    { (exit 1); exit 1; }; }
104783 fi
104784 cat >conftest.$ac_ext <<_ACEOF
104785 /* confdefs.h.  */
104786 _ACEOF
104787 cat confdefs.h >>conftest.$ac_ext
104788 cat >>conftest.$ac_ext <<_ACEOF
104789 /* end confdefs.h.  */
104790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104792 #define $ac_func innocuous_$ac_func
104793
104794 /* System header to define __stub macros and hopefully few prototypes,
104795     which can conflict with char $ac_func (); below.
104796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104797     <limits.h> exists even on freestanding compilers.  */
104798
104799 #ifdef __STDC__
104800 # include <limits.h>
104801 #else
104802 # include <assert.h>
104803 #endif
104804
104805 #undef $ac_func
104806
104807 /* Override any gcc2 internal prototype to avoid an error.  */
104808 #ifdef __cplusplus
104809 extern "C"
104810 {
104811 #endif
104812 /* We use char because int might match the return type of a gcc2
104813    builtin and then its argument prototype would still apply.  */
104814 char $ac_func ();
104815 /* The GNU C library defines this for functions which it implements
104816     to always fail with ENOSYS.  Some functions are actually named
104817     something starting with __ and the normal name is an alias.  */
104818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104819 choke me
104820 #else
104821 char (*f) () = $ac_func;
104822 #endif
104823 #ifdef __cplusplus
104824 }
104825 #endif
104826
104827 int
104828 main ()
104829 {
104830 return f != $ac_func;
104831   ;
104832   return 0;
104833 }
104834 _ACEOF
104835 rm -f conftest.$ac_objext conftest$ac_exeext
104836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104837   (eval $ac_link) 2>conftest.er1
104838   ac_status=$?
104839   grep -v '^ *+' conftest.er1 >conftest.err
104840   rm -f conftest.er1
104841   cat conftest.err >&5
104842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104843   (exit $ac_status); } &&
104844          { ac_try='test -z "$ac_c_werror_flag"
104845                          || test ! -s conftest.err'
104846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104847   (eval $ac_try) 2>&5
104848   ac_status=$?
104849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104850   (exit $ac_status); }; } &&
104851          { ac_try='test -s conftest$ac_exeext'
104852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104853   (eval $ac_try) 2>&5
104854   ac_status=$?
104855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104856   (exit $ac_status); }; }; then
104857   eval "$as_ac_var=yes"
104858 else
104859   echo "$as_me: failed program was:" >&5
104860 sed 's/^/| /' conftest.$ac_ext >&5
104861
104862 eval "$as_ac_var=no"
104863 fi
104864 rm -f conftest.err conftest.$ac_objext \
104865       conftest$ac_exeext conftest.$ac_ext
104866 fi
104867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104869 if test `eval echo '${'$as_ac_var'}'` = yes; then
104870   cat >>confdefs.h <<_ACEOF
104871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104872 _ACEOF
104873
104874 fi
104875 done
104876
104877   else
104878
104879   echo "$as_me:$LINENO: checking for _powl declaration" >&5
104880 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
104881   if test x${glibcxx_cv_func__powl_use+set} != xset; then
104882     if test "${glibcxx_cv_func__powl_use+set}" = set; then
104883   echo $ECHO_N "(cached) $ECHO_C" >&6
104884 else
104885
104886
104887
104888       ac_ext=cc
104889 ac_cpp='$CXXCPP $CPPFLAGS'
104890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104893
104894       cat >conftest.$ac_ext <<_ACEOF
104895 /* confdefs.h.  */
104896 _ACEOF
104897 cat confdefs.h >>conftest.$ac_ext
104898 cat >>conftest.$ac_ext <<_ACEOF
104899 /* end confdefs.h.  */
104900 #include <math.h>
104901 int
104902 main ()
104903 {
104904  _powl(0, 0);
104905   ;
104906   return 0;
104907 }
104908 _ACEOF
104909 rm -f conftest.$ac_objext
104910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104911   (eval $ac_compile) 2>conftest.er1
104912   ac_status=$?
104913   grep -v '^ *+' conftest.er1 >conftest.err
104914   rm -f conftest.er1
104915   cat conftest.err >&5
104916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104917   (exit $ac_status); } &&
104918          { ac_try='test -z "$ac_cxx_werror_flag"
104919                          || test ! -s conftest.err'
104920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104921   (eval $ac_try) 2>&5
104922   ac_status=$?
104923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104924   (exit $ac_status); }; } &&
104925          { ac_try='test -s conftest.$ac_objext'
104926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104927   (eval $ac_try) 2>&5
104928   ac_status=$?
104929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104930   (exit $ac_status); }; }; then
104931   glibcxx_cv_func__powl_use=yes
104932 else
104933   echo "$as_me: failed program was:" >&5
104934 sed 's/^/| /' conftest.$ac_ext >&5
104935
104936 glibcxx_cv_func__powl_use=no
104937 fi
104938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104939       ac_ext=c
104940 ac_cpp='$CPP $CPPFLAGS'
104941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104944
104945
104946 fi
104947
104948   fi
104949   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104950 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104951
104952     if test x$glibcxx_cv_func__powl_use = x"yes"; then
104953
104954 for ac_func in _powl
104955 do
104956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104957 echo "$as_me:$LINENO: checking for $ac_func" >&5
104958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104959 if eval "test \"\${$as_ac_var+set}\" = set"; then
104960   echo $ECHO_N "(cached) $ECHO_C" >&6
104961 else
104962   if test x$gcc_no_link = xyes; then
104963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104965    { (exit 1); exit 1; }; }
104966 fi
104967 cat >conftest.$ac_ext <<_ACEOF
104968 /* confdefs.h.  */
104969 _ACEOF
104970 cat confdefs.h >>conftest.$ac_ext
104971 cat >>conftest.$ac_ext <<_ACEOF
104972 /* end confdefs.h.  */
104973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104975 #define $ac_func innocuous_$ac_func
104976
104977 /* System header to define __stub macros and hopefully few prototypes,
104978     which can conflict with char $ac_func (); below.
104979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104980     <limits.h> exists even on freestanding compilers.  */
104981
104982 #ifdef __STDC__
104983 # include <limits.h>
104984 #else
104985 # include <assert.h>
104986 #endif
104987
104988 #undef $ac_func
104989
104990 /* Override any gcc2 internal prototype to avoid an error.  */
104991 #ifdef __cplusplus
104992 extern "C"
104993 {
104994 #endif
104995 /* We use char because int might match the return type of a gcc2
104996    builtin and then its argument prototype would still apply.  */
104997 char $ac_func ();
104998 /* The GNU C library defines this for functions which it implements
104999     to always fail with ENOSYS.  Some functions are actually named
105000     something starting with __ and the normal name is an alias.  */
105001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105002 choke me
105003 #else
105004 char (*f) () = $ac_func;
105005 #endif
105006 #ifdef __cplusplus
105007 }
105008 #endif
105009
105010 int
105011 main ()
105012 {
105013 return f != $ac_func;
105014   ;
105015   return 0;
105016 }
105017 _ACEOF
105018 rm -f conftest.$ac_objext conftest$ac_exeext
105019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105020   (eval $ac_link) 2>conftest.er1
105021   ac_status=$?
105022   grep -v '^ *+' conftest.er1 >conftest.err
105023   rm -f conftest.er1
105024   cat conftest.err >&5
105025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105026   (exit $ac_status); } &&
105027          { ac_try='test -z "$ac_c_werror_flag"
105028                          || test ! -s conftest.err'
105029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105030   (eval $ac_try) 2>&5
105031   ac_status=$?
105032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105033   (exit $ac_status); }; } &&
105034          { ac_try='test -s conftest$ac_exeext'
105035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105036   (eval $ac_try) 2>&5
105037   ac_status=$?
105038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105039   (exit $ac_status); }; }; then
105040   eval "$as_ac_var=yes"
105041 else
105042   echo "$as_me: failed program was:" >&5
105043 sed 's/^/| /' conftest.$ac_ext >&5
105044
105045 eval "$as_ac_var=no"
105046 fi
105047 rm -f conftest.err conftest.$ac_objext \
105048       conftest$ac_exeext conftest.$ac_ext
105049 fi
105050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105052 if test `eval echo '${'$as_ac_var'}'` = yes; then
105053   cat >>confdefs.h <<_ACEOF
105054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105055 _ACEOF
105056
105057 fi
105058 done
105059
105060     fi
105061   fi
105062
105063
105064
105065
105066
105067
105068   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
105069 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
105070   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
105071     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
105072   echo $ECHO_N "(cached) $ECHO_C" >&6
105073 else
105074
105075
105076
105077       ac_ext=cc
105078 ac_cpp='$CXXCPP $CPPFLAGS'
105079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105082
105083       cat >conftest.$ac_ext <<_ACEOF
105084 /* confdefs.h.  */
105085 _ACEOF
105086 cat confdefs.h >>conftest.$ac_ext
105087 cat >>conftest.$ac_ext <<_ACEOF
105088 /* end confdefs.h.  */
105089 #include <math.h>
105090                       #ifdef HAVE_IEEEFP_H
105091                       #include <ieeefp.h>
105092                       #endif
105093
105094 int
105095 main ()
105096 {
105097  sqrtl(0);
105098   ;
105099   return 0;
105100 }
105101 _ACEOF
105102 rm -f conftest.$ac_objext
105103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105104   (eval $ac_compile) 2>conftest.er1
105105   ac_status=$?
105106   grep -v '^ *+' conftest.er1 >conftest.err
105107   rm -f conftest.er1
105108   cat conftest.err >&5
105109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105110   (exit $ac_status); } &&
105111          { ac_try='test -z "$ac_cxx_werror_flag"
105112                          || test ! -s conftest.err'
105113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105114   (eval $ac_try) 2>&5
105115   ac_status=$?
105116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105117   (exit $ac_status); }; } &&
105118          { ac_try='test -s conftest.$ac_objext'
105119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105120   (eval $ac_try) 2>&5
105121   ac_status=$?
105122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105123   (exit $ac_status); }; }; then
105124   glibcxx_cv_func_sqrtl_use=yes
105125 else
105126   echo "$as_me: failed program was:" >&5
105127 sed 's/^/| /' conftest.$ac_ext >&5
105128
105129 glibcxx_cv_func_sqrtl_use=no
105130 fi
105131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105132       ac_ext=c
105133 ac_cpp='$CPP $CPPFLAGS'
105134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105137
105138
105139 fi
105140
105141   fi
105142   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
105143 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
105144
105145   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
105146
105147 for ac_func in sqrtl
105148 do
105149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105150 echo "$as_me:$LINENO: checking for $ac_func" >&5
105151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105152 if eval "test \"\${$as_ac_var+set}\" = set"; then
105153   echo $ECHO_N "(cached) $ECHO_C" >&6
105154 else
105155   if test x$gcc_no_link = xyes; then
105156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105158    { (exit 1); exit 1; }; }
105159 fi
105160 cat >conftest.$ac_ext <<_ACEOF
105161 /* confdefs.h.  */
105162 _ACEOF
105163 cat confdefs.h >>conftest.$ac_ext
105164 cat >>conftest.$ac_ext <<_ACEOF
105165 /* end confdefs.h.  */
105166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105168 #define $ac_func innocuous_$ac_func
105169
105170 /* System header to define __stub macros and hopefully few prototypes,
105171     which can conflict with char $ac_func (); below.
105172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105173     <limits.h> exists even on freestanding compilers.  */
105174
105175 #ifdef __STDC__
105176 # include <limits.h>
105177 #else
105178 # include <assert.h>
105179 #endif
105180
105181 #undef $ac_func
105182
105183 /* Override any gcc2 internal prototype to avoid an error.  */
105184 #ifdef __cplusplus
105185 extern "C"
105186 {
105187 #endif
105188 /* We use char because int might match the return type of a gcc2
105189    builtin and then its argument prototype would still apply.  */
105190 char $ac_func ();
105191 /* The GNU C library defines this for functions which it implements
105192     to always fail with ENOSYS.  Some functions are actually named
105193     something starting with __ and the normal name is an alias.  */
105194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105195 choke me
105196 #else
105197 char (*f) () = $ac_func;
105198 #endif
105199 #ifdef __cplusplus
105200 }
105201 #endif
105202
105203 int
105204 main ()
105205 {
105206 return f != $ac_func;
105207   ;
105208   return 0;
105209 }
105210 _ACEOF
105211 rm -f conftest.$ac_objext conftest$ac_exeext
105212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105213   (eval $ac_link) 2>conftest.er1
105214   ac_status=$?
105215   grep -v '^ *+' conftest.er1 >conftest.err
105216   rm -f conftest.er1
105217   cat conftest.err >&5
105218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105219   (exit $ac_status); } &&
105220          { ac_try='test -z "$ac_c_werror_flag"
105221                          || test ! -s conftest.err'
105222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105223   (eval $ac_try) 2>&5
105224   ac_status=$?
105225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105226   (exit $ac_status); }; } &&
105227          { ac_try='test -s conftest$ac_exeext'
105228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105229   (eval $ac_try) 2>&5
105230   ac_status=$?
105231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105232   (exit $ac_status); }; }; then
105233   eval "$as_ac_var=yes"
105234 else
105235   echo "$as_me: failed program was:" >&5
105236 sed 's/^/| /' conftest.$ac_ext >&5
105237
105238 eval "$as_ac_var=no"
105239 fi
105240 rm -f conftest.err conftest.$ac_objext \
105241       conftest$ac_exeext conftest.$ac_ext
105242 fi
105243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105245 if test `eval echo '${'$as_ac_var'}'` = yes; then
105246   cat >>confdefs.h <<_ACEOF
105247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105248 _ACEOF
105249
105250 fi
105251 done
105252
105253   else
105254
105255   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
105256 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
105257   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
105258     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
105259   echo $ECHO_N "(cached) $ECHO_C" >&6
105260 else
105261
105262
105263
105264       ac_ext=cc
105265 ac_cpp='$CXXCPP $CPPFLAGS'
105266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105269
105270       cat >conftest.$ac_ext <<_ACEOF
105271 /* confdefs.h.  */
105272 _ACEOF
105273 cat confdefs.h >>conftest.$ac_ext
105274 cat >>conftest.$ac_ext <<_ACEOF
105275 /* end confdefs.h.  */
105276 #include <math.h>
105277                       #ifdef HAVE_IEEEFP_H
105278                       #include <ieeefp.h>
105279                       #endif
105280
105281 int
105282 main ()
105283 {
105284  _sqrtl(0);
105285   ;
105286   return 0;
105287 }
105288 _ACEOF
105289 rm -f conftest.$ac_objext
105290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105291   (eval $ac_compile) 2>conftest.er1
105292   ac_status=$?
105293   grep -v '^ *+' conftest.er1 >conftest.err
105294   rm -f conftest.er1
105295   cat conftest.err >&5
105296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105297   (exit $ac_status); } &&
105298          { ac_try='test -z "$ac_cxx_werror_flag"
105299                          || test ! -s conftest.err'
105300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105301   (eval $ac_try) 2>&5
105302   ac_status=$?
105303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105304   (exit $ac_status); }; } &&
105305          { ac_try='test -s conftest.$ac_objext'
105306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105307   (eval $ac_try) 2>&5
105308   ac_status=$?
105309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105310   (exit $ac_status); }; }; then
105311   glibcxx_cv_func__sqrtl_use=yes
105312 else
105313   echo "$as_me: failed program was:" >&5
105314 sed 's/^/| /' conftest.$ac_ext >&5
105315
105316 glibcxx_cv_func__sqrtl_use=no
105317 fi
105318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105319       ac_ext=c
105320 ac_cpp='$CPP $CPPFLAGS'
105321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105324
105325
105326 fi
105327
105328   fi
105329   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
105330 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
105331
105332     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
105333
105334 for ac_func in _sqrtl
105335 do
105336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105337 echo "$as_me:$LINENO: checking for $ac_func" >&5
105338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105339 if eval "test \"\${$as_ac_var+set}\" = set"; then
105340   echo $ECHO_N "(cached) $ECHO_C" >&6
105341 else
105342   if test x$gcc_no_link = xyes; then
105343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105345    { (exit 1); exit 1; }; }
105346 fi
105347 cat >conftest.$ac_ext <<_ACEOF
105348 /* confdefs.h.  */
105349 _ACEOF
105350 cat confdefs.h >>conftest.$ac_ext
105351 cat >>conftest.$ac_ext <<_ACEOF
105352 /* end confdefs.h.  */
105353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105355 #define $ac_func innocuous_$ac_func
105356
105357 /* System header to define __stub macros and hopefully few prototypes,
105358     which can conflict with char $ac_func (); below.
105359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105360     <limits.h> exists even on freestanding compilers.  */
105361
105362 #ifdef __STDC__
105363 # include <limits.h>
105364 #else
105365 # include <assert.h>
105366 #endif
105367
105368 #undef $ac_func
105369
105370 /* Override any gcc2 internal prototype to avoid an error.  */
105371 #ifdef __cplusplus
105372 extern "C"
105373 {
105374 #endif
105375 /* We use char because int might match the return type of a gcc2
105376    builtin and then its argument prototype would still apply.  */
105377 char $ac_func ();
105378 /* The GNU C library defines this for functions which it implements
105379     to always fail with ENOSYS.  Some functions are actually named
105380     something starting with __ and the normal name is an alias.  */
105381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105382 choke me
105383 #else
105384 char (*f) () = $ac_func;
105385 #endif
105386 #ifdef __cplusplus
105387 }
105388 #endif
105389
105390 int
105391 main ()
105392 {
105393 return f != $ac_func;
105394   ;
105395   return 0;
105396 }
105397 _ACEOF
105398 rm -f conftest.$ac_objext conftest$ac_exeext
105399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105400   (eval $ac_link) 2>conftest.er1
105401   ac_status=$?
105402   grep -v '^ *+' conftest.er1 >conftest.err
105403   rm -f conftest.er1
105404   cat conftest.err >&5
105405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105406   (exit $ac_status); } &&
105407          { ac_try='test -z "$ac_c_werror_flag"
105408                          || test ! -s conftest.err'
105409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105410   (eval $ac_try) 2>&5
105411   ac_status=$?
105412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105413   (exit $ac_status); }; } &&
105414          { ac_try='test -s conftest$ac_exeext'
105415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105416   (eval $ac_try) 2>&5
105417   ac_status=$?
105418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105419   (exit $ac_status); }; }; then
105420   eval "$as_ac_var=yes"
105421 else
105422   echo "$as_me: failed program was:" >&5
105423 sed 's/^/| /' conftest.$ac_ext >&5
105424
105425 eval "$as_ac_var=no"
105426 fi
105427 rm -f conftest.err conftest.$ac_objext \
105428       conftest$ac_exeext conftest.$ac_ext
105429 fi
105430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105432 if test `eval echo '${'$as_ac_var'}'` = yes; then
105433   cat >>confdefs.h <<_ACEOF
105434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105435 _ACEOF
105436
105437 fi
105438 done
105439
105440     fi
105441   fi
105442
105443
105444
105445
105446
105447
105448   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
105449 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
105450   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
105451     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
105452   echo $ECHO_N "(cached) $ECHO_C" >&6
105453 else
105454
105455
105456
105457       ac_ext=cc
105458 ac_cpp='$CXXCPP $CPPFLAGS'
105459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105462
105463       cat >conftest.$ac_ext <<_ACEOF
105464 /* confdefs.h.  */
105465 _ACEOF
105466 cat confdefs.h >>conftest.$ac_ext
105467 cat >>conftest.$ac_ext <<_ACEOF
105468 /* end confdefs.h.  */
105469 #include <math.h>
105470 int
105471 main ()
105472 {
105473  sincosl(0, 0, 0);
105474   ;
105475   return 0;
105476 }
105477 _ACEOF
105478 rm -f conftest.$ac_objext
105479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105480   (eval $ac_compile) 2>conftest.er1
105481   ac_status=$?
105482   grep -v '^ *+' conftest.er1 >conftest.err
105483   rm -f conftest.er1
105484   cat conftest.err >&5
105485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105486   (exit $ac_status); } &&
105487          { ac_try='test -z "$ac_cxx_werror_flag"
105488                          || test ! -s conftest.err'
105489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105490   (eval $ac_try) 2>&5
105491   ac_status=$?
105492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105493   (exit $ac_status); }; } &&
105494          { ac_try='test -s conftest.$ac_objext'
105495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105496   (eval $ac_try) 2>&5
105497   ac_status=$?
105498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499   (exit $ac_status); }; }; then
105500   glibcxx_cv_func_sincosl_use=yes
105501 else
105502   echo "$as_me: failed program was:" >&5
105503 sed 's/^/| /' conftest.$ac_ext >&5
105504
105505 glibcxx_cv_func_sincosl_use=no
105506 fi
105507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105508       ac_ext=c
105509 ac_cpp='$CPP $CPPFLAGS'
105510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105513
105514
105515 fi
105516
105517   fi
105518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
105519 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
105520
105521   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
105522
105523 for ac_func in sincosl
105524 do
105525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105526 echo "$as_me:$LINENO: checking for $ac_func" >&5
105527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105528 if eval "test \"\${$as_ac_var+set}\" = set"; then
105529   echo $ECHO_N "(cached) $ECHO_C" >&6
105530 else
105531   if test x$gcc_no_link = xyes; then
105532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105534    { (exit 1); exit 1; }; }
105535 fi
105536 cat >conftest.$ac_ext <<_ACEOF
105537 /* confdefs.h.  */
105538 _ACEOF
105539 cat confdefs.h >>conftest.$ac_ext
105540 cat >>conftest.$ac_ext <<_ACEOF
105541 /* end confdefs.h.  */
105542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105544 #define $ac_func innocuous_$ac_func
105545
105546 /* System header to define __stub macros and hopefully few prototypes,
105547     which can conflict with char $ac_func (); below.
105548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105549     <limits.h> exists even on freestanding compilers.  */
105550
105551 #ifdef __STDC__
105552 # include <limits.h>
105553 #else
105554 # include <assert.h>
105555 #endif
105556
105557 #undef $ac_func
105558
105559 /* Override any gcc2 internal prototype to avoid an error.  */
105560 #ifdef __cplusplus
105561 extern "C"
105562 {
105563 #endif
105564 /* We use char because int might match the return type of a gcc2
105565    builtin and then its argument prototype would still apply.  */
105566 char $ac_func ();
105567 /* The GNU C library defines this for functions which it implements
105568     to always fail with ENOSYS.  Some functions are actually named
105569     something starting with __ and the normal name is an alias.  */
105570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105571 choke me
105572 #else
105573 char (*f) () = $ac_func;
105574 #endif
105575 #ifdef __cplusplus
105576 }
105577 #endif
105578
105579 int
105580 main ()
105581 {
105582 return f != $ac_func;
105583   ;
105584   return 0;
105585 }
105586 _ACEOF
105587 rm -f conftest.$ac_objext conftest$ac_exeext
105588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105589   (eval $ac_link) 2>conftest.er1
105590   ac_status=$?
105591   grep -v '^ *+' conftest.er1 >conftest.err
105592   rm -f conftest.er1
105593   cat conftest.err >&5
105594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105595   (exit $ac_status); } &&
105596          { ac_try='test -z "$ac_c_werror_flag"
105597                          || test ! -s conftest.err'
105598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105599   (eval $ac_try) 2>&5
105600   ac_status=$?
105601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105602   (exit $ac_status); }; } &&
105603          { ac_try='test -s conftest$ac_exeext'
105604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105605   (eval $ac_try) 2>&5
105606   ac_status=$?
105607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105608   (exit $ac_status); }; }; then
105609   eval "$as_ac_var=yes"
105610 else
105611   echo "$as_me: failed program was:" >&5
105612 sed 's/^/| /' conftest.$ac_ext >&5
105613
105614 eval "$as_ac_var=no"
105615 fi
105616 rm -f conftest.err conftest.$ac_objext \
105617       conftest$ac_exeext conftest.$ac_ext
105618 fi
105619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105621 if test `eval echo '${'$as_ac_var'}'` = yes; then
105622   cat >>confdefs.h <<_ACEOF
105623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105624 _ACEOF
105625
105626 fi
105627 done
105628
105629   else
105630
105631   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
105632 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
105633   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
105634     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
105635   echo $ECHO_N "(cached) $ECHO_C" >&6
105636 else
105637
105638
105639
105640       ac_ext=cc
105641 ac_cpp='$CXXCPP $CPPFLAGS'
105642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105645
105646       cat >conftest.$ac_ext <<_ACEOF
105647 /* confdefs.h.  */
105648 _ACEOF
105649 cat confdefs.h >>conftest.$ac_ext
105650 cat >>conftest.$ac_ext <<_ACEOF
105651 /* end confdefs.h.  */
105652 #include <math.h>
105653 int
105654 main ()
105655 {
105656  _sincosl(0, 0, 0);
105657   ;
105658   return 0;
105659 }
105660 _ACEOF
105661 rm -f conftest.$ac_objext
105662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105663   (eval $ac_compile) 2>conftest.er1
105664   ac_status=$?
105665   grep -v '^ *+' conftest.er1 >conftest.err
105666   rm -f conftest.er1
105667   cat conftest.err >&5
105668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105669   (exit $ac_status); } &&
105670          { ac_try='test -z "$ac_cxx_werror_flag"
105671                          || test ! -s conftest.err'
105672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105673   (eval $ac_try) 2>&5
105674   ac_status=$?
105675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105676   (exit $ac_status); }; } &&
105677          { ac_try='test -s conftest.$ac_objext'
105678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105679   (eval $ac_try) 2>&5
105680   ac_status=$?
105681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105682   (exit $ac_status); }; }; then
105683   glibcxx_cv_func__sincosl_use=yes
105684 else
105685   echo "$as_me: failed program was:" >&5
105686 sed 's/^/| /' conftest.$ac_ext >&5
105687
105688 glibcxx_cv_func__sincosl_use=no
105689 fi
105690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105691       ac_ext=c
105692 ac_cpp='$CPP $CPPFLAGS'
105693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105696
105697
105698 fi
105699
105700   fi
105701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
105702 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
105703
105704     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
105705
105706 for ac_func in _sincosl
105707 do
105708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105709 echo "$as_me:$LINENO: checking for $ac_func" >&5
105710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105711 if eval "test \"\${$as_ac_var+set}\" = set"; then
105712   echo $ECHO_N "(cached) $ECHO_C" >&6
105713 else
105714   if test x$gcc_no_link = xyes; then
105715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105717    { (exit 1); exit 1; }; }
105718 fi
105719 cat >conftest.$ac_ext <<_ACEOF
105720 /* confdefs.h.  */
105721 _ACEOF
105722 cat confdefs.h >>conftest.$ac_ext
105723 cat >>conftest.$ac_ext <<_ACEOF
105724 /* end confdefs.h.  */
105725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105727 #define $ac_func innocuous_$ac_func
105728
105729 /* System header to define __stub macros and hopefully few prototypes,
105730     which can conflict with char $ac_func (); below.
105731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105732     <limits.h> exists even on freestanding compilers.  */
105733
105734 #ifdef __STDC__
105735 # include <limits.h>
105736 #else
105737 # include <assert.h>
105738 #endif
105739
105740 #undef $ac_func
105741
105742 /* Override any gcc2 internal prototype to avoid an error.  */
105743 #ifdef __cplusplus
105744 extern "C"
105745 {
105746 #endif
105747 /* We use char because int might match the return type of a gcc2
105748    builtin and then its argument prototype would still apply.  */
105749 char $ac_func ();
105750 /* The GNU C library defines this for functions which it implements
105751     to always fail with ENOSYS.  Some functions are actually named
105752     something starting with __ and the normal name is an alias.  */
105753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105754 choke me
105755 #else
105756 char (*f) () = $ac_func;
105757 #endif
105758 #ifdef __cplusplus
105759 }
105760 #endif
105761
105762 int
105763 main ()
105764 {
105765 return f != $ac_func;
105766   ;
105767   return 0;
105768 }
105769 _ACEOF
105770 rm -f conftest.$ac_objext conftest$ac_exeext
105771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105772   (eval $ac_link) 2>conftest.er1
105773   ac_status=$?
105774   grep -v '^ *+' conftest.er1 >conftest.err
105775   rm -f conftest.er1
105776   cat conftest.err >&5
105777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105778   (exit $ac_status); } &&
105779          { ac_try='test -z "$ac_c_werror_flag"
105780                          || test ! -s conftest.err'
105781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105782   (eval $ac_try) 2>&5
105783   ac_status=$?
105784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105785   (exit $ac_status); }; } &&
105786          { ac_try='test -s conftest$ac_exeext'
105787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105788   (eval $ac_try) 2>&5
105789   ac_status=$?
105790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105791   (exit $ac_status); }; }; then
105792   eval "$as_ac_var=yes"
105793 else
105794   echo "$as_me: failed program was:" >&5
105795 sed 's/^/| /' conftest.$ac_ext >&5
105796
105797 eval "$as_ac_var=no"
105798 fi
105799 rm -f conftest.err conftest.$ac_objext \
105800       conftest$ac_exeext conftest.$ac_ext
105801 fi
105802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105804 if test `eval echo '${'$as_ac_var'}'` = yes; then
105805   cat >>confdefs.h <<_ACEOF
105806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105807 _ACEOF
105808
105809 fi
105810 done
105811
105812     fi
105813   fi
105814
105815
105816
105817
105818
105819
105820   echo "$as_me:$LINENO: checking for finitel declaration" >&5
105821 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
105822   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
105823     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
105824   echo $ECHO_N "(cached) $ECHO_C" >&6
105825 else
105826
105827
105828
105829       ac_ext=cc
105830 ac_cpp='$CXXCPP $CPPFLAGS'
105831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105834
105835       cat >conftest.$ac_ext <<_ACEOF
105836 /* confdefs.h.  */
105837 _ACEOF
105838 cat confdefs.h >>conftest.$ac_ext
105839 cat >>conftest.$ac_ext <<_ACEOF
105840 /* end confdefs.h.  */
105841 #include <math.h>
105842                       #ifdef HAVE_IEEEFP_H
105843                       #include <ieeefp.h>
105844                       #endif
105845
105846 int
105847 main ()
105848 {
105849  finitel(0);
105850   ;
105851   return 0;
105852 }
105853 _ACEOF
105854 rm -f conftest.$ac_objext
105855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105856   (eval $ac_compile) 2>conftest.er1
105857   ac_status=$?
105858   grep -v '^ *+' conftest.er1 >conftest.err
105859   rm -f conftest.er1
105860   cat conftest.err >&5
105861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105862   (exit $ac_status); } &&
105863          { ac_try='test -z "$ac_cxx_werror_flag"
105864                          || test ! -s conftest.err'
105865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105866   (eval $ac_try) 2>&5
105867   ac_status=$?
105868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105869   (exit $ac_status); }; } &&
105870          { ac_try='test -s conftest.$ac_objext'
105871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105872   (eval $ac_try) 2>&5
105873   ac_status=$?
105874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105875   (exit $ac_status); }; }; then
105876   glibcxx_cv_func_finitel_use=yes
105877 else
105878   echo "$as_me: failed program was:" >&5
105879 sed 's/^/| /' conftest.$ac_ext >&5
105880
105881 glibcxx_cv_func_finitel_use=no
105882 fi
105883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105884       ac_ext=c
105885 ac_cpp='$CPP $CPPFLAGS'
105886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105889
105890
105891 fi
105892
105893   fi
105894   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
105895 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
105896
105897   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
105898
105899 for ac_func in finitel
105900 do
105901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105902 echo "$as_me:$LINENO: checking for $ac_func" >&5
105903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105904 if eval "test \"\${$as_ac_var+set}\" = set"; then
105905   echo $ECHO_N "(cached) $ECHO_C" >&6
105906 else
105907   if test x$gcc_no_link = xyes; then
105908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105910    { (exit 1); exit 1; }; }
105911 fi
105912 cat >conftest.$ac_ext <<_ACEOF
105913 /* confdefs.h.  */
105914 _ACEOF
105915 cat confdefs.h >>conftest.$ac_ext
105916 cat >>conftest.$ac_ext <<_ACEOF
105917 /* end confdefs.h.  */
105918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105920 #define $ac_func innocuous_$ac_func
105921
105922 /* System header to define __stub macros and hopefully few prototypes,
105923     which can conflict with char $ac_func (); below.
105924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105925     <limits.h> exists even on freestanding compilers.  */
105926
105927 #ifdef __STDC__
105928 # include <limits.h>
105929 #else
105930 # include <assert.h>
105931 #endif
105932
105933 #undef $ac_func
105934
105935 /* Override any gcc2 internal prototype to avoid an error.  */
105936 #ifdef __cplusplus
105937 extern "C"
105938 {
105939 #endif
105940 /* We use char because int might match the return type of a gcc2
105941    builtin and then its argument prototype would still apply.  */
105942 char $ac_func ();
105943 /* The GNU C library defines this for functions which it implements
105944     to always fail with ENOSYS.  Some functions are actually named
105945     something starting with __ and the normal name is an alias.  */
105946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105947 choke me
105948 #else
105949 char (*f) () = $ac_func;
105950 #endif
105951 #ifdef __cplusplus
105952 }
105953 #endif
105954
105955 int
105956 main ()
105957 {
105958 return f != $ac_func;
105959   ;
105960   return 0;
105961 }
105962 _ACEOF
105963 rm -f conftest.$ac_objext conftest$ac_exeext
105964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105965   (eval $ac_link) 2>conftest.er1
105966   ac_status=$?
105967   grep -v '^ *+' conftest.er1 >conftest.err
105968   rm -f conftest.er1
105969   cat conftest.err >&5
105970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105971   (exit $ac_status); } &&
105972          { ac_try='test -z "$ac_c_werror_flag"
105973                          || test ! -s conftest.err'
105974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105975   (eval $ac_try) 2>&5
105976   ac_status=$?
105977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105978   (exit $ac_status); }; } &&
105979          { ac_try='test -s conftest$ac_exeext'
105980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105981   (eval $ac_try) 2>&5
105982   ac_status=$?
105983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105984   (exit $ac_status); }; }; then
105985   eval "$as_ac_var=yes"
105986 else
105987   echo "$as_me: failed program was:" >&5
105988 sed 's/^/| /' conftest.$ac_ext >&5
105989
105990 eval "$as_ac_var=no"
105991 fi
105992 rm -f conftest.err conftest.$ac_objext \
105993       conftest$ac_exeext conftest.$ac_ext
105994 fi
105995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105997 if test `eval echo '${'$as_ac_var'}'` = yes; then
105998   cat >>confdefs.h <<_ACEOF
105999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106000 _ACEOF
106001
106002 fi
106003 done
106004
106005   else
106006
106007   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
106008 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
106009   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
106010     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
106011   echo $ECHO_N "(cached) $ECHO_C" >&6
106012 else
106013
106014
106015
106016       ac_ext=cc
106017 ac_cpp='$CXXCPP $CPPFLAGS'
106018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106021
106022       cat >conftest.$ac_ext <<_ACEOF
106023 /* confdefs.h.  */
106024 _ACEOF
106025 cat confdefs.h >>conftest.$ac_ext
106026 cat >>conftest.$ac_ext <<_ACEOF
106027 /* end confdefs.h.  */
106028 #include <math.h>
106029                       #ifdef HAVE_IEEEFP_H
106030                       #include <ieeefp.h>
106031                       #endif
106032
106033 int
106034 main ()
106035 {
106036  _finitel(0);
106037   ;
106038   return 0;
106039 }
106040 _ACEOF
106041 rm -f conftest.$ac_objext
106042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106043   (eval $ac_compile) 2>conftest.er1
106044   ac_status=$?
106045   grep -v '^ *+' conftest.er1 >conftest.err
106046   rm -f conftest.er1
106047   cat conftest.err >&5
106048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106049   (exit $ac_status); } &&
106050          { ac_try='test -z "$ac_cxx_werror_flag"
106051                          || test ! -s conftest.err'
106052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106053   (eval $ac_try) 2>&5
106054   ac_status=$?
106055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106056   (exit $ac_status); }; } &&
106057          { ac_try='test -s conftest.$ac_objext'
106058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106059   (eval $ac_try) 2>&5
106060   ac_status=$?
106061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106062   (exit $ac_status); }; }; then
106063   glibcxx_cv_func__finitel_use=yes
106064 else
106065   echo "$as_me: failed program was:" >&5
106066 sed 's/^/| /' conftest.$ac_ext >&5
106067
106068 glibcxx_cv_func__finitel_use=no
106069 fi
106070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106071       ac_ext=c
106072 ac_cpp='$CPP $CPPFLAGS'
106073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106076
106077
106078 fi
106079
106080   fi
106081   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
106082 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
106083
106084     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
106085
106086 for ac_func in _finitel
106087 do
106088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106089 echo "$as_me:$LINENO: checking for $ac_func" >&5
106090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106091 if eval "test \"\${$as_ac_var+set}\" = set"; then
106092   echo $ECHO_N "(cached) $ECHO_C" >&6
106093 else
106094   if test x$gcc_no_link = xyes; then
106095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106097    { (exit 1); exit 1; }; }
106098 fi
106099 cat >conftest.$ac_ext <<_ACEOF
106100 /* confdefs.h.  */
106101 _ACEOF
106102 cat confdefs.h >>conftest.$ac_ext
106103 cat >>conftest.$ac_ext <<_ACEOF
106104 /* end confdefs.h.  */
106105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106107 #define $ac_func innocuous_$ac_func
106108
106109 /* System header to define __stub macros and hopefully few prototypes,
106110     which can conflict with char $ac_func (); below.
106111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106112     <limits.h> exists even on freestanding compilers.  */
106113
106114 #ifdef __STDC__
106115 # include <limits.h>
106116 #else
106117 # include <assert.h>
106118 #endif
106119
106120 #undef $ac_func
106121
106122 /* Override any gcc2 internal prototype to avoid an error.  */
106123 #ifdef __cplusplus
106124 extern "C"
106125 {
106126 #endif
106127 /* We use char because int might match the return type of a gcc2
106128    builtin and then its argument prototype would still apply.  */
106129 char $ac_func ();
106130 /* The GNU C library defines this for functions which it implements
106131     to always fail with ENOSYS.  Some functions are actually named
106132     something starting with __ and the normal name is an alias.  */
106133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106134 choke me
106135 #else
106136 char (*f) () = $ac_func;
106137 #endif
106138 #ifdef __cplusplus
106139 }
106140 #endif
106141
106142 int
106143 main ()
106144 {
106145 return f != $ac_func;
106146   ;
106147   return 0;
106148 }
106149 _ACEOF
106150 rm -f conftest.$ac_objext conftest$ac_exeext
106151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106152   (eval $ac_link) 2>conftest.er1
106153   ac_status=$?
106154   grep -v '^ *+' conftest.er1 >conftest.err
106155   rm -f conftest.er1
106156   cat conftest.err >&5
106157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106158   (exit $ac_status); } &&
106159          { ac_try='test -z "$ac_c_werror_flag"
106160                          || test ! -s conftest.err'
106161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106162   (eval $ac_try) 2>&5
106163   ac_status=$?
106164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106165   (exit $ac_status); }; } &&
106166          { ac_try='test -s conftest$ac_exeext'
106167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106168   (eval $ac_try) 2>&5
106169   ac_status=$?
106170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106171   (exit $ac_status); }; }; then
106172   eval "$as_ac_var=yes"
106173 else
106174   echo "$as_me: failed program was:" >&5
106175 sed 's/^/| /' conftest.$ac_ext >&5
106176
106177 eval "$as_ac_var=no"
106178 fi
106179 rm -f conftest.err conftest.$ac_objext \
106180       conftest$ac_exeext conftest.$ac_ext
106181 fi
106182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106184 if test `eval echo '${'$as_ac_var'}'` = yes; then
106185   cat >>confdefs.h <<_ACEOF
106186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106187 _ACEOF
106188
106189 fi
106190 done
106191
106192     fi
106193   fi
106194
106195
106196
106197
106198
106199   LIBS="$ac_save_LIBS"
106200   CXXFLAGS="$ac_save_CXXFLAGS"
106201
106202
106203
106204   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
106205 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
106206   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
106207     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
106208   echo $ECHO_N "(cached) $ECHO_C" >&6
106209 else
106210
106211
106212
106213       ac_ext=cc
106214 ac_cpp='$CXXCPP $CPPFLAGS'
106215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106218
106219       cat >conftest.$ac_ext <<_ACEOF
106220 /* confdefs.h.  */
106221 _ACEOF
106222 cat confdefs.h >>conftest.$ac_ext
106223 cat >>conftest.$ac_ext <<_ACEOF
106224 /* end confdefs.h.  */
106225 #include <math.h>
106226 int
106227 main ()
106228 {
106229  __builtin_abs(0);
106230   ;
106231   return 0;
106232 }
106233 _ACEOF
106234 rm -f conftest.$ac_objext
106235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106236   (eval $ac_compile) 2>conftest.er1
106237   ac_status=$?
106238   grep -v '^ *+' conftest.er1 >conftest.err
106239   rm -f conftest.er1
106240   cat conftest.err >&5
106241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106242   (exit $ac_status); } &&
106243          { ac_try='test -z "$ac_cxx_werror_flag"
106244                          || test ! -s conftest.err'
106245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106246   (eval $ac_try) 2>&5
106247   ac_status=$?
106248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106249   (exit $ac_status); }; } &&
106250          { ac_try='test -s conftest.$ac_objext'
106251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106252   (eval $ac_try) 2>&5
106253   ac_status=$?
106254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106255   (exit $ac_status); }; }; then
106256   glibcxx_cv_func___builtin_abs_use=yes
106257 else
106258   echo "$as_me: failed program was:" >&5
106259 sed 's/^/| /' conftest.$ac_ext >&5
106260
106261 glibcxx_cv_func___builtin_abs_use=no
106262 fi
106263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106264       ac_ext=c
106265 ac_cpp='$CPP $CPPFLAGS'
106266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106269
106270
106271 fi
106272
106273   fi
106274   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
106275 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
106276   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
106277     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
106278 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
106279     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
106280       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
106281   echo $ECHO_N "(cached) $ECHO_C" >&6
106282 else
106283
106284         if test x$gcc_no_link = xyes; then
106285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106287    { (exit 1); exit 1; }; }
106288 fi
106289 cat >conftest.$ac_ext <<_ACEOF
106290 /* confdefs.h.  */
106291 _ACEOF
106292 cat confdefs.h >>conftest.$ac_ext
106293 cat >>conftest.$ac_ext <<_ACEOF
106294 /* end confdefs.h.  */
106295 #include <math.h>
106296 int
106297 main ()
106298 {
106299  __builtin_abs(0);
106300   ;
106301   return 0;
106302 }
106303 _ACEOF
106304 rm -f conftest.$ac_objext conftest$ac_exeext
106305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106306   (eval $ac_link) 2>conftest.er1
106307   ac_status=$?
106308   grep -v '^ *+' conftest.er1 >conftest.err
106309   rm -f conftest.er1
106310   cat conftest.err >&5
106311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106312   (exit $ac_status); } &&
106313          { ac_try='test -z "$ac_c_werror_flag"
106314                          || test ! -s conftest.err'
106315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106316   (eval $ac_try) 2>&5
106317   ac_status=$?
106318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106319   (exit $ac_status); }; } &&
106320          { ac_try='test -s conftest$ac_exeext'
106321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106322   (eval $ac_try) 2>&5
106323   ac_status=$?
106324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106325   (exit $ac_status); }; }; then
106326   glibcxx_cv_func___builtin_abs_link=yes
106327 else
106328   echo "$as_me: failed program was:" >&5
106329 sed 's/^/| /' conftest.$ac_ext >&5
106330
106331 glibcxx_cv_func___builtin_abs_link=no
106332 fi
106333 rm -f conftest.err conftest.$ac_objext \
106334       conftest$ac_exeext conftest.$ac_ext
106335
106336 fi
106337
106338     fi
106339     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
106340 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
106341
106342     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
106343
106344 cat >>confdefs.h <<\_ACEOF
106345 #define HAVE___BUILTIN_ABS 1
106346 _ACEOF
106347
106348     fi
106349
106350   fi
106351
106352
106353   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
106354 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
106355   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
106356     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
106357   echo $ECHO_N "(cached) $ECHO_C" >&6
106358 else
106359
106360
106361
106362       ac_ext=cc
106363 ac_cpp='$CXXCPP $CPPFLAGS'
106364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106367
106368       cat >conftest.$ac_ext <<_ACEOF
106369 /* confdefs.h.  */
106370 _ACEOF
106371 cat confdefs.h >>conftest.$ac_ext
106372 cat >>conftest.$ac_ext <<_ACEOF
106373 /* end confdefs.h.  */
106374 #include <math.h>
106375 int
106376 main ()
106377 {
106378  __builtin_fabsf(0);
106379   ;
106380   return 0;
106381 }
106382 _ACEOF
106383 rm -f conftest.$ac_objext
106384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106385   (eval $ac_compile) 2>conftest.er1
106386   ac_status=$?
106387   grep -v '^ *+' conftest.er1 >conftest.err
106388   rm -f conftest.er1
106389   cat conftest.err >&5
106390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106391   (exit $ac_status); } &&
106392          { ac_try='test -z "$ac_cxx_werror_flag"
106393                          || test ! -s conftest.err'
106394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106395   (eval $ac_try) 2>&5
106396   ac_status=$?
106397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106398   (exit $ac_status); }; } &&
106399          { ac_try='test -s conftest.$ac_objext'
106400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106401   (eval $ac_try) 2>&5
106402   ac_status=$?
106403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106404   (exit $ac_status); }; }; then
106405   glibcxx_cv_func___builtin_fabsf_use=yes
106406 else
106407   echo "$as_me: failed program was:" >&5
106408 sed 's/^/| /' conftest.$ac_ext >&5
106409
106410 glibcxx_cv_func___builtin_fabsf_use=no
106411 fi
106412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106413       ac_ext=c
106414 ac_cpp='$CPP $CPPFLAGS'
106415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106418
106419
106420 fi
106421
106422   fi
106423   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
106424 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
106425   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
106426     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
106427 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
106428     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
106429       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
106430   echo $ECHO_N "(cached) $ECHO_C" >&6
106431 else
106432
106433         if test x$gcc_no_link = xyes; then
106434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106436    { (exit 1); exit 1; }; }
106437 fi
106438 cat >conftest.$ac_ext <<_ACEOF
106439 /* confdefs.h.  */
106440 _ACEOF
106441 cat confdefs.h >>conftest.$ac_ext
106442 cat >>conftest.$ac_ext <<_ACEOF
106443 /* end confdefs.h.  */
106444 #include <math.h>
106445 int
106446 main ()
106447 {
106448  __builtin_fabsf(0);
106449   ;
106450   return 0;
106451 }
106452 _ACEOF
106453 rm -f conftest.$ac_objext conftest$ac_exeext
106454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106455   (eval $ac_link) 2>conftest.er1
106456   ac_status=$?
106457   grep -v '^ *+' conftest.er1 >conftest.err
106458   rm -f conftest.er1
106459   cat conftest.err >&5
106460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106461   (exit $ac_status); } &&
106462          { ac_try='test -z "$ac_c_werror_flag"
106463                          || test ! -s conftest.err'
106464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106465   (eval $ac_try) 2>&5
106466   ac_status=$?
106467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106468   (exit $ac_status); }; } &&
106469          { ac_try='test -s conftest$ac_exeext'
106470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106471   (eval $ac_try) 2>&5
106472   ac_status=$?
106473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106474   (exit $ac_status); }; }; then
106475   glibcxx_cv_func___builtin_fabsf_link=yes
106476 else
106477   echo "$as_me: failed program was:" >&5
106478 sed 's/^/| /' conftest.$ac_ext >&5
106479
106480 glibcxx_cv_func___builtin_fabsf_link=no
106481 fi
106482 rm -f conftest.err conftest.$ac_objext \
106483       conftest$ac_exeext conftest.$ac_ext
106484
106485 fi
106486
106487     fi
106488     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
106489 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
106490
106491     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
106492
106493 cat >>confdefs.h <<\_ACEOF
106494 #define HAVE___BUILTIN_FABSF 1
106495 _ACEOF
106496
106497     fi
106498
106499   fi
106500
106501
106502   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
106503 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
106504   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
106505     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
106506   echo $ECHO_N "(cached) $ECHO_C" >&6
106507 else
106508
106509
106510
106511       ac_ext=cc
106512 ac_cpp='$CXXCPP $CPPFLAGS'
106513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106516
106517       cat >conftest.$ac_ext <<_ACEOF
106518 /* confdefs.h.  */
106519 _ACEOF
106520 cat confdefs.h >>conftest.$ac_ext
106521 cat >>conftest.$ac_ext <<_ACEOF
106522 /* end confdefs.h.  */
106523 #include <math.h>
106524 int
106525 main ()
106526 {
106527  __builtin_fabs(0);
106528   ;
106529   return 0;
106530 }
106531 _ACEOF
106532 rm -f conftest.$ac_objext
106533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106534   (eval $ac_compile) 2>conftest.er1
106535   ac_status=$?
106536   grep -v '^ *+' conftest.er1 >conftest.err
106537   rm -f conftest.er1
106538   cat conftest.err >&5
106539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106540   (exit $ac_status); } &&
106541          { ac_try='test -z "$ac_cxx_werror_flag"
106542                          || test ! -s conftest.err'
106543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106544   (eval $ac_try) 2>&5
106545   ac_status=$?
106546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106547   (exit $ac_status); }; } &&
106548          { ac_try='test -s conftest.$ac_objext'
106549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106550   (eval $ac_try) 2>&5
106551   ac_status=$?
106552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106553   (exit $ac_status); }; }; then
106554   glibcxx_cv_func___builtin_fabs_use=yes
106555 else
106556   echo "$as_me: failed program was:" >&5
106557 sed 's/^/| /' conftest.$ac_ext >&5
106558
106559 glibcxx_cv_func___builtin_fabs_use=no
106560 fi
106561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106562       ac_ext=c
106563 ac_cpp='$CPP $CPPFLAGS'
106564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106567
106568
106569 fi
106570
106571   fi
106572   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
106573 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
106574   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
106575     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
106576 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
106577     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
106578       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
106579   echo $ECHO_N "(cached) $ECHO_C" >&6
106580 else
106581
106582         if test x$gcc_no_link = xyes; then
106583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106585    { (exit 1); exit 1; }; }
106586 fi
106587 cat >conftest.$ac_ext <<_ACEOF
106588 /* confdefs.h.  */
106589 _ACEOF
106590 cat confdefs.h >>conftest.$ac_ext
106591 cat >>conftest.$ac_ext <<_ACEOF
106592 /* end confdefs.h.  */
106593 #include <math.h>
106594 int
106595 main ()
106596 {
106597  __builtin_fabs(0);
106598   ;
106599   return 0;
106600 }
106601 _ACEOF
106602 rm -f conftest.$ac_objext conftest$ac_exeext
106603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106604   (eval $ac_link) 2>conftest.er1
106605   ac_status=$?
106606   grep -v '^ *+' conftest.er1 >conftest.err
106607   rm -f conftest.er1
106608   cat conftest.err >&5
106609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106610   (exit $ac_status); } &&
106611          { ac_try='test -z "$ac_c_werror_flag"
106612                          || test ! -s conftest.err'
106613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106614   (eval $ac_try) 2>&5
106615   ac_status=$?
106616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106617   (exit $ac_status); }; } &&
106618          { ac_try='test -s conftest$ac_exeext'
106619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106620   (eval $ac_try) 2>&5
106621   ac_status=$?
106622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106623   (exit $ac_status); }; }; then
106624   glibcxx_cv_func___builtin_fabs_link=yes
106625 else
106626   echo "$as_me: failed program was:" >&5
106627 sed 's/^/| /' conftest.$ac_ext >&5
106628
106629 glibcxx_cv_func___builtin_fabs_link=no
106630 fi
106631 rm -f conftest.err conftest.$ac_objext \
106632       conftest$ac_exeext conftest.$ac_ext
106633
106634 fi
106635
106636     fi
106637     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
106638 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
106639
106640     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
106641
106642 cat >>confdefs.h <<\_ACEOF
106643 #define HAVE___BUILTIN_FABS 1
106644 _ACEOF
106645
106646     fi
106647
106648   fi
106649
106650
106651   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
106652 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
106653   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
106654     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
106655   echo $ECHO_N "(cached) $ECHO_C" >&6
106656 else
106657
106658
106659
106660       ac_ext=cc
106661 ac_cpp='$CXXCPP $CPPFLAGS'
106662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106665
106666       cat >conftest.$ac_ext <<_ACEOF
106667 /* confdefs.h.  */
106668 _ACEOF
106669 cat confdefs.h >>conftest.$ac_ext
106670 cat >>conftest.$ac_ext <<_ACEOF
106671 /* end confdefs.h.  */
106672 #include <math.h>
106673 int
106674 main ()
106675 {
106676  __builtin_fabsl(0);
106677   ;
106678   return 0;
106679 }
106680 _ACEOF
106681 rm -f conftest.$ac_objext
106682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106683   (eval $ac_compile) 2>conftest.er1
106684   ac_status=$?
106685   grep -v '^ *+' conftest.er1 >conftest.err
106686   rm -f conftest.er1
106687   cat conftest.err >&5
106688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106689   (exit $ac_status); } &&
106690          { ac_try='test -z "$ac_cxx_werror_flag"
106691                          || test ! -s conftest.err'
106692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106693   (eval $ac_try) 2>&5
106694   ac_status=$?
106695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106696   (exit $ac_status); }; } &&
106697          { ac_try='test -s conftest.$ac_objext'
106698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106699   (eval $ac_try) 2>&5
106700   ac_status=$?
106701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702   (exit $ac_status); }; }; then
106703   glibcxx_cv_func___builtin_fabsl_use=yes
106704 else
106705   echo "$as_me: failed program was:" >&5
106706 sed 's/^/| /' conftest.$ac_ext >&5
106707
106708 glibcxx_cv_func___builtin_fabsl_use=no
106709 fi
106710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106711       ac_ext=c
106712 ac_cpp='$CPP $CPPFLAGS'
106713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106716
106717
106718 fi
106719
106720   fi
106721   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
106722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
106723   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
106724     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
106725 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
106726     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
106727       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
106728   echo $ECHO_N "(cached) $ECHO_C" >&6
106729 else
106730
106731         if test x$gcc_no_link = xyes; then
106732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106734    { (exit 1); exit 1; }; }
106735 fi
106736 cat >conftest.$ac_ext <<_ACEOF
106737 /* confdefs.h.  */
106738 _ACEOF
106739 cat confdefs.h >>conftest.$ac_ext
106740 cat >>conftest.$ac_ext <<_ACEOF
106741 /* end confdefs.h.  */
106742 #include <math.h>
106743 int
106744 main ()
106745 {
106746  __builtin_fabsl(0);
106747   ;
106748   return 0;
106749 }
106750 _ACEOF
106751 rm -f conftest.$ac_objext conftest$ac_exeext
106752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106753   (eval $ac_link) 2>conftest.er1
106754   ac_status=$?
106755   grep -v '^ *+' conftest.er1 >conftest.err
106756   rm -f conftest.er1
106757   cat conftest.err >&5
106758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106759   (exit $ac_status); } &&
106760          { ac_try='test -z "$ac_c_werror_flag"
106761                          || test ! -s conftest.err'
106762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106763   (eval $ac_try) 2>&5
106764   ac_status=$?
106765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106766   (exit $ac_status); }; } &&
106767          { ac_try='test -s conftest$ac_exeext'
106768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106769   (eval $ac_try) 2>&5
106770   ac_status=$?
106771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106772   (exit $ac_status); }; }; then
106773   glibcxx_cv_func___builtin_fabsl_link=yes
106774 else
106775   echo "$as_me: failed program was:" >&5
106776 sed 's/^/| /' conftest.$ac_ext >&5
106777
106778 glibcxx_cv_func___builtin_fabsl_link=no
106779 fi
106780 rm -f conftest.err conftest.$ac_objext \
106781       conftest$ac_exeext conftest.$ac_ext
106782
106783 fi
106784
106785     fi
106786     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
106787 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
106788
106789     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
106790
106791 cat >>confdefs.h <<\_ACEOF
106792 #define HAVE___BUILTIN_FABSL 1
106793 _ACEOF
106794
106795     fi
106796
106797   fi
106798
106799
106800   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
106801 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
106802   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
106803     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
106804   echo $ECHO_N "(cached) $ECHO_C" >&6
106805 else
106806
106807
106808
106809       ac_ext=cc
106810 ac_cpp='$CXXCPP $CPPFLAGS'
106811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106814
106815       cat >conftest.$ac_ext <<_ACEOF
106816 /* confdefs.h.  */
106817 _ACEOF
106818 cat confdefs.h >>conftest.$ac_ext
106819 cat >>conftest.$ac_ext <<_ACEOF
106820 /* end confdefs.h.  */
106821 #include <math.h>
106822 int
106823 main ()
106824 {
106825  __builtin_labs(0);
106826   ;
106827   return 0;
106828 }
106829 _ACEOF
106830 rm -f conftest.$ac_objext
106831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106832   (eval $ac_compile) 2>conftest.er1
106833   ac_status=$?
106834   grep -v '^ *+' conftest.er1 >conftest.err
106835   rm -f conftest.er1
106836   cat conftest.err >&5
106837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106838   (exit $ac_status); } &&
106839          { ac_try='test -z "$ac_cxx_werror_flag"
106840                          || test ! -s conftest.err'
106841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106842   (eval $ac_try) 2>&5
106843   ac_status=$?
106844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106845   (exit $ac_status); }; } &&
106846          { ac_try='test -s conftest.$ac_objext'
106847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106848   (eval $ac_try) 2>&5
106849   ac_status=$?
106850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106851   (exit $ac_status); }; }; then
106852   glibcxx_cv_func___builtin_labs_use=yes
106853 else
106854   echo "$as_me: failed program was:" >&5
106855 sed 's/^/| /' conftest.$ac_ext >&5
106856
106857 glibcxx_cv_func___builtin_labs_use=no
106858 fi
106859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106860       ac_ext=c
106861 ac_cpp='$CPP $CPPFLAGS'
106862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106865
106866
106867 fi
106868
106869   fi
106870   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
106871 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
106872   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
106873     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
106874 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
106875     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
106876       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
106877   echo $ECHO_N "(cached) $ECHO_C" >&6
106878 else
106879
106880         if test x$gcc_no_link = xyes; then
106881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106883    { (exit 1); exit 1; }; }
106884 fi
106885 cat >conftest.$ac_ext <<_ACEOF
106886 /* confdefs.h.  */
106887 _ACEOF
106888 cat confdefs.h >>conftest.$ac_ext
106889 cat >>conftest.$ac_ext <<_ACEOF
106890 /* end confdefs.h.  */
106891 #include <math.h>
106892 int
106893 main ()
106894 {
106895  __builtin_labs(0);
106896   ;
106897   return 0;
106898 }
106899 _ACEOF
106900 rm -f conftest.$ac_objext conftest$ac_exeext
106901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106902   (eval $ac_link) 2>conftest.er1
106903   ac_status=$?
106904   grep -v '^ *+' conftest.er1 >conftest.err
106905   rm -f conftest.er1
106906   cat conftest.err >&5
106907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106908   (exit $ac_status); } &&
106909          { ac_try='test -z "$ac_c_werror_flag"
106910                          || test ! -s conftest.err'
106911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106912   (eval $ac_try) 2>&5
106913   ac_status=$?
106914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915   (exit $ac_status); }; } &&
106916          { ac_try='test -s conftest$ac_exeext'
106917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106918   (eval $ac_try) 2>&5
106919   ac_status=$?
106920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106921   (exit $ac_status); }; }; then
106922   glibcxx_cv_func___builtin_labs_link=yes
106923 else
106924   echo "$as_me: failed program was:" >&5
106925 sed 's/^/| /' conftest.$ac_ext >&5
106926
106927 glibcxx_cv_func___builtin_labs_link=no
106928 fi
106929 rm -f conftest.err conftest.$ac_objext \
106930       conftest$ac_exeext conftest.$ac_ext
106931
106932 fi
106933
106934     fi
106935     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106936 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106937
106938     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106939
106940 cat >>confdefs.h <<\_ACEOF
106941 #define HAVE___BUILTIN_LABS 1
106942 _ACEOF
106943
106944     fi
106945
106946   fi
106947
106948
106949
106950   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106951 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106952   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106953     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106954   echo $ECHO_N "(cached) $ECHO_C" >&6
106955 else
106956
106957
106958
106959       ac_ext=cc
106960 ac_cpp='$CXXCPP $CPPFLAGS'
106961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106964
106965       cat >conftest.$ac_ext <<_ACEOF
106966 /* confdefs.h.  */
106967 _ACEOF
106968 cat confdefs.h >>conftest.$ac_ext
106969 cat >>conftest.$ac_ext <<_ACEOF
106970 /* end confdefs.h.  */
106971 #include <math.h>
106972 int
106973 main ()
106974 {
106975  __builtin_sqrtf(0);
106976   ;
106977   return 0;
106978 }
106979 _ACEOF
106980 rm -f conftest.$ac_objext
106981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106982   (eval $ac_compile) 2>conftest.er1
106983   ac_status=$?
106984   grep -v '^ *+' conftest.er1 >conftest.err
106985   rm -f conftest.er1
106986   cat conftest.err >&5
106987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106988   (exit $ac_status); } &&
106989          { ac_try='test -z "$ac_cxx_werror_flag"
106990                          || test ! -s conftest.err'
106991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106992   (eval $ac_try) 2>&5
106993   ac_status=$?
106994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106995   (exit $ac_status); }; } &&
106996          { ac_try='test -s conftest.$ac_objext'
106997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106998   (eval $ac_try) 2>&5
106999   ac_status=$?
107000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107001   (exit $ac_status); }; }; then
107002   glibcxx_cv_func___builtin_sqrtf_use=yes
107003 else
107004   echo "$as_me: failed program was:" >&5
107005 sed 's/^/| /' conftest.$ac_ext >&5
107006
107007 glibcxx_cv_func___builtin_sqrtf_use=no
107008 fi
107009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107010       ac_ext=c
107011 ac_cpp='$CPP $CPPFLAGS'
107012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107015
107016
107017 fi
107018
107019   fi
107020   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
107021 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
107022   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
107023     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
107024 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
107025     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
107026       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
107027   echo $ECHO_N "(cached) $ECHO_C" >&6
107028 else
107029
107030         if test x$gcc_no_link = xyes; then
107031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107033    { (exit 1); exit 1; }; }
107034 fi
107035 cat >conftest.$ac_ext <<_ACEOF
107036 /* confdefs.h.  */
107037 _ACEOF
107038 cat confdefs.h >>conftest.$ac_ext
107039 cat >>conftest.$ac_ext <<_ACEOF
107040 /* end confdefs.h.  */
107041 #include <math.h>
107042 int
107043 main ()
107044 {
107045  __builtin_sqrtf(0);
107046   ;
107047   return 0;
107048 }
107049 _ACEOF
107050 rm -f conftest.$ac_objext conftest$ac_exeext
107051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107052   (eval $ac_link) 2>conftest.er1
107053   ac_status=$?
107054   grep -v '^ *+' conftest.er1 >conftest.err
107055   rm -f conftest.er1
107056   cat conftest.err >&5
107057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107058   (exit $ac_status); } &&
107059          { ac_try='test -z "$ac_c_werror_flag"
107060                          || test ! -s conftest.err'
107061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107062   (eval $ac_try) 2>&5
107063   ac_status=$?
107064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107065   (exit $ac_status); }; } &&
107066          { ac_try='test -s conftest$ac_exeext'
107067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107068   (eval $ac_try) 2>&5
107069   ac_status=$?
107070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107071   (exit $ac_status); }; }; then
107072   glibcxx_cv_func___builtin_sqrtf_link=yes
107073 else
107074   echo "$as_me: failed program was:" >&5
107075 sed 's/^/| /' conftest.$ac_ext >&5
107076
107077 glibcxx_cv_func___builtin_sqrtf_link=no
107078 fi
107079 rm -f conftest.err conftest.$ac_objext \
107080       conftest$ac_exeext conftest.$ac_ext
107081
107082 fi
107083
107084     fi
107085     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
107086 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
107087
107088     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
107089
107090 cat >>confdefs.h <<\_ACEOF
107091 #define HAVE___BUILTIN_SQRTF 1
107092 _ACEOF
107093
107094     fi
107095
107096   fi
107097
107098
107099   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
107100 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
107101   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
107102     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
107103   echo $ECHO_N "(cached) $ECHO_C" >&6
107104 else
107105
107106
107107
107108       ac_ext=cc
107109 ac_cpp='$CXXCPP $CPPFLAGS'
107110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107113
107114       cat >conftest.$ac_ext <<_ACEOF
107115 /* confdefs.h.  */
107116 _ACEOF
107117 cat confdefs.h >>conftest.$ac_ext
107118 cat >>conftest.$ac_ext <<_ACEOF
107119 /* end confdefs.h.  */
107120 #include <math.h>
107121 int
107122 main ()
107123 {
107124  __builtin_sqrt(0);
107125   ;
107126   return 0;
107127 }
107128 _ACEOF
107129 rm -f conftest.$ac_objext
107130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107131   (eval $ac_compile) 2>conftest.er1
107132   ac_status=$?
107133   grep -v '^ *+' conftest.er1 >conftest.err
107134   rm -f conftest.er1
107135   cat conftest.err >&5
107136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107137   (exit $ac_status); } &&
107138          { ac_try='test -z "$ac_cxx_werror_flag"
107139                          || test ! -s conftest.err'
107140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107141   (eval $ac_try) 2>&5
107142   ac_status=$?
107143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107144   (exit $ac_status); }; } &&
107145          { ac_try='test -s conftest.$ac_objext'
107146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107147   (eval $ac_try) 2>&5
107148   ac_status=$?
107149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107150   (exit $ac_status); }; }; then
107151   glibcxx_cv_func___builtin_sqrt_use=yes
107152 else
107153   echo "$as_me: failed program was:" >&5
107154 sed 's/^/| /' conftest.$ac_ext >&5
107155
107156 glibcxx_cv_func___builtin_sqrt_use=no
107157 fi
107158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107159       ac_ext=c
107160 ac_cpp='$CPP $CPPFLAGS'
107161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107164
107165
107166 fi
107167
107168   fi
107169   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
107170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
107171   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
107172     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
107173 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
107174     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
107175       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
107176   echo $ECHO_N "(cached) $ECHO_C" >&6
107177 else
107178
107179         if test x$gcc_no_link = xyes; then
107180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107182    { (exit 1); exit 1; }; }
107183 fi
107184 cat >conftest.$ac_ext <<_ACEOF
107185 /* confdefs.h.  */
107186 _ACEOF
107187 cat confdefs.h >>conftest.$ac_ext
107188 cat >>conftest.$ac_ext <<_ACEOF
107189 /* end confdefs.h.  */
107190 #include <math.h>
107191 int
107192 main ()
107193 {
107194  __builtin_sqrt(0);
107195   ;
107196   return 0;
107197 }
107198 _ACEOF
107199 rm -f conftest.$ac_objext conftest$ac_exeext
107200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107201   (eval $ac_link) 2>conftest.er1
107202   ac_status=$?
107203   grep -v '^ *+' conftest.er1 >conftest.err
107204   rm -f conftest.er1
107205   cat conftest.err >&5
107206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107207   (exit $ac_status); } &&
107208          { ac_try='test -z "$ac_c_werror_flag"
107209                          || test ! -s conftest.err'
107210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107211   (eval $ac_try) 2>&5
107212   ac_status=$?
107213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107214   (exit $ac_status); }; } &&
107215          { ac_try='test -s conftest$ac_exeext'
107216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107217   (eval $ac_try) 2>&5
107218   ac_status=$?
107219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107220   (exit $ac_status); }; }; then
107221   glibcxx_cv_func___builtin_sqrt_link=yes
107222 else
107223   echo "$as_me: failed program was:" >&5
107224 sed 's/^/| /' conftest.$ac_ext >&5
107225
107226 glibcxx_cv_func___builtin_sqrt_link=no
107227 fi
107228 rm -f conftest.err conftest.$ac_objext \
107229       conftest$ac_exeext conftest.$ac_ext
107230
107231 fi
107232
107233     fi
107234     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
107235 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
107236
107237     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
107238
107239 cat >>confdefs.h <<\_ACEOF
107240 #define HAVE___BUILTIN_SQRT 1
107241 _ACEOF
107242
107243     fi
107244
107245   fi
107246
107247
107248   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
107249 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
107250   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
107251     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
107252   echo $ECHO_N "(cached) $ECHO_C" >&6
107253 else
107254
107255
107256
107257       ac_ext=cc
107258 ac_cpp='$CXXCPP $CPPFLAGS'
107259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107262
107263       cat >conftest.$ac_ext <<_ACEOF
107264 /* confdefs.h.  */
107265 _ACEOF
107266 cat confdefs.h >>conftest.$ac_ext
107267 cat >>conftest.$ac_ext <<_ACEOF
107268 /* end confdefs.h.  */
107269 #include <math.h>
107270 int
107271 main ()
107272 {
107273  __builtin_sqrtl(0);
107274   ;
107275   return 0;
107276 }
107277 _ACEOF
107278 rm -f conftest.$ac_objext
107279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107280   (eval $ac_compile) 2>conftest.er1
107281   ac_status=$?
107282   grep -v '^ *+' conftest.er1 >conftest.err
107283   rm -f conftest.er1
107284   cat conftest.err >&5
107285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107286   (exit $ac_status); } &&
107287          { ac_try='test -z "$ac_cxx_werror_flag"
107288                          || test ! -s conftest.err'
107289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107290   (eval $ac_try) 2>&5
107291   ac_status=$?
107292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107293   (exit $ac_status); }; } &&
107294          { ac_try='test -s conftest.$ac_objext'
107295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107296   (eval $ac_try) 2>&5
107297   ac_status=$?
107298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107299   (exit $ac_status); }; }; then
107300   glibcxx_cv_func___builtin_sqrtl_use=yes
107301 else
107302   echo "$as_me: failed program was:" >&5
107303 sed 's/^/| /' conftest.$ac_ext >&5
107304
107305 glibcxx_cv_func___builtin_sqrtl_use=no
107306 fi
107307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107308       ac_ext=c
107309 ac_cpp='$CPP $CPPFLAGS'
107310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107313
107314
107315 fi
107316
107317   fi
107318   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
107319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
107320   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
107321     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
107322 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
107323     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
107324       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
107325   echo $ECHO_N "(cached) $ECHO_C" >&6
107326 else
107327
107328         if test x$gcc_no_link = xyes; then
107329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107331    { (exit 1); exit 1; }; }
107332 fi
107333 cat >conftest.$ac_ext <<_ACEOF
107334 /* confdefs.h.  */
107335 _ACEOF
107336 cat confdefs.h >>conftest.$ac_ext
107337 cat >>conftest.$ac_ext <<_ACEOF
107338 /* end confdefs.h.  */
107339 #include <math.h>
107340 int
107341 main ()
107342 {
107343  __builtin_sqrtl(0);
107344   ;
107345   return 0;
107346 }
107347 _ACEOF
107348 rm -f conftest.$ac_objext conftest$ac_exeext
107349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107350   (eval $ac_link) 2>conftest.er1
107351   ac_status=$?
107352   grep -v '^ *+' conftest.er1 >conftest.err
107353   rm -f conftest.er1
107354   cat conftest.err >&5
107355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107356   (exit $ac_status); } &&
107357          { ac_try='test -z "$ac_c_werror_flag"
107358                          || test ! -s conftest.err'
107359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107360   (eval $ac_try) 2>&5
107361   ac_status=$?
107362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107363   (exit $ac_status); }; } &&
107364          { ac_try='test -s conftest$ac_exeext'
107365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107366   (eval $ac_try) 2>&5
107367   ac_status=$?
107368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107369   (exit $ac_status); }; }; then
107370   glibcxx_cv_func___builtin_sqrtl_link=yes
107371 else
107372   echo "$as_me: failed program was:" >&5
107373 sed 's/^/| /' conftest.$ac_ext >&5
107374
107375 glibcxx_cv_func___builtin_sqrtl_link=no
107376 fi
107377 rm -f conftest.err conftest.$ac_objext \
107378       conftest$ac_exeext conftest.$ac_ext
107379
107380 fi
107381
107382     fi
107383     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
107384 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
107385
107386     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
107387
107388 cat >>confdefs.h <<\_ACEOF
107389 #define HAVE___BUILTIN_SQRTL 1
107390 _ACEOF
107391
107392     fi
107393
107394   fi
107395
107396
107397
107398   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
107399 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
107400   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
107401     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
107402   echo $ECHO_N "(cached) $ECHO_C" >&6
107403 else
107404
107405
107406
107407       ac_ext=cc
107408 ac_cpp='$CXXCPP $CPPFLAGS'
107409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107412
107413       cat >conftest.$ac_ext <<_ACEOF
107414 /* confdefs.h.  */
107415 _ACEOF
107416 cat confdefs.h >>conftest.$ac_ext
107417 cat >>conftest.$ac_ext <<_ACEOF
107418 /* end confdefs.h.  */
107419 #include <math.h>
107420 int
107421 main ()
107422 {
107423  __builtin_sinf(0);
107424   ;
107425   return 0;
107426 }
107427 _ACEOF
107428 rm -f conftest.$ac_objext
107429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107430   (eval $ac_compile) 2>conftest.er1
107431   ac_status=$?
107432   grep -v '^ *+' conftest.er1 >conftest.err
107433   rm -f conftest.er1
107434   cat conftest.err >&5
107435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107436   (exit $ac_status); } &&
107437          { ac_try='test -z "$ac_cxx_werror_flag"
107438                          || test ! -s conftest.err'
107439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107440   (eval $ac_try) 2>&5
107441   ac_status=$?
107442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107443   (exit $ac_status); }; } &&
107444          { ac_try='test -s conftest.$ac_objext'
107445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107446   (eval $ac_try) 2>&5
107447   ac_status=$?
107448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107449   (exit $ac_status); }; }; then
107450   glibcxx_cv_func___builtin_sinf_use=yes
107451 else
107452   echo "$as_me: failed program was:" >&5
107453 sed 's/^/| /' conftest.$ac_ext >&5
107454
107455 glibcxx_cv_func___builtin_sinf_use=no
107456 fi
107457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107458       ac_ext=c
107459 ac_cpp='$CPP $CPPFLAGS'
107460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107463
107464
107465 fi
107466
107467   fi
107468   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
107469 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
107470   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
107471     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
107472 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
107473     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
107474       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
107475   echo $ECHO_N "(cached) $ECHO_C" >&6
107476 else
107477
107478         if test x$gcc_no_link = xyes; then
107479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107481    { (exit 1); exit 1; }; }
107482 fi
107483 cat >conftest.$ac_ext <<_ACEOF
107484 /* confdefs.h.  */
107485 _ACEOF
107486 cat confdefs.h >>conftest.$ac_ext
107487 cat >>conftest.$ac_ext <<_ACEOF
107488 /* end confdefs.h.  */
107489 #include <math.h>
107490 int
107491 main ()
107492 {
107493  __builtin_sinf(0);
107494   ;
107495   return 0;
107496 }
107497 _ACEOF
107498 rm -f conftest.$ac_objext conftest$ac_exeext
107499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107500   (eval $ac_link) 2>conftest.er1
107501   ac_status=$?
107502   grep -v '^ *+' conftest.er1 >conftest.err
107503   rm -f conftest.er1
107504   cat conftest.err >&5
107505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107506   (exit $ac_status); } &&
107507          { ac_try='test -z "$ac_c_werror_flag"
107508                          || test ! -s conftest.err'
107509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107510   (eval $ac_try) 2>&5
107511   ac_status=$?
107512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107513   (exit $ac_status); }; } &&
107514          { ac_try='test -s conftest$ac_exeext'
107515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107516   (eval $ac_try) 2>&5
107517   ac_status=$?
107518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107519   (exit $ac_status); }; }; then
107520   glibcxx_cv_func___builtin_sinf_link=yes
107521 else
107522   echo "$as_me: failed program was:" >&5
107523 sed 's/^/| /' conftest.$ac_ext >&5
107524
107525 glibcxx_cv_func___builtin_sinf_link=no
107526 fi
107527 rm -f conftest.err conftest.$ac_objext \
107528       conftest$ac_exeext conftest.$ac_ext
107529
107530 fi
107531
107532     fi
107533     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
107534 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
107535
107536     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
107537
107538 cat >>confdefs.h <<\_ACEOF
107539 #define HAVE___BUILTIN_SINF 1
107540 _ACEOF
107541
107542     fi
107543
107544   fi
107545
107546
107547   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
107548 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
107549   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
107550     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
107551   echo $ECHO_N "(cached) $ECHO_C" >&6
107552 else
107553
107554
107555
107556       ac_ext=cc
107557 ac_cpp='$CXXCPP $CPPFLAGS'
107558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107561
107562       cat >conftest.$ac_ext <<_ACEOF
107563 /* confdefs.h.  */
107564 _ACEOF
107565 cat confdefs.h >>conftest.$ac_ext
107566 cat >>conftest.$ac_ext <<_ACEOF
107567 /* end confdefs.h.  */
107568 #include <math.h>
107569 int
107570 main ()
107571 {
107572  __builtin_sin(0);
107573   ;
107574   return 0;
107575 }
107576 _ACEOF
107577 rm -f conftest.$ac_objext
107578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107579   (eval $ac_compile) 2>conftest.er1
107580   ac_status=$?
107581   grep -v '^ *+' conftest.er1 >conftest.err
107582   rm -f conftest.er1
107583   cat conftest.err >&5
107584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107585   (exit $ac_status); } &&
107586          { ac_try='test -z "$ac_cxx_werror_flag"
107587                          || test ! -s conftest.err'
107588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107589   (eval $ac_try) 2>&5
107590   ac_status=$?
107591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107592   (exit $ac_status); }; } &&
107593          { ac_try='test -s conftest.$ac_objext'
107594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107595   (eval $ac_try) 2>&5
107596   ac_status=$?
107597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107598   (exit $ac_status); }; }; then
107599   glibcxx_cv_func___builtin_sin_use=yes
107600 else
107601   echo "$as_me: failed program was:" >&5
107602 sed 's/^/| /' conftest.$ac_ext >&5
107603
107604 glibcxx_cv_func___builtin_sin_use=no
107605 fi
107606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107607       ac_ext=c
107608 ac_cpp='$CPP $CPPFLAGS'
107609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107612
107613
107614 fi
107615
107616   fi
107617   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
107618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
107619   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
107620     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
107621 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
107622     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
107623       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
107624   echo $ECHO_N "(cached) $ECHO_C" >&6
107625 else
107626
107627         if test x$gcc_no_link = xyes; then
107628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107630    { (exit 1); exit 1; }; }
107631 fi
107632 cat >conftest.$ac_ext <<_ACEOF
107633 /* confdefs.h.  */
107634 _ACEOF
107635 cat confdefs.h >>conftest.$ac_ext
107636 cat >>conftest.$ac_ext <<_ACEOF
107637 /* end confdefs.h.  */
107638 #include <math.h>
107639 int
107640 main ()
107641 {
107642  __builtin_sin(0);
107643   ;
107644   return 0;
107645 }
107646 _ACEOF
107647 rm -f conftest.$ac_objext conftest$ac_exeext
107648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107649   (eval $ac_link) 2>conftest.er1
107650   ac_status=$?
107651   grep -v '^ *+' conftest.er1 >conftest.err
107652   rm -f conftest.er1
107653   cat conftest.err >&5
107654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107655   (exit $ac_status); } &&
107656          { ac_try='test -z "$ac_c_werror_flag"
107657                          || test ! -s conftest.err'
107658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107659   (eval $ac_try) 2>&5
107660   ac_status=$?
107661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107662   (exit $ac_status); }; } &&
107663          { ac_try='test -s conftest$ac_exeext'
107664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107665   (eval $ac_try) 2>&5
107666   ac_status=$?
107667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107668   (exit $ac_status); }; }; then
107669   glibcxx_cv_func___builtin_sin_link=yes
107670 else
107671   echo "$as_me: failed program was:" >&5
107672 sed 's/^/| /' conftest.$ac_ext >&5
107673
107674 glibcxx_cv_func___builtin_sin_link=no
107675 fi
107676 rm -f conftest.err conftest.$ac_objext \
107677       conftest$ac_exeext conftest.$ac_ext
107678
107679 fi
107680
107681     fi
107682     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
107683 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
107684
107685     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
107686
107687 cat >>confdefs.h <<\_ACEOF
107688 #define HAVE___BUILTIN_SIN 1
107689 _ACEOF
107690
107691     fi
107692
107693   fi
107694
107695
107696   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
107697 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
107698   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
107699     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
107700   echo $ECHO_N "(cached) $ECHO_C" >&6
107701 else
107702
107703
107704
107705       ac_ext=cc
107706 ac_cpp='$CXXCPP $CPPFLAGS'
107707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107710
107711       cat >conftest.$ac_ext <<_ACEOF
107712 /* confdefs.h.  */
107713 _ACEOF
107714 cat confdefs.h >>conftest.$ac_ext
107715 cat >>conftest.$ac_ext <<_ACEOF
107716 /* end confdefs.h.  */
107717 #include <math.h>
107718 int
107719 main ()
107720 {
107721  __builtin_sinl(0);
107722   ;
107723   return 0;
107724 }
107725 _ACEOF
107726 rm -f conftest.$ac_objext
107727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107728   (eval $ac_compile) 2>conftest.er1
107729   ac_status=$?
107730   grep -v '^ *+' conftest.er1 >conftest.err
107731   rm -f conftest.er1
107732   cat conftest.err >&5
107733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107734   (exit $ac_status); } &&
107735          { ac_try='test -z "$ac_cxx_werror_flag"
107736                          || test ! -s conftest.err'
107737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107738   (eval $ac_try) 2>&5
107739   ac_status=$?
107740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107741   (exit $ac_status); }; } &&
107742          { ac_try='test -s conftest.$ac_objext'
107743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107744   (eval $ac_try) 2>&5
107745   ac_status=$?
107746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107747   (exit $ac_status); }; }; then
107748   glibcxx_cv_func___builtin_sinl_use=yes
107749 else
107750   echo "$as_me: failed program was:" >&5
107751 sed 's/^/| /' conftest.$ac_ext >&5
107752
107753 glibcxx_cv_func___builtin_sinl_use=no
107754 fi
107755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107756       ac_ext=c
107757 ac_cpp='$CPP $CPPFLAGS'
107758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107761
107762
107763 fi
107764
107765   fi
107766   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
107767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
107768   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
107769     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
107770 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
107771     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
107772       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
107773   echo $ECHO_N "(cached) $ECHO_C" >&6
107774 else
107775
107776         if test x$gcc_no_link = xyes; then
107777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107779    { (exit 1); exit 1; }; }
107780 fi
107781 cat >conftest.$ac_ext <<_ACEOF
107782 /* confdefs.h.  */
107783 _ACEOF
107784 cat confdefs.h >>conftest.$ac_ext
107785 cat >>conftest.$ac_ext <<_ACEOF
107786 /* end confdefs.h.  */
107787 #include <math.h>
107788 int
107789 main ()
107790 {
107791  __builtin_sinl(0);
107792   ;
107793   return 0;
107794 }
107795 _ACEOF
107796 rm -f conftest.$ac_objext conftest$ac_exeext
107797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107798   (eval $ac_link) 2>conftest.er1
107799   ac_status=$?
107800   grep -v '^ *+' conftest.er1 >conftest.err
107801   rm -f conftest.er1
107802   cat conftest.err >&5
107803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107804   (exit $ac_status); } &&
107805          { ac_try='test -z "$ac_c_werror_flag"
107806                          || test ! -s conftest.err'
107807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107808   (eval $ac_try) 2>&5
107809   ac_status=$?
107810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107811   (exit $ac_status); }; } &&
107812          { ac_try='test -s conftest$ac_exeext'
107813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107814   (eval $ac_try) 2>&5
107815   ac_status=$?
107816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107817   (exit $ac_status); }; }; then
107818   glibcxx_cv_func___builtin_sinl_link=yes
107819 else
107820   echo "$as_me: failed program was:" >&5
107821 sed 's/^/| /' conftest.$ac_ext >&5
107822
107823 glibcxx_cv_func___builtin_sinl_link=no
107824 fi
107825 rm -f conftest.err conftest.$ac_objext \
107826       conftest$ac_exeext conftest.$ac_ext
107827
107828 fi
107829
107830     fi
107831     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
107832 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
107833
107834     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
107835
107836 cat >>confdefs.h <<\_ACEOF
107837 #define HAVE___BUILTIN_SINL 1
107838 _ACEOF
107839
107840     fi
107841
107842   fi
107843
107844
107845
107846   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
107847 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
107848   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
107849     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
107850   echo $ECHO_N "(cached) $ECHO_C" >&6
107851 else
107852
107853
107854
107855       ac_ext=cc
107856 ac_cpp='$CXXCPP $CPPFLAGS'
107857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107860
107861       cat >conftest.$ac_ext <<_ACEOF
107862 /* confdefs.h.  */
107863 _ACEOF
107864 cat confdefs.h >>conftest.$ac_ext
107865 cat >>conftest.$ac_ext <<_ACEOF
107866 /* end confdefs.h.  */
107867 #include <math.h>
107868 int
107869 main ()
107870 {
107871  __builtin_cosf(0);
107872   ;
107873   return 0;
107874 }
107875 _ACEOF
107876 rm -f conftest.$ac_objext
107877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107878   (eval $ac_compile) 2>conftest.er1
107879   ac_status=$?
107880   grep -v '^ *+' conftest.er1 >conftest.err
107881   rm -f conftest.er1
107882   cat conftest.err >&5
107883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107884   (exit $ac_status); } &&
107885          { ac_try='test -z "$ac_cxx_werror_flag"
107886                          || test ! -s conftest.err'
107887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107888   (eval $ac_try) 2>&5
107889   ac_status=$?
107890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107891   (exit $ac_status); }; } &&
107892          { ac_try='test -s conftest.$ac_objext'
107893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107894   (eval $ac_try) 2>&5
107895   ac_status=$?
107896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107897   (exit $ac_status); }; }; then
107898   glibcxx_cv_func___builtin_cosf_use=yes
107899 else
107900   echo "$as_me: failed program was:" >&5
107901 sed 's/^/| /' conftest.$ac_ext >&5
107902
107903 glibcxx_cv_func___builtin_cosf_use=no
107904 fi
107905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107906       ac_ext=c
107907 ac_cpp='$CPP $CPPFLAGS'
107908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107911
107912
107913 fi
107914
107915   fi
107916   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107917 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107918   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107919     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107920 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107921     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107922       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107923   echo $ECHO_N "(cached) $ECHO_C" >&6
107924 else
107925
107926         if test x$gcc_no_link = xyes; then
107927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107929    { (exit 1); exit 1; }; }
107930 fi
107931 cat >conftest.$ac_ext <<_ACEOF
107932 /* confdefs.h.  */
107933 _ACEOF
107934 cat confdefs.h >>conftest.$ac_ext
107935 cat >>conftest.$ac_ext <<_ACEOF
107936 /* end confdefs.h.  */
107937 #include <math.h>
107938 int
107939 main ()
107940 {
107941  __builtin_cosf(0);
107942   ;
107943   return 0;
107944 }
107945 _ACEOF
107946 rm -f conftest.$ac_objext conftest$ac_exeext
107947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107948   (eval $ac_link) 2>conftest.er1
107949   ac_status=$?
107950   grep -v '^ *+' conftest.er1 >conftest.err
107951   rm -f conftest.er1
107952   cat conftest.err >&5
107953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107954   (exit $ac_status); } &&
107955          { ac_try='test -z "$ac_c_werror_flag"
107956                          || test ! -s conftest.err'
107957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107958   (eval $ac_try) 2>&5
107959   ac_status=$?
107960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107961   (exit $ac_status); }; } &&
107962          { ac_try='test -s conftest$ac_exeext'
107963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107964   (eval $ac_try) 2>&5
107965   ac_status=$?
107966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107967   (exit $ac_status); }; }; then
107968   glibcxx_cv_func___builtin_cosf_link=yes
107969 else
107970   echo "$as_me: failed program was:" >&5
107971 sed 's/^/| /' conftest.$ac_ext >&5
107972
107973 glibcxx_cv_func___builtin_cosf_link=no
107974 fi
107975 rm -f conftest.err conftest.$ac_objext \
107976       conftest$ac_exeext conftest.$ac_ext
107977
107978 fi
107979
107980     fi
107981     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107982 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107983
107984     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107985
107986 cat >>confdefs.h <<\_ACEOF
107987 #define HAVE___BUILTIN_COSF 1
107988 _ACEOF
107989
107990     fi
107991
107992   fi
107993
107994
107995   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107996 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107997   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107998     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107999   echo $ECHO_N "(cached) $ECHO_C" >&6
108000 else
108001
108002
108003
108004       ac_ext=cc
108005 ac_cpp='$CXXCPP $CPPFLAGS'
108006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108009
108010       cat >conftest.$ac_ext <<_ACEOF
108011 /* confdefs.h.  */
108012 _ACEOF
108013 cat confdefs.h >>conftest.$ac_ext
108014 cat >>conftest.$ac_ext <<_ACEOF
108015 /* end confdefs.h.  */
108016 #include <math.h>
108017 int
108018 main ()
108019 {
108020  __builtin_cos(0);
108021   ;
108022   return 0;
108023 }
108024 _ACEOF
108025 rm -f conftest.$ac_objext
108026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108027   (eval $ac_compile) 2>conftest.er1
108028   ac_status=$?
108029   grep -v '^ *+' conftest.er1 >conftest.err
108030   rm -f conftest.er1
108031   cat conftest.err >&5
108032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108033   (exit $ac_status); } &&
108034          { ac_try='test -z "$ac_cxx_werror_flag"
108035                          || test ! -s conftest.err'
108036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108037   (eval $ac_try) 2>&5
108038   ac_status=$?
108039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108040   (exit $ac_status); }; } &&
108041          { ac_try='test -s conftest.$ac_objext'
108042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108043   (eval $ac_try) 2>&5
108044   ac_status=$?
108045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108046   (exit $ac_status); }; }; then
108047   glibcxx_cv_func___builtin_cos_use=yes
108048 else
108049   echo "$as_me: failed program was:" >&5
108050 sed 's/^/| /' conftest.$ac_ext >&5
108051
108052 glibcxx_cv_func___builtin_cos_use=no
108053 fi
108054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108055       ac_ext=c
108056 ac_cpp='$CPP $CPPFLAGS'
108057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108060
108061
108062 fi
108063
108064   fi
108065   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
108066 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
108067   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
108068     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
108069 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
108070     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
108071       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
108072   echo $ECHO_N "(cached) $ECHO_C" >&6
108073 else
108074
108075         if test x$gcc_no_link = xyes; then
108076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108078    { (exit 1); exit 1; }; }
108079 fi
108080 cat >conftest.$ac_ext <<_ACEOF
108081 /* confdefs.h.  */
108082 _ACEOF
108083 cat confdefs.h >>conftest.$ac_ext
108084 cat >>conftest.$ac_ext <<_ACEOF
108085 /* end confdefs.h.  */
108086 #include <math.h>
108087 int
108088 main ()
108089 {
108090  __builtin_cos(0);
108091   ;
108092   return 0;
108093 }
108094 _ACEOF
108095 rm -f conftest.$ac_objext conftest$ac_exeext
108096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108097   (eval $ac_link) 2>conftest.er1
108098   ac_status=$?
108099   grep -v '^ *+' conftest.er1 >conftest.err
108100   rm -f conftest.er1
108101   cat conftest.err >&5
108102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108103   (exit $ac_status); } &&
108104          { ac_try='test -z "$ac_c_werror_flag"
108105                          || test ! -s conftest.err'
108106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108107   (eval $ac_try) 2>&5
108108   ac_status=$?
108109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108110   (exit $ac_status); }; } &&
108111          { ac_try='test -s conftest$ac_exeext'
108112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108113   (eval $ac_try) 2>&5
108114   ac_status=$?
108115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108116   (exit $ac_status); }; }; then
108117   glibcxx_cv_func___builtin_cos_link=yes
108118 else
108119   echo "$as_me: failed program was:" >&5
108120 sed 's/^/| /' conftest.$ac_ext >&5
108121
108122 glibcxx_cv_func___builtin_cos_link=no
108123 fi
108124 rm -f conftest.err conftest.$ac_objext \
108125       conftest$ac_exeext conftest.$ac_ext
108126
108127 fi
108128
108129     fi
108130     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
108131 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
108132
108133     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
108134
108135 cat >>confdefs.h <<\_ACEOF
108136 #define HAVE___BUILTIN_COS 1
108137 _ACEOF
108138
108139     fi
108140
108141   fi
108142
108143
108144   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
108145 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
108146   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
108147     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
108148   echo $ECHO_N "(cached) $ECHO_C" >&6
108149 else
108150
108151
108152
108153       ac_ext=cc
108154 ac_cpp='$CXXCPP $CPPFLAGS'
108155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108158
108159       cat >conftest.$ac_ext <<_ACEOF
108160 /* confdefs.h.  */
108161 _ACEOF
108162 cat confdefs.h >>conftest.$ac_ext
108163 cat >>conftest.$ac_ext <<_ACEOF
108164 /* end confdefs.h.  */
108165 #include <math.h>
108166 int
108167 main ()
108168 {
108169  __builtin_cosl(0);
108170   ;
108171   return 0;
108172 }
108173 _ACEOF
108174 rm -f conftest.$ac_objext
108175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108176   (eval $ac_compile) 2>conftest.er1
108177   ac_status=$?
108178   grep -v '^ *+' conftest.er1 >conftest.err
108179   rm -f conftest.er1
108180   cat conftest.err >&5
108181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108182   (exit $ac_status); } &&
108183          { ac_try='test -z "$ac_cxx_werror_flag"
108184                          || test ! -s conftest.err'
108185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108186   (eval $ac_try) 2>&5
108187   ac_status=$?
108188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108189   (exit $ac_status); }; } &&
108190          { ac_try='test -s conftest.$ac_objext'
108191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108192   (eval $ac_try) 2>&5
108193   ac_status=$?
108194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108195   (exit $ac_status); }; }; then
108196   glibcxx_cv_func___builtin_cosl_use=yes
108197 else
108198   echo "$as_me: failed program was:" >&5
108199 sed 's/^/| /' conftest.$ac_ext >&5
108200
108201 glibcxx_cv_func___builtin_cosl_use=no
108202 fi
108203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108204       ac_ext=c
108205 ac_cpp='$CPP $CPPFLAGS'
108206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108209
108210
108211 fi
108212
108213   fi
108214   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
108215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
108216   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
108217     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
108218 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
108219     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
108220       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
108221   echo $ECHO_N "(cached) $ECHO_C" >&6
108222 else
108223
108224         if test x$gcc_no_link = xyes; then
108225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108227    { (exit 1); exit 1; }; }
108228 fi
108229 cat >conftest.$ac_ext <<_ACEOF
108230 /* confdefs.h.  */
108231 _ACEOF
108232 cat confdefs.h >>conftest.$ac_ext
108233 cat >>conftest.$ac_ext <<_ACEOF
108234 /* end confdefs.h.  */
108235 #include <math.h>
108236 int
108237 main ()
108238 {
108239  __builtin_cosl(0);
108240   ;
108241   return 0;
108242 }
108243 _ACEOF
108244 rm -f conftest.$ac_objext conftest$ac_exeext
108245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108246   (eval $ac_link) 2>conftest.er1
108247   ac_status=$?
108248   grep -v '^ *+' conftest.er1 >conftest.err
108249   rm -f conftest.er1
108250   cat conftest.err >&5
108251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108252   (exit $ac_status); } &&
108253          { ac_try='test -z "$ac_c_werror_flag"
108254                          || test ! -s conftest.err'
108255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108256   (eval $ac_try) 2>&5
108257   ac_status=$?
108258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108259   (exit $ac_status); }; } &&
108260          { ac_try='test -s conftest$ac_exeext'
108261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108262   (eval $ac_try) 2>&5
108263   ac_status=$?
108264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108265   (exit $ac_status); }; }; then
108266   glibcxx_cv_func___builtin_cosl_link=yes
108267 else
108268   echo "$as_me: failed program was:" >&5
108269 sed 's/^/| /' conftest.$ac_ext >&5
108270
108271 glibcxx_cv_func___builtin_cosl_link=no
108272 fi
108273 rm -f conftest.err conftest.$ac_objext \
108274       conftest$ac_exeext conftest.$ac_ext
108275
108276 fi
108277
108278     fi
108279     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
108280 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
108281
108282     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
108283
108284 cat >>confdefs.h <<\_ACEOF
108285 #define HAVE___BUILTIN_COSL 1
108286 _ACEOF
108287
108288     fi
108289
108290   fi
108291
108292
108293
108294
108295 echo "$as_me:$LINENO: checking for main in -lm" >&5
108296 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108297 if test "${ac_cv_lib_m_main+set}" = set; then
108298   echo $ECHO_N "(cached) $ECHO_C" >&6
108299 else
108300   ac_check_lib_save_LIBS=$LIBS
108301 LIBS="-lm  $LIBS"
108302 if test x$gcc_no_link = xyes; then
108303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108305    { (exit 1); exit 1; }; }
108306 fi
108307 cat >conftest.$ac_ext <<_ACEOF
108308 /* confdefs.h.  */
108309 _ACEOF
108310 cat confdefs.h >>conftest.$ac_ext
108311 cat >>conftest.$ac_ext <<_ACEOF
108312 /* end confdefs.h.  */
108313
108314
108315 int
108316 main ()
108317 {
108318 main ();
108319   ;
108320   return 0;
108321 }
108322 _ACEOF
108323 rm -f conftest.$ac_objext conftest$ac_exeext
108324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108325   (eval $ac_link) 2>conftest.er1
108326   ac_status=$?
108327   grep -v '^ *+' conftest.er1 >conftest.err
108328   rm -f conftest.er1
108329   cat conftest.err >&5
108330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108331   (exit $ac_status); } &&
108332          { ac_try='test -z "$ac_c_werror_flag"
108333                          || test ! -s conftest.err'
108334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108335   (eval $ac_try) 2>&5
108336   ac_status=$?
108337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108338   (exit $ac_status); }; } &&
108339          { ac_try='test -s conftest$ac_exeext'
108340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108341   (eval $ac_try) 2>&5
108342   ac_status=$?
108343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108344   (exit $ac_status); }; }; then
108345   ac_cv_lib_m_main=yes
108346 else
108347   echo "$as_me: failed program was:" >&5
108348 sed 's/^/| /' conftest.$ac_ext >&5
108349
108350 ac_cv_lib_m_main=no
108351 fi
108352 rm -f conftest.err conftest.$ac_objext \
108353       conftest$ac_exeext conftest.$ac_ext
108354 LIBS=$ac_check_lib_save_LIBS
108355 fi
108356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108357 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108358 if test $ac_cv_lib_m_main = yes; then
108359   cat >>confdefs.h <<_ACEOF
108360 #define HAVE_LIBM 1
108361 _ACEOF
108362
108363   LIBS="-lm $LIBS"
108364
108365 fi
108366
108367
108368 for ac_func in copysignf
108369 do
108370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108371 echo "$as_me:$LINENO: checking for $ac_func" >&5
108372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108373 if eval "test \"\${$as_ac_var+set}\" = set"; then
108374   echo $ECHO_N "(cached) $ECHO_C" >&6
108375 else
108376   if test x$gcc_no_link = xyes; then
108377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108379    { (exit 1); exit 1; }; }
108380 fi
108381 cat >conftest.$ac_ext <<_ACEOF
108382 /* confdefs.h.  */
108383 _ACEOF
108384 cat confdefs.h >>conftest.$ac_ext
108385 cat >>conftest.$ac_ext <<_ACEOF
108386 /* end confdefs.h.  */
108387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108389 #define $ac_func innocuous_$ac_func
108390
108391 /* System header to define __stub macros and hopefully few prototypes,
108392     which can conflict with char $ac_func (); below.
108393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108394     <limits.h> exists even on freestanding compilers.  */
108395
108396 #ifdef __STDC__
108397 # include <limits.h>
108398 #else
108399 # include <assert.h>
108400 #endif
108401
108402 #undef $ac_func
108403
108404 /* Override any gcc2 internal prototype to avoid an error.  */
108405 #ifdef __cplusplus
108406 extern "C"
108407 {
108408 #endif
108409 /* We use char because int might match the return type of a gcc2
108410    builtin and then its argument prototype would still apply.  */
108411 char $ac_func ();
108412 /* The GNU C library defines this for functions which it implements
108413     to always fail with ENOSYS.  Some functions are actually named
108414     something starting with __ and the normal name is an alias.  */
108415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108416 choke me
108417 #else
108418 char (*f) () = $ac_func;
108419 #endif
108420 #ifdef __cplusplus
108421 }
108422 #endif
108423
108424 int
108425 main ()
108426 {
108427 return f != $ac_func;
108428   ;
108429   return 0;
108430 }
108431 _ACEOF
108432 rm -f conftest.$ac_objext conftest$ac_exeext
108433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108434   (eval $ac_link) 2>conftest.er1
108435   ac_status=$?
108436   grep -v '^ *+' conftest.er1 >conftest.err
108437   rm -f conftest.er1
108438   cat conftest.err >&5
108439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108440   (exit $ac_status); } &&
108441          { ac_try='test -z "$ac_c_werror_flag"
108442                          || test ! -s conftest.err'
108443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108444   (eval $ac_try) 2>&5
108445   ac_status=$?
108446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108447   (exit $ac_status); }; } &&
108448          { ac_try='test -s conftest$ac_exeext'
108449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108450   (eval $ac_try) 2>&5
108451   ac_status=$?
108452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108453   (exit $ac_status); }; }; then
108454   eval "$as_ac_var=yes"
108455 else
108456   echo "$as_me: failed program was:" >&5
108457 sed 's/^/| /' conftest.$ac_ext >&5
108458
108459 eval "$as_ac_var=no"
108460 fi
108461 rm -f conftest.err conftest.$ac_objext \
108462       conftest$ac_exeext conftest.$ac_ext
108463 fi
108464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108466 if test `eval echo '${'$as_ac_var'}'` = yes; then
108467   cat >>confdefs.h <<_ACEOF
108468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108469 _ACEOF
108470
108471 else
108472   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108473 fi
108474 done
108475
108476
108477
108478 for ac_func in __signbit
108479 do
108480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108481 echo "$as_me:$LINENO: checking for $ac_func" >&5
108482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108483 if eval "test \"\${$as_ac_var+set}\" = set"; then
108484   echo $ECHO_N "(cached) $ECHO_C" >&6
108485 else
108486   if test x$gcc_no_link = xyes; then
108487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108489    { (exit 1); exit 1; }; }
108490 fi
108491 cat >conftest.$ac_ext <<_ACEOF
108492 /* confdefs.h.  */
108493 _ACEOF
108494 cat confdefs.h >>conftest.$ac_ext
108495 cat >>conftest.$ac_ext <<_ACEOF
108496 /* end confdefs.h.  */
108497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108499 #define $ac_func innocuous_$ac_func
108500
108501 /* System header to define __stub macros and hopefully few prototypes,
108502     which can conflict with char $ac_func (); below.
108503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108504     <limits.h> exists even on freestanding compilers.  */
108505
108506 #ifdef __STDC__
108507 # include <limits.h>
108508 #else
108509 # include <assert.h>
108510 #endif
108511
108512 #undef $ac_func
108513
108514 /* Override any gcc2 internal prototype to avoid an error.  */
108515 #ifdef __cplusplus
108516 extern "C"
108517 {
108518 #endif
108519 /* We use char because int might match the return type of a gcc2
108520    builtin and then its argument prototype would still apply.  */
108521 char $ac_func ();
108522 /* The GNU C library defines this for functions which it implements
108523     to always fail with ENOSYS.  Some functions are actually named
108524     something starting with __ and the normal name is an alias.  */
108525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108526 choke me
108527 #else
108528 char (*f) () = $ac_func;
108529 #endif
108530 #ifdef __cplusplus
108531 }
108532 #endif
108533
108534 int
108535 main ()
108536 {
108537 return f != $ac_func;
108538   ;
108539   return 0;
108540 }
108541 _ACEOF
108542 rm -f conftest.$ac_objext conftest$ac_exeext
108543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108544   (eval $ac_link) 2>conftest.er1
108545   ac_status=$?
108546   grep -v '^ *+' conftest.er1 >conftest.err
108547   rm -f conftest.er1
108548   cat conftest.err >&5
108549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108550   (exit $ac_status); } &&
108551          { ac_try='test -z "$ac_c_werror_flag"
108552                          || test ! -s conftest.err'
108553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108554   (eval $ac_try) 2>&5
108555   ac_status=$?
108556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108557   (exit $ac_status); }; } &&
108558          { ac_try='test -s conftest$ac_exeext'
108559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108560   (eval $ac_try) 2>&5
108561   ac_status=$?
108562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108563   (exit $ac_status); }; }; then
108564   eval "$as_ac_var=yes"
108565 else
108566   echo "$as_me: failed program was:" >&5
108567 sed 's/^/| /' conftest.$ac_ext >&5
108568
108569 eval "$as_ac_var=no"
108570 fi
108571 rm -f conftest.err conftest.$ac_objext \
108572       conftest$ac_exeext conftest.$ac_ext
108573 fi
108574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108576 if test `eval echo '${'$as_ac_var'}'` = yes; then
108577   cat >>confdefs.h <<_ACEOF
108578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108579 _ACEOF
108580
108581 else
108582   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108583 fi
108584 done
108585
108586
108587
108588 for ac_func in __signbitf
108589 do
108590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108591 echo "$as_me:$LINENO: checking for $ac_func" >&5
108592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108593 if eval "test \"\${$as_ac_var+set}\" = set"; then
108594   echo $ECHO_N "(cached) $ECHO_C" >&6
108595 else
108596   if test x$gcc_no_link = xyes; then
108597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108599    { (exit 1); exit 1; }; }
108600 fi
108601 cat >conftest.$ac_ext <<_ACEOF
108602 /* confdefs.h.  */
108603 _ACEOF
108604 cat confdefs.h >>conftest.$ac_ext
108605 cat >>conftest.$ac_ext <<_ACEOF
108606 /* end confdefs.h.  */
108607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108609 #define $ac_func innocuous_$ac_func
108610
108611 /* System header to define __stub macros and hopefully few prototypes,
108612     which can conflict with char $ac_func (); below.
108613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108614     <limits.h> exists even on freestanding compilers.  */
108615
108616 #ifdef __STDC__
108617 # include <limits.h>
108618 #else
108619 # include <assert.h>
108620 #endif
108621
108622 #undef $ac_func
108623
108624 /* Override any gcc2 internal prototype to avoid an error.  */
108625 #ifdef __cplusplus
108626 extern "C"
108627 {
108628 #endif
108629 /* We use char because int might match the return type of a gcc2
108630    builtin and then its argument prototype would still apply.  */
108631 char $ac_func ();
108632 /* The GNU C library defines this for functions which it implements
108633     to always fail with ENOSYS.  Some functions are actually named
108634     something starting with __ and the normal name is an alias.  */
108635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108636 choke me
108637 #else
108638 char (*f) () = $ac_func;
108639 #endif
108640 #ifdef __cplusplus
108641 }
108642 #endif
108643
108644 int
108645 main ()
108646 {
108647 return f != $ac_func;
108648   ;
108649   return 0;
108650 }
108651 _ACEOF
108652 rm -f conftest.$ac_objext conftest$ac_exeext
108653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108654   (eval $ac_link) 2>conftest.er1
108655   ac_status=$?
108656   grep -v '^ *+' conftest.er1 >conftest.err
108657   rm -f conftest.er1
108658   cat conftest.err >&5
108659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108660   (exit $ac_status); } &&
108661          { ac_try='test -z "$ac_c_werror_flag"
108662                          || test ! -s conftest.err'
108663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108664   (eval $ac_try) 2>&5
108665   ac_status=$?
108666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108667   (exit $ac_status); }; } &&
108668          { ac_try='test -s conftest$ac_exeext'
108669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108670   (eval $ac_try) 2>&5
108671   ac_status=$?
108672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108673   (exit $ac_status); }; }; then
108674   eval "$as_ac_var=yes"
108675 else
108676   echo "$as_me: failed program was:" >&5
108677 sed 's/^/| /' conftest.$ac_ext >&5
108678
108679 eval "$as_ac_var=no"
108680 fi
108681 rm -f conftest.err conftest.$ac_objext \
108682       conftest$ac_exeext conftest.$ac_ext
108683 fi
108684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108686 if test `eval echo '${'$as_ac_var'}'` = yes; then
108687   cat >>confdefs.h <<_ACEOF
108688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108689 _ACEOF
108690
108691 else
108692   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108693 fi
108694 done
108695
108696
108697           if test x$ac_cv_func_copysignl = x"yes"; then
108698
108699 for ac_func in __signbitl
108700 do
108701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108702 echo "$as_me:$LINENO: checking for $ac_func" >&5
108703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108704 if eval "test \"\${$as_ac_var+set}\" = set"; then
108705   echo $ECHO_N "(cached) $ECHO_C" >&6
108706 else
108707   if test x$gcc_no_link = xyes; then
108708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108710    { (exit 1); exit 1; }; }
108711 fi
108712 cat >conftest.$ac_ext <<_ACEOF
108713 /* confdefs.h.  */
108714 _ACEOF
108715 cat confdefs.h >>conftest.$ac_ext
108716 cat >>conftest.$ac_ext <<_ACEOF
108717 /* end confdefs.h.  */
108718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108720 #define $ac_func innocuous_$ac_func
108721
108722 /* System header to define __stub macros and hopefully few prototypes,
108723     which can conflict with char $ac_func (); below.
108724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108725     <limits.h> exists even on freestanding compilers.  */
108726
108727 #ifdef __STDC__
108728 # include <limits.h>
108729 #else
108730 # include <assert.h>
108731 #endif
108732
108733 #undef $ac_func
108734
108735 /* Override any gcc2 internal prototype to avoid an error.  */
108736 #ifdef __cplusplus
108737 extern "C"
108738 {
108739 #endif
108740 /* We use char because int might match the return type of a gcc2
108741    builtin and then its argument prototype would still apply.  */
108742 char $ac_func ();
108743 /* The GNU C library defines this for functions which it implements
108744     to always fail with ENOSYS.  Some functions are actually named
108745     something starting with __ and the normal name is an alias.  */
108746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108747 choke me
108748 #else
108749 char (*f) () = $ac_func;
108750 #endif
108751 #ifdef __cplusplus
108752 }
108753 #endif
108754
108755 int
108756 main ()
108757 {
108758 return f != $ac_func;
108759   ;
108760   return 0;
108761 }
108762 _ACEOF
108763 rm -f conftest.$ac_objext conftest$ac_exeext
108764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108765   (eval $ac_link) 2>conftest.er1
108766   ac_status=$?
108767   grep -v '^ *+' conftest.er1 >conftest.err
108768   rm -f conftest.er1
108769   cat conftest.err >&5
108770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108771   (exit $ac_status); } &&
108772          { ac_try='test -z "$ac_c_werror_flag"
108773                          || test ! -s conftest.err'
108774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108775   (eval $ac_try) 2>&5
108776   ac_status=$?
108777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108778   (exit $ac_status); }; } &&
108779          { ac_try='test -s conftest$ac_exeext'
108780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108781   (eval $ac_try) 2>&5
108782   ac_status=$?
108783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108784   (exit $ac_status); }; }; then
108785   eval "$as_ac_var=yes"
108786 else
108787   echo "$as_me: failed program was:" >&5
108788 sed 's/^/| /' conftest.$ac_ext >&5
108789
108790 eval "$as_ac_var=no"
108791 fi
108792 rm -f conftest.err conftest.$ac_objext \
108793       conftest$ac_exeext conftest.$ac_ext
108794 fi
108795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108797 if test `eval echo '${'$as_ac_var'}'` = yes; then
108798   cat >>confdefs.h <<_ACEOF
108799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108800 _ACEOF
108801
108802 else
108803   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108804 fi
108805 done
108806
108807   fi
108808
108809   # Used in libmath/Makefile.am.
108810   if test -n "$LIBMATHOBJS"; then
108811     need_libmath=yes
108812   fi
108813
108814
108815
108816   ac_test_CXXFLAGS="${CXXFLAGS+set}"
108817   ac_save_CXXFLAGS="$CXXFLAGS"
108818   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
108819
108820
108821   echo "$as_me:$LINENO: checking for strtold declaration" >&5
108822 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
108823   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
108824     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
108825   echo $ECHO_N "(cached) $ECHO_C" >&6
108826 else
108827
108828
108829
108830       ac_ext=cc
108831 ac_cpp='$CXXCPP $CPPFLAGS'
108832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108835
108836       cat >conftest.$ac_ext <<_ACEOF
108837 /* confdefs.h.  */
108838 _ACEOF
108839 cat confdefs.h >>conftest.$ac_ext
108840 cat >>conftest.$ac_ext <<_ACEOF
108841 /* end confdefs.h.  */
108842 #include <stdlib.h>
108843 int
108844 main ()
108845 {
108846  strtold(0, 0);
108847   ;
108848   return 0;
108849 }
108850 _ACEOF
108851 rm -f conftest.$ac_objext
108852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108853   (eval $ac_compile) 2>conftest.er1
108854   ac_status=$?
108855   grep -v '^ *+' conftest.er1 >conftest.err
108856   rm -f conftest.er1
108857   cat conftest.err >&5
108858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108859   (exit $ac_status); } &&
108860          { ac_try='test -z "$ac_cxx_werror_flag"
108861                          || test ! -s conftest.err'
108862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108863   (eval $ac_try) 2>&5
108864   ac_status=$?
108865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108866   (exit $ac_status); }; } &&
108867          { ac_try='test -s conftest.$ac_objext'
108868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108869   (eval $ac_try) 2>&5
108870   ac_status=$?
108871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108872   (exit $ac_status); }; }; then
108873   glibcxx_cv_func_strtold_use=yes
108874 else
108875   echo "$as_me: failed program was:" >&5
108876 sed 's/^/| /' conftest.$ac_ext >&5
108877
108878 glibcxx_cv_func_strtold_use=no
108879 fi
108880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108881       ac_ext=c
108882 ac_cpp='$CPP $CPPFLAGS'
108883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108886
108887
108888 fi
108889
108890   fi
108891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
108892 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
108893   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
108894
108895 for ac_func in strtold
108896 do
108897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108898 echo "$as_me:$LINENO: checking for $ac_func" >&5
108899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108900 if eval "test \"\${$as_ac_var+set}\" = set"; then
108901   echo $ECHO_N "(cached) $ECHO_C" >&6
108902 else
108903   if test x$gcc_no_link = xyes; then
108904   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108906    { (exit 1); exit 1; }; }
108907 fi
108908 cat >conftest.$ac_ext <<_ACEOF
108909 /* confdefs.h.  */
108910 _ACEOF
108911 cat confdefs.h >>conftest.$ac_ext
108912 cat >>conftest.$ac_ext <<_ACEOF
108913 /* end confdefs.h.  */
108914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108916 #define $ac_func innocuous_$ac_func
108917
108918 /* System header to define __stub macros and hopefully few prototypes,
108919     which can conflict with char $ac_func (); below.
108920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108921     <limits.h> exists even on freestanding compilers.  */
108922
108923 #ifdef __STDC__
108924 # include <limits.h>
108925 #else
108926 # include <assert.h>
108927 #endif
108928
108929 #undef $ac_func
108930
108931 /* Override any gcc2 internal prototype to avoid an error.  */
108932 #ifdef __cplusplus
108933 extern "C"
108934 {
108935 #endif
108936 /* We use char because int might match the return type of a gcc2
108937    builtin and then its argument prototype would still apply.  */
108938 char $ac_func ();
108939 /* The GNU C library defines this for functions which it implements
108940     to always fail with ENOSYS.  Some functions are actually named
108941     something starting with __ and the normal name is an alias.  */
108942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108943 choke me
108944 #else
108945 char (*f) () = $ac_func;
108946 #endif
108947 #ifdef __cplusplus
108948 }
108949 #endif
108950
108951 int
108952 main ()
108953 {
108954 return f != $ac_func;
108955   ;
108956   return 0;
108957 }
108958 _ACEOF
108959 rm -f conftest.$ac_objext conftest$ac_exeext
108960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108961   (eval $ac_link) 2>conftest.er1
108962   ac_status=$?
108963   grep -v '^ *+' conftest.er1 >conftest.err
108964   rm -f conftest.er1
108965   cat conftest.err >&5
108966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108967   (exit $ac_status); } &&
108968          { ac_try='test -z "$ac_c_werror_flag"
108969                          || test ! -s conftest.err'
108970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108971   (eval $ac_try) 2>&5
108972   ac_status=$?
108973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108974   (exit $ac_status); }; } &&
108975          { ac_try='test -s conftest$ac_exeext'
108976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108977   (eval $ac_try) 2>&5
108978   ac_status=$?
108979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108980   (exit $ac_status); }; }; then
108981   eval "$as_ac_var=yes"
108982 else
108983   echo "$as_me: failed program was:" >&5
108984 sed 's/^/| /' conftest.$ac_ext >&5
108985
108986 eval "$as_ac_var=no"
108987 fi
108988 rm -f conftest.err conftest.$ac_objext \
108989       conftest$ac_exeext conftest.$ac_ext
108990 fi
108991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108993 if test `eval echo '${'$as_ac_var'}'` = yes; then
108994   cat >>confdefs.h <<_ACEOF
108995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108996 _ACEOF
108997
108998 fi
108999 done
109000
109001   fi
109002
109003
109004
109005
109006
109007   echo "$as_me:$LINENO: checking for strtof declaration" >&5
109008 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
109009   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
109010     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
109011   echo $ECHO_N "(cached) $ECHO_C" >&6
109012 else
109013
109014
109015
109016       ac_ext=cc
109017 ac_cpp='$CXXCPP $CPPFLAGS'
109018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109021
109022       cat >conftest.$ac_ext <<_ACEOF
109023 /* confdefs.h.  */
109024 _ACEOF
109025 cat confdefs.h >>conftest.$ac_ext
109026 cat >>conftest.$ac_ext <<_ACEOF
109027 /* end confdefs.h.  */
109028 #include <stdlib.h>
109029 int
109030 main ()
109031 {
109032  strtof(0, 0);
109033   ;
109034   return 0;
109035 }
109036 _ACEOF
109037 rm -f conftest.$ac_objext
109038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109039   (eval $ac_compile) 2>conftest.er1
109040   ac_status=$?
109041   grep -v '^ *+' conftest.er1 >conftest.err
109042   rm -f conftest.er1
109043   cat conftest.err >&5
109044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109045   (exit $ac_status); } &&
109046          { ac_try='test -z "$ac_cxx_werror_flag"
109047                          || test ! -s conftest.err'
109048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109049   (eval $ac_try) 2>&5
109050   ac_status=$?
109051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109052   (exit $ac_status); }; } &&
109053          { ac_try='test -s conftest.$ac_objext'
109054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109055   (eval $ac_try) 2>&5
109056   ac_status=$?
109057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109058   (exit $ac_status); }; }; then
109059   glibcxx_cv_func_strtof_use=yes
109060 else
109061   echo "$as_me: failed program was:" >&5
109062 sed 's/^/| /' conftest.$ac_ext >&5
109063
109064 glibcxx_cv_func_strtof_use=no
109065 fi
109066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109067       ac_ext=c
109068 ac_cpp='$CPP $CPPFLAGS'
109069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109072
109073
109074 fi
109075
109076   fi
109077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
109078 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
109079   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
109080
109081 for ac_func in strtof
109082 do
109083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109084 echo "$as_me:$LINENO: checking for $ac_func" >&5
109085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109086 if eval "test \"\${$as_ac_var+set}\" = set"; then
109087   echo $ECHO_N "(cached) $ECHO_C" >&6
109088 else
109089   if test x$gcc_no_link = xyes; then
109090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109092    { (exit 1); exit 1; }; }
109093 fi
109094 cat >conftest.$ac_ext <<_ACEOF
109095 /* confdefs.h.  */
109096 _ACEOF
109097 cat confdefs.h >>conftest.$ac_ext
109098 cat >>conftest.$ac_ext <<_ACEOF
109099 /* end confdefs.h.  */
109100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109102 #define $ac_func innocuous_$ac_func
109103
109104 /* System header to define __stub macros and hopefully few prototypes,
109105     which can conflict with char $ac_func (); below.
109106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109107     <limits.h> exists even on freestanding compilers.  */
109108
109109 #ifdef __STDC__
109110 # include <limits.h>
109111 #else
109112 # include <assert.h>
109113 #endif
109114
109115 #undef $ac_func
109116
109117 /* Override any gcc2 internal prototype to avoid an error.  */
109118 #ifdef __cplusplus
109119 extern "C"
109120 {
109121 #endif
109122 /* We use char because int might match the return type of a gcc2
109123    builtin and then its argument prototype would still apply.  */
109124 char $ac_func ();
109125 /* The GNU C library defines this for functions which it implements
109126     to always fail with ENOSYS.  Some functions are actually named
109127     something starting with __ and the normal name is an alias.  */
109128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109129 choke me
109130 #else
109131 char (*f) () = $ac_func;
109132 #endif
109133 #ifdef __cplusplus
109134 }
109135 #endif
109136
109137 int
109138 main ()
109139 {
109140 return f != $ac_func;
109141   ;
109142   return 0;
109143 }
109144 _ACEOF
109145 rm -f conftest.$ac_objext conftest$ac_exeext
109146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109147   (eval $ac_link) 2>conftest.er1
109148   ac_status=$?
109149   grep -v '^ *+' conftest.er1 >conftest.err
109150   rm -f conftest.er1
109151   cat conftest.err >&5
109152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109153   (exit $ac_status); } &&
109154          { ac_try='test -z "$ac_c_werror_flag"
109155                          || test ! -s conftest.err'
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); }; } &&
109161          { ac_try='test -s conftest$ac_exeext'
109162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109163   (eval $ac_try) 2>&5
109164   ac_status=$?
109165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109166   (exit $ac_status); }; }; then
109167   eval "$as_ac_var=yes"
109168 else
109169   echo "$as_me: failed program was:" >&5
109170 sed 's/^/| /' conftest.$ac_ext >&5
109171
109172 eval "$as_ac_var=no"
109173 fi
109174 rm -f conftest.err conftest.$ac_objext \
109175       conftest$ac_exeext conftest.$ac_ext
109176 fi
109177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109179 if test `eval echo '${'$as_ac_var'}'` = yes; then
109180   cat >>confdefs.h <<_ACEOF
109181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109182 _ACEOF
109183
109184 fi
109185 done
109186
109187   fi
109188
109189
109190
109191
109192
109193   CXXFLAGS="$ac_save_CXXFLAGS"
109194
109195
109196     # For LFS.
109197     cat >>confdefs.h <<\_ACEOF
109198 #define HAVE_INT64_T 1
109199 _ACEOF
109200
109201
109202
109203
109204   ac_ext=cc
109205 ac_cpp='$CXXCPP $CPPFLAGS'
109206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109209
109210   ac_save_CXXFLAGS="$CXXFLAGS"
109211   CXXFLAGS="$CXXFLAGS -fno-exceptions"
109212   echo "$as_me:$LINENO: checking for LFS support" >&5
109213 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
109214   if test "${glibcxx_cv_LFS+set}" = set; then
109215   echo $ECHO_N "(cached) $ECHO_C" >&6
109216 else
109217
109218     if test x$gcc_no_link = xyes; then
109219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109221    { (exit 1); exit 1; }; }
109222 fi
109223 cat >conftest.$ac_ext <<_ACEOF
109224 /* confdefs.h.  */
109225 _ACEOF
109226 cat confdefs.h >>conftest.$ac_ext
109227 cat >>conftest.$ac_ext <<_ACEOF
109228 /* end confdefs.h.  */
109229 #include <unistd.h>
109230        #include <stdio.h>
109231        #include <sys/stat.h>
109232
109233 int
109234 main ()
109235 {
109236 FILE* fp;
109237        fopen64("t", "w");
109238        fseeko64(fp, 0, SEEK_CUR);
109239        ftello64(fp);
109240        lseek64(1, 0, SEEK_CUR);
109241        struct stat64 buf;
109242        fstat64(1, &buf);
109243   ;
109244   return 0;
109245 }
109246 _ACEOF
109247 rm -f conftest.$ac_objext conftest$ac_exeext
109248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109249   (eval $ac_link) 2>conftest.er1
109250   ac_status=$?
109251   grep -v '^ *+' conftest.er1 >conftest.err
109252   rm -f conftest.er1
109253   cat conftest.err >&5
109254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109255   (exit $ac_status); } &&
109256          { ac_try='test -z "$ac_cxx_werror_flag"
109257                          || test ! -s conftest.err'
109258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109259   (eval $ac_try) 2>&5
109260   ac_status=$?
109261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109262   (exit $ac_status); }; } &&
109263          { ac_try='test -s conftest$ac_exeext'
109264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109265   (eval $ac_try) 2>&5
109266   ac_status=$?
109267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109268   (exit $ac_status); }; }; then
109269   glibcxx_cv_LFS=yes
109270 else
109271   echo "$as_me: failed program was:" >&5
109272 sed 's/^/| /' conftest.$ac_ext >&5
109273
109274 glibcxx_cv_LFS=no
109275 fi
109276 rm -f conftest.err conftest.$ac_objext \
109277       conftest$ac_exeext conftest.$ac_ext
109278
109279 fi
109280
109281   if test $glibcxx_cv_LFS = yes; then
109282
109283 cat >>confdefs.h <<\_ACEOF
109284 #define _GLIBCXX_USE_LFS 1
109285 _ACEOF
109286
109287   fi
109288   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
109289 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
109290   CXXFLAGS="$ac_save_CXXFLAGS"
109291   ac_ext=c
109292 ac_cpp='$CPP $CPPFLAGS'
109293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109296
109297
109298
109299     # For showmanyc_helper().
109300
109301
109302 for ac_header in sys/ioctl.h sys/filio.h
109303 do
109304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109306   echo "$as_me:$LINENO: checking for $ac_header" >&5
109307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109309   echo $ECHO_N "(cached) $ECHO_C" >&6
109310 fi
109311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109313 else
109314   # Is the header compilable?
109315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109317 cat >conftest.$ac_ext <<_ACEOF
109318 /* confdefs.h.  */
109319 _ACEOF
109320 cat confdefs.h >>conftest.$ac_ext
109321 cat >>conftest.$ac_ext <<_ACEOF
109322 /* end confdefs.h.  */
109323 $ac_includes_default
109324 #include <$ac_header>
109325 _ACEOF
109326 rm -f conftest.$ac_objext
109327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109328   (eval $ac_compile) 2>conftest.er1
109329   ac_status=$?
109330   grep -v '^ *+' conftest.er1 >conftest.err
109331   rm -f conftest.er1
109332   cat conftest.err >&5
109333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109334   (exit $ac_status); } &&
109335          { ac_try='test -z "$ac_c_werror_flag"
109336                          || test ! -s conftest.err'
109337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109338   (eval $ac_try) 2>&5
109339   ac_status=$?
109340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109341   (exit $ac_status); }; } &&
109342          { ac_try='test -s conftest.$ac_objext'
109343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109344   (eval $ac_try) 2>&5
109345   ac_status=$?
109346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109347   (exit $ac_status); }; }; then
109348   ac_header_compiler=yes
109349 else
109350   echo "$as_me: failed program was:" >&5
109351 sed 's/^/| /' conftest.$ac_ext >&5
109352
109353 ac_header_compiler=no
109354 fi
109355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109357 echo "${ECHO_T}$ac_header_compiler" >&6
109358
109359 # Is the header present?
109360 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109361 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109362 cat >conftest.$ac_ext <<_ACEOF
109363 /* confdefs.h.  */
109364 _ACEOF
109365 cat confdefs.h >>conftest.$ac_ext
109366 cat >>conftest.$ac_ext <<_ACEOF
109367 /* end confdefs.h.  */
109368 #include <$ac_header>
109369 _ACEOF
109370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109371   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109372   ac_status=$?
109373   grep -v '^ *+' conftest.er1 >conftest.err
109374   rm -f conftest.er1
109375   cat conftest.err >&5
109376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109377   (exit $ac_status); } >/dev/null; then
109378   if test -s conftest.err; then
109379     ac_cpp_err=$ac_c_preproc_warn_flag
109380     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109381   else
109382     ac_cpp_err=
109383   fi
109384 else
109385   ac_cpp_err=yes
109386 fi
109387 if test -z "$ac_cpp_err"; then
109388   ac_header_preproc=yes
109389 else
109390   echo "$as_me: failed program was:" >&5
109391 sed 's/^/| /' conftest.$ac_ext >&5
109392
109393   ac_header_preproc=no
109394 fi
109395 rm -f conftest.err conftest.$ac_ext
109396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109397 echo "${ECHO_T}$ac_header_preproc" >&6
109398
109399 # So?  What about this header?
109400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109401   yes:no: )
109402     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109403 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109404     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109405 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109406     ac_header_preproc=yes
109407     ;;
109408   no:yes:* )
109409     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109411     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109412 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109413     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109414 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109415     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109416 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109417     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109419     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109420 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109421     (
109422       cat <<\_ASBOX
109423 ## ----------------------------------------- ##
109424 ## Report this to the package-unused lists.  ##
109425 ## ----------------------------------------- ##
109426 _ASBOX
109427     ) |
109428       sed "s/^/$as_me: WARNING:     /" >&2
109429     ;;
109430 esac
109431 echo "$as_me:$LINENO: checking for $ac_header" >&5
109432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109434   echo $ECHO_N "(cached) $ECHO_C" >&6
109435 else
109436   eval "$as_ac_Header=\$ac_header_preproc"
109437 fi
109438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109440
109441 fi
109442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109443   cat >>confdefs.h <<_ACEOF
109444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109445 _ACEOF
109446
109447 fi
109448
109449 done
109450
109451
109452   echo "$as_me:$LINENO: checking for poll" >&5
109453 echo $ECHO_N "checking for poll... $ECHO_C" >&6
109454   if test "${glibcxx_cv_POLL+set}" = set; then
109455   echo $ECHO_N "(cached) $ECHO_C" >&6
109456 else
109457
109458     if test x$gcc_no_link = xyes; then
109459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109461    { (exit 1); exit 1; }; }
109462 fi
109463 cat >conftest.$ac_ext <<_ACEOF
109464 /* confdefs.h.  */
109465 _ACEOF
109466 cat confdefs.h >>conftest.$ac_ext
109467 cat >>conftest.$ac_ext <<_ACEOF
109468 /* end confdefs.h.  */
109469 #include <poll.h>
109470 int
109471 main ()
109472 {
109473 struct pollfd pfd[1];
109474        pfd[0].events = POLLIN;
109475        poll(pfd, 1, 0);
109476   ;
109477   return 0;
109478 }
109479 _ACEOF
109480 rm -f conftest.$ac_objext conftest$ac_exeext
109481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109482   (eval $ac_link) 2>conftest.er1
109483   ac_status=$?
109484   grep -v '^ *+' conftest.er1 >conftest.err
109485   rm -f conftest.er1
109486   cat conftest.err >&5
109487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109488   (exit $ac_status); } &&
109489          { ac_try='test -z "$ac_c_werror_flag"
109490                          || test ! -s conftest.err'
109491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109492   (eval $ac_try) 2>&5
109493   ac_status=$?
109494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109495   (exit $ac_status); }; } &&
109496          { ac_try='test -s conftest$ac_exeext'
109497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109498   (eval $ac_try) 2>&5
109499   ac_status=$?
109500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109501   (exit $ac_status); }; }; then
109502   glibcxx_cv_POLL=yes
109503 else
109504   echo "$as_me: failed program was:" >&5
109505 sed 's/^/| /' conftest.$ac_ext >&5
109506
109507 glibcxx_cv_POLL=no
109508 fi
109509 rm -f conftest.err conftest.$ac_objext \
109510       conftest$ac_exeext conftest.$ac_ext
109511
109512 fi
109513
109514   if test $glibcxx_cv_POLL = yes; then
109515
109516 cat >>confdefs.h <<\_ACEOF
109517 #define HAVE_POLL 1
109518 _ACEOF
109519
109520   fi
109521   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
109522 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
109523
109524
109525   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
109526 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
109527   if test "${glibcxx_cv_S_ISREG+set}" = set; then
109528   echo $ECHO_N "(cached) $ECHO_C" >&6
109529 else
109530
109531     if test x$gcc_no_link = xyes; then
109532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109534    { (exit 1); exit 1; }; }
109535 fi
109536 cat >conftest.$ac_ext <<_ACEOF
109537 /* confdefs.h.  */
109538 _ACEOF
109539 cat confdefs.h >>conftest.$ac_ext
109540 cat >>conftest.$ac_ext <<_ACEOF
109541 /* end confdefs.h.  */
109542 #include <sys/stat.h>
109543 int
109544 main ()
109545 {
109546 struct stat buffer;
109547        fstat(0, &buffer);
109548        S_ISREG(buffer.st_mode);
109549   ;
109550   return 0;
109551 }
109552 _ACEOF
109553 rm -f conftest.$ac_objext conftest$ac_exeext
109554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109555   (eval $ac_link) 2>conftest.er1
109556   ac_status=$?
109557   grep -v '^ *+' conftest.er1 >conftest.err
109558   rm -f conftest.er1
109559   cat conftest.err >&5
109560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109561   (exit $ac_status); } &&
109562          { ac_try='test -z "$ac_c_werror_flag"
109563                          || test ! -s conftest.err'
109564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109565   (eval $ac_try) 2>&5
109566   ac_status=$?
109567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109568   (exit $ac_status); }; } &&
109569          { ac_try='test -s conftest$ac_exeext'
109570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109571   (eval $ac_try) 2>&5
109572   ac_status=$?
109573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109574   (exit $ac_status); }; }; then
109575   glibcxx_cv_S_ISREG=yes
109576 else
109577   echo "$as_me: failed program was:" >&5
109578 sed 's/^/| /' conftest.$ac_ext >&5
109579
109580 glibcxx_cv_S_ISREG=no
109581 fi
109582 rm -f conftest.err conftest.$ac_objext \
109583       conftest$ac_exeext conftest.$ac_ext
109584
109585 fi
109586
109587   if test "${glibcxx_cv_S_IFREG+set}" = set; then
109588   echo $ECHO_N "(cached) $ECHO_C" >&6
109589 else
109590
109591     if test x$gcc_no_link = xyes; then
109592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109594    { (exit 1); exit 1; }; }
109595 fi
109596 cat >conftest.$ac_ext <<_ACEOF
109597 /* confdefs.h.  */
109598 _ACEOF
109599 cat confdefs.h >>conftest.$ac_ext
109600 cat >>conftest.$ac_ext <<_ACEOF
109601 /* end confdefs.h.  */
109602 #include <sys/stat.h>
109603 int
109604 main ()
109605 {
109606 struct stat buffer;
109607        fstat(0, &buffer);
109608        S_IFREG & buffer.st_mode;
109609   ;
109610   return 0;
109611 }
109612 _ACEOF
109613 rm -f conftest.$ac_objext conftest$ac_exeext
109614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109615   (eval $ac_link) 2>conftest.er1
109616   ac_status=$?
109617   grep -v '^ *+' conftest.er1 >conftest.err
109618   rm -f conftest.er1
109619   cat conftest.err >&5
109620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109621   (exit $ac_status); } &&
109622          { ac_try='test -z "$ac_c_werror_flag"
109623                          || test ! -s conftest.err'
109624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109625   (eval $ac_try) 2>&5
109626   ac_status=$?
109627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109628   (exit $ac_status); }; } &&
109629          { ac_try='test -s conftest$ac_exeext'
109630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109631   (eval $ac_try) 2>&5
109632   ac_status=$?
109633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109634   (exit $ac_status); }; }; then
109635   glibcxx_cv_S_IFREG=yes
109636 else
109637   echo "$as_me: failed program was:" >&5
109638 sed 's/^/| /' conftest.$ac_ext >&5
109639
109640 glibcxx_cv_S_IFREG=no
109641 fi
109642 rm -f conftest.err conftest.$ac_objext \
109643       conftest$ac_exeext conftest.$ac_ext
109644
109645 fi
109646
109647   res=no
109648   if test $glibcxx_cv_S_ISREG = yes; then
109649
109650 cat >>confdefs.h <<\_ACEOF
109651 #define HAVE_S_ISREG 1
109652 _ACEOF
109653
109654     res=S_ISREG
109655   elif test $glibcxx_cv_S_IFREG = yes; then
109656
109657 cat >>confdefs.h <<\_ACEOF
109658 #define HAVE_S_IFREG 1
109659 _ACEOF
109660
109661     res=S_IFREG
109662   fi
109663   echo "$as_me:$LINENO: result: $res" >&5
109664 echo "${ECHO_T}$res" >&6
109665
109666
109667     # For xsputn_2().
109668
109669 for ac_header in sys/uio.h
109670 do
109671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109673   echo "$as_me:$LINENO: checking for $ac_header" >&5
109674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109676   echo $ECHO_N "(cached) $ECHO_C" >&6
109677 fi
109678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109680 else
109681   # Is the header compilable?
109682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109684 cat >conftest.$ac_ext <<_ACEOF
109685 /* confdefs.h.  */
109686 _ACEOF
109687 cat confdefs.h >>conftest.$ac_ext
109688 cat >>conftest.$ac_ext <<_ACEOF
109689 /* end confdefs.h.  */
109690 $ac_includes_default
109691 #include <$ac_header>
109692 _ACEOF
109693 rm -f conftest.$ac_objext
109694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109695   (eval $ac_compile) 2>conftest.er1
109696   ac_status=$?
109697   grep -v '^ *+' conftest.er1 >conftest.err
109698   rm -f conftest.er1
109699   cat conftest.err >&5
109700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109701   (exit $ac_status); } &&
109702          { ac_try='test -z "$ac_c_werror_flag"
109703                          || test ! -s conftest.err'
109704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109705   (eval $ac_try) 2>&5
109706   ac_status=$?
109707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109708   (exit $ac_status); }; } &&
109709          { ac_try='test -s conftest.$ac_objext'
109710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109711   (eval $ac_try) 2>&5
109712   ac_status=$?
109713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109714   (exit $ac_status); }; }; then
109715   ac_header_compiler=yes
109716 else
109717   echo "$as_me: failed program was:" >&5
109718 sed 's/^/| /' conftest.$ac_ext >&5
109719
109720 ac_header_compiler=no
109721 fi
109722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109724 echo "${ECHO_T}$ac_header_compiler" >&6
109725
109726 # Is the header present?
109727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109729 cat >conftest.$ac_ext <<_ACEOF
109730 /* confdefs.h.  */
109731 _ACEOF
109732 cat confdefs.h >>conftest.$ac_ext
109733 cat >>conftest.$ac_ext <<_ACEOF
109734 /* end confdefs.h.  */
109735 #include <$ac_header>
109736 _ACEOF
109737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109738   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109739   ac_status=$?
109740   grep -v '^ *+' conftest.er1 >conftest.err
109741   rm -f conftest.er1
109742   cat conftest.err >&5
109743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109744   (exit $ac_status); } >/dev/null; then
109745   if test -s conftest.err; then
109746     ac_cpp_err=$ac_c_preproc_warn_flag
109747     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109748   else
109749     ac_cpp_err=
109750   fi
109751 else
109752   ac_cpp_err=yes
109753 fi
109754 if test -z "$ac_cpp_err"; then
109755   ac_header_preproc=yes
109756 else
109757   echo "$as_me: failed program was:" >&5
109758 sed 's/^/| /' conftest.$ac_ext >&5
109759
109760   ac_header_preproc=no
109761 fi
109762 rm -f conftest.err conftest.$ac_ext
109763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109764 echo "${ECHO_T}$ac_header_preproc" >&6
109765
109766 # So?  What about this header?
109767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109768   yes:no: )
109769     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109771     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109773     ac_header_preproc=yes
109774     ;;
109775   no:yes:* )
109776     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109778     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109779 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109780     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109782     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109783 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109784     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109786     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109788     (
109789       cat <<\_ASBOX
109790 ## ----------------------------------------- ##
109791 ## Report this to the package-unused lists.  ##
109792 ## ----------------------------------------- ##
109793 _ASBOX
109794     ) |
109795       sed "s/^/$as_me: WARNING:     /" >&2
109796     ;;
109797 esac
109798 echo "$as_me:$LINENO: checking for $ac_header" >&5
109799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109801   echo $ECHO_N "(cached) $ECHO_C" >&6
109802 else
109803   eval "$as_ac_Header=\$ac_header_preproc"
109804 fi
109805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109807
109808 fi
109809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109810   cat >>confdefs.h <<_ACEOF
109811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109812 _ACEOF
109813
109814 fi
109815
109816 done
109817
109818
109819   echo "$as_me:$LINENO: checking for writev" >&5
109820 echo $ECHO_N "checking for writev... $ECHO_C" >&6
109821   if test "${glibcxx_cv_WRITEV+set}" = set; then
109822   echo $ECHO_N "(cached) $ECHO_C" >&6
109823 else
109824
109825     if test x$gcc_no_link = xyes; then
109826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109828    { (exit 1); exit 1; }; }
109829 fi
109830 cat >conftest.$ac_ext <<_ACEOF
109831 /* confdefs.h.  */
109832 _ACEOF
109833 cat confdefs.h >>conftest.$ac_ext
109834 cat >>conftest.$ac_ext <<_ACEOF
109835 /* end confdefs.h.  */
109836 #include <sys/uio.h>
109837 int
109838 main ()
109839 {
109840 struct iovec iov[2];
109841        writev(0, iov, 0);
109842   ;
109843   return 0;
109844 }
109845 _ACEOF
109846 rm -f conftest.$ac_objext conftest$ac_exeext
109847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109848   (eval $ac_link) 2>conftest.er1
109849   ac_status=$?
109850   grep -v '^ *+' conftest.er1 >conftest.err
109851   rm -f conftest.er1
109852   cat conftest.err >&5
109853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109854   (exit $ac_status); } &&
109855          { ac_try='test -z "$ac_c_werror_flag"
109856                          || test ! -s conftest.err'
109857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109858   (eval $ac_try) 2>&5
109859   ac_status=$?
109860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109861   (exit $ac_status); }; } &&
109862          { ac_try='test -s conftest$ac_exeext'
109863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109864   (eval $ac_try) 2>&5
109865   ac_status=$?
109866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109867   (exit $ac_status); }; }; then
109868   glibcxx_cv_WRITEV=yes
109869 else
109870   echo "$as_me: failed program was:" >&5
109871 sed 's/^/| /' conftest.$ac_ext >&5
109872
109873 glibcxx_cv_WRITEV=no
109874 fi
109875 rm -f conftest.err conftest.$ac_objext \
109876       conftest$ac_exeext conftest.$ac_ext
109877
109878 fi
109879
109880   if test $glibcxx_cv_WRITEV = yes; then
109881
109882 cat >>confdefs.h <<\_ACEOF
109883 #define HAVE_WRITEV 1
109884 _ACEOF
109885
109886   fi
109887   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
109888 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
109889
109890
109891     # For C99 support to TR1.
109892
109893
109894
109895
109896   ac_ext=cc
109897 ac_cpp='$CXXCPP $CPPFLAGS'
109898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109901
109902
109903   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
109904   # undefined and fake C99 facilities may be spuriously enabled.
109905   ac_save_CXXFLAGS="$CXXFLAGS"
109906   CXXFLAGS="$CXXFLAGS -std=c++98"
109907
109908   # Check for the existence of <complex.h> complex math functions used
109909   # by tr1/complex.
109910
109911 for ac_header in complex.h
109912 do
109913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109915   echo "$as_me:$LINENO: checking for $ac_header" >&5
109916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109918   echo $ECHO_N "(cached) $ECHO_C" >&6
109919 fi
109920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109922 else
109923   # Is the header compilable?
109924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109926 cat >conftest.$ac_ext <<_ACEOF
109927 /* confdefs.h.  */
109928 _ACEOF
109929 cat confdefs.h >>conftest.$ac_ext
109930 cat >>conftest.$ac_ext <<_ACEOF
109931 /* end confdefs.h.  */
109932 $ac_includes_default
109933 #include <$ac_header>
109934 _ACEOF
109935 rm -f conftest.$ac_objext
109936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109937   (eval $ac_compile) 2>conftest.er1
109938   ac_status=$?
109939   grep -v '^ *+' conftest.er1 >conftest.err
109940   rm -f conftest.er1
109941   cat conftest.err >&5
109942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109943   (exit $ac_status); } &&
109944          { ac_try='test -z "$ac_cxx_werror_flag"
109945                          || test ! -s conftest.err'
109946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109947   (eval $ac_try) 2>&5
109948   ac_status=$?
109949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109950   (exit $ac_status); }; } &&
109951          { ac_try='test -s conftest.$ac_objext'
109952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109953   (eval $ac_try) 2>&5
109954   ac_status=$?
109955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109956   (exit $ac_status); }; }; then
109957   ac_header_compiler=yes
109958 else
109959   echo "$as_me: failed program was:" >&5
109960 sed 's/^/| /' conftest.$ac_ext >&5
109961
109962 ac_header_compiler=no
109963 fi
109964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109965 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109966 echo "${ECHO_T}$ac_header_compiler" >&6
109967
109968 # Is the header present?
109969 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109970 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109971 cat >conftest.$ac_ext <<_ACEOF
109972 /* confdefs.h.  */
109973 _ACEOF
109974 cat confdefs.h >>conftest.$ac_ext
109975 cat >>conftest.$ac_ext <<_ACEOF
109976 /* end confdefs.h.  */
109977 #include <$ac_header>
109978 _ACEOF
109979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109980   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109981   ac_status=$?
109982   grep -v '^ *+' conftest.er1 >conftest.err
109983   rm -f conftest.er1
109984   cat conftest.err >&5
109985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109986   (exit $ac_status); } >/dev/null; then
109987   if test -s conftest.err; then
109988     ac_cpp_err=$ac_cxx_preproc_warn_flag
109989     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109990   else
109991     ac_cpp_err=
109992   fi
109993 else
109994   ac_cpp_err=yes
109995 fi
109996 if test -z "$ac_cpp_err"; then
109997   ac_header_preproc=yes
109998 else
109999   echo "$as_me: failed program was:" >&5
110000 sed 's/^/| /' conftest.$ac_ext >&5
110001
110002   ac_header_preproc=no
110003 fi
110004 rm -f conftest.err conftest.$ac_ext
110005 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110006 echo "${ECHO_T}$ac_header_preproc" >&6
110007
110008 # So?  What about this header?
110009 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110010   yes:no: )
110011     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110012 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110013     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110014 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110015     ac_header_preproc=yes
110016     ;;
110017   no:yes:* )
110018     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110020     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110021 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110022     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110023 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110024     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110025 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110026     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110028     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110029 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110030     (
110031       cat <<\_ASBOX
110032 ## ----------------------------------------- ##
110033 ## Report this to the package-unused lists.  ##
110034 ## ----------------------------------------- ##
110035 _ASBOX
110036     ) |
110037       sed "s/^/$as_me: WARNING:     /" >&2
110038     ;;
110039 esac
110040 echo "$as_me:$LINENO: checking for $ac_header" >&5
110041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110043   echo $ECHO_N "(cached) $ECHO_C" >&6
110044 else
110045   eval "$as_ac_Header=\$ac_header_preproc"
110046 fi
110047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110049
110050 fi
110051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110052   cat >>confdefs.h <<_ACEOF
110053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110054 _ACEOF
110055  ac_has_complex_h=yes
110056 else
110057   ac_has_complex_h=no
110058 fi
110059
110060 done
110061
110062   ac_c99_complex_tr1=no;
110063   if test x"$ac_has_complex_h" = x"yes"; then
110064     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
110065 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
110066     cat >conftest.$ac_ext <<_ACEOF
110067 /* confdefs.h.  */
110068 _ACEOF
110069 cat confdefs.h >>conftest.$ac_ext
110070 cat >>conftest.$ac_ext <<_ACEOF
110071 /* end confdefs.h.  */
110072 #include <complex.h>
110073 int
110074 main ()
110075 {
110076 typedef __complex__ float float_type; float_type tmpf;
110077                     cacosf(tmpf);
110078                     casinf(tmpf);
110079                     catanf(tmpf);
110080                     cacoshf(tmpf);
110081                     casinhf(tmpf);
110082                     catanhf(tmpf);
110083                     typedef __complex__ double double_type; double_type tmpd;
110084                     cacos(tmpd);
110085                     casin(tmpd);
110086                     catan(tmpd);
110087                     cacosh(tmpd);
110088                     casinh(tmpd);
110089                     catanh(tmpd);
110090                     typedef __complex__ long double ld_type; ld_type tmpld;
110091                     cacosl(tmpld);
110092                     casinl(tmpld);
110093                     catanl(tmpld);
110094                     cacoshl(tmpld);
110095                     casinhl(tmpld);
110096                     catanhl(tmpld);
110097
110098   ;
110099   return 0;
110100 }
110101 _ACEOF
110102 rm -f conftest.$ac_objext
110103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110104   (eval $ac_compile) 2>conftest.er1
110105   ac_status=$?
110106   grep -v '^ *+' conftest.er1 >conftest.err
110107   rm -f conftest.er1
110108   cat conftest.err >&5
110109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110110   (exit $ac_status); } &&
110111          { ac_try='test -z "$ac_cxx_werror_flag"
110112                          || test ! -s conftest.err'
110113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110114   (eval $ac_try) 2>&5
110115   ac_status=$?
110116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110117   (exit $ac_status); }; } &&
110118          { ac_try='test -s conftest.$ac_objext'
110119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110120   (eval $ac_try) 2>&5
110121   ac_status=$?
110122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110123   (exit $ac_status); }; }; then
110124   ac_c99_complex_tr1=yes
110125 else
110126   echo "$as_me: failed program was:" >&5
110127 sed 's/^/| /' conftest.$ac_ext >&5
110128
110129 ac_c99_complex_tr1=no
110130 fi
110131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110132   fi
110133   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
110134 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
110135   if test x"$ac_c99_complex_tr1" = x"yes"; then
110136
110137 cat >>confdefs.h <<\_ACEOF
110138 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
110139 _ACEOF
110140
110141   fi
110142
110143   # Check for the existence of <ctype.h> functions.
110144   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
110145 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
110146   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
110147   echo $ECHO_N "(cached) $ECHO_C" >&6
110148 else
110149
110150   cat >conftest.$ac_ext <<_ACEOF
110151 /* confdefs.h.  */
110152 _ACEOF
110153 cat confdefs.h >>conftest.$ac_ext
110154 cat >>conftest.$ac_ext <<_ACEOF
110155 /* end confdefs.h.  */
110156 #include <ctype.h>
110157 int
110158 main ()
110159 {
110160 int ch;
110161                   int ret;
110162                   ret = isblank(ch);
110163
110164   ;
110165   return 0;
110166 }
110167 _ACEOF
110168 rm -f conftest.$ac_objext
110169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110170   (eval $ac_compile) 2>conftest.er1
110171   ac_status=$?
110172   grep -v '^ *+' conftest.er1 >conftest.err
110173   rm -f conftest.er1
110174   cat conftest.err >&5
110175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110176   (exit $ac_status); } &&
110177          { ac_try='test -z "$ac_cxx_werror_flag"
110178                          || test ! -s conftest.err'
110179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110180   (eval $ac_try) 2>&5
110181   ac_status=$?
110182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110183   (exit $ac_status); }; } &&
110184          { ac_try='test -s conftest.$ac_objext'
110185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110186   (eval $ac_try) 2>&5
110187   ac_status=$?
110188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110189   (exit $ac_status); }; }; then
110190   glibcxx_cv_c99_ctype_tr1=yes
110191 else
110192   echo "$as_me: failed program was:" >&5
110193 sed 's/^/| /' conftest.$ac_ext >&5
110194
110195 glibcxx_cv_c99_ctype_tr1=no
110196 fi
110197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110198
110199 fi
110200
110201   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
110202 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
110203   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
110204
110205 cat >>confdefs.h <<\_ACEOF
110206 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
110207 _ACEOF
110208
110209   fi
110210
110211   # Check for the existence of <fenv.h> functions.
110212
110213 for ac_header in fenv.h
110214 do
110215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110217   echo "$as_me:$LINENO: checking for $ac_header" >&5
110218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110220   echo $ECHO_N "(cached) $ECHO_C" >&6
110221 fi
110222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110224 else
110225   # Is the header compilable?
110226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110228 cat >conftest.$ac_ext <<_ACEOF
110229 /* confdefs.h.  */
110230 _ACEOF
110231 cat confdefs.h >>conftest.$ac_ext
110232 cat >>conftest.$ac_ext <<_ACEOF
110233 /* end confdefs.h.  */
110234 $ac_includes_default
110235 #include <$ac_header>
110236 _ACEOF
110237 rm -f conftest.$ac_objext
110238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110239   (eval $ac_compile) 2>conftest.er1
110240   ac_status=$?
110241   grep -v '^ *+' conftest.er1 >conftest.err
110242   rm -f conftest.er1
110243   cat conftest.err >&5
110244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110245   (exit $ac_status); } &&
110246          { ac_try='test -z "$ac_cxx_werror_flag"
110247                          || test ! -s conftest.err'
110248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110249   (eval $ac_try) 2>&5
110250   ac_status=$?
110251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110252   (exit $ac_status); }; } &&
110253          { ac_try='test -s conftest.$ac_objext'
110254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110255   (eval $ac_try) 2>&5
110256   ac_status=$?
110257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110258   (exit $ac_status); }; }; then
110259   ac_header_compiler=yes
110260 else
110261   echo "$as_me: failed program was:" >&5
110262 sed 's/^/| /' conftest.$ac_ext >&5
110263
110264 ac_header_compiler=no
110265 fi
110266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110268 echo "${ECHO_T}$ac_header_compiler" >&6
110269
110270 # Is the header present?
110271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110273 cat >conftest.$ac_ext <<_ACEOF
110274 /* confdefs.h.  */
110275 _ACEOF
110276 cat confdefs.h >>conftest.$ac_ext
110277 cat >>conftest.$ac_ext <<_ACEOF
110278 /* end confdefs.h.  */
110279 #include <$ac_header>
110280 _ACEOF
110281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110282   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110283   ac_status=$?
110284   grep -v '^ *+' conftest.er1 >conftest.err
110285   rm -f conftest.er1
110286   cat conftest.err >&5
110287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110288   (exit $ac_status); } >/dev/null; then
110289   if test -s conftest.err; then
110290     ac_cpp_err=$ac_cxx_preproc_warn_flag
110291     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110292   else
110293     ac_cpp_err=
110294   fi
110295 else
110296   ac_cpp_err=yes
110297 fi
110298 if test -z "$ac_cpp_err"; then
110299   ac_header_preproc=yes
110300 else
110301   echo "$as_me: failed program was:" >&5
110302 sed 's/^/| /' conftest.$ac_ext >&5
110303
110304   ac_header_preproc=no
110305 fi
110306 rm -f conftest.err conftest.$ac_ext
110307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110308 echo "${ECHO_T}$ac_header_preproc" >&6
110309
110310 # So?  What about this header?
110311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110312   yes:no: )
110313     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110315     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110317     ac_header_preproc=yes
110318     ;;
110319   no:yes:* )
110320     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110322     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110323 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110324     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110326     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110327 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110328     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110330     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110332     (
110333       cat <<\_ASBOX
110334 ## ----------------------------------------- ##
110335 ## Report this to the package-unused lists.  ##
110336 ## ----------------------------------------- ##
110337 _ASBOX
110338     ) |
110339       sed "s/^/$as_me: WARNING:     /" >&2
110340     ;;
110341 esac
110342 echo "$as_me:$LINENO: checking for $ac_header" >&5
110343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110345   echo $ECHO_N "(cached) $ECHO_C" >&6
110346 else
110347   eval "$as_ac_Header=\$ac_header_preproc"
110348 fi
110349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110351
110352 fi
110353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110354   cat >>confdefs.h <<_ACEOF
110355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110356 _ACEOF
110357  ac_has_fenv_h=yes
110358 else
110359   ac_has_fenv_h=no
110360 fi
110361
110362 done
110363
110364   ac_c99_fenv_tr1=no;
110365   if test x"$ac_has_fenv_h" = x"yes"; then
110366     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
110367 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
110368     cat >conftest.$ac_ext <<_ACEOF
110369 /* confdefs.h.  */
110370 _ACEOF
110371 cat confdefs.h >>conftest.$ac_ext
110372 cat >>conftest.$ac_ext <<_ACEOF
110373 /* end confdefs.h.  */
110374 #include <fenv.h>
110375 int
110376 main ()
110377 {
110378 int except, mode;
110379                     fexcept_t* pflag;
110380                     fenv_t* penv;
110381                     int ret;
110382                     ret = feclearexcept(except);
110383                     ret = fegetexceptflag(pflag, except);
110384                     ret = feraiseexcept(except);
110385                     ret = fesetexceptflag(pflag, except);
110386                     ret = fetestexcept(except);
110387                     ret = fegetround();
110388                     ret = fesetround(mode);
110389                     ret = fegetenv(penv);
110390                     ret = feholdexcept(penv);
110391                     ret = fesetenv(penv);
110392                     ret = feupdateenv(penv);
110393
110394   ;
110395   return 0;
110396 }
110397 _ACEOF
110398 rm -f conftest.$ac_objext
110399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110400   (eval $ac_compile) 2>conftest.er1
110401   ac_status=$?
110402   grep -v '^ *+' conftest.er1 >conftest.err
110403   rm -f conftest.er1
110404   cat conftest.err >&5
110405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110406   (exit $ac_status); } &&
110407          { ac_try='test -z "$ac_cxx_werror_flag"
110408                          || test ! -s conftest.err'
110409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110410   (eval $ac_try) 2>&5
110411   ac_status=$?
110412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110413   (exit $ac_status); }; } &&
110414          { ac_try='test -s conftest.$ac_objext'
110415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110416   (eval $ac_try) 2>&5
110417   ac_status=$?
110418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110419   (exit $ac_status); }; }; then
110420   ac_c99_fenv_tr1=yes
110421 else
110422   echo "$as_me: failed program was:" >&5
110423 sed 's/^/| /' conftest.$ac_ext >&5
110424
110425 ac_c99_fenv_tr1=no
110426 fi
110427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110428   fi
110429   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
110430 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
110431   if test x"$ac_c99_fenv_tr1" = x"yes"; then
110432
110433 cat >>confdefs.h <<\_ACEOF
110434 #define _GLIBCXX_USE_C99_FENV_TR1 1
110435 _ACEOF
110436
110437   fi
110438
110439   # Check for the existence of <stdint.h> types.
110440   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
110441 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
110442   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
110443   echo $ECHO_N "(cached) $ECHO_C" >&6
110444 else
110445
110446   cat >conftest.$ac_ext <<_ACEOF
110447 /* confdefs.h.  */
110448 _ACEOF
110449 cat confdefs.h >>conftest.$ac_ext
110450 cat >>conftest.$ac_ext <<_ACEOF
110451 /* end confdefs.h.  */
110452 #include <stdint.h>
110453 int
110454 main ()
110455 {
110456 typedef int8_t          my_int8_t;
110457                   typedef int16_t         my_int16_t;
110458                   typedef int32_t         my_int32_t;
110459                   typedef int64_t         my_int64_t;
110460                   typedef int_fast8_t     my_int_fast8_t;
110461                   typedef int_fast16_t    my_int_fast16_t;
110462                   typedef int_fast32_t    my_int_fast32_t;
110463                   typedef int_fast64_t    my_int_fast64_t;
110464                   typedef int_least8_t    my_int_least8_t;
110465                   typedef int_least16_t   my_int_least16_t;
110466                   typedef int_least32_t   my_int_least32_t;
110467                   typedef int_least64_t   my_int_least64_t;
110468                   typedef intmax_t        my_intmax_t;
110469                   typedef intptr_t        my_intptr_t;
110470                   typedef uint8_t         my_uint8_t;
110471                   typedef uint16_t        my_uint16_t;
110472                   typedef uint32_t        my_uint32_t;
110473                   typedef uint64_t        my_uint64_t;
110474                   typedef uint_fast8_t    my_uint_fast8_t;
110475                   typedef uint_fast16_t   my_uint_fast16_t;
110476                   typedef uint_fast32_t   my_uint_fast32_t;
110477                   typedef uint_fast64_t   my_uint_fast64_t;
110478                   typedef uint_least8_t   my_uint_least8_t;
110479                   typedef uint_least16_t  my_uint_least16_t;
110480                   typedef uint_least32_t  my_uint_least32_t;
110481                   typedef uint_least64_t  my_uint_least64_t;
110482                   typedef uintmax_t       my_uintmax_t;
110483                   typedef uintptr_t       my_uintptr_t;
110484
110485   ;
110486   return 0;
110487 }
110488 _ACEOF
110489 rm -f conftest.$ac_objext
110490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110491   (eval $ac_compile) 2>conftest.er1
110492   ac_status=$?
110493   grep -v '^ *+' conftest.er1 >conftest.err
110494   rm -f conftest.er1
110495   cat conftest.err >&5
110496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110497   (exit $ac_status); } &&
110498          { ac_try='test -z "$ac_cxx_werror_flag"
110499                          || test ! -s conftest.err'
110500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110501   (eval $ac_try) 2>&5
110502   ac_status=$?
110503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110504   (exit $ac_status); }; } &&
110505          { ac_try='test -s conftest.$ac_objext'
110506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110507   (eval $ac_try) 2>&5
110508   ac_status=$?
110509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110510   (exit $ac_status); }; }; then
110511   glibcxx_cv_c99_stdint_tr1=yes
110512 else
110513   echo "$as_me: failed program was:" >&5
110514 sed 's/^/| /' conftest.$ac_ext >&5
110515
110516 glibcxx_cv_c99_stdint_tr1=no
110517 fi
110518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110519
110520 fi
110521
110522   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
110523 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
110524   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110525
110526 cat >>confdefs.h <<\_ACEOF
110527 #define _GLIBCXX_USE_C99_STDINT_TR1 1
110528 _ACEOF
110529
110530   fi
110531
110532   # Check for the existence of <math.h> functions.
110533   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
110534 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
110535   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
110536   echo $ECHO_N "(cached) $ECHO_C" >&6
110537 else
110538
110539   cat >conftest.$ac_ext <<_ACEOF
110540 /* confdefs.h.  */
110541 _ACEOF
110542 cat confdefs.h >>conftest.$ac_ext
110543 cat >>conftest.$ac_ext <<_ACEOF
110544 /* end confdefs.h.  */
110545 #include <math.h>
110546 int
110547 main ()
110548 {
110549 typedef double_t  my_double_t;
110550                   typedef float_t   my_float_t;
110551                   acosh(0.0);
110552                   acoshf(0.0f);
110553                   acoshl(0.0l);
110554                   asinh(0.0);
110555                   asinhf(0.0f);
110556                   asinhl(0.0l);
110557                   atanh(0.0);
110558                   atanhf(0.0f);
110559                   atanhl(0.0l);
110560                   cbrt(0.0);
110561                   cbrtf(0.0f);
110562                   cbrtl(0.0l);
110563                   copysign(0.0, 0.0);
110564                   copysignf(0.0f, 0.0f);
110565                   copysignl(0.0l, 0.0l);
110566                   erf(0.0);
110567                   erff(0.0f);
110568                   erfl(0.0l);
110569                   erfc(0.0);
110570                   erfcf(0.0f);
110571                   erfcl(0.0l);
110572                   exp2(0.0);
110573                   exp2f(0.0f);
110574                   exp2l(0.0l);
110575                   expm1(0.0);
110576                   expm1f(0.0f);
110577                   expm1l(0.0l);
110578                   fdim(0.0, 0.0);
110579                   fdimf(0.0f, 0.0f);
110580                   fdiml(0.0l, 0.0l);
110581                   fma(0.0, 0.0, 0.0);
110582                   fmaf(0.0f, 0.0f, 0.0f);
110583                   fmal(0.0l, 0.0l, 0.0l);
110584                   fmax(0.0, 0.0);
110585                   fmaxf(0.0f, 0.0f);
110586                   fmaxl(0.0l, 0.0l);
110587                   fmin(0.0, 0.0);
110588                   fminf(0.0f, 0.0f);
110589                   fminl(0.0l, 0.0l);
110590                   hypot(0.0, 0.0);
110591                   hypotf(0.0f, 0.0f);
110592                   hypotl(0.0l, 0.0l);
110593                   ilogb(0.0);
110594                   ilogbf(0.0f);
110595                   ilogbl(0.0l);
110596                   lgamma(0.0);
110597                   lgammaf(0.0f);
110598                   lgammal(0.0l);
110599                   llrint(0.0);
110600                   llrintf(0.0f);
110601                   llrintl(0.0l);
110602                   llround(0.0);
110603                   llroundf(0.0f);
110604                   llroundl(0.0l);
110605                   log1p(0.0);
110606                   log1pf(0.0f);
110607                   log1pl(0.0l);
110608                   log2(0.0);
110609                   log2f(0.0f);
110610                   log2l(0.0l);
110611                   logb(0.0);
110612                   logbf(0.0f);
110613                   logbl(0.0l);
110614                   lrint(0.0);
110615                   lrintf(0.0f);
110616                   lrintl(0.0l);
110617                   lround(0.0);
110618                   lroundf(0.0f);
110619                   lroundl(0.0l);
110620                   nan(0);
110621                   nanf(0);
110622                   nanl(0);
110623                   nearbyint(0.0);
110624                   nearbyintf(0.0f);
110625                   nearbyintl(0.0l);
110626                   nextafter(0.0, 0.0);
110627                   nextafterf(0.0f, 0.0f);
110628                   nextafterl(0.0l, 0.0l);
110629                   nexttoward(0.0, 0.0);
110630                   nexttowardf(0.0f, 0.0f);
110631                   nexttowardl(0.0l, 0.0l);
110632                   remainder(0.0, 0.0);
110633                   remainderf(0.0f, 0.0f);
110634                   remainderl(0.0l, 0.0l);
110635                   remquo(0.0, 0.0, 0);
110636                   remquo(0.0f, 0.0f, 0);
110637                   remquo(0.0l, 0.0l, 0);
110638                   rint(0.0);
110639                   rintf(0.0f);
110640                   rintl(0.0l);
110641                   round(0.0);
110642                   roundf(0.0f);
110643                   roundl(0.0l);
110644                   scalbln(0.0, 0l);
110645                   scalblnf(0.0f, 0l);
110646                   scalblnl(0.0l, 0l);
110647                   scalbn(0.0, 0);
110648                   scalbnf(0.0f, 0);
110649                   scalbnl(0.0l, 0);
110650                   tgamma(0.0);
110651                   tgammaf(0.0f);
110652                   tgammal(0.0l);
110653                   trunc(0.0);
110654                   truncf(0.0f);
110655                   truncl(0.0l);
110656
110657   ;
110658   return 0;
110659 }
110660 _ACEOF
110661 rm -f conftest.$ac_objext
110662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110663   (eval $ac_compile) 2>conftest.er1
110664   ac_status=$?
110665   grep -v '^ *+' conftest.er1 >conftest.err
110666   rm -f conftest.er1
110667   cat conftest.err >&5
110668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110669   (exit $ac_status); } &&
110670          { ac_try='test -z "$ac_cxx_werror_flag"
110671                          || test ! -s conftest.err'
110672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110673   (eval $ac_try) 2>&5
110674   ac_status=$?
110675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110676   (exit $ac_status); }; } &&
110677          { ac_try='test -s conftest.$ac_objext'
110678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110679   (eval $ac_try) 2>&5
110680   ac_status=$?
110681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110682   (exit $ac_status); }; }; then
110683   glibcxx_cv_c99_math_tr1=yes
110684 else
110685   echo "$as_me: failed program was:" >&5
110686 sed 's/^/| /' conftest.$ac_ext >&5
110687
110688 glibcxx_cv_c99_math_tr1=no
110689 fi
110690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110691
110692 fi
110693
110694   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
110695 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
110696   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
110697
110698 cat >>confdefs.h <<\_ACEOF
110699 #define _GLIBCXX_USE_C99_MATH_TR1 1
110700 _ACEOF
110701
110702   fi
110703
110704   # Check for the existence of <inttypes.h> functions (NB: doesn't make
110705   # sense if the previous check fails, per C99, 7.8/1).
110706   ac_c99_inttypes_tr1=no;
110707   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110708     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
110709 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $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 <inttypes.h>
110717 int
110718 main ()
110719 {
110720 intmax_t i, numer, denom, base;
110721                     const char* s;
110722                     char** endptr;
110723                     intmax_t ret = imaxabs(i);
110724                     imaxdiv_t dret = imaxdiv(numer, denom);
110725                     ret = strtoimax(s, endptr, base);
110726                     uintmax_t uret = strtoumax(s, endptr, base);
110727
110728   ;
110729   return 0;
110730 }
110731 _ACEOF
110732 rm -f conftest.$ac_objext
110733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110734   (eval $ac_compile) 2>conftest.er1
110735   ac_status=$?
110736   grep -v '^ *+' conftest.er1 >conftest.err
110737   rm -f conftest.er1
110738   cat conftest.err >&5
110739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110740   (exit $ac_status); } &&
110741          { ac_try='test -z "$ac_cxx_werror_flag"
110742                          || test ! -s conftest.err'
110743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110744   (eval $ac_try) 2>&5
110745   ac_status=$?
110746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110747   (exit $ac_status); }; } &&
110748          { ac_try='test -s conftest.$ac_objext'
110749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110750   (eval $ac_try) 2>&5
110751   ac_status=$?
110752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110753   (exit $ac_status); }; }; then
110754   ac_c99_inttypes_tr1=yes
110755 else
110756   echo "$as_me: failed program was:" >&5
110757 sed 's/^/| /' conftest.$ac_ext >&5
110758
110759 ac_c99_inttypes_tr1=no
110760 fi
110761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110762   fi
110763   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
110764 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
110765   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
110766
110767 cat >>confdefs.h <<\_ACEOF
110768 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
110769 _ACEOF
110770
110771   fi
110772
110773   # Check for the existence of the <stdbool.h> header.
110774
110775 for ac_header in stdbool.h
110776 do
110777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
110784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110786 else
110787   # Is the header compilable?
110788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110790 cat >conftest.$ac_ext <<_ACEOF
110791 /* confdefs.h.  */
110792 _ACEOF
110793 cat confdefs.h >>conftest.$ac_ext
110794 cat >>conftest.$ac_ext <<_ACEOF
110795 /* end confdefs.h.  */
110796 $ac_includes_default
110797 #include <$ac_header>
110798 _ACEOF
110799 rm -f conftest.$ac_objext
110800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110801   (eval $ac_compile) 2>conftest.er1
110802   ac_status=$?
110803   grep -v '^ *+' conftest.er1 >conftest.err
110804   rm -f conftest.er1
110805   cat conftest.err >&5
110806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110807   (exit $ac_status); } &&
110808          { ac_try='test -z "$ac_cxx_werror_flag"
110809                          || test ! -s conftest.err'
110810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110811   (eval $ac_try) 2>&5
110812   ac_status=$?
110813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110814   (exit $ac_status); }; } &&
110815          { ac_try='test -s conftest.$ac_objext'
110816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110817   (eval $ac_try) 2>&5
110818   ac_status=$?
110819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110820   (exit $ac_status); }; }; then
110821   ac_header_compiler=yes
110822 else
110823   echo "$as_me: failed program was:" >&5
110824 sed 's/^/| /' conftest.$ac_ext >&5
110825
110826 ac_header_compiler=no
110827 fi
110828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110830 echo "${ECHO_T}$ac_header_compiler" >&6
110831
110832 # Is the header present?
110833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110835 cat >conftest.$ac_ext <<_ACEOF
110836 /* confdefs.h.  */
110837 _ACEOF
110838 cat confdefs.h >>conftest.$ac_ext
110839 cat >>conftest.$ac_ext <<_ACEOF
110840 /* end confdefs.h.  */
110841 #include <$ac_header>
110842 _ACEOF
110843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110844   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110845   ac_status=$?
110846   grep -v '^ *+' conftest.er1 >conftest.err
110847   rm -f conftest.er1
110848   cat conftest.err >&5
110849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110850   (exit $ac_status); } >/dev/null; then
110851   if test -s conftest.err; then
110852     ac_cpp_err=$ac_cxx_preproc_warn_flag
110853     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110854   else
110855     ac_cpp_err=
110856   fi
110857 else
110858   ac_cpp_err=yes
110859 fi
110860 if test -z "$ac_cpp_err"; then
110861   ac_header_preproc=yes
110862 else
110863   echo "$as_me: failed program was:" >&5
110864 sed 's/^/| /' conftest.$ac_ext >&5
110865
110866   ac_header_preproc=no
110867 fi
110868 rm -f conftest.err conftest.$ac_ext
110869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110870 echo "${ECHO_T}$ac_header_preproc" >&6
110871
110872 # So?  What about this header?
110873 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110874   yes:no: )
110875     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110877     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110879     ac_header_preproc=yes
110880     ;;
110881   no:yes:* )
110882     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110884     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110885 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110886     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110888     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110889 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110890     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110892     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110894     (
110895       cat <<\_ASBOX
110896 ## ----------------------------------------- ##
110897 ## Report this to the package-unused lists.  ##
110898 ## ----------------------------------------- ##
110899 _ASBOX
110900     ) |
110901       sed "s/^/$as_me: WARNING:     /" >&2
110902     ;;
110903 esac
110904 echo "$as_me:$LINENO: checking for $ac_header" >&5
110905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110907   echo $ECHO_N "(cached) $ECHO_C" >&6
110908 else
110909   eval "$as_ac_Header=\$ac_header_preproc"
110910 fi
110911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110913
110914 fi
110915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110916   cat >>confdefs.h <<_ACEOF
110917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110918 _ACEOF
110919
110920 fi
110921
110922 done
110923
110924
110925   CXXFLAGS="$ac_save_CXXFLAGS"
110926   ac_ext=c
110927 ac_cpp='$CPP $CPPFLAGS'
110928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110931
110932
110933
110934     cat >>confdefs.h <<\_ACEOF
110935 #define _GLIBCXX_USE_RANDOM_TR1 1
110936 _ACEOF
110937
110938
110939
110940   if test "${ac_cv_header_locale_h+set}" = set; then
110941   echo "$as_me:$LINENO: checking for locale.h" >&5
110942 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110943 if test "${ac_cv_header_locale_h+set}" = set; then
110944   echo $ECHO_N "(cached) $ECHO_C" >&6
110945 fi
110946 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110947 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110948 else
110949   # Is the header compilable?
110950 echo "$as_me:$LINENO: checking locale.h usability" >&5
110951 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
110952 cat >conftest.$ac_ext <<_ACEOF
110953 /* confdefs.h.  */
110954 _ACEOF
110955 cat confdefs.h >>conftest.$ac_ext
110956 cat >>conftest.$ac_ext <<_ACEOF
110957 /* end confdefs.h.  */
110958 $ac_includes_default
110959 #include <locale.h>
110960 _ACEOF
110961 rm -f conftest.$ac_objext
110962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110963   (eval $ac_compile) 2>conftest.er1
110964   ac_status=$?
110965   grep -v '^ *+' conftest.er1 >conftest.err
110966   rm -f conftest.er1
110967   cat conftest.err >&5
110968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110969   (exit $ac_status); } &&
110970          { ac_try='test -z "$ac_c_werror_flag"
110971                          || test ! -s conftest.err'
110972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110973   (eval $ac_try) 2>&5
110974   ac_status=$?
110975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110976   (exit $ac_status); }; } &&
110977          { ac_try='test -s conftest.$ac_objext'
110978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110979   (eval $ac_try) 2>&5
110980   ac_status=$?
110981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110982   (exit $ac_status); }; }; then
110983   ac_header_compiler=yes
110984 else
110985   echo "$as_me: failed program was:" >&5
110986 sed 's/^/| /' conftest.$ac_ext >&5
110987
110988 ac_header_compiler=no
110989 fi
110990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110992 echo "${ECHO_T}$ac_header_compiler" >&6
110993
110994 # Is the header present?
110995 echo "$as_me:$LINENO: checking locale.h presence" >&5
110996 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110997 cat >conftest.$ac_ext <<_ACEOF
110998 /* confdefs.h.  */
110999 _ACEOF
111000 cat confdefs.h >>conftest.$ac_ext
111001 cat >>conftest.$ac_ext <<_ACEOF
111002 /* end confdefs.h.  */
111003 #include <locale.h>
111004 _ACEOF
111005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111006   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111007   ac_status=$?
111008   grep -v '^ *+' conftest.er1 >conftest.err
111009   rm -f conftest.er1
111010   cat conftest.err >&5
111011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111012   (exit $ac_status); } >/dev/null; then
111013   if test -s conftest.err; then
111014     ac_cpp_err=$ac_c_preproc_warn_flag
111015     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111016   else
111017     ac_cpp_err=
111018   fi
111019 else
111020   ac_cpp_err=yes
111021 fi
111022 if test -z "$ac_cpp_err"; then
111023   ac_header_preproc=yes
111024 else
111025   echo "$as_me: failed program was:" >&5
111026 sed 's/^/| /' conftest.$ac_ext >&5
111027
111028   ac_header_preproc=no
111029 fi
111030 rm -f conftest.err conftest.$ac_ext
111031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111032 echo "${ECHO_T}$ac_header_preproc" >&6
111033
111034 # So?  What about this header?
111035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111036   yes:no: )
111037     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
111038 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
111039     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
111040 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
111041     ac_header_preproc=yes
111042     ;;
111043   no:yes:* )
111044     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
111045 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
111046     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
111047 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
111048     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
111049 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
111050     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
111051 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
111052     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
111053 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
111054     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
111055 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
111056     (
111057       cat <<\_ASBOX
111058 ## ----------------------------------------- ##
111059 ## Report this to the package-unused lists.  ##
111060 ## ----------------------------------------- ##
111061 _ASBOX
111062     ) |
111063       sed "s/^/$as_me: WARNING:     /" >&2
111064     ;;
111065 esac
111066 echo "$as_me:$LINENO: checking for locale.h" >&5
111067 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
111068 if test "${ac_cv_header_locale_h+set}" = set; then
111069   echo $ECHO_N "(cached) $ECHO_C" >&6
111070 else
111071   ac_cv_header_locale_h=$ac_header_preproc
111072 fi
111073 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
111074 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
111075
111076 fi
111077 if test $ac_cv_header_locale_h = yes; then
111078
111079     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
111080 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
111081 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
111082   echo $ECHO_N "(cached) $ECHO_C" >&6
111083 else
111084   if test x$gcc_no_link = xyes; then
111085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111087    { (exit 1); exit 1; }; }
111088 fi
111089 cat >conftest.$ac_ext <<_ACEOF
111090 /* confdefs.h.  */
111091 _ACEOF
111092 cat confdefs.h >>conftest.$ac_ext
111093 cat >>conftest.$ac_ext <<_ACEOF
111094 /* end confdefs.h.  */
111095 #include <locale.h>
111096 int
111097 main ()
111098 {
111099 return LC_MESSAGES
111100   ;
111101   return 0;
111102 }
111103 _ACEOF
111104 rm -f conftest.$ac_objext conftest$ac_exeext
111105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111106   (eval $ac_link) 2>conftest.er1
111107   ac_status=$?
111108   grep -v '^ *+' conftest.er1 >conftest.err
111109   rm -f conftest.er1
111110   cat conftest.err >&5
111111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111112   (exit $ac_status); } &&
111113          { ac_try='test -z "$ac_c_werror_flag"
111114                          || test ! -s conftest.err'
111115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111116   (eval $ac_try) 2>&5
111117   ac_status=$?
111118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111119   (exit $ac_status); }; } &&
111120          { ac_try='test -s conftest$ac_exeext'
111121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111122   (eval $ac_try) 2>&5
111123   ac_status=$?
111124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111125   (exit $ac_status); }; }; then
111126   ac_cv_val_LC_MESSAGES=yes
111127 else
111128   echo "$as_me: failed program was:" >&5
111129 sed 's/^/| /' conftest.$ac_ext >&5
111130
111131 ac_cv_val_LC_MESSAGES=no
111132 fi
111133 rm -f conftest.err conftest.$ac_objext \
111134       conftest$ac_exeext conftest.$ac_ext
111135 fi
111136 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
111137 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
111138     if test $ac_cv_val_LC_MESSAGES = yes; then
111139
111140 cat >>confdefs.h <<\_ACEOF
111141 #define HAVE_LC_MESSAGES 1
111142 _ACEOF
111143
111144     fi
111145
111146 fi
111147
111148
111149
111150
111151     # Check for sigsetjmp
111152     cat >conftest.$ac_ext <<_ACEOF
111153 /* confdefs.h.  */
111154 _ACEOF
111155 cat confdefs.h >>conftest.$ac_ext
111156 cat >>conftest.$ac_ext <<_ACEOF
111157 /* end confdefs.h.  */
111158 #include <setjmp.h>
111159 int
111160 main ()
111161 {
111162 sigjmp_buf env;
111163        while (! sigsetjmp (env, 1))
111164          siglongjmp (env, 1);
111165
111166   ;
111167   return 0;
111168 }
111169 _ACEOF
111170 rm -f conftest.$ac_objext
111171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111172   (eval $ac_compile) 2>conftest.er1
111173   ac_status=$?
111174   grep -v '^ *+' conftest.er1 >conftest.err
111175   rm -f conftest.er1
111176   cat conftest.err >&5
111177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111178   (exit $ac_status); } &&
111179          { ac_try='test -z "$ac_c_werror_flag"
111180                          || test ! -s conftest.err'
111181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111182   (eval $ac_try) 2>&5
111183   ac_status=$?
111184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111185   (exit $ac_status); }; } &&
111186          { ac_try='test -s conftest.$ac_objext'
111187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111188   (eval $ac_try) 2>&5
111189   ac_status=$?
111190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111191   (exit $ac_status); }; }; then
111192
111193 cat >>confdefs.h <<\_ACEOF
111194 #define HAVE_SIGSETJMP 1
111195 _ACEOF
111196
111197 else
111198   echo "$as_me: failed program was:" >&5
111199 sed 's/^/| /' conftest.$ac_ext >&5
111200
111201 fi
111202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111203
111204     cat >>confdefs.h <<\_ACEOF
111205 #define HAVE_MMAP 1
111206 _ACEOF
111207
111208
111209     # For iconv support.
111210
111211
111212
111213
111214
111215           am_save_CPPFLAGS="$CPPFLAGS"
111216
111217   for element in $INCICONV; do
111218     haveit=
111219     for x in $CPPFLAGS; do
111220
111221   acl_save_prefix="$prefix"
111222   prefix="$acl_final_prefix"
111223   acl_save_exec_prefix="$exec_prefix"
111224   exec_prefix="$acl_final_exec_prefix"
111225   eval x=\"$x\"
111226   exec_prefix="$acl_save_exec_prefix"
111227   prefix="$acl_save_prefix"
111228
111229       if test "X$x" = "X$element"; then
111230         haveit=yes
111231         break
111232       fi
111233     done
111234     if test -z "$haveit"; then
111235       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
111236     fi
111237   done
111238
111239
111240   echo "$as_me:$LINENO: checking for iconv" >&5
111241 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
111242 if test "${am_cv_func_iconv+set}" = set; then
111243   echo $ECHO_N "(cached) $ECHO_C" >&6
111244 else
111245
111246     am_cv_func_iconv="no, consider installing GNU libiconv"
111247     am_cv_lib_iconv=no
111248     if test x$gcc_no_link = xyes; then
111249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111251    { (exit 1); exit 1; }; }
111252 fi
111253 cat >conftest.$ac_ext <<_ACEOF
111254 /* confdefs.h.  */
111255 _ACEOF
111256 cat confdefs.h >>conftest.$ac_ext
111257 cat >>conftest.$ac_ext <<_ACEOF
111258 /* end confdefs.h.  */
111259 #include <stdlib.h>
111260 #include <iconv.h>
111261 int
111262 main ()
111263 {
111264 iconv_t cd = iconv_open("","");
111265        iconv(cd,NULL,NULL,NULL,NULL);
111266        iconv_close(cd);
111267   ;
111268   return 0;
111269 }
111270 _ACEOF
111271 rm -f conftest.$ac_objext conftest$ac_exeext
111272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111273   (eval $ac_link) 2>conftest.er1
111274   ac_status=$?
111275   grep -v '^ *+' conftest.er1 >conftest.err
111276   rm -f conftest.er1
111277   cat conftest.err >&5
111278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111279   (exit $ac_status); } &&
111280          { ac_try='test -z "$ac_c_werror_flag"
111281                          || test ! -s conftest.err'
111282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111283   (eval $ac_try) 2>&5
111284   ac_status=$?
111285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111286   (exit $ac_status); }; } &&
111287          { ac_try='test -s conftest$ac_exeext'
111288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111289   (eval $ac_try) 2>&5
111290   ac_status=$?
111291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111292   (exit $ac_status); }; }; then
111293   am_cv_func_iconv=yes
111294 else
111295   echo "$as_me: failed program was:" >&5
111296 sed 's/^/| /' conftest.$ac_ext >&5
111297
111298 fi
111299 rm -f conftest.err conftest.$ac_objext \
111300       conftest$ac_exeext conftest.$ac_ext
111301     if test "$am_cv_func_iconv" != yes; then
111302       am_save_LIBS="$LIBS"
111303       LIBS="$LIBS $LIBICONV"
111304       if test x$gcc_no_link = xyes; then
111305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111307    { (exit 1); exit 1; }; }
111308 fi
111309 cat >conftest.$ac_ext <<_ACEOF
111310 /* confdefs.h.  */
111311 _ACEOF
111312 cat confdefs.h >>conftest.$ac_ext
111313 cat >>conftest.$ac_ext <<_ACEOF
111314 /* end confdefs.h.  */
111315 #include <stdlib.h>
111316 #include <iconv.h>
111317 int
111318 main ()
111319 {
111320 iconv_t cd = iconv_open("","");
111321          iconv(cd,NULL,NULL,NULL,NULL);
111322          iconv_close(cd);
111323   ;
111324   return 0;
111325 }
111326 _ACEOF
111327 rm -f conftest.$ac_objext conftest$ac_exeext
111328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111329   (eval $ac_link) 2>conftest.er1
111330   ac_status=$?
111331   grep -v '^ *+' conftest.er1 >conftest.err
111332   rm -f conftest.er1
111333   cat conftest.err >&5
111334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111335   (exit $ac_status); } &&
111336          { ac_try='test -z "$ac_c_werror_flag"
111337                          || test ! -s conftest.err'
111338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111339   (eval $ac_try) 2>&5
111340   ac_status=$?
111341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111342   (exit $ac_status); }; } &&
111343          { ac_try='test -s conftest$ac_exeext'
111344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111345   (eval $ac_try) 2>&5
111346   ac_status=$?
111347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111348   (exit $ac_status); }; }; then
111349   am_cv_lib_iconv=yes
111350         am_cv_func_iconv=yes
111351 else
111352   echo "$as_me: failed program was:" >&5
111353 sed 's/^/| /' conftest.$ac_ext >&5
111354
111355 fi
111356 rm -f conftest.err conftest.$ac_objext \
111357       conftest$ac_exeext conftest.$ac_ext
111358       LIBS="$am_save_LIBS"
111359     fi
111360
111361 fi
111362 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
111363 echo "${ECHO_T}$am_cv_func_iconv" >&6
111364   if test "$am_cv_func_iconv" = yes; then
111365
111366 cat >>confdefs.h <<\_ACEOF
111367 #define HAVE_ICONV 1
111368 _ACEOF
111369
111370   fi
111371   if test "$am_cv_lib_iconv" = yes; then
111372     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
111373 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
111374     echo "$as_me:$LINENO: result: $LIBICONV" >&5
111375 echo "${ECHO_T}$LIBICONV" >&6
111376   else
111377             CPPFLAGS="$am_save_CPPFLAGS"
111378     LIBICONV=
111379     LTLIBICONV=
111380   fi
111381
111382
111383
111384   if test "$am_cv_func_iconv" = yes; then
111385     echo "$as_me:$LINENO: checking for iconv declaration" >&5
111386 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
111387     if test "${am_cv_proto_iconv+set}" = set; then
111388   echo $ECHO_N "(cached) $ECHO_C" >&6
111389 else
111390
111391       cat >conftest.$ac_ext <<_ACEOF
111392 /* confdefs.h.  */
111393 _ACEOF
111394 cat confdefs.h >>conftest.$ac_ext
111395 cat >>conftest.$ac_ext <<_ACEOF
111396 /* end confdefs.h.  */
111397
111398 #include <stdlib.h>
111399 #include <iconv.h>
111400 extern
111401 #ifdef __cplusplus
111402 "C"
111403 #endif
111404 #if defined(__STDC__) || defined(__cplusplus)
111405 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
111406 #else
111407 size_t iconv();
111408 #endif
111409
111410 int
111411 main ()
111412 {
111413
111414   ;
111415   return 0;
111416 }
111417 _ACEOF
111418 rm -f conftest.$ac_objext
111419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111420   (eval $ac_compile) 2>conftest.er1
111421   ac_status=$?
111422   grep -v '^ *+' conftest.er1 >conftest.err
111423   rm -f conftest.er1
111424   cat conftest.err >&5
111425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111426   (exit $ac_status); } &&
111427          { ac_try='test -z "$ac_c_werror_flag"
111428                          || test ! -s conftest.err'
111429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111430   (eval $ac_try) 2>&5
111431   ac_status=$?
111432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111433   (exit $ac_status); }; } &&
111434          { ac_try='test -s conftest.$ac_objext'
111435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111436   (eval $ac_try) 2>&5
111437   ac_status=$?
111438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111439   (exit $ac_status); }; }; then
111440   am_cv_proto_iconv_arg1=""
111441 else
111442   echo "$as_me: failed program was:" >&5
111443 sed 's/^/| /' conftest.$ac_ext >&5
111444
111445 am_cv_proto_iconv_arg1="const"
111446 fi
111447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111448       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);"
111449 fi
111450
111451     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
111452     echo "$as_me:$LINENO: result: ${ac_t:-
111453          }$am_cv_proto_iconv" >&5
111454 echo "${ECHO_T}${ac_t:-
111455          }$am_cv_proto_iconv" >&6
111456
111457 cat >>confdefs.h <<_ACEOF
111458 #define ICONV_CONST $am_cv_proto_iconv_arg1
111459 _ACEOF
111460
111461   fi
111462
111463     ;;
111464   *-mingw32*)
111465
111466
111467
111468 for ac_header in sys/types.h locale.h float.h
111469 do
111470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111472   echo "$as_me:$LINENO: checking for $ac_header" >&5
111473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111475   echo $ECHO_N "(cached) $ECHO_C" >&6
111476 fi
111477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111479 else
111480   # Is the header compilable?
111481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111483 cat >conftest.$ac_ext <<_ACEOF
111484 /* confdefs.h.  */
111485 _ACEOF
111486 cat confdefs.h >>conftest.$ac_ext
111487 cat >>conftest.$ac_ext <<_ACEOF
111488 /* end confdefs.h.  */
111489 $ac_includes_default
111490 #include <$ac_header>
111491 _ACEOF
111492 rm -f conftest.$ac_objext
111493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111494   (eval $ac_compile) 2>conftest.er1
111495   ac_status=$?
111496   grep -v '^ *+' conftest.er1 >conftest.err
111497   rm -f conftest.er1
111498   cat conftest.err >&5
111499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111500   (exit $ac_status); } &&
111501          { ac_try='test -z "$ac_c_werror_flag"
111502                          || test ! -s conftest.err'
111503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111504   (eval $ac_try) 2>&5
111505   ac_status=$?
111506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111507   (exit $ac_status); }; } &&
111508          { ac_try='test -s conftest.$ac_objext'
111509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111510   (eval $ac_try) 2>&5
111511   ac_status=$?
111512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111513   (exit $ac_status); }; }; then
111514   ac_header_compiler=yes
111515 else
111516   echo "$as_me: failed program was:" >&5
111517 sed 's/^/| /' conftest.$ac_ext >&5
111518
111519 ac_header_compiler=no
111520 fi
111521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111523 echo "${ECHO_T}$ac_header_compiler" >&6
111524
111525 # Is the header present?
111526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111528 cat >conftest.$ac_ext <<_ACEOF
111529 /* confdefs.h.  */
111530 _ACEOF
111531 cat confdefs.h >>conftest.$ac_ext
111532 cat >>conftest.$ac_ext <<_ACEOF
111533 /* end confdefs.h.  */
111534 #include <$ac_header>
111535 _ACEOF
111536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111538   ac_status=$?
111539   grep -v '^ *+' conftest.er1 >conftest.err
111540   rm -f conftest.er1
111541   cat conftest.err >&5
111542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111543   (exit $ac_status); } >/dev/null; then
111544   if test -s conftest.err; then
111545     ac_cpp_err=$ac_c_preproc_warn_flag
111546     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111547   else
111548     ac_cpp_err=
111549   fi
111550 else
111551   ac_cpp_err=yes
111552 fi
111553 if test -z "$ac_cpp_err"; then
111554   ac_header_preproc=yes
111555 else
111556   echo "$as_me: failed program was:" >&5
111557 sed 's/^/| /' conftest.$ac_ext >&5
111558
111559   ac_header_preproc=no
111560 fi
111561 rm -f conftest.err conftest.$ac_ext
111562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111563 echo "${ECHO_T}$ac_header_preproc" >&6
111564
111565 # So?  What about this header?
111566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111567   yes:no: )
111568     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111572     ac_header_preproc=yes
111573     ;;
111574   no:yes:* )
111575     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111577     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111578 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111579     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111581     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111582 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111583     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111585     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111587     (
111588       cat <<\_ASBOX
111589 ## ----------------------------------------- ##
111590 ## Report this to the package-unused lists.  ##
111591 ## ----------------------------------------- ##
111592 _ASBOX
111593     ) |
111594       sed "s/^/$as_me: WARNING:     /" >&2
111595     ;;
111596 esac
111597 echo "$as_me:$LINENO: checking for $ac_header" >&5
111598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111600   echo $ECHO_N "(cached) $ECHO_C" >&6
111601 else
111602   eval "$as_ac_Header=\$ac_header_preproc"
111603 fi
111604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111606
111607 fi
111608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111609   cat >>confdefs.h <<_ACEOF
111610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111611 _ACEOF
111612
111613 fi
111614
111615 done
111616
111617     cat >>confdefs.h <<\_ACEOF
111618 #define HAVE_STRTOF 1
111619 _ACEOF
111620
111621     cat >>confdefs.h <<\_ACEOF
111622 #define HAVE_STRTOLD 1
111623 _ACEOF
111624
111625
111626   # If we're not using GNU ld, then there's no point in even trying these
111627   # tests.  Check for that first.  We should have already tested for gld
111628   # by now (in libtool), but require it now just to be safe...
111629   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111630   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111631
111632
111633
111634   # The name set by libtool depends on the version of libtool.  Shame on us
111635   # for depending on an impl detail, but c'est la vie.  Older versions used
111636   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111637   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111638   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111639   # set (hence we're using an older libtool), then set it.
111640   if test x${with_gnu_ld+set} != xset; then
111641     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111642       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111643       with_gnu_ld=no
111644     else
111645       with_gnu_ld=$ac_cv_prog_gnu_ld
111646     fi
111647   fi
111648
111649   # Start by getting the version number.  I think the libtool test already
111650   # does some of this, but throws away the result.
111651   glibcxx_ld_is_gold=no
111652   if test x"$with_gnu_ld" = x"yes"; then
111653     echo "$as_me:$LINENO: checking for ld version" >&5
111654 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111655
111656     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111657       glibcxx_ld_is_gold=yes
111658     fi
111659     ldver=`$LD --version 2>/dev/null | head -1 | \
111660            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111661
111662     glibcxx_gnu_ld_version=`echo $ldver | \
111663            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111664     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111665 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111666   fi
111667
111668   # Set --gc-sections.
111669   glibcxx_have_gc_sections=no
111670   if test "$glibcxx_ld_is_gold" = "yes"; then
111671     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111672       glibcxx_have_gc_sections=yes
111673     fi
111674   else
111675     glibcxx_gcsections_min_ld=21602
111676     if test x"$with_gnu_ld" = x"yes" &&
111677         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111678       glibcxx_have_gc_sections=yes
111679     fi
111680   fi
111681   if test "$glibcxx_have_gc_sections" = "yes"; then
111682     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111683     # NB: This flag only works reliably after 2.16.1. Configure tests
111684     # for this are difficult, so hard wire a value that should work.
111685
111686     ac_test_CFLAGS="${CFLAGS+set}"
111687     ac_save_CFLAGS="$CFLAGS"
111688     CFLAGS='-Wl,--gc-sections'
111689
111690     # Check for -Wl,--gc-sections
111691     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111692 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111693     if test x$gcc_no_link = xyes; then
111694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111696    { (exit 1); exit 1; }; }
111697 fi
111698 cat >conftest.$ac_ext <<_ACEOF
111699 /* confdefs.h.  */
111700 _ACEOF
111701 cat confdefs.h >>conftest.$ac_ext
111702 cat >>conftest.$ac_ext <<_ACEOF
111703 /* end confdefs.h.  */
111704  int one(void) { return 1; }
111705      int two(void) { return 2; }
111706
111707 int
111708 main ()
111709 {
111710  two();
111711   ;
111712   return 0;
111713 }
111714 _ACEOF
111715 rm -f conftest.$ac_objext conftest$ac_exeext
111716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111717   (eval $ac_link) 2>conftest.er1
111718   ac_status=$?
111719   grep -v '^ *+' conftest.er1 >conftest.err
111720   rm -f conftest.er1
111721   cat conftest.err >&5
111722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111723   (exit $ac_status); } &&
111724          { ac_try='test -z "$ac_c_werror_flag"
111725                          || test ! -s conftest.err'
111726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111727   (eval $ac_try) 2>&5
111728   ac_status=$?
111729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111730   (exit $ac_status); }; } &&
111731          { ac_try='test -s conftest$ac_exeext'
111732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111733   (eval $ac_try) 2>&5
111734   ac_status=$?
111735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111736   (exit $ac_status); }; }; then
111737   ac_gcsections=yes
111738 else
111739   echo "$as_me: failed program was:" >&5
111740 sed 's/^/| /' conftest.$ac_ext >&5
111741
111742 ac_gcsections=no
111743 fi
111744 rm -f conftest.err conftest.$ac_objext \
111745       conftest$ac_exeext conftest.$ac_ext
111746     if test "$ac_gcsections" = "yes"; then
111747       rm -f conftest.c
111748       touch conftest.c
111749       if $CC -c conftest.c; then
111750         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111751            grep "Warning: gc-sections option ignored" > /dev/null; then
111752           ac_gcsections=no
111753         fi
111754       fi
111755       rm -f conftest.c conftest.o conftest
111756     fi
111757     if test "$ac_gcsections" = "yes"; then
111758       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111759     fi
111760     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111761 echo "${ECHO_T}$ac_gcsections" >&6
111762
111763     if test "$ac_test_CFLAGS" = set; then
111764       CFLAGS="$ac_save_CFLAGS"
111765     else
111766       # this is the suspicious part
111767       CFLAGS=''
111768     fi
111769   fi
111770
111771   # Set -z,relro.
111772   # Note this is only for shared objects.
111773   ac_ld_relro=no
111774   if test x"$with_gnu_ld" = x"yes"; then
111775     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111776 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111777     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111778     if test -n "$cxx_z_relo"; then
111779       OPT_LDFLAGS="-Wl,-z,relro"
111780       ac_ld_relro=yes
111781     fi
111782     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111783 echo "${ECHO_T}$ac_ld_relro" >&6
111784   fi
111785
111786   # Set linker optimization flags.
111787   if test x"$with_gnu_ld" = x"yes"; then
111788     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111789   fi
111790
111791
111792
111793
111794
111795
111796 echo "$as_me:$LINENO: checking for main in -lm" >&5
111797 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111798 if test "${ac_cv_lib_m_main+set}" = set; then
111799   echo $ECHO_N "(cached) $ECHO_C" >&6
111800 else
111801   ac_check_lib_save_LIBS=$LIBS
111802 LIBS="-lm  $LIBS"
111803 if test x$gcc_no_link = xyes; then
111804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111806    { (exit 1); exit 1; }; }
111807 fi
111808 cat >conftest.$ac_ext <<_ACEOF
111809 /* confdefs.h.  */
111810 _ACEOF
111811 cat confdefs.h >>conftest.$ac_ext
111812 cat >>conftest.$ac_ext <<_ACEOF
111813 /* end confdefs.h.  */
111814
111815
111816 int
111817 main ()
111818 {
111819 main ();
111820   ;
111821   return 0;
111822 }
111823 _ACEOF
111824 rm -f conftest.$ac_objext conftest$ac_exeext
111825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111826   (eval $ac_link) 2>conftest.er1
111827   ac_status=$?
111828   grep -v '^ *+' conftest.er1 >conftest.err
111829   rm -f conftest.er1
111830   cat conftest.err >&5
111831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111832   (exit $ac_status); } &&
111833          { ac_try='test -z "$ac_c_werror_flag"
111834                          || test ! -s conftest.err'
111835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111836   (eval $ac_try) 2>&5
111837   ac_status=$?
111838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111839   (exit $ac_status); }; } &&
111840          { ac_try='test -s conftest$ac_exeext'
111841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111842   (eval $ac_try) 2>&5
111843   ac_status=$?
111844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111845   (exit $ac_status); }; }; then
111846   ac_cv_lib_m_main=yes
111847 else
111848   echo "$as_me: failed program was:" >&5
111849 sed 's/^/| /' conftest.$ac_ext >&5
111850
111851 ac_cv_lib_m_main=no
111852 fi
111853 rm -f conftest.err conftest.$ac_objext \
111854       conftest$ac_exeext conftest.$ac_ext
111855 LIBS=$ac_check_lib_save_LIBS
111856 fi
111857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111858 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111859 if test $ac_cv_lib_m_main = yes; then
111860   cat >>confdefs.h <<_ACEOF
111861 #define HAVE_LIBM 1
111862 _ACEOF
111863
111864   LIBS="-lm $LIBS"
111865
111866 fi
111867
111868
111869 for ac_func in copysignf
111870 do
111871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111872 echo "$as_me:$LINENO: checking for $ac_func" >&5
111873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111874 if eval "test \"\${$as_ac_var+set}\" = set"; then
111875   echo $ECHO_N "(cached) $ECHO_C" >&6
111876 else
111877   if test x$gcc_no_link = xyes; then
111878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111880    { (exit 1); exit 1; }; }
111881 fi
111882 cat >conftest.$ac_ext <<_ACEOF
111883 /* confdefs.h.  */
111884 _ACEOF
111885 cat confdefs.h >>conftest.$ac_ext
111886 cat >>conftest.$ac_ext <<_ACEOF
111887 /* end confdefs.h.  */
111888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111890 #define $ac_func innocuous_$ac_func
111891
111892 /* System header to define __stub macros and hopefully few prototypes,
111893     which can conflict with char $ac_func (); below.
111894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111895     <limits.h> exists even on freestanding compilers.  */
111896
111897 #ifdef __STDC__
111898 # include <limits.h>
111899 #else
111900 # include <assert.h>
111901 #endif
111902
111903 #undef $ac_func
111904
111905 /* Override any gcc2 internal prototype to avoid an error.  */
111906 #ifdef __cplusplus
111907 extern "C"
111908 {
111909 #endif
111910 /* We use char because int might match the return type of a gcc2
111911    builtin and then its argument prototype would still apply.  */
111912 char $ac_func ();
111913 /* The GNU C library defines this for functions which it implements
111914     to always fail with ENOSYS.  Some functions are actually named
111915     something starting with __ and the normal name is an alias.  */
111916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111917 choke me
111918 #else
111919 char (*f) () = $ac_func;
111920 #endif
111921 #ifdef __cplusplus
111922 }
111923 #endif
111924
111925 int
111926 main ()
111927 {
111928 return f != $ac_func;
111929   ;
111930   return 0;
111931 }
111932 _ACEOF
111933 rm -f conftest.$ac_objext conftest$ac_exeext
111934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111935   (eval $ac_link) 2>conftest.er1
111936   ac_status=$?
111937   grep -v '^ *+' conftest.er1 >conftest.err
111938   rm -f conftest.er1
111939   cat conftest.err >&5
111940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111941   (exit $ac_status); } &&
111942          { ac_try='test -z "$ac_c_werror_flag"
111943                          || test ! -s conftest.err'
111944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111945   (eval $ac_try) 2>&5
111946   ac_status=$?
111947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111948   (exit $ac_status); }; } &&
111949          { ac_try='test -s conftest$ac_exeext'
111950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111951   (eval $ac_try) 2>&5
111952   ac_status=$?
111953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111954   (exit $ac_status); }; }; then
111955   eval "$as_ac_var=yes"
111956 else
111957   echo "$as_me: failed program was:" >&5
111958 sed 's/^/| /' conftest.$ac_ext >&5
111959
111960 eval "$as_ac_var=no"
111961 fi
111962 rm -f conftest.err conftest.$ac_objext \
111963       conftest$ac_exeext conftest.$ac_ext
111964 fi
111965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111967 if test `eval echo '${'$as_ac_var'}'` = yes; then
111968   cat >>confdefs.h <<_ACEOF
111969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111970 _ACEOF
111971
111972 else
111973   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111974 fi
111975 done
111976
111977
111978
111979 for ac_func in __signbit
111980 do
111981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111982 echo "$as_me:$LINENO: checking for $ac_func" >&5
111983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111984 if eval "test \"\${$as_ac_var+set}\" = set"; then
111985   echo $ECHO_N "(cached) $ECHO_C" >&6
111986 else
111987   if test x$gcc_no_link = xyes; then
111988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111990    { (exit 1); exit 1; }; }
111991 fi
111992 cat >conftest.$ac_ext <<_ACEOF
111993 /* confdefs.h.  */
111994 _ACEOF
111995 cat confdefs.h >>conftest.$ac_ext
111996 cat >>conftest.$ac_ext <<_ACEOF
111997 /* end confdefs.h.  */
111998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112000 #define $ac_func innocuous_$ac_func
112001
112002 /* System header to define __stub macros and hopefully few prototypes,
112003     which can conflict with char $ac_func (); below.
112004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112005     <limits.h> exists even on freestanding compilers.  */
112006
112007 #ifdef __STDC__
112008 # include <limits.h>
112009 #else
112010 # include <assert.h>
112011 #endif
112012
112013 #undef $ac_func
112014
112015 /* Override any gcc2 internal prototype to avoid an error.  */
112016 #ifdef __cplusplus
112017 extern "C"
112018 {
112019 #endif
112020 /* We use char because int might match the return type of a gcc2
112021    builtin and then its argument prototype would still apply.  */
112022 char $ac_func ();
112023 /* The GNU C library defines this for functions which it implements
112024     to always fail with ENOSYS.  Some functions are actually named
112025     something starting with __ and the normal name is an alias.  */
112026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112027 choke me
112028 #else
112029 char (*f) () = $ac_func;
112030 #endif
112031 #ifdef __cplusplus
112032 }
112033 #endif
112034
112035 int
112036 main ()
112037 {
112038 return f != $ac_func;
112039   ;
112040   return 0;
112041 }
112042 _ACEOF
112043 rm -f conftest.$ac_objext conftest$ac_exeext
112044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112045   (eval $ac_link) 2>conftest.er1
112046   ac_status=$?
112047   grep -v '^ *+' conftest.er1 >conftest.err
112048   rm -f conftest.er1
112049   cat conftest.err >&5
112050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112051   (exit $ac_status); } &&
112052          { ac_try='test -z "$ac_c_werror_flag"
112053                          || test ! -s conftest.err'
112054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112055   (eval $ac_try) 2>&5
112056   ac_status=$?
112057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112058   (exit $ac_status); }; } &&
112059          { ac_try='test -s conftest$ac_exeext'
112060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112061   (eval $ac_try) 2>&5
112062   ac_status=$?
112063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112064   (exit $ac_status); }; }; then
112065   eval "$as_ac_var=yes"
112066 else
112067   echo "$as_me: failed program was:" >&5
112068 sed 's/^/| /' conftest.$ac_ext >&5
112069
112070 eval "$as_ac_var=no"
112071 fi
112072 rm -f conftest.err conftest.$ac_objext \
112073       conftest$ac_exeext conftest.$ac_ext
112074 fi
112075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112077 if test `eval echo '${'$as_ac_var'}'` = yes; then
112078   cat >>confdefs.h <<_ACEOF
112079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112080 _ACEOF
112081
112082 else
112083   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112084 fi
112085 done
112086
112087
112088
112089 for ac_func in __signbitf
112090 do
112091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112092 echo "$as_me:$LINENO: checking for $ac_func" >&5
112093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112094 if eval "test \"\${$as_ac_var+set}\" = set"; then
112095   echo $ECHO_N "(cached) $ECHO_C" >&6
112096 else
112097   if test x$gcc_no_link = xyes; then
112098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112100    { (exit 1); exit 1; }; }
112101 fi
112102 cat >conftest.$ac_ext <<_ACEOF
112103 /* confdefs.h.  */
112104 _ACEOF
112105 cat confdefs.h >>conftest.$ac_ext
112106 cat >>conftest.$ac_ext <<_ACEOF
112107 /* end confdefs.h.  */
112108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112110 #define $ac_func innocuous_$ac_func
112111
112112 /* System header to define __stub macros and hopefully few prototypes,
112113     which can conflict with char $ac_func (); below.
112114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112115     <limits.h> exists even on freestanding compilers.  */
112116
112117 #ifdef __STDC__
112118 # include <limits.h>
112119 #else
112120 # include <assert.h>
112121 #endif
112122
112123 #undef $ac_func
112124
112125 /* Override any gcc2 internal prototype to avoid an error.  */
112126 #ifdef __cplusplus
112127 extern "C"
112128 {
112129 #endif
112130 /* We use char because int might match the return type of a gcc2
112131    builtin and then its argument prototype would still apply.  */
112132 char $ac_func ();
112133 /* The GNU C library defines this for functions which it implements
112134     to always fail with ENOSYS.  Some functions are actually named
112135     something starting with __ and the normal name is an alias.  */
112136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112137 choke me
112138 #else
112139 char (*f) () = $ac_func;
112140 #endif
112141 #ifdef __cplusplus
112142 }
112143 #endif
112144
112145 int
112146 main ()
112147 {
112148 return f != $ac_func;
112149   ;
112150   return 0;
112151 }
112152 _ACEOF
112153 rm -f conftest.$ac_objext conftest$ac_exeext
112154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112155   (eval $ac_link) 2>conftest.er1
112156   ac_status=$?
112157   grep -v '^ *+' conftest.er1 >conftest.err
112158   rm -f conftest.er1
112159   cat conftest.err >&5
112160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112161   (exit $ac_status); } &&
112162          { ac_try='test -z "$ac_c_werror_flag"
112163                          || test ! -s conftest.err'
112164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112165   (eval $ac_try) 2>&5
112166   ac_status=$?
112167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112168   (exit $ac_status); }; } &&
112169          { ac_try='test -s conftest$ac_exeext'
112170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112171   (eval $ac_try) 2>&5
112172   ac_status=$?
112173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112174   (exit $ac_status); }; }; then
112175   eval "$as_ac_var=yes"
112176 else
112177   echo "$as_me: failed program was:" >&5
112178 sed 's/^/| /' conftest.$ac_ext >&5
112179
112180 eval "$as_ac_var=no"
112181 fi
112182 rm -f conftest.err conftest.$ac_objext \
112183       conftest$ac_exeext conftest.$ac_ext
112184 fi
112185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112187 if test `eval echo '${'$as_ac_var'}'` = yes; then
112188   cat >>confdefs.h <<_ACEOF
112189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112190 _ACEOF
112191
112192 else
112193   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112194 fi
112195 done
112196
112197
112198           if test x$ac_cv_func_copysignl = x"yes"; then
112199
112200 for ac_func in __signbitl
112201 do
112202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112203 echo "$as_me:$LINENO: checking for $ac_func" >&5
112204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112205 if eval "test \"\${$as_ac_var+set}\" = set"; then
112206   echo $ECHO_N "(cached) $ECHO_C" >&6
112207 else
112208   if test x$gcc_no_link = xyes; then
112209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112211    { (exit 1); exit 1; }; }
112212 fi
112213 cat >conftest.$ac_ext <<_ACEOF
112214 /* confdefs.h.  */
112215 _ACEOF
112216 cat confdefs.h >>conftest.$ac_ext
112217 cat >>conftest.$ac_ext <<_ACEOF
112218 /* end confdefs.h.  */
112219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112221 #define $ac_func innocuous_$ac_func
112222
112223 /* System header to define __stub macros and hopefully few prototypes,
112224     which can conflict with char $ac_func (); below.
112225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112226     <limits.h> exists even on freestanding compilers.  */
112227
112228 #ifdef __STDC__
112229 # include <limits.h>
112230 #else
112231 # include <assert.h>
112232 #endif
112233
112234 #undef $ac_func
112235
112236 /* Override any gcc2 internal prototype to avoid an error.  */
112237 #ifdef __cplusplus
112238 extern "C"
112239 {
112240 #endif
112241 /* We use char because int might match the return type of a gcc2
112242    builtin and then its argument prototype would still apply.  */
112243 char $ac_func ();
112244 /* The GNU C library defines this for functions which it implements
112245     to always fail with ENOSYS.  Some functions are actually named
112246     something starting with __ and the normal name is an alias.  */
112247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112248 choke me
112249 #else
112250 char (*f) () = $ac_func;
112251 #endif
112252 #ifdef __cplusplus
112253 }
112254 #endif
112255
112256 int
112257 main ()
112258 {
112259 return f != $ac_func;
112260   ;
112261   return 0;
112262 }
112263 _ACEOF
112264 rm -f conftest.$ac_objext conftest$ac_exeext
112265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112266   (eval $ac_link) 2>conftest.er1
112267   ac_status=$?
112268   grep -v '^ *+' conftest.er1 >conftest.err
112269   rm -f conftest.er1
112270   cat conftest.err >&5
112271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112272   (exit $ac_status); } &&
112273          { ac_try='test -z "$ac_c_werror_flag"
112274                          || test ! -s conftest.err'
112275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112276   (eval $ac_try) 2>&5
112277   ac_status=$?
112278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112279   (exit $ac_status); }; } &&
112280          { ac_try='test -s conftest$ac_exeext'
112281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112282   (eval $ac_try) 2>&5
112283   ac_status=$?
112284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112285   (exit $ac_status); }; }; then
112286   eval "$as_ac_var=yes"
112287 else
112288   echo "$as_me: failed program was:" >&5
112289 sed 's/^/| /' conftest.$ac_ext >&5
112290
112291 eval "$as_ac_var=no"
112292 fi
112293 rm -f conftest.err conftest.$ac_objext \
112294       conftest$ac_exeext conftest.$ac_ext
112295 fi
112296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112298 if test `eval echo '${'$as_ac_var'}'` = yes; then
112299   cat >>confdefs.h <<_ACEOF
112300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112301 _ACEOF
112302
112303 else
112304   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112305 fi
112306 done
112307
112308   fi
112309
112310   # Used in libmath/Makefile.am.
112311   if test -n "$LIBMATHOBJS"; then
112312     need_libmath=yes
112313   fi
112314
112315
112316     ;;
112317   *-netbsd*)
112318
112319
112320
112321
112322
112323
112324
112325
112326
112327
112328
112329
112330 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
112331       machine/endian.h machine/param.h sys/machine.h sys/types.h \
112332       fp.h locale.h float.h inttypes.h
112333 do
112334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112336   echo "$as_me:$LINENO: checking for $ac_header" >&5
112337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112339   echo $ECHO_N "(cached) $ECHO_C" >&6
112340 fi
112341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112343 else
112344   # Is the header compilable?
112345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112347 cat >conftest.$ac_ext <<_ACEOF
112348 /* confdefs.h.  */
112349 _ACEOF
112350 cat confdefs.h >>conftest.$ac_ext
112351 cat >>conftest.$ac_ext <<_ACEOF
112352 /* end confdefs.h.  */
112353 $ac_includes_default
112354 #include <$ac_header>
112355 _ACEOF
112356 rm -f conftest.$ac_objext
112357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112358   (eval $ac_compile) 2>conftest.er1
112359   ac_status=$?
112360   grep -v '^ *+' conftest.er1 >conftest.err
112361   rm -f conftest.er1
112362   cat conftest.err >&5
112363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112364   (exit $ac_status); } &&
112365          { ac_try='test -z "$ac_c_werror_flag"
112366                          || test ! -s conftest.err'
112367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112368   (eval $ac_try) 2>&5
112369   ac_status=$?
112370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112371   (exit $ac_status); }; } &&
112372          { ac_try='test -s conftest.$ac_objext'
112373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112374   (eval $ac_try) 2>&5
112375   ac_status=$?
112376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112377   (exit $ac_status); }; }; then
112378   ac_header_compiler=yes
112379 else
112380   echo "$as_me: failed program was:" >&5
112381 sed 's/^/| /' conftest.$ac_ext >&5
112382
112383 ac_header_compiler=no
112384 fi
112385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112387 echo "${ECHO_T}$ac_header_compiler" >&6
112388
112389 # Is the header present?
112390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112392 cat >conftest.$ac_ext <<_ACEOF
112393 /* confdefs.h.  */
112394 _ACEOF
112395 cat confdefs.h >>conftest.$ac_ext
112396 cat >>conftest.$ac_ext <<_ACEOF
112397 /* end confdefs.h.  */
112398 #include <$ac_header>
112399 _ACEOF
112400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112401   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112402   ac_status=$?
112403   grep -v '^ *+' conftest.er1 >conftest.err
112404   rm -f conftest.er1
112405   cat conftest.err >&5
112406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112407   (exit $ac_status); } >/dev/null; then
112408   if test -s conftest.err; then
112409     ac_cpp_err=$ac_c_preproc_warn_flag
112410     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112411   else
112412     ac_cpp_err=
112413   fi
112414 else
112415   ac_cpp_err=yes
112416 fi
112417 if test -z "$ac_cpp_err"; then
112418   ac_header_preproc=yes
112419 else
112420   echo "$as_me: failed program was:" >&5
112421 sed 's/^/| /' conftest.$ac_ext >&5
112422
112423   ac_header_preproc=no
112424 fi
112425 rm -f conftest.err conftest.$ac_ext
112426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112427 echo "${ECHO_T}$ac_header_preproc" >&6
112428
112429 # So?  What about this header?
112430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112431   yes:no: )
112432     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112434     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112436     ac_header_preproc=yes
112437     ;;
112438   no:yes:* )
112439     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112441     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112442 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112443     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112445     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112446 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112447     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112449     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112451     (
112452       cat <<\_ASBOX
112453 ## ----------------------------------------- ##
112454 ## Report this to the package-unused lists.  ##
112455 ## ----------------------------------------- ##
112456 _ASBOX
112457     ) |
112458       sed "s/^/$as_me: WARNING:     /" >&2
112459     ;;
112460 esac
112461 echo "$as_me:$LINENO: checking for $ac_header" >&5
112462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112464   echo $ECHO_N "(cached) $ECHO_C" >&6
112465 else
112466   eval "$as_ac_Header=\$ac_header_preproc"
112467 fi
112468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112470
112471 fi
112472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112473   cat >>confdefs.h <<_ACEOF
112474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112475 _ACEOF
112476
112477 fi
112478
112479 done
112480
112481     SECTION_FLAGS='-ffunction-sections -fdata-sections'
112482
112483
112484   # If we're not using GNU ld, then there's no point in even trying these
112485   # tests.  Check for that first.  We should have already tested for gld
112486   # by now (in libtool), but require it now just to be safe...
112487   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112488   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112489
112490
112491
112492   # The name set by libtool depends on the version of libtool.  Shame on us
112493   # for depending on an impl detail, but c'est la vie.  Older versions used
112494   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112495   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112496   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
112497   # set (hence we're using an older libtool), then set it.
112498   if test x${with_gnu_ld+set} != xset; then
112499     if test x${ac_cv_prog_gnu_ld+set} != xset; then
112500       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
112501       with_gnu_ld=no
112502     else
112503       with_gnu_ld=$ac_cv_prog_gnu_ld
112504     fi
112505   fi
112506
112507   # Start by getting the version number.  I think the libtool test already
112508   # does some of this, but throws away the result.
112509   glibcxx_ld_is_gold=no
112510   if test x"$with_gnu_ld" = x"yes"; then
112511     echo "$as_me:$LINENO: checking for ld version" >&5
112512 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112513
112514     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112515       glibcxx_ld_is_gold=yes
112516     fi
112517     ldver=`$LD --version 2>/dev/null | head -1 | \
112518            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112519
112520     glibcxx_gnu_ld_version=`echo $ldver | \
112521            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112522     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112523 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112524   fi
112525
112526   # Set --gc-sections.
112527   glibcxx_have_gc_sections=no
112528   if test "$glibcxx_ld_is_gold" = "yes"; then
112529     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112530       glibcxx_have_gc_sections=yes
112531     fi
112532   else
112533     glibcxx_gcsections_min_ld=21602
112534     if test x"$with_gnu_ld" = x"yes" &&
112535         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112536       glibcxx_have_gc_sections=yes
112537     fi
112538   fi
112539   if test "$glibcxx_have_gc_sections" = "yes"; then
112540     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112541     # NB: This flag only works reliably after 2.16.1. Configure tests
112542     # for this are difficult, so hard wire a value that should work.
112543
112544     ac_test_CFLAGS="${CFLAGS+set}"
112545     ac_save_CFLAGS="$CFLAGS"
112546     CFLAGS='-Wl,--gc-sections'
112547
112548     # Check for -Wl,--gc-sections
112549     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112550 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112551     if test x$gcc_no_link = xyes; then
112552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112554    { (exit 1); exit 1; }; }
112555 fi
112556 cat >conftest.$ac_ext <<_ACEOF
112557 /* confdefs.h.  */
112558 _ACEOF
112559 cat confdefs.h >>conftest.$ac_ext
112560 cat >>conftest.$ac_ext <<_ACEOF
112561 /* end confdefs.h.  */
112562  int one(void) { return 1; }
112563      int two(void) { return 2; }
112564
112565 int
112566 main ()
112567 {
112568  two();
112569   ;
112570   return 0;
112571 }
112572 _ACEOF
112573 rm -f conftest.$ac_objext conftest$ac_exeext
112574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112575   (eval $ac_link) 2>conftest.er1
112576   ac_status=$?
112577   grep -v '^ *+' conftest.er1 >conftest.err
112578   rm -f conftest.er1
112579   cat conftest.err >&5
112580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112581   (exit $ac_status); } &&
112582          { ac_try='test -z "$ac_c_werror_flag"
112583                          || test ! -s conftest.err'
112584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112585   (eval $ac_try) 2>&5
112586   ac_status=$?
112587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112588   (exit $ac_status); }; } &&
112589          { ac_try='test -s conftest$ac_exeext'
112590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112591   (eval $ac_try) 2>&5
112592   ac_status=$?
112593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112594   (exit $ac_status); }; }; then
112595   ac_gcsections=yes
112596 else
112597   echo "$as_me: failed program was:" >&5
112598 sed 's/^/| /' conftest.$ac_ext >&5
112599
112600 ac_gcsections=no
112601 fi
112602 rm -f conftest.err conftest.$ac_objext \
112603       conftest$ac_exeext conftest.$ac_ext
112604     if test "$ac_gcsections" = "yes"; then
112605       rm -f conftest.c
112606       touch conftest.c
112607       if $CC -c conftest.c; then
112608         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112609            grep "Warning: gc-sections option ignored" > /dev/null; then
112610           ac_gcsections=no
112611         fi
112612       fi
112613       rm -f conftest.c conftest.o conftest
112614     fi
112615     if test "$ac_gcsections" = "yes"; then
112616       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112617     fi
112618     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112619 echo "${ECHO_T}$ac_gcsections" >&6
112620
112621     if test "$ac_test_CFLAGS" = set; then
112622       CFLAGS="$ac_save_CFLAGS"
112623     else
112624       # this is the suspicious part
112625       CFLAGS=''
112626     fi
112627   fi
112628
112629   # Set -z,relro.
112630   # Note this is only for shared objects.
112631   ac_ld_relro=no
112632   if test x"$with_gnu_ld" = x"yes"; then
112633     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112634 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112635     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112636     if test -n "$cxx_z_relo"; then
112637       OPT_LDFLAGS="-Wl,-z,relro"
112638       ac_ld_relro=yes
112639     fi
112640     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112641 echo "${ECHO_T}$ac_ld_relro" >&6
112642   fi
112643
112644   # Set linker optimization flags.
112645   if test x"$with_gnu_ld" = x"yes"; then
112646     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112647   fi
112648
112649
112650
112651
112652
112653
112654 echo "$as_me:$LINENO: checking for main in -lm" >&5
112655 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112656 if test "${ac_cv_lib_m_main+set}" = set; then
112657   echo $ECHO_N "(cached) $ECHO_C" >&6
112658 else
112659   ac_check_lib_save_LIBS=$LIBS
112660 LIBS="-lm  $LIBS"
112661 if test x$gcc_no_link = xyes; then
112662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112664    { (exit 1); exit 1; }; }
112665 fi
112666 cat >conftest.$ac_ext <<_ACEOF
112667 /* confdefs.h.  */
112668 _ACEOF
112669 cat confdefs.h >>conftest.$ac_ext
112670 cat >>conftest.$ac_ext <<_ACEOF
112671 /* end confdefs.h.  */
112672
112673
112674 int
112675 main ()
112676 {
112677 main ();
112678   ;
112679   return 0;
112680 }
112681 _ACEOF
112682 rm -f conftest.$ac_objext conftest$ac_exeext
112683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112684   (eval $ac_link) 2>conftest.er1
112685   ac_status=$?
112686   grep -v '^ *+' conftest.er1 >conftest.err
112687   rm -f conftest.er1
112688   cat conftest.err >&5
112689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112690   (exit $ac_status); } &&
112691          { ac_try='test -z "$ac_c_werror_flag"
112692                          || test ! -s conftest.err'
112693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112694   (eval $ac_try) 2>&5
112695   ac_status=$?
112696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112697   (exit $ac_status); }; } &&
112698          { ac_try='test -s conftest$ac_exeext'
112699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112700   (eval $ac_try) 2>&5
112701   ac_status=$?
112702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112703   (exit $ac_status); }; }; then
112704   ac_cv_lib_m_main=yes
112705 else
112706   echo "$as_me: failed program was:" >&5
112707 sed 's/^/| /' conftest.$ac_ext >&5
112708
112709 ac_cv_lib_m_main=no
112710 fi
112711 rm -f conftest.err conftest.$ac_objext \
112712       conftest$ac_exeext conftest.$ac_ext
112713 LIBS=$ac_check_lib_save_LIBS
112714 fi
112715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112716 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112717 if test $ac_cv_lib_m_main = yes; then
112718   cat >>confdefs.h <<_ACEOF
112719 #define HAVE_LIBM 1
112720 _ACEOF
112721
112722   LIBS="-lm $LIBS"
112723
112724 fi
112725
112726
112727 for ac_func in copysignf
112728 do
112729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112730 echo "$as_me:$LINENO: checking for $ac_func" >&5
112731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112732 if eval "test \"\${$as_ac_var+set}\" = set"; then
112733   echo $ECHO_N "(cached) $ECHO_C" >&6
112734 else
112735   if test x$gcc_no_link = xyes; then
112736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112738    { (exit 1); exit 1; }; }
112739 fi
112740 cat >conftest.$ac_ext <<_ACEOF
112741 /* confdefs.h.  */
112742 _ACEOF
112743 cat confdefs.h >>conftest.$ac_ext
112744 cat >>conftest.$ac_ext <<_ACEOF
112745 /* end confdefs.h.  */
112746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112748 #define $ac_func innocuous_$ac_func
112749
112750 /* System header to define __stub macros and hopefully few prototypes,
112751     which can conflict with char $ac_func (); below.
112752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112753     <limits.h> exists even on freestanding compilers.  */
112754
112755 #ifdef __STDC__
112756 # include <limits.h>
112757 #else
112758 # include <assert.h>
112759 #endif
112760
112761 #undef $ac_func
112762
112763 /* Override any gcc2 internal prototype to avoid an error.  */
112764 #ifdef __cplusplus
112765 extern "C"
112766 {
112767 #endif
112768 /* We use char because int might match the return type of a gcc2
112769    builtin and then its argument prototype would still apply.  */
112770 char $ac_func ();
112771 /* The GNU C library defines this for functions which it implements
112772     to always fail with ENOSYS.  Some functions are actually named
112773     something starting with __ and the normal name is an alias.  */
112774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112775 choke me
112776 #else
112777 char (*f) () = $ac_func;
112778 #endif
112779 #ifdef __cplusplus
112780 }
112781 #endif
112782
112783 int
112784 main ()
112785 {
112786 return f != $ac_func;
112787   ;
112788   return 0;
112789 }
112790 _ACEOF
112791 rm -f conftest.$ac_objext conftest$ac_exeext
112792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112793   (eval $ac_link) 2>conftest.er1
112794   ac_status=$?
112795   grep -v '^ *+' conftest.er1 >conftest.err
112796   rm -f conftest.er1
112797   cat conftest.err >&5
112798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112799   (exit $ac_status); } &&
112800          { ac_try='test -z "$ac_c_werror_flag"
112801                          || test ! -s conftest.err'
112802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112803   (eval $ac_try) 2>&5
112804   ac_status=$?
112805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112806   (exit $ac_status); }; } &&
112807          { ac_try='test -s conftest$ac_exeext'
112808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112809   (eval $ac_try) 2>&5
112810   ac_status=$?
112811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112812   (exit $ac_status); }; }; then
112813   eval "$as_ac_var=yes"
112814 else
112815   echo "$as_me: failed program was:" >&5
112816 sed 's/^/| /' conftest.$ac_ext >&5
112817
112818 eval "$as_ac_var=no"
112819 fi
112820 rm -f conftest.err conftest.$ac_objext \
112821       conftest$ac_exeext conftest.$ac_ext
112822 fi
112823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112825 if test `eval echo '${'$as_ac_var'}'` = yes; then
112826   cat >>confdefs.h <<_ACEOF
112827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112828 _ACEOF
112829
112830 else
112831   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112832 fi
112833 done
112834
112835
112836
112837 for ac_func in __signbit
112838 do
112839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112840 echo "$as_me:$LINENO: checking for $ac_func" >&5
112841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112842 if eval "test \"\${$as_ac_var+set}\" = set"; then
112843   echo $ECHO_N "(cached) $ECHO_C" >&6
112844 else
112845   if test x$gcc_no_link = xyes; then
112846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112848    { (exit 1); exit 1; }; }
112849 fi
112850 cat >conftest.$ac_ext <<_ACEOF
112851 /* confdefs.h.  */
112852 _ACEOF
112853 cat confdefs.h >>conftest.$ac_ext
112854 cat >>conftest.$ac_ext <<_ACEOF
112855 /* end confdefs.h.  */
112856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112858 #define $ac_func innocuous_$ac_func
112859
112860 /* System header to define __stub macros and hopefully few prototypes,
112861     which can conflict with char $ac_func (); below.
112862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112863     <limits.h> exists even on freestanding compilers.  */
112864
112865 #ifdef __STDC__
112866 # include <limits.h>
112867 #else
112868 # include <assert.h>
112869 #endif
112870
112871 #undef $ac_func
112872
112873 /* Override any gcc2 internal prototype to avoid an error.  */
112874 #ifdef __cplusplus
112875 extern "C"
112876 {
112877 #endif
112878 /* We use char because int might match the return type of a gcc2
112879    builtin and then its argument prototype would still apply.  */
112880 char $ac_func ();
112881 /* The GNU C library defines this for functions which it implements
112882     to always fail with ENOSYS.  Some functions are actually named
112883     something starting with __ and the normal name is an alias.  */
112884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112885 choke me
112886 #else
112887 char (*f) () = $ac_func;
112888 #endif
112889 #ifdef __cplusplus
112890 }
112891 #endif
112892
112893 int
112894 main ()
112895 {
112896 return f != $ac_func;
112897   ;
112898   return 0;
112899 }
112900 _ACEOF
112901 rm -f conftest.$ac_objext conftest$ac_exeext
112902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112903   (eval $ac_link) 2>conftest.er1
112904   ac_status=$?
112905   grep -v '^ *+' conftest.er1 >conftest.err
112906   rm -f conftest.er1
112907   cat conftest.err >&5
112908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112909   (exit $ac_status); } &&
112910          { ac_try='test -z "$ac_c_werror_flag"
112911                          || test ! -s conftest.err'
112912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112913   (eval $ac_try) 2>&5
112914   ac_status=$?
112915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112916   (exit $ac_status); }; } &&
112917          { ac_try='test -s conftest$ac_exeext'
112918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112919   (eval $ac_try) 2>&5
112920   ac_status=$?
112921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112922   (exit $ac_status); }; }; then
112923   eval "$as_ac_var=yes"
112924 else
112925   echo "$as_me: failed program was:" >&5
112926 sed 's/^/| /' conftest.$ac_ext >&5
112927
112928 eval "$as_ac_var=no"
112929 fi
112930 rm -f conftest.err conftest.$ac_objext \
112931       conftest$ac_exeext conftest.$ac_ext
112932 fi
112933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112935 if test `eval echo '${'$as_ac_var'}'` = yes; then
112936   cat >>confdefs.h <<_ACEOF
112937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112938 _ACEOF
112939
112940 else
112941   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112942 fi
112943 done
112944
112945
112946
112947 for ac_func in __signbitf
112948 do
112949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112950 echo "$as_me:$LINENO: checking for $ac_func" >&5
112951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112952 if eval "test \"\${$as_ac_var+set}\" = set"; then
112953   echo $ECHO_N "(cached) $ECHO_C" >&6
112954 else
112955   if test x$gcc_no_link = xyes; then
112956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112958    { (exit 1); exit 1; }; }
112959 fi
112960 cat >conftest.$ac_ext <<_ACEOF
112961 /* confdefs.h.  */
112962 _ACEOF
112963 cat confdefs.h >>conftest.$ac_ext
112964 cat >>conftest.$ac_ext <<_ACEOF
112965 /* end confdefs.h.  */
112966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112968 #define $ac_func innocuous_$ac_func
112969
112970 /* System header to define __stub macros and hopefully few prototypes,
112971     which can conflict with char $ac_func (); below.
112972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112973     <limits.h> exists even on freestanding compilers.  */
112974
112975 #ifdef __STDC__
112976 # include <limits.h>
112977 #else
112978 # include <assert.h>
112979 #endif
112980
112981 #undef $ac_func
112982
112983 /* Override any gcc2 internal prototype to avoid an error.  */
112984 #ifdef __cplusplus
112985 extern "C"
112986 {
112987 #endif
112988 /* We use char because int might match the return type of a gcc2
112989    builtin and then its argument prototype would still apply.  */
112990 char $ac_func ();
112991 /* The GNU C library defines this for functions which it implements
112992     to always fail with ENOSYS.  Some functions are actually named
112993     something starting with __ and the normal name is an alias.  */
112994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112995 choke me
112996 #else
112997 char (*f) () = $ac_func;
112998 #endif
112999 #ifdef __cplusplus
113000 }
113001 #endif
113002
113003 int
113004 main ()
113005 {
113006 return f != $ac_func;
113007   ;
113008   return 0;
113009 }
113010 _ACEOF
113011 rm -f conftest.$ac_objext conftest$ac_exeext
113012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113013   (eval $ac_link) 2>conftest.er1
113014   ac_status=$?
113015   grep -v '^ *+' conftest.er1 >conftest.err
113016   rm -f conftest.er1
113017   cat conftest.err >&5
113018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113019   (exit $ac_status); } &&
113020          { ac_try='test -z "$ac_c_werror_flag"
113021                          || test ! -s conftest.err'
113022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113023   (eval $ac_try) 2>&5
113024   ac_status=$?
113025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113026   (exit $ac_status); }; } &&
113027          { ac_try='test -s conftest$ac_exeext'
113028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113029   (eval $ac_try) 2>&5
113030   ac_status=$?
113031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113032   (exit $ac_status); }; }; then
113033   eval "$as_ac_var=yes"
113034 else
113035   echo "$as_me: failed program was:" >&5
113036 sed 's/^/| /' conftest.$ac_ext >&5
113037
113038 eval "$as_ac_var=no"
113039 fi
113040 rm -f conftest.err conftest.$ac_objext \
113041       conftest$ac_exeext conftest.$ac_ext
113042 fi
113043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113045 if test `eval echo '${'$as_ac_var'}'` = yes; then
113046   cat >>confdefs.h <<_ACEOF
113047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113048 _ACEOF
113049
113050 else
113051   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113052 fi
113053 done
113054
113055
113056           if test x$ac_cv_func_copysignl = x"yes"; then
113057
113058 for ac_func in __signbitl
113059 do
113060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113061 echo "$as_me:$LINENO: checking for $ac_func" >&5
113062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113063 if eval "test \"\${$as_ac_var+set}\" = set"; then
113064   echo $ECHO_N "(cached) $ECHO_C" >&6
113065 else
113066   if test x$gcc_no_link = xyes; then
113067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113069    { (exit 1); exit 1; }; }
113070 fi
113071 cat >conftest.$ac_ext <<_ACEOF
113072 /* confdefs.h.  */
113073 _ACEOF
113074 cat confdefs.h >>conftest.$ac_ext
113075 cat >>conftest.$ac_ext <<_ACEOF
113076 /* end confdefs.h.  */
113077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113079 #define $ac_func innocuous_$ac_func
113080
113081 /* System header to define __stub macros and hopefully few prototypes,
113082     which can conflict with char $ac_func (); below.
113083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113084     <limits.h> exists even on freestanding compilers.  */
113085
113086 #ifdef __STDC__
113087 # include <limits.h>
113088 #else
113089 # include <assert.h>
113090 #endif
113091
113092 #undef $ac_func
113093
113094 /* Override any gcc2 internal prototype to avoid an error.  */
113095 #ifdef __cplusplus
113096 extern "C"
113097 {
113098 #endif
113099 /* We use char because int might match the return type of a gcc2
113100    builtin and then its argument prototype would still apply.  */
113101 char $ac_func ();
113102 /* The GNU C library defines this for functions which it implements
113103     to always fail with ENOSYS.  Some functions are actually named
113104     something starting with __ and the normal name is an alias.  */
113105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113106 choke me
113107 #else
113108 char (*f) () = $ac_func;
113109 #endif
113110 #ifdef __cplusplus
113111 }
113112 #endif
113113
113114 int
113115 main ()
113116 {
113117 return f != $ac_func;
113118   ;
113119   return 0;
113120 }
113121 _ACEOF
113122 rm -f conftest.$ac_objext conftest$ac_exeext
113123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113124   (eval $ac_link) 2>conftest.er1
113125   ac_status=$?
113126   grep -v '^ *+' conftest.er1 >conftest.err
113127   rm -f conftest.er1
113128   cat conftest.err >&5
113129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113130   (exit $ac_status); } &&
113131          { ac_try='test -z "$ac_c_werror_flag"
113132                          || test ! -s conftest.err'
113133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113134   (eval $ac_try) 2>&5
113135   ac_status=$?
113136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113137   (exit $ac_status); }; } &&
113138          { ac_try='test -s conftest$ac_exeext'
113139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113140   (eval $ac_try) 2>&5
113141   ac_status=$?
113142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113143   (exit $ac_status); }; }; then
113144   eval "$as_ac_var=yes"
113145 else
113146   echo "$as_me: failed program was:" >&5
113147 sed 's/^/| /' conftest.$ac_ext >&5
113148
113149 eval "$as_ac_var=no"
113150 fi
113151 rm -f conftest.err conftest.$ac_objext \
113152       conftest$ac_exeext conftest.$ac_ext
113153 fi
113154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113156 if test `eval echo '${'$as_ac_var'}'` = yes; then
113157   cat >>confdefs.h <<_ACEOF
113158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113159 _ACEOF
113160
113161 else
113162   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113163 fi
113164 done
113165
113166   fi
113167
113168   # Used in libmath/Makefile.am.
113169   if test -n "$LIBMATHOBJS"; then
113170     need_libmath=yes
113171   fi
113172
113173
113174     cat >>confdefs.h <<\_ACEOF
113175 #define HAVE_COPYSIGN 1
113176 _ACEOF
113177
113178     cat >>confdefs.h <<\_ACEOF
113179 #define HAVE_COPYSIGNF 1
113180 _ACEOF
113181
113182     cat >>confdefs.h <<\_ACEOF
113183 #define HAVE_FINITEF 1
113184 _ACEOF
113185
113186     cat >>confdefs.h <<\_ACEOF
113187 #define HAVE_FINITE 1
113188 _ACEOF
113189
113190     cat >>confdefs.h <<\_ACEOF
113191 #define HAVE_FREXPF 1
113192 _ACEOF
113193
113194     cat >>confdefs.h <<\_ACEOF
113195 #define HAVE_HYPOTF 1
113196 _ACEOF
113197
113198     cat >>confdefs.h <<\_ACEOF
113199 #define HAVE_ISINF 1
113200 _ACEOF
113201
113202     cat >>confdefs.h <<\_ACEOF
113203 #define HAVE_ISINFF 1
113204 _ACEOF
113205
113206     cat >>confdefs.h <<\_ACEOF
113207 #define HAVE_ISNAN 1
113208 _ACEOF
113209
113210     cat >>confdefs.h <<\_ACEOF
113211 #define HAVE_ISNANF 1
113212 _ACEOF
113213
113214     if test x"long_double_math_on_this_cpu" = x"yes"; then
113215       cat >>confdefs.h <<\_ACEOF
113216 #define HAVE_FINITEL 1
113217 _ACEOF
113218
113219       cat >>confdefs.h <<\_ACEOF
113220 #define HAVE_ISINFL 1
113221 _ACEOF
113222
113223       cat >>confdefs.h <<\_ACEOF
113224 #define HAVE_ISNANL 1
113225 _ACEOF
113226
113227     fi
113228     ;;
113229   *-netware)
113230
113231
113232
113233
113234
113235
113236
113237
113238 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
113239       sys/types.h locale.h float.h inttypes.h
113240 do
113241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113243   echo "$as_me:$LINENO: checking for $ac_header" >&5
113244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113246   echo $ECHO_N "(cached) $ECHO_C" >&6
113247 fi
113248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113250 else
113251   # Is the header compilable?
113252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113254 cat >conftest.$ac_ext <<_ACEOF
113255 /* confdefs.h.  */
113256 _ACEOF
113257 cat confdefs.h >>conftest.$ac_ext
113258 cat >>conftest.$ac_ext <<_ACEOF
113259 /* end confdefs.h.  */
113260 $ac_includes_default
113261 #include <$ac_header>
113262 _ACEOF
113263 rm -f conftest.$ac_objext
113264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113265   (eval $ac_compile) 2>conftest.er1
113266   ac_status=$?
113267   grep -v '^ *+' conftest.er1 >conftest.err
113268   rm -f conftest.er1
113269   cat conftest.err >&5
113270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113271   (exit $ac_status); } &&
113272          { ac_try='test -z "$ac_c_werror_flag"
113273                          || test ! -s conftest.err'
113274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113275   (eval $ac_try) 2>&5
113276   ac_status=$?
113277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113278   (exit $ac_status); }; } &&
113279          { ac_try='test -s conftest.$ac_objext'
113280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113281   (eval $ac_try) 2>&5
113282   ac_status=$?
113283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113284   (exit $ac_status); }; }; then
113285   ac_header_compiler=yes
113286 else
113287   echo "$as_me: failed program was:" >&5
113288 sed 's/^/| /' conftest.$ac_ext >&5
113289
113290 ac_header_compiler=no
113291 fi
113292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113294 echo "${ECHO_T}$ac_header_compiler" >&6
113295
113296 # Is the header present?
113297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113299 cat >conftest.$ac_ext <<_ACEOF
113300 /* confdefs.h.  */
113301 _ACEOF
113302 cat confdefs.h >>conftest.$ac_ext
113303 cat >>conftest.$ac_ext <<_ACEOF
113304 /* end confdefs.h.  */
113305 #include <$ac_header>
113306 _ACEOF
113307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113308   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113309   ac_status=$?
113310   grep -v '^ *+' conftest.er1 >conftest.err
113311   rm -f conftest.er1
113312   cat conftest.err >&5
113313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113314   (exit $ac_status); } >/dev/null; then
113315   if test -s conftest.err; then
113316     ac_cpp_err=$ac_c_preproc_warn_flag
113317     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113318   else
113319     ac_cpp_err=
113320   fi
113321 else
113322   ac_cpp_err=yes
113323 fi
113324 if test -z "$ac_cpp_err"; then
113325   ac_header_preproc=yes
113326 else
113327   echo "$as_me: failed program was:" >&5
113328 sed 's/^/| /' conftest.$ac_ext >&5
113329
113330   ac_header_preproc=no
113331 fi
113332 rm -f conftest.err conftest.$ac_ext
113333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113334 echo "${ECHO_T}$ac_header_preproc" >&6
113335
113336 # So?  What about this header?
113337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113338   yes:no: )
113339     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113341     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113343     ac_header_preproc=yes
113344     ;;
113345   no:yes:* )
113346     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113348     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113349 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113350     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113352     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113353 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113354     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113356     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113358     (
113359       cat <<\_ASBOX
113360 ## ----------------------------------------- ##
113361 ## Report this to the package-unused lists.  ##
113362 ## ----------------------------------------- ##
113363 _ASBOX
113364     ) |
113365       sed "s/^/$as_me: WARNING:     /" >&2
113366     ;;
113367 esac
113368 echo "$as_me:$LINENO: checking for $ac_header" >&5
113369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113371   echo $ECHO_N "(cached) $ECHO_C" >&6
113372 else
113373   eval "$as_ac_Header=\$ac_header_preproc"
113374 fi
113375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113377
113378 fi
113379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113380   cat >>confdefs.h <<_ACEOF
113381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113382 _ACEOF
113383
113384 fi
113385
113386 done
113387
113388     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113389
113390
113391   # If we're not using GNU ld, then there's no point in even trying these
113392   # tests.  Check for that first.  We should have already tested for gld
113393   # by now (in libtool), but require it now just to be safe...
113394   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113395   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113396
113397
113398
113399   # The name set by libtool depends on the version of libtool.  Shame on us
113400   # for depending on an impl detail, but c'est la vie.  Older versions used
113401   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113402   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113403   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113404   # set (hence we're using an older libtool), then set it.
113405   if test x${with_gnu_ld+set} != xset; then
113406     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113407       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113408       with_gnu_ld=no
113409     else
113410       with_gnu_ld=$ac_cv_prog_gnu_ld
113411     fi
113412   fi
113413
113414   # Start by getting the version number.  I think the libtool test already
113415   # does some of this, but throws away the result.
113416   glibcxx_ld_is_gold=no
113417   if test x"$with_gnu_ld" = x"yes"; then
113418     echo "$as_me:$LINENO: checking for ld version" >&5
113419 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113420
113421     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113422       glibcxx_ld_is_gold=yes
113423     fi
113424     ldver=`$LD --version 2>/dev/null | head -1 | \
113425            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113426
113427     glibcxx_gnu_ld_version=`echo $ldver | \
113428            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113429     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113430 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113431   fi
113432
113433   # Set --gc-sections.
113434   glibcxx_have_gc_sections=no
113435   if test "$glibcxx_ld_is_gold" = "yes"; then
113436     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113437       glibcxx_have_gc_sections=yes
113438     fi
113439   else
113440     glibcxx_gcsections_min_ld=21602
113441     if test x"$with_gnu_ld" = x"yes" &&
113442         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113443       glibcxx_have_gc_sections=yes
113444     fi
113445   fi
113446   if test "$glibcxx_have_gc_sections" = "yes"; then
113447     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113448     # NB: This flag only works reliably after 2.16.1. Configure tests
113449     # for this are difficult, so hard wire a value that should work.
113450
113451     ac_test_CFLAGS="${CFLAGS+set}"
113452     ac_save_CFLAGS="$CFLAGS"
113453     CFLAGS='-Wl,--gc-sections'
113454
113455     # Check for -Wl,--gc-sections
113456     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113457 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113458     if test x$gcc_no_link = xyes; then
113459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113461    { (exit 1); exit 1; }; }
113462 fi
113463 cat >conftest.$ac_ext <<_ACEOF
113464 /* confdefs.h.  */
113465 _ACEOF
113466 cat confdefs.h >>conftest.$ac_ext
113467 cat >>conftest.$ac_ext <<_ACEOF
113468 /* end confdefs.h.  */
113469  int one(void) { return 1; }
113470      int two(void) { return 2; }
113471
113472 int
113473 main ()
113474 {
113475  two();
113476   ;
113477   return 0;
113478 }
113479 _ACEOF
113480 rm -f conftest.$ac_objext conftest$ac_exeext
113481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113482   (eval $ac_link) 2>conftest.er1
113483   ac_status=$?
113484   grep -v '^ *+' conftest.er1 >conftest.err
113485   rm -f conftest.er1
113486   cat conftest.err >&5
113487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113488   (exit $ac_status); } &&
113489          { ac_try='test -z "$ac_c_werror_flag"
113490                          || test ! -s conftest.err'
113491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113492   (eval $ac_try) 2>&5
113493   ac_status=$?
113494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113495   (exit $ac_status); }; } &&
113496          { ac_try='test -s conftest$ac_exeext'
113497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113498   (eval $ac_try) 2>&5
113499   ac_status=$?
113500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113501   (exit $ac_status); }; }; then
113502   ac_gcsections=yes
113503 else
113504   echo "$as_me: failed program was:" >&5
113505 sed 's/^/| /' conftest.$ac_ext >&5
113506
113507 ac_gcsections=no
113508 fi
113509 rm -f conftest.err conftest.$ac_objext \
113510       conftest$ac_exeext conftest.$ac_ext
113511     if test "$ac_gcsections" = "yes"; then
113512       rm -f conftest.c
113513       touch conftest.c
113514       if $CC -c conftest.c; then
113515         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113516            grep "Warning: gc-sections option ignored" > /dev/null; then
113517           ac_gcsections=no
113518         fi
113519       fi
113520       rm -f conftest.c conftest.o conftest
113521     fi
113522     if test "$ac_gcsections" = "yes"; then
113523       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113524     fi
113525     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113526 echo "${ECHO_T}$ac_gcsections" >&6
113527
113528     if test "$ac_test_CFLAGS" = set; then
113529       CFLAGS="$ac_save_CFLAGS"
113530     else
113531       # this is the suspicious part
113532       CFLAGS=''
113533     fi
113534   fi
113535
113536   # Set -z,relro.
113537   # Note this is only for shared objects.
113538   ac_ld_relro=no
113539   if test x"$with_gnu_ld" = x"yes"; then
113540     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113541 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113542     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113543     if test -n "$cxx_z_relo"; then
113544       OPT_LDFLAGS="-Wl,-z,relro"
113545       ac_ld_relro=yes
113546     fi
113547     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113548 echo "${ECHO_T}$ac_ld_relro" >&6
113549   fi
113550
113551   # Set linker optimization flags.
113552   if test x"$with_gnu_ld" = x"yes"; then
113553     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113554   fi
113555
113556
113557
113558
113559
113560
113561 echo "$as_me:$LINENO: checking for main in -lm" >&5
113562 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113563 if test "${ac_cv_lib_m_main+set}" = set; then
113564   echo $ECHO_N "(cached) $ECHO_C" >&6
113565 else
113566   ac_check_lib_save_LIBS=$LIBS
113567 LIBS="-lm  $LIBS"
113568 if test x$gcc_no_link = xyes; then
113569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113571    { (exit 1); exit 1; }; }
113572 fi
113573 cat >conftest.$ac_ext <<_ACEOF
113574 /* confdefs.h.  */
113575 _ACEOF
113576 cat confdefs.h >>conftest.$ac_ext
113577 cat >>conftest.$ac_ext <<_ACEOF
113578 /* end confdefs.h.  */
113579
113580
113581 int
113582 main ()
113583 {
113584 main ();
113585   ;
113586   return 0;
113587 }
113588 _ACEOF
113589 rm -f conftest.$ac_objext conftest$ac_exeext
113590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113591   (eval $ac_link) 2>conftest.er1
113592   ac_status=$?
113593   grep -v '^ *+' conftest.er1 >conftest.err
113594   rm -f conftest.er1
113595   cat conftest.err >&5
113596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113597   (exit $ac_status); } &&
113598          { ac_try='test -z "$ac_c_werror_flag"
113599                          || test ! -s conftest.err'
113600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113601   (eval $ac_try) 2>&5
113602   ac_status=$?
113603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113604   (exit $ac_status); }; } &&
113605          { ac_try='test -s conftest$ac_exeext'
113606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113607   (eval $ac_try) 2>&5
113608   ac_status=$?
113609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113610   (exit $ac_status); }; }; then
113611   ac_cv_lib_m_main=yes
113612 else
113613   echo "$as_me: failed program was:" >&5
113614 sed 's/^/| /' conftest.$ac_ext >&5
113615
113616 ac_cv_lib_m_main=no
113617 fi
113618 rm -f conftest.err conftest.$ac_objext \
113619       conftest$ac_exeext conftest.$ac_ext
113620 LIBS=$ac_check_lib_save_LIBS
113621 fi
113622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113623 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113624 if test $ac_cv_lib_m_main = yes; then
113625   cat >>confdefs.h <<_ACEOF
113626 #define HAVE_LIBM 1
113627 _ACEOF
113628
113629   LIBS="-lm $LIBS"
113630
113631 fi
113632
113633
113634 for ac_func in copysignf
113635 do
113636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113637 echo "$as_me:$LINENO: checking for $ac_func" >&5
113638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113639 if eval "test \"\${$as_ac_var+set}\" = set"; then
113640   echo $ECHO_N "(cached) $ECHO_C" >&6
113641 else
113642   if test x$gcc_no_link = xyes; then
113643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113645    { (exit 1); exit 1; }; }
113646 fi
113647 cat >conftest.$ac_ext <<_ACEOF
113648 /* confdefs.h.  */
113649 _ACEOF
113650 cat confdefs.h >>conftest.$ac_ext
113651 cat >>conftest.$ac_ext <<_ACEOF
113652 /* end confdefs.h.  */
113653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113655 #define $ac_func innocuous_$ac_func
113656
113657 /* System header to define __stub macros and hopefully few prototypes,
113658     which can conflict with char $ac_func (); below.
113659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113660     <limits.h> exists even on freestanding compilers.  */
113661
113662 #ifdef __STDC__
113663 # include <limits.h>
113664 #else
113665 # include <assert.h>
113666 #endif
113667
113668 #undef $ac_func
113669
113670 /* Override any gcc2 internal prototype to avoid an error.  */
113671 #ifdef __cplusplus
113672 extern "C"
113673 {
113674 #endif
113675 /* We use char because int might match the return type of a gcc2
113676    builtin and then its argument prototype would still apply.  */
113677 char $ac_func ();
113678 /* The GNU C library defines this for functions which it implements
113679     to always fail with ENOSYS.  Some functions are actually named
113680     something starting with __ and the normal name is an alias.  */
113681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113682 choke me
113683 #else
113684 char (*f) () = $ac_func;
113685 #endif
113686 #ifdef __cplusplus
113687 }
113688 #endif
113689
113690 int
113691 main ()
113692 {
113693 return f != $ac_func;
113694   ;
113695   return 0;
113696 }
113697 _ACEOF
113698 rm -f conftest.$ac_objext conftest$ac_exeext
113699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113700   (eval $ac_link) 2>conftest.er1
113701   ac_status=$?
113702   grep -v '^ *+' conftest.er1 >conftest.err
113703   rm -f conftest.er1
113704   cat conftest.err >&5
113705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113706   (exit $ac_status); } &&
113707          { ac_try='test -z "$ac_c_werror_flag"
113708                          || test ! -s conftest.err'
113709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113710   (eval $ac_try) 2>&5
113711   ac_status=$?
113712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113713   (exit $ac_status); }; } &&
113714          { ac_try='test -s conftest$ac_exeext'
113715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113716   (eval $ac_try) 2>&5
113717   ac_status=$?
113718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113719   (exit $ac_status); }; }; then
113720   eval "$as_ac_var=yes"
113721 else
113722   echo "$as_me: failed program was:" >&5
113723 sed 's/^/| /' conftest.$ac_ext >&5
113724
113725 eval "$as_ac_var=no"
113726 fi
113727 rm -f conftest.err conftest.$ac_objext \
113728       conftest$ac_exeext conftest.$ac_ext
113729 fi
113730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113732 if test `eval echo '${'$as_ac_var'}'` = yes; then
113733   cat >>confdefs.h <<_ACEOF
113734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113735 _ACEOF
113736
113737 else
113738   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113739 fi
113740 done
113741
113742
113743
113744 for ac_func in __signbit
113745 do
113746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113747 echo "$as_me:$LINENO: checking for $ac_func" >&5
113748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113749 if eval "test \"\${$as_ac_var+set}\" = set"; then
113750   echo $ECHO_N "(cached) $ECHO_C" >&6
113751 else
113752   if test x$gcc_no_link = xyes; then
113753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113755    { (exit 1); exit 1; }; }
113756 fi
113757 cat >conftest.$ac_ext <<_ACEOF
113758 /* confdefs.h.  */
113759 _ACEOF
113760 cat confdefs.h >>conftest.$ac_ext
113761 cat >>conftest.$ac_ext <<_ACEOF
113762 /* end confdefs.h.  */
113763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113765 #define $ac_func innocuous_$ac_func
113766
113767 /* System header to define __stub macros and hopefully few prototypes,
113768     which can conflict with char $ac_func (); below.
113769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113770     <limits.h> exists even on freestanding compilers.  */
113771
113772 #ifdef __STDC__
113773 # include <limits.h>
113774 #else
113775 # include <assert.h>
113776 #endif
113777
113778 #undef $ac_func
113779
113780 /* Override any gcc2 internal prototype to avoid an error.  */
113781 #ifdef __cplusplus
113782 extern "C"
113783 {
113784 #endif
113785 /* We use char because int might match the return type of a gcc2
113786    builtin and then its argument prototype would still apply.  */
113787 char $ac_func ();
113788 /* The GNU C library defines this for functions which it implements
113789     to always fail with ENOSYS.  Some functions are actually named
113790     something starting with __ and the normal name is an alias.  */
113791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113792 choke me
113793 #else
113794 char (*f) () = $ac_func;
113795 #endif
113796 #ifdef __cplusplus
113797 }
113798 #endif
113799
113800 int
113801 main ()
113802 {
113803 return f != $ac_func;
113804   ;
113805   return 0;
113806 }
113807 _ACEOF
113808 rm -f conftest.$ac_objext conftest$ac_exeext
113809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113810   (eval $ac_link) 2>conftest.er1
113811   ac_status=$?
113812   grep -v '^ *+' conftest.er1 >conftest.err
113813   rm -f conftest.er1
113814   cat conftest.err >&5
113815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113816   (exit $ac_status); } &&
113817          { ac_try='test -z "$ac_c_werror_flag"
113818                          || test ! -s conftest.err'
113819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113820   (eval $ac_try) 2>&5
113821   ac_status=$?
113822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113823   (exit $ac_status); }; } &&
113824          { ac_try='test -s conftest$ac_exeext'
113825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113826   (eval $ac_try) 2>&5
113827   ac_status=$?
113828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113829   (exit $ac_status); }; }; then
113830   eval "$as_ac_var=yes"
113831 else
113832   echo "$as_me: failed program was:" >&5
113833 sed 's/^/| /' conftest.$ac_ext >&5
113834
113835 eval "$as_ac_var=no"
113836 fi
113837 rm -f conftest.err conftest.$ac_objext \
113838       conftest$ac_exeext conftest.$ac_ext
113839 fi
113840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113842 if test `eval echo '${'$as_ac_var'}'` = yes; then
113843   cat >>confdefs.h <<_ACEOF
113844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113845 _ACEOF
113846
113847 else
113848   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113849 fi
113850 done
113851
113852
113853
113854 for ac_func in __signbitf
113855 do
113856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113857 echo "$as_me:$LINENO: checking for $ac_func" >&5
113858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113859 if eval "test \"\${$as_ac_var+set}\" = set"; then
113860   echo $ECHO_N "(cached) $ECHO_C" >&6
113861 else
113862   if test x$gcc_no_link = xyes; then
113863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113865    { (exit 1); exit 1; }; }
113866 fi
113867 cat >conftest.$ac_ext <<_ACEOF
113868 /* confdefs.h.  */
113869 _ACEOF
113870 cat confdefs.h >>conftest.$ac_ext
113871 cat >>conftest.$ac_ext <<_ACEOF
113872 /* end confdefs.h.  */
113873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113875 #define $ac_func innocuous_$ac_func
113876
113877 /* System header to define __stub macros and hopefully few prototypes,
113878     which can conflict with char $ac_func (); below.
113879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113880     <limits.h> exists even on freestanding compilers.  */
113881
113882 #ifdef __STDC__
113883 # include <limits.h>
113884 #else
113885 # include <assert.h>
113886 #endif
113887
113888 #undef $ac_func
113889
113890 /* Override any gcc2 internal prototype to avoid an error.  */
113891 #ifdef __cplusplus
113892 extern "C"
113893 {
113894 #endif
113895 /* We use char because int might match the return type of a gcc2
113896    builtin and then its argument prototype would still apply.  */
113897 char $ac_func ();
113898 /* The GNU C library defines this for functions which it implements
113899     to always fail with ENOSYS.  Some functions are actually named
113900     something starting with __ and the normal name is an alias.  */
113901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113902 choke me
113903 #else
113904 char (*f) () = $ac_func;
113905 #endif
113906 #ifdef __cplusplus
113907 }
113908 #endif
113909
113910 int
113911 main ()
113912 {
113913 return f != $ac_func;
113914   ;
113915   return 0;
113916 }
113917 _ACEOF
113918 rm -f conftest.$ac_objext conftest$ac_exeext
113919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113920   (eval $ac_link) 2>conftest.er1
113921   ac_status=$?
113922   grep -v '^ *+' conftest.er1 >conftest.err
113923   rm -f conftest.er1
113924   cat conftest.err >&5
113925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113926   (exit $ac_status); } &&
113927          { ac_try='test -z "$ac_c_werror_flag"
113928                          || test ! -s conftest.err'
113929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113930   (eval $ac_try) 2>&5
113931   ac_status=$?
113932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113933   (exit $ac_status); }; } &&
113934          { ac_try='test -s conftest$ac_exeext'
113935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113936   (eval $ac_try) 2>&5
113937   ac_status=$?
113938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113939   (exit $ac_status); }; }; then
113940   eval "$as_ac_var=yes"
113941 else
113942   echo "$as_me: failed program was:" >&5
113943 sed 's/^/| /' conftest.$ac_ext >&5
113944
113945 eval "$as_ac_var=no"
113946 fi
113947 rm -f conftest.err conftest.$ac_objext \
113948       conftest$ac_exeext conftest.$ac_ext
113949 fi
113950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113952 if test `eval echo '${'$as_ac_var'}'` = yes; then
113953   cat >>confdefs.h <<_ACEOF
113954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113955 _ACEOF
113956
113957 else
113958   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113959 fi
113960 done
113961
113962
113963           if test x$ac_cv_func_copysignl = x"yes"; then
113964
113965 for ac_func in __signbitl
113966 do
113967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113968 echo "$as_me:$LINENO: checking for $ac_func" >&5
113969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113970 if eval "test \"\${$as_ac_var+set}\" = set"; then
113971   echo $ECHO_N "(cached) $ECHO_C" >&6
113972 else
113973   if test x$gcc_no_link = xyes; then
113974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113976    { (exit 1); exit 1; }; }
113977 fi
113978 cat >conftest.$ac_ext <<_ACEOF
113979 /* confdefs.h.  */
113980 _ACEOF
113981 cat confdefs.h >>conftest.$ac_ext
113982 cat >>conftest.$ac_ext <<_ACEOF
113983 /* end confdefs.h.  */
113984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113986 #define $ac_func innocuous_$ac_func
113987
113988 /* System header to define __stub macros and hopefully few prototypes,
113989     which can conflict with char $ac_func (); below.
113990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113991     <limits.h> exists even on freestanding compilers.  */
113992
113993 #ifdef __STDC__
113994 # include <limits.h>
113995 #else
113996 # include <assert.h>
113997 #endif
113998
113999 #undef $ac_func
114000
114001 /* Override any gcc2 internal prototype to avoid an error.  */
114002 #ifdef __cplusplus
114003 extern "C"
114004 {
114005 #endif
114006 /* We use char because int might match the return type of a gcc2
114007    builtin and then its argument prototype would still apply.  */
114008 char $ac_func ();
114009 /* The GNU C library defines this for functions which it implements
114010     to always fail with ENOSYS.  Some functions are actually named
114011     something starting with __ and the normal name is an alias.  */
114012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114013 choke me
114014 #else
114015 char (*f) () = $ac_func;
114016 #endif
114017 #ifdef __cplusplus
114018 }
114019 #endif
114020
114021 int
114022 main ()
114023 {
114024 return f != $ac_func;
114025   ;
114026   return 0;
114027 }
114028 _ACEOF
114029 rm -f conftest.$ac_objext conftest$ac_exeext
114030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114031   (eval $ac_link) 2>conftest.er1
114032   ac_status=$?
114033   grep -v '^ *+' conftest.er1 >conftest.err
114034   rm -f conftest.er1
114035   cat conftest.err >&5
114036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114037   (exit $ac_status); } &&
114038          { ac_try='test -z "$ac_c_werror_flag"
114039                          || test ! -s conftest.err'
114040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114041   (eval $ac_try) 2>&5
114042   ac_status=$?
114043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114044   (exit $ac_status); }; } &&
114045          { ac_try='test -s conftest$ac_exeext'
114046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114047   (eval $ac_try) 2>&5
114048   ac_status=$?
114049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114050   (exit $ac_status); }; }; then
114051   eval "$as_ac_var=yes"
114052 else
114053   echo "$as_me: failed program was:" >&5
114054 sed 's/^/| /' conftest.$ac_ext >&5
114055
114056 eval "$as_ac_var=no"
114057 fi
114058 rm -f conftest.err conftest.$ac_objext \
114059       conftest$ac_exeext conftest.$ac_ext
114060 fi
114061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114063 if test `eval echo '${'$as_ac_var'}'` = yes; then
114064   cat >>confdefs.h <<_ACEOF
114065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114066 _ACEOF
114067
114068 else
114069   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114070 fi
114071 done
114072
114073   fi
114074
114075   # Used in libmath/Makefile.am.
114076   if test -n "$LIBMATHOBJS"; then
114077     need_libmath=yes
114078   fi
114079
114080
114081     cat >>confdefs.h <<\_ACEOF
114082 #define HAVE_HYPOT 1
114083 _ACEOF
114084
114085     cat >>confdefs.h <<\_ACEOF
114086 #define HAVE_ISINF 1
114087 _ACEOF
114088
114089     cat >>confdefs.h <<\_ACEOF
114090 #define HAVE_ISNAN 1
114091 _ACEOF
114092
114093
114094     # For showmanyc_helper().
114095
114096
114097 for ac_header in sys/ioctl.h sys/filio.h
114098 do
114099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114101   echo "$as_me:$LINENO: checking for $ac_header" >&5
114102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114104   echo $ECHO_N "(cached) $ECHO_C" >&6
114105 fi
114106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114108 else
114109   # Is the header compilable?
114110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114112 cat >conftest.$ac_ext <<_ACEOF
114113 /* confdefs.h.  */
114114 _ACEOF
114115 cat confdefs.h >>conftest.$ac_ext
114116 cat >>conftest.$ac_ext <<_ACEOF
114117 /* end confdefs.h.  */
114118 $ac_includes_default
114119 #include <$ac_header>
114120 _ACEOF
114121 rm -f conftest.$ac_objext
114122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114123   (eval $ac_compile) 2>conftest.er1
114124   ac_status=$?
114125   grep -v '^ *+' conftest.er1 >conftest.err
114126   rm -f conftest.er1
114127   cat conftest.err >&5
114128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114129   (exit $ac_status); } &&
114130          { ac_try='test -z "$ac_c_werror_flag"
114131                          || test ! -s conftest.err'
114132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114133   (eval $ac_try) 2>&5
114134   ac_status=$?
114135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114136   (exit $ac_status); }; } &&
114137          { ac_try='test -s conftest.$ac_objext'
114138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114139   (eval $ac_try) 2>&5
114140   ac_status=$?
114141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114142   (exit $ac_status); }; }; then
114143   ac_header_compiler=yes
114144 else
114145   echo "$as_me: failed program was:" >&5
114146 sed 's/^/| /' conftest.$ac_ext >&5
114147
114148 ac_header_compiler=no
114149 fi
114150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114152 echo "${ECHO_T}$ac_header_compiler" >&6
114153
114154 # Is the header present?
114155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114157 cat >conftest.$ac_ext <<_ACEOF
114158 /* confdefs.h.  */
114159 _ACEOF
114160 cat confdefs.h >>conftest.$ac_ext
114161 cat >>conftest.$ac_ext <<_ACEOF
114162 /* end confdefs.h.  */
114163 #include <$ac_header>
114164 _ACEOF
114165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114166   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114167   ac_status=$?
114168   grep -v '^ *+' conftest.er1 >conftest.err
114169   rm -f conftest.er1
114170   cat conftest.err >&5
114171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114172   (exit $ac_status); } >/dev/null; then
114173   if test -s conftest.err; then
114174     ac_cpp_err=$ac_c_preproc_warn_flag
114175     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114176   else
114177     ac_cpp_err=
114178   fi
114179 else
114180   ac_cpp_err=yes
114181 fi
114182 if test -z "$ac_cpp_err"; then
114183   ac_header_preproc=yes
114184 else
114185   echo "$as_me: failed program was:" >&5
114186 sed 's/^/| /' conftest.$ac_ext >&5
114187
114188   ac_header_preproc=no
114189 fi
114190 rm -f conftest.err conftest.$ac_ext
114191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114192 echo "${ECHO_T}$ac_header_preproc" >&6
114193
114194 # So?  What about this header?
114195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114196   yes:no: )
114197     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114201     ac_header_preproc=yes
114202     ;;
114203   no:yes:* )
114204     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114206     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114207 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114208     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114210     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114211 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114214     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114216     (
114217       cat <<\_ASBOX
114218 ## ----------------------------------------- ##
114219 ## Report this to the package-unused lists.  ##
114220 ## ----------------------------------------- ##
114221 _ASBOX
114222     ) |
114223       sed "s/^/$as_me: WARNING:     /" >&2
114224     ;;
114225 esac
114226 echo "$as_me:$LINENO: checking for $ac_header" >&5
114227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114229   echo $ECHO_N "(cached) $ECHO_C" >&6
114230 else
114231   eval "$as_ac_Header=\$ac_header_preproc"
114232 fi
114233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114235
114236 fi
114237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114238   cat >>confdefs.h <<_ACEOF
114239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114240 _ACEOF
114241
114242 fi
114243
114244 done
114245
114246
114247   echo "$as_me:$LINENO: checking for poll" >&5
114248 echo $ECHO_N "checking for poll... $ECHO_C" >&6
114249   if test "${glibcxx_cv_POLL+set}" = set; then
114250   echo $ECHO_N "(cached) $ECHO_C" >&6
114251 else
114252
114253     if test x$gcc_no_link = xyes; then
114254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114256    { (exit 1); exit 1; }; }
114257 fi
114258 cat >conftest.$ac_ext <<_ACEOF
114259 /* confdefs.h.  */
114260 _ACEOF
114261 cat confdefs.h >>conftest.$ac_ext
114262 cat >>conftest.$ac_ext <<_ACEOF
114263 /* end confdefs.h.  */
114264 #include <poll.h>
114265 int
114266 main ()
114267 {
114268 struct pollfd pfd[1];
114269        pfd[0].events = POLLIN;
114270        poll(pfd, 1, 0);
114271   ;
114272   return 0;
114273 }
114274 _ACEOF
114275 rm -f conftest.$ac_objext conftest$ac_exeext
114276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114277   (eval $ac_link) 2>conftest.er1
114278   ac_status=$?
114279   grep -v '^ *+' conftest.er1 >conftest.err
114280   rm -f conftest.er1
114281   cat conftest.err >&5
114282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114283   (exit $ac_status); } &&
114284          { ac_try='test -z "$ac_c_werror_flag"
114285                          || test ! -s conftest.err'
114286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114287   (eval $ac_try) 2>&5
114288   ac_status=$?
114289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114290   (exit $ac_status); }; } &&
114291          { ac_try='test -s conftest$ac_exeext'
114292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114293   (eval $ac_try) 2>&5
114294   ac_status=$?
114295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114296   (exit $ac_status); }; }; then
114297   glibcxx_cv_POLL=yes
114298 else
114299   echo "$as_me: failed program was:" >&5
114300 sed 's/^/| /' conftest.$ac_ext >&5
114301
114302 glibcxx_cv_POLL=no
114303 fi
114304 rm -f conftest.err conftest.$ac_objext \
114305       conftest$ac_exeext conftest.$ac_ext
114306
114307 fi
114308
114309   if test $glibcxx_cv_POLL = yes; then
114310
114311 cat >>confdefs.h <<\_ACEOF
114312 #define HAVE_POLL 1
114313 _ACEOF
114314
114315   fi
114316   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
114317 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
114318
114319
114320   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
114321 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
114322   if test "${glibcxx_cv_S_ISREG+set}" = set; then
114323   echo $ECHO_N "(cached) $ECHO_C" >&6
114324 else
114325
114326     if test x$gcc_no_link = xyes; then
114327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114329    { (exit 1); exit 1; }; }
114330 fi
114331 cat >conftest.$ac_ext <<_ACEOF
114332 /* confdefs.h.  */
114333 _ACEOF
114334 cat confdefs.h >>conftest.$ac_ext
114335 cat >>conftest.$ac_ext <<_ACEOF
114336 /* end confdefs.h.  */
114337 #include <sys/stat.h>
114338 int
114339 main ()
114340 {
114341 struct stat buffer;
114342        fstat(0, &buffer);
114343        S_ISREG(buffer.st_mode);
114344   ;
114345   return 0;
114346 }
114347 _ACEOF
114348 rm -f conftest.$ac_objext conftest$ac_exeext
114349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114350   (eval $ac_link) 2>conftest.er1
114351   ac_status=$?
114352   grep -v '^ *+' conftest.er1 >conftest.err
114353   rm -f conftest.er1
114354   cat conftest.err >&5
114355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114356   (exit $ac_status); } &&
114357          { ac_try='test -z "$ac_c_werror_flag"
114358                          || test ! -s conftest.err'
114359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114360   (eval $ac_try) 2>&5
114361   ac_status=$?
114362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114363   (exit $ac_status); }; } &&
114364          { ac_try='test -s conftest$ac_exeext'
114365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114366   (eval $ac_try) 2>&5
114367   ac_status=$?
114368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114369   (exit $ac_status); }; }; then
114370   glibcxx_cv_S_ISREG=yes
114371 else
114372   echo "$as_me: failed program was:" >&5
114373 sed 's/^/| /' conftest.$ac_ext >&5
114374
114375 glibcxx_cv_S_ISREG=no
114376 fi
114377 rm -f conftest.err conftest.$ac_objext \
114378       conftest$ac_exeext conftest.$ac_ext
114379
114380 fi
114381
114382   if test "${glibcxx_cv_S_IFREG+set}" = set; then
114383   echo $ECHO_N "(cached) $ECHO_C" >&6
114384 else
114385
114386     if test x$gcc_no_link = xyes; then
114387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114389    { (exit 1); exit 1; }; }
114390 fi
114391 cat >conftest.$ac_ext <<_ACEOF
114392 /* confdefs.h.  */
114393 _ACEOF
114394 cat confdefs.h >>conftest.$ac_ext
114395 cat >>conftest.$ac_ext <<_ACEOF
114396 /* end confdefs.h.  */
114397 #include <sys/stat.h>
114398 int
114399 main ()
114400 {
114401 struct stat buffer;
114402        fstat(0, &buffer);
114403        S_IFREG & buffer.st_mode;
114404   ;
114405   return 0;
114406 }
114407 _ACEOF
114408 rm -f conftest.$ac_objext conftest$ac_exeext
114409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114410   (eval $ac_link) 2>conftest.er1
114411   ac_status=$?
114412   grep -v '^ *+' conftest.er1 >conftest.err
114413   rm -f conftest.er1
114414   cat conftest.err >&5
114415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114416   (exit $ac_status); } &&
114417          { ac_try='test -z "$ac_c_werror_flag"
114418                          || test ! -s conftest.err'
114419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114420   (eval $ac_try) 2>&5
114421   ac_status=$?
114422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114423   (exit $ac_status); }; } &&
114424          { ac_try='test -s conftest$ac_exeext'
114425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114426   (eval $ac_try) 2>&5
114427   ac_status=$?
114428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114429   (exit $ac_status); }; }; then
114430   glibcxx_cv_S_IFREG=yes
114431 else
114432   echo "$as_me: failed program was:" >&5
114433 sed 's/^/| /' conftest.$ac_ext >&5
114434
114435 glibcxx_cv_S_IFREG=no
114436 fi
114437 rm -f conftest.err conftest.$ac_objext \
114438       conftest$ac_exeext conftest.$ac_ext
114439
114440 fi
114441
114442   res=no
114443   if test $glibcxx_cv_S_ISREG = yes; then
114444
114445 cat >>confdefs.h <<\_ACEOF
114446 #define HAVE_S_ISREG 1
114447 _ACEOF
114448
114449     res=S_ISREG
114450   elif test $glibcxx_cv_S_IFREG = yes; then
114451
114452 cat >>confdefs.h <<\_ACEOF
114453 #define HAVE_S_IFREG 1
114454 _ACEOF
114455
114456     res=S_IFREG
114457   fi
114458   echo "$as_me:$LINENO: result: $res" >&5
114459 echo "${ECHO_T}$res" >&6
114460
114461
114462     # For xsputn_2().
114463
114464 for ac_header in sys/uio.h
114465 do
114466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114468   echo "$as_me:$LINENO: checking for $ac_header" >&5
114469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114471   echo $ECHO_N "(cached) $ECHO_C" >&6
114472 fi
114473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114475 else
114476   # Is the header compilable?
114477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114479 cat >conftest.$ac_ext <<_ACEOF
114480 /* confdefs.h.  */
114481 _ACEOF
114482 cat confdefs.h >>conftest.$ac_ext
114483 cat >>conftest.$ac_ext <<_ACEOF
114484 /* end confdefs.h.  */
114485 $ac_includes_default
114486 #include <$ac_header>
114487 _ACEOF
114488 rm -f conftest.$ac_objext
114489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114490   (eval $ac_compile) 2>conftest.er1
114491   ac_status=$?
114492   grep -v '^ *+' conftest.er1 >conftest.err
114493   rm -f conftest.er1
114494   cat conftest.err >&5
114495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114496   (exit $ac_status); } &&
114497          { ac_try='test -z "$ac_c_werror_flag"
114498                          || test ! -s conftest.err'
114499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114500   (eval $ac_try) 2>&5
114501   ac_status=$?
114502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114503   (exit $ac_status); }; } &&
114504          { ac_try='test -s conftest.$ac_objext'
114505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114506   (eval $ac_try) 2>&5
114507   ac_status=$?
114508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114509   (exit $ac_status); }; }; then
114510   ac_header_compiler=yes
114511 else
114512   echo "$as_me: failed program was:" >&5
114513 sed 's/^/| /' conftest.$ac_ext >&5
114514
114515 ac_header_compiler=no
114516 fi
114517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114519 echo "${ECHO_T}$ac_header_compiler" >&6
114520
114521 # Is the header present?
114522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114524 cat >conftest.$ac_ext <<_ACEOF
114525 /* confdefs.h.  */
114526 _ACEOF
114527 cat confdefs.h >>conftest.$ac_ext
114528 cat >>conftest.$ac_ext <<_ACEOF
114529 /* end confdefs.h.  */
114530 #include <$ac_header>
114531 _ACEOF
114532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114533   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114534   ac_status=$?
114535   grep -v '^ *+' conftest.er1 >conftest.err
114536   rm -f conftest.er1
114537   cat conftest.err >&5
114538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114539   (exit $ac_status); } >/dev/null; then
114540   if test -s conftest.err; then
114541     ac_cpp_err=$ac_c_preproc_warn_flag
114542     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114543   else
114544     ac_cpp_err=
114545   fi
114546 else
114547   ac_cpp_err=yes
114548 fi
114549 if test -z "$ac_cpp_err"; then
114550   ac_header_preproc=yes
114551 else
114552   echo "$as_me: failed program was:" >&5
114553 sed 's/^/| /' conftest.$ac_ext >&5
114554
114555   ac_header_preproc=no
114556 fi
114557 rm -f conftest.err conftest.$ac_ext
114558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114559 echo "${ECHO_T}$ac_header_preproc" >&6
114560
114561 # So?  What about this header?
114562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114563   yes:no: )
114564     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114568     ac_header_preproc=yes
114569     ;;
114570   no:yes:* )
114571     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114573     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114574 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114575     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114577     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114578 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114581     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114583     (
114584       cat <<\_ASBOX
114585 ## ----------------------------------------- ##
114586 ## Report this to the package-unused lists.  ##
114587 ## ----------------------------------------- ##
114588 _ASBOX
114589     ) |
114590       sed "s/^/$as_me: WARNING:     /" >&2
114591     ;;
114592 esac
114593 echo "$as_me:$LINENO: checking for $ac_header" >&5
114594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114596   echo $ECHO_N "(cached) $ECHO_C" >&6
114597 else
114598   eval "$as_ac_Header=\$ac_header_preproc"
114599 fi
114600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114602
114603 fi
114604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114605   cat >>confdefs.h <<_ACEOF
114606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114607 _ACEOF
114608
114609 fi
114610
114611 done
114612
114613
114614   echo "$as_me:$LINENO: checking for writev" >&5
114615 echo $ECHO_N "checking for writev... $ECHO_C" >&6
114616   if test "${glibcxx_cv_WRITEV+set}" = set; then
114617   echo $ECHO_N "(cached) $ECHO_C" >&6
114618 else
114619
114620     if test x$gcc_no_link = xyes; then
114621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114623    { (exit 1); exit 1; }; }
114624 fi
114625 cat >conftest.$ac_ext <<_ACEOF
114626 /* confdefs.h.  */
114627 _ACEOF
114628 cat confdefs.h >>conftest.$ac_ext
114629 cat >>conftest.$ac_ext <<_ACEOF
114630 /* end confdefs.h.  */
114631 #include <sys/uio.h>
114632 int
114633 main ()
114634 {
114635 struct iovec iov[2];
114636        writev(0, iov, 0);
114637   ;
114638   return 0;
114639 }
114640 _ACEOF
114641 rm -f conftest.$ac_objext conftest$ac_exeext
114642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114643   (eval $ac_link) 2>conftest.er1
114644   ac_status=$?
114645   grep -v '^ *+' conftest.er1 >conftest.err
114646   rm -f conftest.er1
114647   cat conftest.err >&5
114648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114649   (exit $ac_status); } &&
114650          { ac_try='test -z "$ac_c_werror_flag"
114651                          || test ! -s conftest.err'
114652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114653   (eval $ac_try) 2>&5
114654   ac_status=$?
114655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114656   (exit $ac_status); }; } &&
114657          { ac_try='test -s conftest$ac_exeext'
114658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114659   (eval $ac_try) 2>&5
114660   ac_status=$?
114661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114662   (exit $ac_status); }; }; then
114663   glibcxx_cv_WRITEV=yes
114664 else
114665   echo "$as_me: failed program was:" >&5
114666 sed 's/^/| /' conftest.$ac_ext >&5
114667
114668 glibcxx_cv_WRITEV=no
114669 fi
114670 rm -f conftest.err conftest.$ac_objext \
114671       conftest$ac_exeext conftest.$ac_ext
114672
114673 fi
114674
114675   if test $glibcxx_cv_WRITEV = yes; then
114676
114677 cat >>confdefs.h <<\_ACEOF
114678 #define HAVE_WRITEV 1
114679 _ACEOF
114680
114681   fi
114682   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
114683 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
114684
114685     ;;
114686   *-qnx6.1* | *-qnx6.2*)
114687     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114688
114689
114690   # If we're not using GNU ld, then there's no point in even trying these
114691   # tests.  Check for that first.  We should have already tested for gld
114692   # by now (in libtool), but require it now just to be safe...
114693   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114694   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114695
114696
114697
114698   # The name set by libtool depends on the version of libtool.  Shame on us
114699   # for depending on an impl detail, but c'est la vie.  Older versions used
114700   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114701   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114702   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114703   # set (hence we're using an older libtool), then set it.
114704   if test x${with_gnu_ld+set} != xset; then
114705     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114706       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114707       with_gnu_ld=no
114708     else
114709       with_gnu_ld=$ac_cv_prog_gnu_ld
114710     fi
114711   fi
114712
114713   # Start by getting the version number.  I think the libtool test already
114714   # does some of this, but throws away the result.
114715   glibcxx_ld_is_gold=no
114716   if test x"$with_gnu_ld" = x"yes"; then
114717     echo "$as_me:$LINENO: checking for ld version" >&5
114718 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114719
114720     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114721       glibcxx_ld_is_gold=yes
114722     fi
114723     ldver=`$LD --version 2>/dev/null | head -1 | \
114724            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114725
114726     glibcxx_gnu_ld_version=`echo $ldver | \
114727            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114728     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114729 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114730   fi
114731
114732   # Set --gc-sections.
114733   glibcxx_have_gc_sections=no
114734   if test "$glibcxx_ld_is_gold" = "yes"; then
114735     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114736       glibcxx_have_gc_sections=yes
114737     fi
114738   else
114739     glibcxx_gcsections_min_ld=21602
114740     if test x"$with_gnu_ld" = x"yes" &&
114741         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114742       glibcxx_have_gc_sections=yes
114743     fi
114744   fi
114745   if test "$glibcxx_have_gc_sections" = "yes"; then
114746     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114747     # NB: This flag only works reliably after 2.16.1. Configure tests
114748     # for this are difficult, so hard wire a value that should work.
114749
114750     ac_test_CFLAGS="${CFLAGS+set}"
114751     ac_save_CFLAGS="$CFLAGS"
114752     CFLAGS='-Wl,--gc-sections'
114753
114754     # Check for -Wl,--gc-sections
114755     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114756 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114757     if test x$gcc_no_link = xyes; then
114758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114760    { (exit 1); exit 1; }; }
114761 fi
114762 cat >conftest.$ac_ext <<_ACEOF
114763 /* confdefs.h.  */
114764 _ACEOF
114765 cat confdefs.h >>conftest.$ac_ext
114766 cat >>conftest.$ac_ext <<_ACEOF
114767 /* end confdefs.h.  */
114768  int one(void) { return 1; }
114769      int two(void) { return 2; }
114770
114771 int
114772 main ()
114773 {
114774  two();
114775   ;
114776   return 0;
114777 }
114778 _ACEOF
114779 rm -f conftest.$ac_objext conftest$ac_exeext
114780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114781   (eval $ac_link) 2>conftest.er1
114782   ac_status=$?
114783   grep -v '^ *+' conftest.er1 >conftest.err
114784   rm -f conftest.er1
114785   cat conftest.err >&5
114786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114787   (exit $ac_status); } &&
114788          { ac_try='test -z "$ac_c_werror_flag"
114789                          || test ! -s conftest.err'
114790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114791   (eval $ac_try) 2>&5
114792   ac_status=$?
114793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114794   (exit $ac_status); }; } &&
114795          { ac_try='test -s conftest$ac_exeext'
114796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114797   (eval $ac_try) 2>&5
114798   ac_status=$?
114799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114800   (exit $ac_status); }; }; then
114801   ac_gcsections=yes
114802 else
114803   echo "$as_me: failed program was:" >&5
114804 sed 's/^/| /' conftest.$ac_ext >&5
114805
114806 ac_gcsections=no
114807 fi
114808 rm -f conftest.err conftest.$ac_objext \
114809       conftest$ac_exeext conftest.$ac_ext
114810     if test "$ac_gcsections" = "yes"; then
114811       rm -f conftest.c
114812       touch conftest.c
114813       if $CC -c conftest.c; then
114814         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114815            grep "Warning: gc-sections option ignored" > /dev/null; then
114816           ac_gcsections=no
114817         fi
114818       fi
114819       rm -f conftest.c conftest.o conftest
114820     fi
114821     if test "$ac_gcsections" = "yes"; then
114822       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114823     fi
114824     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114825 echo "${ECHO_T}$ac_gcsections" >&6
114826
114827     if test "$ac_test_CFLAGS" = set; then
114828       CFLAGS="$ac_save_CFLAGS"
114829     else
114830       # this is the suspicious part
114831       CFLAGS=''
114832     fi
114833   fi
114834
114835   # Set -z,relro.
114836   # Note this is only for shared objects.
114837   ac_ld_relro=no
114838   if test x"$with_gnu_ld" = x"yes"; then
114839     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114840 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114841     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114842     if test -n "$cxx_z_relo"; then
114843       OPT_LDFLAGS="-Wl,-z,relro"
114844       ac_ld_relro=yes
114845     fi
114846     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114847 echo "${ECHO_T}$ac_ld_relro" >&6
114848   fi
114849
114850   # Set linker optimization flags.
114851   if test x"$with_gnu_ld" = x"yes"; then
114852     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114853   fi
114854
114855
114856
114857
114858
114859
114860 echo "$as_me:$LINENO: checking for main in -lm" >&5
114861 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114862 if test "${ac_cv_lib_m_main+set}" = set; then
114863   echo $ECHO_N "(cached) $ECHO_C" >&6
114864 else
114865   ac_check_lib_save_LIBS=$LIBS
114866 LIBS="-lm  $LIBS"
114867 if test x$gcc_no_link = xyes; then
114868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114870    { (exit 1); exit 1; }; }
114871 fi
114872 cat >conftest.$ac_ext <<_ACEOF
114873 /* confdefs.h.  */
114874 _ACEOF
114875 cat confdefs.h >>conftest.$ac_ext
114876 cat >>conftest.$ac_ext <<_ACEOF
114877 /* end confdefs.h.  */
114878
114879
114880 int
114881 main ()
114882 {
114883 main ();
114884   ;
114885   return 0;
114886 }
114887 _ACEOF
114888 rm -f conftest.$ac_objext conftest$ac_exeext
114889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114890   (eval $ac_link) 2>conftest.er1
114891   ac_status=$?
114892   grep -v '^ *+' conftest.er1 >conftest.err
114893   rm -f conftest.er1
114894   cat conftest.err >&5
114895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114896   (exit $ac_status); } &&
114897          { ac_try='test -z "$ac_c_werror_flag"
114898                          || test ! -s conftest.err'
114899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114900   (eval $ac_try) 2>&5
114901   ac_status=$?
114902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114903   (exit $ac_status); }; } &&
114904          { ac_try='test -s conftest$ac_exeext'
114905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114906   (eval $ac_try) 2>&5
114907   ac_status=$?
114908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114909   (exit $ac_status); }; }; then
114910   ac_cv_lib_m_main=yes
114911 else
114912   echo "$as_me: failed program was:" >&5
114913 sed 's/^/| /' conftest.$ac_ext >&5
114914
114915 ac_cv_lib_m_main=no
114916 fi
114917 rm -f conftest.err conftest.$ac_objext \
114918       conftest$ac_exeext conftest.$ac_ext
114919 LIBS=$ac_check_lib_save_LIBS
114920 fi
114921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114922 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114923 if test $ac_cv_lib_m_main = yes; then
114924   cat >>confdefs.h <<_ACEOF
114925 #define HAVE_LIBM 1
114926 _ACEOF
114927
114928   LIBS="-lm $LIBS"
114929
114930 fi
114931
114932
114933 for ac_func in copysignf
114934 do
114935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114936 echo "$as_me:$LINENO: checking for $ac_func" >&5
114937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114938 if eval "test \"\${$as_ac_var+set}\" = set"; then
114939   echo $ECHO_N "(cached) $ECHO_C" >&6
114940 else
114941   if test x$gcc_no_link = xyes; then
114942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114944    { (exit 1); exit 1; }; }
114945 fi
114946 cat >conftest.$ac_ext <<_ACEOF
114947 /* confdefs.h.  */
114948 _ACEOF
114949 cat confdefs.h >>conftest.$ac_ext
114950 cat >>conftest.$ac_ext <<_ACEOF
114951 /* end confdefs.h.  */
114952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114954 #define $ac_func innocuous_$ac_func
114955
114956 /* System header to define __stub macros and hopefully few prototypes,
114957     which can conflict with char $ac_func (); below.
114958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114959     <limits.h> exists even on freestanding compilers.  */
114960
114961 #ifdef __STDC__
114962 # include <limits.h>
114963 #else
114964 # include <assert.h>
114965 #endif
114966
114967 #undef $ac_func
114968
114969 /* Override any gcc2 internal prototype to avoid an error.  */
114970 #ifdef __cplusplus
114971 extern "C"
114972 {
114973 #endif
114974 /* We use char because int might match the return type of a gcc2
114975    builtin and then its argument prototype would still apply.  */
114976 char $ac_func ();
114977 /* The GNU C library defines this for functions which it implements
114978     to always fail with ENOSYS.  Some functions are actually named
114979     something starting with __ and the normal name is an alias.  */
114980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114981 choke me
114982 #else
114983 char (*f) () = $ac_func;
114984 #endif
114985 #ifdef __cplusplus
114986 }
114987 #endif
114988
114989 int
114990 main ()
114991 {
114992 return f != $ac_func;
114993   ;
114994   return 0;
114995 }
114996 _ACEOF
114997 rm -f conftest.$ac_objext conftest$ac_exeext
114998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114999   (eval $ac_link) 2>conftest.er1
115000   ac_status=$?
115001   grep -v '^ *+' conftest.er1 >conftest.err
115002   rm -f conftest.er1
115003   cat conftest.err >&5
115004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115005   (exit $ac_status); } &&
115006          { ac_try='test -z "$ac_c_werror_flag"
115007                          || test ! -s conftest.err'
115008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115009   (eval $ac_try) 2>&5
115010   ac_status=$?
115011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115012   (exit $ac_status); }; } &&
115013          { ac_try='test -s conftest$ac_exeext'
115014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115015   (eval $ac_try) 2>&5
115016   ac_status=$?
115017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115018   (exit $ac_status); }; }; then
115019   eval "$as_ac_var=yes"
115020 else
115021   echo "$as_me: failed program was:" >&5
115022 sed 's/^/| /' conftest.$ac_ext >&5
115023
115024 eval "$as_ac_var=no"
115025 fi
115026 rm -f conftest.err conftest.$ac_objext \
115027       conftest$ac_exeext conftest.$ac_ext
115028 fi
115029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115031 if test `eval echo '${'$as_ac_var'}'` = yes; then
115032   cat >>confdefs.h <<_ACEOF
115033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115034 _ACEOF
115035
115036 else
115037   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
115038 fi
115039 done
115040
115041
115042
115043 for ac_func in __signbit
115044 do
115045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115046 echo "$as_me:$LINENO: checking for $ac_func" >&5
115047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115048 if eval "test \"\${$as_ac_var+set}\" = set"; then
115049   echo $ECHO_N "(cached) $ECHO_C" >&6
115050 else
115051   if test x$gcc_no_link = xyes; then
115052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115054    { (exit 1); exit 1; }; }
115055 fi
115056 cat >conftest.$ac_ext <<_ACEOF
115057 /* confdefs.h.  */
115058 _ACEOF
115059 cat confdefs.h >>conftest.$ac_ext
115060 cat >>conftest.$ac_ext <<_ACEOF
115061 /* end confdefs.h.  */
115062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115064 #define $ac_func innocuous_$ac_func
115065
115066 /* System header to define __stub macros and hopefully few prototypes,
115067     which can conflict with char $ac_func (); below.
115068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115069     <limits.h> exists even on freestanding compilers.  */
115070
115071 #ifdef __STDC__
115072 # include <limits.h>
115073 #else
115074 # include <assert.h>
115075 #endif
115076
115077 #undef $ac_func
115078
115079 /* Override any gcc2 internal prototype to avoid an error.  */
115080 #ifdef __cplusplus
115081 extern "C"
115082 {
115083 #endif
115084 /* We use char because int might match the return type of a gcc2
115085    builtin and then its argument prototype would still apply.  */
115086 char $ac_func ();
115087 /* The GNU C library defines this for functions which it implements
115088     to always fail with ENOSYS.  Some functions are actually named
115089     something starting with __ and the normal name is an alias.  */
115090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115091 choke me
115092 #else
115093 char (*f) () = $ac_func;
115094 #endif
115095 #ifdef __cplusplus
115096 }
115097 #endif
115098
115099 int
115100 main ()
115101 {
115102 return f != $ac_func;
115103   ;
115104   return 0;
115105 }
115106 _ACEOF
115107 rm -f conftest.$ac_objext conftest$ac_exeext
115108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115109   (eval $ac_link) 2>conftest.er1
115110   ac_status=$?
115111   grep -v '^ *+' conftest.er1 >conftest.err
115112   rm -f conftest.er1
115113   cat conftest.err >&5
115114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115115   (exit $ac_status); } &&
115116          { ac_try='test -z "$ac_c_werror_flag"
115117                          || test ! -s conftest.err'
115118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115119   (eval $ac_try) 2>&5
115120   ac_status=$?
115121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115122   (exit $ac_status); }; } &&
115123          { ac_try='test -s conftest$ac_exeext'
115124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115125   (eval $ac_try) 2>&5
115126   ac_status=$?
115127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115128   (exit $ac_status); }; }; then
115129   eval "$as_ac_var=yes"
115130 else
115131   echo "$as_me: failed program was:" >&5
115132 sed 's/^/| /' conftest.$ac_ext >&5
115133
115134 eval "$as_ac_var=no"
115135 fi
115136 rm -f conftest.err conftest.$ac_objext \
115137       conftest$ac_exeext conftest.$ac_ext
115138 fi
115139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115141 if test `eval echo '${'$as_ac_var'}'` = yes; then
115142   cat >>confdefs.h <<_ACEOF
115143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115144 _ACEOF
115145
115146 else
115147   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115148 fi
115149 done
115150
115151
115152
115153 for ac_func in __signbitf
115154 do
115155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115156 echo "$as_me:$LINENO: checking for $ac_func" >&5
115157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115158 if eval "test \"\${$as_ac_var+set}\" = set"; then
115159   echo $ECHO_N "(cached) $ECHO_C" >&6
115160 else
115161   if test x$gcc_no_link = xyes; then
115162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115164    { (exit 1); exit 1; }; }
115165 fi
115166 cat >conftest.$ac_ext <<_ACEOF
115167 /* confdefs.h.  */
115168 _ACEOF
115169 cat confdefs.h >>conftest.$ac_ext
115170 cat >>conftest.$ac_ext <<_ACEOF
115171 /* end confdefs.h.  */
115172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115174 #define $ac_func innocuous_$ac_func
115175
115176 /* System header to define __stub macros and hopefully few prototypes,
115177     which can conflict with char $ac_func (); below.
115178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115179     <limits.h> exists even on freestanding compilers.  */
115180
115181 #ifdef __STDC__
115182 # include <limits.h>
115183 #else
115184 # include <assert.h>
115185 #endif
115186
115187 #undef $ac_func
115188
115189 /* Override any gcc2 internal prototype to avoid an error.  */
115190 #ifdef __cplusplus
115191 extern "C"
115192 {
115193 #endif
115194 /* We use char because int might match the return type of a gcc2
115195    builtin and then its argument prototype would still apply.  */
115196 char $ac_func ();
115197 /* The GNU C library defines this for functions which it implements
115198     to always fail with ENOSYS.  Some functions are actually named
115199     something starting with __ and the normal name is an alias.  */
115200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115201 choke me
115202 #else
115203 char (*f) () = $ac_func;
115204 #endif
115205 #ifdef __cplusplus
115206 }
115207 #endif
115208
115209 int
115210 main ()
115211 {
115212 return f != $ac_func;
115213   ;
115214   return 0;
115215 }
115216 _ACEOF
115217 rm -f conftest.$ac_objext conftest$ac_exeext
115218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115219   (eval $ac_link) 2>conftest.er1
115220   ac_status=$?
115221   grep -v '^ *+' conftest.er1 >conftest.err
115222   rm -f conftest.er1
115223   cat conftest.err >&5
115224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115225   (exit $ac_status); } &&
115226          { ac_try='test -z "$ac_c_werror_flag"
115227                          || test ! -s conftest.err'
115228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115229   (eval $ac_try) 2>&5
115230   ac_status=$?
115231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115232   (exit $ac_status); }; } &&
115233          { ac_try='test -s conftest$ac_exeext'
115234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115235   (eval $ac_try) 2>&5
115236   ac_status=$?
115237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115238   (exit $ac_status); }; }; then
115239   eval "$as_ac_var=yes"
115240 else
115241   echo "$as_me: failed program was:" >&5
115242 sed 's/^/| /' conftest.$ac_ext >&5
115243
115244 eval "$as_ac_var=no"
115245 fi
115246 rm -f conftest.err conftest.$ac_objext \
115247       conftest$ac_exeext conftest.$ac_ext
115248 fi
115249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115251 if test `eval echo '${'$as_ac_var'}'` = yes; then
115252   cat >>confdefs.h <<_ACEOF
115253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115254 _ACEOF
115255
115256 else
115257   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115258 fi
115259 done
115260
115261
115262           if test x$ac_cv_func_copysignl = x"yes"; then
115263
115264 for ac_func in __signbitl
115265 do
115266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115267 echo "$as_me:$LINENO: checking for $ac_func" >&5
115268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115269 if eval "test \"\${$as_ac_var+set}\" = set"; then
115270   echo $ECHO_N "(cached) $ECHO_C" >&6
115271 else
115272   if test x$gcc_no_link = xyes; then
115273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115275    { (exit 1); exit 1; }; }
115276 fi
115277 cat >conftest.$ac_ext <<_ACEOF
115278 /* confdefs.h.  */
115279 _ACEOF
115280 cat confdefs.h >>conftest.$ac_ext
115281 cat >>conftest.$ac_ext <<_ACEOF
115282 /* end confdefs.h.  */
115283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115285 #define $ac_func innocuous_$ac_func
115286
115287 /* System header to define __stub macros and hopefully few prototypes,
115288     which can conflict with char $ac_func (); below.
115289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115290     <limits.h> exists even on freestanding compilers.  */
115291
115292 #ifdef __STDC__
115293 # include <limits.h>
115294 #else
115295 # include <assert.h>
115296 #endif
115297
115298 #undef $ac_func
115299
115300 /* Override any gcc2 internal prototype to avoid an error.  */
115301 #ifdef __cplusplus
115302 extern "C"
115303 {
115304 #endif
115305 /* We use char because int might match the return type of a gcc2
115306    builtin and then its argument prototype would still apply.  */
115307 char $ac_func ();
115308 /* The GNU C library defines this for functions which it implements
115309     to always fail with ENOSYS.  Some functions are actually named
115310     something starting with __ and the normal name is an alias.  */
115311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115312 choke me
115313 #else
115314 char (*f) () = $ac_func;
115315 #endif
115316 #ifdef __cplusplus
115317 }
115318 #endif
115319
115320 int
115321 main ()
115322 {
115323 return f != $ac_func;
115324   ;
115325   return 0;
115326 }
115327 _ACEOF
115328 rm -f conftest.$ac_objext conftest$ac_exeext
115329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115330   (eval $ac_link) 2>conftest.er1
115331   ac_status=$?
115332   grep -v '^ *+' conftest.er1 >conftest.err
115333   rm -f conftest.er1
115334   cat conftest.err >&5
115335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115336   (exit $ac_status); } &&
115337          { ac_try='test -z "$ac_c_werror_flag"
115338                          || test ! -s conftest.err'
115339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115340   (eval $ac_try) 2>&5
115341   ac_status=$?
115342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115343   (exit $ac_status); }; } &&
115344          { ac_try='test -s conftest$ac_exeext'
115345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115346   (eval $ac_try) 2>&5
115347   ac_status=$?
115348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115349   (exit $ac_status); }; }; then
115350   eval "$as_ac_var=yes"
115351 else
115352   echo "$as_me: failed program was:" >&5
115353 sed 's/^/| /' conftest.$ac_ext >&5
115354
115355 eval "$as_ac_var=no"
115356 fi
115357 rm -f conftest.err conftest.$ac_objext \
115358       conftest$ac_exeext conftest.$ac_ext
115359 fi
115360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115362 if test `eval echo '${'$as_ac_var'}'` = yes; then
115363   cat >>confdefs.h <<_ACEOF
115364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115365 _ACEOF
115366
115367 else
115368   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115369 fi
115370 done
115371
115372   fi
115373
115374   # Used in libmath/Makefile.am.
115375   if test -n "$LIBMATHOBJS"; then
115376     need_libmath=yes
115377   fi
115378
115379
115380     cat >>confdefs.h <<\_ACEOF
115381 #define HAVE_COSF 1
115382 _ACEOF
115383
115384     cat >>confdefs.h <<\_ACEOF
115385 #define HAVE_COSL 1
115386 _ACEOF
115387
115388     cat >>confdefs.h <<\_ACEOF
115389 #define HAVE_COSHF 1
115390 _ACEOF
115391
115392     cat >>confdefs.h <<\_ACEOF
115393 #define HAVE_COSHL 1
115394 _ACEOF
115395
115396     cat >>confdefs.h <<\_ACEOF
115397 #define HAVE_LOGF 1
115398 _ACEOF
115399
115400     cat >>confdefs.h <<\_ACEOF
115401 #define HAVE_LOGL 1
115402 _ACEOF
115403
115404     cat >>confdefs.h <<\_ACEOF
115405 #define HAVE_LOG10F 1
115406 _ACEOF
115407
115408     cat >>confdefs.h <<\_ACEOF
115409 #define HAVE_LOG10L 1
115410 _ACEOF
115411
115412     cat >>confdefs.h <<\_ACEOF
115413 #define HAVE_SINF 1
115414 _ACEOF
115415
115416     cat >>confdefs.h <<\_ACEOF
115417 #define HAVE_SINL 1
115418 _ACEOF
115419
115420     cat >>confdefs.h <<\_ACEOF
115421 #define HAVE_SINHF 1
115422 _ACEOF
115423
115424     cat >>confdefs.h <<\_ACEOF
115425 #define HAVE_SINHL 1
115426 _ACEOF
115427
115428     ;;
115429   *-solaris*)
115430     case "$target" in
115431       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
115432
115433   # If we're not using GNU ld, then there's no point in even trying these
115434   # tests.  Check for that first.  We should have already tested for gld
115435   # by now (in libtool), but require it now just to be safe...
115436   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115437   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115438
115439
115440
115441   # The name set by libtool depends on the version of libtool.  Shame on us
115442   # for depending on an impl detail, but c'est la vie.  Older versions used
115443   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115444   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115445   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
115446   # set (hence we're using an older libtool), then set it.
115447   if test x${with_gnu_ld+set} != xset; then
115448     if test x${ac_cv_prog_gnu_ld+set} != xset; then
115449       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
115450       with_gnu_ld=no
115451     else
115452       with_gnu_ld=$ac_cv_prog_gnu_ld
115453     fi
115454   fi
115455
115456   # Start by getting the version number.  I think the libtool test already
115457   # does some of this, but throws away the result.
115458   glibcxx_ld_is_gold=no
115459   if test x"$with_gnu_ld" = x"yes"; then
115460     echo "$as_me:$LINENO: checking for ld version" >&5
115461 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115462
115463     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115464       glibcxx_ld_is_gold=yes
115465     fi
115466     ldver=`$LD --version 2>/dev/null | head -1 | \
115467            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115468
115469     glibcxx_gnu_ld_version=`echo $ldver | \
115470            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115471     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115472 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115473   fi
115474
115475   # Set --gc-sections.
115476   glibcxx_have_gc_sections=no
115477   if test "$glibcxx_ld_is_gold" = "yes"; then
115478     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115479       glibcxx_have_gc_sections=yes
115480     fi
115481   else
115482     glibcxx_gcsections_min_ld=21602
115483     if test x"$with_gnu_ld" = x"yes" &&
115484         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115485       glibcxx_have_gc_sections=yes
115486     fi
115487   fi
115488   if test "$glibcxx_have_gc_sections" = "yes"; then
115489     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
115490     # NB: This flag only works reliably after 2.16.1. Configure tests
115491     # for this are difficult, so hard wire a value that should work.
115492
115493     ac_test_CFLAGS="${CFLAGS+set}"
115494     ac_save_CFLAGS="$CFLAGS"
115495     CFLAGS='-Wl,--gc-sections'
115496
115497     # Check for -Wl,--gc-sections
115498     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115499 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115500     if test x$gcc_no_link = xyes; then
115501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115503    { (exit 1); exit 1; }; }
115504 fi
115505 cat >conftest.$ac_ext <<_ACEOF
115506 /* confdefs.h.  */
115507 _ACEOF
115508 cat confdefs.h >>conftest.$ac_ext
115509 cat >>conftest.$ac_ext <<_ACEOF
115510 /* end confdefs.h.  */
115511  int one(void) { return 1; }
115512      int two(void) { return 2; }
115513
115514 int
115515 main ()
115516 {
115517  two();
115518   ;
115519   return 0;
115520 }
115521 _ACEOF
115522 rm -f conftest.$ac_objext conftest$ac_exeext
115523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115524   (eval $ac_link) 2>conftest.er1
115525   ac_status=$?
115526   grep -v '^ *+' conftest.er1 >conftest.err
115527   rm -f conftest.er1
115528   cat conftest.err >&5
115529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115530   (exit $ac_status); } &&
115531          { ac_try='test -z "$ac_c_werror_flag"
115532                          || test ! -s conftest.err'
115533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115534   (eval $ac_try) 2>&5
115535   ac_status=$?
115536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115537   (exit $ac_status); }; } &&
115538          { ac_try='test -s conftest$ac_exeext'
115539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115540   (eval $ac_try) 2>&5
115541   ac_status=$?
115542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115543   (exit $ac_status); }; }; then
115544   ac_gcsections=yes
115545 else
115546   echo "$as_me: failed program was:" >&5
115547 sed 's/^/| /' conftest.$ac_ext >&5
115548
115549 ac_gcsections=no
115550 fi
115551 rm -f conftest.err conftest.$ac_objext \
115552       conftest$ac_exeext conftest.$ac_ext
115553     if test "$ac_gcsections" = "yes"; then
115554       rm -f conftest.c
115555       touch conftest.c
115556       if $CC -c conftest.c; then
115557         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115558            grep "Warning: gc-sections option ignored" > /dev/null; then
115559           ac_gcsections=no
115560         fi
115561       fi
115562       rm -f conftest.c conftest.o conftest
115563     fi
115564     if test "$ac_gcsections" = "yes"; then
115565       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115566     fi
115567     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115568 echo "${ECHO_T}$ac_gcsections" >&6
115569
115570     if test "$ac_test_CFLAGS" = set; then
115571       CFLAGS="$ac_save_CFLAGS"
115572     else
115573       # this is the suspicious part
115574       CFLAGS=''
115575     fi
115576   fi
115577
115578   # Set -z,relro.
115579   # Note this is only for shared objects.
115580   ac_ld_relro=no
115581   if test x"$with_gnu_ld" = x"yes"; then
115582     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115583 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115584     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115585     if test -n "$cxx_z_relo"; then
115586       OPT_LDFLAGS="-Wl,-z,relro"
115587       ac_ld_relro=yes
115588     fi
115589     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115590 echo "${ECHO_T}$ac_ld_relro" >&6
115591   fi
115592
115593   # Set linker optimization flags.
115594   if test x"$with_gnu_ld" = x"yes"; then
115595     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115596   fi
115597
115598
115599
115600
115601          cat >>confdefs.h <<\_ACEOF
115602 #define HAVE_GETPAGESIZE 1
115603 _ACEOF
115604
115605          cat >>confdefs.h <<\_ACEOF
115606 #define HAVE_SIGSETJMP 1
115607 _ACEOF
115608
115609          cat >>confdefs.h <<\_ACEOF
115610 #define HAVE_MBSTATE_T 1
115611 _ACEOF
115612
115613          cat >>confdefs.h <<\_ACEOF
115614 #define HAVE_POLL 1
115615 _ACEOF
115616
115617          cat >>confdefs.h <<\_ACEOF
115618 #define HAVE_S_ISREG 1
115619 _ACEOF
115620
115621          cat >>confdefs.h <<\_ACEOF
115622 #define HAVE_LC_MESSAGES 1
115623 _ACEOF
115624
115625          cat >>confdefs.h <<\_ACEOF
115626 #define HAVE_FINITE 1
115627 _ACEOF
115628
115629          cat >>confdefs.h <<\_ACEOF
115630 #define HAVE_FPCLASS 1
115631 _ACEOF
115632
115633          cat >>confdefs.h <<\_ACEOF
115634 #define HAVE_GETPAGESIZE 1
115635 _ACEOF
115636
115637          # All of the dependencies for wide character support are here, so
115638          # turn it on.
115639          cat >>confdefs.h <<\_ACEOF
115640 #define _GLIBCXX_USE_WCHAR_T 1
115641 _ACEOF
115642
115643          # Are these tested for even when cross?
115644          cat >>confdefs.h <<\_ACEOF
115645 #define HAVE_FLOAT_H 1
115646 _ACEOF
115647
115648          cat >>confdefs.h <<\_ACEOF
115649 #define HAVE_IEEEFP_H 1
115650 _ACEOF
115651
115652          cat >>confdefs.h <<\_ACEOF
115653 #define HAVE_INTTYPES_H 1
115654 _ACEOF
115655
115656          cat >>confdefs.h <<\_ACEOF
115657 #define HAVE_LOCALE_H 1
115658 _ACEOF
115659
115660          cat >>confdefs.h <<\_ACEOF
115661 #define HAVE_NAN_H 1
115662 _ACEOF
115663
115664          cat >>confdefs.h <<\_ACEOF
115665 #define HAVE_SYS_FILIO_H 1
115666 _ACEOF
115667
115668          cat >>confdefs.h <<\_ACEOF
115669 #define HAVE_SYS_IOCTL_H 1
115670 _ACEOF
115671
115672          cat >>confdefs.h <<\_ACEOF
115673 #define HAVE_SYS_ISA_DEFS_H 1
115674 _ACEOF
115675
115676          cat >>confdefs.h <<\_ACEOF
115677 #define HAVE_SYS_RESOURCE_H 1
115678 _ACEOF
115679
115680          cat >>confdefs.h <<\_ACEOF
115681 #define HAVE_SYS_TIME_H 1
115682 _ACEOF
115683
115684          cat >>confdefs.h <<\_ACEOF
115685 #define HAVE_SYS_TYPES_H 1
115686 _ACEOF
115687
115688          cat >>confdefs.h <<\_ACEOF
115689 #define HAVE_UNISTD_H 1
115690 _ACEOF
115691
115692          cat >>confdefs.h <<\_ACEOF
115693 #define HAVE_WCHAR_H 1
115694 _ACEOF
115695
115696          cat >>confdefs.h <<\_ACEOF
115697 #define HAVE_WCTYPE_H 1
115698 _ACEOF
115699
115700          cat >>confdefs.h <<\_ACEOF
115701 #define HAVE_LIBM 1
115702 _ACEOF
115703
115704         ;;
115705     esac
115706     case "$target" in
115707       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
115708         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
115709         cat >>confdefs.h <<\_ACEOF
115710 #define HAVE___BUILTIN_ABS 1
115711 _ACEOF
115712
115713         cat >>confdefs.h <<\_ACEOF
115714 #define HAVE___BUILTIN_LABS 1
115715 _ACEOF
115716
115717         cat >>confdefs.h <<\_ACEOF
115718 #define HAVE___BUILTIN_FABS 1
115719 _ACEOF
115720
115721         cat >>confdefs.h <<\_ACEOF
115722 #define HAVE___BUILTIN_FABSF 1
115723 _ACEOF
115724
115725         cat >>confdefs.h <<\_ACEOF
115726 #define HAVE___BUILTIN_FABSL 1
115727 _ACEOF
115728
115729         cat >>confdefs.h <<\_ACEOF
115730 #define HAVE___BUILTIN_COS 1
115731 _ACEOF
115732
115733         cat >>confdefs.h <<\_ACEOF
115734 #define HAVE___BUILTIN_COSF 1
115735 _ACEOF
115736
115737         cat >>confdefs.h <<\_ACEOF
115738 #define HAVE___BUILTIN_SIN 1
115739 _ACEOF
115740
115741         cat >>confdefs.h <<\_ACEOF
115742 #define HAVE___BUILTIN_SINF 1
115743 _ACEOF
115744
115745        ;;
115746     esac
115747     case "$target" in
115748       *-*-solaris2.10)
115749       # These two C99 functions are present only in Solaris >= 10
115750       cat >>confdefs.h <<\_ACEOF
115751 #define HAVE_STRTOF 1
115752 _ACEOF
115753
115754       cat >>confdefs.h <<\_ACEOF
115755 #define HAVE_STRTOLD 1
115756 _ACEOF
115757
115758      ;;
115759     esac
115760     cat >>confdefs.h <<\_ACEOF
115761 #define HAVE_MMAP 1
115762 _ACEOF
115763
115764     cat >>confdefs.h <<\_ACEOF
115765 #define HAVE_COPYSIGN 1
115766 _ACEOF
115767
115768     cat >>confdefs.h <<\_ACEOF
115769 #define HAVE_ISNAN 1
115770 _ACEOF
115771
115772     cat >>confdefs.h <<\_ACEOF
115773 #define HAVE_ISNANF 1
115774 _ACEOF
115775
115776     cat >>confdefs.h <<\_ACEOF
115777 #define HAVE_MODFF 1
115778 _ACEOF
115779
115780     cat >>confdefs.h <<\_ACEOF
115781 #define HAVE_HYPOT 1
115782 _ACEOF
115783
115784     ;;
115785   *-tpf)
115786
115787
115788
115789
115790
115791
115792
115793
115794 for ac_header in nan.h endian.h machine/endian.h  \
115795       sys/param.h sys/types.h locale.h float.h inttypes.h
115796 do
115797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115799   echo "$as_me:$LINENO: checking for $ac_header" >&5
115800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115802   echo $ECHO_N "(cached) $ECHO_C" >&6
115803 fi
115804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115806 else
115807   # Is the header compilable?
115808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115810 cat >conftest.$ac_ext <<_ACEOF
115811 /* confdefs.h.  */
115812 _ACEOF
115813 cat confdefs.h >>conftest.$ac_ext
115814 cat >>conftest.$ac_ext <<_ACEOF
115815 /* end confdefs.h.  */
115816 $ac_includes_default
115817 #include <$ac_header>
115818 _ACEOF
115819 rm -f conftest.$ac_objext
115820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115821   (eval $ac_compile) 2>conftest.er1
115822   ac_status=$?
115823   grep -v '^ *+' conftest.er1 >conftest.err
115824   rm -f conftest.er1
115825   cat conftest.err >&5
115826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115827   (exit $ac_status); } &&
115828          { ac_try='test -z "$ac_c_werror_flag"
115829                          || test ! -s conftest.err'
115830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115831   (eval $ac_try) 2>&5
115832   ac_status=$?
115833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115834   (exit $ac_status); }; } &&
115835          { ac_try='test -s conftest.$ac_objext'
115836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115837   (eval $ac_try) 2>&5
115838   ac_status=$?
115839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115840   (exit $ac_status); }; }; then
115841   ac_header_compiler=yes
115842 else
115843   echo "$as_me: failed program was:" >&5
115844 sed 's/^/| /' conftest.$ac_ext >&5
115845
115846 ac_header_compiler=no
115847 fi
115848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115850 echo "${ECHO_T}$ac_header_compiler" >&6
115851
115852 # Is the header present?
115853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115855 cat >conftest.$ac_ext <<_ACEOF
115856 /* confdefs.h.  */
115857 _ACEOF
115858 cat confdefs.h >>conftest.$ac_ext
115859 cat >>conftest.$ac_ext <<_ACEOF
115860 /* end confdefs.h.  */
115861 #include <$ac_header>
115862 _ACEOF
115863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115864   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115865   ac_status=$?
115866   grep -v '^ *+' conftest.er1 >conftest.err
115867   rm -f conftest.er1
115868   cat conftest.err >&5
115869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115870   (exit $ac_status); } >/dev/null; then
115871   if test -s conftest.err; then
115872     ac_cpp_err=$ac_c_preproc_warn_flag
115873     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115874   else
115875     ac_cpp_err=
115876   fi
115877 else
115878   ac_cpp_err=yes
115879 fi
115880 if test -z "$ac_cpp_err"; then
115881   ac_header_preproc=yes
115882 else
115883   echo "$as_me: failed program was:" >&5
115884 sed 's/^/| /' conftest.$ac_ext >&5
115885
115886   ac_header_preproc=no
115887 fi
115888 rm -f conftest.err conftest.$ac_ext
115889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115890 echo "${ECHO_T}$ac_header_preproc" >&6
115891
115892 # So?  What about this header?
115893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115894   yes:no: )
115895     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115899     ac_header_preproc=yes
115900     ;;
115901   no:yes:* )
115902     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115904     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
115905 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
115906     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115908     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
115909 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
115910     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115912     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115914     (
115915       cat <<\_ASBOX
115916 ## ----------------------------------------- ##
115917 ## Report this to the package-unused lists.  ##
115918 ## ----------------------------------------- ##
115919 _ASBOX
115920     ) |
115921       sed "s/^/$as_me: WARNING:     /" >&2
115922     ;;
115923 esac
115924 echo "$as_me:$LINENO: checking for $ac_header" >&5
115925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115927   echo $ECHO_N "(cached) $ECHO_C" >&6
115928 else
115929   eval "$as_ac_Header=\$ac_header_preproc"
115930 fi
115931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115933
115934 fi
115935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115936   cat >>confdefs.h <<_ACEOF
115937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115938 _ACEOF
115939
115940 fi
115941
115942 done
115943
115944     SECTION_FLAGS='-ffunction-sections -fdata-sections'
115945
115946
115947   # If we're not using GNU ld, then there's no point in even trying these
115948   # tests.  Check for that first.  We should have already tested for gld
115949   # by now (in libtool), but require it now just to be safe...
115950   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115951   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115952
115953
115954
115955   # The name set by libtool depends on the version of libtool.  Shame on us
115956   # for depending on an impl detail, but c'est la vie.  Older versions used
115957   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115958   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115959   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
115960   # set (hence we're using an older libtool), then set it.
115961   if test x${with_gnu_ld+set} != xset; then
115962     if test x${ac_cv_prog_gnu_ld+set} != xset; then
115963       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
115964       with_gnu_ld=no
115965     else
115966       with_gnu_ld=$ac_cv_prog_gnu_ld
115967     fi
115968   fi
115969
115970   # Start by getting the version number.  I think the libtool test already
115971   # does some of this, but throws away the result.
115972   glibcxx_ld_is_gold=no
115973   if test x"$with_gnu_ld" = x"yes"; then
115974     echo "$as_me:$LINENO: checking for ld version" >&5
115975 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115976
115977     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115978       glibcxx_ld_is_gold=yes
115979     fi
115980     ldver=`$LD --version 2>/dev/null | head -1 | \
115981            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115982
115983     glibcxx_gnu_ld_version=`echo $ldver | \
115984            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115985     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115986 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115987   fi
115988
115989   # Set --gc-sections.
115990   glibcxx_have_gc_sections=no
115991   if test "$glibcxx_ld_is_gold" = "yes"; then
115992     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115993       glibcxx_have_gc_sections=yes
115994     fi
115995   else
115996     glibcxx_gcsections_min_ld=21602
115997     if test x"$with_gnu_ld" = x"yes" &&
115998         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115999       glibcxx_have_gc_sections=yes
116000     fi
116001   fi
116002   if test "$glibcxx_have_gc_sections" = "yes"; then
116003     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
116004     # NB: This flag only works reliably after 2.16.1. Configure tests
116005     # for this are difficult, so hard wire a value that should work.
116006
116007     ac_test_CFLAGS="${CFLAGS+set}"
116008     ac_save_CFLAGS="$CFLAGS"
116009     CFLAGS='-Wl,--gc-sections'
116010
116011     # Check for -Wl,--gc-sections
116012     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
116013 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
116014     if test x$gcc_no_link = xyes; then
116015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116017    { (exit 1); exit 1; }; }
116018 fi
116019 cat >conftest.$ac_ext <<_ACEOF
116020 /* confdefs.h.  */
116021 _ACEOF
116022 cat confdefs.h >>conftest.$ac_ext
116023 cat >>conftest.$ac_ext <<_ACEOF
116024 /* end confdefs.h.  */
116025  int one(void) { return 1; }
116026      int two(void) { return 2; }
116027
116028 int
116029 main ()
116030 {
116031  two();
116032   ;
116033   return 0;
116034 }
116035 _ACEOF
116036 rm -f conftest.$ac_objext conftest$ac_exeext
116037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116038   (eval $ac_link) 2>conftest.er1
116039   ac_status=$?
116040   grep -v '^ *+' conftest.er1 >conftest.err
116041   rm -f conftest.er1
116042   cat conftest.err >&5
116043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116044   (exit $ac_status); } &&
116045          { ac_try='test -z "$ac_c_werror_flag"
116046                          || test ! -s conftest.err'
116047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116048   (eval $ac_try) 2>&5
116049   ac_status=$?
116050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116051   (exit $ac_status); }; } &&
116052          { ac_try='test -s conftest$ac_exeext'
116053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116054   (eval $ac_try) 2>&5
116055   ac_status=$?
116056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116057   (exit $ac_status); }; }; then
116058   ac_gcsections=yes
116059 else
116060   echo "$as_me: failed program was:" >&5
116061 sed 's/^/| /' conftest.$ac_ext >&5
116062
116063 ac_gcsections=no
116064 fi
116065 rm -f conftest.err conftest.$ac_objext \
116066       conftest$ac_exeext conftest.$ac_ext
116067     if test "$ac_gcsections" = "yes"; then
116068       rm -f conftest.c
116069       touch conftest.c
116070       if $CC -c conftest.c; then
116071         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
116072            grep "Warning: gc-sections option ignored" > /dev/null; then
116073           ac_gcsections=no
116074         fi
116075       fi
116076       rm -f conftest.c conftest.o conftest
116077     fi
116078     if test "$ac_gcsections" = "yes"; then
116079       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
116080     fi
116081     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
116082 echo "${ECHO_T}$ac_gcsections" >&6
116083
116084     if test "$ac_test_CFLAGS" = set; then
116085       CFLAGS="$ac_save_CFLAGS"
116086     else
116087       # this is the suspicious part
116088       CFLAGS=''
116089     fi
116090   fi
116091
116092   # Set -z,relro.
116093   # Note this is only for shared objects.
116094   ac_ld_relro=no
116095   if test x"$with_gnu_ld" = x"yes"; then
116096     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
116097 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
116098     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
116099     if test -n "$cxx_z_relo"; then
116100       OPT_LDFLAGS="-Wl,-z,relro"
116101       ac_ld_relro=yes
116102     fi
116103     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
116104 echo "${ECHO_T}$ac_ld_relro" >&6
116105   fi
116106
116107   # Set linker optimization flags.
116108   if test x"$with_gnu_ld" = x"yes"; then
116109     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
116110   fi
116111
116112
116113
116114
116115
116116
116117 echo "$as_me:$LINENO: checking for main in -lm" >&5
116118 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
116119 if test "${ac_cv_lib_m_main+set}" = set; then
116120   echo $ECHO_N "(cached) $ECHO_C" >&6
116121 else
116122   ac_check_lib_save_LIBS=$LIBS
116123 LIBS="-lm  $LIBS"
116124 if test x$gcc_no_link = xyes; then
116125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116127    { (exit 1); exit 1; }; }
116128 fi
116129 cat >conftest.$ac_ext <<_ACEOF
116130 /* confdefs.h.  */
116131 _ACEOF
116132 cat confdefs.h >>conftest.$ac_ext
116133 cat >>conftest.$ac_ext <<_ACEOF
116134 /* end confdefs.h.  */
116135
116136
116137 int
116138 main ()
116139 {
116140 main ();
116141   ;
116142   return 0;
116143 }
116144 _ACEOF
116145 rm -f conftest.$ac_objext conftest$ac_exeext
116146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116147   (eval $ac_link) 2>conftest.er1
116148   ac_status=$?
116149   grep -v '^ *+' conftest.er1 >conftest.err
116150   rm -f conftest.er1
116151   cat conftest.err >&5
116152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116153   (exit $ac_status); } &&
116154          { ac_try='test -z "$ac_c_werror_flag"
116155                          || test ! -s conftest.err'
116156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116157   (eval $ac_try) 2>&5
116158   ac_status=$?
116159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116160   (exit $ac_status); }; } &&
116161          { ac_try='test -s conftest$ac_exeext'
116162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116163   (eval $ac_try) 2>&5
116164   ac_status=$?
116165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116166   (exit $ac_status); }; }; then
116167   ac_cv_lib_m_main=yes
116168 else
116169   echo "$as_me: failed program was:" >&5
116170 sed 's/^/| /' conftest.$ac_ext >&5
116171
116172 ac_cv_lib_m_main=no
116173 fi
116174 rm -f conftest.err conftest.$ac_objext \
116175       conftest$ac_exeext conftest.$ac_ext
116176 LIBS=$ac_check_lib_save_LIBS
116177 fi
116178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
116179 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
116180 if test $ac_cv_lib_m_main = yes; then
116181   cat >>confdefs.h <<_ACEOF
116182 #define HAVE_LIBM 1
116183 _ACEOF
116184
116185   LIBS="-lm $LIBS"
116186
116187 fi
116188
116189
116190 for ac_func in copysignf
116191 do
116192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116193 echo "$as_me:$LINENO: checking for $ac_func" >&5
116194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116195 if eval "test \"\${$as_ac_var+set}\" = set"; then
116196   echo $ECHO_N "(cached) $ECHO_C" >&6
116197 else
116198   if test x$gcc_no_link = xyes; then
116199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116201    { (exit 1); exit 1; }; }
116202 fi
116203 cat >conftest.$ac_ext <<_ACEOF
116204 /* confdefs.h.  */
116205 _ACEOF
116206 cat confdefs.h >>conftest.$ac_ext
116207 cat >>conftest.$ac_ext <<_ACEOF
116208 /* end confdefs.h.  */
116209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116211 #define $ac_func innocuous_$ac_func
116212
116213 /* System header to define __stub macros and hopefully few prototypes,
116214     which can conflict with char $ac_func (); below.
116215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116216     <limits.h> exists even on freestanding compilers.  */
116217
116218 #ifdef __STDC__
116219 # include <limits.h>
116220 #else
116221 # include <assert.h>
116222 #endif
116223
116224 #undef $ac_func
116225
116226 /* Override any gcc2 internal prototype to avoid an error.  */
116227 #ifdef __cplusplus
116228 extern "C"
116229 {
116230 #endif
116231 /* We use char because int might match the return type of a gcc2
116232    builtin and then its argument prototype would still apply.  */
116233 char $ac_func ();
116234 /* The GNU C library defines this for functions which it implements
116235     to always fail with ENOSYS.  Some functions are actually named
116236     something starting with __ and the normal name is an alias.  */
116237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116238 choke me
116239 #else
116240 char (*f) () = $ac_func;
116241 #endif
116242 #ifdef __cplusplus
116243 }
116244 #endif
116245
116246 int
116247 main ()
116248 {
116249 return f != $ac_func;
116250   ;
116251   return 0;
116252 }
116253 _ACEOF
116254 rm -f conftest.$ac_objext conftest$ac_exeext
116255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116256   (eval $ac_link) 2>conftest.er1
116257   ac_status=$?
116258   grep -v '^ *+' conftest.er1 >conftest.err
116259   rm -f conftest.er1
116260   cat conftest.err >&5
116261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116262   (exit $ac_status); } &&
116263          { ac_try='test -z "$ac_c_werror_flag"
116264                          || test ! -s conftest.err'
116265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116266   (eval $ac_try) 2>&5
116267   ac_status=$?
116268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116269   (exit $ac_status); }; } &&
116270          { ac_try='test -s conftest$ac_exeext'
116271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116272   (eval $ac_try) 2>&5
116273   ac_status=$?
116274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116275   (exit $ac_status); }; }; then
116276   eval "$as_ac_var=yes"
116277 else
116278   echo "$as_me: failed program was:" >&5
116279 sed 's/^/| /' conftest.$ac_ext >&5
116280
116281 eval "$as_ac_var=no"
116282 fi
116283 rm -f conftest.err conftest.$ac_objext \
116284       conftest$ac_exeext conftest.$ac_ext
116285 fi
116286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116288 if test `eval echo '${'$as_ac_var'}'` = yes; then
116289   cat >>confdefs.h <<_ACEOF
116290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116291 _ACEOF
116292
116293 else
116294   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
116295 fi
116296 done
116297
116298
116299
116300 for ac_func in __signbit
116301 do
116302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116303 echo "$as_me:$LINENO: checking for $ac_func" >&5
116304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116305 if eval "test \"\${$as_ac_var+set}\" = set"; then
116306   echo $ECHO_N "(cached) $ECHO_C" >&6
116307 else
116308   if test x$gcc_no_link = xyes; then
116309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116311    { (exit 1); exit 1; }; }
116312 fi
116313 cat >conftest.$ac_ext <<_ACEOF
116314 /* confdefs.h.  */
116315 _ACEOF
116316 cat confdefs.h >>conftest.$ac_ext
116317 cat >>conftest.$ac_ext <<_ACEOF
116318 /* end confdefs.h.  */
116319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116321 #define $ac_func innocuous_$ac_func
116322
116323 /* System header to define __stub macros and hopefully few prototypes,
116324     which can conflict with char $ac_func (); below.
116325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116326     <limits.h> exists even on freestanding compilers.  */
116327
116328 #ifdef __STDC__
116329 # include <limits.h>
116330 #else
116331 # include <assert.h>
116332 #endif
116333
116334 #undef $ac_func
116335
116336 /* Override any gcc2 internal prototype to avoid an error.  */
116337 #ifdef __cplusplus
116338 extern "C"
116339 {
116340 #endif
116341 /* We use char because int might match the return type of a gcc2
116342    builtin and then its argument prototype would still apply.  */
116343 char $ac_func ();
116344 /* The GNU C library defines this for functions which it implements
116345     to always fail with ENOSYS.  Some functions are actually named
116346     something starting with __ and the normal name is an alias.  */
116347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116348 choke me
116349 #else
116350 char (*f) () = $ac_func;
116351 #endif
116352 #ifdef __cplusplus
116353 }
116354 #endif
116355
116356 int
116357 main ()
116358 {
116359 return f != $ac_func;
116360   ;
116361   return 0;
116362 }
116363 _ACEOF
116364 rm -f conftest.$ac_objext conftest$ac_exeext
116365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116366   (eval $ac_link) 2>conftest.er1
116367   ac_status=$?
116368   grep -v '^ *+' conftest.er1 >conftest.err
116369   rm -f conftest.er1
116370   cat conftest.err >&5
116371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116372   (exit $ac_status); } &&
116373          { ac_try='test -z "$ac_c_werror_flag"
116374                          || test ! -s conftest.err'
116375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116376   (eval $ac_try) 2>&5
116377   ac_status=$?
116378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116379   (exit $ac_status); }; } &&
116380          { ac_try='test -s conftest$ac_exeext'
116381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116382   (eval $ac_try) 2>&5
116383   ac_status=$?
116384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116385   (exit $ac_status); }; }; then
116386   eval "$as_ac_var=yes"
116387 else
116388   echo "$as_me: failed program was:" >&5
116389 sed 's/^/| /' conftest.$ac_ext >&5
116390
116391 eval "$as_ac_var=no"
116392 fi
116393 rm -f conftest.err conftest.$ac_objext \
116394       conftest$ac_exeext conftest.$ac_ext
116395 fi
116396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116398 if test `eval echo '${'$as_ac_var'}'` = yes; then
116399   cat >>confdefs.h <<_ACEOF
116400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116401 _ACEOF
116402
116403 else
116404   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
116405 fi
116406 done
116407
116408
116409
116410 for ac_func in __signbitf
116411 do
116412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116413 echo "$as_me:$LINENO: checking for $ac_func" >&5
116414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116415 if eval "test \"\${$as_ac_var+set}\" = set"; then
116416   echo $ECHO_N "(cached) $ECHO_C" >&6
116417 else
116418   if test x$gcc_no_link = xyes; then
116419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116421    { (exit 1); exit 1; }; }
116422 fi
116423 cat >conftest.$ac_ext <<_ACEOF
116424 /* confdefs.h.  */
116425 _ACEOF
116426 cat confdefs.h >>conftest.$ac_ext
116427 cat >>conftest.$ac_ext <<_ACEOF
116428 /* end confdefs.h.  */
116429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116431 #define $ac_func innocuous_$ac_func
116432
116433 /* System header to define __stub macros and hopefully few prototypes,
116434     which can conflict with char $ac_func (); below.
116435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116436     <limits.h> exists even on freestanding compilers.  */
116437
116438 #ifdef __STDC__
116439 # include <limits.h>
116440 #else
116441 # include <assert.h>
116442 #endif
116443
116444 #undef $ac_func
116445
116446 /* Override any gcc2 internal prototype to avoid an error.  */
116447 #ifdef __cplusplus
116448 extern "C"
116449 {
116450 #endif
116451 /* We use char because int might match the return type of a gcc2
116452    builtin and then its argument prototype would still apply.  */
116453 char $ac_func ();
116454 /* The GNU C library defines this for functions which it implements
116455     to always fail with ENOSYS.  Some functions are actually named
116456     something starting with __ and the normal name is an alias.  */
116457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116458 choke me
116459 #else
116460 char (*f) () = $ac_func;
116461 #endif
116462 #ifdef __cplusplus
116463 }
116464 #endif
116465
116466 int
116467 main ()
116468 {
116469 return f != $ac_func;
116470   ;
116471   return 0;
116472 }
116473 _ACEOF
116474 rm -f conftest.$ac_objext conftest$ac_exeext
116475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116476   (eval $ac_link) 2>conftest.er1
116477   ac_status=$?
116478   grep -v '^ *+' conftest.er1 >conftest.err
116479   rm -f conftest.er1
116480   cat conftest.err >&5
116481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116482   (exit $ac_status); } &&
116483          { ac_try='test -z "$ac_c_werror_flag"
116484                          || test ! -s conftest.err'
116485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116486   (eval $ac_try) 2>&5
116487   ac_status=$?
116488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116489   (exit $ac_status); }; } &&
116490          { ac_try='test -s conftest$ac_exeext'
116491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116492   (eval $ac_try) 2>&5
116493   ac_status=$?
116494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116495   (exit $ac_status); }; }; then
116496   eval "$as_ac_var=yes"
116497 else
116498   echo "$as_me: failed program was:" >&5
116499 sed 's/^/| /' conftest.$ac_ext >&5
116500
116501 eval "$as_ac_var=no"
116502 fi
116503 rm -f conftest.err conftest.$ac_objext \
116504       conftest$ac_exeext conftest.$ac_ext
116505 fi
116506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116508 if test `eval echo '${'$as_ac_var'}'` = yes; then
116509   cat >>confdefs.h <<_ACEOF
116510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116511 _ACEOF
116512
116513 else
116514   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
116515 fi
116516 done
116517
116518
116519           if test x$ac_cv_func_copysignl = x"yes"; then
116520
116521 for ac_func in __signbitl
116522 do
116523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116524 echo "$as_me:$LINENO: checking for $ac_func" >&5
116525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116526 if eval "test \"\${$as_ac_var+set}\" = set"; then
116527   echo $ECHO_N "(cached) $ECHO_C" >&6
116528 else
116529   if test x$gcc_no_link = xyes; then
116530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116532    { (exit 1); exit 1; }; }
116533 fi
116534 cat >conftest.$ac_ext <<_ACEOF
116535 /* confdefs.h.  */
116536 _ACEOF
116537 cat confdefs.h >>conftest.$ac_ext
116538 cat >>conftest.$ac_ext <<_ACEOF
116539 /* end confdefs.h.  */
116540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116542 #define $ac_func innocuous_$ac_func
116543
116544 /* System header to define __stub macros and hopefully few prototypes,
116545     which can conflict with char $ac_func (); below.
116546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116547     <limits.h> exists even on freestanding compilers.  */
116548
116549 #ifdef __STDC__
116550 # include <limits.h>
116551 #else
116552 # include <assert.h>
116553 #endif
116554
116555 #undef $ac_func
116556
116557 /* Override any gcc2 internal prototype to avoid an error.  */
116558 #ifdef __cplusplus
116559 extern "C"
116560 {
116561 #endif
116562 /* We use char because int might match the return type of a gcc2
116563    builtin and then its argument prototype would still apply.  */
116564 char $ac_func ();
116565 /* The GNU C library defines this for functions which it implements
116566     to always fail with ENOSYS.  Some functions are actually named
116567     something starting with __ and the normal name is an alias.  */
116568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116569 choke me
116570 #else
116571 char (*f) () = $ac_func;
116572 #endif
116573 #ifdef __cplusplus
116574 }
116575 #endif
116576
116577 int
116578 main ()
116579 {
116580 return f != $ac_func;
116581   ;
116582   return 0;
116583 }
116584 _ACEOF
116585 rm -f conftest.$ac_objext conftest$ac_exeext
116586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116587   (eval $ac_link) 2>conftest.er1
116588   ac_status=$?
116589   grep -v '^ *+' conftest.er1 >conftest.err
116590   rm -f conftest.er1
116591   cat conftest.err >&5
116592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116593   (exit $ac_status); } &&
116594          { ac_try='test -z "$ac_c_werror_flag"
116595                          || test ! -s conftest.err'
116596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116597   (eval $ac_try) 2>&5
116598   ac_status=$?
116599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116600   (exit $ac_status); }; } &&
116601          { ac_try='test -s conftest$ac_exeext'
116602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116603   (eval $ac_try) 2>&5
116604   ac_status=$?
116605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116606   (exit $ac_status); }; }; then
116607   eval "$as_ac_var=yes"
116608 else
116609   echo "$as_me: failed program was:" >&5
116610 sed 's/^/| /' conftest.$ac_ext >&5
116611
116612 eval "$as_ac_var=no"
116613 fi
116614 rm -f conftest.err conftest.$ac_objext \
116615       conftest$ac_exeext conftest.$ac_ext
116616 fi
116617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116619 if test `eval echo '${'$as_ac_var'}'` = yes; then
116620   cat >>confdefs.h <<_ACEOF
116621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116622 _ACEOF
116623
116624 else
116625   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
116626 fi
116627 done
116628
116629   fi
116630
116631   # Used in libmath/Makefile.am.
116632   if test -n "$LIBMATHOBJS"; then
116633     need_libmath=yes
116634   fi
116635
116636
116637     cat >>confdefs.h <<\_ACEOF
116638 #define HAVE_COPYSIGN 1
116639 _ACEOF
116640
116641     cat >>confdefs.h <<\_ACEOF
116642 #define HAVE_COPYSIGNF 1
116643 _ACEOF
116644
116645     cat >>confdefs.h <<\_ACEOF
116646 #define HAVE_FINITE 1
116647 _ACEOF
116648
116649     cat >>confdefs.h <<\_ACEOF
116650 #define HAVE_FINITEF 1
116651 _ACEOF
116652
116653     cat >>confdefs.h <<\_ACEOF
116654 #define HAVE_FREXPF 1
116655 _ACEOF
116656
116657     cat >>confdefs.h <<\_ACEOF
116658 #define HAVE_HYPOTF 1
116659 _ACEOF
116660
116661     cat >>confdefs.h <<\_ACEOF
116662 #define HAVE_ISINF 1
116663 _ACEOF
116664
116665     cat >>confdefs.h <<\_ACEOF
116666 #define HAVE_ISINFF 1
116667 _ACEOF
116668
116669     cat >>confdefs.h <<\_ACEOF
116670 #define HAVE_ISNAN 1
116671 _ACEOF
116672
116673     cat >>confdefs.h <<\_ACEOF
116674 #define HAVE_ISNANF 1
116675 _ACEOF
116676
116677     cat >>confdefs.h <<\_ACEOF
116678 #define HAVE_SINCOS 1
116679 _ACEOF
116680
116681     cat >>confdefs.h <<\_ACEOF
116682 #define HAVE_SINCOSF 1
116683 _ACEOF
116684
116685     if test x"long_double_math_on_this_cpu" = x"yes"; then
116686       cat >>confdefs.h <<\_ACEOF
116687 #define HAVE_FINITEL 1
116688 _ACEOF
116689
116690       cat >>confdefs.h <<\_ACEOF
116691 #define HAVE_HYPOTL 1
116692 _ACEOF
116693
116694       cat >>confdefs.h <<\_ACEOF
116695 #define HAVE_ISINFL 1
116696 _ACEOF
116697
116698       cat >>confdefs.h <<\_ACEOF
116699 #define HAVE_ISNANL 1
116700 _ACEOF
116701
116702     fi
116703     ;;
116704   *-vxworks)
116705     cat >>confdefs.h <<\_ACEOF
116706 #define HAVE_MMAP 1
116707 _ACEOF
116708
116709     cat >>confdefs.h <<\_ACEOF
116710 #define HAVE_ACOSF 1
116711 _ACEOF
116712
116713     cat >>confdefs.h <<\_ACEOF
116714 #define HAVE_ASINF 1
116715 _ACEOF
116716
116717     cat >>confdefs.h <<\_ACEOF
116718 #define HAVE_ATAN2F 1
116719 _ACEOF
116720
116721     cat >>confdefs.h <<\_ACEOF
116722 #define HAVE_ATANF 1
116723 _ACEOF
116724
116725     cat >>confdefs.h <<\_ACEOF
116726 #define HAVE_CEILF 1
116727 _ACEOF
116728
116729     cat >>confdefs.h <<\_ACEOF
116730 #define HAVE_COSF 1
116731 _ACEOF
116732
116733     cat >>confdefs.h <<\_ACEOF
116734 #define HAVE_COSHF 1
116735 _ACEOF
116736
116737     cat >>confdefs.h <<\_ACEOF
116738 #define HAVE_EXPF 1
116739 _ACEOF
116740
116741     cat >>confdefs.h <<\_ACEOF
116742 #define HAVE_FABSF 1
116743 _ACEOF
116744
116745     cat >>confdefs.h <<\_ACEOF
116746 #define HAVE_FLOORF 1
116747 _ACEOF
116748
116749     cat >>confdefs.h <<\_ACEOF
116750 #define HAVE_FMODF 1
116751 _ACEOF
116752
116753     cat >>confdefs.h <<\_ACEOF
116754 #define HAVE_HYPOT 1
116755 _ACEOF
116756
116757     cat >>confdefs.h <<\_ACEOF
116758 #define HAVE_LOG10F 1
116759 _ACEOF
116760
116761     cat >>confdefs.h <<\_ACEOF
116762 #define HAVE_LOGF 1
116763 _ACEOF
116764
116765     cat >>confdefs.h <<\_ACEOF
116766 #define HAVE_POWF 1
116767 _ACEOF
116768
116769     cat >>confdefs.h <<\_ACEOF
116770 #define HAVE_SINF 1
116771 _ACEOF
116772
116773     cat >>confdefs.h <<\_ACEOF
116774 #define HAVE_SINHF 1
116775 _ACEOF
116776
116777     cat >>confdefs.h <<\_ACEOF
116778 #define HAVE_SQRTF 1
116779 _ACEOF
116780
116781     cat >>confdefs.h <<\_ACEOF
116782 #define HAVE_TANF 1
116783 _ACEOF
116784
116785     cat >>confdefs.h <<\_ACEOF
116786 #define HAVE_TANHF 1
116787 _ACEOF
116788
116789     ;;
116790   *)
116791     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
116792 echo "$as_me: error: No support for this host/target combination." >&2;}
116793    { (exit 1); exit 1; }; }
116794    ;;
116795 esac
116796
116797   fi
116798
116799   # At some point, we should differentiate between architectures
116800   # like x86, which have long double versions, and alpha/powerpc/etc.,
116801   # which don't. For the time being, punt.
116802   if test x"long_double_math_on_this_cpu" = x"yes"; then
116803     cat >>confdefs.h <<\_ACEOF
116804 #define HAVE_ACOSL 1
116805 _ACEOF
116806
116807     cat >>confdefs.h <<\_ACEOF
116808 #define HAVE_ASINL 1
116809 _ACEOF
116810
116811     cat >>confdefs.h <<\_ACEOF
116812 #define HAVE_ATAN2L 1
116813 _ACEOF
116814
116815     cat >>confdefs.h <<\_ACEOF
116816 #define HAVE_ATANL 1
116817 _ACEOF
116818
116819     cat >>confdefs.h <<\_ACEOF
116820 #define HAVE_CEILL 1
116821 _ACEOF
116822
116823     cat >>confdefs.h <<\_ACEOF
116824 #define HAVE_COPYSIGNL 1
116825 _ACEOF
116826
116827     cat >>confdefs.h <<\_ACEOF
116828 #define HAVE_COSL 1
116829 _ACEOF
116830
116831     cat >>confdefs.h <<\_ACEOF
116832 #define HAVE_COSHL 1
116833 _ACEOF
116834
116835     cat >>confdefs.h <<\_ACEOF
116836 #define HAVE_EXPL 1
116837 _ACEOF
116838
116839     cat >>confdefs.h <<\_ACEOF
116840 #define HAVE_FABSL 1
116841 _ACEOF
116842
116843     cat >>confdefs.h <<\_ACEOF
116844 #define HAVE_FLOORL 1
116845 _ACEOF
116846
116847     cat >>confdefs.h <<\_ACEOF
116848 #define HAVE_FMODL 1
116849 _ACEOF
116850
116851     cat >>confdefs.h <<\_ACEOF
116852 #define HAVE_FREXPL 1
116853 _ACEOF
116854
116855     cat >>confdefs.h <<\_ACEOF
116856 #define HAVE_LDEXPL 1
116857 _ACEOF
116858
116859     cat >>confdefs.h <<\_ACEOF
116860 #define HAVE_LOG10L 1
116861 _ACEOF
116862
116863     cat >>confdefs.h <<\_ACEOF
116864 #define HAVE_LOGL 1
116865 _ACEOF
116866
116867     cat >>confdefs.h <<\_ACEOF
116868 #define HAVE_MODFL 1
116869 _ACEOF
116870
116871     cat >>confdefs.h <<\_ACEOF
116872 #define HAVE_POWL 1
116873 _ACEOF
116874
116875     cat >>confdefs.h <<\_ACEOF
116876 #define HAVE_SINCOSL 1
116877 _ACEOF
116878
116879     cat >>confdefs.h <<\_ACEOF
116880 #define HAVE_SINL 1
116881 _ACEOF
116882
116883     cat >>confdefs.h <<\_ACEOF
116884 #define HAVE_SINHL 1
116885 _ACEOF
116886
116887     cat >>confdefs.h <<\_ACEOF
116888 #define HAVE_SQRTL 1
116889 _ACEOF
116890
116891     cat >>confdefs.h <<\_ACEOF
116892 #define HAVE_TANL 1
116893 _ACEOF
116894
116895     cat >>confdefs.h <<\_ACEOF
116896 #define HAVE_TANHL 1
116897 _ACEOF
116898
116899   fi
116900
116901   # Assume we have _Unwind_GetIPInfo for cross-compiles.
116902   cat >>confdefs.h <<\_ACEOF
116903 #define HAVE_GETIPINFO 1
116904 _ACEOF
116905
116906 fi
116907
116908  # Check whether --enable-linux-futex or --disable-linux-futex was given.
116909 if test "${enable_linux_futex+set}" = set; then
116910   enableval="$enable_linux_futex"
116911
116912       case "$enableval" in
116913        yes|no|default) ;;
116914        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
116915 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
116916    { (exit 1); exit 1; }; } ;;
116917                           esac
116918
116919 else
116920   enable_linux_futex=default
116921 fi;
116922
116923 case "$target" in
116924   *-linux*)
116925     case "$enable_linux_futex" in
116926       default)
116927         # If headers don't have gettid/futex syscalls definition, then
116928         # default to no, otherwise there will be compile time failures.
116929         # Otherwise, default to yes.  If we don't detect we are
116930         # compiled/linked against NPTL and not cross-compiling, check
116931         # if programs are run by default against NPTL and if not, issue
116932         # a warning.
116933         enable_linux_futex=no
116934         if test x$gcc_no_link = xyes; then
116935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116937    { (exit 1); exit 1; }; }
116938 fi
116939 cat >conftest.$ac_ext <<_ACEOF
116940 /* confdefs.h.  */
116941 _ACEOF
116942 cat confdefs.h >>conftest.$ac_ext
116943 cat >>conftest.$ac_ext <<_ACEOF
116944 /* end confdefs.h.  */
116945 #include <sys/syscall.h>
116946            int lk;
116947 int
116948 main ()
116949 {
116950 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116951   ;
116952   return 0;
116953 }
116954 _ACEOF
116955 rm -f conftest.$ac_objext conftest$ac_exeext
116956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116957   (eval $ac_link) 2>conftest.er1
116958   ac_status=$?
116959   grep -v '^ *+' conftest.er1 >conftest.err
116960   rm -f conftest.er1
116961   cat conftest.err >&5
116962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116963   (exit $ac_status); } &&
116964          { ac_try='test -z "$ac_c_werror_flag"
116965                          || test ! -s conftest.err'
116966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116967   (eval $ac_try) 2>&5
116968   ac_status=$?
116969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116970   (exit $ac_status); }; } &&
116971          { ac_try='test -s conftest$ac_exeext'
116972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116973   (eval $ac_try) 2>&5
116974   ac_status=$?
116975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116976   (exit $ac_status); }; }; then
116977   save_LIBS="$LIBS"
116978            LIBS="-lpthread $LIBS"
116979            if test x$gcc_no_link = xyes; then
116980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116982    { (exit 1); exit 1; }; }
116983 fi
116984 cat >conftest.$ac_ext <<_ACEOF
116985 /* confdefs.h.  */
116986 _ACEOF
116987 cat confdefs.h >>conftest.$ac_ext
116988 cat >>conftest.$ac_ext <<_ACEOF
116989 /* end confdefs.h.  */
116990 #ifndef _GNU_SOURCE
116991              #define _GNU_SOURCE 1
116992              #endif
116993              #include <pthread.h>
116994              pthread_t th; void *status;
116995 int
116996 main ()
116997 {
116998 pthread_tryjoin_np (th, &status);
116999   ;
117000   return 0;
117001 }
117002 _ACEOF
117003 rm -f conftest.$ac_objext conftest$ac_exeext
117004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117005   (eval $ac_link) 2>conftest.er1
117006   ac_status=$?
117007   grep -v '^ *+' conftest.er1 >conftest.err
117008   rm -f conftest.er1
117009   cat conftest.err >&5
117010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117011   (exit $ac_status); } &&
117012          { ac_try='test -z "$ac_c_werror_flag"
117013                          || test ! -s conftest.err'
117014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117015   (eval $ac_try) 2>&5
117016   ac_status=$?
117017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117018   (exit $ac_status); }; } &&
117019          { ac_try='test -s conftest$ac_exeext'
117020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117021   (eval $ac_try) 2>&5
117022   ac_status=$?
117023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117024   (exit $ac_status); }; }; then
117025   enable_linux_futex=yes
117026 else
117027   echo "$as_me: failed program was:" >&5
117028 sed 's/^/| /' conftest.$ac_ext >&5
117029
117030 if test x$cross_compiling = xno; then
117031                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
117032                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
117033                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
117034 If so, please configure with --disable-linux-futex" >&5
117035 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
117036 If so, please configure with --disable-linux-futex" >&2;}
117037                fi
117038              fi
117039              enable_linux_futex=yes
117040 fi
117041 rm -f conftest.err conftest.$ac_objext \
117042       conftest$ac_exeext conftest.$ac_ext
117043            LIBS="$save_LIBS"
117044 else
117045   echo "$as_me: failed program was:" >&5
117046 sed 's/^/| /' conftest.$ac_ext >&5
117047
117048 fi
117049 rm -f conftest.err conftest.$ac_objext \
117050       conftest$ac_exeext conftest.$ac_ext
117051         ;;
117052       yes)
117053         if test x$gcc_no_link = xyes; then
117054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117056    { (exit 1); exit 1; }; }
117057 fi
117058 cat >conftest.$ac_ext <<_ACEOF
117059 /* confdefs.h.  */
117060 _ACEOF
117061 cat confdefs.h >>conftest.$ac_ext
117062 cat >>conftest.$ac_ext <<_ACEOF
117063 /* end confdefs.h.  */
117064 #include <sys/syscall.h>
117065            int lk;
117066 int
117067 main ()
117068 {
117069 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
117070   ;
117071   return 0;
117072 }
117073 _ACEOF
117074 rm -f conftest.$ac_objext conftest$ac_exeext
117075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117076   (eval $ac_link) 2>conftest.er1
117077   ac_status=$?
117078   grep -v '^ *+' conftest.er1 >conftest.err
117079   rm -f conftest.er1
117080   cat conftest.err >&5
117081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117082   (exit $ac_status); } &&
117083          { ac_try='test -z "$ac_c_werror_flag"
117084                          || test ! -s conftest.err'
117085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117086   (eval $ac_try) 2>&5
117087   ac_status=$?
117088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117089   (exit $ac_status); }; } &&
117090          { ac_try='test -s conftest$ac_exeext'
117091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117092   (eval $ac_try) 2>&5
117093   ac_status=$?
117094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117095   (exit $ac_status); }; }; then
117096   :
117097 else
117098   echo "$as_me: failed program was:" >&5
117099 sed 's/^/| /' conftest.$ac_ext >&5
117100
117101 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
117102 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
117103    { (exit 1); exit 1; }; }
117104 fi
117105 rm -f conftest.err conftest.$ac_objext \
117106       conftest$ac_exeext conftest.$ac_ext
117107         ;;
117108     esac
117109     ;;
117110   *)
117111     enable_linux_futex=no
117112     ;;
117113 esac
117114 if test x$enable_linux_futex = xyes; then
117115
117116 cat >>confdefs.h <<\_ACEOF
117117 #define HAVE_LINUX_FUTEX 1
117118 _ACEOF
117119
117120 fi
117121
117122
117123
117124
117125 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
117126
117127 acx_cv_header_stdint=stddef.h
117128 acx_cv_header_stdint_kind="(already complete)"
117129 for i in stdint.h $inttype_headers; do
117130   unset ac_cv_type_uintptr_t
117131   unset ac_cv_type_uintmax_t
117132   unset ac_cv_type_int_least32_t
117133   unset ac_cv_type_int_fast32_t
117134   unset ac_cv_type_uint64_t
117135   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
117136   echo "$as_me:$LINENO: checking for uintmax_t" >&5
117137 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
117138 if test "${ac_cv_type_uintmax_t+set}" = set; then
117139   echo $ECHO_N "(cached) $ECHO_C" >&6
117140 else
117141   cat >conftest.$ac_ext <<_ACEOF
117142 /* confdefs.h.  */
117143 _ACEOF
117144 cat confdefs.h >>conftest.$ac_ext
117145 cat >>conftest.$ac_ext <<_ACEOF
117146 /* end confdefs.h.  */
117147 #include <sys/types.h>
117148 #include <$i>
117149
117150 int
117151 main ()
117152 {
117153 if ((uintmax_t *) 0)
117154   return 0;
117155 if (sizeof (uintmax_t))
117156   return 0;
117157   ;
117158   return 0;
117159 }
117160 _ACEOF
117161 rm -f conftest.$ac_objext
117162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117163   (eval $ac_compile) 2>conftest.er1
117164   ac_status=$?
117165   grep -v '^ *+' conftest.er1 >conftest.err
117166   rm -f conftest.er1
117167   cat conftest.err >&5
117168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117169   (exit $ac_status); } &&
117170          { ac_try='test -z "$ac_c_werror_flag"
117171                          || test ! -s conftest.err'
117172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117173   (eval $ac_try) 2>&5
117174   ac_status=$?
117175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117176   (exit $ac_status); }; } &&
117177          { ac_try='test -s conftest.$ac_objext'
117178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117179   (eval $ac_try) 2>&5
117180   ac_status=$?
117181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117182   (exit $ac_status); }; }; then
117183   ac_cv_type_uintmax_t=yes
117184 else
117185   echo "$as_me: failed program was:" >&5
117186 sed 's/^/| /' conftest.$ac_ext >&5
117187
117188 ac_cv_type_uintmax_t=no
117189 fi
117190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117191 fi
117192 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
117193 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
117194 if test $ac_cv_type_uintmax_t = yes; then
117195   acx_cv_header_stdint=$i
117196 else
117197   continue
117198 fi
117199
117200   echo "$as_me:$LINENO: checking for uintptr_t" >&5
117201 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117202 if test "${ac_cv_type_uintptr_t+set}" = set; then
117203   echo $ECHO_N "(cached) $ECHO_C" >&6
117204 else
117205   cat >conftest.$ac_ext <<_ACEOF
117206 /* confdefs.h.  */
117207 _ACEOF
117208 cat confdefs.h >>conftest.$ac_ext
117209 cat >>conftest.$ac_ext <<_ACEOF
117210 /* end confdefs.h.  */
117211 #include <sys/types.h>
117212 #include <$i>
117213
117214 int
117215 main ()
117216 {
117217 if ((uintptr_t *) 0)
117218   return 0;
117219 if (sizeof (uintptr_t))
117220   return 0;
117221   ;
117222   return 0;
117223 }
117224 _ACEOF
117225 rm -f conftest.$ac_objext
117226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117227   (eval $ac_compile) 2>conftest.er1
117228   ac_status=$?
117229   grep -v '^ *+' conftest.er1 >conftest.err
117230   rm -f conftest.er1
117231   cat conftest.err >&5
117232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117233   (exit $ac_status); } &&
117234          { ac_try='test -z "$ac_c_werror_flag"
117235                          || test ! -s conftest.err'
117236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117237   (eval $ac_try) 2>&5
117238   ac_status=$?
117239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117240   (exit $ac_status); }; } &&
117241          { ac_try='test -s conftest.$ac_objext'
117242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117243   (eval $ac_try) 2>&5
117244   ac_status=$?
117245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117246   (exit $ac_status); }; }; then
117247   ac_cv_type_uintptr_t=yes
117248 else
117249   echo "$as_me: failed program was:" >&5
117250 sed 's/^/| /' conftest.$ac_ext >&5
117251
117252 ac_cv_type_uintptr_t=no
117253 fi
117254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117255 fi
117256 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117257 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117258 if test $ac_cv_type_uintptr_t = yes; then
117259   :
117260 else
117261   acx_cv_header_stdint_kind="(mostly complete)"
117262 fi
117263
117264   echo "$as_me:$LINENO: checking for int_least32_t" >&5
117265 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
117266 if test "${ac_cv_type_int_least32_t+set}" = set; then
117267   echo $ECHO_N "(cached) $ECHO_C" >&6
117268 else
117269   cat >conftest.$ac_ext <<_ACEOF
117270 /* confdefs.h.  */
117271 _ACEOF
117272 cat confdefs.h >>conftest.$ac_ext
117273 cat >>conftest.$ac_ext <<_ACEOF
117274 /* end confdefs.h.  */
117275 #include <sys/types.h>
117276 #include <$i>
117277
117278 int
117279 main ()
117280 {
117281 if ((int_least32_t *) 0)
117282   return 0;
117283 if (sizeof (int_least32_t))
117284   return 0;
117285   ;
117286   return 0;
117287 }
117288 _ACEOF
117289 rm -f conftest.$ac_objext
117290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117291   (eval $ac_compile) 2>conftest.er1
117292   ac_status=$?
117293   grep -v '^ *+' conftest.er1 >conftest.err
117294   rm -f conftest.er1
117295   cat conftest.err >&5
117296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117297   (exit $ac_status); } &&
117298          { ac_try='test -z "$ac_c_werror_flag"
117299                          || test ! -s conftest.err'
117300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117301   (eval $ac_try) 2>&5
117302   ac_status=$?
117303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117304   (exit $ac_status); }; } &&
117305          { ac_try='test -s conftest.$ac_objext'
117306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117307   (eval $ac_try) 2>&5
117308   ac_status=$?
117309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117310   (exit $ac_status); }; }; then
117311   ac_cv_type_int_least32_t=yes
117312 else
117313   echo "$as_me: failed program was:" >&5
117314 sed 's/^/| /' conftest.$ac_ext >&5
117315
117316 ac_cv_type_int_least32_t=no
117317 fi
117318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117319 fi
117320 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
117321 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
117322 if test $ac_cv_type_int_least32_t = yes; then
117323   :
117324 else
117325   acx_cv_header_stdint_kind="(mostly complete)"
117326 fi
117327
117328   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
117329 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
117330 if test "${ac_cv_type_int_fast32_t+set}" = set; then
117331   echo $ECHO_N "(cached) $ECHO_C" >&6
117332 else
117333   cat >conftest.$ac_ext <<_ACEOF
117334 /* confdefs.h.  */
117335 _ACEOF
117336 cat confdefs.h >>conftest.$ac_ext
117337 cat >>conftest.$ac_ext <<_ACEOF
117338 /* end confdefs.h.  */
117339 #include <sys/types.h>
117340 #include <$i>
117341
117342 int
117343 main ()
117344 {
117345 if ((int_fast32_t *) 0)
117346   return 0;
117347 if (sizeof (int_fast32_t))
117348   return 0;
117349   ;
117350   return 0;
117351 }
117352 _ACEOF
117353 rm -f conftest.$ac_objext
117354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117355   (eval $ac_compile) 2>conftest.er1
117356   ac_status=$?
117357   grep -v '^ *+' conftest.er1 >conftest.err
117358   rm -f conftest.er1
117359   cat conftest.err >&5
117360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117361   (exit $ac_status); } &&
117362          { ac_try='test -z "$ac_c_werror_flag"
117363                          || test ! -s conftest.err'
117364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117365   (eval $ac_try) 2>&5
117366   ac_status=$?
117367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117368   (exit $ac_status); }; } &&
117369          { ac_try='test -s conftest.$ac_objext'
117370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117371   (eval $ac_try) 2>&5
117372   ac_status=$?
117373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117374   (exit $ac_status); }; }; then
117375   ac_cv_type_int_fast32_t=yes
117376 else
117377   echo "$as_me: failed program was:" >&5
117378 sed 's/^/| /' conftest.$ac_ext >&5
117379
117380 ac_cv_type_int_fast32_t=no
117381 fi
117382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117383 fi
117384 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
117385 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
117386 if test $ac_cv_type_int_fast32_t = yes; then
117387   :
117388 else
117389   acx_cv_header_stdint_kind="(mostly complete)"
117390 fi
117391
117392   echo "$as_me:$LINENO: checking for uint64_t" >&5
117393 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117394 if test "${ac_cv_type_uint64_t+set}" = set; then
117395   echo $ECHO_N "(cached) $ECHO_C" >&6
117396 else
117397   cat >conftest.$ac_ext <<_ACEOF
117398 /* confdefs.h.  */
117399 _ACEOF
117400 cat confdefs.h >>conftest.$ac_ext
117401 cat >>conftest.$ac_ext <<_ACEOF
117402 /* end confdefs.h.  */
117403 #include <sys/types.h>
117404 #include <$i>
117405
117406 int
117407 main ()
117408 {
117409 if ((uint64_t *) 0)
117410   return 0;
117411 if (sizeof (uint64_t))
117412   return 0;
117413   ;
117414   return 0;
117415 }
117416 _ACEOF
117417 rm -f conftest.$ac_objext
117418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117419   (eval $ac_compile) 2>conftest.er1
117420   ac_status=$?
117421   grep -v '^ *+' conftest.er1 >conftest.err
117422   rm -f conftest.er1
117423   cat conftest.err >&5
117424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117425   (exit $ac_status); } &&
117426          { ac_try='test -z "$ac_c_werror_flag"
117427                          || test ! -s conftest.err'
117428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117429   (eval $ac_try) 2>&5
117430   ac_status=$?
117431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117432   (exit $ac_status); }; } &&
117433          { ac_try='test -s conftest.$ac_objext'
117434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117435   (eval $ac_try) 2>&5
117436   ac_status=$?
117437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117438   (exit $ac_status); }; }; then
117439   ac_cv_type_uint64_t=yes
117440 else
117441   echo "$as_me: failed program was:" >&5
117442 sed 's/^/| /' conftest.$ac_ext >&5
117443
117444 ac_cv_type_uint64_t=no
117445 fi
117446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117447 fi
117448 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117449 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117450 if test $ac_cv_type_uint64_t = yes; then
117451   :
117452 else
117453   acx_cv_header_stdint_kind="(lacks uint64_t)"
117454 fi
117455
117456   break
117457 done
117458 if test "$acx_cv_header_stdint" = stddef.h; then
117459   acx_cv_header_stdint_kind="(lacks uintmax_t)"
117460   for i in stdint.h $inttype_headers; do
117461     unset ac_cv_type_uintptr_t
117462     unset ac_cv_type_uint32_t
117463     unset ac_cv_type_uint64_t
117464     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
117465     echo "$as_me:$LINENO: checking for uint32_t" >&5
117466 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
117467 if test "${ac_cv_type_uint32_t+set}" = set; then
117468   echo $ECHO_N "(cached) $ECHO_C" >&6
117469 else
117470   cat >conftest.$ac_ext <<_ACEOF
117471 /* confdefs.h.  */
117472 _ACEOF
117473 cat confdefs.h >>conftest.$ac_ext
117474 cat >>conftest.$ac_ext <<_ACEOF
117475 /* end confdefs.h.  */
117476 #include <sys/types.h>
117477 #include <$i>
117478
117479 int
117480 main ()
117481 {
117482 if ((uint32_t *) 0)
117483   return 0;
117484 if (sizeof (uint32_t))
117485   return 0;
117486   ;
117487   return 0;
117488 }
117489 _ACEOF
117490 rm -f conftest.$ac_objext
117491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117492   (eval $ac_compile) 2>conftest.er1
117493   ac_status=$?
117494   grep -v '^ *+' conftest.er1 >conftest.err
117495   rm -f conftest.er1
117496   cat conftest.err >&5
117497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117498   (exit $ac_status); } &&
117499          { ac_try='test -z "$ac_c_werror_flag"
117500                          || test ! -s conftest.err'
117501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117502   (eval $ac_try) 2>&5
117503   ac_status=$?
117504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117505   (exit $ac_status); }; } &&
117506          { ac_try='test -s conftest.$ac_objext'
117507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117508   (eval $ac_try) 2>&5
117509   ac_status=$?
117510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117511   (exit $ac_status); }; }; then
117512   ac_cv_type_uint32_t=yes
117513 else
117514   echo "$as_me: failed program was:" >&5
117515 sed 's/^/| /' conftest.$ac_ext >&5
117516
117517 ac_cv_type_uint32_t=no
117518 fi
117519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117520 fi
117521 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
117522 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
117523 if test $ac_cv_type_uint32_t = yes; then
117524   acx_cv_header_stdint=$i
117525 else
117526   continue
117527 fi
117528
117529     echo "$as_me:$LINENO: checking for uint64_t" >&5
117530 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117531 if test "${ac_cv_type_uint64_t+set}" = set; then
117532   echo $ECHO_N "(cached) $ECHO_C" >&6
117533 else
117534   cat >conftest.$ac_ext <<_ACEOF
117535 /* confdefs.h.  */
117536 _ACEOF
117537 cat confdefs.h >>conftest.$ac_ext
117538 cat >>conftest.$ac_ext <<_ACEOF
117539 /* end confdefs.h.  */
117540 #include <sys/types.h>
117541 #include <$i>
117542
117543 int
117544 main ()
117545 {
117546 if ((uint64_t *) 0)
117547   return 0;
117548 if (sizeof (uint64_t))
117549   return 0;
117550   ;
117551   return 0;
117552 }
117553 _ACEOF
117554 rm -f conftest.$ac_objext
117555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117556   (eval $ac_compile) 2>conftest.er1
117557   ac_status=$?
117558   grep -v '^ *+' conftest.er1 >conftest.err
117559   rm -f conftest.er1
117560   cat conftest.err >&5
117561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117562   (exit $ac_status); } &&
117563          { ac_try='test -z "$ac_c_werror_flag"
117564                          || test ! -s conftest.err'
117565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117566   (eval $ac_try) 2>&5
117567   ac_status=$?
117568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117569   (exit $ac_status); }; } &&
117570          { ac_try='test -s conftest.$ac_objext'
117571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117572   (eval $ac_try) 2>&5
117573   ac_status=$?
117574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117575   (exit $ac_status); }; }; then
117576   ac_cv_type_uint64_t=yes
117577 else
117578   echo "$as_me: failed program was:" >&5
117579 sed 's/^/| /' conftest.$ac_ext >&5
117580
117581 ac_cv_type_uint64_t=no
117582 fi
117583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117584 fi
117585 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117586 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117587
117588     echo "$as_me:$LINENO: checking for uintptr_t" >&5
117589 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117590 if test "${ac_cv_type_uintptr_t+set}" = set; then
117591   echo $ECHO_N "(cached) $ECHO_C" >&6
117592 else
117593   cat >conftest.$ac_ext <<_ACEOF
117594 /* confdefs.h.  */
117595 _ACEOF
117596 cat confdefs.h >>conftest.$ac_ext
117597 cat >>conftest.$ac_ext <<_ACEOF
117598 /* end confdefs.h.  */
117599 #include <sys/types.h>
117600 #include <$i>
117601
117602 int
117603 main ()
117604 {
117605 if ((uintptr_t *) 0)
117606   return 0;
117607 if (sizeof (uintptr_t))
117608   return 0;
117609   ;
117610   return 0;
117611 }
117612 _ACEOF
117613 rm -f conftest.$ac_objext
117614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117615   (eval $ac_compile) 2>conftest.er1
117616   ac_status=$?
117617   grep -v '^ *+' conftest.er1 >conftest.err
117618   rm -f conftest.er1
117619   cat conftest.err >&5
117620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117621   (exit $ac_status); } &&
117622          { ac_try='test -z "$ac_c_werror_flag"
117623                          || test ! -s conftest.err'
117624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117625   (eval $ac_try) 2>&5
117626   ac_status=$?
117627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117628   (exit $ac_status); }; } &&
117629          { ac_try='test -s conftest.$ac_objext'
117630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117631   (eval $ac_try) 2>&5
117632   ac_status=$?
117633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117634   (exit $ac_status); }; }; then
117635   ac_cv_type_uintptr_t=yes
117636 else
117637   echo "$as_me: failed program was:" >&5
117638 sed 's/^/| /' conftest.$ac_ext >&5
117639
117640 ac_cv_type_uintptr_t=no
117641 fi
117642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117643 fi
117644 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117645 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117646
117647     break
117648   done
117649 fi
117650 if test "$acx_cv_header_stdint" = stddef.h; then
117651   acx_cv_header_stdint_kind="(u_intXX_t style)"
117652   for i in sys/types.h $inttype_headers; do
117653     unset ac_cv_type_u_int32_t
117654     unset ac_cv_type_u_int64_t
117655     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
117656     echo "$as_me:$LINENO: checking for u_int32_t" >&5
117657 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
117658 if test "${ac_cv_type_u_int32_t+set}" = set; then
117659   echo $ECHO_N "(cached) $ECHO_C" >&6
117660 else
117661   cat >conftest.$ac_ext <<_ACEOF
117662 /* confdefs.h.  */
117663 _ACEOF
117664 cat confdefs.h >>conftest.$ac_ext
117665 cat >>conftest.$ac_ext <<_ACEOF
117666 /* end confdefs.h.  */
117667 #include <sys/types.h>
117668 #include <$i>
117669
117670 int
117671 main ()
117672 {
117673 if ((u_int32_t *) 0)
117674   return 0;
117675 if (sizeof (u_int32_t))
117676   return 0;
117677   ;
117678   return 0;
117679 }
117680 _ACEOF
117681 rm -f conftest.$ac_objext
117682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117683   (eval $ac_compile) 2>conftest.er1
117684   ac_status=$?
117685   grep -v '^ *+' conftest.er1 >conftest.err
117686   rm -f conftest.er1
117687   cat conftest.err >&5
117688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117689   (exit $ac_status); } &&
117690          { ac_try='test -z "$ac_c_werror_flag"
117691                          || test ! -s conftest.err'
117692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117693   (eval $ac_try) 2>&5
117694   ac_status=$?
117695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117696   (exit $ac_status); }; } &&
117697          { ac_try='test -s conftest.$ac_objext'
117698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117699   (eval $ac_try) 2>&5
117700   ac_status=$?
117701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117702   (exit $ac_status); }; }; then
117703   ac_cv_type_u_int32_t=yes
117704 else
117705   echo "$as_me: failed program was:" >&5
117706 sed 's/^/| /' conftest.$ac_ext >&5
117707
117708 ac_cv_type_u_int32_t=no
117709 fi
117710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117711 fi
117712 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
117713 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
117714 if test $ac_cv_type_u_int32_t = yes; then
117715   acx_cv_header_stdint=$i
117716 else
117717   continue
117718 fi
117719
117720     echo "$as_me:$LINENO: checking for u_int64_t" >&5
117721 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
117722 if test "${ac_cv_type_u_int64_t+set}" = set; then
117723   echo $ECHO_N "(cached) $ECHO_C" >&6
117724 else
117725   cat >conftest.$ac_ext <<_ACEOF
117726 /* confdefs.h.  */
117727 _ACEOF
117728 cat confdefs.h >>conftest.$ac_ext
117729 cat >>conftest.$ac_ext <<_ACEOF
117730 /* end confdefs.h.  */
117731 #include <sys/types.h>
117732 #include <$i>
117733
117734 int
117735 main ()
117736 {
117737 if ((u_int64_t *) 0)
117738   return 0;
117739 if (sizeof (u_int64_t))
117740   return 0;
117741   ;
117742   return 0;
117743 }
117744 _ACEOF
117745 rm -f conftest.$ac_objext
117746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117747   (eval $ac_compile) 2>conftest.er1
117748   ac_status=$?
117749   grep -v '^ *+' conftest.er1 >conftest.err
117750   rm -f conftest.er1
117751   cat conftest.err >&5
117752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117753   (exit $ac_status); } &&
117754          { ac_try='test -z "$ac_c_werror_flag"
117755                          || test ! -s conftest.err'
117756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117757   (eval $ac_try) 2>&5
117758   ac_status=$?
117759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117760   (exit $ac_status); }; } &&
117761          { ac_try='test -s conftest.$ac_objext'
117762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117763   (eval $ac_try) 2>&5
117764   ac_status=$?
117765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117766   (exit $ac_status); }; }; then
117767   ac_cv_type_u_int64_t=yes
117768 else
117769   echo "$as_me: failed program was:" >&5
117770 sed 's/^/| /' conftest.$ac_ext >&5
117771
117772 ac_cv_type_u_int64_t=no
117773 fi
117774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117775 fi
117776 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
117777 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
117778
117779     break
117780   done
117781 fi
117782 if test "$acx_cv_header_stdint" = stddef.h; then
117783   acx_cv_header_stdint_kind="(using manual detection)"
117784 fi
117785
117786 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
117787 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
117788 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
117789 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
117790 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
117791
117792 # ----------------- Summarize what we found so far
117793
117794 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
117795 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
117796
117797 case `$as_basename include/gstdint.h ||
117798 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
117799          Xinclude/gstdint.h : 'X\(//\)$' \| \
117800          Xinclude/gstdint.h : 'X\(/\)$' \| \
117801          .     : '\(.\)' 2>/dev/null ||
117802 echo X/include/gstdint.h |
117803     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117804           /^X\/\(\/\/\)$/{ s//\1/; q; }
117805           /^X\/\(\/\).*/{ s//\1/; q; }
117806           s/.*/./; q'` in
117807   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117808 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117809   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117810 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117811   *) ;;
117812 esac
117813
117814 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
117815 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
117816
117817 # ----------------- done included file, check C basic types --------
117818
117819 # Lacking an uintptr_t?  Test size of void *
117820 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
117821   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
117822 echo $ECHO_N "checking for void *... $ECHO_C" >&6
117823 if test "${ac_cv_type_void_p+set}" = set; then
117824   echo $ECHO_N "(cached) $ECHO_C" >&6
117825 else
117826   cat >conftest.$ac_ext <<_ACEOF
117827 /* confdefs.h.  */
117828 _ACEOF
117829 cat confdefs.h >>conftest.$ac_ext
117830 cat >>conftest.$ac_ext <<_ACEOF
117831 /* end confdefs.h.  */
117832 $ac_includes_default
117833 int
117834 main ()
117835 {
117836 if ((void * *) 0)
117837   return 0;
117838 if (sizeof (void *))
117839   return 0;
117840   ;
117841   return 0;
117842 }
117843 _ACEOF
117844 rm -f conftest.$ac_objext
117845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117846   (eval $ac_compile) 2>conftest.er1
117847   ac_status=$?
117848   grep -v '^ *+' conftest.er1 >conftest.err
117849   rm -f conftest.er1
117850   cat conftest.err >&5
117851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117852   (exit $ac_status); } &&
117853          { ac_try='test -z "$ac_c_werror_flag"
117854                          || test ! -s conftest.err'
117855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117856   (eval $ac_try) 2>&5
117857   ac_status=$?
117858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117859   (exit $ac_status); }; } &&
117860          { ac_try='test -s conftest.$ac_objext'
117861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117862   (eval $ac_try) 2>&5
117863   ac_status=$?
117864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117865   (exit $ac_status); }; }; then
117866   ac_cv_type_void_p=yes
117867 else
117868   echo "$as_me: failed program was:" >&5
117869 sed 's/^/| /' conftest.$ac_ext >&5
117870
117871 ac_cv_type_void_p=no
117872 fi
117873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117874 fi
117875 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
117876 echo "${ECHO_T}$ac_cv_type_void_p" >&6
117877
117878 echo "$as_me:$LINENO: checking size of void *" >&5
117879 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
117880 if test "${ac_cv_sizeof_void_p+set}" = set; then
117881   echo $ECHO_N "(cached) $ECHO_C" >&6
117882 else
117883   if test "$ac_cv_type_void_p" = yes; then
117884   # The cast to unsigned long works around a bug in the HP C Compiler
117885   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117886   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117887   # This bug is HP SR number 8606223364.
117888   if test "$cross_compiling" = yes; then
117889   # Depending upon the size, compute the lo and hi bounds.
117890 cat >conftest.$ac_ext <<_ACEOF
117891 /* confdefs.h.  */
117892 _ACEOF
117893 cat confdefs.h >>conftest.$ac_ext
117894 cat >>conftest.$ac_ext <<_ACEOF
117895 /* end confdefs.h.  */
117896 $ac_includes_default
117897 int
117898 main ()
117899 {
117900 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
117901 test_array [0] = 0
117902
117903   ;
117904   return 0;
117905 }
117906 _ACEOF
117907 rm -f conftest.$ac_objext
117908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117909   (eval $ac_compile) 2>conftest.er1
117910   ac_status=$?
117911   grep -v '^ *+' conftest.er1 >conftest.err
117912   rm -f conftest.er1
117913   cat conftest.err >&5
117914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117915   (exit $ac_status); } &&
117916          { ac_try='test -z "$ac_c_werror_flag"
117917                          || test ! -s conftest.err'
117918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117919   (eval $ac_try) 2>&5
117920   ac_status=$?
117921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117922   (exit $ac_status); }; } &&
117923          { ac_try='test -s conftest.$ac_objext'
117924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117925   (eval $ac_try) 2>&5
117926   ac_status=$?
117927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117928   (exit $ac_status); }; }; then
117929   ac_lo=0 ac_mid=0
117930   while :; do
117931     cat >conftest.$ac_ext <<_ACEOF
117932 /* confdefs.h.  */
117933 _ACEOF
117934 cat confdefs.h >>conftest.$ac_ext
117935 cat >>conftest.$ac_ext <<_ACEOF
117936 /* end confdefs.h.  */
117937 $ac_includes_default
117938 int
117939 main ()
117940 {
117941 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117942 test_array [0] = 0
117943
117944   ;
117945   return 0;
117946 }
117947 _ACEOF
117948 rm -f conftest.$ac_objext
117949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117950   (eval $ac_compile) 2>conftest.er1
117951   ac_status=$?
117952   grep -v '^ *+' conftest.er1 >conftest.err
117953   rm -f conftest.er1
117954   cat conftest.err >&5
117955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117956   (exit $ac_status); } &&
117957          { ac_try='test -z "$ac_c_werror_flag"
117958                          || test ! -s conftest.err'
117959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117960   (eval $ac_try) 2>&5
117961   ac_status=$?
117962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117963   (exit $ac_status); }; } &&
117964          { ac_try='test -s conftest.$ac_objext'
117965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117966   (eval $ac_try) 2>&5
117967   ac_status=$?
117968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117969   (exit $ac_status); }; }; then
117970   ac_hi=$ac_mid; break
117971 else
117972   echo "$as_me: failed program was:" >&5
117973 sed 's/^/| /' conftest.$ac_ext >&5
117974
117975 ac_lo=`expr $ac_mid + 1`
117976                     if test $ac_lo -le $ac_mid; then
117977                       ac_lo= ac_hi=
117978                       break
117979                     fi
117980                     ac_mid=`expr 2 '*' $ac_mid + 1`
117981 fi
117982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117983   done
117984 else
117985   echo "$as_me: failed program was:" >&5
117986 sed 's/^/| /' conftest.$ac_ext >&5
117987
117988 cat >conftest.$ac_ext <<_ACEOF
117989 /* confdefs.h.  */
117990 _ACEOF
117991 cat confdefs.h >>conftest.$ac_ext
117992 cat >>conftest.$ac_ext <<_ACEOF
117993 /* end confdefs.h.  */
117994 $ac_includes_default
117995 int
117996 main ()
117997 {
117998 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117999 test_array [0] = 0
118000
118001   ;
118002   return 0;
118003 }
118004 _ACEOF
118005 rm -f conftest.$ac_objext
118006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118007   (eval $ac_compile) 2>conftest.er1
118008   ac_status=$?
118009   grep -v '^ *+' conftest.er1 >conftest.err
118010   rm -f conftest.er1
118011   cat conftest.err >&5
118012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118013   (exit $ac_status); } &&
118014          { ac_try='test -z "$ac_c_werror_flag"
118015                          || test ! -s conftest.err'
118016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118017   (eval $ac_try) 2>&5
118018   ac_status=$?
118019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118020   (exit $ac_status); }; } &&
118021          { ac_try='test -s conftest.$ac_objext'
118022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118023   (eval $ac_try) 2>&5
118024   ac_status=$?
118025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118026   (exit $ac_status); }; }; then
118027   ac_hi=-1 ac_mid=-1
118028   while :; do
118029     cat >conftest.$ac_ext <<_ACEOF
118030 /* confdefs.h.  */
118031 _ACEOF
118032 cat confdefs.h >>conftest.$ac_ext
118033 cat >>conftest.$ac_ext <<_ACEOF
118034 /* end confdefs.h.  */
118035 $ac_includes_default
118036 int
118037 main ()
118038 {
118039 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
118040 test_array [0] = 0
118041
118042   ;
118043   return 0;
118044 }
118045 _ACEOF
118046 rm -f conftest.$ac_objext
118047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118048   (eval $ac_compile) 2>conftest.er1
118049   ac_status=$?
118050   grep -v '^ *+' conftest.er1 >conftest.err
118051   rm -f conftest.er1
118052   cat conftest.err >&5
118053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118054   (exit $ac_status); } &&
118055          { ac_try='test -z "$ac_c_werror_flag"
118056                          || test ! -s conftest.err'
118057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118058   (eval $ac_try) 2>&5
118059   ac_status=$?
118060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118061   (exit $ac_status); }; } &&
118062          { ac_try='test -s conftest.$ac_objext'
118063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118064   (eval $ac_try) 2>&5
118065   ac_status=$?
118066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118067   (exit $ac_status); }; }; then
118068   ac_lo=$ac_mid; break
118069 else
118070   echo "$as_me: failed program was:" >&5
118071 sed 's/^/| /' conftest.$ac_ext >&5
118072
118073 ac_hi=`expr '(' $ac_mid ')' - 1`
118074                        if test $ac_mid -le $ac_hi; then
118075                          ac_lo= ac_hi=
118076                          break
118077                        fi
118078                        ac_mid=`expr 2 '*' $ac_mid`
118079 fi
118080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118081   done
118082 else
118083   echo "$as_me: failed program was:" >&5
118084 sed 's/^/| /' conftest.$ac_ext >&5
118085
118086 ac_lo= ac_hi=
118087 fi
118088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118089 fi
118090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118091 # Binary search between lo and hi bounds.
118092 while test "x$ac_lo" != "x$ac_hi"; do
118093   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118094   cat >conftest.$ac_ext <<_ACEOF
118095 /* confdefs.h.  */
118096 _ACEOF
118097 cat confdefs.h >>conftest.$ac_ext
118098 cat >>conftest.$ac_ext <<_ACEOF
118099 /* end confdefs.h.  */
118100 $ac_includes_default
118101 int
118102 main ()
118103 {
118104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
118105 test_array [0] = 0
118106
118107   ;
118108   return 0;
118109 }
118110 _ACEOF
118111 rm -f conftest.$ac_objext
118112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118113   (eval $ac_compile) 2>conftest.er1
118114   ac_status=$?
118115   grep -v '^ *+' conftest.er1 >conftest.err
118116   rm -f conftest.er1
118117   cat conftest.err >&5
118118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118119   (exit $ac_status); } &&
118120          { ac_try='test -z "$ac_c_werror_flag"
118121                          || test ! -s conftest.err'
118122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118123   (eval $ac_try) 2>&5
118124   ac_status=$?
118125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118126   (exit $ac_status); }; } &&
118127          { ac_try='test -s conftest.$ac_objext'
118128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118129   (eval $ac_try) 2>&5
118130   ac_status=$?
118131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118132   (exit $ac_status); }; }; then
118133   ac_hi=$ac_mid
118134 else
118135   echo "$as_me: failed program was:" >&5
118136 sed 's/^/| /' conftest.$ac_ext >&5
118137
118138 ac_lo=`expr '(' $ac_mid ')' + 1`
118139 fi
118140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118141 done
118142 case $ac_lo in
118143 ?*) ac_cv_sizeof_void_p=$ac_lo;;
118144 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118145 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
118147 See \`config.log' for more details." >&5
118148 echo "$as_me: error: cannot compute sizeof (void *), 77
118149 See \`config.log' for more details." >&2;}
118150    { (exit 1); exit 1; }; }; } ;;
118151 esac
118152 else
118153   if test "$cross_compiling" = yes; then
118154   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118155 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118156 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118157 See \`config.log' for more details." >&5
118158 echo "$as_me: error: cannot run test program while cross compiling
118159 See \`config.log' for more details." >&2;}
118160    { (exit 1); exit 1; }; }; }
118161 else
118162   cat >conftest.$ac_ext <<_ACEOF
118163 /* confdefs.h.  */
118164 _ACEOF
118165 cat confdefs.h >>conftest.$ac_ext
118166 cat >>conftest.$ac_ext <<_ACEOF
118167 /* end confdefs.h.  */
118168 $ac_includes_default
118169 long longval () { return (long) (sizeof (void *)); }
118170 unsigned long ulongval () { return (long) (sizeof (void *)); }
118171 #include <stdio.h>
118172 #include <stdlib.h>
118173 int
118174 main ()
118175 {
118176
118177   FILE *f = fopen ("conftest.val", "w");
118178   if (! f)
118179     exit (1);
118180   if (((long) (sizeof (void *))) < 0)
118181     {
118182       long i = longval ();
118183       if (i != ((long) (sizeof (void *))))
118184         exit (1);
118185       fprintf (f, "%ld\n", i);
118186     }
118187   else
118188     {
118189       unsigned long i = ulongval ();
118190       if (i != ((long) (sizeof (void *))))
118191         exit (1);
118192       fprintf (f, "%lu\n", i);
118193     }
118194   exit (ferror (f) || fclose (f) != 0);
118195
118196   ;
118197   return 0;
118198 }
118199 _ACEOF
118200 rm -f conftest$ac_exeext
118201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118202   (eval $ac_link) 2>&5
118203   ac_status=$?
118204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118205   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118207   (eval $ac_try) 2>&5
118208   ac_status=$?
118209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118210   (exit $ac_status); }; }; then
118211   ac_cv_sizeof_void_p=`cat conftest.val`
118212 else
118213   echo "$as_me: program exited with status $ac_status" >&5
118214 echo "$as_me: failed program was:" >&5
118215 sed 's/^/| /' conftest.$ac_ext >&5
118216
118217 ( exit $ac_status )
118218 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118219 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
118221 See \`config.log' for more details." >&5
118222 echo "$as_me: error: cannot compute sizeof (void *), 77
118223 See \`config.log' for more details." >&2;}
118224    { (exit 1); exit 1; }; }; }
118225 fi
118226 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118227 fi
118228 fi
118229 rm -f conftest.val
118230 else
118231   ac_cv_sizeof_void_p=0
118232 fi
118233 fi
118234 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
118235 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
118236 cat >>confdefs.h <<_ACEOF
118237 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
118238 _ACEOF
118239
118240  ;;
118241 esac
118242
118243 # Lacking an uint64_t?  Test size of long
118244 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
118245   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
118246 echo $ECHO_N "checking for long... $ECHO_C" >&6
118247 if test "${ac_cv_type_long+set}" = set; then
118248   echo $ECHO_N "(cached) $ECHO_C" >&6
118249 else
118250   cat >conftest.$ac_ext <<_ACEOF
118251 /* confdefs.h.  */
118252 _ACEOF
118253 cat confdefs.h >>conftest.$ac_ext
118254 cat >>conftest.$ac_ext <<_ACEOF
118255 /* end confdefs.h.  */
118256 $ac_includes_default
118257 int
118258 main ()
118259 {
118260 if ((long *) 0)
118261   return 0;
118262 if (sizeof (long))
118263   return 0;
118264   ;
118265   return 0;
118266 }
118267 _ACEOF
118268 rm -f conftest.$ac_objext
118269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118270   (eval $ac_compile) 2>conftest.er1
118271   ac_status=$?
118272   grep -v '^ *+' conftest.er1 >conftest.err
118273   rm -f conftest.er1
118274   cat conftest.err >&5
118275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118276   (exit $ac_status); } &&
118277          { ac_try='test -z "$ac_c_werror_flag"
118278                          || test ! -s conftest.err'
118279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118280   (eval $ac_try) 2>&5
118281   ac_status=$?
118282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118283   (exit $ac_status); }; } &&
118284          { ac_try='test -s conftest.$ac_objext'
118285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118286   (eval $ac_try) 2>&5
118287   ac_status=$?
118288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118289   (exit $ac_status); }; }; then
118290   ac_cv_type_long=yes
118291 else
118292   echo "$as_me: failed program was:" >&5
118293 sed 's/^/| /' conftest.$ac_ext >&5
118294
118295 ac_cv_type_long=no
118296 fi
118297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118298 fi
118299 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
118300 echo "${ECHO_T}$ac_cv_type_long" >&6
118301
118302 echo "$as_me:$LINENO: checking size of long" >&5
118303 echo $ECHO_N "checking size of long... $ECHO_C" >&6
118304 if test "${ac_cv_sizeof_long+set}" = set; then
118305   echo $ECHO_N "(cached) $ECHO_C" >&6
118306 else
118307   if test "$ac_cv_type_long" = yes; then
118308   # The cast to unsigned long works around a bug in the HP C Compiler
118309   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118310   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118311   # This bug is HP SR number 8606223364.
118312   if test "$cross_compiling" = yes; then
118313   # Depending upon the size, compute the lo and hi bounds.
118314 cat >conftest.$ac_ext <<_ACEOF
118315 /* confdefs.h.  */
118316 _ACEOF
118317 cat confdefs.h >>conftest.$ac_ext
118318 cat >>conftest.$ac_ext <<_ACEOF
118319 /* end confdefs.h.  */
118320 $ac_includes_default
118321 int
118322 main ()
118323 {
118324 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
118325 test_array [0] = 0
118326
118327   ;
118328   return 0;
118329 }
118330 _ACEOF
118331 rm -f conftest.$ac_objext
118332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118333   (eval $ac_compile) 2>conftest.er1
118334   ac_status=$?
118335   grep -v '^ *+' conftest.er1 >conftest.err
118336   rm -f conftest.er1
118337   cat conftest.err >&5
118338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118339   (exit $ac_status); } &&
118340          { ac_try='test -z "$ac_c_werror_flag"
118341                          || test ! -s conftest.err'
118342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118343   (eval $ac_try) 2>&5
118344   ac_status=$?
118345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118346   (exit $ac_status); }; } &&
118347          { ac_try='test -s conftest.$ac_objext'
118348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118349   (eval $ac_try) 2>&5
118350   ac_status=$?
118351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118352   (exit $ac_status); }; }; then
118353   ac_lo=0 ac_mid=0
118354   while :; do
118355     cat >conftest.$ac_ext <<_ACEOF
118356 /* confdefs.h.  */
118357 _ACEOF
118358 cat confdefs.h >>conftest.$ac_ext
118359 cat >>conftest.$ac_ext <<_ACEOF
118360 /* end confdefs.h.  */
118361 $ac_includes_default
118362 int
118363 main ()
118364 {
118365 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118366 test_array [0] = 0
118367
118368   ;
118369   return 0;
118370 }
118371 _ACEOF
118372 rm -f conftest.$ac_objext
118373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118374   (eval $ac_compile) 2>conftest.er1
118375   ac_status=$?
118376   grep -v '^ *+' conftest.er1 >conftest.err
118377   rm -f conftest.er1
118378   cat conftest.err >&5
118379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118380   (exit $ac_status); } &&
118381          { ac_try='test -z "$ac_c_werror_flag"
118382                          || test ! -s conftest.err'
118383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118384   (eval $ac_try) 2>&5
118385   ac_status=$?
118386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118387   (exit $ac_status); }; } &&
118388          { ac_try='test -s conftest.$ac_objext'
118389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118390   (eval $ac_try) 2>&5
118391   ac_status=$?
118392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118393   (exit $ac_status); }; }; then
118394   ac_hi=$ac_mid; break
118395 else
118396   echo "$as_me: failed program was:" >&5
118397 sed 's/^/| /' conftest.$ac_ext >&5
118398
118399 ac_lo=`expr $ac_mid + 1`
118400                     if test $ac_lo -le $ac_mid; then
118401                       ac_lo= ac_hi=
118402                       break
118403                     fi
118404                     ac_mid=`expr 2 '*' $ac_mid + 1`
118405 fi
118406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118407   done
118408 else
118409   echo "$as_me: failed program was:" >&5
118410 sed 's/^/| /' conftest.$ac_ext >&5
118411
118412 cat >conftest.$ac_ext <<_ACEOF
118413 /* confdefs.h.  */
118414 _ACEOF
118415 cat confdefs.h >>conftest.$ac_ext
118416 cat >>conftest.$ac_ext <<_ACEOF
118417 /* end confdefs.h.  */
118418 $ac_includes_default
118419 int
118420 main ()
118421 {
118422 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
118423 test_array [0] = 0
118424
118425   ;
118426   return 0;
118427 }
118428 _ACEOF
118429 rm -f conftest.$ac_objext
118430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118431   (eval $ac_compile) 2>conftest.er1
118432   ac_status=$?
118433   grep -v '^ *+' conftest.er1 >conftest.err
118434   rm -f conftest.er1
118435   cat conftest.err >&5
118436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118437   (exit $ac_status); } &&
118438          { ac_try='test -z "$ac_c_werror_flag"
118439                          || test ! -s conftest.err'
118440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118441   (eval $ac_try) 2>&5
118442   ac_status=$?
118443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118444   (exit $ac_status); }; } &&
118445          { ac_try='test -s conftest.$ac_objext'
118446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118447   (eval $ac_try) 2>&5
118448   ac_status=$?
118449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118450   (exit $ac_status); }; }; then
118451   ac_hi=-1 ac_mid=-1
118452   while :; do
118453     cat >conftest.$ac_ext <<_ACEOF
118454 /* confdefs.h.  */
118455 _ACEOF
118456 cat confdefs.h >>conftest.$ac_ext
118457 cat >>conftest.$ac_ext <<_ACEOF
118458 /* end confdefs.h.  */
118459 $ac_includes_default
118460 int
118461 main ()
118462 {
118463 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
118464 test_array [0] = 0
118465
118466   ;
118467   return 0;
118468 }
118469 _ACEOF
118470 rm -f conftest.$ac_objext
118471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118472   (eval $ac_compile) 2>conftest.er1
118473   ac_status=$?
118474   grep -v '^ *+' conftest.er1 >conftest.err
118475   rm -f conftest.er1
118476   cat conftest.err >&5
118477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118478   (exit $ac_status); } &&
118479          { ac_try='test -z "$ac_c_werror_flag"
118480                          || test ! -s conftest.err'
118481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118482   (eval $ac_try) 2>&5
118483   ac_status=$?
118484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118485   (exit $ac_status); }; } &&
118486          { ac_try='test -s conftest.$ac_objext'
118487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118488   (eval $ac_try) 2>&5
118489   ac_status=$?
118490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118491   (exit $ac_status); }; }; then
118492   ac_lo=$ac_mid; break
118493 else
118494   echo "$as_me: failed program was:" >&5
118495 sed 's/^/| /' conftest.$ac_ext >&5
118496
118497 ac_hi=`expr '(' $ac_mid ')' - 1`
118498                        if test $ac_mid -le $ac_hi; then
118499                          ac_lo= ac_hi=
118500                          break
118501                        fi
118502                        ac_mid=`expr 2 '*' $ac_mid`
118503 fi
118504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118505   done
118506 else
118507   echo "$as_me: failed program was:" >&5
118508 sed 's/^/| /' conftest.$ac_ext >&5
118509
118510 ac_lo= ac_hi=
118511 fi
118512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118513 fi
118514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118515 # Binary search between lo and hi bounds.
118516 while test "x$ac_lo" != "x$ac_hi"; do
118517   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118518   cat >conftest.$ac_ext <<_ACEOF
118519 /* confdefs.h.  */
118520 _ACEOF
118521 cat confdefs.h >>conftest.$ac_ext
118522 cat >>conftest.$ac_ext <<_ACEOF
118523 /* end confdefs.h.  */
118524 $ac_includes_default
118525 int
118526 main ()
118527 {
118528 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118529 test_array [0] = 0
118530
118531   ;
118532   return 0;
118533 }
118534 _ACEOF
118535 rm -f conftest.$ac_objext
118536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118537   (eval $ac_compile) 2>conftest.er1
118538   ac_status=$?
118539   grep -v '^ *+' conftest.er1 >conftest.err
118540   rm -f conftest.er1
118541   cat conftest.err >&5
118542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118543   (exit $ac_status); } &&
118544          { ac_try='test -z "$ac_c_werror_flag"
118545                          || test ! -s conftest.err'
118546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118547   (eval $ac_try) 2>&5
118548   ac_status=$?
118549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118550   (exit $ac_status); }; } &&
118551          { ac_try='test -s conftest.$ac_objext'
118552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118553   (eval $ac_try) 2>&5
118554   ac_status=$?
118555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118556   (exit $ac_status); }; }; then
118557   ac_hi=$ac_mid
118558 else
118559   echo "$as_me: failed program was:" >&5
118560 sed 's/^/| /' conftest.$ac_ext >&5
118561
118562 ac_lo=`expr '(' $ac_mid ')' + 1`
118563 fi
118564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118565 done
118566 case $ac_lo in
118567 ?*) ac_cv_sizeof_long=$ac_lo;;
118568 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118569 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118571 See \`config.log' for more details." >&5
118572 echo "$as_me: error: cannot compute sizeof (long), 77
118573 See \`config.log' for more details." >&2;}
118574    { (exit 1); exit 1; }; }; } ;;
118575 esac
118576 else
118577   if test "$cross_compiling" = yes; then
118578   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118579 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118580 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118581 See \`config.log' for more details." >&5
118582 echo "$as_me: error: cannot run test program while cross compiling
118583 See \`config.log' for more details." >&2;}
118584    { (exit 1); exit 1; }; }; }
118585 else
118586   cat >conftest.$ac_ext <<_ACEOF
118587 /* confdefs.h.  */
118588 _ACEOF
118589 cat confdefs.h >>conftest.$ac_ext
118590 cat >>conftest.$ac_ext <<_ACEOF
118591 /* end confdefs.h.  */
118592 $ac_includes_default
118593 long longval () { return (long) (sizeof (long)); }
118594 unsigned long ulongval () { return (long) (sizeof (long)); }
118595 #include <stdio.h>
118596 #include <stdlib.h>
118597 int
118598 main ()
118599 {
118600
118601   FILE *f = fopen ("conftest.val", "w");
118602   if (! f)
118603     exit (1);
118604   if (((long) (sizeof (long))) < 0)
118605     {
118606       long i = longval ();
118607       if (i != ((long) (sizeof (long))))
118608         exit (1);
118609       fprintf (f, "%ld\n", i);
118610     }
118611   else
118612     {
118613       unsigned long i = ulongval ();
118614       if (i != ((long) (sizeof (long))))
118615         exit (1);
118616       fprintf (f, "%lu\n", i);
118617     }
118618   exit (ferror (f) || fclose (f) != 0);
118619
118620   ;
118621   return 0;
118622 }
118623 _ACEOF
118624 rm -f conftest$ac_exeext
118625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118626   (eval $ac_link) 2>&5
118627   ac_status=$?
118628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118629   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118631   (eval $ac_try) 2>&5
118632   ac_status=$?
118633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118634   (exit $ac_status); }; }; then
118635   ac_cv_sizeof_long=`cat conftest.val`
118636 else
118637   echo "$as_me: program exited with status $ac_status" >&5
118638 echo "$as_me: failed program was:" >&5
118639 sed 's/^/| /' conftest.$ac_ext >&5
118640
118641 ( exit $ac_status )
118642 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118643 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118645 See \`config.log' for more details." >&5
118646 echo "$as_me: error: cannot compute sizeof (long), 77
118647 See \`config.log' for more details." >&2;}
118648    { (exit 1); exit 1; }; }; }
118649 fi
118650 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118651 fi
118652 fi
118653 rm -f conftest.val
118654 else
118655   ac_cv_sizeof_long=0
118656 fi
118657 fi
118658 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
118659 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
118660 cat >>confdefs.h <<_ACEOF
118661 #define SIZEOF_LONG $ac_cv_sizeof_long
118662 _ACEOF
118663
118664  ;;
118665 esac
118666
118667 if test $acx_cv_header_stdint = stddef.h; then
118668   # Lacking a good header?  Test size of everything and deduce all types.
118669   echo "$as_me:$LINENO: checking for int" >&5
118670 echo $ECHO_N "checking for int... $ECHO_C" >&6
118671 if test "${ac_cv_type_int+set}" = set; then
118672   echo $ECHO_N "(cached) $ECHO_C" >&6
118673 else
118674   cat >conftest.$ac_ext <<_ACEOF
118675 /* confdefs.h.  */
118676 _ACEOF
118677 cat confdefs.h >>conftest.$ac_ext
118678 cat >>conftest.$ac_ext <<_ACEOF
118679 /* end confdefs.h.  */
118680 $ac_includes_default
118681 int
118682 main ()
118683 {
118684 if ((int *) 0)
118685   return 0;
118686 if (sizeof (int))
118687   return 0;
118688   ;
118689   return 0;
118690 }
118691 _ACEOF
118692 rm -f conftest.$ac_objext
118693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118694   (eval $ac_compile) 2>conftest.er1
118695   ac_status=$?
118696   grep -v '^ *+' conftest.er1 >conftest.err
118697   rm -f conftest.er1
118698   cat conftest.err >&5
118699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118700   (exit $ac_status); } &&
118701          { ac_try='test -z "$ac_c_werror_flag"
118702                          || test ! -s conftest.err'
118703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118704   (eval $ac_try) 2>&5
118705   ac_status=$?
118706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118707   (exit $ac_status); }; } &&
118708          { ac_try='test -s conftest.$ac_objext'
118709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118710   (eval $ac_try) 2>&5
118711   ac_status=$?
118712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118713   (exit $ac_status); }; }; then
118714   ac_cv_type_int=yes
118715 else
118716   echo "$as_me: failed program was:" >&5
118717 sed 's/^/| /' conftest.$ac_ext >&5
118718
118719 ac_cv_type_int=no
118720 fi
118721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118722 fi
118723 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
118724 echo "${ECHO_T}$ac_cv_type_int" >&6
118725
118726 echo "$as_me:$LINENO: checking size of int" >&5
118727 echo $ECHO_N "checking size of int... $ECHO_C" >&6
118728 if test "${ac_cv_sizeof_int+set}" = set; then
118729   echo $ECHO_N "(cached) $ECHO_C" >&6
118730 else
118731   if test "$ac_cv_type_int" = yes; then
118732   # The cast to unsigned long works around a bug in the HP C Compiler
118733   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118734   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118735   # This bug is HP SR number 8606223364.
118736   if test "$cross_compiling" = yes; then
118737   # Depending upon the size, compute the lo and hi bounds.
118738 cat >conftest.$ac_ext <<_ACEOF
118739 /* confdefs.h.  */
118740 _ACEOF
118741 cat confdefs.h >>conftest.$ac_ext
118742 cat >>conftest.$ac_ext <<_ACEOF
118743 /* end confdefs.h.  */
118744 $ac_includes_default
118745 int
118746 main ()
118747 {
118748 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
118749 test_array [0] = 0
118750
118751   ;
118752   return 0;
118753 }
118754 _ACEOF
118755 rm -f conftest.$ac_objext
118756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118757   (eval $ac_compile) 2>conftest.er1
118758   ac_status=$?
118759   grep -v '^ *+' conftest.er1 >conftest.err
118760   rm -f conftest.er1
118761   cat conftest.err >&5
118762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118763   (exit $ac_status); } &&
118764          { ac_try='test -z "$ac_c_werror_flag"
118765                          || test ! -s conftest.err'
118766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118767   (eval $ac_try) 2>&5
118768   ac_status=$?
118769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118770   (exit $ac_status); }; } &&
118771          { ac_try='test -s conftest.$ac_objext'
118772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118773   (eval $ac_try) 2>&5
118774   ac_status=$?
118775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118776   (exit $ac_status); }; }; then
118777   ac_lo=0 ac_mid=0
118778   while :; do
118779     cat >conftest.$ac_ext <<_ACEOF
118780 /* confdefs.h.  */
118781 _ACEOF
118782 cat confdefs.h >>conftest.$ac_ext
118783 cat >>conftest.$ac_ext <<_ACEOF
118784 /* end confdefs.h.  */
118785 $ac_includes_default
118786 int
118787 main ()
118788 {
118789 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118790 test_array [0] = 0
118791
118792   ;
118793   return 0;
118794 }
118795 _ACEOF
118796 rm -f conftest.$ac_objext
118797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118798   (eval $ac_compile) 2>conftest.er1
118799   ac_status=$?
118800   grep -v '^ *+' conftest.er1 >conftest.err
118801   rm -f conftest.er1
118802   cat conftest.err >&5
118803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118804   (exit $ac_status); } &&
118805          { ac_try='test -z "$ac_c_werror_flag"
118806                          || test ! -s conftest.err'
118807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118808   (eval $ac_try) 2>&5
118809   ac_status=$?
118810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118811   (exit $ac_status); }; } &&
118812          { ac_try='test -s conftest.$ac_objext'
118813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118814   (eval $ac_try) 2>&5
118815   ac_status=$?
118816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118817   (exit $ac_status); }; }; then
118818   ac_hi=$ac_mid; break
118819 else
118820   echo "$as_me: failed program was:" >&5
118821 sed 's/^/| /' conftest.$ac_ext >&5
118822
118823 ac_lo=`expr $ac_mid + 1`
118824                     if test $ac_lo -le $ac_mid; then
118825                       ac_lo= ac_hi=
118826                       break
118827                     fi
118828                     ac_mid=`expr 2 '*' $ac_mid + 1`
118829 fi
118830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118831   done
118832 else
118833   echo "$as_me: failed program was:" >&5
118834 sed 's/^/| /' conftest.$ac_ext >&5
118835
118836 cat >conftest.$ac_ext <<_ACEOF
118837 /* confdefs.h.  */
118838 _ACEOF
118839 cat confdefs.h >>conftest.$ac_ext
118840 cat >>conftest.$ac_ext <<_ACEOF
118841 /* end confdefs.h.  */
118842 $ac_includes_default
118843 int
118844 main ()
118845 {
118846 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
118847 test_array [0] = 0
118848
118849   ;
118850   return 0;
118851 }
118852 _ACEOF
118853 rm -f conftest.$ac_objext
118854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118855   (eval $ac_compile) 2>conftest.er1
118856   ac_status=$?
118857   grep -v '^ *+' conftest.er1 >conftest.err
118858   rm -f conftest.er1
118859   cat conftest.err >&5
118860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118861   (exit $ac_status); } &&
118862          { ac_try='test -z "$ac_c_werror_flag"
118863                          || test ! -s conftest.err'
118864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118865   (eval $ac_try) 2>&5
118866   ac_status=$?
118867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118868   (exit $ac_status); }; } &&
118869          { ac_try='test -s conftest.$ac_objext'
118870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118871   (eval $ac_try) 2>&5
118872   ac_status=$?
118873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118874   (exit $ac_status); }; }; then
118875   ac_hi=-1 ac_mid=-1
118876   while :; do
118877     cat >conftest.$ac_ext <<_ACEOF
118878 /* confdefs.h.  */
118879 _ACEOF
118880 cat confdefs.h >>conftest.$ac_ext
118881 cat >>conftest.$ac_ext <<_ACEOF
118882 /* end confdefs.h.  */
118883 $ac_includes_default
118884 int
118885 main ()
118886 {
118887 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
118888 test_array [0] = 0
118889
118890   ;
118891   return 0;
118892 }
118893 _ACEOF
118894 rm -f conftest.$ac_objext
118895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118896   (eval $ac_compile) 2>conftest.er1
118897   ac_status=$?
118898   grep -v '^ *+' conftest.er1 >conftest.err
118899   rm -f conftest.er1
118900   cat conftest.err >&5
118901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118902   (exit $ac_status); } &&
118903          { ac_try='test -z "$ac_c_werror_flag"
118904                          || test ! -s conftest.err'
118905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118906   (eval $ac_try) 2>&5
118907   ac_status=$?
118908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118909   (exit $ac_status); }; } &&
118910          { ac_try='test -s conftest.$ac_objext'
118911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118912   (eval $ac_try) 2>&5
118913   ac_status=$?
118914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118915   (exit $ac_status); }; }; then
118916   ac_lo=$ac_mid; break
118917 else
118918   echo "$as_me: failed program was:" >&5
118919 sed 's/^/| /' conftest.$ac_ext >&5
118920
118921 ac_hi=`expr '(' $ac_mid ')' - 1`
118922                        if test $ac_mid -le $ac_hi; then
118923                          ac_lo= ac_hi=
118924                          break
118925                        fi
118926                        ac_mid=`expr 2 '*' $ac_mid`
118927 fi
118928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118929   done
118930 else
118931   echo "$as_me: failed program was:" >&5
118932 sed 's/^/| /' conftest.$ac_ext >&5
118933
118934 ac_lo= ac_hi=
118935 fi
118936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118937 fi
118938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118939 # Binary search between lo and hi bounds.
118940 while test "x$ac_lo" != "x$ac_hi"; do
118941   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118942   cat >conftest.$ac_ext <<_ACEOF
118943 /* confdefs.h.  */
118944 _ACEOF
118945 cat confdefs.h >>conftest.$ac_ext
118946 cat >>conftest.$ac_ext <<_ACEOF
118947 /* end confdefs.h.  */
118948 $ac_includes_default
118949 int
118950 main ()
118951 {
118952 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118953 test_array [0] = 0
118954
118955   ;
118956   return 0;
118957 }
118958 _ACEOF
118959 rm -f conftest.$ac_objext
118960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118961   (eval $ac_compile) 2>conftest.er1
118962   ac_status=$?
118963   grep -v '^ *+' conftest.er1 >conftest.err
118964   rm -f conftest.er1
118965   cat conftest.err >&5
118966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118967   (exit $ac_status); } &&
118968          { ac_try='test -z "$ac_c_werror_flag"
118969                          || test ! -s conftest.err'
118970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118971   (eval $ac_try) 2>&5
118972   ac_status=$?
118973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118974   (exit $ac_status); }; } &&
118975          { ac_try='test -s conftest.$ac_objext'
118976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118977   (eval $ac_try) 2>&5
118978   ac_status=$?
118979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
118980   (exit $ac_status); }; }; then
118981   ac_hi=$ac_mid
118982 else
118983   echo "$as_me: failed program was:" >&5
118984 sed 's/^/| /' conftest.$ac_ext >&5
118985
118986 ac_lo=`expr '(' $ac_mid ')' + 1`
118987 fi
118988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118989 done
118990 case $ac_lo in
118991 ?*) ac_cv_sizeof_int=$ac_lo;;
118992 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118993 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118995 See \`config.log' for more details." >&5
118996 echo "$as_me: error: cannot compute sizeof (int), 77
118997 See \`config.log' for more details." >&2;}
118998    { (exit 1); exit 1; }; }; } ;;
118999 esac
119000 else
119001   if test "$cross_compiling" = yes; then
119002   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119003 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119005 See \`config.log' for more details." >&5
119006 echo "$as_me: error: cannot run test program while cross compiling
119007 See \`config.log' for more details." >&2;}
119008    { (exit 1); exit 1; }; }; }
119009 else
119010   cat >conftest.$ac_ext <<_ACEOF
119011 /* confdefs.h.  */
119012 _ACEOF
119013 cat confdefs.h >>conftest.$ac_ext
119014 cat >>conftest.$ac_ext <<_ACEOF
119015 /* end confdefs.h.  */
119016 $ac_includes_default
119017 long longval () { return (long) (sizeof (int)); }
119018 unsigned long ulongval () { return (long) (sizeof (int)); }
119019 #include <stdio.h>
119020 #include <stdlib.h>
119021 int
119022 main ()
119023 {
119024
119025   FILE *f = fopen ("conftest.val", "w");
119026   if (! f)
119027     exit (1);
119028   if (((long) (sizeof (int))) < 0)
119029     {
119030       long i = longval ();
119031       if (i != ((long) (sizeof (int))))
119032         exit (1);
119033       fprintf (f, "%ld\n", i);
119034     }
119035   else
119036     {
119037       unsigned long i = ulongval ();
119038       if (i != ((long) (sizeof (int))))
119039         exit (1);
119040       fprintf (f, "%lu\n", i);
119041     }
119042   exit (ferror (f) || fclose (f) != 0);
119043
119044   ;
119045   return 0;
119046 }
119047 _ACEOF
119048 rm -f conftest$ac_exeext
119049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119050   (eval $ac_link) 2>&5
119051   ac_status=$?
119052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119053   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119055   (eval $ac_try) 2>&5
119056   ac_status=$?
119057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119058   (exit $ac_status); }; }; then
119059   ac_cv_sizeof_int=`cat conftest.val`
119060 else
119061   echo "$as_me: program exited with status $ac_status" >&5
119062 echo "$as_me: failed program was:" >&5
119063 sed 's/^/| /' conftest.$ac_ext >&5
119064
119065 ( exit $ac_status )
119066 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119067 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119068 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
119069 See \`config.log' for more details." >&5
119070 echo "$as_me: error: cannot compute sizeof (int), 77
119071 See \`config.log' for more details." >&2;}
119072    { (exit 1); exit 1; }; }; }
119073 fi
119074 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119075 fi
119076 fi
119077 rm -f conftest.val
119078 else
119079   ac_cv_sizeof_int=0
119080 fi
119081 fi
119082 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
119083 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
119084 cat >>confdefs.h <<_ACEOF
119085 #define SIZEOF_INT $ac_cv_sizeof_int
119086 _ACEOF
119087
119088
119089   echo "$as_me:$LINENO: checking for short" >&5
119090 echo $ECHO_N "checking for short... $ECHO_C" >&6
119091 if test "${ac_cv_type_short+set}" = set; then
119092   echo $ECHO_N "(cached) $ECHO_C" >&6
119093 else
119094   cat >conftest.$ac_ext <<_ACEOF
119095 /* confdefs.h.  */
119096 _ACEOF
119097 cat confdefs.h >>conftest.$ac_ext
119098 cat >>conftest.$ac_ext <<_ACEOF
119099 /* end confdefs.h.  */
119100 $ac_includes_default
119101 int
119102 main ()
119103 {
119104 if ((short *) 0)
119105   return 0;
119106 if (sizeof (short))
119107   return 0;
119108   ;
119109   return 0;
119110 }
119111 _ACEOF
119112 rm -f conftest.$ac_objext
119113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119114   (eval $ac_compile) 2>conftest.er1
119115   ac_status=$?
119116   grep -v '^ *+' conftest.er1 >conftest.err
119117   rm -f conftest.er1
119118   cat conftest.err >&5
119119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119120   (exit $ac_status); } &&
119121          { ac_try='test -z "$ac_c_werror_flag"
119122                          || test ! -s conftest.err'
119123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119124   (eval $ac_try) 2>&5
119125   ac_status=$?
119126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119127   (exit $ac_status); }; } &&
119128          { ac_try='test -s conftest.$ac_objext'
119129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119130   (eval $ac_try) 2>&5
119131   ac_status=$?
119132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119133   (exit $ac_status); }; }; then
119134   ac_cv_type_short=yes
119135 else
119136   echo "$as_me: failed program was:" >&5
119137 sed 's/^/| /' conftest.$ac_ext >&5
119138
119139 ac_cv_type_short=no
119140 fi
119141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119142 fi
119143 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
119144 echo "${ECHO_T}$ac_cv_type_short" >&6
119145
119146 echo "$as_me:$LINENO: checking size of short" >&5
119147 echo $ECHO_N "checking size of short... $ECHO_C" >&6
119148 if test "${ac_cv_sizeof_short+set}" = set; then
119149   echo $ECHO_N "(cached) $ECHO_C" >&6
119150 else
119151   if test "$ac_cv_type_short" = yes; then
119152   # The cast to unsigned long works around a bug in the HP C Compiler
119153   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119154   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119155   # This bug is HP SR number 8606223364.
119156   if test "$cross_compiling" = yes; then
119157   # Depending upon the size, compute the lo and hi bounds.
119158 cat >conftest.$ac_ext <<_ACEOF
119159 /* confdefs.h.  */
119160 _ACEOF
119161 cat confdefs.h >>conftest.$ac_ext
119162 cat >>conftest.$ac_ext <<_ACEOF
119163 /* end confdefs.h.  */
119164 $ac_includes_default
119165 int
119166 main ()
119167 {
119168 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
119169 test_array [0] = 0
119170
119171   ;
119172   return 0;
119173 }
119174 _ACEOF
119175 rm -f conftest.$ac_objext
119176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119177   (eval $ac_compile) 2>conftest.er1
119178   ac_status=$?
119179   grep -v '^ *+' conftest.er1 >conftest.err
119180   rm -f conftest.er1
119181   cat conftest.err >&5
119182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119183   (exit $ac_status); } &&
119184          { ac_try='test -z "$ac_c_werror_flag"
119185                          || test ! -s conftest.err'
119186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119187   (eval $ac_try) 2>&5
119188   ac_status=$?
119189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119190   (exit $ac_status); }; } &&
119191          { ac_try='test -s conftest.$ac_objext'
119192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119193   (eval $ac_try) 2>&5
119194   ac_status=$?
119195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119196   (exit $ac_status); }; }; then
119197   ac_lo=0 ac_mid=0
119198   while :; do
119199     cat >conftest.$ac_ext <<_ACEOF
119200 /* confdefs.h.  */
119201 _ACEOF
119202 cat confdefs.h >>conftest.$ac_ext
119203 cat >>conftest.$ac_ext <<_ACEOF
119204 /* end confdefs.h.  */
119205 $ac_includes_default
119206 int
119207 main ()
119208 {
119209 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119210 test_array [0] = 0
119211
119212   ;
119213   return 0;
119214 }
119215 _ACEOF
119216 rm -f conftest.$ac_objext
119217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119218   (eval $ac_compile) 2>conftest.er1
119219   ac_status=$?
119220   grep -v '^ *+' conftest.er1 >conftest.err
119221   rm -f conftest.er1
119222   cat conftest.err >&5
119223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119224   (exit $ac_status); } &&
119225          { ac_try='test -z "$ac_c_werror_flag"
119226                          || test ! -s conftest.err'
119227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119228   (eval $ac_try) 2>&5
119229   ac_status=$?
119230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119231   (exit $ac_status); }; } &&
119232          { ac_try='test -s conftest.$ac_objext'
119233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119234   (eval $ac_try) 2>&5
119235   ac_status=$?
119236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119237   (exit $ac_status); }; }; then
119238   ac_hi=$ac_mid; break
119239 else
119240   echo "$as_me: failed program was:" >&5
119241 sed 's/^/| /' conftest.$ac_ext >&5
119242
119243 ac_lo=`expr $ac_mid + 1`
119244                     if test $ac_lo -le $ac_mid; then
119245                       ac_lo= ac_hi=
119246                       break
119247                     fi
119248                     ac_mid=`expr 2 '*' $ac_mid + 1`
119249 fi
119250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119251   done
119252 else
119253   echo "$as_me: failed program was:" >&5
119254 sed 's/^/| /' conftest.$ac_ext >&5
119255
119256 cat >conftest.$ac_ext <<_ACEOF
119257 /* confdefs.h.  */
119258 _ACEOF
119259 cat confdefs.h >>conftest.$ac_ext
119260 cat >>conftest.$ac_ext <<_ACEOF
119261 /* end confdefs.h.  */
119262 $ac_includes_default
119263 int
119264 main ()
119265 {
119266 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
119267 test_array [0] = 0
119268
119269   ;
119270   return 0;
119271 }
119272 _ACEOF
119273 rm -f conftest.$ac_objext
119274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119275   (eval $ac_compile) 2>conftest.er1
119276   ac_status=$?
119277   grep -v '^ *+' conftest.er1 >conftest.err
119278   rm -f conftest.er1
119279   cat conftest.err >&5
119280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119281   (exit $ac_status); } &&
119282          { ac_try='test -z "$ac_c_werror_flag"
119283                          || test ! -s conftest.err'
119284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119285   (eval $ac_try) 2>&5
119286   ac_status=$?
119287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119288   (exit $ac_status); }; } &&
119289          { ac_try='test -s conftest.$ac_objext'
119290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119291   (eval $ac_try) 2>&5
119292   ac_status=$?
119293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119294   (exit $ac_status); }; }; then
119295   ac_hi=-1 ac_mid=-1
119296   while :; do
119297     cat >conftest.$ac_ext <<_ACEOF
119298 /* confdefs.h.  */
119299 _ACEOF
119300 cat confdefs.h >>conftest.$ac_ext
119301 cat >>conftest.$ac_ext <<_ACEOF
119302 /* end confdefs.h.  */
119303 $ac_includes_default
119304 int
119305 main ()
119306 {
119307 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
119308 test_array [0] = 0
119309
119310   ;
119311   return 0;
119312 }
119313 _ACEOF
119314 rm -f conftest.$ac_objext
119315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119316   (eval $ac_compile) 2>conftest.er1
119317   ac_status=$?
119318   grep -v '^ *+' conftest.er1 >conftest.err
119319   rm -f conftest.er1
119320   cat conftest.err >&5
119321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119322   (exit $ac_status); } &&
119323          { ac_try='test -z "$ac_c_werror_flag"
119324                          || test ! -s conftest.err'
119325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119326   (eval $ac_try) 2>&5
119327   ac_status=$?
119328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119329   (exit $ac_status); }; } &&
119330          { ac_try='test -s conftest.$ac_objext'
119331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119332   (eval $ac_try) 2>&5
119333   ac_status=$?
119334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119335   (exit $ac_status); }; }; then
119336   ac_lo=$ac_mid; break
119337 else
119338   echo "$as_me: failed program was:" >&5
119339 sed 's/^/| /' conftest.$ac_ext >&5
119340
119341 ac_hi=`expr '(' $ac_mid ')' - 1`
119342                        if test $ac_mid -le $ac_hi; then
119343                          ac_lo= ac_hi=
119344                          break
119345                        fi
119346                        ac_mid=`expr 2 '*' $ac_mid`
119347 fi
119348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119349   done
119350 else
119351   echo "$as_me: failed program was:" >&5
119352 sed 's/^/| /' conftest.$ac_ext >&5
119353
119354 ac_lo= ac_hi=
119355 fi
119356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119357 fi
119358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119359 # Binary search between lo and hi bounds.
119360 while test "x$ac_lo" != "x$ac_hi"; do
119361   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119362   cat >conftest.$ac_ext <<_ACEOF
119363 /* confdefs.h.  */
119364 _ACEOF
119365 cat confdefs.h >>conftest.$ac_ext
119366 cat >>conftest.$ac_ext <<_ACEOF
119367 /* end confdefs.h.  */
119368 $ac_includes_default
119369 int
119370 main ()
119371 {
119372 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119373 test_array [0] = 0
119374
119375   ;
119376   return 0;
119377 }
119378 _ACEOF
119379 rm -f conftest.$ac_objext
119380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119381   (eval $ac_compile) 2>conftest.er1
119382   ac_status=$?
119383   grep -v '^ *+' conftest.er1 >conftest.err
119384   rm -f conftest.er1
119385   cat conftest.err >&5
119386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119387   (exit $ac_status); } &&
119388          { ac_try='test -z "$ac_c_werror_flag"
119389                          || test ! -s conftest.err'
119390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119391   (eval $ac_try) 2>&5
119392   ac_status=$?
119393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119394   (exit $ac_status); }; } &&
119395          { ac_try='test -s conftest.$ac_objext'
119396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119397   (eval $ac_try) 2>&5
119398   ac_status=$?
119399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119400   (exit $ac_status); }; }; then
119401   ac_hi=$ac_mid
119402 else
119403   echo "$as_me: failed program was:" >&5
119404 sed 's/^/| /' conftest.$ac_ext >&5
119405
119406 ac_lo=`expr '(' $ac_mid ')' + 1`
119407 fi
119408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119409 done
119410 case $ac_lo in
119411 ?*) ac_cv_sizeof_short=$ac_lo;;
119412 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119413 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119415 See \`config.log' for more details." >&5
119416 echo "$as_me: error: cannot compute sizeof (short), 77
119417 See \`config.log' for more details." >&2;}
119418    { (exit 1); exit 1; }; }; } ;;
119419 esac
119420 else
119421   if test "$cross_compiling" = yes; then
119422   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119423 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119424 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119425 See \`config.log' for more details." >&5
119426 echo "$as_me: error: cannot run test program while cross compiling
119427 See \`config.log' for more details." >&2;}
119428    { (exit 1); exit 1; }; }; }
119429 else
119430   cat >conftest.$ac_ext <<_ACEOF
119431 /* confdefs.h.  */
119432 _ACEOF
119433 cat confdefs.h >>conftest.$ac_ext
119434 cat >>conftest.$ac_ext <<_ACEOF
119435 /* end confdefs.h.  */
119436 $ac_includes_default
119437 long longval () { return (long) (sizeof (short)); }
119438 unsigned long ulongval () { return (long) (sizeof (short)); }
119439 #include <stdio.h>
119440 #include <stdlib.h>
119441 int
119442 main ()
119443 {
119444
119445   FILE *f = fopen ("conftest.val", "w");
119446   if (! f)
119447     exit (1);
119448   if (((long) (sizeof (short))) < 0)
119449     {
119450       long i = longval ();
119451       if (i != ((long) (sizeof (short))))
119452         exit (1);
119453       fprintf (f, "%ld\n", i);
119454     }
119455   else
119456     {
119457       unsigned long i = ulongval ();
119458       if (i != ((long) (sizeof (short))))
119459         exit (1);
119460       fprintf (f, "%lu\n", i);
119461     }
119462   exit (ferror (f) || fclose (f) != 0);
119463
119464   ;
119465   return 0;
119466 }
119467 _ACEOF
119468 rm -f conftest$ac_exeext
119469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119470   (eval $ac_link) 2>&5
119471   ac_status=$?
119472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119473   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119475   (eval $ac_try) 2>&5
119476   ac_status=$?
119477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119478   (exit $ac_status); }; }; then
119479   ac_cv_sizeof_short=`cat conftest.val`
119480 else
119481   echo "$as_me: program exited with status $ac_status" >&5
119482 echo "$as_me: failed program was:" >&5
119483 sed 's/^/| /' conftest.$ac_ext >&5
119484
119485 ( exit $ac_status )
119486 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119487 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119488 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119489 See \`config.log' for more details." >&5
119490 echo "$as_me: error: cannot compute sizeof (short), 77
119491 See \`config.log' for more details." >&2;}
119492    { (exit 1); exit 1; }; }; }
119493 fi
119494 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119495 fi
119496 fi
119497 rm -f conftest.val
119498 else
119499   ac_cv_sizeof_short=0
119500 fi
119501 fi
119502 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
119503 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
119504 cat >>confdefs.h <<_ACEOF
119505 #define SIZEOF_SHORT $ac_cv_sizeof_short
119506 _ACEOF
119507
119508
119509   echo "$as_me:$LINENO: checking for char" >&5
119510 echo $ECHO_N "checking for char... $ECHO_C" >&6
119511 if test "${ac_cv_type_char+set}" = set; then
119512   echo $ECHO_N "(cached) $ECHO_C" >&6
119513 else
119514   cat >conftest.$ac_ext <<_ACEOF
119515 /* confdefs.h.  */
119516 _ACEOF
119517 cat confdefs.h >>conftest.$ac_ext
119518 cat >>conftest.$ac_ext <<_ACEOF
119519 /* end confdefs.h.  */
119520 $ac_includes_default
119521 int
119522 main ()
119523 {
119524 if ((char *) 0)
119525   return 0;
119526 if (sizeof (char))
119527   return 0;
119528   ;
119529   return 0;
119530 }
119531 _ACEOF
119532 rm -f conftest.$ac_objext
119533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119534   (eval $ac_compile) 2>conftest.er1
119535   ac_status=$?
119536   grep -v '^ *+' conftest.er1 >conftest.err
119537   rm -f conftest.er1
119538   cat conftest.err >&5
119539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119540   (exit $ac_status); } &&
119541          { ac_try='test -z "$ac_c_werror_flag"
119542                          || test ! -s conftest.err'
119543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119544   (eval $ac_try) 2>&5
119545   ac_status=$?
119546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119547   (exit $ac_status); }; } &&
119548          { ac_try='test -s conftest.$ac_objext'
119549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119550   (eval $ac_try) 2>&5
119551   ac_status=$?
119552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119553   (exit $ac_status); }; }; then
119554   ac_cv_type_char=yes
119555 else
119556   echo "$as_me: failed program was:" >&5
119557 sed 's/^/| /' conftest.$ac_ext >&5
119558
119559 ac_cv_type_char=no
119560 fi
119561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119562 fi
119563 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
119564 echo "${ECHO_T}$ac_cv_type_char" >&6
119565
119566 echo "$as_me:$LINENO: checking size of char" >&5
119567 echo $ECHO_N "checking size of char... $ECHO_C" >&6
119568 if test "${ac_cv_sizeof_char+set}" = set; then
119569   echo $ECHO_N "(cached) $ECHO_C" >&6
119570 else
119571   if test "$ac_cv_type_char" = yes; then
119572   # The cast to unsigned long works around a bug in the HP C Compiler
119573   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119574   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119575   # This bug is HP SR number 8606223364.
119576   if test "$cross_compiling" = yes; then
119577   # Depending upon the size, compute the lo and hi bounds.
119578 cat >conftest.$ac_ext <<_ACEOF
119579 /* confdefs.h.  */
119580 _ACEOF
119581 cat confdefs.h >>conftest.$ac_ext
119582 cat >>conftest.$ac_ext <<_ACEOF
119583 /* end confdefs.h.  */
119584 $ac_includes_default
119585 int
119586 main ()
119587 {
119588 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
119589 test_array [0] = 0
119590
119591   ;
119592   return 0;
119593 }
119594 _ACEOF
119595 rm -f conftest.$ac_objext
119596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119597   (eval $ac_compile) 2>conftest.er1
119598   ac_status=$?
119599   grep -v '^ *+' conftest.er1 >conftest.err
119600   rm -f conftest.er1
119601   cat conftest.err >&5
119602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119603   (exit $ac_status); } &&
119604          { ac_try='test -z "$ac_c_werror_flag"
119605                          || test ! -s conftest.err'
119606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119607   (eval $ac_try) 2>&5
119608   ac_status=$?
119609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119610   (exit $ac_status); }; } &&
119611          { ac_try='test -s conftest.$ac_objext'
119612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119613   (eval $ac_try) 2>&5
119614   ac_status=$?
119615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119616   (exit $ac_status); }; }; then
119617   ac_lo=0 ac_mid=0
119618   while :; do
119619     cat >conftest.$ac_ext <<_ACEOF
119620 /* confdefs.h.  */
119621 _ACEOF
119622 cat confdefs.h >>conftest.$ac_ext
119623 cat >>conftest.$ac_ext <<_ACEOF
119624 /* end confdefs.h.  */
119625 $ac_includes_default
119626 int
119627 main ()
119628 {
119629 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119630 test_array [0] = 0
119631
119632   ;
119633   return 0;
119634 }
119635 _ACEOF
119636 rm -f conftest.$ac_objext
119637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119638   (eval $ac_compile) 2>conftest.er1
119639   ac_status=$?
119640   grep -v '^ *+' conftest.er1 >conftest.err
119641   rm -f conftest.er1
119642   cat conftest.err >&5
119643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119644   (exit $ac_status); } &&
119645          { ac_try='test -z "$ac_c_werror_flag"
119646                          || test ! -s conftest.err'
119647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119648   (eval $ac_try) 2>&5
119649   ac_status=$?
119650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119651   (exit $ac_status); }; } &&
119652          { ac_try='test -s conftest.$ac_objext'
119653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119654   (eval $ac_try) 2>&5
119655   ac_status=$?
119656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119657   (exit $ac_status); }; }; then
119658   ac_hi=$ac_mid; break
119659 else
119660   echo "$as_me: failed program was:" >&5
119661 sed 's/^/| /' conftest.$ac_ext >&5
119662
119663 ac_lo=`expr $ac_mid + 1`
119664                     if test $ac_lo -le $ac_mid; then
119665                       ac_lo= ac_hi=
119666                       break
119667                     fi
119668                     ac_mid=`expr 2 '*' $ac_mid + 1`
119669 fi
119670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119671   done
119672 else
119673   echo "$as_me: failed program was:" >&5
119674 sed 's/^/| /' conftest.$ac_ext >&5
119675
119676 cat >conftest.$ac_ext <<_ACEOF
119677 /* confdefs.h.  */
119678 _ACEOF
119679 cat confdefs.h >>conftest.$ac_ext
119680 cat >>conftest.$ac_ext <<_ACEOF
119681 /* end confdefs.h.  */
119682 $ac_includes_default
119683 int
119684 main ()
119685 {
119686 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
119687 test_array [0] = 0
119688
119689   ;
119690   return 0;
119691 }
119692 _ACEOF
119693 rm -f conftest.$ac_objext
119694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119695   (eval $ac_compile) 2>conftest.er1
119696   ac_status=$?
119697   grep -v '^ *+' conftest.er1 >conftest.err
119698   rm -f conftest.er1
119699   cat conftest.err >&5
119700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119701   (exit $ac_status); } &&
119702          { ac_try='test -z "$ac_c_werror_flag"
119703                          || test ! -s conftest.err'
119704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119705   (eval $ac_try) 2>&5
119706   ac_status=$?
119707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119708   (exit $ac_status); }; } &&
119709          { ac_try='test -s conftest.$ac_objext'
119710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119711   (eval $ac_try) 2>&5
119712   ac_status=$?
119713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119714   (exit $ac_status); }; }; then
119715   ac_hi=-1 ac_mid=-1
119716   while :; do
119717     cat >conftest.$ac_ext <<_ACEOF
119718 /* confdefs.h.  */
119719 _ACEOF
119720 cat confdefs.h >>conftest.$ac_ext
119721 cat >>conftest.$ac_ext <<_ACEOF
119722 /* end confdefs.h.  */
119723 $ac_includes_default
119724 int
119725 main ()
119726 {
119727 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
119728 test_array [0] = 0
119729
119730   ;
119731   return 0;
119732 }
119733 _ACEOF
119734 rm -f conftest.$ac_objext
119735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119736   (eval $ac_compile) 2>conftest.er1
119737   ac_status=$?
119738   grep -v '^ *+' conftest.er1 >conftest.err
119739   rm -f conftest.er1
119740   cat conftest.err >&5
119741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119742   (exit $ac_status); } &&
119743          { ac_try='test -z "$ac_c_werror_flag"
119744                          || test ! -s conftest.err'
119745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119746   (eval $ac_try) 2>&5
119747   ac_status=$?
119748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119749   (exit $ac_status); }; } &&
119750          { ac_try='test -s conftest.$ac_objext'
119751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119752   (eval $ac_try) 2>&5
119753   ac_status=$?
119754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119755   (exit $ac_status); }; }; then
119756   ac_lo=$ac_mid; break
119757 else
119758   echo "$as_me: failed program was:" >&5
119759 sed 's/^/| /' conftest.$ac_ext >&5
119760
119761 ac_hi=`expr '(' $ac_mid ')' - 1`
119762                        if test $ac_mid -le $ac_hi; then
119763                          ac_lo= ac_hi=
119764                          break
119765                        fi
119766                        ac_mid=`expr 2 '*' $ac_mid`
119767 fi
119768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119769   done
119770 else
119771   echo "$as_me: failed program was:" >&5
119772 sed 's/^/| /' conftest.$ac_ext >&5
119773
119774 ac_lo= ac_hi=
119775 fi
119776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119777 fi
119778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119779 # Binary search between lo and hi bounds.
119780 while test "x$ac_lo" != "x$ac_hi"; do
119781   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119782   cat >conftest.$ac_ext <<_ACEOF
119783 /* confdefs.h.  */
119784 _ACEOF
119785 cat confdefs.h >>conftest.$ac_ext
119786 cat >>conftest.$ac_ext <<_ACEOF
119787 /* end confdefs.h.  */
119788 $ac_includes_default
119789 int
119790 main ()
119791 {
119792 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119793 test_array [0] = 0
119794
119795   ;
119796   return 0;
119797 }
119798 _ACEOF
119799 rm -f conftest.$ac_objext
119800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119801   (eval $ac_compile) 2>conftest.er1
119802   ac_status=$?
119803   grep -v '^ *+' conftest.er1 >conftest.err
119804   rm -f conftest.er1
119805   cat conftest.err >&5
119806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119807   (exit $ac_status); } &&
119808          { ac_try='test -z "$ac_c_werror_flag"
119809                          || test ! -s conftest.err'
119810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119811   (eval $ac_try) 2>&5
119812   ac_status=$?
119813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119814   (exit $ac_status); }; } &&
119815          { ac_try='test -s conftest.$ac_objext'
119816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119817   (eval $ac_try) 2>&5
119818   ac_status=$?
119819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119820   (exit $ac_status); }; }; then
119821   ac_hi=$ac_mid
119822 else
119823   echo "$as_me: failed program was:" >&5
119824 sed 's/^/| /' conftest.$ac_ext >&5
119825
119826 ac_lo=`expr '(' $ac_mid ')' + 1`
119827 fi
119828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119829 done
119830 case $ac_lo in
119831 ?*) ac_cv_sizeof_char=$ac_lo;;
119832 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119833 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119834 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119835 See \`config.log' for more details." >&5
119836 echo "$as_me: error: cannot compute sizeof (char), 77
119837 See \`config.log' for more details." >&2;}
119838    { (exit 1); exit 1; }; }; } ;;
119839 esac
119840 else
119841   if test "$cross_compiling" = yes; then
119842   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119843 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119845 See \`config.log' for more details." >&5
119846 echo "$as_me: error: cannot run test program while cross compiling
119847 See \`config.log' for more details." >&2;}
119848    { (exit 1); exit 1; }; }; }
119849 else
119850   cat >conftest.$ac_ext <<_ACEOF
119851 /* confdefs.h.  */
119852 _ACEOF
119853 cat confdefs.h >>conftest.$ac_ext
119854 cat >>conftest.$ac_ext <<_ACEOF
119855 /* end confdefs.h.  */
119856 $ac_includes_default
119857 long longval () { return (long) (sizeof (char)); }
119858 unsigned long ulongval () { return (long) (sizeof (char)); }
119859 #include <stdio.h>
119860 #include <stdlib.h>
119861 int
119862 main ()
119863 {
119864
119865   FILE *f = fopen ("conftest.val", "w");
119866   if (! f)
119867     exit (1);
119868   if (((long) (sizeof (char))) < 0)
119869     {
119870       long i = longval ();
119871       if (i != ((long) (sizeof (char))))
119872         exit (1);
119873       fprintf (f, "%ld\n", i);
119874     }
119875   else
119876     {
119877       unsigned long i = ulongval ();
119878       if (i != ((long) (sizeof (char))))
119879         exit (1);
119880       fprintf (f, "%lu\n", i);
119881     }
119882   exit (ferror (f) || fclose (f) != 0);
119883
119884   ;
119885   return 0;
119886 }
119887 _ACEOF
119888 rm -f conftest$ac_exeext
119889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119890   (eval $ac_link) 2>&5
119891   ac_status=$?
119892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119895   (eval $ac_try) 2>&5
119896   ac_status=$?
119897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
119898   (exit $ac_status); }; }; then
119899   ac_cv_sizeof_char=`cat conftest.val`
119900 else
119901   echo "$as_me: program exited with status $ac_status" >&5
119902 echo "$as_me: failed program was:" >&5
119903 sed 's/^/| /' conftest.$ac_ext >&5
119904
119905 ( exit $ac_status )
119906 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119907 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119909 See \`config.log' for more details." >&5
119910 echo "$as_me: error: cannot compute sizeof (char), 77
119911 See \`config.log' for more details." >&2;}
119912    { (exit 1); exit 1; }; }; }
119913 fi
119914 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119915 fi
119916 fi
119917 rm -f conftest.val
119918 else
119919   ac_cv_sizeof_char=0
119920 fi
119921 fi
119922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
119923 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
119924 cat >>confdefs.h <<_ACEOF
119925 #define SIZEOF_CHAR $ac_cv_sizeof_char
119926 _ACEOF
119927
119928
119929
119930   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
119931 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
119932   case "$ac_cv_sizeof_char" in
119933     1) acx_cv_type_int8_t=char ;;
119934     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
119935 echo "$as_me: error: no 8-bit type" >&2;}
119936    { (exit please report a bug); exit please report a bug; }; }
119937   esac
119938   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119939 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119940
119941   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119942 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119943   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119944     2:*) acx_cv_type_int16_t=int ;;
119945     *:2) acx_cv_type_int16_t=short ;;
119946     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119947 echo "$as_me: error: no 16-bit type" >&2;}
119948    { (exit please report a bug); exit please report a bug; }; }
119949   esac
119950   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119951 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119952
119953   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119954 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119955   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119956     4:*) acx_cv_type_int32_t=int ;;
119957     *:4) acx_cv_type_int32_t=long ;;
119958     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119959 echo "$as_me: error: no 32-bit type" >&2;}
119960    { (exit please report a bug); exit please report a bug; }; }
119961   esac
119962   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119963 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119964 fi
119965
119966 # These tests are here to make the output prettier
119967
119968 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119969   case "$ac_cv_sizeof_long" in
119970     8) acx_cv_type_int64_t=long ;;
119971   esac
119972   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119973 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119974   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119975 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119976 fi
119977
119978 # Now we can use the above types
119979
119980 if test "$ac_cv_type_uintptr_t" != yes; then
119981   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119982 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119983   case $ac_cv_sizeof_void_p in
119984     2) acx_cv_type_intptr_t=int16_t ;;
119985     4) acx_cv_type_intptr_t=int32_t ;;
119986     8) acx_cv_type_intptr_t=int64_t ;;
119987     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119988 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119989    { (exit please report a bug); exit please report a bug; }; }
119990   esac
119991   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119992 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119993 fi
119994
119995 # ----------------- done all checks, emit header -------------
119996           ac_config_commands="$ac_config_commands include/gstdint.h"
119997
119998
119999
120000
120001 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
120002
120003
120004  # Check whether --enable-symvers or --disable-symvers was given.
120005 if test "${enable_symvers+set}" = set; then
120006   enableval="$enable_symvers"
120007
120008       case "$enableval" in
120009        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
120010        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
120011 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
120012    { (exit 1); exit 1; }; } ;;
120013                           esac
120014
120015 else
120016   enable_symvers=yes
120017 fi;
120018
120019
120020 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
120021 # don't know enough about $LD to do tricks...
120022
120023
120024 # Turn a 'yes' into a suitable default.
120025 if test x$enable_symvers = xyes ; then
120026   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
120027     enable_symvers=no
120028   else
120029     if test $with_gnu_ld = yes ; then
120030       enable_symvers=gnu
120031     else
120032       case ${target_os} in
120033         darwin*)
120034           enable_symvers=darwin ;;
120035         *)
120036           enable_symvers=no ;;
120037       esac
120038     fi
120039   fi
120040 fi
120041
120042 # Check to see if 'darwin' or 'darwin-export' can win.
120043 if test x$enable_symvers = xdarwin-export ; then
120044     enable_symvers=darwin
120045 fi
120046
120047 # Check to see if 'gnu' can win.
120048 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
120049   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
120050   echo "$as_me:$LINENO: checking for shared libgcc" >&5
120051 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
120052   ac_save_CFLAGS="$CFLAGS"
120053   CFLAGS=' -lgcc_s'
120054   if test x$gcc_no_link = xyes; then
120055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120057    { (exit 1); exit 1; }; }
120058 fi
120059 cat >conftest.$ac_ext <<_ACEOF
120060 /* confdefs.h.  */
120061 _ACEOF
120062 cat confdefs.h >>conftest.$ac_ext
120063 cat >>conftest.$ac_ext <<_ACEOF
120064 /* end confdefs.h.  */
120065
120066 int
120067 main ()
120068 {
120069 return 0;
120070   ;
120071   return 0;
120072 }
120073 _ACEOF
120074 rm -f conftest.$ac_objext conftest$ac_exeext
120075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120076   (eval $ac_link) 2>conftest.er1
120077   ac_status=$?
120078   grep -v '^ *+' conftest.er1 >conftest.err
120079   rm -f conftest.er1
120080   cat conftest.err >&5
120081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120082   (exit $ac_status); } &&
120083          { ac_try='test -z "$ac_c_werror_flag"
120084                          || test ! -s conftest.err'
120085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120086   (eval $ac_try) 2>&5
120087   ac_status=$?
120088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120089   (exit $ac_status); }; } &&
120090          { ac_try='test -s conftest$ac_exeext'
120091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120092   (eval $ac_try) 2>&5
120093   ac_status=$?
120094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120095   (exit $ac_status); }; }; then
120096   glibcxx_shared_libgcc=yes
120097 else
120098   echo "$as_me: failed program was:" >&5
120099 sed 's/^/| /' conftest.$ac_ext >&5
120100
120101 glibcxx_shared_libgcc=no
120102 fi
120103 rm -f conftest.err conftest.$ac_objext \
120104       conftest$ac_exeext conftest.$ac_ext
120105   CFLAGS="$ac_save_CFLAGS"
120106   if test $glibcxx_shared_libgcc = no; then
120107     cat > conftest.c <<EOF
120108 int main (void) { return 0; }
120109 EOF
120110     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
120111                              -shared -shared-libgcc -o conftest.so \
120112                              conftest.c -v 2>&1 >/dev/null \
120113                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
120114     rm -f conftest.c conftest.so
120115     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
120116       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
120117       if test x$gcc_no_link = xyes; then
120118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120120    { (exit 1); exit 1; }; }
120121 fi
120122 cat >conftest.$ac_ext <<_ACEOF
120123 /* confdefs.h.  */
120124 _ACEOF
120125 cat confdefs.h >>conftest.$ac_ext
120126 cat >>conftest.$ac_ext <<_ACEOF
120127 /* end confdefs.h.  */
120128
120129 int
120130 main ()
120131 {
120132 return 0;
120133   ;
120134   return 0;
120135 }
120136 _ACEOF
120137 rm -f conftest.$ac_objext conftest$ac_exeext
120138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120139   (eval $ac_link) 2>conftest.er1
120140   ac_status=$?
120141   grep -v '^ *+' conftest.er1 >conftest.err
120142   rm -f conftest.er1
120143   cat conftest.err >&5
120144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120145   (exit $ac_status); } &&
120146          { ac_try='test -z "$ac_c_werror_flag"
120147                          || test ! -s conftest.err'
120148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120149   (eval $ac_try) 2>&5
120150   ac_status=$?
120151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120152   (exit $ac_status); }; } &&
120153          { ac_try='test -s conftest$ac_exeext'
120154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120155   (eval $ac_try) 2>&5
120156   ac_status=$?
120157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120158   (exit $ac_status); }; }; then
120159   glibcxx_shared_libgcc=yes
120160 else
120161   echo "$as_me: failed program was:" >&5
120162 sed 's/^/| /' conftest.$ac_ext >&5
120163
120164 fi
120165 rm -f conftest.err conftest.$ac_objext \
120166       conftest$ac_exeext conftest.$ac_ext
120167       CFLAGS="$ac_save_CFLAGS"
120168     fi
120169   fi
120170   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
120171 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
120172
120173   # For GNU ld, we need at least this version.  The format is described in
120174   # GLIBCXX_CHECK_LINKER_FEATURES above.
120175   glibcxx_min_gnu_ld_version=21400
120176
120177   # If no shared libgcc, can't win.
120178   if test $glibcxx_shared_libgcc != yes; then
120179       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
120180 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
120181       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
120182 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
120183       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120184 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120185       enable_symvers=no
120186   elif test $with_gnu_ld != yes ; then
120187     # just fail for now
120188     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
120189 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
120190     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
120191 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
120192     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120193 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120194     enable_symvers=no
120195   elif test $glibcxx_ld_is_gold = yes ; then
120196     : All versions of gold support symbol versioning.
120197   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
120198     # The right tools, the right setup, but too old.  Fallbacks?
120199     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
120200 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
120201     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
120202 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
120203     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
120204 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
120205     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
120206 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
120207     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120208 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120209     enable_symvers=no
120210   fi
120211 fi
120212
120213 # Everything parsed; figure out what file to use.
120214 case $enable_symvers in
120215   no)
120216     SYMVER_FILE=config/abi/pre/none.ver
120217     ;;
120218   gnu)
120219     SYMVER_FILE=config/abi/pre/gnu.ver
120220
120221 cat >>confdefs.h <<\_ACEOF
120222 #define _GLIBCXX_SYMVER_GNU 1
120223 _ACEOF
120224
120225     ;;
120226   gnu-versioned-namespace)
120227     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
120228
120229 cat >>confdefs.h <<\_ACEOF
120230 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
120231 _ACEOF
120232
120233     ;;
120234   darwin)
120235     SYMVER_FILE=config/abi/pre/gnu.ver
120236
120237 cat >>confdefs.h <<\_ACEOF
120238 #define _GLIBCXX_SYMVER_DARWIN 1
120239 _ACEOF
120240
120241     ;;
120242 esac
120243
120244 if test x$enable_symvers != xno ; then
120245
120246 cat >>confdefs.h <<\_ACEOF
120247 #define _GLIBCXX_SYMVER 1
120248 _ACEOF
120249
120250 fi
120251
120252
120253
120254
120255
120256
120257
120258 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
120259 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
120260
120261 # Now, set up compatibility support, if any.
120262 # In addition, need this to deal with std::size_t mangling in
120263 # src/compatibility.cc.  In a perfect world, could use
120264 # typeid(std::size_t).name()[0] to do direct substitution.
120265 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
120266 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
120267 ac_save_CFLAGS="$CFLAGS"
120268 CFLAGS="-Werror"
120269 cat >conftest.$ac_ext <<_ACEOF
120270 /* confdefs.h.  */
120271 _ACEOF
120272 cat confdefs.h >>conftest.$ac_ext
120273 cat >>conftest.$ac_ext <<_ACEOF
120274 /* end confdefs.h.  */
120275
120276 int
120277 main ()
120278 {
120279 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
120280   ;
120281   return 0;
120282 }
120283 _ACEOF
120284 rm -f conftest.$ac_objext
120285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120286   (eval $ac_compile) 2>conftest.er1
120287   ac_status=$?
120288   grep -v '^ *+' conftest.er1 >conftest.err
120289   rm -f conftest.er1
120290   cat conftest.err >&5
120291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120292   (exit $ac_status); } &&
120293          { ac_try='test -z "$ac_c_werror_flag"
120294                          || test ! -s conftest.err'
120295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120296   (eval $ac_try) 2>&5
120297   ac_status=$?
120298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120299   (exit $ac_status); }; } &&
120300          { ac_try='test -s conftest.$ac_objext'
120301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120302   (eval $ac_try) 2>&5
120303   ac_status=$?
120304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120305   (exit $ac_status); }; }; then
120306   glibcxx_size_t_is_i=yes
120307 else
120308   echo "$as_me: failed program was:" >&5
120309 sed 's/^/| /' conftest.$ac_ext >&5
120310
120311 glibcxx_size_t_is_i=no
120312 fi
120313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120314 CFLAGS=$ac_save_CFLAGS
120315 if test "$glibcxx_size_t_is_i" = yes; then
120316
120317 cat >>confdefs.h <<\_ACEOF
120318 #define _GLIBCXX_SIZE_T_IS_UINT 1
120319 _ACEOF
120320
120321 fi
120322 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
120323 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
120324
120325 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
120326 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
120327 ac_save_CFLAGS="$CFLAGS"
120328 CFLAGS="-Werror"
120329 cat >conftest.$ac_ext <<_ACEOF
120330 /* confdefs.h.  */
120331 _ACEOF
120332 cat confdefs.h >>conftest.$ac_ext
120333 cat >>conftest.$ac_ext <<_ACEOF
120334 /* end confdefs.h.  */
120335
120336 int
120337 main ()
120338 {
120339 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
120340   ;
120341   return 0;
120342 }
120343 _ACEOF
120344 rm -f conftest.$ac_objext
120345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120346   (eval $ac_compile) 2>conftest.er1
120347   ac_status=$?
120348   grep -v '^ *+' conftest.er1 >conftest.err
120349   rm -f conftest.er1
120350   cat conftest.err >&5
120351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120352   (exit $ac_status); } &&
120353          { ac_try='test -z "$ac_c_werror_flag"
120354                          || test ! -s conftest.err'
120355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120356   (eval $ac_try) 2>&5
120357   ac_status=$?
120358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120359   (exit $ac_status); }; } &&
120360          { ac_try='test -s conftest.$ac_objext'
120361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120362   (eval $ac_try) 2>&5
120363   ac_status=$?
120364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120365   (exit $ac_status); }; }; then
120366   glibcxx_ptrdiff_t_is_i=yes
120367 else
120368   echo "$as_me: failed program was:" >&5
120369 sed 's/^/| /' conftest.$ac_ext >&5
120370
120371 glibcxx_ptrdiff_t_is_i=no
120372 fi
120373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120374 CFLAGS=$ac_save_CFLAGS
120375 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
120376
120377 cat >>confdefs.h <<\_ACEOF
120378 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
120379 _ACEOF
120380
120381 fi
120382 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
120383 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
120384
120385
120386  # Check whether --enable-visibility or --disable-visibility was given.
120387 if test "${enable_visibility+set}" = set; then
120388   enableval="$enable_visibility"
120389
120390       case "$enableval" in
120391        yes|no) ;;
120392        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
120393 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
120394    { (exit 1); exit 1; }; } ;;
120395       esac
120396
120397 else
120398   enable_visibility=yes
120399 fi;
120400
120401
120402 if test x$enable_visibility = xyes ; then
120403       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
120404 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
120405 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
120406   echo $ECHO_N "(cached) $ECHO_C" >&6
120407 else
120408
120409   save_CFLAGS="$CFLAGS"
120410   CFLAGS="$CFLAGS -Werror"
120411   cat >conftest.$ac_ext <<_ACEOF
120412 /* confdefs.h.  */
120413 _ACEOF
120414 cat confdefs.h >>conftest.$ac_ext
120415 cat >>conftest.$ac_ext <<_ACEOF
120416 /* end confdefs.h.  */
120417 void __attribute__((visibility("hidden"))) foo(void) { }
120418 int
120419 main ()
120420 {
120421
120422   ;
120423   return 0;
120424 }
120425 _ACEOF
120426 rm -f conftest.$ac_objext
120427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120428   (eval $ac_compile) 2>conftest.er1
120429   ac_status=$?
120430   grep -v '^ *+' conftest.er1 >conftest.err
120431   rm -f conftest.er1
120432   cat conftest.err >&5
120433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120434   (exit $ac_status); } &&
120435          { ac_try='test -z "$ac_c_werror_flag"
120436                          || test ! -s conftest.err'
120437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120438   (eval $ac_try) 2>&5
120439   ac_status=$?
120440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120441   (exit $ac_status); }; } &&
120442          { ac_try='test -s conftest.$ac_objext'
120443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120444   (eval $ac_try) 2>&5
120445   ac_status=$?
120446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120447   (exit $ac_status); }; }; then
120448   glibcxx_cv_have_attribute_visibility=yes
120449 else
120450   echo "$as_me: failed program was:" >&5
120451 sed 's/^/| /' conftest.$ac_ext >&5
120452
120453 glibcxx_cv_have_attribute_visibility=no
120454 fi
120455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120456   CFLAGS="$save_CFLAGS"
120457 fi
120458 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
120459 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
120460   if test $glibcxx_cv_have_attribute_visibility = no; then
120461     enable_visibility=no
120462   fi
120463 fi
120464
120465
120466 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
120467 echo "$as_me: visibility supported: $enable_visibility" >&6;}
120468
120469
120470 ac_ldbl_compat=no
120471 case "$target" in
120472   powerpc*-*-linux* | \
120473   powerpc*-*-gnu* | \
120474   sparc*-*-linux* | \
120475   s390*-*-linux* | \
120476   alpha*-*-linux*)
120477   cat >conftest.$ac_ext <<_ACEOF
120478 /* confdefs.h.  */
120479 _ACEOF
120480 cat confdefs.h >>conftest.$ac_ext
120481 cat >>conftest.$ac_ext <<_ACEOF
120482 /* end confdefs.h.  */
120483
120484 int
120485 main ()
120486 {
120487
120488 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
120489 #error no need for long double compatibility
120490 #endif
120491
120492   ;
120493   return 0;
120494 }
120495 _ACEOF
120496 rm -f conftest.$ac_objext
120497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120498   (eval $ac_compile) 2>conftest.er1
120499   ac_status=$?
120500   grep -v '^ *+' conftest.er1 >conftest.err
120501   rm -f conftest.er1
120502   cat conftest.err >&5
120503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120504   (exit $ac_status); } &&
120505          { ac_try='test -z "$ac_c_werror_flag"
120506                          || test ! -s conftest.err'
120507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120508   (eval $ac_try) 2>&5
120509   ac_status=$?
120510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120511   (exit $ac_status); }; } &&
120512          { ac_try='test -s conftest.$ac_objext'
120513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120514   (eval $ac_try) 2>&5
120515   ac_status=$?
120516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120517   (exit $ac_status); }; }; then
120518   ac_ldbl_compat=yes
120519 else
120520   echo "$as_me: failed program was:" >&5
120521 sed 's/^/| /' conftest.$ac_ext >&5
120522
120523 ac_ldbl_compat=no
120524 fi
120525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120526   if test "$ac_ldbl_compat" = yes; then
120527
120528 cat >>confdefs.h <<\_ACEOF
120529 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
120530 _ACEOF
120531
120532     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
120533   fi
120534 esac
120535
120536
120537 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
120538
120539   if $GLIBCXX_IS_NATIVE ; then
120540     # Do checks for resource limit functions.
120541
120542   setrlimit_have_headers=yes
120543
120544
120545
120546 for ac_header in unistd.h sys/time.h sys/resource.h
120547 do
120548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
120549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120550   echo "$as_me:$LINENO: checking for $ac_header" >&5
120551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120553   echo $ECHO_N "(cached) $ECHO_C" >&6
120554 fi
120555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120557 else
120558   # Is the header compilable?
120559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
120560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
120561 cat >conftest.$ac_ext <<_ACEOF
120562 /* confdefs.h.  */
120563 _ACEOF
120564 cat confdefs.h >>conftest.$ac_ext
120565 cat >>conftest.$ac_ext <<_ACEOF
120566 /* end confdefs.h.  */
120567 $ac_includes_default
120568 #include <$ac_header>
120569 _ACEOF
120570 rm -f conftest.$ac_objext
120571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120572   (eval $ac_compile) 2>conftest.er1
120573   ac_status=$?
120574   grep -v '^ *+' conftest.er1 >conftest.err
120575   rm -f conftest.er1
120576   cat conftest.err >&5
120577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120578   (exit $ac_status); } &&
120579          { ac_try='test -z "$ac_c_werror_flag"
120580                          || test ! -s conftest.err'
120581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120582   (eval $ac_try) 2>&5
120583   ac_status=$?
120584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120585   (exit $ac_status); }; } &&
120586          { ac_try='test -s conftest.$ac_objext'
120587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120588   (eval $ac_try) 2>&5
120589   ac_status=$?
120590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120591   (exit $ac_status); }; }; then
120592   ac_header_compiler=yes
120593 else
120594   echo "$as_me: failed program was:" >&5
120595 sed 's/^/| /' conftest.$ac_ext >&5
120596
120597 ac_header_compiler=no
120598 fi
120599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
120601 echo "${ECHO_T}$ac_header_compiler" >&6
120602
120603 # Is the header present?
120604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
120605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
120606 cat >conftest.$ac_ext <<_ACEOF
120607 /* confdefs.h.  */
120608 _ACEOF
120609 cat confdefs.h >>conftest.$ac_ext
120610 cat >>conftest.$ac_ext <<_ACEOF
120611 /* end confdefs.h.  */
120612 #include <$ac_header>
120613 _ACEOF
120614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
120615   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
120616   ac_status=$?
120617   grep -v '^ *+' conftest.er1 >conftest.err
120618   rm -f conftest.er1
120619   cat conftest.err >&5
120620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120621   (exit $ac_status); } >/dev/null; then
120622   if test -s conftest.err; then
120623     ac_cpp_err=$ac_c_preproc_warn_flag
120624     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
120625   else
120626     ac_cpp_err=
120627   fi
120628 else
120629   ac_cpp_err=yes
120630 fi
120631 if test -z "$ac_cpp_err"; then
120632   ac_header_preproc=yes
120633 else
120634   echo "$as_me: failed program was:" >&5
120635 sed 's/^/| /' conftest.$ac_ext >&5
120636
120637   ac_header_preproc=no
120638 fi
120639 rm -f conftest.err conftest.$ac_ext
120640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
120641 echo "${ECHO_T}$ac_header_preproc" >&6
120642
120643 # So?  What about this header?
120644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
120645   yes:no: )
120646     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
120647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
120648     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
120649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
120650     ac_header_preproc=yes
120651     ;;
120652   no:yes:* )
120653     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
120654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
120655     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
120656 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
120657     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
120658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
120659     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
120660 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
120661     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
120662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
120663     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
120664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
120665     (
120666       cat <<\_ASBOX
120667 ## ----------------------------------------- ##
120668 ## Report this to the package-unused lists.  ##
120669 ## ----------------------------------------- ##
120670 _ASBOX
120671     ) |
120672       sed "s/^/$as_me: WARNING:     /" >&2
120673     ;;
120674 esac
120675 echo "$as_me:$LINENO: checking for $ac_header" >&5
120676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120678   echo $ECHO_N "(cached) $ECHO_C" >&6
120679 else
120680   eval "$as_ac_Header=\$ac_header_preproc"
120681 fi
120682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120684
120685 fi
120686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
120687   cat >>confdefs.h <<_ACEOF
120688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
120689 _ACEOF
120690
120691 else
120692   setrlimit_have_headers=no
120693 fi
120694
120695 done
120696
120697   # If don't have the headers, then we can't run the tests now, and we
120698   # won't be seeing any of these during testsuite compilation.
120699   if test $setrlimit_have_headers = yes; then
120700     # Can't do these in a loop, else the resulting syntax is wrong.
120701
120702   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
120703 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
120704   cat >conftest.$ac_ext <<_ACEOF
120705 /* confdefs.h.  */
120706 _ACEOF
120707 cat confdefs.h >>conftest.$ac_ext
120708 cat >>conftest.$ac_ext <<_ACEOF
120709 /* end confdefs.h.  */
120710 #include <unistd.h>
120711      #include <sys/time.h>
120712      #include <sys/resource.h>
120713
120714 int
120715 main ()
120716 {
120717  int f = RLIMIT_DATA ;
120718   ;
120719   return 0;
120720 }
120721 _ACEOF
120722 rm -f conftest.$ac_objext
120723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120724   (eval $ac_compile) 2>conftest.er1
120725   ac_status=$?
120726   grep -v '^ *+' conftest.er1 >conftest.err
120727   rm -f conftest.er1
120728   cat conftest.err >&5
120729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120730   (exit $ac_status); } &&
120731          { ac_try='test -z "$ac_c_werror_flag"
120732                          || test ! -s conftest.err'
120733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120734   (eval $ac_try) 2>&5
120735   ac_status=$?
120736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120737   (exit $ac_status); }; } &&
120738          { ac_try='test -s conftest.$ac_objext'
120739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120740   (eval $ac_try) 2>&5
120741   ac_status=$?
120742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120743   (exit $ac_status); }; }; then
120744   glibcxx_mresult=1
120745 else
120746   echo "$as_me: failed program was:" >&5
120747 sed 's/^/| /' conftest.$ac_ext >&5
120748
120749 glibcxx_mresult=0
120750 fi
120751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120752
120753 cat >>confdefs.h <<_ACEOF
120754 #define HAVE_LIMIT_DATA $glibcxx_mresult
120755 _ACEOF
120756
120757   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120758   echo "$as_me:$LINENO: result: $res" >&5
120759 echo "${ECHO_T}$res" >&6
120760
120761
120762   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
120763 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
120764   cat >conftest.$ac_ext <<_ACEOF
120765 /* confdefs.h.  */
120766 _ACEOF
120767 cat confdefs.h >>conftest.$ac_ext
120768 cat >>conftest.$ac_ext <<_ACEOF
120769 /* end confdefs.h.  */
120770 #include <unistd.h>
120771      #include <sys/time.h>
120772      #include <sys/resource.h>
120773
120774 int
120775 main ()
120776 {
120777  int f = RLIMIT_RSS ;
120778   ;
120779   return 0;
120780 }
120781 _ACEOF
120782 rm -f conftest.$ac_objext
120783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120784   (eval $ac_compile) 2>conftest.er1
120785   ac_status=$?
120786   grep -v '^ *+' conftest.er1 >conftest.err
120787   rm -f conftest.er1
120788   cat conftest.err >&5
120789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120790   (exit $ac_status); } &&
120791          { ac_try='test -z "$ac_c_werror_flag"
120792                          || test ! -s conftest.err'
120793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120794   (eval $ac_try) 2>&5
120795   ac_status=$?
120796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120797   (exit $ac_status); }; } &&
120798          { ac_try='test -s conftest.$ac_objext'
120799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120800   (eval $ac_try) 2>&5
120801   ac_status=$?
120802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120803   (exit $ac_status); }; }; then
120804   glibcxx_mresult=1
120805 else
120806   echo "$as_me: failed program was:" >&5
120807 sed 's/^/| /' conftest.$ac_ext >&5
120808
120809 glibcxx_mresult=0
120810 fi
120811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120812
120813 cat >>confdefs.h <<_ACEOF
120814 #define HAVE_LIMIT_RSS $glibcxx_mresult
120815 _ACEOF
120816
120817   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120818   echo "$as_me:$LINENO: result: $res" >&5
120819 echo "${ECHO_T}$res" >&6
120820
120821
120822   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
120823 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
120824   cat >conftest.$ac_ext <<_ACEOF
120825 /* confdefs.h.  */
120826 _ACEOF
120827 cat confdefs.h >>conftest.$ac_ext
120828 cat >>conftest.$ac_ext <<_ACEOF
120829 /* end confdefs.h.  */
120830 #include <unistd.h>
120831      #include <sys/time.h>
120832      #include <sys/resource.h>
120833
120834 int
120835 main ()
120836 {
120837  int f = RLIMIT_VMEM ;
120838   ;
120839   return 0;
120840 }
120841 _ACEOF
120842 rm -f conftest.$ac_objext
120843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120844   (eval $ac_compile) 2>conftest.er1
120845   ac_status=$?
120846   grep -v '^ *+' conftest.er1 >conftest.err
120847   rm -f conftest.er1
120848   cat conftest.err >&5
120849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120850   (exit $ac_status); } &&
120851          { ac_try='test -z "$ac_c_werror_flag"
120852                          || test ! -s conftest.err'
120853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120854   (eval $ac_try) 2>&5
120855   ac_status=$?
120856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120857   (exit $ac_status); }; } &&
120858          { ac_try='test -s conftest.$ac_objext'
120859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120860   (eval $ac_try) 2>&5
120861   ac_status=$?
120862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120863   (exit $ac_status); }; }; then
120864   glibcxx_mresult=1
120865 else
120866   echo "$as_me: failed program was:" >&5
120867 sed 's/^/| /' conftest.$ac_ext >&5
120868
120869 glibcxx_mresult=0
120870 fi
120871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120872
120873 cat >>confdefs.h <<_ACEOF
120874 #define HAVE_LIMIT_VMEM $glibcxx_mresult
120875 _ACEOF
120876
120877   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120878   echo "$as_me:$LINENO: result: $res" >&5
120879 echo "${ECHO_T}$res" >&6
120880
120881
120882   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
120883 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
120884   cat >conftest.$ac_ext <<_ACEOF
120885 /* confdefs.h.  */
120886 _ACEOF
120887 cat confdefs.h >>conftest.$ac_ext
120888 cat >>conftest.$ac_ext <<_ACEOF
120889 /* end confdefs.h.  */
120890 #include <unistd.h>
120891      #include <sys/time.h>
120892      #include <sys/resource.h>
120893
120894 int
120895 main ()
120896 {
120897  int f = RLIMIT_AS ;
120898   ;
120899   return 0;
120900 }
120901 _ACEOF
120902 rm -f conftest.$ac_objext
120903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120904   (eval $ac_compile) 2>conftest.er1
120905   ac_status=$?
120906   grep -v '^ *+' conftest.er1 >conftest.err
120907   rm -f conftest.er1
120908   cat conftest.err >&5
120909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120910   (exit $ac_status); } &&
120911          { ac_try='test -z "$ac_c_werror_flag"
120912                          || test ! -s conftest.err'
120913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120914   (eval $ac_try) 2>&5
120915   ac_status=$?
120916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120917   (exit $ac_status); }; } &&
120918          { ac_try='test -s conftest.$ac_objext'
120919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120920   (eval $ac_try) 2>&5
120921   ac_status=$?
120922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120923   (exit $ac_status); }; }; then
120924   glibcxx_mresult=1
120925 else
120926   echo "$as_me: failed program was:" >&5
120927 sed 's/^/| /' conftest.$ac_ext >&5
120928
120929 glibcxx_mresult=0
120930 fi
120931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120932
120933 cat >>confdefs.h <<_ACEOF
120934 #define HAVE_LIMIT_AS $glibcxx_mresult
120935 _ACEOF
120936
120937   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120938   echo "$as_me:$LINENO: result: $res" >&5
120939 echo "${ECHO_T}$res" >&6
120940
120941
120942   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120943 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120944   cat >conftest.$ac_ext <<_ACEOF
120945 /* confdefs.h.  */
120946 _ACEOF
120947 cat confdefs.h >>conftest.$ac_ext
120948 cat >>conftest.$ac_ext <<_ACEOF
120949 /* end confdefs.h.  */
120950 #include <unistd.h>
120951      #include <sys/time.h>
120952      #include <sys/resource.h>
120953
120954 int
120955 main ()
120956 {
120957  int f = RLIMIT_FSIZE ;
120958   ;
120959   return 0;
120960 }
120961 _ACEOF
120962 rm -f conftest.$ac_objext
120963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120964   (eval $ac_compile) 2>conftest.er1
120965   ac_status=$?
120966   grep -v '^ *+' conftest.er1 >conftest.err
120967   rm -f conftest.er1
120968   cat conftest.err >&5
120969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120970   (exit $ac_status); } &&
120971          { ac_try='test -z "$ac_c_werror_flag"
120972                          || test ! -s conftest.err'
120973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120974   (eval $ac_try) 2>&5
120975   ac_status=$?
120976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120977   (exit $ac_status); }; } &&
120978          { ac_try='test -s conftest.$ac_objext'
120979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120980   (eval $ac_try) 2>&5
120981   ac_status=$?
120982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
120983   (exit $ac_status); }; }; then
120984   glibcxx_mresult=1
120985 else
120986   echo "$as_me: failed program was:" >&5
120987 sed 's/^/| /' conftest.$ac_ext >&5
120988
120989 glibcxx_mresult=0
120990 fi
120991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120992
120993 cat >>confdefs.h <<_ACEOF
120994 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120995 _ACEOF
120996
120997   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120998   echo "$as_me:$LINENO: result: $res" >&5
120999 echo "${ECHO_T}$res" >&6
121000
121001
121002     # Check for rlimit, setrlimit.
121003     if test "${glibcxx_cv_setrlimit+set}" = set; then
121004   echo $ECHO_N "(cached) $ECHO_C" >&6
121005 else
121006
121007       cat >conftest.$ac_ext <<_ACEOF
121008 /* confdefs.h.  */
121009 _ACEOF
121010 cat confdefs.h >>conftest.$ac_ext
121011 cat >>conftest.$ac_ext <<_ACEOF
121012 /* end confdefs.h.  */
121013 #include <unistd.h>
121014          #include <sys/time.h>
121015          #include <sys/resource.h>
121016
121017 int
121018 main ()
121019 {
121020 struct rlimit r;
121021          setrlimit(0, &r);
121022   ;
121023   return 0;
121024 }
121025 _ACEOF
121026 rm -f conftest.$ac_objext
121027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121028   (eval $ac_compile) 2>conftest.er1
121029   ac_status=$?
121030   grep -v '^ *+' conftest.er1 >conftest.err
121031   rm -f conftest.er1
121032   cat conftest.err >&5
121033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121034   (exit $ac_status); } &&
121035          { ac_try='test -z "$ac_c_werror_flag"
121036                          || test ! -s conftest.err'
121037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121038   (eval $ac_try) 2>&5
121039   ac_status=$?
121040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121041   (exit $ac_status); }; } &&
121042          { ac_try='test -s conftest.$ac_objext'
121043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121044   (eval $ac_try) 2>&5
121045   ac_status=$?
121046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121047   (exit $ac_status); }; }; then
121048   glibcxx_cv_setrlimit=yes
121049 else
121050   echo "$as_me: failed program was:" >&5
121051 sed 's/^/| /' conftest.$ac_ext >&5
121052
121053 glibcxx_cv_setrlimit=no
121054 fi
121055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121056
121057 fi
121058
121059   fi
121060
121061   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
121062 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
121063   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
121064     ac_res_limits=yes
121065
121066 cat >>confdefs.h <<\_ACEOF
121067 #define _GLIBCXX_RES_LIMITS 1
121068 _ACEOF
121069
121070   else
121071     ac_res_limits=no
121072   fi
121073   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
121074 echo "${ECHO_T}$ac_res_limits" >&6
121075
121076
121077     # Look for setenv, so that extended locale tests can be performed.
121078
121079   echo "$as_me:$LINENO: checking for setenv declaration" >&5
121080 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
121081   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
121082     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
121083   echo $ECHO_N "(cached) $ECHO_C" >&6
121084 else
121085
121086
121087
121088       ac_ext=cc
121089 ac_cpp='$CXXCPP $CPPFLAGS'
121090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121093
121094       cat >conftest.$ac_ext <<_ACEOF
121095 /* confdefs.h.  */
121096 _ACEOF
121097 cat confdefs.h >>conftest.$ac_ext
121098 cat >>conftest.$ac_ext <<_ACEOF
121099 /* end confdefs.h.  */
121100 #include <stdlib.h>
121101 int
121102 main ()
121103 {
121104  setenv(0, 0, 0);
121105   ;
121106   return 0;
121107 }
121108 _ACEOF
121109 rm -f conftest.$ac_objext
121110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121111   (eval $ac_compile) 2>conftest.er1
121112   ac_status=$?
121113   grep -v '^ *+' conftest.er1 >conftest.err
121114   rm -f conftest.er1
121115   cat conftest.err >&5
121116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121117   (exit $ac_status); } &&
121118          { ac_try='test -z "$ac_cxx_werror_flag"
121119                          || test ! -s conftest.err'
121120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121121   (eval $ac_try) 2>&5
121122   ac_status=$?
121123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121124   (exit $ac_status); }; } &&
121125          { ac_try='test -s conftest.$ac_objext'
121126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121127   (eval $ac_try) 2>&5
121128   ac_status=$?
121129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121130   (exit $ac_status); }; }; then
121131   glibcxx_cv_func_setenv_use=yes
121132 else
121133   echo "$as_me: failed program was:" >&5
121134 sed 's/^/| /' conftest.$ac_ext >&5
121135
121136 glibcxx_cv_func_setenv_use=no
121137 fi
121138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121139       ac_ext=c
121140 ac_cpp='$CPP $CPPFLAGS'
121141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121144
121145
121146 fi
121147
121148   fi
121149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
121150 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
121151   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
121152
121153 for ac_func in setenv
121154 do
121155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121156 echo "$as_me:$LINENO: checking for $ac_func" >&5
121157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121158 if eval "test \"\${$as_ac_var+set}\" = set"; then
121159   echo $ECHO_N "(cached) $ECHO_C" >&6
121160 else
121161   if test x$gcc_no_link = xyes; then
121162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121164    { (exit 1); exit 1; }; }
121165 fi
121166 cat >conftest.$ac_ext <<_ACEOF
121167 /* confdefs.h.  */
121168 _ACEOF
121169 cat confdefs.h >>conftest.$ac_ext
121170 cat >>conftest.$ac_ext <<_ACEOF
121171 /* end confdefs.h.  */
121172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
121174 #define $ac_func innocuous_$ac_func
121175
121176 /* System header to define __stub macros and hopefully few prototypes,
121177     which can conflict with char $ac_func (); below.
121178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121179     <limits.h> exists even on freestanding compilers.  */
121180
121181 #ifdef __STDC__
121182 # include <limits.h>
121183 #else
121184 # include <assert.h>
121185 #endif
121186
121187 #undef $ac_func
121188
121189 /* Override any gcc2 internal prototype to avoid an error.  */
121190 #ifdef __cplusplus
121191 extern "C"
121192 {
121193 #endif
121194 /* We use char because int might match the return type of a gcc2
121195    builtin and then its argument prototype would still apply.  */
121196 char $ac_func ();
121197 /* The GNU C library defines this for functions which it implements
121198     to always fail with ENOSYS.  Some functions are actually named
121199     something starting with __ and the normal name is an alias.  */
121200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121201 choke me
121202 #else
121203 char (*f) () = $ac_func;
121204 #endif
121205 #ifdef __cplusplus
121206 }
121207 #endif
121208
121209 int
121210 main ()
121211 {
121212 return f != $ac_func;
121213   ;
121214   return 0;
121215 }
121216 _ACEOF
121217 rm -f conftest.$ac_objext conftest$ac_exeext
121218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121219   (eval $ac_link) 2>conftest.er1
121220   ac_status=$?
121221   grep -v '^ *+' conftest.er1 >conftest.err
121222   rm -f conftest.er1
121223   cat conftest.err >&5
121224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121225   (exit $ac_status); } &&
121226          { ac_try='test -z "$ac_c_werror_flag"
121227                          || test ! -s conftest.err'
121228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121229   (eval $ac_try) 2>&5
121230   ac_status=$?
121231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121232   (exit $ac_status); }; } &&
121233          { ac_try='test -s conftest$ac_exeext'
121234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121235   (eval $ac_try) 2>&5
121236   ac_status=$?
121237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
121238   (exit $ac_status); }; }; then
121239   eval "$as_ac_var=yes"
121240 else
121241   echo "$as_me: failed program was:" >&5
121242 sed 's/^/| /' conftest.$ac_ext >&5
121243
121244 eval "$as_ac_var=no"
121245 fi
121246 rm -f conftest.err conftest.$ac_objext \
121247       conftest$ac_exeext conftest.$ac_ext
121248 fi
121249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121251 if test `eval echo '${'$as_ac_var'}'` = yes; then
121252   cat >>confdefs.h <<_ACEOF
121253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121254 _ACEOF
121255
121256 fi
121257 done
121258
121259   fi
121260
121261   fi
121262
121263   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
121264      test $enable_symvers != no; then
121265     case "$host" in
121266       *-*-cygwin*)
121267         enable_abi_check=no ;;
121268       *)
121269         enable_abi_check=yes ;;
121270     esac
121271   else
121272     # Only build this as native, since automake does not understand
121273     # CXX_FOR_BUILD.
121274     enable_abi_check=no
121275   fi
121276
121277   # Export file names for ABI checking.
121278   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
121279
121280
121281
121282 # Propagate the target-specific source directories through the build chain.
121283 ATOMICITY_SRCDIR=config/${atomicity_dir}
121284 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
121285 ATOMIC_FLAGS=${atomic_flags}
121286 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
121287 OS_INC_SRCDIR=config/${os_include_dir}
121288 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
121289 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
121290
121291
121292
121293
121294
121295
121296
121297
121298
121299 # Determine cross-compile flags and AM_CONDITIONALs.
121300 #AC_SUBST(GLIBCXX_IS_NATIVE)
121301 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
121302 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
121303 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
121304
121305
121306 if test $is_hosted = yes; then
121307   GLIBCXX_HOSTED_TRUE=
121308   GLIBCXX_HOSTED_FALSE='#'
121309 else
121310   GLIBCXX_HOSTED_TRUE='#'
121311   GLIBCXX_HOSTED_FALSE=
121312 fi
121313
121314
121315
121316
121317 if test $enable_libstdcxx_pch = yes; then
121318   GLIBCXX_BUILD_PCH_TRUE=
121319   GLIBCXX_BUILD_PCH_FALSE='#'
121320 else
121321   GLIBCXX_BUILD_PCH_TRUE='#'
121322   GLIBCXX_BUILD_PCH_FALSE=
121323 fi
121324
121325
121326
121327
121328 if test $enable_cheaders = c; then
121329   GLIBCXX_C_HEADERS_C_TRUE=
121330   GLIBCXX_C_HEADERS_C_FALSE='#'
121331 else
121332   GLIBCXX_C_HEADERS_C_TRUE='#'
121333   GLIBCXX_C_HEADERS_C_FALSE=
121334 fi
121335
121336
121337
121338
121339 if test $enable_cheaders = c_std; then
121340   GLIBCXX_C_HEADERS_C_STD_TRUE=
121341   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
121342 else
121343   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
121344   GLIBCXX_C_HEADERS_C_STD_FALSE=
121345 fi
121346
121347
121348
121349
121350 if test $enable_cheaders = c_global; then
121351   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
121352   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
121353 else
121354   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
121355   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
121356 fi
121357
121358
121359
121360
121361 if test $c_compatibility = yes; then
121362   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
121363   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
121364 else
121365   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
121366   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
121367 fi
121368
121369
121370
121371
121372 if test $c_extra = yes; then
121373   GLIBCXX_C_HEADERS_EXTRA_TRUE=
121374   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
121375 else
121376   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
121377   GLIBCXX_C_HEADERS_EXTRA_FALSE=
121378 fi
121379
121380
121381
121382
121383 if test $enable_libstdcxx_debug = yes; then
121384   GLIBCXX_BUILD_DEBUG_TRUE=
121385   GLIBCXX_BUILD_DEBUG_FALSE='#'
121386 else
121387   GLIBCXX_BUILD_DEBUG_TRUE='#'
121388   GLIBCXX_BUILD_DEBUG_FALSE=
121389 fi
121390
121391
121392
121393
121394 if test $enable_parallel = yes; then
121395   ENABLE_PARALLEL_TRUE=
121396   ENABLE_PARALLEL_FALSE='#'
121397 else
121398   ENABLE_PARALLEL_TRUE='#'
121399   ENABLE_PARALLEL_FALSE=
121400 fi
121401
121402
121403
121404
121405 if test $enable_symvers != no; then
121406   ENABLE_SYMVERS_TRUE=
121407   ENABLE_SYMVERS_FALSE='#'
121408 else
121409   ENABLE_SYMVERS_TRUE='#'
121410   ENABLE_SYMVERS_FALSE=
121411 fi
121412
121413
121414
121415
121416 if test $enable_symvers = gnu; then
121417   ENABLE_SYMVERS_GNU_TRUE=
121418   ENABLE_SYMVERS_GNU_FALSE='#'
121419 else
121420   ENABLE_SYMVERS_GNU_TRUE='#'
121421   ENABLE_SYMVERS_GNU_FALSE=
121422 fi
121423
121424
121425
121426
121427 if test $enable_symvers = gnu-versioned-namespace; then
121428   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
121429   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
121430 else
121431   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
121432   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
121433 fi
121434
121435
121436
121437
121438 if test $enable_symvers = darwin; then
121439   ENABLE_SYMVERS_DARWIN_TRUE=
121440   ENABLE_SYMVERS_DARWIN_FALSE='#'
121441 else
121442   ENABLE_SYMVERS_DARWIN_TRUE='#'
121443   ENABLE_SYMVERS_DARWIN_FALSE=
121444 fi
121445
121446
121447
121448
121449 if test $enable_visibility = yes; then
121450   ENABLE_VISIBILITY_TRUE=
121451   ENABLE_VISIBILITY_FALSE='#'
121452 else
121453   ENABLE_VISIBILITY_TRUE='#'
121454   ENABLE_VISIBILITY_FALSE=
121455 fi
121456
121457
121458
121459
121460 if test $ac_ldbl_compat = yes; then
121461   GLIBCXX_LDBL_COMPAT_TRUE=
121462   GLIBCXX_LDBL_COMPAT_FALSE='#'
121463 else
121464   GLIBCXX_LDBL_COMPAT_TRUE='#'
121465   GLIBCXX_LDBL_COMPAT_FALSE=
121466 fi
121467
121468
121469
121470
121471 cat >confcache <<\_ACEOF
121472 # This file is a shell script that caches the results of configure
121473 # tests run on this system so they can be shared between configure
121474 # scripts and configure runs, see configure's option --config-cache.
121475 # It is not useful on other systems.  If it contains results you don't
121476 # want to keep, you may remove or edit it.
121477 #
121478 # config.status only pays attention to the cache file if you give it
121479 # the --recheck option to rerun configure.
121480 #
121481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121483 # following values.
121484
121485 _ACEOF
121486
121487 # The following way of writing the cache mishandles newlines in values,
121488 # but we know of no workaround that is simple, portable, and efficient.
121489 # So, don't put newlines in cache variables' values.
121490 # Ultrix sh set writes to stderr and can't be redirected directly,
121491 # and sets the high bit in the cache file unless we assign to the vars.
121492 {
121493   (set) 2>&1 |
121494     case `(ac_space=' '; set | grep ac_space) 2>&1` in
121495     *ac_space=\ *)
121496       # `set' does not quote correctly, so add quotes (double-quote
121497       # substitution turns \\\\ into \\, and sed turns \\ into \).
121498       sed -n \
121499         "s/'/'\\\\''/g;
121500           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121501       ;;
121502     *)
121503       # `set' quotes correctly as required by POSIX, so do not add quotes.
121504       sed -n \
121505         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121506       ;;
121507     esac;
121508 } |
121509   sed '
121510      t clear
121511      : clear
121512      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121513      t end
121514      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121515      : end' >>confcache
121516 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121517   if test -w $cache_file; then
121518     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121519     cat confcache >$cache_file
121520   else
121521     echo "not updating unwritable cache $cache_file"
121522   fi
121523 fi
121524 rm -f confcache
121525
121526 if test ${multilib} = yes; then
121527   multilib_arg="--enable-multilib"
121528 else
121529   multilib_arg=
121530 fi
121531
121532 # Export all the install information.
121533
121534   glibcxx_toolexecdir=no
121535   glibcxx_toolexeclibdir=no
121536   glibcxx_prefixdir=$prefix
121537
121538   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
121539 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
121540
121541 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
121542 if test "${with_gxx_include_dir+set}" = set; then
121543   withval="$with_gxx_include_dir"
121544   case "$withval" in
121545       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
121546 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
121547    { (exit 1); exit 1; }; } ;;
121548       no)  gxx_include_dir=no ;;
121549       *)   gxx_include_dir=$withval ;;
121550      esac
121551 else
121552   gxx_include_dir=no
121553 fi;
121554   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121555 echo "${ECHO_T}$gxx_include_dir" >&6
121556
121557   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
121558 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
121559   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
121560 if test "${enable_version_specific_runtime_libs+set}" = set; then
121561   enableval="$enable_version_specific_runtime_libs"
121562   case "$enableval" in
121563       yes) version_specific_libs=yes ;;
121564       no)  version_specific_libs=no ;;
121565       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
121566 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
121567    { (exit 1); exit 1; }; };;
121568      esac
121569 else
121570   version_specific_libs=no
121571 fi;
121572   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
121573 echo "${ECHO_T}$version_specific_libs" >&6
121574
121575   # Default case for install directory for include files.
121576   if test $version_specific_libs = no && test $gxx_include_dir = no; then
121577     gxx_include_dir='include/c++/${gcc_version}'
121578     if test -n "$with_cross_host" &&
121579        test x"$with_cross_host" != x"no"; then
121580       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
121581     else
121582       gxx_include_dir='${prefix}/'"$gxx_include_dir"
121583     fi
121584   fi
121585
121586   # Version-specific runtime libs processing.
121587   if test $version_specific_libs = yes; then
121588     # Need the gcc compiler version to know where to install libraries
121589     # and header files if --enable-version-specific-runtime-libs option
121590     # is selected.  FIXME: these variables are misnamed, there are
121591     # no executables installed in _toolexecdir or _toolexeclibdir.
121592     if test x"$gxx_include_dir" = x"no"; then
121593       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
121594     fi
121595     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121596     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
121597   fi
121598
121599   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
121600   # Install a library built with a cross compiler in tooldir, not libdir.
121601   if test x"$glibcxx_toolexecdir" = x"no"; then
121602     if test -n "$with_cross_host" &&
121603        test x"$with_cross_host" != x"no"; then
121604       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
121605       glibcxx_toolexeclibdir='${toolexecdir}/lib'
121606     else
121607       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121608       glibcxx_toolexeclibdir='${libdir}'
121609     fi
121610     multi_os_directory=`$CXX -print-multi-os-directory`
121611     case $multi_os_directory in
121612       .) ;; # Avoid trailing /.
121613       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
121614     esac
121615   fi
121616
121617   echo "$as_me:$LINENO: checking for install location" >&5
121618 echo $ECHO_N "checking for install location... $ECHO_C" >&6
121619   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121620 echo "${ECHO_T}$gxx_include_dir" >&6
121621
121622
121623
121624
121625
121626
121627
121628 # Export all the include and flag information to Makefiles.
121629
121630   # Used for every C++ compile we perform.
121631   GLIBCXX_INCLUDES="\
121632 -I$glibcxx_builddir/include/$host_alias \
121633 -I$glibcxx_builddir/include \
121634 -I$glibcxx_srcdir/libsupc++"
121635
121636   # For Canadian crosses, pick this up too.
121637   if test $CANADIAN = yes; then
121638     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
121639   fi
121640
121641   # Stuff in the actual top level.  Currently only used by libsupc++ to
121642   # get unwind* headers from the gcc dir.
121643   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
121644   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
121645
121646   # Now, export this to all the little Makefiles....
121647
121648
121649
121650
121651   # Optimization flags that are probably a good idea for thrill-seekers. Just
121652   # uncomment the lines below and make, everything else is ready to go...
121653   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
121654   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
121655
121656
121657   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
121658
121659
121660
121661 if test "$enable_shared" = yes; then
121662   LIBSUPCXX_PICFLAGS="-prefer-pic"
121663 else
121664   LIBSUPCXX_PICFLAGS=
121665 fi
121666
121667
121668                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
121669
121670           ac_config_files="$ac_config_files scripts/testsuite_flags"
121671
121672
121673           ac_config_commands="$ac_config_commands default"
121674
121675
121676 cat >confcache <<\_ACEOF
121677 # This file is a shell script that caches the results of configure
121678 # tests run on this system so they can be shared between configure
121679 # scripts and configure runs, see configure's option --config-cache.
121680 # It is not useful on other systems.  If it contains results you don't
121681 # want to keep, you may remove or edit it.
121682 #
121683 # config.status only pays attention to the cache file if you give it
121684 # the --recheck option to rerun configure.
121685 #
121686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121688 # following values.
121689
121690 _ACEOF
121691
121692 # The following way of writing the cache mishandles newlines in values,
121693 # but we know of no workaround that is simple, portable, and efficient.
121694 # So, don't put newlines in cache variables' values.
121695 # Ultrix sh set writes to stderr and can't be redirected directly,
121696 # and sets the high bit in the cache file unless we assign to the vars.
121697 {
121698   (set) 2>&1 |
121699     case `(ac_space=' '; set | grep ac_space) 2>&1` in
121700     *ac_space=\ *)
121701       # `set' does not quote correctly, so add quotes (double-quote
121702       # substitution turns \\\\ into \\, and sed turns \\ into \).
121703       sed -n \
121704         "s/'/'\\\\''/g;
121705           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121706       ;;
121707     *)
121708       # `set' quotes correctly as required by POSIX, so do not add quotes.
121709       sed -n \
121710         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121711       ;;
121712     esac;
121713 } |
121714   sed '
121715      t clear
121716      : clear
121717      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121718      t end
121719      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121720      : end' >>confcache
121721 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121722   if test -w $cache_file; then
121723     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121724     cat confcache >$cache_file
121725   else
121726     echo "not updating unwritable cache $cache_file"
121727   fi
121728 fi
121729 rm -f confcache
121730
121731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
121732 # Let make expand exec_prefix.
121733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
121734
121735 # VPATH may cause trouble with some makes, so we remove $(srcdir),
121736 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
121737 # trailing colons and then remove the whole line if VPATH becomes empty
121738 # (actually we leave an empty line to preserve line numbers).
121739 if test "x$srcdir" = x.; then
121740   ac_vpsub='/^[  ]*VPATH[        ]*=/{
121741 s/:*\$(srcdir):*/:/;
121742 s/:*\${srcdir}:*/:/;
121743 s/:*@srcdir@:*/:/;
121744 s/^\([^=]*=[     ]*\):*/\1/;
121745 s/:*$//;
121746 s/^[^=]*=[       ]*$//;
121747 }'
121748 fi
121749
121750 DEFS=-DHAVE_CONFIG_H
121751
121752 ac_libobjs=
121753 ac_ltlibobjs=
121754 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
121755   # 1. Remove the extension, and $U if already installed.
121756   ac_i=`echo "$ac_i" |
121757          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
121758   # 2. Add them.
121759   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
121760   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
121761 done
121762 LIBOBJS=$ac_libobjs
121763
121764 LTLIBOBJS=$ac_ltlibobjs
121765
121766
121767 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
121768   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
121769 Usually this means the macro was only invoked conditionally." >&5
121770 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
121771 Usually this means the macro was only invoked conditionally." >&2;}
121772    { (exit 1); exit 1; }; }
121773 fi
121774 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
121775   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121776 Usually this means the macro was only invoked conditionally." >&5
121777 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121778 Usually this means the macro was only invoked conditionally." >&2;}
121779    { (exit 1); exit 1; }; }
121780 fi
121781 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
121782   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121783 Usually this means the macro was only invoked conditionally." >&5
121784 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121785 Usually this means the macro was only invoked conditionally." >&2;}
121786    { (exit 1); exit 1; }; }
121787 fi
121788 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
121789   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121790 Usually this means the macro was only invoked conditionally." >&5
121791 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121792 Usually this means the macro was only invoked conditionally." >&2;}
121793    { (exit 1); exit 1; }; }
121794 fi
121795 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
121796   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121797 Usually this means the macro was only invoked conditionally." >&5
121798 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121799 Usually this means the macro was only invoked conditionally." >&2;}
121800    { (exit 1); exit 1; }; }
121801 fi
121802 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
121803   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121804 Usually this means the macro was only invoked conditionally." >&5
121805 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121806 Usually this means the macro was only invoked conditionally." >&2;}
121807    { (exit 1); exit 1; }; }
121808 fi
121809 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
121810   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121811 Usually this means the macro was only invoked conditionally." >&5
121812 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121813 Usually this means the macro was only invoked conditionally." >&2;}
121814    { (exit 1); exit 1; }; }
121815 fi
121816 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
121817   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121818 Usually this means the macro was only invoked conditionally." >&5
121819 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121820 Usually this means the macro was only invoked conditionally." >&2;}
121821    { (exit 1); exit 1; }; }
121822 fi
121823 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
121824   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121825 Usually this means the macro was only invoked conditionally." >&5
121826 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121827 Usually this means the macro was only invoked conditionally." >&2;}
121828    { (exit 1); exit 1; }; }
121829 fi
121830 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
121831   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
121832 Usually this means the macro was only invoked conditionally." >&5
121833 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
121834 Usually this means the macro was only invoked conditionally." >&2;}
121835    { (exit 1); exit 1; }; }
121836 fi
121837 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
121838   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
121839 Usually this means the macro was only invoked conditionally." >&5
121840 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
121841 Usually this means the macro was only invoked conditionally." >&2;}
121842    { (exit 1); exit 1; }; }
121843 fi
121844 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
121845   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121846 Usually this means the macro was only invoked conditionally." >&5
121847 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121848 Usually this means the macro was only invoked conditionally." >&2;}
121849    { (exit 1); exit 1; }; }
121850 fi
121851 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
121852   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121853 Usually this means the macro was only invoked conditionally." >&5
121854 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121855 Usually this means the macro was only invoked conditionally." >&2;}
121856    { (exit 1); exit 1; }; }
121857 fi
121858 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
121859   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121860 Usually this means the macro was only invoked conditionally." >&5
121861 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121862 Usually this means the macro was only invoked conditionally." >&2;}
121863    { (exit 1); exit 1; }; }
121864 fi
121865 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
121866   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121867 Usually this means the macro was only invoked conditionally." >&5
121868 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121869 Usually this means the macro was only invoked conditionally." >&2;}
121870    { (exit 1); exit 1; }; }
121871 fi
121872 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
121873   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121874 Usually this means the macro was only invoked conditionally." >&5
121875 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121876 Usually this means the macro was only invoked conditionally." >&2;}
121877    { (exit 1); exit 1; }; }
121878 fi
121879
121880 : ${CONFIG_STATUS=./config.status}
121881 ac_clean_files_save=$ac_clean_files
121882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
121883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
121884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
121885 cat >$CONFIG_STATUS <<_ACEOF
121886 #! $SHELL
121887 # Generated by $as_me.
121888 # Run this file to recreate the current configuration.
121889 # Compiler output produced by configure, useful for debugging
121890 # configure, is in config.log if it exists.
121891
121892 debug=false
121893 ac_cs_recheck=false
121894 ac_cs_silent=false
121895 SHELL=\${CONFIG_SHELL-$SHELL}
121896 _ACEOF
121897
121898 cat >>$CONFIG_STATUS <<\_ACEOF
121899 ## --------------------- ##
121900 ## M4sh Initialization.  ##
121901 ## --------------------- ##
121902
121903 # Be Bourne compatible
121904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
121905   emulate sh
121906   NULLCMD=:
121907   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
121908   # is contrary to our usage.  Disable this feature.
121909   alias -g '${1+"$@"}'='"$@"'
121910 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
121911   set -o posix
121912 fi
121913 DUALCASE=1; export DUALCASE # for MKS sh
121914
121915 # Support unset when possible.
121916 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
121917   as_unset=unset
121918 else
121919   as_unset=false
121920 fi
121921
121922
121923 # Work around bugs in pre-3.0 UWIN ksh.
121924 $as_unset ENV MAIL MAILPATH
121925 PS1='$ '
121926 PS2='> '
121927 PS4='+ '
121928
121929 # NLS nuisances.
121930 for as_var in \
121931   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
121932   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
121933   LC_TELEPHONE LC_TIME
121934 do
121935   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121936     eval $as_var=C; export $as_var
121937   else
121938     $as_unset $as_var
121939   fi
121940 done
121941
121942 # Required to use basename.
121943 if expr a : '\(a\)' >/dev/null 2>&1; then
121944   as_expr=expr
121945 else
121946   as_expr=false
121947 fi
121948
121949 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121950   as_basename=basename
121951 else
121952   as_basename=false
121953 fi
121954
121955
121956 # Name of the executable.
121957 as_me=`$as_basename "$0" ||
121958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121959          X"$0" : 'X\(//\)$' \| \
121960          X"$0" : 'X\(/\)$' \| \
121961          .     : '\(.\)' 2>/dev/null ||
121962 echo X/"$0" |
121963     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121964           /^X\/\(\/\/\)$/{ s//\1/; q; }
121965           /^X\/\(\/\).*/{ s//\1/; q; }
121966           s/.*/./; q'`
121967
121968
121969 # PATH needs CR, and LINENO needs CR and PATH.
121970 # Avoid depending upon Character Ranges.
121971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121974 as_cr_digits='0123456789'
121975 as_cr_alnum=$as_cr_Letters$as_cr_digits
121976
121977 # The user is always right.
121978 if test "${PATH_SEPARATOR+set}" != set; then
121979   echo "#! /bin/sh" >conf$$.sh
121980   echo  "exit 0"   >>conf$$.sh
121981   chmod +x conf$$.sh
121982   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121983     PATH_SEPARATOR=';'
121984   else
121985     PATH_SEPARATOR=:
121986   fi
121987   rm -f conf$$.sh
121988 fi
121989
121990
121991   as_lineno_1=$LINENO
121992   as_lineno_2=$LINENO
121993   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121994   test "x$as_lineno_1" != "x$as_lineno_2" &&
121995   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
121996   # Find who we are.  Look in the path if we contain no path at all
121997   # relative or not.
121998   case $0 in
121999     *[\\/]* ) as_myself=$0 ;;
122000     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122001 for as_dir in $PATH
122002 do
122003   IFS=$as_save_IFS
122004   test -z "$as_dir" && as_dir=.
122005   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122006 done
122007
122008        ;;
122009   esac
122010   # We did not find ourselves, most probably we were run as `sh COMMAND'
122011   # in which case we are not to be found in the path.
122012   if test "x$as_myself" = x; then
122013     as_myself=$0
122014   fi
122015   if test ! -f "$as_myself"; then
122016     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
122017 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
122018    { (exit 1); exit 1; }; }
122019   fi
122020   case $CONFIG_SHELL in
122021   '')
122022     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
122023 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
122024 do
122025   IFS=$as_save_IFS
122026   test -z "$as_dir" && as_dir=.
122027   for as_base in sh bash ksh sh5; do
122028          case $as_dir in
122029          /*)
122030            if ("$as_dir/$as_base" -c '
122031   as_lineno_1=$LINENO
122032   as_lineno_2=$LINENO
122033   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
122034   test "x$as_lineno_1" != "x$as_lineno_2" &&
122035   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
122036              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
122037              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
122038              CONFIG_SHELL=$as_dir/$as_base
122039              export CONFIG_SHELL
122040              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
122041            fi;;
122042          esac
122043        done
122044 done
122045 ;;
122046   esac
122047
122048   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
122049   # uniformly replaced by the line number.  The first 'sed' inserts a
122050   # line-number line before each line; the second 'sed' does the real
122051   # work.  The second script uses 'N' to pair each line-number line
122052   # with the numbered line, and appends trailing '-' during
122053   # substitution so that $LINENO is not a special case at line end.
122054   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
122055   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
122056   sed '=' <$as_myself |
122057     sed '
122058       N
122059       s,$,-,
122060       : loop
122061       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
122062       t loop
122063       s,-$,,
122064       s,^['$as_cr_digits']*\n,,
122065     ' >$as_me.lineno &&
122066   chmod +x $as_me.lineno ||
122067     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
122068 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
122069    { (exit 1); exit 1; }; }
122070
122071   # Don't try to exec as it changes $[0], causing all sort of problems
122072   # (the dirname of $[0] is not the place where we might find the
122073   # original and so on.  Autoconf is especially sensible to this).
122074   . ./$as_me.lineno
122075   # Exit status is that of the last command.
122076   exit
122077 }
122078
122079
122080 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
122081   *c*,-n*) ECHO_N= ECHO_C='
122082 ' ECHO_T='      ' ;;
122083   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
122084   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
122085 esac
122086
122087 if expr a : '\(a\)' >/dev/null 2>&1; then
122088   as_expr=expr
122089 else
122090   as_expr=false
122091 fi
122092
122093 rm -f conf$$ conf$$.exe conf$$.file
122094 echo >conf$$.file
122095 if ln -s conf$$.file conf$$ 2>/dev/null; then
122096   # We could just check for DJGPP; but this test a) works b) is more generic
122097   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
122098   if test -f conf$$.exe; then
122099     # Don't use ln at all; we don't have any links
122100     as_ln_s='cp -p'
122101   else
122102     as_ln_s='ln -s'
122103   fi
122104 elif ln conf$$.file conf$$ 2>/dev/null; then
122105   as_ln_s=ln
122106 else
122107   as_ln_s='cp -p'
122108 fi
122109 rm -f conf$$ conf$$.exe conf$$.file
122110
122111 if mkdir -p . 2>/dev/null; then
122112   as_mkdir_p=:
122113 else
122114   test -d ./-p && rmdir ./-p
122115   as_mkdir_p=false
122116 fi
122117
122118 as_executable_p="test -f"
122119
122120 # Sed expression to map a string onto a valid CPP name.
122121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
122122
122123 # Sed expression to map a string onto a valid variable name.
122124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
122125
122126
122127 # IFS
122128 # We need space, tab and new line, in precisely that order.
122129 as_nl='
122130 '
122131 IFS="   $as_nl"
122132
122133 # CDPATH.
122134 $as_unset CDPATH
122135
122136 exec 6>&1
122137
122138 # Open the log real soon, to keep \$[0] and so on meaningful, and to
122139 # report actual input values of CONFIG_FILES etc. instead of their
122140 # values after options handling.  Logging --version etc. is OK.
122141 exec 5>>config.log
122142 {
122143   echo
122144   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
122145 ## Running $as_me. ##
122146 _ASBOX
122147 } >&5
122148 cat >&5 <<_CSEOF
122149
122150 This file was extended by package-unused $as_me version-unused, which was
122151 generated by GNU Autoconf 2.59.  Invocation command line was
122152
122153   CONFIG_FILES    = $CONFIG_FILES
122154   CONFIG_HEADERS  = $CONFIG_HEADERS
122155   CONFIG_LINKS    = $CONFIG_LINKS
122156   CONFIG_COMMANDS = $CONFIG_COMMANDS
122157   $ $0 $@
122158
122159 _CSEOF
122160 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
122161 echo >&5
122162 _ACEOF
122163
122164 # Files that config.status was made for.
122165 if test -n "$ac_config_files"; then
122166   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
122167 fi
122168
122169 if test -n "$ac_config_headers"; then
122170   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
122171 fi
122172
122173 if test -n "$ac_config_links"; then
122174   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
122175 fi
122176
122177 if test -n "$ac_config_commands"; then
122178   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
122179 fi
122180
122181 cat >>$CONFIG_STATUS <<\_ACEOF
122182
122183 ac_cs_usage="\
122184 \`$as_me' instantiates files from templates according to the
122185 current configuration.
122186
122187 Usage: $0 [OPTIONS] [FILE]...
122188
122189   -h, --help       print this help, then exit
122190   -V, --version    print version number, then exit
122191   -q, --quiet      do not print progress messages
122192   -d, --debug      don't remove temporary files
122193       --recheck    update $as_me by reconfiguring in the same conditions
122194   --file=FILE[:TEMPLATE]
122195                    instantiate the configuration file FILE
122196   --header=FILE[:TEMPLATE]
122197                    instantiate the configuration header FILE
122198
122199 Configuration files:
122200 $config_files
122201
122202 Configuration headers:
122203 $config_headers
122204
122205 Configuration commands:
122206 $config_commands
122207
122208 Report bugs to <bug-autoconf@gnu.org>."
122209 _ACEOF
122210
122211 cat >>$CONFIG_STATUS <<_ACEOF
122212 ac_cs_version="\\
122213 package-unused config.status version-unused
122214 configured by $0, generated by GNU Autoconf 2.59,
122215   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
122216
122217 Copyright (C) 2003 Free Software Foundation, Inc.
122218 This config.status script is free software; the Free Software Foundation
122219 gives unlimited permission to copy, distribute and modify it."
122220 srcdir=$srcdir
122221 INSTALL="$INSTALL"
122222 _ACEOF
122223
122224 cat >>$CONFIG_STATUS <<\_ACEOF
122225 # If no file are specified by the user, then we need to provide default
122226 # value.  By we need to know if files were specified by the user.
122227 ac_need_defaults=:
122228 while test $# != 0
122229 do
122230   case $1 in
122231   --*=*)
122232     ac_option=`expr "x$1" : 'x\([^=]*\)='`
122233     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
122234     ac_shift=:
122235     ;;
122236   -*)
122237     ac_option=$1
122238     ac_optarg=$2
122239     ac_shift=shift
122240     ;;
122241   *) # This is not an option, so the user has probably given explicit
122242      # arguments.
122243      ac_option=$1
122244      ac_need_defaults=false;;
122245   esac
122246
122247   case $ac_option in
122248   # Handling of the options.
122249 _ACEOF
122250 cat >>$CONFIG_STATUS <<\_ACEOF
122251   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
122252     ac_cs_recheck=: ;;
122253   --version | --vers* | -V )
122254     echo "$ac_cs_version"; exit 0 ;;
122255   --he | --h)
122256     # Conflict between --help and --header
122257     { { echo "$as_me:$LINENO: error: ambiguous option: $1
122258 Try \`$0 --help' for more information." >&5
122259 echo "$as_me: error: ambiguous option: $1
122260 Try \`$0 --help' for more information." >&2;}
122261    { (exit 1); exit 1; }; };;
122262   --help | --hel | -h )
122263     echo "$ac_cs_usage"; exit 0 ;;
122264   --debug | --d* | -d )
122265     debug=: ;;
122266   --file | --fil | --fi | --f )
122267     $ac_shift
122268     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
122269     ac_need_defaults=false;;
122270   --header | --heade | --head | --hea )
122271     $ac_shift
122272     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
122273     ac_need_defaults=false;;
122274   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
122275   | -silent | --silent | --silen | --sile | --sil | --si | --s)
122276     ac_cs_silent=: ;;
122277
122278   # This is an error.
122279   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
122280 Try \`$0 --help' for more information." >&5
122281 echo "$as_me: error: unrecognized option: $1
122282 Try \`$0 --help' for more information." >&2;}
122283    { (exit 1); exit 1; }; } ;;
122284
122285   *) ac_config_targets="$ac_config_targets $1" ;;
122286
122287   esac
122288   shift
122289 done
122290
122291 ac_configure_extra_args=
122292
122293 if $ac_cs_silent; then
122294   exec 6>/dev/null
122295   ac_configure_extra_args="$ac_configure_extra_args --silent"
122296 fi
122297
122298 _ACEOF
122299 cat >>$CONFIG_STATUS <<_ACEOF
122300 if \$ac_cs_recheck; then
122301   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
122302   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
122303 fi
122304
122305 _ACEOF
122306
122307 cat >>$CONFIG_STATUS <<_ACEOF
122308 #
122309 # INIT-COMMANDS section.
122310 #
122311
122312
122313 srcdir="$srcdir"
122314 host="$host"
122315 target="$target"
122316 with_multisubdir="$with_multisubdir"
122317 with_multisrctop="$with_multisrctop"
122318 with_target_subdir="$with_target_subdir"
122319 ac_configure_args="${multilib_arg} ${ac_configure_args}"
122320 multi_basedir="$multi_basedir"
122321 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
122322 CC="$CC"
122323
122324
122325 # The HP-UX ksh and POSIX shell print the target directory to stdout
122326 # if CDPATH is set.
122327 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
122328
122329 sed_quote_subst='$sed_quote_subst'
122330 double_quote_subst='$double_quote_subst'
122331 delay_variable_subst='$delay_variable_subst'
122332 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
122333 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
122334 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
122335 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
122336 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
122337 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
122338 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
122339 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
122340 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
122341 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
122342 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
122343 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
122344 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
122345 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
122346 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
122347 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
122348 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
122349 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
122350 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
122351 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
122352 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
122353 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
122354 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
122355 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
122356 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
122357 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
122358 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
122359 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122360 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
122361 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
122362 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
122363 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122364 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
122365 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
122366 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122367 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122368 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122369 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
122370 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122371 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
122372 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
122373 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
122374 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
122375 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"`'
122376 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
122377 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
122378 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
122379 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
122380 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
122381 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
122382 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
122383 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
122384 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
122385 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
122386 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
122387 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122388 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122389 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
122390 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
122391 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122392 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122393 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
122394 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122395 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122396 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122397 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122398 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122399 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122400 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
122401 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122402 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122403 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122404 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
122405 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
122406 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
122407 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
122408 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
122409 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122410 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
122411 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
122412 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
122413 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
122414 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
122415 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122416 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122417 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122418 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122419 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
122420 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
122421 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
122422 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
122423 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
122424 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122425 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122426 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
122427 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122428 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
122429 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122430 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122431 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122432 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122433 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
122434 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
122435 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122436 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122437 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
122438 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
122439 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
122440 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
122441 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
122442 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
122443 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122444 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122445 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
122446 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
122447 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
122448 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122449 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122450 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122451 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122452 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122453 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122454 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122455 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122456 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122457 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122458 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122459 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122460 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122461 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122462 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122463 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122464 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122465 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122466 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122467 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122468 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122469 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122470 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122471 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122472 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122473 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122474 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122475 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122476 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122477 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122478 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122479 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122480 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122481 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122482 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122483 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122484 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122485 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122486 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122487 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122488 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122489 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122490 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122491 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122492 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122493 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122494
122495 LTCC='$LTCC'
122496 LTCFLAGS='$LTCFLAGS'
122497 compiler='$compiler_DEFAULT'
122498
122499 # Quote evaled strings.
122500 for var in SED \
122501 GREP \
122502 EGREP \
122503 FGREP \
122504 LD \
122505 NM \
122506 LN_S \
122507 lt_SP2NL \
122508 lt_NL2SP \
122509 reload_flag \
122510 deplibs_check_method \
122511 file_magic_cmd \
122512 AR \
122513 AR_FLAGS \
122514 STRIP \
122515 RANLIB \
122516 CC \
122517 CFLAGS \
122518 compiler \
122519 lt_cv_sys_global_symbol_pipe \
122520 lt_cv_sys_global_symbol_to_cdecl \
122521 lt_cv_sys_global_symbol_to_c_name_address \
122522 SHELL \
122523 ECHO \
122524 lt_prog_compiler_no_builtin_flag \
122525 lt_prog_compiler_wl \
122526 lt_prog_compiler_pic \
122527 lt_prog_compiler_static \
122528 lt_cv_prog_compiler_c_o \
122529 need_locks \
122530 shrext_cmds \
122531 export_dynamic_flag_spec \
122532 whole_archive_flag_spec \
122533 compiler_needs_object \
122534 with_gnu_ld \
122535 allow_undefined_flag \
122536 no_undefined_flag \
122537 hardcode_libdir_flag_spec \
122538 hardcode_libdir_flag_spec_ld \
122539 hardcode_libdir_separator \
122540 fix_srcfile_path \
122541 exclude_expsyms \
122542 include_expsyms \
122543 file_list_spec \
122544 variables_saved_for_relink \
122545 libname_spec \
122546 library_names_spec \
122547 soname_spec \
122548 finish_eval \
122549 old_striplib \
122550 striplib \
122551 predep_objects \
122552 postdep_objects \
122553 predeps \
122554 postdeps \
122555 compiler_lib_search_path \
122556 LD_CXX \
122557 compiler_CXX \
122558 lt_prog_compiler_no_builtin_flag_CXX \
122559 lt_prog_compiler_wl_CXX \
122560 lt_prog_compiler_pic_CXX \
122561 lt_prog_compiler_static_CXX \
122562 lt_cv_prog_compiler_c_o_CXX \
122563 export_dynamic_flag_spec_CXX \
122564 whole_archive_flag_spec_CXX \
122565 compiler_needs_object_CXX \
122566 with_gnu_ld_CXX \
122567 allow_undefined_flag_CXX \
122568 no_undefined_flag_CXX \
122569 hardcode_libdir_flag_spec_CXX \
122570 hardcode_libdir_flag_spec_ld_CXX \
122571 hardcode_libdir_separator_CXX \
122572 fix_srcfile_path_CXX \
122573 exclude_expsyms_CXX \
122574 include_expsyms_CXX \
122575 file_list_spec_CXX \
122576 predep_objects_CXX \
122577 postdep_objects_CXX \
122578 predeps_CXX \
122579 postdeps_CXX \
122580 compiler_lib_search_path_CXX; do
122581     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122582     *[\\\\\\\`\\"\\\$]*)
122583       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
122584       ;;
122585     *)
122586       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122587       ;;
122588     esac
122589 done
122590
122591 # Double-quote double-evaled strings.
122592 for var in reload_cmds \
122593 old_postinstall_cmds \
122594 old_postuninstall_cmds \
122595 old_archive_cmds \
122596 extract_expsyms_cmds \
122597 old_archive_from_new_cmds \
122598 old_archive_from_expsyms_cmds \
122599 archive_cmds \
122600 archive_expsym_cmds \
122601 module_cmds \
122602 module_expsym_cmds \
122603 export_symbols_cmds \
122604 prelink_cmds \
122605 postinstall_cmds \
122606 postuninstall_cmds \
122607 finish_cmds \
122608 sys_lib_search_path_spec \
122609 sys_lib_dlsearch_path_spec \
122610 old_archive_cmds_CXX \
122611 old_archive_from_new_cmds_CXX \
122612 old_archive_from_expsyms_cmds_CXX \
122613 archive_cmds_CXX \
122614 archive_expsym_cmds_CXX \
122615 module_cmds_CXX \
122616 module_expsym_cmds_CXX \
122617 export_symbols_cmds_CXX \
122618 prelink_cmds_CXX; do
122619     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122620     *[\\\\\\\`\\"\\\$]*)
122621       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
122622       ;;
122623     *)
122624       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122625       ;;
122626     esac
122627 done
122628
122629 # Fix-up fallback echo if it was mangled by the above quoting rules.
122630 case \$lt_ECHO in
122631 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
122632   ;;
122633 esac
122634
122635 ac_aux_dir='$ac_aux_dir'
122636 xsi_shell='$xsi_shell'
122637 lt_shell_append='$lt_shell_append'
122638
122639 # See if we are running on zsh, and set the options which allow our
122640 # commands through without removal of \ escapes INIT.
122641 if test -n "\${ZSH_VERSION+set}" ; then
122642    setopt NO_GLOB_SUBST
122643 fi
122644
122645
122646     PACKAGE='$PACKAGE'
122647     VERSION='$VERSION'
122648     TIMESTAMP='$TIMESTAMP'
122649     RM='$RM'
122650     ofile='$ofile'
122651
122652
122653
122654
122655
122656
122657 GCC="$GCC"
122658 CC="$CC"
122659 acx_cv_header_stdint="$acx_cv_header_stdint"
122660 acx_cv_type_int8_t="$acx_cv_type_int8_t"
122661 acx_cv_type_int16_t="$acx_cv_type_int16_t"
122662 acx_cv_type_int32_t="$acx_cv_type_int32_t"
122663 acx_cv_type_int64_t="$acx_cv_type_int64_t"
122664 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
122665 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
122666 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
122667 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
122668 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
122669 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
122670 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
122671 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
122672 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
122673
122674
122675 # Variables needed in config.status (file generation) which aren't already
122676 # passed by autoconf.
122677 SUBDIRS="$SUBDIRS"
122678
122679
122680 _ACEOF
122681
122682
122683
122684 cat >>$CONFIG_STATUS <<\_ACEOF
122685 for ac_config_target in $ac_config_targets
122686 do
122687   case "$ac_config_target" in
122688   # Handling of arguments.
122689   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
122690   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
122691   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
122692   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
122693   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
122694   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
122695   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
122696   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
122697   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
122698   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
122699   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
122700   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
122701   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
122702   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
122703   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
122704 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
122705    { (exit 1); exit 1; }; };;
122706   esac
122707 done
122708
122709 # If the user did not use the arguments to specify the items to instantiate,
122710 # then the envvar interface is used.  Set only those that are not.
122711 # We use the long form for the default assignment because of an extremely
122712 # bizarre bug on SunOS 4.1.3.
122713 if $ac_need_defaults; then
122714   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
122715   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
122716   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
122717 fi
122718
122719 # Have a temporary directory for convenience.  Make it in the build tree
122720 # simply because there is no reason to put it here, and in addition,
122721 # creating and moving files from /tmp can sometimes cause problems.
122722 # Create a temporary directory, and hook for its removal unless debugging.
122723 $debug ||
122724 {
122725   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
122726   trap '{ (exit 1); exit 1; }' 1 2 13 15
122727 }
122728
122729 # Create a (secure) tmp directory for tmp files.
122730
122731 {
122732   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
122733   test -n "$tmp" && test -d "$tmp"
122734 }  ||
122735 {
122736   tmp=./confstat$$-$RANDOM
122737   (umask 077 && mkdir $tmp)
122738 } ||
122739 {
122740    echo "$me: cannot create a temporary directory in ." >&2
122741    { (exit 1); exit 1; }
122742 }
122743
122744 _ACEOF
122745
122746 cat >>$CONFIG_STATUS <<_ACEOF
122747
122748 #
122749 # CONFIG_FILES section.
122750 #
122751
122752 # No need to generate the scripts if there are no CONFIG_FILES.
122753 # This happens for instance when ./config.status config.h
122754 if test -n "\$CONFIG_FILES"; then
122755   # Protect against being on the right side of a sed subst in config.status.
122756   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
122757    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
122758 s,@SHELL@,$SHELL,;t t
122759 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
122760 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
122761 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
122762 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
122763 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
122764 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
122765 s,@exec_prefix@,$exec_prefix,;t t
122766 s,@prefix@,$prefix,;t t
122767 s,@program_transform_name@,$program_transform_name,;t t
122768 s,@bindir@,$bindir,;t t
122769 s,@sbindir@,$sbindir,;t t
122770 s,@libexecdir@,$libexecdir,;t t
122771 s,@datadir@,$datadir,;t t
122772 s,@sysconfdir@,$sysconfdir,;t t
122773 s,@sharedstatedir@,$sharedstatedir,;t t
122774 s,@localstatedir@,$localstatedir,;t t
122775 s,@libdir@,$libdir,;t t
122776 s,@includedir@,$includedir,;t t
122777 s,@oldincludedir@,$oldincludedir,;t t
122778 s,@infodir@,$infodir,;t t
122779 s,@mandir@,$mandir,;t t
122780 s,@build_alias@,$build_alias,;t t
122781 s,@host_alias@,$host_alias,;t t
122782 s,@target_alias@,$target_alias,;t t
122783 s,@DEFS@,$DEFS,;t t
122784 s,@ECHO_C@,$ECHO_C,;t t
122785 s,@ECHO_N@,$ECHO_N,;t t
122786 s,@ECHO_T@,$ECHO_T,;t t
122787 s,@LIBS@,$LIBS,;t t
122788 s,@libtool_VERSION@,$libtool_VERSION,;t t
122789 s,@multi_basedir@,$multi_basedir,;t t
122790 s,@build@,$build,;t t
122791 s,@build_cpu@,$build_cpu,;t t
122792 s,@build_vendor@,$build_vendor,;t t
122793 s,@build_os@,$build_os,;t t
122794 s,@host@,$host,;t t
122795 s,@host_cpu@,$host_cpu,;t t
122796 s,@host_vendor@,$host_vendor,;t t
122797 s,@host_os@,$host_os,;t t
122798 s,@target@,$target,;t t
122799 s,@target_cpu@,$target_cpu,;t t
122800 s,@target_vendor@,$target_vendor,;t t
122801 s,@target_os@,$target_os,;t t
122802 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
122803 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
122804 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
122805 s,@CYGPATH_W@,$CYGPATH_W,;t t
122806 s,@PACKAGE@,$PACKAGE,;t t
122807 s,@VERSION@,$VERSION,;t t
122808 s,@ACLOCAL@,$ACLOCAL,;t t
122809 s,@AUTOCONF@,$AUTOCONF,;t t
122810 s,@AUTOMAKE@,$AUTOMAKE,;t t
122811 s,@AUTOHEADER@,$AUTOHEADER,;t t
122812 s,@MAKEINFO@,$MAKEINFO,;t t
122813 s,@install_sh@,$install_sh,;t t
122814 s,@STRIP@,$STRIP,;t t
122815 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
122816 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
122817 s,@mkdir_p@,$mkdir_p,;t t
122818 s,@AWK@,$AWK,;t t
122819 s,@SET_MAKE@,$SET_MAKE,;t t
122820 s,@am__leading_dot@,$am__leading_dot,;t t
122821 s,@AMTAR@,$AMTAR,;t t
122822 s,@am__tar@,$am__tar,;t t
122823 s,@am__untar@,$am__untar,;t t
122824 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
122825 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
122826 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
122827 s,@CC@,$CC,;t t
122828 s,@ac_ct_CC@,$ac_ct_CC,;t t
122829 s,@EXEEXT@,$EXEEXT,;t t
122830 s,@OBJEXT@,$OBJEXT,;t t
122831 s,@CXX@,$CXX,;t t
122832 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
122833 s,@CFLAGS@,$CFLAGS,;t t
122834 s,@CXXFLAGS@,$CXXFLAGS,;t t
122835 s,@LN_S@,$LN_S,;t t
122836 s,@AS@,$AS,;t t
122837 s,@ac_ct_AS@,$ac_ct_AS,;t t
122838 s,@AR@,$AR,;t t
122839 s,@ac_ct_AR@,$ac_ct_AR,;t t
122840 s,@RANLIB@,$RANLIB,;t t
122841 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
122842 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
122843 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
122844 s,@MAINT@,$MAINT,;t t
122845 s,@CPP@,$CPP,;t t
122846 s,@CPPFLAGS@,$CPPFLAGS,;t t
122847 s,@EGREP@,$EGREP,;t t
122848 s,@LIBTOOL@,$LIBTOOL,;t t
122849 s,@SED@,$SED,;t t
122850 s,@FGREP@,$FGREP,;t t
122851 s,@GREP@,$GREP,;t t
122852 s,@LD@,$LD,;t t
122853 s,@DUMPBIN@,$DUMPBIN,;t t
122854 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
122855 s,@NM@,$NM,;t t
122856 s,@lt_ECHO@,$lt_ECHO,;t t
122857 s,@LDFLAGS@,$LDFLAGS,;t t
122858 s,@CXXCPP@,$CXXCPP,;t t
122859 s,@enable_shared@,$enable_shared,;t t
122860 s,@enable_static@,$enable_static,;t t
122861 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
122862 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
122863 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
122864 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
122865 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
122866 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
122867 s,@WERROR@,$WERROR,;t t
122868 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
122869 s,@CSTDIO_H@,$CSTDIO_H,;t t
122870 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
122871 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
122872 s,@check_msgfmt@,$check_msgfmt,;t t
122873 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
122874 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
122875 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
122876 s,@USE_NLS@,$USE_NLS,;t t
122877 s,@CLOCALE_H@,$CLOCALE_H,;t t
122878 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
122879 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
122880 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
122881 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
122882 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
122883 s,@CMONEY_CC@,$CMONEY_CC,;t t
122884 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
122885 s,@CTIME_H@,$CTIME_H,;t t
122886 s,@CTIME_CC@,$CTIME_CC,;t t
122887 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
122888 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
122889 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
122890 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
122891 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
122892 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
122893 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
122894 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
122895 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
122896 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
122897 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
122898 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
122899 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
122900 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
122901 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
122902 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
122903 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
122904 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
122905 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
122906 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
122907 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
122908 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
122909 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
122910 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
122911 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
122912 s,@LIBICONV@,$LIBICONV,;t t
122913 s,@LTLIBICONV@,$LTLIBICONV,;t t
122914 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
122915 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
122916 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
122917 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
122918 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
122919 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
122920 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
122921 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
122922 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
122923 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
122924 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
122925 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
122926 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
122927 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
122928 s,@baseline_dir@,$baseline_dir,;t t
122929 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
122930 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
122931 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
122932 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
122933 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
122934 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
122935 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
122936 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122937 s,@gxx_include_dir@,$gxx_include_dir,;t t
122938 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122939 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122940 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122941 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122942 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122943 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122944 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122945 s,@LIBOBJS@,$LIBOBJS,;t t
122946 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122947 CEOF
122948
122949 _ACEOF
122950
122951   cat >>$CONFIG_STATUS <<\_ACEOF
122952   # Split the substitutions into bite-sized pieces for seds with
122953   # small command number limits, like on Digital OSF/1 and HP-UX.
122954   ac_max_sed_lines=48
122955   ac_sed_frag=1 # Number of current file.
122956   ac_beg=1 # First line for current file.
122957   ac_end=$ac_max_sed_lines # Line after last line for current file.
122958   ac_more_lines=:
122959   ac_sed_cmds=
122960   while $ac_more_lines; do
122961     if test $ac_beg -gt 1; then
122962       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122963     else
122964       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122965     fi
122966     if test ! -s $tmp/subs.frag; then
122967       ac_more_lines=false
122968     else
122969       # The purpose of the label and of the branching condition is to
122970       # speed up the sed processing (if there are no `@' at all, there
122971       # is no need to browse any of the substitutions).
122972       # These are the two extra sed commands mentioned above.
122973       (echo ':t
122974   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122975       if test -z "$ac_sed_cmds"; then
122976         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122977       else
122978         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122979       fi
122980       ac_sed_frag=`expr $ac_sed_frag + 1`
122981       ac_beg=$ac_end
122982       ac_end=`expr $ac_end + $ac_max_sed_lines`
122983     fi
122984   done
122985   if test -z "$ac_sed_cmds"; then
122986     ac_sed_cmds=cat
122987   fi
122988 fi # test -n "$CONFIG_FILES"
122989
122990 _ACEOF
122991 cat >>$CONFIG_STATUS <<\_ACEOF
122992 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122993   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122994   case $ac_file in
122995   - | *:- | *:-:* ) # input from stdin
122996         cat >$tmp/stdin
122997         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122998         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122999   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
123000         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
123001   * )   ac_file_in=$ac_file.in ;;
123002   esac
123003
123004   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
123005   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
123006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123007          X"$ac_file" : 'X\(//\)[^/]' \| \
123008          X"$ac_file" : 'X\(//\)$' \| \
123009          X"$ac_file" : 'X\(/\)' \| \
123010          .     : '\(.\)' 2>/dev/null ||
123011 echo X"$ac_file" |
123012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123013           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123014           /^X\(\/\/\)$/{ s//\1/; q; }
123015           /^X\(\/\).*/{ s//\1/; q; }
123016           s/.*/./; q'`
123017   { if $as_mkdir_p; then
123018     mkdir -p "$ac_dir"
123019   else
123020     as_dir="$ac_dir"
123021     as_dirs=
123022     while test ! -d "$as_dir"; do
123023       as_dirs="$as_dir $as_dirs"
123024       as_dir=`(dirname "$as_dir") 2>/dev/null ||
123025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123026          X"$as_dir" : 'X\(//\)[^/]' \| \
123027          X"$as_dir" : 'X\(//\)$' \| \
123028          X"$as_dir" : 'X\(/\)' \| \
123029          .     : '\(.\)' 2>/dev/null ||
123030 echo X"$as_dir" |
123031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123032           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123033           /^X\(\/\/\)$/{ s//\1/; q; }
123034           /^X\(\/\).*/{ s//\1/; q; }
123035           s/.*/./; q'`
123036     done
123037     test ! -n "$as_dirs" || mkdir $as_dirs
123038   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123040    { (exit 1); exit 1; }; }; }
123041
123042   ac_builddir=.
123043
123044 if test "$ac_dir" != .; then
123045   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
123046   # A "../" for each directory in $ac_dir_suffix.
123047   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
123048 else
123049   ac_dir_suffix= ac_top_builddir=
123050 fi
123051
123052 case $srcdir in
123053   .)  # No --srcdir option.  We are building in place.
123054     ac_srcdir=.
123055     if test -z "$ac_top_builddir"; then
123056        ac_top_srcdir=.
123057     else
123058        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
123059     fi ;;
123060   [\\/]* | ?:[\\/]* )  # Absolute path.
123061     ac_srcdir=$srcdir$ac_dir_suffix;
123062     ac_top_srcdir=$srcdir ;;
123063   *) # Relative path.
123064     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
123065     ac_top_srcdir=$ac_top_builddir$srcdir ;;
123066 esac
123067
123068 # Do not use `cd foo && pwd` to compute absolute paths, because
123069 # the directories may not exist.
123070 case `pwd` in
123071 .) ac_abs_builddir="$ac_dir";;
123072 *)
123073   case "$ac_dir" in
123074   .) ac_abs_builddir=`pwd`;;
123075   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123076   *) ac_abs_builddir=`pwd`/"$ac_dir";;
123077   esac;;
123078 esac
123079 case $ac_abs_builddir in
123080 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123081 *)
123082   case ${ac_top_builddir}. in
123083   .) ac_abs_top_builddir=$ac_abs_builddir;;
123084   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123085   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123086   esac;;
123087 esac
123088 case $ac_abs_builddir in
123089 .) ac_abs_srcdir=$ac_srcdir;;
123090 *)
123091   case $ac_srcdir in
123092   .) ac_abs_srcdir=$ac_abs_builddir;;
123093   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123094   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123095   esac;;
123096 esac
123097 case $ac_abs_builddir in
123098 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123099 *)
123100   case $ac_top_srcdir in
123101   .) ac_abs_top_srcdir=$ac_abs_builddir;;
123102   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123103   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123104   esac;;
123105 esac
123106
123107
123108   case $INSTALL in
123109   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
123110   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
123111   esac
123112
123113   if test x"$ac_file" != x-; then
123114     { echo "$as_me:$LINENO: creating $ac_file" >&5
123115 echo "$as_me: creating $ac_file" >&6;}
123116     rm -f "$ac_file"
123117   fi
123118   # Let's still pretend it is `configure' which instantiates (i.e., don't
123119   # use $as_me), people would be surprised to read:
123120   #    /* config.h.  Generated by config.status.  */
123121   if test x"$ac_file" = x-; then
123122     configure_input=
123123   else
123124     configure_input="$ac_file.  "
123125   fi
123126   configure_input=$configure_input"Generated from `echo $ac_file_in |
123127                                      sed 's,.*/,,'` by configure."
123128
123129   # First look for the input files in the build tree, otherwise in the
123130   # src tree.
123131   ac_file_inputs=`IFS=:
123132     for f in $ac_file_in; do
123133       case $f in
123134       -) echo $tmp/stdin ;;
123135       [\\/$]*)
123136          # Absolute (can't be DOS-style, as IFS=:)
123137          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123138 echo "$as_me: error: cannot find input file: $f" >&2;}
123139    { (exit 1); exit 1; }; }
123140          echo "$f";;
123141       *) # Relative
123142          if test -f "$f"; then
123143            # Build tree
123144            echo "$f"
123145          elif test -f "$srcdir/$f"; then
123146            # Source tree
123147            echo "$srcdir/$f"
123148          else
123149            # /dev/null tree
123150            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123151 echo "$as_me: error: cannot find input file: $f" >&2;}
123152    { (exit 1); exit 1; }; }
123153          fi;;
123154       esac
123155     done` || { (exit 1); exit 1; }
123156 _ACEOF
123157 cat >>$CONFIG_STATUS <<_ACEOF
123158   sed "$ac_vpsub
123159 $extrasub
123160 _ACEOF
123161 cat >>$CONFIG_STATUS <<\_ACEOF
123162 :t
123163 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
123164 s,@configure_input@,$configure_input,;t t
123165 s,@srcdir@,$ac_srcdir,;t t
123166 s,@abs_srcdir@,$ac_abs_srcdir,;t t
123167 s,@top_srcdir@,$ac_top_srcdir,;t t
123168 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
123169 s,@builddir@,$ac_builddir,;t t
123170 s,@abs_builddir@,$ac_abs_builddir,;t t
123171 s,@top_builddir@,$ac_top_builddir,;t t
123172 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
123173 s,@INSTALL@,$ac_INSTALL,;t t
123174 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
123175   rm -f $tmp/stdin
123176   if test x"$ac_file" != x-; then
123177     mv $tmp/out $ac_file
123178   else
123179     cat $tmp/out
123180     rm -f $tmp/out
123181   fi
123182
123183   # Run the commands associated with the file.
123184   case $ac_file in
123185     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
123186   esac
123187 done
123188 _ACEOF
123189 cat >>$CONFIG_STATUS <<\_ACEOF
123190
123191 #
123192 # CONFIG_HEADER section.
123193 #
123194
123195 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
123196 # NAME is the cpp macro being defined and VALUE is the value it is being given.
123197 #
123198 # ac_d sets the value in "#define NAME VALUE" lines.
123199 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
123200 ac_dB='[         ].*$,\1#\2'
123201 ac_dC=' '
123202 ac_dD=',;t'
123203 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
123204 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
123205 ac_uB='$,\1#\2define\3'
123206 ac_uC=' '
123207 ac_uD=',;t'
123208
123209 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
123210   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
123211   case $ac_file in
123212   - | *:- | *:-:* ) # input from stdin
123213         cat >$tmp/stdin
123214         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
123215         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
123216   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
123217         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
123218   * )   ac_file_in=$ac_file.in ;;
123219   esac
123220
123221   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
123222 echo "$as_me: creating $ac_file" >&6;}
123223
123224   # First look for the input files in the build tree, otherwise in the
123225   # src tree.
123226   ac_file_inputs=`IFS=:
123227     for f in $ac_file_in; do
123228       case $f in
123229       -) echo $tmp/stdin ;;
123230       [\\/$]*)
123231          # Absolute (can't be DOS-style, as IFS=:)
123232          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123233 echo "$as_me: error: cannot find input file: $f" >&2;}
123234    { (exit 1); exit 1; }; }
123235          # Do quote $f, to prevent DOS paths from being IFS'd.
123236          echo "$f";;
123237       *) # Relative
123238          if test -f "$f"; then
123239            # Build tree
123240            echo "$f"
123241          elif test -f "$srcdir/$f"; then
123242            # Source tree
123243            echo "$srcdir/$f"
123244          else
123245            # /dev/null tree
123246            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123247 echo "$as_me: error: cannot find input file: $f" >&2;}
123248    { (exit 1); exit 1; }; }
123249          fi;;
123250       esac
123251     done` || { (exit 1); exit 1; }
123252   # Remove the trailing spaces.
123253   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
123254
123255 _ACEOF
123256
123257 # Transform confdefs.h into two sed scripts, `conftest.defines' and
123258 # `conftest.undefs', that substitutes the proper values into
123259 # config.h.in to produce config.h.  The first handles `#define'
123260 # templates, and the second `#undef' templates.
123261 # And first: Protect against being on the right side of a sed subst in
123262 # config.status.  Protect against being in an unquoted here document
123263 # in config.status.
123264 rm -f conftest.defines conftest.undefs
123265 # Using a here document instead of a string reduces the quoting nightmare.
123266 # Putting comments in sed scripts is not portable.
123267 #
123268 # `end' is used to avoid that the second main sed command (meant for
123269 # 0-ary CPP macros) applies to n-ary macro definitions.
123270 # See the Autoconf documentation for `clear'.
123271 cat >confdef2sed.sed <<\_ACEOF
123272 s/[\\&,]/\\&/g
123273 s,[\\$`],\\&,g
123274 t clear
123275 : clear
123276 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
123277 t end
123278 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
123279 : end
123280 _ACEOF
123281 # If some macros were called several times there might be several times
123282 # the same #defines, which is useless.  Nevertheless, we may not want to
123283 # sort them, since we want the *last* AC-DEFINE to be honored.
123284 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
123285 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
123286 rm -f confdef2sed.sed
123287
123288 # This sed command replaces #undef with comments.  This is necessary, for
123289 # example, in the case of _POSIX_SOURCE, which is predefined and required
123290 # on some systems where configure will not decide to define it.
123291 cat >>conftest.undefs <<\_ACEOF
123292 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
123293 _ACEOF
123294
123295 # Break up conftest.defines because some shells have a limit on the size
123296 # of here documents, and old seds have small limits too (100 cmds).
123297 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
123298 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
123299 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
123300 echo '  :' >>$CONFIG_STATUS
123301 rm -f conftest.tail
123302 while grep . conftest.defines >/dev/null
123303 do
123304   # Write a limited-size here document to $tmp/defines.sed.
123305   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
123306   # Speed up: don't consider the non `#define' lines.
123307   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
123308   # Work around the forget-to-reset-the-flag bug.
123309   echo 't clr' >>$CONFIG_STATUS
123310   echo ': clr' >>$CONFIG_STATUS
123311   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
123312   echo 'CEOF
123313   sed -f $tmp/defines.sed $tmp/in >$tmp/out
123314   rm -f $tmp/in
123315   mv $tmp/out $tmp/in
123316 ' >>$CONFIG_STATUS
123317   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
123318   rm -f conftest.defines
123319   mv conftest.tail conftest.defines
123320 done
123321 rm -f conftest.defines
123322 echo '  fi # grep' >>$CONFIG_STATUS
123323 echo >>$CONFIG_STATUS
123324
123325 # Break up conftest.undefs because some shells have a limit on the size
123326 # of here documents, and old seds have small limits too (100 cmds).
123327 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
123328 rm -f conftest.tail
123329 while grep . conftest.undefs >/dev/null
123330 do
123331   # Write a limited-size here document to $tmp/undefs.sed.
123332   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
123333   # Speed up: don't consider the non `#undef'
123334   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
123335   # Work around the forget-to-reset-the-flag bug.
123336   echo 't clr' >>$CONFIG_STATUS
123337   echo ': clr' >>$CONFIG_STATUS
123338   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
123339   echo 'CEOF
123340   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
123341   rm -f $tmp/in
123342   mv $tmp/out $tmp/in
123343 ' >>$CONFIG_STATUS
123344   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
123345   rm -f conftest.undefs
123346   mv conftest.tail conftest.undefs
123347 done
123348 rm -f conftest.undefs
123349
123350 cat >>$CONFIG_STATUS <<\_ACEOF
123351   # Let's still pretend it is `configure' which instantiates (i.e., don't
123352   # use $as_me), people would be surprised to read:
123353   #    /* config.h.  Generated by config.status.  */
123354   if test x"$ac_file" = x-; then
123355     echo "/* Generated by configure.  */" >$tmp/config.h
123356   else
123357     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
123358   fi
123359   cat $tmp/in >>$tmp/config.h
123360   rm -f $tmp/in
123361   if test x"$ac_file" != x-; then
123362     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
123363       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
123364 echo "$as_me: $ac_file is unchanged" >&6;}
123365     else
123366       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
123367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123368          X"$ac_file" : 'X\(//\)[^/]' \| \
123369          X"$ac_file" : 'X\(//\)$' \| \
123370          X"$ac_file" : 'X\(/\)' \| \
123371          .     : '\(.\)' 2>/dev/null ||
123372 echo X"$ac_file" |
123373     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123374           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123375           /^X\(\/\/\)$/{ s//\1/; q; }
123376           /^X\(\/\).*/{ s//\1/; q; }
123377           s/.*/./; q'`
123378       { if $as_mkdir_p; then
123379     mkdir -p "$ac_dir"
123380   else
123381     as_dir="$ac_dir"
123382     as_dirs=
123383     while test ! -d "$as_dir"; do
123384       as_dirs="$as_dir $as_dirs"
123385       as_dir=`(dirname "$as_dir") 2>/dev/null ||
123386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123387          X"$as_dir" : 'X\(//\)[^/]' \| \
123388          X"$as_dir" : 'X\(//\)$' \| \
123389          X"$as_dir" : 'X\(/\)' \| \
123390          .     : '\(.\)' 2>/dev/null ||
123391 echo X"$as_dir" |
123392     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123393           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123394           /^X\(\/\/\)$/{ s//\1/; q; }
123395           /^X\(\/\).*/{ s//\1/; q; }
123396           s/.*/./; q'`
123397     done
123398     test ! -n "$as_dirs" || mkdir $as_dirs
123399   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123401    { (exit 1); exit 1; }; }; }
123402
123403       rm -f $ac_file
123404       mv $tmp/config.h $ac_file
123405     fi
123406   else
123407     cat $tmp/config.h
123408     rm -f $tmp/config.h
123409   fi
123410 # Compute $ac_file's index in $config_headers.
123411 _am_stamp_count=1
123412 for _am_header in $config_headers :; do
123413   case $_am_header in
123414     $ac_file | $ac_file:* )
123415       break ;;
123416     * )
123417       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
123418   esac
123419 done
123420 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
123421 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123422          X$ac_file : 'X\(//\)[^/]' \| \
123423          X$ac_file : 'X\(//\)$' \| \
123424          X$ac_file : 'X\(/\)' \| \
123425          .     : '\(.\)' 2>/dev/null ||
123426 echo X$ac_file |
123427     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123428           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123429           /^X\(\/\/\)$/{ s//\1/; q; }
123430           /^X\(\/\).*/{ s//\1/; q; }
123431           s/.*/./; q'`/stamp-h$_am_stamp_count
123432 done
123433 _ACEOF
123434 cat >>$CONFIG_STATUS <<\_ACEOF
123435
123436 #
123437 # CONFIG_COMMANDS section.
123438 #
123439 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
123440   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
123441   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
123442   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
123443 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123444          X"$ac_dest" : 'X\(//\)[^/]' \| \
123445          X"$ac_dest" : 'X\(//\)$' \| \
123446          X"$ac_dest" : 'X\(/\)' \| \
123447          .     : '\(.\)' 2>/dev/null ||
123448 echo X"$ac_dest" |
123449     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123450           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123451           /^X\(\/\/\)$/{ s//\1/; q; }
123452           /^X\(\/\).*/{ s//\1/; q; }
123453           s/.*/./; q'`
123454   { if $as_mkdir_p; then
123455     mkdir -p "$ac_dir"
123456   else
123457     as_dir="$ac_dir"
123458     as_dirs=
123459     while test ! -d "$as_dir"; do
123460       as_dirs="$as_dir $as_dirs"
123461       as_dir=`(dirname "$as_dir") 2>/dev/null ||
123462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123463          X"$as_dir" : 'X\(//\)[^/]' \| \
123464          X"$as_dir" : 'X\(//\)$' \| \
123465          X"$as_dir" : 'X\(/\)' \| \
123466          .     : '\(.\)' 2>/dev/null ||
123467 echo X"$as_dir" |
123468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123469           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123470           /^X\(\/\/\)$/{ s//\1/; q; }
123471           /^X\(\/\).*/{ s//\1/; q; }
123472           s/.*/./; q'`
123473     done
123474     test ! -n "$as_dirs" || mkdir $as_dirs
123475   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123476 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123477    { (exit 1); exit 1; }; }; }
123478
123479   ac_builddir=.
123480
123481 if test "$ac_dir" != .; then
123482   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
123483   # A "../" for each directory in $ac_dir_suffix.
123484   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
123485 else
123486   ac_dir_suffix= ac_top_builddir=
123487 fi
123488
123489 case $srcdir in
123490   .)  # No --srcdir option.  We are building in place.
123491     ac_srcdir=.
123492     if test -z "$ac_top_builddir"; then
123493        ac_top_srcdir=.
123494     else
123495        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
123496     fi ;;
123497   [\\/]* | ?:[\\/]* )  # Absolute path.
123498     ac_srcdir=$srcdir$ac_dir_suffix;
123499     ac_top_srcdir=$srcdir ;;
123500   *) # Relative path.
123501     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
123502     ac_top_srcdir=$ac_top_builddir$srcdir ;;
123503 esac
123504
123505 # Do not use `cd foo && pwd` to compute absolute paths, because
123506 # the directories may not exist.
123507 case `pwd` in
123508 .) ac_abs_builddir="$ac_dir";;
123509 *)
123510   case "$ac_dir" in
123511   .) ac_abs_builddir=`pwd`;;
123512   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123513   *) ac_abs_builddir=`pwd`/"$ac_dir";;
123514   esac;;
123515 esac
123516 case $ac_abs_builddir in
123517 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123518 *)
123519   case ${ac_top_builddir}. in
123520   .) ac_abs_top_builddir=$ac_abs_builddir;;
123521   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123522   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123523   esac;;
123524 esac
123525 case $ac_abs_builddir in
123526 .) ac_abs_srcdir=$ac_srcdir;;
123527 *)
123528   case $ac_srcdir in
123529   .) ac_abs_srcdir=$ac_abs_builddir;;
123530   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123531   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123532   esac;;
123533 esac
123534 case $ac_abs_builddir in
123535 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123536 *)
123537   case $ac_top_srcdir in
123538   .) ac_abs_top_srcdir=$ac_abs_builddir;;
123539   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123540   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123541   esac;;
123542 esac
123543
123544
123545   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
123546 echo "$as_me: executing $ac_dest commands" >&6;}
123547   case $ac_dest in
123548     default-1 )
123549 # Only add multilib support code if we just rebuilt the top-level
123550 # Makefile.
123551 case " $CONFIG_FILES " in
123552  *" Makefile "*)
123553    ac_file=Makefile . ${multi_basedir}/config-ml.in
123554    ;;
123555 esac ;;
123556     libtool )
123557
123558     # See if we are running on zsh, and set the options which allow our
123559     # commands through without removal of \ escapes.
123560     if test -n "${ZSH_VERSION+set}" ; then
123561       setopt NO_GLOB_SUBST
123562     fi
123563
123564     cfgfile="${ofile}T"
123565     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
123566     $RM "$cfgfile"
123567
123568     cat <<_LT_EOF >> "$cfgfile"
123569 #! $SHELL
123570
123571 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
123572 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
123573 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
123574 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
123575 #
123576 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
123577 # 2006, 2007 Free Software Foundation, Inc.
123578 #
123579 # This file is part of GNU Libtool:
123580 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
123581 #
123582 # This program is free software; you can redistribute it and/or modify
123583 # it under the terms of the GNU General Public License as published by
123584 # the Free Software Foundation; either version 2 of the License, or
123585 # (at your option) any later version.
123586 #
123587 # This program is distributed in the hope that it will be useful, but
123588 # WITHOUT ANY WARRANTY; without even the implied warranty of
123589 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
123590 # General Public License for more details.
123591 #
123592 # You should have received a copy of the GNU General Public License
123593 # along with this program; if not, a copy can be downloaded from
123594 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
123595 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
123596 # MA 02110-1301, USA.
123597 #
123598 # As a special exception to the GNU General Public License, if you
123599 # distribute this file as part of a program that contains a
123600 # configuration script generated by Autoconf, you may include it under
123601 # the same distribution terms that you use for the rest of that program.
123602
123603
123604 # The names of the tagged configurations supported by this script.
123605 available_tags="CXX "
123606
123607 # ### BEGIN LIBTOOL CONFIG
123608
123609 # Which release of libtool.m4 was used?
123610 macro_version=$macro_version
123611 macro_revision=$macro_revision
123612
123613 # Whether or not to build shared libraries.
123614 build_libtool_libs=$enable_shared
123615
123616 # Whether or not to build static libraries.
123617 build_old_libs=$enable_static
123618
123619 # What type of objects to build.
123620 pic_mode=$pic_mode
123621
123622 # Whether or not to optimize for fast installation.
123623 fast_install=$enable_fast_install
123624
123625 # The host system.
123626 host_alias=$host_alias
123627 host=$host
123628 host_os=$host_os
123629
123630 # The build system.
123631 build_alias=$build_alias
123632 build=$build
123633 build_os=$build_os
123634
123635 # A sed program that does not truncate output.
123636 SED=$lt_SED
123637
123638 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
123639 Xsed="\$SED -e 1s/^X//"
123640
123641 # A grep program that handles long lines.
123642 GREP=$lt_GREP
123643
123644 # An ERE matcher.
123645 EGREP=$lt_EGREP
123646
123647 # A literal string matcher.
123648 FGREP=$lt_FGREP
123649
123650 # A BSD- or MS-compatible name lister.
123651 NM=$lt_NM
123652
123653 # Whether we need soft or hard links.
123654 LN_S=$lt_LN_S
123655
123656 # What is the maximum length of a command?
123657 max_cmd_len=$max_cmd_len
123658
123659 # Object file suffix (normally "o").
123660 objext=$ac_objext
123661
123662 # Executable file suffix (normally "").
123663 exeext=$exeext
123664
123665 # whether the shell understands "unset".
123666 lt_unset=$lt_unset
123667
123668 # turn spaces into newlines.
123669 SP2NL=$lt_lt_SP2NL
123670
123671 # turn newlines into spaces.
123672 NL2SP=$lt_lt_NL2SP
123673
123674 # How to create reloadable object files.
123675 reload_flag=$lt_reload_flag
123676 reload_cmds=$lt_reload_cmds
123677
123678 # Method to check whether dependent libraries are shared objects.
123679 deplibs_check_method=$lt_deplibs_check_method
123680
123681 # Command to use when deplibs_check_method == "file_magic".
123682 file_magic_cmd=$lt_file_magic_cmd
123683
123684 # The archiver.
123685 AR=$lt_AR
123686 AR_FLAGS=$lt_AR_FLAGS
123687
123688 # A symbol stripping program.
123689 STRIP=$lt_STRIP
123690
123691 # Commands used to install an old-style archive.
123692 RANLIB=$lt_RANLIB
123693 old_postinstall_cmds=$lt_old_postinstall_cmds
123694 old_postuninstall_cmds=$lt_old_postuninstall_cmds
123695
123696 # A C compiler.
123697 LTCC=$lt_CC
123698
123699 # LTCC compiler flags.
123700 LTCFLAGS=$lt_CFLAGS
123701
123702 # Take the output of nm and produce a listing of raw symbols and C names.
123703 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
123704
123705 # Transform the output of nm in a proper C declaration.
123706 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
123707
123708 # Transform the output of nm in a C name address pair.
123709 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
123710
123711 # The name of the directory that contains temporary libtool files.
123712 objdir=$objdir
123713
123714 # Shell to use when invoking shell scripts.
123715 SHELL=$lt_SHELL
123716
123717 # An echo program that does not interpret backslashes.
123718 ECHO=$lt_ECHO
123719
123720 # Used to examine libraries when file_magic_cmd begins with "file".
123721 MAGIC_CMD=$MAGIC_CMD
123722
123723 # Must we lock files when doing compilation?
123724 need_locks=$lt_need_locks
123725
123726 # Old archive suffix (normally "a").
123727 libext=$libext
123728
123729 # Shared library suffix (normally ".so").
123730 shrext_cmds=$lt_shrext_cmds
123731
123732 # The commands to extract the exported symbol list from a shared archive.
123733 extract_expsyms_cmds=$lt_extract_expsyms_cmds
123734
123735 # Variables whose values should be saved in libtool wrapper scripts and
123736 # restored at link time.
123737 variables_saved_for_relink=$lt_variables_saved_for_relink
123738
123739 # Do we need the "lib" prefix for modules?
123740 need_lib_prefix=$need_lib_prefix
123741
123742 # Do we need a version for libraries?
123743 need_version=$need_version
123744
123745 # Library versioning type.
123746 version_type=$version_type
123747
123748 # Shared library runtime path variable.
123749 runpath_var=$runpath_var
123750
123751 # Shared library path variable.
123752 shlibpath_var=$shlibpath_var
123753
123754 # Is shlibpath searched before the hard-coded library search path?
123755 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
123756
123757 # Format of library name prefix.
123758 libname_spec=$lt_libname_spec
123759
123760 # List of archive names.  First name is the real one, the rest are links.
123761 # The last name is the one that the linker finds with -lNAME
123762 library_names_spec=$lt_library_names_spec
123763
123764 # The coded name of the library, if different from the real name.
123765 soname_spec=$lt_soname_spec
123766
123767 # Command to use after installation of a shared archive.
123768 postinstall_cmds=$lt_postinstall_cmds
123769
123770 # Command to use after uninstallation of a shared archive.
123771 postuninstall_cmds=$lt_postuninstall_cmds
123772
123773 # Commands used to finish a libtool library installation in a directory.
123774 finish_cmds=$lt_finish_cmds
123775
123776 # As "finish_cmds", except a single script fragment to be evaled but
123777 # not shown.
123778 finish_eval=$lt_finish_eval
123779
123780 # Whether we should hardcode library paths into libraries.
123781 hardcode_into_libs=$hardcode_into_libs
123782
123783 # Compile-time system search path for libraries.
123784 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
123785
123786 # Run-time system search path for libraries.
123787 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
123788
123789 # Whether dlopen is supported.
123790 dlopen_support=$enable_dlopen
123791
123792 # Whether dlopen of programs is supported.
123793 dlopen_self=$enable_dlopen_self
123794
123795 # Whether dlopen of statically linked programs is supported.
123796 dlopen_self_static=$enable_dlopen_self_static
123797
123798 # Commands to strip libraries.
123799 old_striplib=$lt_old_striplib
123800 striplib=$lt_striplib
123801
123802
123803 # The linker used to build libraries.
123804 LD=$lt_LD
123805
123806 # Commands used to build an old-style archive.
123807 old_archive_cmds=$lt_old_archive_cmds
123808
123809 # A language specific compiler.
123810 CC=$lt_compiler
123811
123812 # Is the compiler the GNU compiler?
123813 with_gcc=$GCC
123814
123815 # Compiler flag to turn off builtin functions.
123816 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
123817
123818 # How to pass a linker flag through the compiler.
123819 wl=$lt_lt_prog_compiler_wl
123820
123821 # Additional compiler flags for building library objects.
123822 pic_flag=$lt_lt_prog_compiler_pic
123823
123824 # Compiler flag to prevent dynamic linking.
123825 link_static_flag=$lt_lt_prog_compiler_static
123826
123827 # Does compiler simultaneously support -c and -o options?
123828 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
123829
123830 # Whether or not to add -lc for building shared libraries.
123831 build_libtool_need_lc=$archive_cmds_need_lc
123832
123833 # Whether or not to disallow shared libs when runtime libs are static.
123834 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
123835
123836 # Compiler flag to allow reflexive dlopens.
123837 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
123838
123839 # Compiler flag to generate shared objects directly from archives.
123840 whole_archive_flag_spec=$lt_whole_archive_flag_spec
123841
123842 # Whether the compiler copes with passing no objects directly.
123843 compiler_needs_object=$lt_compiler_needs_object
123844
123845 # Create an old-style archive from a shared archive.
123846 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
123847
123848 # Create a temporary old-style archive to link instead of a shared archive.
123849 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
123850
123851 # Commands used to build a shared archive.
123852 archive_cmds=$lt_archive_cmds
123853 archive_expsym_cmds=$lt_archive_expsym_cmds
123854
123855 # Commands used to build a loadable module if different from building
123856 # a shared archive.
123857 module_cmds=$lt_module_cmds
123858 module_expsym_cmds=$lt_module_expsym_cmds
123859
123860 # Whether we are building with GNU ld or not.
123861 with_gnu_ld=$lt_with_gnu_ld
123862
123863 # Flag that allows shared libraries with undefined symbols to be built.
123864 allow_undefined_flag=$lt_allow_undefined_flag
123865
123866 # Flag that enforces no undefined symbols.
123867 no_undefined_flag=$lt_no_undefined_flag
123868
123869 # Flag to hardcode \$libdir into a binary during linking.
123870 # This must work even if \$libdir does not exist
123871 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
123872
123873 # If ld is used when linking, flag to hardcode \$libdir into a binary
123874 # during linking.  This must work even if \$libdir does not exist.
123875 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
123876
123877 # Whether we need a single "-rpath" flag with a separated argument.
123878 hardcode_libdir_separator=$lt_hardcode_libdir_separator
123879
123880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123881 # DIR into the resulting binary.
123882 hardcode_direct=$hardcode_direct
123883
123884 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123885 # DIR into the resulting binary and the resulting library dependency is
123886 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123887 # library is relocated.
123888 hardcode_direct_absolute=$hardcode_direct_absolute
123889
123890 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123891 # into the resulting binary.
123892 hardcode_minus_L=$hardcode_minus_L
123893
123894 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123895 # into the resulting binary.
123896 hardcode_shlibpath_var=$hardcode_shlibpath_var
123897
123898 # Set to "yes" if building a shared library automatically hardcodes DIR
123899 # into the library and all subsequent libraries and executables linked
123900 # against it.
123901 hardcode_automatic=$hardcode_automatic
123902
123903 # Set to yes if linker adds runtime paths of dependent libraries
123904 # to runtime path list.
123905 inherit_rpath=$inherit_rpath
123906
123907 # Whether libtool must link a program against all its dependency libraries.
123908 link_all_deplibs=$link_all_deplibs
123909
123910 # Fix the shell variable \$srcfile for the compiler.
123911 fix_srcfile_path=$lt_fix_srcfile_path
123912
123913 # Set to "yes" if exported symbols are required.
123914 always_export_symbols=$always_export_symbols
123915
123916 # The commands to list exported symbols.
123917 export_symbols_cmds=$lt_export_symbols_cmds
123918
123919 # Symbols that should not be listed in the preloaded symbols.
123920 exclude_expsyms=$lt_exclude_expsyms
123921
123922 # Symbols that must always be exported.
123923 include_expsyms=$lt_include_expsyms
123924
123925 # Commands necessary for linking programs (against libraries) with templates.
123926 prelink_cmds=$lt_prelink_cmds
123927
123928 # Specify filename containing input files.
123929 file_list_spec=$lt_file_list_spec
123930
123931 # How to hardcode a shared library path into an executable.
123932 hardcode_action=$hardcode_action
123933
123934 # Dependencies to place before and after the objects being linked to
123935 # create a shared library.
123936 predep_objects=$lt_predep_objects
123937 postdep_objects=$lt_postdep_objects
123938 predeps=$lt_predeps
123939 postdeps=$lt_postdeps
123940
123941 # The library search path used internally by the compiler when linking
123942 # a shared library.
123943 compiler_lib_search_path=$lt_compiler_lib_search_path
123944
123945 # ### END LIBTOOL CONFIG
123946
123947 _LT_EOF
123948
123949   case $host_os in
123950   aix3*)
123951     cat <<\_LT_EOF >> "$cfgfile"
123952 # AIX sometimes has problems with the GCC collect2 program.  For some
123953 # reason, if we set the COLLECT_NAMES environment variable, the problems
123954 # vanish in a puff of smoke.
123955 if test "X${COLLECT_NAMES+set}" != Xset; then
123956   COLLECT_NAMES=
123957   export COLLECT_NAMES
123958 fi
123959 _LT_EOF
123960     ;;
123961   esac
123962
123963
123964 ltmain="$ac_aux_dir/ltmain.sh"
123965
123966
123967   # We use sed instead of cat because bash on DJGPP gets confused if
123968   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
123969   # text mode, it properly converts lines to CR/LF.  This bash problem
123970   # is reportedly fixed, but why not run on old versions too?
123971   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123972     || (rm -f "$cfgfile"; exit 1)
123973
123974   case $xsi_shell in
123975   yes)
123976     cat << \_LT_EOF >> "$cfgfile"
123977 # func_dirname file append nondir_replacement
123978 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
123979 # otherwise set result to NONDIR_REPLACEMENT.
123980 func_dirname ()
123981 {
123982   case ${1} in
123983     */*) func_dirname_result="${1%/*}${2}" ;;
123984     *  ) func_dirname_result="${3}" ;;
123985   esac
123986 }
123987
123988 # func_basename file
123989 func_basename ()
123990 {
123991   func_basename_result="${1##*/}"
123992 }
123993
123994 # func_stripname prefix suffix name
123995 # strip PREFIX and SUFFIX off of NAME.
123996 # PREFIX and SUFFIX must not contain globbing or regex special
123997 # characters, hashes, percent signs, but SUFFIX may contain a leading
123998 # dot (in which case that matches only a dot).
123999 func_stripname ()
124000 {
124001   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
124002   # positional parameters, so assign one to ordinary parameter first.
124003   func_stripname_result=${3}
124004   func_stripname_result=${func_stripname_result#"${1}"}
124005   func_stripname_result=${func_stripname_result%"${2}"}
124006 }
124007
124008 # func_opt_split
124009 func_opt_split ()
124010 {
124011   func_opt_split_opt=${1%%=*}
124012   func_opt_split_arg=${1#*=}
124013 }
124014
124015 # func_lo2o object
124016 func_lo2o ()
124017 {
124018   case ${1} in
124019     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
124020     *)    func_lo2o_result=${1} ;;
124021   esac
124022 }
124023 _LT_EOF
124024     ;;
124025   *) # Bourne compatible functions.
124026     cat << \_LT_EOF >> "$cfgfile"
124027 # func_dirname file append nondir_replacement
124028 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
124029 # otherwise set result to NONDIR_REPLACEMENT.
124030 func_dirname ()
124031 {
124032   # Extract subdirectory from the argument.
124033   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
124034   if test "X$func_dirname_result" = "X${1}"; then
124035     func_dirname_result="${3}"
124036   else
124037     func_dirname_result="$func_dirname_result${2}"
124038   fi
124039 }
124040
124041 # func_basename file
124042 func_basename ()
124043 {
124044   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
124045 }
124046
124047 # func_stripname prefix suffix name
124048 # strip PREFIX and SUFFIX off of NAME.
124049 # PREFIX and SUFFIX must not contain globbing or regex special
124050 # characters, hashes, percent signs, but SUFFIX may contain a leading
124051 # dot (in which case that matches only a dot).
124052 # func_strip_suffix prefix name
124053 func_stripname ()
124054 {
124055   case ${2} in
124056     .*) func_stripname_result=`$ECHO "X${3}" \
124057            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
124058     *)  func_stripname_result=`$ECHO "X${3}" \
124059            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
124060   esac
124061 }
124062
124063 # sed scripts:
124064 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
124065 my_sed_long_arg='1s/^-[^=]*=//'
124066
124067 # func_opt_split
124068 func_opt_split ()
124069 {
124070   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
124071   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
124072 }
124073
124074 # func_lo2o object
124075 func_lo2o ()
124076 {
124077   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
124078 }
124079 _LT_EOF
124080 esac
124081
124082 case $lt_shell_append in
124083   yes)
124084     cat << \_LT_EOF >> "$cfgfile"
124085
124086 # func_append var value
124087 # Append VALUE to the end of shell variable VAR.
124088 func_append ()
124089 {
124090   eval "$1+=\$2"
124091 }
124092 _LT_EOF
124093     ;;
124094   *)
124095     cat << \_LT_EOF >> "$cfgfile"
124096
124097 # func_append var value
124098 # Append VALUE to the end of shell variable VAR.
124099 func_append ()
124100 {
124101   eval "$1=\$$1\$2"
124102 }
124103 _LT_EOF
124104     ;;
124105   esac
124106
124107
124108   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
124109     || (rm -f "$cfgfile"; exit 1)
124110
124111   mv -f "$cfgfile" "$ofile" ||
124112     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
124113   chmod +x "$ofile"
124114
124115
124116     cat <<_LT_EOF >> "$ofile"
124117
124118 # ### BEGIN LIBTOOL TAG CONFIG: CXX
124119
124120 # The linker used to build libraries.
124121 LD=$lt_LD_CXX
124122
124123 # Commands used to build an old-style archive.
124124 old_archive_cmds=$lt_old_archive_cmds_CXX
124125
124126 # A language specific compiler.
124127 CC=$lt_compiler_CXX
124128
124129 # Is the compiler the GNU compiler?
124130 with_gcc=$GCC_CXX
124131
124132 # Compiler flag to turn off builtin functions.
124133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
124134
124135 # How to pass a linker flag through the compiler.
124136 wl=$lt_lt_prog_compiler_wl_CXX
124137
124138 # Additional compiler flags for building library objects.
124139 pic_flag=$lt_lt_prog_compiler_pic_CXX
124140
124141 # Compiler flag to prevent dynamic linking.
124142 link_static_flag=$lt_lt_prog_compiler_static_CXX
124143
124144 # Does compiler simultaneously support -c and -o options?
124145 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
124146
124147 # Whether or not to add -lc for building shared libraries.
124148 build_libtool_need_lc=$archive_cmds_need_lc_CXX
124149
124150 # Whether or not to disallow shared libs when runtime libs are static.
124151 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
124152
124153 # Compiler flag to allow reflexive dlopens.
124154 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
124155
124156 # Compiler flag to generate shared objects directly from archives.
124157 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
124158
124159 # Whether the compiler copes with passing no objects directly.
124160 compiler_needs_object=$lt_compiler_needs_object_CXX
124161
124162 # Create an old-style archive from a shared archive.
124163 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
124164
124165 # Create a temporary old-style archive to link instead of a shared archive.
124166 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
124167
124168 # Commands used to build a shared archive.
124169 archive_cmds=$lt_archive_cmds_CXX
124170 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
124171
124172 # Commands used to build a loadable module if different from building
124173 # a shared archive.
124174 module_cmds=$lt_module_cmds_CXX
124175 module_expsym_cmds=$lt_module_expsym_cmds_CXX
124176
124177 # Whether we are building with GNU ld or not.
124178 with_gnu_ld=$lt_with_gnu_ld_CXX
124179
124180 # Flag that allows shared libraries with undefined symbols to be built.
124181 allow_undefined_flag=$lt_allow_undefined_flag_CXX
124182
124183 # Flag that enforces no undefined symbols.
124184 no_undefined_flag=$lt_no_undefined_flag_CXX
124185
124186 # Flag to hardcode \$libdir into a binary during linking.
124187 # This must work even if \$libdir does not exist
124188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
124189
124190 # If ld is used when linking, flag to hardcode \$libdir into a binary
124191 # during linking.  This must work even if \$libdir does not exist.
124192 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
124193
124194 # Whether we need a single "-rpath" flag with a separated argument.
124195 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
124196
124197 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
124198 # DIR into the resulting binary.
124199 hardcode_direct=$hardcode_direct_CXX
124200
124201 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
124202 # DIR into the resulting binary and the resulting library dependency is
124203 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
124204 # library is relocated.
124205 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
124206
124207 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
124208 # into the resulting binary.
124209 hardcode_minus_L=$hardcode_minus_L_CXX
124210
124211 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
124212 # into the resulting binary.
124213 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
124214
124215 # Set to "yes" if building a shared library automatically hardcodes DIR
124216 # into the library and all subsequent libraries and executables linked
124217 # against it.
124218 hardcode_automatic=$hardcode_automatic_CXX
124219
124220 # Set to yes if linker adds runtime paths of dependent libraries
124221 # to runtime path list.
124222 inherit_rpath=$inherit_rpath_CXX
124223
124224 # Whether libtool must link a program against all its dependency libraries.
124225 link_all_deplibs=$link_all_deplibs_CXX
124226
124227 # Fix the shell variable \$srcfile for the compiler.
124228 fix_srcfile_path=$lt_fix_srcfile_path_CXX
124229
124230 # Set to "yes" if exported symbols are required.
124231 always_export_symbols=$always_export_symbols_CXX
124232
124233 # The commands to list exported symbols.
124234 export_symbols_cmds=$lt_export_symbols_cmds_CXX
124235
124236 # Symbols that should not be listed in the preloaded symbols.
124237 exclude_expsyms=$lt_exclude_expsyms_CXX
124238
124239 # Symbols that must always be exported.
124240 include_expsyms=$lt_include_expsyms_CXX
124241
124242 # Commands necessary for linking programs (against libraries) with templates.
124243 prelink_cmds=$lt_prelink_cmds_CXX
124244
124245 # Specify filename containing input files.
124246 file_list_spec=$lt_file_list_spec_CXX
124247
124248 # How to hardcode a shared library path into an executable.
124249 hardcode_action=$hardcode_action_CXX
124250
124251 # Dependencies to place before and after the objects being linked to
124252 # create a shared library.
124253 predep_objects=$lt_predep_objects_CXX
124254 postdep_objects=$lt_postdep_objects_CXX
124255 predeps=$lt_predeps_CXX
124256 postdeps=$lt_postdeps_CXX
124257
124258 # The library search path used internally by the compiler when linking
124259 # a shared library.
124260 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
124261
124262 # ### END LIBTOOL TAG CONFIG: CXX
124263 _LT_EOF
124264
124265  ;;
124266     include/gstdint.h )
124267 if test "$GCC" = yes; then
124268   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
124269 else
124270   echo "/* generated for $CC */" > tmp-stdint.h
124271 fi
124272
124273 sed 's/^ *//' >> tmp-stdint.h <<EOF
124274
124275   #ifndef GCC_GENERATED_STDINT_H
124276   #define GCC_GENERATED_STDINT_H 1
124277
124278   #include <sys/types.h>
124279 EOF
124280
124281 if test "$acx_cv_header_stdint" != stdint.h; then
124282   echo "#include <stddef.h>" >> tmp-stdint.h
124283 fi
124284 if test "$acx_cv_header_stdint" != stddef.h; then
124285   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
124286 fi
124287
124288 sed 's/^ *//' >> tmp-stdint.h <<EOF
124289   /* glibc uses these symbols as guards to prevent redefinitions.  */
124290   #ifdef __int8_t_defined
124291   #define _INT8_T
124292   #define _INT16_T
124293   #define _INT32_T
124294   #endif
124295   #ifdef __uint32_t_defined
124296   #define _UINT32_T
124297   #endif
124298
124299 EOF
124300
124301 # ----------------- done header, emit basic int types -------------
124302 if test "$acx_cv_header_stdint" = stddef.h; then
124303   sed 's/^ *//' >> tmp-stdint.h <<EOF
124304
124305     #ifndef _UINT8_T
124306     #define _UINT8_T
124307     #ifndef __uint8_t_defined
124308     #define __uint8_t_defined
124309     typedef unsigned $acx_cv_type_int8_t uint8_t;
124310     #endif
124311     #endif
124312
124313     #ifndef _UINT16_T
124314     #define _UINT16_T
124315     #ifndef __uint16_t_defined
124316     #define __uint16_t_defined
124317     typedef unsigned $acx_cv_type_int16_t uint16_t;
124318     #endif
124319     #endif
124320
124321     #ifndef _UINT32_T
124322     #define _UINT32_T
124323     #ifndef __uint32_t_defined
124324     #define __uint32_t_defined
124325     typedef unsigned $acx_cv_type_int32_t uint32_t;
124326     #endif
124327     #endif
124328
124329     #ifndef _INT8_T
124330     #define _INT8_T
124331     #ifndef __int8_t_defined
124332     #define __int8_t_defined
124333     typedef $acx_cv_type_int8_t int8_t;
124334     #endif
124335     #endif
124336
124337     #ifndef _INT16_T
124338     #define _INT16_T
124339     #ifndef __int16_t_defined
124340     #define __int16_t_defined
124341     typedef $acx_cv_type_int16_t int16_t;
124342     #endif
124343     #endif
124344
124345     #ifndef _INT32_T
124346     #define _INT32_T
124347     #ifndef __int32_t_defined
124348     #define __int32_t_defined
124349     typedef $acx_cv_type_int32_t int32_t;
124350     #endif
124351     #endif
124352 EOF
124353 elif test "$ac_cv_type_u_int32_t" = yes; then
124354   sed 's/^ *//' >> tmp-stdint.h <<EOF
124355
124356     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
124357     #ifndef _INT8_T
124358     #define _INT8_T
124359     #endif
124360     #ifndef _INT16_T
124361     #define _INT16_T
124362     #endif
124363     #ifndef _INT32_T
124364     #define _INT32_T
124365     #endif
124366
124367     #ifndef _UINT8_T
124368     #define _UINT8_T
124369     #ifndef __uint8_t_defined
124370     #define __uint8_t_defined
124371     typedef u_int8_t uint8_t;
124372     #endif
124373     #endif
124374
124375     #ifndef _UINT16_T
124376     #define _UINT16_T
124377     #ifndef __uint16_t_defined
124378     #define __uint16_t_defined
124379     typedef u_int16_t uint16_t;
124380     #endif
124381     #endif
124382
124383     #ifndef _UINT32_T
124384     #define _UINT32_T
124385     #ifndef __uint32_t_defined
124386     #define __uint32_t_defined
124387     typedef u_int32_t uint32_t;
124388     #endif
124389     #endif
124390 EOF
124391 else
124392   sed 's/^ *//' >> tmp-stdint.h <<EOF
124393
124394     /* Some systems have guard macros to prevent redefinitions, define them.  */
124395     #ifndef _INT8_T
124396     #define _INT8_T
124397     #endif
124398     #ifndef _INT16_T
124399     #define _INT16_T
124400     #endif
124401     #ifndef _INT32_T
124402     #define _INT32_T
124403     #endif
124404     #ifndef _UINT8_T
124405     #define _UINT8_T
124406     #endif
124407     #ifndef _UINT16_T
124408     #define _UINT16_T
124409     #endif
124410     #ifndef _UINT32_T
124411     #define _UINT32_T
124412     #endif
124413 EOF
124414 fi
124415
124416 # ------------- done basic int types, emit int64_t types ------------
124417 if test "$ac_cv_type_uint64_t" = yes; then
124418   sed 's/^ *//' >> tmp-stdint.h <<EOF
124419
124420     /* system headers have good uint64_t and int64_t */
124421     #ifndef _INT64_T
124422     #define _INT64_T
124423     #endif
124424     #ifndef _UINT64_T
124425     #define _UINT64_T
124426     #endif
124427 EOF
124428 elif test "$ac_cv_type_u_int64_t" = yes; then
124429   sed 's/^ *//' >> tmp-stdint.h <<EOF
124430
124431     /* system headers have an u_int64_t (and int64_t) */
124432     #ifndef _INT64_T
124433     #define _INT64_T
124434     #endif
124435     #ifndef _UINT64_T
124436     #define _UINT64_T
124437     #ifndef __uint64_t_defined
124438     #define __uint64_t_defined
124439     typedef u_int64_t uint64_t;
124440     #endif
124441     #endif
124442 EOF
124443 elif test -n "$acx_cv_type_int64_t"; then
124444   sed 's/^ *//' >> tmp-stdint.h <<EOF
124445
124446     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
124447     #ifndef _INT64_T
124448     #define _INT64_T
124449     typedef $acx_cv_type_int64_t int64_t;
124450     #endif
124451     #ifndef _UINT64_T
124452     #define _UINT64_T
124453     #ifndef __uint64_t_defined
124454     #define __uint64_t_defined
124455     typedef unsigned $acx_cv_type_int64_t uint64_t;
124456     #endif
124457     #endif
124458 EOF
124459 else
124460   sed 's/^ *//' >> tmp-stdint.h <<EOF
124461
124462     /* some common heuristics for int64_t, using compiler-specific tests */
124463     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
124464     #ifndef _INT64_T
124465     #define _INT64_T
124466     #ifndef __int64_t_defined
124467     typedef long long int64_t;
124468     #endif
124469     #endif
124470     #ifndef _UINT64_T
124471     #define _UINT64_T
124472     typedef unsigned long long uint64_t;
124473     #endif
124474
124475     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
124476     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
124477        does not implement __extension__.  But that compiler doesn't define
124478        __GNUC_MINOR__.  */
124479     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
124480     # define __extension__
124481     # endif
124482
124483     # ifndef _INT64_T
124484     # define _INT64_T
124485     __extension__ typedef long long int64_t;
124486     # endif
124487     # ifndef _UINT64_T
124488     # define _UINT64_T
124489     __extension__ typedef unsigned long long uint64_t;
124490     # endif
124491
124492     #elif !defined __STRICT_ANSI__
124493     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
124494
124495     #  ifndef _INT64_T
124496     #  define _INT64_T
124497     typedef __int64 int64_t;
124498     #  endif
124499     #  ifndef _UINT64_T
124500     #  define _UINT64_T
124501     typedef unsigned __int64 uint64_t;
124502     #  endif
124503     # endif /* compiler */
124504
124505     #endif /* ANSI version */
124506 EOF
124507 fi
124508
124509 # ------------- done int64_t types, emit intptr types ------------
124510 if test "$ac_cv_type_uintptr_t" != yes; then
124511   sed 's/^ *//' >> tmp-stdint.h <<EOF
124512
124513     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
124514     #ifndef __uintptr_t_defined
124515     typedef u$acx_cv_type_intptr_t uintptr_t;
124516     #endif
124517     #ifndef __intptr_t_defined
124518     typedef $acx_cv_type_intptr_t  intptr_t;
124519     #endif
124520 EOF
124521 fi
124522
124523 # ------------- done intptr types, emit int_least types ------------
124524 if test "$ac_cv_type_int_least32_t" != yes; then
124525   sed 's/^ *//' >> tmp-stdint.h <<EOF
124526
124527     /* Define int_least types */
124528     typedef int8_t     int_least8_t;
124529     typedef int16_t    int_least16_t;
124530     typedef int32_t    int_least32_t;
124531     #ifdef _INT64_T
124532     typedef int64_t    int_least64_t;
124533     #endif
124534
124535     typedef uint8_t    uint_least8_t;
124536     typedef uint16_t   uint_least16_t;
124537     typedef uint32_t   uint_least32_t;
124538     #ifdef _UINT64_T
124539     typedef uint64_t   uint_least64_t;
124540     #endif
124541 EOF
124542 fi
124543
124544 # ------------- done intptr types, emit int_fast types ------------
124545 if test "$ac_cv_type_int_fast32_t" != yes; then
124546       sed 's/^ *//' >> tmp-stdint.h <<EOF
124547
124548     /* Define int_fast types.  short is often slow */
124549     typedef int8_t       int_fast8_t;
124550     typedef int          int_fast16_t;
124551     typedef int32_t      int_fast32_t;
124552     #ifdef _INT64_T
124553     typedef int64_t      int_fast64_t;
124554     #endif
124555
124556     typedef uint8_t      uint_fast8_t;
124557     typedef unsigned int uint_fast16_t;
124558     typedef uint32_t     uint_fast32_t;
124559     #ifdef _UINT64_T
124560     typedef uint64_t     uint_fast64_t;
124561     #endif
124562 EOF
124563 fi
124564
124565 if test "$ac_cv_type_uintmax_t" != yes; then
124566   sed 's/^ *//' >> tmp-stdint.h <<EOF
124567
124568     /* Define intmax based on what we found */
124569     #ifdef _INT64_T
124570     typedef int64_t       intmax_t;
124571     #else
124572     typedef long          intmax_t;
124573     #endif
124574     #ifdef _UINT64_T
124575     typedef uint64_t      uintmax_t;
124576     #else
124577     typedef unsigned long uintmax_t;
124578     #endif
124579 EOF
124580 fi
124581
124582 sed 's/^ *//' >> tmp-stdint.h <<EOF
124583
124584   #endif /* GCC_GENERATED_STDINT_H */
124585 EOF
124586
124587 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
124588   rm -f tmp-stdint.h
124589 else
124590   mv -f tmp-stdint.h include/gstdint.h
124591 fi
124592
124593  ;;
124594     default ) if test -n "$CONFIG_FILES"; then
124595    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
124596    # that multilib installs will end up installed in the correct place.
124597    # The testsuite needs it for multilib-aware ABI baseline files.
124598    # To work around this not being passed down from config-ml.in ->
124599    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
124600    # append it here.  Only modify Makefiles that have just been created.
124601    #
124602    # Also, get rid of this simulated-VPATH thing that automake does.
124603    cat > vpsed << \_EOF
124604 s!`test -f '$<' || echo '$(srcdir)/'`!!
124605 _EOF
124606    for i in $SUBDIRS; do
124607     case $CONFIG_FILES in
124608      *${i}/Makefile*)
124609        #echo "Adding MULTISUBDIR to $i/Makefile"
124610        sed -f vpsed $i/Makefile > tmp
124611        grep '^MULTISUBDIR =' Makefile >> tmp
124612        mv tmp $i/Makefile
124613        ;;
124614     esac
124615    done
124616    rm vpsed
124617  fi
124618  (cd include && ${MAKE-make})
124619  ;;
124620   esac
124621 done
124622 _ACEOF
124623
124624 cat >>$CONFIG_STATUS <<\_ACEOF
124625
124626 { (exit 0); exit 0; }
124627 _ACEOF
124628 chmod +x $CONFIG_STATUS
124629 ac_clean_files=$ac_clean_files_save
124630
124631
124632 # configure is writing to config.log, and then calls config.status.
124633 # config.status does its own redirection, appending to config.log.
124634 # Unfortunately, on DOS this fails, as config.log is still kept open
124635 # by configure, so config.status won't be able to write to it; its
124636 # output is simply discarded.  So we exec the FD to /dev/null,
124637 # effectively closing config.log, so it can be properly (re)opened and
124638 # appended to by config.status.  When coming back to configure, we
124639 # need to make the FD available again.
124640 if test "$no_create" != yes; then
124641   ac_cs_success=:
124642   ac_config_status_args=
124643   test "$silent" = yes &&
124644     ac_config_status_args="$ac_config_status_args --quiet"
124645   exec 5>/dev/null
124646   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
124647   exec 5>>config.log
124648   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
124649   # would make configure fail if this is the last instruction.
124650   $ac_cs_success || { (exit 1); exit 1; }
124651 fi
124652